1 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3 * gdb.base/large-frame-1.c: New file.
4 * gdb.base/large-frame-2.c: New file.
5 * gdb.base/large-frame.exp: New file.
6 * gdb.base/large-frame.h: New file.
8 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
11 * gdb.base/write_mem.exp: New test.
12 * gdb.base/write_mem.c: Likewise.
14 2018-09-23 Tom Tromey <tom@tromey.com>
17 * gdb.python/py-parameter.exp: Add test for parameter that throws
20 2018-09-23 Tom Tromey <tom@tromey.com>
23 * gdb.python/py-template.exp (test_template_arg): Add test for
24 negative template argument number.
26 2018-09-23 Tom Tromey <tom@tromey.com>
29 * gdb.python/python.exp: Add test for post_event error.
31 2018-09-23 Tom Tromey <tom@tromey.com>
34 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
35 convert pointers to int and long.
37 2018-09-23 Tom Tromey <tom@tromey.com>
40 * gdb.python/py-value.exp (test_value_numeric_ops): Add
41 signed-ness conversion tests.
43 2018-09-23 Tom Tromey <tom@tromey.com>
46 * gdb.python/py-value.exp (test_float_conversion): New proc.
49 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
51 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
53 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
55 * gdb.base/complete-empty.exp: Skip tab-completion tests if
57 * gdb.base/utf8-identifiers.exp: Likewise.
58 * gdb.cp/cpcompletion.exp: Likewise.
59 * gdb.linespec/cpcompletion.exp: Likewise.
60 * gdb.linespec/cpls-abi-tag.exp: Likewise.
61 * gdb.linespec/cpls-ops.exp: Likewise.
63 2018-09-19 Richard Bunt <richard.bunt@arm.com>
64 Chris January <chris.january@arm.com>
66 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
67 * gdb.fortran/short-circuit-argument-list.exp: New file.
68 * gdb.fortran/short-circuit-argument-list.f90: New test.
70 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
72 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
73 "arch=" keyword when executing "-stack-list-frames".
75 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
77 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
78 "arch=" keyword when executing "-stack-list-frames".
80 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
82 * gdb.ada/complete.exp: Expect for "@" when doing "complete
85 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
88 * gdb.python/python.exp: Test gdb.execute("show commands").
90 2018-09-16 Tom Tromey <tom@tromey.com>
92 * gdb.base/new-ui.exp (do_execution_tests): Update.
93 * gdb.base/dbx.exp (test_breakpoints): Update.
95 2018-09-14 Alan Hayward <alan.hayward@arm.com>
97 * lib/gdb.exp (gdb_simple_compile): Add proc.
98 (is_elf_target): Use gdb_simple_compile.
99 (skip_altivec_tests): Likewise.
100 (skip_vsx_tests): Likewise.
101 (skip_tsx_tests): Likewise.
102 (skip_btrace_tests): Likewise.
103 (skip_btrace_pt_tests): Likewise.
104 (gdb_can_simple_compile): Likewise.
105 (gdb_has_argv0): Likewise.
106 (gdb_target_symbol_prefix): Likewise.
107 (target_supports_scheduler_locking): Likewise.
109 2018-09-13 Tom Tromey <tom@tromey.com>
111 * Makefile.in (TAGS): Recognize proc_with_prefix and
114 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
116 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
119 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
121 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
122 and a few other Inferior properties when the Inferior is no
125 2018-09-13 Tom Tromey <tom@tromey.com>
128 * gdb.rust/simple.exp: Add test for enum field access error.
130 2018-09-13 Tom Tromey <tom@tromey.com>
133 * gdb.rust/simple.rs (EmptyEnum): New type.
135 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
137 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
139 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
140 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
141 * gdb.python/py-symtab.exp: Update test printing an objfile.
143 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
145 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
148 2018-09-12 Alan Hayward <alan.hayward@arm.com>
150 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
151 (support_complex_tests): Use gdb_can_simple_compile.
152 (is_ilp32_target): Likewise.
153 (is_lp64_target): Likewise.
154 (is_64_target): Likewise.
155 (is_amd64_regs_target): Likewise.
156 (is_aarch32_target): Likewise.
157 (gdb_int128_helper): Likewise.
159 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
161 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
163 2018-09-10 Jerome Guitton <guitton@adacore.com>
165 * gdb.ada/same_component_name: Add test for case of tagged record
166 with variable-length fields.
168 2018-09-10 Xavier Roirand <roirand@adacore.com>
170 * gdb.ada/access_to_unbounded_array.exp: New testcase.
171 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
172 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
173 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
175 2018-09-10 Xavier Roirand <roirand@adacore.com>
177 * gdb.ada/mi_string_access.exp: New testcase.
178 * gdb.ada/mi_string_access/bar.adb: New file.
179 * gdb.ada/mi_string_access/pck.adb: New file.
180 * gdb.ada/mi_string_access/pck.asd: New file.
182 2018-09-10 Xavier Roirand <roirand@adacore.com>
184 * gdb.ada/mi_var_union.exp: New testcase.
185 * gdb.ada/mi_var_union/bar.adb: New file.
186 * gdb.ada/mi_var_union/pck.adb: New file.
187 * gdb.ada/mi_var_union/pck.asd: New file.
189 2018-09-08 Tom Tromey <tom@tromey.com>
191 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
193 2018-09-08 Tom Tromey <tom@tromey.com>
196 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
197 (register_pretty_printers): Register new printer.
198 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
200 * gdb.python/py-prettyprint.c (int_type3): New typedef.
201 (an_int_type3): New global.
203 2018-09-08 Joel Brobecker <brobecker@adacore.com>
205 * gdb.ada/expr_with_funcall: New testcase.
207 2018-09-08 Joel Brobecker <brobecker@adacore.com>
209 * gdb.ada/packed_array_assign: New testcase.
211 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
213 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
214 names, and add test prefixes to make test names unique.
216 2018-09-05 Tom de Vries <tdevries@suse.de>
218 * gdb.dwarf2/varval.exp: Add test.
220 2018-09-04 Gary Benson <gbenson@redhat.com>
222 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
223 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
225 2018-08-31 Tom Tromey <tom@tromey.com>
227 * gdb.rust/simple.rs: Rename second variable "v".
229 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
231 * gdb.base/funcargs.c (use_a): New function.
232 (recurse): Call use_a.
234 2018-08-29 Keith Seitz <keiths@redhat.com>
236 * gdb.compile/compile-cplus-anonymous.cc: New file.
237 * gdb.compile/compile-cplus-anonymous.exp: New file.
238 * gdb.compile/compile-cplus-array-decay.cc: New file.
239 * gdb.compile/compile-cplus-array-decay.exp: New file.
240 * gdb.compile/compile-cplus-inherit.cc: New file.
241 * gdb.compile/compile-cplus-inherit.exp: New file.
242 * gdb.compile/compile-cplus-member.cc: New file.
243 * gdb.compile/compile-cplus-member.exp: New file.
244 * gdb.compile/compile-cplus-method.cc: New file.
245 * gdb.compile/compile-cplus-method.exp: New file.
246 * gdb.compile/compile-cplus-mod.c: "New" file.
247 * gdb.compile/compile-cplus-namespace.cc: New file.
248 * gdb.compile/compile-cplus-namespace.exp: New file.
249 * gdb.compile/compile-cplus-nested.cc: New file.
250 * gdb.compile/compile-cplus-nested.exp: New file.
251 * gdb.compile/compile-cplus-print.c: "New" file.
252 * gdb.compile/compile-cplus-print.exp: "New" file.
253 * gdb.compile/compile-cplus-virtual.cc: New file.
254 * gdb.compile/compile-cplus-virtual.exp: New file.
255 * gdb.compile/compile-cplus.c: "New" file.
256 * gdb.compile/compile-cplus.exp: "New" file.
257 * lib/compile-support.exp: New file.
259 2018-08-16 Gary Benson <gbenson@redhat.com>
262 * gdb.base/batch-exit-status.exp: New file.
263 * gdb.base/batch-exit-status.good-commands: Likewise.
264 * gdb.base/batch-exit-status.bad-commands: Likewise.
266 2018-08-29 Alan Hayward <alan.hayward@arm.com>
268 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
269 (struct struct02): Likewise.
270 (struct struct03): Likewise.
271 (struct struct04): Likewise.
272 (struct struct_01_01): New struct.
273 (struct struct_01_02): Likewise.
274 (struct struct_01_03): Likewise.
275 (struct struct_01_04): Likewise.
276 (struct struct_02_01): Likewise.
277 (struct struct_02_02): Likewise.
278 (struct struct_02_03): Likewise.
279 (struct struct_02_04): Likewise.
280 (struct struct_04_01): Likewise.
281 (struct struct_04_02): Likewise.
282 (struct struct_04_03): Likewise.
283 (struct struct_04_04): Likewise.
284 (struct struct_05_01): Likewise.
285 (struct struct_05_02): Likewise.
286 (struct struct_05_03): Likewise.
287 (struct struct_05_04): Likewise.
288 (cmp_struct01): Remove function.
289 (cmp_struct02): Likewise.
290 (cmp_struct03): Likewise.
291 (cmp_struct04): Likewise.
292 (cmp_struct_01_01): Add Function.
293 (cmp_struct_01_02): Likewise.
294 (cmp_struct_01_03): Likewise.
295 (cmp_struct_01_04): Likewise.
296 (cmp_struct_02_01): Likewise.
297 (cmp_struct_02_02): Likewise.
298 (cmp_struct_02_03): Likewise.
299 (cmp_struct_02_04): Likewise.
300 (cmp_struct_04_01): Likewise.
301 (cmp_struct_04_02): Likewise.
302 (cmp_struct_04_03): Likewise.
303 (cmp_struct_04_04): Likewise.
304 (cmp_struct_05_01): Likewise.
305 (cmp_struct_05_02): Likewise.
306 (cmp_struct_05_03): Likewise.
307 (cmp_struct_05_04): Likewise.
308 (call_all): Add new structs.
309 * gdb.base/infcall-nested-structs.exp: Likewise.
311 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
313 * gdb.python/py-framefilter-mi.exp: Update regexp to
314 check for "arch" field in frame output.
316 2018-08-23 Kevin Buettner <kevinb@redhat.com>
318 * gdb.dwarf2/dw2-ranges-func.c: New file.
319 * gdb.dwarf2/dw2-ranges-func.exp: New file.
321 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
323 * gdb.base/term.exp: Compare terminal settings with values from
325 * gdb.base/term.c: Get and set terminal settings.
327 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
329 * lib/mi-support.exp (mi_expect_stop): Update regexp to
330 accommodate new "arch" field in frame output.
331 * gdb.mi/mi-return.exp: Likewise.
332 * gdb.mi/mi-stack.exp: Likewise.
333 * gdb.mi/mi-syn-frame.exp: Likewise.
334 * gdb.mi/user-selected-context-sync.exp: Likewise.
336 2018-08-19 Michael Spang <spang@google.com>
339 * gdb.base/gcore-tls-pie.c: New file.
340 * gdb.base/gcore-tls-pie.exp: New file.
342 2018-08-18 Kevin Buettner <kevinb@redhat.com>
344 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
345 * gdb.dwarf2/varval.c: New file.
346 * gdb.dwarf2/varval.exp: New file.
348 2018-08-17 Alan Hayward <alan.hayward@arm.com>
351 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
353 2018-08-16 Keith Seitz <keiths@redhat.com>
355 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
356 tests expected to pass.
358 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
360 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
361 -data-disassemble -a.
362 (test_disassembly_bogus_args): Likewise.
364 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
366 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
368 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
370 * gdb.base/vla-optimized-out.exp: Add new test.
372 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
374 * gdb.base/vla-optimized-out-o3.exp: Delete.
375 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
376 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
379 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
382 * gdb.server/extended-remote-restart.c: New file.
383 * gdb.server/extended-remote-restart.exp: New file.
385 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
387 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
388 "set variable index = 42".
390 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
392 * boards/index-cache-gdb.exp: New file.
393 * gdb.dwarf2/index-cache.exp: New file.
394 * gdb.dwarf2/index-cache.c: New file.
395 * gdb.base/maint.exp: Check if we are using the index cache.
397 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
399 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
402 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
404 * dg-extract-results.sh: Move to toplevel contrib.
405 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
406 * Makefile.in (check-parallel-racy): Likewise.
408 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
410 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
411 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
412 tests if the target supports scheduler locking.
414 2018-08-04 Tom de Vries <tdevries@suse.de>
416 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
418 2018-08-02 Tom Tromey <tom@tromey.com>
421 * gdb.cp/temargs.exp: Test "info address" of a template
424 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
426 * gdb.python/py-mi-var-info-path-expression.c: New file.
427 * gdb.python/py-mi-var-info-path-expression.py: New file.
428 * gdb.python/py-mi-var-info-path-expression.exp: New file.
430 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
432 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
433 error after "cannot resolve name" string.
435 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
437 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
439 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
441 2018-07-28 Tom de Vries <tdevries@suse.de>
443 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
445 2018-07-26 Tom de Vries <tdevries@suse.de>
447 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
449 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
451 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
454 2018-07-26 Tom de Vries <tdevries@suse.de>
457 * gdb.base/catch-follow-exec.c: New test.
458 * gdb.base/catch-follow-exec.exp: New file.
460 2018-07-25 Tom de Vries <tdevries@suse.de>
462 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
465 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
467 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
468 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
470 2018-07-20 Tom de Vries <tdevries@suse.de>
472 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
474 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
476 2018-07-19 Tom de Vries <tdevries@suse.de>
478 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
481 2018-07-18 Tom de Vries <tdevries@suse.de>
483 * gdb.base/vla-optimized-out.c: New test.
484 * gdb.base/vla-optimized-out.exp: New file.
486 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
488 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
489 message "No address associated with hostname" when gdbserver
490 cannot resolve the hostname.
492 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
494 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
495 Add some test prefixes to make tests unique.
497 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
499 * gdb.base/frameapply.c: New file.
500 * gdb.base/frameapply.exp: New file.
502 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
504 * gdb.base/skip.exp: Update expected error message.
506 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
507 Jan Kratochvil <jan.kratochvil@redhat.com>
508 Paul Fertser <fercerpav@gmail.com>
509 Tsutomu Seki <sekiriki@gmail.com>
511 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
513 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
515 * boards/native-gdbserver.exp: Likewise.
516 * gdb.server/run-without-local-binary.exp: Improve regexp used
517 for detecting when a remote debugging connection succeeds.
518 * gdb.server/server-connect.exp: New file.
519 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
520 Do not prefix the port number with ":".
521 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
522 support for detecting and using it. Add '$debughost_gdbserver'
523 to the list of arguments used to start gdbserver. Handle case
524 when gdbserver cannot resolve a network name.
526 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
529 * gdb.base/ptype-offsets.cc (struct static_member): New
531 (main) <stmember>: New variable.
532 * gdb.base/ptype-offsets.exp: Add test for printing a struct
533 with a static member in it.
535 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
537 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
538 watchpoints enabled and disabled.
540 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
542 * gdb.base/examine-backward.exp: Still run tests around address
543 0x0, even if address 0x0 is not readable. Update the pattern for
544 matching address 0x0 in expected output.
546 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
548 * gdb.base/share-env-with-gdbserver.c (main): Add call to
551 2018-07-04 Tom de Vries <tdevries@suse.de>
553 * gdb.dwarf2/dw2-error.exp: Update expected error message.
555 2018-07-02 Maciej W. Rozycki <macro@mips.com>
558 * gdb.arch/mips-disassembler-options.exp: New test.
559 * gdb.arch/mips-disassembler-options.s: New test source.
561 2018-06-29 Pedro Alves <palves@redhat.com>
563 * gdb.threads/names.exp: Adjust expected "info threads" output.
565 2018-06-29 Pedro Alves <palves@redhat.com>
567 * gdb.opt/inline-break.exp (line number, address): Add "info
570 2018-06-29 Pedro Alves <palves@redhat.com>
572 * gdb.opt/inline-break.c (func1): Add "break here" marker.
573 * gdb.opt/inline-break.exp: Test setting breakpoints by line
574 number and address and running to them.
576 2018-06-29 Richard Bunt <richard.bunt@arm.com>
578 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
580 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
582 * lib/compiler.c: Remove executable permission flag.
584 2018-06-28 Richard Bunt <richard.bunt@arm.com>
586 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
588 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
590 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
592 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
594 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
596 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
597 address argument is omitted.
599 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
601 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
603 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
606 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
607 * gdb.base/infoline-reloc-main-from-zero.c: New file.
609 2018-06-26 Tom Tromey <tom@tromey.com>
612 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
613 * gdb.rust/simple.rs (struct SimpleLayout): New.
615 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
617 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
618 "info registers" output.
620 2018-06-21 Richard Bunt <richard.bunt@arm.com>
622 * gdb.base/watchpoint-hw-attach.c: New test.
623 * gdb.base/watchpoint-hw-attach.exp: New file.
625 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
627 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
629 * boards/dwarf4-gdb-index.exp: Likewise.
630 * boards/fission-dwp.exp: Likewise.
632 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
634 * gdb.base/float128.exp: Add comment and improved fail message
635 to the failure case of "print large128" test.
637 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
639 * configure.ac: Remove AC_PREREQ.
640 * configure: Re-generate.
642 2018-06-19 Pedro Alves <palves@redhat.com>
644 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
645 (func_extern_caller): New.
646 (main): Call func_extern_caller.
647 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
650 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
653 * gdb.cp/typedef-base.cc: New file.
654 * gdb.cp/typedef-base.exp: New file.
656 2018-06-18 Tom de Vries <tdevries@suse.de>
658 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
660 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
661 Richard Bunt <Richard.Bunt@arm.com>
663 * gdb.threads/attach-slow-waitpid.c: New file.
664 * gdb.threads/attach-slow-waitpid.exp: New file.
665 * gdb.threads/slow-waitpid.c: New file.
667 2018-06-14 Pedro Alves <palves@redhat.com>
669 * gdb.base/fork-running-state.c: Include <errno.h>.
670 (exit_if_relative_exits): New.
671 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
673 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
676 2018-06-14 Tom de Vries <tdevries@suse.de>
679 * gdb.base/finish-pretty.c: New test.
680 * gdb.base/finish-pretty.exp: New file.
682 2018-06-14 Pedro Alves <palves@redhat.com>
684 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
685 gdb's expected startup output.
687 2018-06-14 Pedro Alves <palves@redhat.com>
689 * lib/selftest-support.exp (selftest_setup): Remove inlined
692 2018-06-14 Tom de Vries <tdevries@suse.de>
694 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
695 matching of breakpoint printing.
697 2018-06-13 Tom de Vries <tdevries@suse.de>
700 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
701 (fork_child): ... here, and ...
702 (fork_parent): ... here.
704 2018-06-12 Tom de Vries <tdevries@suse.de>
706 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
708 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
709 Stephen Roberts <stephen.roberts@arm.com>
711 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
712 rewrite test to describe action performed, rather than possible
715 2018-06-08 Gary Benson <gbenson@redhat.com>
717 * gdb.threads/check-libthread-db.exp: New file.
718 * gdb.threads/check-libthread-db.c: Likewise.
720 2018-06-05 Tom Tromey <tom@tromey.com>
722 * gdb.base/default.exp: Update expected "show version" output.
724 2018-06-05 Tom Tromey <tom@tromey.com>
727 * gdb.cp/static-print-quit.exp: Update.
728 * lib/gdb.exp (pagination_prompt): Update.
729 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
730 * gdb.python/python.exp: Update.
732 2018-06-04 Joel Brobecker <brobecker@adacore.com>
734 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
736 2018-06-01 Joel Brobecker <brobecker@adacore.com>
738 * gdb.ada/bp_fun_addr: New testcase.
740 2018-06-01 Tom Tromey <tom@tromey.com>
742 * gdb.xml/tdesc-regs.exp (load_description): Update expected
744 * gdb.dwarf2/method-ptr.exp: Set language to C++.
745 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
746 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
747 * gdb.base/maint.exp (maint_pass_if): Update.
749 2018-05-31 Maciej W. Rozycki <macro@mips.com>
751 * gdb.base/endian.exp: New test.
752 * gdb.base/endian.c: New test source.
754 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
757 * gdb.base/bt-selected-frame.c: New file.
758 * gdb.base/bt-selected-frame.exp: New file.
759 * lib/gdb.exp (get_current_frame_number): New function.
761 2018-05-24 Maciej W. Rozycki <macro@mips.com>
762 Pedro Alves <palves@redhat.com>
764 * gdb.threads/tls-core.c: Include <stdlib.h>
765 (thread_proc): Call `abort'.
766 * gdb.threads/tls-core.exp: Generate a core with core_find too.
767 (tls_core_test): New procedure, bits factored out from ...
768 (top level): ... here. Test both native cores and gcore cores.
770 2018-05-23 Tom Tromey <tom@tromey.com>
772 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
774 2018-05-23 Tom Tromey <tom@tromey.com>
776 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
778 (test_short_complaints): Likewise.
779 (test_empty_complaints): Likewise.
780 (test_initial_complaints): Update.
782 2018-05-23 Tom Tromey <tom@tromey.com>
784 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
786 2018-05-23 Tom Tromey <tom@tromey.com>
788 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
789 (test_short_complaints): Update.
791 2018-05-22 Pedro Alves <palves@redhat.com>
793 * gdb.base/remote.exp: Only gdb_start after compiling the
794 testcase. Issue "disconnect" before testing "set remote" command
795 defaults. Issue clean_restart before running to main.
797 2018-05-22 Pedro Alves <palves@redhat.com>
799 * gdb.base/remote.exp: Adjust expected output of "show remote
800 memory-write-packet-size". Add tests for "set remote
801 memory-write-packet-size 0" and "set remote
802 memory-write-packet-size fixed/limit".
804 2018-05-22 Pedro Alves <palves@redhat.com>
807 * gdb.base/utf8-identifiers.c: New file.
808 * gdb.base/utf8-identifiers.exp: New file.
810 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
812 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
814 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
816 * gdb.arch/powerpc-vsx-gcore.exp: New file.
818 2018-05-18 Tom Tromey <tom@tromey.com>
820 * gdb.base/ptype-offsets.exp: Update.
822 2018-05-17 Keith Seitz <keiths@redhat.com>
824 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
825 in expected breakpoint stop locations.
826 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
827 move to proper scope to test variable values.
828 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
829 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
831 (main): Call not_inline_func3.
832 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
833 inline_func1, inline_func2, and inline_func3. Test that when each
834 breakpoint is hit, GDB properly reports both the stop location
835 and the backtrace. Repeat tests for temporary breakpoints.
837 2018-05-15 Maciej W. Rozycki <macro@mips.com>
839 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
840 rather then trying to access it in determining whether the PID
841 of `gdbserver' could have been retrieved.
843 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
845 * gdb.arch/amd64-init-x87-values.S: New file.
846 * gdb.arch/amd64-init-x87-values.exp: New file.
848 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
850 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
852 2018-05-04 Tom Tromey <tom@tromey.com>
855 * gdb.python/python.exp: Test multi-line execute.
857 2018-05-04 Tom Tromey <tom@tromey.com>
860 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
862 2018-05-04 Tom Tromey <tom@tromey.com>
865 * gdb.base/define.exp: Test defining a user command inside a user
867 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
869 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
870 Pedro Alves <palves@redhat.com>
872 PR breakpoints/19806 and support for PR external/20207.
873 * gdb.base/watchpoint-unaligned.c: New file.
874 * gdb.base/watchpoint-unaligned.exp: New file.
876 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
878 * gdb.base/maint.exp: Make test names unique, use
879 test_prefix_command_help to test 'help maint info', and remove
880 repeated test of 'help maint'.
882 2018-05-04 Tom Tromey <tom@tromey.com>
885 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
888 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
890 * gdb.base/maint.exp: Process output from 'maint print registers'
893 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
895 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
898 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
900 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
903 2018-05-02 Pedro Alves <palves@redhat.com>
905 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
906 to_log_command renames.
907 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
909 2018-05-02 Tom Tromey <tom@tromey.com>
911 * gdb.python/py-parameter.exp: Set test message.
913 2018-05-02 Tom Tromey <tom@tromey.com>
916 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
917 PARAM_ZUINTEGER_UNLIMITED tests.
919 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
922 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
925 2018-04-30 Tom Tromey <tom@tromey.com>
927 * gdb.python/py-type.exp: Check align attribute.
928 * gdb.python/py-type.c: New "aligncheck" global.
930 2018-04-30 Tom Tromey <tom@tromey.com>
933 * gdb.dwarf2/dw2-align.exp: New file.
934 * gdb.cp/align.exp: New file.
935 * gdb.base/align.exp: New file.
936 * lib/gdb.exp (gdb_int128_helper): New proc.
937 (has_int128_c, has_int128_cxx): New caching procs.
939 2018-04-27 Tom Tromey <tom@tromey.com>
942 * gdb.rust/simple.exp: Add inclusive range tests.
944 2018-04-26 Pedro Alves <palves@redhat.com>
946 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
947 ifunc breakpoint locations correctly of ifunc breakpoints set
948 while the program resolves the ifunc.
950 2018-04-26 Pedro Alves <palves@redhat.com>
952 * gdb.base/gnu-ifunc-final.c: New file.
953 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
954 * gdb.base/gnu-ifunc.exp (executable): Delete.
955 (staticexecutable): Adjust.
956 (lib_opts, exec_opts): Delete.
957 (make_binsuffix, build, set-break): New procedures.
958 (misc_tests): New, with tests factored out from the top level.
959 (top level): Test different combinations of ifunc resolver name,
960 resolver with and with debug info, and ifunc target with and
961 without debug info. Wrap static tests with with_target_prefix.
963 2018-04-26 Pedro Alves <palves@redhat.com>
965 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
966 return type" warnings.
968 2018-04-25 Pedro Alves <palves@redhat.com>
970 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
972 * gdb.base/kill-after-signal.exp: Likewise.
973 * gdb.threads/kill.exp: Likewise.
975 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
976 Sergio Durigan Junior <sergiodj@redhat.com>
977 Pedro Alves <palves@redhat.com>
979 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
980 regexps to expect for '[Inferior ... detached]' as well.
981 * gdb.base/attach.exp: Likewise.
982 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
983 "gdb_continue_to_end".
984 (test_catch_syscall_with_wrong_args): Likewise.
985 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
986 ']'. Don't set 'verbose' on.
987 * gdb.base/foll-vfork.exp: Likewise.
988 * gdb.base/fork-print-inferior-events.c: New file.
989 * gdb.base/fork-print-inferior-events.exp: New file.
990 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
991 '[Inferior ... has been killed]' message.
992 * gdb.base/kill-after-signal.exp: Likewise.
993 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
995 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
997 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
998 regexps to expect for '[Inferior ... detached]' as well.
999 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1001 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1004 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1006 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1008 * gdb.threads/multiple-successive-infcall.c: New test.
1009 * gdb.threads/multiple-successive-infcall.exp: New file.
1011 2018-04-17 Tom Tromey <tom@tromey.com>
1013 * gdb.rust/simple.rs (Union): New type.
1014 (main): New local "u".
1015 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1017 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1019 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1020 number information in output of "whereis" command.
1021 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1023 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1025 * gdb.ada/info_types.exp: Adjust expected output to the line
1026 numbers now printed by "info var/func/type".
1027 * gdb.base/completion.exp: Likewise.
1028 * gdb.base/included.exp: Likewise.
1029 * gdb.cp/cp-relocate.exp: Likewise.
1030 * gdb.cp/cplusfuncs.exp: Likewise.
1031 * gdb.cp/namespace.exp: Likewise.
1032 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1034 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1036 * gdb.btrace/cpu.exp: New.
1038 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1040 * gdb.base/step-indirect-call-thunk.exp: New.
1041 * gdb.base/step-indirect-call-thunk.c: New.
1042 * gdb.reverse/step-indirect-call-thunk.exp: New.
1043 * gdb.reverse/step-indirect-call-thunk.c: New.
1045 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1047 * gdb.base/pie-fork.c: New file.
1048 * gdb.base/pie-fork.exp: New file.
1050 2018-04-11 Tom Tromey <tom@tromey.com>
1052 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1054 2018-04-10 Pedro Alves <palves@redhat.com>
1056 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1057 exits. Instead loop running forever.
1058 (fork_parent): Run forever too.
1060 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1062 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1063 mi_continue_to_line.
1064 * gdb.mi/mi-stack.c (callee4): Add comment.
1066 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1068 * gdb.mi/mi-stack.exp: Fix indentation.
1070 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1073 * gdb.arch/amd64-osabi.exp: New file.
1075 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1078 * gdb.base/osabi.exp: New file.
1080 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1082 * gdb.cp/static-typedef-print.exp: New file.
1083 * gdb.cp/static-typedef-print.cc: New file.
1085 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1087 * gdb.ada/varsize_limit: New testcase.
1089 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1091 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1093 * gdb.ada/notcplusplus: New testcase.
1095 * gdb.base/c-linkage-name.c: New file.
1096 * gdb.base/c-linkage-name.exp: New testcase.
1098 2018-03-26 Tom Tromey <tom@tromey.com>
1100 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1101 * gdb.python/py-framefilter.py (name_error): New global.
1102 (ErrorInName.function): Use name_error.
1104 2018-03-26 Tom Tromey <tom@tromey.com>
1107 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1109 2018-03-23 Keith Seitz <keiths@redhat.com>
1112 * gdb.cp/subtypes.exp: New file.
1113 * gdb.cp/subtypes.h: New file.
1114 * gdb.cp/subtypes.cc: New file.
1115 * gdb.cp/subtypes-2.cc: New file.
1117 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1119 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1120 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1121 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1122 -nostartfiles when compiling the test. Confirm that all registers
1123 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1125 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1127 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1128 option, syntax was wrong anyway.
1129 * gdb.arch/arm-disp-step.exp: Likewise.
1130 * gdb.arch/sparc64-regs.exp: Likewise.
1131 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1132 option, syntax was wrong anyway, switch to use
1133 prepare_for_testing.
1134 * gdb.arch/i386-disp-step.exp: Likewise.
1136 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1138 * gdb.ada/exec_changed.exp: Replace "target_info exists
1139 use_gdb_stub" by "use_gdb_stub".
1140 * gdb.ada/start.exp: Likewise.
1141 * gdb.base/async-shell.exp: Likewise.
1142 * gdb.base/attach-pie-misread.exp: Likewise.
1143 * gdb.base/attach-wait-input.exp: Likewise.
1144 * gdb.base/break-entry.exp: Likewise.
1145 * gdb.base/break-interp.exp: Likewise.
1146 * gdb.base/dprintf-detach.exp: Likewise.
1147 * gdb.base/nostdlib.exp: Likewise.
1148 * gdb.base/solib-nodir.exp: Likewise.
1149 * gdb.base/statistics.exp: Likewise.
1150 * gdb.base/testenv.exp: Likewise.
1151 * gdb.mi/mi-exec-run.exp: Likewise.
1152 * gdb.mi/mi-start.exp: Likewise.
1153 * gdb.multi/dummy-frame-restore.exp: Likewise.
1154 * gdb.multi/multi-arch-exec.exp: Likewise.
1155 * gdb.multi/multi-arch.exp: Likewise.
1156 * gdb.multi/tids.exp: Likewise.
1157 * gdb.multi/watchpoint-multi.exp: Likewise.
1158 * gdb.python/py-events.exp: Likewise.
1159 * gdb.threads/attach-into-signal.exp: Likewise.
1160 * gdb.threads/attach-stopped.exp: Likewise.
1161 * gdb.threads/threadapply.exp: Likewise.
1162 * lib/selftest-support.exp: Likewise.
1164 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1166 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1168 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1170 * gdb.perf/template-breakpoints.cc: New file.
1171 * gdb.perf/template-breakpoints.exp: New file.
1172 * gdb.perf/template-breakpoints.py: New file.
1174 2018-03-19 Tom Tromey <tom@tromey.com>
1176 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1178 * gdb.rust/simple.exp: Test bare identifier form of struct
1181 2018-03-19 Tom Tromey <tom@tromey.com>
1183 * gdb.gdb/observer.exp: Remove.
1185 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1187 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1188 "qualified" option when setting breakpoints.
1189 * gdb.trace/backtrace.exp: Likewise.
1190 * gdb.trace/circ.exp: Likewise.
1191 * gdb.trace/collection.exp: Likewise.
1192 * gdb.trace/disconnected-tracing.exp: Likewise.
1193 * gdb.trace/ftrace-lock.exp: Likewise.
1194 * gdb.trace/ftrace.exp: Likewise.
1195 * gdb.trace/infotrace.exp: Likewise.
1196 * gdb.trace/packetlen.exp: Likewise.
1197 * gdb.trace/passc-dyn.exp: Likewise.
1198 * gdb.trace/qtro.exp: Likewise.
1199 * gdb.trace/read-memory.exp: Likewise.
1200 * gdb.trace/report.exp: Likewise.
1201 * gdb.trace/signal.exp: Likewise.
1202 * gdb.trace/status-stop.exp: Likewise.
1203 * gdb.trace/strace.exp: Likewise.
1204 * gdb.trace/tfind.exp: Likewise.
1205 * gdb.trace/trace-break.exp: Likewise.
1206 * gdb.trace/trace-condition.exp: Likewise.
1207 * gdb.trace/trace-mt.exp: Likewise.
1208 * gdb.trace/tstatus.exp: Likewise.
1209 * gdb.trace/tsv.exp: Likewise.
1210 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1211 * gdb.trace/unavailable.exp: Likewise.
1212 * gdb.trace/while-dyn.exp: Likewise.
1214 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1216 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1217 that libinproctrace is copied to the target.
1219 2018-03-14 Tom Tromey <tom@tromey.com>
1222 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1224 * gdb.base/wchar.exp: Likewise.
1226 2018-03-14 Tom Tromey <tom@tromey.com>
1229 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1232 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1235 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1236 "target" to remote_exec.
1238 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1241 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1242 ${board}_upload): Remove.
1244 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1246 * gdb.cp/watch-cp.cc: New test.
1247 * gdb.cp/watch-cp.exp: New file.
1249 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1251 * gdb.base/infcall-nested-structs.exp: New file.
1252 * gdb.base/infcall-nested-structs.c: New file.
1253 * gdb.base/float.exp: Add riscv support.
1255 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1257 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1258 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1260 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1262 * gdb.server/abspath.exp: New file.
1263 * lib/gdb.exp (with_cwd): New procedure.
1265 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1267 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1269 (gdb_is_target_remote_prompt): New proc.
1270 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1271 (gdb_is_target_native): Pass prompt parameter to
1274 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1276 * gdb.base/load-command.c: New file.
1277 * gdb.base/load-command.exp: New file.
1278 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1279 (gdb_is_target_1): ...this, and generalize for other targets
1281 (gdb_is_target_remote): Use gdb_is_target_1.
1282 (gdb_is_target_native): use gdb_is_target_1.
1284 2018-02-26 Tom Tromey <tom@tromey.com>
1287 * gdb.python/py-framefilter.exp: Update test.
1289 2018-02-26 Tom Tromey <tom@tromey.com>
1291 * gdb.dwarf2/variant.c: New file.
1292 * gdb.dwarf2/variant.exp: New file.
1294 2018-02-26 Tom Tromey <tom@tromey.com>
1296 * gdb.rust/simple.exp: Accept more possible results in enum test.
1298 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1300 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1303 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1305 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1306 name of a variable: $actual_linejj -> $actual_line.
1308 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1310 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1312 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1314 * gdb.btrace/buffer-size.exp: Do not force BTS.
1316 2018-02-14 Pedro Alves <palves@redhat.com>
1318 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1321 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1323 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1326 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1328 * gdb.cp/m-static.exp: Check type of optimized out static
1331 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1333 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1334 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1336 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1337 Leszek Swirski <leszeks@google.com>
1339 * gdb.python/py-prettyprint.c
1340 (struct to_string_returns_value_inner,
1341 struct to_string_returns_value_wrapper): New.
1342 (main): Add tsrvw variable.
1343 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1344 ToStringReturnsValueWrapper): New classes.
1345 (register_pretty_printers): Register new pretty-printers.
1346 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1347 recursive pretty printer.
1348 * gdb.python/py-mi.exp: Likewise.
1350 2018-02-01 Leszek Swirski <leszeks@google.com>
1352 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1353 functions with the same name as an include file are parsed
1356 2018-02-01 Yao Qi <yao.qi@linaro.org>
1358 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1361 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1363 * gdb.arch/powerpc-prologue-frame.s: New file.
1364 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1365 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1367 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1369 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1371 2018-01-30 Pedro Alves <palves@redhat.com>
1374 * gdb.base/interrupt-daemon.c: New.
1375 * gdb.base/interrupt-daemon.exp: New.
1376 * gdb.multi/multi-term-settings.c: New.
1377 * gdb.multi/multi-term-settings.exp: New.
1379 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1381 * gdb.base/break.exp: Save the location where the breakpoint
1382 on break.c:47 was actually inserted when debugging the version
1383 compiled at -O2 and use it in the expected output of the "info
1384 break" test performed soon after.
1386 2018-01-22 Pedro Alves <palves@redhat.com>
1387 Sergio Durigan Junior <sergiodj@redhat.com>
1389 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1390 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1392 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1394 * gdb.base/break-include.c, gdb.base/break-include.inc,
1395 gdb.base/break-include.exp: New files.
1396 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1397 line number now being the actual line number where the breakpoint
1399 * gdb.mi/mi-break.exp: Likewise.
1400 * gdb.mi/mi-reverse.exp: Likewise.
1401 * gdb.mi/mi-simplerun.exp: Ditto.
1403 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1405 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1407 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1409 2018-01-21 Don Breazeal <donb@codesourcery.com>
1410 Andrew Burgess <andrew.burgess@embecosm.com>
1412 * gdb.mi/basics.c: Add new global.
1413 * gdb.mi/mi-frame-regs.exp: New file.
1414 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1417 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1419 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1420 non-parameter, and on an unknown symbol.
1422 2018-01-19 Tom Tromey <tom@tromey.com>
1424 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1425 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1427 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1429 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1430 setrlimit and chdir to int.
1432 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1434 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1436 (my_tend): Likewise.
1437 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1438 rationale of avoiding FP- and vector instructions.
1440 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1442 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1443 "info reg" with "\[ \t\]*".
1444 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1446 * gdb.arch/s390-multiarch.exp: Ditto.
1447 * gdb.base/pc-fp.exp: Ditto.
1448 * gdb.reverse/i386-precsave.exp: Ditto.
1449 * gdb.reverse/i386-reverse.exp: Ditto.
1450 * gdb.reverse/i387-env-reverse.exp: Ditto.
1451 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1453 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1455 * lib/gdb.exp (gdb_compile): Re-enable use of
1456 universal_compile_options for languages other than Rust.
1458 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1460 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1462 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1465 * gdb.base/solib-vanish.exp: New.
1466 * gdb.base/solib-vanish-main.c: New.
1467 * gdb.base/solib-vanish-lib1.c: New.
1468 * gdb.base/solib-vanish-lib2.c: New.
1470 2018-01-17 Yao Qi <yao.qi@linaro.org>
1472 * gdb.compile/compile.exp: Match the address printed for
1473 frame in the output of command "bt".
1475 2018-01-15 Tom Tromey <tom@tromey.com>
1477 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1480 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1482 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1484 (prepare): Return 0 on error, 1 on success.
1486 2018-01-12 Pedro Alves <palves@redhat.com>
1488 * gdb.base/continue-after-aborted-step-over.c: New.
1489 * gdb.base/continue-after-aborted-step-over.exp: New.
1491 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1493 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1494 options when not creating an executable.
1496 2018-01-11 Pedro Alves <palves@redhat.com>
1499 * gdb.server/stop-reply-no-thread.c: New file.
1500 * gdb.server/stop-reply-no-thread.exp: New file.
1502 2018-01-10 Pedro Alves <palves@redhat.com>
1505 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1506 functions too. Test setting breakpoints and printing C functions
1507 with no debug info too.
1508 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1510 2018-01-10 Pedro Alves <palves@redhat.com>
1513 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1516 2018-01-10 Pedro Alves <palves@redhat.com>
1519 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1521 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1523 * gdb.server/unittest.exp: Match the output in non-development
1526 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1528 * gdb.gdb/unittest.exp: Match output in non-development mode.
1530 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1532 * gdb.ada/access_tagged_param.exp: Relax expected output
1533 for value of "ObjL" in "continue" to pck.inspect breakpoint
1536 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1538 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1539 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1541 2018-01-05 Pedro Alves <palves@redhat.com>
1544 * gdb.base/libsegfault.exp: New.
1546 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1549 * gdb.ada/access_tagged_param.exp: New file.
1550 * gdb.ada/access_tagged_param/foo.adb: New file.
1552 2018-01-05 Pedro Alves <palves@redhat.com>
1555 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1556 exercise lower case too, and to exercise both full matching and
1559 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1561 * gdb.ada/rename_subscript_param: New testcase.
1563 2018-01-05 Jerome Guitton <guitton@adacore.com>
1565 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1567 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1569 * gdb.ada/convvar_comp: New testcase.
1571 2018-01-05 Xavier Roirand <roirand@adacore.com>
1573 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1574 (My_Table): New global variable.
1575 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1577 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1580 * gdb.ada/maint_with_ada: New testcase.
1582 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1585 * gdb.ada/bp_c_mixed_case: New testcase.
1587 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1590 * gdb.ada/complete.exp: Add "complete break ada" test.
1592 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1595 * gdb.ada/info_addr_mixed_case: New testcase.
1597 2018-01-03 Xavier Roirand <roirand@adacore.com>
1599 * gdb.ada/excep_handle.exp: New testcase.
1600 * gdb.ada/excep_handle/foo.adb: New file.
1601 * gdb.ada/excep_handle/pck.ads: New file.
1603 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1605 * gdb.base/step-line.c: Add extra empty line in copyright header.
1606 * gdb.base/step-line.inp: Likewise.
1608 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1610 * gdb.ada/dyn_stride.exp: Add slice test.
1612 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1614 * gdb.ada/dyn_stride: New testcase.
1616 2017-12-27 Stafford Horne <shorne@gmail.com>
1618 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1619 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1621 2017-12-27 Stafford Horne <shorne@gmail.com>
1623 * gdb.base/reggroups.c: New file.
1624 * gdb.base/reggroups.exp: New file.
1626 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1628 * gdb.dwarf2/ada-valprint-error.c: New file.
1629 * gdb.dwarf2/ada-valprint-error.exp: New file.
1631 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1633 * gdb.ada/assign_arr: New testcase.
1635 2017-12-18 Xavier Roirand <roirand@adacore.com>
1637 * gdb.ada/funcall_ptr: New testcase.
1639 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1642 * gdb.base/ptype-offsets.cc: New file.
1643 * gdb.base/ptype-offsets.exp: New file.
1645 2017-12-15 Yao Qi <yao.qi@linaro.org>
1647 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1650 2017-12-15 Xavier Roirand <roirand@adacore.com>
1652 * gdb.ada/same_component_name: New testcase.
1654 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1656 * gdb.ada/str_binop_equal: New testcase.
1658 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1660 * gdb.ada/task_switch_in_core: New testcase.
1662 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1664 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1665 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1666 call test_bkpt_qualified.
1667 (test_bkpt_qualified): New proc.
1669 2017-12-13 Pedro Alves <palves@redhat.com>
1671 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1672 Tighten regexp by matching with an anchor.
1674 2017-12-13 Pedro Alves <palves@redhat.com>
1676 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1677 ("expression with namespace"): New set of tests.
1678 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1679 (Nested::Test_NS::qux): New.
1680 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1681 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1683 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1685 * gdb.base/server-del-break.c: New file.
1686 * gdb.base/server-del-break.exp: New file.
1688 2017-12-12 Stafford Horne <shorne@gmail.com>
1690 * gdb.xml/tdesc-regs.exp: Add or1k support.
1692 2017-12-12 Stafford Horne <shorne@gmail.com>
1694 * gdb.base/bp-permanent.c: Define nop of or1k.
1696 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1698 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1699 output with components being reordered.
1701 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1703 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1704 output with components being reordered.
1706 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1707 Pedro Alves <palves@redhat.com>
1709 * gdb.base/maint.exp (check for .gdb_index): Check also for
1711 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1712 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1713 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1714 (.gdb_index used after symbol reloading): Support also .debug_names.
1715 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1717 2017-12-08 Yao Qi <yao.qi@linaro.org>
1719 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1720 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1722 2017-12-08 Yao Qi <yao.qi@linaro.org>
1724 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1725 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1727 2017-12-08 Yao Qi <yao.qi@linaro.org>
1729 * gdb.arch/aarch64-tagged-pointer.c: New file.
1730 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1732 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1734 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1737 2017-12-07 Keith Seitz <keiths@redhat.com>
1739 PR breakpoints/22569
1740 * gdb.linespec/ls-errs.exp: Change expected result of "break
1741 -source this file has spaces.c -line 3".
1742 Check that an explicit source file followed by whitespace is
1743 identified as an invalid explicit location.
1745 2017-12-07 Keith Seitz <keiths@redhat.com>
1747 * gdb.cp/nested-types.cc: New file.
1748 * gdb.cp/nested-types.exp: New file.
1749 * lib/cp-support.exp: Load data-structures.exp library.
1750 (debug_cp_test_ptype_class): New global.
1751 (cp_ptype_class_verbose, next_line): New procedures.
1752 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1753 Add and document new return value.
1754 Switch the list of lines to a queue.
1755 Add support for new `type' key for nested type definitions.
1756 Add debugging/troubleshooting messages.
1757 * lib/data-structures.exp: New file.
1759 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1761 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1762 with proc_with_prefix, don't use with_test_prefix.
1764 2017-12-07 Tom Tromey <tom@tromey.com>
1766 * gdb.base/break.exp: Add test for empty "commands".
1768 2017-12-07 Yao Qi <yao.qi@linaro.org>
1770 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1771 malloc and catch syscall.
1773 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1775 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1776 tests for explicit locations.
1778 2017-12-06 Pedro Alves <palves@redhat.com>
1780 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1781 force-disabling XML descriptions.
1783 2017-12-04 Pedro Alves <palves@redhat.com>
1786 * gdb.arch/amd64-disp-step-avx.S: New file.
1787 * gdb.arch/amd64-disp-step-avx.exp: New file.
1789 2017-12-03 Pedro Alves <palves@redhat.com>
1791 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1793 (parent_function): Print distinct messages when waitpid fails, or
1794 the child exits with a signal, or the child exits for an unhandled
1796 * gdb.threads/process-dies-while-detaching.exp
1797 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1798 it. Wait for both inferior output and GDB's prompt. Use an
1799 indirect spawn id list.
1800 (do_detach): New parameter 'child_exit'. Use it to compute
1801 expected inferior output.
1802 (test_detach, test_detach_watch, test_detach_killed_outside):
1803 Adjust to pass down the expected child exit kind.
1805 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1806 Sergio Durigan Junior <sergiodj@redhat.com>
1807 Pedro Alves <palves@redhat.com>
1809 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1811 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1813 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1814 to 'symbol-file' and 'add-symbol-file' can be
1815 position-independent.
1817 2017-12-01 Yao Qi <yao.qi@linaro.org>
1819 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1820 the URL in copyright header.
1821 * gdb.arch/aarch64-fp.exp: Likewise.
1822 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1823 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1824 * gdb.base/expand-psymtabs.exp: Likewise.
1825 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1826 * gdb.fortran/common-block.exp: Likewise.
1827 * gdb.fortran/common-block.f90: Likewise.
1828 * gdb.fortran/logical.exp: Likewise.
1829 * gdb.fortran/vla-datatypes.f90: Likewise.
1830 * gdb.fortran/vla-sub.f90: Likewise.
1832 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1834 * gdb.ada/repeat_dyn: New testcase.
1836 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1838 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1839 Update for changed thread numbering.
1840 * gdb.cell/bt.exp: Update for changed GDB output.
1842 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1844 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1845 setting isremote by hand.
1846 * boards/dwarf4-gdb-index.exp: Likewise.
1847 * boards/fission.exp: Likewise.
1848 * boards/stabs.exp: Likewise.
1850 2017-11-30 Pedro Alves <palves@redhat.com>
1852 * gdb.linespec/cpls-ops.exp
1853 (check_explicit_skips_function_argument): Extract the underlying
1854 type of size_t instead of hardcoding it.
1856 2017-11-29 Pedro Alves <palves@redhat.com>
1859 * gdb.linespec/cpls-abi-tag.cc: New file.
1860 * gdb.linespec/cpls-abi-tag.exp: New file.
1862 2017-11-29 Pedro Alves <palves@redhat.com>
1864 * gdb.base/langs.exp: Use -qualified.
1865 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1867 * gdb.cp/namespace.exp: Use -qualified.
1868 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1869 (overload-3, template-overload, template-ret-type, const-overload)
1870 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1872 (test_driver): Call them.
1873 * gdb.cp/save-bp-qualified.cc: New.
1874 * gdb.cp/save-bp-qualified.exp: New.
1875 * gdb.linespec/explicit.exp: Test -qualified.
1876 * lib/completion-support.exp (completion::explicit_opts_list): Add
1878 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1880 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1882 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1884 2017-11-29 Tom Tromey <tom@tromey.com>
1886 * gdb.base/relocate.exp: Update invalid argument test.
1887 Add new tests for invalid arguments.
1889 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1891 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1893 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1895 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1897 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1898 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1899 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1901 * gdb.cp/shadow.cc (B.func): Return 0.
1903 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1905 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1906 expected output in gdb_expect call to allow the exception
1907 message to be present as well. Fix syntax confusion to avoid
1908 TCL thinking that exception_name is an array.
1910 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1912 * gdb.arch/spu-info.c: Include <unistd.h>.
1913 (do_signal_test): Fix broken calls to write.
1914 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1915 Fix checks for empty mailboxes. Update signal tests for corrected
1916 do_signal_test routine. Allow nonzero event status.
1917 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1918 * gdb.cell/arch.exp: Use standard_output_file.
1919 * gdb.cell/break.exp: Likewise.
1920 * gdb.cell/bt.exp: Likewise.
1921 * gdb.cell/core.exp: Likewise.
1922 * gdb.cell/dwarfaddr.exp: Likewise.
1923 * gdb.cell/ea-cache.exp: Likewise.
1924 * gdb.cell/ea-standalone.exp: Likewise.
1925 * gdb.cell/f-regs.exp: Likewise.
1926 * gdb.cell/fork.exp: Likewise.
1927 * gdb.cell/gcore.exp: Likewise.
1928 * gdb.cell/mem-access.exp: Likewise.
1929 * gdb.cell/ptype.exp: Likewise.
1930 * gdb.cell/registers.exp: Likewise.
1931 * gdb.cell/sizeof.exp: Likewise.
1932 * gdb.cell/solib-symbol.exp: Likewise.
1933 * gdb.cell/solib.exp: Likewise.
1935 2017-11-25 Pedro Alves <palves@redhat.com>
1937 * gdb.base/complete-empty.exp: New file.
1938 * gdb.base/completion.exp: Adjust.
1940 2017-11-25 Pedro Alves <palves@redhat.com>
1942 * gdb.linespec/cpls-ops.cc: New file.
1943 * gdb.linespec/cpls-ops.exp: New file.
1944 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1945 factored out from ...
1946 (test_complete_prefix_range): ... this.
1948 2017-11-24 Pedro Alves <palves@redhat.com>
1950 * gdb.linespec/cpcompletion.exp: New file.
1951 * gdb.linespec/cpls-hyphen.cc: New file.
1952 * gdb.linespec/cpls.cc: New file.
1953 * gdb.linespec/cpls2.cc: New file.
1954 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1955 test to use test_gdb_complete_unique. Add label completion,
1956 keyword completion and explicit location completion tests.
1957 * lib/completion-support.exp: New file.
1959 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1961 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1962 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1963 when hitting an exception catchpoint.
1965 2017-11-22 Yao Qi <yao.qi@linaro.org>
1967 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1969 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1971 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1972 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1973 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1975 2017-11-22 Yao Qi <yao.qi@linaro.org>
1977 * gdb.base/info-os.exp: Pass pthreads.
1978 * gdb.multi/multi-attach.exp: Likewise.
1980 2017-11-22 Yao Qi <yao.qi@linaro.org>
1982 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1985 2017-11-22 Yao Qi <yao.qi@linaro.org>
1987 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1988 * gdb.base/break-interp.exp: Likewise.
1989 * gdb.base/jit-attach-pie.exp: Likewise.
1991 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1993 * gdb.base/float128.c (large128): New variable.
1994 * gdb.base/float128.exp: Add test to print largest __float128 value.
1996 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1998 * gdb.arch/vsx-regs.exp: Update register content checks.
2000 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2002 * gdb.arch/ppc-longdouble.exp: New file.
2003 * gdb.arch/ppc-longdouble.c: Likewise.
2005 2017-11-21 Pedro Alves <palves@redhat.com>
2007 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2009 2017-11-20 Pedro Alves <palves@redhat.com>
2011 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2012 (long_double_typedef): New typedefs.
2013 Use DEF on double and long double.
2014 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2016 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2017 and 'long_double_ptr_same_size' locals. Use them to decide
2018 whether cast from array/function to float is valid/invalid.
2020 2017-11-17 Tom Tromey <tom@tromey.com>
2022 * gdb.rust/traits.rs: New file.
2023 * gdb.rust/traits.exp: New file.
2025 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2027 * gdb.ada/minsyms: New testcase.
2029 2017-11-16 Pedro Alves <palves@redhat.com>
2031 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2032 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2034 2017-11-16 Pedro Alves <palves@redhat.com>
2036 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2037 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2039 2017-11-16 Pedro Alves <palves@redhat.com>
2041 * gdb.server/reconnect-ctrl-c.c: New file.
2042 * gdb.server/reconnect-ctrl-c.exp: New file.
2044 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2046 * gdb.python/py-rbreak.exp: New file.
2047 * gdb.python/py-rbreak.c: New file.
2048 * gdb.python/py-rbreak-func2.c: New file.
2050 2017-11-16 Pedro Alves <palves@redhat.com>
2052 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2054 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2057 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2059 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2062 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2064 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2067 2017-11-09 Pedro Alves <palves@redhat.com>
2069 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2070 factored out from ...
2071 (top level): ... here, and adjusted to avoid expecting beyond the
2072 prompt in a single gdb_test_multiple.
2074 2017-11-09 Pedro Alves <palves@redhat.com>
2076 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2078 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2079 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2080 * gdb.server/ext-run.exp ("kill" test): Likewise.
2081 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2083 2017-11-09 Pedro Alves <palves@redhat.com>
2085 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2086 match till end of line.
2088 2017-11-09 Pedro Alves <palves@redhat.com>
2090 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2092 2017-11-09 Pedro Alves <palves@redhat.com>
2094 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2095 New procedures, factored out from ...
2096 (top level): ... here, and adjusted to avoid expecting beyond the
2099 2017-11-09 Pedro Alves <palves@redhat.com>
2101 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2102 output. Fix '?' match.
2104 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2106 * gdb.ada/scoped_watch: New testcase.
2107 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2108 which is actually correct.
2109 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2110 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2112 2017-11-08 Pedro Alves <palves@redhat.com>
2114 * gdb.gdb/complaints.exp (test_initial_complaints)
2115 (test_serial_complaints, test_short_complaints): Call
2116 complaint_internal instead of complaint.
2118 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2120 * gdb.threads/tls-core.c: New file.
2121 * gdb.threads/tls-core.exp: Likewise.
2123 2017-11-08 Pedro Alves <palves@redhat.com>
2125 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2126 (p Exported_Capitalized): New test.
2127 (p exported_capitalized): New test.
2129 2017-11-07 Pedro Alves <palves@redhat.com>
2131 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2133 2017-11-07 Pedro Alves <palves@redhat.com>
2135 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2136 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2137 (disable_invalid, disable_inverted, disable_negative): New
2139 ("bad numbers"): New set of tests.
2141 2017-11-07 Pedro Alves <palves@redhat.com>
2143 * gdb.cp/ena-dis-br-range.exp: Add tests.
2145 2017-11-07 Pedro Alves <palves@redhat.com>
2147 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2149 2017-11-07 Xavier Roirand <roirand@adacore.com>
2150 Pedro Alves <palves@redhat.com>
2152 * gdb.base/ena-dis-br.exp: Add reference to
2153 gdb.cp/ena-dis-br-range.exp.
2154 * gdb.cp/ena-dis-br-range.exp: New file.
2155 * gdb.cp/ena-dis-br-range.cc: New file.
2157 2017-11-06 Pedro Alves <palves@redhat.com>
2159 * gdb.base/attach-non-pgrp-leader.c: New.
2160 * gdb.base/attach-non-pgrp-leader.exp: New.
2162 2017-11-06 Pedro Alves <palves@redhat.com>
2164 * configure.ac: No longer check for termio.h and sgtty.h.
2165 * configure: Regenerate.
2166 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2167 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2168 Remove termio and sgtty code.
2170 2017-11-03 Yao Qi <yao.qi@linaro.org>
2172 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2175 2017-11-03 Yao Qi <yao.qi@linaro.org>
2177 * gdb.python/py-thrhandle.exp: Skip it if python is not
2180 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2182 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2183 as a breakpoint command.
2185 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2188 * gdb.python/py-infthread.exp: Test calling
2189 InferiorThread.inferior () multiple times in a row.
2191 2017-10-27 Keith Seitz <keiths@redhat.com>
2193 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2194 Test "info break" for every inlined function breakpoint.
2196 2017-10-27 Yao Qi <yao.qi@linaro.org>
2198 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2200 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2202 * gdb.cp/classes.exp (test_static_members): Test printing
2204 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2205 (Inner::instance, Outer::instance): New.
2207 2017-10-24 Pedro Alves <palves@redhat.com>
2209 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2210 extra console" test in two stages.
2212 2017-10-24 Pedro Alves <palves@redhat.com>
2214 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2216 2017-10-24 Pedro Alves <palves@redhat.com>
2218 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2221 2017-10-24 Pedro Alves <palves@redhat.com>
2223 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2224 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2226 2017-10-24 Pedro Alves <palves@redhat.com>
2228 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2229 parameter and handle it. Don't output read value in test name.
2231 2017-10-24 Pedro Alves <palves@redhat.com>
2233 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2236 2017-10-24 Pedro Alves <palves@redhat.com>
2238 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2239 include the unstable output directory name in the test's name.
2240 (initial_setup_simple) <'set args'>: Use custom test name.
2242 2017-10-24 Pedro Alves <palves@redhat.com>
2244 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2245 with explicit test name.
2247 2017-10-20 Pedro Alves <palves@redhat.com>
2249 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2250 'wait -i'. Use gdb_assert and remote_close.
2252 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2254 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2255 number from variable rather than hard-coded.
2257 2017-10-19 Pedro Alves <palves@redhat.com>
2259 * gdb.base/long-inferior-output.c: New file.
2260 * gdb.base/long-inferior-output.exp: New file.
2262 2017-11-18 Keith Seitz <keiths@redhat.com>
2264 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2267 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2268 Add additional user-defined conversion operator tests.
2270 2017-10-17 Pedro Alves <palves@redhat.com>
2272 * boards/native-stdio-gdbserver.exp: Load "local-board".
2274 2017-10-17 Pedro Alves <palves@redhat.com>
2276 * gdb.base/quit-live.c: New file.
2277 * gdb.base/quit-live.exp: New file.
2279 2017-10-16 Keith Seitz <keiths@redhat.com>
2281 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2282 (class_with_protected_typedef, class_with_private_typedef)
2283 (struct_with_public_typedef, struct_with_protected_typedef)
2284 (struct_with_private_typedef): New classes/structs.
2285 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2286 typedefs and access specifiers.
2288 2017-10-16 Pedro Alves <palves@redhat.com>
2289 Simon Marchi <simon.marchi@polymtl.ca>
2291 * README (Local vs Remote vs Native): New section.
2292 * boards/local-board.exp: New file, with bits factored out from
2294 * boards/native-extended-gdbserver.exp: ... here. Load
2296 * boards/native-gdbserver.exp: Load "local-board".
2297 (${board}_spawn, ${board}_exec): Delete.
2298 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2300 * boards/stdio-gdbserver-base.exp: ... this new file.
2301 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2302 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2304 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2305 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2306 stdio_gdbserver_command.
2307 (${board}_get_remote_address, ${board}_get_comm_port)
2308 (${board}_download, ${board}_upload): Delete.
2309 (get_target_remote_pipe_cmd): New.
2311 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2313 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2314 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2315 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2316 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2317 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2318 remove with_test_prefix.
2320 2017-10-13 Pedro Alves <palves@redhat.com>
2322 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2323 * gdb.base/annota1.exp: Use it instead of is_remote.
2324 * gdb.base/annota3.exp: Use it instead of is_remote.
2325 * gdb.cp/annota2.exp: Use it instead of is_remote.
2326 * gdb.cp/annota3.exp: Use it instead of is_remote.
2327 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2329 2017-10-13 Pedro Alves <palves@redhat.com>
2331 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2332 (test_num_test_vars, run_and_count_vars, find_env)
2333 (test_set_unset_env, test_inherit_env_var): New procedures.
2334 (top level): Use them.
2336 2017-10-13 Pedro Alves <palves@redhat.com>
2338 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2339 also skip on stub-like targets.
2341 2017-10-13 Pedro Alves <palves@redhat.com>
2344 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2345 (top level): Move some tests to ...
2346 (test_not_found): ... this new procedure.
2347 (top level): Call it.
2349 2017-10-13 Pedro Alves <palves@redhat.com>
2351 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2352 expect different "info terminal" output if testing with a
2355 2017-10-13 Pedro Alves <palves@redhat.com>
2356 Simon Marchi <simon.marchi@polymtl.ca>
2359 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2361 2017-10-13 Pedro Alves <palves@redhat.com>
2363 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2366 2017-10-13 Pedro Alves <palves@redhat.com>
2368 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2371 2017-10-13 Pedro Alves <palves@redhat.com>
2373 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2376 2017-10-13 Pedro Alves <palves@redhat.com>
2378 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2380 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2381 instead of is_remote.
2383 2017-10-13 Pedro Alves <palves@redhat.com>
2385 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2386 (top level): Add comment.
2388 2017-10-13 Pedro Alves <palves@redhat.com>
2390 * gdb.base/remote.exp (top level): Fix comment typo and add
2393 2017-10-13 Pedro Alves <palves@redhat.com>
2394 Simon Marchi <simon.marchi@polymtl.ca>
2396 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2397 calls and add comments. Skip test if use_gdb_stub is set.
2398 (top level): Use "set cwd" command instead of "cd" command.
2400 2017-10-13 Pedro Alves <palves@redhat.com>
2402 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2403 is_remote target check.
2405 2017-10-13 Pedro Alves <palves@redhat.com>
2407 * gdb.base/scope.exp: Use build_executable + clean_restart +
2408 gdb_file_cmd instead of prepare_for_testing and no longer skip
2409 "before run" tests on is_remote target boards. Update comments.
2410 * boards/native-extended-gdbserver.exp
2411 (extended_gdbserver_load_last_file): New, factored out from ...
2412 (gdb_load): ... this. Move further below and add comment.
2413 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2415 2017-10-12 Pedro Alves <palves@redhat.com>
2417 * gdb.base/attach.exp: Remove references to gdb64.
2418 * gdb.base/dbx.exp: Remove references to gdb64.
2420 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2421 Pedro Alves <palves@redhat.com>
2423 * gdb.base/label.exp: Remove is_remote target check.
2425 2017-10-12 Pedro Alves <palves@redhat.com>
2427 * gdb.base/auvx.exp (coredir): Update comment.
2428 (top level) <core_works>: Use "set cwd" command instead of "cd"
2431 2017-10-12 Pedro Alves <palves@redhat.com>
2432 Simon Marchi <simon.marchi@polymtl.ca>
2434 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2437 2017-10-12 Pedro Alves <palves@redhat.com>
2438 Simon Marchi <simon.marchi@polymtl.ca>
2440 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2441 Instead skip if there's any gdb_protocol set.
2443 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2444 Pedro Alves <palves@redhat.com>
2446 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2448 2017-10-12 Pedro Alves <palves@redhat.com>
2449 Simon Marchi <simon.marchi@polymtl.ca>
2451 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2452 instead of on dejagnu remote boards.
2454 2017-10-12 Pedro Alves <palves@redhat.com>
2455 Simon Marchi <simon.marchi@polymtl.ca>
2457 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2458 checks. Use build_executable + clean_restart instead of
2459 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2460 of enabling non-stop after starting gdb.
2462 2017-10-12 Pedro Alves <palves@redhat.com>
2464 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2465 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2466 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2467 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2469 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2471 * gdb.arch/arc-tdesc-cpu.exp: New file.
2472 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2474 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2476 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2478 2017-10-10 Pedro Alves <palves@redhat.com>
2480 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2483 2017-10-10 Pedro Alves <palves@redhat.com>
2485 * lib/selftest-support.exp (selftest_setup): Update for
2486 captured_command_loop's prototype change.
2488 2017-10-09 Pedro Alves <palves@redhat.com>
2490 Test both arch1=>arch2 and arch2=>arch1.
2492 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2493 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2495 (append_arch1_options, append_arch2_options, append_arch_options)
2496 (build_executables): New procedures.
2497 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2499 (top level): Add new 'first_arch' testing axis.
2501 2017-10-09 Pedro Alves <palves@redhat.com>
2503 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2505 (thread_start, all_started): New functions.
2506 (main): Spawn new thread and wait until it is scheduled.
2507 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2509 (do_test): Add 'selected_thread' parameter. Run to all_started
2510 instead of main. Explicitly set the breakpoint at main. Switch
2511 to the SELECTED_THREAD thread.
2512 (top level): Test handling the exec event with either the main
2513 thread or the second thread selected.
2515 2017-10-09 Pedro Alves <palves@redhat.com>
2517 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2518 logic. Move STOP marker after the value checks.
2519 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2522 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2524 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2526 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2528 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2529 integer-to-dfp conversion.
2530 * gdb.base/dfp-test.exp: Likewise.
2532 2017-10-04 Pedro Alves <palves@redhat.com>
2534 * gdb.multi/hangout.c: Include <unistd.h>.
2535 (hangout_loop): New function.
2536 (main): Call alarm. Call hangout_loop in a loop.
2537 * gdb.multi/hello.c: Include <unistd.h>.
2538 (hello_loop): New function.
2539 (main): Call alarm. Call hangout_loop in a loop.
2540 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2541 inferior with the other selected.
2543 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2545 * gdb.mi/list-thread-groups-available.exp: New file.
2546 * gdb.mi/list-thread-groups-available.c: New file.
2548 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2550 * gdb.base/set-cwd.exp: Make it available on
2551 native-extended-gdbserver.
2553 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2555 * gdb.base/set-cwd.c: New file.
2556 * gdb.base/set-cwd.exp: Likewise.
2558 2017-10-02 Tom Tromey <tom@tromey.com>
2561 * gdb.rust/simple.rs (main): New variable "fslice".
2562 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2564 2017-10-02 Tom Tromey <tom@tromey.com>
2566 * gdb.rust/simple.exp: Test ptype of a slice.
2568 2017-10-02 Tom Tromey <tom@tromey.com>
2570 * gdb.rust/simple.exp: Test index of slice.
2572 2017-09-27 Tom Tromey <tom@tromey.com>
2574 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2576 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2577 Pedro Alves <palves@redhat.com>
2579 * gdb.base/compare-sections.exp (get value of read-only section): Read
2581 (corrupt read-only section): Likewise and don't set written if patching
2584 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2586 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2589 2017-09-20 Pedro Alves <palves@redhat.com>
2591 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2592 symbol names in gdb's output.
2593 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2595 2017-09-20 Pedro Alves <palves@redhat.com>
2597 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2599 (test_list_ambiguous_symbol): ... this and add a symbol name
2601 (test_list_ambiguous_function): Reimplement on top of
2602 test_list_ambiguous_symbol and also test listing ambiguous
2604 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2605 (ambiguous_fun): ... this.
2606 (ambiguous_var): New.
2607 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2608 (ambiguous_fun): ... this.
2609 (ambiguous_var): New.
2611 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2613 * gdb.base/starti.c: New file.
2614 * gdb.base/starti.exp: New file.
2615 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2617 2017-09-14 Pedro Alves <palves@redhat.com>
2619 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2620 (top level): Use it instead of runto.
2622 2017-09-11 Tom Tromey <tom@tromey.com>
2624 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2626 2017-09-11 Tom Tromey <tom@tromey.com>
2628 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2629 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2631 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2633 * gdb.fortran/printing-types.exp: New file.
2634 * gdb.fortran/printing-types.exp: New file.
2636 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2638 * gdb.fortran/vla-ptype.exp: Fix typos.
2639 * gdb.fortran/vla-value.exp: Same.
2641 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2643 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2644 * gdb.mi/mi-var-child-f.exp: Likewise.
2645 * gdb.mi/mi-vla-fortran.exp: Likewise.
2647 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2648 Christoph Weinmann <christoph.t.weinmann@intel.com>
2649 Bernhard Heckel <bernhard.heckel@intel.com>
2651 * gdb.fortran/ptr-indentation.f90: New file.
2652 * gdb.fortran/ptr-indentation.exp: New file.
2654 2017-09-05 Tom Tromey <tom@tromey.com>
2657 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2659 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2661 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2663 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2665 * gdb.threads/tls-nodebug-pie.c: New file.
2666 * gdb.threads/tls-nodebug-pie.exp: New file.
2668 2017-09-05 Tom Tromey <tom@tromey.com>
2670 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2673 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2675 * gdb.multi/multi-arch-exec.exp: Test with different
2676 "follow-exec-mode" settings.
2677 (do_test): New procedure.
2679 2017-09-04 Pedro Alves <palves@redhat.com>
2681 * gdb.base/func-static.c (S::method const, S::method volatile)
2682 (S::method volatile const): New methods.
2683 (c_s, v_s, cv_s): New instances.
2684 (main): Call method() on them.
2685 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2686 (cannot_resolve): New procedure.
2687 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2688 print-quote-unquoted columns.
2689 (do_test): Test printing each scope too.
2691 2017-09-04 Pedro Alves <palves@redhat.com>
2693 * gdb.base/local-static.exp: Also test with
2694 class::method::variable wholly quoted.
2695 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2697 2017-09-04 Pedro Alves <palves@redhat.com>
2699 * gdb.base/local-static.c: New.
2700 * gdb.base/local-static.cc: New.
2701 * gdb.base/local-static.exp: New.
2703 2017-09-04 Pedro Alves <palves@redhat.com>
2705 * gdb.asm/asm-source.exp: Add casts to int.
2706 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2707 (dataglobal64_1, dataglobal64_2): New globals.
2708 * gdb.base/nodebug.exp: Test different expressions involving the
2709 new globals, with print, whatis and ptype. Add casts to int.
2710 * gdb.base/solib-display.exp: Add casts to int.
2711 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2712 * gdb.cp/m-static.exp: Add cast to int.
2713 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2714 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2715 tls variable with no debug info without a cast. Test with a cast
2717 * gdb.trace/entry-values.exp: Add casts.
2719 2017-09-04 Pedro Alves <palves@redhat.com>
2721 * gdb.base/nodebug.exp: Test that ptype's error about functions
2722 with unknown return type includes the function name too.
2724 2017-09-04 Pedro Alves <palves@redhat.com>
2726 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2727 return type of munmap in infcall.
2728 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2729 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2730 type of ftell in infcall.
2731 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2732 type of getpid in infcall.
2733 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2735 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2736 Bail on failure to extract the pid.
2737 * gdb.base/nodebug.c: #include <stdint.h>.
2738 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2740 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2741 Change expected output of print/whatis/ptype with functions with
2742 no debug info. Test all supported languages. Call
2743 test_call_promotion.
2744 * gdb.compile/compile.exp: Adjust expected output to expect
2746 * gdb.threads/siginfo-threads.exp: Likewise.
2748 2017-09-04 Pedro Alves <palves@redhat.com>
2750 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2751 "prototypes". Test calling float functions via prototyped and
2752 unprototyped function pointers.
2753 (perform_all_tests): New parameter "prototypes". Pass it down.
2754 (top level): Pass down "prototypes" parameter to
2757 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2759 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2760 Test with nested loops.
2762 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2764 * gdb.base/commands.exp: Call the new procedures.
2765 (loop_break_test, loop_continue_test): New procedures.
2767 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2769 * gdb.base/commands.exp: Call new procedure.
2770 (define_if_without_arg_test): New procedure.
2772 2017-09-04 Pedro Alves <palves@redhat.com>
2774 * gdb.base/list-ambiguous.exp: New file.
2775 * gdb.base/list-ambiguous0.c: New file.
2776 * gdb.base/list-ambiguous1.c: New file.
2777 * gdb.base/list.exp (test_list_range): Adjust expected output.
2779 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2781 * gdb.base/share-env-with-gdbserver.c: New file.
2782 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2784 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2786 * gdb.base/commands.exp (gdbvar_simple_if_test,
2787 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2788 progvar_simple_if_test, progvar_simple_while_test,
2789 progvar_complex_if_while_test, user_defined_command_test,
2790 user_defined_command_args_eval,
2791 user_defined_command_args_stack_test,
2792 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2793 temporary_breakpoint_commands,
2794 gdb_test_no_prompt, redefine_hook_test,
2795 redefine_backtrace_test): Remove "global gdb_prompt".
2797 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2799 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2800 New proc, call it from toplevel.
2802 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2805 * gdb.server/normal.c: New file, copied from gdb.base.
2806 * gdb.server/run-without-local-binary.exp: New file.
2808 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2810 * gdb.arch/sparc64-adi.exp: New file.
2811 * gdb.arch/sparc64-adi.c: New file.
2813 2017-08-22 Pedro Alves <palves@redhat.com>
2815 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2816 (top level): Add "list all overloads" tests.
2818 2017-08-22 Tom Tromey <tom@tromey.com>
2820 * gdb.gdb/xfullpath.exp: Remove.
2822 2017-08-21 Pedro Alves <palves@redhat.com>
2825 * gdb.base/symbol-alias.c: New.
2826 * gdb.base/symbol-alias2.c: New.
2827 * gdb.base/symbol-alias.exp: New.
2829 2017-08-21 Pedro Alves <palves@redhat.com>
2831 * gdb.base/dfp-test.c
2832 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2833 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2834 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2835 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2836 * gdb.base/whatis-ptype-typedefs.c: New.
2837 * gdb.base/whatis-ptype-typedefs.exp: New.
2838 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2839 (an_int, an_int_type, an_int_type2): New globals.
2840 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2841 involving typedefs and cast expressions.
2842 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2843 (lookup_typedefs_function): New.
2844 (typedefs_pretty_printers_dict): New.
2845 (top level): Register lookup_typedefs_function in
2846 gdb.pretty_printers.
2848 2017-08-18 Yao Qi <yao.qi@linaro.org>
2850 * gdb.server/unittest.exp: New.
2852 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2855 * gdb.base/environ.exp: Add test to check if 'unset environment'
2858 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2860 * lib/gdb.exp (universal_compile_options): New caching proc.
2861 (gdb_compile): Suppress GCC's coloring of messages.
2863 2017-08-14 Tom Tromey <tom@tromey.com>
2866 * gdb.base/printcmds.exp (test_radices): New function.
2867 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2868 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2869 * lib/gdb.exp (get_integer_valueof): Use p/d.
2871 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2873 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2876 2017-08-05 Tom Tromey <tom@tromey.com>
2878 * gdb.rust/simple.exp: Allow String to appear in a different
2881 2017-07-26 Yao Qi <yao.qi@linaro.org>
2883 * gdb.gdb/unittest.exp: Invoke command
2884 "maintenance check xml-descriptions".
2886 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2888 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2890 (hex128): Drop erroneous calculation of parameters.
2892 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2894 * gdb.python/py-unwind.exp: Disable stack protection when
2897 2017-07-20 Pedro Alves <palves@redhat.com>
2899 * gdb.base/default.exp (set language): Adjust expected output.
2901 2017-07-20 Pedro Alves <palves@redhat.com>
2903 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2904 (test_minsym): ... this, and make static.
2905 (get_pck__foo__bar__minsym): Rename to ...
2906 (get_test_minsym): ... this.
2907 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2908 symbol names and comments.
2909 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2910 (get_test_minsym): ... this.
2911 (pck__foo__bar__minsym__2): Rename to ...
2912 (test_minsym): ... this.
2915 2017-07-17 Pedro Alves <palves@redhat.com>
2917 * gdb.base/completion.exp: Adjust expected output.
2918 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2919 the completer works.
2921 2017-07-17 Pedro Alves <palves@redhat.com>
2923 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2925 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2927 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2929 2017-07-14 Tom Tromey <tom@tromey.com>
2932 * gdb.rust/simple.exp: Add tests.
2934 2017-07-14 Tom Tromey <tom@tromey.com>
2936 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2938 2017-07-14 Pedro Alves <palves@redhat.com>
2940 * gdb.linespec/base/one/thefile.cc (z1): New function.
2941 * gdb.linespec/base/two/thefile.cc (z2): New function.
2942 * gdb.linespec/linespec.exp: Add tests.
2944 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2946 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2947 to mi_create_breakpoint.
2949 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2951 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2952 mi_create_breakpoint.
2954 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2956 * gdb.dlang/demangle.exp: Update for demangling changes.
2958 2017-07-09 Tom Tromey <tom@tromey.com>
2960 * gdb.dwarf2/shortpiece.exp: New file.
2962 2017-07-06 David Blaikie <dblaikie@gmail.com>
2964 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2965 built from fissiont-multi-cu{1,2}.c.
2966 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2967 except putting 'main' and 'func' in separate CUs in the same DWO file.
2968 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2970 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2973 2017-07-06 Pedro Alves <palves@redhat.com>
2975 * gdb.python/py-unwind.exp: Test flushregs.
2977 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2980 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2981 tests for alias commands and trailing whitespace.
2983 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2986 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2989 2017-06-29 Pedro Alves <palves@redhat.com>
2991 * gdb.base/printcmds.exp: Add tests.
2993 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2996 * gdb.base/reread-readsym.exp: New file.
2997 * gdb.base/reread-readsym.c: New file.
2999 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3001 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3004 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3006 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3008 * gdb.arch/powerpc-power9.s: Likewise.
3010 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3012 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3013 on 32-bit x86 targets. Exploit is_*_target macros where
3016 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3018 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3021 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3023 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3024 located in one or more DWARF pieces.
3026 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3028 * lib/gdb.exp (get_endianness): New proc.
3029 * gdb.arch/aarch64-fp.exp: Use it.
3030 * gdb.arch/altivec-regs.exp: Likewise.
3031 * gdb.arch/e500-regs.exp: Likewise.
3032 * gdb.arch/vsx-regs.exp: Likewise.
3033 * gdb.base/dump.exp: Likewise.
3034 * gdb.base/funcargs.exp: Likewise.
3035 * gdb.base/gnu_vector.exp: Likewise.
3036 * gdb.dwarf2/formdata16.exp: Likewise.
3037 * gdb.dwarf2/implptrpiece.exp: Likewise.
3038 * gdb.dwarf2/nonvar-access.exp: Likewise.
3039 * gdb.python/py-inferior.exp: Likewise.
3040 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3042 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3045 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3046 stack value pieces are taken from the LSB end.
3048 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3050 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3051 variable at nonzero offset.
3053 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3055 * gdb.dwarf2/var-access.c: New file.
3056 * gdb.dwarf2/var-access.exp: New test.
3057 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3059 2017-06-12 Tom Tromey <tom@tromey.com>
3061 * gdb.dwarf2/formdata16.exp: Add tests.
3063 2017-06-12 Tom Tromey <tom@tromey.com>
3065 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3067 2017-06-12 Tom Tromey <tom@tromey.com>
3070 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3071 * gdb.arch/vsx-regs.exp: Update tests.
3072 * gdb.arch/s390-vregs.exp (hex128): New proc.
3074 * gdb.arch/altivec-regs.exp: Update tests.
3076 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3078 * gdb.base/startup-with-shell.c: New file.
3079 * gdb.base/startup-with-shell.exp: Likewise.
3081 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3083 * gdb.server/non-existing-program.exp: Update regex in order to
3084 reflect the fact that gdbserver is now using fork_inferior (with a
3085 shell) to startup the inferior.
3087 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3089 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3090 support function calls from GDB.
3092 2017-05-21 Tom Tromey <tom@tromey.com>
3095 * gdb.rust/unsized.exp: New file.
3096 * gdb.rust/unsized.rs: New file.
3098 2017-05-19 Tom Tromey <tom@tromey.com>
3101 * gdb.rust/watch.exp: New file.
3102 * gdb.rust/watch.rs: New file.
3104 2017-05-18 Tom Tromey <tom@tromey.com>
3106 * gdb.rust/simple.exp: Allow Box to be qualified.
3108 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3110 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3112 2017-05-18 Pedro Alves <palves@redhat.com>
3114 * gdb.base/fileio.c (test_write, test_read, test_close)
3115 (test_fstat): Don't print 'ret' in the fail path.
3117 2017-05-18 Pedro Alves <palves@redhat.com>
3119 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3120 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3121 (test_system, test_rename, test_unlink, test_time): Change
3123 * gdb.base/fileio.exp (stop_msg): Adjust.
3125 2017-05-18 Pedro Alves <palves@redhat.com>
3127 * gdb.base/fileio.c (null_str): New global.
3128 (test_stat): Use it.
3129 * gdb.base/fileio.exp: Remove nowarnings.
3131 2017-05-17 Yao Qi <yao.qi@linaro.org>
3133 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3135 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3137 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3139 (top-level): Invoke test_set_inferior_tty.
3141 2017-05-04 Pedro Alves <palves@redhat.com>
3143 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3144 Add parens to print call for Python 3.
3146 2017-05-03 Keith Seitz <keiths@redhat.com>
3148 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3151 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3153 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3156 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3158 * gdb.python/py-record-btrace.exp: Remove test for
3159 gdb.BtraceInstruction.error.
3161 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3163 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3165 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3167 * gdb.python/py-record-btrace-threads.c: New file.
3168 * gdb.python/py-record-btrace-threads.exp: New file.
3170 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3173 * gdb.base/environ.exp: Make test available in all architectures.
3174 Move bits related to "info program" testing to
3175 gdb.base/info-program.exp. Rewrite tests to use the two new
3176 procedures mentione below.
3177 (test_set_show_env_var) New procedure.
3178 (test_set_show_env_var_equal): Likewise.
3179 * gdb.base/info-program.exp: New file.
3181 2017-04-27 Keith Seitz <keiths@redhat.com>
3183 * gdb.cp/oranking.cc (test15): New function.
3184 (main): Call test15 and declare additional variables for testing.
3185 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3186 "p foo101('abc')" tests.
3187 Add tests for cv qualifier overloads.
3188 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3189 "lvalue reference overload" test.
3190 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3191 "print value of f1 on Child&& in f2" test.
3193 2017-04-19 Pedro Alves <palves@redhat.com>
3195 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3197 (top level): Call it.
3198 * lib/gdb.exp (gdb_define_cmd): New procedure.
3200 2017-04-12 Pedro Alves <palves@redhat.com>
3203 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3204 (wchar): New global.
3205 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3206 (do_test_wide_char, wide_char_types_no_program, top level): Add
3209 2017-04-12 Pedro Alves <palves@redhat.com>
3212 * gdb.cp/wide_char_types.c: New file.
3213 * gdb.cp/wide_char_types.exp: New file.
3215 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3218 * gdb.trace/tsv.exp: Add test for "tsave -r".
3220 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3222 * gdb.dlang/watch-loc.c: New file.
3223 * gdb.dlang/watch-loc.exp: New file.
3225 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3227 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3229 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3231 * gdb.arch/arc-analyze-prologue.S: New file.
3232 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3234 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3236 * gdb.arch/arc-decode-insn.S: New file.
3237 * gdb.arch/arc-decode-insn.exp: Likewise.
3239 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3242 * gdb.arch/sparc64-regs.exp: New file.
3243 * gdb.arch/sparc64-regs.S: Likewise.
3245 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3247 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3248 and memory view on Python 3.
3250 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3251 Keith Seitz <keiths@redhat.com>
3254 * gdb.cp/demangle.exp: Add rvalue reference tests.
3255 * gdb.cp/rvalue-ref-casts.cc: New file.
3256 * gdb.cp/rvalue-ref-casts.exp: New file.
3257 * gdb.cp/rvalue-ref-overload.cc: New file.
3258 * gdb.cp/rvalue-ref-overload.exp: New file.
3259 * gdb.cp/rvalue-ref-params.cc: New file.
3260 * gdb.cp/rvalue-ref-params.exp: New file.
3261 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3262 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3263 * gdb.cp/rvalue-ref-types.cc: New file.
3264 * gdb.cp/rvalue-ref-types.exp: New file.
3265 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3266 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3268 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3270 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3273 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3275 * lib/mi-support.exp (mi_gdb_test): Add additional message
3276 for unexpected output.
3278 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3280 * gdb.base/examine-backward.c (Barrier): New character array
3281 constant, to ensure that TestStrings is preceded by a string
3284 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3286 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3287 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3288 and implicit pointer into such a location.
3290 2017-03-16 Doug Evans <dje@google.com>
3292 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3294 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3296 * gdb.cp/m-static.exp: Fix expectation for prototype of
3297 test5.single_constructor and single_constructor::single_constructor.
3299 2017-03-16 Doug Evans <dje@google.com>
3301 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3302 * gdb.guile/scm-lazy-string.c: New file.
3303 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3304 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3305 for pointer, array, typedef lazy strings.
3307 2017-03-16 Doug Evans <dje@google.com>
3309 PR python/17728, python/18439, python/18779
3310 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3311 * gdb.python/py-lazy-string.c (pointer): New typedef.
3312 (main): New locals ptr, array, typedef_ptr.
3313 * gdb.python/py-value.exp: Move lazy string tests to ...
3314 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3315 array, typedef lazy strings.
3317 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3319 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3320 Add optional 'test' parameter.
3322 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3324 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3325 Skip for versions of DejaGnu < 1.5.
3327 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3329 * lib/gdb.exp (dejagnu_version): New proc.
3330 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3331 Use dejagnu_version.
3333 2017-03-10 Keith Seitz <keiths@redhat.com>
3336 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3337 type from destructor regexps.
3338 Add a branch which actually passes the test.
3339 Adjust "ptype t5i" test names.
3341 2017-03-08 Pedro Alves <palves@redhat.com>
3343 * gdb.base/step-over-exit.exp: Add explicit test message.
3345 2017-03-08 Pedro Alves <palves@redhat.com>
3348 * gdb.threads/interrupt-while-step-over.c: New file.
3349 * gdb.threads/interrupt-while-step-over.exp: New file.
3351 2017-03-08 Pedro Alves <palves@redhat.com>
3353 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3354 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3356 2017-03-08 Pedro Alves <palves@redhat.com>
3358 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3359 PKRU as not supported as a PASS.
3361 2017-03-08 Pedro Alves <palves@redhat.com>
3363 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3364 prefix instead of $binfile1/$binfile2.
3365 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3367 * gdb.python/py-completion.exp: Use "load python file" as test
3368 messages instead of unstable path names.
3370 2017-03-08 Pedro Alves <palves@redhat.com>
3371 Jan Kratochvil <jan.kratochvil@redhat.com>
3374 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3376 (top level): Call it.
3378 2017-03-08 Pedro Alves <palves@redhat.com>
3381 * gdb.tui/tui-nl-filtered-output.exp: New file.
3383 2017-03-08 Pedro Alves <palves@redhat.com>
3385 * gdb.base/completion.exp: Move TUI completion tests to ...
3386 * gdb.tui/completion.exp: ... this new file.
3388 2017-03-08 Pedro Alves <palves@redhat.com>
3390 * gdb.base/tui-disasm-long-lines.c,
3391 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3392 gdb.base/tui-layout.exp: Move to ...
3393 * gdb.tui/: ... this new directory.
3395 2017-03-07 Pedro Alves <palves@redhat.com>
3397 * gdb.base/tui-layout.c: New file.
3398 * gdb.base/tui-layout.exp: New file.
3400 2017-03-07 Pedro Alves <palves@redhat.com>
3402 * gdb.base/tui-layout.c: Rename to ...
3403 * gdb.base/tui-disasm-long-lines.c: ... this.
3404 * gdb.base/tui-layout.exp: Rename to ...
3405 * gdb.base/tui-disasm-long-lines.exp: ... this.
3407 2017-03-07 Pedro Alves <palves@redhat.com>
3409 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3411 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3413 * i386-mpx-call.c: New file.
3414 * i386-mpx-call.exp: New file.
3416 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3418 * gdb.arch/powerpc-power.exp: Delete test.
3419 * gdb.arch/powerpc-power.s: Likewise.
3420 * gdb.disasm/disassembler-options.exp: New test.
3421 * gdb.arch/powerpc-altivec.exp: Likewise.
3422 * gdb.arch/powerpc-altivec.s: Likewise.
3423 * gdb.arch/powerpc-altivec2.exp: Likewise.
3424 * gdb.arch/powerpc-altivec2.s: Likewise.
3425 * gdb.arch/powerpc-altivec3.exp: Likewise.
3426 * gdb.arch/powerpc-altivec3.s: Likewise.
3427 * gdb.arch/powerpc-power7.exp: Likewise.
3428 * gdb.arch/powerpc-power7.s: Likewise.
3429 * gdb.arch/powerpc-power8.exp: Likewise.
3430 * gdb.arch/powerpc-power8.s: Likewise.
3431 * gdb.arch/powerpc-power9.exp: Likewise.
3432 * gdb.arch/powerpc-power9.s: Likewise.
3433 * gdb.arch/powerpc-vsx.exp: Likewise.
3434 * gdb.arch/powerpc-vsx.s: Likewise.
3435 * gdb.arch/powerpc-vsx2.exp: Likewise.
3436 * gdb.arch/powerpc-vsx2.s: Likewise.
3437 * gdb.arch/powerpc-vsx3.exp: Likewise.
3438 * gdb.arch/powerpc-vsx3.s: Likewise.
3439 * gdb.arch/arm-disassembler-options.exp: Likewise.
3440 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3441 * gdb.arch/s390-disassembler-options.exp: Likewise.
3443 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3445 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3446 (check_supported_features): ... this. Changed return type to void.
3447 (supports_rdseed): New static global.
3448 (rdseed): Check supports_rdseed.
3449 (initialize): Call check_supported_features.
3451 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3453 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3454 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3456 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3457 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3459 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3461 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3464 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3466 * gdb.dwarf2/formdata16.c: New file.
3467 * gdb.dwarf2/formdata16.exp: New file.
3468 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3470 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3472 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3473 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3474 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3475 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3478 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3480 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3482 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3485 * gdb.base/maint.exp: Add testcases for when the commands do
3488 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3490 * gdb.cp/chained-calls.exp: Use p instead of P.
3492 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3494 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3495 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3497 2017-02-14 Tom Tromey <tom@tromey.com>
3500 * gdb.python/py-events.exp: Add before_prompt event tests.
3502 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3504 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3506 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3508 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3509 (main): Call my_unique_function_name.
3510 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3511 completion of patterns with a single match.
3512 Add missing -re switches to gdb_test_multiple calls.
3514 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3516 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3517 return if core file is not recognized.
3519 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3521 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3524 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3526 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3529 2017-02-10 Tom Tromey <tom@tromey.com>
3531 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3533 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3536 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3538 2017-02-08 Jerome Guitton <guitton@adacore.com>
3540 * gdb.base/define.exp: Add test for command abbreviations
3543 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3545 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3546 * gdb.reverse/insn-reverse-x86.c: New file.
3548 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3551 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3553 2017-02-03 Tom Tromey <tom@tromey.com>
3556 * gdb.rust/simple.exp: Add new tests.
3558 2017-02-02 Pedro Alves <palves@redhat.com>
3560 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3563 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3565 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3566 taking a 2-byte value out of a 4-byte DWARF implicit value on
3568 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3569 logic. Add test cases for DW_OP_implicit.
3571 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3573 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3575 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3577 * gdb.btrace/enable.exp: Call gdb_exit before
3578 skip_gdbserver_tests.
3580 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3582 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3585 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3587 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3588 the test is skipped.
3589 * gdb.btrace/data.exp: Likewise.
3590 * gdb.btrace/delta.exp: Likewise.
3591 * gdb.btrace/dlopen.exp: Likewise.
3592 * gdb.btrace/enable-running.exp: Likewise.
3593 * gdb.btrace/enable.exp: Likewise.
3594 * gdb.btrace/exception.exp: Likewise.
3595 * gdb.btrace/function_call_history.exp: Likewise.
3596 * gdb.btrace/gcore.exp: Likewise.
3597 * gdb.btrace/instruction_history.exp: Likewise.
3598 * gdb.btrace/multi-thread-step.exp: Likewise.
3599 * gdb.btrace/nohist.exp: Likewise.
3600 * gdb.btrace/non-stop.exp: Likewise.
3601 * gdb.btrace/reconnect.exp: Likewise.
3602 * gdb.btrace/record_goto-step.exp: Likewise.
3603 * gdb.btrace/record_goto.exp: Likewise.
3604 * gdb.btrace/rn-dl-bind.exp: Likewise.
3605 * gdb.btrace/segv.exp: Likewise.
3606 * gdb.btrace/step.exp: Likewise.
3607 * gdb.btrace/stepi.exp: Likewise.
3608 * gdb.btrace/tailcall-only.exp: Likewise.
3609 * gdb.btrace/tailcall.exp: Likewise.
3610 * gdb.btrace/tsx.exp: Likewise.
3611 * gdb.btrace/unknown_functions.exp: Likewise.
3612 * gdb.btrace/vdso.exp: Likewise.
3614 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3616 * gdb.btrace/enable-running.c: New.
3617 * gdb.btrace/enable-running.exp: New.
3619 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3621 * gdb.arch/amd64-gs_base.c: New file.
3622 * gdb.arch/amd64-gs_base.exp: New file.
3624 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3626 * lib/memory.exp: Remove spurious empty newlines.
3628 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3630 * gdb.python/py-bad-printers.exp: Load python file using "source".
3631 * gdb.python/py-events.exp: Likewise.
3632 * gdb.python/py-evsignal.exp: Likewise.
3633 * gdb.python/py-evthreads.exp: Likewise.
3634 * gdb.python/py-frame-args.exp: Likewise.
3635 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3636 * gdb.python/py-framefilter-mi.exp: Likewise.
3637 * gdb.python/py-framefilter.exp: Likewise.
3638 * gdb.python/py-mi.exp: Likewise.
3639 * gdb.python/py-pp-maint.exp: Likewise.
3640 * gdb.python/py-pp-registration.exp: Likewise.
3641 * gdb.python/py-prettyprint.exp: Likewise.
3642 (run_lang_tests): Likewise.
3643 * gdb.python/py-typeprint.exp: Likewise.
3645 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3647 * lib/memory.exp: New file.
3648 * lib/gdb.exp: Load memory.exp.
3649 * gdb.base/memattr.exp (delete_memory): Move proc to
3650 lib/memory.exp and rename to delete_memory_regions.
3651 Replace delete_memory with delete_memory_regions.
3652 Cleanup memory regions before tests.
3653 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3656 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3658 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3660 (initialize): New function conditionally defined.
3661 (testcases): Move within conditional block.
3662 (main): Call initialize.
3663 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3664 of gdb.reverse/insn-reverse.c.
3665 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3666 gdb.reverse/insn-reverse.c.
3668 2017-01-26 Yao Qi <yao.qi@linaro.org>
3670 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3671 disassemble on address 0.
3673 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3674 Yao Qi <yao.qi@linaro.org>
3676 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3677 * gdb.dwarf2/implptr-64bit.S: Remove.
3678 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3679 variables in caller's context. Add DW_OP_implicit_value.
3681 2017-01-25 Yao Qi <yao.qi@linaro.org>
3683 * lib/dwarf.exp (Dwarf::_location): Handle
3684 DW_OP_GNU_implicit_pointer with proper size.
3686 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3688 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3689 and add untested calls.
3691 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3693 * gdb.python/python.exp: Check line number against what GDB thinks
3694 the line number is for func1.
3696 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3698 * gdb.dlang/debug-expr.exp: New file.
3700 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3702 Fix test names for the following files:
3704 * gdb.ada/exec_changed.exp
3705 * gdb.ada/info_types.exp
3706 * gdb.arch/aarch64-atomic-inst.exp
3707 * gdb.arch/aarch64-fp.exp
3708 * gdb.arch/altivec-abi.exp
3709 * gdb.arch/altivec-regs.exp
3710 * gdb.arch/amd64-byte.exp
3711 * gdb.arch/amd64-disp-step.exp
3712 * gdb.arch/amd64-dword.exp
3713 * gdb.arch/amd64-entry-value-inline.exp
3714 * gdb.arch/amd64-entry-value-param.exp
3715 * gdb.arch/amd64-entry-value-paramref.exp
3716 * gdb.arch/amd64-entry-value.exp
3717 * gdb.arch/amd64-i386-address.exp
3718 * gdb.arch/amd64-invalid-stack-middle.exp
3719 * gdb.arch/amd64-invalid-stack-top.exp
3720 * gdb.arch/amd64-optimout-repeat.exp
3721 * gdb.arch/amd64-prologue-skip.exp
3722 * gdb.arch/amd64-prologue-xmm.exp
3723 * gdb.arch/amd64-stap-special-operands.exp
3724 * gdb.arch/amd64-stap-wrong-subexp.exp
3725 * gdb.arch/amd64-tailcall-cxx.exp
3726 * gdb.arch/amd64-tailcall-noret.exp
3727 * gdb.arch/amd64-tailcall-ret.exp
3728 * gdb.arch/amd64-tailcall-self.exp
3729 * gdb.arch/amd64-word.exp
3730 * gdb.arch/arm-bl-branch-dest.exp
3731 * gdb.arch/arm-disp-step.exp
3732 * gdb.arch/arm-neon.exp
3733 * gdb.arch/arm-single-step-kernel-helper.exp
3734 * gdb.arch/avr-flash-qualifier.exp
3735 * gdb.arch/disp-step-insn-reloc.exp
3736 * gdb.arch/e500-abi.exp
3737 * gdb.arch/e500-regs.exp
3738 * gdb.arch/ftrace-insn-reloc.exp
3739 * gdb.arch/i386-avx512.exp
3740 * gdb.arch/i386-bp_permanent.exp
3741 * gdb.arch/i386-byte.exp
3742 * gdb.arch/i386-cfi-notcurrent.exp
3743 * gdb.arch/i386-disp-step.exp
3744 * gdb.arch/i386-dr3-watch.exp
3745 * gdb.arch/i386-float.exp
3746 * gdb.arch/i386-gnu-cfi.exp
3747 * gdb.arch/i386-mpx-map.exp
3748 * gdb.arch/i386-mpx-sigsegv.exp
3749 * gdb.arch/i386-mpx-simple_segv.exp
3750 * gdb.arch/i386-mpx.exp
3751 * gdb.arch/i386-permbkpt.exp
3752 * gdb.arch/i386-prologue.exp
3753 * gdb.arch/i386-signal.exp
3754 * gdb.arch/i386-size-overlap.exp
3755 * gdb.arch/i386-unwind.exp
3756 * gdb.arch/i386-word.exp
3757 * gdb.arch/mips-fcr.exp
3758 * gdb.arch/powerpc-d128-regs.exp
3759 * gdb.arch/powerpc-stackless.exp
3760 * gdb.arch/ppc64-atomic-inst.exp
3761 * gdb.arch/s390-stackless.exp
3762 * gdb.arch/s390-tdbregs.exp
3763 * gdb.arch/s390-vregs.exp
3764 * gdb.arch/sparc-sysstep.exp
3765 * gdb.arch/thumb-bx-pc.exp
3766 * gdb.arch/thumb-singlestep.exp
3767 * gdb.arch/thumb2-it.exp
3768 * gdb.arch/vsx-regs.exp
3769 * gdb.asm/asm-source.exp
3770 * gdb.base/a2-run.exp
3771 * gdb.base/advance.exp
3772 * gdb.base/all-bin.exp
3775 * gdb.base/arithmet.exp
3776 * gdb.base/async-shell.exp
3777 * gdb.base/async.exp
3778 * gdb.base/attach-pie-noexec.exp
3779 * gdb.base/attach-twice.exp
3780 * gdb.base/auto-load.exp
3782 * gdb.base/bitfields.exp
3783 * gdb.base/break-always.exp
3784 * gdb.base/break-caller-line.exp
3785 * gdb.base/break-entry.exp
3786 * gdb.base/break-inline.exp
3787 * gdb.base/break-on-linker-gcd-function.exp
3788 * gdb.base/break-probes.exp
3789 * gdb.base/break.exp
3790 * gdb.base/breakpoint-shadow.exp
3791 * gdb.base/call-ar-st.exp
3792 * gdb.base/call-sc.exp
3793 * gdb.base/call-signal-resume.exp
3794 * gdb.base/call-strs.exp
3795 * gdb.base/callfuncs.exp
3796 * gdb.base/catch-fork-static.exp
3797 * gdb.base/catch-gdb-caused-signals.exp
3798 * gdb.base/catch-load.exp
3799 * gdb.base/catch-signal-fork.exp
3800 * gdb.base/catch-signal.exp
3801 * gdb.base/catch-syscall.exp
3802 * gdb.base/charset.exp
3803 * gdb.base/checkpoint.exp
3804 * gdb.base/chng-syms.exp
3805 * gdb.base/code-expr.exp
3806 * gdb.base/code_elim.exp
3807 * gdb.base/commands.exp
3808 * gdb.base/completion.exp
3809 * gdb.base/complex.exp
3810 * gdb.base/cond-expr.exp
3811 * gdb.base/condbreak.exp
3812 * gdb.base/consecutive.exp
3813 * gdb.base/continue-all-already-running.exp
3814 * gdb.base/coredump-filter.exp
3815 * gdb.base/corefile.exp
3817 * gdb.base/debug-expr.exp
3818 * gdb.base/define.exp
3820 * gdb.base/disabled-location.exp
3821 * gdb.base/disasm-end-cu.exp
3822 * gdb.base/disasm-optim.exp
3823 * gdb.base/display.exp
3824 * gdb.base/duplicate-bp.exp
3825 * gdb.base/ena-dis-br.exp
3826 * gdb.base/ending-run.exp
3827 * gdb.base/enumval.exp
3828 * gdb.base/environ.exp
3829 * gdb.base/eu-strip-infcall.exp
3830 * gdb.base/eval-avoid-side-effects.exp
3831 * gdb.base/eval-skip.exp
3832 * gdb.base/exitsignal.exp
3833 * gdb.base/expand-psymtabs.exp
3834 * gdb.base/filesym.exp
3835 * gdb.base/find-unmapped.exp
3836 * gdb.base/finish.exp
3837 * gdb.base/float.exp
3838 * gdb.base/foll-exec-mode.exp
3839 * gdb.base/foll-exec.exp
3840 * gdb.base/foll-fork.exp
3841 * gdb.base/fortran-sym-case.exp
3842 * gdb.base/freebpcmd.exp
3843 * gdb.base/func-ptr.exp
3844 * gdb.base/func-ptrs.exp
3845 * gdb.base/funcargs.exp
3846 * gdb.base/gcore-buffer-overflow.exp
3847 * gdb.base/gcore-relro-pie.exp
3848 * gdb.base/gcore-relro.exp
3849 * gdb.base/gcore.exp
3850 * gdb.base/gdb1090.exp
3851 * gdb.base/gdb11530.exp
3852 * gdb.base/gdb11531.exp
3853 * gdb.base/gdb1821.exp
3854 * gdb.base/gdbindex-stabs.exp
3855 * gdb.base/gdbvars.exp
3856 * gdb.base/hbreak.exp
3857 * gdb.base/hbreak2.exp
3858 * gdb.base/included.exp
3859 * gdb.base/infcall-input.exp
3860 * gdb.base/inferior-died.exp
3861 * gdb.base/infnan.exp
3862 * gdb.base/info-macros.exp
3863 * gdb.base/info-os.exp
3864 * gdb.base/info-proc.exp
3865 * gdb.base/info-shared.exp
3866 * gdb.base/info-target.exp
3867 * gdb.base/infoline.exp
3868 * gdb.base/interp.exp
3869 * gdb.base/interrupt.exp
3870 * gdb.base/jit-reader.exp
3871 * gdb.base/jit-simple.exp
3872 * gdb.base/kill-after-signal.exp
3873 * gdb.base/kill-detach-inferiors-cmd.exp
3874 * gdb.base/label.exp
3875 * gdb.base/langs.exp
3876 * gdb.base/ldbl_e308.exp
3877 * gdb.base/line-symtabs.exp
3878 * gdb.base/linespecs.exp
3880 * gdb.base/long_long.exp
3881 * gdb.base/longest-types.exp
3882 * gdb.base/maint.exp
3883 * gdb.base/max-value-size.exp
3884 * gdb.base/memattr.exp
3885 * gdb.base/mips_pro.exp
3886 * gdb.base/morestack.exp
3887 * gdb.base/moribund-step.exp
3888 * gdb.base/multi-forks.exp
3889 * gdb.base/nested-addr.exp
3890 * gdb.base/nextoverexit.exp
3891 * gdb.base/noreturn-finish.exp
3892 * gdb.base/noreturn-return.exp
3893 * gdb.base/nostdlib.exp
3894 * gdb.base/offsets.exp
3895 * gdb.base/opaque.exp
3896 * gdb.base/pc-fp.exp
3897 * gdb.base/permissions.exp
3898 * gdb.base/print-symbol-loading.exp
3899 * gdb.base/prologue-include.exp
3900 * gdb.base/psymtab.exp
3901 * gdb.base/ptype.exp
3902 * gdb.base/random-signal.exp
3903 * gdb.base/randomize.exp
3904 * gdb.base/range-stepping.exp
3905 * gdb.base/readline-ask.exp
3906 * gdb.base/recpar.exp
3907 * gdb.base/recurse.exp
3908 * gdb.base/relational.exp
3909 * gdb.base/restore.exp
3910 * gdb.base/return-nodebug.exp
3911 * gdb.base/return.exp
3912 * gdb.base/run-after-attach.exp
3913 * gdb.base/save-bp.exp
3914 * gdb.base/scope.exp
3915 * gdb.base/sect-cmd.exp
3916 * gdb.base/set-lang-auto.exp
3917 * gdb.base/set-noassign.exp
3918 * gdb.base/setvar.exp
3919 * gdb.base/sigall.exp
3920 * gdb.base/sigbpt.exp
3921 * gdb.base/siginfo-addr.exp
3922 * gdb.base/siginfo-infcall.exp
3923 * gdb.base/siginfo-obj.exp
3924 * gdb.base/siginfo.exp
3925 * gdb.base/signals-state-child.exp
3926 * gdb.base/signest.exp
3927 * gdb.base/sigstep.exp
3928 * gdb.base/sizeof.exp
3930 * gdb.base/solib-corrupted.exp
3931 * gdb.base/solib-nodir.exp
3932 * gdb.base/solib-search.exp
3933 * gdb.base/stack-checking.exp
3934 * gdb.base/stale-infcall.exp
3935 * gdb.base/stap-probe.exp
3936 * gdb.base/start.exp
3937 * gdb.base/step-break.exp
3938 * gdb.base/step-bt.exp
3939 * gdb.base/step-line.exp
3940 * gdb.base/step-over-exit.exp
3941 * gdb.base/step-over-syscall.exp
3942 * gdb.base/step-resume-infcall.exp
3943 * gdb.base/step-test.exp
3944 * gdb.base/store.exp
3945 * gdb.base/structs3.exp
3946 * gdb.base/sym-file.exp
3947 * gdb.base/symbol-without-target_section.exp
3949 * gdb.base/testenv.exp
3950 * gdb.base/ui-redirect.exp
3951 * gdb.base/until.exp
3952 * gdb.base/unwindonsignal.exp
3953 * gdb.base/value-double-free.exp
3954 * gdb.base/vla-datatypes.exp
3955 * gdb.base/vla-ptr.exp
3956 * gdb.base/vla-sideeffect.exp
3957 * gdb.base/volatile.exp
3958 * gdb.base/watch-cond-infcall.exp
3959 * gdb.base/watch-cond.exp
3960 * gdb.base/watch-non-mem.exp
3961 * gdb.base/watch-read.exp
3962 * gdb.base/watch-vfork.exp
3963 * gdb.base/watchpoint-cond-gone.exp
3964 * gdb.base/watchpoint-delete.exp
3965 * gdb.base/watchpoint-hw-hit-once.exp
3966 * gdb.base/watchpoint-hw.exp
3967 * gdb.base/watchpoint-stops-at-right-insn.exp
3968 * gdb.base/watchpoints.exp
3969 * gdb.base/wchar.exp
3970 * gdb.base/whatis-exp.exp
3971 * gdb.btrace/buffer-size.exp
3972 * gdb.btrace/data.exp
3973 * gdb.btrace/delta.exp
3974 * gdb.btrace/dlopen.exp
3975 * gdb.btrace/enable.exp
3976 * gdb.btrace/exception.exp
3977 * gdb.btrace/function_call_history.exp
3978 * gdb.btrace/gcore.exp
3979 * gdb.btrace/instruction_history.exp
3980 * gdb.btrace/nohist.exp
3981 * gdb.btrace/reconnect.exp
3982 * gdb.btrace/record_goto-step.exp
3983 * gdb.btrace/record_goto.exp
3984 * gdb.btrace/rn-dl-bind.exp
3985 * gdb.btrace/segv.exp
3986 * gdb.btrace/step.exp
3987 * gdb.btrace/stepi.exp
3988 * gdb.btrace/tailcall-only.exp
3989 * gdb.btrace/tailcall.exp
3990 * gdb.btrace/tsx.exp
3991 * gdb.btrace/unknown_functions.exp
3992 * gdb.btrace/vdso.exp
3993 * gdb.compile/compile-ifunc.exp
3994 * gdb.compile/compile-ops.exp
3995 * gdb.compile/compile-print.exp
3996 * gdb.compile/compile-setjmp.exp
3997 * gdb.cp/abstract-origin.exp
3998 * gdb.cp/ambiguous.exp
3999 * gdb.cp/annota2.exp
4000 * gdb.cp/annota3.exp
4001 * gdb.cp/anon-ns.exp
4002 * gdb.cp/anon-struct.exp
4003 * gdb.cp/anon-union.exp
4004 * gdb.cp/arg-reference.exp
4005 * gdb.cp/baseenum.exp
4007 * gdb.cp/breakpoint.exp
4008 * gdb.cp/bs15503.exp
4011 * gdb.cp/chained-calls.exp
4013 * gdb.cp/classes.exp
4014 * gdb.cp/cmpd-minsyms.exp
4015 * gdb.cp/converts.exp
4016 * gdb.cp/cp-relocate.exp
4017 * gdb.cp/cpcompletion.exp
4018 * gdb.cp/cpexprs.exp
4019 * gdb.cp/cplabel.exp
4020 * gdb.cp/cplusfuncs.exp
4021 * gdb.cp/cpsizeof.exp
4023 * gdb.cp/derivation.exp
4024 * gdb.cp/destrprint.exp
4025 * gdb.cp/dispcxx.exp
4026 * gdb.cp/enum-class.exp
4027 * gdb.cp/exception.exp
4028 * gdb.cp/exceptprint.exp
4029 * gdb.cp/expand-psymtabs-cxx.exp
4030 * gdb.cp/expand-sals.exp
4031 * gdb.cp/extern-c.exp
4032 * gdb.cp/filename.exp
4033 * gdb.cp/formatted-ref.exp
4034 * gdb.cp/fpointer.exp
4035 * gdb.cp/gdb1355.exp
4036 * gdb.cp/gdb2495.exp
4038 * gdb.cp/impl-this.exp
4039 * gdb.cp/infcall-dlopen.exp
4040 * gdb.cp/inherit.exp
4041 * gdb.cp/iostream.exp
4045 * gdb.cp/m-static.exp
4046 * gdb.cp/mb-ctor.exp
4047 * gdb.cp/mb-inline.exp
4048 * gdb.cp/mb-templates.exp
4049 * gdb.cp/member-name.exp
4050 * gdb.cp/member-ptr.exp
4051 * gdb.cp/meth-typedefs.exp
4053 * gdb.cp/method2.exp
4054 * gdb.cp/minsym-fallback.exp
4056 * gdb.cp/namelessclass.exp
4057 * gdb.cp/namespace-enum.exp
4058 * gdb.cp/namespace-nested-import.exp
4059 * gdb.cp/namespace.exp
4060 * gdb.cp/nextoverthrow.exp
4061 * gdb.cp/no-dmgl-verbose.exp
4062 * gdb.cp/non-trivial-retval.exp
4063 * gdb.cp/noparam.exp
4065 * gdb.cp/nsimport.exp
4066 * gdb.cp/nsnested.exp
4067 * gdb.cp/nsnoimports.exp
4068 * gdb.cp/nsrecurs.exp
4069 * gdb.cp/nsstress.exp
4070 * gdb.cp/nsusing.exp
4071 * gdb.cp/operator.exp
4072 * gdb.cp/oranking.exp
4073 * gdb.cp/overload-const.exp
4074 * gdb.cp/overload.exp
4075 * gdb.cp/ovldbreak.exp
4077 * gdb.cp/paren-type.exp
4078 * gdb.cp/parse-lang.exp
4079 * gdb.cp/pass-by-ref.exp
4080 * gdb.cp/pr-1023.exp
4081 * gdb.cp/pr-1210.exp
4083 * gdb.cp/pr10687.exp
4084 * gdb.cp/pr12028.exp
4085 * gdb.cp/pr17132.exp
4086 * gdb.cp/pr17494.exp
4090 * gdb.cp/printmethod.exp
4092 * gdb.cp/psymtab-parameter.exp
4093 * gdb.cp/ptype-cv-cp.exp
4094 * gdb.cp/ptype-flags.exp
4095 * gdb.cp/re-set-overloaded.exp
4096 * gdb.cp/ref-types.exp
4098 * gdb.cp/scope-err.exp
4101 * gdb.cp/static-method.exp
4102 * gdb.cp/static-print-quit.exp
4103 * gdb.cp/temargs.exp
4104 * gdb.cp/templates.exp
4105 * gdb.cp/try_catch.exp
4106 * gdb.cp/typedef-operator.exp
4108 * gdb.cp/userdef.exp
4109 * gdb.cp/using-crash.exp
4110 * gdb.cp/var-tag.exp
4111 * gdb.cp/virtbase.exp
4112 * gdb.cp/virtfunc.exp
4113 * gdb.cp/virtfunc2.exp
4114 * gdb.cp/vla-cxx.exp
4115 * gdb.disasm/t01_mov.exp
4116 * gdb.disasm/t02_mova.exp
4117 * gdb.disasm/t03_add.exp
4118 * gdb.disasm/t04_sub.exp
4119 * gdb.disasm/t05_cmp.exp
4120 * gdb.disasm/t06_ari2.exp
4121 * gdb.disasm/t07_ari3.exp
4122 * gdb.disasm/t08_or.exp
4123 * gdb.disasm/t09_xor.exp
4124 * gdb.disasm/t10_and.exp
4125 * gdb.disasm/t11_logs.exp
4126 * gdb.disasm/t12_bit.exp
4127 * gdb.disasm/t13_otr.exp
4128 * gdb.dlang/circular.exp
4129 * gdb.dwarf2/arr-stride.exp
4130 * gdb.dwarf2/arr-subrange.exp
4131 * gdb.dwarf2/atomic-type.exp
4132 * gdb.dwarf2/bad-regnum.exp
4133 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4134 * gdb.dwarf2/callframecfa.exp
4135 * gdb.dwarf2/clztest.exp
4136 * gdb.dwarf2/corrupt.exp
4137 * gdb.dwarf2/data-loc.exp
4138 * gdb.dwarf2/dup-psym.exp
4139 * gdb.dwarf2/dw2-anon-mptr.exp
4140 * gdb.dwarf2/dw2-anonymous-func.exp
4141 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4142 * gdb.dwarf2/dw2-bad-unresolved.exp
4143 * gdb.dwarf2/dw2-basic.exp
4144 * gdb.dwarf2/dw2-canonicalize-type.exp
4145 * gdb.dwarf2/dw2-case-insensitive.exp
4146 * gdb.dwarf2/dw2-common-block.exp
4147 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4148 * gdb.dwarf2/dw2-compressed.exp
4149 * gdb.dwarf2/dw2-const.exp
4150 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4151 * gdb.dwarf2/dw2-cu-size.exp
4152 * gdb.dwarf2/dw2-dup-frame.exp
4153 * gdb.dwarf2/dw2-entry-value.exp
4154 * gdb.dwarf2/dw2-icycle.exp
4155 * gdb.dwarf2/dw2-ifort-parameter.exp
4156 * gdb.dwarf2/dw2-inline-break.exp
4157 * gdb.dwarf2/dw2-inline-param.exp
4158 * gdb.dwarf2/dw2-intercu.exp
4159 * gdb.dwarf2/dw2-intermix.exp
4160 * gdb.dwarf2/dw2-lexical-block-bare.exp
4161 * gdb.dwarf2/dw2-linkage-name-trust.exp
4162 * gdb.dwarf2/dw2-minsym-in-cu.exp
4163 * gdb.dwarf2/dw2-noloc.exp
4164 * gdb.dwarf2/dw2-op-call.exp
4165 * gdb.dwarf2/dw2-op-out-param.exp
4166 * gdb.dwarf2/dw2-opt-structptr.exp
4167 * gdb.dwarf2/dw2-param-error.exp
4168 * gdb.dwarf2/dw2-producer.exp
4169 * gdb.dwarf2/dw2-ranges-base.exp
4170 * gdb.dwarf2/dw2-ref-missing-frame.exp
4171 * gdb.dwarf2/dw2-reg-undefined.exp
4172 * gdb.dwarf2/dw2-regno-invalid.exp
4173 * gdb.dwarf2/dw2-restore.exp
4174 * gdb.dwarf2/dw2-restrict.exp
4175 * gdb.dwarf2/dw2-single-line-discriminators.exp
4176 * gdb.dwarf2/dw2-strp.exp
4177 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4178 * gdb.dwarf2/dw2-unresolved.exp
4179 * gdb.dwarf2/dw2-var-zero-addr.exp
4180 * gdb.dwarf2/dw4-sig-types.exp
4181 * gdb.dwarf2/dwz.exp
4182 * gdb.dwarf2/dynarr-ptr.exp
4183 * gdb.dwarf2/enum-type.exp
4184 * gdb.dwarf2/gdb-index.exp
4185 * gdb.dwarf2/implptr-64bit.exp
4186 * gdb.dwarf2/implptr-optimized-out.exp
4187 * gdb.dwarf2/implptr.exp
4188 * gdb.dwarf2/implref-array.exp
4189 * gdb.dwarf2/implref-const.exp
4190 * gdb.dwarf2/implref-global.exp
4191 * gdb.dwarf2/implref-struct.exp
4192 * gdb.dwarf2/mac-fileno.exp
4193 * gdb.dwarf2/main-subprogram.exp
4194 * gdb.dwarf2/member-ptr-forwardref.exp
4195 * gdb.dwarf2/method-ptr.exp
4196 * gdb.dwarf2/missing-sig-type.exp
4197 * gdb.dwarf2/nonvar-access.exp
4198 * gdb.dwarf2/opaque-type-lookup.exp
4199 * gdb.dwarf2/pieces-optimized-out.exp
4200 * gdb.dwarf2/pieces.exp
4201 * gdb.dwarf2/pr10770.exp
4202 * gdb.dwarf2/pr13961.exp
4203 * gdb.dwarf2/staticvirtual.exp
4204 * gdb.dwarf2/subrange.exp
4205 * gdb.dwarf2/symtab-producer.exp
4206 * gdb.dwarf2/trace-crash.exp
4207 * gdb.dwarf2/typeddwarf.exp
4208 * gdb.dwarf2/valop.exp
4209 * gdb.dwarf2/watch-notconst.exp
4210 * gdb.fortran/array-element.exp
4211 * gdb.fortran/charset.exp
4212 * gdb.fortran/common-block.exp
4213 * gdb.fortran/complex.exp
4214 * gdb.fortran/derived-type-function.exp
4215 * gdb.fortran/derived-type.exp
4216 * gdb.fortran/logical.exp
4217 * gdb.fortran/module.exp
4218 * gdb.fortran/multi-dim.exp
4219 * gdb.fortran/nested-funcs.exp
4220 * gdb.fortran/print-formatted.exp
4221 * gdb.fortran/subarray.exp
4222 * gdb.fortran/vla-alloc-assoc.exp
4223 * gdb.fortran/vla-datatypes.exp
4224 * gdb.fortran/vla-history.exp
4225 * gdb.fortran/vla-ptr-info.exp
4226 * gdb.fortran/vla-ptype-sub.exp
4227 * gdb.fortran/vla-ptype.exp
4228 * gdb.fortran/vla-sizeof.exp
4229 * gdb.fortran/vla-type.exp
4230 * gdb.fortran/vla-value-sub-arbitrary.exp
4231 * gdb.fortran/vla-value-sub-finish.exp
4232 * gdb.fortran/vla-value-sub.exp
4233 * gdb.fortran/vla-value.exp
4234 * gdb.fortran/whatis_type.exp
4236 * gdb.go/handcall.exp
4238 * gdb.go/integers.exp
4239 * gdb.go/methods.exp
4240 * gdb.go/package.exp
4241 * gdb.go/strings.exp
4244 * gdb.guile/scm-arch.exp
4245 * gdb.guile/scm-block.exp
4246 * gdb.guile/scm-breakpoint.exp
4247 * gdb.guile/scm-cmd.exp
4248 * gdb.guile/scm-disasm.exp
4249 * gdb.guile/scm-equal.exp
4250 * gdb.guile/scm-frame-args.exp
4251 * gdb.guile/scm-frame-inline.exp
4252 * gdb.guile/scm-frame.exp
4253 * gdb.guile/scm-iterator.exp
4254 * gdb.guile/scm-math.exp
4255 * gdb.guile/scm-objfile.exp
4256 * gdb.guile/scm-ports.exp
4257 * gdb.guile/scm-symbol.exp
4258 * gdb.guile/scm-symtab.exp
4259 * gdb.guile/scm-value-cc.exp
4260 * gdb.guile/types-module.exp
4261 * gdb.linespec/break-ask.exp
4262 * gdb.linespec/cpexplicit.exp
4263 * gdb.linespec/explicit.exp
4264 * gdb.linespec/keywords.exp
4265 * gdb.linespec/linespec.exp
4266 * gdb.linespec/ls-dollar.exp
4267 * gdb.linespec/ls-errs.exp
4268 * gdb.linespec/skip-two.exp
4269 * gdb.linespec/thread.exp
4270 * gdb.mi/mi-async.exp
4271 * gdb.mi/mi-basics.exp
4272 * gdb.mi/mi-break.exp
4273 * gdb.mi/mi-catch-load.exp
4275 * gdb.mi/mi-cmd-param-changed.exp
4276 * gdb.mi/mi-console.exp
4277 * gdb.mi/mi-detach.exp
4278 * gdb.mi/mi-disassemble.exp
4279 * gdb.mi/mi-eval.exp
4280 * gdb.mi/mi-file-transfer.exp
4281 * gdb.mi/mi-file.exp
4282 * gdb.mi/mi-fill-memory.exp
4283 * gdb.mi/mi-inheritance-syntax-error.exp
4284 * gdb.mi/mi-linespec-err-cp.exp
4285 * gdb.mi/mi-logging.exp
4286 * gdb.mi/mi-memory-changed.exp
4287 * gdb.mi/mi-read-memory.exp
4288 * gdb.mi/mi-record-changed.exp
4289 * gdb.mi/mi-reg-undefined.exp
4290 * gdb.mi/mi-regs.exp
4291 * gdb.mi/mi-return.exp
4292 * gdb.mi/mi-reverse.exp
4293 * gdb.mi/mi-simplerun.exp
4294 * gdb.mi/mi-solib.exp
4295 * gdb.mi/mi-stack.exp
4296 * gdb.mi/mi-stepi.exp
4297 * gdb.mi/mi-syn-frame.exp
4298 * gdb.mi/mi-until.exp
4299 * gdb.mi/mi-var-block.exp
4300 * gdb.mi/mi-var-child.exp
4301 * gdb.mi/mi-var-cmd.exp
4302 * gdb.mi/mi-var-cp.exp
4303 * gdb.mi/mi-var-display.exp
4304 * gdb.mi/mi-var-invalidate.exp
4305 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4306 * gdb.mi/mi-vla-fortran.exp
4307 * gdb.mi/mi-watch.exp
4308 * gdb.mi/mi2-var-child.exp
4309 * gdb.mi/user-selected-context-sync.exp
4310 * gdb.modula2/unbounded-array.exp
4311 * gdb.multi/dummy-frame-restore.exp
4312 * gdb.multi/multi-arch-exec.exp
4313 * gdb.multi/multi-arch.exp
4314 * gdb.multi/tids.exp
4315 * gdb.multi/watchpoint-multi.exp
4316 * gdb.opencl/callfuncs.exp
4317 * gdb.opencl/convs_casts.exp
4318 * gdb.opencl/datatypes.exp
4319 * gdb.opencl/operators.exp
4320 * gdb.opencl/vec_comps.exp
4321 * gdb.opt/clobbered-registers-O2.exp
4322 * gdb.opt/inline-break.exp
4323 * gdb.opt/inline-bt.exp
4324 * gdb.opt/inline-cmds.exp
4325 * gdb.opt/inline-locals.exp
4326 * gdb.pascal/case-insensitive-symbols.exp
4327 * gdb.pascal/floats.exp
4328 * gdb.pascal/gdb11492.exp
4329 * gdb.python/lib-types.exp
4330 * gdb.python/py-arch.exp
4331 * gdb.python/py-as-string.exp
4332 * gdb.python/py-bad-printers.exp
4333 * gdb.python/py-block.exp
4334 * gdb.python/py-breakpoint-create-fail.exp
4335 * gdb.python/py-breakpoint.exp
4336 * gdb.python/py-caller-is.exp
4337 * gdb.python/py-cmd.exp
4338 * gdb.python/py-explore-cc.exp
4339 * gdb.python/py-explore.exp
4340 * gdb.python/py-finish-breakpoint.exp
4341 * gdb.python/py-finish-breakpoint2.exp
4342 * gdb.python/py-frame-args.exp
4343 * gdb.python/py-frame-inline.exp
4344 * gdb.python/py-frame.exp
4345 * gdb.python/py-framefilter-mi.exp
4346 * gdb.python/py-infthread.exp
4347 * gdb.python/py-lazy-string.exp
4348 * gdb.python/py-linetable.exp
4349 * gdb.python/py-mi-events.exp
4350 * gdb.python/py-mi-objfile.exp
4351 * gdb.python/py-mi.exp
4352 * gdb.python/py-objfile.exp
4353 * gdb.python/py-pp-integral.exp
4354 * gdb.python/py-pp-maint.exp
4355 * gdb.python/py-pp-re-notag.exp
4356 * gdb.python/py-pp-registration.exp
4357 * gdb.python/py-recurse-unwind.exp
4358 * gdb.python/py-strfns.exp
4359 * gdb.python/py-symbol.exp
4360 * gdb.python/py-symtab.exp
4361 * gdb.python/py-sync-interp.exp
4362 * gdb.python/py-typeprint.exp
4363 * gdb.python/py-unwind-maint.exp
4364 * gdb.python/py-unwind.exp
4365 * gdb.python/py-value-cc.exp
4366 * gdb.python/py-xmethods.exp
4367 * gdb.reverse/amd64-tailcall-reverse.exp
4368 * gdb.reverse/break-precsave.exp
4369 * gdb.reverse/break-reverse.exp
4370 * gdb.reverse/consecutive-precsave.exp
4371 * gdb.reverse/consecutive-reverse.exp
4372 * gdb.reverse/finish-precsave.exp
4373 * gdb.reverse/finish-reverse-bkpt.exp
4374 * gdb.reverse/finish-reverse.exp
4375 * gdb.reverse/fstatat-reverse.exp
4376 * gdb.reverse/getresuid-reverse.exp
4377 * gdb.reverse/i386-precsave.exp
4378 * gdb.reverse/i386-reverse.exp
4379 * gdb.reverse/i386-sse-reverse.exp
4380 * gdb.reverse/i387-env-reverse.exp
4381 * gdb.reverse/i387-stack-reverse.exp
4382 * gdb.reverse/insn-reverse.exp
4383 * gdb.reverse/machinestate-precsave.exp
4384 * gdb.reverse/machinestate.exp
4385 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4386 * gdb.reverse/pipe-reverse.exp
4387 * gdb.reverse/readv-reverse.exp
4388 * gdb.reverse/recvmsg-reverse.exp
4389 * gdb.reverse/rerun-prec.exp
4390 * gdb.reverse/s390-mvcle.exp
4391 * gdb.reverse/step-precsave.exp
4392 * gdb.reverse/step-reverse.exp
4393 * gdb.reverse/time-reverse.exp
4394 * gdb.reverse/until-precsave.exp
4395 * gdb.reverse/until-reverse.exp
4396 * gdb.reverse/waitpid-reverse.exp
4397 * gdb.reverse/watch-precsave.exp
4398 * gdb.reverse/watch-reverse.exp
4399 * gdb.rust/generics.exp
4400 * gdb.rust/methods.exp
4401 * gdb.rust/modules.exp
4402 * gdb.rust/simple.exp
4403 * gdb.server/connect-with-no-symbol-file.exp
4404 * gdb.server/ext-attach.exp
4405 * gdb.server/ext-restart.exp
4406 * gdb.server/ext-wrapper.exp
4407 * gdb.server/file-transfer.exp
4408 * gdb.server/server-exec-info.exp
4409 * gdb.server/server-kill.exp
4410 * gdb.server/server-mon.exp
4411 * gdb.server/wrapper.exp
4412 * gdb.stabs/exclfwd.exp
4413 * gdb.stabs/gdb11479.exp
4414 * gdb.threads/clone-new-thread-event.exp
4415 * gdb.threads/corethreads.exp
4416 * gdb.threads/current-lwp-dead.exp
4417 * gdb.threads/dlopen-libpthread.exp
4418 * gdb.threads/gcore-thread.exp
4419 * gdb.threads/sigstep-threads.exp
4420 * gdb.threads/watchpoint-fork.exp
4421 * gdb.trace/actions-changed.exp
4422 * gdb.trace/backtrace.exp
4423 * gdb.trace/change-loc.exp
4424 * gdb.trace/circ.exp
4425 * gdb.trace/collection.exp
4426 * gdb.trace/disconnected-tracing.exp
4427 * gdb.trace/ftrace.exp
4428 * gdb.trace/mi-trace-frame-collected.exp
4429 * gdb.trace/mi-trace-unavailable.exp
4430 * gdb.trace/mi-traceframe-changed.exp
4431 * gdb.trace/mi-tsv-changed.exp
4432 * gdb.trace/no-attach-trace.exp
4433 * gdb.trace/passc-dyn.exp
4434 * gdb.trace/qtro.exp
4435 * gdb.trace/range-stepping.exp
4436 * gdb.trace/read-memory.exp
4437 * gdb.trace/save-trace.exp
4438 * gdb.trace/signal.exp
4439 * gdb.trace/status-stop.exp
4440 * gdb.trace/tfile.exp
4441 * gdb.trace/trace-break.exp
4442 * gdb.trace/trace-buffer-size.exp
4443 * gdb.trace/trace-condition.exp
4444 * gdb.trace/tracefile-pseudo-reg.exp
4445 * gdb.trace/tstatus.exp
4446 * gdb.trace/unavailable.exp
4447 * gdb.trace/while-dyn.exp
4448 * gdb.trace/while-stepping.exp
4450 2016-12-22 Doug Evans <xdje42@gmail.com>
4452 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4455 2016-12-19 Yao Qi <yao.qi@linaro.org>
4457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4458 (test_with_self): Don't call do_steps_and_nexts, and remove
4459 code about stepping into xmalloc.
4461 2016-12-09 Yao Qi <yao.qi@linaro.org>
4463 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4465 2016-12-09 Yao Qi <yao.qi@linaro.org>
4467 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4469 2016-12-09 Pedro Alves <palves@redhat.com>
4471 * gdb.base/all-architectures-0.exp: New file.
4472 * gdb.base/all-architectures-1.exp: New file.
4473 * gdb.base/all-architectures-2.exp: New file.
4474 * gdb.base/all-architectures-3.exp: New file.
4475 * gdb.base/all-architectures-4.exp: New file.
4476 * gdb.base/all-architectures-5.exp: New file.
4477 * gdb.base/all-architectures-6.exp: New file.
4478 * gdb.base/all-architectures-7.exp: New file.
4479 * gdb.base/all-architectures.exp.in: New file.
4481 2016-12-09 Yao Qi <yao.qi@linaro.org>
4483 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4485 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4487 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4489 Remove useless pattern-matching code.
4491 2016-12-02 Pedro Alves <palves@redhat.com>
4493 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4495 (top level): Call it.
4497 2016-12-02 Pedro Alves <palves@redhat.com>
4499 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4501 (top level): Call it.
4503 2016-12-02 Pedro Alves <palves@redhat.com>
4506 * gdb.base/commands.exp (user_defined_command_args_eval): New
4508 (top level): Call it.
4510 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4512 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4515 2016-12-02 Tom Tromey <tom@tromey.com>
4517 * gdb.dwarf2/main-subprogram.c: New file.
4518 * gdb.dwarf2/main-subprogram.exp: New file.
4520 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4522 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4523 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4524 gdb_test_no_output for a couple of cases.
4525 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4527 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4529 Fix test names and standardize compilation error messages throughout
4530 the following files:
4533 * gdb.arch/alpha-step.exp
4534 * gdb.arch/e500-prologue.exp
4535 * gdb.arch/ftrace-insn-reloc.exp
4536 * gdb.arch/gdb1291.exp
4537 * gdb.arch/gdb1431.exp
4538 * gdb.arch/gdb1558.exp
4539 * gdb.arch/i386-dr3-watch.exp
4540 * gdb.arch/i386-sse-stack-align.exp
4541 * gdb.arch/ia64-breakpoint-shadow.exp
4542 * gdb.arch/pa-nullify.exp
4543 * gdb.arch/powerpc-aix-prologue.exp
4544 * gdb.arch/thumb-bx-pc.exp
4545 * gdb.base/annota1.exp
4546 * gdb.base/annota3.exp
4547 * gdb.base/arrayidx.exp
4548 * gdb.base/assign.exp
4549 * gdb.base/attach.exp
4552 * gdb.base/bfp-test.exp
4553 * gdb.base/bigcore.exp
4554 * gdb.base/bitfields2.exp
4555 * gdb.base/break-fun-addr.exp
4556 * gdb.base/break-probes.exp
4557 * gdb.base/call-rt-st.exp
4558 * gdb.base/callexit.exp
4559 * gdb.base/catch-fork-kill.exp
4560 * gdb.base/charset.exp
4561 * gdb.base/checkpoint.exp
4562 * gdb.base/comprdebug.exp
4563 * gdb.base/constvars.exp
4564 * gdb.base/coredump-filter.exp
4565 * gdb.base/cursal.exp
4566 * gdb.base/cvexpr.exp
4567 * gdb.base/detach.exp
4568 * gdb.base/display.exp
4569 * gdb.base/dmsym.exp
4570 * gdb.base/dprintf-pending.exp
4571 * gdb.base/dso2dso.exp
4572 * gdb.base/dtrace-probe.exp
4574 * gdb.base/enum_cond.exp
4575 * gdb.base/exe-lock.exp
4576 * gdb.base/exec-invalid-sysroot.exp
4577 * gdb.base/execl-update-breakpoints.exp
4578 * gdb.base/exprs.exp
4579 * gdb.base/fileio.exp
4581 * gdb.base/finish.exp
4582 * gdb.base/fixsection.exp
4583 * gdb.base/foll-vfork.exp
4584 * gdb.base/frame-args.exp
4585 * gdb.base/gcore.exp
4586 * gdb.base/gdb1250.exp
4587 * gdb.base/global-var-nested-by-dso.exp
4588 * gdb.base/gnu-ifunc.exp
4589 * gdb.base/hashline1.exp
4590 * gdb.base/hashline2.exp
4591 * gdb.base/hashline3.exp
4592 * gdb.base/hbreak-in-shr-unsupported.exp
4594 * gdb.base/infcall-input.exp
4595 * gdb.base/info-fun.exp
4596 * gdb.base/info-shared.exp
4597 * gdb.base/jit-simple.exp
4598 * gdb.base/jit-so.exp
4601 * gdb.base/label.exp
4602 * gdb.base/lineinc.exp
4603 * gdb.base/logical.exp
4604 * gdb.base/longjmp.exp
4605 * gdb.base/macscp.exp
4606 * gdb.base/miscexprs.exp
4607 * gdb.base/new-ui-echo.exp
4608 * gdb.base/new-ui-pending-input.exp
4609 * gdb.base/new-ui.exp
4610 * gdb.base/nodebug.exp
4611 * gdb.base/nofield.exp
4612 * gdb.base/offsets.exp
4613 * gdb.base/overlays.exp
4614 * gdb.base/pending.exp
4615 * gdb.base/pointers.exp
4616 * gdb.base/pr11022.exp
4617 * gdb.base/printcmds.exp
4618 * gdb.base/prologue.exp
4619 * gdb.base/ptr-typedef.exp
4620 * gdb.base/realname-expand.exp
4621 * gdb.base/relativedebug.exp
4622 * gdb.base/relocate.exp
4623 * gdb.base/remote.exp
4624 * gdb.base/reread.exp
4625 * gdb.base/return2.exp
4626 * gdb.base/savedregs.exp
4628 * gdb.base/sepdebug.exp
4629 * gdb.base/sepsymtab.exp
4630 * gdb.base/set-inferior-tty.exp
4631 * gdb.base/setshow.exp
4632 * gdb.base/shlib-call.exp
4633 * gdb.base/sigaltstack.exp
4634 * gdb.base/siginfo-addr.exp
4635 * gdb.base/signals.exp
4636 * gdb.base/signull.exp
4637 * gdb.base/sigrepeat.exp
4638 * gdb.base/so-impl-ld.exp
4639 * gdb.base/solib-display.exp
4640 * gdb.base/solib-overlap.exp
4641 * gdb.base/solib-search.exp
4642 * gdb.base/solib-symbol.exp
4643 * gdb.base/structs.exp
4644 * gdb.base/structs2.exp
4645 * gdb.base/symtab-search-order.exp
4646 * gdb.base/twice.exp
4647 * gdb.base/unload.exp
4648 * gdb.base/varargs.exp
4649 * gdb.base/watchpoint-solib.exp
4650 * gdb.base/watchpoint.exp
4651 * gdb.base/whatis.exp
4652 * gdb.base/wrong_frame_bt_full.exp
4653 * gdb.btrace/dlopen.exp
4654 * gdb.cell/ea-standalone.exp
4655 * gdb.cell/ea-test.exp
4656 * gdb.cp/dispcxx.exp
4657 * gdb.cp/gdb2384.exp
4658 * gdb.cp/method2.exp
4659 * gdb.cp/nextoverthrow.exp
4660 * gdb.cp/pr10728.exp
4661 * gdb.disasm/am33.exp
4662 * gdb.disasm/h8300s.exp
4663 * gdb.disasm/mn10300.exp
4664 * gdb.disasm/sh3.exp
4665 * gdb.dwarf2/dw2-dir-file-name.exp
4666 * gdb.fortran/complex.exp
4667 * gdb.fortran/library-module.exp
4668 * gdb.guile/scm-pretty-print.exp
4669 * gdb.guile/scm-symbol.exp
4670 * gdb.guile/scm-type.exp
4671 * gdb.guile/scm-value.exp
4672 * gdb.linespec/linespec.exp
4675 * gdb.mi/mi-breakpoint-changed.exp
4676 * gdb.mi/mi-dprintf-pending.exp
4677 * gdb.mi/mi-dprintf.exp
4678 * gdb.mi/mi-exit-code.exp
4679 * gdb.mi/mi-pending.exp
4680 * gdb.mi/mi-solib.exp
4681 * gdb.mi/new-ui-mi-sync.exp
4682 * gdb.mi/pr11022.exp
4683 * gdb.mi/user-selected-context-sync.exp
4684 * gdb.opt/solib-intra-step.exp
4685 * gdb.python/py-events.exp
4686 * gdb.python/py-finish-breakpoint.exp
4687 * gdb.python/py-mi.exp
4688 * gdb.python/py-prettyprint.exp
4689 * gdb.python/py-shared.exp
4690 * gdb.python/py-symbol.exp
4691 * gdb.python/py-template.exp
4692 * gdb.python/py-type.exp
4693 * gdb.python/py-value.exp
4694 * gdb.reverse/solib-precsave.exp
4695 * gdb.reverse/solib-reverse.exp
4696 * gdb.server/solib-list.exp
4697 * gdb.stabs/weird.exp
4698 * gdb.threads/reconnect-signal.exp
4699 * gdb.threads/stepi-random-signal.exp
4700 * gdb.trace/actions.exp
4702 * gdb.trace/backtrace.exp
4703 * gdb.trace/change-loc.exp
4704 * gdb.trace/deltrace.exp
4705 * gdb.trace/ftrace-lock.exp
4706 * gdb.trace/ftrace.exp
4707 * gdb.trace/infotrace.exp
4708 * gdb.trace/mi-tracepoint-changed.exp
4709 * gdb.trace/packetlen.exp
4710 * gdb.trace/passcount.exp
4711 * gdb.trace/pending.exp
4712 * gdb.trace/range-stepping.exp
4713 * gdb.trace/report.exp
4714 * gdb.trace/stap-trace.exp
4715 * gdb.trace/tfind.exp
4716 * gdb.trace/trace-break.exp
4717 * gdb.trace/trace-condition.exp
4718 * gdb.trace/trace-enable-disable.exp
4719 * gdb.trace/trace-mt.exp
4720 * gdb.trace/tracecmd.exp
4721 * gdb.trace/tspeed.exp
4725 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4727 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4728 with gdb_test_no_output.
4729 Use command as test name.
4731 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4733 Fix test names starting with uppercase throughout the files.
4735 * gdb.ada/assign_1.exp
4736 * gdb.ada/boolean_expr.exp
4737 * gdb.base/arrayidx.exp
4739 * gdb.base/gcore-buffer-overflow.exp
4740 * gdb.base/testenv.exp
4741 * gdb.compile/compile.exp
4742 * gdb.python/py-framefilter-invalidarg.exp
4743 * gdb.python/py-framefilter.exp
4745 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4747 Fix test names starting with uppercase throughout the files.
4749 * gdb.ada/array_return.exp
4750 * gdb.ada/expr_delims.exp
4751 * gdb.ada/mi_dyn_arr.exp
4752 * gdb.ada/mi_interface.exp
4753 * gdb.ada/mi_var_array.exp
4754 * gdb.ada/watch_arg.exp
4755 * gdb.arch/alpha-step.exp
4756 * gdb.arch/altivec-regs.exp
4757 * gdb.arch/e500-regs.exp
4758 * gdb.arch/powerpc-d128-regs.exp
4759 * gdb.base/arrayidx.exp
4760 * gdb.base/break.exp
4761 * gdb.base/checkpoint.exp
4762 * gdb.base/debug-expr.exp
4763 * gdb.base/dmsym.exp
4764 * gdb.base/radix.exp
4765 * gdb.base/sepdebug.exp
4766 * gdb.base/testenv.exp
4767 * gdb.base/watch_thread_num.exp
4768 * gdb.base/watchpoint-cond-gone.exp
4769 * gdb.cell/break.exp
4770 * gdb.cell/ea-cache.exp
4771 * gdb.compile/compile.exp
4772 * gdb.cp/gdb2495.exp
4773 * gdb.gdb/selftest.exp
4774 * gdb.gdb/xfullpath.exp
4776 * gdb.go/integers.exp
4777 * gdb.objc/basicclass.exp
4778 * gdb.pascal/hello.exp
4779 * gdb.pascal/integers.exp
4780 * gdb.python/py-breakpoint.exp
4781 * gdb.python/py-cmd.exp
4782 * gdb.python/py-linetable.exp
4783 * gdb.python/py-xmethods.exp
4784 * gdb.python/python.exp
4785 * gdb.reverse/consecutive-precsave.exp
4786 * gdb.reverse/finish-precsave.exp
4787 * gdb.reverse/i386-precsave.exp
4788 * gdb.reverse/machinestate-precsave.exp
4789 * gdb.reverse/sigall-precsave.exp
4790 * gdb.reverse/solib-precsave.exp
4791 * gdb.reverse/step-precsave.exp
4792 * gdb.reverse/until-precsave.exp
4793 * gdb.reverse/watch-precsave.exp
4794 * gdb.threads/leader-exit.exp
4795 * gdb.threads/pthreads.exp
4796 * gdb.threads/wp-replication.exp
4797 * gdb.trace/actions.exp
4798 * gdb.trace/mi-tsv-changed.exp
4801 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4803 Fix test names starting with uppercase throughout the files.
4805 * gdb.arch/i386-bp_permanent.exp
4806 * gdb.arch/i386-gnu-cfi.exp
4807 * gdb.base/disasm-end-cu.exp
4808 * gdb.base/macscp.exp
4809 * gdb.base/pending.exp
4810 * gdb.base/watch_thread_num.exp
4811 * gdb.cp/exception.exp
4812 * gdb.cp/gdb2495.exp
4814 * gdb.python/py-evsignal.exp
4815 * gdb.python/python.exp
4816 * gdb.trace/tracecmd.exp
4818 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4820 Fix test names starting with uppercase throughout the files.
4822 * gdb.base/charset.exp
4824 * gdb.base/multi-forks.exp
4825 * gdb.guile/scm-progspace.exp
4826 * gdb.opencl/datatypes.exp
4827 * gdb.python/py-block.exp
4828 * gdb.python/py-function.exp
4829 * gdb.python/py-symbol.exp
4830 * gdb.python/py-symtab.exp
4831 * gdb.python/py-xmethods.exp
4832 * gdb.reverse/break-precsave.exp
4833 * gdb.reverse/break-reverse.exp
4834 * gdb.reverse/consecutive-precsave.exp
4835 * gdb.reverse/consecutive-reverse.exp
4836 * gdb.reverse/finish-precsave.exp
4837 * gdb.reverse/finish-reverse-bkpt.exp
4838 * gdb.reverse/finish-reverse.exp
4839 * gdb.reverse/fstatat-reverse.exp
4840 * gdb.reverse/getresuid-reverse.exp
4841 * gdb.reverse/i386-precsave.exp
4842 * gdb.reverse/i386-reverse.exp
4843 * gdb.reverse/i386-sse-reverse.exp
4844 * gdb.reverse/i387-stack-reverse.exp
4845 * gdb.reverse/insn-reverse.exp
4846 * gdb.reverse/machinestate-precsave.exp
4847 * gdb.reverse/machinestate.exp
4848 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4849 * gdb.reverse/pipe-reverse.exp
4850 * gdb.reverse/readv-reverse.exp
4851 * gdb.reverse/recvmsg-reverse.exp
4852 * gdb.reverse/rerun-prec.exp
4853 * gdb.reverse/s390-mvcle.exp
4854 * gdb.reverse/sigall-precsave.exp
4855 * gdb.reverse/sigall-reverse.exp
4856 * gdb.reverse/solib-precsave.exp
4857 * gdb.reverse/solib-reverse.exp
4858 * gdb.reverse/step-precsave.exp
4859 * gdb.reverse/step-reverse.exp
4860 * gdb.reverse/time-reverse.exp
4861 * gdb.reverse/until-precsave.exp
4862 * gdb.reverse/until-reverse.exp
4863 * gdb.reverse/waitpid-reverse.exp
4864 * gdb.reverse/watch-precsave.exp
4865 * gdb.reverse/watch-reverse.exp
4867 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4869 Fix test names starting with uppercase throughout the files.
4871 * gdb.arch/i386-mpx-simple_segv.exp
4872 * gdb.arch/i386-mpx.exp
4873 * gdb.arch/i386-permbkpt.exp
4874 * gdb.arch/pa-nullify.exp
4875 * gdb.arch/powerpc-d128-regs.exp
4876 * gdb.arch/vsx-regs.exp
4877 * gdb.base/bfp-test.exp
4878 * gdb.base/break.exp
4879 * gdb.base/breakpoint-shadow.exp
4880 * gdb.base/callfuncs.exp
4881 * gdb.base/charset.exp
4882 * gdb.base/commands.exp
4883 * gdb.base/completion.exp
4884 * gdb.base/dfp-test.exp
4886 * gdb.base/ending-run.exp
4888 * gdb.base/expand-psymtabs.exp
4889 * gdb.base/float128.exp
4890 * gdb.base/floatn.exp
4891 * gdb.base/foll-exec-mode.exp
4892 * gdb.base/gdb1056.exp
4893 * gdb.base/gdb11531.exp
4894 * gdb.base/kill-after-signal.exp
4895 * gdb.base/multi-forks.exp
4896 * gdb.base/overlays.exp
4897 * gdb.base/pending.exp
4898 * gdb.base/sepdebug.exp
4899 * gdb.base/testenv.exp
4900 * gdb.base/valgrind-db-attach.exp
4901 * gdb.base/watch_thread_num.exp
4902 * gdb.base/watchpoint-cond-gone.exp
4903 * gdb.base/watchpoint.exp
4904 * gdb.base/watchpoints.exp
4905 * gdb.cp/arg-reference.exp
4906 * gdb.cp/baseenum.exp
4907 * gdb.cp/operator.exp
4909 * gdb.dwarf2/dw2-op-out-param.exp
4910 * gdb.dwarf2/dw2-reg-undefined.exp
4913 * gdb.go/integers.exp
4914 * gdb.go/methods.exp
4915 * gdb.go/package.exp
4916 * gdb.guile/scm-parameter.exp
4917 * gdb.guile/scm-progspace.exp
4918 * gdb.guile/scm-value.exp
4919 * gdb.mi/mi-pending.exp
4920 * gdb.mi/user-selected-context-sync.exp
4921 * gdb.multi/multi-attach.exp
4922 * gdb.multi/tids.exp
4923 * gdb.opt/clobbered-registers-O2.exp
4924 * gdb.pascal/floats.exp
4925 * gdb.pascal/integers.exp
4926 * gdb.python/py-block.exp
4927 * gdb.python/py-events.exp
4928 * gdb.python/py-parameter.exp
4929 * gdb.python/py-symbol.exp
4930 * gdb.python/py-symtab.exp
4931 * gdb.python/py-type.exp
4932 * gdb.python/py-value.exp
4933 * gdb.python/py-xmethods.exp
4934 * gdb.python/python.exp
4935 * gdb.reverse/break-precsave.exp
4936 * gdb.reverse/consecutive-precsave.exp
4937 * gdb.reverse/finish-precsave.exp
4938 * gdb.reverse/i386-precsave.exp
4939 * gdb.reverse/machinestate-precsave.exp
4940 * gdb.reverse/sigall-precsave.exp
4941 * gdb.reverse/solib-precsave.exp
4942 * gdb.reverse/step-precsave.exp
4943 * gdb.reverse/until-precsave.exp
4944 * gdb.reverse/watch-precsave.exp
4945 * gdb.server/ext-attach.exp
4946 * gdb.server/ext-restart.exp
4947 * gdb.server/ext-run.exp
4948 * gdb.server/ext-wrapper.exp
4949 * gdb.stabs/gdb11479.exp
4950 * gdb.stabs/weird.exp
4951 * gdb.threads/attach-many-short-lived-threads.exp
4952 * gdb.threads/kill.exp
4953 * gdb.threads/watchpoint-fork.exp
4955 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4957 Fix test names starting with uppercase throughout all the files below.
4959 * gdb.ada/array_return.exp
4960 * gdb.ada/catch_ex.exp
4961 * gdb.ada/info_exc.exp
4962 * gdb.ada/mi_catch_ex.exp
4963 * gdb.ada/mi_dyn_arr.exp
4964 * gdb.ada/mi_ex_cond.exp
4965 * gdb.ada/mi_exc_info.exp
4966 * gdb.ada/mi_interface.exp
4967 * gdb.ada/mi_task_arg.exp
4968 * gdb.ada/mi_task_info.exp
4969 * gdb.ada/mi_var_array.exp
4970 * gdb.arch/alpha-step.exp
4971 * gdb.arch/amd64-disp-step.exp
4972 * gdb.arch/arm-disp-step.exp
4973 * gdb.arch/disp-step-insn-reloc.exp
4974 * gdb.arch/e500-prologue.exp
4975 * gdb.arch/ftrace-insn-reloc.exp
4976 * gdb.arch/gdb1558.exp
4977 * gdb.arch/i386-bp_permanent.exp
4978 * gdb.arch/i386-disp-step.exp
4979 * gdb.arch/i386-float.exp
4980 * gdb.arch/i386-gnu-cfi.exp
4981 * gdb.arch/ia64-breakpoint-shadow.exp
4982 * gdb.arch/mips16-thunks.exp
4983 * gdb.arch/pa-nullify.exp
4984 * gdb.arch/powerpc-aix-prologue.exp
4985 * gdb.arch/powerpc-power.exp
4986 * gdb.arch/ppc-dfp.exp
4987 * gdb.arch/s390-tdbregs.exp
4988 * gdb.arch/spu-info.exp
4989 * gdb.arch/spu-ls.exp
4990 * gdb.arch/thumb-bx-pc.exp
4991 * gdb.base/advance.exp
4992 * gdb.base/annota-input-while-running.exp
4993 * gdb.base/arrayidx.exp
4994 * gdb.base/asmlabel.exp
4995 * gdb.base/async.exp
4996 * gdb.base/attach-wait-input.exp
4997 * gdb.base/auto-connect-native-target.exp
4998 * gdb.base/batch-preserve-term-settings.exp
4999 * gdb.base/bfp-test.exp
5000 * gdb.base/bigcore.exp
5001 * gdb.base/bp-permanent.exp
5002 * gdb.base/break-always.exp
5003 * gdb.base/break-fun-addr.exp
5004 * gdb.base/break-idempotent.exp
5005 * gdb.base/break-main-file-remove-fail.exp
5006 * gdb.base/break-probes.exp
5007 * gdb.base/break-unload-file.exp
5008 * gdb.base/break.exp
5009 * gdb.base/call-ar-st.exp
5010 * gdb.base/call-rt-st.exp
5011 * gdb.base/call-sc.exp
5012 * gdb.base/call-signal-resume.exp
5013 * gdb.base/call-strs.exp
5014 * gdb.base/callexit.exp
5015 * gdb.base/callfuncs.exp
5016 * gdb.base/catch-gdb-caused-signals.exp
5017 * gdb.base/catch-signal-siginfo-cond.exp
5018 * gdb.base/catch-syscall.exp
5019 * gdb.base/compare-sections.exp
5020 * gdb.base/cond-eval-mode.exp
5021 * gdb.base/condbreak-call-false.exp
5022 * gdb.base/consecutive-step-over.exp
5023 * gdb.base/cursal.exp
5024 * gdb.base/disabled-location.exp
5025 * gdb.base/disasm-end-cu.exp
5026 * gdb.base/display.exp
5027 * gdb.base/double-prompt-target-event-error.exp
5028 * gdb.base/dprintf-bp-same-addr.exp
5029 * gdb.base/dprintf-detach.exp
5030 * gdb.base/dprintf-next.exp
5031 * gdb.base/dprintf-non-stop.exp
5032 * gdb.base/dprintf-pending.exp
5033 * gdb.base/dso2dso.exp
5034 * gdb.base/ending-run.exp
5035 * gdb.base/enum_cond.exp
5036 * gdb.base/examine-backward.exp
5037 * gdb.base/exe-lock.exp
5038 * gdb.base/exec-invalid-sysroot.exp
5039 * gdb.base/execl-update-breakpoints.exp
5040 * gdb.base/execution-termios.exp
5041 * gdb.base/fileio.exp
5042 * gdb.base/fixsection.exp
5043 * gdb.base/foll-exec-mode.exp
5044 * gdb.base/foll-exec.exp
5045 * gdb.base/fork-running-state.exp
5046 * gdb.base/frame-args.exp
5047 * gdb.base/fullpath-expand.exp
5048 * gdb.base/func-ptr.exp
5049 * gdb.base/gcore-relro-pie.exp
5050 * gdb.base/gdb1090.exp
5051 * gdb.base/gdb1555.exp
5052 * gdb.base/global-var-nested-by-dso.exp
5053 * gdb.base/gnu-ifunc.exp
5054 * gdb.base/hbreak-in-shr-unsupported.exp
5055 * gdb.base/hbreak-unmapped.exp
5056 * gdb.base/hook-stop.exp
5057 * gdb.base/infcall-input.exp
5058 * gdb.base/info-fun.exp
5059 * gdb.base/info-shared.exp
5060 * gdb.base/interrupt-noterm.exp
5061 * gdb.base/jit-so.exp
5063 * gdb.base/line-symtabs.exp
5065 * gdb.base/longjmp.exp
5066 * gdb.base/macscp.exp
5067 * gdb.base/max-value-size.exp
5068 * gdb.base/nodebug.exp
5069 * gdb.base/nofield.exp
5070 * gdb.base/overlays.exp
5071 * gdb.base/paginate-after-ctrl-c-running.exp
5072 * gdb.base/paginate-bg-execution.exp
5073 * gdb.base/paginate-inferior-exit.exp
5074 * gdb.base/pending.exp
5075 * gdb.base/pr11022.exp
5076 * gdb.base/printcmds.exp
5077 * gdb.base/ptr-typedef.exp
5078 * gdb.base/ptype.exp
5079 * gdb.base/randomize.exp
5080 * gdb.base/range-stepping.exp
5081 * gdb.base/realname-expand.exp
5082 * gdb.base/relativedebug.exp
5083 * gdb.base/remote.exp
5084 * gdb.base/savedregs.exp
5085 * gdb.base/sepdebug.exp
5086 * gdb.base/set-noassign.exp
5087 * gdb.base/shlib-call.exp
5088 * gdb.base/shreloc.exp
5089 * gdb.base/sigaltstack.exp
5090 * gdb.base/sigbpt.exp
5091 * gdb.base/siginfo-addr.exp
5092 * gdb.base/siginfo-obj.exp
5093 * gdb.base/siginfo-thread.exp
5094 * gdb.base/signest.exp
5095 * gdb.base/signull.exp
5096 * gdb.base/sigrepeat.exp
5098 * gdb.base/so-impl-ld.exp
5099 * gdb.base/solib-corrupted.exp
5100 * gdb.base/solib-disc.exp
5101 * gdb.base/solib-display.exp
5102 * gdb.base/solib-overlap.exp
5103 * gdb.base/solib-search.exp
5104 * gdb.base/solib-symbol.exp
5105 * gdb.base/source-execution.exp
5106 * gdb.base/sss-bp-on-user-bp-2.exp
5107 * gdb.base/sss-bp-on-user-bp.exp
5108 * gdb.base/stack-checking.exp
5109 * gdb.base/stale-infcall.exp
5110 * gdb.base/step-break.exp
5111 * gdb.base/step-line.exp
5112 * gdb.base/step-over-exit.exp
5113 * gdb.base/step-test.exp
5114 * gdb.base/structs.exp
5115 * gdb.base/sym-file.exp
5116 * gdb.base/symtab-search-order.exp
5118 * gdb.base/type-opaque.exp
5119 * gdb.base/unload.exp
5120 * gdb.base/until-nodebug.exp
5121 * gdb.base/until.exp
5122 * gdb.base/unwindonsignal.exp
5123 * gdb.base/watch-cond.exp
5124 * gdb.base/watch-non-mem.exp
5125 * gdb.base/watch_thread_num.exp
5126 * gdb.base/watchpoint-reuse-slot.exp
5127 * gdb.base/watchpoint-solib.exp
5128 * gdb.base/watchpoint.exp
5129 * gdb.btrace/dlopen.exp
5131 * gdb.cell/break.exp
5135 * gdb.cell/dwarfaddr.exp
5136 * gdb.cell/ea-cache.exp
5137 * gdb.cell/ea-standalone.exp
5138 * gdb.cell/ea-test.exp
5139 * gdb.cell/f-regs.exp
5141 * gdb.cell/gcore.exp
5142 * gdb.cell/mem-access.exp
5143 * gdb.cell/ptype.exp
5144 * gdb.cell/registers.exp
5145 * gdb.cell/sizeof.exp
5146 * gdb.cell/solib-symbol.exp
5147 * gdb.cell/solib.exp
5148 * gdb.compile/compile-tls.exp
5149 * gdb.cp/exception.exp
5150 * gdb.cp/gdb2495.exp
5152 * gdb.cp/mb-inline.exp
5153 * gdb.cp/mb-templates.exp
5154 * gdb.cp/pr10687.exp
5156 * gdb.cp/scope-err.exp
5157 * gdb.cp/templates.exp
5158 * gdb.cp/virtfunc.exp
5159 * gdb.dwarf2/dw2-dir-file-name.exp
5160 * gdb.dwarf2/dw2-single-line-discriminators.exp
5161 * gdb.fortran/complex.exp
5162 * gdb.fortran/library-module.exp
5163 * gdb.guile/guile.exp
5164 * gdb.guile/scm-cmd.exp
5165 * gdb.guile/scm-frame-inline.exp
5166 * gdb.guile/scm-objfile.exp
5167 * gdb.guile/scm-pretty-print.exp
5168 * gdb.guile/scm-symbol.exp
5169 * gdb.guile/scm-type.exp
5170 * gdb.guile/scm-value.exp
5171 * gdb.linespec/keywords.exp
5172 * gdb.linespec/ls-errs.exp
5173 * gdb.linespec/macro-relative.exp
5174 * gdb.linespec/thread.exp
5175 * gdb.mi/mi-breakpoint-changed.exp
5176 * gdb.mi/mi-dprintf-pending.exp
5177 * gdb.mi/mi-fullname-deleted.exp
5178 * gdb.mi/mi-logging.exp
5179 * gdb.mi/mi-pending.exp
5180 * gdb.mi/mi-solib.exp
5181 * gdb.mi/new-ui-mi-sync.exp
5182 * gdb.mi/user-selected-context-sync.exp
5183 * gdb.multi/dummy-frame-restore.exp
5184 * gdb.multi/multi-arch-exec.exp
5185 * gdb.multi/remove-inferiors.exp
5186 * gdb.multi/watchpoint-multi-exit.exp
5187 * gdb.opt/solib-intra-step.exp
5188 * gdb.perf/backtrace.exp
5189 * gdb.perf/single-step.exp
5190 * gdb.perf/skip-command.exp
5191 * gdb.perf/skip-prologue.exp
5192 * gdb.perf/solib.exp
5193 * gdb.python/lib-types.exp
5194 * gdb.python/py-as-string.exp
5195 * gdb.python/py-bad-printers.exp
5196 * gdb.python/py-block.exp
5197 * gdb.python/py-breakpoint.exp
5198 * gdb.python/py-cmd.exp
5199 * gdb.python/py-events.exp
5200 * gdb.python/py-evthreads.exp
5201 * gdb.python/py-finish-breakpoint.exp
5202 * gdb.python/py-finish-breakpoint2.exp
5203 * gdb.python/py-frame-inline.exp
5204 * gdb.python/py-frame.exp
5205 * gdb.python/py-inferior.exp
5206 * gdb.python/py-infthread.exp
5207 * gdb.python/py-mi.exp
5208 * gdb.python/py-objfile.exp
5209 * gdb.python/py-pp-maint.exp
5210 * gdb.python/py-pp-registration.exp
5211 * gdb.python/py-prettyprint.exp
5212 * gdb.python/py-recurse-unwind.exp
5213 * gdb.python/py-shared.exp
5214 * gdb.python/py-symbol.exp
5215 * gdb.python/py-symtab.exp
5216 * gdb.python/py-template.exp
5217 * gdb.python/py-type.exp
5218 * gdb.python/py-unwind-maint.exp
5219 * gdb.python/py-unwind.exp
5220 * gdb.python/py-value.exp
5221 * gdb.python/python.exp
5222 * gdb.reverse/finish-reverse-bkpt.exp
5223 * gdb.reverse/insn-reverse.exp
5224 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5225 * gdb.reverse/solib-precsave.exp
5226 * gdb.reverse/solib-reverse.exp
5227 * gdb.stabs/gdb11479.exp
5228 * gdb.stabs/weird.exp
5229 * gdb.threads/fork-child-threads.exp
5230 * gdb.threads/fork-plus-threads.exp
5231 * gdb.threads/fork-thread-pending.exp
5232 * gdb.threads/forking-threads-plus-breakpoint.exp
5233 * gdb.threads/hand-call-in-threads.exp
5234 * gdb.threads/interrupted-hand-call.exp
5235 * gdb.threads/linux-dp.exp
5236 * gdb.threads/local-watch-wrong-thread.exp
5237 * gdb.threads/next-while-other-thread-longjmps.exp
5238 * gdb.threads/non-ldr-exit.exp
5239 * gdb.threads/pending-step.exp
5240 * gdb.threads/print-threads.exp
5241 * gdb.threads/process-dies-while-detaching.exp
5242 * gdb.threads/process-dies-while-handling-bp.exp
5243 * gdb.threads/pthreads.exp
5244 * gdb.threads/queue-signal.exp
5245 * gdb.threads/reconnect-signal.exp
5246 * gdb.threads/signal-command-handle-nopass.exp
5247 * gdb.threads/signal-command-multiple-signals-pending.exp
5248 * gdb.threads/signal-delivered-right-thread.exp
5249 * gdb.threads/signal-sigtrap.exp
5250 * gdb.threads/sigthread.exp
5251 * gdb.threads/staticthreads.exp
5252 * gdb.threads/stepi-random-signal.exp
5253 * gdb.threads/thread-unwindonsignal.exp
5254 * gdb.threads/thread_check.exp
5255 * gdb.threads/thread_events.exp
5256 * gdb.threads/tid-reuse.exp
5257 * gdb.threads/tls-nodebug.exp
5258 * gdb.threads/tls-shared.exp
5259 * gdb.threads/tls-so_extern.exp
5260 * gdb.threads/tls.exp
5261 * gdb.threads/wp-replication.exp
5262 * gdb.trace/actions-changed.exp
5263 * gdb.trace/actions.exp
5264 * gdb.trace/backtrace.exp
5265 * gdb.trace/change-loc.exp
5266 * gdb.trace/collection.exp
5267 * gdb.trace/deltrace.exp
5268 * gdb.trace/disconnected-tracing.exp
5269 * gdb.trace/entry-values.exp
5270 * gdb.trace/ftrace-lock.exp
5271 * gdb.trace/ftrace.exp
5272 * gdb.trace/infotrace.exp
5273 * gdb.trace/mi-trace-frame-collected.exp
5274 * gdb.trace/mi-trace-unavailable.exp
5275 * gdb.trace/mi-traceframe-changed.exp
5276 * gdb.trace/mi-tracepoint-changed.exp
5277 * gdb.trace/mi-tsv-changed.exp
5278 * gdb.trace/no-attach-trace.exp
5279 * gdb.trace/packetlen.exp
5280 * gdb.trace/passc-dyn.exp
5281 * gdb.trace/passcount.exp
5282 * gdb.trace/pending.exp
5283 * gdb.trace/pr16508.exp
5284 * gdb.trace/qtro.exp
5285 * gdb.trace/range-stepping.exp
5286 * gdb.trace/read-memory.exp
5287 * gdb.trace/report.exp
5288 * gdb.trace/save-trace.exp
5289 * gdb.trace/signal.exp
5290 * gdb.trace/stap-trace.exp
5291 * gdb.trace/status-stop.exp
5292 * gdb.trace/strace.exp
5293 * gdb.trace/tfile.exp
5294 * gdb.trace/tfind.exp
5295 * gdb.trace/trace-break.exp
5296 * gdb.trace/trace-condition.exp
5297 * gdb.trace/trace-enable-disable.exp
5298 * gdb.trace/trace-mt.exp
5299 * gdb.trace/tracecmd.exp
5300 * gdb.trace/tracefile-pseudo-reg.exp
5301 * gdb.trace/tspeed.exp
5302 * gdb.trace/tstatus.exp
5304 * gdb.trace/unavailable.exp
5305 * gdb.trace/while-dyn.exp
5306 * gdb.trace/while-stepping.exp
5309 * lib/mi-support.exp
5312 * lib/prelink-support.exp
5313 * lib/selftest-support.exp
5315 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5317 * Makefile.in: Include disable-implicit-rules.mk.
5319 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5321 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5322 non-byte-aligned bit fields.
5324 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5327 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5328 respects the DW_AT_data_bit_offset attribute.
5330 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5332 * gdb.base/default.exp: Fix output of "set language".
5334 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5336 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5337 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5339 * configure.ac: Remove checks for the make program.
5340 * configure: Re-generate.
5342 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5344 * gdb.python/py-recurse-unwind.c (main): Add loop.
5345 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5346 to read_register() and gdb.parse_and_eval(). Make each code
5347 call a separate case that can be individually tested.
5348 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5349 proc. Call cont_and_backtrace for each of the code paths that
5350 we want to test in the unwinder.
5352 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5354 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5355 the definition of struct S.
5357 2016-11-11 Catherine Moore <clm@codesourcery.com>
5359 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5361 2016-11-09 Pedro Alves <palves@redhat.com>
5363 * gdb.base/commands.exp (runto_or_return): New procedure.
5364 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5365 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5366 (progvar_simple_while_test, progvar_complex_if_while_test)
5367 (if_while_breakpoint_command_test)
5368 (infrun_breakpoint_command_test, breakpoint_command_test)
5369 (user_defined_command_test, watchpoint_command_test)
5370 (test_command_prompt_position, redefine_hook_test)
5371 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5372 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5373 multi_line_input and multi_line. Remove gdb_expect and
5374 gdb_stop_suppressing_tests uses.
5375 * lib/gdb.exp (valnum_re): New global.
5376 (multi_line_input): New procedure.
5378 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5380 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5382 (test_setup): Define with proc_with_prefix.
5383 (test_cli_inferior): Likewise.
5384 (test_cli_thread): Likewise.
5385 (test_cli_frame): Likewise.
5386 (test_cli_select_frame): Likewise.
5387 (test_cli_up_down): Likewise.
5388 (test_mi_thread_select): Likewise.
5389 (test_mi_stack_select_frame): Likewise.
5390 (test_cli_in_mi_inferior): Likewise.
5391 (test_cli_in_mi_thread): Likewise.
5392 (test_cli_in_mi_frame): Likewise.
5393 (top level): Do not use with_test_prefix_procname.
5395 2016-11-09 Pedro Alves <palves@redhat.com>
5397 * gdb.base/commands.exp (gdbvar_simple_if_test)
5398 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5399 (progvar_simple_if_test, progvar_simple_while_test)
5400 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5401 (infrun_breakpoint_command_test, breakpoint_command_test)
5402 (user_defined_command_test, watchpoint_command_test)
5403 (test_command_prompt_position, deprecated_command_test)
5404 (bp_deleted_in_command, temporary_breakpoint_commands)
5405 (stray_arg0_test, source_file_with_indented_comment)
5406 (recursive_source_test, if_commands_test)
5407 (error_clears_commands_left, redefine_hook_test)
5408 (redefine_backtrace_test): Use proc_with_prefix.
5409 * lib/gdb.exp (proc_with_prefix): New proc.
5411 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5413 * gdb.base/tui-layout.c: New file.
5414 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5415 disassembly window contains very long lines.
5417 2016-11-08 Tom Tromey <tom@tromey.com>
5419 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5422 2016-11-08 Tom Tromey <tom@tromey.com>
5424 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5427 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5429 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5431 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5433 * gdb.rust/simple.rs: Add test for univariant enums without
5434 discriminants and for encoded struct-like enums.
5436 2016-10-28 Pedro Alves <palves@redhat.com>
5438 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5439 gdb_test_multiple, tighten regexps and match symtabs and line
5440 tables incrementally.
5442 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5444 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5447 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5449 * gdb.base/exec-invalid-sysroot.exp: New file.
5451 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5453 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5455 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5457 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5459 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5461 * gdb.base/killed-outside.exp: Remove $options from a call to
5462 `prepare_for_testing'.
5464 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5466 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5467 Change test message.
5469 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5471 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5474 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5476 * gdb.trace/mi-trace-save.exp: New file.
5478 2016-10-13 Yao Qi <yao.qi@linaro.org>
5480 * gdb.base/code_elim.exp (get_var_address): Remove.
5481 * gdb.base/relocate.exp: Likewise.
5482 * gdb.base/shreloc.exp: Likewise.
5483 * lib/gdb.exp (get_var_address): New.
5485 2016-10-13 Yao Qi <yao.qi@linaro.org>
5487 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5488 floating point tests if $skip_float_test is false.
5490 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5492 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5493 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5495 Add 1 to argc so we guarantee distinct initial/modified argc values.
5497 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5499 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5501 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5503 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5504 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5505 * gdb.arch/vsx-regs.exp: Likewise.
5507 2016-10-07 Yao Qi <yao.qi@linaro.org>
5509 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5511 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5513 * gdb.python/python.exp: Test decode_line("*0").
5515 2016-10-06 Doug Evans <dje@google.com>
5517 * gdb.python/py-value.exp (test_value_creation): Add test for large
5518 unsigned 64-bit value.
5520 2016-10-06 Tom Tromey <tom@tromey.com>
5522 * gdb.compile/compile.exp: Change java tests to rust.
5523 * gdb.base/setshow.exp: Change java tests to rust.
5524 * gdb.base/default.exp: Remove java from language list.
5525 * README (Examples): Update language example.
5526 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5528 * lib/gdb.exp (skip_java_tests): Remove.
5529 * lib/java.exp: Remove.
5532 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5534 * gdb.arch/mips-fcr.exp: New test.
5535 * gdb.arch/mips-fcr.c: Source for the new test.
5537 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5539 * gdb.base/solib-disc.exp: Use `standard_output_file'
5542 2016-10-06 Pedro Alves <palves@redhat.com>
5544 * gdb.base/jit-simple-dl.c: New file.
5545 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5546 * gdb.base/jit-simple.c: ... this.
5547 * gdb.base/jit-simple.exp (jit_run): Delete.
5548 (build_jit): New proc.
5549 (jit_test_reread): Recompile either the main program or the shared
5550 library, depending on what is being tested. Skip changing address
5551 if caller wants to. Compare before/after addresses. If testing
5552 standalone, explicitly load the binary. Test "maint info
5554 (top level): Add "standalone vs shared lib" and "change address"
5555 vs "same address" axes.
5557 2016-10-06 Pedro Alves <palves@redhat.com>
5559 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5562 (jit_test_reread): Use with_test_prefix. Reload the main binary
5563 explicitly. Compare the before/after addresses of the JIT
5566 2016-08-15 Doug Evans <dje@google.com>
5568 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5569 for single bitfields is bool.
5570 * gdb.xml/tdesc-regs.exp: Ditto.
5572 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5574 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5576 2016-10-05 Yao Qi <yao.qi@linaro.org>
5578 * lib/gdb.exp (support_complex_tests): Return zero if
5579 gdb_skip_float_test return true.
5581 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5582 Simon Marchi <simon.marchi@ericsson.com>
5585 * gdb.mi/user-selected-context-sync.exp: New file.
5586 * gdb.mi/user-selected-context-sync.c: New file.
5588 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5589 Simon Marchi <simon.marchi@ericsson.com>
5592 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5593 =thread-select-event check.
5595 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5597 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5598 the compulsory L operand changes.
5599 * gdb.arch/powerpc-power.s: Likewise.
5601 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5603 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5604 * gdb.base/jit-attach-pie.c: New file.
5605 * gdb.base/jit-attach-pie.exp: New file.
5607 2016-09-28 Pedro Alves <palves@redhat.com>
5609 * gdb.base/infcall-input.c: New file.
5610 * gdb.base/infcall-input.exp: New file.
5612 2016-09-22 Yao Qi <yao.qi@linaro.org>
5614 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5615 (gdb_exit): Rename it to ...
5616 (gdbserver_gdb_exit): ... Close GDBserver.
5617 (gdb_exit): New proc, call gdbserver_gdb_exit.
5618 (mi_gdb_exit): Likewise.
5620 2016-09-22 Yao Qi <yao.qi@linaro.org>
5622 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5624 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5627 2016-09-22 Yao Qi <yao.qi@linaro.org>
5629 * lib/gdbserver-support.exp: Check the existence of
5630 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5632 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5634 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5636 2016-09-21 Tom Tromey <tom@tromey.com>
5639 * gdb.base/quit.exp: New file.
5641 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5643 * .gitignore: New file.
5645 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5647 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5650 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5652 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5654 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5656 * gdb.cp/casts.cc (decltype): Move it ...
5657 (main): ... with its call to ...
5658 * gdb.cp/casts03.cc: ... a new file.
5659 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5661 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5663 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5665 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5667 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5668 and sync up the test with tests in gas/testsuite/gas/ppc.
5669 * gdb.arch/powerpc-power.exp: Likewise.
5671 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5673 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5675 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5676 Jan Kratochvil <jan.kratochvil@redhat.com>
5678 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5679 make m1's definition to be different from m2's. Use 'dummy' as an
5680 argument for probe 'two'.
5682 2016-09-10 Jon Beniston <jon@beniston.com>
5684 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5687 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5689 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5690 variable declaration.
5691 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5692 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5693 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5694 received HWCAP as its argument.
5696 2016-09-06 Pedro Alves <palves@redhat.com>
5698 * gdb.base/new-ui-pending-input.c: New file.
5699 * gdb.base/new-ui-pending-input.exp: New file.
5700 * gdb.exp (clear_gdb_spawn_id): New procedure.
5701 (with_spawn_id): Check whether gdb_spawn_id exists before
5702 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5705 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5707 * gdb.base/float128.c: New file.
5708 * gdb.base/float128.exp: Likewise.
5709 * gdb.base/floatn.c: Likewise.
5710 * gdb.base/floatn.exp: Likewise.
5712 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5714 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5716 2016-09-05 Pedro Alves <palves@redhat.com>
5719 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5720 unwinders are immediately called as side effect of "source" or
5721 "disable unwinder" commands.
5722 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5724 2016-09-02 Yao Qi <yao.qi@linaro.org>
5726 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5727 is true and $type is "float" or "double".
5729 2016-09-02 Yao Qi <yao.qi@linaro.org>
5731 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5733 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5734 * gdb.base/call-rt-st.exp: Likewise.
5735 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5736 return value instead of gdb,skip_float_test.
5737 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5738 (do_function_calls): Use its return value instead of
5739 gdb,skip_float_test.
5740 * gdb.base/finish.exp: Likewise.
5741 * gdb.base/funcargs.exp: Likewise.
5742 * gdb.base/return.exp: Likewise.
5743 * gdb.base/return2.exp: Likewise.
5744 * gdb.base/varargs.exp: Likewise.
5745 * lib/gdb.exp (gdb_skip_float_test): Change it to
5746 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5748 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5750 * gdb.multi/tids.exp: Test "thread apply all".
5752 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5754 * gdb.base/default.exp (tty): Remove.
5756 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5758 * gdb.python/py-recurse-unwind.c: New file.
5759 * gdb.python/py-recurse-unwind.py: New file.
5760 * gdb.python/py-recurse-unwind.exp: New file.
5762 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5764 * gdb.base/set-inferior-tty.exp: New file.
5765 * gdb.base/set-inferior-tty.c: New file.
5767 2016-08-23 Pedro Alves <palves@redhat.com>
5770 * gdb.base/new-ui-echo.c: New file.
5771 * gdb.base/new-ui-echo.exp: New file.
5773 2016-08-23 Yao Qi <yao.qi@linaro.org>
5775 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5777 * gdb.server/connect-without-multi-process.exp (do_test):
5780 2016-08-23 Yao Qi <yao.qi@linaro.org>
5782 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5783 standalone_txt. Delete gdb_txt and standalone_txt on host
5784 and target. Spawn the binary on target. Copy files from
5787 2016-08-22 Pedro Alves <palves@redhat.com>
5790 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5791 with_test_prefix. Factor out bits to ...
5792 (test_no_vdso): ... this new procedure.
5794 2016-08-19 Carl Love <cel@us.ibm.com>
5796 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5797 maintaining separate logic for constructing the output path.
5798 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5799 * gdb.arch/ppc-dfp.exp: Likewise.
5800 * gdb.arch/ppc-fp.exp: Likewise.
5801 * gdb.arch/vsx-regs.exp: Likewise.
5802 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5803 binprefix for generating the additional binary files.
5805 2016-08-19 Pedro Alves <palves@redhat.com>
5807 * gdb.trace/mi-trace-frame-collected.exp
5808 (test_trace_frame_collected): On x32, expect two registers.
5810 2016-08-18 Carl Love <cel@us.ibm.com>
5812 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5813 and sync up the test with tests in gas/testsuite/gas/ppc.
5814 * gdb.arch/powerpc-power.exp: Likewise.
5816 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5818 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5819 expected error message.
5821 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5823 * gdb.multi/remove-inferiors.exp: New file.
5824 * gdb.multi/remove-inferiors.c: New file.
5826 2016-08-12 Yao Qi <yao.qi@linaro.org>
5828 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5831 2016-08-10 Pedro Alves <palves@redhat.com>
5834 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5837 2016-08-09 Pedro Alves <palves@redhat.com>
5838 Simon Marchi <simon.marchi@ericsson.com>
5841 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5842 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5844 2016-08-09 Pedro Alves <palves@redhat.com>
5847 * gdb.mi/mi-cmd-error.exp: New file.
5849 2016-08-09 Pedro Alves <palves@redhat.com>
5852 * gdb.base/signals-state-child.c: New file.
5853 * gdb.base/signals-state-child.exp: New file.
5854 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5856 2016-08-09 Pedro Alves <palves@redhat.com>
5858 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5860 2016-08-03 Tom Tromey <tom@tromey.com>
5863 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5865 2016-08-01 Yao Qi <yao.qi@linaro.org>
5867 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5868 variable mode to "multi-process" if $multi_process is 1, otherwise
5869 set it to "single-process".
5871 2016-08-01 Yao Qi <yao.qi@linaro.org>
5873 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5874 * gdb.cp/cpexprs.exp: Likewise.
5875 * gdb.cp/m-static.exp: Likewise.
5877 2016-07-26 Tom Tromey <tom@tromey.com>
5880 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5883 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5885 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5886 selecting assembly source files.
5887 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5888 assembly source files.
5889 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5890 assembly source files.
5891 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5892 selecting assembly source files.
5894 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5896 * gdb.base/new-ui.exp (do_test_invalid_args): New
5899 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5901 * gdb.btrace/reconnect.c: New file.
5902 * gdb.btrace/reconnect.exp: New file.
5904 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5906 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5907 to test_catch_syscall_group.
5908 (test_catch_syscall_group): New.
5910 2016-07-21 Tom Tromey <tom@tromey.com>
5912 * gdb.rust/simple.rs (main): Use empty struct expression.
5913 * gdb.rust/simple.exp: Add tests for empty struct expression.
5915 2016-07-21 Yao Qi <yao.qi@linaro.org>
5917 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5918 if gdb_skip_xml_test is true on some targets.
5920 2016-07-21 Yao Qi <yao.qi@linaro.org>
5922 * gdb.server/solib-list.exp: Unset last_loaded_file.
5924 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5926 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5927 "step into captured_main (args)".
5929 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5931 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5933 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5935 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5937 2016-07-19 Pedro Alves <palves@redhat.com>
5939 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5940 * gdb.opt/inline-bt.exp: Likewise.
5941 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5942 additional_flags=-Winline.
5943 * gdb.opt/inline-locals.exp: Likewise.
5944 * gdb.opt/inline-markers.c (ATTR): Define.
5945 (inlined_fn): Use it.
5947 2016-07-19 Yao Qi <yao.qi@linaro.org>
5949 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5950 (test_with_self): Remove some code. Remove argument executable.
5951 (top-level): Use do_self_tests.
5953 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5954 Don Breazeal <donb@codesourcery.com>
5956 * gdb.base/maint.exp: Escape paths used in regular expressions.
5957 * gdb.stabs/weird.exp: Likewise.
5959 2016-07-13 Tom Tromey <tom@tromey.com>
5961 PR python/15620, PR python/18620:
5962 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5963 (test_bkpt_events): New procs.
5965 2016-07-13 Tom Tromey <tom@tromey.com>
5968 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5970 (test_watchpoints): Likewise.
5971 (test_bkpt_pending): New proc.
5973 2016-07-13 Tom Tromey <tom@tromey.com>
5976 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5979 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5981 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5982 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5983 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5985 (g): Rename g_end_lbl to g_label.
5986 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5988 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5990 2016-07-12 Tom Tromey <tom@tromey.com>
5993 * gdb.python/py-unwind-maint.exp: Update tests.
5995 2016-07-12 Yao Qi <yao.qi@linaro.org>
5997 * lib/selftest-support.exp (selftest_setup): Match the output
5998 when captured_main is inlined.
6000 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6002 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6004 (print this%a, print this%b, print this): New tests.
6005 * gdb.fortran/derived-types.f90 (this): New object and
6008 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6010 * gdb.ada/arraydim.exp: Remove extra directory level in build
6013 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6015 * lib/ada.exp: Remove extra directory level in build directory.
6016 * gdb.ada/cond_lang.exp: Likewise.
6017 * gdb.ada/exec_changed.exp: Likewise.
6018 * gdb.ada/lang_switch.exp: Likewise.
6020 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6022 * simple.rs: Add test for raw pointer subscripting.
6023 * simple.exp: Add test expectations.
6025 2016-07-05 Yao Qi <yao.qi@linaro.org>
6027 * gdb.mi/mi-reverse.exp: Match =record-started output.
6029 2016-07-01 Pedro Alves <palves@redhat.com>
6031 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6033 (jit_reader_test): Test the jit reader's unwinder.
6034 * gdb.base/jithost.c (jit_function_00_code): New global.
6035 (main): Use memcpy to fill in the mmapped code, instead of poking
6036 bytes manually here.
6037 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6039 (read_debug_info): Save the function's range.
6040 (read_sp): New function.
6041 (unwind_frame): Use it. Also unwind RBP.
6042 (get_frame_id): Use read_sp.
6043 (gdb_init_reader): Use calloc instead of malloc.
6044 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6045 parameter. Use gdb_test_multiple.
6047 2016-07-01 Pedro Alves <palves@redhat.com>
6048 Antoine Tremblay <antoine.tremblay@ericsson.com>
6050 * gdb.threads/process-dies-while-detaching.c: New file.
6051 * gdb.threads/process-dies-while-detaching.exp: New file.
6053 2016-07-01 Pedro Alves <palves@redhat.com>
6055 * gdb.multi/watchpoint-multi-exit.c: New file.
6056 * gdb.multi/watchpoint-multi-exit.exp: New file.
6058 2016-06-30 Pedro Alves <palves@redhat.com>
6060 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6061 unset inferior_spawn_id.
6063 2016-06-30 Pedro Alves <palves@redhat.com>
6065 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6066 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6068 2016-06-29 Yao Qi <yao.qi@linaro.org>
6070 * gdb.base/return.c: Add copyright header.
6072 2016-06-29 Tom Tromey <tom@tromey.com>
6075 * gdb.python/py-framefilter.exp: Add tests for setting priority
6076 and disabling of non-existent frame filter.
6078 2016-06-29 Yao Qi <yao.qi@linaro.org>
6080 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6083 2016-06-28 Yao Qi <yao.qi@linaro.org>
6085 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6086 triplets. Start gdb, execute catch syscall, and continue. Check
6087 gdb's output to determine catch syscall is supported.
6089 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6091 * gdb.rust/simple.rs: Add test for returning unit in a function.
6092 * gdb.rust/simple.exp: Add expectation for functions returning
6095 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6097 * gdb.python/py-breakpoint-create-fail.c,
6098 gdb.python/py-breakpoint-create-fail.exp,
6099 gdb.python/py-breakpoint-create-fail.py: New testcase.
6101 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6104 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6105 * gdb.rust/simple.exp: Add test expectations for new NonZero
6108 2016-06-24 David Taylor <dtaylor@emc.com>
6110 * gdb.base/offsets.exp: New file.
6111 * gdb.base/offsets.c: New file.
6113 2016-06-23 Tom Tromey <tom@tromey.com>
6116 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6117 before any filters are loaded.
6119 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6121 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6122 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6124 * gdb.fortran/derived-type-function.exp: New file.
6125 * gdb.fortran/derived-type-function.f90: New file.
6128 2016-06-21 Pedro Alves <palves@redhat.com>
6130 * gdb.base/new-ui.exp: New file.
6131 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6132 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6133 (with_spawn_id): New procedure.
6135 2016-06-21 Pedro Alves <palves@redhat.com>
6137 * gdb.mi/mi-exec-run.exp: New file.
6139 2016-06-21 Pedro Alves <palves@redhat.com>
6141 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6142 breakpoint command's output on the main UI.
6143 (test_break): New procedure, factored out from calls in the top
6145 (top level): Use foreach_with_prefix to test MI as main UI and as
6148 2016-06-21 Pedro Alves <palves@redhat.com>
6150 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6151 (test_awatch_creation_and_listing)
6152 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6153 Remove 'type' parameter.
6154 (test_watchpoint_all): New parameter mi_mode. Remove
6156 (top level): Use foreach_with_prefix, and add main/separate UI MI
6159 2016-06-21 Pedro Alves <palves@redhat.com>
6161 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6162 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6163 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6164 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6165 (gdb_main_spawn_id, mi_spawn_id): Declare and
6167 (mi_create_inferior_pty): New procedure,
6168 factored out from default_mi_gdb_start.
6169 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6171 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6172 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6173 Use mi_create_inferior_pty.
6174 (mi_gdb_start): Use eval to pass down args list.
6176 2016-06-21 Pedro Alves <palves@redhat.com>
6178 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6179 * gdb.opt/inline-cmds.exp: Add MI tests.
6181 2016-06-21 Pedro Alves <palves@redhat.com>
6183 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6185 2016-06-21 Pedro Alves <palves@redhat.com>
6187 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6188 (top level): Use it instead of mi_execute_to.
6190 2016-06-21 Pedro Alves <palves@redhat.com>
6192 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6193 (cont_handler_str): New.
6194 (signal_stop_handler): Set stop_handler_str instead of printing to
6196 (continue_handler): Set cont_handler_str instead of printing to
6198 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6199 mi_send_resuming_command. Print stop_handler_str and
6200 cont_handler_str instead of expecting the python events print
6203 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6205 * gdb.base/jit-reader.exp: New file.
6206 * gdb.base/jithost.c: New file.
6207 * gdb.base/jithost.h: New file.
6208 * gdb.base/jitreader.c : New file.
6209 * gdb.base/jit-protocol.h: New file.
6211 2016-06-17 Yao Qi <yao.qi@linaro.org>
6213 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6214 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6215 and detach-on-fork. Adjust tests.
6216 (top level): Invoke break_cond_on_syscall with combinations of
6217 syscall, follow-fork-mode and detach-on-fork.
6219 2016-06-17 Yao Qi <yao.qi@linaro.org>
6221 * gdb.base/step-over-exit.c: New.
6222 * gdb.base/step-over-exit.exp: New.
6224 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6226 * gdb.base/float.exp: Add target check for nds32*-*-*.
6227 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6229 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6231 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6232 for unsupported target features.
6233 * gdb.base/call-rt-st.exp: Likewise.
6234 * gdb.base/call-sc.exp: Likewise.
6235 * gdb.base/call-signal-resume.exp: Likewise.
6236 * gdb.base/call-strs.exp: Likewise.
6237 * gdb.base/callexit.exp: Likewise.
6238 * gdb.base/callfuncs.exp: Likewise.
6239 * gdb.base/nodebug.exp: Likewise.
6240 * gdb.base/printcmds.exp: Likewise.
6241 * gdb.base/ptype.exp: Likewise.
6242 * gdb.base/structs.exp: Likewise.
6243 * gdb.base/unwindonsignal.exp: Likewise.
6244 * gdb.cp/gdb2495.exp: Likewise.
6245 * gdb.cp/templates.exp: Likewise.
6246 * gdb.cp/virtfunc.exp: Likewise.
6247 * gdb.threads/hand-call-in-threads.exp: Likewise.
6248 * gdb.threads/interrupted-hand-call.exp: Likewise.
6249 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6251 2016-06-10 Tom Tromey <tom@tromey.com>
6254 * gdb.rust/expr.exp: Add test for integer constant larger than
6257 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6259 * gdb.fortran/nested-funcs.exp: New.
6260 * gdb.fortran/nested-funcs.f90: New.
6262 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6264 * gdb.base/examine-backward.c: New file.
6265 * gdb.base/examine-backward.exp: New file.
6267 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6269 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6272 2016-06-02 Tom Tromey <tom@tromey.com>
6275 * gdb.python/py-shared.exp: Add solib_name test.
6277 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6279 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6281 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6284 * gdb.dwarf2/implref.exp: Rename to...
6285 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6286 * gdb.dwarf2/implref-array.c: New file.
6287 * gdb.dwarf2/implref-array.exp: Likewise.
6288 * gdb.dwarf2/implref-global.c: Likewise.
6289 * gdb.dwarf2/implref-global.exp: Likewise.
6290 * gdb.dwarf2/implref-struct.c: Likewise.
6291 * gdb.dwarf2/implref-struct.exp: Likewise.
6293 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6295 * gdb.trace/trace-condition.exp: Add 64bit tests.
6297 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6299 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6301 (main): Adapt to 8 to 64 bits types.
6302 * gdb.trace/trace-condition.exp: Add new tests.
6304 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6306 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6308 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6310 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6311 Move condition tests...
6312 * gdb.trace/trace-condition.exp: Here.
6314 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6316 * gdb.trace/trace-condition.exp: Add counter-case tests.
6318 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6321 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6322 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6324 2016-05-27 Pedro Alves <palves@redhat.com>
6326 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6328 (top level): Call it, and bail out of DejaGnu is known to be bad.
6330 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6332 * gdb.base/whatis.c: Extend the test case.
6333 * gdb.base/whatis.exp: Add additional tests.
6335 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6337 * gdb.fortran/type.f90: Add pointer variable.
6338 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6340 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6342 * gdb.fortran/vla-type.exp: Fix testcase name.
6344 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6346 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6348 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6350 * gdb.fortran/type.f90: Add nested structures.
6351 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6352 * gdb.fortran/derived-type.exp: Adapt expected output.
6353 * gdb.fortran/vla-type.exp: Adapt expected output.
6355 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6357 * gdb.fortran/whatis_type.exp: Adapt expected output.
6359 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6361 * gdb.fortran/print_type.exp: Fix expected output.
6362 * gdb.fortran/whatis_type.exp: Fix expected output.
6364 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6366 * gdb.fortran/whatis_type.exp: Use multi_line.
6368 2016-05-24 Tom Tromey <tom@tromey.com>
6371 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6372 use value as an index.
6374 2016-05-23 Tom Tromey <tom@tromey.com>
6377 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6380 2016-05-24 Pedro Alves <palves@redhat.com>
6383 * gdb.threads/clone-attach-detach.c: New file.
6384 * gdb.threads/clone-attach-detach.exp: New file.
6386 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6388 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6390 2016-05-23 Tom Tromey <tom@tromey.com>
6392 PR python/19438, PR python/18393:
6393 * gdb.python/py-progspace.exp: Add "dir" test.
6394 * gdb.python/py-objfile.exp: Add "dir" test.
6396 2016-05-23 Yao Qi <yao.qi@linaro.org>
6398 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6399 * gdb.arch/thumb2-it.exp: Likewise.
6401 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6403 * gdb.mi/mi-threads-interrupt.c: New file.
6404 * gdb.mi/mi-threads-interrupt.exp: New file.
6406 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6409 * gdb.mi/mi-async-run.exp: New file.
6410 * gdb.mi/mi-async-run.c: New file.
6412 2016-05-17 Tom Tromey <tom@tromey.com>
6413 Manish Goregaokar <manishsmail@gmail.com>
6415 * lib/rust-support.exp: New file.
6416 * lib/gdb.exp (skip_rust_tests): New proc.
6417 (build_executable_from_specs): Handle rust.
6418 * lib/future.exp (gdb_find_rustc): New proc.
6419 (gdb_default_target_compile): Handle rust.
6420 * gdb.rust/expr.exp: New file.
6421 * gdb.rust/generics.exp: New file.
6422 * gdb.rust/generics.rs: New file.
6423 * gdb.rust/methods.exp: New file.
6424 * gdb.rust/methods.rs: New file.
6425 * gdb.rust/modules.exp: New file.
6426 * gdb.rust/modules.rs: New file.
6427 * gdb.rust/simple.exp: New file.
6428 * gdb.rust/simple.rs: New file.
6430 2016-05-17 Tom Tromey <tom@tromey.com>
6432 * gdb.base/default.exp (set language): Add rust.
6434 2016-05-17 Tom Tromey <tom@tromey.com>
6436 * gdb.gdb/unittest.exp: New file.
6438 2016-05-16 Yao Qi <yao.qi@linaro.org>
6440 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6441 shell_prompt. Update shell_prompt_re.
6443 2016-05-12 Doug Evans <dje@google.com>
6446 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6447 $options when building executable.
6448 * gdb.dwarf2/fission-loclists-pie.S: New file.
6449 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6451 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6453 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
6454 of [is_remote target],
6456 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6458 * lib/gdb.exp (use_gdb_stub): New procedure.
6460 2016-05-03 Yunlian Jiang <yunlian@google.com>
6461 Doug Evans <dje@google.com>
6464 * gdb.dwarf2/dwp-sepdebug.c: New file.
6465 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6467 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6469 * gdb.base/detach.exp: Remove is_remote check.
6471 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6473 * gdb.base/annota-input-while-running.exp: Don't check for
6474 [is_remote target]. Enable annotations after running to main.
6475 Remove unused "set test..." line.
6477 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6479 * gdb.trace/trace-enable-disable.exp: New file.
6480 * gdb.trace/trace-enable-disable.c: New file.
6482 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6484 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6485 use it in info sharedlibrary test.
6486 * gdb.trace/ftrace-lock.exp: Likewise.
6487 * gdb.trace/ftrace.exp: Likewise.
6488 * gdb.trace/range-stepping.exp: Likewise.
6489 * gdb.trace/trace-break.exp: Likewise.
6490 * gdb.trace/trace-condition.exp: Likewise.
6491 * gdb.trace/trace-mt.exp: Likewise.
6493 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6495 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6496 (gdb_load_shlib): ... this.
6497 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6499 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6500 * gdb.base/ctxobj.exp: Likewise.
6501 * gdb.base/dprintf-pending.exp: Likewise.
6502 * gdb.base/dso2dso.exp: Likewise.
6503 * gdb.base/fixsection.exp: Likewise.
6504 * gdb.base/gcore-relro.exp: Likewise.
6505 * gdb.base/gdb1555.exp: Likewise.
6506 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6507 * gdb.base/gnu-ifunc.exp: Likewise.
6508 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6509 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6510 * gdb.base/pending.exp: Likewise.
6511 * gdb.base/print-file-var.exp: Likewise.
6512 * gdb.base/print-symbol-loading.exp: Likewise.
6513 * gdb.base/shlib-call.exp: Likewise.
6514 * gdb.base/shreloc.exp: Likewise.
6515 * gdb.base/so-impl-ld.exp: Likewise.
6516 * gdb.base/solib-disc.exp: Likewise.
6517 * gdb.base/solib-nodir.exp: Likewise.
6518 * gdb.base/solib-overlap.exp: Likewise.
6519 * gdb.base/solib-symbol.exp: Likewise.
6520 * gdb.base/solib-weak.exp (do_test): Likewise.
6521 * gdb.base/sym-file.exp: Likewise.
6522 * gdb.base/symtab-search-order.exp: Likewise.
6523 * gdb.base/type-opaque.exp: Likewise.
6524 * gdb.base/unload.exp: Likewise.
6525 * gdb.base/watchpoint-solib.exp: Likewise.
6526 * gdb.compile/compile.exp: Likewise.
6527 * gdb.cp/gdb2384.exp: Likewise.
6528 * gdb.cp/infcall-dlopen.exp: Likewise.
6529 * gdb.cp/re-set-overloaded.exp: Likewise.
6530 * gdb.fortran/library-module.exp: Likewise.
6531 * gdb.opt/solib-intra-step.exp: Likewise.
6532 * gdb.python/py-finish-breakpoint.exp: Likewise.
6533 * gdb.python/py-shared.exp: Likewise.
6534 * gdb.reverse/solib-precsave.exp: Likewise.
6535 * gdb.reverse/solib-reverse.exp: Likewise.
6536 * gdb.server/solib-list.exp: Likewise.
6537 * gdb.threads/dlopen-libpthread.exp: Likewise.
6538 * gdb.threads/tls-shared.exp: Likewise.
6539 * gdb.threads/tls-so_extern.exp: Likewise.
6540 * gdb.trace/change-loc.exp: Likewise.
6541 * gdb.trace/ftrace-lock.exp: Likewise.
6542 * gdb.trace/ftrace.exp: Likewise.
6543 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6544 * gdb.trace/pending.exp: Likewise.
6545 * gdb.trace/range-stepping.exp: Likewise.
6546 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6547 (strace_info_marker): Likewise.
6548 (strace_probe_marker): Likewise.
6549 (strace_trace_on_same_addr): Likewise.
6550 (strace_trace_on_diff_addr): Likewise.
6551 * gdb.trace/trace-break.exp: Likewise.
6552 * gdb.trace/trace-condition.exp: Likewise.
6553 * gdb.trace/trace-mt.exp: Likewise.
6555 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6557 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6558 result of gdb_remote_download.
6559 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6560 * gdb.base/dso2dso.exp: Likewise.
6561 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6562 * gdb.base/print-file-var.exp: Likewise.
6563 * gdb.base/shlib-call.exp: Likewise.
6564 * gdb.base/shreloc.exp: Likewise.
6565 * gdb.base/solib-overlap.exp: Likewise.
6566 * gdb.base/solib-weak.exp (do_test): Likewise.
6567 * gdb.base/unload.exp: Likewise.
6569 2016-04-27 Yao Qi <yao.qi@linaro.org>
6571 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6574 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6576 * vla-type.exp: Print structure from toplevel.
6578 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6580 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6582 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6585 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6587 * gdb.fortran/vla-type.f90: New file.
6588 * gdb.fortran/vla-type.exp: New file.
6590 2016-04-25 Yao Qi <yao.qi@linaro.org>
6592 * gdb.base/branch-to-self.c: New file.
6593 * gdb.base/branch-to-self.exp: New file.
6595 2016-04-22 Yao Qi <yao.qi@linaro.org>
6597 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6600 2016-04-22 Yao Qi <yao.qi@linaro.org>
6602 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6603 * gdb.base/annota3.exp: Likewise.
6605 2016-04-22 Yao Qi <yao.qi@linaro.org>
6607 * gdb.reverse/step-precsave.exp: Do one step and test program
6608 stops in "callee" and do multiple steps until program goes out
6610 * gdb.reverse/step-reverse.exp: Likewise.
6612 2016-04-22 Yao Qi <yao.qi@linaro.org>
6614 * gdb.trace/signal.exp: Also pass if
6615 $tracepoint_hits($i) > $iterations.
6617 2016-04-22 Yao Qi <yao.qi@linaro.org>
6619 * gdb.trace/signal.c: New file.
6620 * gdb.trace/signal.exp: New file.
6622 2016-04-19 Doug Evans <xdje42@gmail.com>
6624 * gdb.base/bad-file.exp: New file.
6626 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6628 * gdb.dwarf2/implref.exp: New file.
6630 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6632 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6633 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6634 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6635 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6636 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6637 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6638 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6639 * lib/fortran.exp (fortran_int4): New procedure.
6640 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6641 (fortran_logical4): Likewise.
6643 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6645 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6647 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6649 * lib/compiler.c: Add Intel specific preprocessor macros.
6650 * lib/compiler.cc: Likewise.
6652 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6654 * gdb.server/connect-with-no-symbol-file.c: New file.
6655 * gdb.server/connect-with-no-symbol-file.exp: New file.
6657 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6659 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6661 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6663 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6664 standard output directory.
6666 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6668 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6670 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6672 * gdb.btrace/instruction_history.c (loop): Add declaration.
6674 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6676 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6678 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6680 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6681 parentheses to print.
6682 (continue_handler): Likewise.
6684 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6686 * gdb.server/solib-list.exp: Remove is_remote check.
6687 Pass shlib= to gdb_compile. Don't link shared library with
6688 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6689 Run binary filename through "readlink -f" on the target.
6691 2016-04-08 Pedro Alves <palves@redhat.com>
6693 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6694 interpreter filename as argument to gdbserver_spawn.
6695 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6696 Return empty if $last_loaded_file does not exist.
6698 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6700 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6701 * gdb.base/jit-main.c: Use exit after usage.
6703 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6705 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6706 GDBHISTSIZE prior to the tests.
6707 * gdb.base/gdbinit-history.exp: Likewise.
6709 2016-04-07 Pedro Alves <palves@redhat.com>
6711 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6712 instead of build_executable. Use gdb_load_shlibs.
6714 2016-04-07 Yao Qi <yao.qi@linaro.org>
6716 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6717 Execute "si" command.
6719 2016-04-07 Yao Qi <yao.qi@linaro.org>
6721 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6722 number instead of the comments on some line.
6724 2016-04-06 Don Breazeal <donb@codesourcery.com>
6726 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6727 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6729 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6731 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6732 standard_output_file. Remove unused binfile variable.
6734 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6736 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6737 * gdb.python/py-mi-objfile.exp: Match "list main" output
6740 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6742 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6745 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6747 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6749 * gdb.trace/ftrace.exp: Likewise.
6750 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6752 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6753 (gdb_load_shlibs): Copy libraries to test directory when testing
6754 natively. Only set solib-search-path if testing remotely.
6755 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6757 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6759 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6760 gdb_download. Use it even if the target is not remote.
6761 * gdb.base/jit.exp (compile_jit_test): Likewise.
6762 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6763 output directory if the destination board is local, otherwise use
6764 the standard remote_download from DejaGnu.
6765 (gdb_download): Remove.
6766 (gdb_load_shlibs): Use gdb_remote_download instead of
6768 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6769 Use gdb_remote_download instead of gdb_download. Use it even if
6770 the target is not remote.
6771 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6772 instead of gdb_download.
6774 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6776 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6777 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6780 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6783 * gdb.base/printcmds.exp: Add artificial arrays tests.
6785 2016-03-31 Pedro Alves <palves@redhat.com>
6788 * gdb.base/jit-main.c: Include unistd.h.
6789 (ATTACH): Define to 0 if not already defined.
6790 (wait_for_gdb, mypid): New globals.
6791 (WAIT_FOR_GDB): New macro.
6792 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6793 some breakpoint locations.
6794 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6796 (one_jit_test): Add REATTACH parameter, and handle it. Use
6797 continue_to_test_location.
6798 (top level): Test attach, and adjusts calls to one_jit_test.
6800 2016-03-31 Pedro Alves <palves@redhat.com>
6803 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6804 BINSUFFIX parameter, and handle it.
6805 (top level): Adjust calls compile_jit_test.
6807 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6810 * gdb.python/py-mi-events-gdb.py: New file.
6811 * gdb.python/py-mi-events.c: New file.
6812 * gdb.python/py-mi-events.exp: New file.
6814 2016-03-30 Yao Qi <yao.qi@linaro.org>
6816 * gdb.reverse/until-precsave.exp: Match function name only.
6817 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6818 Move malloc to a condition block.
6819 * gdb.reverse/until-reverse.exp: Match function name only.
6821 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6823 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6824 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6825 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6826 variable for GPR 0 instead of assuming it is register 0.
6827 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6828 * lib/trace-support.exp: Add s390 registers.
6830 2016-03-29 Yao Qi <yao.qi@linaro.org>
6832 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6834 2016-03-24 Yao Qi <yao.qi@linaro.org>
6836 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6839 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6841 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6842 maintaining separate logic for constructing the output path.
6844 2016-03-16 Don Breazeal <donb@codesourcery.com>
6846 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6847 Retry fork and waitpid on interrupted system call errors.
6848 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6849 Use with_timeout_factor to increase timeout by factor of 10.
6851 2016-03-15 Don Breazeal <donb@codesourcery.com>
6853 * gdb.cp/scope-err.cc: New test program.
6854 * gdb.cp/scope-err.exp: New test script.
6855 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6856 lines and "set breakpoint here" comment.
6857 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6858 Fixed some whitespace and format issues.
6859 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6860 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6862 2016-03-15 Doug Evans <dje@google.com>
6864 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6865 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6866 All callers updated. Add tests for enums, mixed flags register.
6868 2016-03-15 Doug Evans <dje@google.com>
6870 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6871 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6873 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6875 * gdb.base/default.exp: Add $_as_string to the list of expected
6876 convenience functions.
6878 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6880 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6882 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6884 * gdb.python/py-as-string.exp: New file.
6885 * gdb.python/py-as-string.c: New file.
6887 2016-03-09 Pedro Alves <palves@redhat.com>
6889 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6890 signal" -> "Thread NN received signal" output change.
6891 * gdb.threads/ia64-sigill.exp: Likewise.
6892 * gdb.threads/linux-dp.exp: Likewise.
6893 * gdb.threads/manythreads.exp: Likewise.
6894 * gdb.threads/pending-step.exp: Likewise.
6895 * gdb.threads/print-threads.exp: Likewise.
6896 * gdb.threads/sigstep-threads.exp: Likewise.
6897 * gdb.threads/staticthreads.exp: Likewise.
6898 * gdb.threads/tls.exp: Likewise.
6900 2016-03-09 Pedro Alves <palves@redhat.com>
6902 * gdb.base/command-line-input.exp: New file.
6904 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6906 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6907 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6908 * gdb.trace/pending.exp: Accept leading dot before function name.
6909 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6910 * lib/trace-support.exp: Set registers for ppc.
6912 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6914 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6915 use it for disassembly; accept .main in addition to main in backtrace.
6917 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6918 Marcin Kościelnicki <koriakin@0x04.net>
6920 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6921 (gdb_recursion_test_ptr): New global variable.
6922 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6924 (gdb_c_test): Ditto.
6926 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6928 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6931 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6933 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6934 (bar): Add bar_start_lbl label.
6935 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6936 of foo/bar for emitting DWARF and tracing.
6938 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6940 * analyze-racy-logs.py: Set executable bit.
6942 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6944 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6945 (CHECK_TARGET_TMP): Likewise.
6946 (check-single-racy): New rule.
6947 (check-parallel-racy): Likewise.
6948 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6949 (do-check-parallel-racy): New rule.
6950 (check-racy/%.exp): Likewise.
6951 * README (Racy testcases): New section.
6952 * analyze-racy-logs.py: New file.
6954 2016-03-03 Doug Evans <dje@google.com>
6956 * gdb.base/skip.exp: Use with_test_prefix.
6958 2016-03-03 Yao Qi <yao.qi@linaro.org>
6960 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6961 Invoke step_over_syscall "clone" and break_cond_on_syscall
6963 * gdb.base/step-over-clone.c: New file.
6965 2016-03-03 Yao Qi <yao.qi@linaro.org>
6967 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6970 2016-03-03 Yao Qi <yao.qi@linaro.org>
6972 * gdb.base/disp-step-fork.c: Rename to ...
6973 * gdb.base/step-over-fork.c: ... it. New file.
6974 * gdb.base/disp-step-vfork.c: Rename to ...
6975 * gdb.base/step-over-vfork.c: ... it. New file.
6976 * gdb.base/disp-step-syscall.exp: Rename to ...
6977 * gdb.base/step-over-syscall.exp: ... it. New file.
6978 (disp_step_cross_syscall): Rename to ...
6979 (step_over_syscall): ... it.
6981 2016-03-03 Yao Qi <yao.qi@linaro.org>
6983 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6984 If target supports condition evaluation on target, invoke
6985 break_cond_on_syscall for fork and vfork.
6987 2016-03-03 Yao Qi <yao.qi@linaro.org>
6989 * gdb.base/disp-step-syscall.exp: Don't invoke
6990 support_displaced_stepping.
6991 (disp_step_cross_syscall): Test with displaced stepping off and
6994 2016-03-03 Yao Qi <yao.qi@linaro.org>
6996 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6999 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7002 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7004 * gdb.fortran/vla-history.exp: Remove breakpoint.
7006 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7008 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7011 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7013 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7016 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7018 * gdb.mi/vla.f90: Nullify pointer after declaration.
7020 2016-03-01 Pedro Alves <palves@redhat.com>
7022 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7024 2016-03-01 Pedro Alves <palves@redhat.com>
7026 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7027 before anything else.
7028 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7030 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7031 before anything else.
7032 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7034 2016-03-01 Pedro Alves <palves@redhat.com>
7036 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7038 2016-03-01 Yao Qi <yao.qi@linaro.org>
7040 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7041 prepare_for_testing.
7043 2016-03-01 Yao Qi <yao.qi@linaro.org>
7045 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7047 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7049 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7050 manually constructing the output path.
7052 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7054 * gdb.arch/s390-stackless.S: New.
7055 * gdb.arch/s390-stackless.exp: New.
7057 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7059 * gdb.dlang/circular.c: New file.
7060 * gdb.dlang/circular.exp: New file.
7062 2016-02-26 Yao Qi <yao.qi@linaro.org>
7064 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7065 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7066 (testcases): Update.
7068 2016-02-26 Yao Qi <yao.qi@linaro.org>
7070 * gdb.reverse/aarch64.c: Rename to ...
7071 * gdb.reverse/insn-reverse.c: ... it.
7072 * gdb.reverse/aarch64.exp: Rename to ...
7073 * gdb.reverse/insn-reverse.exp: ... it.
7075 2016-02-26 Yao Qi <yao.qi@linaro.org>
7077 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7078 (testcase_ftype): New.
7079 (testcases): New array.
7081 (main): Call each element in testcases.
7082 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7083 (read_testcase): New.
7084 Do the tests in a loop.
7086 2016-02-25 Yao Qi <yao.qi@linaro.org>
7088 * gdb.base/branches.c: Remove.
7090 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7093 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7095 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7097 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7099 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7101 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7102 change x86_64 call_insn to 'callq'.
7104 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7106 * gdb.trace/tfile-avx.c: Move to...
7107 * gdb.trace/tracefile-pseudo-reg.c: Here.
7108 * gdb.trace/tfile-avx.exp: Move to...
7109 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7111 2016-02-24 Gary Benson <gbenson@redhat.com>
7113 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7116 2016-02-23 Doug Evans <dje@google.com>
7118 * gdb.base/skip.c (test_skip): New function.
7119 (end_test_skip_file_and_function): New function.
7120 (test_skip_file_and_function): New function.
7121 * gdb.base/skip1.c (test_skip): New function.
7122 (skip1_test_skip_file_and_function): New function.
7123 * gdb.base/skip.exp: Add tests for new skip options.
7124 * gdb.base/skip-solib.exp: Update expected output.
7125 * gdb.perf/skip-command.cc: New file.
7126 * gdb.perf/skip-command.exp: New file.
7127 * gdb.perf/skip-command.py: New file.
7129 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7131 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7132 info registers pattern.
7134 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7136 * lib/future.exp: Add D support.
7137 (gdb_find_gdc): New proc.
7138 (gdb_default_target_compile): Add D support.
7140 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7142 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7144 (trace_speed_test): Determine the iteration count for a time
7145 between 15..30 seconds.
7147 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7149 * gdb.arch/i386-mpx-sigsegv.c: New file.
7150 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7151 * gdb.arch/i386-mpx-simple_segv.c: New file.
7152 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7154 2016-02-18 Yao Qi <yao.qi@linaro.org>
7156 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7157 Don't call setup_kfail.
7159 2016-02-18 Yao Qi <yao.qi@linaro.org>
7161 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7162 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7164 2016-02-16 Doug Evans <dje@google.com>
7166 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7167 * gdb.base/skip1.c: Ditto.
7168 * gdb.base/skip.exp: Whitespace cleanup.
7170 2016-02-16 Don Breazeal <donb@codesourcery.com>
7173 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7174 Remove kfail for PR remote/19496.
7176 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7178 * lib/gdb.exp (standard_temp_file): Return a path specific to
7179 the runtest invocation.
7181 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7183 * gdb.trace/save-trace.exp: Change relative path to be in the
7184 standard output directory.
7186 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7188 * gdb.arch/i386-prologue.c: Add missing prototypes.
7190 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7192 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7193 * gdb.arch/i386-prologue.exp: Likewise.
7194 * gdb.arch/i386-size.exp: Likewise.
7196 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7198 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7199 define object file path.
7200 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7202 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7203 standard_output_file to define binfile.
7205 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7207 Fix compatibility with recent gfortran-5.3.1.
7208 * gdb.fortran/vla-history.exp (print vla1 allocated)
7209 (print vla2 allocated, print $2, print $3): Remove
7210 (print $4): Rename to ...
7211 (print $2): ... here.
7212 (print $9): Rename to ...
7213 (print $5): ... here.
7214 (print $10): Rename to ...
7215 (print $6): ... here.
7216 * gdb.fortran/vla.f90: Add pvla initialization.
7218 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7220 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7222 * gdb.fortran/vla-value-sub.exp: Likewise.
7224 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7226 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7228 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7230 * i386-biarch-core.exp: Define corefile using
7231 standard_output_file.
7233 2016-02-12 Yao Qi <yao.qi@linaro.org>
7235 * gdb.arch/arm-single-step-kernel-helper.c: New.
7236 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7238 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7240 * gdb.btrace/tailcall-only.exp: New.
7241 * gdb.btrace/tailcall-only.c: New.
7242 * gdb.btrace/x86_64-tailcall-only.S: New.
7243 * gdb.btrace/i686-tailcall-only.S: New.
7245 2016-02-11 Pedro Alves <palves@redhat.com>
7247 * README (Parallel testing): Add missing double quotes.
7249 2016-02-11 Pedro Alves <palves@redhat.com>
7251 * README (Parallel testing): New section.
7252 (GDB_PARALLEL): Rewrite.
7253 (FORCE_PARALLEL): Document.
7255 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7257 * gdb.trace/tfile-avx.c: New test.
7258 * gdb.trace/tfile-avx.exp: New test.
7260 2016-02-09 Keith Seitz <keiths@redhat.com>
7262 PR breakpoints/19546
7263 * gdb.base/infcall-exec.c: New file.
7264 * gdb.base/infcall-exec2.c: New file.
7265 * gdb.base/infcall-exec.exp: New file.
7267 2016-02-09 Keith Seitz <keiths@redhat.com>
7269 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7270 (toplevel): Call test_bkpt_address.
7272 2016-02-09 Keith Seitz <keiths@redhat.com>
7275 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7276 (toplevel): Call test_bkpt_address.
7278 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7280 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7282 * configure: Regenerate.
7284 2016-02-09 Pedro Alves <palves@redhat.com>
7286 PR breakpoints/19548
7287 * gdb.base/execl-update-breakpoints.c (some_function): New
7290 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7291 Tighten expected GDB output.
7293 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7295 * Makefile.in (ALL_SUBDIRS): Remove.
7296 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7297 (distclean maintainer-clean realclean): Likewise.
7298 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7299 * configure: Regenerate.
7300 * gdb.ada/Makefile.in: Delete.
7301 * gdb.arch/Makefile.in: Likewise.
7302 * gdb.asm/Makefile.in: Likewise.
7303 * gdb.base/Makefile.in: Likewise.
7304 * gdb.btrace/Makefile.in: Likewise.
7305 * gdb.cell/Makefile.in: Likewise.
7306 * gdb.compile/Makefile.in: Likewise.
7307 * gdb.cp/Makefile.in: Likewise.
7308 * gdb.disasm/Makefile.in: Likewise.
7309 * gdb.dlang/Makefile.in: Likewise.
7310 * gdb.dwarf2/Makefile.in: Likewise.
7311 * gdb.fortran/Makefile.in: Likewise.
7312 * gdb.gdb/Makefile.in: Likewise.
7313 * gdb.go/Makefile.in: Likewise.
7314 * gdb.guile/Makefile.in: Likewise.
7315 * gdb.java/Makefile.in: Likewise.
7316 * gdb.linespec/Makefile.in: Likewise.
7317 * gdb.mi/Makefile.in: Likewise.
7318 * gdb.modula2/Makefile.in: Likewise.
7319 * gdb.multi/Makefile.in: Likewise.
7320 * gdb.objc/Makefile.in: Likewise.
7321 * gdb.opencl/Makefile.in: Likewise.
7322 * gdb.opt/Makefile.in: Likewise.
7323 * gdb.pascal/Makefile.in: Likewise.
7324 * gdb.perf/Makefile.in: Likewise.
7325 * gdb.python/Makefile.in: Likewise.
7326 * gdb.reverse/Makefile.in: Likewise.
7327 * gdb.server/Makefile.in: Likewise.
7328 * gdb.stabs/Makefile.in: Likewise.
7329 * gdb.threads/Makefile.in: Likewise.
7330 * gdb.trace/Makefile.in: Likewise.
7331 * gdb.xml/Makefile.in: Likewise.
7332 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7334 (standard_output_file): Remove check for GDB_PARALLEL, always
7335 return path in outputs/$subdir/$testname.
7337 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7339 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7340 (site.exp): Assign abs_srcdir to tcl's srcdir.
7342 2016-02-04 Yao Qi <yao.qi@linaro.org>
7344 * gdb.base/foll-exec-mode.c: Include limits.h.
7345 (main): Add parameters argc and argv. Get directory from
7347 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7349 * gdb.base/foll-exec.c: Include limits.h.
7350 (main): Add parameters argc and argv.
7351 Get directory from argv[0].
7352 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7353 Adjust tests on the number of lines as source code changed.
7354 * gdb.base/foll-vfork-exit.c: Include limits.h.
7355 (main): Add one line of statement before vfork.
7356 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7357 (main): Add parameters argc and argv. Get directory from
7359 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7360 (setup_gdb): Set tbreak to skip some source lines.
7361 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7362 (main): Add parameters argc and argv. Get directory from
7364 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7366 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7367 (main): Add parameters argc and argv. Get directory from
7369 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7372 2016-02-01 Doug Evans <dje@google.com>
7374 * gdb.base/skip.exp: Clean up multiple references to same test name.
7376 2016-02-01 Pedro Alves <palves@redhat.com>
7379 * gdb.threads/forking-threads-plus-breakpoint.exp
7380 (displaced_stepping_supported): New global.
7381 (probe_displaced_stepping_support): New procedure.
7382 (do_test): Add 'displaced' parameter, and use it.
7383 (top level): Check for displaced stepping support. Add displaced
7384 stepping on/off testing axis.
7386 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7388 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7389 pointer. Don't perform further tests on the unassociated pointer
7390 if the first test fails.
7392 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7394 * gdb.base/max-value-size.c: New file.
7395 * gdb.base/max-value-size.exp: New file.
7396 * gdb.base/huge.exp: Disable max-value-size for this test.
7398 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7400 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7402 2016-01-28 Yao Qi <yao.qi@linaro.org>
7404 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7406 2016-01-25 Pedro Alves <palves@redhat.com>
7409 * gdb.base/fork-running-state.c: New file.
7410 * gdb.base/fork-running-state.exp: New file.
7412 2016-01-25 Pedro Alves <palves@redhat.com>
7415 * gdb.base/catch-fork-kill.c: New file.
7416 * gdb.base/catch-fork-kill.exp: New file.
7418 2016-01-25 Pedro Alves <palves@redhat.com>
7420 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7421 Delete, moved to lib/gdb.exp.
7422 * gdb.threads/forking-threads-plus-breakpoint.exp
7423 (foreach_with_prefix): Likewise.
7424 * gdb.threads/process-dies-while-handling-bp.exp
7425 (foreach_with_prefix): Likewise.
7426 * lib/gdb.exp (foreach_with_prefix): New procedure.
7428 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7430 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7431 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7433 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7435 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7438 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7439 Pedro Alves <palves@redhat.com>
7441 Fix testsuite compatibility with Guile.
7442 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7445 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7447 Fix testsuite compatibility with Guile.
7448 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7449 (thread 1): New test for backtrace through signal handler.
7451 2016-01-22 Yao Qi <yao.qi@linaro.org>
7454 * gdb.base/multi-forks.c: Include
7455 ../lib/unbuffer_output.c
7456 (main): Call gdb_unbuffer_output.
7458 2016-01-21 Doug Evans <dje@google.com>
7460 * lib/ada.exp (gdb_compile_ada): Fix typo.
7462 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7464 * gdb.base/break-fun-addr.exp: New file.
7465 * gdb.base/break-fun-addr1.c: New file.
7466 * gdb.base/break-fun-addr2.c: New file.
7468 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7470 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7471 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7474 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7476 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7477 when GDB can not set the vector return value. Add more comments
7480 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7482 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7485 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7487 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7489 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7491 * Makefile.in (check-single): Pass --status to runtest.
7492 (check/%.exp): Likewise.
7494 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7496 * Makefile.in (check-parallel): Propagate return code from make
7499 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7501 * gdb.trace/ftrace.exp: Fix expected message on continue.
7502 * gdb.trace/pending.exp: Fix expected message on continue.
7503 * gdb.trace/trace-break.exp: Fix expected message on continue.
7505 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7507 * lib/gdb.exp (gdb_test): Remove unused global references.
7509 2016-01-18 Pedro Alves <palves@redhat.com>
7511 * gdb.base/async-shell.exp: Adjust expected output.
7512 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7513 * gdb.base/siginfo-thread.exp: Adjust expected output.
7514 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7515 * gdb.java/jnpe.exp: Adjust expected output.
7516 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7517 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7518 * gdb.threads/leader-exit.exp: Adjust expected output.
7519 * gdb.threads/manythreads.exp: Adjust expected output.
7520 * gdb.threads/pthreads.exp: Adjust expected output.
7521 * gdb.threads/schedlock.exp: Adjust expected output.
7522 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7523 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7525 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7527 * gdb.threads/sigthread.exp: Adjust expected output.
7528 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7530 2016-01-18 Yao Qi <yao.qi@linaro.org>
7532 * gdb.guile/scm-section-script.c: Replace @progbits with
7534 * gdb.python/py-section-script.c: Likewise.
7536 2016-01-15 Pedro Alves <palves@redhat.com>
7538 * gdb.multi/tids.exp: Test star wildcard ranges.
7540 2016-01-15 Pedro Alves <palves@redhat.com>
7542 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7543 command from "thread apply" invocation.
7544 (thr_apply_info_thr_invalid): Default the expected output to the
7546 (top level): Add tests that use convenience variables. Add tests
7547 for "thread apply" with a valid TID list, but missing the command.
7549 2016-01-13 Pedro Alves <palves@redhat.com>
7551 * gdb.base/default.exp: Expect $_gthread as well.
7552 * gdb.multi/tids.exp: Test $_gthread.
7553 * gdb.threads/thread-specific.exp: Test $_gthread.
7555 2016-01-13 Pedro Alves <palves@redhat.com>
7557 * gdb.multi/tids.exp: Test "info threads -gid".
7559 2016-01-13 Pedro Alves <palves@redhat.com>
7561 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7563 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7565 2016-01-07 Pedro Alves <palves@redhat.com>
7567 * gdb.base/break.exp: Adjust to output changes.
7568 * gdb.base/hbreak2.exp: Likewise.
7569 * gdb.base/sepdebug.exp: Likewise.
7570 * gdb.base/watch_thread_num.exp: Likewise.
7571 * gdb.linespec/keywords.exp: Likewise.
7572 * gdb.multi/info-threads.exp: Likewise.
7573 * gdb.threads/thread-find.exp: Likewise.
7574 * gdb.multi/tids.c: New file.
7575 * gdb.multi/tids.exp: New file.
7577 2016-01-13 Pedro Alves <palves@redhat.com>
7579 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7581 2016-01-13 Pedro Alves <palves@redhat.com>
7583 * gdb.base/default.exp: Expect $_inferior as well.
7584 * gdb.multi/base.exp: Test $_inferior.
7586 2016-01-13 Pedro Alves <palves@redhat.com>
7588 PR breakpoints/19388
7589 * gdb.base/catch-signal-siginfo-cond.c: New file.
7590 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7592 2016-01-12 Josh Stone <jistone@redhat.com>
7593 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7595 * gdb.base/catch-syscall.c (do_execve): New variable.
7596 (main): Conditionally trigger an execve.
7597 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7598 (test_catch_syscall_execve): New, check entry/return across execve.
7599 (do_syscall_tests): Call test_catch_syscall_execve.
7601 2016-01-12 Pedro Alves <palves@redhat.com>
7603 * gdb.base/random-signal.exp (do_test): New procedure, with body
7604 of testcase moved in.
7606 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7607 Pedro Alves <palves@redhat.com>
7609 * gdb.base/funcargs.exp (finish from indirectly called function):
7610 Reintroduce the case for 'First'.
7612 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7613 Pedro Alves <palves@redhat.com>
7615 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7616 (tcatch_vfork_then_child_follow_exec)
7617 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7620 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7622 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7623 and repeats to unlimited.
7624 * gdb.python/py-value.exp: Likewise.
7625 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7626 and repeats to unlimited.
7628 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7630 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7631 and reordering the functions.
7632 * gdb.multi/hangout.c: Likewise.
7633 * gdb.multi/hello.c: Likewise.
7635 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7637 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7639 (SingleStatisticTestResult.report): Use dict.keys instead of
7642 2016-01-06 Pedro Alves <palves@redhat.com>
7644 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7646 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7648 * gdb.btrace/dlopen.exp: New.
7649 * gdb.btrace/dlopen.c: New.
7650 * gdb.btrace/dlopen-dso.c: New.
7652 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7654 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7655 PATTERN argument is optional.
7657 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7659 * lib/ada.exp (target_compile_ada_from_dir): New function.
7660 (gdb_compile_ada): Reimplement avoiding the use of project files.
7661 * gdb.ada/gnat_ada.gpr: Delete.
7662 * gdb.ada/cond_lang.exp: Adjust test to make path before
7664 * gdb.ada/small_reg_param.exp: Likewise.
7666 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7668 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7670 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7672 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7675 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7677 * gdb.base/break.exp: Remove dead code.
7678 * gdb.base/sepdebug.exp: Likewise.
7680 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7682 * gdb.asm/asm-source.exp: Remove HP-UX references.
7683 * gdb.base/annota1.exp: Likewise.
7684 * gdb.base/annota3.exp: Likewise.
7685 * gdb.base/attach.exp: Likewise.
7686 * gdb.base/bigcore.exp: Likewise.
7687 * gdb.base/break.exp: Likewise.
7688 * gdb.base/call-ar-st.exp: Likewise.
7689 * gdb.base/callfuncs.exp: Likewise.
7690 * gdb.base/catch-fork-static.exp: Likewise.
7691 * gdb.base/display.exp: Likewise.
7692 * gdb.base/foll-exec-mode.exp: Likewise.
7693 * gdb.base/foll-exec.exp: Likewise.
7694 * gdb.base/foll-fork.exp: Likewise.
7695 * gdb.base/foll-vfork.exp: Likewise.
7696 * gdb.base/funcargs.exp: Likewise.
7697 * gdb.base/hbreak2.exp: Likewise.
7698 * gdb.base/inferior-died.exp: Likewise.
7699 * gdb.base/interrupt.exp: Likewise.
7700 * gdb.base/multi-forks.exp: Likewise.
7701 * gdb.base/nodebug.exp: Likewise.
7702 * gdb.base/sepdebug.exp: Likewise.
7703 * gdb.base/solib1.c: Likewise.
7704 * gdb.base/step-test.exp: Likewise.
7705 * gdb.mi/non-stop.c: Likewise.
7706 * gdb.mi/pthreads.c: Likewise.
7707 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7708 * gdb.threads/pthreads.c: Likewise.
7709 * gdb.threads/staticthreads.exp: Likewise.
7710 * lib/future.exp: Likewise.
7711 * lib/gdb.exp: Likewise.
7712 * gdb.base/so-indr-cl.c: Remove.
7713 * gdb.base/so-indr-cl.exp: Likewise.
7714 * gdb.base/solib.c: Likewise.
7715 * gdb.base/solib.exp: Likewise.
7716 * gdb.base/solib2.c: Likewise.
7718 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7720 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7721 * gdb.base/call-ar-st.exp: Likewise.
7722 * gdb.base/callfuncs.exp: Likewise.
7723 * gdb.base/condbreak.exp: Likewise.
7724 * gdb.base/constvars.exp: Likewise.
7725 * gdb.base/hbreak2.exp: Likewise.
7726 * gdb.base/langs.exp: Likewise.
7727 * gdb.base/list.exp: Likewise.
7728 * gdb.base/long_long.exp: Likewise.
7729 * gdb.base/ptype.exp: Likewise.
7730 * gdb.base/scope.exp: Likewise.
7731 * gdb.base/signals.exp: Likewise.
7732 * gdb.base/so-impl-ld.exp: Likewise.
7733 * gdb.base/varargs.exp: Likewise.
7734 * gdb.base/volatile.exp: Likewise.
7735 * gdb.base/whatis.exp: Likewise.
7736 * gdb.cp/cplusfuncs.exp: Likewise.
7737 * gdb.cp/inherit.exp: Likewise.
7738 * gdb.cp/local.exp: Likewise.
7739 * gdb.cp/member-ptr.exp: Likewise.
7740 * gdb.cp/method.exp: Likewise.
7741 * gdb.cp/overload.exp: Likewise.
7742 * gdb.cp/templates.exp: Likewise.
7743 * gdb.stabs/weird.exp: Likewise.
7744 * lib/compiler.c: Likewise.
7745 * lib/compiler.cc: Likewise.
7746 * lib/cp-support.exp: Likewise.
7747 * lib/gdb.exp: Likewise.
7749 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7751 * configure.ac: Remove HP-UX case.
7752 * configure: Regenerate.
7754 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7756 * lib/gdb.exp (gdb_compile): Add function doc.
7758 2015-12-17 Pedro Alves <palves@redhat.com>
7761 * gdb.multi/info-threads.exp: New file.
7763 2015-12-15 Yao Qi <yao.qi@linaro.org>
7765 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7768 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7770 * gdb.base/history-duplicates.exp: Skip if no readline support.
7772 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7774 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7776 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7778 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7780 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7782 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7783 ctrl-C if nointerrupts target property is set.
7784 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7785 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7786 * gdb.base/paginate-bg-execution.exp: Likewise.
7787 * gdb.base/paginate-execution-startup.exp: Likewise.
7788 * gdb.base/random-signal.exp: Likewise.
7789 * gdb.base/range-stepping.exp: Likewise.
7790 * gdb.cp/annota2.exp: Likewise.
7791 * gdb.cp/annota3.exp: Likewise.
7792 * gdb.gdb/selftest.exp: Likewise.
7793 * gdb.threads/continue-pending-status.exp: Likewise.
7794 * gdb.threads/leader-exit.exp: Likewise.
7795 * gdb.threads/manythreads.exp: Likewise.
7796 * gdb.threads/pthreads.exp: Likewise.
7797 * gdb.threads/schedlock.exp: Likewise.
7798 * gdb.threads/sigthread.exp: Likewise.
7800 2015-12-11 Don Breazeal <donb@codesourcery.com>
7802 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7804 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7805 * gdb.base/foll-exec.exp (main): Enable for target remote.
7806 * gdb.base/foll-fork.exp (main): Likewise.
7807 * gdb.base/foll-vfork.exp (main): Likewise.
7808 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7809 (proc continue_to_exit_bp_loc): Use clean_restart.
7810 * gdb.base/pie-execl.exp (main): Disable for target remote.
7811 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7812 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7813 * gdb.threads/execl.exp (main): Likewise.
7814 * gdb.threads/fork-child-threads.exp (main): Likewise.
7815 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7817 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7819 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7820 pid.tid style ptids, instead of just tid.
7821 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7822 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7823 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7824 ptids, instead of just tid.
7826 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7828 * gdb.base/list.exp (test_list_forward): Add end of file error
7830 (test_repeat_list_command): Add end of file error test.
7831 (test_list_backwards): Add beginning of file error test.
7833 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7835 * gdb.base/list.exp (test_list_invalid_args): New function,
7836 defined, and called.
7838 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7840 * gdb.base/list.exp (test_list): Make test names unique.
7842 2015-12-11 Yao Qi <yao.qi@linaro.org>
7844 * gdb.base/coremaker2.c: Remove.
7846 2015-12-10 Pedro Alves <palves@redhat.com>
7848 * gdb.multi/base.exp: Remove stale "spaces" references.
7850 2015-12-10 Pedro Alves <palves@redhat.com>
7852 * gdb.multi/base.exp: Don't use nowarnings.
7853 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7854 * gdb.multi/hangout.c: Include stdio.h.
7855 * gdb.multi/hello.c: Include stdlib.h.
7856 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7857 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7858 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7860 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7862 * gdb.dwarf2/dw2-ranges-base.c: New file.
7863 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7864 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7865 support additional line table, and debug ranges generation.
7866 (Dwarf::ranges): New function, generate .debug_ranges.
7867 (Dwarf::lines): Support generating simple line table programs.
7868 (Dwarf::assemble): Initialise new namespace variables.
7870 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7872 * gdb.base/async.exp (proc test_background): Add case for
7873 asynchronous execution not supported.
7875 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7877 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7878 format and change test names to make them unique.
7880 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7881 Pedro Alves <pedro@redhat.com>
7884 Add checking of floatformats setup on x86_64 hosts.
7885 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7886 (smallval, bigval): New labels/constants.
7887 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7888 float" after loading bigval and smallval.
7890 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7892 * gdb.ada/fun_overload_menu.exp: New testcase.
7893 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7895 2015-12-04 Josh Stone <jistone@redhat.com>
7897 * gdb.base/catch-fork-static.exp: New.
7899 2015-12-03 Yao Qi <yao.qi@linaro.org>
7901 * gdb.base/sizeof.c: Don't include stdio.h and
7902 ../lib/unbuffer_output.c.
7903 (main): New variable 'size' and 'value'. Remove printf and
7904 gdb_unbuffer_output. Assign return value to size and value.
7905 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7907 (check_sizeof): Check the result by printing variable 'size'.
7908 (check_valueof): Check the result by printing variable 'value'.
7910 2015-12-01 Yao Qi <yao.qi@linaro.org>
7912 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7913 for aarch64*-*-linux* target.
7915 2015-11-30 Pedro Alves <palves@redhat.com>
7917 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7919 2015-11-30 Pedro Alves <palves@redhat.com>
7921 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7922 Handle non-stop mode vCont replies.
7924 2015-11-30 Pedro Alves <palves@redhat.com>
7926 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7927 prepare_for_testing. Start gdb with "set non-stop on" appended to
7928 GDBFLAGS. Lax expected stop output.
7930 2015-11-27 Yao Qi <yao.qi@linaro.org>
7932 * gdb.arch/arm-neon.exp: New.
7933 * gdb.arch/arm-neon.c: New.
7935 2015-11-27 Yao Qi <yao.qi@linaro.org>
7937 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7939 2015-11-27 Yao Qi <yao.qi@linaro.org>
7941 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7942 frames-invalid annotation.
7944 2015-11-27 Yao Qi <yao.qi@linaro.org>
7946 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7948 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7950 * gdb.threads/names.exp: New file.
7951 * gdb.threads/names.c: New file.
7952 * README: Mention gdb,no_thread_names.
7954 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7957 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7960 2015-11-24 Pedro Alves <palves@redhat.com>
7963 * gdb.base/display.exp: Expect displays to be sorted in ascending
7964 order. Use multi_line.
7965 * gdb.base/solib-display.exp: Likewise.
7967 2015-11-24 Pedro Alves <palves@redhat.com>
7970 * gdb.base/display.exp: Expect displays to be sorted in ascending
7971 order. Use multi_line.
7972 * gdb.base/solib-display.exp: Likewise.
7974 2015-11-24 Pedro Alves <palves@redhat.com>
7977 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7978 threads in ascending order.
7979 * gdb.base/foll-fork.exp: Likewise.
7980 * gdb.base/foll-vfork.exp: Likewise.
7981 * gdb.base/multi-forks.exp: Likewise.
7982 * gdb.mi/mi-nonstop.exp: Likewise.
7983 * gdb.mi/mi-nsintrall.exp: Likewise.
7984 * gdb.multi/base.exp: Likewise.
7985 * gdb.multi/multi-arch.exp: Likewise.
7986 * gdb.python/py-inferior.exp: Likewise.
7987 * gdb.threads/break-while-running.exp: Likewise.
7988 * gdb.threads/execl.exp: Likewise.
7989 * gdb.threads/gcore-thread.exp: Likewise.
7990 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7991 * gdb.threads/kill.exp: Likewise.
7992 * gdb.threads/linux-dp.exp: Likewise.
7993 * gdb.threads/multiple-step-overs.exp: Likewise.
7994 * gdb.threads/next-bp-other-thread.exp: Likewise.
7995 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7996 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7997 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7998 * gdb.threads/thread-find.exp: Likewise.
7999 * gdb.threads/tls.exp: Likewise.
8000 * lib/mi-support.exp (mi_reverse_list): Delete.
8001 (mi_check_thread_states): No longer reverse list.
8003 2015-11-24 Pedro Alves <palves@redhat.com>
8005 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8008 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8010 * gdb.trace/actions.c: Include trace-common.h.
8011 (main): Add a location for a fast tracepoint.
8012 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8013 the normal tracepoints.
8014 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8016 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8018 * save-trace.exp: Factor out code to these...
8019 (gdb_save_tracepoints): New.
8020 (gdb_load_tracepoints): New.
8021 (do_save_load_test): New.
8023 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8025 * gdb.base/asmlabel.exp: New test.
8026 * gdb.base/asmlabel.c: New test case.
8028 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8030 * gdb.base/wrong_frame_bt_full-main.c: New file.
8031 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8032 * gdb.base/wrong_frame_bt_full.exp: New file.
8034 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8036 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8038 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8040 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8041 pstate register when comparing registers values in
8042 sparc64-*-linux-gnu targets to avoid spurious differences.
8044 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8046 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8048 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8050 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8051 as type argument to gdb_compile.
8052 * gdb.base/nested-subp2.exp: Likewise.
8053 * gdb.base/nested-subp3.exp: Likewise.
8055 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8057 * lib/dwarf.exp (_note): Fix left shift of negative value.
8058 * gdb.trace/trace-condition.exp: Likewise.
8060 2015-11-13 Yao Qi <yao.qi@linaro.org>
8062 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8063 comments about d10v.
8064 (test_scalar_returns): Likewise.
8065 * gdb.base/d10v.ld: Remove.
8066 * gdb.base/overlays.exp: Remove the target triplet checking for
8068 * gdb.base/structs.exp (test_struct_returns): Remove the
8069 comments about d10v.
8070 (test_struct_calls): Likewise.
8072 2015-11-13 Yao Qi <yao.qi@linaro.org>
8074 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8075 * gdb.base/gnu_vector.c: Don't include stdio.h.
8076 (main): Don't print res and call add_some_intvecs.
8078 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8080 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8083 (func4): Use FAST_TRACEPOINT_LABEL.
8084 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8087 (thread_function): Use FAST_TRACEPOINT_LABEL.
8088 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8090 (marker): Use FAST_TRACEPOINT_LABEL.
8091 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8092 (pendfunc1): Remove.
8093 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8094 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8096 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8097 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8100 (marker): Use FAST_TRACEPOINT_LABEL.
8101 * gdb.trace/trace-common.h: New header.
8102 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8105 (marker): Use FAST_TRACEPOINT_LABEL.
8106 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8108 (thread_function): Use FAST_TRACEPOINT_LABEL.
8110 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8112 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8114 * gdb.trace/change-loc.exp: Use global pcreg definition.
8115 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8116 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8118 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8119 * gdb.trace/pending.exp: Likewise.
8120 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8121 * gdb.trace/trace-break.exp: Likewise.
8122 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8124 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8125 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8127 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8129 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8131 * gdb.ada/fin_fun_out: New testcase.
8133 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8135 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8136 value associated with DW_AT_byte_size.
8137 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8138 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8141 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8143 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8144 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8146 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8147 gdb.dwarf2/dw2-canonicalize-type.exp,
8148 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8149 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8150 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8151 provided by gdb_target_symbol_prefix_flags_asm.
8152 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8153 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8154 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8155 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8156 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8157 macros where needed). Use this macro for symbols which require
8158 the prefix provided by SYMBOL_PREFIX.
8160 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8162 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8164 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8165 representing expressions, of more than one list element.
8166 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8167 to prepend linker symbol prefix to f.
8168 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8169 table_1 and table_2.
8170 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8171 Likewise, for f and g.
8172 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8174 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8176 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8177 table_1_ptr and table_2_ptr.
8179 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8180 Joel Brobecker <brobecker@adacore.com>
8182 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8184 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8186 * gdb.reverse/s390-mvcle.c: New test.
8187 * gdb.reverse/s390-mvcle.exp: New file.
8188 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8190 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8192 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8194 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8196 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8198 * gdb.reverse/getresuid-reverse.exp: Likewise.
8199 * gdb.reverse/pipe-reverse.exp: Likewise.
8200 * gdb.reverse/readv-reverse.exp: Likewise.
8201 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8202 * gdb.reverse/time-reverse.exp: Likewise.
8203 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8205 2015-10-30 Yao Qi <yao.qi@linaro.org>
8207 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8208 (empty_cycle): Remove.
8209 (main): Don't call empty_cycle. Don't use watch_count_done.
8210 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8211 empty_cycle. Rewrite the code counting HW watchpoints.
8213 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8215 * gdb.reverse/fstatat-reverse.c: New test.
8216 * gdb.reverse/fstatat-reverse.exp: New file.
8217 * gdb.reverse/getresuid-reverse.c: New test.
8218 * gdb.reverse/getresuid-reverse.exp: New file.
8219 * gdb.reverse/pipe-reverse.c: New test.
8220 * gdb.reverse/pipe-reverse.exp: New file.
8221 * gdb.reverse/readv-reverse.c: New test.
8222 * gdb.reverse/readv-reverse.exp: New file.
8223 * gdb.reverse/recvmsg-reverse.c: New test.
8224 * gdb.reverse/recvmsg-reverse.exp: New file.
8225 * gdb.reverse/time-reverse.c: New test.
8226 * gdb.reverse/time-reverse.exp: New file.
8227 * gdb.reverse/waitpid-reverse.c: New test.
8228 * gdb.reverse/waitpid-reverse.exp: New file.
8230 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8232 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8234 2015-10-26 Doug Evans <dje@google.com>
8237 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8238 * gdb.dwarf2/bad-regnum.c: New file.
8239 * gdb.dwarf2/bad-regnum.exp: New file.
8241 2015-10-26 Doug Evans <dje@google.com>
8244 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8247 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8249 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8250 for a change by "Mention language in compile error message".
8252 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8255 * gdb.python/py-type.c (C::a_method): New.
8256 (C::a_const_method): New.
8257 (C::a_static_method): New.
8259 * gdb.python/py-type.exp (test_fields): Test getting fields
8260 from function and method.
8262 2015-10-21 Keven Boell <keven.boell@intel.com>
8264 * gdb.fortran/vla-alloc-assoc.exp: New file.
8265 * gdb.fortran/vla-datatypes.exp: New file.
8266 * gdb.fortran/vla-datatypes.f90: New file.
8267 * gdb.fortran/vla-history.exp: New file.
8268 * gdb.fortran/vla-ptype-sub.exp: New file.
8269 * gdb.fortran/vla-ptype.exp: New file.
8270 * gdb.fortran/vla-sizeof.exp: New file.
8271 * gdb.fortran/vla-sub.f90: New file.
8272 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8273 * gdb.fortran/vla-value-sub-finish.exp: New file.
8274 * gdb.fortran/vla-value-sub.exp: New file.
8275 * gdb.fortran/vla-value.exp: New file.
8276 * gdb.fortran/vla-ptr-info.exp: New file.
8277 * gdb.mi/mi-vla-fortran.exp: New file.
8278 * gdb.mi/vla.f90: New file.
8280 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8282 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8283 of hardwired timeout value.
8285 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8286 Pedro Alves <palves@redhat.com>
8288 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8289 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8291 2015-10-19 Josh Stone <jistone@redhat.com>
8293 * gdb.base/catch-syscall.c: Include <sched.h>.
8294 (unknown_syscall): New variable.
8295 (main): Trigger a vfork and an unknown syscall.
8296 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8297 (unknown_syscall_number): Likewise.
8298 (check_call_to_syscall): Accept an optional syscall pattern.
8299 (check_return_from_syscall): Likewise.
8300 (check_continue): Likewise.
8301 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8302 (test_catch_syscall_skipping_return): New test toggling off 'catch
8303 syscall' to step over the syscall return, then toggling back on.
8304 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8305 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8306 (do_syscall_tests): Call test_catch_syscall_without_args and
8307 test_catch_syscall_mid_vfork.
8308 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8309 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8311 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8313 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8314 print g_vE): Add new pass patterns.
8315 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8316 print various symbol names for vptr fields.
8318 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8320 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8323 2015-10-12 Yao Qi <yao.qi@linaro.org>
8325 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8327 2015-10-12 Yao Qi <yao.qi@linaro.org>
8329 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8330 is aarch64*-*-linux*.
8332 2015-10-12 Yao Qi <yao.qi@linaro.org>
8334 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8335 (can_relocate_bcond_true): ... it.
8336 (can_relocate_bcond_false): New function.
8338 (can_relocate_bl): Likewise.
8339 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8342 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8344 * gdb.base/nested-addr.c: New file.
8345 * gdb.base/nested-addr.exp: New testcase.
8347 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8349 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8350 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8351 its output. Ignore the output of "record goto begin" and instead
8352 check that GDB is replaying.
8354 2015-10-09 Pedro Alves <palves@redhat.com>
8356 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8357 (top level): Use it in the run with no args test.
8359 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8361 * gdb.dlang/properties.exp: New file.
8363 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8365 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8366 whether or not address 0x1000 is mapped on the target.
8368 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8370 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8373 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8375 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8376 instruction-history test.
8378 2015-09-28 Doug Evans <dje@google.com>
8380 * gdb.base/gcore.c (array_func): Add reference to static_array.
8382 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8384 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8387 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8389 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8390 short or char as base type.
8392 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8394 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8395 to allow any size enum.
8397 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8399 * gdb.ada/array_ptr_renaming.exp: New testcase.
8400 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8401 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8403 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8405 * gdb.trace/ftrace-lock.c: New file.
8406 * gdb.trace/ftrace-lock.exp: New file.
8408 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8410 * gdb.arch/insn-reloc.c: New file.
8411 * gdb.arch/ftrace-insn-reloc.exp: New file.
8413 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8415 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8417 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8418 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8419 * gdb.trace/range-stepping.c: Likewise.
8420 * gdb.trace/trace-break.c: Likewise.
8421 * gdb.trace/trace-mt.c (thread_function): Likewise.
8422 * gdb.trace/ftrace.c (marker): Likewise.
8423 * gdb.trace/trace-condition.c (marker): Likewise.
8424 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8425 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8428 2015-09-18 Doug Evans <xdje42@gmail.com>
8430 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8431 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8433 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8435 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8438 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8440 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8441 the pending breakpoint. Remove timeout override for "Run till
8442 MI pending breakpoint on pendfunc3 on thread 2" test.
8444 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8446 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8449 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8451 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8452 in breakpoint filename pattern.
8454 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8456 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8458 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8460 * gdb.linespec/explicit.exp: Check for readline support for
8461 tab-completion tests. Fix obvious typo.
8463 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8465 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8468 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8470 * gdb.btrace/non-stop.c: New.
8471 * gdb.btrace/non-stop.exp: New.
8473 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8474 Yao Qi <yao.qi@linaro.org>
8476 * gdb.trace/trace-condition.c: New file.
8477 * gdb.trace/trace-condition.exp: New file.
8479 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8481 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8482 for testing bytecode compilation.
8484 2015-09-16 Pedro Alves <palves@redhat.com>
8485 Sandra Loosemore <sandra@codesourcery.com>
8487 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8488 (SECONDS): Redefine.
8489 (main): Call pthread_kill and alarm early.
8490 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8492 (test): If the target can't hardware step and doesn't support
8493 displaced stepping, increase the timeout.
8495 2015-09-16 Pedro Alves <palves@redhat.com>
8497 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8498 (enable_debug): New procedures.
8499 (test): Use them. Bail out if waiting for threads fails.
8500 (top level): Bail out if a test fails.
8502 2015-09-16 Yao Qi <yao.qi@linaro.org>
8504 * gdb.asm/asm-source.exp: Set asm-arch for
8505 aarch64*-*-* target.
8506 * gdb.asm/aarch64.inc: New file.
8508 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8510 * gdb.ada/array_of_variable_length.exp: New testcase.
8511 * gdb.ada/array_of_variable_length/foo.adb: New file.
8512 * gdb.ada/array_of_variable_length/pck.adb: New file.
8513 * gdb.ada/array_of_variable_length/pck.ads: New file.
8515 2015-09-15 Doug Evans <dje@google.com>
8517 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8518 of function static local variable.
8520 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8522 * gdb.threads/tls-so_extern.exp: New test file.
8523 * gdb.threads/tls-so_extern.c: New test file.
8524 * gdb.threads/tls-so_extern_main.c: New test file.
8526 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8528 * gdb.opt/solib-intra-step-lib.c: New file.
8529 * gdb.opt/solib-intra-step-main.c: New file.
8530 * gdb.opt/solib-intra-step.exp: New file.
8532 2015-09-15 Pedro Alves <palves@redhat.com>
8534 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8535 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8537 2015-09-14 Pedro Alves <palves@redhat.com>
8539 * gdb.base/hook-stop-continue.c: Delete.
8540 * gdb.base/hook-stop-continue.exp: Delete.
8541 * gdb.base/hook-stop-frame.c: Delete.
8542 * gdb.base/hook-stop-frame.exp: Delete.
8543 * gdb.base/hook-stop.c: New file.
8544 * gdb.base/hook-stop.exp: New file.
8546 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8548 * gdb.ada/access_to_packed_array.exp: New testcase.
8549 * gdb.ada/access_to_packed_array/foo.adb: New file.
8550 * gdb.ada/access_to_packed_array/pack.adb: New file.
8551 * gdb.ada/access_to_packed_array/pack.ads: New file.
8553 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8555 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8558 2015-09-11 Don Breazeal <donb@codesourcery.com>
8560 * gdb.base/foll-exec.c: Add copyright header. Fix
8562 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8563 (do_exec_tests): Use clean_restart in place of zap_session,
8564 and for test initialization. Fix formatting issues. Use
8565 fail in place of perror.
8566 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8567 an expect statement to match an expression with output from
8568 the program under debug.
8569 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8570 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8571 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8572 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8573 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8575 2015-09-09 Doug Evans <dje@google.com>
8577 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8579 2015-09-09 Doug Evans <dje@google.com>
8581 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8583 2015-09-09 Doug Evans <dje@google.com>
8585 * gdb.base/savedregs.exp: Fix typo.
8587 2015-09-09 Pedro Alves <palves@redhat.com>
8589 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8591 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8593 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8594 command actually switches threads. Give up on remaining
8595 tests if target fails to stop at breakpoint.
8597 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8599 * gdb.ada/funcall_char.exp: New testcase.
8600 * gdb.ada/funcall_char/foo.adb: New file.
8602 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8604 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8605 expected outputs. Add two testcases for completing ambiguous
8607 * gdb.ada/complete/aux_pck.adb: New file.
8608 * gdb.ada/complete/aux_pck.ads: New file.
8609 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8610 Ambiguous_Func functions.
8611 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8612 * gdb.ada/complete/pck.adb: Likewise.
8614 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8616 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8617 failures to run the test program under GDB.
8619 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8621 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8624 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8626 * gdb.base/run-after-attach.exp: New test file.
8627 * gdb.base/run-after-attach.c: New test file.
8629 2015-08-26 Don Breazeal <donb@codesourcery.com>
8631 * gdb.base/foll-exec-2.c: New test program.
8632 * gdb.base/foll-exec-2.exp: New test.
8634 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8636 * gdb.base/nested-subp1.exp: New file.
8637 * gdb.base/nested-subp1.c: New file.
8638 * gdb.base/nested-subp2.exp: New file.
8639 * gdb.base/nested-subp2.c: New file.
8640 * gdb.base/nested-subp3.exp: New file.
8641 * gdb.base/nested-subp3.c: New file.
8643 2015-08-24 Pedro Alves <palves@redhat.com>
8645 * gdb.server/connect-without-multi-process.c: New file.
8646 * gdb.server/connect-without-multi-process.exp: New file.
8648 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8650 * gdb.opt/inline-markers.c: Make z int.
8652 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8654 * gdb.opt/inline-markers.c: Make z volatile.
8656 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8658 * gdb.opt/inline-bt.c: New volatile global z.
8659 * gdb.opt/inline-cmds.c: Likewise.
8660 * gdb.opt/inline-locals.c: Likewise.
8661 * gdb.opt/inline-markers.c: New extern global z.
8663 (inline_fn): Likewise.
8665 2015-08-24 Pedro Alves <palves@redhat.com>
8667 * config/m32r-stub.exp: Remove file.
8668 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8669 * gdb.base/call-rt-st.exp: Likewise.
8670 * gdb.base/call-strs.exp: Likewise.
8671 * gdb.base/default.exp: Remove references to h8300-*-hms and
8673 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8675 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8677 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8678 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8679 and "return" use KFAIL when GDB can not read/write the vector
8682 2015-08-21 Gary Benson <gbenson@redhat.com>
8684 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8686 2015-08-20 Pedro Alves <palves@redhat.com>
8688 * gdb.server/solib-list.exp: No longer expect an interior stop in
8691 2015-08-20 Pedro Alves <palves@redhat.com>
8693 * gdb.server/connect-stopped-target.c: New file.
8694 * gdb.server/connect-stopped-target.exp: New file.
8696 2015-08-20 Pedro Alves <palves@redhat.com>
8698 * gdb.dwarf2/comp-unit-lang.exp: New file.
8699 * gdb.dwarf2/comp-unit-lang.c: New file.
8701 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8703 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8704 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8706 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8708 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8709 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8711 2015-08-18 Doug Evans <dje@google.com>
8712 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8714 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8715 skip_python_tests. New arg prompt_regexp.
8716 (skip_python_tests): New function.
8717 * lib/mi-support.exp (mi_skip_python_tests): New function.
8718 * gdb.python/py-mi-objfile-gdb.py: New file.
8719 * gdb.python/py-mi-objfile.c: New file.
8720 * gdb.python/py-mi-objfile.exp: New file.
8722 2015-08-17 Keith Seitz <keiths@redhat.com>
8724 * gdb.linespec/explicit.exp: Move strace test from here ...
8725 * gdb.trace/strace.exp: ... to here.
8727 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8729 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8730 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8732 2015-08-14 Doug Evans <xdje42@gmail.com>
8734 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8735 inferior before selecting a new file.
8737 2015-08-14 Doug Evans <xdje42@gmail.com>
8739 * gdb.mi/mi-disassemble.exp: Update.
8740 * gdb.base/disasm-optim.S: New file.
8741 * gdb.base/disasm-optim.c: New file.
8742 * gdb.base/disasm-optim.h: New file.
8743 * gdb.base/disasm-optim.exp: New file.
8745 2015-08-14 Keith Seitz <keiths@redhat.com>
8747 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8750 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8752 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8754 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8756 * gdb.ada/fun_renaming.exp: New testcase.
8757 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8758 * gdb.ada/fun_renaming/pack.adb: New file.
8759 * gdb.ada/fun_renaming/pack.ads: New file.
8761 2015-08-12 Keith Seitz <keiths@redhat.com>
8763 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8764 gdb_get_line_number.
8766 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8768 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8769 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8770 gdb.base/dso2dso.exp: New files.
8772 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8773 Pedro Alves <palves@redhat.com>
8774 Keith Seitz <keiths@redhat.com>
8776 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8779 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8781 * gdb.base/gdbhistsize-history.exp
8782 (test_histsize_history_setting): Use save_vars.
8783 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8785 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8786 * gdb.base/readline.exp: Use save_vars.
8788 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8790 * lib/gdb.exp (save_vars): New proc.
8792 2015-08-11 Keith Seitz <keiths@redhat.com>
8794 * gdb.base/help.exp: Update help_breakpoint_text.
8796 2015-08-11 Keith Seitz <keiths@redhat.com>
8798 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8799 (at toplevel): Call test_explicit_breakpoints.
8800 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8802 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8803 breakpoint conditions, "-cond".
8805 2015-08-11 Keith Seitz <keiths@redhat.com>
8807 * gdb.linespec/3explicit.c: New file.
8808 * gdb.linespec/cpexplicit.cc: New file.
8809 * gdb.linespec/cpexplicit.exp: New file.
8810 * gdb.linespec/explicit.c: New file.
8811 * gdb.linespec/explicit.exp: New file.
8812 * gdb.linespec/explicit2.c: New file.
8813 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8814 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8815 before using in the matching pattern.
8816 Clarify that `prefix' is a regular expression.
8818 2015-08-11 Keith Seitz <keiths@redhat.com>
8820 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8822 Add tests for missing ",FMT" and ",".
8824 2015-08-10 Doug Evans <dje@google.com>
8825 Keith Seitz <keiths@redhat.com>
8828 * gdb.base/completion.exp: Add location completer tests.
8830 2015-08-07 Pedro Alves <palves@redhat.com>
8832 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8834 (top level): Run do_test with and without displaced stepping.
8836 2015-08-07 Pedro Alves <palves@redhat.com>
8838 * gdb.base/valgrind-disp-step.c: New file.
8839 * gdb.base/valgrind-disp-step.exp: New file.
8841 2015-08-07 Pedro Alves <palves@redhat.com>
8843 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8845 (main): Add alarm. Run an infinite loop instead of calling
8847 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8849 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8851 (main): Add alarm. Run an infinite loop instead of calling
8853 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8856 2015-08-07 Pedro Alves <palves@redhat.com>
8858 * gdb.base/checkpoint-ns.exp: New file.
8859 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8862 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8864 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8865 * gdb.btrace/instruction_history.exp: Update.
8866 * gdb.btrace/tsx.exp: New.
8867 * gdb.btrace/tsx.c: New.
8869 2015-08-06 Pedro Alves <palves@redhat.com>
8871 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8873 * gdb.reverse/until-precsave.exp: Bump timeouts.
8875 2015-08-06 Pedro Alves <palves@redhat.com>
8877 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8879 2015-08-06 Pedro Alves <palves@redhat.com>
8882 * gdb.threads/process-dies-while-handling-bp.c: New file.
8883 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8885 2015-08-06 Pedro Alves <palves@redhat.com>
8887 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8888 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8890 2015-08-05 Pedro Alves <palves@redhat.com>
8892 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8893 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8895 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8897 * gdb.base/bp-permanent.exp: Report test as unsupported if
8898 the target cannot stop at the permanent breakpoint.
8900 2015-08-03 Doug Evans <dje@google.com>
8902 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8905 2015-08-03 Doug Evans <dje@google.com>
8907 * Makefile.in (workers/%.worker, build-perf): New rule.
8908 (GDB_PERFTEST_MODE): New variable.
8909 (check-perf): Use it.
8910 (clean): Clean up gdb.perf parallel build subdirs.
8911 * lib/build-piece.exp: New file.
8912 * lib/gdb.exp (make_gdb_parallel_path): New function
8913 (standard_output_file, standard_temp_file): Call it.
8914 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8916 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8918 2015-08-03 Doug Evans <dje@google.com>
8920 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8921 (LOG_FILE_NAME): New global.
8922 (TextReporter.__init__): Initialize self.txt_sum.
8923 (TextReporter.report): Add support for multiple data-points.
8924 Move report to perftest.sum, put raw data in perftest.log.
8925 (TextReporter.start): Open sum and log files.
8926 (TextReporter.end): Close sum and log files.
8927 * gdb.perf/lib/perftest/testresult.py
8928 (SingleStatisticTestResult.record): Handle multiple data-points.
8930 2015-07-31 Pedro Alves <palves@redhat.com>
8932 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8933 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8934 kill_wait_spawned_process instead of explicit "kill -9".
8935 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8936 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8937 kill_wait_spawned_process.
8938 * gdb.base/attach-twice.exp: Likewise.
8939 * gdb.base/attach.exp: Likewise.
8940 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8942 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8943 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8944 kill_wait_spawned_process.
8945 * gdb.base/valgrind-infcall.exp: Likewise.
8946 * gdb.multi/multi-attach.exp: Likewise.
8947 * gdb.python/py-prompt.exp: Likewise.
8948 * gdb.python/py-sync-interp.exp: Likewise.
8949 * gdb.server/ext-attach.exp: Likewise.
8950 * gdb.threads/attach-into-signal.exp (corefunc): Use
8951 spawn_wait_for_attach, spawn_id_get_pid and
8952 kill_wait_spawned_process.
8953 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8954 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8955 spawn_id_get_pid and kill_wait_spawned_process.
8956 * gdb.threads/attach-stopped.exp (corefunc): Use
8957 spawn_wait_for_attach, spawn_id_get_pid and
8958 kill_wait_spawned_process.
8959 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8960 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8961 kill_wait_spawned_process instead of explicit "kill -9".
8962 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8963 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8964 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8965 processes. Don't map cygwin/windows pids here. Now returns a
8968 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8970 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8971 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8974 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8976 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8978 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8981 2014-05-21 Mark Wielaard <mjw@redhat.com>
8983 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8985 2015-07-30 Pedro Alves <palves@redhat.com>
8987 * linux-low.c (handle_extended_wait): Set the child's last
8988 reported status to TARGET_WAITKIND_STOPPED.
8990 2015-07-30 Pedro Alves <palves@redhat.com>
8993 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8994 only shows inferior 1.
8996 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8997 Pedro Alves <palves@redhat.com>
9000 * gdb.threads/fork-plus-threads.c: New file.
9001 * gdb.threads/fork-plus-threads.exp: New file.
9003 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9005 * gdb.base/batch-preserve-term-settings.exp
9006 (test_terminal_settings_preserved_after_cli_exit): Use
9009 2015-07-29 Pedro Alves <palves@redhat.com>
9010 Don Breazeal <donb@codesourcery.com>
9012 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9013 output from both inferior_spawn_id and gdb_spawn_id.
9015 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9017 * gdb.threads/attach-into-signal.exp (corefunc): Use
9018 with_test_prefix on nested loops, uniquefying the test messages.
9020 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9022 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9025 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9027 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9029 (test_terminal_settings_preserved_after_sigterm): New test.
9031 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9033 * gdb.base/batch-preserve-term-settings.exp
9034 (test_terminal_settings_preserved_after_cli_exit): New test.
9036 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9038 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9039 manipulation of saved_gdbflags.
9040 (test_terminal_settings_preserved): Remove global declaration of
9041 the unused variable pagination_prompt. Remove manipulation of
9042 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9045 2015-07-29 Pedro Alves <palves@redhat.com>
9047 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9049 2015-07-29 Pedro Alves <palves@redhat.com>
9051 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9054 2015-07-29 Pedro Alves <palves@redhat.com>
9056 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9057 (main): Call gdb_unbuffer_output.
9058 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9059 (main): Call gdb_unbuffer_output.
9060 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9061 (main): Call gdb_unbuffer_output.
9062 * gdb.base/call-strs.exp: Adjust to step over the
9063 gdb_unbuffer_output call.
9064 * gdb.base/catch-gdb-caused-signals.c: Include
9065 "../lib/unbuffer_output.c".
9066 (main): Call gdb_unbuffer_output.
9067 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9068 (main): Call gdb_unbuffer_output.
9069 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9070 (main): Call gdb_unbuffer_output.
9071 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9072 (main): Call gdb_unbuffer_output.
9073 * gdb.base/shlib-call.exp: Adjust to step over the
9074 gdb_unbuffer_output call.
9075 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9076 (main): Call gdb_unbuffer_output.
9077 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9078 (main): Call gdb_unbuffer_output.
9079 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9080 (main): Rename to ...
9082 (main): Reimplement.
9083 * gdb.base/varargs.exp: Run to test instead of to main.
9084 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9085 (main): Call gdb_unbuffer_output.
9087 2015-07-29 Pedro Alves <palves@redhat.com>
9089 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9090 factore out from mi_continue_dprintf. For call-style dprintfs,
9091 expect dprintf output out of $inferior_spawn_id.
9092 (mi_continue_dprintf): Use mi_expect_dprintf.
9093 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9094 (main): Call gdb_unbuffer_output.
9096 2015-07-29 Pedro Alves <palves@redhat.com>
9098 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9099 (default_mi_gdb_start): Set inferior_spawn_id instead of
9100 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9102 (mi_gdb_test): Always expect inferior output from both
9103 $inferior_spawn_id and $gdb_spawn_id.
9105 2015-07-29 Pedro Alves <palves@redhat.com>
9107 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9108 send_inferior and $inferior_spawn_id.
9110 2015-07-29 Pedro Alves <palves@redhat.com>
9112 * gdb.gdb/complaints.exp (test_initial_complaints)
9113 (test_serial_complaints, test_short_complaints): Use
9115 (test_empty_complaint): Handle $inferior_spawn_id !=
9118 2015-07-29 Pedro Alves <palves@redhat.com>
9120 * gdb.base/varargs.exp: Use gdb_test_stdio.
9122 2015-07-29 Pedro Alves <palves@redhat.com>
9124 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9126 2015-07-29 Pedro Alves <palves@redhat.com>
9128 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9130 2015-07-29 Pedro Alves <palves@redhat.com>
9132 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9133 parameter into two new parameters, "inf_result" and "gdb_result".
9134 Expect inferior output and gdb output from $inferior_spawn_id and
9135 $gdb_spawn_id, respectively. Adjust all callers.
9137 2015-07-29 Pedro Alves <palves@redhat.com>
9139 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9140 of gdb_test_sequence.
9142 2015-07-29 Pedro Alves <palves@redhat.com>
9144 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9145 (saw_spurious_output): Expect inferior output from
9146 $inferior_spawn_id. Use gdb_test_stdio.
9148 2015-07-29 Pedro Alves <palves@redhat.com>
9150 * gdb.base/dprintf.exp: Use standard_testfile. Change
9151 prepare_for_testing call.
9152 (srcfile): Don't set.
9153 (restart): New procedure.
9154 (test_dprintf): New procecure, use to continue over dprintfs.
9155 (test_call, test_agent): New procedures, tests moved here.
9156 Restart gdb and recreate dprintfs. Adjust expected output.
9158 2015-07-29 Pedro Alves <palves@redhat.com>
9160 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9162 2015-07-29 Pedro Alves <palves@redhat.com>
9164 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9166 2015-07-29 Pedro Alves <palves@redhat.com>
9168 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9171 2015-07-29 Pedro Alves <palves@redhat.com>
9173 * lib/gdb.exp (gdb_test_stdio): New procedure.
9175 2015-07-29 Pedro Alves <palves@redhat.com>
9177 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9179 2015-07-29 Pedro Alves <palves@redhat.com>
9181 * gdb.base/call-signal-resume.exp: Remove check for
9182 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9183 * gdb.base/unwindonsignal.exp: Likewise.
9184 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9185 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9187 2015-07-29 Pedro Alves <palves@redhat.com>
9189 * gdb.base/siginfo-addr.c (pass): New function.
9190 (handler): Call it iff si_addr is correct.
9191 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9192 Set a breakpoint at "pass" and continue to it.
9194 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9196 * gdb.python/py-objfile.exp: Make some tests have unique names.
9197 * gdb.python/py-pp-registration.exp: Likewise.
9199 2015-07-28 Pedro Alves <palves@redhat.com>
9201 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9203 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9205 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9207 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9209 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9211 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9213 * gdb.base/gdb-sigterm-2.exp: New test.
9215 2015-07-25 Doug Evans <xdje42@gmail.com>
9218 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9219 (workers/%.worker, build-perf): New rule.
9220 (GDB_PERFTEST_MODE): New variable.
9221 (check-perf): Use it.
9222 (clean): Clean up gdb.perf parallel build subdirs.
9223 * lib/build-piece.exp: New file.
9224 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9225 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9227 (standard_temp_file): Ditto.
9228 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9231 2015-07-24 Doug Evans <dje@google.com>
9233 * gdb.perf/lib/perftest/utils.py: New file.
9234 * gdb.perf/gm-hello.cc: New file.
9235 * gdb.perf/gm-pervasive-typedef.cc: New file.
9236 * gdb.perf/gm-pervasive-typedef.h: New file.
9237 * gdb.perf/gm-std.cc: New file.
9238 * gdb.perf/gm-std.h: New file.
9239 * gdb.perf/gm-use-cerr.cc: New file.
9240 * gdb.perf/gm-utils.h: New file.
9241 * gdb.perf/gmonster-null-lookup.py: New file.
9242 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9243 * gdb.perf/gmonster-print-cerr.py: New file.
9244 * gdb.perf/gmonster-ptype-string.py: New file.
9245 * gdb.perf/gmonster-runto-main.py: New file.
9246 * gdb.perf/gmonster-select-file.py: New file.
9247 * gdb.perf/gmonster1-null-lookup.exp: New file.
9248 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9249 * gdb.perf/gmonster1-print-cerr.exp: New file.
9250 * gdb.perf/gmonster1-ptype-string.exp: New file.
9251 * gdb.perf/gmonster1-runto-main.exp: New file.
9252 * gdb.perf/gmonster1-select-file.exp: New file.
9253 * gdb.perf/gmonster1.cc: New file.
9254 * gdb.perf/gmonster1.exp: New file.
9255 * gdb.perf/gmonster2-null-lookup.exp: New file.
9256 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9257 * gdb.perf/gmonster2-print-cerr.exp: New file.
9258 * gdb.perf/gmonster2-ptype-string.exp: New file.
9259 * gdb.perf/gmonster2-runto-main.exp: New file.
9260 * gdb.perf/gmonster2-select-file.exp: New file.
9261 * gdb.perf/gmonster2.cc: New file.
9262 * gdb.perf/gmonster2.exp: New file.
9264 2015-07-24 Doug Evans <dje@google.com>
9266 * gdb.perf/README: New file.
9267 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9268 * lib/gen-perf-test.exp: New file.
9270 2015-07-24 Doug Evans <dje@google.com>
9272 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9273 (PerfTest::startup): New function.
9274 (PerfTest::run): Return result of calling body.
9275 (PerfTest::assemble): Rewrite.
9276 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9277 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9278 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9279 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9280 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9282 2015-07-24 Doug Evans <dje@google.com>
9284 * lib/gdb.exp (clean_restart): Make executable optional.
9286 2015-07-24 Doug Evans <dje@google.com>
9288 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9289 compiler_info references.
9290 * gdb.cp/temargs.exp: Ditto.
9291 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9292 (get_compiler_info): Early exit if already computed. Set compiler_info
9293 to "unknown" if there was a problem.
9294 (test_compiler_info): Add function comment. Call get_compiler_info.
9296 2015-07-24 Doug Evans <dje@google.com>
9298 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9299 (workers/%.worker, build-perf): New rule.
9300 (GDB_PERFTEST_MODE): New variable.
9301 (check-perf): Use it.
9302 (clean): Clean up gdb.perf parallel build subdirs.
9303 * lib/build-piece.exp: New file.
9304 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9305 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9307 (standard_temp_file): Ditto.
9308 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9311 2015-07-24 Doug Evans <dje@google.com>
9313 * lib/future.exp (gdb_default_target_compile): New option
9315 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9318 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9320 * gdb.base/catch-syscall.exp: Call gdb_exit before
9323 2015-07-24 Pedro Alves <palves@redhat.com>
9325 * gdb.python/py-events.exp: Accept output between the stop event
9327 * gdb.python/py-evsignal.exp: Likewise.
9328 * gdb.python/py-evthreads.exp: Likewise.
9330 2015-07-24 Pedro Alves <palves@redhat.com>
9333 * gdb.threads/non-ldr-exit.c: New file.
9334 * gdb.threads/non-ldr-exit.exp: New file.
9336 2015-07-24 Yao Qi <yao.qi@linaro.org>
9338 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9341 2015-07-24 Yao Qi <yao.qi@linaro.org>
9343 * gdb.server/ext-restart.exp: New file.
9345 2015-07-24 Yao Qi <yao.qi@linaro.org>
9347 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9349 * gdb.server/ext-wrapper.exp: New file.
9351 2015-07-23 Doug Evans <dje@google.com>
9353 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9354 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9356 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9358 * gdb.ada/var_arr_typedef.exp: New testcase.
9359 * gdb.ada/var_arr_typedef/pack.adb: New file.
9360 * gdb.ada/var_arr_typedef/pack.ads: New file.
9361 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9363 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9365 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9367 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9369 * gdb.arch/i386-biarch-core.exp: Replace istarget
9370 by "complete set gnutarget". Remove expectation for the "core-file"
9373 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9375 Revert the previous commit:
9376 Tests for validate symbol file using build-id.
9378 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9380 Tests for validate symbol file using build-id.
9381 * gdb.base/solib-mismatch-lib.c: New file.
9382 * gdb.base/solib-mismatch-libmod.c: New file.
9383 * gdb.base/solib-mismatch.c: New file.
9384 * gdb.base/solib-mismatch.exp: New file.
9386 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9388 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9390 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9391 * gdb.base/siginfo.exp: Likewise.
9392 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9394 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9396 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9398 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9400 * gdb.trace/range-stepping.exp: Check that the target supports
9403 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9405 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9407 2015-07-14 Pedro Alves <palves@redhat.com>
9409 * gdb.base/killed-outside.exp: New file.
9410 * gdb.base/killed-outside.c: New file.
9412 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9414 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9416 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9418 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9420 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9421 infcall tests instead of setting up for KFAIL.
9423 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9425 * gdb.btrace/record_goto-step.exp: New.
9427 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9430 * gdb.compile/compile.c (struct struct_type): Add volatile to
9432 * gdb.compile/compile.exp
9433 (compile code struct_object.selffield = &struct_object): Skip further
9434 struct_object tests if this one xfails.
9436 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9439 * gdb.trace/ax.exp: Add test.
9441 2015-07-07 Yao Qi <yao.qi@linaro.org>
9443 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9444 instead of istarget "aarch64*-*-*".
9445 * gdb.arch/aarch64-fp.exp: Likewise.
9446 * gdb.base/float.exp: Likewise.
9447 * gdb.reverse/aarch64.exp: Likewise.
9448 * lib/gdb.exp (is_aarch64_target): New proc.
9450 2015-07-07 Yao Qi <yao.qi@linaro.org>
9452 * lib/gdb.exp (is_aarch32_target): New proc.
9453 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9454 instead of "istarget "arm*-*-*"".
9455 * gdb.arch/arm-disp-step.exp: Likewise.
9456 * gdb.arch/thumb-bx-pc.exp: Likewise.
9457 * gdb.arch/thumb-prologue.exp: Likewise.
9458 * gdb.arch/thumb-singlestep.exp: Likewise.
9459 * gdb.base/disp-step-syscall.exp: Likewise.
9460 * gdb.base/float.exp: Likewise.
9462 2015-07-07 Yao Qi <yao.qi@linaro.org>
9464 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9465 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9467 2015-07-07 Yao Qi <yao.qi@linaro.org>
9469 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9470 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9472 * gdb.multi/multi-arch.exp: Likewise.
9474 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9476 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9479 2015-07-07 Yao Qi <yao.qi@linaro.org>
9481 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9483 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9485 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9486 '[' and ']' characters.
9488 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9490 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9492 2015-06-29 Pedro Alves <palves@redhat.com>
9495 * gdb.threads/hand-call-new-thread.c: New file.
9496 * gdb.threads/hand-call-new-thread.c: New file.
9498 2015-06-26 Keith Seitz <keiths@redhat.com>
9499 Doug Evans <dje@google.com>
9502 * gdb.cp/var-tag-2.cc: New file.
9503 * gdb.cp/var-tag-3.cc: New file.
9504 * gdb.cp/var-tag-4.cc: New file.
9505 * gdb.cp/var-tag.cc: New file.
9506 * gdb.cp/var-tag.exp: New file.
9508 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9510 * gdb.base/history-duplicates.exp: New test.
9512 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9514 * gdb.base/completion.exp: Test the completion of the "focus"
9517 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9519 * gdb.arch/amd64-prologue-skip.S: New file.
9520 * gdb.arch/amd64-prologue-skip.exp: New file.
9522 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9524 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9525 is_address_zero_readable check.
9527 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9529 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9530 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9532 2015-06-24 Yao Qi <yao.qi@linaro.org>
9534 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9537 2015-06-24 Yao Qi <yao.qi@linaro.org>
9539 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9540 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9541 * gdb.base/siginfo-thread.exp: Likewise.
9543 2015-06-22 Yao Qi <yao.qi@linaro.org>
9545 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9547 2015-06-22 Yao Qi <yao.qi@linaro.org>
9549 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9551 (skip_hw_watchpoint_tests): Likewise.
9553 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9555 * gdb.base/gdbinit-history.exp: Test the interaction between
9556 setting GDBHISTSIZE and setting the history size via .gdbinit.
9558 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9561 * gdb.base/gdbhistsize-history.exp: New test.
9563 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9565 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9567 * gdb.base/readline.exp: Likewise.
9569 2015-06-17 Yao Qi <yao.qi@linaro.org>
9571 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9574 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9576 * gdb.base/gdbinit-history.exp: Add test case to check that
9577 an unlimited history file does not get truncated on exit.
9579 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9581 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9582 (VECTOR): New macro. Use it...
9583 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9584 ...for these typedefs.
9585 (int8, char1, int1, double1): New typedefs.
9586 (struct just_int2, struct two_int2): New structures.
9587 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9588 (add_structvecs, add_singlevecs): New functions.
9589 (main): Call add_some_intvecs twice.
9590 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9591 the compile and exit upon failure. Try compiling for the "native"
9592 architecture. Test inferior function calls with vector arguments
9593 and vector return value handling with "finish" and "return".
9595 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9597 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9598 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9600 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9602 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9604 PR breakpoints/16465
9605 * gdb.mi/mi-dprintf-pending.c: New file.
9606 * gdb.mi/mi-dprintf-pending.exp: New test.
9607 * gdb.mi/mi-dprintf-pendshr.c: New file.
9609 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9610 Mircea Gherzan <mircea.gherzan@intel.com>
9612 * gdb.arch/i386-mpx-map.c: New file.
9613 * gdb.arch/i386-mpx-map.exp: New File.
9615 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9617 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9618 * gdb.arch/i386-mpx.exp: Indentation fixed.
9620 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9622 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9623 function and improved indentation.
9624 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9625 gdb_test_multiple. Added additional tests to skip the test.
9627 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9629 * gdb.arch/i386-avx512.c: Change path in include file.
9630 * gdb.arch/i386-avx512.exp: Change include dir path
9632 * gdb.arch/i386-mpx.c: Change path in include file.
9633 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9636 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9638 * gdb.compile/compile-print.exp (compile print *vararray@3)
9639 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9641 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9643 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9644 (do not keep jit in memory): ... this.
9645 (expect 5): Change it to ...
9646 (expect no 5): ... this.
9648 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9651 * gdb.mi/mi-detach.exp: New file.
9653 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9656 * gdb.arch/amd64-tailcall-self.S: New file.
9657 * gdb.arch/amd64-tailcall-self.c: New file.
9658 * gdb.arch/amd64-tailcall-self.exp: New file.
9660 2015-05-28 Don Breazeal <donb@codesourcery.com>
9662 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9663 tests for remote targets by checking is_target_gdbserver.
9665 2015-05-27 Doug Evans <dje@google.com>
9667 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9668 * gdb.dwarf2/opaque-type-lookup.c: New file.
9669 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9671 2015-05-26 Doug Evans <dje@google.com>
9673 * gdb.cp/iostream.cc: New file.
9674 * gdb.cp/iostream.exp: New file.
9676 2015-05-26 Doug Evans <dje@google.com>
9678 * gdb.dwarf2/dw2-op-call.exp: Update.
9679 * gdb.dwarf2/dw4-sig-types.exp: Update.
9680 * gdb.dwarf2/implptr.exp: Update.
9681 * gdb.mi/mi-cmd-param-changed.exp: Update.
9683 2015-05-26 Doug Evans <dje@google.com>
9685 * gdb.python/py-lazy-string.c: New file.
9686 * gdb.python/py-lazy-string.exp: New file.
9687 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9688 (main): Update. Add estring3.
9689 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9690 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9692 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9693 Yao Qi <yao.qi@linaro.org>
9695 * gdb.reverse/aarch64.c: New.
9696 * gdb.reverse/aarch64.exp: New.
9698 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9700 * lib/gdb.exp (supports_process_record): Return true for
9702 (supports_reverse): Likewise.
9704 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9706 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9707 Use with_test_prefix.
9709 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9711 * gdb.base/completion.exp: Add test for completion of layout
9714 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9716 * lib/gdb.exp (skip_tui_tests): New proc.
9717 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9719 2015-05-19 Pedro Alves <palves@redhat.com>
9721 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9722 Save the whole env array instead of just HOME. Unset HISTSIZE in
9723 the environment while testing. Restore whole environment
9726 2015-05-16 Doug Evans <xdje42@gmail.com>
9728 * gdb.guile/scm-ports.c: New file.
9729 * gdb.guile/scm-ports.exp: Add memory port tests.
9731 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9733 * gdb.compile/compile-print.c: New file.
9734 * gdb.compile/compile-print.exp: New file.
9736 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9738 * gdb.compile/compile-ops.exp: Cast param to void.
9739 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9740 (compile code struct_object.selffield = &struct_object): Add xfail.
9742 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9744 * gdb.ada/arr_enum_with_gap: New testcase.
9746 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9748 * gdb.ada/byte_packed_arr: New testcase.
9750 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9752 * gdb.ada/pckd_neg: New testcase.
9754 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9757 * gdb.base/gdbinit-history.exp: New test.
9758 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9759 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9761 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9763 * gdb.python/py-xmethods.cc: Enhance test case.
9764 * gdb.python/py-xmethods.exp: New tests.
9765 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9767 (B_indexoper): Likewise.
9768 (global_dm_list) : Add new xmethod worker functions.
9770 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9772 * gdb.base/coredump-filter.exp: Correctly unset
9773 "coredump_var_addr" array.
9775 2015-05-08 Pedro Alves <palves@redhat.com>
9777 * gdb.server/non-existing-program.exp: Unset spawn_id.
9779 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9782 * gdb.python/py-xmethods.exp: Add tests.
9784 2015-05-08 Yao Qi <yao.qi@linaro.org>
9787 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9788 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9789 function set_coredump_filter, and remove remote_exec call.
9790 Remove argument ipid. Callers update.
9791 (top level): Don't get inferior's PID.
9793 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9795 * gdb.base/watch_thread_num.exp: Skip test on targets without
9798 2015-05-06 Pedro Alves <palves@redhat.com>
9801 * gdb.server/non-existing-program.exp: New file.
9803 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9805 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9807 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9809 * gdb.ada/out_of_line_in_inlined: New testcase.
9811 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9813 * gdb.ada/var_rec_arr: New testcase.
9815 2015-04-30 Yao Qi <yao.qi@linaro.org>
9817 * gdb.base/break-idempotent.exp: If
9818 skip_hw_watchpoint_multi_tests returns true, skip the tests
9819 on "rwatch" and "awatch".
9821 2015-04-30 Yao Qi <yao.qi@linaro.org>
9823 * gdb.base/relativedebug.exp: Invoke gdb command
9824 "info sharedlibrary", and if libc.so doesn't have debug info,
9827 2015-04-29 Doug Evans <dje@google.com>
9829 * gdb.python/py-xmethods.exp: Add ptype tests.
9830 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9831 get_result_type method.
9833 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9835 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9836 the target does not support hardware watchpoints.
9838 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9840 * gdb.base/break-always.exp: Abort testing if writing to memory
9843 2015-04-28 Doug Evans <dje@google.com>
9845 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9846 * gdb.python/py-pp-registration.exp: ... here. New file.
9847 * gdb.python/py-pp-registration.c: New file.
9848 * gdb.python/py-pp-registration.py: New file.
9850 2015-04-28 Doug Evans <dje@google.com>
9852 * gdb.python/py-bad-printers.c: New file.
9853 * gdb.python/py-bad-printers.py: New file.
9854 * gdb.python/py-bad-printers.exp: New file.
9856 2015-04-28 Sasha Smundak <asmundak@google.com>
9858 * gdb.python/py-type.exp: New test.
9860 2015-04-28 Andy Wingo <wingo@igalia.com>
9862 * gdb.python/py-parameter.exp:
9863 * gdb.guile/scm-parameter.exp: Escape the path that we are
9864 matching against, as it might contain characters that are special
9865 to regular expressions.
9867 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9869 * gdb.ada/rec_comp: New testcase.
9871 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9873 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9876 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9878 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9879 new tests for verilog output.
9881 2015-04-24 Yao Qi <yao.qi@linaro.org>
9883 * boards/remote-gdbserver-on-localhost.exp: New file.
9885 2015-04-23 Pedro Alves <palves@redhat.com>
9887 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9888 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9889 "end of file", remove $inferior_spawn_id from the indirect list.
9891 2015-04-23 Pedro Alves <palves@redhat.com>
9893 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9895 2015-04-23 Pedro Alves <palves@redhat.com>
9897 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9898 on $any_spawn_id instead of only on $gdb_spawn_id.
9900 2015-04-21 Pierre Muller <muller@sourceware.org>
9903 * lib/pascal.exp (gpc_compile): Add new option "class".
9904 (fpc_compile): Likewise.
9905 * gdb.pascal/case-insensitive-symbols.pas: New file.
9906 * gdb.pascal/case-insensitive-symbols.exp: New file.
9908 2015-04-20 Gary Benson <gbenson@redhat.com>
9910 * gdb.base/attach.exp: Fix three extended remote failures.
9912 2015-04-17 Gary Benson <gbenson@redhat.com>
9914 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9915 the main executable over the remote protocol.
9917 2015-04-16 Pedro Alves <palves@redhat.com>
9919 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9920 a new gdbserver if gdbserver_reconnect_p is set.
9922 2015-04-16 Pedro Alves <palves@redhat.com>
9924 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9925 is set, don't exit gdbserver.
9927 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9929 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9930 appropriate .insn, such that an older assembler can be used.
9931 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9932 the z/Architecture instruction set on 31-bit targets as well.
9934 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9936 * gdb.go/handcall.exp: Remove all logic related to the first
9937 breakpoint and rely on go_runto_main instead.
9938 * gdb.go/strings.exp: Likewise.
9939 * gdb.go/unsafe.exp: Likewise.
9940 * gdb.go/hello.exp: Likewise. Also rename the remaining
9941 breakpoint marker to "breakpoint 1".
9942 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9943 * gdb.go/strings.go: Likewise.
9944 * gdb.go/unsafe.go: Likewise.
9945 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9946 "set breakpoint 2 here" and rename the remaining breakpoint marker
9949 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9951 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9952 if itertools.imap is not present.
9953 * gdb.python/py-objfile.exp: Add parentheses.
9954 * gdb.python/py-type.exp: Same.
9955 * gdb.python/py-unwind-maint.py: Same.
9957 2015-04-15 Yao Qi <yao.qi@linaro.org>
9959 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9960 of ":$ptr_size" and set its form explicitly.
9962 2015-04-15 Pedro Alves <palves@redhat.com>
9963 Yao Qi <yao.qi@linaro.org>
9965 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9966 timeout by factor of 4.
9967 (test_regular_watch): Likewise.
9968 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9969 * gdb.reverse/sigall-reverse.exp: Likewise.
9970 * gdb.reverse/until-precsave.exp: Likewise.
9971 * lib/gdb.exp (with_timeout_factor): New proc.
9972 (gdb_expect): Move some code to ...
9973 (get_largest_timeout): ... here. New procedure.
9975 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9977 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9979 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9981 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9982 to write to the .text section.
9984 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9986 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9987 Handle the case of targets that do not provide PID information.
9989 2015-04-13 Yao Qi <yao.qi@linaro.org>
9991 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9992 and use expect instead of gdb_expect.
9994 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9996 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9997 "coredump_var_addr" to avoid naming conflict with other testcases.
9999 2015-04-10 Pedro Alves <palves@redhat.com>
10001 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10002 gdb_test_sequence and gdb_assert.
10004 2015-04-10 Pedro Alves <palves@redhat.com>
10006 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10007 test messages that don't include the breakpoint address.
10009 2015-04-10 Yao Qi <yao.qi@linaro.org>
10011 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10012 false for some offset and width combinations which aren't
10013 supported by linux kernel.
10015 2015-04-10 Pedro Alves <palves@redhat.com>
10017 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10018 procedure, factored out from ...
10019 (top level): ... here. Add "set displaced-stepping" testing axis.
10020 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10021 parameter "displaced". Use it.
10022 (top level): Use foreach and add "set displaced-stepping" testing
10025 2015-04-10 Pedro Alves <palves@redhat.com>
10027 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10029 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10030 both the address of the instruction that triggers the watchpoint
10031 and the address of the instruction immediately after, and use
10032 those addresses for the test. Fix comment.
10034 2015-04-10 Pedro Alves <palves@redhat.com>
10036 * gdb.base/sigstep.exp (breakpoint_to_handler)
10037 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10038 Test "backtrace" in handler.
10039 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10040 (top level): Add new "displaced" test axis to
10041 breakpoint_to_handler, breakpoint_to_handler_entry and
10042 breakpoint_over_handler.
10044 2015-04-10 Pedro Alves <palves@redhat.com>
10047 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10049 2015-04-10 Yao Qi <yao.qi@linaro.org>
10051 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10052 (test_add_rn_pc): New function.
10053 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10054 (top level): Invoke test_add_rn_pc.
10056 2015-04-10 Pedro Alves <palves@redhat.com>
10059 * gdb.base/step-over-no-symbols.exp: New file.
10061 2015-04-09 Andy Wingo <wingo@igalia.com>
10063 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10064 after the Python tests.
10066 2015-04-08 Keith Seitz <keiths@redhat.com>
10069 * gdb.python/py-completion.exp: New tests for completion.
10070 * gdb.python/py-completion.py (CompleteLimit1): New class.
10071 (CompleteLimit2): Likewise.
10072 (CompleteLimit3): Likewise.
10073 (CompleteLimit4): Likewise.
10074 (CompleteLimit5): Likewise.
10075 (CompleteLimit6): Likewise.
10076 (CompleteLimit7): Likewise.
10078 2015-04-08 Pedro Alves <palves@redhat.com>
10082 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10084 (main): Install it as SIGUSR1 handler.
10085 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10086 parameter. Always use "setup" as prefix. Toggle "set
10087 displaced-stepping" off/on depending on global. Don't switch to
10089 (top level): Add displaced stepping "off/on" test axis. Update
10090 "setup" calls. Wrap each subtest with with_test_prefix. Test
10091 continuing with a queued signal in each thread.
10093 2015-04-08 Pedro Alves <palves@redhat.com>
10095 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10096 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10097 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10098 Return early if running to main fails.
10099 * gdb.trace/while-stepping.exp: Likewise.
10101 2015-04-07 Pedro Alves <palves@redhat.com>
10103 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10104 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10105 interact with inferior program.
10107 2015-04-07 Pedro Alves <palves@redhat.com>
10109 * lib/gdb.exp (inferior_spawn_id): New global.
10110 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10111 spawn id after processing the user code.
10112 (default_gdb_start): Set inferior_spawn_id.
10113 (send_inferior): New procedure.
10114 * lib/gdbserver-support.exp (gdbserver_start): Set
10116 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10118 2015-04-07 Pedro Alves <palves@redhat.com>
10120 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10121 * lib/gdbserver-support.exp (gdbserver_start): Make
10122 $server_spawn_id global.
10123 (gdbserver_start): Don't wait for gdbserver's spawn id with
10125 (close_gdbserver): New procedure.
10126 (gdb_exit): Rename the default version and reimplement.
10128 2015-04-07 Pedro Alves <palves@redhat.com>
10130 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10131 append the substituted item, not the original item.
10133 2015-04-07 Pedro Alves <palves@redhat.com>
10135 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10138 2015-04-07 Pedro Alves <palves@redhat.com>
10140 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10141 output appearing once only.
10143 2015-04-07 Pedro Alves <palves@redhat.com>
10145 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10146 that doesn't expect anything. Return early if running to main
10149 2015-04-07 Yao Qi <yao.qi@linaro.org>
10151 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10152 (child_function): Call alarm.
10153 (main): Move call to alarm into the loop.
10154 * gdb.threads/non-stop-fair-events.exp: Build program with
10155 -DTIMEOUT=$timeout.
10157 2015-04-06 Doug Evans <xdje42@gmail.com>
10159 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10160 Fix dest parameter to board_info.
10161 (fpc_compile): Ditto.
10162 (gdb_compile_pascal): Rename dest arg to destfile.
10164 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10166 * gdb.ada/funcall_ref.exp: New file.
10167 * gdb.ada/funcall_ref/foo.adb: New file.
10169 2015-04-02 Yao Qi <yao.qi@linaro.org>
10171 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10174 2015-04-02 Gary Benson <gbenson@redhat.com>
10176 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10178 2015-04-01 Sasha Smundak <asmundak@google.com>
10180 * gdb.python/py-unwind-maint.c: New file.
10181 * gdb.python/py-unwind-maint.exp: New test.
10182 * gdb.python/py-unwind-maint.py: New file.
10183 * gdb.python/py-unwind.c: New file.
10184 * gdb.python/py-unwind.exp: New test.
10185 * gdb.python/py-unwind.py: New test.
10187 2015-04-01 Pedro Alves <palves@redhat.com>
10189 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10190 to fail instead of non-existent $test.
10192 2015-04-01 Pedro Alves <palves@redhat.com>
10194 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10195 GDBFLAGS if not empty.
10197 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10199 * gdb.ada/complete.exp: Remove "multi_line".
10200 * gdb.ada/info_exc.exp: Remove "multi_line".
10201 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10202 * gdb.ada/ptype_field.exp: Remove "multi_line".
10203 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10204 * gdb.ada/tagged.exp: Remove "multi_line".
10205 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10207 * gdb.btrace/delta.exp: Likewise.
10208 * gdb.btrace/exception.exp: Likewise.
10209 * gdb.btrace/function_call_history.exp: Likewise.
10210 * gdb.btrace/instruction_history.exp: Likewise.
10211 * gdb.btrace/nohist.exp: Likewise.
10212 * gdb.btrace/record_goto.exp: Likewise.
10213 * gdb.btrace/segv.exp: Likewise.
10214 * gdb.btrace/stepi.exp: Likewise.
10215 * gdb.btrace/tailcall.exp: Likewise.
10216 * gdb.btrace/unknown_functions.exp: Likewise.
10217 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10218 * lib/gdb.exp: Add the "multi_line" helper.
10220 2015-04-01 Pedro Alves <palves@redhat.com>
10222 * gdb.threads/tid-reuse.c: New file.
10223 * gdb.threads/tid-reuse.exp: New file.
10225 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10228 * gdb.base/coredump-filter.c: New file.
10229 * gdb.base/coredump-filter.exp: Likewise.
10231 2015-03-27 Petr Machata <pmachata@redhat.com>
10233 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10234 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10235 (Dwarf::assemble): Initialize them.
10236 (Dwarf::lines): New function.
10238 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10240 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10241 SYMBOL_PREFIX for x86_64-*-cygwin.
10243 2015-03-26 Andy Wingo <wingo@igalia.com>
10246 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10247 const_value but not a location.
10248 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10249 location defined in non-main CUs are visible.
10251 2015-03-26 Yao Qi <yao.qi@linaro.org>
10254 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10255 Add a line number entry for the same line.
10256 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10257 Add a line number entry for the same line.
10259 2015-03-26 Yao Qi <yao.qi@linaro.org>
10261 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10263 (func): Likewise. Add .Lfunc_1 label.
10264 Use .Lfunc_1 label.
10265 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10268 Use .Lfunc_1 label.
10270 2015-03-26 Yao Qi <yao.qi@linaro.org>
10272 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10273 Call gdb_compile instead to compile each .s files without debug
10276 2015-03-26 Yao Qi <yao.qi@linaro.org>
10278 * gdb.base/savedregs.exp (process_saved_regs): Make
10279 "Saved registers:" optional in the pattern.
10281 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10283 * gdb.btrace/next.exp: Merged into step.exp.
10284 * gdb.btrace/finish.exp: Merged into step.exp.
10285 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10286 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10287 "record goto" and checking the exact replay position.
10288 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10289 check for "Recording format" in "info record" output.
10290 * gdb.btrace/record_goto.exp: Choose test file based on target.
10291 * gdb.btrace/x86-record_goto.S: Renamed into ...
10292 * gdb.btrace/x86_64-record_goto.S: ... this.
10293 * gdb.btrace/i686-record_goto.S: New.
10294 * gdb.btrace/x86-tailcall.S: Renamed into ...
10295 * gdb.btrace/x86_64-tailcall.S: ... this.
10296 * gdb.btrace/i686-tailcall.S: New.
10297 * gdb.btrace/x86-tailcall.c: Renamed into ...
10298 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10299 separate statements. Update test.
10300 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10301 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10302 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10303 * gdb.btrace/tailcall.exp: Choose test file based on target.
10304 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10306 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10308 * gdb.btrace/exception.exp: Increase BTS buffer size.
10310 2015-03-24 Pedro Alves <palves@redhat.com>
10312 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10314 2015-03-24 Pedro Alves <palves@redhat.com>
10316 * gdb.threads/schedlock.exp (test_step): No longer expect that
10317 "set scheduler-locking step" with "next" over a function call runs
10320 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10322 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10324 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10326 PR breakpoints/16466
10327 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10328 * gdb.mi/mi-pending.c (thread_func): New function.
10329 (int main): Add threading support required.
10330 * gdb.mi/mi-pending.exp: Add tests for this issue.
10331 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10332 (pendfunc2): Remove stdio dependency.
10333 * gdb.mi/mi-pendshr2.c: New file.
10335 2015-03-23 Keith Seitz <keiths@redhat.com>
10337 * gdb.linespec/keywords.c: New file.
10338 * gdb.linespec/keywords.exp: New file.
10340 2015-03-23 Keith Seitz <keiths@redhat.com>
10343 * gdb.dwarf2/staticvirtual.exp: New test.
10345 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10347 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10348 * README: Remove HP-UX and gdb.hp.
10350 * configure: Regenerate.
10351 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10352 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10353 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10354 gdb.hp/gdb.defects/Makefile.
10355 * gdb.hp/Makefile.in: File deleted.
10356 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10357 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10358 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10359 * gdb.hp/gdb.aCC/run.c: File deleted.
10360 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10361 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10362 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10363 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10364 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10365 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10366 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10367 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10368 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10369 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10370 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10371 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10372 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10373 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10374 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10375 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10376 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10377 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10378 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10379 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10380 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10381 * gdb.hp/gdb.compat/average.c: File deleted.
10382 * gdb.hp/gdb.compat/sum.c: File deleted.
10383 * gdb.hp/gdb.compat/xdb.c: File deleted.
10384 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10385 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10386 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10387 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10388 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10389 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10390 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10391 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10392 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10393 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10394 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10395 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10396 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10397 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10398 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10399 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10400 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10401 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10402 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10403 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10404 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10405 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10406 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10407 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10408 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10409 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10410 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10411 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10412 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10413 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10414 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10415 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10416 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10417 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10418 * gdb.hp/tools/odump: File deleted.
10420 2015-03-19 Pedro Alves <palves@redhat.com>
10422 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10423 (saw_thread_3): New globals.
10424 (top level): Increment them when an event for the corresponding
10426 (no thread starvation): New test.
10428 2015-03-19 Pedro Alves <palves@redhat.com>
10430 * gdb.threads/continue-pending-status.c: New file.
10431 * gdb.threads/continue-pending-status.exp: New file.
10433 2015-03-18 Pedro Alves <palves@redhat.com>
10435 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10436 Use gdb_is_target_remote instead of is_remote. Use
10437 gdb_test_multiple instead of gdb_expect. Exit early if
10438 gdb_test_multiple hits its internal matches. Tighten stepi tests
10439 expected output. Fail on exit with any signal, instead of just
10442 2015-03-18 Yao Qi <yao.qi@linaro.org>
10445 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10447 * gdb.base/catch-syscall.exp: Don't skip it on
10448 aarch64*-*-linux* target. Remove elements in all_syscalls.
10449 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10451 (setup_all_syscalls): New proc.
10453 2015-03-16 Yao Qi <yao.qi@linaro.org>
10455 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10456 (top level): Skip tests if valid_addr_p returns false for
10459 2015-03-11 Andy Wingo <wingo@igalia.com>
10461 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10463 2015-03-11 Yao Qi <yao.qi@linaro.org>
10465 * gdb.base/catch-syscall.exp: Fix typo in comments.
10467 2015-03-11 Yao Qi <yao.qi@linaro.org>
10469 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10471 2015-03-09 Pedro Alves <palves@redhat.com>
10473 * dg-extract-results.py: Delete.
10475 2015-03-09 Pedro Alves <palves@redhat.com>
10477 Merge dg-extract-results.sh from GCC upstream (r218843).
10479 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10480 * dg-extract-results.sh: Use --text with grep to avoid issues with
10481 binary files. Fall back to cat -v, if that doesn't work.
10483 2015-03-05 Pedro Alves <palves@redhat.com>
10485 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10487 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10489 * lib/mi-support.exp (mi_expect_interrupt): Accept
10490 alternative event for when in all-stop mode.
10492 2015-03-04 Pedro Alves <palves@redhat.com>
10494 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10496 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10498 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10500 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10502 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10503 regexps for GDB's current line display, accept a hex address
10504 preceding the line number.
10506 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10508 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10509 the 'arch1' variable for "s390*-linux*" targets.
10511 2015-03-04 Pedro Alves <palves@redhat.com>
10513 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10514 (main): Pass missing retval argument to pthread_join call.
10516 2015-03-02 Pedro Alves <palves@redhat.com>
10518 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10519 (top level): Call do_test with non-stop as well.
10521 2015-03-02 Pedro Alves <palves@redhat.com>
10523 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10526 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10528 * gdb.arch/s390-vregs.exp: New test.
10529 * gdb.arch/s390-vregs.S: New file.
10531 2015-02-27 Pedro Alves <palves@redhat.com>
10533 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10534 call to catch_command_errors.
10535 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10536 catch_command_errors.
10538 2015-02-27 Pedro Alves <palves@redhat.com>
10540 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10541 "true" for boolean result.
10542 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10545 2015-02-27 Pedro Alves <palves@redhat.com>
10547 * lib/unbuffer_output.c: New file.
10548 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10549 (main): Call gdb_unbuffer_output.
10551 2015-02-27 Yao Qi <yao.qi@linaro.org>
10553 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10556 2015-02-26 Doug Evans <dje@google.com>
10558 * gdb.cp/class2.cc (Dbase, D): New classes.
10559 (main): New local delta.
10560 * gdb.cp/class2.exp: Test printing delta.
10561 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10562 (dynbar): New global.
10563 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10565 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10567 * gdb.compile/compile-ifunc.c: New file.
10568 * gdb.compile/compile-ifunc.exp: New file.
10570 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10572 * gdb.base/structs.exp: Check for correct struct on finish.
10574 2015-02-26 Yao Qi <yao.qi@linaro.org>
10576 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10579 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10581 * gdb.arch/cordic.ko.bz2: New file.
10582 * gdb.arch/cordic.ko.debug.bz2: New file.
10583 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10585 2015-02-25 Yao Qi <yao.qi@linaro.org>
10587 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10588 aarch64*-*-* target.
10590 2015-02-23 Pedro Alves <palves@redhat.com>
10592 * lib/gdb.exp (delete_breakpoints): Rewrite using
10595 2015-02-23 Pedro Alves <palves@redhat.com>
10597 * gdb.base/info-os.c: Include stdlib.h.
10599 2015-02-22 Doug Evans <xdje42@gmail.com>
10602 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10603 is read after symbols have been re-read.
10604 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10605 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10607 2015-02-21 Doug Evans <dje@google.com>
10609 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10611 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10614 * gdb.arch/i386-biarch-core.core.bz2: New file.
10615 * gdb.arch/i386-biarch-core.exp: New file.
10617 2015-02-21 Pedro Alves <palves@redhat.com>
10619 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10622 2015-02-20 Pedro Alves <palves@redhat.com>
10624 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10627 2015-02-20 Pedro Alves <palves@redhat.com>
10629 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10631 2015-02-20 Pedro Alves <palves@redhat.com>
10633 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10634 clean_restart before gdb_target_supports_trace.
10636 2015-02-20 Pedro Alves <palves@redhat.com>
10639 * gdb.threads/clone-thread_db.c: New file.
10640 * gdb.threads/clone-thread_db.exp: New file.
10642 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10644 PR breakpoints/16812
10645 * gdb.base/catch-gdb-caused-signals.c: New file.
10646 * gdb.base/catch-gdb-caused-signals.exp: New file.
10648 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10650 * configure: Regenerated.
10651 * configure.ac: Use GDB_AC_TRANSFORM.
10652 * aclocal.m4: sinclude ../transform.m4.
10654 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10656 * lib/dtrace.exp: New file.
10657 * gdb.base/dtrace-probe.exp: Likewise.
10658 * gdb.base/dtrace-probe.d: Likewise.
10659 * gdb.base/dtrace-probe.c: Likewise.
10660 * lib/pdtrace.in: Likewise.
10661 * configure.ac: Output variables with the transformed names of
10662 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10663 * configure: Regenerated.
10665 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10667 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10668 expected message when trying to access $_probe_* convenience
10669 variables while not on a probe.
10671 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10673 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10675 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10677 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10678 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10680 2015-02-10 Doug Evans <xdje42@gmail.com>
10682 * lib/gdb.exp (gdb_load): Always return a result.
10684 2015-02-10 Pedro Alves <palves@redhat.com>
10686 * gdb.threads/signal-sigtrap.c: New file.
10687 * gdb.threads/signal-sigtrap.exp: New file.
10689 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10691 * gdb.trace/no-attach-trace.c: New file.
10692 * gdb.trace/no-attach-trace.exp: New file.
10694 2015-02-09 Mark Wielaard <mjw@redhat.com>
10696 * gdb.dwarf2/atomic.c: New file.
10697 * gdb.dwarf2/atomic-type.exp: Likewise.
10699 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10701 * gdb.btrace/buffer-size.exp: Update "info record" output.
10702 * gdb.btrace/delta.exp: Update "info record" output.
10703 * gdb.btrace/enable.exp: Update "info record" output.
10704 * gdb.btrace/finish.exp: Update "info record" output.
10705 * gdb.btrace/instruction_history.exp: Update "info record" output.
10706 * gdb.btrace/next.exp: Update "info record" output.
10707 * gdb.btrace/nexti.exp: Update "info record" output.
10708 * gdb.btrace/step.exp: Update "info record" output.
10709 * gdb.btrace/stepi.exp: Update "info record" output.
10710 * gdb.btrace/nohist.exp: Update "info record" output.
10712 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10714 * gdb.btrace/buffer-size: New.
10716 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10718 * gdb.btrace/delta.exp: Update "info record" output.
10719 * gdb.btrace/enable.exp: Update "info record" output.
10720 * gdb.btrace/finish.exp: Update "info record" output.
10721 * gdb.btrace/instruction_history.exp: Update "info record" output.
10722 * gdb.btrace/next.exp: Update "info record" output.
10723 * gdb.btrace/nexti.exp: Update "info record" output.
10724 * gdb.btrace/step.exp: Update "info record" output.
10725 * gdb.btrace/stepi.exp: Update "info record" output.
10726 * gdb.btrace/nohist.exp: Update "info record" output.
10728 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10731 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10733 2015-02-06 Pedro Alves <palves@redhat.com>
10735 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10737 (seconds_left, again): New globals.
10738 (main): Wait seconds_left in a 1-second sleep loop instead of
10739 sleeping 180 seconds. If 'again' is set, reset the seconds
10741 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10742 'again' in the inferior before detaching. Print the seconds left.
10743 (options): New global.
10744 (top level): Build program with -DTIMEOUT=$timeout.
10746 2015-02-06 Pedro Alves <palves@redhat.com>
10748 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10749 determine how many seconds to pass to 'alarm'.
10750 * gdb.base/gdb-sigterm.exp (top level): Build program with
10751 -DTIMEOUT=$timeout.
10752 (do_test): Return success/failure indication. Add more verbose
10753 logging. Don't fail if 200 single steps are seen. Instead, fail
10754 when the test times out.
10755 (passes): New global.
10756 (top level): Break the testing loop if testing fails on any
10757 iteration. Use gdb_assert.
10759 2015-02-04 Don Breazeal <donb@codesourcery.com>
10761 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10762 and initialize them.
10763 (ipc_cleanup): New function.
10764 (main): Don't declare shmid, semid, and msqid. Add a call to
10765 atexit so that we call ipc_cleanup on exit.
10767 2015-02-04 Pedro Alves <palves@redhat.com>
10769 * boards/native-extended-gdbserver.exp: Remove any target variant
10770 specifications from the board name before clearing the isremote
10771 flag from board_info.
10773 2015-01-31 Doug Evans <xdje42@gmail.com>
10775 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10777 2015-01-31 Gary Benson <gbenson@redhat.com>
10779 * gdb.base/completion.exp: Disable completion limiting for
10780 existing tests. Add new tests to check completion limiting.
10781 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10783 2015-01-31 Doug Evans <xdje42@gmail.com>
10785 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10787 2015-01-31 Doug Evans <xdje42@gmail.com>
10789 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10790 entries. Duplicate file section script entries.
10791 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10792 inlined entries. Add test for safe-path rejection.
10793 * gdb.python/py-section-script.c: Add duplicate inlined section script
10794 entries. Duplicate file section script entries.
10795 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10796 inlined entries. Add test for safe-path rejection.
10798 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10800 * gdb.ada/disc_arr_bound: New testcase.
10802 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10804 * gdb.ada/mi_var_array: New testcase.
10806 2015-01-27 Doug Evans <dje@google.com>
10808 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10809 Add test for objfile.filename, objfile.username after objfile
10812 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10814 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10815 the second test to print the name attribute of value
10816 returned by the call to gdb.lookup_type, and adjust
10817 the expected output accordingly.
10819 2015-01-25 Mark Wielaard <mjw@redhat.com>
10821 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10822 * gdb.base/disp-step-fork.c: Include unistd.h.
10823 * gdb.base/siginfo-obj.c: Include stdio.h.
10824 * gdb.base/siginfo-thread.c: Likewise.
10825 * gdb.mi/non-stop.c: Include unistd.h.
10826 * gdb.mi/nsthrexec.c: Include stdio.h.
10827 * gdb.mi/pthreads.c: Include unistd.h.
10828 * gdb.modula2/unbounded1.c (main): Declare returns int.
10829 * gdb.reverse/consecutive-reverse.c: Likewise.
10830 * gdb.threads/create-fail.c: Include unistd.h.
10831 * gdb.threads/killed.c: Likewise.
10832 * gdb.threads/linux-dp.c: Likewise.
10833 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10834 * gdb.threads/non-ldr-exc-2.c: Likewise.
10835 * gdb.threads/non-ldr-exc-3.c: Likewise.
10836 * gdb.threads/non-ldr-exc-4.c: Likewise.
10837 * gdb.threads/pthreads.c: Include unistd.h.
10838 (main): Declare returns int.
10839 * gdb.threads/tls-main.c (foo): New declaration.
10840 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10842 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10844 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10845 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10847 2015-01-15 Mark Wielaard <mjw@redhat.com>
10849 * gdb.base/noreturn-return.c: New file.
10850 * gdb.base/noreturn-return.exp: New file.
10851 * gdb.base/noreturn-finish.c: New file.
10852 * gdb.base/noreturn-finish.exp: New file.
10854 2015-01-23 Pedro Alves <palves@redhat.com>
10856 * gdb.threads/continue-pending-after-query.c: New file.
10857 * gdb.threads/continue-pending-after-query.exp: New file.
10859 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10860 Simon Marchi <simon.marchi@ericsson.com>
10862 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10863 * gdb.base/valgrind-db-attach.exp: Same.
10864 * gdb.base/valgrind-infcall.exp: Same.
10865 * lib/mi-support.exp (default_mi_gdb_start): Same.
10866 * lib/prompt.exp (default_prompt_gdb_start): Same.
10867 * lib/gdb.exp (default_gdb_spawn): Same.
10868 (gdb_interact): New.
10871 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10873 * gdb.compile/compile.exp (pointer to jit function): New test.
10875 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10877 * lib/gdb.exp (supports_process_record): Return true for
10879 (supports_reverse): Likewise.
10881 2015-01-15 Don Breazeal <donb@codesourcery.com>
10883 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10884 instead of checking whether the target board is remote and
10885 use spawn_wait_for_attach instead of exec/sleep.
10886 * gdb.base/attach-twice.exp: Likewise.
10888 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10890 * gdb.ada/var_arr_attrs: New testcase.
10892 2015-01-14 Pedro Alves <palves@redhat.com>
10893 Joel Brobecker <brobecker@adacore.com>
10896 * gdb.base/bp-cmds-execution-x-script.c: New file.
10897 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10898 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10900 2015-01-14 Pedro Alves <palves@redhat.com>
10903 * gdb.base/batch-preserve-term-settings.c: New file.
10904 * gdb.base/batch-preserve-term-settings.exp: New file.
10906 2015-01-13 Doug Evans <dje@google.com>
10908 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10911 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10913 * Makefile.in (clean mostlyclean): Do not delete *.py.
10915 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10917 * gdb.python/py-lookup-type.exp: New file.
10919 2015-01-12 Pedro Alves <palves@redhat.com>
10921 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10922 restore GDBFLAGS before returning.
10924 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10926 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10927 is_amd64_regs_target and is_x86_like_target.
10929 2015-01-11 Doug Evans <xdje42@gmail.com>
10931 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10932 is given without an explicit form.
10933 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10935 * gdb.dwarf/corrupt.exp: Ditto.
10936 * gdb.dwarf2/enum-type.exp: Ditto.
10937 * gdb.trace/entry-values.exp: Ditto.
10938 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10940 2015-01-11 Doug Evans <xdje42@gmail.com>
10943 * gdb.base/maint.exp: Remove references to "maint demangle".
10944 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10945 Add tests for explicitly specifying language to demangle.
10946 * gdb.dlang/demangle.exp: Ditto.
10948 2015-01-09 Pedro Alves <palves@redhat.com>
10950 * gdb.threads/non-stop-fair-events.c: New file.
10951 * gdb.threads/non-stop-fair-events.exp: New file.
10953 2015-01-09 Pedro Alves <palves@redhat.com>
10955 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10956 the global scope. Set a breakpoint after all threads are started
10957 rather than stepping over two source lines. Expect the prompt.
10958 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10961 (main): Use threads_started_barrier to wait for all threads to
10962 start. Main thread no longer calls thread_function. Exit after
10964 (loop): New function.
10965 (thread_function): Wait on threads_started_barrier barrier. Call
10966 'loop' at each iteration.
10967 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10968 threads have started, instead of hardcoding number of "next"
10969 steps. Use an access watchpoint instead of a write watchpoint.
10971 2015-01-09 Pedro Alves <palves@redhat.com>
10973 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10974 (thread_func): Wait on barrier.
10975 (main): Wait for all threads to start before stopping GDB.
10976 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10978 (thread1_func, thread2_func): Wait on barrier.
10979 (main): Wait for all threads to start before stopping GDB.
10980 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10982 (thread1_func, thread2_func): Wait on barrier.
10983 (main): Wait for all threads to start before stopping GDB.
10985 2015-01-09 Pedro Alves <palves@redhat.com>
10987 * gdb.threads/attach-many-short-lived-threads.c: New file.
10988 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10990 2014-01-09 Pedro Alves <palves@redhat.com>
10992 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10993 instead of to thread 2.
10994 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10995 Add barrier around each pthread_create call instead of around all
10997 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10998 Set a break on thread_function and have the child threads hit it
11001 2015-01-09 Pedro Alves <palves@redhat.com>
11003 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11004 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11006 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11007 checking whether the target board is remote.
11008 * gdb.multi/multi-attach.exp: Likewise.
11009 * gdb.python/py-sync-interp.exp: Likewise.
11010 * gdb.server/ext-attach.exp: Likewise.
11011 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11012 tests that need to attach, instead of checking whether the target
11013 board is remote at the top of the file.
11015 2015-01-08 Yao Qi <yao@codesourcery.com>
11017 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11019 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11021 Fix testcase compilation.
11022 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11024 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11026 * gdb.python/py-type.exp: Add a couple test about empty
11027 array creation, and negative-length array creation.
11029 2015-01-02 Doug Evans <xdje42@gmail.com>
11031 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11033 2015-01-02 Doug Evans <dje@google.com>
11035 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11037 2014-12-29 Yao Qi <yao@codesourcery.com>
11039 * gdb.trace/entry-values.exp: Update comments. Rename variable
11040 bar_call_foo to returned_from_foo.
11042 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11045 * gdb.linespec/break-asm-file.c: New file.
11046 * gdb.linespec/break-asm-file.exp: New file.
11047 * gdb.linespec/break-asm-file0.s: New file.
11048 * gdb.linespec/break-asm-file1.s: New file.
11050 2014-12-18 Nigel Stephens <nigel@mips.com>
11051 Maciej W. Rozycki <macro@codesourcery.com>
11053 * gdb.base/float.exp: Handle the new output from "info float" on
11056 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11058 Fix MinGW compilation.
11059 * gdb.compile/compile-ops.exp: Update untested message if
11060 !skip_compile_feature_tests.
11061 * gdb.compile/compile-setjmp.exp: Likewise.
11062 * gdb.compile/compile-tls.exp: Likewise.
11063 * gdb.compile/compile.exp: Likewise.
11064 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11065 supported on this host".
11067 2014-12-16 Doug Evans <xdje42@gmail.com>
11069 * boards/stabs.exp: New file.
11071 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11073 * gdb.base/completion.exp: Adjust to format changes of "maint
11074 print user-registers".
11076 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11079 * gdb.arch/aarch64-fp.c: New file.
11080 * gdb.arch/aarch64-fp.exp: New file.
11082 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11084 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11085 r210637, r210913, r211666, r215400, r215817).
11087 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11088 * dg-extract-results.py: New file.
11089 * dg-extract-results.sh: Use it if the environment seems
11092 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11094 * dg-extract-results.py (parse_run): Handle warnings that
11095 are printed before a test harness is run.
11097 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11099 * dg-extract-results.py (Named): Remove __cmp__ method.
11100 (output_variation): Use a key to sort variation.harnesses.
11102 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11104 * dg-extract-results.py: For Python 3, force sys.stdout to
11105 handle surrogate escape sequences.
11106 (safe_open): New function.
11107 (output_segment, main): Use it.
11109 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11111 * dg-extract-results.py (Prog.result_re): Include options
11114 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11116 * dg-extract-results.py (output_variation): Always sort if
11119 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11121 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11122 as long as we get pagination notifications.
11124 2014-12-15 Jason Merrill <jason@redhat.com>
11126 * Makefile.in (check-gdb.%): Restore.
11127 * README: Mention it.
11129 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11131 * gdb.ada/str_uninit: New testcase.
11133 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11136 * gdb.base/vla-stub-define.c: New file.
11137 * gdb.base/vla-stub.c: New file.
11138 * gdb.base/vla-stub.exp: New file.
11140 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11141 Jan Kratochvil <jan.kratochvil@redhat.com>
11142 Tom Tromey <tromey@redhat.com>
11144 * configure.ac: Add gdb.compile/.
11145 * configure: Regenerate.
11146 * gdb.compile/Makefile.in: New file.
11147 * gdb.compile/compile-ops.exp: New file.
11148 * gdb.compile/compile-ops.c: New file.
11149 * gdb.compile/compile-tls.c: New file.
11150 * gdb.compile/compile-tls.exp: New file.
11151 * gdb.compile/compile-constvar.S: New file.
11152 * gdb.compile/compile-constvar.c: New file.
11153 * gdb.compile/compile-mod.c: New file.
11154 * gdb.compile/compile-nodebug.c: New file.
11155 * gdb.compile/compile-setjmp-mod.c: New file.
11156 * gdb.compile/compile-setjmp.c: New file.
11157 * gdb.compile/compile-setjmp.exp: New file.
11158 * gdb.compile/compile-shlib.c: New file.
11159 * gdb.compile/compile.c: New file.
11160 * gdb.compile/compile.exp: New file.
11161 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11163 2014-12-12 Tom Tromey <tromey@redhat.com>
11165 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11166 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11168 2014-12-12 Doug Evans <dje@google.com>
11170 * lib/gdb-python.exp (get_python_valueof): New function.
11171 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11173 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11175 * gdb.base/completion.exp: Add test for completion of "info
11178 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11180 * gdb.base/func-ptrs.c: New file.
11181 * gdb.base/func-ptrs.exp: New file.
11183 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11185 PR breakpoints/17012
11186 * gdb.base/dprintf-detach.c: New file.
11187 * gdb.base/dprintf-detach.exp: New file.
11189 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11191 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11192 * lib/gdb.exp (target_is_gdbserver): New procedure.
11194 2014-12-08 Doug Evans <dje@google.com>
11196 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11198 2014-12-05 Yao Qi <yao@codesourcery.com>
11200 * gdb.guile/scm-error.exp: Remove the third argument to
11201 gdb_remote_download.
11202 * gdb.guile/scm-frame-args.exp: Likewise.
11203 * gdb.guile/scm-section-script.exp: Likewise.
11205 2014-12-05 Yao Qi <yao@codesourcery.com>
11207 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11209 2014-12-04 Doug Evans <dje@google.com>
11211 * gdb.python/py-objfile.exp: Add tests for
11212 objfile.add_separate_debug_file.
11214 2014-12-04 Doug Evans <dje@google.com>
11216 * lib/gdb.exp (get_build_id): New function.
11217 (build_id_debug_filename_get): Rewrite to use it.
11218 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11220 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11222 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11223 `method(long)', not just 0x0.
11224 * gdb.cp/nsalias.exp: Align code labels to 4.
11225 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11226 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11227 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11228 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11229 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11230 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11232 2014-12-02 Doug Evans <dje@google.com>
11235 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11236 * gdb.cp/anon-ns2.cc: ... here. New file.
11237 * gdb.cp/anon-ns.exp: Update.
11239 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11241 * gdb.python/py-events.py (inferior_call_handler): New.
11242 (register_changed_handler, memory_changed_handler): New.
11243 (test_events.invoke): Register new handlers.
11244 * gdb.python/py-events.exp: Add tests for inferior call,
11245 memory_changed and register_changed events.
11247 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11249 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11250 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11251 if the linker doesn't understand this.
11253 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11255 * gdb.python/python.exp: Change expected reply to help().
11257 2014-12-01 Yao Qi <yao@codesourcery.com>
11259 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11260 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11261 * configure: Re-generated.
11263 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11265 * gdb.cp/chained-calls.cc: New file.
11266 * gdb.cp/chained-calls.exp: New file.
11267 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11269 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11271 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11272 * gdb.dwarf2/symtab-producer.exp: Same.
11273 * gdb.gdb/python-interrupts.exp: Same.
11274 * gdb.gdb/python-selftest.exp: Same.
11275 * gdb.python/py-linetable.exp: Same.
11276 * gdb.python/py-type.exp: Same.
11277 * gdb.python/py-value-cc.exp: Same.
11278 * gdb.python/py-value.exp: Same.
11280 2014-11-28 Yao Qi <yao@codesourcery.com>
11282 * gdb.base/break-probes.exp: Match library name prefixed with
11285 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11287 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11288 test expected output. Add parentheses for the call to print.
11289 Remove L suffix from integers.
11291 2014-11-26 Doug Evans <dje@google.com>
11293 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11295 2014-11-22 Yao Qi <yao@codesourcery.com>
11297 * gdb.trace/entry-values.c: Remove asms.
11298 (foo): Add foo_label.
11299 (bar): Add bar_label.
11300 * gdb.trace/entry-values.exp: Remove code computing foo's
11301 length and bar's length.
11302 (Dwarf::assemble): Invoke function_range for bar and use
11303 MACRO_AT_func for foo.
11305 2014-11-22 Yao Qi <yao@codesourcery.com>
11307 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11308 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11309 Use .Lgcc43_procstart instead of gcc43.
11311 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11313 * gdb.ada/n_arr_bound: New testcase.
11315 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11317 PR breakpoints/10737
11318 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11319 test_catch_syscall_multi_arch.
11320 (test_catch_syscall_multi_arch): New function.
11322 2014-11-20 Doug Evans <xdje42@gmail.com>
11324 * gdb.base/maint.exp: Update expected output.
11326 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11328 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11329 4-byte instruction on S390.
11331 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11333 * gdb.ada/arr_arr: New testcase.
11335 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11337 * gdb.ada/pkd_arr_elem: New Testcase.
11339 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11341 * gdb.reverse/break-precsave: Expect completion message for
11343 * gdb.reverse/consecutive-precsave.exp: Likewise.
11344 * gdb.reverse/finish-precsave.exp: Likewise.
11345 * gdb.reverse/i386-precsave.exp: Likewise.
11346 * gdb.reverse/machinestate-precsave.exp: Likewise.
11347 * gdb.reverse/sigall-precsave.exp: Likewise.
11348 * gdb.reverse/solib-precsave.exp: Likewise.
11349 * gdb.reverse/step-precsave.exp: Likewise.
11350 * gdb.reverse/until-precsave.exp: Likewise.
11351 * gdb.reverse/watch-precsave.exp: Likewise.
11353 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11355 * gdb.base/bp-permanent.c: Include unistd.h.
11356 * gdb.python/py-framefilter-mi.c (main): Add return type.
11357 * gdb.python/py-framefilter.c (main): Likewise.
11358 * gdb.trace/actions-changed.c (main): Likewise.
11360 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11362 * gdb.mi/until.c: Add eye-catchers.
11363 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11366 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11368 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11369 function header variants in break1.c.
11370 * gdb.base/ena-dis-br.exp: Likewise.
11371 * gdb.base/hbreak2.exp: Likewise.
11372 * gdb.reverse/until-precsave.exp: Drop references to removed
11373 non-prototype function header variants in ur1.c.
11374 * gdb.reverse/until-reverse.exp: Likewise.
11376 2014-11-17 Petr Machata <pmachata@redhat.com>
11378 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11379 ${_cu_offset_size} bytes abbrev offset.
11381 2014-11-15 Doug Evans <xdje42@gmail.com>
11384 * gdb.base/line-symtabs.exp: New file.
11385 * gdb.base/line-symtabs.c: New file.
11386 * gdb.base/line-symtabs.h: New file.
11388 2014-11-14 Yao Qi <yao@codesourcery.com>
11390 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11391 (func): Add label func_label.
11392 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11393 Replace low_pc and high_pc with MACRO_AT_range.
11394 Replace name, low_pc and high_pc with MACRO_AT_func.
11396 2014-11-14 Yao Qi <yao@codesourcery.com>
11398 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11399 Replace name, low_pc and high_pc with MACRO_AT_func.
11401 2014-11-14 Yao Qi <yao@codesourcery.com>
11403 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11404 produce debug information.
11405 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11407 2014-11-14 Yao Qi <yao@codesourcery.com>
11409 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11410 object and get function length.
11411 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11412 with MACRO_AT_func.
11413 (top-level): Replace gdb_compile and clean_restart with
11414 prepare_for_testing.
11415 * gdb.dwarf2/main.c (main): Add label main_label.
11417 2014-11-14 Yao Qi <yao@codesourcery.com>
11419 * lib/dwarf.exp (function_range): New procedure.
11420 (Dwarf::_handle_macro_at_func): New procedure.
11421 (Dwarf::_handle_macro_at_range): New procedure.
11422 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11424 2014-11-14 Yao Qi <yao@codesourcery.com>
11426 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11427 (_handle_attribute): New procedure.
11429 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11431 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11432 * gdb.base/call-sc.c (zed): Likewise.
11433 * gdb.base/checkpoint.c (main): Likewise.
11434 * gdb.base/dump.c (main): Likewise.
11435 * gdb.base/gcore.c (main): Likewise.
11436 * gdb.base/huge.c (main): Likewise.
11437 * gdb.base/multi-forks.c (main): Likewise.
11438 * gdb.base/pr10179-a.c (main): Likewise.
11439 * gdb.base/savedregs.c (main): Likewise.
11440 * gdb.base/sigaltstack.c (main): Likewise.
11441 * gdb.base/siginfo.c (main): Likewise.
11442 * gdb.base/structs.c (zed): Likewise.
11443 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11444 * gdb.mi/mi-syn-frame.c (main): Likewise.
11445 * gdb.mi/until.c (foo, main): Likewise.
11446 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11447 * gdb.base/solib-weak.c (foo): Declare.
11448 * gdb.base/attach-twice.c: Include stdio.h.
11449 * gdb.base/weaklib1.c: Likewise.
11450 * gdb.base/weaklib2.c: Likewise.
11451 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11452 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11454 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11455 * gdb.mi/mi-exit-code.c: Likewise.
11456 * gdb.base/break-interp-lib.c: Include string.h.
11457 * gdb.base/coremaker.c: Likewise.
11458 * gdb.base/testenv.c: Likewise.
11459 * gdb.python/py-finish-breakpoint.c: Likewise.
11460 * gdb.base/inferior-died.c: Include sys/wait.h.
11461 * gdb.base/fileio.c: Include time.h.
11462 * gdb.base/async-shell.c: Include unistd.h.
11463 * gdb.base/dprintf-non-stop.c: Likewise.
11464 * gdb.base/info-os.c: Likewise.
11465 * gdb.mi/mi-console.c: Likewise.
11466 * gdb.mi/watch-nonstop.c: Likewise.
11467 * gdb.python/py-events.c: Likewise.
11468 * gdb.base/async.c (baz): Move up before its invocation.
11469 * gdb.base/code_elim2.c (my_global_func): Likewise.
11470 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11471 * gdb.base/advance.c (func2): Likewise.
11473 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11475 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11477 * gdb.base/annota3.c: Likewise.
11478 * gdb.base/async.c: Likewise.
11479 * gdb.base/average.c: Likewise.
11480 * gdb.base/call-ar-st.c: Likewise.
11481 * gdb.base/call-rt-st.c: Likewise.
11482 * gdb.base/call-sc.c: Likewise.
11483 * gdb.base/call-strs.c: Likewise.
11484 * gdb.base/ending-run.c: Likewise.
11485 * gdb.base/execd-prog.c: Likewise.
11486 * gdb.base/exprs.c: Likewise.
11487 * gdb.base/foll-exec.c: Likewise.
11488 * gdb.base/foll-fork.c: Likewise.
11489 * gdb.base/foll-vfork.c: Likewise.
11490 * gdb.base/funcargs.c: Likewise.
11491 * gdb.base/gcore.c: Likewise.
11492 * gdb.base/jump.c: Likewise.
11493 * gdb.base/langs0.c: Likewise.
11494 * gdb.base/langs1.c: Likewise.
11495 * gdb.base/langs2.c: Likewise.
11496 * gdb.base/mips_pro.c: Likewise.
11497 * gdb.base/nodebug.c: Likewise.
11498 * gdb.base/opaque0.c: Likewise.
11499 * gdb.base/opaque1.c: Likewise.
11500 * gdb.base/recurse.c: Likewise.
11501 * gdb.base/run.c: Likewise.
11502 * gdb.base/scope0.c: Likewise.
11503 * gdb.base/scope1.c: Likewise.
11504 * gdb.base/setshow.c: Likewise.
11505 * gdb.base/setvar.c: Likewise.
11506 * gdb.base/shmain.c: Likewise.
11507 * gdb.base/shr1.c: Likewise.
11508 * gdb.base/shr2.c: Likewise.
11509 * gdb.base/sigall.c: Likewise.
11510 * gdb.base/signals.c: Likewise.
11511 * gdb.base/so-indr-cl.c: Likewise.
11512 * gdb.base/solib2.c: Likewise.
11513 * gdb.base/structs.c: Likewise.
11514 * gdb.base/sum.c: Likewise.
11515 * gdb.base/vforked-prog.c: Likewise.
11516 * gdb.base/watchpoint.c: Likewise.
11517 * gdb.reverse/shr2.c: Likewise.
11518 * gdb.reverse/until-reverse.c: Likewise.
11519 * gdb.reverse/ur1.c: Likewise.
11520 * gdb.reverse/watch-reverse.c: Likewise.
11522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11524 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11526 * gdb.base/sepdebug.exp: Drop references to removed code.
11528 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11530 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11531 variant. Preserve original line numbering.
11532 * gdb.base/list1.c: Likewise.
11534 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11536 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11538 * gdb.base/break1.c: Likewise.
11539 * gdb.base/break.exp: Drop references to removed code.
11541 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11543 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11546 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11548 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11550 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11552 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11553 logic into perform_all_tests() and invoke it with and without
11554 function header prototypes.
11555 (do_function_calls): Remove conditional XFAIL for PR 5318.
11556 (rerun_and_prepare): Remove duplicate code.
11557 (perform_all_tests): New. Main logic moved here.
11559 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11561 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11562 code guarded by #ifdef NO_PROTOTYPES.
11563 (t_double_many_args): Likewise.
11564 (DEF_FUNC_MANY_ARGS_1): Likewise.
11565 (DEF_FUNC_VALUES_1): Likewise.
11566 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11567 guarded by #ifdef PROTOTYPES.
11569 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11571 * gdb.mi/mi-console.c: Add eye-catcher.
11572 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11573 instead of literal line number.
11575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11577 * gdb.base/shr2.c: Add eye-catcher.
11578 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11581 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11583 * gdb.base/jump.c: Add eye-catchers.
11584 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11587 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11589 * gdb.base/execd-prog.c: Add eye-catchers.
11590 * gdb.base/foll-exec.c: Likewise.
11591 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11596 * gdb.base/ending-run.c: Add eye-catchers.
11597 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11598 literal line numbers.
11600 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11602 * gdb.base/call-rt-st.c: Add eye-catchers.
11603 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11604 literal line numbers.
11606 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11608 * gdb.base/call-ar-st.c: Add eye-catchers.
11609 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11610 literal line numbers.
11612 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11614 * gdb.base/average.c: Add eye-catchers.
11615 * gdb.base/sum.c: Likewise.
11616 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11617 regexps dynamically.
11619 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11621 * gdb.base/solib1.c: Add eye-catchers.
11622 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11623 literal line numbers.
11625 2014-11-12 Pedro Alves <palves@redhat.com>
11627 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11630 2014-11-12 Pedro Alves <palves@redhat.com>
11632 * gdb.arch/i386-bp_permanent.c: New file.
11633 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11634 (srcfile): Set to i386-bp_permanent.c.
11635 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11636 that stepi does not execute the 'leave' instruction, instead of
11637 testing it does execute.
11638 * gdb.base/bp-permanent.c: New file.
11639 * gdb.base/bp-permanent.exp: New file.
11641 2014-11-10 Doug Evans <xdje42@gmail.com>
11644 * gdb.base/symtab-search-order.exp: New file.
11645 * gdb.base/symtab-search-order.c: New file.
11646 * gdb.base/symtab-search-order-1.c: New file.
11647 * gdb.base/symtab-search-order-shlib-1.c: New file.
11649 2014-11-07 Pedro Alves <palves@redhat.com>
11652 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11655 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11658 * gdb.cp/pr17494.cc: New file.
11659 * gdb.cp/pr17494.exp: New file.
11661 2014-11-02 Yao Qi <yao@codesourcery.com>
11663 * gdb.python/python.exp: Get working directory and match the
11664 output of "set extended-prompt \\w " with it.
11666 2014-10-30 Doug Evans <dje@google.com>
11668 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11670 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11673 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11675 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11676 * gdb.base/realname-expand.exp: Likewise.
11677 * gdb.linespec/macro-relative.exp: Likewise.
11679 2014-10-29 Pedro Alves <palves@redhat.com>
11682 * gdb.threads/schedlock.c (some_function): New function.
11683 (call_function): New global.
11684 (MAYBE_CALL_SOME_FUNCTION): New macro.
11685 (thread_function): Call it.
11686 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11687 and use it instead of a global counter. Adjust all callers.
11688 (get_current_thread): Use "find current thread" for test message
11689 here rather than having all callers pass down the same string.
11690 (goto_loop): New procedure, factored out from ...
11691 (my_continue): ... this.
11692 (step_ten_loops): Change parameter from test message to command to
11694 (list_count): Delete global.
11695 (check_result): New procedure, factored out from duplicate top
11697 (continue tests): Wrap in with_test_prefix.
11698 (test_step): New procedure, factored out from duplicate top level
11700 (top level): Test "step" in combination with all scheduler-locking
11701 modes. Test "next" in combination with all scheduler-locking
11702 modes, and in combination with stepping over a function call or
11704 * gdb.threads/next-bp-other-thread.c: New file.
11705 * gdb.threads/next-bp-other-thread.exp: New file.
11707 2014-10-29 Pedro Alves <palves@redhat.com>
11710 * gdb.python/python.exp: Test a multi-line command that spawns
11711 interactive Python.
11712 * gdb.base/multi-line-starts-subshell.exp: New file.
11714 2014-10-29 Yao Qi <yao@codesourcery.com>
11716 * gdb.base/fileio.exp: Make directories on host.
11718 2014-10-29 Yao Qi <yao@codesourcery.com>
11720 * gdb.base/fileio.c (test_write): Close the file.
11722 2014-10-28 Pedro Alves <palves@redhat.com>
11725 * gdb.base/sigstep.c (no_handler): New global.
11726 (main): If 'no_handler is true, set the signal handlers to
11728 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11729 with_sw_watch and no_handler parameters. Handle them.
11730 (top level) <stepping over handler when stopped at a breakpoint
11731 test>: Add a test axis for testing with a software watchpoint, and
11732 another for testing with the signal handler set to SIG_IGN.
11733 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11734 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11736 2014-10-28 Pedro Alves <palves@redhat.com>
11739 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11740 * gdb.base/sigstep.exp (other_handler_location): New global.
11741 (advance): Support stepping into the signal handler, and running
11742 commands while in the handler.
11743 (in_handler_map): New global.
11744 (top level): In the advance test, add combinations for getting
11745 into the handler with stepping commands, and for running commands
11746 in the handler. Add comment descripting the advancei tests.
11748 2014-10-28 Pedro Alves <palves@redhat.com>
11750 * gdb.base/sigstep.exp: Use build_executable instead of
11751 prepare_for_testing.
11752 (top level): Move code that starts GDB, runs to main and creates a
11754 (restart): ... this new procedure.
11755 (top level): Move backtrace from signal handler test to ...
11756 (validate_backtrace): ... this new procedure.
11757 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11758 with_test_prefix. Always restart GDB.
11759 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11760 with_test_prefix. Always restart GDB. No need to delete
11761 breakpoints after the test.
11762 (test_skip_handler): Remove prefix parameter.
11763 (skip_over_handler, breakpoint_to_handler)
11764 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11765 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11766 restart GDB. No need to delete breakpoints after the test.
11767 (top level): Use foreach to call the test procedures with
11768 different commands.
11770 2014-10-28 Pedro Alves <palves@redhat.com>
11772 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11773 instead of GNATS numbers.
11774 * gdb.base/sigbpt.exp: Likewise.
11775 * gdb.base/siginfo.exp: Likewise.
11776 * gdb.base/sigstep.exp: Likewise.
11778 2014-10-27 Pedro Alves <palves@redhat.com>
11780 * gdb.base/sigstep.c (dummy): New global.
11781 (main): Issue a couple writes to the new global.
11782 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11784 (skip_over_handler): Use test_skip_handler.
11785 (top level): Call skip_over_handler for stepi and nexti too.
11786 (breakpoint_over_handler): Use test_skip_handler.
11787 (top level): Call breakpoint_over_handler for stepi and nexti too.
11789 2014-10-27 Yao Qi <yao@codesourcery.com>
11791 * gdb.trace/tfile.c (adjust_function_address)
11792 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11793 function descriptor.
11795 2014-10-24 Don Breazeal <donb@codesourcery.com>
11797 * gdb.base/foll-fork.exp (test_follow_fork,
11798 catch_fork_child_follow): Check for updated fork messages emitted
11800 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11801 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11802 vfork_and_exec_child_follow_through_step): Check for updated vfork
11803 messages emitted from infrun.c.
11805 2014-10-24 Pedro Alves <palves@redhat.com>
11807 * gdb.base/corefile.exp: Remove references to ultrix.
11808 * gdb.base/interrupt.exp: Likewise.
11809 * gdb.base/whatis.exp: Likewise.
11810 * gdb.gdb/selftest.exp: Likewise.
11811 * gdb.threads/manythreads.exp: Likewise.
11812 * gdb.threads/print-threads.exp: Likewise.
11813 * gdb.threads/pthreads.exp:: Likewise.
11814 * gdb.threads/schedlock.exp: Likewise.
11816 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11818 * gdb.cp/non-trivial-retval.cc: Add a test case.
11819 * gdb.cp/non-trivial-retval.exp: Add a test.
11821 2014-10-20 Yao Qi <yao@codesourcery.com>
11823 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11824 * gdb.python/py-objfile-script-gdb.py: New file.
11825 * gdb.python/py-objfile-script.exp: Update reference to
11826 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11827 of remote_download. Remove the dest file.
11829 2014-10-20 Yao Qi <yao@codesourcery.com>
11831 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11832 * gdb.base/step-line.exp: Likewise.
11833 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11834 * gdb.dwarf2/dw2-basic.exp: Likewise.
11835 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11836 * gdb.dwarf2/dw2-filename.exp: Likewise.
11837 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11838 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11839 * gdb.dwarf2/dw2-producer.exp: Likewise.
11840 * gdb.dwarf2/mac-fileno.exp: Likewise.
11841 * gdb.python/py-frame-args.exp: Likewise.
11842 * gdb.python/py-framefilter.exp: Likewise.
11843 * gdb.python/py-mi.exp: Likewise.
11844 * gdb.python/py-objfile-script.exp: Likewise
11845 * gdb.python/py-pp-integral.exp: Likewise.
11846 * gdb.python/py-pp-re-notag.exp: Likewise.
11847 * gdb.python/py-prettyprint.exp: Likewise.
11848 * gdb.python/py-section-script.exp: Likewise.
11849 * gdb.python/py-typeprint.exp: Likewise.
11850 * gdb.python/py-xmethods.exp: Likewise.
11851 * gdb.stabs/weird.exp: Likewise.
11852 * gdb.xml/tdesc-regs.exp: Likewise.
11854 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11856 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11857 (out_cu): Use addr_len for the size of addresses.
11858 (out_line): Likewise. Size DW_LNE_set_address instruction
11859 according to addr_len.
11860 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11861 (FUNC): Add START_INSNS to definition.
11863 2014-10-18 Yao Qi <yao@codesourcery.com>
11865 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11866 gdb_has_argv0 return true.
11867 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11868 check [target_info exists noargs], check [gdb_has_argv0]
11870 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11871 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11874 2014-10-17 Doug Evans <dje@google.com>
11876 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11878 * gdb.python/py-events.py: Add clear_objfiles event.
11880 2014-10-17 Doug Evans <dje@google.com>
11882 * gdb.python/py-objfile.exp: Test progspace attribute.
11884 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11886 * gdb.guile/scm-breakpoint.exp: Do not assume any
11887 directory separators when matching source file paths.
11888 * gdb.python/py-breakpoint.exp: Likewise.
11889 * gdb.reverse/break-precsave.exp: Likewise.
11890 * gdb.reverse/break-reverse.exp: Likewise.
11891 * gdb.reverse/consecutive-precsave.exp: Likewise.
11892 * gdb.reverse/finish-precsave.exp: Likewise.
11893 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11894 * gdb.reverse/finish-reverse.exp: Likewise.
11895 * gdb.reverse/i386-precsave.exp: Likewise.
11896 * gdb.reverse/i387-env-reverse.exp: Likewise.
11897 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11898 * gdb.reverse/machinestate-precsave.exp: Likewise.
11899 * gdb.reverse/machinestate.exp: Likewise.
11900 * gdb.reverse/sigall-precsave.exp: Likewise.
11901 * gdb.reverse/solib-precsave.exp: Likewise.
11902 * gdb.reverse/step-precsave.exp: Likewise.
11903 * gdb.reverse/until-precsave.exp: Likewise.
11904 * gdb.reverse/watch-precsave.exp: Likewise.
11905 * gdb.reverse/watch-reverse.exp: Likewise.
11907 2014-10-17 Yao Qi <yao@codesourcery.com>
11909 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11910 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11912 2014-10-17 Pedro Alves <palves@redhat.com>
11915 * gdb.base/bg-execution-repeat.c: New file.
11916 * gdb.base/bg-execution-repeat.exp: New file.
11918 2014-10-17 Pedro Alves <palves@redhat.com>
11921 * gdb.base/continue-all-already-running.c: New file.
11922 * gdb.base/continue-all-already-running.exp: New file.
11924 2014-10-17 Pedro Alves <palves@redhat.com>
11927 * gdb.base/annota-input-while-running.c: New file.
11928 * gdb.base/annota-input-while-running.exp: New file.
11930 2014-10-17 Pedro Alves <palves@redhat.com>
11932 * gdb.base/callfuncs.exp: emove references to osf.
11933 * gdb.base/sigall.exp: Likewise.
11934 * gdb.gdb/selftest.exp: Likewise.
11935 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11936 * gdb.mi/non-stop.c: Likewise.
11937 * gdb.mi/pthreads.c: Likewise.
11938 * gdb.reverse/sigall-precsave.exp: Likewise.
11939 * gdb.reverse/sigall-reverse.exp: Likewise.
11940 * gdb.threads/pthreads.c: Likewise.
11941 * gdb.threads/pthreads.exp: Likewise.
11943 2014-10-17 Yao Qi <yao@codesourcery.com>
11945 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11946 check 'target_info exists noargs'.
11947 (test_command_prompt_position): Likewise.
11948 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11950 (progvar_simple_while_test): Likewise.
11951 (progvar_complex_if_while_test): Likewise.
11952 (if_while_breakpoint_command_test): Likewise.
11953 (infrun_breakpoint_command_test): Likewise.
11954 (breakpoint_command_test): Likewise.
11955 (watchpoint_command_test): Likewise.
11956 (bp_deleted_in_command_test): Likewise.
11957 (temporary_breakpoint_commands): Likewise.
11959 2014-10-16 Yao Qi <yao@codesourcery.com>
11961 * gdb.base/remotetimeout.exp: Remove noargs checking.
11963 2014-10-15 Pedro Alves <palves@redhat.com>
11965 PR breakpoints/9649
11966 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11967 * gdb.base/breakpoint-in-ro-region.exp
11968 (probe_target_hardware_step): New procedure.
11969 (top level): Probe hardware stepping and hardware breakpoint
11970 support. Test stepping through a read-only region, with both
11971 "breakpoint auto-hw" on and off and both "always-inserted" on and
11974 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11976 * gdb.dlang/demangle.exp: Update for demangling changes.
11978 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11980 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11981 * gdb.cp/non-trivial-retval.exp: Add new tests.
11983 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11987 * gdb.cp/non-trivial-retval.cc: New file.
11988 * gdb.cp/non-trivial-retval.exp: New file.
11990 2014-10-15 Yao Qi <yao@codesourcery.com>
11992 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11995 2014-10-15 Yao Qi <yao@codesourcery.com>
11997 * gdb.python/py-symbol.exp: Match file base name if host is
11998 remote, otherwise match file name with dir name.
11999 * gdb.python/py-symtab.exp: Likewise.
12000 * gdb.python/python.exp: Likewise.
12002 2014-10-15 Yao Qi <yao@codesourcery.com>
12004 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12006 * gdb.python/py-symtab.exp: Likewise.
12007 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12010 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12012 * gdb.ada/addr_arith: New testcase.
12014 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12016 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12017 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12018 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12019 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12021 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12023 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12024 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12025 * gdb.arch/stap-eval-lang-ada.exp: New file.
12027 2014-10-14 Yao Qi <yao@codesourcery.com>
12029 * gdb.mi/mi-var-child.c (nothing1): New function.
12030 (nothing2): New function.
12031 (do_children_tests): Set function pointers by nothing1 and
12033 * gdb.mi/mi-var-child.exp: Step over new added statements.
12034 Update test to match the new output.
12035 * gdb.mi/var-cmd.c (nothing1): New function.
12036 (nothing2): New function.
12037 (do_children_tests): Set function pointers by nothing1 and
12039 * gdb.mi/mi-var-display.exp: Update test to match output.
12040 Step to the line specified by $line_dct_nothing.
12041 Increase the number of lines to step.
12043 2014-10-14 Yao Qi <yao@codesourcery.com>
12045 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12047 * gdb.mi/mi2-var-child.exp: Likewise.
12049 2014-10-13 Doug Evans <dje@google.com>
12051 * gdb.python/py-objfile.exp: Change name of file name test.
12053 2014-10-13 Doug Evans <dje@google.com>
12055 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12056 from the start of the CU.
12058 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12059 Yao Qi <yao@codesourcery.com>
12061 Fix "save breakpoints" for "catch" command.
12062 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12063 Remove -nonewline. Match also the added "main" line.
12065 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12067 Fix "save breakpoints" for "disable $bpnum" command.
12068 * gdb.base/save-bp.c (main): Add label.
12069 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12071 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12073 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12075 2014-10-11 Yao Qi <yao@codesourcery.com>
12077 * gdb.server/server-kill.exp: Execute command
12078 "set remote trace-status-packet on" before "tstatus".
12080 2014-10-11 Yao Qi <yao@codesourcery.com>
12082 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12083 (main): Call getppid.
12084 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12085 and continue to it. Read variable "server_pid".
12087 2014-10-11 Yao Qi <yao@codesourcery.com>
12089 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12091 2014-10-11 Yao Qi <yao@codesourcery.com>
12093 * gdb.threads/thread-find.exp: Don't execute command
12095 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12096 * gdb.threads/linux-dp.exp: Don't check the condition
12097 $threads_created equals to zero.
12099 2014-10-10 Pedro Alves <palves@redhat.com>
12101 * gdb.base/bigcore.exp: Remove references to IRIX.
12102 * gdb.base/funcargs.exp: Likewise.
12103 * gdb.base/interrupt.exp: Likewise.
12104 * gdb.base/mips_pro.exp: Likewise.
12105 * gdb.base/nodebug.exp: Likewise.
12106 * gdb.base/setvar.exp: Likewise.
12107 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12109 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12110 Pedro Alves <palves@redhat.com>
12113 * gdb.base/vdso-warning.c: New file.
12114 * gdb.base/vdso-warning.exp: New file.
12116 2014-10-02 Doug Evans <dje@google.com>
12118 * gdb.base/structs.c (main): Don't run forever.
12120 2014-10-02 Pedro Alves <palves@redhat.com>
12122 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12123 (top level) <stop threads 1, stop threads 2>: Use it.
12125 2014-10-02 Pedro Alves <palves@redhat.com>
12127 * gdb.threads/break-while-running.exp (test): Add new
12128 'update_thread_list' argument. Skip "info threads" if false.
12129 (top level): Add new 'update_thread_list' axis.
12131 2014-10-02 Pedro Alves <palves@redhat.com>
12133 PR breakpoints/17431
12134 * gdb.base/execl-update-breakpoints.c: New file.
12135 * gdb.base/execl-update-breakpoints.exp: New file.
12137 2014-10-01 Pedro Alves <palves@redhat.com>
12139 * gdb.base/breakpoint-in-ro-region.c: New file.
12140 * gdb.base/breakpoint-in-ro-region.exp: New file.
12142 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12144 * gdb.mi/mi-exit-code.exp: New file.
12145 * gdb.mi/mi-exit-code.c: New file.
12147 2014-09-30 Yao Qi <yao@codesourcery.com>
12149 * lib/prelink-support.exp (build_executable_own_libs): Error if
12150 the target isn't native.
12152 2014-09-30 Yao Qi <yao@codesourcery.com>
12154 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12157 2014-09-22 Pedro Alves <palves@redhat.com>
12159 * gdb.threads/break-while-running.exp: New file.
12160 * gdb.threads/break-while-running.c: New file.
12162 2014-09-19 Yao Qi <yao@codesourcery.com>
12164 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12165 Invoke test. Restart GDB with --readnow and invoke test again.
12167 2014-09-19 Yao Qi <yao@codesourcery.com>
12169 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12170 proc set_breakpoint_on_gcd_function. Invoke
12171 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12172 invoke set_breakpoint_on_gcd_function again.
12174 2014-09-18 Doug Evans <dje@google.com>
12176 * gdb.dwarf2/symtab-producer.exp: New file.
12178 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12180 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12181 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12182 * gdb.base/global-var-nested-by-dso.c: Likewise.
12183 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12185 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12186 Pedro Alves <palves@redhat.com>
12188 * gdb.base/watch-bitfields.exp: Pass string other than test file
12189 name to prepare_for_testing.
12190 (watch): New procedure.
12191 (expect_watchpoint): Use with_test_prefix.
12192 (top level): Factor out tests to ...
12193 (test_watch_location, test_regular_watch): ... these new
12194 procedures, and use with_test_prefix and gdb_continue_to_end.
12196 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12198 PR breakpoints/12526
12199 * gdb.base/watch-bitfields.exp: New file.
12200 * gdb.base/watch-bitfields.c: New file.
12202 2014-09-16 Pedro Alves <palves@redhat.com>
12204 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12205 software and hardware addresses, not software address against
12208 2014-09-16 Pedro Alves <palves@redhat.com>
12210 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12211 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12213 2014-09-16 Pedro Alves <palves@redhat.com>
12215 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12217 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12218 "*-*-vxworks*" throughout.
12219 * gdb.base/break.exp: Likewise.
12220 * gdb.base/default.exp: Likewise.
12221 * gdb.base/scope.exp: Likewise.
12222 * gdb.base/sepdebug.exp: Likewise.
12223 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12225 * gdb.base/run.c: Likewise.
12226 * gdb.base/sepdebug.c: Likewise.
12227 * gdb.hp/gdb.aCC/run.c: Likewise.
12228 * gdb.reverse/until-reverse.c: Likewise.
12229 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12231 2014-09-16 Yao Qi <yao@codesourcery.com>
12233 * boards/local-remote-host-native.exp: New file.
12235 2014-09-14 Doug Evans <xdje42@gmail.com>
12237 * gdb.threads/queue-signal.c (thread_count): New variable.
12238 (thread_count_mutex, thread_count_condvar): New variables.
12239 (incr_thread_count, wait_all_threads_running): New functions.
12240 (main): Wait for all threads to be in their thread functions.
12242 2014-09-13 Doug Evans <xdje42@gmail.com>
12244 * gdb.threads/queue-signal.c: New file.
12245 * gdb.threads/queue-signal.exp: New file.
12247 2014-09-13 Doug Evans <xdje42@gmail.com>
12249 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12250 be consistent with what default_gdb_init uses.
12251 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12252 the plain text of the prompt. Add some logging printfs.
12253 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12255 2014-09-12 Pedro Alves <palves@redhat.com>
12257 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12258 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12259 * gdb.arch/i386-size-overlap.exp: Likewise.
12260 * gdb.arch/i386-size.exp: Likewise.
12261 * gdb.arch/i386-unwind.exp: Likewise.
12262 * gdb.base/a2-run.exp: Likewise.
12263 * gdb.base/break.exp: Likewise.
12264 * gdb.base/charset.exp: Likewise.
12265 * gdb.base/chng-syms.exp: Likewise.
12266 * gdb.base/commands.exp: Likewise.
12267 * gdb.base/dbx.exp: Likewise.
12268 * gdb.base/find.exp: Likewise.
12269 * gdb.base/funcargs.exp: Likewise.
12270 * gdb.base/jit-simple.exp: Likewise.
12271 * gdb.base/reread.exp: Likewise.
12272 * gdb.base/sepdebug.exp: Likewise.
12273 * gdb.base/step-bt.exp: Likewise.
12274 * gdb.cp/mb-inline.exp: Likewise.
12275 * gdb.cp/mb-templates.exp: Likewise.
12276 * gdb.objc/basicclass.exp: Likewise.
12277 * gdb.threads/killed.exp: Likewise.
12279 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12282 * gdb.arch/powerpc-stackless.S: New file.
12283 * gdb.arch/powerpc-stackless.exp: New file.
12285 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12287 * gdb.base/attach.c: Include unistd.h.
12288 (main): Call alarm. Add label postloop.
12289 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12290 gdb_breakpoint, gdb_continue_to_breakpoint.
12291 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12293 2014-09-11 Pedro Alves <palves@redhat.com>
12296 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12297 * gdb.base/attach.exp (test_command_line_attach_run): New
12299 (top level): Call it.
12301 2014-09-11 Pedro Alves <palves@redhat.com>
12303 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12304 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12305 (do_command_attach_tests): Use spawn_wait_for_attach.
12306 * gdb.base/solib-overlap.exp: Likewise.
12307 * gdb.multi/multi-attach.exp: Likewise.
12308 * gdb.python/py-prompt.exp: Likewise.
12309 * gdb.python/py-sync-interp.exp: Likewise.
12310 * gdb.server/ext-attach.exp: Likewise.
12312 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12314 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12315 command in testcase. Simplify testcase.
12317 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12319 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12321 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12323 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12325 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12327 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12329 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12331 * gdb.dwarf2/dynarr-ptr.c: New file.
12332 * gdb.dwarf2/dynarr-ptr.exp: New file.
12334 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12336 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12337 of 30 rather than hardcoding 120 for a slow test case. Take the
12338 `gdb,timeout' target setting into account for this calculation.
12339 Don't extend the timeout for the test cases that don't need it.
12341 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12343 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12344 a factor of 2 for a slow test case. Take the `gdb,timeout'
12345 target setting into account for this calculation.
12346 * gdb.reverse/until-precsave.exp: Increase the timeout by
12347 a factor of 15 and 3 respectively rather than adding 120
12348 for a pair of slow test cases. Take the `gdb,timeout'
12349 target setting into account for this calculation.
12351 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12353 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12354 timeout, don't pass one down to gdb_expect.
12355 (gdb_expect): Rework timeout selection.
12357 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12359 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12360 exception on timeout.
12361 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12362 (gdbserver_start_extended): Catch any `gdbserver_start' error
12364 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12365 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12366 `gdbserver_gdb_load' error exceptions.
12368 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12370 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12371 120 on waiting for the TCP socket to open.
12373 2014-09-09 Doug Evans <xdje42@gmail.com>
12375 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12376 _caller_matches, _any_caller_is, _any_caller_matches.
12378 2014-09-09 Doug Evans <xdje42@gmail.com>
12380 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12382 2014-09-09 Yao Qi <yao@codesourcery.com>
12384 * gdb.mi/mi-var-display.exp: Set print symbol off.
12386 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12389 * gdb.base/commands.exp: Add tests to verify user-defined
12390 commands with empty bodies.
12391 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12392 python commands in `show user command`.
12393 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12394 scheme commands in `show user command`.
12396 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12399 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12400 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12401 * gdb.python/py-framefilter-invalidarg.exp: New file.
12402 * gdb.python/py-framefilter-invalidarg.py: New file.
12404 2014-09-06 Doug Evans <xdje42@gmail.com>
12407 * gdb.python/py-caller-is.c: New file.
12408 * gdb.python/py-caller-is.exp: New file.
12410 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12413 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12414 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12416 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12419 * gdb.fortran/print-formatted.exp: New file.
12420 * gdb.fortran/print-formatted.f90: Likewise.
12422 2014-09-03 Sasha Smundak <asmundak@google.com>
12424 * gdb.python/py-frame.exp: Test Frame.read_register.
12426 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12429 * gdb.python/py-completion.exp: New file.
12430 * gdb.python/py-completion.py: Likewise.
12432 2014-08-28 Doug Evans <dje@google.com>
12434 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12435 eax,etc. are live with values set by gdb and thus the compiler can't
12437 * gdb.arch/i386-pseudo.c (main): Ditto.
12439 2014-08-27 Doug Evans <dje@google.com>
12441 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12443 2014-08-25 Doug Evans <dje@google.com>
12445 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12448 2014-08-25 Doug Evans <dje@google.com>
12450 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12452 2014-08-24 Yao Qi <yao@codesourcery.com>
12454 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12456 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12458 2014-08-22 Doug Evans <dje@google.com>
12461 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12462 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12463 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12465 2014-08-22 Yao Qi <yao@codesourcery.com>
12467 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12468 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12469 * gdb.python/python.exp: Likewise. Use .py file on the host
12470 instead of the build.
12472 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12474 * gdb.threads/gcore-stale-thread.c: New file.
12475 * gdb.threads/gcore-stale-thread.exp: New file.
12477 2014-08-21 Pedro Alves <palves@redhat.com>
12479 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12480 * gdb.base/gcore-relro-pie.exp: Likewise.
12481 * gdb.base/gcore-relro.exp: Likewise.
12482 * gdb.base/gcore.exp: Likewise.
12483 * gdb.base/print-symbol-loading.exp: Likewise.
12484 * gdb.threads/gcore-thread.exp: Likewise.
12485 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12487 2014-08-20 Pedro Alves <palves@redhat.com>
12488 Jan Kratochvil <jan.kratochvil@redhat.com>
12490 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12492 (EXPECT): Handle READ1 being set.
12493 (all): Depend on EXTRA_RULES.
12494 (check-read1, expect-read1, read1.so, read1): New rules.
12495 * README (Testsuite Parameters): Document the READ1 make variable.
12496 (Race detection): New section.
12497 * configure: Regenerate.
12498 * configure.ac: If build==host==target, and running under a
12499 GNU/glibc system, add read1 to the extra Makefile rules.
12500 (EXTRA_RULES): AC_SUBST it.
12501 * lib/read1.c: New file.
12503 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12505 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12506 the handling of variables declared as a typedef to an array
12507 which a DW_AT_data_location attribute.
12509 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12510 Pedro Alves <palves@redhat.com>
12514 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12517 2014-08-19 Pedro Alves <palves@redhat.com>
12519 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12521 2014-08-19 Yao Qi <yao@codesourcery.com>
12523 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12526 2014-08-18 David Blaikie <dblaikie@gmail.com>
12528 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12530 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12532 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12533 attribute in array range.
12535 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12537 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12539 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12542 * gdb.cp/pr17132.cc: New file.
12543 * gdb.cp/pr17132.exp: New file.
12545 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12547 * gdb.python/py-xmethods.py (A_getarrayind)
12548 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12549 Use 'print' with function call syntax.
12550 (E_method_matcher.match): Fix tab vs space indentation mixup.
12552 2014-08-15 Yao Qi <yao@codesourcery.com>
12554 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12557 2014-08-15 Yao Qi <yao@codesourcery.com>
12559 * gdb.cp/casts.exp: Set print symbol off.
12560 * gdb.cp/class2.exp: Likewise.
12561 * gdb.cp/overload.exp: Likewise.
12562 * gdb.cp/templates.exp: Likewise.
12564 2014-08-11 Doug Evans <dje@google.com>
12566 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12567 (test_load_shlib): Update.
12569 2014-08-09 Yao Qi <yao@codesourcery.com>
12571 * gdb.base/display.exp: Invoke is_address_zero_readable.
12572 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12573 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12574 * gdb.base/hbreak-unmapped.exp: Return if
12575 is_address_zero_readable returns true.
12576 * gdb.base/signest.exp: Likewise.
12577 * gdb.base/signull.exp: Likewise.
12578 * gdb.base/sigbpt.exp: Likewise.
12579 * gdb.guile/scm-disasm.exp: Do the test if
12580 is_address_zero_readable returns false.
12581 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12582 * gdb.python/py-arch.exp: Likewise.
12583 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12584 * lib/gdb.exp (is_address_zero_readable): New proc.
12586 2014-08-09 Yao Qi <yao@codesourcery.com>
12589 * gdb.mi/mi-var-display.exp: Make test messages unique.
12591 2014-08-04 Tom Tromey <tromey@redhat.com>
12593 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12596 2014-08-04 Tom Tromey <tromey@redhat.com>
12598 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12601 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12603 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12604 inner_vla_struct_object_size.
12605 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12608 2014-07-30 Pedro Alves <palves@redhat.com>
12610 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12613 2014-07-29 Yao Qi <yao@codesourcery.com>
12616 * gdb.base/until-nodebug.exp: New.
12618 2014-07-28 Doug Evans <xdje42@gmail.com>
12621 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12622 previously existing parameter, and previously ambiguously spelled
12625 2014-07-28 Will Newton <will.newton@linaro.org>
12627 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12629 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12630 Doug Evans <xdje42@gmail.com>
12633 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12635 2014-07-25 Pedro Alves <palves@redhat.com>
12637 * gdb.threads/signal-command-handle-nopass.c: New file.
12638 * gdb.threads/signal-command-handle-nopass.exp: New file.
12639 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12640 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12641 * gdb.threads/signal-delivered-right-thread.c: New file.
12642 * gdb.threads/signal-delivered-right-thread.exp: New file.
12644 2014-07-25 Pedro Alves <palves@redhat.com>
12646 * gdb.base/double-prompt-target-event-error.exp
12647 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12649 (cancel_pagination_in_target_event): Rework double prompt
12651 * gdb.base/paginate-after-ctrl-c-running.exp
12652 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12654 * gdb.base/paginate-bg-execution.exp
12655 (test_bg_execution_pagination_return)
12656 (test_bg_execution_pagination_cancel): Remove '-notransfer
12658 * gdb.base/paginate-execution-startup.exp
12659 (test_fg_execution_pagination_return)
12660 (test_fg_execution_pagination_cancel): Remove '-notransfer
12662 * gdb.base/paginate-inferior-exit.exp
12663 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12665 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12666 * lib/gdb.exp (pagination_prompt): Run text through
12668 (gdb_test_multiple): Match $pagination_prompt instead of
12670 (string_to_regexp): Move to lib/gdb-utils.exp.
12672 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12674 * gdb.arch/amd64-entry-value-paramref.S: New file.
12675 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12676 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12677 * gdb.arch/amd64-optimout-repeat.S: New file.
12678 * gdb.arch/amd64-optimout-repeat.c: New file.
12679 * gdb.arch/amd64-optimout-repeat.exp: New file.
12681 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12684 * gdb.base/statistics.exp: New file.
12686 2014-07-17 Doug Evans <dje@google.com>
12689 * gdb.base/maint.exp: Update testing of per-command stats.
12691 2014-07-16 Pedro Alves <palves@redhat.com>
12693 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12694 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12695 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12696 (tfile_write_buf): New functions.
12697 (add_memory_block): Rewrite using the above.
12698 (adjust_function_address): New function.
12699 (FUNCTION_ADDRESS): New macro.
12700 (write_basic_trace_file): Remove short_x local, and use
12701 tfile_write_16. Change type of func_addr local to unsigned long
12702 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12703 here. Cast argument of add_memory_block to char pointer.
12704 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12705 (main): Remove parameters.
12706 * gdb.trace/tfile.exp: Remove nowarnings.
12708 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12710 * gdb.base/debug-expr.exp: Test string evaluation with
12711 "debug expression" on.
12713 2014-07-15 Pedro Alves <palves@redhat.com>
12715 * gdb.base/reread.exp: Use clean_restart.
12717 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12719 * gdb.arch/avr-flash-qualifer.c: New.
12720 * gdb.arch/avr-flash-qualifer.exp: New.
12722 2014-07-14 Pedro Alves <palves@redhat.com>
12724 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12725 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12727 2014-07-14 Pedro Alves <palves@redhat.com>
12729 * gdb.base/double-prompt-target-event-error.c: New file.
12730 * gdb.base/double-prompt-target-event-error.exp: New file.
12732 2014-07-14 Pedro Alves <palves@redhat.com>
12735 * gdb.base/paginate-inferior-exit.c: New file.
12736 * gdb.base/paginate-inferior-exit.exp: New file.
12738 2014-07-14 Pedro Alves <palves@redhat.com>
12741 * gdb.base/paginate-bg-execution.c: New file.
12742 * gdb.base/paginate-bg-execution.exp: New file.
12744 2014-07-14 Pedro Alves <palves@redhat.com>
12747 * gdb.base/paginate-execution-startup.c: New file.
12748 * gdb.base/paginate-execution-startup.exp: New file.
12749 * lib/gdb.exp (pagination_prompt): New global.
12750 (default_gdb_spawn): New procedure, factored out from
12752 (default_gdb_start): Adjust to call default_gdb_spawn.
12753 (gdb_spawn): New procedure.
12755 2014-07-14 Pedro Alves <palves@redhat.com>
12757 * lib/gdb.exp (gdb_assert): New procedure.
12758 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12760 2014-07-14 Pedro Alves <palves@redhat.com>
12762 * gdb.base/execution-termios.c: New file.
12763 * gdb.base/execution-termios.exp: New file.
12765 2014-07-14 Tom Tromey <tromey@redhat.com>
12767 * gdb.cp/vla-cxx.cc: New file.
12768 * gdb.cp/vla-cxx.exp: New file.
12770 2014-07-14 Tom Tromey <tromey@redhat.com>
12772 * gdb.reverse/rerun-prec.c: New file.
12773 * gdb.reverse/rerun-prec.exp: New file.
12775 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12776 Maciej W. Rozycki <macro@codesourcery.com>
12778 * lib/gdb-utils.exp: New file.
12779 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12780 inline `gdb_init_command' processing.
12781 (gdb_start_cmd): Likewise.
12782 * lib/mi-support.exp (mi_run_cmd): Likewise.
12783 * README: Document `gdb_init_command' and `gdb_init_commands'.
12785 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12787 Fix false FAIL running under a very long directory name.
12788 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12789 and "set print elements 10000". Twice.
12791 2014-07-11 Yao Qi <yao@codesourcery.com>
12793 * gdb.base/exprs.exp: "set print symbol off".
12795 2014-07-11 Pedro Alves <palves@redhat.com>
12797 * gdb.threads/kill.c: New file.
12798 * gdb.threads/kill.exp: New file.
12800 2014-07-10 Yao Qi <yao@codesourcery.com>
12802 * gdb.trace/tfile.c (write_basic_trace_file)
12803 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12804 address written to trace file.
12806 2014-07-09 Pedro Alves <palves@redhat.com>
12808 * gdb.base/attach-wait-input.exp: New file.
12809 * gdb.base/attach-wait-input.c: New file.
12811 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12813 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12814 setting up test structures.
12815 (main): Call new test function.
12816 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12817 test function, continue into test function and walk test
12820 2014-07-02 Yao Qi <yao@codesourcery.com>
12822 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12823 'bar_start' at the beginning of functions 'foo' and 'bar'
12825 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12826 instead of 'foo' and 'bar'.
12828 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12830 * gdb.btrace/segv.exp: New.
12831 * gdb.btrace/segv.c: New.
12833 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12835 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12838 2014-06-30 Mark Wielaard <mjw@redhat.com>
12840 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12841 vulture, vilify, villar): New volatile array constants.
12842 (vindictive, vegetation): New const volatile array constants.
12843 * gdb.base/volatile.exp: Test volatile and const volatile array
12846 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12848 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12849 target lacks support for awatch, rwatch, or hbreak.
12851 2014-06-27 Yao Qi <yao@codesourcery.com>
12853 * gdb.multi/dummy-frame-restore.exp: New.
12854 * gdb.multi/dummy-frame-restore.c: New.
12856 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12858 * gdb.btrace/gcore.exp: New.
12860 2014-06-23 Pedro Alves <palves@redhat.com>
12862 * gdb.base/watchpoint-reuse-slot.c: New file.
12863 * gdb.base/watchpoint-reuse-slot.exp: New file.
12865 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12867 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12868 progspace's filename in 'info', 'enable' and 'disable' command
12871 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12873 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12874 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12875 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12877 2014-06-20 Gary Benson <gbenson@redhat.com>
12879 * gdb.arch/i386-avx.exp: Fix include file location.
12880 * gdb.arch/i386-sse.exp: Likewise.
12882 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12884 * gdb.dlang/expression.exp: New file.
12886 2014-06-19 Pedro Alves <palves@redhat.com>
12888 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12890 (top level): ... here. Iterate running tests under different
12891 scheduler-locking settings.
12893 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12895 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12896 to DW_FORM_addr and use non-zero addresses.
12898 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12901 * gdb.python/py-xmethods.cc: Add global function call counters and
12902 increment them in their respective functions. Remove "cout"
12904 * gdb.python/py-xmethods.exp: Make tests check the global function
12905 call counters instead of depending on inferior IO.
12907 2014-06-18 Don Breazeal <donb@codesourcery.com>
12909 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12911 (explicit_fork_parent_follow): Deleted procedure.
12912 (explicit_fork_child_follow): Deleted procedure.
12913 (test_follow_fork): New procedure.
12914 (do_fork_tests): Replace calls to deleted procedures with
12915 calls to test_follow_fork and reset GDB for subsequent
12918 2014-06-17 Yao Qi <yao@codesourcery.com>
12920 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12923 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12925 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12926 Initialize ptr and S explicitly.
12927 (skip_type_update_when_not_use_rtti_test): Likewise.
12929 2014-06-16 Keith Seitz <keiths@redhat.com>
12932 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12933 the inferior is started.
12935 2014-06-16 Pedro Alves <palves@redhat.com>
12937 * gdb.base/break-main-file-remove-fail.c: New file.
12938 * gdb.base/break-main-file-remove-fail.exp: New file.
12939 * gdb.base/break-unload-file.exp: Use build_executable instead of
12940 prepare_for_testing.
12941 (test_break): New parameter "initial_load". Handle it.
12942 (top level): Add initial_load cmdline/file axis.
12944 2014-06-12 Tom Tromey <tromey@redhat.com>
12946 * gdb.base/completion.exp: Don't use directory name in test.
12948 2014-06-09 Gary Benson <gbenson@redhat.com>
12950 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12951 separate the always-available ANSI-standard signals from the
12952 signals that require checking.
12954 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12958 2014-06-07 Keith Seitz <keiths@redhat.com>
12962 * gdb.cp/var-tag.cc: New file.
12963 * gdb.cp/var-tag.exp: New file.
12964 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12965 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12966 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12967 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12969 2014-06-06 Doug Evans <xdje42@gmail.com>
12971 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12973 2014-06-06 Pedro Alves <palves@redhat.com>
12975 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12976 in target debug output instead of looking at RSP packets,
12977 disabling the test on any target that uses hardware stepping.
12980 2014-06-06 Pedro Alves <palves@redhat.com>
12982 * gdb.base/break-unload-file.exp: Fix typo.
12984 2014-06-06 Yao Qi <yao@codesourcery.com>
12986 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12987 from "jit_function" to "^jit_function".
12989 2014-06-06 Yao Qi <yao@codesourcery.com>
12991 * gdb.base/async.c (foo): Add one statement.
12992 * gdb.base/async.exp: Get the next instruction address and
12993 match the output of "nexti" by instruction address. Match
12994 the hex address in the output of "finish".
12996 2014-06-06 Gary Benson <gbenson@redhat.com>
12998 * gdb.base/call-signals.c: Remove preprocessor conditionals
12999 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13000 SIGSEGV and SIGTERM.
13001 * gdb.base/sigall.c: Likewise.
13002 * gdb.base/unwindonsignal.c: Likewise.
13003 * gdb.reverse/sigall-reverse.c: Likewise.
13005 2014-06-06 Yao Qi <yao@codesourcery.com>
13007 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13008 readable, skip the test.
13010 2014-06-06 Yao Qi <yao@codesourcery.com>
13012 * gdb.threads/staticthreads.c (thread_function): Move the line
13013 setting breakpoint on forward.
13014 * gdb.threads/staticthreads.exp: Update comments.
13016 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13018 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13019 "history-append! type error".
13021 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13023 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13024 erroneous dprintf expected input.
13026 2014-06-04 Doug Evans <xdje42@gmail.com>
13028 * gdb.guile/scm-generics.exp: Delete.
13030 2014-06-04 Doug Evans <xdje42@gmail.com>
13032 * gdb.guile/scm-breakpoint.exp: Update.
13033 Add tests for breakpoint registration.
13035 2014-06-04 Tom Tromey <tromey@redhat.com>
13037 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13039 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13040 inner_vla_struct, vla_union types. Initialize objects of those
13041 types and compute their sizes.
13043 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13044 Hui Zhu <hui@codesourcery.com>
13046 * gdb.base/fileio.exp: Add test for shell not available as well as
13048 * gdb.base/fileio.c (test_system): Check for shell twice.
13050 2014-06-04 Yao Qi <yao@codesourcery.com>
13052 * gdb.base/auto-connect-native-target.exp: Remove redundant
13053 space from the regexp pattern.
13055 2014-06-04 Yao Qi <yao@codesourcery.com>
13057 * gdb.base/default.exp: Replace "child" with "native" in
13060 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13062 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13063 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13064 * gdb.python/py-xmethods.py: Python script supporting the
13065 new testcase and tests.
13067 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13068 Pedro Alves <palves@redhat.com>
13070 PR breakpoints/17000
13071 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13072 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13074 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13076 * gdb.base/subst.exp: Add tests to verify partial path matching
13079 2014-06-03 Pedro Alves <palves@redhat.com>
13081 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13082 target that doesn't use software single-stepping.
13084 2014-06-03 Pedro Alves <palves@redhat.com>
13086 PR breakpoints/17000
13087 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13088 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13090 2014-06-02 Doug Evans <xdje42@gmail.com>
13092 * gdb.guile/scm-parameter.exp: New file.
13094 2014-06-02 Doug Evans <xdje42@gmail.com>
13096 * gdb.guile/scm-cmd.c: New file.
13097 * gdb.guile/scm-cmd.exp: New file.
13099 2014-06-02 Doug Evans <xdje42@gmail.com>
13101 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13102 pretty-printer lookup.
13103 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13104 (make-pp_s-printer): Call it.
13105 (make-pretty-printer-from-dict): New function.
13106 (lookup-pretty-printer-maker-from-dict): New function.
13107 (*pretty-printer*): Simplify.
13108 (make-objfile-pp_s-printer): New function.
13109 (install-objfile-pretty-printers!): New function.
13110 (make-progspace-pp_s-printer): New function.
13111 (install-progspace-pretty-printers!): New function.
13112 * gdb.guile/scm-progspace.c: New file.
13113 * gdb.guile/scm-progspace.exp: New file.
13115 2014-06-02 Pedro Alves <palves@redhat.com>
13117 * gdb.base/dprintf-bp-same-addr.c: New file.
13118 * gdb.base/dprintf-bp-same-addr.exp: New file.
13120 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13122 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13123 * gdb.arch/powerpc-power.s: Likewise.
13125 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13127 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13129 2014-06-01 Yao Qi <yao@codesourcery.com>
13131 * gdb.base/watchpoint.exp (test_watch_location): Check null
13132 pointer can be dereferenced. If not, do the test, otherwise
13135 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13137 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13139 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13141 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13143 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13144 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13145 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13146 * gdb.arch/amd64-invalid-stack-top.c: New file.
13147 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13149 2014-05-30 Pedro Alves <palves@redhat.com>
13151 PR breakpoints/17000
13152 * gdb.base/sss-bp-on-user-bp.c: New file.
13153 * gdb.base/sss-bp-on-user-bp.exp: New file.
13155 2014-05-30 David Blaikie <dblaikie@gmail.com>
13157 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13158 gnu_inline semantics via attribute.
13159 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13160 source explicitly specifies the required semantics.
13162 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13164 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13166 2014-05-29 Pedro Alves <palves@redhat.com>
13167 Tom Tromey <tromey@redhat.com>
13169 * gdb.base/async-shell.exp: Don't enable target-async.
13170 * gdb.base/async.exp
13171 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13173 (top level): Don't test with "target-async".
13174 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13175 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13176 * gdb.base/inferior-died.exp: Don't enable target-async.
13177 * gdb.base/interrupt-noterm.exp: Likewise.
13178 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13179 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13180 * gdb.mi/mi-nonstop.exp: Likewise.
13181 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13182 * gdb.mi/mi-nsintrall.exp: Likewise.
13183 * gdb.mi/mi-nsmoribund.exp: Likewise.
13184 * gdb.mi/mi-nsthrexec.exp: Likewise.
13185 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13186 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13187 * gdb.python/py-evsignal.exp: Don't enable target-async.
13188 * gdb.python/py-evthreads.exp: Likewise.
13189 * gdb.python/py-prompt.exp: Likewise.
13190 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13191 * gdb.server/solib-list.exp: Don't enable target-async.
13192 * gdb.threads/thread-specific-bp.exp: Likewise.
13193 * lib/mi-support.exp: Adjust to use mi-async.
13195 2014-05-29 Pedro Alves <palves@redhat.com>
13198 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13199 reason, even in sync mode.
13201 2014-05-29 Pedro Alves <palves@redhat.com>
13202 Hui Zhu <hui@codesourcery.com>
13205 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13206 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13207 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13208 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13210 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13212 * config/monitor.exp (gdb_target_monitor): Replace use of
13213 "set remotebaud" by "set serial baud".
13215 2014-05-26 Andy Wingo <wingo@igalia.com>
13217 * gdb.guile/scm-breakpoint.exp:
13218 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13219 properties instead of gdb-object-properties.
13221 2014-05-26 Yao Qi <yao@codesourcery.com>
13223 * gdb.server/no-thread-db.exp: Specify source file name
13224 explicitly when setting a breakpoint.
13226 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13228 * gdb.btrace/vdso.c: New.
13229 * gdb.btrace/vdso.exp: New.
13231 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13233 * gdb.base/gcore.exp (capture_command_output): Move ...
13234 * lib/gdb.exp (capture_command_output): ... here.
13236 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13238 * gdb.btrace/data.exp: Test memory access during btrace replay.
13240 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13242 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13244 2014-05-21 Pedro Alves <palves@redhat.com>
13247 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13248 (top level): Test that output related to execution commands is
13249 sent to the console with CLI commands, but not with MI commands.
13250 Test that breakpoint events are always mirrored to the console.
13251 Also expect the new source line to be output after a "next" in
13252 async mode too. Make it a pass/fail test.
13253 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13255 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13257 2014-05-21 Pedro Alves <palves@redhat.com>
13259 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13260 Use them to test variations of "list" after reaching a breakpoint.
13261 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13262 Test "list" with listsize 10 after reaching a breakpoint.
13263 * gdb.python/python.exp (decode_line current location line
13264 number): Adjust expected line number.
13266 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13268 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13269 behavior for $args, pass it directly to "run".
13271 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13273 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13276 2014-05-21 Pedro Alves <palves@redhat.com>
13278 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13279 auto-connect-native-target off".
13280 * gdb.base/auto-connect-native-target.c: New file.
13281 * gdb.base/auto-connect-native-target.exp: New file.
13283 2014-05-21 Pedro Alves <palves@redhat.com>
13285 * gdb.base/default.exp: Test "target native" instead of "target
13288 2014-05-21 Mark Wielaard <mjw@redhat.com>
13290 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13292 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13294 Fix TLS access for -static -pthread.
13295 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13296 <HAVE_TLS> (thread_function, main): Initialize it.
13297 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13299 <$have_tls != "">: Check TLSVAR.
13301 2014-05-21 Pedro Alves <palves@redhat.com>
13303 * gdb.base/dcache-line-read-error.c: New.
13304 * gdb.base/dcache-line-read-error.exp: New.
13306 2014-05-20 Pedro Alves <palves@redhat.com>
13308 * gdb.base/compare-sections.c: New file.
13309 * gdb.base/compare-sections.exp: New file.
13311 2014-05-20 Pedro Alves <palves@redhat.com>
13313 * gdb.base/break-idempotent.c: New file.
13314 * gdb.base/break-idempotent.exp: New file.
13316 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13318 * gdb.btrace/nohist.exp: New.
13320 2014-05-20 Yao Qi <yao@codesourcery.com>
13322 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13323 gdb.reverse directory and gdb_reverse_timeout exists in board
13325 * README: Document gdb_reverse_timeout.
13327 2014-05-20 Yao Qi <yao@codesourcery.com>
13329 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13330 'test_file_name'. Treat args as a string instead of a list.
13331 (gdb_init): Rename argument 'args' by 'test_file_name'.
13333 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13335 * gdb.arch/powerpc-power.exp: New file.
13336 * gdb.arch/powerpc-power.s: New file.
13338 2014-05-16 Doug Evans <dje@google.com>
13340 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13341 * gdb.base/completion.exp: Check that all expected files exist
13342 before doing file completion.
13344 2014-05-16 Doug Evans <dje@google.com>
13346 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13348 (do_syscall_tests_without_xml): Update.
13350 2014-05-16 Pedro Alves <palves@redhat.com>
13352 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13353 instead of "unknown output after running".
13355 2014-05-16 Yao Qi <yao@codesourcery.com>
13357 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13358 file1.txt from host at the end.
13359 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13361 2014-05-15 Doug Evans <dje@google.com>
13363 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13364 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13365 loading file. Add test for TU lookup.
13367 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13369 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13370 calling "-exec-arguments" or "set args" before running the
13373 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13375 * lib/mi-support.exp (mi_expect_stop): Expect message for
13376 inferiors that exit with non-zero exit code.
13378 2014-05-14 Yao Qi <yao@codesourcery.com>
13380 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13381 match absolute path on remote host.
13382 (test_file_list_exec_source_files): Remove "/" from the
13385 2014-05-14 Yao Qi <yao@codesourcery.com>
13387 * boards/local-remote-host-notty.exp (${board}_file): New
13390 2014-05-07 Kyle McMartin <kyle@redhat.com>
13392 Pushed by Joel Brobecker <brobecker@adacore.com>.
13393 * gdb.arch/aarch64-atomic-inst.c: New file.
13394 * gdb.arch/aarch64-atomic-inst.exp: New file.
13396 2014-05-07 Yao Qi <yao@codesourcery.com>
13398 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13399 in current context" too.
13401 2014-05-05 Keith Seitz <keiths@redhat.com>
13403 * gdb.linespec/ls-dollar.exp: Add test for linespec
13404 file:convenience_variable.
13406 2014-05-05 Yao Qi <yao@codesourcery.com>
13408 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13409 traceframes into tfile and ctf trace files. Read data from
13410 trace file and test collected data.
13411 (gdb_collect_locals_test): Likewise.
13412 (gdb_unavailable_registers_test): Likewise.
13413 (gdb_unavailable_floats): Likewise.
13414 (gdb_collect_globals_test): Likewise.
13415 (top-level): Append "ctf" to trace_file_targets if GDB
13418 2014-05-05 Yao Qi <yao@codesourcery.com>
13420 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13422 (gdb_collect_args_test_1): ... it. New proc.
13423 (gdb_collect_locals_test): Move some code to ...
13424 (gdb_collect_locals_test_1): ... it. New proc.
13425 (gdb_unavailable_registers_test): Move some code to ...
13426 (gdb_unavailable_registers_test_1): ... it. New proc.
13427 (gdb_unavailable_floats): Move some code to ...
13428 (gdb_unavailable_floats_1): ... it. New proc.
13430 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13432 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13433 probes to test for bitness recognition.
13434 * gdb.arch/amd64-stap-optional-prefix.exp
13435 (test_probe_value_without_reg): New procedure.
13436 Add code to test for different kinds of bitness.
13438 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13440 PR breakpoints/16889
13441 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13442 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13444 2014-05-01 Pedro Alves <palves@redhat.com>
13446 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13447 gdb_file_cmd if no file is specified.
13448 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13449 last_loaded_file to set the remote exec-file.
13451 2014-05-01 Pedro Alves <palves@redhat.com>
13453 * boards/local-remote-host.exp: New file.
13455 2014-05-01 Pedro Alves <palves@redhat.com>
13457 * boards/local-remote-host.exp: Rename to ...
13458 * boards/local-remote-host-notty.exp: ... this.
13460 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13462 * gdb.ada/dyn_arrayidx: New testcase.
13464 2014-04-26 Yao Qi <yao@codesourcery.com>
13466 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13467 and compute the length of function main. Save it in
13469 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13470 (top-level): Use gdb_compile to compile objects into
13471 executable and restart GDB. Remove invocation to
13472 prepare_for_testing.
13474 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13475 Pedro Alves <palves@redhat.com>
13478 * gdb.multi/multi-attach.c: New file.
13479 * gdb.multi/multi-attach.exp: New file.
13481 2014-04-25 Pedro Alves <palves@redhat.com>
13483 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13485 (top level): Test that "set remote conditional-breakpoints-packet
13486 off" works as intended.
13487 * gdb.base/dprintf.exp: Test that "set remote
13488 breakpoint-commands-packet off" works as intended.
13489 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13491 (top level): Call it.
13492 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13493 remote fast-tracepoints-packet off" works as intended.
13494 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13495 * lib/gdb.exp (gdb_is_target_remote): ... here.
13497 2014-04-24 David Blaikie <dblaikie@gmail.com>
13499 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13500 ensure clang would not discard them.
13501 * gdb.base/gdbvars.c: Ditto.
13502 * gdb.base/memattr.c: Ditto.
13503 * gdb.base/whatis.c: Ditto.
13504 * gdb.python/py-prettyprint.c: Ditto.
13505 * gdb.trace/actions.c: Ditto.
13506 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13507 ensure clang would not discard it.
13509 2014-04-24 David Blaikie <dblaikie@gmail.com>
13511 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13512 clang to emit the full definition of type required by the test
13513 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13515 2014-04-24 David Blaikie <dblaikie@gmail.com>
13517 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13518 coax Clang into emitting the definition of the type.
13519 * gdb.cp/pr10728-x.h (y): Ditto.
13520 * gdb.cp/pr10728-y.cc (y): Ditto.
13522 2014-04-24 David Blaikie <dblaikie@gmail.com>
13524 * gdb.base/label.exp: XFAIL label related tests under Clang.
13525 * gdb.cp/cplabel.exp: Ditto.
13526 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13527 under Clang those using labels.
13529 2014-04-25 Yao Qi <yao@codesourcery.com>
13531 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13533 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13534 partial_label and double_label.
13536 2014-04-24 David Blaikie <dblaikie@gmail.com>
13538 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13540 2014-04-24 David Blaikie <dblaikie@gmail.com>
13542 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13543 of the function to work across GCC and Clang.
13544 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13545 pointer types (const void ** const V void **).
13547 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13548 Walfred Tedeschi <walfred.tedeschi@intel.com>
13550 * Makefile.in (EXECUTABLES): Added i386-avx512.
13551 * gdb.arch/i386-avx512.c: New file.
13552 * gdb.arch/i386-avx512.exp: Likewise.
13554 2014-04-23 Keith Seitz <keiths@redhat.com>
13556 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13557 (mi_make_breakpoint_table): New procedure.
13558 (mi_create_breakpoint): Use mi_make_breakpoint
13559 and return the result.
13560 (mi_make_breakpoint): New procedure.
13561 (mi_build_kv_pairs): New procedure.
13563 * gdb.mi/mi-break.exp: Remove unused globals,
13564 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13565 All callers updated.
13566 * gdb.mi/mi-dprintf.exp: Use variable to track command
13568 Update all callers of mi_create_breakpoint and use
13569 mi_make_breakpoint_table.
13570 Remove any unused global variables.
13571 * gdb.mi/mi-nonstop.exp: Likewise.
13572 * gdb.mi/mi-nsintrall.exp: Likewise.
13573 * gdb.mi/mi-nsmoribund.exp: Likewise.
13574 * gdb.mi/mi-nsthrexec.exp: Likewise.
13575 * gdb.mi/mi-reverse.exp: Likewise.
13576 * gdb.mi/mi-simplerun.exp: Likewise.
13577 * gdb.mi/mi-stepn.exp: Likewise.
13578 * gdb.mi/mi-syn-frame.exp: Likewise.
13579 * gdb.mi/mi-until.exp: Likewise.
13580 * gdb.mi/mi-var-cp.exp: Likewise.
13581 * gdb.mi/mi-var-display.exp: Likewise.
13582 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13583 * gdb.mi/mi2-var-child.exp: Likewise.
13584 * gdb.mi/mi-vla-c99.exp: Likewise.
13585 * lib/mi-support.exp: Likewise.
13587 From Ian Lance Taylor <iant@cygnus.com>:
13588 * lib/gdb.exp (parse_args): New procedure.
13590 2014-04-23 Pedro Alves <palves@redhat.com>
13592 * gdb.base/break-unload-file.c: New file.
13593 * gdb.base/break-unload-file.exp: New file.
13594 * gdb.base/sym-file-lib.c (baz): New function.
13595 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13597 (load): Store the segment's mapped size.
13598 (unload): New function.
13599 (unload_shlib): New function.
13600 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13601 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13602 set a breakpoint at baz, and call it.
13603 * gdb.base/sym-file.exp: New tests for stale breakpoint
13606 2014-04-23 Pedro Alves <palves@redhat.com>
13608 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13609 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13610 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13611 * gdb.base/hbreak-unmapped.c: New file.
13612 * gdb.base/hbreak-unmapped.exp: New file.
13613 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13614 * lib/gdb.exp (gdb_is_target_remote): ... here.
13616 2014-04-22 Pedro Alves <palves@redhat.com>
13618 * gdb.base/consecutive-step-over.c: New file.
13619 * gdb.base/consecutive-step-over.exp: New file.
13621 2014-04-22 Pedro Alves <palves@redhat.com>
13623 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13624 instead of send_gdb/gdb_expect.
13626 2014-04-22 Yao Qi <yao@codesourcery.com>
13628 * lib/trace-support.exp (generate_tracefile): New procedure.
13629 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13631 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13632 if generate_tracefile returns 1.
13634 2014-04-18 Tom Tromey <palves@redhat.com>
13635 Pedro alves <tromey@redhat.com>
13638 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13639 with a backtrace limit.
13640 * gdb.python/py-frame-inline.exp: Test running to an inline
13641 function with a backtrace limit, and printing the newest frame.
13642 * gdb.python/py-frame-inline.c (main): Call f.
13644 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13646 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13648 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13650 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13651 Drop prefix from unsupported source file path.
13653 2014-04-17 Yao Qi <yao@codesourcery.com>
13655 * lib/gdb.exp (with_target_charset): New proc.
13656 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13657 with_target_charset.
13658 (test_print_strings): Likewise.
13659 (test_repeat_bytes): Likewise.
13660 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13663 2014-04-16 Keith Seitz <keiths@redhat.com>
13666 * gdb.dwarf2/corrupt.c: New file.
13667 * gdb.dwarf2/corrupt.exp: New file.
13669 2014-04-16 Keith Seitz <keiths@redhat.com>
13672 * gdb.cp/namelessclass.cc: New file.
13673 * gdb.cp/namelessclass.exp: New file.
13674 * gdb.cp/namelessclass.S: New file.
13676 2014-04-16 Doug Evans <dje@google.com>
13678 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13680 (gdbserver_default_get_comm_port): New function.
13681 (gdbserver_start): Check if board file provided
13682 "gdbserver,get_comm_port" and use it if so.
13683 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13684 (gdb,socketport): Set to "stdio".
13685 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13686 (stdio_gdbserver_template): Delete.
13687 (${board}_get_remote_address): Update.
13688 (${board}_build_remote_cmd): Delete.
13689 (${board}_get_comm_port): New function.
13690 (${board}_spawn): Update.
13691 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13693 (${board}_get_remote_address): Update.
13694 (${board}_get_comm_port): New function.
13696 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13698 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13699 appearing in any order.
13701 2014-04-15 Doug Evans <dje@google.com>
13703 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13704 uninitialized value of "description".
13706 2014-04-15 Keith Seitz <keiths@redhat.com>
13708 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13709 Remove unused globals.
13710 (test_running_the_program): Likewise.
13711 (test_controlled_execution): Likewise.
13712 (test_controlling_breakpoints): Likewise.
13713 (test_program_termination): Likewise.
13715 2014-04-15 Keith Seitz <keiths@redhat.com>
13717 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13719 (test_rbreak_creation_and_listing): Likewise.
13720 (test_ignore_count): Likewise.
13721 (test_error): Likewise.
13723 2014-04-15 Pedro Alves <palves@redhat.com>
13725 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13726 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13728 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13729 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13730 to sym-file-loader.c.
13731 (struct library): Forward declare.
13732 (load_shlib, lookup_function): Change prototypes.
13733 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13734 (translate_offset): Remove declarations.
13735 (get_text_addr): New declaration.
13736 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13737 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13739 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13740 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13741 here from sym-file-loader.h.
13742 (struct library): New structure.
13743 (load_shlib, lookup_function): Change prototypes and adjust to
13744 work with a struct library.
13745 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13746 (translate_offset): Make static.
13747 (get_text_addr): New function.
13748 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13750 2014-04-15 Pedro Alves <palves@redhat.com>
13752 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13754 2014-04-15 Pedro Alves <palves@redhat.com>
13756 * gdb.base/sym-file-loader.c: Include <limits.h>.
13757 (SELF_LINK): New define.
13758 (get_origin): New function.
13759 (load_shlib): Use it.
13760 * gdb.base/sym-file.exp: Don't early return if the target is
13761 remote. Use runto_main, and issue fail is that fails. Use
13763 (shlib_name): Delete.
13764 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13766 2014-04-15 Pedro Alves <palves@redhat.com>
13768 * gdb.base/sym-file.exp: Remove regex characters from test
13769 message. Don't refer to breakpoint numbers in test messages.
13771 2014-04-14 Keith Seitz <keiths@redhat.com>
13774 * gdb.cp/var-tag.cc: New file.
13775 * gdb.cp/var-tag.exp: New file.
13776 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13777 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13778 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13779 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13781 2014-04-14 Tom Tromey <tromey@redhat.com>
13783 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13784 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13786 * gdb.cp/enum-class.exp: New file.
13787 * gdb.cp/enum-class.cc: New file.
13789 2014-04-14 Tom Tromey <tromey@redhat.com>
13791 * gdb.dwarf2/enum-type.exp: New file.
13793 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13795 * gdb.mi/mi-vla-c99.exp: New file.
13796 * gdb.mi/vla.c: New file.
13798 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13800 * gdb.base/vla-datatypes.c: New file.
13801 * gdb.base/vla-datatypes.exp: New file.
13803 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13805 * gdb.base/vla-ptr.c: New file.
13806 * gdb.base/vla-ptr.exp: New file.
13808 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13810 * gdb.dwarf2/count.exp: New file.
13812 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13814 * gdb.base/vla-sideeffect.c: New file.
13815 * gdb.base/vla-sideeffect.exp: New file.
13817 2014-04-14 David Blaikie <dblaikie@gmail.com>
13819 * gdb.mi/non-stop.c: Add return value for non-void function return
13821 * gdb.threads/staticthreads.c: Ditto.
13823 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13824 Doug Evans <xdje42@gmail.com>
13826 * gdb.guile/scm-value.c: Improve test case.
13827 * gdb.guile/scm-value.exp: Add new test.
13829 2014-04-11 David Blaikie <dblaikie@gmail.com>
13831 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13832 override Clang's default.
13834 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13836 Revert the following changes (regressions):
13838 * gdb.base/vla-sideeffect.c: New file.
13839 * gdb.base/vla-sideeffect.exp: New file.
13841 * gdb.dwarf2/count.exp: New file.
13843 * gdb.base/vla-multi.c: New file.
13844 * gdb.base/vla-multi.exp: New file.
13846 * gdb.base/vla-ptr.c: New file.
13847 * gdb.base/vla-ptr.exp: New file.
13849 * gdb.base/vla-datatypes.c: New file.
13850 * gdb.base/vla-datatypes.exp: New file.
13852 * gdb.mi/mi-vla-c99.exp: New file.
13853 * gdb.mi/vla.c: New file.
13855 2014-04-11 Keith Seitz <keiths@redhat.com>
13858 * gdb.cp/cpsizeof.exp: New file.
13859 * gdb.cp/cpsizeof.cc: New file.
13861 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13863 * gdb.mi/mi-vla-c99.exp: New file.
13864 * gdb.mi/vla.c: New file.
13866 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13868 * gdb.base/vla-datatypes.c: New file.
13869 * gdb.base/vla-datatypes.exp: New file.
13871 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13873 * gdb.base/vla-ptr.c: New file.
13874 * gdb.base/vla-ptr.exp: New file.
13876 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13878 * gdb.base/vla-multi.c: New file.
13879 * gdb.base/vla-multi.exp: New file.
13881 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13883 * gdb.dwarf2/count.exp: New file.
13885 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13887 * gdb.base/vla-sideeffect.c: New file.
13888 * gdb.base/vla-sideeffect.exp: New file.
13890 2014-04-11 Yao Qi <yao@codesourcery.com>
13892 * gdb.base/completion.exp: Check file exists before running tests
13893 on file completion.
13895 2014-04-10 Pedro Alves <palves@redhat.com>
13897 * gdb.base/cond-eval-mode.c: New file.
13898 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13899 prepare_for_testing to build the new file. Check result of
13901 (test_break, test_watch): New procedures.
13902 (top level): Use them.
13904 2014-04-08 Pierre Muller <muller@sourceware.org>
13906 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13907 Ctrl-V use for mingw hosts.
13909 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13911 * gdb.python/py-value.c: Improve test case.
13912 * gdb.python/py-value.exp: Add new test.
13914 2014-04-07 David Blaikie <dblaikie@gmail.com>
13916 * lib/compiler.c: Identify the clang compiler.
13917 * lib/compiler.cc: Ditto.
13919 2014-04-03 Yao Qi <yao@codesourcery.com>
13921 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13923 2014-04-01 Anton Blanchard <anton@samba.org>
13925 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13928 2014-04-01 Anton Blanchard <anton@samba.org>
13930 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13931 prepare_for_testing.
13933 2014-04-01 Anton Blanchard <anton@samba.org>
13935 * gdb.arch/ppc64-atomic-inst.c: Remove.
13936 * gdb.arch/ppc64-atomic-inst.S: New file.
13937 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13939 2014-03-31 Doug Evans <dje@google.com>
13941 * gdb.base/print-symbol-loading-lib.c: New file.
13942 * gdb.base/print-symbol-loading-main.c: New file.
13943 * gdb.base/print-symbol-loading.exp: New file.
13945 2014-03-31 Yao Qi <yao@codesourcery.com>
13947 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13949 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13951 * gdb.ada/mi_dyn_arr: New testcase.
13953 2014-03-27 Doug Evans <dje@google.com>
13955 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13957 2014-03-27 Yao Qi <yao@codesourcery.com>
13959 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13960 if target is nios2-*-*.
13962 2014-03-26 Yao Qi <yao@codesourcery.com>
13964 * lib/gdb.exp (readline_is_used): New proc.
13965 * gdb.base/completion.exp: Move tests on command complete up.
13966 Skip the rest of tests if readline is not used.
13967 * gdb.ada/complete.exp: Skp the test if readline is not
13969 * gdb.base/filesym.exp: Likewise.
13970 * gdb.base/macscp.exp: Likewise.
13971 * gdb.base/readline-ask.exp: Likewise.
13972 * gdb.base/readline.exp: Likewise.
13973 * gdb.python/py-cmd.exp: Likewise.
13974 * gdb.trace/tfile.exp: Likewise.
13976 2014-03-26 Yao Qi <yao@codesourcery.com>
13978 * gdb.base/macscp.exp: Fix code format issues.
13980 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13982 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13983 * gdb.asm/powerpc64le.inc: New file.
13985 2014-03-25 Pedro Alves <palves@redhat.com>
13986 Doug Evans <dje@google.com>
13988 * gdb.base/source-execution.c: New file.
13989 * gdb.base/source-execution.exp: New file.
13990 * gdb.base/source-execution.gdb: New file.
13992 2014-03-24 Doug Evans <dje@google.com>
13994 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13997 2014-03-24 Hui Zhu <hui@codesourcery.com>
13998 Pedro Alves <palves@redhat.com>
14000 PR breakpoints/16101
14001 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14002 test pass/fail messages. Detect missing support for dprintf when
14003 breakpoints are actually inserted.
14004 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14005 breakpoints are actually inserted.
14006 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14009 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14011 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14013 2014-03-22 Doug Evans <xdje42@gmail.com>
14015 * gdb.python/python.exp (python not supported): Verify multi-line
14016 python command issues an error.
14017 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14018 guile command issues an error.
14020 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14022 * gdb.threads/thread-specific.exp: Handle the lack of usable
14023 $this_breakpoint and $this_thread.
14025 2014-03-21 Hui Zhu <hui@codesourcery.com>
14027 * gdb.base/attach.exp (do_command_attach_tests): New.
14029 2014-03-20 Tom Tromey <tromey@redhat.com>
14030 Pedro Alves <palves@redhat.com>
14033 * gdb.base/condbreak-call-false.c: New file.
14034 * gdb.base/condbreak-call-false.exp: New file.
14036 2014-03-20 Pedro Alves <palves@redhat.com>
14038 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14040 (block_signals, unblock_signals): Delete.
14041 (child_function_2, main): Remove references to deleted variable
14044 2014-03-20 Pedro Alves <palves@redhat.com>
14046 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14047 Use pthread_kill to signal thread 2.
14048 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14049 Adjust to make the test send itself a signal rather than using the
14050 host's "kill" command.
14052 2014-03-20 Pedro Alves <palves@redhat.com>
14054 * gdb.threads/multiple-step-overs.c: New file.
14055 * gdb.threads/multiple-step-overs.exp: New file.
14056 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14057 Adjust expected infrun debug output.
14059 2014-03-20 Pedro Alves <palves@redhat.com>
14061 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14062 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14064 2014-03-20 Pedro Alves <palves@redhat.com>
14066 PR breakpoints/7143
14067 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14068 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14069 of gdb_test_multiple.
14070 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14071 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14073 2014-03-20 Pedro Alves <palves@redhat.com>
14075 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14076 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14078 2014-03-19 Pedro Alves <palves@redhat.com>
14080 * gdb.base/async.exp: Remove early return.
14082 2014-03-19 Pedro Alves <palves@redhat.com>
14084 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14086 2014-03-19 Pedro Alves <palves@redhat.com>
14088 * gdb.base/async.exp (test_background): Expect \r\n after
14089 "completed." in the fail pattern.
14091 2014-03-19 Pedro Alves <palves@redhat.com>
14093 * gdb.base/async.exp (test_background): New procedure.
14094 Use it for all background execution command tests.
14096 2014-03-19 Pedro Alves <palves@redhat.com>
14098 * gdb.base/async.exp: Use prepare_for_testing.
14100 2014-03-19 Pedro Alves <palves@redhat.com>
14102 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14105 2014-03-19 Pedro Alves <palves@redhat.com>
14107 * gdb.base/async.c (main): Add "jump here" and "until here" line
14109 * gdb.base/async.exp (jump_here): New global.
14110 (jump& test): Use it.
14111 (until_here): New global.
14112 (until& test): Use it.
14114 2014-03-19 Pedro Alves <palves@redhat.com>
14116 * gdb.base/async.exp: Don't frob gdb_protocol.
14118 2014-03-18 Doug Evans <xdje42@gmail.com>
14120 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14121 Fix spelling of exec-done-display.
14123 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14126 * gdb.base/gdb-sigterm.c: New file.
14127 * gdb.base/gdb-sigterm.exp: New file.
14129 2014-03-18 Pedro Alves <palves@redhat.com>
14132 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14133 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14136 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14138 * gdb.ada/pckd_arr_ren: New testcase.
14140 2014-03-13 Doug Evans <xdje42@gmail.com>
14143 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14144 collect after discarding symbols.
14146 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14147 Doug Evans <xdje42@gmail.com>
14149 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14150 to history survives a gc.
14152 2014-03-13 Pedro Alves <palves@redhat.com>
14154 * gdb.base/default.exp: Don't test "target procfs".
14156 2014-03-13 Pedro Alves <palves@redhat.com>
14158 * gdb.base/default.exp: Update "target child" and "target procfs"
14159 tests to not expect "Unix".
14161 2014-03-12 Tom Tromey <tromey@redhat.com>
14163 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14164 New procs. Add target-async tests.
14165 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14166 Add target-async tests.
14168 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14170 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14171 'func_start' and 'func_end' for the beginning and end of the
14172 function code, respectively.
14173 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14174 'func_end' instead of 'func' and 'main'.
14176 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14178 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14179 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14180 generate the debug info assembler source.
14182 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14184 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14185 * gdb.dwarf2/arr-subrange.exp: Likewise.
14186 * gdb.dwarf2/dwz.exp: Likewise.
14187 * gdb.dwarf2/method-ptr.exp: Likewise.
14188 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14189 * gdb.dwarf2/subrange.exp: Likewise.
14190 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14191 * gdb.dwarf2/implptrpiece.exp: Likewise.
14192 * gdb.dwarf2/nostaticblock.exp: Likewise.
14194 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14196 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14197 directory to absolute path name arguments.
14199 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14201 * gdb.ada/tagged_access: New testcase.
14203 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14205 * gdb.btrace/data.exp: Update expected output.
14207 2014-03-06 Yao Qi <yao@codesourcery.com>
14209 * gdb.trace/pr16508.exp: New file.
14211 2014-03-05 Pedro Alves <palves@redhat.com>
14214 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14216 (top level): Adjust to use it. Add tests that exercise breakpoint
14217 interaction with the code-cache.
14219 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14221 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14222 test for 'history-append!'.
14224 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14226 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14227 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14228 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14229 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14230 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14231 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14233 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14235 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14236 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14237 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14239 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14241 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14243 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14245 * gdb.dwarf2/arr-stride.c: New file.
14246 * gdb.dwarf2/arr-stride.exp: New file.
14248 2014-02-26 Pedro Alves <palves@redhat.com>
14250 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14251 that won't ever trigger. Make sure that GDB reports the correct
14252 breakpoint that caused the stop.
14254 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14257 * gdb.base/auto-load-script: New file.
14258 * gdb.base/auto-load.c: New file.
14259 * gdb.base/auto-load.exp: New file.
14262 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14264 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14266 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14267 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14269 2014-02-24 Doug Evans <dje@google.com>
14271 * lib/gdb.exp (run_on_host): Log error output if program fails.
14273 2014-02-21 Pedro Alves <palves@redhat.com>
14275 * gdb.threads/step-after-sr-lock.c: Rename to ...
14276 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14277 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14278 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14281 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14284 * gdb.arch/amd64-stap-special-operands.exp: New file.
14285 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14286 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14287 * gdb.arch/amd64-stap-triplet.S: Likewise.
14288 * gdb.arch/amd64-stap-triplet.c: Likewise.
14290 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14292 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14293 in .section pseudo-op.
14295 2014-02-20 lin zuojian <manjian2006@gmail.com>
14296 Joel Brobecker <brobecker@adacore.com>
14297 Doug Evans <xdje42@gmail.com>
14300 * gdb.dwarf2/dw2-icycle.S: New file.
14301 * gdb.dwarf2/dw2-icycle.c: New file.
14302 * gdb.dwarf2/dw2-icycle.exp: New file.
14304 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14306 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14307 operations on gdb.Value objects.
14308 * gdb.python/py-value-cc.exp: Add new test to test operations on
14311 2014-02-18 Doug Evans <dje@google.com>
14313 * Makefile.in (TESTS): New variable.
14314 (expanded_tests, expanded_tests_or_none): New variables
14315 (check-single): Pass $(expanded_tests_or_none) to runtest.
14316 (check-parallel): Only run tests in $(TESTS) if non-empty.
14317 (check/no-matching-tests-found): New rule.
14318 * README: Document TESTS makefile variable.
14320 2014-02-18 Doug Evans <dje@google.com>
14322 * Makefile.in (check-parallel): rm -rf outputs temp.
14324 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14326 Fix "ERROR: no fileid for" in the testsuite.
14327 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14329 2014-02-12 Doug Evans <dje@google.com>
14331 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14332 (MISCELLANEOUS): New variable.
14333 (clean): rm -rf $(MISCELLANEOUS).
14334 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14335 dwp live in the same directory as symlinks, with each symlink pointed
14336 to a differently named file in a different directory.
14338 2014-02-11 Doug Evans <dje@google.com>
14340 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14341 of Tcl file commands.
14343 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14345 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14346 "kill -SIGUSR1 -1".
14348 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14350 * gdb.ada/tick_length_array_enum_idx: New testcase.
14352 2014-02-10 Doug Evans <xdje42@gmail.com>
14354 * configure.ac (AC_OUTPUT): Add gdb.guile.
14355 * configure: Regenerate.
14356 * lib/gdb-guile.exp: New file.
14357 * lib/gdb.exp (get_target_charset): New function.
14358 * gdb.base/help.exp: Update expected output from "apropos apropos".
14359 * gdb.guile/Makefile.in: New file.
14360 * gdb.guile/guile.exp: New file.
14361 * gdb.guile/scm-arch.c: New file.
14362 * gdb.guile/scm-arch.exp: New file.
14363 * gdb.guile/scm-block.c: New file.
14364 * gdb.guile/scm-block.exp: New file.
14365 * gdb.guile/scm-breakpoint.c: New file.
14366 * gdb.guile/scm-breakpoint.exp: New file.
14367 * gdb.guile/scm-disasm.c: New file.
14368 * gdb.guile/scm-disasm.exp: New file.
14369 * gdb.guile/scm-equal.c: New file.
14370 * gdb.guile/scm-equal.exp: New file.
14371 * gdb.guile/scm-error.exp: New file.
14372 * gdb.guile/scm-error.scm: New file.
14373 * gdb.guile/scm-frame-args.c: New file.
14374 * gdb.guile/scm-frame-args.exp: New file.
14375 * gdb.guile/scm-frame-args.scm: New file.
14376 * gdb.guile/scm-frame-inline.c: New file.
14377 * gdb.guile/scm-frame-inline.exp: New file.
14378 * gdb.guile/scm-frame.c: New file.
14379 * gdb.guile/scm-frame.exp: New file.
14380 * gdb.guile/scm-generics.exp: New file.
14381 * gdb.guile/scm-gsmob.exp: New file.
14382 * gdb.guile/scm-iterator.c: New file.
14383 * gdb.guile/scm-iterator.exp: New file.
14384 * gdb.guile/scm-math.c: New file.
14385 * gdb.guile/scm-math.exp: New file.
14386 * gdb.guile/scm-objfile-script-gdb.in: New file.
14387 * gdb.guile/scm-objfile-script.c: New file.
14388 * gdb.guile/scm-objfile-script.exp: New file.
14389 * gdb.guile/scm-objfile.c: New file.
14390 * gdb.guile/scm-objfile.exp: New file.
14391 * gdb.guile/scm-ports.exp: New file.
14392 * gdb.guile/scm-pretty-print.c: New file.
14393 * gdb.guile/scm-pretty-print.exp: New file.
14394 * gdb.guile/scm-pretty-print.scm: New file.
14395 * gdb.guile/scm-section-script.c: New file.
14396 * gdb.guile/scm-section-script.exp: New file.
14397 * gdb.guile/scm-section-script.scm: New file.
14398 * gdb.guile/scm-symbol.c: New file.
14399 * gdb.guile/scm-symbol.exp: New file.
14400 * gdb.guile/scm-symtab-2.c: New file.
14401 * gdb.guile/scm-symtab.c: New file.
14402 * gdb.guile/scm-symtab.exp: New file.
14403 * gdb.guile/scm-type.c: New file.
14404 * gdb.guile/scm-type.exp: New file.
14405 * gdb.guile/scm-value-cc.cc: New file.
14406 * gdb.guile/scm-value-cc.exp: New file.
14407 * gdb.guile/scm-value.c: New file.
14408 * gdb.guile/scm-value.exp: New file.
14409 * gdb.guile/source2.scm: New file.
14410 * gdb.guile/types-module.cc: New file.
14411 * gdb.guile/types-module.exp: New file.
14413 2014-02-10 Yao Qi <yao@codesourcery.com>
14416 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14417 * configure: Regenerated.
14418 * Makefile.in: New file.
14420 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14422 * gdb.python/py-framefilter.exp: Fix typo.
14424 2014-02-08 Yao Qi <yao@codesourcery.com>
14426 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14427 that no =breakpoint-modified is emitted when breakpoints are
14428 modified through MI commands.
14430 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14431 Pedro Alves <palves@redhat.com>
14433 * gdb.threads/step-after-sr-lock.c: New file.
14434 * gdb.threads/step-after-sr-lock.exp: New file.
14436 2014-02-07 Pedro Alves <palves@redhat.com>
14438 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14440 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14442 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14443 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14445 2014-02-06 Doug Evans <xdje42@gmail.com>
14447 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14450 * gdb.gdb/python-interrupts.exp: New file.
14452 2014-02-05 Yao Qi <yao@codesourcery.com>
14454 * gdb.trace/report.exp (use_collected_data): Test the output
14455 of "info threads" and "info inferiors".
14457 2014-02-05 Yao Qi <yao@codesourcery.com>
14461 2013-05-24 Yao Qi <yao@codesourcery.com>
14463 * gdb.trace/tfile.exp: Test inferior and thread.
14465 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14467 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14469 * gdb.base/step-bt.c: Call hello via function pointer to make
14470 sure its first instruction is executed on powerpc64le-linux.
14472 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14474 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14476 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14478 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14479 of the test patterns for use on little-endian systems.
14481 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14483 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14484 (decimal_vector): Fix for little-endian.
14486 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14488 * gdb.arch/sparc-sysstep.exp: New file.
14489 * gdb.arch/sparc-sysstep.c: Likewise.
14491 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14493 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14495 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14497 2014-01-23 Tom Tromey <tromey@redhat.com>
14499 * gdb.ada/array_char_idx: New testcase.
14501 2014-01-23 Tom Tromey <tromey@redhat.com>
14504 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14505 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14508 2014-01-23 Tom Tromey <tromey@redhat.com>
14511 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14512 string from an inferior frame.
14513 * gdb.python/py-framefilter-mi.exp: Update.
14515 2014-01-22 Doug Evans <dje@google.com>
14517 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14519 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14521 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14523 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14525 * gdb.trace/entry-values.exp: Remove excess space character from
14526 regex patterns. Handle s390 call instruction.
14528 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14530 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14531 define "*_start" label. Make "name" static.
14532 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14533 ${name} by references to ${name}_start.
14535 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14537 * gdb.base/info-macros.exp: Remove "debug" from the compile
14540 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14542 * gdb.dlang/demangle.exp: New file.
14544 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14546 * gdb.dlang/primitive-types.exp: New file.
14548 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14550 * configure.ac: Create gdb.dlang/Makefile.
14551 * configure: Regenerate.
14552 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14553 * gdb.dlang/Makefile.in: New file.
14554 * lib/d-support.exp: New file.
14555 * lib/gdb.exp (skip_d_tests): New proc.
14557 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14559 * gdb.btrace/delta.exp: Check reverse stepi.
14560 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14561 * gdb.btrace/finish.exp: New.
14562 * gdb.btrace/next.exp: New.
14563 * gdb.btrace/nexti.exp: New.
14564 * gdb.btrace/record_goto.c: Add comments.
14565 * gdb.btrace/step.exp: New.
14566 * gdb.btrace/stepi.exp: New.
14567 * gdb.btrace/multi-thread-step.c: New.
14568 * gdb.btrace/multi-thread-step.exp: New.
14569 * gdb.btrace/rn-dl-bind.c: New.
14570 * gdb.btrace/rn-dl-bind.exp: New.
14571 * gdb.btrace/data.c: New.
14572 * gdb.btrace/data.exp: New.
14573 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14575 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14577 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14578 * gdb.btrace/exception.exp: Update.
14579 * gdb.btrace/instruction_history.exp: Update.
14580 * gdb.btrace/record_goto.exp: Update.
14581 * gdb.btrace/tailcall.exp: Update.
14582 * gdb.btrace/unknown_functions.exp: Update.
14583 * gdb.btrace/delta.exp: New.
14585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14587 * gdb.btrace/record_goto.exp: Add backtrace test.
14588 * gdb.btrace/tailcall.exp: Add backtrace test.
14590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14592 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14593 * gdb.btrace/record_goto.c: New.
14594 * gdb.btrace/record_goto.exp: New.
14595 * gdb.btrace/x86-record_goto.S: New.
14597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14599 * gdb.btrace/function_call_history.exp: Update tests.
14600 * gdb.btrace/instruction_history.exp: Update tests.
14602 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14604 * gdb.btrace/function_call_history.exp: Fix expected field
14605 order for "record function-call-history".
14606 Add new tests for "record function-call-history /c".
14607 * gdb.btrace/exception.cc: New.
14608 * gdb.btrace/exception.exp: New.
14609 * gdb.btrace/tailcall.exp: New.
14610 * gdb.btrace/x86-tailcall.S: New.
14611 * gdb.btrace/x86-tailcall.c: New.
14612 * gdb.btrace/unknown_functions.c: New.
14613 * gdb.btrace/unknown_functions.exp: New.
14614 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14616 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14618 * gdb.btrace/instruction_history.exp: Update.
14619 * gdb.btrace/function_call_history.exp: Update.
14621 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14623 * gdb.btrace/function_call_history.exp: Fix expected function
14625 * gdb.btrace/instruction_history.exp: Initialize traced.
14626 Remove traced_functions.
14628 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14630 * gdb.btrace/function_call_history.exp: Update
14631 * gdb.btrace/instruction_history.exp: Update.
14633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14635 * gdb.btrace/enable.exp: Update expected text.
14637 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14639 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14642 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14644 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14646 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14648 * lib/gdb.exp (supports_process_record): Return true for
14649 arm*-linux*. (supports_reverse): Likewise.
14651 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14655 * gdb.python/py-type.c: Enhance test case.
14656 * gdb.python/py-value-cc.cc: Likewise
14657 * gdb.python/py-type.exp: Add new tests.
14658 * gdb.python/py-value-cc.exp: Likewise
14660 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14661 Pedro Alves <palves@redhat.com>
14663 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14664 Make "name" extern.
14665 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14666 references to ${name}_start by references to ${name}.
14668 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14670 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14672 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14674 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14676 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14677 Pedro Alves <palves@redhat.com>
14679 * gdb.mi/mi-info-os.exp: Connect to the target with
14680 mi_gdb_target_load.
14682 2014-01-08 Pedro Alves <palves@redhat.com>
14684 * gdb.threads/reconnect-signal.c: New file.
14685 * gdb.threads/reconnect-signal.exp: New file.
14687 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14689 * gdb.base/source-dir.exp: New file.
14691 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14693 * gdb.ada/mi_interface: New testcase.
14695 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14697 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14698 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14699 gdb.ada/pp-rec-component/pck.ads: New files.
14701 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14703 * gdb.python/py-pp-integral.c: New file.
14704 * gdb.python/py-pp-integral.py: New file.
14705 * gdb.python/py-pp-integral.exp: New file.
14707 For older changes see ChangeLog-1993-2013.
14709 ;; Local Variables:
14710 ;; mode: change-log
14713 ;; version-control: never
14716 Copyright 2014-2018 Free Software Foundation, Inc.
14717 Copying and distribution of this file, with or without modification,
14718 are permitted provided the copyright notice and this notice are preserved.