Consolidate gdb.GdbError handling
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12018-09-23 Tom Tromey <tom@tromey.com>
2
3 PR python/17284:
4 * gdb.python/py-template.exp (test_template_arg): Add test for
5 negative template argument number.
6
72018-09-23 Tom Tromey <tom@tromey.com>
8
9 PR python/14062:
10 * gdb.python/python.exp: Add test for post_event error.
11
122018-09-23 Tom Tromey <tom@tromey.com>
13
14 PR python/18170:
15 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
16 convert pointers to int and long.
17
182018-09-23 Tom Tromey <tom@tromey.com>
19
20 PR python/20126:
21 * gdb.python/py-value.exp (test_value_numeric_ops): Add
22 signed-ness conversion tests.
23
242018-09-23 Tom Tromey <tom@tromey.com>
25
26 PR python/18352;
27 * gdb.python/py-value.exp (test_float_conversion): New proc.
28 Use it.
29
302018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
31
32 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
33
342018-09-18 Sandra Loosemore <sandra@codesourcery.com>
35
36 * gdb.base/complete-empty.exp: Skip tab-completion tests if
37 no readline.
38 * gdb.base/utf8-identifiers.exp: Likewise.
39 * gdb.cp/cpcompletion.exp: Likewise.
40 * gdb.linespec/cpcompletion.exp: Likewise.
41 * gdb.linespec/cpls-abi-tag.exp: Likewise.
42 * gdb.linespec/cpls-ops.exp: Likewise.
43
442018-09-19 Richard Bunt <richard.bunt@arm.com>
45 Chris January <chris.january@arm.com>
46
47 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
48 * gdb.fortran/short-circuit-argument-list.exp: New file.
49 * gdb.fortran/short-circuit-argument-list.f90: New test.
50
512018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
52
53 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
54 "arch=" keyword when executing "-stack-list-frames".
55
562018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
57
58 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
59 "arch=" keyword when executing "-stack-list-frames".
60
612018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
62
63 * gdb.ada/complete.exp: Expect for "@" when doing "complete
64 break ada".
65
662018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
67
68 PR python/23669
69 * gdb.python/python.exp: Test gdb.execute("show commands").
70
712018-09-16 Tom Tromey <tom@tromey.com>
72
73 * gdb.base/new-ui.exp (do_execution_tests): Update.
74 * gdb.base/dbx.exp (test_breakpoints): Update.
75
762018-09-14 Alan Hayward <alan.hayward@arm.com>
77
78 * lib/gdb.exp (gdb_simple_compile): Add proc.
79 (is_elf_target): Use gdb_simple_compile.
80 (skip_altivec_tests): Likewise.
81 (skip_vsx_tests): Likewise.
82 (skip_tsx_tests): Likewise.
83 (skip_btrace_tests): Likewise.
84 (skip_btrace_pt_tests): Likewise.
85 (gdb_can_simple_compile): Likewise.
86 (gdb_has_argv0): Likewise.
87 (gdb_target_symbol_prefix): Likewise.
88 (target_supports_scheduler_locking): Likewise.
89
902018-09-13 Tom Tromey <tom@tromey.com>
91
92 * Makefile.in (TAGS): Recognize proc_with_prefix and
93 gdb_caching_proc.
94
952018-09-13 Simon Marchi <simon.marchi@ericsson.com>
96
97 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
98 method.
99
1002018-09-13 Simon Marchi <simon.marchi@ericsson.com>
101
102 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
103 and a few other Inferior properties when the Inferior is no
104 longer valid.
105
1062018-09-13 Tom Tromey <tom@tromey.com>
107
108 PR rust/23650:
109 * gdb.rust/simple.exp: Add test for enum field access error.
110
1112018-09-13 Tom Tromey <tom@tromey.com>
112
113 PR rust/23626:
114 * gdb.rust/simple.rs (EmptyEnum): New type.
115 (main): Use it.
116 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
117
1182018-09-13 Simon Marchi <simon.marchi@ericsson.com>
119
120 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
121 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
122 * gdb.python/py-symtab.exp: Update test printing an objfile.
123
1242018-09-12 Simon Marchi <simon.marchi@ericsson.com>
125
126 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
127 object.
128
1292018-09-12 Alan Hayward <alan.hayward@arm.com>
130
131 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
132 (support_complex_tests): Use gdb_can_simple_compile.
133 (is_ilp32_target): Likewise.
134 (is_lp64_target): Likewise.
135 (is_64_target): Likewise.
136 (is_amd64_regs_target): Likewise.
137 (is_aarch32_target): Likewise.
138 (gdb_int128_helper): Likewise.
139
1402018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
143
1442018-09-10 Jerome Guitton <guitton@adacore.com>
145
146 * gdb.ada/same_component_name: Add test for case of tagged record
147 with variable-length fields.
148
1492018-09-10 Xavier Roirand <roirand@adacore.com>
150
151 * gdb.ada/access_to_unbounded_array.exp: New testcase.
152 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
153 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
154 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
155
1562018-09-10 Xavier Roirand <roirand@adacore.com>
157
158 * gdb.ada/mi_string_access.exp: New testcase.
159 * gdb.ada/mi_string_access/bar.adb: New file.
160 * gdb.ada/mi_string_access/pck.adb: New file.
161 * gdb.ada/mi_string_access/pck.asd: New file.
162
1632018-09-10 Xavier Roirand <roirand@adacore.com>
164
165 * gdb.ada/mi_var_union.exp: New testcase.
166 * gdb.ada/mi_var_union/bar.adb: New file.
167 * gdb.ada/mi_var_union/pck.adb: New file.
168 * gdb.ada/mi_var_union/pck.asd: New file.
169
1702018-09-08 Tom Tromey <tom@tromey.com>
171
172 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
173
1742018-09-08 Tom Tromey <tom@tromey.com>
175
176 PR python/16047:
177 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
178 (register_pretty_printers): Register new printer.
179 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
180 test.
181 * gdb.python/py-prettyprint.c (int_type3): New typedef.
182 (an_int_type3): New global.
183
1842018-09-08 Joel Brobecker <brobecker@adacore.com>
185
186 * gdb.ada/expr_with_funcall: New testcase.
187
1882018-09-08 Joel Brobecker <brobecker@adacore.com>
189
190 * gdb.ada/packed_array_assign: New testcase.
191
1922018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
195 names, and add test prefixes to make test names unique.
196
1972018-09-05 Tom de Vries <tdevries@suse.de>
198
199 * gdb.dwarf2/varval.exp: Add test.
200
2012018-09-04 Gary Benson <gbenson@redhat.com>
202
203 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
204 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
205
2062018-08-31 Tom Tromey <tom@tromey.com>
207
208 * gdb.rust/simple.rs: Rename second variable "v".
209
2102018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * gdb.base/funcargs.c (use_a): New function.
213 (recurse): Call use_a.
214
2152018-08-29 Keith Seitz <keiths@redhat.com>
216
217 * gdb.compile/compile-cplus-anonymous.cc: New file.
218 * gdb.compile/compile-cplus-anonymous.exp: New file.
219 * gdb.compile/compile-cplus-array-decay.cc: New file.
220 * gdb.compile/compile-cplus-array-decay.exp: New file.
221 * gdb.compile/compile-cplus-inherit.cc: New file.
222 * gdb.compile/compile-cplus-inherit.exp: New file.
223 * gdb.compile/compile-cplus-member.cc: New file.
224 * gdb.compile/compile-cplus-member.exp: New file.
225 * gdb.compile/compile-cplus-method.cc: New file.
226 * gdb.compile/compile-cplus-method.exp: New file.
227 * gdb.compile/compile-cplus-mod.c: "New" file.
228 * gdb.compile/compile-cplus-namespace.cc: New file.
229 * gdb.compile/compile-cplus-namespace.exp: New file.
230 * gdb.compile/compile-cplus-nested.cc: New file.
231 * gdb.compile/compile-cplus-nested.exp: New file.
232 * gdb.compile/compile-cplus-print.c: "New" file.
233 * gdb.compile/compile-cplus-print.exp: "New" file.
234 * gdb.compile/compile-cplus-virtual.cc: New file.
235 * gdb.compile/compile-cplus-virtual.exp: New file.
236 * gdb.compile/compile-cplus.c: "New" file.
237 * gdb.compile/compile-cplus.exp: "New" file.
238 * lib/compile-support.exp: New file.
239
2402018-08-16 Gary Benson <gbenson@redhat.com>
241
242 PR gdb/13000:
243 * gdb.base/batch-exit-status.exp: New file.
244 * gdb.base/batch-exit-status.good-commands: Likewise.
245 * gdb.base/batch-exit-status.bad-commands: Likewise.
246
2472018-08-29 Alan Hayward <alan.hayward@arm.com>
248
249 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
250 (struct struct02): Likewise.
251 (struct struct03): Likewise.
252 (struct struct04): Likewise.
253 (struct struct_01_01): New struct.
254 (struct struct_01_02): Likewise.
255 (struct struct_01_03): Likewise.
256 (struct struct_01_04): Likewise.
257 (struct struct_02_01): Likewise.
258 (struct struct_02_02): Likewise.
259 (struct struct_02_03): Likewise.
260 (struct struct_02_04): Likewise.
261 (struct struct_04_01): Likewise.
262 (struct struct_04_02): Likewise.
263 (struct struct_04_03): Likewise.
264 (struct struct_04_04): Likewise.
265 (struct struct_05_01): Likewise.
266 (struct struct_05_02): Likewise.
267 (struct struct_05_03): Likewise.
268 (struct struct_05_04): Likewise.
269 (cmp_struct01): Remove function.
270 (cmp_struct02): Likewise.
271 (cmp_struct03): Likewise.
272 (cmp_struct04): Likewise.
273 (cmp_struct_01_01): Add Function.
274 (cmp_struct_01_02): Likewise.
275 (cmp_struct_01_03): Likewise.
276 (cmp_struct_01_04): Likewise.
277 (cmp_struct_02_01): Likewise.
278 (cmp_struct_02_02): Likewise.
279 (cmp_struct_02_03): Likewise.
280 (cmp_struct_02_04): Likewise.
281 (cmp_struct_04_01): Likewise.
282 (cmp_struct_04_02): Likewise.
283 (cmp_struct_04_03): Likewise.
284 (cmp_struct_04_04): Likewise.
285 (cmp_struct_05_01): Likewise.
286 (cmp_struct_05_02): Likewise.
287 (cmp_struct_05_03): Likewise.
288 (cmp_struct_05_04): Likewise.
289 (call_all): Add new structs.
290 * gdb.base/infcall-nested-structs.exp: Likewise.
291
2922018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
293
294 * gdb.python/py-framefilter-mi.exp: Update regexp to
295 check for "arch" field in frame output.
296
2972018-08-23 Kevin Buettner <kevinb@redhat.com>
298
299 * gdb.dwarf2/dw2-ranges-func.c: New file.
300 * gdb.dwarf2/dw2-ranges-func.exp: New file.
301
3022018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
303
304 * gdb.base/term.exp: Compare terminal settings with values from
305 the inferior.
306 * gdb.base/term.c: Get and set terminal settings.
307
3082018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
309
310 * lib/mi-support.exp (mi_expect_stop): Update regexp to
311 accommodate new "arch" field in frame output.
312 * gdb.mi/mi-return.exp: Likewise.
313 * gdb.mi/mi-stack.exp: Likewise.
314 * gdb.mi/mi-syn-frame.exp: Likewise.
315 * gdb.mi/user-selected-context-sync.exp: Likewise.
316
3172018-08-19 Michael Spang <spang@google.com>
318
319 PR gdb/11786
320 * gdb.base/gcore-tls-pie.c: New file.
321 * gdb.base/gcore-tls-pie.exp: New file.
322
3232018-08-18 Kevin Buettner <kevinb@redhat.com>
324
325 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
326 * gdb.dwarf2/varval.c: New file.
327 * gdb.dwarf2/varval.exp: New file.
328
3292018-08-17 Alan Hayward <alan.hayward@arm.com>
330
331 PR gdb/18931
332 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
333
3342018-08-16 Keith Seitz <keiths@redhat.com>
335
336 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
337 tests expected to pass.
338
3392018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
340
341 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
342 -data-disassemble -a.
343 (test_disassembly_bogus_args): Likewise.
344
3452018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
348
3492018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
350
351 * gdb.base/vla-optimized-out.exp: Add new test.
352
3532018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
354
355 * gdb.base/vla-optimized-out-o3.exp: Delete.
356 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
357 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
358 deleted tests.
359
3602018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 PR gdb/18050:
363 * gdb.server/extended-remote-restart.c: New file.
364 * gdb.server/extended-remote-restart.exp: New file.
365
3662018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
367
368 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
369 "set variable index = 42".
370
3712018-08-07 Simon Marchi <simon.marchi@ericsson.com>
372
373 * boards/index-cache-gdb.exp: New file.
374 * gdb.dwarf2/index-cache.exp: New file.
375 * gdb.dwarf2/index-cache.c: New file.
376 * gdb.base/maint.exp: Check if we are using the index cache.
377
3782018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
379
380 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
381 MAKEFLAGS.
382
3832018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
384
385 * dg-extract-results.sh: Move to toplevel contrib.
386 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
387 * Makefile.in (check-parallel-racy): Likewise.
388
3892018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
392 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
393 tests if the target supports scheduler locking.
394
3952018-08-04 Tom de Vries <tdevries@suse.de>
396
397 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
398
3992018-08-02 Tom Tromey <tom@tromey.com>
400
401 PR symtab/16842.
402 * gdb.cp/temargs.exp: Test "info address" of a template
403 parameter.
404
4052018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
406
407 * gdb.python/py-mi-var-info-path-expression.c: New file.
408 * gdb.python/py-mi-var-info-path-expression.py: New file.
409 * gdb.python/py-mi-var-info-path-expression.exp: New file.
410
4112018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
412
413 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
414 error after "cannot resolve name" string.
415
4162018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
417
418 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
419 started.
420 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
421
4222018-07-28 Tom de Vries <tdevries@suse.de>
423
424 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
425
4262018-07-26 Tom de Vries <tdevries@suse.de>
427
428 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
429
4302018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
431
432 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
433 is visible.
434
4352018-07-26 Tom de Vries <tdevries@suse.de>
436
437 PR breakpoints/23366
438 * gdb.base/catch-follow-exec.c: New test.
439 * gdb.base/catch-follow-exec.exp: New file.
440
4412018-07-25 Tom de Vries <tdevries@suse.de>
442
443 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
444 vla-optimized-out.c.
445
4462018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
447
448 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
449 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
450
4512018-07-20 Tom de Vries <tdevries@suse.de>
452
453 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
454 NOCLONE macro.
455 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
456
4572018-07-19 Tom de Vries <tdevries@suse.de>
458
459 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
460 regular expression.
461
4622018-07-18 Tom de Vries <tdevries@suse.de>
463
464 * gdb.base/vla-optimized-out.c: New test.
465 * gdb.base/vla-optimized-out.exp: New file.
466
4672018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
468
469 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
470 message "No address associated with hostname" when gdbserver
471 cannot resolve the hostname.
472
4732018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
474
475 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
476 Add some test prefixes to make tests unique.
477
4782018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
479
480 * gdb.base/frameapply.c: New file.
481 * gdb.base/frameapply.exp: New file.
482
4832018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
484
485 * gdb.base/skip.exp: Update expected error message.
486
4872018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
488 Jan Kratochvil <jan.kratochvil@redhat.com>
489 Paul Fertser <fercerpav@gmail.com>
490 Tsutomu Seki <sekiriki@gmail.com>
491
492 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
493 parameter.
494 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
495 by default.
496 * boards/native-gdbserver.exp: Likewise.
497 * gdb.server/run-without-local-binary.exp: Improve regexp used
498 for detecting when a remote debugging connection succeeds.
499 * gdb.server/server-connect.exp: New file.
500 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
501 Do not prefix the port number with ":".
502 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
503 support for detecting and using it. Add '$debughost_gdbserver'
504 to the list of arguments used to start gdbserver. Handle case
505 when gdbserver cannot resolve a network name.
506
5072018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
508
509 PR c++/23373
510 * gdb.base/ptype-offsets.cc (struct static_member): New
511 struct.
512 (main) <stmember>: New variable.
513 * gdb.base/ptype-offsets.exp: Add test for printing a struct
514 with a static member in it.
515
5162018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
517
518 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
519 watchpoints enabled and disabled.
520
5212018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
522
523 * gdb.base/examine-backward.exp: Still run tests around address
524 0x0, even if address 0x0 is not readable. Update the pattern for
525 matching address 0x0 in expected output.
526
5272018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
528
529 * gdb.base/share-env-with-gdbserver.c (main): Add call to
530 malloc/free.
531
5322018-07-04 Tom de Vries <tdevries@suse.de>
533
534 * gdb.dwarf2/dw2-error.exp: Update expected error message.
535
5362018-07-02 Maciej W. Rozycki <macro@mips.com>
537
538 PR tdep/8282
539 * gdb.arch/mips-disassembler-options.exp: New test.
540 * gdb.arch/mips-disassembler-options.s: New test source.
541
5422018-06-29 Pedro Alves <palves@redhat.com>
543
544 * gdb.threads/names.exp: Adjust expected "info threads" output.
545
5462018-06-29 Pedro Alves <palves@redhat.com>
547
548 * gdb.opt/inline-break.exp (line number, address): Add "info
549 break" tests.
550
5512018-06-29 Pedro Alves <palves@redhat.com>
552
553 * gdb.opt/inline-break.c (func1): Add "break here" marker.
554 * gdb.opt/inline-break.exp: Test setting breakpoints by line
555 number and address and running to them.
556
5572018-06-29 Richard Bunt <richard.bunt@arm.com>
558
559 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
560
5612018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
562
563 * lib/compiler.c: Remove executable permission flag.
564
5652018-06-28 Richard Bunt <richard.bunt@arm.com>
566
567 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
568 code.
569 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
570
5712018-06-28 Petr Tesarik <ptesarik@suse.cz>
572
573 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
574
5752018-06-28 Petr Tesarik <ptesarik@suse.cz>
576
577 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
578 address argument is omitted.
579
5802018-06-28 Petr Tesarik <ptesarik@suse.cz>
581
582 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
583
5842018-06-27 Omair Javaid <omair.javaid@linaro.org>
585
586 PR gdb/21695
587 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
588 * gdb.base/infoline-reloc-main-from-zero.c: New file.
589
5902018-06-26 Tom Tromey <tom@tromey.com>
591
592 PR rust/22574:
593 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
594 * gdb.rust/simple.rs (struct SimpleLayout): New.
595
5962018-06-22 Simon Marchi <simon.marchi@ericsson.com>
597
598 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
599 "info registers" output.
600
6012018-06-21 Richard Bunt <richard.bunt@arm.com>
602
603 * gdb.base/watchpoint-hw-attach.c: New test.
604 * gdb.base/watchpoint-hw-attach.exp: New file.
605
6062018-06-20 Simon Marchi <simon.marchi@ericsson.com>
607
608 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
609 through /bin/sh.
610 * boards/dwarf4-gdb-index.exp: Likewise.
611 * boards/fission-dwp.exp: Likewise.
612
6132018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
614
615 * gdb.base/float128.exp: Add comment and improved fail message
616 to the failure case of "print large128" test.
617
6182018-06-19 Simon Marchi <simon.marchi@ericsson.com>
619
620 * configure.ac: Remove AC_PREREQ.
621 * configure: Re-generate.
622
6232018-06-19 Pedro Alves <palves@redhat.com>
624
625 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
626 (func_extern_caller): New.
627 (main): Call func_extern_caller.
628 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
629 logic change.
630
6312018-06-18 Weimin Pan <weimin.pan@oracle.com>
632
633 PR gdb/16841
634 * gdb.cp/typedef-base.cc: New file.
635 * gdb.cp/typedef-base.exp: New file.
636
6372018-06-18 Tom de Vries <tdevries@suse.de>
638
639 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
640
6412018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
642 Richard Bunt <Richard.Bunt@arm.com>
643
644 * gdb.threads/attach-slow-waitpid.c: New file.
645 * gdb.threads/attach-slow-waitpid.exp: New file.
646 * gdb.threads/slow-waitpid.c: New file.
647
6482018-06-14 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/fork-running-state.c: Include <errno.h>.
651 (exit_if_relative_exits): New.
652 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
653 exits.
654 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
655 child exits.
656
6572018-06-14 Tom de Vries <tdevries@suse.de>
658
659 PR cli/22573
660 * gdb.base/finish-pretty.c: New test.
661 * gdb.base/finish-pretty.exp: New file.
662
6632018-06-14 Pedro Alves <palves@redhat.com>
664
665 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
666 gdb's expected startup output.
667
6682018-06-14 Pedro Alves <palves@redhat.com>
669
670 * lib/selftest-support.exp (selftest_setup): Remove inlined
671 function handling.
672
6732018-06-14 Tom de Vries <tdevries@suse.de>
674
675 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
676 matching of breakpoint printing.
677
6782018-06-13 Tom de Vries <tdevries@suse.de>
679
680 PR testsuite/23269
681 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
682 (fork_child): ... here, and ...
683 (fork_parent): ... here.
684
6852018-06-12 Tom de Vries <tdevries@suse.de>
686
687 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
688
6892018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
690 Stephen Roberts <stephen.roberts@arm.com>
691
692 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
693 rewrite test to describe action performed, rather than possible
694 failure.
695
6962018-06-08 Gary Benson <gbenson@redhat.com>
697
698 * gdb.threads/check-libthread-db.exp: New file.
699 * gdb.threads/check-libthread-db.c: Likewise.
700
7012018-06-05 Tom Tromey <tom@tromey.com>
702
703 * gdb.base/default.exp: Update expected "show version" output.
704
7052018-06-05 Tom Tromey <tom@tromey.com>
706
707 PR cli/12326:
708 * gdb.cp/static-print-quit.exp: Update.
709 * lib/gdb.exp (pagination_prompt): Update.
710 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
711 * gdb.python/python.exp: Update.
712
7132018-06-04 Joel Brobecker <brobecker@adacore.com>
714
715 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
716
7172018-06-01 Joel Brobecker <brobecker@adacore.com>
718
719 * gdb.ada/bp_fun_addr: New testcase.
720
7212018-06-01 Tom Tromey <tom@tromey.com>
722
723 * gdb.xml/tdesc-regs.exp (load_description): Update expected
724 results.
725 * gdb.dwarf2/method-ptr.exp: Set language to C++.
726 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
727 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
728 * gdb.base/maint.exp (maint_pass_if): Update.
729
7302018-05-31 Maciej W. Rozycki <macro@mips.com>
731
732 * gdb.base/endian.exp: New test.
733 * gdb.base/endian.c: New test source.
734
7352018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 PR gdb/23203
738 * gdb.base/bt-selected-frame.c: New file.
739 * gdb.base/bt-selected-frame.exp: New file.
740 * lib/gdb.exp (get_current_frame_number): New function.
741
7422018-05-24 Maciej W. Rozycki <macro@mips.com>
743 Pedro Alves <palves@redhat.com>
744
745 * gdb.threads/tls-core.c: Include <stdlib.h>
746 (thread_proc): Call `abort'.
747 * gdb.threads/tls-core.exp: Generate a core with core_find too.
748 (tls_core_test): New procedure, bits factored out from ...
749 (top level): ... here. Test both native cores and gcore cores.
750
7512018-05-23 Tom Tromey <tom@tromey.com>
752
753 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
754
7552018-05-23 Tom Tromey <tom@tromey.com>
756
757 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
758 symfile_complaints.
759 (test_short_complaints): Likewise.
760 (test_empty_complaints): Likewise.
761 (test_initial_complaints): Update.
762
7632018-05-23 Tom Tromey <tom@tromey.com>
764
765 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
766
7672018-05-23 Tom Tromey <tom@tromey.com>
768
769 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
770 (test_short_complaints): Update.
771
7722018-05-22 Pedro Alves <palves@redhat.com>
773
774 * gdb.base/remote.exp: Only gdb_start after compiling the
775 testcase. Issue "disconnect" before testing "set remote" command
776 defaults. Issue clean_restart before running to main.
777
7782018-05-22 Pedro Alves <palves@redhat.com>
779
780 * gdb.base/remote.exp: Adjust expected output of "show remote
781 memory-write-packet-size". Add tests for "set remote
782 memory-write-packet-size 0" and "set remote
783 memory-write-packet-size fixed/limit".
784
7852018-05-22 Pedro Alves <palves@redhat.com>
786
787 PR gdb/22973
788 * gdb.base/utf8-identifiers.c: New file.
789 * gdb.base/utf8-identifiers.exp: New file.
790
7912018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
792
793 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
794
7952018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
796
797 * gdb.arch/powerpc-vsx-gcore.exp: New file.
798
7992018-05-18 Tom Tromey <tom@tromey.com>
800
801 * gdb.base/ptype-offsets.exp: Update.
802
8032018-05-17 Keith Seitz <keiths@redhat.com>
804
805 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
806 in expected breakpoint stop locations.
807 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
808 move to proper scope to test variable values.
809 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
810 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
811 New functions.
812 (main): Call not_inline_func3.
813 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
814 inline_func1, inline_func2, and inline_func3. Test that when each
815 breakpoint is hit, GDB properly reports both the stop location
816 and the backtrace. Repeat tests for temporary breakpoints.
817
8182018-05-15 Maciej W. Rozycki <macro@mips.com>
819
820 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
821 rather then trying to access it in determining whether the PID
822 of `gdbserver' could have been retrieved.
823
8242018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
825
826 * gdb.arch/amd64-init-x87-values.S: New file.
827 * gdb.arch/amd64-init-x87-values.exp: New file.
828
8292018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
830
831 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
832
8332018-05-04 Tom Tromey <tom@tromey.com>
834
835 PR python/22730:
836 * gdb.python/python.exp: Test multi-line execute.
837
8382018-05-04 Tom Tromey <tom@tromey.com>
839
840 PR python/22731:
841 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
842
8432018-05-04 Tom Tromey <tom@tromey.com>
844
845 PR gdb/11750:
846 * gdb.base/define.exp: Test defining a user command inside a user
847 command.
848 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
849
8502018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
851 Pedro Alves <palves@redhat.com>
852
853 PR breakpoints/19806 and support for PR external/20207.
854 * gdb.base/watchpoint-unaligned.c: New file.
855 * gdb.base/watchpoint-unaligned.exp: New file.
856
8572018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
858
859 * gdb.base/maint.exp: Make test names unique, use
860 test_prefix_command_help to test 'help maint info', and remove
861 repeated test of 'help maint'.
862
8632018-05-04 Tom Tromey <tom@tromey.com>
864
865 PR gdb/22619:
866 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
867 behavior.
868
8692018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.base/maint.exp: Process output from 'maint print registers'
872 line at a time.
873
8742018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
877 timeout.
878
8792018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
882 filter pattern.
883
8842018-05-02 Pedro Alves <palves@redhat.com>
885
886 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
887 to_log_command renames.
888 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
889
8902018-05-02 Tom Tromey <tom@tromey.com>
891
892 * gdb.python/py-parameter.exp: Set test message.
893
8942018-05-02 Tom Tromey <tom@tromey.com>
895
896 PR python/20084:
897 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
898 PARAM_ZUINTEGER_UNLIMITED tests.
899
9002018-04-28 Dan Robertson <danlrobertson89@gmail.com>
901
902 PR rust/23124
903 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
904 when casting.
905
9062018-04-30 Tom Tromey <tom@tromey.com>
907
908 * gdb.python/py-type.exp: Check align attribute.
909 * gdb.python/py-type.c: New "aligncheck" global.
910
9112018-04-30 Tom Tromey <tom@tromey.com>
912
913 PR exp/17095:
914 * gdb.dwarf2/dw2-align.exp: New file.
915 * gdb.cp/align.exp: New file.
916 * gdb.base/align.exp: New file.
917 * lib/gdb.exp (gdb_int128_helper): New proc.
918 (has_int128_c, has_int128_cxx): New caching procs.
919
9202018-04-27 Tom Tromey <tom@tromey.com>
921
922 PR rust/22545:
923 * gdb.rust/simple.exp: Add inclusive range tests.
924
9252018-04-26 Pedro Alves <palves@redhat.com>
926
927 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
928 ifunc breakpoint locations correctly of ifunc breakpoints set
929 while the program resolves the ifunc.
930
9312018-04-26 Pedro Alves <palves@redhat.com>
932
933 * gdb.base/gnu-ifunc-final.c: New file.
934 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
935 * gdb.base/gnu-ifunc.exp (executable): Delete.
936 (staticexecutable): Adjust.
937 (lib_opts, exec_opts): Delete.
938 (make_binsuffix, build, set-break): New procedures.
939 (misc_tests): New, with tests factored out from the top level.
940 (top level): Test different combinations of ifunc resolver name,
941 resolver with and with debug info, and ifunc target with and
942 without debug info. Wrap static tests with with_target_prefix.
943
9442018-04-26 Pedro Alves <palves@redhat.com>
945
946 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
947 return type" warnings.
948
9492018-04-25 Pedro Alves <palves@redhat.com>
950
951 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
952 killed".
953 * gdb.base/kill-after-signal.exp: Likewise.
954 * gdb.threads/kill.exp: Likewise.
955
9562018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
957 Sergio Durigan Junior <sergiodj@redhat.com>
958 Pedro Alves <palves@redhat.com>
959
960 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
961 regexps to expect for '[Inferior ... detached]' as well.
962 * gdb.base/attach.exp: Likewise.
963 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
964 "gdb_continue_to_end".
965 (test_catch_syscall_with_wrong_args): Likewise.
966 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
967 ']'. Don't set 'verbose' on.
968 * gdb.base/foll-vfork.exp: Likewise.
969 * gdb.base/fork-print-inferior-events.c: New file.
970 * gdb.base/fork-print-inferior-events.exp: New file.
971 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
972 '[Inferior ... has been killed]' message.
973 * gdb.base/kill-after-signal.exp: Likewise.
974 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
975 detach message.
976 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
977 message.
978 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
979 regexps to expect for '[Inferior ... detached]' as well.
980 * gdb.threads/process-dies-while-detaching.exp: Likewise.
981
9822018-04-24 Simon Marchi <simon.marchi@ericsson.com>
983
984 PR gdb/23104
985 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
986
9872018-04-19 Richard Bunt <richard.bunt@arm.com>
988
989 * gdb.threads/multiple-successive-infcall.c: New test.
990 * gdb.threads/multiple-successive-infcall.exp: New file.
991
9922018-04-17 Tom Tromey <tom@tromey.com>
993
994 * gdb.rust/simple.rs (Union): New type.
995 (main): New local "u".
996 * gdb.rust/simple.exp (test_one_slice): Add new test case.
997
9982018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
999
1000 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1001 number information in output of "whereis" command.
1002 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1003
10042018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1005
1006 * gdb.ada/info_types.exp: Adjust expected output to the line
1007 numbers now printed by "info var/func/type".
1008 * gdb.base/completion.exp: Likewise.
1009 * gdb.base/included.exp: Likewise.
1010 * gdb.cp/cp-relocate.exp: Likewise.
1011 * gdb.cp/cplusfuncs.exp: Likewise.
1012 * gdb.cp/namespace.exp: Likewise.
1013 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1014
10152018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1016
1017 * gdb.btrace/cpu.exp: New.
1018
10192018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1020
1021 * gdb.base/step-indirect-call-thunk.exp: New.
1022 * gdb.base/step-indirect-call-thunk.c: New.
1023 * gdb.reverse/step-indirect-call-thunk.exp: New.
1024 * gdb.reverse/step-indirect-call-thunk.c: New.
1025
10262018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1027
1028 * gdb.base/pie-fork.c: New file.
1029 * gdb.base/pie-fork.exp: New file.
1030
10312018-04-11 Tom Tromey <tom@tromey.com>
1032
1033 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1034
10352018-04-10 Pedro Alves <palves@redhat.com>
1036
1037 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1038 exits. Instead loop running forever.
1039 (fork_parent): Run forever too.
1040
10412018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1042
1043 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1044 mi_continue_to_line.
1045 * gdb.mi/mi-stack.c (callee4): Add comment.
1046
10472018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1048
1049 * gdb.mi/mi-stack.exp: Fix indentation.
1050
10512018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1052
1053 PR gdb/22979
1054 * gdb.arch/amd64-osabi.exp: New file.
1055
10562018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1057
1058 PR gdb/22980
1059 * gdb.base/osabi.exp: New file.
1060
10612018-04-02 Weimin Pan <weimin.pan@oracle.com>
1062
1063 * gdb.cp/static-typedef-print.exp: New file.
1064 * gdb.cp/static-typedef-print.cc: New file.
1065
10662018-03-27 Joel Brobecker <brobecker@adacore.com>
1067
1068 * gdb.ada/varsize_limit: New testcase.
1069
10702018-03-27 Joel Brobecker <brobecker@adacore.com>
1071
1072 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1073
1074 * gdb.ada/notcplusplus: New testcase.
1075
1076 * gdb.base/c-linkage-name.c: New file.
1077 * gdb.base/c-linkage-name.exp: New testcase.
1078
10792018-03-26 Tom Tromey <tom@tromey.com>
1080
1081 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1082 * gdb.python/py-framefilter.py (name_error): New global.
1083 (ErrorInName.function): Use name_error.
1084
10852018-03-26 Tom Tromey <tom@tromey.com>
1086
1087 PR backtrace/15582:
1088 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1089
10902018-03-23 Keith Seitz <keiths@redhat.com>
1091
1092 PR c++/22968
1093 * gdb.cp/subtypes.exp: New file.
1094 * gdb.cp/subtypes.h: New file.
1095 * gdb.cp/subtypes.cc: New file.
1096 * gdb.cp/subtypes-2.cc: New file.
1097
10982018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1099
1100 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1101 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1102 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1103 -nostartfiles when compiling the test. Confirm that all registers
1104 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1105
11062018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1107
1108 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1109 option, syntax was wrong anyway.
1110 * gdb.arch/arm-disp-step.exp: Likewise.
1111 * gdb.arch/sparc64-regs.exp: Likewise.
1112 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1113 option, syntax was wrong anyway, switch to use
1114 prepare_for_testing.
1115 * gdb.arch/i386-disp-step.exp: Likewise.
1116
11172018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1118
1119 * gdb.ada/exec_changed.exp: Replace "target_info exists
1120 use_gdb_stub" by "use_gdb_stub".
1121 * gdb.ada/start.exp: Likewise.
1122 * gdb.base/async-shell.exp: Likewise.
1123 * gdb.base/attach-pie-misread.exp: Likewise.
1124 * gdb.base/attach-wait-input.exp: Likewise.
1125 * gdb.base/break-entry.exp: Likewise.
1126 * gdb.base/break-interp.exp: Likewise.
1127 * gdb.base/dprintf-detach.exp: Likewise.
1128 * gdb.base/nostdlib.exp: Likewise.
1129 * gdb.base/solib-nodir.exp: Likewise.
1130 * gdb.base/statistics.exp: Likewise.
1131 * gdb.base/testenv.exp: Likewise.
1132 * gdb.mi/mi-exec-run.exp: Likewise.
1133 * gdb.mi/mi-start.exp: Likewise.
1134 * gdb.multi/dummy-frame-restore.exp: Likewise.
1135 * gdb.multi/multi-arch-exec.exp: Likewise.
1136 * gdb.multi/multi-arch.exp: Likewise.
1137 * gdb.multi/tids.exp: Likewise.
1138 * gdb.multi/watchpoint-multi.exp: Likewise.
1139 * gdb.python/py-events.exp: Likewise.
1140 * gdb.threads/attach-into-signal.exp: Likewise.
1141 * gdb.threads/attach-stopped.exp: Likewise.
1142 * gdb.threads/threadapply.exp: Likewise.
1143 * lib/selftest-support.exp: Likewise.
1144
11452018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1146
1147 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1148
11492018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1150
1151 * gdb.perf/template-breakpoints.cc: New file.
1152 * gdb.perf/template-breakpoints.exp: New file.
1153 * gdb.perf/template-breakpoints.py: New file.
1154
11552018-03-19 Tom Tromey <tom@tromey.com>
1156
1157 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1158 y0.
1159 * gdb.rust/simple.exp: Test bare identifier form of struct
1160 initializer.
1161
11622018-03-19 Tom Tromey <tom@tromey.com>
1163
1164 * gdb.gdb/observer.exp: Remove.
1165
11662018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1167
1168 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1169 "qualified" option when setting breakpoints.
1170 * gdb.trace/backtrace.exp: Likewise.
1171 * gdb.trace/circ.exp: Likewise.
1172 * gdb.trace/collection.exp: Likewise.
1173 * gdb.trace/disconnected-tracing.exp: Likewise.
1174 * gdb.trace/ftrace-lock.exp: Likewise.
1175 * gdb.trace/ftrace.exp: Likewise.
1176 * gdb.trace/infotrace.exp: Likewise.
1177 * gdb.trace/packetlen.exp: Likewise.
1178 * gdb.trace/passc-dyn.exp: Likewise.
1179 * gdb.trace/qtro.exp: Likewise.
1180 * gdb.trace/read-memory.exp: Likewise.
1181 * gdb.trace/report.exp: Likewise.
1182 * gdb.trace/signal.exp: Likewise.
1183 * gdb.trace/status-stop.exp: Likewise.
1184 * gdb.trace/strace.exp: Likewise.
1185 * gdb.trace/tfind.exp: Likewise.
1186 * gdb.trace/trace-break.exp: Likewise.
1187 * gdb.trace/trace-condition.exp: Likewise.
1188 * gdb.trace/trace-mt.exp: Likewise.
1189 * gdb.trace/tstatus.exp: Likewise.
1190 * gdb.trace/tsv.exp: Likewise.
1191 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1192 * gdb.trace/unavailable.exp: Likewise.
1193 * gdb.trace/while-dyn.exp: Likewise.
1194
11952018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1196
1197 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1198 that libinproctrace is copied to the target.
1199
12002018-03-14 Tom Tromey <tom@tromey.com>
1201
1202 PR cli/14977:
1203 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1204 a null pointer.
1205 * gdb.base/wchar.exp: Likewise.
1206
12072018-03-14 Tom Tromey <tom@tromey.com>
1208
1209 PR cli/19918:
1210 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1211 flag.
1212
12132018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1214
1215 PR gdb/22841
1216 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1217 "target" to remote_exec.
1218
12192018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1220
1221 PR gdb/22841
1222 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1223 ${board}_upload): Remove.
1224
12252018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1226
1227 * gdb.cp/watch-cp.cc: New test.
1228 * gdb.cp/watch-cp.exp: New file.
1229
12302018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1231
1232 * gdb.base/infcall-nested-structs.exp: New file.
1233 * gdb.base/infcall-nested-structs.c: New file.
1234 * gdb.base/float.exp: Add riscv support.
1235
12362018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1237
1238 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1239 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1240
12412018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1242
1243 * gdb.server/abspath.exp: New file.
1244 * lib/gdb.exp (with_cwd): New procedure.
1245
12462018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1247
1248 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1249 use it.
1250 (gdb_is_target_remote_prompt): New proc.
1251 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1252 (gdb_is_target_native): Pass prompt parameter to
1253 gdb_is_target_1.
1254
12552018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1256
1257 * gdb.base/load-command.c: New file.
1258 * gdb.base/load-command.exp: New file.
1259 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1260 (gdb_is_target_1): ...this, and generalize for other targets
1261 than just remote.
1262 (gdb_is_target_remote): Use gdb_is_target_1.
1263 (gdb_is_target_native): use gdb_is_target_1.
1264
12652018-02-26 Tom Tromey <tom@tromey.com>
1266
1267 PR python/16497:
1268 * gdb.python/py-framefilter.exp: Update test.
1269
12702018-02-26 Tom Tromey <tom@tromey.com>
1271
1272 * gdb.dwarf2/variant.c: New file.
1273 * gdb.dwarf2/variant.exp: New file.
1274
12752018-02-26 Tom Tromey <tom@tromey.com>
1276
1277 * gdb.rust/simple.exp: Accept more possible results in enum test.
1278
12792018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1280
1281 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1282 parentheses.
1283
12842018-02-23 Maciej W. Rozycki <macro@mips.com>
1285
1286 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1287 name of a variable: $actual_linejj -> $actual_line.
1288
12892018-02-21 John Baldwin <jhb@FreeBSD.org>
1290
1291 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1292
12932018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1294
1295 * gdb.btrace/buffer-size.exp: Do not force BTS.
1296
12972018-02-14 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1300 getting a "Quit".
1301
13022018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1303
1304 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1305 Fix test name.
1306
13072018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1308
1309 * gdb.cp/m-static.exp: Check type of optimized out static
1310 member.
1311
13122018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1313
1314 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1315 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1316
13172018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1318 Leszek Swirski <leszeks@google.com>
1319
1320 * gdb.python/py-prettyprint.c
1321 (struct to_string_returns_value_inner,
1322 struct to_string_returns_value_wrapper): New.
1323 (main): Add tsrvw variable.
1324 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1325 ToStringReturnsValueWrapper): New classes.
1326 (register_pretty_printers): Register new pretty-printers.
1327 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1328 recursive pretty printer.
1329 * gdb.python/py-mi.exp: Likewise.
1330
13312018-02-01 Leszek Swirski <leszeks@google.com>
1332
1333 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1334 functions with the same name as an include file are parsed
1335 correctly.
1336
13372018-02-01 Yao Qi <yao.qi@linaro.org>
1338
1339 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1340 "\[^\r\n\]*".
1341
13422018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1343
1344 * gdb.arch/powerpc-prologue-frame.s: New file.
1345 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1346 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1347
13482018-01-31 Joel Brobecker <brobecker@adacore.com>
1349
1350 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1351
13522018-01-30 Pedro Alves <palves@redhat.com>
1353
1354 PR gdb/13211
1355 * gdb.base/interrupt-daemon.c: New.
1356 * gdb.base/interrupt-daemon.exp: New.
1357 * gdb.multi/multi-term-settings.c: New.
1358 * gdb.multi/multi-term-settings.exp: New.
1359
13602018-01-30 Joel Brobecker <brobecker@adacore.com>
1361
1362 * gdb.base/break.exp: Save the location where the breakpoint
1363 on break.c:47 was actually inserted when debugging the version
1364 compiled at -O2 and use it in the expected output of the "info
1365 break" test performed soon after.
1366
13672018-01-22 Pedro Alves <palves@redhat.com>
1368 Sergio Durigan Junior <sergiodj@redhat.com>
1369
1370 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1371 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1372
13732018-01-22 Joel Brobecker <brobecker@adacore.com>
1374
1375 * gdb.base/break-include.c, gdb.base/break-include.inc,
1376 gdb.base/break-include.exp: New files.
1377 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1378 line number now being the actual line number where the breakpoint
1379 was inserted.
1380 * gdb.mi/mi-break.exp: Likewise.
1381 * gdb.mi/mi-reverse.exp: Likewise.
1382 * gdb.mi/mi-simplerun.exp: Ditto.
1383
13842018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1385
1386 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1387 varobj.
1388 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1389
13902018-01-21 Don Breazeal <donb@codesourcery.com>
1391 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.mi/basics.c: Add new global.
1394 * gdb.mi/mi-frame-regs.exp: New file.
1395 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1396 case.
1397
13982018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1399
1400 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1401 non-parameter, and on an unknown symbol.
1402
14032018-01-19 Tom Tromey <tom@tromey.com>
1404
1405 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1406 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1407
14082018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1409
1410 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1411 setrlimit and chdir to int.
1412
14132018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1414
1415 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1416 function.
1417 (my_tend): Likewise.
1418 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1419 rationale of avoiding FP- and vector instructions.
1420
14212018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1422
1423 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1424 "info reg" with "\[ \t\]*".
1425 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1426 "\[ \t\]+".
1427 * gdb.arch/s390-multiarch.exp: Ditto.
1428 * gdb.base/pc-fp.exp: Ditto.
1429 * gdb.reverse/i386-precsave.exp: Ditto.
1430 * gdb.reverse/i386-reverse.exp: Ditto.
1431 * gdb.reverse/i387-env-reverse.exp: Ditto.
1432 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1433
14342018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1435
1436 * lib/gdb.exp (gdb_compile): Re-enable use of
1437 universal_compile_options for languages other than Rust.
1438
14392018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1440
1441 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1442
14432018-01-17 Mike Gulick <mgulick@mathworks.com>
1444
1445 PR gdb/16577
1446 * gdb.base/solib-vanish.exp: New.
1447 * gdb.base/solib-vanish-main.c: New.
1448 * gdb.base/solib-vanish-lib1.c: New.
1449 * gdb.base/solib-vanish-lib2.c: New.
1450
14512018-01-17 Yao Qi <yao.qi@linaro.org>
1452
1453 * gdb.compile/compile.exp: Match the address printed for
1454 frame in the output of command "bt".
1455
14562018-01-15 Tom Tromey <tom@tromey.com>
1457
1458 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1459 compute sp_reg.
1460
14612018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1464 to prepare.
1465 (prepare): Return 0 on error, 1 on success.
1466
14672018-01-12 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.base/continue-after-aborted-step-over.c: New.
1470 * gdb.base/continue-after-aborted-step-over.exp: New.
1471
14722018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1473
1474 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1475 options when not creating an executable.
1476
14772018-01-11 Pedro Alves <palves@redhat.com>
1478
1479 PR remote/22597
1480 * gdb.server/stop-reply-no-thread.c: New file.
1481 * gdb.server/stop-reply-no-thread.exp: New file.
1482
14832018-01-10 Pedro Alves <palves@redhat.com>
1484
1485 PR gdb/22670
1486 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1487 functions too. Test setting breakpoints and printing C functions
1488 with no debug info too.
1489 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1490
14912018-01-10 Pedro Alves <palves@redhat.com>
1492
1493 PR gdb/22670
1494 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1495 a fail.
1496
14972018-01-10 Pedro Alves <palves@redhat.com>
1498
1499 PR gdb/22670
1500 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1501
15022018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1503
1504 * gdb.server/unittest.exp: Match the output in non-development
1505 mode.
1506
15072018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1508
1509 * gdb.gdb/unittest.exp: Match output in non-development mode.
1510
15112018-01-08 Joel Brobecker <brobecker@adacore.com>
1512
1513 * gdb.ada/access_tagged_param.exp: Relax expected output
1514 for value of "ObjL" in "continue" to pck.inspect breakpoint
1515 test.
1516
15172018-01-08 Joel Brobecker <brobecker@adacore.com>
1518
1519 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1520 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1521
15222018-01-05 Pedro Alves <palves@redhat.com>
1523
1524 PR gdb/18653
1525 * gdb.base/libsegfault.exp: New.
1526
15272018-01-05 Joel Brobecker <brobecker@adacore.com>
1528
1529 PR gdb/22670
1530 * gdb.ada/access_tagged_param.exp: New file.
1531 * gdb.ada/access_tagged_param/foo.adb: New file.
1532
15332018-01-05 Pedro Alves <palves@redhat.com>
1534
1535 PR gdb/22670
1536 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1537 exercise lower case too, and to exercise both full matching and
1538 wild matching.
1539
15402018-01-05 Joel Brobecker <brobecker@adacore.com>
1541
1542 * gdb.ada/rename_subscript_param: New testcase.
1543
15442018-01-05 Jerome Guitton <guitton@adacore.com>
1545
1546 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1547
15482018-01-05 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.ada/convvar_comp: New testcase.
1551
15522018-01-05 Xavier Roirand <roirand@adacore.com>
1553
1554 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1555 (My_Table): New global variable.
1556 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1557
15582018-01-04 Joel Brobecker <brobecker@adacore.com>
1559
1560 PR gdb/22670
1561 * gdb.ada/maint_with_ada: New testcase.
1562
15632018-01-04 Joel Brobecker <brobecker@adacore.com>
1564
1565 PR gdb/22670
1566 * gdb.ada/bp_c_mixed_case: New testcase.
1567
15682018-01-04 Joel Brobecker <brobecker@adacore.com>
1569
1570 PR gdb/22670
1571 * gdb.ada/complete.exp: Add "complete break ada" test.
1572
15732018-01-04 Joel Brobecker <brobecker@adacore.com>
1574
1575 PR gdb/22670
1576 * gdb.ada/info_addr_mixed_case: New testcase.
1577
15782018-01-03 Xavier Roirand <roirand@adacore.com>
1579
1580 * gdb.ada/excep_handle.exp: New testcase.
1581 * gdb.ada/excep_handle/foo.adb: New file.
1582 * gdb.ada/excep_handle/pck.ads: New file.
1583
15842018-01-03 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.base/step-line.c: Add extra empty line in copyright header.
1587 * gdb.base/step-line.inp: Likewise.
1588
15892018-01-02 Joel Brobecker <brobecker@adacore.com>
1590
1591 * gdb.ada/dyn_stride.exp: Add slice test.
1592
15932018-01-02 Joel Brobecker <brobecker@adacore.com>
1594
1595 * gdb.ada/dyn_stride: New testcase.
1596
15972017-12-27 Stafford Horne <shorne@gmail.com>
1598
1599 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1600 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1601
16022017-12-27 Stafford Horne <shorne@gmail.com>
1603
1604 * gdb.base/reggroups.c: New file.
1605 * gdb.base/reggroups.exp: New file.
1606
16072017-12-18 Joel Brobecker <brobecker@adacore.com>
1608
1609 * gdb.dwarf2/ada-valprint-error.c: New file.
1610 * gdb.dwarf2/ada-valprint-error.exp: New file.
1611
16122017-12-18 Joel Brobecker <brobecker@adacore.com>
1613
1614 * gdb.ada/assign_arr: New testcase.
1615
16162017-12-18 Xavier Roirand <roirand@adacore.com>
1617
1618 * gdb.ada/funcall_ptr: New testcase.
1619
16202017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1621
1622 PR cli/16224
1623 * gdb.base/ptype-offsets.cc: New file.
1624 * gdb.base/ptype-offsets.exp: New file.
1625
16262017-12-15 Yao Qi <yao.qi@linaro.org>
1627
1628 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1629 if XML is disabled.
1630
16312017-12-15 Xavier Roirand <roirand@adacore.com>
1632
1633 * gdb.ada/same_component_name: New testcase.
1634
16352017-12-14 Joel Brobecker <brobecker@adacore.com>
1636
1637 * gdb.ada/str_binop_equal: New testcase.
1638
16392017-12-14 Joel Brobecker <brobecker@adacore.com>
1640
1641 * gdb.ada/task_switch_in_core: New testcase.
1642
16432017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1644
1645 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1646 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1647 call test_bkpt_qualified.
1648 (test_bkpt_qualified): New proc.
1649
16502017-12-13 Pedro Alves <palves@redhat.com>
1651
1652 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1653 Tighten regexp by matching with an anchor.
1654
16552017-12-13 Pedro Alves <palves@redhat.com>
1656
1657 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1658 ("expression with namespace"): New set of tests.
1659 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1660 (Nested::Test_NS::qux): New.
1661 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1662 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1663
16642017-12-13 Joel Brobecker <brobecker@adacore.com>
1665
1666 * gdb.base/server-del-break.c: New file.
1667 * gdb.base/server-del-break.exp: New file.
1668
16692017-12-12 Stafford Horne <shorne@gmail.com>
1670
1671 * gdb.xml/tdesc-regs.exp: Add or1k support.
1672
16732017-12-12 Stafford Horne <shorne@gmail.com>
1674
1675 * gdb.base/bp-permanent.c: Define nop of or1k.
1676
16772017-12-11 Joel Brobecker <brobecker@adacore.com>
1678
1679 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1680 output with components being reordered.
1681
16822017-12-11 Joel Brobecker <brobecker@adacore.com>
1683
1684 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1685 output with components being reordered.
1686
16872017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1688 Pedro Alves <palves@redhat.com>
1689
1690 * gdb.base/maint.exp (check for .gdb_index): Check also for
1691 .debug_names.
1692 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1693 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1694 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1695 (.gdb_index used after symbol reloading): Support also .debug_names.
1696 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1697
16982017-12-08 Yao Qi <yao.qi@linaro.org>
1699
1700 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1701 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1702
17032017-12-08 Yao Qi <yao.qi@linaro.org>
1704
1705 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1706 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1707
17082017-12-08 Yao Qi <yao.qi@linaro.org>
1709
1710 * gdb.arch/aarch64-tagged-pointer.c: New file.
1711 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1712
17132017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1714
1715 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1716 "int".
1717
17182017-12-07 Keith Seitz <keiths@redhat.com>
1719
1720 PR breakpoints/22569
1721 * gdb.linespec/ls-errs.exp: Change expected result of "break
1722 -source this file has spaces.c -line 3".
1723 Check that an explicit source file followed by whitespace is
1724 identified as an invalid explicit location.
1725
17262017-12-07 Keith Seitz <keiths@redhat.com>
1727
1728 * gdb.cp/nested-types.cc: New file.
1729 * gdb.cp/nested-types.exp: New file.
1730 * lib/cp-support.exp: Load data-structures.exp library.
1731 (debug_cp_test_ptype_class): New global.
1732 (cp_ptype_class_verbose, next_line): New procedures.
1733 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1734 Add and document new return value.
1735 Switch the list of lines to a queue.
1736 Add support for new `type' key for nested type definitions.
1737 Add debugging/troubleshooting messages.
1738 * lib/data-structures.exp: New file.
1739
17402017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1741
1742 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1743 with proc_with_prefix, don't use with_test_prefix.
1744
17452017-12-07 Tom Tromey <tom@tromey.com>
1746
1747 * gdb.base/break.exp: Add test for empty "commands".
1748
17492017-12-07 Yao Qi <yao.qi@linaro.org>
1750
1751 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1752 malloc and catch syscall.
1753
17542017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1755
1756 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1757 tests for explicit locations.
1758
17592017-12-06 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1762 force-disabling XML descriptions.
1763
17642017-12-04 Pedro Alves <palves@redhat.com>
1765
1766 PR gdb/22499
1767 * gdb.arch/amd64-disp-step-avx.S: New file.
1768 * gdb.arch/amd64-disp-step-avx.exp: New file.
1769
17702017-12-03 Pedro Alves <palves@redhat.com>
1771
1772 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1773 and <string.h>.
1774 (parent_function): Print distinct messages when waitpid fails, or
1775 the child exits with a signal, or the child exits for an unhandled
1776 reason.
1777 * gdb.threads/process-dies-while-detaching.exp
1778 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1779 it. Wait for both inferior output and GDB's prompt. Use an
1780 indirect spawn id list.
1781 (do_detach): New parameter 'child_exit'. Use it to compute
1782 expected inferior output.
1783 (test_detach, test_detach_watch, test_detach_killed_outside):
1784 Adjust to pass down the expected child exit kind.
1785
17862017-12-01 Joel Brobecker <brobecker@adacore.com>
1787 Sergio Durigan Junior <sergiodj@redhat.com>
1788 Pedro Alves <palves@redhat.com>
1789
1790 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1791
17922017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1793
1794 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1795 to 'symbol-file' and 'add-symbol-file' can be
1796 position-independent.
1797
17982017-12-01 Yao Qi <yao.qi@linaro.org>
1799
1800 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1801 the URL in copyright header.
1802 * gdb.arch/aarch64-fp.exp: Likewise.
1803 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1804 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1805 * gdb.base/expand-psymtabs.exp: Likewise.
1806 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1807 * gdb.fortran/common-block.exp: Likewise.
1808 * gdb.fortran/common-block.f90: Likewise.
1809 * gdb.fortran/logical.exp: Likewise.
1810 * gdb.fortran/vla-datatypes.f90: Likewise.
1811 * gdb.fortran/vla-sub.f90: Likewise.
1812
18132017-11-30 Joel Brobecker <brobecker@adacore.com>
1814
1815 * gdb.ada/repeat_dyn: New testcase.
1816
18172017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1818
1819 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1820 Update for changed thread numbering.
1821 * gdb.cell/bt.exp: Update for changed GDB output.
1822
18232017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1824
1825 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1826 setting isremote by hand.
1827 * boards/dwarf4-gdb-index.exp: Likewise.
1828 * boards/fission.exp: Likewise.
1829 * boards/stabs.exp: Likewise.
1830
18312017-11-30 Pedro Alves <palves@redhat.com>
1832
1833 * gdb.linespec/cpls-ops.exp
1834 (check_explicit_skips_function_argument): Extract the underlying
1835 type of size_t instead of hardcoding it.
1836
18372017-11-29 Pedro Alves <palves@redhat.com>
1838
1839 PR c++/19436
1840 * gdb.linespec/cpls-abi-tag.cc: New file.
1841 * gdb.linespec/cpls-abi-tag.exp: New file.
1842
18432017-11-29 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.base/langs.exp: Use -qualified.
1846 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1847 it.
1848 * gdb.cp/namespace.exp: Use -qualified.
1849 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1850 (overload-3, template-overload, template-ret-type, const-overload)
1851 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1852 procedures.
1853 (test_driver): Call them.
1854 * gdb.cp/save-bp-qualified.cc: New.
1855 * gdb.cp/save-bp-qualified.exp: New.
1856 * gdb.linespec/explicit.exp: Test -qualified.
1857 * lib/completion-support.exp (completion::explicit_opts_list): Add
1858 "-qualified".
1859 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1860
18612017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1862
1863 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1864
18652017-11-29 Tom Tromey <tom@tromey.com>
1866
1867 * gdb.base/relocate.exp: Update invalid argument test.
1868 Add new tests for invalid arguments.
1869
18702017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1871
1872 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1873 Return 0 as a long.
1874 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1875
18762017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1877
1878 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1879 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1880 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1881 func ().
1882 * gdb.cp/shadow.cc (B.func): Return 0.
1883
18842017-11-27 Joel Brobecker <brobecker@adacore.com>
1885
1886 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1887 expected output in gdb_expect call to allow the exception
1888 message to be present as well. Fix syntax confusion to avoid
1889 TCL thinking that exception_name is an array.
1890
18912017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1892
1893 * gdb.arch/spu-info.c: Include <unistd.h>.
1894 (do_signal_test): Fix broken calls to write.
1895 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1896 Fix checks for empty mailboxes. Update signal tests for corrected
1897 do_signal_test routine. Allow nonzero event status.
1898 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1899 * gdb.cell/arch.exp: Use standard_output_file.
1900 * gdb.cell/break.exp: Likewise.
1901 * gdb.cell/bt.exp: Likewise.
1902 * gdb.cell/core.exp: Likewise.
1903 * gdb.cell/dwarfaddr.exp: Likewise.
1904 * gdb.cell/ea-cache.exp: Likewise.
1905 * gdb.cell/ea-standalone.exp: Likewise.
1906 * gdb.cell/f-regs.exp: Likewise.
1907 * gdb.cell/fork.exp: Likewise.
1908 * gdb.cell/gcore.exp: Likewise.
1909 * gdb.cell/mem-access.exp: Likewise.
1910 * gdb.cell/ptype.exp: Likewise.
1911 * gdb.cell/registers.exp: Likewise.
1912 * gdb.cell/sizeof.exp: Likewise.
1913 * gdb.cell/solib-symbol.exp: Likewise.
1914 * gdb.cell/solib.exp: Likewise.
1915
19162017-11-25 Pedro Alves <palves@redhat.com>
1917
1918 * gdb.base/complete-empty.exp: New file.
1919 * gdb.base/completion.exp: Adjust.
1920
19212017-11-25 Pedro Alves <palves@redhat.com>
1922
1923 * gdb.linespec/cpls-ops.cc: New file.
1924 * gdb.linespec/cpls-ops.exp: New file.
1925 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1926 factored out from ...
1927 (test_complete_prefix_range): ... this.
1928
19292017-11-24 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.linespec/cpcompletion.exp: New file.
1932 * gdb.linespec/cpls-hyphen.cc: New file.
1933 * gdb.linespec/cpls.cc: New file.
1934 * gdb.linespec/cpls2.cc: New file.
1935 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1936 test to use test_gdb_complete_unique. Add label completion,
1937 keyword completion and explicit location completion tests.
1938 * lib/completion-support.exp: New file.
1939
19402017-11-24 Joel Brobecker <brobecker@adacore.com>
1941
1942 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1943 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1944 when hitting an exception catchpoint.
1945
19462017-11-22 Yao Qi <yao.qi@linaro.org>
1947
1948 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1949
19502017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1951
1952 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1953 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1954 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1955
19562017-11-22 Yao Qi <yao.qi@linaro.org>
1957
1958 * gdb.base/info-os.exp: Pass pthreads.
1959 * gdb.multi/multi-attach.exp: Likewise.
1960
19612017-11-22 Yao Qi <yao.qi@linaro.org>
1962
1963 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1964 compiler.
1965
19662017-11-22 Yao Qi <yao.qi@linaro.org>
1967
1968 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1969 * gdb.base/break-interp.exp: Likewise.
1970 * gdb.base/jit-attach-pie.exp: Likewise.
1971
19722017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1973
1974 * gdb.base/float128.c (large128): New variable.
1975 * gdb.base/float128.exp: Add test to print largest __float128 value.
1976
19772017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1978
1979 * gdb.arch/vsx-regs.exp: Update register content checks.
1980
19812017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1982
1983 * gdb.arch/ppc-longdouble.exp: New file.
1984 * gdb.arch/ppc-longdouble.c: Likewise.
1985
19862017-11-21 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1989
19902017-11-20 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1993 (long_double_typedef): New typedefs.
1994 Use DEF on double and long double.
1995 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1996 cases.
1997 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1998 and 'long_double_ptr_same_size' locals. Use them to decide
1999 whether cast from array/function to float is valid/invalid.
2000
20012017-11-17 Tom Tromey <tom@tromey.com>
2002
2003 * gdb.rust/traits.rs: New file.
2004 * gdb.rust/traits.exp: New file.
2005
20062017-11-17 Joel Brobecker <brobecker@adacore.com>
2007
2008 * gdb.ada/minsyms: New testcase.
2009
20102017-11-16 Pedro Alves <palves@redhat.com>
2011
2012 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2013 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2014
20152017-11-16 Pedro Alves <palves@redhat.com>
2016
2017 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2018 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2019
20202017-11-16 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.server/reconnect-ctrl-c.c: New file.
2023 * gdb.server/reconnect-ctrl-c.exp: New file.
2024
20252017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2026
2027 * gdb.python/py-rbreak.exp: New file.
2028 * gdb.python/py-rbreak.c: New file.
2029 * gdb.python/py-rbreak-func2.c: New file.
2030
20312017-11-16 Pedro Alves <palves@redhat.com>
2032
2033 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2034 pattern.
2035 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2036 GDB.
2037
20382017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2039
2040 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2041 regex.
2042
20432017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2044
2045 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2046 test names.
2047
20482017-11-09 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2051 factored out from ...
2052 (top level): ... here, and adjusted to avoid expecting beyond the
2053 prompt in a single gdb_test_multiple.
2054
20552017-11-09 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2058 output.
2059 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2060 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2061 * gdb.server/ext-run.exp ("kill" test): Likewise.
2062 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2063
20642017-11-09 Pedro Alves <palves@redhat.com>
2065
2066 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2067 match till end of line.
2068
20692017-11-09 Pedro Alves <palves@redhat.com>
2070
2071 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2072
20732017-11-09 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2076 New procedures, factored out from ...
2077 (top level): ... here, and adjusted to avoid expecting beyond the
2078 prompt in one go.
2079
20802017-11-09 Pedro Alves <palves@redhat.com>
2081
2082 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2083 output. Fix '?' match.
2084
20852017-11-08 Joel Brobecker <brobecker@adacore.com>
2086
2087 * gdb.ada/scoped_watch: New testcase.
2088 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2089 which is actually correct.
2090 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2091 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2092
20932017-11-08 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.gdb/complaints.exp (test_initial_complaints)
2096 (test_serial_complaints, test_short_complaints): Call
2097 complaint_internal instead of complaint.
2098
20992017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2100
2101 * gdb.threads/tls-core.c: New file.
2102 * gdb.threads/tls-core.exp: Likewise.
2103
21042017-11-08 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2107 (p Exported_Capitalized): New test.
2108 (p exported_capitalized): New test.
2109
21102017-11-07 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2113
21142017-11-07 Pedro Alves <palves@redhat.com>
2115
2116 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2117 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2118 (disable_invalid, disable_inverted, disable_negative): New
2119 procedures.
2120 ("bad numbers"): New set of tests.
2121
21222017-11-07 Pedro Alves <palves@redhat.com>
2123
2124 * gdb.cp/ena-dis-br-range.exp: Add tests.
2125
21262017-11-07 Pedro Alves <palves@redhat.com>
2127
2128 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2129
21302017-11-07 Xavier Roirand <roirand@adacore.com>
2131 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.base/ena-dis-br.exp: Add reference to
2134 gdb.cp/ena-dis-br-range.exp.
2135 * gdb.cp/ena-dis-br-range.exp: New file.
2136 * gdb.cp/ena-dis-br-range.cc: New file.
2137
21382017-11-06 Pedro Alves <palves@redhat.com>
2139
2140 * gdb.base/attach-non-pgrp-leader.c: New.
2141 * gdb.base/attach-non-pgrp-leader.exp: New.
2142
21432017-11-06 Pedro Alves <palves@redhat.com>
2144
2145 * configure.ac: No longer check for termio.h and sgtty.h.
2146 * configure: Regenerate.
2147 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2148 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2149 Remove termio and sgtty code.
2150
21512017-11-03 Yao Qi <yao.qi@linaro.org>
2152
2153 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2154 in GDB is disabled.
2155
21562017-11-03 Yao Qi <yao.qi@linaro.org>
2157
2158 * gdb.python/py-thrhandle.exp: Skip it if python is not
2159 enabled.
2160
21612017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2162
2163 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2164 as a breakpoint command.
2165
21662017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2167
2168 PR python/21213
2169 * gdb.python/py-infthread.exp: Test calling
2170 InferiorThread.inferior () multiple times in a row.
2171
21722017-10-27 Keith Seitz <keiths@redhat.com>
2173
2174 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2175 Test "info break" for every inlined function breakpoint.
2176
21772017-10-27 Yao Qi <yao.qi@linaro.org>
2178
2179 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2180
21812017-10-26 Patrick Frants <osscontribute@gmail.com>
2182
2183 * gdb.cp/classes.exp (test_static_members): Test printing
2184 Outer::instance.
2185 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2186 (Inner::instance, Outer::instance): New.
2187
21882017-10-24 Pedro Alves <palves@redhat.com>
2189
2190 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2191 extra console" test in two stages.
2192
21932017-10-24 Pedro Alves <palves@redhat.com>
2194
2195 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2196
21972017-10-24 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2200 loop.
2201
22022017-10-24 Pedro Alves <palves@redhat.com>
2203
2204 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2205 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2206
22072017-10-24 Pedro Alves <palves@redhat.com>
2208
2209 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2210 parameter and handle it. Don't output read value in test name.
2211
22122017-10-24 Pedro Alves <palves@redhat.com>
2213
2214 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2215 custom test name.
2216
22172017-10-24 Pedro Alves <palves@redhat.com>
2218
2219 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2220 include the unstable output directory name in the test's name.
2221 (initial_setup_simple) <'set args'>: Use custom test name.
2222
22232017-10-24 Pedro Alves <palves@redhat.com>
2224
2225 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2226 with explicit test name.
2227
22282017-10-20 Pedro Alves <palves@redhat.com>
2229
2230 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2231 'wait -i'. Use gdb_assert and remote_close.
2232
22332017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2234
2235 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2236 number from variable rather than hard-coded.
2237
22382017-10-19 Pedro Alves <palves@redhat.com>
2239
2240 * gdb.base/long-inferior-output.c: New file.
2241 * gdb.base/long-inferior-output.exp: New file.
2242
22432017-11-18 Keith Seitz <keiths@redhat.com>
2244
2245 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2246 method.
2247 (main): Call it.
2248 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2249 Add additional user-defined conversion operator tests.
2250
22512017-10-17 Pedro Alves <palves@redhat.com>
2252
2253 * boards/native-stdio-gdbserver.exp: Load "local-board".
2254
22552017-10-17 Pedro Alves <palves@redhat.com>
2256
2257 * gdb.base/quit-live.c: New file.
2258 * gdb.base/quit-live.exp: New file.
2259
22602017-10-16 Keith Seitz <keiths@redhat.com>
2261
2262 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2263 (class_with_protected_typedef, class_with_private_typedef)
2264 (struct_with_public_typedef, struct_with_protected_typedef)
2265 (struct_with_private_typedef): New classes/structs.
2266 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2267 typedefs and access specifiers.
2268
22692017-10-16 Pedro Alves <palves@redhat.com>
2270 Simon Marchi <simon.marchi@polymtl.ca>
2271
2272 * README (Local vs Remote vs Native): New section.
2273 * boards/local-board.exp: New file, with bits factored out from
2274 ...
2275 * boards/native-extended-gdbserver.exp: ... here. Load
2276 "local-board".
2277 * boards/native-gdbserver.exp: Load "local-board".
2278 (${board}_spawn, ${board}_exec): Delete.
2279 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2280 ...
2281 * boards/stdio-gdbserver-base.exp: ... this new file.
2282 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2283 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2284 procedure.
2285 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2286 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2287 stdio_gdbserver_command.
2288 (${board}_get_remote_address, ${board}_get_comm_port)
2289 (${board}_download, ${board}_upload): Delete.
2290 (get_target_remote_pipe_cmd): New.
2291
22922017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2293
2294 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2295 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2296 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2297 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2298 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2299 remove with_test_prefix.
2300
23012017-10-13 Pedro Alves <palves@redhat.com>
2302
2303 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2304 * gdb.base/annota1.exp: Use it instead of is_remote.
2305 * gdb.base/annota3.exp: Use it instead of is_remote.
2306 * gdb.cp/annota2.exp: Use it instead of is_remote.
2307 * gdb.cp/annota3.exp: Use it instead of is_remote.
2308 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2309
23102017-10-13 Pedro Alves <palves@redhat.com>
2311
2312 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2313 (test_num_test_vars, run_and_count_vars, find_env)
2314 (test_set_unset_env, test_inherit_env_var): New procedures.
2315 (top level): Use them.
2316
23172017-10-13 Pedro Alves <palves@redhat.com>
2318
2319 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2320 also skip on stub-like targets.
2321
23222017-10-13 Pedro Alves <palves@redhat.com>
2323
2324 PR gdb/22293
2325 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2326 (top level): Move some tests to ...
2327 (test_not_found): ... this new procedure.
2328 (top level): Call it.
2329
23302017-10-13 Pedro Alves <palves@redhat.com>
2331
2332 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2333 expect different "info terminal" output if testing with a
2334 non-native target.
2335
23362017-10-13 Pedro Alves <palves@redhat.com>
2337 Simon Marchi <simon.marchi@polymtl.ca>
2338
2339 PR python/12966
2340 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2341
23422017-10-13 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2345 already.
2346
23472017-10-13 Pedro Alves <palves@redhat.com>
2348
2349 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2350 is_remote.
2351
23522017-10-13 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2355 is_remote.
2356
23572017-10-13 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2360 is set.
2361 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2362 instead of is_remote.
2363
23642017-10-13 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2367 (top level): Add comment.
2368
23692017-10-13 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.base/remote.exp (top level): Fix comment typo and add
2372 missing return.
2373
23742017-10-13 Pedro Alves <palves@redhat.com>
2375 Simon Marchi <simon.marchi@polymtl.ca>
2376
2377 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2378 calls and add comments. Skip test if use_gdb_stub is set.
2379 (top level): Use "set cwd" command instead of "cd" command.
2380
23812017-10-13 Pedro Alves <palves@redhat.com>
2382
2383 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2384 is_remote target check.
2385
23862017-10-13 Pedro Alves <palves@redhat.com>
2387
2388 * gdb.base/scope.exp: Use build_executable + clean_restart +
2389 gdb_file_cmd instead of prepare_for_testing and no longer skip
2390 "before run" tests on is_remote target boards. Update comments.
2391 * boards/native-extended-gdbserver.exp
2392 (extended_gdbserver_load_last_file): New, factored out from ...
2393 (gdb_load): ... this. Move further below and add comment.
2394 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2395
23962017-10-12 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.base/attach.exp: Remove references to gdb64.
2399 * gdb.base/dbx.exp: Remove references to gdb64.
2400
24012017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2402 Pedro Alves <palves@redhat.com>
2403
2404 * gdb.base/label.exp: Remove is_remote target check.
2405
24062017-10-12 Pedro Alves <palves@redhat.com>
2407
2408 * gdb.base/auvx.exp (coredir): Update comment.
2409 (top level) <core_works>: Use "set cwd" command instead of "cd"
2410 command.
2411
24122017-10-12 Pedro Alves <palves@redhat.com>
2413 Simon Marchi <simon.marchi@polymtl.ca>
2414
2415 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2416 target boards.
2417
24182017-10-12 Pedro Alves <palves@redhat.com>
2419 Simon Marchi <simon.marchi@polymtl.ca>
2420
2421 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2422 Instead skip if there's any gdb_protocol set.
2423
24242017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2425 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2428
24292017-10-12 Pedro Alves <palves@redhat.com>
2430 Simon Marchi <simon.marchi@polymtl.ca>
2431
2432 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2433 instead of on dejagnu remote boards.
2434
24352017-10-12 Pedro Alves <palves@redhat.com>
2436 Simon Marchi <simon.marchi@polymtl.ca>
2437
2438 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2439 checks. Use build_executable + clean_restart instead of
2440 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2441 of enabling non-stop after starting gdb.
2442
24432017-10-12 Pedro Alves <palves@redhat.com>
2444
2445 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2446 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2447 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2448 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2449
24502017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2451
2452 * gdb.arch/arc-tdesc-cpu.exp: New file.
2453 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2454
24552017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2456
2457 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2458
24592017-10-10 Pedro Alves <palves@redhat.com>
2460
2461 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2462 expect CLI output.
2463
24642017-10-10 Pedro Alves <palves@redhat.com>
2465
2466 * lib/selftest-support.exp (selftest_setup): Update for
2467 captured_command_loop's prototype change.
2468
24692017-10-09 Pedro Alves <palves@redhat.com>
2470
2471 Test both arch1=>arch2 and arch2=>arch1.
2472
2473 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2474 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2475 factored out to...
2476 (append_arch1_options, append_arch2_options, append_arch_options)
2477 (build_executables): New procedures.
2478 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2479 local.
2480 (top level): Add new 'first_arch' testing axis.
2481
24822017-10-09 Pedro Alves <palves@redhat.com>
2483
2484 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2485 (barrier): New.
2486 (thread_start, all_started): New functions.
2487 (main): Spawn new thread and wait until it is scheduled.
2488 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2489 option.
2490 (do_test): Add 'selected_thread' parameter. Run to all_started
2491 instead of main. Explicitly set the breakpoint at main. Switch
2492 to the SELECTED_THREAD thread.
2493 (top level): Test handling the exec event with either the main
2494 thread or the second thread selected.
2495
24962017-10-09 Pedro Alves <palves@redhat.com>
2497
2498 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2499 logic. Move STOP marker after the value checks.
2500 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2501 regexp.
2502
25032017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2504
2505 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2506
25072017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2508
2509 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2510 integer-to-dfp conversion.
2511 * gdb.base/dfp-test.exp: Likewise.
2512
25132017-10-04 Pedro Alves <palves@redhat.com>
2514
2515 * gdb.multi/hangout.c: Include <unistd.h>.
2516 (hangout_loop): New function.
2517 (main): Call alarm. Call hangout_loop in a loop.
2518 * gdb.multi/hello.c: Include <unistd.h>.
2519 (hello_loop): New function.
2520 (main): Call alarm. Call hangout_loop in a loop.
2521 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2522 inferior with the other selected.
2523
25242017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2525
2526 * gdb.mi/list-thread-groups-available.exp: New file.
2527 * gdb.mi/list-thread-groups-available.c: New file.
2528
25292017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2530
2531 * gdb.base/set-cwd.exp: Make it available on
2532 native-extended-gdbserver.
2533
25342017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2535
2536 * gdb.base/set-cwd.c: New file.
2537 * gdb.base/set-cwd.exp: Likewise.
2538
25392017-10-02 Tom Tromey <tom@tromey.com>
2540
2541 PR rust/22236:
2542 * gdb.rust/simple.rs (main): New variable "fslice".
2543 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2544
25452017-10-02 Tom Tromey <tom@tromey.com>
2546
2547 * gdb.rust/simple.exp: Test ptype of a slice.
2548
25492017-10-02 Tom Tromey <tom@tromey.com>
2550
2551 * gdb.rust/simple.exp: Test index of slice.
2552
25532017-09-27 Tom Tromey <tom@tromey.com>
2554
2555 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2556
25572017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2558 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.base/compare-sections.exp (get value of read-only section): Read
2561 as unsigned value.
2562 (corrupt read-only section): Likewise and don't set written if patching
2563 failed.
2564
25652017-09-21 Kevin Buettner <kevinb@redhat.com>
2566
2567 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2568 files.
2569
25702017-09-20 Pedro Alves <palves@redhat.com>
2571
2572 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2573 symbol names in gdb's output.
2574 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2575
25762017-09-20 Pedro Alves <palves@redhat.com>
2577
2578 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2579 Rename to ...
2580 (test_list_ambiguous_symbol): ... this and add a symbol name
2581 parameter. Adjust.
2582 (test_list_ambiguous_function): Reimplement on top of
2583 test_list_ambiguous_symbol and also test listing ambiguous
2584 variables.
2585 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2586 (ambiguous_fun): ... this.
2587 (ambiguous_var): New.
2588 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2589 (ambiguous_fun): ... this.
2590 (ambiguous_var): New.
2591
25922017-09-19 John Baldwin <jhb@FreeBSD.org>
2593
2594 * gdb.base/starti.c: New file.
2595 * gdb.base/starti.exp: New file.
2596 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2597
25982017-09-14 Pedro Alves <palves@redhat.com>
2599
2600 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2601 (top level): Use it instead of runto.
2602
26032017-09-11 Tom Tromey <tom@tromey.com>
2604
2605 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2606
26072017-09-11 Tom Tromey <tom@tromey.com>
2608
2609 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2610 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2611
26122017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2613
2614 * gdb.fortran/printing-types.exp: New file.
2615 * gdb.fortran/printing-types.exp: New file.
2616
26172017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2618
2619 * gdb.fortran/vla-ptype.exp: Fix typos.
2620 * gdb.fortran/vla-value.exp: Same.
2621
26222017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2623
2624 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2625 * gdb.mi/mi-var-child-f.exp: Likewise.
2626 * gdb.mi/mi-vla-fortran.exp: Likewise.
2627
26282017-09-08 Frank Penczek <frank.penczek@intel.com>
2629 Christoph Weinmann <christoph.t.weinmann@intel.com>
2630 Bernhard Heckel <bernhard.heckel@intel.com>
2631
2632 * gdb.fortran/ptr-indentation.f90: New file.
2633 * gdb.fortran/ptr-indentation.exp: New file.
2634
26352017-09-05 Tom Tromey <tom@tromey.com>
2636
2637 PR gdb/22010:
2638 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2639
26402017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2641
2642 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2643
26442017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * gdb.threads/tls-nodebug-pie.c: New file.
2647 * gdb.threads/tls-nodebug-pie.exp: New file.
2648
26492017-09-05 Tom Tromey <tom@tromey.com>
2650
2651 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2652 for rust.
2653
26542017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2655
2656 * gdb.multi/multi-arch-exec.exp: Test with different
2657 "follow-exec-mode" settings.
2658 (do_test): New procedure.
2659
26602017-09-04 Pedro Alves <palves@redhat.com>
2661
2662 * gdb.base/func-static.c (S::method const, S::method volatile)
2663 (S::method volatile const): New methods.
2664 (c_s, v_s, cv_s): New instances.
2665 (main): Call method() on them.
2666 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2667 (cannot_resolve): New procedure.
2668 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2669 print-quote-unquoted columns.
2670 (do_test): Test printing each scope too.
2671
26722017-09-04 Pedro Alves <palves@redhat.com>
2673
2674 * gdb.base/local-static.exp: Also test with
2675 class::method::variable wholly quoted.
2676 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2677
26782017-09-04 Pedro Alves <palves@redhat.com>
2679
2680 * gdb.base/local-static.c: New.
2681 * gdb.base/local-static.cc: New.
2682 * gdb.base/local-static.exp: New.
2683
26842017-09-04 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.asm/asm-source.exp: Add casts to int.
2687 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2688 (dataglobal64_1, dataglobal64_2): New globals.
2689 * gdb.base/nodebug.exp: Test different expressions involving the
2690 new globals, with print, whatis and ptype. Add casts to int.
2691 * gdb.base/solib-display.exp: Add casts to int.
2692 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2693 * gdb.cp/m-static.exp: Add cast to int.
2694 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2695 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2696 tls variable with no debug info without a cast. Test with a cast
2697 to int too.
2698 * gdb.trace/entry-values.exp: Add casts.
2699
27002017-09-04 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.base/nodebug.exp: Test that ptype's error about functions
2703 with unknown return type includes the function name too.
2704
27052017-09-04 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2708 return type of munmap in infcall.
2709 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2710 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2711 type of ftell in infcall.
2712 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2713 type of getpid in infcall.
2714 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2715 infcall.
2716 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2717 Bail on failure to extract the pid.
2718 * gdb.base/nodebug.c: #include <stdint.h>.
2719 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2720 New functions.
2721 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2722 Change expected output of print/whatis/ptype with functions with
2723 no debug info. Test all supported languages. Call
2724 test_call_promotion.
2725 * gdb.compile/compile.exp: Adjust expected output to expect
2726 warning.
2727 * gdb.threads/siginfo-threads.exp: Likewise.
2728
27292017-09-04 Pedro Alves <palves@redhat.com>
2730
2731 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2732 "prototypes". Test calling float functions via prototyped and
2733 unprototyped function pointers.
2734 (perform_all_tests): New parameter "prototypes". Pass it down.
2735 (top level): Pass down "prototypes" parameter to
2736 perform_all_tests.
2737
27382017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2739
2740 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2741 Test with nested loops.
2742
27432017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2744
2745 * gdb.base/commands.exp: Call the new procedures.
2746 (loop_break_test, loop_continue_test): New procedures.
2747
27482017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2749
2750 * gdb.base/commands.exp: Call new procedure.
2751 (define_if_without_arg_test): New procedure.
2752
27532017-09-04 Pedro Alves <palves@redhat.com>
2754
2755 * gdb.base/list-ambiguous.exp: New file.
2756 * gdb.base/list-ambiguous0.c: New file.
2757 * gdb.base/list-ambiguous1.c: New file.
2758 * gdb.base/list.exp (test_list_range): Adjust expected output.
2759
27602017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2761
2762 * gdb.base/share-env-with-gdbserver.c: New file.
2763 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2764
27652017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2766
2767 * gdb.base/commands.exp (gdbvar_simple_if_test,
2768 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2769 progvar_simple_if_test, progvar_simple_while_test,
2770 progvar_complex_if_while_test, user_defined_command_test,
2771 user_defined_command_args_eval,
2772 user_defined_command_args_stack_test,
2773 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2774 temporary_breakpoint_commands,
2775 gdb_test_no_prompt, redefine_hook_test,
2776 redefine_backtrace_test): Remove "global gdb_prompt".
2777
27782017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2779
2780 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2781 New proc, call it from toplevel.
2782
27832017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2784
2785 PR remote/21852
2786 * gdb.server/normal.c: New file, copied from gdb.base.
2787 * gdb.server/run-without-local-binary.exp: New file.
2788
27892017-08-07 Weimin Pan <weimin.pan@oracle.com>
2790
2791 * gdb.arch/sparc64-adi.exp: New file.
2792 * gdb.arch/sparc64-adi.c: New file.
2793
27942017-08-22 Pedro Alves <palves@redhat.com>
2795
2796 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2797 (top level): Add "list all overloads" tests.
2798
27992017-08-22 Tom Tromey <tom@tromey.com>
2800
2801 * gdb.gdb/xfullpath.exp: Remove.
2802
28032017-08-21 Pedro Alves <palves@redhat.com>
2804
2805 PR gdb/19487
2806 * gdb.base/symbol-alias.c: New.
2807 * gdb.base/symbol-alias2.c: New.
2808 * gdb.base/symbol-alias.exp: New.
2809
28102017-08-21 Pedro Alves <palves@redhat.com>
2811
2812 * gdb.base/dfp-test.c
2813 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2814 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2815 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2816 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2817 * gdb.base/whatis-ptype-typedefs.c: New.
2818 * gdb.base/whatis-ptype-typedefs.exp: New.
2819 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2820 (an_int, an_int_type, an_int_type2): New globals.
2821 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2822 involving typedefs and cast expressions.
2823 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2824 (lookup_typedefs_function): New.
2825 (typedefs_pretty_printers_dict): New.
2826 (top level): Register lookup_typedefs_function in
2827 gdb.pretty_printers.
2828
28292017-08-18 Yao Qi <yao.qi@linaro.org>
2830
2831 * gdb.server/unittest.exp: New.
2832
28332017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2834
2835 PR gdb/21954
2836 * gdb.base/environ.exp: Add test to check if 'unset environment'
2837 works.
2838
28392017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2840
2841 * lib/gdb.exp (universal_compile_options): New caching proc.
2842 (gdb_compile): Suppress GCC's coloring of messages.
2843
28442017-08-14 Tom Tromey <tom@tromey.com>
2845
2846 PR gdb/21675:
2847 * gdb.base/printcmds.exp (test_radices): New function.
2848 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2849 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2850 * lib/gdb.exp (get_integer_valueof): Use p/d.
2851
28522017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2853
2854 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2855 characters.
2856
28572017-08-05 Tom Tromey <tom@tromey.com>
2858
2859 * gdb.rust/simple.exp: Allow String to appear in a different
2860 namespace.
2861
28622017-07-26 Yao Qi <yao.qi@linaro.org>
2863
2864 * gdb.gdb/unittest.exp: Invoke command
2865 "maintenance check xml-descriptions".
2866
28672017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2868
2869 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2870 calling context.
2871 (hex128): Drop erroneous calculation of parameters.
2872
28732017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2874
2875 * gdb.python/py-unwind.exp: Disable stack protection when
2876 building test file.
2877
28782017-07-20 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.base/default.exp (set language): Adjust expected output.
2881
28822017-07-20 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2885 (test_minsym): ... this, and make static.
2886 (get_pck__foo__bar__minsym): Rename to ...
2887 (get_test_minsym): ... this.
2888 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2889 symbol names and comments.
2890 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2891 (get_test_minsym): ... this.
2892 (pck__foo__bar__minsym__2): Rename to ...
2893 (test_minsym): ... this.
2894 (main): Adjust.
2895
28962017-07-17 Pedro Alves <palves@redhat.com>
2897
2898 * gdb.base/completion.exp: Adjust expected output.
2899 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2900 the completer works.
2901
29022017-07-17 Pedro Alves <palves@redhat.com>
2903
2904 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2905
29062017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2909
29102017-07-14 Tom Tromey <tom@tromey.com>
2911
2912 PR rust/21764:
2913 * gdb.rust/simple.exp: Add tests.
2914
29152017-07-14 Tom Tromey <tom@tromey.com>
2916
2917 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2918
29192017-07-14 Pedro Alves <palves@redhat.com>
2920
2921 * gdb.linespec/base/one/thefile.cc (z1): New function.
2922 * gdb.linespec/base/two/thefile.cc (z2): New function.
2923 * gdb.linespec/linespec.exp: Add tests.
2924
29252017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2926
2927 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2928 to mi_create_breakpoint.
2929
29302017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2931
2932 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2933 mi_create_breakpoint.
2934
29352017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2936
2937 * gdb.dlang/demangle.exp: Update for demangling changes.
2938
29392017-07-09 Tom Tromey <tom@tromey.com>
2940
2941 * gdb.dwarf2/shortpiece.exp: New file.
2942
29432017-07-06 David Blaikie <dblaikie@gmail.com>
2944
2945 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2946 built from fissiont-multi-cu{1,2}.c.
2947 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2948 except putting 'main' and 'func' in separate CUs in the same DWO file.
2949 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2950 test.
2951 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2952 test.
2953
29542017-07-06 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.python/py-unwind.exp: Test flushregs.
2957
29582017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2959
2960 PR cli/21688
2961 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2962 tests for alias commands and trailing whitespace.
2963
29642017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2965
2966 PR cli/21688
2967 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2968 procedure. Call it.
2969
29702017-06-29 Pedro Alves <palves@redhat.com>
2971
2972 * gdb.base/printcmds.exp: Add tests.
2973
29742017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2975
2976 PR gdb/21337
2977 * gdb.base/reread-readsym.exp: New file.
2978 * gdb.base/reread-readsym.c: New file.
2979
29802017-06-21 Kevin Buettner <kevinb@redhat.com>
2981
2982 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2983 subpattern.
2984
29852017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2986
2987 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2988 extended mnemonic.
2989 * gdb.arch/powerpc-power9.s: Likewise.
2990
29912017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2992
2993 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2994 on 32-bit x86 targets. Exploit is_*_target macros where
2995 appropriate.
2996
29972017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2998
2999 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3000 register pieces.
3001
30022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3003
3004 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3005 located in one or more DWARF pieces.
3006
30072017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3008
3009 * lib/gdb.exp (get_endianness): New proc.
3010 * gdb.arch/aarch64-fp.exp: Use it.
3011 * gdb.arch/altivec-regs.exp: Likewise.
3012 * gdb.arch/e500-regs.exp: Likewise.
3013 * gdb.arch/vsx-regs.exp: Likewise.
3014 * gdb.base/dump.exp: Likewise.
3015 * gdb.base/funcargs.exp: Likewise.
3016 * gdb.base/gnu_vector.exp: Likewise.
3017 * gdb.dwarf2/formdata16.exp: Likewise.
3018 * gdb.dwarf2/implptrpiece.exp: Likewise.
3019 * gdb.dwarf2/nonvar-access.exp: Likewise.
3020 * gdb.python/py-inferior.exp: Likewise.
3021 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3022
30232017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3024
3025 PR gdb/21226
3026 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3027 stack value pieces are taken from the LSB end.
3028
30292017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3030
3031 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3032 variable at nonzero offset.
3033
30342017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3035
3036 * gdb.dwarf2/var-access.c: New file.
3037 * gdb.dwarf2/var-access.exp: New test.
3038 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3039
30402017-06-12 Tom Tromey <tom@tromey.com>
3041
3042 * gdb.dwarf2/formdata16.exp: Add tests.
3043
30442017-06-12 Tom Tromey <tom@tromey.com>
3045
3046 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3047
30482017-06-12 Tom Tromey <tom@tromey.com>
3049
3050 PR exp/16225:
3051 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3052 * gdb.arch/vsx-regs.exp: Update tests.
3053 * gdb.arch/s390-vregs.exp (hex128): New proc.
3054 Update test.
3055 * gdb.arch/altivec-regs.exp: Update tests.
3056
30572017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3058
3059 * gdb.base/startup-with-shell.c: New file.
3060 * gdb.base/startup-with-shell.exp: Likewise.
3061
30622017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3063
3064 * gdb.server/non-existing-program.exp: Update regex in order to
3065 reflect the fact that gdbserver is now using fork_inferior (with a
3066 shell) to startup the inferior.
3067
30682017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3069
3070 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3071 support function calls from GDB.
3072
30732017-05-21 Tom Tromey <tom@tromey.com>
3074
3075 PR rust/21466:
3076 * gdb.rust/unsized.exp: New file.
3077 * gdb.rust/unsized.rs: New file.
3078
30792017-05-19 Tom Tromey <tom@tromey.com>
3080
3081 PR rust/21484:
3082 * gdb.rust/watch.exp: New file.
3083 * gdb.rust/watch.rs: New file.
3084
30852017-05-18 Tom Tromey <tom@tromey.com>
3086
3087 * gdb.rust/simple.exp: Allow Box to be qualified.
3088
30892017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3090
3091 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3092
30932017-05-18 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.base/fileio.c (test_write, test_read, test_close)
3096 (test_fstat): Don't print 'ret' in the fail path.
3097
30982017-05-18 Pedro Alves <palves@redhat.com>
3099
3100 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3101 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3102 (test_system, test_rename, test_unlink, test_time): Change
3103 prototypes.
3104 * gdb.base/fileio.exp (stop_msg): Adjust.
3105
31062017-05-18 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.base/fileio.c (null_str): New global.
3109 (test_stat): Use it.
3110 * gdb.base/fileio.exp: Remove nowarnings.
3111
31122017-05-17 Yao Qi <yao.qi@linaro.org>
3113
3114 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3115
31162017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3117
3118 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3119 argument command.
3120 (top-level): Invoke test_set_inferior_tty.
3121
31222017-05-04 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3125 Add parens to print call for Python 3.
3126
31272017-05-03 Keith Seitz <keiths@redhat.com>
3128
3129 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3130 (main): Call it.
3131
31322017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3133
3134 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3135 to prev and next.
3136
31372017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3138
3139 * gdb.python/py-record-btrace.exp: Remove test for
3140 gdb.BtraceInstruction.error.
3141
31422017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3143
3144 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3145
31462017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3147
3148 * gdb.python/py-record-btrace-threads.c: New file.
3149 * gdb.python/py-record-btrace-threads.exp: New file.
3150
31512017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3152
3153 PR testsuite/8595
3154 * gdb.base/environ.exp: Make test available in all architectures.
3155 Move bits related to "info program" testing to
3156 gdb.base/info-program.exp. Rewrite tests to use the two new
3157 procedures mentione below.
3158 (test_set_show_env_var) New procedure.
3159 (test_set_show_env_var_equal): Likewise.
3160 * gdb.base/info-program.exp: New file.
3161
31622017-04-27 Keith Seitz <keiths@redhat.com>
3163
3164 * gdb.cp/oranking.cc (test15): New function.
3165 (main): Call test15 and declare additional variables for testing.
3166 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3167 "p foo101('abc')" tests.
3168 Add tests for cv qualifier overloads.
3169 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3170 "lvalue reference overload" test.
3171 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3172 "print value of f1 on Child&& in f2" test.
3173
31742017-04-19 Pedro Alves <palves@redhat.com>
3175
3176 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3177 procedure.
3178 (top level): Call it.
3179 * lib/gdb.exp (gdb_define_cmd): New procedure.
3180
31812017-04-12 Pedro Alves <palves@redhat.com>
3182
3183 PR gdb/21323
3184 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3185 (wchar): New global.
3186 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3187 (do_test_wide_char, wide_char_types_no_program, top level): Add
3188 wchar_t testing.
3189
31902017-04-12 Pedro Alves <palves@redhat.com>
3191
3192 PR c++/21323
3193 * gdb.cp/wide_char_types.c: New file.
3194 * gdb.cp/wide_char_types.exp: New file.
3195
31962017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3197
3198 PR gdb/21352
3199 * gdb.trace/tsv.exp: Add test for "tsave -r".
3200
32012017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3202
3203 * gdb.dlang/watch-loc.c: New file.
3204 * gdb.dlang/watch-loc.exp: New file.
3205
32062017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3207
3208 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3209
32102017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3211
3212 * gdb.arch/arc-analyze-prologue.S: New file.
3213 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3214
32152017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3216
3217 * gdb.arch/arc-decode-insn.S: New file.
3218 * gdb.arch/arc-decode-insn.exp: Likewise.
3219
32202017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3221
3222 PR tdep/20928
3223 * gdb.arch/sparc64-regs.exp: New file.
3224 * gdb.arch/sparc64-regs.S: Likewise.
3225
32262017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3227
3228 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3229 and memory view on Python 3.
3230
32312017-03-20 Artemiy Volkov <artemiyv@acm.org>
3232 Keith Seitz <keiths@redhat.com>
3233
3234 PR gdb/14441
3235 * gdb.cp/demangle.exp: Add rvalue reference tests.
3236 * gdb.cp/rvalue-ref-casts.cc: New file.
3237 * gdb.cp/rvalue-ref-casts.exp: New file.
3238 * gdb.cp/rvalue-ref-overload.cc: New file.
3239 * gdb.cp/rvalue-ref-overload.exp: New file.
3240 * gdb.cp/rvalue-ref-params.cc: New file.
3241 * gdb.cp/rvalue-ref-params.exp: New file.
3242 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3243 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3244 * gdb.cp/rvalue-ref-types.cc: New file.
3245 * gdb.cp/rvalue-ref-types.exp: New file.
3246 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3247 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3248
32492017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3250
3251 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3252 New procedure.
3253
32542017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3255
3256 * lib/mi-support.exp (mi_gdb_test): Add additional message
3257 for unexpected output.
3258
32592017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3260
3261 * gdb.base/examine-backward.c (Barrier): New character array
3262 constant, to ensure that TestStrings is preceded by a string
3263 terminator.
3264
32652017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3266
3267 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3268 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3269 and implicit pointer into such a location.
3270
32712017-03-16 Doug Evans <dje@google.com>
3272
3273 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3274
32752017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3276
3277 * gdb.cp/m-static.exp: Fix expectation for prototype of
3278 test5.single_constructor and single_constructor::single_constructor.
3279
32802017-03-16 Doug Evans <dje@google.com>
3281
3282 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3283 * gdb.guile/scm-lazy-string.c: New file.
3284 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3285 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3286 for pointer, array, typedef lazy strings.
3287
32882017-03-16 Doug Evans <dje@google.com>
3289
3290 PR python/17728, python/18439, python/18779
3291 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3292 * gdb.python/py-lazy-string.c (pointer): New typedef.
3293 (main): New locals ptr, array, typedef_ptr.
3294 * gdb.python/py-value.exp: Move lazy string tests to ...
3295 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3296 array, typedef lazy strings.
3297
32982017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3299
3300 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3301 Add optional 'test' parameter.
3302
33032017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3304
3305 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3306 Skip for versions of DejaGnu < 1.5.
3307
33082017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3309
3310 * lib/gdb.exp (dejagnu_version): New proc.
3311 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3312 Use dejagnu_version.
3313
33142017-03-10 Keith Seitz <keiths@redhat.com>
3315
3316 PR c++/8128
3317 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3318 type from destructor regexps.
3319 Add a branch which actually passes the test.
3320 Adjust "ptype t5i" test names.
3321
33222017-03-08 Pedro Alves <palves@redhat.com>
3323
3324 * gdb.base/step-over-exit.exp: Add explicit test message.
3325
33262017-03-08 Pedro Alves <palves@redhat.com>
3327
3328 PR gdb/18360
3329 * gdb.threads/interrupt-while-step-over.c: New file.
3330 * gdb.threads/interrupt-while-step-over.exp: New file.
3331
33322017-03-08 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3335 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3336
33372017-03-08 Pedro Alves <palves@redhat.com>
3338
3339 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3340 PKRU as not supported as a PASS.
3341
33422017-03-08 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3345 prefix instead of $binfile1/$binfile2.
3346 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3347 in test message.
3348 * gdb.python/py-completion.exp: Use "load python file" as test
3349 messages instead of unstable path names.
3350
33512017-03-08 Pedro Alves <palves@redhat.com>
3352 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 PR cli/21218
3355 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3356 New proc.
3357 (top level): Call it.
3358
33592017-03-08 Pedro Alves <palves@redhat.com>
3360
3361 PR tui/21216
3362 * gdb.tui/tui-nl-filtered-output.exp: New file.
3363
33642017-03-08 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.base/completion.exp: Move TUI completion tests to ...
3367 * gdb.tui/completion.exp: ... this new file.
3368
33692017-03-08 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/tui-disasm-long-lines.c,
3372 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3373 gdb.base/tui-layout.exp: Move to ...
3374 * gdb.tui/: ... this new directory.
3375
33762017-03-07 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.base/tui-layout.c: New file.
3379 * gdb.base/tui-layout.exp: New file.
3380
33812017-03-07 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.base/tui-layout.c: Rename to ...
3384 * gdb.base/tui-disasm-long-lines.c: ... this.
3385 * gdb.base/tui-layout.exp: Rename to ...
3386 * gdb.base/tui-disasm-long-lines.exp: ... this.
3387
33882017-03-07 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3391
33922017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3393
3394 * i386-mpx-call.c: New file.
3395 * i386-mpx-call.exp: New file.
3396
33972017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3398
3399 * gdb.arch/powerpc-power.exp: Delete test.
3400 * gdb.arch/powerpc-power.s: Likewise.
3401 * gdb.disasm/disassembler-options.exp: New test.
3402 * gdb.arch/powerpc-altivec.exp: Likewise.
3403 * gdb.arch/powerpc-altivec.s: Likewise.
3404 * gdb.arch/powerpc-altivec2.exp: Likewise.
3405 * gdb.arch/powerpc-altivec2.s: Likewise.
3406 * gdb.arch/powerpc-altivec3.exp: Likewise.
3407 * gdb.arch/powerpc-altivec3.s: Likewise.
3408 * gdb.arch/powerpc-power7.exp: Likewise.
3409 * gdb.arch/powerpc-power7.s: Likewise.
3410 * gdb.arch/powerpc-power8.exp: Likewise.
3411 * gdb.arch/powerpc-power8.s: Likewise.
3412 * gdb.arch/powerpc-power9.exp: Likewise.
3413 * gdb.arch/powerpc-power9.s: Likewise.
3414 * gdb.arch/powerpc-vsx.exp: Likewise.
3415 * gdb.arch/powerpc-vsx.s: Likewise.
3416 * gdb.arch/powerpc-vsx2.exp: Likewise.
3417 * gdb.arch/powerpc-vsx2.s: Likewise.
3418 * gdb.arch/powerpc-vsx3.exp: Likewise.
3419 * gdb.arch/powerpc-vsx3.s: Likewise.
3420 * gdb.arch/arm-disassembler-options.exp: Likewise.
3421 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3422 * gdb.arch/s390-disassembler-options.exp: Likewise.
3423
34242017-02-23 Luis Machado <lgustavo@codesourcery.com>
3425
3426 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3427 (check_supported_features): ... this. Changed return type to void.
3428 (supports_rdseed): New static global.
3429 (rdseed): Check supports_rdseed.
3430 (initialize): Call check_supported_features.
3431
34322017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3433
3434 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3435 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3436 and lqarx/stqcx.
3437 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3438 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3439
34402017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3441
3442 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3443 uppercase.
3444
34452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 * gdb.dwarf2/formdata16.c: New file.
3448 * gdb.dwarf2/formdata16.exp: New file.
3449 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3450
34512017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3452
3453 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3454 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3455 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3456 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3457 DW_AT_GNU_*.
3458
34592017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3460
3461 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3462
34632017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3464
3465 PR gdb/21164
3466 * gdb.base/maint.exp: Add testcases for when the commands do
3467 not have arguments.
3468
34692017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3470
3471 * gdb.cp/chained-calls.exp: Use p instead of P.
3472
34732017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3474
3475 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3476 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3477
34782017-02-14 Tom Tromey <tom@tromey.com>
3479
3480 PR python/13598:
3481 * gdb.python/py-events.exp: Add before_prompt event tests.
3482
34832017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3484
3485 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3486
34872017-02-13 Luis Machado <lgustavo@codesourcery.com>
3488
3489 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3490 (main): Call my_unique_function_name.
3491 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3492 completion of patterns with a single match.
3493 Add missing -re switches to gdb_test_multiple calls.
3494
34952017-02-13 Luis Machado <lgustavo@codesourcery.com>
3496
3497 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3498 return if core file is not recognized.
3499
35002017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3501
3502 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3503 and extra UIs.
3504
35052017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3506
3507 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3508 proc_with_prefix.
3509
35102017-02-10 Tom Tromey <tom@tromey.com>
3511
3512 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3513
35142017-02-10 Martin Galvan <martingalvan@sourceware.org>
3515
3516 PR gdb/21122
3517 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3518
35192017-02-08 Jerome Guitton <guitton@adacore.com>
3520
3521 * gdb.base/define.exp: Add test for command abbreviations
3522 in define.
3523
35242017-02-06 Luis Machado <lgustavo@codesourcery.com>
3525
3526 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3527 * gdb.reverse/insn-reverse-x86.c: New file.
3528
35292017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3530
3531 PR tdep/20936
3532 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3533
35342017-02-03 Tom Tromey <tom@tromey.com>
3535
3536 PR rust/21097:
3537 * gdb.rust/simple.exp: Add new tests.
3538
35392017-02-02 Pedro Alves <palves@redhat.com>
3540
3541 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3542 tests.
3543
35442017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3545
3546 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3547 taking a 2-byte value out of a 4-byte DWARF implicit value on
3548 big-endian targets.
3549 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3550 logic. Add test cases for DW_OP_implicit.
3551
35522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3553
3554 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3555
35562017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3557
3558 * gdb.btrace/enable.exp: Call gdb_exit before
3559 skip_gdbserver_tests.
3560
35612017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3562
3563 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3564 GDBFLAGS.
3565
35662017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3567
3568 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3569 the test is skipped.
3570 * gdb.btrace/data.exp: Likewise.
3571 * gdb.btrace/delta.exp: Likewise.
3572 * gdb.btrace/dlopen.exp: Likewise.
3573 * gdb.btrace/enable-running.exp: Likewise.
3574 * gdb.btrace/enable.exp: Likewise.
3575 * gdb.btrace/exception.exp: Likewise.
3576 * gdb.btrace/function_call_history.exp: Likewise.
3577 * gdb.btrace/gcore.exp: Likewise.
3578 * gdb.btrace/instruction_history.exp: Likewise.
3579 * gdb.btrace/multi-thread-step.exp: Likewise.
3580 * gdb.btrace/nohist.exp: Likewise.
3581 * gdb.btrace/non-stop.exp: Likewise.
3582 * gdb.btrace/reconnect.exp: Likewise.
3583 * gdb.btrace/record_goto-step.exp: Likewise.
3584 * gdb.btrace/record_goto.exp: Likewise.
3585 * gdb.btrace/rn-dl-bind.exp: Likewise.
3586 * gdb.btrace/segv.exp: Likewise.
3587 * gdb.btrace/step.exp: Likewise.
3588 * gdb.btrace/stepi.exp: Likewise.
3589 * gdb.btrace/tailcall-only.exp: Likewise.
3590 * gdb.btrace/tailcall.exp: Likewise.
3591 * gdb.btrace/tsx.exp: Likewise.
3592 * gdb.btrace/unknown_functions.exp: Likewise.
3593 * gdb.btrace/vdso.exp: Likewise.
3594
35952017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3596
3597 * gdb.btrace/enable-running.c: New.
3598 * gdb.btrace/enable-running.exp: New.
3599
36002017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3601
3602 * gdb.arch/amd64-gs_base.c: New file.
3603 * gdb.arch/amd64-gs_base.exp: New file.
3604
36052017-01-26 Luis Machado <lgustavo@codesourcery.com>
3606
3607 * lib/memory.exp: Remove spurious empty newlines.
3608
36092017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3610
3611 * gdb.python/py-bad-printers.exp: Load python file using "source".
3612 * gdb.python/py-events.exp: Likewise.
3613 * gdb.python/py-evsignal.exp: Likewise.
3614 * gdb.python/py-evthreads.exp: Likewise.
3615 * gdb.python/py-frame-args.exp: Likewise.
3616 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3617 * gdb.python/py-framefilter-mi.exp: Likewise.
3618 * gdb.python/py-framefilter.exp: Likewise.
3619 * gdb.python/py-mi.exp: Likewise.
3620 * gdb.python/py-pp-maint.exp: Likewise.
3621 * gdb.python/py-pp-registration.exp: Likewise.
3622 * gdb.python/py-prettyprint.exp: Likewise.
3623 (run_lang_tests): Likewise.
3624 * gdb.python/py-typeprint.exp: Likewise.
3625
36262017-01-26 Luis Machado <lgustavo@codesourcery.com>
3627
3628 * lib/memory.exp: New file.
3629 * lib/gdb.exp: Load memory.exp.
3630 * gdb.base/memattr.exp (delete_memory): Move proc to
3631 lib/memory.exp and rename to delete_memory_regions.
3632 Replace delete_memory with delete_memory_regions.
3633 Cleanup memory regions before tests.
3634 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3635 before tests.
3636
36372017-01-26 Luis Machado <lgustavo@codesourcery.com>
3638
3639 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3640 files.
3641 (initialize): New function conditionally defined.
3642 (testcases): Move within conditional block.
3643 (main): Call initialize.
3644 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3645 of gdb.reverse/insn-reverse.c.
3646 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3647 gdb.reverse/insn-reverse.c.
3648
36492017-01-26 Yao Qi <yao.qi@linaro.org>
3650
3651 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3652 disassemble on address 0.
3653
36542017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3655 Yao Qi <yao.qi@linaro.org>
3656
3657 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3658 * gdb.dwarf2/implptr-64bit.S: Remove.
3659 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3660 variables in caller's context. Add DW_OP_implicit_value.
3661
36622017-01-25 Yao Qi <yao.qi@linaro.org>
3663
3664 * lib/dwarf.exp (Dwarf::_location): Handle
3665 DW_OP_GNU_implicit_pointer with proper size.
3666
36672017-01-20 Luis Machado <lgustavo@codesourcery.com>
3668
3669 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3670 and add untested calls.
3671
36722017-01-20 Luis Machado <lgustavo@codesourcery.com>
3673
3674 * gdb.python/python.exp: Check line number against what GDB thinks
3675 the line number is for func1.
3676
36772017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3678
3679 * gdb.dlang/debug-expr.exp: New file.
3680
36812016-12-23 Luis Machado <lgustavo@codesourcery.com>
3682
3683 Fix test names for the following files:
3684
3685 * gdb.ada/exec_changed.exp
3686 * gdb.ada/info_types.exp
3687 * gdb.arch/aarch64-atomic-inst.exp
3688 * gdb.arch/aarch64-fp.exp
3689 * gdb.arch/altivec-abi.exp
3690 * gdb.arch/altivec-regs.exp
3691 * gdb.arch/amd64-byte.exp
3692 * gdb.arch/amd64-disp-step.exp
3693 * gdb.arch/amd64-dword.exp
3694 * gdb.arch/amd64-entry-value-inline.exp
3695 * gdb.arch/amd64-entry-value-param.exp
3696 * gdb.arch/amd64-entry-value-paramref.exp
3697 * gdb.arch/amd64-entry-value.exp
3698 * gdb.arch/amd64-i386-address.exp
3699 * gdb.arch/amd64-invalid-stack-middle.exp
3700 * gdb.arch/amd64-invalid-stack-top.exp
3701 * gdb.arch/amd64-optimout-repeat.exp
3702 * gdb.arch/amd64-prologue-skip.exp
3703 * gdb.arch/amd64-prologue-xmm.exp
3704 * gdb.arch/amd64-stap-special-operands.exp
3705 * gdb.arch/amd64-stap-wrong-subexp.exp
3706 * gdb.arch/amd64-tailcall-cxx.exp
3707 * gdb.arch/amd64-tailcall-noret.exp
3708 * gdb.arch/amd64-tailcall-ret.exp
3709 * gdb.arch/amd64-tailcall-self.exp
3710 * gdb.arch/amd64-word.exp
3711 * gdb.arch/arm-bl-branch-dest.exp
3712 * gdb.arch/arm-disp-step.exp
3713 * gdb.arch/arm-neon.exp
3714 * gdb.arch/arm-single-step-kernel-helper.exp
3715 * gdb.arch/avr-flash-qualifier.exp
3716 * gdb.arch/disp-step-insn-reloc.exp
3717 * gdb.arch/e500-abi.exp
3718 * gdb.arch/e500-regs.exp
3719 * gdb.arch/ftrace-insn-reloc.exp
3720 * gdb.arch/i386-avx512.exp
3721 * gdb.arch/i386-bp_permanent.exp
3722 * gdb.arch/i386-byte.exp
3723 * gdb.arch/i386-cfi-notcurrent.exp
3724 * gdb.arch/i386-disp-step.exp
3725 * gdb.arch/i386-dr3-watch.exp
3726 * gdb.arch/i386-float.exp
3727 * gdb.arch/i386-gnu-cfi.exp
3728 * gdb.arch/i386-mpx-map.exp
3729 * gdb.arch/i386-mpx-sigsegv.exp
3730 * gdb.arch/i386-mpx-simple_segv.exp
3731 * gdb.arch/i386-mpx.exp
3732 * gdb.arch/i386-permbkpt.exp
3733 * gdb.arch/i386-prologue.exp
3734 * gdb.arch/i386-signal.exp
3735 * gdb.arch/i386-size-overlap.exp
3736 * gdb.arch/i386-unwind.exp
3737 * gdb.arch/i386-word.exp
3738 * gdb.arch/mips-fcr.exp
3739 * gdb.arch/powerpc-d128-regs.exp
3740 * gdb.arch/powerpc-stackless.exp
3741 * gdb.arch/ppc64-atomic-inst.exp
3742 * gdb.arch/s390-stackless.exp
3743 * gdb.arch/s390-tdbregs.exp
3744 * gdb.arch/s390-vregs.exp
3745 * gdb.arch/sparc-sysstep.exp
3746 * gdb.arch/thumb-bx-pc.exp
3747 * gdb.arch/thumb-singlestep.exp
3748 * gdb.arch/thumb2-it.exp
3749 * gdb.arch/vsx-regs.exp
3750 * gdb.asm/asm-source.exp
3751 * gdb.base/a2-run.exp
3752 * gdb.base/advance.exp
3753 * gdb.base/all-bin.exp
3754 * gdb.base/anon.exp
3755 * gdb.base/args.exp
3756 * gdb.base/arithmet.exp
3757 * gdb.base/async-shell.exp
3758 * gdb.base/async.exp
3759 * gdb.base/attach-pie-noexec.exp
3760 * gdb.base/attach-twice.exp
3761 * gdb.base/auto-load.exp
3762 * gdb.base/bang.exp
3763 * gdb.base/bitfields.exp
3764 * gdb.base/break-always.exp
3765 * gdb.base/break-caller-line.exp
3766 * gdb.base/break-entry.exp
3767 * gdb.base/break-inline.exp
3768 * gdb.base/break-on-linker-gcd-function.exp
3769 * gdb.base/break-probes.exp
3770 * gdb.base/break.exp
3771 * gdb.base/breakpoint-shadow.exp
3772 * gdb.base/call-ar-st.exp
3773 * gdb.base/call-sc.exp
3774 * gdb.base/call-signal-resume.exp
3775 * gdb.base/call-strs.exp
3776 * gdb.base/callfuncs.exp
3777 * gdb.base/catch-fork-static.exp
3778 * gdb.base/catch-gdb-caused-signals.exp
3779 * gdb.base/catch-load.exp
3780 * gdb.base/catch-signal-fork.exp
3781 * gdb.base/catch-signal.exp
3782 * gdb.base/catch-syscall.exp
3783 * gdb.base/charset.exp
3784 * gdb.base/checkpoint.exp
3785 * gdb.base/chng-syms.exp
3786 * gdb.base/code-expr.exp
3787 * gdb.base/code_elim.exp
3788 * gdb.base/commands.exp
3789 * gdb.base/completion.exp
3790 * gdb.base/complex.exp
3791 * gdb.base/cond-expr.exp
3792 * gdb.base/condbreak.exp
3793 * gdb.base/consecutive.exp
3794 * gdb.base/continue-all-already-running.exp
3795 * gdb.base/coredump-filter.exp
3796 * gdb.base/corefile.exp
3797 * gdb.base/dbx.exp
3798 * gdb.base/debug-expr.exp
3799 * gdb.base/define.exp
3800 * gdb.base/del.exp
3801 * gdb.base/disabled-location.exp
3802 * gdb.base/disasm-end-cu.exp
3803 * gdb.base/disasm-optim.exp
3804 * gdb.base/display.exp
3805 * gdb.base/duplicate-bp.exp
3806 * gdb.base/ena-dis-br.exp
3807 * gdb.base/ending-run.exp
3808 * gdb.base/enumval.exp
3809 * gdb.base/environ.exp
3810 * gdb.base/eu-strip-infcall.exp
3811 * gdb.base/eval-avoid-side-effects.exp
3812 * gdb.base/eval-skip.exp
3813 * gdb.base/exitsignal.exp
3814 * gdb.base/expand-psymtabs.exp
3815 * gdb.base/filesym.exp
3816 * gdb.base/find-unmapped.exp
3817 * gdb.base/finish.exp
3818 * gdb.base/float.exp
3819 * gdb.base/foll-exec-mode.exp
3820 * gdb.base/foll-exec.exp
3821 * gdb.base/foll-fork.exp
3822 * gdb.base/fortran-sym-case.exp
3823 * gdb.base/freebpcmd.exp
3824 * gdb.base/func-ptr.exp
3825 * gdb.base/func-ptrs.exp
3826 * gdb.base/funcargs.exp
3827 * gdb.base/gcore-buffer-overflow.exp
3828 * gdb.base/gcore-relro-pie.exp
3829 * gdb.base/gcore-relro.exp
3830 * gdb.base/gcore.exp
3831 * gdb.base/gdb1090.exp
3832 * gdb.base/gdb11530.exp
3833 * gdb.base/gdb11531.exp
3834 * gdb.base/gdb1821.exp
3835 * gdb.base/gdbindex-stabs.exp
3836 * gdb.base/gdbvars.exp
3837 * gdb.base/hbreak.exp
3838 * gdb.base/hbreak2.exp
3839 * gdb.base/included.exp
3840 * gdb.base/infcall-input.exp
3841 * gdb.base/inferior-died.exp
3842 * gdb.base/infnan.exp
3843 * gdb.base/info-macros.exp
3844 * gdb.base/info-os.exp
3845 * gdb.base/info-proc.exp
3846 * gdb.base/info-shared.exp
3847 * gdb.base/info-target.exp
3848 * gdb.base/infoline.exp
3849 * gdb.base/interp.exp
3850 * gdb.base/interrupt.exp
3851 * gdb.base/jit-reader.exp
3852 * gdb.base/jit-simple.exp
3853 * gdb.base/kill-after-signal.exp
3854 * gdb.base/kill-detach-inferiors-cmd.exp
3855 * gdb.base/label.exp
3856 * gdb.base/langs.exp
3857 * gdb.base/ldbl_e308.exp
3858 * gdb.base/line-symtabs.exp
3859 * gdb.base/linespecs.exp
3860 * gdb.base/list.exp
3861 * gdb.base/long_long.exp
3862 * gdb.base/longest-types.exp
3863 * gdb.base/maint.exp
3864 * gdb.base/max-value-size.exp
3865 * gdb.base/memattr.exp
3866 * gdb.base/mips_pro.exp
3867 * gdb.base/morestack.exp
3868 * gdb.base/moribund-step.exp
3869 * gdb.base/multi-forks.exp
3870 * gdb.base/nested-addr.exp
3871 * gdb.base/nextoverexit.exp
3872 * gdb.base/noreturn-finish.exp
3873 * gdb.base/noreturn-return.exp
3874 * gdb.base/nostdlib.exp
3875 * gdb.base/offsets.exp
3876 * gdb.base/opaque.exp
3877 * gdb.base/pc-fp.exp
3878 * gdb.base/permissions.exp
3879 * gdb.base/print-symbol-loading.exp
3880 * gdb.base/prologue-include.exp
3881 * gdb.base/psymtab.exp
3882 * gdb.base/ptype.exp
3883 * gdb.base/random-signal.exp
3884 * gdb.base/randomize.exp
3885 * gdb.base/range-stepping.exp
3886 * gdb.base/readline-ask.exp
3887 * gdb.base/recpar.exp
3888 * gdb.base/recurse.exp
3889 * gdb.base/relational.exp
3890 * gdb.base/restore.exp
3891 * gdb.base/return-nodebug.exp
3892 * gdb.base/return.exp
3893 * gdb.base/run-after-attach.exp
3894 * gdb.base/save-bp.exp
3895 * gdb.base/scope.exp
3896 * gdb.base/sect-cmd.exp
3897 * gdb.base/set-lang-auto.exp
3898 * gdb.base/set-noassign.exp
3899 * gdb.base/setvar.exp
3900 * gdb.base/sigall.exp
3901 * gdb.base/sigbpt.exp
3902 * gdb.base/siginfo-addr.exp
3903 * gdb.base/siginfo-infcall.exp
3904 * gdb.base/siginfo-obj.exp
3905 * gdb.base/siginfo.exp
3906 * gdb.base/signals-state-child.exp
3907 * gdb.base/signest.exp
3908 * gdb.base/sigstep.exp
3909 * gdb.base/sizeof.exp
3910 * gdb.base/skip.exp
3911 * gdb.base/solib-corrupted.exp
3912 * gdb.base/solib-nodir.exp
3913 * gdb.base/solib-search.exp
3914 * gdb.base/stack-checking.exp
3915 * gdb.base/stale-infcall.exp
3916 * gdb.base/stap-probe.exp
3917 * gdb.base/start.exp
3918 * gdb.base/step-break.exp
3919 * gdb.base/step-bt.exp
3920 * gdb.base/step-line.exp
3921 * gdb.base/step-over-exit.exp
3922 * gdb.base/step-over-syscall.exp
3923 * gdb.base/step-resume-infcall.exp
3924 * gdb.base/step-test.exp
3925 * gdb.base/store.exp
3926 * gdb.base/structs3.exp
3927 * gdb.base/sym-file.exp
3928 * gdb.base/symbol-without-target_section.exp
3929 * gdb.base/term.exp
3930 * gdb.base/testenv.exp
3931 * gdb.base/ui-redirect.exp
3932 * gdb.base/until.exp
3933 * gdb.base/unwindonsignal.exp
3934 * gdb.base/value-double-free.exp
3935 * gdb.base/vla-datatypes.exp
3936 * gdb.base/vla-ptr.exp
3937 * gdb.base/vla-sideeffect.exp
3938 * gdb.base/volatile.exp
3939 * gdb.base/watch-cond-infcall.exp
3940 * gdb.base/watch-cond.exp
3941 * gdb.base/watch-non-mem.exp
3942 * gdb.base/watch-read.exp
3943 * gdb.base/watch-vfork.exp
3944 * gdb.base/watchpoint-cond-gone.exp
3945 * gdb.base/watchpoint-delete.exp
3946 * gdb.base/watchpoint-hw-hit-once.exp
3947 * gdb.base/watchpoint-hw.exp
3948 * gdb.base/watchpoint-stops-at-right-insn.exp
3949 * gdb.base/watchpoints.exp
3950 * gdb.base/wchar.exp
3951 * gdb.base/whatis-exp.exp
3952 * gdb.btrace/buffer-size.exp
3953 * gdb.btrace/data.exp
3954 * gdb.btrace/delta.exp
3955 * gdb.btrace/dlopen.exp
3956 * gdb.btrace/enable.exp
3957 * gdb.btrace/exception.exp
3958 * gdb.btrace/function_call_history.exp
3959 * gdb.btrace/gcore.exp
3960 * gdb.btrace/instruction_history.exp
3961 * gdb.btrace/nohist.exp
3962 * gdb.btrace/reconnect.exp
3963 * gdb.btrace/record_goto-step.exp
3964 * gdb.btrace/record_goto.exp
3965 * gdb.btrace/rn-dl-bind.exp
3966 * gdb.btrace/segv.exp
3967 * gdb.btrace/step.exp
3968 * gdb.btrace/stepi.exp
3969 * gdb.btrace/tailcall-only.exp
3970 * gdb.btrace/tailcall.exp
3971 * gdb.btrace/tsx.exp
3972 * gdb.btrace/unknown_functions.exp
3973 * gdb.btrace/vdso.exp
3974 * gdb.compile/compile-ifunc.exp
3975 * gdb.compile/compile-ops.exp
3976 * gdb.compile/compile-print.exp
3977 * gdb.compile/compile-setjmp.exp
3978 * gdb.cp/abstract-origin.exp
3979 * gdb.cp/ambiguous.exp
3980 * gdb.cp/annota2.exp
3981 * gdb.cp/annota3.exp
3982 * gdb.cp/anon-ns.exp
3983 * gdb.cp/anon-struct.exp
3984 * gdb.cp/anon-union.exp
3985 * gdb.cp/arg-reference.exp
3986 * gdb.cp/baseenum.exp
3987 * gdb.cp/bool.exp
3988 * gdb.cp/breakpoint.exp
3989 * gdb.cp/bs15503.exp
3990 * gdb.cp/call-c.exp
3991 * gdb.cp/casts.exp
3992 * gdb.cp/chained-calls.exp
3993 * gdb.cp/class2.exp
3994 * gdb.cp/classes.exp
3995 * gdb.cp/cmpd-minsyms.exp
3996 * gdb.cp/converts.exp
3997 * gdb.cp/cp-relocate.exp
3998 * gdb.cp/cpcompletion.exp
3999 * gdb.cp/cpexprs.exp
4000 * gdb.cp/cplabel.exp
4001 * gdb.cp/cplusfuncs.exp
4002 * gdb.cp/cpsizeof.exp
4003 * gdb.cp/ctti.exp
4004 * gdb.cp/derivation.exp
4005 * gdb.cp/destrprint.exp
4006 * gdb.cp/dispcxx.exp
4007 * gdb.cp/enum-class.exp
4008 * gdb.cp/exception.exp
4009 * gdb.cp/exceptprint.exp
4010 * gdb.cp/expand-psymtabs-cxx.exp
4011 * gdb.cp/expand-sals.exp
4012 * gdb.cp/extern-c.exp
4013 * gdb.cp/filename.exp
4014 * gdb.cp/formatted-ref.exp
4015 * gdb.cp/fpointer.exp
4016 * gdb.cp/gdb1355.exp
4017 * gdb.cp/gdb2495.exp
4018 * gdb.cp/hang.exp
4019 * gdb.cp/impl-this.exp
4020 * gdb.cp/infcall-dlopen.exp
4021 * gdb.cp/inherit.exp
4022 * gdb.cp/iostream.exp
4023 * gdb.cp/koenig.exp
4024 * gdb.cp/local.exp
4025 * gdb.cp/m-data.exp
4026 * gdb.cp/m-static.exp
4027 * gdb.cp/mb-ctor.exp
4028 * gdb.cp/mb-inline.exp
4029 * gdb.cp/mb-templates.exp
4030 * gdb.cp/member-name.exp
4031 * gdb.cp/member-ptr.exp
4032 * gdb.cp/meth-typedefs.exp
4033 * gdb.cp/method.exp
4034 * gdb.cp/method2.exp
4035 * gdb.cp/minsym-fallback.exp
4036 * gdb.cp/misc.exp
4037 * gdb.cp/namelessclass.exp
4038 * gdb.cp/namespace-enum.exp
4039 * gdb.cp/namespace-nested-import.exp
4040 * gdb.cp/namespace.exp
4041 * gdb.cp/nextoverthrow.exp
4042 * gdb.cp/no-dmgl-verbose.exp
4043 * gdb.cp/non-trivial-retval.exp
4044 * gdb.cp/noparam.exp
4045 * gdb.cp/nsdecl.exp
4046 * gdb.cp/nsimport.exp
4047 * gdb.cp/nsnested.exp
4048 * gdb.cp/nsnoimports.exp
4049 * gdb.cp/nsrecurs.exp
4050 * gdb.cp/nsstress.exp
4051 * gdb.cp/nsusing.exp
4052 * gdb.cp/operator.exp
4053 * gdb.cp/oranking.exp
4054 * gdb.cp/overload-const.exp
4055 * gdb.cp/overload.exp
4056 * gdb.cp/ovldbreak.exp
4057 * gdb.cp/ovsrch.exp
4058 * gdb.cp/paren-type.exp
4059 * gdb.cp/parse-lang.exp
4060 * gdb.cp/pass-by-ref.exp
4061 * gdb.cp/pr-1023.exp
4062 * gdb.cp/pr-1210.exp
4063 * gdb.cp/pr-574.exp
4064 * gdb.cp/pr10687.exp
4065 * gdb.cp/pr12028.exp
4066 * gdb.cp/pr17132.exp
4067 * gdb.cp/pr17494.exp
4068 * gdb.cp/pr9067.exp
4069 * gdb.cp/pr9167.exp
4070 * gdb.cp/pr9631.exp
4071 * gdb.cp/printmethod.exp
4072 * gdb.cp/psmang.exp
4073 * gdb.cp/psymtab-parameter.exp
4074 * gdb.cp/ptype-cv-cp.exp
4075 * gdb.cp/ptype-flags.exp
4076 * gdb.cp/re-set-overloaded.exp
4077 * gdb.cp/ref-types.exp
4078 * gdb.cp/rtti.exp
4079 * gdb.cp/scope-err.exp
4080 * gdb.cp/shadow.exp
4081 * gdb.cp/smartp.exp
4082 * gdb.cp/static-method.exp
4083 * gdb.cp/static-print-quit.exp
4084 * gdb.cp/temargs.exp
4085 * gdb.cp/templates.exp
4086 * gdb.cp/try_catch.exp
4087 * gdb.cp/typedef-operator.exp
4088 * gdb.cp/typeid.exp
4089 * gdb.cp/userdef.exp
4090 * gdb.cp/using-crash.exp
4091 * gdb.cp/var-tag.exp
4092 * gdb.cp/virtbase.exp
4093 * gdb.cp/virtfunc.exp
4094 * gdb.cp/virtfunc2.exp
4095 * gdb.cp/vla-cxx.exp
4096 * gdb.disasm/t01_mov.exp
4097 * gdb.disasm/t02_mova.exp
4098 * gdb.disasm/t03_add.exp
4099 * gdb.disasm/t04_sub.exp
4100 * gdb.disasm/t05_cmp.exp
4101 * gdb.disasm/t06_ari2.exp
4102 * gdb.disasm/t07_ari3.exp
4103 * gdb.disasm/t08_or.exp
4104 * gdb.disasm/t09_xor.exp
4105 * gdb.disasm/t10_and.exp
4106 * gdb.disasm/t11_logs.exp
4107 * gdb.disasm/t12_bit.exp
4108 * gdb.disasm/t13_otr.exp
4109 * gdb.dlang/circular.exp
4110 * gdb.dwarf2/arr-stride.exp
4111 * gdb.dwarf2/arr-subrange.exp
4112 * gdb.dwarf2/atomic-type.exp
4113 * gdb.dwarf2/bad-regnum.exp
4114 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4115 * gdb.dwarf2/callframecfa.exp
4116 * gdb.dwarf2/clztest.exp
4117 * gdb.dwarf2/corrupt.exp
4118 * gdb.dwarf2/data-loc.exp
4119 * gdb.dwarf2/dup-psym.exp
4120 * gdb.dwarf2/dw2-anon-mptr.exp
4121 * gdb.dwarf2/dw2-anonymous-func.exp
4122 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4123 * gdb.dwarf2/dw2-bad-unresolved.exp
4124 * gdb.dwarf2/dw2-basic.exp
4125 * gdb.dwarf2/dw2-canonicalize-type.exp
4126 * gdb.dwarf2/dw2-case-insensitive.exp
4127 * gdb.dwarf2/dw2-common-block.exp
4128 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4129 * gdb.dwarf2/dw2-compressed.exp
4130 * gdb.dwarf2/dw2-const.exp
4131 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4132 * gdb.dwarf2/dw2-cu-size.exp
4133 * gdb.dwarf2/dw2-dup-frame.exp
4134 * gdb.dwarf2/dw2-entry-value.exp
4135 * gdb.dwarf2/dw2-icycle.exp
4136 * gdb.dwarf2/dw2-ifort-parameter.exp
4137 * gdb.dwarf2/dw2-inline-break.exp
4138 * gdb.dwarf2/dw2-inline-param.exp
4139 * gdb.dwarf2/dw2-intercu.exp
4140 * gdb.dwarf2/dw2-intermix.exp
4141 * gdb.dwarf2/dw2-lexical-block-bare.exp
4142 * gdb.dwarf2/dw2-linkage-name-trust.exp
4143 * gdb.dwarf2/dw2-minsym-in-cu.exp
4144 * gdb.dwarf2/dw2-noloc.exp
4145 * gdb.dwarf2/dw2-op-call.exp
4146 * gdb.dwarf2/dw2-op-out-param.exp
4147 * gdb.dwarf2/dw2-opt-structptr.exp
4148 * gdb.dwarf2/dw2-param-error.exp
4149 * gdb.dwarf2/dw2-producer.exp
4150 * gdb.dwarf2/dw2-ranges-base.exp
4151 * gdb.dwarf2/dw2-ref-missing-frame.exp
4152 * gdb.dwarf2/dw2-reg-undefined.exp
4153 * gdb.dwarf2/dw2-regno-invalid.exp
4154 * gdb.dwarf2/dw2-restore.exp
4155 * gdb.dwarf2/dw2-restrict.exp
4156 * gdb.dwarf2/dw2-single-line-discriminators.exp
4157 * gdb.dwarf2/dw2-strp.exp
4158 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4159 * gdb.dwarf2/dw2-unresolved.exp
4160 * gdb.dwarf2/dw2-var-zero-addr.exp
4161 * gdb.dwarf2/dw4-sig-types.exp
4162 * gdb.dwarf2/dwz.exp
4163 * gdb.dwarf2/dynarr-ptr.exp
4164 * gdb.dwarf2/enum-type.exp
4165 * gdb.dwarf2/gdb-index.exp
4166 * gdb.dwarf2/implptr-64bit.exp
4167 * gdb.dwarf2/implptr-optimized-out.exp
4168 * gdb.dwarf2/implptr.exp
4169 * gdb.dwarf2/implref-array.exp
4170 * gdb.dwarf2/implref-const.exp
4171 * gdb.dwarf2/implref-global.exp
4172 * gdb.dwarf2/implref-struct.exp
4173 * gdb.dwarf2/mac-fileno.exp
4174 * gdb.dwarf2/main-subprogram.exp
4175 * gdb.dwarf2/member-ptr-forwardref.exp
4176 * gdb.dwarf2/method-ptr.exp
4177 * gdb.dwarf2/missing-sig-type.exp
4178 * gdb.dwarf2/nonvar-access.exp
4179 * gdb.dwarf2/opaque-type-lookup.exp
4180 * gdb.dwarf2/pieces-optimized-out.exp
4181 * gdb.dwarf2/pieces.exp
4182 * gdb.dwarf2/pr10770.exp
4183 * gdb.dwarf2/pr13961.exp
4184 * gdb.dwarf2/staticvirtual.exp
4185 * gdb.dwarf2/subrange.exp
4186 * gdb.dwarf2/symtab-producer.exp
4187 * gdb.dwarf2/trace-crash.exp
4188 * gdb.dwarf2/typeddwarf.exp
4189 * gdb.dwarf2/valop.exp
4190 * gdb.dwarf2/watch-notconst.exp
4191 * gdb.fortran/array-element.exp
4192 * gdb.fortran/charset.exp
4193 * gdb.fortran/common-block.exp
4194 * gdb.fortran/complex.exp
4195 * gdb.fortran/derived-type-function.exp
4196 * gdb.fortran/derived-type.exp
4197 * gdb.fortran/logical.exp
4198 * gdb.fortran/module.exp
4199 * gdb.fortran/multi-dim.exp
4200 * gdb.fortran/nested-funcs.exp
4201 * gdb.fortran/print-formatted.exp
4202 * gdb.fortran/subarray.exp
4203 * gdb.fortran/vla-alloc-assoc.exp
4204 * gdb.fortran/vla-datatypes.exp
4205 * gdb.fortran/vla-history.exp
4206 * gdb.fortran/vla-ptr-info.exp
4207 * gdb.fortran/vla-ptype-sub.exp
4208 * gdb.fortran/vla-ptype.exp
4209 * gdb.fortran/vla-sizeof.exp
4210 * gdb.fortran/vla-type.exp
4211 * gdb.fortran/vla-value-sub-arbitrary.exp
4212 * gdb.fortran/vla-value-sub-finish.exp
4213 * gdb.fortran/vla-value-sub.exp
4214 * gdb.fortran/vla-value.exp
4215 * gdb.fortran/whatis_type.exp
4216 * gdb.go/chan.exp
4217 * gdb.go/handcall.exp
4218 * gdb.go/hello.exp
4219 * gdb.go/integers.exp
4220 * gdb.go/methods.exp
4221 * gdb.go/package.exp
4222 * gdb.go/strings.exp
4223 * gdb.go/types.exp
4224 * gdb.go/unsafe.exp
4225 * gdb.guile/scm-arch.exp
4226 * gdb.guile/scm-block.exp
4227 * gdb.guile/scm-breakpoint.exp
4228 * gdb.guile/scm-cmd.exp
4229 * gdb.guile/scm-disasm.exp
4230 * gdb.guile/scm-equal.exp
4231 * gdb.guile/scm-frame-args.exp
4232 * gdb.guile/scm-frame-inline.exp
4233 * gdb.guile/scm-frame.exp
4234 * gdb.guile/scm-iterator.exp
4235 * gdb.guile/scm-math.exp
4236 * gdb.guile/scm-objfile.exp
4237 * gdb.guile/scm-ports.exp
4238 * gdb.guile/scm-symbol.exp
4239 * gdb.guile/scm-symtab.exp
4240 * gdb.guile/scm-value-cc.exp
4241 * gdb.guile/types-module.exp
4242 * gdb.linespec/break-ask.exp
4243 * gdb.linespec/cpexplicit.exp
4244 * gdb.linespec/explicit.exp
4245 * gdb.linespec/keywords.exp
4246 * gdb.linespec/linespec.exp
4247 * gdb.linespec/ls-dollar.exp
4248 * gdb.linespec/ls-errs.exp
4249 * gdb.linespec/skip-two.exp
4250 * gdb.linespec/thread.exp
4251 * gdb.mi/mi-async.exp
4252 * gdb.mi/mi-basics.exp
4253 * gdb.mi/mi-break.exp
4254 * gdb.mi/mi-catch-load.exp
4255 * gdb.mi/mi-cli.exp
4256 * gdb.mi/mi-cmd-param-changed.exp
4257 * gdb.mi/mi-console.exp
4258 * gdb.mi/mi-detach.exp
4259 * gdb.mi/mi-disassemble.exp
4260 * gdb.mi/mi-eval.exp
4261 * gdb.mi/mi-file-transfer.exp
4262 * gdb.mi/mi-file.exp
4263 * gdb.mi/mi-fill-memory.exp
4264 * gdb.mi/mi-inheritance-syntax-error.exp
4265 * gdb.mi/mi-linespec-err-cp.exp
4266 * gdb.mi/mi-logging.exp
4267 * gdb.mi/mi-memory-changed.exp
4268 * gdb.mi/mi-read-memory.exp
4269 * gdb.mi/mi-record-changed.exp
4270 * gdb.mi/mi-reg-undefined.exp
4271 * gdb.mi/mi-regs.exp
4272 * gdb.mi/mi-return.exp
4273 * gdb.mi/mi-reverse.exp
4274 * gdb.mi/mi-simplerun.exp
4275 * gdb.mi/mi-solib.exp
4276 * gdb.mi/mi-stack.exp
4277 * gdb.mi/mi-stepi.exp
4278 * gdb.mi/mi-syn-frame.exp
4279 * gdb.mi/mi-until.exp
4280 * gdb.mi/mi-var-block.exp
4281 * gdb.mi/mi-var-child.exp
4282 * gdb.mi/mi-var-cmd.exp
4283 * gdb.mi/mi-var-cp.exp
4284 * gdb.mi/mi-var-display.exp
4285 * gdb.mi/mi-var-invalidate.exp
4286 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4287 * gdb.mi/mi-vla-fortran.exp
4288 * gdb.mi/mi-watch.exp
4289 * gdb.mi/mi2-var-child.exp
4290 * gdb.mi/user-selected-context-sync.exp
4291 * gdb.modula2/unbounded-array.exp
4292 * gdb.multi/dummy-frame-restore.exp
4293 * gdb.multi/multi-arch-exec.exp
4294 * gdb.multi/multi-arch.exp
4295 * gdb.multi/tids.exp
4296 * gdb.multi/watchpoint-multi.exp
4297 * gdb.opencl/callfuncs.exp
4298 * gdb.opencl/convs_casts.exp
4299 * gdb.opencl/datatypes.exp
4300 * gdb.opencl/operators.exp
4301 * gdb.opencl/vec_comps.exp
4302 * gdb.opt/clobbered-registers-O2.exp
4303 * gdb.opt/inline-break.exp
4304 * gdb.opt/inline-bt.exp
4305 * gdb.opt/inline-cmds.exp
4306 * gdb.opt/inline-locals.exp
4307 * gdb.pascal/case-insensitive-symbols.exp
4308 * gdb.pascal/floats.exp
4309 * gdb.pascal/gdb11492.exp
4310 * gdb.python/lib-types.exp
4311 * gdb.python/py-arch.exp
4312 * gdb.python/py-as-string.exp
4313 * gdb.python/py-bad-printers.exp
4314 * gdb.python/py-block.exp
4315 * gdb.python/py-breakpoint-create-fail.exp
4316 * gdb.python/py-breakpoint.exp
4317 * gdb.python/py-caller-is.exp
4318 * gdb.python/py-cmd.exp
4319 * gdb.python/py-explore-cc.exp
4320 * gdb.python/py-explore.exp
4321 * gdb.python/py-finish-breakpoint.exp
4322 * gdb.python/py-finish-breakpoint2.exp
4323 * gdb.python/py-frame-args.exp
4324 * gdb.python/py-frame-inline.exp
4325 * gdb.python/py-frame.exp
4326 * gdb.python/py-framefilter-mi.exp
4327 * gdb.python/py-infthread.exp
4328 * gdb.python/py-lazy-string.exp
4329 * gdb.python/py-linetable.exp
4330 * gdb.python/py-mi-events.exp
4331 * gdb.python/py-mi-objfile.exp
4332 * gdb.python/py-mi.exp
4333 * gdb.python/py-objfile.exp
4334 * gdb.python/py-pp-integral.exp
4335 * gdb.python/py-pp-maint.exp
4336 * gdb.python/py-pp-re-notag.exp
4337 * gdb.python/py-pp-registration.exp
4338 * gdb.python/py-recurse-unwind.exp
4339 * gdb.python/py-strfns.exp
4340 * gdb.python/py-symbol.exp
4341 * gdb.python/py-symtab.exp
4342 * gdb.python/py-sync-interp.exp
4343 * gdb.python/py-typeprint.exp
4344 * gdb.python/py-unwind-maint.exp
4345 * gdb.python/py-unwind.exp
4346 * gdb.python/py-value-cc.exp
4347 * gdb.python/py-xmethods.exp
4348 * gdb.reverse/amd64-tailcall-reverse.exp
4349 * gdb.reverse/break-precsave.exp
4350 * gdb.reverse/break-reverse.exp
4351 * gdb.reverse/consecutive-precsave.exp
4352 * gdb.reverse/consecutive-reverse.exp
4353 * gdb.reverse/finish-precsave.exp
4354 * gdb.reverse/finish-reverse-bkpt.exp
4355 * gdb.reverse/finish-reverse.exp
4356 * gdb.reverse/fstatat-reverse.exp
4357 * gdb.reverse/getresuid-reverse.exp
4358 * gdb.reverse/i386-precsave.exp
4359 * gdb.reverse/i386-reverse.exp
4360 * gdb.reverse/i386-sse-reverse.exp
4361 * gdb.reverse/i387-env-reverse.exp
4362 * gdb.reverse/i387-stack-reverse.exp
4363 * gdb.reverse/insn-reverse.exp
4364 * gdb.reverse/machinestate-precsave.exp
4365 * gdb.reverse/machinestate.exp
4366 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4367 * gdb.reverse/pipe-reverse.exp
4368 * gdb.reverse/readv-reverse.exp
4369 * gdb.reverse/recvmsg-reverse.exp
4370 * gdb.reverse/rerun-prec.exp
4371 * gdb.reverse/s390-mvcle.exp
4372 * gdb.reverse/step-precsave.exp
4373 * gdb.reverse/step-reverse.exp
4374 * gdb.reverse/time-reverse.exp
4375 * gdb.reverse/until-precsave.exp
4376 * gdb.reverse/until-reverse.exp
4377 * gdb.reverse/waitpid-reverse.exp
4378 * gdb.reverse/watch-precsave.exp
4379 * gdb.reverse/watch-reverse.exp
4380 * gdb.rust/generics.exp
4381 * gdb.rust/methods.exp
4382 * gdb.rust/modules.exp
4383 * gdb.rust/simple.exp
4384 * gdb.server/connect-with-no-symbol-file.exp
4385 * gdb.server/ext-attach.exp
4386 * gdb.server/ext-restart.exp
4387 * gdb.server/ext-wrapper.exp
4388 * gdb.server/file-transfer.exp
4389 * gdb.server/server-exec-info.exp
4390 * gdb.server/server-kill.exp
4391 * gdb.server/server-mon.exp
4392 * gdb.server/wrapper.exp
4393 * gdb.stabs/exclfwd.exp
4394 * gdb.stabs/gdb11479.exp
4395 * gdb.threads/clone-new-thread-event.exp
4396 * gdb.threads/corethreads.exp
4397 * gdb.threads/current-lwp-dead.exp
4398 * gdb.threads/dlopen-libpthread.exp
4399 * gdb.threads/gcore-thread.exp
4400 * gdb.threads/sigstep-threads.exp
4401 * gdb.threads/watchpoint-fork.exp
4402 * gdb.trace/actions-changed.exp
4403 * gdb.trace/backtrace.exp
4404 * gdb.trace/change-loc.exp
4405 * gdb.trace/circ.exp
4406 * gdb.trace/collection.exp
4407 * gdb.trace/disconnected-tracing.exp
4408 * gdb.trace/ftrace.exp
4409 * gdb.trace/mi-trace-frame-collected.exp
4410 * gdb.trace/mi-trace-unavailable.exp
4411 * gdb.trace/mi-traceframe-changed.exp
4412 * gdb.trace/mi-tsv-changed.exp
4413 * gdb.trace/no-attach-trace.exp
4414 * gdb.trace/passc-dyn.exp
4415 * gdb.trace/qtro.exp
4416 * gdb.trace/range-stepping.exp
4417 * gdb.trace/read-memory.exp
4418 * gdb.trace/save-trace.exp
4419 * gdb.trace/signal.exp
4420 * gdb.trace/status-stop.exp
4421 * gdb.trace/tfile.exp
4422 * gdb.trace/trace-break.exp
4423 * gdb.trace/trace-buffer-size.exp
4424 * gdb.trace/trace-condition.exp
4425 * gdb.trace/tracefile-pseudo-reg.exp
4426 * gdb.trace/tstatus.exp
4427 * gdb.trace/unavailable.exp
4428 * gdb.trace/while-dyn.exp
4429 * gdb.trace/while-stepping.exp
4430
44312016-12-22 Doug Evans <xdje42@gmail.com>
4432
4433 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4434 and msymbols.
4435
44362016-12-19 Yao Qi <yao.qi@linaro.org>
4437
4438 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4439 (test_with_self): Don't call do_steps_and_nexts, and remove
4440 code about stepping into xmalloc.
4441
44422016-12-09 Yao Qi <yao.qi@linaro.org>
4443
4444 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4445
44462016-12-09 Yao Qi <yao.qi@linaro.org>
4447
4448 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4449
44502016-12-09 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.base/all-architectures-0.exp: New file.
4453 * gdb.base/all-architectures-1.exp: New file.
4454 * gdb.base/all-architectures-2.exp: New file.
4455 * gdb.base/all-architectures-3.exp: New file.
4456 * gdb.base/all-architectures-4.exp: New file.
4457 * gdb.base/all-architectures-5.exp: New file.
4458 * gdb.base/all-architectures-6.exp: New file.
4459 * gdb.base/all-architectures-7.exp: New file.
4460 * gdb.base/all-architectures.exp.in: New file.
4461
44622016-12-09 Yao Qi <yao.qi@linaro.org>
4463
4464 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4465
44662016-12-02 Luis Machado <lgustavo@codesourcery.com>
4467
4468 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4469 possible.
4470 Remove useless pattern-matching code.
4471
44722016-12-02 Pedro Alves <palves@redhat.com>
4473
4474 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4475 procedure.
4476 (top level): Call it.
4477
44782016-12-02 Pedro Alves <palves@redhat.com>
4479
4480 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4481 New procedure.
4482 (top level): Call it.
4483
44842016-12-02 Pedro Alves <palves@redhat.com>
4485
4486 PR cli/20559
4487 * gdb.base/commands.exp (user_defined_command_args_eval): New
4488 procedure.
4489 (top level): Call it.
4490
44912016-12-02 Luis Machado <lgustavo@codesourcery.com>
4492
4493 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4494 timeout handling.
4495
44962016-12-02 Tom Tromey <tom@tromey.com>
4497
4498 * gdb.dwarf2/main-subprogram.c: New file.
4499 * gdb.dwarf2/main-subprogram.exp: New file.
4500
45012016-12-01 Luis Machado <lgustavo@codesourcery.com>
4502
4503 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4504 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4505 gdb_test_no_output for a couple of cases.
4506 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4507
45082016-12-01 Luis Machado <lgustavo@codesourcery.com>
4509
4510 Fix test names and standardize compilation error messages throughout
4511 the following files:
4512
4513 * gdb.ada/start.exp
4514 * gdb.arch/alpha-step.exp
4515 * gdb.arch/e500-prologue.exp
4516 * gdb.arch/ftrace-insn-reloc.exp
4517 * gdb.arch/gdb1291.exp
4518 * gdb.arch/gdb1431.exp
4519 * gdb.arch/gdb1558.exp
4520 * gdb.arch/i386-dr3-watch.exp
4521 * gdb.arch/i386-sse-stack-align.exp
4522 * gdb.arch/ia64-breakpoint-shadow.exp
4523 * gdb.arch/pa-nullify.exp
4524 * gdb.arch/powerpc-aix-prologue.exp
4525 * gdb.arch/thumb-bx-pc.exp
4526 * gdb.base/annota1.exp
4527 * gdb.base/annota3.exp
4528 * gdb.base/arrayidx.exp
4529 * gdb.base/assign.exp
4530 * gdb.base/attach.exp
4531 * gdb.base/auxv.exp
4532 * gdb.base/bang.exp
4533 * gdb.base/bfp-test.exp
4534 * gdb.base/bigcore.exp
4535 * gdb.base/bitfields2.exp
4536 * gdb.base/break-fun-addr.exp
4537 * gdb.base/break-probes.exp
4538 * gdb.base/call-rt-st.exp
4539 * gdb.base/callexit.exp
4540 * gdb.base/catch-fork-kill.exp
4541 * gdb.base/charset.exp
4542 * gdb.base/checkpoint.exp
4543 * gdb.base/comprdebug.exp
4544 * gdb.base/constvars.exp
4545 * gdb.base/coredump-filter.exp
4546 * gdb.base/cursal.exp
4547 * gdb.base/cvexpr.exp
4548 * gdb.base/detach.exp
4549 * gdb.base/display.exp
4550 * gdb.base/dmsym.exp
4551 * gdb.base/dprintf-pending.exp
4552 * gdb.base/dso2dso.exp
4553 * gdb.base/dtrace-probe.exp
4554 * gdb.base/dump.exp
4555 * gdb.base/enum_cond.exp
4556 * gdb.base/exe-lock.exp
4557 * gdb.base/exec-invalid-sysroot.exp
4558 * gdb.base/execl-update-breakpoints.exp
4559 * gdb.base/exprs.exp
4560 * gdb.base/fileio.exp
4561 * gdb.base/find.exp
4562 * gdb.base/finish.exp
4563 * gdb.base/fixsection.exp
4564 * gdb.base/foll-vfork.exp
4565 * gdb.base/frame-args.exp
4566 * gdb.base/gcore.exp
4567 * gdb.base/gdb1250.exp
4568 * gdb.base/global-var-nested-by-dso.exp
4569 * gdb.base/gnu-ifunc.exp
4570 * gdb.base/hashline1.exp
4571 * gdb.base/hashline2.exp
4572 * gdb.base/hashline3.exp
4573 * gdb.base/hbreak-in-shr-unsupported.exp
4574 * gdb.base/huge.exp
4575 * gdb.base/infcall-input.exp
4576 * gdb.base/info-fun.exp
4577 * gdb.base/info-shared.exp
4578 * gdb.base/jit-simple.exp
4579 * gdb.base/jit-so.exp
4580 * gdb.base/jit.exp
4581 * gdb.base/jump.exp
4582 * gdb.base/label.exp
4583 * gdb.base/lineinc.exp
4584 * gdb.base/logical.exp
4585 * gdb.base/longjmp.exp
4586 * gdb.base/macscp.exp
4587 * gdb.base/miscexprs.exp
4588 * gdb.base/new-ui-echo.exp
4589 * gdb.base/new-ui-pending-input.exp
4590 * gdb.base/new-ui.exp
4591 * gdb.base/nodebug.exp
4592 * gdb.base/nofield.exp
4593 * gdb.base/offsets.exp
4594 * gdb.base/overlays.exp
4595 * gdb.base/pending.exp
4596 * gdb.base/pointers.exp
4597 * gdb.base/pr11022.exp
4598 * gdb.base/printcmds.exp
4599 * gdb.base/prologue.exp
4600 * gdb.base/ptr-typedef.exp
4601 * gdb.base/realname-expand.exp
4602 * gdb.base/relativedebug.exp
4603 * gdb.base/relocate.exp
4604 * gdb.base/remote.exp
4605 * gdb.base/reread.exp
4606 * gdb.base/return2.exp
4607 * gdb.base/savedregs.exp
4608 * gdb.base/sep.exp
4609 * gdb.base/sepdebug.exp
4610 * gdb.base/sepsymtab.exp
4611 * gdb.base/set-inferior-tty.exp
4612 * gdb.base/setshow.exp
4613 * gdb.base/shlib-call.exp
4614 * gdb.base/sigaltstack.exp
4615 * gdb.base/siginfo-addr.exp
4616 * gdb.base/signals.exp
4617 * gdb.base/signull.exp
4618 * gdb.base/sigrepeat.exp
4619 * gdb.base/so-impl-ld.exp
4620 * gdb.base/solib-display.exp
4621 * gdb.base/solib-overlap.exp
4622 * gdb.base/solib-search.exp
4623 * gdb.base/solib-symbol.exp
4624 * gdb.base/structs.exp
4625 * gdb.base/structs2.exp
4626 * gdb.base/symtab-search-order.exp
4627 * gdb.base/twice.exp
4628 * gdb.base/unload.exp
4629 * gdb.base/varargs.exp
4630 * gdb.base/watchpoint-solib.exp
4631 * gdb.base/watchpoint.exp
4632 * gdb.base/whatis.exp
4633 * gdb.base/wrong_frame_bt_full.exp
4634 * gdb.btrace/dlopen.exp
4635 * gdb.cell/ea-standalone.exp
4636 * gdb.cell/ea-test.exp
4637 * gdb.cp/dispcxx.exp
4638 * gdb.cp/gdb2384.exp
4639 * gdb.cp/method2.exp
4640 * gdb.cp/nextoverthrow.exp
4641 * gdb.cp/pr10728.exp
4642 * gdb.disasm/am33.exp
4643 * gdb.disasm/h8300s.exp
4644 * gdb.disasm/mn10300.exp
4645 * gdb.disasm/sh3.exp
4646 * gdb.dwarf2/dw2-dir-file-name.exp
4647 * gdb.fortran/complex.exp
4648 * gdb.fortran/library-module.exp
4649 * gdb.guile/scm-pretty-print.exp
4650 * gdb.guile/scm-symbol.exp
4651 * gdb.guile/scm-type.exp
4652 * gdb.guile/scm-value.exp
4653 * gdb.linespec/linespec.exp
4654 * gdb.mi/gdb701.exp
4655 * gdb.mi/gdb792.exp
4656 * gdb.mi/mi-breakpoint-changed.exp
4657 * gdb.mi/mi-dprintf-pending.exp
4658 * gdb.mi/mi-dprintf.exp
4659 * gdb.mi/mi-exit-code.exp
4660 * gdb.mi/mi-pending.exp
4661 * gdb.mi/mi-solib.exp
4662 * gdb.mi/new-ui-mi-sync.exp
4663 * gdb.mi/pr11022.exp
4664 * gdb.mi/user-selected-context-sync.exp
4665 * gdb.opt/solib-intra-step.exp
4666 * gdb.python/py-events.exp
4667 * gdb.python/py-finish-breakpoint.exp
4668 * gdb.python/py-mi.exp
4669 * gdb.python/py-prettyprint.exp
4670 * gdb.python/py-shared.exp
4671 * gdb.python/py-symbol.exp
4672 * gdb.python/py-template.exp
4673 * gdb.python/py-type.exp
4674 * gdb.python/py-value.exp
4675 * gdb.reverse/solib-precsave.exp
4676 * gdb.reverse/solib-reverse.exp
4677 * gdb.server/solib-list.exp
4678 * gdb.stabs/weird.exp
4679 * gdb.threads/reconnect-signal.exp
4680 * gdb.threads/stepi-random-signal.exp
4681 * gdb.trace/actions.exp
4682 * gdb.trace/ax.exp
4683 * gdb.trace/backtrace.exp
4684 * gdb.trace/change-loc.exp
4685 * gdb.trace/deltrace.exp
4686 * gdb.trace/ftrace-lock.exp
4687 * gdb.trace/ftrace.exp
4688 * gdb.trace/infotrace.exp
4689 * gdb.trace/mi-tracepoint-changed.exp
4690 * gdb.trace/packetlen.exp
4691 * gdb.trace/passcount.exp
4692 * gdb.trace/pending.exp
4693 * gdb.trace/range-stepping.exp
4694 * gdb.trace/report.exp
4695 * gdb.trace/stap-trace.exp
4696 * gdb.trace/tfind.exp
4697 * gdb.trace/trace-break.exp
4698 * gdb.trace/trace-condition.exp
4699 * gdb.trace/trace-enable-disable.exp
4700 * gdb.trace/trace-mt.exp
4701 * gdb.trace/tracecmd.exp
4702 * gdb.trace/tspeed.exp
4703 * gdb.trace/tsv.exp
4704 * lib/perftest.exp
4705
47062016-12-01 Luis Machado <lgustavo@codesourcery.com>
4707
4708 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4709 with gdb_test_no_output.
4710 Use command as test name.
4711
47122016-12-01 Luis Machado <lgustavo@codesourcery.com>
4713
4714 Fix test names starting with uppercase throughout the files.
4715
4716 * gdb.ada/assign_1.exp
4717 * gdb.ada/boolean_expr.exp
4718 * gdb.base/arrayidx.exp
4719 * gdb.base/del.exp
4720 * gdb.base/gcore-buffer-overflow.exp
4721 * gdb.base/testenv.exp
4722 * gdb.compile/compile.exp
4723 * gdb.python/py-framefilter-invalidarg.exp
4724 * gdb.python/py-framefilter.exp
4725
47262016-12-01 Luis Machado <lgustavo@codesourcery.com>
4727
4728 Fix test names starting with uppercase throughout the files.
4729
4730 * gdb.ada/array_return.exp
4731 * gdb.ada/expr_delims.exp
4732 * gdb.ada/mi_dyn_arr.exp
4733 * gdb.ada/mi_interface.exp
4734 * gdb.ada/mi_var_array.exp
4735 * gdb.ada/watch_arg.exp
4736 * gdb.arch/alpha-step.exp
4737 * gdb.arch/altivec-regs.exp
4738 * gdb.arch/e500-regs.exp
4739 * gdb.arch/powerpc-d128-regs.exp
4740 * gdb.base/arrayidx.exp
4741 * gdb.base/break.exp
4742 * gdb.base/checkpoint.exp
4743 * gdb.base/debug-expr.exp
4744 * gdb.base/dmsym.exp
4745 * gdb.base/radix.exp
4746 * gdb.base/sepdebug.exp
4747 * gdb.base/testenv.exp
4748 * gdb.base/watch_thread_num.exp
4749 * gdb.base/watchpoint-cond-gone.exp
4750 * gdb.cell/break.exp
4751 * gdb.cell/ea-cache.exp
4752 * gdb.compile/compile.exp
4753 * gdb.cp/gdb2495.exp
4754 * gdb.gdb/selftest.exp
4755 * gdb.gdb/xfullpath.exp
4756 * gdb.go/hello.exp
4757 * gdb.go/integers.exp
4758 * gdb.objc/basicclass.exp
4759 * gdb.pascal/hello.exp
4760 * gdb.pascal/integers.exp
4761 * gdb.python/py-breakpoint.exp
4762 * gdb.python/py-cmd.exp
4763 * gdb.python/py-linetable.exp
4764 * gdb.python/py-xmethods.exp
4765 * gdb.python/python.exp
4766 * gdb.reverse/consecutive-precsave.exp
4767 * gdb.reverse/finish-precsave.exp
4768 * gdb.reverse/i386-precsave.exp
4769 * gdb.reverse/machinestate-precsave.exp
4770 * gdb.reverse/sigall-precsave.exp
4771 * gdb.reverse/solib-precsave.exp
4772 * gdb.reverse/step-precsave.exp
4773 * gdb.reverse/until-precsave.exp
4774 * gdb.reverse/watch-precsave.exp
4775 * gdb.threads/leader-exit.exp
4776 * gdb.threads/pthreads.exp
4777 * gdb.threads/wp-replication.exp
4778 * gdb.trace/actions.exp
4779 * gdb.trace/mi-tsv-changed.exp
4780 * gdb.trace/tsv.exp
4781
47822016-12-01 Luis Machado <lgustavo@codesourcery.com>
4783
4784 Fix test names starting with uppercase throughout the files.
4785
4786 * gdb.arch/i386-bp_permanent.exp
4787 * gdb.arch/i386-gnu-cfi.exp
4788 * gdb.base/disasm-end-cu.exp
4789 * gdb.base/macscp.exp
4790 * gdb.base/pending.exp
4791 * gdb.base/watch_thread_num.exp
4792 * gdb.cp/exception.exp
4793 * gdb.cp/gdb2495.exp
4794 * gdb.cp/local.exp
4795 * gdb.python/py-evsignal.exp
4796 * gdb.python/python.exp
4797 * gdb.trace/tracecmd.exp
4798
47992016-12-01 Luis Machado <lgustavo@codesourcery.com>
4800
4801 Fix test names starting with uppercase throughout the files.
4802
4803 * gdb.base/charset.exp
4804 * gdb.base/eval.exp
4805 * gdb.base/multi-forks.exp
4806 * gdb.guile/scm-progspace.exp
4807 * gdb.opencl/datatypes.exp
4808 * gdb.python/py-block.exp
4809 * gdb.python/py-function.exp
4810 * gdb.python/py-symbol.exp
4811 * gdb.python/py-symtab.exp
4812 * gdb.python/py-xmethods.exp
4813 * gdb.reverse/break-precsave.exp
4814 * gdb.reverse/break-reverse.exp
4815 * gdb.reverse/consecutive-precsave.exp
4816 * gdb.reverse/consecutive-reverse.exp
4817 * gdb.reverse/finish-precsave.exp
4818 * gdb.reverse/finish-reverse-bkpt.exp
4819 * gdb.reverse/finish-reverse.exp
4820 * gdb.reverse/fstatat-reverse.exp
4821 * gdb.reverse/getresuid-reverse.exp
4822 * gdb.reverse/i386-precsave.exp
4823 * gdb.reverse/i386-reverse.exp
4824 * gdb.reverse/i386-sse-reverse.exp
4825 * gdb.reverse/i387-stack-reverse.exp
4826 * gdb.reverse/insn-reverse.exp
4827 * gdb.reverse/machinestate-precsave.exp
4828 * gdb.reverse/machinestate.exp
4829 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4830 * gdb.reverse/pipe-reverse.exp
4831 * gdb.reverse/readv-reverse.exp
4832 * gdb.reverse/recvmsg-reverse.exp
4833 * gdb.reverse/rerun-prec.exp
4834 * gdb.reverse/s390-mvcle.exp
4835 * gdb.reverse/sigall-precsave.exp
4836 * gdb.reverse/sigall-reverse.exp
4837 * gdb.reverse/solib-precsave.exp
4838 * gdb.reverse/solib-reverse.exp
4839 * gdb.reverse/step-precsave.exp
4840 * gdb.reverse/step-reverse.exp
4841 * gdb.reverse/time-reverse.exp
4842 * gdb.reverse/until-precsave.exp
4843 * gdb.reverse/until-reverse.exp
4844 * gdb.reverse/waitpid-reverse.exp
4845 * gdb.reverse/watch-precsave.exp
4846 * gdb.reverse/watch-reverse.exp
4847
48482016-12-01 Luis Machado <lgustavo@codesourcery.com>
4849
4850 Fix test names starting with uppercase throughout the files.
4851
4852 * gdb.arch/i386-mpx-simple_segv.exp
4853 * gdb.arch/i386-mpx.exp
4854 * gdb.arch/i386-permbkpt.exp
4855 * gdb.arch/pa-nullify.exp
4856 * gdb.arch/powerpc-d128-regs.exp
4857 * gdb.arch/vsx-regs.exp
4858 * gdb.base/bfp-test.exp
4859 * gdb.base/break.exp
4860 * gdb.base/breakpoint-shadow.exp
4861 * gdb.base/callfuncs.exp
4862 * gdb.base/charset.exp
4863 * gdb.base/commands.exp
4864 * gdb.base/completion.exp
4865 * gdb.base/dfp-test.exp
4866 * gdb.base/echo.exp
4867 * gdb.base/ending-run.exp
4868 * gdb.base/eval.exp
4869 * gdb.base/expand-psymtabs.exp
4870 * gdb.base/float128.exp
4871 * gdb.base/floatn.exp
4872 * gdb.base/foll-exec-mode.exp
4873 * gdb.base/gdb1056.exp
4874 * gdb.base/gdb11531.exp
4875 * gdb.base/kill-after-signal.exp
4876 * gdb.base/multi-forks.exp
4877 * gdb.base/overlays.exp
4878 * gdb.base/pending.exp
4879 * gdb.base/sepdebug.exp
4880 * gdb.base/testenv.exp
4881 * gdb.base/valgrind-db-attach.exp
4882 * gdb.base/watch_thread_num.exp
4883 * gdb.base/watchpoint-cond-gone.exp
4884 * gdb.base/watchpoint.exp
4885 * gdb.base/watchpoints.exp
4886 * gdb.cp/arg-reference.exp
4887 * gdb.cp/baseenum.exp
4888 * gdb.cp/operator.exp
4889 * gdb.cp/shadow.exp
4890 * gdb.dwarf2/dw2-op-out-param.exp
4891 * gdb.dwarf2/dw2-reg-undefined.exp
4892 * gdb.go/chan.exp
4893 * gdb.go/hello.exp
4894 * gdb.go/integers.exp
4895 * gdb.go/methods.exp
4896 * gdb.go/package.exp
4897 * gdb.guile/scm-parameter.exp
4898 * gdb.guile/scm-progspace.exp
4899 * gdb.guile/scm-value.exp
4900 * gdb.mi/mi-pending.exp
4901 * gdb.mi/user-selected-context-sync.exp
4902 * gdb.multi/multi-attach.exp
4903 * gdb.multi/tids.exp
4904 * gdb.opt/clobbered-registers-O2.exp
4905 * gdb.pascal/floats.exp
4906 * gdb.pascal/integers.exp
4907 * gdb.python/py-block.exp
4908 * gdb.python/py-events.exp
4909 * gdb.python/py-parameter.exp
4910 * gdb.python/py-symbol.exp
4911 * gdb.python/py-symtab.exp
4912 * gdb.python/py-type.exp
4913 * gdb.python/py-value.exp
4914 * gdb.python/py-xmethods.exp
4915 * gdb.python/python.exp
4916 * gdb.reverse/break-precsave.exp
4917 * gdb.reverse/consecutive-precsave.exp
4918 * gdb.reverse/finish-precsave.exp
4919 * gdb.reverse/i386-precsave.exp
4920 * gdb.reverse/machinestate-precsave.exp
4921 * gdb.reverse/sigall-precsave.exp
4922 * gdb.reverse/solib-precsave.exp
4923 * gdb.reverse/step-precsave.exp
4924 * gdb.reverse/until-precsave.exp
4925 * gdb.reverse/watch-precsave.exp
4926 * gdb.server/ext-attach.exp
4927 * gdb.server/ext-restart.exp
4928 * gdb.server/ext-run.exp
4929 * gdb.server/ext-wrapper.exp
4930 * gdb.stabs/gdb11479.exp
4931 * gdb.stabs/weird.exp
4932 * gdb.threads/attach-many-short-lived-threads.exp
4933 * gdb.threads/kill.exp
4934 * gdb.threads/watchpoint-fork.exp
4935
49362016-12-01 Luis Machado <lgustavo@codesourcery.com>
4937
4938 Fix test names starting with uppercase throughout all the files below.
4939
4940 * gdb.ada/array_return.exp
4941 * gdb.ada/catch_ex.exp
4942 * gdb.ada/info_exc.exp
4943 * gdb.ada/mi_catch_ex.exp
4944 * gdb.ada/mi_dyn_arr.exp
4945 * gdb.ada/mi_ex_cond.exp
4946 * gdb.ada/mi_exc_info.exp
4947 * gdb.ada/mi_interface.exp
4948 * gdb.ada/mi_task_arg.exp
4949 * gdb.ada/mi_task_info.exp
4950 * gdb.ada/mi_var_array.exp
4951 * gdb.arch/alpha-step.exp
4952 * gdb.arch/amd64-disp-step.exp
4953 * gdb.arch/arm-disp-step.exp
4954 * gdb.arch/disp-step-insn-reloc.exp
4955 * gdb.arch/e500-prologue.exp
4956 * gdb.arch/ftrace-insn-reloc.exp
4957 * gdb.arch/gdb1558.exp
4958 * gdb.arch/i386-bp_permanent.exp
4959 * gdb.arch/i386-disp-step.exp
4960 * gdb.arch/i386-float.exp
4961 * gdb.arch/i386-gnu-cfi.exp
4962 * gdb.arch/ia64-breakpoint-shadow.exp
4963 * gdb.arch/mips16-thunks.exp
4964 * gdb.arch/pa-nullify.exp
4965 * gdb.arch/powerpc-aix-prologue.exp
4966 * gdb.arch/powerpc-power.exp
4967 * gdb.arch/ppc-dfp.exp
4968 * gdb.arch/s390-tdbregs.exp
4969 * gdb.arch/spu-info.exp
4970 * gdb.arch/spu-ls.exp
4971 * gdb.arch/thumb-bx-pc.exp
4972 * gdb.base/advance.exp
4973 * gdb.base/annota-input-while-running.exp
4974 * gdb.base/arrayidx.exp
4975 * gdb.base/asmlabel.exp
4976 * gdb.base/async.exp
4977 * gdb.base/attach-wait-input.exp
4978 * gdb.base/auto-connect-native-target.exp
4979 * gdb.base/batch-preserve-term-settings.exp
4980 * gdb.base/bfp-test.exp
4981 * gdb.base/bigcore.exp
4982 * gdb.base/bp-permanent.exp
4983 * gdb.base/break-always.exp
4984 * gdb.base/break-fun-addr.exp
4985 * gdb.base/break-idempotent.exp
4986 * gdb.base/break-main-file-remove-fail.exp
4987 * gdb.base/break-probes.exp
4988 * gdb.base/break-unload-file.exp
4989 * gdb.base/break.exp
4990 * gdb.base/call-ar-st.exp
4991 * gdb.base/call-rt-st.exp
4992 * gdb.base/call-sc.exp
4993 * gdb.base/call-signal-resume.exp
4994 * gdb.base/call-strs.exp
4995 * gdb.base/callexit.exp
4996 * gdb.base/callfuncs.exp
4997 * gdb.base/catch-gdb-caused-signals.exp
4998 * gdb.base/catch-signal-siginfo-cond.exp
4999 * gdb.base/catch-syscall.exp
5000 * gdb.base/compare-sections.exp
5001 * gdb.base/cond-eval-mode.exp
5002 * gdb.base/condbreak-call-false.exp
5003 * gdb.base/consecutive-step-over.exp
5004 * gdb.base/cursal.exp
5005 * gdb.base/disabled-location.exp
5006 * gdb.base/disasm-end-cu.exp
5007 * gdb.base/display.exp
5008 * gdb.base/double-prompt-target-event-error.exp
5009 * gdb.base/dprintf-bp-same-addr.exp
5010 * gdb.base/dprintf-detach.exp
5011 * gdb.base/dprintf-next.exp
5012 * gdb.base/dprintf-non-stop.exp
5013 * gdb.base/dprintf-pending.exp
5014 * gdb.base/dso2dso.exp
5015 * gdb.base/ending-run.exp
5016 * gdb.base/enum_cond.exp
5017 * gdb.base/examine-backward.exp
5018 * gdb.base/exe-lock.exp
5019 * gdb.base/exec-invalid-sysroot.exp
5020 * gdb.base/execl-update-breakpoints.exp
5021 * gdb.base/execution-termios.exp
5022 * gdb.base/fileio.exp
5023 * gdb.base/fixsection.exp
5024 * gdb.base/foll-exec-mode.exp
5025 * gdb.base/foll-exec.exp
5026 * gdb.base/fork-running-state.exp
5027 * gdb.base/frame-args.exp
5028 * gdb.base/fullpath-expand.exp
5029 * gdb.base/func-ptr.exp
5030 * gdb.base/gcore-relro-pie.exp
5031 * gdb.base/gdb1090.exp
5032 * gdb.base/gdb1555.exp
5033 * gdb.base/global-var-nested-by-dso.exp
5034 * gdb.base/gnu-ifunc.exp
5035 * gdb.base/hbreak-in-shr-unsupported.exp
5036 * gdb.base/hbreak-unmapped.exp
5037 * gdb.base/hook-stop.exp
5038 * gdb.base/infcall-input.exp
5039 * gdb.base/info-fun.exp
5040 * gdb.base/info-shared.exp
5041 * gdb.base/interrupt-noterm.exp
5042 * gdb.base/jit-so.exp
5043 * gdb.base/jit.exp
5044 * gdb.base/line-symtabs.exp
5045 * gdb.base/list.exp
5046 * gdb.base/longjmp.exp
5047 * gdb.base/macscp.exp
5048 * gdb.base/max-value-size.exp
5049 * gdb.base/nodebug.exp
5050 * gdb.base/nofield.exp
5051 * gdb.base/overlays.exp
5052 * gdb.base/paginate-after-ctrl-c-running.exp
5053 * gdb.base/paginate-bg-execution.exp
5054 * gdb.base/paginate-inferior-exit.exp
5055 * gdb.base/pending.exp
5056 * gdb.base/pr11022.exp
5057 * gdb.base/printcmds.exp
5058 * gdb.base/ptr-typedef.exp
5059 * gdb.base/ptype.exp
5060 * gdb.base/randomize.exp
5061 * gdb.base/range-stepping.exp
5062 * gdb.base/realname-expand.exp
5063 * gdb.base/relativedebug.exp
5064 * gdb.base/remote.exp
5065 * gdb.base/savedregs.exp
5066 * gdb.base/sepdebug.exp
5067 * gdb.base/set-noassign.exp
5068 * gdb.base/shlib-call.exp
5069 * gdb.base/shreloc.exp
5070 * gdb.base/sigaltstack.exp
5071 * gdb.base/sigbpt.exp
5072 * gdb.base/siginfo-addr.exp
5073 * gdb.base/siginfo-obj.exp
5074 * gdb.base/siginfo-thread.exp
5075 * gdb.base/signest.exp
5076 * gdb.base/signull.exp
5077 * gdb.base/sigrepeat.exp
5078 * gdb.base/skip.exp
5079 * gdb.base/so-impl-ld.exp
5080 * gdb.base/solib-corrupted.exp
5081 * gdb.base/solib-disc.exp
5082 * gdb.base/solib-display.exp
5083 * gdb.base/solib-overlap.exp
5084 * gdb.base/solib-search.exp
5085 * gdb.base/solib-symbol.exp
5086 * gdb.base/source-execution.exp
5087 * gdb.base/sss-bp-on-user-bp-2.exp
5088 * gdb.base/sss-bp-on-user-bp.exp
5089 * gdb.base/stack-checking.exp
5090 * gdb.base/stale-infcall.exp
5091 * gdb.base/step-break.exp
5092 * gdb.base/step-line.exp
5093 * gdb.base/step-over-exit.exp
5094 * gdb.base/step-test.exp
5095 * gdb.base/structs.exp
5096 * gdb.base/sym-file.exp
5097 * gdb.base/symtab-search-order.exp
5098 * gdb.base/term.exp
5099 * gdb.base/type-opaque.exp
5100 * gdb.base/unload.exp
5101 * gdb.base/until-nodebug.exp
5102 * gdb.base/until.exp
5103 * gdb.base/unwindonsignal.exp
5104 * gdb.base/watch-cond.exp
5105 * gdb.base/watch-non-mem.exp
5106 * gdb.base/watch_thread_num.exp
5107 * gdb.base/watchpoint-reuse-slot.exp
5108 * gdb.base/watchpoint-solib.exp
5109 * gdb.base/watchpoint.exp
5110 * gdb.btrace/dlopen.exp
5111 * gdb.cell/arch.exp
5112 * gdb.cell/break.exp
5113 * gdb.cell/bt.exp
5114 * gdb.cell/core.exp
5115 * gdb.cell/data.exp
5116 * gdb.cell/dwarfaddr.exp
5117 * gdb.cell/ea-cache.exp
5118 * gdb.cell/ea-standalone.exp
5119 * gdb.cell/ea-test.exp
5120 * gdb.cell/f-regs.exp
5121 * gdb.cell/fork.exp
5122 * gdb.cell/gcore.exp
5123 * gdb.cell/mem-access.exp
5124 * gdb.cell/ptype.exp
5125 * gdb.cell/registers.exp
5126 * gdb.cell/sizeof.exp
5127 * gdb.cell/solib-symbol.exp
5128 * gdb.cell/solib.exp
5129 * gdb.compile/compile-tls.exp
5130 * gdb.cp/exception.exp
5131 * gdb.cp/gdb2495.exp
5132 * gdb.cp/local.exp
5133 * gdb.cp/mb-inline.exp
5134 * gdb.cp/mb-templates.exp
5135 * gdb.cp/pr10687.exp
5136 * gdb.cp/pr9167.exp
5137 * gdb.cp/scope-err.exp
5138 * gdb.cp/templates.exp
5139 * gdb.cp/virtfunc.exp
5140 * gdb.dwarf2/dw2-dir-file-name.exp
5141 * gdb.dwarf2/dw2-single-line-discriminators.exp
5142 * gdb.fortran/complex.exp
5143 * gdb.fortran/library-module.exp
5144 * gdb.guile/guile.exp
5145 * gdb.guile/scm-cmd.exp
5146 * gdb.guile/scm-frame-inline.exp
5147 * gdb.guile/scm-objfile.exp
5148 * gdb.guile/scm-pretty-print.exp
5149 * gdb.guile/scm-symbol.exp
5150 * gdb.guile/scm-type.exp
5151 * gdb.guile/scm-value.exp
5152 * gdb.linespec/keywords.exp
5153 * gdb.linespec/ls-errs.exp
5154 * gdb.linespec/macro-relative.exp
5155 * gdb.linespec/thread.exp
5156 * gdb.mi/mi-breakpoint-changed.exp
5157 * gdb.mi/mi-dprintf-pending.exp
5158 * gdb.mi/mi-fullname-deleted.exp
5159 * gdb.mi/mi-logging.exp
5160 * gdb.mi/mi-pending.exp
5161 * gdb.mi/mi-solib.exp
5162 * gdb.mi/new-ui-mi-sync.exp
5163 * gdb.mi/user-selected-context-sync.exp
5164 * gdb.multi/dummy-frame-restore.exp
5165 * gdb.multi/multi-arch-exec.exp
5166 * gdb.multi/remove-inferiors.exp
5167 * gdb.multi/watchpoint-multi-exit.exp
5168 * gdb.opt/solib-intra-step.exp
5169 * gdb.perf/backtrace.exp
5170 * gdb.perf/single-step.exp
5171 * gdb.perf/skip-command.exp
5172 * gdb.perf/skip-prologue.exp
5173 * gdb.perf/solib.exp
5174 * gdb.python/lib-types.exp
5175 * gdb.python/py-as-string.exp
5176 * gdb.python/py-bad-printers.exp
5177 * gdb.python/py-block.exp
5178 * gdb.python/py-breakpoint.exp
5179 * gdb.python/py-cmd.exp
5180 * gdb.python/py-events.exp
5181 * gdb.python/py-evthreads.exp
5182 * gdb.python/py-finish-breakpoint.exp
5183 * gdb.python/py-finish-breakpoint2.exp
5184 * gdb.python/py-frame-inline.exp
5185 * gdb.python/py-frame.exp
5186 * gdb.python/py-inferior.exp
5187 * gdb.python/py-infthread.exp
5188 * gdb.python/py-mi.exp
5189 * gdb.python/py-objfile.exp
5190 * gdb.python/py-pp-maint.exp
5191 * gdb.python/py-pp-registration.exp
5192 * gdb.python/py-prettyprint.exp
5193 * gdb.python/py-recurse-unwind.exp
5194 * gdb.python/py-shared.exp
5195 * gdb.python/py-symbol.exp
5196 * gdb.python/py-symtab.exp
5197 * gdb.python/py-template.exp
5198 * gdb.python/py-type.exp
5199 * gdb.python/py-unwind-maint.exp
5200 * gdb.python/py-unwind.exp
5201 * gdb.python/py-value.exp
5202 * gdb.python/python.exp
5203 * gdb.reverse/finish-reverse-bkpt.exp
5204 * gdb.reverse/insn-reverse.exp
5205 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5206 * gdb.reverse/solib-precsave.exp
5207 * gdb.reverse/solib-reverse.exp
5208 * gdb.stabs/gdb11479.exp
5209 * gdb.stabs/weird.exp
5210 * gdb.threads/fork-child-threads.exp
5211 * gdb.threads/fork-plus-threads.exp
5212 * gdb.threads/fork-thread-pending.exp
5213 * gdb.threads/forking-threads-plus-breakpoint.exp
5214 * gdb.threads/hand-call-in-threads.exp
5215 * gdb.threads/interrupted-hand-call.exp
5216 * gdb.threads/linux-dp.exp
5217 * gdb.threads/local-watch-wrong-thread.exp
5218 * gdb.threads/next-while-other-thread-longjmps.exp
5219 * gdb.threads/non-ldr-exit.exp
5220 * gdb.threads/pending-step.exp
5221 * gdb.threads/print-threads.exp
5222 * gdb.threads/process-dies-while-detaching.exp
5223 * gdb.threads/process-dies-while-handling-bp.exp
5224 * gdb.threads/pthreads.exp
5225 * gdb.threads/queue-signal.exp
5226 * gdb.threads/reconnect-signal.exp
5227 * gdb.threads/signal-command-handle-nopass.exp
5228 * gdb.threads/signal-command-multiple-signals-pending.exp
5229 * gdb.threads/signal-delivered-right-thread.exp
5230 * gdb.threads/signal-sigtrap.exp
5231 * gdb.threads/sigthread.exp
5232 * gdb.threads/staticthreads.exp
5233 * gdb.threads/stepi-random-signal.exp
5234 * gdb.threads/thread-unwindonsignal.exp
5235 * gdb.threads/thread_check.exp
5236 * gdb.threads/thread_events.exp
5237 * gdb.threads/tid-reuse.exp
5238 * gdb.threads/tls-nodebug.exp
5239 * gdb.threads/tls-shared.exp
5240 * gdb.threads/tls-so_extern.exp
5241 * gdb.threads/tls.exp
5242 * gdb.threads/wp-replication.exp
5243 * gdb.trace/actions-changed.exp
5244 * gdb.trace/actions.exp
5245 * gdb.trace/backtrace.exp
5246 * gdb.trace/change-loc.exp
5247 * gdb.trace/collection.exp
5248 * gdb.trace/deltrace.exp
5249 * gdb.trace/disconnected-tracing.exp
5250 * gdb.trace/entry-values.exp
5251 * gdb.trace/ftrace-lock.exp
5252 * gdb.trace/ftrace.exp
5253 * gdb.trace/infotrace.exp
5254 * gdb.trace/mi-trace-frame-collected.exp
5255 * gdb.trace/mi-trace-unavailable.exp
5256 * gdb.trace/mi-traceframe-changed.exp
5257 * gdb.trace/mi-tracepoint-changed.exp
5258 * gdb.trace/mi-tsv-changed.exp
5259 * gdb.trace/no-attach-trace.exp
5260 * gdb.trace/packetlen.exp
5261 * gdb.trace/passc-dyn.exp
5262 * gdb.trace/passcount.exp
5263 * gdb.trace/pending.exp
5264 * gdb.trace/pr16508.exp
5265 * gdb.trace/qtro.exp
5266 * gdb.trace/range-stepping.exp
5267 * gdb.trace/read-memory.exp
5268 * gdb.trace/report.exp
5269 * gdb.trace/save-trace.exp
5270 * gdb.trace/signal.exp
5271 * gdb.trace/stap-trace.exp
5272 * gdb.trace/status-stop.exp
5273 * gdb.trace/strace.exp
5274 * gdb.trace/tfile.exp
5275 * gdb.trace/tfind.exp
5276 * gdb.trace/trace-break.exp
5277 * gdb.trace/trace-condition.exp
5278 * gdb.trace/trace-enable-disable.exp
5279 * gdb.trace/trace-mt.exp
5280 * gdb.trace/tracecmd.exp
5281 * gdb.trace/tracefile-pseudo-reg.exp
5282 * gdb.trace/tspeed.exp
5283 * gdb.trace/tstatus.exp
5284 * gdb.trace/tsv.exp
5285 * gdb.trace/unavailable.exp
5286 * gdb.trace/while-dyn.exp
5287 * gdb.trace/while-stepping.exp
5288 * lib/gdb-guile.exp
5289 * lib/gdb.exp
5290 * lib/mi-support.exp
5291 * lib/pascal.exp
5292 * lib/perftest.exp
5293 * lib/prelink-support.exp
5294 * lib/selftest-support.exp
5295
52962016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5297
5298 * Makefile.in: Include disable-implicit-rules.mk.
5299
53002016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5301
5302 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5303 non-byte-aligned bit fields.
5304
53052016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5306
5307 PR gdb/12616
5308 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5309 respects the DW_AT_data_bit_offset attribute.
5310
53112016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5312
5313 * gdb.base/default.exp: Fix output of "set language".
5314
53152016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5316
5317 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5318 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5319 make.
5320 * configure.ac: Remove checks for the make program.
5321 * configure: Re-generate.
5322
53232016-11-16 Kevin Buettner <kevinb@redhat.com>
5324
5325 * gdb.python/py-recurse-unwind.c (main): Add loop.
5326 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5327 to read_register() and gdb.parse_and_eval(). Make each code
5328 call a separate case that can be individually tested.
5329 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5330 proc. Call cont_and_backtrace for each of the code paths that
5331 we want to test in the unwinder.
5332
53332016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5334
5335 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5336 the definition of struct S.
5337
53382016-11-11 Catherine Moore <clm@codesourcery.com>
5339
5340 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5341
53422016-11-09 Pedro Alves <palves@redhat.com>
5343
5344 * gdb.base/commands.exp (runto_or_return): New procedure.
5345 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5346 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5347 (progvar_simple_while_test, progvar_complex_if_while_test)
5348 (if_while_breakpoint_command_test)
5349 (infrun_breakpoint_command_test, breakpoint_command_test)
5350 (user_defined_command_test, watchpoint_command_test)
5351 (test_command_prompt_position, redefine_hook_test)
5352 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5353 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5354 multi_line_input and multi_line. Remove gdb_expect and
5355 gdb_stop_suppressing_tests uses.
5356 * lib/gdb.exp (valnum_re): New global.
5357 (multi_line_input): New procedure.
5358
53592016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5360
5361 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5362 Remove.
5363 (test_setup): Define with proc_with_prefix.
5364 (test_cli_inferior): Likewise.
5365 (test_cli_thread): Likewise.
5366 (test_cli_frame): Likewise.
5367 (test_cli_select_frame): Likewise.
5368 (test_cli_up_down): Likewise.
5369 (test_mi_thread_select): Likewise.
5370 (test_mi_stack_select_frame): Likewise.
5371 (test_cli_in_mi_inferior): Likewise.
5372 (test_cli_in_mi_thread): Likewise.
5373 (test_cli_in_mi_frame): Likewise.
5374 (top level): Do not use with_test_prefix_procname.
5375
53762016-11-09 Pedro Alves <palves@redhat.com>
5377
5378 * gdb.base/commands.exp (gdbvar_simple_if_test)
5379 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5380 (progvar_simple_if_test, progvar_simple_while_test)
5381 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5382 (infrun_breakpoint_command_test, breakpoint_command_test)
5383 (user_defined_command_test, watchpoint_command_test)
5384 (test_command_prompt_position, deprecated_command_test)
5385 (bp_deleted_in_command, temporary_breakpoint_commands)
5386 (stray_arg0_test, source_file_with_indented_comment)
5387 (recursive_source_test, if_commands_test)
5388 (error_clears_commands_left, redefine_hook_test)
5389 (redefine_backtrace_test): Use proc_with_prefix.
5390 * lib/gdb.exp (proc_with_prefix): New proc.
5391
53922016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5393
5394 * gdb.base/tui-layout.c: New file.
5395 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5396 disassembly window contains very long lines.
5397
53982016-11-08 Tom Tromey <tom@tromey.com>
5399
5400 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5401 depend on Python 2.
5402
54032016-11-08 Tom Tromey <tom@tromey.com>
5404
5405 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5406 New method.
5407
54082016-10-29 Manish Goregaokar <manish@mozilla.com>
5409
5410 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5411
54122016-10-27 Manish Goregaokar <manish@mozilla.com>
5413
5414 * gdb.rust/simple.rs: Add test for univariant enums without
5415 discriminants and for encoded struct-like enums.
5416
54172016-10-28 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5420 gdb_test_multiple, tighten regexps and match symtabs and line
5421 tables incrementally.
5422
54232016-10-28 Luis Machado <lgustavo@codesourcery.com>
5424
5425 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5426 general.
5427
54282016-10-25 Luis Machado <lgustavo@codesourcery.com>
5429
5430 * gdb.base/exec-invalid-sysroot.exp: New file.
5431
54322016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5433
5434 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5435
54362016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5439
54402016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5441
5442 * gdb.base/killed-outside.exp: Remove $options from a call to
5443 `prepare_for_testing'.
5444
54452016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5446
5447 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5448 Change test message.
5449
54502016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5451
5452 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5453 Update comment.
5454
54552016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5456
5457 * gdb.trace/mi-trace-save.exp: New file.
5458
54592016-10-13 Yao Qi <yao.qi@linaro.org>
5460
5461 * gdb.base/code_elim.exp (get_var_address): Remove.
5462 * gdb.base/relocate.exp: Likewise.
5463 * gdb.base/shreloc.exp: Likewise.
5464 * lib/gdb.exp (get_var_address): New.
5465
54662016-10-13 Yao Qi <yao.qi@linaro.org>
5467
5468 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5469 floating point tests if $skip_float_test is false.
5470
54712016-10-12 Luis Machado <lgustavo@codesourcery.com>
5472
5473 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5474 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5475 argc values.
5476 Add 1 to argc so we guarantee distinct initial/modified argc values.
5477
54782016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5479
5480 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5481
54822016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5483
5484 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5485 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5486 * gdb.arch/vsx-regs.exp: Likewise.
5487
54882016-10-07 Yao Qi <yao.qi@linaro.org>
5489
5490 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5491
54922016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5493
5494 * gdb.python/python.exp: Test decode_line("*0").
5495
54962016-10-06 Doug Evans <dje@google.com>
5497
5498 * gdb.python/py-value.exp (test_value_creation): Add test for large
5499 unsigned 64-bit value.
5500
55012016-10-06 Tom Tromey <tom@tromey.com>
5502
5503 * gdb.compile/compile.exp: Change java tests to rust.
5504 * gdb.base/setshow.exp: Change java tests to rust.
5505 * gdb.base/default.exp: Remove java from language list.
5506 * README (Examples): Update language example.
5507 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5508 test.
5509 * lib/gdb.exp (skip_java_tests): Remove.
5510 * lib/java.exp: Remove.
5511 * gdb.java: Remove.
5512
55132016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5514
5515 * gdb.arch/mips-fcr.exp: New test.
5516 * gdb.arch/mips-fcr.c: Source for the new test.
5517
55182016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5519
5520 * gdb.base/solib-disc.exp: Use `standard_output_file'
5521 throughout.
5522
55232016-10-06 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/jit-simple-dl.c: New file.
5526 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5527 * gdb.base/jit-simple.c: ... this.
5528 * gdb.base/jit-simple.exp (jit_run): Delete.
5529 (build_jit): New proc.
5530 (jit_test_reread): Recompile either the main program or the shared
5531 library, depending on what is being tested. Skip changing address
5532 if caller wants to. Compare before/after addresses. If testing
5533 standalone, explicitly load the binary. Test "maint info
5534 breakpoints".
5535 (top level): Add "standalone vs shared lib" and "change address"
5536 vs "same address" axes.
5537
55382016-10-06 Pedro Alves <palves@redhat.com>
5539
5540 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5541 call.
5542 (jit_run): Delete.
5543 (jit_test_reread): Use with_test_prefix. Reload the main binary
5544 explicitly. Compare the before/after addresses of the JIT
5545 descriptor.
5546
55472016-08-15 Doug Evans <dje@google.com>
5548
5549 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5550 for single bitfields is bool.
5551 * gdb.xml/tdesc-regs.exp: Ditto.
5552
55532016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5554
5555 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5556
55572016-10-05 Yao Qi <yao.qi@linaro.org>
5558
5559 * lib/gdb.exp (support_complex_tests): Return zero if
5560 gdb_skip_float_test return true.
5561
55622016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5563 Simon Marchi <simon.marchi@ericsson.com>
5564
5565 PR gdb/20487
5566 * gdb.mi/user-selected-context-sync.exp: New file.
5567 * gdb.mi/user-selected-context-sync.c: New file.
5568
55692016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5570 Simon Marchi <simon.marchi@ericsson.com>
5571
5572 PR gdb/20487
5573 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5574 =thread-select-event check.
5575
55762016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5577
5578 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5579 the compulsory L operand changes.
5580 * gdb.arch/powerpc-power.s: Likewise.
5581
55822016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5585 * gdb.base/jit-attach-pie.c: New file.
5586 * gdb.base/jit-attach-pie.exp: New file.
5587
55882016-09-28 Pedro Alves <palves@redhat.com>
5589
5590 * gdb.base/infcall-input.c: New file.
5591 * gdb.base/infcall-input.exp: New file.
5592
55932016-09-22 Yao Qi <yao.qi@linaro.org>
5594
5595 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5596 (gdb_exit): Rename it to ...
5597 (gdbserver_gdb_exit): ... Close GDBserver.
5598 (gdb_exit): New proc, call gdbserver_gdb_exit.
5599 (mi_gdb_exit): Likewise.
5600
56012016-09-22 Yao Qi <yao.qi@linaro.org>
5602
5603 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5604 path.
5605 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5606 Remove duplication.
5607
56082016-09-22 Yao Qi <yao.qi@linaro.org>
5609
5610 * lib/gdbserver-support.exp: Check the existence of
5611 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5612
56132016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5614
5615 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5616
56172016-09-21 Tom Tromey <tom@tromey.com>
5618
5619 PR gdb/20604:
5620 * gdb.base/quit.exp: New file.
5621
56222016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5623
5624 * .gitignore: New file.
5625
56262016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5627
5628 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5629 throughout.
5630
56312016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5632
5633 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5634
56352016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5636
5637 * gdb.cp/casts.cc (decltype): Move it ...
5638 (main): ... with its call to ...
5639 * gdb.cp/casts03.cc: ... a new file.
5640 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5641
56422016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5643
5644 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5645
56462016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5647
5648 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5649 and sync up the test with tests in gas/testsuite/gas/ppc.
5650 * gdb.arch/powerpc-power.exp: Likewise.
5651
56522016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5653
5654 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5655
56562016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5657 Jan Kratochvil <jan.kratochvil@redhat.com>
5658
5659 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5660 make m1's definition to be different from m2's. Use 'dummy' as an
5661 argument for probe 'two'.
5662
56632016-09-10 Jon Beniston <jon@beniston.com>
5664
5665 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5666 for sim target.
5667
56682016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5669
5670 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5671 variable declaration.
5672 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5673 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5674 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5675 received HWCAP as its argument.
5676
56772016-09-06 Pedro Alves <palves@redhat.com>
5678
5679 * gdb.base/new-ui-pending-input.c: New file.
5680 * gdb.base/new-ui-pending-input.exp: New file.
5681 * gdb.exp (clear_gdb_spawn_id): New procedure.
5682 (with_spawn_id): Check whether gdb_spawn_id exists before
5683 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5684 on exit.
5685
56862016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5687
5688 * gdb.base/float128.c: New file.
5689 * gdb.base/float128.exp: Likewise.
5690 * gdb.base/floatn.c: Likewise.
5691 * gdb.base/floatn.exp: Likewise.
5692
56932016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5694
5695 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5696
56972016-09-05 Pedro Alves <palves@redhat.com>
5698
5699 PR backtrace/19927
5700 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5701 unwinders are immediately called as side effect of "source" or
5702 "disable unwinder" commands.
5703 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5704
57052016-09-02 Yao Qi <yao.qi@linaro.org>
5706
5707 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5708 is true and $type is "float" or "double".
5709
57102016-09-02 Yao Qi <yao.qi@linaro.org>
5711
5712 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5713 true.
5714 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5715 * gdb.base/call-rt-st.exp: Likewise.
5716 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5717 return value instead of gdb,skip_float_test.
5718 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5719 (do_function_calls): Use its return value instead of
5720 gdb,skip_float_test.
5721 * gdb.base/finish.exp: Likewise.
5722 * gdb.base/funcargs.exp: Likewise.
5723 * gdb.base/return.exp: Likewise.
5724 * gdb.base/return2.exp: Likewise.
5725 * gdb.base/varargs.exp: Likewise.
5726 * lib/gdb.exp (gdb_skip_float_test): Change it to
5727 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5728
57292016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5730
5731 * gdb.multi/tids.exp: Test "thread apply all".
5732
57332016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5734
5735 * gdb.base/default.exp (tty): Remove.
5736
57372016-08-24 Kevin Buettner <kevinb@redhat.com>
5738
5739 * gdb.python/py-recurse-unwind.c: New file.
5740 * gdb.python/py-recurse-unwind.py: New file.
5741 * gdb.python/py-recurse-unwind.exp: New file.
5742
57432016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5744
5745 * gdb.base/set-inferior-tty.exp: New file.
5746 * gdb.base/set-inferior-tty.c: New file.
5747
57482016-08-23 Pedro Alves <palves@redhat.com>
5749
5750 PR gdb/20494
5751 * gdb.base/new-ui-echo.c: New file.
5752 * gdb.base/new-ui-echo.exp: New file.
5753
57542016-08-23 Yao Qi <yao.qi@linaro.org>
5755
5756 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5757 gdbserver_spawn.
5758 * gdb.server/connect-without-multi-process.exp (do_test):
5759 Likewise.
5760
57612016-08-23 Yao Qi <yao.qi@linaro.org>
5762
5763 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5764 standalone_txt. Delete gdb_txt and standalone_txt on host
5765 and target. Spawn the binary on target. Copy files from
5766 target to host.
5767
57682016-08-22 Pedro Alves <palves@redhat.com>
5769
5770 PR gdb/20505
5771 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5772 with_test_prefix. Factor out bits to ...
5773 (test_no_vdso): ... this new procedure.
5774
57752016-08-19 Carl Love <cel@us.ibm.com>
5776
5777 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5778 maintaining separate logic for constructing the output path.
5779 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5780 * gdb.arch/ppc-dfp.exp: Likewise.
5781 * gdb.arch/ppc-fp.exp: Likewise.
5782 * gdb.arch/vsx-regs.exp: Likewise.
5783 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5784 binprefix for generating the additional binary files.
5785
57862016-08-19 Pedro Alves <palves@redhat.com>
5787
5788 * gdb.trace/mi-trace-frame-collected.exp
5789 (test_trace_frame_collected): On x32, expect two registers.
5790
57912016-08-18 Carl Love <cel@us.ibm.com>
5792
5793 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5794 and sync up the test with tests in gas/testsuite/gas/ppc.
5795 * gdb.arch/powerpc-power.exp: Likewise.
5796
57972016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5798
5799 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5800 expected error message.
5801
58022016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5803
5804 * gdb.multi/remove-inferiors.exp: New file.
5805 * gdb.multi/remove-inferiors.c: New file.
5806
58072016-08-12 Yao Qi <yao.qi@linaro.org>
5808
5809 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5810 argument list.
5811
58122016-08-10 Pedro Alves <palves@redhat.com>
5813
5814 PR gdb/19187
5815 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5816 setup_kfails.
5817
58182016-08-09 Pedro Alves <palves@redhat.com>
5819 Simon Marchi <simon.marchi@ericsson.com>
5820
5821 PR gdb/20418
5822 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5823 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5824
58252016-08-09 Pedro Alves <palves@redhat.com>
5826
5827 PR mi/20431
5828 * gdb.mi/mi-cmd-error.exp: New file.
5829
58302016-08-09 Pedro Alves <palves@redhat.com>
5831
5832 PR gdb/18653
5833 * gdb.base/signals-state-child.c: New file.
5834 * gdb.base/signals-state-child.exp: New file.
5835 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5836
58372016-08-09 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5840
58412016-08-03 Tom Tromey <tom@tromey.com>
5842
5843 PR python/18565:
5844 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5845
58462016-08-01 Yao Qi <yao.qi@linaro.org>
5847
5848 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5849 variable mode to "multi-process" if $multi_process is 1, otherwise
5850 set it to "single-process".
5851
58522016-08-01 Yao Qi <yao.qi@linaro.org>
5853
5854 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5855 * gdb.cp/cpexprs.exp: Likewise.
5856 * gdb.cp/m-static.exp: Likewise.
5857
58582016-07-26 Tom Tromey <tom@tromey.com>
5859
5860 PR python/20190:
5861 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5862 test.
5863
58642016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5865
5866 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5867 selecting assembly source files.
5868 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5869 assembly source files.
5870 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5871 assembly source files.
5872 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5873 selecting assembly source files.
5874
58752016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5876
5877 * gdb.base/new-ui.exp (do_test_invalid_args): New
5878 procedure.
5879
58802016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5881
5882 * gdb.btrace/reconnect.c: New file.
5883 * gdb.btrace/reconnect.exp: New file.
5884
58852016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5886
5887 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5888 to test_catch_syscall_group.
5889 (test_catch_syscall_group): New.
5890
58912016-07-21 Tom Tromey <tom@tromey.com>
5892
5893 * gdb.rust/simple.rs (main): Use empty struct expression.
5894 * gdb.rust/simple.exp: Add tests for empty struct expression.
5895
58962016-07-21 Yao Qi <yao.qi@linaro.org>
5897
5898 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5899 if gdb_skip_xml_test is true on some targets.
5900
59012016-07-21 Yao Qi <yao.qi@linaro.org>
5902
5903 * gdb.server/solib-list.exp: Unset last_loaded_file.
5904
59052016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5906
5907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5908 "step into captured_main (args)".
5909
59102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5911
5912 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5913
59142016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5915
5916 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5917
59182016-07-19 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5921 * gdb.opt/inline-bt.exp: Likewise.
5922 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5923 additional_flags=-Winline.
5924 * gdb.opt/inline-locals.exp: Likewise.
5925 * gdb.opt/inline-markers.c (ATTR): Define.
5926 (inlined_fn): Use it.
5927
59282016-07-19 Yao Qi <yao.qi@linaro.org>
5929
5930 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5931 (test_with_self): Remove some code. Remove argument executable.
5932 (top-level): Use do_self_tests.
5933
59342016-07-15 Zachary Welch <zwelch@codesourcery.com>
5935 Don Breazeal <donb@codesourcery.com>
5936
5937 * gdb.base/maint.exp: Escape paths used in regular expressions.
5938 * gdb.stabs/weird.exp: Likewise.
5939
59402016-07-13 Tom Tromey <tom@tromey.com>
5941
5942 PR python/15620, PR python/18620:
5943 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5944 (test_bkpt_events): New procs.
5945
59462016-07-13 Tom Tromey <tom@tromey.com>
5947
5948 PR python/17698:
5949 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5950 test.
5951 (test_watchpoints): Likewise.
5952 (test_bkpt_pending): New proc.
5953
59542016-07-13 Tom Tromey <tom@tromey.com>
5955
5956 PR cli/18053:
5957 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5958 completion test.
5959
59602016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5961
5962 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5963 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5964 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5965 f_label.
5966 (g): Rename g_end_lbl to g_label.
5967 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5968 low_pc and high_pc.
5969 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5970
59712016-07-12 Tom Tromey <tom@tromey.com>
5972
5973 PR python/19293:
5974 * gdb.python/py-unwind-maint.exp: Update tests.
5975
59762016-07-12 Yao Qi <yao.qi@linaro.org>
5977
5978 * lib/selftest-support.exp (selftest_setup): Match the output
5979 when captured_main is inlined.
5980
59812016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5982
5983 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5984 New variables.
5985 (print this%a, print this%b, print this): New tests.
5986 * gdb.fortran/derived-types.f90 (this): New object and
5987 initialization.
5988
59892016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5990
5991 * gdb.ada/arraydim.exp: Remove extra directory level in build
5992 directory.
5993
59942016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5995
5996 * lib/ada.exp: Remove extra directory level in build directory.
5997 * gdb.ada/cond_lang.exp: Likewise.
5998 * gdb.ada/exec_changed.exp: Likewise.
5999 * gdb.ada/lang_switch.exp: Likewise.
6000
60012016-07-06 Manish Goregaokar <manish@mozilla.com>
6002
6003 * simple.rs: Add test for raw pointer subscripting.
6004 * simple.exp: Add test expectations.
6005
60062016-07-05 Yao Qi <yao.qi@linaro.org>
6007
6008 * gdb.mi/mi-reverse.exp: Match =record-started output.
6009
60102016-07-01 Pedro Alves <palves@redhat.com>
6011
6012 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6013 procedure.
6014 (jit_reader_test): Test the jit reader's unwinder.
6015 * gdb.base/jithost.c (jit_function_00_code): New global.
6016 (main): Use memcpy to fill in the mmapped code, instead of poking
6017 bytes manually here.
6018 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6019 value.
6020 (read_debug_info): Save the function's range.
6021 (read_sp): New function.
6022 (unwind_frame): Use it. Also unwind RBP.
6023 (get_frame_id): Use read_sp.
6024 (gdb_init_reader): Use calloc instead of malloc.
6025 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6026 parameter. Use gdb_test_multiple.
6027
60282016-07-01 Pedro Alves <palves@redhat.com>
6029 Antoine Tremblay <antoine.tremblay@ericsson.com>
6030
6031 * gdb.threads/process-dies-while-detaching.c: New file.
6032 * gdb.threads/process-dies-while-detaching.exp: New file.
6033
60342016-07-01 Pedro Alves <palves@redhat.com>
6035
6036 * gdb.multi/watchpoint-multi-exit.c: New file.
6037 * gdb.multi/watchpoint-multi-exit.exp: New file.
6038
60392016-06-30 Pedro Alves <palves@redhat.com>
6040
6041 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6042 unset inferior_spawn_id.
6043
60442016-06-30 Pedro Alves <palves@redhat.com>
6045
6046 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6047 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6048
60492016-06-29 Yao Qi <yao.qi@linaro.org>
6050
6051 * gdb.base/return.c: Add copyright header.
6052
60532016-06-29 Tom Tromey <tom@tromey.com>
6054
6055 PR python/20129:
6056 * gdb.python/py-framefilter.exp: Add tests for setting priority
6057 and disabling of non-existent frame filter.
6058
60592016-06-29 Yao Qi <yao.qi@linaro.org>
6060
6061 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6062 0x0f07ff.
6063
60642016-06-28 Yao Qi <yao.qi@linaro.org>
6065
6066 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6067 triplets. Start gdb, execute catch syscall, and continue. Check
6068 gdb's output to determine catch syscall is supported.
6069
60702016-06-27 Manish Goregaokar <manish@mozilla.com>
6071
6072 * gdb.rust/simple.rs: Add test for returning unit in a function.
6073 * gdb.rust/simple.exp: Add expectation for functions returning
6074 unit.
6075
60762016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6077
6078 * gdb.python/py-breakpoint-create-fail.c,
6079 gdb.python/py-breakpoint-create-fail.exp,
6080 gdb.python/py-breakpoint-create-fail.py: New testcase.
6081
60822016-06-25 Manish Goregaokar <manish@mozilla.com>
6083
6084 PR gdb/20239
6085 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6086 * gdb.rust/simple.exp: Add test expectations for new NonZero
6087 tests.
6088
60892016-06-24 David Taylor <dtaylor@emc.com>
6090
6091 * gdb.base/offsets.exp: New file.
6092 * gdb.base/offsets.c: New file.
6093
60942016-06-23 Tom Tromey <tom@tromey.com>
6095
6096 PR gdb/16483:
6097 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6098 before any filters are loaded.
6099
61002016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6101
6102 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6103 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6104 structs.
6105 * gdb.fortran/derived-type-function.exp: New file.
6106 * gdb.fortran/derived-type-function.f90: New file.
6107
6108
61092016-06-21 Pedro Alves <palves@redhat.com>
6110
6111 * gdb.base/new-ui.exp: New file.
6112 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6113 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6114 (with_spawn_id): New procedure.
6115
61162016-06-21 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.mi/mi-exec-run.exp: New file.
6119
61202016-06-21 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6123 breakpoint command's output on the main UI.
6124 (test_break): New procedure, factored out from calls in the top
6125 level.
6126 (top level): Use foreach_with_prefix to test MI as main UI and as
6127 separate UI.
6128
61292016-06-21 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6132 (test_awatch_creation_and_listing)
6133 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6134 Remove 'type' parameter.
6135 (test_watchpoint_all): New parameter mi_mode. Remove
6136 with_test_prefix.
6137 (top level): Use foreach_with_prefix, and add main/separate UI MI
6138 testing axis.
6139
61402016-06-21 Pedro Alves <palves@redhat.com>
6141
6142 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6143 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6144 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6145 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6146 (gdb_main_spawn_id, mi_spawn_id): Declare and
6147 comment.
6148 (mi_create_inferior_pty): New procedure,
6149 factored out from default_mi_gdb_start.
6150 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6151 procedures.
6152 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6153 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6154 Use mi_create_inferior_pty.
6155 (mi_gdb_start): Use eval to pass down args list.
6156
61572016-06-21 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6160 * gdb.opt/inline-cmds.exp: Add MI tests.
6161
61622016-06-21 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6165
61662016-06-21 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6169 (top level): Use it instead of mi_execute_to.
6170
61712016-06-21 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6174 (cont_handler_str): New.
6175 (signal_stop_handler): Set stop_handler_str instead of printing to
6176 stdout.
6177 (continue_handler): Set cont_handler_str instead of printing to
6178 stdout.
6179 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6180 mi_send_resuming_command. Print stop_handler_str and
6181 cont_handler_str instead of expecting the python events print
6182 directly.
6183
61842016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6185
6186 * gdb.base/jit-reader.exp: New file.
6187 * gdb.base/jithost.c: New file.
6188 * gdb.base/jithost.h: New file.
6189 * gdb.base/jitreader.c : New file.
6190 * gdb.base/jit-protocol.h: New file.
6191
61922016-06-17 Yao Qi <yao.qi@linaro.org>
6193
6194 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6195 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6196 and detach-on-fork. Adjust tests.
6197 (top level): Invoke break_cond_on_syscall with combinations of
6198 syscall, follow-fork-mode and detach-on-fork.
6199
62002016-06-17 Yao Qi <yao.qi@linaro.org>
6201
6202 * gdb.base/step-over-exit.c: New.
6203 * gdb.base/step-over-exit.exp: New.
6204
62052016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6206
6207 * gdb.base/float.exp: Add target check for nds32*-*-*.
6208 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6209
62102016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6211
6212 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6213 for unsupported target features.
6214 * gdb.base/call-rt-st.exp: Likewise.
6215 * gdb.base/call-sc.exp: Likewise.
6216 * gdb.base/call-signal-resume.exp: Likewise.
6217 * gdb.base/call-strs.exp: Likewise.
6218 * gdb.base/callexit.exp: Likewise.
6219 * gdb.base/callfuncs.exp: Likewise.
6220 * gdb.base/nodebug.exp: Likewise.
6221 * gdb.base/printcmds.exp: Likewise.
6222 * gdb.base/ptype.exp: Likewise.
6223 * gdb.base/structs.exp: Likewise.
6224 * gdb.base/unwindonsignal.exp: Likewise.
6225 * gdb.cp/gdb2495.exp: Likewise.
6226 * gdb.cp/templates.exp: Likewise.
6227 * gdb.cp/virtfunc.exp: Likewise.
6228 * gdb.threads/hand-call-in-threads.exp: Likewise.
6229 * gdb.threads/interrupted-hand-call.exp: Likewise.
6230 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6231
62322016-06-10 Tom Tromey <tom@tromey.com>
6233
6234 PR rust/20110:
6235 * gdb.rust/expr.exp: Add test for integer constant larger than
6236 i32.
6237
62382016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6239
6240 * gdb.fortran/nested-funcs.exp: New.
6241 * gdb.fortran/nested-funcs.f90: New.
6242
62432016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6244
6245 * gdb.base/examine-backward.c: New file.
6246 * gdb.base/examine-backward.exp: New file.
6247
62482016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6249
6250 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6251 matching.
6252
62532016-06-02 Tom Tromey <tom@tromey.com>
6254
6255 PR python/18984:
6256 * gdb.python/py-shared.exp: Add solib_name test.
6257
62582016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6259
6260 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6261
62622016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6263
6264 PR c++/19893
6265 * gdb.dwarf2/implref.exp: Rename to...
6266 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6267 * gdb.dwarf2/implref-array.c: New file.
6268 * gdb.dwarf2/implref-array.exp: Likewise.
6269 * gdb.dwarf2/implref-global.c: Likewise.
6270 * gdb.dwarf2/implref-global.exp: Likewise.
6271 * gdb.dwarf2/implref-struct.c: Likewise.
6272 * gdb.dwarf2/implref-struct.exp: Likewise.
6273
62742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6275
6276 * gdb.trace/trace-condition.exp: Add 64bit tests.
6277
62782016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6279
6280 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6281 bits types.
6282 (main): Adapt to 8 to 64 bits types.
6283 * gdb.trace/trace-condition.exp: Add new tests.
6284
62852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6286
6287 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6288
62892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6290
6291 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6292 Move condition tests...
6293 * gdb.trace/trace-condition.exp: Here.
6294
62952016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6296
6297 * gdb.trace/trace-condition.exp: Add counter-case tests.
6298
62992016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6300
6301 PR c++/15231
6302 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6303 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6304
63052016-05-27 Pedro Alves <palves@redhat.com>
6306
6307 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6308 New procedure.
6309 (top level): Call it, and bail out of DejaGnu is known to be bad.
6310
63112016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6312
6313 * gdb.base/whatis.c: Extend the test case.
6314 * gdb.base/whatis.exp: Add additional tests.
6315
63162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6317
6318* gdb.fortran/type.f90: Add pointer variable.
6319* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6320
63212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6322
6323 * gdb.fortran/vla-type.exp: Fix testcase name.
6324
63252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6326
6327 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6328
63292016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6330
6331 * gdb.fortran/type.f90: Add nested structures.
6332 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6333 * gdb.fortran/derived-type.exp: Adapt expected output.
6334 * gdb.fortran/vla-type.exp: Adapt expected output.
6335
63362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6337
6338 * gdb.fortran/whatis_type.exp: Adapt expected output.
6339
63402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6341
6342 * gdb.fortran/print_type.exp: Fix expected output.
6343 * gdb.fortran/whatis_type.exp: Fix expected output.
6344
63452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6346
6347 * gdb.fortran/whatis_type.exp: Use multi_line.
6348
63492016-05-24 Tom Tromey <tom@tromey.com>
6350
6351 PR python/17386:
6352 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6353 use value as an index.
6354
63552016-05-23 Tom Tromey <tom@tromey.com>
6356
6357 PR python/17981:
6358 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6359 no-breakpoint case.
6360
63612016-05-24 Pedro Alves <palves@redhat.com>
6362
6363 PR gdb/19828
6364 * gdb.threads/clone-attach-detach.c: New file.
6365 * gdb.threads/clone-attach-detach.exp: New file.
6366
63672016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6368
6369 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6370
63712016-05-23 Tom Tromey <tom@tromey.com>
6372
6373 PR python/19438, PR python/18393:
6374 * gdb.python/py-progspace.exp: Add "dir" test.
6375 * gdb.python/py-objfile.exp: Add "dir" test.
6376
63772016-05-23 Yao Qi <yao.qi@linaro.org>
6378
6379 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6380 * gdb.arch/thumb2-it.exp: Likewise.
6381
63822016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6383
6384 * gdb.mi/mi-threads-interrupt.c: New file.
6385 * gdb.mi/mi-threads-interrupt.exp: New file.
6386
63872016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6388
6389 PR gdb/18077
6390 * gdb.mi/mi-async-run.exp: New file.
6391 * gdb.mi/mi-async-run.c: New file.
6392
63932016-05-17 Tom Tromey <tom@tromey.com>
6394 Manish Goregaokar <manishsmail@gmail.com>
6395
6396 * lib/rust-support.exp: New file.
6397 * lib/gdb.exp (skip_rust_tests): New proc.
6398 (build_executable_from_specs): Handle rust.
6399 * lib/future.exp (gdb_find_rustc): New proc.
6400 (gdb_default_target_compile): Handle rust.
6401 * gdb.rust/expr.exp: New file.
6402 * gdb.rust/generics.exp: New file.
6403 * gdb.rust/generics.rs: New file.
6404 * gdb.rust/methods.exp: New file.
6405 * gdb.rust/methods.rs: New file.
6406 * gdb.rust/modules.exp: New file.
6407 * gdb.rust/modules.rs: New file.
6408 * gdb.rust/simple.exp: New file.
6409 * gdb.rust/simple.rs: New file.
6410
64112016-05-17 Tom Tromey <tom@tromey.com>
6412
6413 * gdb.base/default.exp (set language): Add rust.
6414
64152016-05-17 Tom Tromey <tom@tromey.com>
6416
6417 * gdb.gdb/unittest.exp: New file.
6418
64192016-05-16 Yao Qi <yao.qi@linaro.org>
6420
6421 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6422 shell_prompt. Update shell_prompt_re.
6423
64242016-05-12 Doug Evans <dje@google.com>
6425
6426 PR symtab/19999
6427 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6428 $options when building executable.
6429 * gdb.dwarf2/fission-loclists-pie.S: New file.
6430 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6431
64322016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6433
6434 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6435 of [is_remote target],
6436
64372016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6438
6439 * lib/gdb.exp (use_gdb_stub): New procedure.
6440
64412016-05-03 Yunlian Jiang <yunlian@google.com>
6442 Doug Evans <dje@google.com>
6443
6444 PR symtab/19914
6445 * gdb.dwarf2/dwp-sepdebug.c: New file.
6446 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6447
64482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6449
6450 * gdb.base/detach.exp: Remove is_remote check.
6451
64522016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6453
6454 * gdb.base/annota-input-while-running.exp: Don't check for
6455 [is_remote target]. Enable annotations after running to main.
6456 Remove unused "set test..." line.
6457
64582016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6459
6460 * gdb.trace/trace-enable-disable.exp: New file.
6461 * gdb.trace/trace-enable-disable.c: New file.
6462
64632016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6464
6465 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6466 use it in info sharedlibrary test.
6467 * gdb.trace/ftrace-lock.exp: Likewise.
6468 * gdb.trace/ftrace.exp: Likewise.
6469 * gdb.trace/range-stepping.exp: Likewise.
6470 * gdb.trace/trace-break.exp: Likewise.
6471 * gdb.trace/trace-condition.exp: Likewise.
6472 * gdb.trace/trace-mt.exp: Likewise.
6473
64742016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6475
6476 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6477 (gdb_load_shlib): ... this.
6478 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6479 gdb_load_shlib.
6480 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6481 * gdb.base/ctxobj.exp: Likewise.
6482 * gdb.base/dprintf-pending.exp: Likewise.
6483 * gdb.base/dso2dso.exp: Likewise.
6484 * gdb.base/fixsection.exp: Likewise.
6485 * gdb.base/gcore-relro.exp: Likewise.
6486 * gdb.base/gdb1555.exp: Likewise.
6487 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6488 * gdb.base/gnu-ifunc.exp: Likewise.
6489 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6490 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6491 * gdb.base/pending.exp: Likewise.
6492 * gdb.base/print-file-var.exp: Likewise.
6493 * gdb.base/print-symbol-loading.exp: Likewise.
6494 * gdb.base/shlib-call.exp: Likewise.
6495 * gdb.base/shreloc.exp: Likewise.
6496 * gdb.base/so-impl-ld.exp: Likewise.
6497 * gdb.base/solib-disc.exp: Likewise.
6498 * gdb.base/solib-nodir.exp: Likewise.
6499 * gdb.base/solib-overlap.exp: Likewise.
6500 * gdb.base/solib-symbol.exp: Likewise.
6501 * gdb.base/solib-weak.exp (do_test): Likewise.
6502 * gdb.base/sym-file.exp: Likewise.
6503 * gdb.base/symtab-search-order.exp: Likewise.
6504 * gdb.base/type-opaque.exp: Likewise.
6505 * gdb.base/unload.exp: Likewise.
6506 * gdb.base/watchpoint-solib.exp: Likewise.
6507 * gdb.compile/compile.exp: Likewise.
6508 * gdb.cp/gdb2384.exp: Likewise.
6509 * gdb.cp/infcall-dlopen.exp: Likewise.
6510 * gdb.cp/re-set-overloaded.exp: Likewise.
6511 * gdb.fortran/library-module.exp: Likewise.
6512 * gdb.opt/solib-intra-step.exp: Likewise.
6513 * gdb.python/py-finish-breakpoint.exp: Likewise.
6514 * gdb.python/py-shared.exp: Likewise.
6515 * gdb.reverse/solib-precsave.exp: Likewise.
6516 * gdb.reverse/solib-reverse.exp: Likewise.
6517 * gdb.server/solib-list.exp: Likewise.
6518 * gdb.threads/dlopen-libpthread.exp: Likewise.
6519 * gdb.threads/tls-shared.exp: Likewise.
6520 * gdb.threads/tls-so_extern.exp: Likewise.
6521 * gdb.trace/change-loc.exp: Likewise.
6522 * gdb.trace/ftrace-lock.exp: Likewise.
6523 * gdb.trace/ftrace.exp: Likewise.
6524 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6525 * gdb.trace/pending.exp: Likewise.
6526 * gdb.trace/range-stepping.exp: Likewise.
6527 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6528 (strace_info_marker): Likewise.
6529 (strace_probe_marker): Likewise.
6530 (strace_trace_on_same_addr): Likewise.
6531 (strace_trace_on_diff_addr): Likewise.
6532 * gdb.trace/trace-break.exp: Likewise.
6533 * gdb.trace/trace-condition.exp: Likewise.
6534 * gdb.trace/trace-mt.exp: Likewise.
6535
65362016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6537
6538 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6539 result of gdb_remote_download.
6540 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6541 * gdb.base/dso2dso.exp: Likewise.
6542 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6543 * gdb.base/print-file-var.exp: Likewise.
6544 * gdb.base/shlib-call.exp: Likewise.
6545 * gdb.base/shreloc.exp: Likewise.
6546 * gdb.base/solib-overlap.exp: Likewise.
6547 * gdb.base/solib-weak.exp (do_test): Likewise.
6548 * gdb.base/unload.exp: Likewise.
6549
65502016-04-27 Yao Qi <yao.qi@linaro.org>
6551
6552 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6553 exists.
6554
65552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6556
6557 * vla-type.exp: Print structure from toplevel.
6558
65592016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6560
6561 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6562 of dynamic types.
6563 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6564 of dynamic types.
6565
65662016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6567
6568 * gdb.fortran/vla-type.f90: New file.
6569 * gdb.fortran/vla-type.exp: New file.
6570
65712016-04-25 Yao Qi <yao.qi@linaro.org>
6572
6573 * gdb.base/branch-to-self.c: New file.
6574 * gdb.base/branch-to-self.exp: New file.
6575
65762016-04-22 Yao Qi <yao.qi@linaro.org>
6577
6578 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6579 more after $hex.
6580
65812016-04-22 Yao Qi <yao.qi@linaro.org>
6582
6583 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6584 * gdb.base/annota3.exp: Likewise.
6585
65862016-04-22 Yao Qi <yao.qi@linaro.org>
6587
6588 * gdb.reverse/step-precsave.exp: Do one step and test program
6589 stops in "callee" and do multiple steps until program goes out
6590 of "callee".
6591 * gdb.reverse/step-reverse.exp: Likewise.
6592
65932016-04-22 Yao Qi <yao.qi@linaro.org>
6594
6595 * gdb.trace/signal.exp: Also pass if
6596 $tracepoint_hits($i) > $iterations.
6597
65982016-04-22 Yao Qi <yao.qi@linaro.org>
6599
6600 * gdb.trace/signal.c: New file.
6601 * gdb.trace/signal.exp: New file.
6602
66032016-04-19 Doug Evans <xdje42@gmail.com>
6604
6605 * gdb.base/bad-file.exp: New file.
6606
66072016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6608
6609 * gdb.dwarf2/implref.exp: New file.
6610
66112016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6612
6613 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6614 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6615 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6616 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6617 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6618 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6619 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6620 * lib/fortran.exp (fortran_int4): New procedure.
6621 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6622 (fortran_logical4): Likewise.
6623
66242016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6625
6626 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6627
66282016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6629
6630 * lib/compiler.c: Add Intel specific preprocessor macros.
6631 * lib/compiler.cc: Likewise.
6632
66332016-04-13 Luis Machado <lgustavo@codesourcery.com>
6634
6635 * gdb.server/connect-with-no-symbol-file.c: New file.
6636 * gdb.server/connect-with-no-symbol-file.exp: New file.
6637
66382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6639
6640 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6641
66422016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6643
6644 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6645 standard output directory.
6646
66472016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6648
6649 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6650
66512016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6652
6653 * gdb.btrace/instruction_history.c (loop): Add declaration.
6654
66552016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6656
6657 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6658
66592016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6660
6661 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6662 parentheses to print.
6663 (continue_handler): Likewise.
6664
66652016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6666
6667 * gdb.server/solib-list.exp: Remove is_remote check.
6668 Pass shlib= to gdb_compile. Don't link shared library with
6669 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6670 Run binary filename through "readlink -f" on the target.
6671
66722016-04-08 Pedro Alves <palves@redhat.com>
6673
6674 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6675 interpreter filename as argument to gdbserver_spawn.
6676 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6677 Return empty if $last_loaded_file does not exist.
6678
66792016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6680
6681 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6682 * gdb.base/jit-main.c: Use exit after usage.
6683
66842016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6685
6686 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6687 GDBHISTSIZE prior to the tests.
6688 * gdb.base/gdbinit-history.exp: Likewise.
6689
66902016-04-07 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6693 instead of build_executable. Use gdb_load_shlibs.
6694
66952016-04-07 Yao Qi <yao.qi@linaro.org>
6696
6697 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6698 Execute "si" command.
6699
67002016-04-07 Yao Qi <yao.qi@linaro.org>
6701
6702 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6703 number instead of the comments on some line.
6704
67052016-04-06 Don Breazeal <donb@codesourcery.com>
6706
6707 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6708 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6709
67102016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6711
6712 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6713 standard_output_file. Remove unused binfile variable.
6714
67152016-04-05 Catalin Udma <catalin.udma@freescale.com>
6716
6717 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6718 * gdb.python/py-mi-objfile.exp: Match "list main" output
6719 in console format.
6720
67212016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6722
6723 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6724 absolute.
6725
67262016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6727
6728 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6729 absolute.
6730 * gdb.trace/ftrace.exp: Likewise.
6731 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6732 targets as well.
6733 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6734 (gdb_load_shlibs): Copy libraries to test directory when testing
6735 natively. Only set solib-search-path if testing remotely.
6736 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6737
67382016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6739
6740 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6741 gdb_download. Use it even if the target is not remote.
6742 * gdb.base/jit.exp (compile_jit_test): Likewise.
6743 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6744 output directory if the destination board is local, otherwise use
6745 the standard remote_download from DejaGnu.
6746 (gdb_download): Remove.
6747 (gdb_load_shlibs): Use gdb_remote_download instead of
6748 gdb_download.
6749 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6750 Use gdb_remote_download instead of gdb_download. Use it even if
6751 the target is not remote.
6752 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6753 instead of gdb_download.
6754
67552016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6756
6757 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6758 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6759 run.
6760
67612016-04-01 Artemiy Volkov <artemiyv@acm.org>
6762
6763 PR gdb/19820
6764 * gdb.base/printcmds.exp: Add artificial arrays tests.
6765
67662016-03-31 Pedro Alves <palves@redhat.com>
6767
6768 PR gdb/19858
6769 * gdb.base/jit-main.c: Include unistd.h.
6770 (ATTACH): Define to 0 if not already defined.
6771 (wait_for_gdb, mypid): New globals.
6772 (WAIT_FOR_GDB): New macro.
6773 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6774 some breakpoint locations.
6775 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6776 New procedures.
6777 (one_jit_test): Add REATTACH parameter, and handle it. Use
6778 continue_to_test_location.
6779 (top level): Test attach, and adjusts calls to one_jit_test.
6780
67812016-03-31 Pedro Alves <palves@redhat.com>
6782
6783 PR gdb/19858
6784 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6785 BINSUFFIX parameter, and handle it.
6786 (top level): Adjust calls compile_jit_test.
6787
67882016-03-31 Catalin Udma <catalin.udma@freescale.com>
6789
6790 PR python/19743
6791 * gdb.python/py-mi-events-gdb.py: New file.
6792 * gdb.python/py-mi-events.c: New file.
6793 * gdb.python/py-mi-events.exp: New file.
6794
67952016-03-30 Yao Qi <yao.qi@linaro.org>
6796
6797 * gdb.reverse/until-precsave.exp: Match function name only.
6798 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6799 Move malloc to a condition block.
6800 * gdb.reverse/until-reverse.exp: Match function name only.
6801
68022016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6803
6804 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6805 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6806 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6807 variable for GPR 0 instead of assuming it is register 0.
6808 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6809 * lib/trace-support.exp: Add s390 registers.
6810
68112016-03-29 Yao Qi <yao.qi@linaro.org>
6812
6813 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6814
68152016-03-24 Yao Qi <yao.qi@linaro.org>
6816
6817 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6818 test message.
6819
68202016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6821
6822 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6823 maintaining separate logic for constructing the output path.
6824
68252016-03-16 Don Breazeal <donb@codesourcery.com>
6826
6827 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6828 Retry fork and waitpid on interrupted system call errors.
6829 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6830 Use with_timeout_factor to increase timeout by factor of 10.
6831
68322016-03-15 Don Breazeal <donb@codesourcery.com>
6833
6834 * gdb.cp/scope-err.cc: New test program.
6835 * gdb.cp/scope-err.exp: New test script.
6836 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6837 lines and "set breakpoint here" comment.
6838 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6839 Fixed some whitespace and format issues.
6840 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6841 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6842
68432016-03-15 Doug Evans <dje@google.com>
6844
6845 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6846 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6847 All callers updated. Add tests for enums, mixed flags register.
6848
68492016-03-15 Doug Evans <dje@google.com>
6850
6851 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6852 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6853
68542016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6855
6856 * gdb.base/default.exp: Add $_as_string to the list of expected
6857 convenience functions.
6858
68592016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6860
6861 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6862
68632016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6864
6865 * gdb.python/py-as-string.exp: New file.
6866 * gdb.python/py-as-string.c: New file.
6867
68682016-03-09 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6871 signal" -> "Thread NN received signal" output change.
6872 * gdb.threads/ia64-sigill.exp: Likewise.
6873 * gdb.threads/linux-dp.exp: Likewise.
6874 * gdb.threads/manythreads.exp: Likewise.
6875 * gdb.threads/pending-step.exp: Likewise.
6876 * gdb.threads/print-threads.exp: Likewise.
6877 * gdb.threads/sigstep-threads.exp: Likewise.
6878 * gdb.threads/staticthreads.exp: Likewise.
6879 * gdb.threads/tls.exp: Likewise.
6880
68812016-03-09 Pedro Alves <palves@redhat.com>
6882
6883 * gdb.base/command-line-input.exp: New file.
6884
68852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6886
6887 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6888 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6889 * gdb.trace/pending.exp: Accept leading dot before function name.
6890 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6891 * lib/trace-support.exp: Set registers for ppc.
6892
68932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6894
6895 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6896 use it for disassembly; accept .main in addition to main in backtrace.
6897
68982016-03-09 Wei-cheng Wang <cole945@gmail.com>
6899 Marcin Kościelnicki <koriakin@0x04.net>
6900
6901 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6902 (gdb_recursion_test_ptr): New global variable.
6903 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6904 gdb_recursion_test.
6905 (gdb_c_test): Ditto.
6906
69072016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6908
6909 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6910 ordering.
6911
69122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6913
6914 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6915 (bar): Add bar_start_lbl label.
6916 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6917 of foo/bar for emitting DWARF and tracing.
6918
69192016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6920
6921 * analyze-racy-logs.py: Set executable bit.
6922
69232016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6924
6925 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6926 (CHECK_TARGET_TMP): Likewise.
6927 (check-single-racy): New rule.
6928 (check-parallel-racy): Likewise.
6929 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6930 (do-check-parallel-racy): New rule.
6931 (check-racy/%.exp): Likewise.
6932 * README (Racy testcases): New section.
6933 * analyze-racy-logs.py: New file.
6934
69352016-03-03 Doug Evans <dje@google.com>
6936
6937 * gdb.base/skip.exp: Use with_test_prefix.
6938
69392016-03-03 Yao Qi <yao.qi@linaro.org>
6940
6941 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6942 Invoke step_over_syscall "clone" and break_cond_on_syscall
6943 "clone".
6944 * gdb.base/step-over-clone.c: New file.
6945
69462016-03-03 Yao Qi <yao.qi@linaro.org>
6947
6948 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6949 code format.
6950
69512016-03-03 Yao Qi <yao.qi@linaro.org>
6952
6953 * gdb.base/disp-step-fork.c: Rename to ...
6954 * gdb.base/step-over-fork.c: ... it. New file.
6955 * gdb.base/disp-step-vfork.c: Rename to ...
6956 * gdb.base/step-over-vfork.c: ... it. New file.
6957 * gdb.base/disp-step-syscall.exp: Rename to ...
6958 * gdb.base/step-over-syscall.exp: ... it. New file.
6959 (disp_step_cross_syscall): Rename to ...
6960 (step_over_syscall): ... it.
6961
69622016-03-03 Yao Qi <yao.qi@linaro.org>
6963
6964 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6965 If target supports condition evaluation on target, invoke
6966 break_cond_on_syscall for fork and vfork.
6967
69682016-03-03 Yao Qi <yao.qi@linaro.org>
6969
6970 * gdb.base/disp-step-syscall.exp: Don't invoke
6971 support_displaced_stepping.
6972 (disp_step_cross_syscall): Test with displaced stepping off and
6973 on if supported.
6974
69752016-03-03 Yao Qi <yao.qi@linaro.org>
6976
6977 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6978 proc.
6979 (setup): New proc.
6980 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6981 and setup.
6982
69832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6984
6985 * gdb.fortran/vla-history.exp: Remove breakpoint.
6986
69872016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6988
6989 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6990 exceeds timeout.
6991
69922016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6993
6994 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6995 breakpoint.
6996
69972016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6998
6999 * gdb.mi/vla.f90: Nullify pointer after declaration.
7000
70012016-03-01 Pedro Alves <palves@redhat.com>
7002
7003 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7004
70052016-03-01 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7008 before anything else.
7009 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7010 _GNU_SOURCE here.
7011 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7012 before anything else.
7013 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7014
70152016-03-01 Pedro Alves <palves@redhat.com>
7016
7017 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7018
70192016-03-01 Yao Qi <yao.qi@linaro.org>
7020
7021 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7022 prepare_for_testing.
7023
70242016-03-01 Yao Qi <yao.qi@linaro.org>
7025
7026 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7027
70282016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7029
7030 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7031 manually constructing the output path.
7032
70332016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7034
7035 * gdb.arch/s390-stackless.S: New.
7036 * gdb.arch/s390-stackless.exp: New.
7037
70382016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7039
7040 * gdb.dlang/circular.c: New file.
7041 * gdb.dlang/circular.exp: New file.
7042
70432016-02-26 Yao Qi <yao.qi@linaro.org>
7044
7045 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7046 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7047 (testcases): Update.
7048
70492016-02-26 Yao Qi <yao.qi@linaro.org>
7050
7051 * gdb.reverse/aarch64.c: Rename to ...
7052 * gdb.reverse/insn-reverse.c: ... it.
7053 * gdb.reverse/aarch64.exp: Rename to ...
7054 * gdb.reverse/insn-reverse.exp: ... it.
7055
70562016-02-26 Yao Qi <yao.qi@linaro.org>
7057
7058 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7059 (testcase_ftype): New.
7060 (testcases): New array.
7061 (n_testcases): New.
7062 (main): Call each element in testcases.
7063 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7064 (read_testcase): New.
7065 Do the tests in a loop.
7066
70672016-02-25 Yao Qi <yao.qi@linaro.org>
7068
7069 * gdb.base/branches.c: Remove.
7070
70712016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7072
7073 PR gdb/13808
7074 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7075
70762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7077
7078 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7079
70802016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7081
7082 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7083 change x86_64 call_insn to 'callq'.
7084
70852016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7086
7087 * gdb.trace/tfile-avx.c: Move to...
7088 * gdb.trace/tracefile-pseudo-reg.c: Here.
7089 * gdb.trace/tfile-avx.exp: Move to...
7090 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7091
70922016-02-24 Gary Benson <gbenson@redhat.com>
7093
7094 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7095 message on attach.
7096
70972016-02-23 Doug Evans <dje@google.com>
7098
7099 * gdb.base/skip.c (test_skip): New function.
7100 (end_test_skip_file_and_function): New function.
7101 (test_skip_file_and_function): New function.
7102 * gdb.base/skip1.c (test_skip): New function.
7103 (skip1_test_skip_file_and_function): New function.
7104 * gdb.base/skip.exp: Add tests for new skip options.
7105 * gdb.base/skip-solib.exp: Update expected output.
7106 * gdb.perf/skip-command.cc: New file.
7107 * gdb.perf/skip-command.exp: New file.
7108 * gdb.perf/skip-command.py: New file.
7109
71102016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7111
7112 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7113 info registers pattern.
7114
71152016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7116
7117 * lib/future.exp: Add D support.
7118 (gdb_find_gdc): New proc.
7119 (gdb_default_target_compile): Add D support.
7120
71212016-02-18 Wei-cheng Wang <cole945@gmail.com>
7122
7123 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7124 user+system time.
7125 (trace_speed_test): Determine the iteration count for a time
7126 between 15..30 seconds.
7127
71282016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7129
7130 * gdb.arch/i386-mpx-sigsegv.c: New file.
7131 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7132 * gdb.arch/i386-mpx-simple_segv.c: New file.
7133 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7134
71352016-02-18 Yao Qi <yao.qi@linaro.org>
7136
7137 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7138 Don't call setup_kfail.
7139
71402016-02-18 Yao Qi <yao.qi@linaro.org>
7141
7142 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7143 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7144
71452016-02-16 Doug Evans <dje@google.com>
7146
7147 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7148 * gdb.base/skip1.c: Ditto.
7149 * gdb.base/skip.exp: Whitespace cleanup.
7150
71512016-02-16 Don Breazeal <donb@codesourcery.com>
7152
7153 PR remote/19496
7154 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7155 Remove kfail for PR remote/19496.
7156
71572016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7158
7159 * lib/gdb.exp (standard_temp_file): Return a path specific to
7160 the runtest invocation.
7161
71622016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7163
7164 * gdb.trace/save-trace.exp: Change relative path to be in the
7165 standard output directory.
7166
71672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7168
7169 * gdb.arch/i386-prologue.c: Add missing prototypes.
7170
71712016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7172
7173 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7174 * gdb.arch/i386-prologue.exp: Likewise.
7175 * gdb.arch/i386-size.exp: Likewise.
7176
71772016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7178
7179 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7180 define object file path.
7181 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7182 file path.
7183 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7184 standard_output_file to define binfile.
7185
71862016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7187
7188 Fix compatibility with recent gfortran-5.3.1.
7189 * gdb.fortran/vla-history.exp (print vla1 allocated)
7190 (print vla2 allocated, print $2, print $3): Remove
7191 (print $4): Rename to ...
7192 (print $2): ... here.
7193 (print $9): Rename to ...
7194 (print $5): ... here.
7195 (print $10): Rename to ...
7196 (print $6): ... here.
7197 * gdb.fortran/vla.f90: Add pvla initialization.
7198
71992016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7200
7201 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7202 New test.
7203 * gdb.fortran/vla-value-sub.exp: Likewise.
7204
72052016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7206
7207 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7208
72092016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7210
7211 * i386-biarch-core.exp: Define corefile using
7212 standard_output_file.
7213
72142016-02-12 Yao Qi <yao.qi@linaro.org>
7215
7216 * gdb.arch/arm-single-step-kernel-helper.c: New.
7217 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7218
72192016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7220
7221 * gdb.btrace/tailcall-only.exp: New.
7222 * gdb.btrace/tailcall-only.c: New.
7223 * gdb.btrace/x86_64-tailcall-only.S: New.
7224 * gdb.btrace/i686-tailcall-only.S: New.
7225
72262016-02-11 Pedro Alves <palves@redhat.com>
7227
7228 * README (Parallel testing): Add missing double quotes.
7229
72302016-02-11 Pedro Alves <palves@redhat.com>
7231
7232 * README (Parallel testing): New section.
7233 (GDB_PARALLEL): Rewrite.
7234 (FORCE_PARALLEL): Document.
7235
72362016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7237
7238 * gdb.trace/tfile-avx.c: New test.
7239 * gdb.trace/tfile-avx.exp: New test.
7240
72412016-02-09 Keith Seitz <keiths@redhat.com>
7242
7243 PR breakpoints/19546
7244 * gdb.base/infcall-exec.c: New file.
7245 * gdb.base/infcall-exec2.c: New file.
7246 * gdb.base/infcall-exec.exp: New file.
7247
72482016-02-09 Keith Seitz <keiths@redhat.com>
7249
7250 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7251 (toplevel): Call test_bkpt_address.
7252
72532016-02-09 Keith Seitz <keiths@redhat.com>
7254
7255 PR python/19506
7256 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7257 (toplevel): Call test_bkpt_address.
7258
72592016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7260
7261 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7262 to AC_OUTPUT.
7263 * configure: Regenerate.
7264
72652016-02-09 Pedro Alves <palves@redhat.com>
7266
7267 PR breakpoints/19548
7268 * gdb.base/execl-update-breakpoints.c (some_function): New
7269 function.
7270 (main): Call it.
7271 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7272 Tighten expected GDB output.
7273
72742016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7275
7276 * Makefile.in (ALL_SUBDIRS): Remove.
7277 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7278 (distclean maintainer-clean realclean): Likewise.
7279 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7280 * configure: Regenerate.
7281 * gdb.ada/Makefile.in: Delete.
7282 * gdb.arch/Makefile.in: Likewise.
7283 * gdb.asm/Makefile.in: Likewise.
7284 * gdb.base/Makefile.in: Likewise.
7285 * gdb.btrace/Makefile.in: Likewise.
7286 * gdb.cell/Makefile.in: Likewise.
7287 * gdb.compile/Makefile.in: Likewise.
7288 * gdb.cp/Makefile.in: Likewise.
7289 * gdb.disasm/Makefile.in: Likewise.
7290 * gdb.dlang/Makefile.in: Likewise.
7291 * gdb.dwarf2/Makefile.in: Likewise.
7292 * gdb.fortran/Makefile.in: Likewise.
7293 * gdb.gdb/Makefile.in: Likewise.
7294 * gdb.go/Makefile.in: Likewise.
7295 * gdb.guile/Makefile.in: Likewise.
7296 * gdb.java/Makefile.in: Likewise.
7297 * gdb.linespec/Makefile.in: Likewise.
7298 * gdb.mi/Makefile.in: Likewise.
7299 * gdb.modula2/Makefile.in: Likewise.
7300 * gdb.multi/Makefile.in: Likewise.
7301 * gdb.objc/Makefile.in: Likewise.
7302 * gdb.opencl/Makefile.in: Likewise.
7303 * gdb.opt/Makefile.in: Likewise.
7304 * gdb.pascal/Makefile.in: Likewise.
7305 * gdb.perf/Makefile.in: Likewise.
7306 * gdb.python/Makefile.in: Likewise.
7307 * gdb.reverse/Makefile.in: Likewise.
7308 * gdb.server/Makefile.in: Likewise.
7309 * gdb.stabs/Makefile.in: Likewise.
7310 * gdb.threads/Makefile.in: Likewise.
7311 * gdb.trace/Makefile.in: Likewise.
7312 * gdb.xml/Makefile.in: Likewise.
7313 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7314 GDB_PARALLEL.
7315 (standard_output_file): Remove check for GDB_PARALLEL, always
7316 return path in outputs/$subdir/$testname.
7317
73182016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7319
7320 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7321 (site.exp): Assign abs_srcdir to tcl's srcdir.
7322
73232016-02-04 Yao Qi <yao.qi@linaro.org>
7324
7325 * gdb.base/foll-exec-mode.c: Include limits.h.
7326 (main): Add parameters argc and argv. Get directory from
7327 argv[0].
7328 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7329 compilation.
7330 * gdb.base/foll-exec.c: Include limits.h.
7331 (main): Add parameters argc and argv.
7332 Get directory from argv[0].
7333 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7334 Adjust tests on the number of lines as source code changed.
7335 * gdb.base/foll-vfork-exit.c: Include limits.h.
7336 (main): Add one line of statement before vfork.
7337 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7338 (main): Add parameters argc and argv. Get directory from
7339 argv[0].
7340 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7341 (setup_gdb): Set tbreak to skip some source lines.
7342 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7343 (main): Add parameters argc and argv. Get directory from
7344 argv[0].
7345 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7346 compilation.
7347 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7348 (main): Add parameters argc and argv. Get directory from
7349 argv[0].
7350 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7351 compilation.
7352
73532016-02-01 Doug Evans <dje@google.com>
7354
7355 * gdb.base/skip.exp: Clean up multiple references to same test name.
7356
73572016-02-01 Pedro Alves <palves@redhat.com>
7358
7359 PR remote/19496
7360 * gdb.threads/forking-threads-plus-breakpoint.exp
7361 (displaced_stepping_supported): New global.
7362 (probe_displaced_stepping_support): New procedure.
7363 (do_test): Add 'displaced' parameter, and use it.
7364 (top level): Check for displaced stepping support. Add displaced
7365 stepping on/off testing axis.
7366
73672016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7368
7369 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7370 pointer. Don't perform further tests on the unassociated pointer
7371 if the first test fails.
7372
73732016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7374
7375 * gdb.base/max-value-size.c: New file.
7376 * gdb.base/max-value-size.exp: New file.
7377 * gdb.base/huge.exp: Disable max-value-size for this test.
7378
73792016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7380
7381 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7382
73832016-01-28 Yao Qi <yao.qi@linaro.org>
7384
7385 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7386
73872016-01-25 Pedro Alves <palves@redhat.com>
7388
7389 PR threads/19461
7390 * gdb.base/fork-running-state.c: New file.
7391 * gdb.base/fork-running-state.exp: New file.
7392
73932016-01-25 Pedro Alves <palves@redhat.com>
7394
7395 PR gdb/19494
7396 * gdb.base/catch-fork-kill.c: New file.
7397 * gdb.base/catch-fork-kill.exp: New file.
7398
73992016-01-25 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7402 Delete, moved to lib/gdb.exp.
7403 * gdb.threads/forking-threads-plus-breakpoint.exp
7404 (foreach_with_prefix): Likewise.
7405 * gdb.threads/process-dies-while-handling-bp.exp
7406 (foreach_with_prefix): Likewise.
7407 * lib/gdb.exp (foreach_with_prefix): New procedure.
7408
74092016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7410
7411 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7412 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7413
74142016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7415
7416 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7417 endian targets.
7418
74192016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7420 Pedro Alves <palves@redhat.com>
7421
7422 Fix testsuite compatibility with Guile.
7423 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7424 number.
7425
74262016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7427
7428 Fix testsuite compatibility with Guile.
7429 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7430 (thread 1): New test for backtrace through signal handler.
7431
74322016-01-22 Yao Qi <yao.qi@linaro.org>
7433
7434 PR testsuite/19491
7435 * gdb.base/multi-forks.c: Include
7436 ../lib/unbuffer_output.c
7437 (main): Call gdb_unbuffer_output.
7438
74392016-01-21 Doug Evans <dje@google.com>
7440
7441 * lib/ada.exp (gdb_compile_ada): Fix typo.
7442
74432016-01-21 Joel Brobecker <brobecker@adacore.com>
7444
7445 * gdb.base/break-fun-addr.exp: New file.
7446 * gdb.base/break-fun-addr1.c: New file.
7447 * gdb.base/break-fun-addr2.c: New file.
7448
74492016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7450
7451 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7452 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7453 enum flag values.
7454
74552016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7456
7457 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7458 when GDB can not set the vector return value. Add more comments
7459 for clarification.
7460
74612016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7462
7463 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7464 command.
7465
74662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7467
7468 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7469
74702016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7471
7472 * Makefile.in (check-single): Pass --status to runtest.
7473 (check/%.exp): Likewise.
7474
74752016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7476
7477 * Makefile.in (check-parallel): Propagate return code from make
7478 do-check-parallel.
7479
74802016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7481
7482 * gdb.trace/ftrace.exp: Fix expected message on continue.
7483 * gdb.trace/pending.exp: Fix expected message on continue.
7484 * gdb.trace/trace-break.exp: Fix expected message on continue.
7485
74862016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7487
7488 * lib/gdb.exp (gdb_test): Remove unused global references.
7489
74902016-01-18 Pedro Alves <palves@redhat.com>
7491
7492 * gdb.base/async-shell.exp: Adjust expected output.
7493 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7494 * gdb.base/siginfo-thread.exp: Adjust expected output.
7495 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7496 * gdb.java/jnpe.exp: Adjust expected output.
7497 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7498 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7499 * gdb.threads/leader-exit.exp: Adjust expected output.
7500 * gdb.threads/manythreads.exp: Adjust expected output.
7501 * gdb.threads/pthreads.exp: Adjust expected output.
7502 * gdb.threads/schedlock.exp: Adjust expected output.
7503 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7504 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7505 expected output.
7506 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7507 output.
7508 * gdb.threads/sigthread.exp: Adjust expected output.
7509 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7510
75112016-01-18 Yao Qi <yao.qi@linaro.org>
7512
7513 * gdb.guile/scm-section-script.c: Replace @progbits with
7514 %progbits.
7515 * gdb.python/py-section-script.c: Likewise.
7516
75172016-01-15 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.multi/tids.exp: Test star wildcard ranges.
7520
75212016-01-15 Pedro Alves <palves@redhat.com>
7522
7523 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7524 command from "thread apply" invocation.
7525 (thr_apply_info_thr_invalid): Default the expected output to the
7526 input tid list.
7527 (top level): Add tests that use convenience variables. Add tests
7528 for "thread apply" with a valid TID list, but missing the command.
7529
75302016-01-13 Pedro Alves <palves@redhat.com>
7531
7532 * gdb.base/default.exp: Expect $_gthread as well.
7533 * gdb.multi/tids.exp: Test $_gthread.
7534 * gdb.threads/thread-specific.exp: Test $_gthread.
7535
75362016-01-13 Pedro Alves <palves@redhat.com>
7537
7538 * gdb.multi/tids.exp: Test "info threads -gid".
7539
75402016-01-13 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7543 Breakpoint.thread.
7544 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7545
75462016-01-07 Pedro Alves <palves@redhat.com>
7547
7548 * gdb.base/break.exp: Adjust to output changes.
7549 * gdb.base/hbreak2.exp: Likewise.
7550 * gdb.base/sepdebug.exp: Likewise.
7551 * gdb.base/watch_thread_num.exp: Likewise.
7552 * gdb.linespec/keywords.exp: Likewise.
7553 * gdb.multi/info-threads.exp: Likewise.
7554 * gdb.threads/thread-find.exp: Likewise.
7555 * gdb.multi/tids.c: New file.
7556 * gdb.multi/tids.exp: New file.
7557
75582016-01-13 Pedro Alves <palves@redhat.com>
7559
7560 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7561
75622016-01-13 Pedro Alves <palves@redhat.com>
7563
7564 * gdb.base/default.exp: Expect $_inferior as well.
7565 * gdb.multi/base.exp: Test $_inferior.
7566
75672016-01-13 Pedro Alves <palves@redhat.com>
7568
7569 PR breakpoints/19388
7570 * gdb.base/catch-signal-siginfo-cond.c: New file.
7571 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7572
75732016-01-12 Josh Stone <jistone@redhat.com>
7574 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7575
7576 * gdb.base/catch-syscall.c (do_execve): New variable.
7577 (main): Conditionally trigger an execve.
7578 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7579 (test_catch_syscall_execve): New, check entry/return across execve.
7580 (do_syscall_tests): Call test_catch_syscall_execve.
7581
75822016-01-12 Pedro Alves <palves@redhat.com>
7583
7584 * gdb.base/random-signal.exp (do_test): New procedure, with body
7585 of testcase moved in.
7586
75872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7588 Pedro Alves <palves@redhat.com>
7589
7590 * gdb.base/funcargs.exp (finish from indirectly called function):
7591 Reintroduce the case for 'First'.
7592
75932016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7594 Pedro Alves <palves@redhat.com>
7595
7596 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7597 (tcatch_vfork_then_child_follow_exec)
7598 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7599 identification.
7600
76012016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7602
7603 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7604 and repeats to unlimited.
7605 * gdb.python/py-value.exp: Likewise.
7606 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7607 and repeats to unlimited.
7608
76092016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7610
7611 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7612 and reordering the functions.
7613 * gdb.multi/hangout.c: Likewise.
7614 * gdb.multi/hello.c: Likewise.
7615
76162016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7617
7618 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7619 absolute.
7620 (SingleStatisticTestResult.report): Use dict.keys instead of
7621 dict.iterkeys.
7622
76232016-01-06 Pedro Alves <palves@redhat.com>
7624
7625 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7626
76272016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7628
7629 * gdb.btrace/dlopen.exp: New.
7630 * gdb.btrace/dlopen.c: New.
7631 * gdb.btrace/dlopen-dso.c: New.
7632
76332015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7634
7635 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7636 PATTERN argument is optional.
7637
76382015-12-24 Joel Brobecker <brobecker@adacore.com>
7639
7640 * lib/ada.exp (target_compile_ada_from_dir): New function.
7641 (gdb_compile_ada): Reimplement avoiding the use of project files.
7642 * gdb.ada/gnat_ada.gpr: Delete.
7643 * gdb.ada/cond_lang.exp: Adjust test to make path before
7644 filename optional.
7645 * gdb.ada/small_reg_param.exp: Likewise.
7646
76472015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7648
7649 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7650
76512015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7652
7653 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7654 case.
7655
76562015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7657
7658 * gdb.base/break.exp: Remove dead code.
7659 * gdb.base/sepdebug.exp: Likewise.
7660
76612015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7662
7663 * gdb.asm/asm-source.exp: Remove HP-UX references.
7664 * gdb.base/annota1.exp: Likewise.
7665 * gdb.base/annota3.exp: Likewise.
7666 * gdb.base/attach.exp: Likewise.
7667 * gdb.base/bigcore.exp: Likewise.
7668 * gdb.base/break.exp: Likewise.
7669 * gdb.base/call-ar-st.exp: Likewise.
7670 * gdb.base/callfuncs.exp: Likewise.
7671 * gdb.base/catch-fork-static.exp: Likewise.
7672 * gdb.base/display.exp: Likewise.
7673 * gdb.base/foll-exec-mode.exp: Likewise.
7674 * gdb.base/foll-exec.exp: Likewise.
7675 * gdb.base/foll-fork.exp: Likewise.
7676 * gdb.base/foll-vfork.exp: Likewise.
7677 * gdb.base/funcargs.exp: Likewise.
7678 * gdb.base/hbreak2.exp: Likewise.
7679 * gdb.base/inferior-died.exp: Likewise.
7680 * gdb.base/interrupt.exp: Likewise.
7681 * gdb.base/multi-forks.exp: Likewise.
7682 * gdb.base/nodebug.exp: Likewise.
7683 * gdb.base/sepdebug.exp: Likewise.
7684 * gdb.base/solib1.c: Likewise.
7685 * gdb.base/step-test.exp: Likewise.
7686 * gdb.mi/non-stop.c: Likewise.
7687 * gdb.mi/pthreads.c: Likewise.
7688 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7689 * gdb.threads/pthreads.c: Likewise.
7690 * gdb.threads/staticthreads.exp: Likewise.
7691 * lib/future.exp: Likewise.
7692 * lib/gdb.exp: Likewise.
7693 * gdb.base/so-indr-cl.c: Remove.
7694 * gdb.base/so-indr-cl.exp: Likewise.
7695 * gdb.base/solib.c: Likewise.
7696 * gdb.base/solib.exp: Likewise.
7697 * gdb.base/solib2.c: Likewise.
7698
76992015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7700
7701 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7702 * gdb.base/call-ar-st.exp: Likewise.
7703 * gdb.base/callfuncs.exp: Likewise.
7704 * gdb.base/condbreak.exp: Likewise.
7705 * gdb.base/constvars.exp: Likewise.
7706 * gdb.base/hbreak2.exp: Likewise.
7707 * gdb.base/langs.exp: Likewise.
7708 * gdb.base/list.exp: Likewise.
7709 * gdb.base/long_long.exp: Likewise.
7710 * gdb.base/ptype.exp: Likewise.
7711 * gdb.base/scope.exp: Likewise.
7712 * gdb.base/signals.exp: Likewise.
7713 * gdb.base/so-impl-ld.exp: Likewise.
7714 * gdb.base/varargs.exp: Likewise.
7715 * gdb.base/volatile.exp: Likewise.
7716 * gdb.base/whatis.exp: Likewise.
7717 * gdb.cp/cplusfuncs.exp: Likewise.
7718 * gdb.cp/inherit.exp: Likewise.
7719 * gdb.cp/local.exp: Likewise.
7720 * gdb.cp/member-ptr.exp: Likewise.
7721 * gdb.cp/method.exp: Likewise.
7722 * gdb.cp/overload.exp: Likewise.
7723 * gdb.cp/templates.exp: Likewise.
7724 * gdb.stabs/weird.exp: Likewise.
7725 * lib/compiler.c: Likewise.
7726 * lib/compiler.cc: Likewise.
7727 * lib/cp-support.exp: Likewise.
7728 * lib/gdb.exp: Likewise.
7729
77302015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7731
7732 * configure.ac: Remove HP-UX case.
7733 * configure: Regenerate.
7734
77352015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7736
7737 * lib/gdb.exp (gdb_compile): Add function doc.
7738
77392015-12-17 Pedro Alves <palves@redhat.com>
7740
7741 PR threads/19354
7742 * gdb.multi/info-threads.exp: New file.
7743
77442015-12-15 Yao Qi <yao.qi@linaro.org>
7745
7746 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7747 is aarch64*-*-*.
7748
77492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7750
7751 * gdb.base/history-duplicates.exp: Skip if no readline support.
7752
77532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7754
7755 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7756
77572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7758
7759 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7760
77612015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7762
7763 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7764 ctrl-C if nointerrupts target property is set.
7765 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7766 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7767 * gdb.base/paginate-bg-execution.exp: Likewise.
7768 * gdb.base/paginate-execution-startup.exp: Likewise.
7769 * gdb.base/random-signal.exp: Likewise.
7770 * gdb.base/range-stepping.exp: Likewise.
7771 * gdb.cp/annota2.exp: Likewise.
7772 * gdb.cp/annota3.exp: Likewise.
7773 * gdb.gdb/selftest.exp: Likewise.
7774 * gdb.threads/continue-pending-status.exp: Likewise.
7775 * gdb.threads/leader-exit.exp: Likewise.
7776 * gdb.threads/manythreads.exp: Likewise.
7777 * gdb.threads/pthreads.exp: Likewise.
7778 * gdb.threads/schedlock.exp: Likewise.
7779 * gdb.threads/sigthread.exp: Likewise.
7780
77812015-12-11 Don Breazeal <donb@codesourcery.com>
7782
7783 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7784 remote.
7785 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7786 * gdb.base/foll-exec.exp (main): Enable for target remote.
7787 * gdb.base/foll-fork.exp (main): Likewise.
7788 * gdb.base/foll-vfork.exp (main): Likewise.
7789 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7790 (proc continue_to_exit_bp_loc): Use clean_restart.
7791 * gdb.base/pie-execl.exp (main): Disable for target remote.
7792 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7793 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7794 * gdb.threads/execl.exp (main): Likewise.
7795 * gdb.threads/fork-child-threads.exp (main): Likewise.
7796 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7797 remote.
7798 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7799 remote.
7800 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7801 pid.tid style ptids, instead of just tid.
7802 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7803 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7804 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7805 ptids, instead of just tid.
7806
78072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7808
7809 * gdb.base/list.exp (test_list_forward): Add end of file error
7810 test.
7811 (test_repeat_list_command): Add end of file error test.
7812 (test_list_backwards): Add beginning of file error test.
7813
78142015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7815
7816 * gdb.base/list.exp (test_list_invalid_args): New function,
7817 defined, and called.
7818
78192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7820
7821 * gdb.base/list.exp (test_list): Make test names unique.
7822
78232015-12-11 Yao Qi <yao.qi@linaro.org>
7824
7825 * gdb.base/coremaker2.c: Remove.
7826
78272015-12-10 Pedro Alves <palves@redhat.com>
7828
7829 * gdb.multi/base.exp: Remove stale "spaces" references.
7830
78312015-12-10 Pedro Alves <palves@redhat.com>
7832
7833 * gdb.multi/base.exp: Don't use nowarnings.
7834 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7835 * gdb.multi/hangout.c: Include stdio.h.
7836 * gdb.multi/hello.c: Include stdlib.h.
7837 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7838 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7839 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7840
78412015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7842
7843 * gdb.dwarf2/dw2-ranges-base.c: New file.
7844 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7845 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7846 support additional line table, and debug ranges generation.
7847 (Dwarf::ranges): New function, generate .debug_ranges.
7848 (Dwarf::lines): Support generating simple line table programs.
7849 (Dwarf::assemble): Initialise new namespace variables.
7850
78512015-12-09 Kevin Buettner <kevinb@redhat.com>
7852
7853 * gdb.base/async.exp (proc test_background): Add case for
7854 asynchronous execution not supported.
7855
78562015-12-09 Luis Machado <lgustavo@codesourcery.com>
7857
7858 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7859 format and change test names to make them unique.
7860
78612015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7862 Pedro Alves <pedro@redhat.com>
7863
7864 PR gdb/18702
7865 Add checking of floatformats setup on x86_64 hosts.
7866 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7867 (smallval, bigval): New labels/constants.
7868 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7869 float" after loading bigval and smallval.
7870
78712015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7872
7873 * gdb.ada/fun_overload_menu.exp: New testcase.
7874 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7875
78762015-12-04 Josh Stone <jistone@redhat.com>
7877
7878 * gdb.base/catch-fork-static.exp: New.
7879
78802015-12-03 Yao Qi <yao.qi@linaro.org>
7881
7882 * gdb.base/sizeof.c: Don't include stdio.h and
7883 ../lib/unbuffer_output.c.
7884 (main): New variable 'size' and 'value'. Remove printf and
7885 gdb_unbuffer_output. Assign return value to size and value.
7886 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7887 at the beginning.
7888 (check_sizeof): Check the result by printing variable 'size'.
7889 (check_valueof): Check the result by printing variable 'value'.
7890
78912015-12-01 Yao Qi <yao.qi@linaro.org>
7892
7893 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7894 for aarch64*-*-linux* target.
7895
78962015-11-30 Pedro Alves <palves@redhat.com>
7897
7898 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7899
79002015-11-30 Pedro Alves <palves@redhat.com>
7901
7902 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7903 Handle non-stop mode vCont replies.
7904
79052015-11-30 Pedro Alves <palves@redhat.com>
7906
7907 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7908 prepare_for_testing. Start gdb with "set non-stop on" appended to
7909 GDBFLAGS. Lax expected stop output.
7910
79112015-11-27 Yao Qi <yao.qi@linaro.org>
7912
7913 * gdb.arch/arm-neon.exp: New.
7914 * gdb.arch/arm-neon.c: New.
7915
79162015-11-27 Yao Qi <yao.qi@linaro.org>
7917
7918 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7919
79202015-11-27 Yao Qi <yao.qi@linaro.org>
7921
7922 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7923 frames-invalid annotation.
7924
79252015-11-27 Yao Qi <yao.qi@linaro.org>
7926
7927 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7928
79292015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7930
7931 * gdb.threads/names.exp: New file.
7932 * gdb.threads/names.c: New file.
7933 * README: Mention gdb,no_thread_names.
7934
79352015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7936
7937 PR 19297
7938 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7939 support" error.
7940
79412015-11-24 Pedro Alves <palves@redhat.com>
7942
7943 PR 17539
7944 * gdb.base/display.exp: Expect displays to be sorted in ascending
7945 order. Use multi_line.
7946 * gdb.base/solib-display.exp: Likewise.
7947
79482015-11-24 Pedro Alves <palves@redhat.com>
7949
7950 PR 17539
7951 * gdb.base/display.exp: Expect displays to be sorted in ascending
7952 order. Use multi_line.
7953 * gdb.base/solib-display.exp: Likewise.
7954
79552015-11-24 Pedro Alves <palves@redhat.com>
7956
7957 PR 17539
7958 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7959 threads in ascending order.
7960 * gdb.base/foll-fork.exp: Likewise.
7961 * gdb.base/foll-vfork.exp: Likewise.
7962 * gdb.base/multi-forks.exp: Likewise.
7963 * gdb.mi/mi-nonstop.exp: Likewise.
7964 * gdb.mi/mi-nsintrall.exp: Likewise.
7965 * gdb.multi/base.exp: Likewise.
7966 * gdb.multi/multi-arch.exp: Likewise.
7967 * gdb.python/py-inferior.exp: Likewise.
7968 * gdb.threads/break-while-running.exp: Likewise.
7969 * gdb.threads/execl.exp: Likewise.
7970 * gdb.threads/gcore-thread.exp: Likewise.
7971 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7972 * gdb.threads/kill.exp: Likewise.
7973 * gdb.threads/linux-dp.exp: Likewise.
7974 * gdb.threads/multiple-step-overs.exp: Likewise.
7975 * gdb.threads/next-bp-other-thread.exp: Likewise.
7976 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7977 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7978 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7979 * gdb.threads/thread-find.exp: Likewise.
7980 * gdb.threads/tls.exp: Likewise.
7981 * lib/mi-support.exp (mi_reverse_list): Delete.
7982 (mi_check_thread_states): No longer reverse list.
7983
79842015-11-24 Pedro Alves <palves@redhat.com>
7985
7986 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7987 use lowercase.
7988
79892015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7990
7991 * gdb.trace/actions.c: Include trace-common.h.
7992 (main): Add a location for a fast tracepoint.
7993 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7994 the normal tracepoints.
7995 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7996
79972015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7998
7999 * save-trace.exp: Factor out code to these...
8000 (gdb_save_tracepoints): New.
8001 (gdb_load_tracepoints): New.
8002 (do_save_load_test): New.
8003
80042015-11-23 Kevin Buettner <kevinb@redhat.com>
8005
8006 * gdb.base/asmlabel.exp: New test.
8007 * gdb.base/asmlabel.c: New test case.
8008
80092015-11-23 Joel Brobecker <brobecker@adacore.com>
8010
8011 * gdb.base/wrong_frame_bt_full-main.c: New file.
8012 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8013 * gdb.base/wrong_frame_bt_full.exp: New file.
8014
80152015-11-23 Joel Brobecker <brobecker@adacore.com>
8016
8017 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8018
80192015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8020
8021 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8022 pstate register when comparing registers values in
8023 sparc64-*-linux-gnu targets to avoid spurious differences.
8024
80252015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8026
8027 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8028
80292015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8030
8031 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8032 as type argument to gdb_compile.
8033 * gdb.base/nested-subp2.exp: Likewise.
8034 * gdb.base/nested-subp3.exp: Likewise.
8035
80362015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8037
8038 * lib/dwarf.exp (_note): Fix left shift of negative value.
8039 * gdb.trace/trace-condition.exp: Likewise.
8040
80412015-11-13 Yao Qi <yao.qi@linaro.org>
8042
8043 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8044 comments about d10v.
8045 (test_scalar_returns): Likewise.
8046 * gdb.base/d10v.ld: Remove.
8047 * gdb.base/overlays.exp: Remove the target triplet checking for
8048 d10v-*-*.
8049 * gdb.base/structs.exp (test_struct_returns): Remove the
8050 comments about d10v.
8051 (test_struct_calls): Likewise.
8052
80532015-11-13 Yao Qi <yao.qi@linaro.org>
8054
8055 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8056 * gdb.base/gnu_vector.c: Don't include stdio.h.
8057 (main): Don't print res and call add_some_intvecs.
8058
80592015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8060
8061 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8062 macro.
8063 (func5): Removed.
8064 (func4): Use FAST_TRACEPOINT_LABEL.
8065 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8066 macro.
8067 (func): Removed.
8068 (thread_function): Use FAST_TRACEPOINT_LABEL.
8069 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8070 (func): Remove.
8071 (marker): Use FAST_TRACEPOINT_LABEL.
8072 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8073 (pendfunc1): Remove.
8074 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8075 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8076 (foo): Remove.
8077 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8078 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8079 macro.
8080 (func): Remove.
8081 (marker): Use FAST_TRACEPOINT_LABEL.
8082 * gdb.trace/trace-common.h: New header.
8083 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8084 macro.
8085 (func): Remove.
8086 (marker): Use FAST_TRACEPOINT_LABEL.
8087 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8088 (func): Remove.
8089 (thread_function): Use FAST_TRACEPOINT_LABEL.
8090
80912015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8092
8093 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8094 in front.
8095 * gdb.trace/change-loc.exp: Use global pcreg definition.
8096 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8097 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8098 in front.
8099 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8100 * gdb.trace/pending.exp: Likewise.
8101 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8102 * gdb.trace/trace-break.exp: Likewise.
8103 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8104 in front.
8105 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8106 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8107 in front.
8108 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8109
81102015-11-09 Joel Brobecker <brobecker@adacore.com>
8111
8112 * gdb.ada/fin_fun_out: New testcase.
8113
81142015-11-07 Kevin Buettner <kevinb@redhat.com>
8115
8116 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8117 value associated with DW_AT_byte_size.
8118 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8119 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8120 DW_AT_upper_bound.
8121
81222015-11-07 Kevin Buettner <kevinb@redhat.com>
8123
8124 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8125 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8126 version.
8127 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8128 gdb.dwarf2/dw2-canonicalize-type.exp,
8129 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8130 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8131 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8132 provided by gdb_target_symbol_prefix_flags_asm.
8133 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8134 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8135 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8136 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8137 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8138 macros where needed). Use this macro for symbols which require
8139 the prefix provided by SYMBOL_PREFIX.
8140
81412015-11-05 Kevin Buettner <kevinb@redhat.com>
8142
8143 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8144 New procs.
8145 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8146 representing expressions, of more than one list element.
8147 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8148 to prepend linker symbol prefix to f.
8149 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8150 table_1 and table_2.
8151 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8152 Likewise, for f and g.
8153 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8154 for ptr.
8155 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8156 for main.
8157 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8158 table_1_ptr and table_2_ptr.
8159
81602015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8161 Joel Brobecker <brobecker@adacore.com>
8162
8163 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8164
81652015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8166
8167 * gdb.reverse/s390-mvcle.c: New test.
8168 * gdb.reverse/s390-mvcle.exp: New file.
8169 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8170
81712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8172
8173 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8174
81752015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8176
8177 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8178 reaching marker2.
8179 * gdb.reverse/getresuid-reverse.exp: Likewise.
8180 * gdb.reverse/pipe-reverse.exp: Likewise.
8181 * gdb.reverse/readv-reverse.exp: Likewise.
8182 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8183 * gdb.reverse/time-reverse.exp: Likewise.
8184 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8185
81862015-10-30 Yao Qi <yao.qi@linaro.org>
8187
8188 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8189 (empty_cycle): Remove.
8190 (main): Don't call empty_cycle. Don't use watch_count_done.
8191 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8192 empty_cycle. Rewrite the code counting HW watchpoints.
8193
81942015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8195
8196 * gdb.reverse/fstatat-reverse.c: New test.
8197 * gdb.reverse/fstatat-reverse.exp: New file.
8198 * gdb.reverse/getresuid-reverse.c: New test.
8199 * gdb.reverse/getresuid-reverse.exp: New file.
8200 * gdb.reverse/pipe-reverse.c: New test.
8201 * gdb.reverse/pipe-reverse.exp: New file.
8202 * gdb.reverse/readv-reverse.c: New test.
8203 * gdb.reverse/readv-reverse.exp: New file.
8204 * gdb.reverse/recvmsg-reverse.c: New test.
8205 * gdb.reverse/recvmsg-reverse.exp: New file.
8206 * gdb.reverse/time-reverse.c: New test.
8207 * gdb.reverse/time-reverse.exp: New file.
8208 * gdb.reverse/waitpid-reverse.c: New test.
8209 * gdb.reverse/waitpid-reverse.exp: New file.
8210
82112015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8212
8213 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8214
82152015-10-26 Doug Evans <dje@google.com>
8216
8217 PR symtab/17391
8218 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8219 * gdb.dwarf2/bad-regnum.c: New file.
8220 * gdb.dwarf2/bad-regnum.exp: New file.
8221
82222015-10-26 Doug Evans <dje@google.com>
8223
8224 PR python/18938
8225 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8226 file.
8227
82282015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8229
8230 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8231 for a change by "Mention language in compile error message".
8232
82332015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8234
8235 PR python/18073
8236 * gdb.python/py-type.c (C::a_method): New.
8237 (C::a_const_method): New.
8238 (C::a_static_method): New.
8239 (a_function): New.
8240 * gdb.python/py-type.exp (test_fields): Test getting fields
8241 from function and method.
8242
82432015-10-21 Keven Boell <keven.boell@intel.com>
8244
8245 * gdb.fortran/vla-alloc-assoc.exp: New file.
8246 * gdb.fortran/vla-datatypes.exp: New file.
8247 * gdb.fortran/vla-datatypes.f90: New file.
8248 * gdb.fortran/vla-history.exp: New file.
8249 * gdb.fortran/vla-ptype-sub.exp: New file.
8250 * gdb.fortran/vla-ptype.exp: New file.
8251 * gdb.fortran/vla-sizeof.exp: New file.
8252 * gdb.fortran/vla-sub.f90: New file.
8253 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8254 * gdb.fortran/vla-value-sub-finish.exp: New file.
8255 * gdb.fortran/vla-value-sub.exp: New file.
8256 * gdb.fortran/vla-value.exp: New file.
8257 * gdb.fortran/vla-ptr-info.exp: New file.
8258 * gdb.mi/mi-vla-fortran.exp: New file.
8259 * gdb.mi/vla.f90: New file.
8260
82612015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8262
8263 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8264 of hardwired timeout value.
8265
82662015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8267 Pedro Alves <palves@redhat.com>
8268
8269 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8270 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8271
82722015-10-19 Josh Stone <jistone@redhat.com>
8273
8274 * gdb.base/catch-syscall.c: Include <sched.h>.
8275 (unknown_syscall): New variable.
8276 (main): Trigger a vfork and an unknown syscall.
8277 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8278 (unknown_syscall_number): Likewise.
8279 (check_call_to_syscall): Accept an optional syscall pattern.
8280 (check_return_from_syscall): Likewise.
8281 (check_continue): Likewise.
8282 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8283 (test_catch_syscall_skipping_return): New test toggling off 'catch
8284 syscall' to step over the syscall return, then toggling back on.
8285 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8286 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8287 (do_syscall_tests): Call test_catch_syscall_without_args and
8288 test_catch_syscall_mid_vfork.
8289 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8290 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8291
82922015-10-19 Andrew Stubbs <ams@codesourcery.com>
8293
8294 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8295 print g_vE): Add new pass patterns.
8296 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8297 print various symbol names for vptr fields.
8298
82992015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8300
8301 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8302 results.
8303
83042015-10-12 Yao Qi <yao.qi@linaro.org>
8305
8306 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8307
83082015-10-12 Yao Qi <yao.qi@linaro.org>
8309
8310 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8311 is aarch64*-*-linux*.
8312
83132015-10-12 Yao Qi <yao.qi@linaro.org>
8314
8315 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8316 (can_relocate_bcond_true): ... it.
8317 (can_relocate_bcond_false): New function.
8318 (foo): Likewise.
8319 (can_relocate_bl): Likewise.
8320 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8321 can_relocate_bl.
8322
83232015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8324
8325 * gdb.base/nested-addr.c: New file.
8326 * gdb.base/nested-addr.exp: New testcase.
8327
83282015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8329
8330 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8331 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8332 its output. Ignore the output of "record goto begin" and instead
8333 check that GDB is replaying.
8334
83352015-10-09 Pedro Alves <palves@redhat.com>
8336
8337 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8338 (top level): Use it in the run with no args test.
8339
83402015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8341
8342 * gdb.dlang/properties.exp: New file.
8343
83442015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8345
8346 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8347 whether or not address 0x1000 is mapped on the target.
8348
83492015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8350
8351 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8352 build.
8353
83542015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8355
8356 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8357 instruction-history test.
8358
83592015-09-28 Doug Evans <dje@google.com>
8360
8361 * gdb.base/gcore.c (array_func): Add reference to static_array.
8362
83632015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8364
8365 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8366 source line.
8367
83682015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8369
8370 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8371 short or char as base type.
8372
83732015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8374
8375 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8376 to allow any size enum.
8377
83782015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8379
8380 * gdb.ada/array_ptr_renaming.exp: New testcase.
8381 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8382 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8383
83842015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8385
8386 * gdb.trace/ftrace-lock.c: New file.
8387 * gdb.trace/ftrace-lock.exp: New file.
8388
83892015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8390
8391 * gdb.arch/insn-reloc.c: New file.
8392 * gdb.arch/ftrace-insn-reloc.exp: New file.
8393
83942015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8395
8396 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8397 instruction.
8398 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8399 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8400 * gdb.trace/range-stepping.c: Likewise.
8401 * gdb.trace/trace-break.c: Likewise.
8402 * gdb.trace/trace-mt.c (thread_function): Likewise.
8403 * gdb.trace/ftrace.c (marker): Likewise.
8404 * gdb.trace/trace-condition.c (marker): Likewise.
8405 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8406 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8407 is_aarch64_target.
8408
84092015-09-18 Doug Evans <xdje42@gmail.com>
8410
8411 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8412 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8413
84142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8415
8416 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8417 the breakpoint.
8418
84192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8420
8421 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8422 the pending breakpoint. Remove timeout override for "Run till
8423 MI pending breakpoint on pendfunc3 on thread 2" test.
8424
84252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8426
8427 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8428 filename pattern.
8429
84302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8431
8432 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8433 in breakpoint filename pattern.
8434
84352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8436
8437 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8438
84392015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8440
8441 * gdb.linespec/explicit.exp: Check for readline support for
8442 tab-completion tests. Fix obvious typo.
8443
84442015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8445
8446 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8447 and replay.
8448
84492015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8450
8451 * gdb.btrace/non-stop.c: New.
8452 * gdb.btrace/non-stop.exp: New.
8453
84542015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8455 Yao Qi <yao.qi@linaro.org>
8456
8457 * gdb.trace/trace-condition.c: New file.
8458 * gdb.trace/trace-condition.exp: New file.
8459
84602015-09-16 Wei-cheng Wang <cole945@gmail.com>
8461
8462 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8463 for testing bytecode compilation.
8464
84652015-09-16 Pedro Alves <palves@redhat.com>
8466 Sandra Loosemore <sandra@codesourcery.com>
8467
8468 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8469 (SECONDS): Redefine.
8470 (main): Call pthread_kill and alarm early.
8471 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8472 support.
8473 (test): If the target can't hardware step and doesn't support
8474 displaced stepping, increase the timeout.
8475
84762015-09-16 Pedro Alves <palves@redhat.com>
8477
8478 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8479 (enable_debug): New procedures.
8480 (test): Use them. Bail out if waiting for threads fails.
8481 (top level): Bail out if a test fails.
8482
84832015-09-16 Yao Qi <yao.qi@linaro.org>
8484
8485 * gdb.asm/asm-source.exp: Set asm-arch for
8486 aarch64*-*-* target.
8487 * gdb.asm/aarch64.inc: New file.
8488
84892015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8490
8491 * gdb.ada/array_of_variable_length.exp: New testcase.
8492 * gdb.ada/array_of_variable_length/foo.adb: New file.
8493 * gdb.ada/array_of_variable_length/pck.adb: New file.
8494 * gdb.ada/array_of_variable_length/pck.ads: New file.
8495
84962015-09-15 Doug Evans <dje@google.com>
8497
8498 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8499 of function static local variable.
8500
85012015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8502
8503 * gdb.threads/tls-so_extern.exp: New test file.
8504 * gdb.threads/tls-so_extern.c: New test file.
8505 * gdb.threads/tls-so_extern_main.c: New test file.
8506
85072015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8508
8509 * gdb.opt/solib-intra-step-lib.c: New file.
8510 * gdb.opt/solib-intra-step-main.c: New file.
8511 * gdb.opt/solib-intra-step.exp: New file.
8512
85132015-09-15 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8516 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8517
85182015-09-14 Pedro Alves <palves@redhat.com>
8519
8520 * gdb.base/hook-stop-continue.c: Delete.
8521 * gdb.base/hook-stop-continue.exp: Delete.
8522 * gdb.base/hook-stop-frame.c: Delete.
8523 * gdb.base/hook-stop-frame.exp: Delete.
8524 * gdb.base/hook-stop.c: New file.
8525 * gdb.base/hook-stop.exp: New file.
8526
85272015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8528
8529 * gdb.ada/access_to_packed_array.exp: New testcase.
8530 * gdb.ada/access_to_packed_array/foo.adb: New file.
8531 * gdb.ada/access_to_packed_array/pack.adb: New file.
8532 * gdb.ada/access_to_packed_array/pack.ads: New file.
8533
85342015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8535
8536 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8537 buffer size test.
8538
85392015-09-11 Don Breazeal <donb@codesourcery.com>
8540
8541 * gdb.base/foll-exec.c: Add copyright header. Fix
8542 formatting issues.
8543 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8544 (do_exec_tests): Use clean_restart in place of zap_session,
8545 and for test initialization. Fix formatting issues. Use
8546 fail in place of perror.
8547 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8548 an expect statement to match an expression with output from
8549 the program under debug.
8550 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8551 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8552 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8553 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8554 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8555
85562015-09-09 Doug Evans <dje@google.com>
8557
8558 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8559
85602015-09-09 Doug Evans <dje@google.com>
8561
8562 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8563
85642015-09-09 Doug Evans <dje@google.com>
8565
8566 * gdb.base/savedregs.exp: Fix typo.
8567
85682015-09-09 Pedro Alves <palves@redhat.com>
8569
8570 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8571
85722015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8573
8574 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8575 command actually switches threads. Give up on remaining
8576 tests if target fails to stop at breakpoint.
8577
85782015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8579
8580 * gdb.ada/funcall_char.exp: New testcase.
8581 * gdb.ada/funcall_char/foo.adb: New file.
8582
85832015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8584
8585 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8586 expected outputs. Add two testcases for completing ambiguous
8587 functions.
8588 * gdb.ada/complete/aux_pck.adb: New file.
8589 * gdb.ada/complete/aux_pck.ads: New file.
8590 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8591 Ambiguous_Func functions.
8592 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8593 * gdb.ada/complete/pck.adb: Likewise.
8594
85952015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8596
8597 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8598 failures to run the test program under GDB.
8599
86002015-08-26 Luis Machado <lgustavo@codesourcery.com>
8601
8602 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8603 to C.
8604
86052015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8606
8607 * gdb.base/run-after-attach.exp: New test file.
8608 * gdb.base/run-after-attach.c: New test file.
8609
86102015-08-26 Don Breazeal <donb@codesourcery.com>
8611
8612 * gdb.base/foll-exec-2.c: New test program.
8613 * gdb.base/foll-exec-2.exp: New test.
8614
86152015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8616
8617 * gdb.base/nested-subp1.exp: New file.
8618 * gdb.base/nested-subp1.c: New file.
8619 * gdb.base/nested-subp2.exp: New file.
8620 * gdb.base/nested-subp2.c: New file.
8621 * gdb.base/nested-subp3.exp: New file.
8622 * gdb.base/nested-subp3.c: New file.
8623
86242015-08-24 Pedro Alves <palves@redhat.com>
8625
8626 * gdb.server/connect-without-multi-process.c: New file.
8627 * gdb.server/connect-without-multi-process.exp: New file.
8628
86292015-08-24 Luis Machado <lgustavo@codesourcery.com>
8630
8631 * gdb.opt/inline-markers.c: Make z int.
8632
86332015-08-24 Luis Machado <lgustavo@codesourcery.com>
8634
8635 * gdb.opt/inline-markers.c: Make z volatile.
8636
86372015-08-24 Luis Machado <lgustavo@codesourcery.com>
8638
8639 * gdb.opt/inline-bt.c: New volatile global z.
8640 * gdb.opt/inline-cmds.c: Likewise.
8641 * gdb.opt/inline-locals.c: Likewise.
8642 * gdb.opt/inline-markers.c: New extern global z.
8643 (marker): Use z.
8644 (inline_fn): Likewise.
8645
86462015-08-24 Pedro Alves <palves@redhat.com>
8647
8648 * config/m32r-stub.exp: Remove file.
8649 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8650 * gdb.base/call-rt-st.exp: Likewise.
8651 * gdb.base/call-strs.exp: Likewise.
8652 * gdb.base/default.exp: Remove references to h8300-*-hms and
8653 *-*-udi*.
8654 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8655
86562015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8657
8658 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8659 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8660 and "return" use KFAIL when GDB can not read/write the vector
8661 return value.
8662
86632015-08-21 Gary Benson <gbenson@redhat.com>
8664
8665 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8666
86672015-08-20 Pedro Alves <palves@redhat.com>
8668
8669 * gdb.server/solib-list.exp: No longer expect an interior stop in
8670 non-stop mode.
8671
86722015-08-20 Pedro Alves <palves@redhat.com>
8673
8674 * gdb.server/connect-stopped-target.c: New file.
8675 * gdb.server/connect-stopped-target.exp: New file.
8676
86772015-08-20 Pedro Alves <palves@redhat.com>
8678
8679 * gdb.dwarf2/comp-unit-lang.exp: New file.
8680 * gdb.dwarf2/comp-unit-lang.c: New file.
8681
86822015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8683
8684 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8685 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8686
86872015-08-19 Kevin Buettner <kevinb@redhat.com>
8688
8689 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8690 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8691
86922015-08-18 Doug Evans <dje@google.com>
8693 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8694
8695 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8696 skip_python_tests. New arg prompt_regexp.
8697 (skip_python_tests): New function.
8698 * lib/mi-support.exp (mi_skip_python_tests): New function.
8699 * gdb.python/py-mi-objfile-gdb.py: New file.
8700 * gdb.python/py-mi-objfile.c: New file.
8701 * gdb.python/py-mi-objfile.exp: New file.
8702
87032015-08-17 Keith Seitz <keiths@redhat.com>
8704
8705 * gdb.linespec/explicit.exp: Move strace test from here ...
8706 * gdb.trace/strace.exp: ... to here.
8707
87082015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8709
8710 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8711 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8712
87132015-08-14 Doug Evans <xdje42@gmail.com>
8714
8715 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8716 inferior before selecting a new file.
8717
87182015-08-14 Doug Evans <xdje42@gmail.com>
8719
8720 * gdb.mi/mi-disassemble.exp: Update.
8721 * gdb.base/disasm-optim.S: New file.
8722 * gdb.base/disasm-optim.c: New file.
8723 * gdb.base/disasm-optim.h: New file.
8724 * gdb.base/disasm-optim.exp: New file.
8725
87262015-08-14 Keith Seitz <keiths@redhat.com>
8727
8728 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8729 "evaluated-by".
8730
87312015-08-13 Joel Brobecker <brobecker@adacore.com>
8732
8733 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8734
87352015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8736
8737 * gdb.ada/fun_renaming.exp: New testcase.
8738 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8739 * gdb.ada/fun_renaming/pack.adb: New file.
8740 * gdb.ada/fun_renaming/pack.ads: New file.
8741
87422015-08-12 Keith Seitz <keiths@redhat.com>
8743
8744 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8745 gdb_get_line_number.
8746
87472015-08-12 Joel Brobecker <brobecker@adacore.com>
8748
8749 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8750 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8751 gdb.base/dso2dso.exp: New files.
8752
87532015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8754 Pedro Alves <palves@redhat.com>
8755 Keith Seitz <keiths@redhat.com>
8756
8757 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8758 GDBFLAGS.
8759
87602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8761
8762 * gdb.base/gdbhistsize-history.exp
8763 (test_histsize_history_setting): Use save_vars.
8764 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8765 Use save_vars.
8766 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8767 * gdb.base/readline.exp: Use save_vars.
8768
87692015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8770
8771 * lib/gdb.exp (save_vars): New proc.
8772
87732015-08-11 Keith Seitz <keiths@redhat.com>
8774
8775 * gdb.base/help.exp: Update help_breakpoint_text.
8776
87772015-08-11 Keith Seitz <keiths@redhat.com>
8778
8779 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8780 (at toplevel): Call test_explicit_breakpoints.
8781 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8782 breakpoints.
8783 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8784 breakpoint conditions, "-cond".
8785
87862015-08-11 Keith Seitz <keiths@redhat.com>
8787
8788 * gdb.linespec/3explicit.c: New file.
8789 * gdb.linespec/cpexplicit.cc: New file.
8790 * gdb.linespec/cpexplicit.exp: New file.
8791 * gdb.linespec/explicit.c: New file.
8792 * gdb.linespec/explicit.exp: New file.
8793 * gdb.linespec/explicit2.c: New file.
8794 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8795 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8796 before using in the matching pattern.
8797 Clarify that `prefix' is a regular expression.
8798
87992015-08-11 Keith Seitz <keiths@redhat.com>
8800
8801 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8802 test.
8803 Add tests for missing ",FMT" and ",".
8804
88052015-08-10 Doug Evans <dje@google.com>
8806 Keith Seitz <keiths@redhat.com>
8807
8808 PR gdb/17960
8809 * gdb.base/completion.exp: Add location completer tests.
8810
88112015-08-07 Pedro Alves <palves@redhat.com>
8812
8813 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8814 tests here.
8815 (top level): Run do_test with and without displaced stepping.
8816
88172015-08-07 Pedro Alves <palves@redhat.com>
8818
8819 * gdb.base/valgrind-disp-step.c: New file.
8820 * gdb.base/valgrind-disp-step.exp: New file.
8821
88222015-08-07 Pedro Alves <palves@redhat.com>
8823
8824 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8825 Delete function.
8826 (main): Add alarm. Run an infinite loop instead of calling
8827 wait_threads.
8828 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8829 comment.
8830 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8831 Delete function.
8832 (main): Add alarm. Run an infinite loop instead of calling
8833 wait_threads.
8834 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8835 comment.
8836
88372015-08-07 Pedro Alves <palves@redhat.com>
8838
8839 * gdb.base/checkpoint-ns.exp: New file.
8840 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8841 standard_testfile.
8842
88432015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8844
8845 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8846 * gdb.btrace/instruction_history.exp: Update.
8847 * gdb.btrace/tsx.exp: New.
8848 * gdb.btrace/tsx.c: New.
8849
88502015-08-06 Pedro Alves <palves@redhat.com>
8851
8852 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8853 increase timeout.
8854 * gdb.reverse/until-precsave.exp: Bump timeouts.
8855
88562015-08-06 Pedro Alves <palves@redhat.com>
8857
8858 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8859
88602015-08-06 Pedro Alves <palves@redhat.com>
8861
8862 PR gdb/18749
8863 * gdb.threads/process-dies-while-handling-bp.c: New file.
8864 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8865
88662015-08-06 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8869 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8870
88712015-08-05 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8874 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8875
88762015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8877
8878 * gdb.base/bp-permanent.exp: Report test as unsupported if
8879 the target cannot stop at the permanent breakpoint.
8880
88812015-08-03 Doug Evans <dje@google.com>
8882
8883 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8884 10000.
8885
88862015-08-03 Doug Evans <dje@google.com>
8887
8888 * Makefile.in (workers/%.worker, build-perf): New rule.
8889 (GDB_PERFTEST_MODE): New variable.
8890 (check-perf): Use it.
8891 (clean): Clean up gdb.perf parallel build subdirs.
8892 * lib/build-piece.exp: New file.
8893 * lib/gdb.exp (make_gdb_parallel_path): New function
8894 (standard_output_file, standard_temp_file): Call it.
8895 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8896 of $GDB_PARALLEL.
8897 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8898
88992015-08-03 Doug Evans <dje@google.com>
8900
8901 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8902 (LOG_FILE_NAME): New global.
8903 (TextReporter.__init__): Initialize self.txt_sum.
8904 (TextReporter.report): Add support for multiple data-points.
8905 Move report to perftest.sum, put raw data in perftest.log.
8906 (TextReporter.start): Open sum and log files.
8907 (TextReporter.end): Close sum and log files.
8908 * gdb.perf/lib/perftest/testresult.py
8909 (SingleStatisticTestResult.record): Handle multiple data-points.
8910
89112015-07-31 Pedro Alves <palves@redhat.com>
8912
8913 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8914 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8915 kill_wait_spawned_process instead of explicit "kill -9".
8916 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8917 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8918 kill_wait_spawned_process.
8919 * gdb.base/attach-twice.exp: Likewise.
8920 * gdb.base/attach.exp: Likewise.
8921 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8922 gdb_test_multiple.
8923 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8924 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8925 kill_wait_spawned_process.
8926 * gdb.base/valgrind-infcall.exp: Likewise.
8927 * gdb.multi/multi-attach.exp: Likewise.
8928 * gdb.python/py-prompt.exp: Likewise.
8929 * gdb.python/py-sync-interp.exp: Likewise.
8930 * gdb.server/ext-attach.exp: Likewise.
8931 * gdb.threads/attach-into-signal.exp (corefunc): Use
8932 spawn_wait_for_attach, spawn_id_get_pid and
8933 kill_wait_spawned_process.
8934 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8935 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8936 spawn_id_get_pid and kill_wait_spawned_process.
8937 * gdb.threads/attach-stopped.exp (corefunc): Use
8938 spawn_wait_for_attach, spawn_id_get_pid and
8939 kill_wait_spawned_process.
8940 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8941 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8942 kill_wait_spawned_process instead of explicit "kill -9".
8943 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8944 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8945 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8946 processes. Don't map cygwin/windows pids here. Now returns a
8947 spawn id list.
8948
89492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8950
8951 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8952 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8953 correct patch.
8954
89552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8956
8957 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8958
89592015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8960
8961 Reapply:
8962 2014-05-21 Mark Wielaard <mjw@redhat.com>
8963
8964 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8965
89662015-07-30 Pedro Alves <palves@redhat.com>
8967
8968 * linux-low.c (handle_extended_wait): Set the child's last
8969 reported status to TARGET_WAITKIND_STOPPED.
8970
89712015-07-30 Pedro Alves <palves@redhat.com>
8972
8973 PR threads/18600
8974 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8975 only shows inferior 1.
8976
89772015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8978 Pedro Alves <palves@redhat.com>
8979
8980 PR threads/18600
8981 * gdb.threads/fork-plus-threads.c: New file.
8982 * gdb.threads/fork-plus-threads.exp: New file.
8983
89842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8985
8986 * gdb.base/batch-preserve-term-settings.exp
8987 (test_terminal_settings_preserved_after_cli_exit): Use
8988 send_quit_command.
8989
89902015-07-29 Pedro Alves <palves@redhat.com>
8991 Don Breazeal <donb@codesourcery.com>
8992
8993 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8994 output from both inferior_spawn_id and gdb_spawn_id.
8995
89962015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8997
8998 * gdb.threads/attach-into-signal.exp (corefunc): Use
8999 with_test_prefix on nested loops, uniquefying the test messages.
9000
90012015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9002
9003 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9004 commit.
9005
90062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9007
9008 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9009 New proc.
9010 (test_terminal_settings_preserved_after_sigterm): New test.
9011
90122015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9013
9014 * gdb.base/batch-preserve-term-settings.exp
9015 (test_terminal_settings_preserved_after_cli_exit): New test.
9016
90172015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9018
9019 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9020 manipulation of saved_gdbflags.
9021 (test_terminal_settings_preserved): Remove global declaration of
9022 the unused variable pagination_prompt. Remove manipulation of
9023 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9024 GDBFLAGS.
9025
90262015-07-29 Pedro Alves <palves@redhat.com>
9027
9028 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9029
90302015-07-29 Pedro Alves <palves@redhat.com>
9031
9032 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9033 at the top.
9034
90352015-07-29 Pedro Alves <palves@redhat.com>
9036
9037 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9038 (main): Call gdb_unbuffer_output.
9039 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9040 (main): Call gdb_unbuffer_output.
9041 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9042 (main): Call gdb_unbuffer_output.
9043 * gdb.base/call-strs.exp: Adjust to step over the
9044 gdb_unbuffer_output call.
9045 * gdb.base/catch-gdb-caused-signals.c: Include
9046 "../lib/unbuffer_output.c".
9047 (main): Call gdb_unbuffer_output.
9048 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9049 (main): Call gdb_unbuffer_output.
9050 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9051 (main): Call gdb_unbuffer_output.
9052 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9053 (main): Call gdb_unbuffer_output.
9054 * gdb.base/shlib-call.exp: Adjust to step over the
9055 gdb_unbuffer_output call.
9056 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9057 (main): Call gdb_unbuffer_output.
9058 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9059 (main): Call gdb_unbuffer_output.
9060 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9061 (main): Rename to ...
9062 (test): ... this.
9063 (main): Reimplement.
9064 * gdb.base/varargs.exp: Run to test instead of to main.
9065 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9066 (main): Call gdb_unbuffer_output.
9067
90682015-07-29 Pedro Alves <palves@redhat.com>
9069
9070 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9071 factore out from mi_continue_dprintf. For call-style dprintfs,
9072 expect dprintf output out of $inferior_spawn_id.
9073 (mi_continue_dprintf): Use mi_expect_dprintf.
9074 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9075 (main): Call gdb_unbuffer_output.
9076
90772015-07-29 Pedro Alves <palves@redhat.com>
9078
9079 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9080 (default_mi_gdb_start): Set inferior_spawn_id instead of
9081 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9082 gdb_spawn_id.
9083 (mi_gdb_test): Always expect inferior output from both
9084 $inferior_spawn_id and $gdb_spawn_id.
9085
90862015-07-29 Pedro Alves <palves@redhat.com>
9087
9088 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9089 send_inferior and $inferior_spawn_id.
9090
90912015-07-29 Pedro Alves <palves@redhat.com>
9092
9093 * gdb.gdb/complaints.exp (test_initial_complaints)
9094 (test_serial_complaints, test_short_complaints): Use
9095 gdb_test_stdio.
9096 (test_empty_complaint): Handle $inferior_spawn_id !=
9097 $gdb_spawn_id.
9098
90992015-07-29 Pedro Alves <palves@redhat.com>
9100
9101 * gdb.base/varargs.exp: Use gdb_test_stdio.
9102
91032015-07-29 Pedro Alves <palves@redhat.com>
9104
9105 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9106
91072015-07-29 Pedro Alves <palves@redhat.com>
9108
9109 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9110
91112015-07-29 Pedro Alves <palves@redhat.com>
9112
9113 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9114 parameter into two new parameters, "inf_result" and "gdb_result".
9115 Expect inferior output and gdb output from $inferior_spawn_id and
9116 $gdb_spawn_id, respectively. Adjust all callers.
9117
91182015-07-29 Pedro Alves <palves@redhat.com>
9119
9120 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9121 of gdb_test_sequence.
9122
91232015-07-29 Pedro Alves <palves@redhat.com>
9124
9125 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9126 (saw_spurious_output): Expect inferior output from
9127 $inferior_spawn_id. Use gdb_test_stdio.
9128
91292015-07-29 Pedro Alves <palves@redhat.com>
9130
9131 * gdb.base/dprintf.exp: Use standard_testfile. Change
9132 prepare_for_testing call.
9133 (srcfile): Don't set.
9134 (restart): New procedure.
9135 (test_dprintf): New procecure, use to continue over dprintfs.
9136 (test_call, test_agent): New procedures, tests moved here.
9137 Restart gdb and recreate dprintfs. Adjust expected output.
9138
91392015-07-29 Pedro Alves <palves@redhat.com>
9140
9141 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9142
91432015-07-29 Pedro Alves <palves@redhat.com>
9144
9145 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9146
91472015-07-29 Pedro Alves <palves@redhat.com>
9148
9149 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9150 gdb_test_stdio.
9151
91522015-07-29 Pedro Alves <palves@redhat.com>
9153
9154 * lib/gdb.exp (gdb_test_stdio): New procedure.
9155
91562015-07-29 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9159
91602015-07-29 Pedro Alves <palves@redhat.com>
9161
9162 * gdb.base/call-signal-resume.exp: Remove check for
9163 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9164 * gdb.base/unwindonsignal.exp: Likewise.
9165 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9166 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9167
91682015-07-29 Pedro Alves <palves@redhat.com>
9169
9170 * gdb.base/siginfo-addr.c (pass): New function.
9171 (handler): Call it iff si_addr is correct.
9172 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9173 Set a breakpoint at "pass" and continue to it.
9174
91752015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9176
9177 * gdb.python/py-objfile.exp: Make some tests have unique names.
9178 * gdb.python/py-pp-registration.exp: Likewise.
9179
91802015-07-28 Pedro Alves <palves@redhat.com>
9181
9182 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9183
91842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9185
9186 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9187
91882015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9189
9190 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9191
91922015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9193
9194 * gdb.base/gdb-sigterm-2.exp: New test.
9195
91962015-07-25 Doug Evans <xdje42@gmail.com>
9197
9198 Revert:
9199 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9200 (workers/%.worker, build-perf): New rule.
9201 (GDB_PERFTEST_MODE): New variable.
9202 (check-perf): Use it.
9203 (clean): Clean up gdb.perf parallel build subdirs.
9204 * lib/build-piece.exp: New file.
9205 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9206 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9207 name.
9208 (standard_temp_file): Ditto.
9209 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9210 of $GDB_PARALLEL.
9211
92122015-07-24 Doug Evans <dje@google.com>
9213
9214 * gdb.perf/lib/perftest/utils.py: New file.
9215 * gdb.perf/gm-hello.cc: New file.
9216 * gdb.perf/gm-pervasive-typedef.cc: New file.
9217 * gdb.perf/gm-pervasive-typedef.h: New file.
9218 * gdb.perf/gm-std.cc: New file.
9219 * gdb.perf/gm-std.h: New file.
9220 * gdb.perf/gm-use-cerr.cc: New file.
9221 * gdb.perf/gm-utils.h: New file.
9222 * gdb.perf/gmonster-null-lookup.py: New file.
9223 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9224 * gdb.perf/gmonster-print-cerr.py: New file.
9225 * gdb.perf/gmonster-ptype-string.py: New file.
9226 * gdb.perf/gmonster-runto-main.py: New file.
9227 * gdb.perf/gmonster-select-file.py: New file.
9228 * gdb.perf/gmonster1-null-lookup.exp: New file.
9229 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9230 * gdb.perf/gmonster1-print-cerr.exp: New file.
9231 * gdb.perf/gmonster1-ptype-string.exp: New file.
9232 * gdb.perf/gmonster1-runto-main.exp: New file.
9233 * gdb.perf/gmonster1-select-file.exp: New file.
9234 * gdb.perf/gmonster1.cc: New file.
9235 * gdb.perf/gmonster1.exp: New file.
9236 * gdb.perf/gmonster2-null-lookup.exp: New file.
9237 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9238 * gdb.perf/gmonster2-print-cerr.exp: New file.
9239 * gdb.perf/gmonster2-ptype-string.exp: New file.
9240 * gdb.perf/gmonster2-runto-main.exp: New file.
9241 * gdb.perf/gmonster2-select-file.exp: New file.
9242 * gdb.perf/gmonster2.cc: New file.
9243 * gdb.perf/gmonster2.exp: New file.
9244
92452015-07-24 Doug Evans <dje@google.com>
9246
9247 * gdb.perf/README: New file.
9248 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9249 * lib/gen-perf-test.exp: New file.
9250
92512015-07-24 Doug Evans <dje@google.com>
9252
9253 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9254 (PerfTest::startup): New function.
9255 (PerfTest::run): Return result of calling body.
9256 (PerfTest::assemble): Rewrite.
9257 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9258 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9259 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9260 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9261 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9262
92632015-07-24 Doug Evans <dje@google.com>
9264
9265 * lib/gdb.exp (clean_restart): Make executable optional.
9266
92672015-07-24 Doug Evans <dje@google.com>
9268
9269 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9270 compiler_info references.
9271 * gdb.cp/temargs.exp: Ditto.
9272 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9273 (get_compiler_info): Early exit if already computed. Set compiler_info
9274 to "unknown" if there was a problem.
9275 (test_compiler_info): Add function comment. Call get_compiler_info.
9276
92772015-07-24 Doug Evans <dje@google.com>
9278
9279 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9280 (workers/%.worker, build-perf): New rule.
9281 (GDB_PERFTEST_MODE): New variable.
9282 (check-perf): Use it.
9283 (clean): Clean up gdb.perf parallel build subdirs.
9284 * lib/build-piece.exp: New file.
9285 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9286 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9287 name.
9288 (standard_temp_file): Ditto.
9289 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9290 of $GDB_PARALLEL.
9291
92922015-07-24 Doug Evans <dje@google.com>
9293
9294 * lib/future.exp (gdb_default_target_compile): New option
9295 "early_flags".
9296 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9297 --as-needed.
9298
92992015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9300
9301 * gdb.base/catch-syscall.exp: Call gdb_exit before
9302 gdb_skip_xml_test.
9303
93042015-07-24 Pedro Alves <palves@redhat.com>
9305
9306 * gdb.python/py-events.exp: Accept output between the stop event
9307 and the prompt.
9308 * gdb.python/py-evsignal.exp: Likewise.
9309 * gdb.python/py-evthreads.exp: Likewise.
9310
93112015-07-24 Pedro Alves <palves@redhat.com>
9312
9313 PR gdb/18717
9314 * gdb.threads/non-ldr-exit.c: New file.
9315 * gdb.threads/non-ldr-exit.exp: New file.
9316
93172015-07-24 Yao Qi <yao.qi@linaro.org>
9318
9319 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9320 restarting process.
9321
93222015-07-24 Yao Qi <yao.qi@linaro.org>
9323
9324 * gdb.server/ext-restart.exp: New file.
9325
93262015-07-24 Yao Qi <yao.qi@linaro.org>
9327
9328 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9329 argument options.
9330 * gdb.server/ext-wrapper.exp: New file.
9331
93322015-07-23 Doug Evans <dje@google.com>
9333
9334 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9335 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9336
93372015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9338
9339 * gdb.ada/var_arr_typedef.exp: New testcase.
9340 * gdb.ada/var_arr_typedef/pack.adb: New file.
9341 * gdb.ada/var_arr_typedef/pack.ads: New file.
9342 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9343
93442015-07-20 Joel Brobecker <brobecker@adacore.com>
9345
9346 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9347
93482015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9349
9350 * gdb.arch/i386-biarch-core.exp: Replace istarget
9351 by "complete set gnutarget". Remove expectation for the "core-file"
9352 command.
9353
93542015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9355
9356 Revert the previous commit:
9357 Tests for validate symbol file using build-id.
9358
93592015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9360
9361 Tests for validate symbol file using build-id.
9362 * gdb.base/solib-mismatch-lib.c: New file.
9363 * gdb.base/solib-mismatch-libmod.c: New file.
9364 * gdb.base/solib-mismatch.c: New file.
9365 * gdb.base/solib-mismatch.exp: New file.
9366
93672015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9368
9369 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9370 nios2-*-linux*.
9371 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9372 * gdb.base/siginfo.exp: Likewise.
9373 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9374
93752015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9376
9377 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9378 Move it to ...
9379 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9380 ... here.
9381 * gdb.trace/range-stepping.exp: Check that the target supports
9382 range stepping.
9383
93842015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9385
9386 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9387
93882015-07-14 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.base/killed-outside.exp: New file.
9391 * gdb.base/killed-outside.c: New file.
9392
93932015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9394
9395 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9396 (n at main): New.
9397 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9398
93992015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9400
9401 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9402 infcall tests instead of setting up for KFAIL.
9403
94042015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9405
9406 * gdb.btrace/record_goto-step.exp: New.
9407
94082015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9409
9410 PR compile/18484
9411 * gdb.compile/compile.c (struct struct_type): Add volatile to
9412 selffield's type.
9413 * gdb.compile/compile.exp
9414 (compile code struct_object.selffield = &struct_object): Skip further
9415 struct_object tests if this one xfails.
9416
94172015-07-08 Robert O'Callahan <robert@ocallahan.org>
9418
9419 PR exp/18617
9420 * gdb.trace/ax.exp: Add test.
9421
94222015-07-07 Yao Qi <yao.qi@linaro.org>
9423
9424 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9425 instead of istarget "aarch64*-*-*".
9426 * gdb.arch/aarch64-fp.exp: Likewise.
9427 * gdb.base/float.exp: Likewise.
9428 * gdb.reverse/aarch64.exp: Likewise.
9429 * lib/gdb.exp (is_aarch64_target): New proc.
9430
94312015-07-07 Yao Qi <yao.qi@linaro.org>
9432
9433 * lib/gdb.exp (is_aarch32_target): New proc.
9434 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9435 instead of "istarget "arm*-*-*"".
9436 * gdb.arch/arm-disp-step.exp: Likewise.
9437 * gdb.arch/thumb-bx-pc.exp: Likewise.
9438 * gdb.arch/thumb-prologue.exp: Likewise.
9439 * gdb.arch/thumb-singlestep.exp: Likewise.
9440 * gdb.base/disp-step-syscall.exp: Likewise.
9441 * gdb.base/float.exp: Likewise.
9442
94432015-07-07 Yao Qi <yao.qi@linaro.org>
9444
9445 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9446 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9447
94482015-07-07 Yao Qi <yao.qi@linaro.org>
9449
9450 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9451 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9452 if it exists.
9453 * gdb.multi/multi-arch.exp: Likewise.
9454
94552015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9456
9457 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9458 print.
9459
94602015-07-07 Yao Qi <yao.qi@linaro.org>
9461
9462 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9463
94642015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9465
9466 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9467 '[' and ']' characters.
9468
94692015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9470
9471 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9472
94732015-06-29 Pedro Alves <palves@redhat.com>
9474
9475 PR threads/18127
9476 * gdb.threads/hand-call-new-thread.c: New file.
9477 * gdb.threads/hand-call-new-thread.c: New file.
9478
94792015-06-26 Keith Seitz <keiths@redhat.com>
9480 Doug Evans <dje@google.com>
9481
9482 PR 16253
9483 * gdb.cp/var-tag-2.cc: New file.
9484 * gdb.cp/var-tag-3.cc: New file.
9485 * gdb.cp/var-tag-4.cc: New file.
9486 * gdb.cp/var-tag.cc: New file.
9487 * gdb.cp/var-tag.exp: New file.
9488
94892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9490
9491 * gdb.base/history-duplicates.exp: New test.
9492
94932015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9494
9495 * gdb.base/completion.exp: Test the completion of the "focus"
9496 command.
9497
94982015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9499
9500 * gdb.arch/amd64-prologue-skip.S: New file.
9501 * gdb.arch/amd64-prologue-skip.exp: New file.
9502
95032015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9504
9505 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9506 is_address_zero_readable check.
9507
95082015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9509
9510 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9511 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9512
95132015-06-24 Yao Qi <yao.qi@linaro.org>
9514
9515 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9516 linux targets.
9517
95182015-06-24 Yao Qi <yao.qi@linaro.org>
9519
9520 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9521 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9522 * gdb.base/siginfo-thread.exp: Likewise.
9523
95242015-06-22 Yao Qi <yao.qi@linaro.org>
9525
9526 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9527
95282015-06-22 Yao Qi <yao.qi@linaro.org>
9529
9530 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9531 aarch64*-*-*.
9532 (skip_hw_watchpoint_tests): Likewise.
9533
95342015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9535
9536 * gdb.base/gdbinit-history.exp: Test the interaction between
9537 setting GDBHISTSIZE and setting the history size via .gdbinit.
9538
95392015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9540
9541 PR gdb/16999
9542 * gdb.base/gdbhistsize-history.exp: New test.
9543
95442015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9545
9546 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9547 with GDBHISTSIZE.
9548 * gdb.base/readline.exp: Likewise.
9549
95502015-06-17 Yao Qi <yao.qi@linaro.org>
9551
9552 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9553 line.
9554
95552015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9556
9557 * gdb.base/gdbinit-history.exp: Add test case to check that
9558 an unlimited history file does not get truncated on exit.
9559
95602015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9561
9562 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9563 (VECTOR): New macro. Use it...
9564 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9565 ...for these typedefs.
9566 (int8, char1, int1, double1): New typedefs.
9567 (struct just_int2, struct two_int2): New structures.
9568 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9569 (add_structvecs, add_singlevecs): New functions.
9570 (main): Call add_some_intvecs twice.
9571 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9572 the compile and exit upon failure. Try compiling for the "native"
9573 architecture. Test inferior function calls with vector arguments
9574 and vector return value handling with "finish" and "return".
9575
95762015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9577
9578 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9579 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9580 PE file.
9581 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9582
95832015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9584
9585 PR breakpoints/16465
9586 * gdb.mi/mi-dprintf-pending.c: New file.
9587 * gdb.mi/mi-dprintf-pending.exp: New test.
9588 * gdb.mi/mi-dprintf-pendshr.c: New file.
9589
95902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9591 Mircea Gherzan <mircea.gherzan@intel.com>
9592
9593 * gdb.arch/i386-mpx-map.c: New file.
9594 * gdb.arch/i386-mpx-map.exp: New File.
9595
95962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9597
9598 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9599 * gdb.arch/i386-mpx.exp: Indentation fixed.
9600
96012015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9602
9603 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9604 function and improved indentation.
9605 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9606 gdb_test_multiple. Added additional tests to skip the test.
9607
96082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9609
9610 * gdb.arch/i386-avx512.c: Change path in include file.
9611 * gdb.arch/i386-avx512.exp: Change include dir path
9612 compilation flag.
9613 * gdb.arch/i386-mpx.c: Change path in include file.
9614 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9615 flag.
9616
96172015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9618
9619 * gdb.compile/compile-print.exp (compile print *vararray@3)
9620 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9621
96222015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9623
9624 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9625 (do not keep jit in memory): ... this.
9626 (expect 5): Change it to ...
9627 (expect no 5): ... this.
9628
96292015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9630
9631 PR gdb/15564
9632 * gdb.mi/mi-detach.exp: New file.
9633
96342015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9635
9636 PR symtab/18392
9637 * gdb.arch/amd64-tailcall-self.S: New file.
9638 * gdb.arch/amd64-tailcall-self.c: New file.
9639 * gdb.arch/amd64-tailcall-self.exp: New file.
9640
96412015-05-28 Don Breazeal <donb@codesourcery.com>
9642
9643 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9644 tests for remote targets by checking is_target_gdbserver.
9645
96462015-05-27 Doug Evans <dje@google.com>
9647
9648 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9649 * gdb.dwarf2/opaque-type-lookup.c: New file.
9650 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9651
96522015-05-26 Doug Evans <dje@google.com>
9653
9654 * gdb.cp/iostream.cc: New file.
9655 * gdb.cp/iostream.exp: New file.
9656
96572015-05-26 Doug Evans <dje@google.com>
9658
9659 * gdb.dwarf2/dw2-op-call.exp: Update.
9660 * gdb.dwarf2/dw4-sig-types.exp: Update.
9661 * gdb.dwarf2/implptr.exp: Update.
9662 * gdb.mi/mi-cmd-param-changed.exp: Update.
9663
96642015-05-26 Doug Evans <dje@google.com>
9665
9666 * gdb.python/py-lazy-string.c: New file.
9667 * gdb.python/py-lazy-string.exp: New file.
9668 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9669 (main): Update. Add estring3.
9670 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9671 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9672
96732015-05-26 Omair Javaid <omair.javaid@linaro.org>
9674 Yao Qi <yao.qi@linaro.org>
9675
9676 * gdb.reverse/aarch64.c: New.
9677 * gdb.reverse/aarch64.exp: New.
9678
96792015-05-26 Omair Javaid <omair.javaid@linaro.org>
9680
9681 * lib/gdb.exp (supports_process_record): Return true for
9682 aarch64*-linux*.
9683 (supports_reverse): Likewise.
9684
96852015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9686
9687 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9688 Use with_test_prefix.
9689
96902015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9691
9692 * gdb.base/completion.exp: Add test for completion of layout
9693 names.
9694
96952015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9696
9697 * lib/gdb.exp (skip_tui_tests): New proc.
9698 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9699
97002015-05-19 Pedro Alves <palves@redhat.com>
9701
9702 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9703 Save the whole env array instead of just HOME. Unset HISTSIZE in
9704 the environment while testing. Restore whole environment
9705 afterwards.
9706
97072015-05-16 Doug Evans <xdje42@gmail.com>
9708
9709 * gdb.guile/scm-ports.c: New file.
9710 * gdb.guile/scm-ports.exp: Add memory port tests.
9711
97122015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9713
9714 * gdb.compile/compile-print.c: New file.
9715 * gdb.compile/compile-print.exp: New file.
9716
97172015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9718
9719 * gdb.compile/compile-ops.exp: Cast param to void.
9720 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9721 (compile code struct_object.selffield = &struct_object): Add xfail.
9722
97232015-05-15 Joel Brobecker <brobecker@adacore.com>
9724
9725 * gdb.ada/arr_enum_with_gap: New testcase.
9726
97272015-05-15 Joel Brobecker <brobecker@adacore.com>
9728
9729 * gdb.ada/byte_packed_arr: New testcase.
9730
97312015-05-15 Joel Brobecker <brobecker@adacore.com>
9732
9733 * gdb.ada/pckd_neg: New testcase.
9734
97352015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9736
9737 PR gdb/17820
9738 * gdb.base/gdbinit-history.exp: New test.
9739 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9740 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9741
97422015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9743
9744 * gdb.python/py-xmethods.cc: Enhance test case.
9745 * gdb.python/py-xmethods.exp: New tests.
9746 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9747 function.
9748 (B_indexoper): Likewise.
9749 (global_dm_list) : Add new xmethod worker functions.
9750
97512015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9752
9753 * gdb.base/coredump-filter.exp: Correctly unset
9754 "coredump_var_addr" array.
9755
97562015-05-08 Pedro Alves <palves@redhat.com>
9757
9758 * gdb.server/non-existing-program.exp: Unset spawn_id.
9759
97602015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9761
9762 PR python/18291
9763 * gdb.python/py-xmethods.exp: Add tests.
9764
97652015-05-08 Yao Qi <yao.qi@linaro.org>
9766
9767 PR gdb/18208
9768 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9769 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9770 function set_coredump_filter, and remove remote_exec call.
9771 Remove argument ipid. Callers update.
9772 (top level): Don't get inferior's PID.
9773
97742015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9775
9776 * gdb.base/watch_thread_num.exp: Skip test on targets without
9777 access watchpoints.
9778
97792015-05-06 Pedro Alves <palves@redhat.com>
9780
9781 PR server/18081
9782 * gdb.server/non-existing-program.exp: New file.
9783
97842015-05-05 Joel Brobecker <brobecker@adacore.com>
9785
9786 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9787
97882015-05-05 Joel Brobecker <brobecker@adacore.com>
9789
9790 * gdb.ada/out_of_line_in_inlined: New testcase.
9791
97922015-05-05 Joel Brobecker <brobecker@adacore.com>
9793
9794 * gdb.ada/var_rec_arr: New testcase.
9795
97962015-04-30 Yao Qi <yao.qi@linaro.org>
9797
9798 * gdb.base/break-idempotent.exp: If
9799 skip_hw_watchpoint_multi_tests returns true, skip the tests
9800 on "rwatch" and "awatch".
9801
98022015-04-30 Yao Qi <yao.qi@linaro.org>
9803
9804 * gdb.base/relativedebug.exp: Invoke gdb command
9805 "info sharedlibrary", and if libc.so doesn't have debug info,
9806 skip the test.
9807
98082015-04-29 Doug Evans <dje@google.com>
9809
9810 * gdb.python/py-xmethods.exp: Add ptype tests.
9811 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9812 get_result_type method.
9813
98142015-04-29 Luis Machado <lgustavo@codesourcery.com>
9815
9816 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9817 the target does not support hardware watchpoints.
9818
98192015-04-29 Luis Machado <lgustavo@codesourcery.com>
9820
9821 * gdb.base/break-always.exp: Abort testing if writing to memory
9822 causes an error.
9823
98242015-04-28 Doug Evans <dje@google.com>
9825
9826 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9827 * gdb.python/py-pp-registration.exp: ... here. New file.
9828 * gdb.python/py-pp-registration.c: New file.
9829 * gdb.python/py-pp-registration.py: New file.
9830
98312015-04-28 Doug Evans <dje@google.com>
9832
9833 * gdb.python/py-bad-printers.c: New file.
9834 * gdb.python/py-bad-printers.py: New file.
9835 * gdb.python/py-bad-printers.exp: New file.
9836
98372015-04-28 Sasha Smundak <asmundak@google.com>
9838
9839 * gdb.python/py-type.exp: New test.
9840
98412015-04-28 Andy Wingo <wingo@igalia.com>
9842
9843 * gdb.python/py-parameter.exp:
9844 * gdb.guile/scm-parameter.exp: Escape the path that we are
9845 matching against, as it might contain characters that are special
9846 to regular expressions.
9847
98482015-04-27 Joel Brobecker <brobecker@adacore.com>
9849
9850 * gdb.ada/rec_comp: New testcase.
9851
98522015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9853
9854 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9855 before using it.
9856
98572015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9858
9859 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9860 new tests for verilog output.
9861
98622015-04-24 Yao Qi <yao.qi@linaro.org>
9863
9864 * boards/remote-gdbserver-on-localhost.exp: New file.
9865
98662015-04-23 Pedro Alves <palves@redhat.com>
9867
9868 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9869 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9870 "end of file", remove $inferior_spawn_id from the indirect list.
9871
98722015-04-23 Pedro Alves <palves@redhat.com>
9873
9874 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9875
98762015-04-23 Pedro Alves <palves@redhat.com>
9877
9878 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9879 on $any_spawn_id instead of only on $gdb_spawn_id.
9880
98812015-04-21 Pierre Muller <muller@sourceware.org>
9882
9883 PR pascal/17815
9884 * lib/pascal.exp (gpc_compile): Add new option "class".
9885 (fpc_compile): Likewise.
9886 * gdb.pascal/case-insensitive-symbols.pas: New file.
9887 * gdb.pascal/case-insensitive-symbols.exp: New file.
9888
98892015-04-20 Gary Benson <gbenson@redhat.com>
9890
9891 * gdb.base/attach.exp: Fix three extended remote failures.
9892
98932015-04-17 Gary Benson <gbenson@redhat.com>
9894
9895 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9896 the main executable over the remote protocol.
9897
98982015-04-16 Pedro Alves <palves@redhat.com>
9899
9900 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9901 a new gdbserver if gdbserver_reconnect_p is set.
9902
99032015-04-16 Pedro Alves <palves@redhat.com>
9904
9905 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9906 is set, don't exit gdbserver.
9907
99082015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9909
9910 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9911 appropriate .insn, such that an older assembler can be used.
9912 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9913 the z/Architecture instruction set on 31-bit targets as well.
9914
99152015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9916
9917 * gdb.go/handcall.exp: Remove all logic related to the first
9918 breakpoint and rely on go_runto_main instead.
9919 * gdb.go/strings.exp: Likewise.
9920 * gdb.go/unsafe.exp: Likewise.
9921 * gdb.go/hello.exp: Likewise. Also rename the remaining
9922 breakpoint marker to "breakpoint 1".
9923 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9924 * gdb.go/strings.go: Likewise.
9925 * gdb.go/unsafe.go: Likewise.
9926 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9927 "set breakpoint 2 here" and rename the remaining breakpoint marker
9928 to "breakpoint 1".
9929
99302015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9931
9932 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9933 if itertools.imap is not present.
9934 * gdb.python/py-objfile.exp: Add parentheses.
9935 * gdb.python/py-type.exp: Same.
9936 * gdb.python/py-unwind-maint.py: Same.
9937
99382015-04-15 Yao Qi <yao.qi@linaro.org>
9939
9940 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9941 of ":$ptr_size" and set its form explicitly.
9942
99432015-04-15 Pedro Alves <palves@redhat.com>
9944 Yao Qi <yao.qi@linaro.org>
9945
9946 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9947 timeout by factor of 4.
9948 (test_regular_watch): Likewise.
9949 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9950 * gdb.reverse/sigall-reverse.exp: Likewise.
9951 * gdb.reverse/until-precsave.exp: Likewise.
9952 * lib/gdb.exp (with_timeout_factor): New proc.
9953 (gdb_expect): Move some code to ...
9954 (get_largest_timeout): ... here. New procedure.
9955
99562015-04-14 Luis Machado <lgustavo@codesourcery.com>
9957
9958 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9959
99602015-04-13 Luis Machado <lgustavo@codesourcery.com>
9961
9962 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9963 to write to the .text section.
9964
99652015-04-13 Luis Machado <lgustavo@codesourcery.com>
9966
9967 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9968 Handle the case of targets that do not provide PID information.
9969
99702015-04-13 Yao Qi <yao.qi@linaro.org>
9971
9972 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9973 and use expect instead of gdb_expect.
9974
99752015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9976
9977 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9978 "coredump_var_addr" to avoid naming conflict with other testcases.
9979
99802015-04-10 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9983 gdb_test_sequence and gdb_assert.
9984
99852015-04-10 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9988 test messages that don't include the breakpoint address.
9989
99902015-04-10 Yao Qi <yao.qi@linaro.org>
9991
9992 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9993 false for some offset and width combinations which aren't
9994 supported by linux kernel.
9995
99962015-04-10 Pedro Alves <palves@redhat.com>
9997
9998 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9999 procedure, factored out from ...
10000 (top level): ... here. Add "set displaced-stepping" testing axis.
10001 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10002 parameter "displaced". Use it.
10003 (top level): Use foreach and add "set displaced-stepping" testing
10004 axis.
10005
100062015-04-10 Pedro Alves <palves@redhat.com>
10007
10008 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10009 Remove comment.
10010 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10011 both the address of the instruction that triggers the watchpoint
10012 and the address of the instruction immediately after, and use
10013 those addresses for the test. Fix comment.
10014
100152015-04-10 Pedro Alves <palves@redhat.com>
10016
10017 * gdb.base/sigstep.exp (breakpoint_to_handler)
10018 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10019 Test "backtrace" in handler.
10020 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10021 (top level): Add new "displaced" test axis to
10022 breakpoint_to_handler, breakpoint_to_handler_entry and
10023 breakpoint_over_handler.
10024
100252015-04-10 Pedro Alves <palves@redhat.com>
10026
10027 PR gdb/18216
10028 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10029
100302015-04-10 Yao Qi <yao.qi@linaro.org>
10031
10032 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10033 (test_add_rn_pc): New function.
10034 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10035 (top level): Invoke test_add_rn_pc.
10036
100372015-04-10 Pedro Alves <palves@redhat.com>
10038
10039 PR gdb/13858
10040 * gdb.base/step-over-no-symbols.exp: New file.
10041
100422015-04-09 Andy Wingo <wingo@igalia.com>
10043
10044 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10045 after the Python tests.
10046
100472015-04-08 Keith Seitz <keiths@redhat.com>
10048
10049 PR python/16699
10050 * gdb.python/py-completion.exp: New tests for completion.
10051 * gdb.python/py-completion.py (CompleteLimit1): New class.
10052 (CompleteLimit2): Likewise.
10053 (CompleteLimit3): Likewise.
10054 (CompleteLimit4): Likewise.
10055 (CompleteLimit5): Likewise.
10056 (CompleteLimit6): Likewise.
10057 (CompleteLimit7): Likewise.
10058
100592015-04-08 Pedro Alves <palves@redhat.com>
10060
10061 PR gdb/18214
10062 PR gdb/18216
10063 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10064 function.
10065 (main): Install it as SIGUSR1 handler.
10066 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10067 parameter. Always use "setup" as prefix. Toggle "set
10068 displaced-stepping" off/on depending on global. Don't switch to
10069 thread 1 here.
10070 (top level): Add displaced stepping "off/on" test axis. Update
10071 "setup" calls. Wrap each subtest with with_test_prefix. Test
10072 continuing with a queued signal in each thread.
10073
100742015-04-08 Pedro Alves <palves@redhat.com>
10075
10076 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10077 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10078 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10079 Return early if running to main fails.
10080 * gdb.trace/while-stepping.exp: Likewise.
10081
100822015-04-07 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10085 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10086 interact with inferior program.
10087
100882015-04-07 Pedro Alves <palves@redhat.com>
10089
10090 * lib/gdb.exp (inferior_spawn_id): New global.
10091 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10092 spawn id after processing the user code.
10093 (default_gdb_start): Set inferior_spawn_id.
10094 (send_inferior): New procedure.
10095 * lib/gdbserver-support.exp (gdbserver_start): Set
10096 inferior_spawn_id.
10097 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10098
100992015-04-07 Pedro Alves <palves@redhat.com>
10100
10101 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10102 * lib/gdbserver-support.exp (gdbserver_start): Make
10103 $server_spawn_id global.
10104 (gdbserver_start): Don't wait for gdbserver's spawn id with
10105 expect_background.
10106 (close_gdbserver): New procedure.
10107 (gdb_exit): Rename the default version and reimplement.
10108
101092015-04-07 Pedro Alves <palves@redhat.com>
10110
10111 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10112 append the substituted item, not the original item.
10113
101142015-04-07 Pedro Alves <palves@redhat.com>
10115
10116 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10117 gdb_expect.
10118
101192015-04-07 Pedro Alves <palves@redhat.com>
10120
10121 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10122 output appearing once only.
10123
101242015-04-07 Pedro Alves <palves@redhat.com>
10125
10126 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10127 that doesn't expect anything. Return early if running to main
10128 fails.
10129
101302015-04-07 Yao Qi <yao.qi@linaro.org>
10131
10132 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10133 (child_function): Call alarm.
10134 (main): Move call to alarm into the loop.
10135 * gdb.threads/non-stop-fair-events.exp: Build program with
10136 -DTIMEOUT=$timeout.
10137
101382015-04-06 Doug Evans <xdje42@gmail.com>
10139
10140 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10141 Fix dest parameter to board_info.
10142 (fpc_compile): Ditto.
10143 (gdb_compile_pascal): Rename dest arg to destfile.
10144
101452015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10146
10147 * gdb.ada/funcall_ref.exp: New file.
10148 * gdb.ada/funcall_ref/foo.adb: New file.
10149
101502015-04-02 Yao Qi <yao.qi@linaro.org>
10151
10152 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10153 is remote.
10154
101552015-04-02 Gary Benson <gbenson@redhat.com>
10156
10157 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10158
101592015-04-01 Sasha Smundak <asmundak@google.com>
10160
10161 * gdb.python/py-unwind-maint.c: New file.
10162 * gdb.python/py-unwind-maint.exp: New test.
10163 * gdb.python/py-unwind-maint.py: New file.
10164 * gdb.python/py-unwind.c: New file.
10165 * gdb.python/py-unwind.exp: New test.
10166 * gdb.python/py-unwind.py: New test.
10167
101682015-04-01 Pedro Alves <palves@redhat.com>
10169
10170 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10171 to fail instead of non-existent $test.
10172
101732015-04-01 Pedro Alves <palves@redhat.com>
10174
10175 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10176 GDBFLAGS if not empty.
10177
101782015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10179
10180 * gdb.ada/complete.exp: Remove "multi_line".
10181 * gdb.ada/info_exc.exp: Remove "multi_line".
10182 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10183 * gdb.ada/ptype_field.exp: Remove "multi_line".
10184 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10185 * gdb.ada/tagged.exp: Remove "multi_line".
10186 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10187 [multi_line ...]
10188 * gdb.btrace/delta.exp: Likewise.
10189 * gdb.btrace/exception.exp: Likewise.
10190 * gdb.btrace/function_call_history.exp: Likewise.
10191 * gdb.btrace/instruction_history.exp: Likewise.
10192 * gdb.btrace/nohist.exp: Likewise.
10193 * gdb.btrace/record_goto.exp: Likewise.
10194 * gdb.btrace/segv.exp: Likewise.
10195 * gdb.btrace/stepi.exp: Likewise.
10196 * gdb.btrace/tailcall.exp: Likewise.
10197 * gdb.btrace/unknown_functions.exp: Likewise.
10198 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10199 * lib/gdb.exp: Add the "multi_line" helper.
10200
102012015-04-01 Pedro Alves <palves@redhat.com>
10202
10203 * gdb.threads/tid-reuse.c: New file.
10204 * gdb.threads/tid-reuse.exp: New file.
10205
102062015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10207
10208 PR corefiles/16092
10209 * gdb.base/coredump-filter.c: New file.
10210 * gdb.base/coredump-filter.exp: Likewise.
10211
102122015-03-27 Petr Machata <pmachata@redhat.com>
10213
10214 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10215 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10216 (Dwarf::assemble): Initialize them.
10217 (Dwarf::lines): New function.
10218
102192015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10220
10221 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10222 SYMBOL_PREFIX for x86_64-*-cygwin.
10223
102242015-03-26 Andy Wingo <wingo@igalia.com>
10225
10226 PR symtab/18148
10227 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10228 const_value but not a location.
10229 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10230 location defined in non-main CUs are visible.
10231
102322015-03-26 Yao Qi <yao.qi@linaro.org>
10233
10234 PR testsuite/18139
10235 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10236 Add a line number entry for the same line.
10237 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10238 Add a line number entry for the same line.
10239
102402015-03-26 Yao Qi <yao.qi@linaro.org>
10241
10242 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10243 .int 0.
10244 (func): Likewise. Add .Lfunc_1 label.
10245 Use .Lfunc_1 label.
10246 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10247 .int 0.
10248 (func): Likewise.
10249 Use .Lfunc_1 label.
10250
102512015-03-26 Yao Qi <yao.qi@linaro.org>
10252
10253 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10254 Call gdb_compile instead to compile each .s files without debug
10255 information.
10256
102572015-03-26 Yao Qi <yao.qi@linaro.org>
10258
10259 * gdb.base/savedregs.exp (process_saved_regs): Make
10260 "Saved registers:" optional in the pattern.
10261
102622015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10263
10264 * gdb.btrace/next.exp: Merged into step.exp.
10265 * gdb.btrace/finish.exp: Merged into step.exp.
10266 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10267 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10268 "record goto" and checking the exact replay position.
10269 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10270 check for "Recording format" in "info record" output.
10271 * gdb.btrace/record_goto.exp: Choose test file based on target.
10272 * gdb.btrace/x86-record_goto.S: Renamed into ...
10273 * gdb.btrace/x86_64-record_goto.S: ... this.
10274 * gdb.btrace/i686-record_goto.S: New.
10275 * gdb.btrace/x86-tailcall.S: Renamed into ...
10276 * gdb.btrace/x86_64-tailcall.S: ... this.
10277 * gdb.btrace/i686-tailcall.S: New.
10278 * gdb.btrace/x86-tailcall.c: Renamed into ...
10279 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10280 separate statements. Update test.
10281 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10282 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10283 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10284 * gdb.btrace/tailcall.exp: Choose test file based on target.
10285 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10286
102872015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10288
10289 * gdb.btrace/exception.exp: Increase BTS buffer size.
10290
102912015-03-24 Pedro Alves <palves@redhat.com>
10292
10293 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10294
102952015-03-24 Pedro Alves <palves@redhat.com>
10296
10297 * gdb.threads/schedlock.exp (test_step): No longer expect that
10298 "set scheduler-locking step" with "next" over a function call runs
10299 threads unlocked.
10300
103012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10302
10303 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10304
103052015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10306
10307 PR breakpoints/16466
10308 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10309 * gdb.mi/mi-pending.c (thread_func): New function.
10310 (int main): Add threading support required.
10311 * gdb.mi/mi-pending.exp: Add tests for this issue.
10312 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10313 (pendfunc2): Remove stdio dependency.
10314 * gdb.mi/mi-pendshr2.c: New file.
10315
103162015-03-23 Keith Seitz <keiths@redhat.com>
10317
10318 * gdb.linespec/keywords.c: New file.
10319 * gdb.linespec/keywords.exp: New file.
10320
103212015-03-23 Keith Seitz <keiths@redhat.com>
10322
10323 PR gdb/18021
10324 * gdb.dwarf2/staticvirtual.exp: New test.
10325
103262015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10327
10328 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10329 * README: Remove HP-UX and gdb.hp.
10330 (configuration):
10331 * configure: Regenerate.
10332 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10333 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10334 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10335 gdb.hp/gdb.defects/Makefile.
10336 * gdb.hp/Makefile.in: File deleted.
10337 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10338 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10339 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10340 * gdb.hp/gdb.aCC/run.c: File deleted.
10341 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10342 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10343 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10344 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10345 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10346 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10347 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10348 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10349 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10350 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10351 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10352 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10353 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10354 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10355 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10356 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10357 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10358 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10359 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10360 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10361 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10362 * gdb.hp/gdb.compat/average.c: File deleted.
10363 * gdb.hp/gdb.compat/sum.c: File deleted.
10364 * gdb.hp/gdb.compat/xdb.c: File deleted.
10365 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10366 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10367 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10368 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10369 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10370 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10371 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10372 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10373 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10374 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10375 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10376 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10377 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10378 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10379 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10380 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10381 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10382 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10383 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10384 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10385 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10386 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10387 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10388 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10389 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10390 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10391 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10392 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10393 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10394 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10395 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10396 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10397 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10398 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10399 * gdb.hp/tools/odump: File deleted.
10400
104012015-03-19 Pedro Alves <palves@redhat.com>
10402
10403 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10404 (saw_thread_3): New globals.
10405 (top level): Increment them when an event for the corresponding
10406 thread is seen.
10407 (no thread starvation): New test.
10408
104092015-03-19 Pedro Alves <palves@redhat.com>
10410
10411 * gdb.threads/continue-pending-status.c: New file.
10412 * gdb.threads/continue-pending-status.exp: New file.
10413
104142015-03-18 Pedro Alves <palves@redhat.com>
10415
10416 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10417 Use gdb_is_target_remote instead of is_remote. Use
10418 gdb_test_multiple instead of gdb_expect. Exit early if
10419 gdb_test_multiple hits its internal matches. Tighten stepi tests
10420 expected output. Fail on exit with any signal, instead of just
10421 SIGILL.
10422
104232015-03-18 Yao Qi <yao.qi@linaro.org>
10424
10425 PR tdep/18107
10426 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10427 variable.
10428 * gdb.base/catch-syscall.exp: Don't skip it on
10429 aarch64*-*-linux* target. Remove elements in all_syscalls.
10430 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10431 target.
10432 (setup_all_syscalls): New proc.
10433
104342015-03-16 Yao Qi <yao.qi@linaro.org>
10435
10436 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10437 (top level): Skip tests if valid_addr_p returns false for
10438 $cmd1 or $cmd2.
10439
104402015-03-11 Andy Wingo <wingo@igalia.com>
10441
10442 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10443
104442015-03-11 Yao Qi <yao.qi@linaro.org>
10445
10446 * gdb.base/catch-syscall.exp: Fix typo in comments.
10447
104482015-03-11 Yao Qi <yao.qi@linaro.org>
10449
10450 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10451
104522015-03-09 Pedro Alves <palves@redhat.com>
10453
10454 * dg-extract-results.py: Delete.
10455
104562015-03-09 Pedro Alves <palves@redhat.com>
10457
10458 Merge dg-extract-results.sh from GCC upstream (r218843).
10459
10460 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10461 * dg-extract-results.sh: Use --text with grep to avoid issues with
10462 binary files. Fall back to cat -v, if that doesn't work.
10463
104642015-03-05 Pedro Alves <palves@redhat.com>
10465
10466 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10467
104682015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10469
10470 * lib/mi-support.exp (mi_expect_interrupt): Accept
10471 alternative event for when in all-stop mode.
10472
104732015-03-04 Pedro Alves <palves@redhat.com>
10474
10475 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10476
104772015-03-04 Mark Kettenis <kettenis@gnu.org>
10478
10479 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10480
104812015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10482
10483 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10484 regexps for GDB's current line display, accept a hex address
10485 preceding the line number.
10486
104872015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10488
10489 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10490 the 'arch1' variable for "s390*-linux*" targets.
10491
104922015-03-04 Pedro Alves <palves@redhat.com>
10493
10494 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10495 (main): Pass missing retval argument to pthread_join call.
10496
104972015-03-02 Pedro Alves <palves@redhat.com>
10498
10499 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10500 (top level): Call do_test with non-stop as well.
10501
105022015-03-02 Pedro Alves <palves@redhat.com>
10503
10504 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10505 -1.
10506
105072015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10508
10509 * gdb.arch/s390-vregs.exp: New test.
10510 * gdb.arch/s390-vregs.S: New file.
10511
105122015-02-27 Pedro Alves <palves@redhat.com>
10513
10514 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10515 call to catch_command_errors.
10516 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10517 catch_command_errors.
10518
105192015-02-27 Pedro Alves <palves@redhat.com>
10520
10521 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10522 "true" for boolean result.
10523 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10524 prototype of main.
10525
105262015-02-27 Pedro Alves <palves@redhat.com>
10527
10528 * lib/unbuffer_output.c: New file.
10529 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10530 (main): Call gdb_unbuffer_output.
10531
105322015-02-27 Yao Qi <yao.qi@linaro.org>
10533
10534 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10535 target.
10536
105372015-02-26 Doug Evans <dje@google.com>
10538
10539 * gdb.cp/class2.cc (Dbase, D): New classes.
10540 (main): New local delta.
10541 * gdb.cp/class2.exp: Test printing delta.
10542 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10543 (dynbar): New global.
10544 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10545
105462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10547
10548 * gdb.compile/compile-ifunc.c: New file.
10549 * gdb.compile/compile-ifunc.exp: New file.
10550
105512015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10552
10553 * gdb.base/structs.exp: Check for correct struct on finish.
10554
105552015-02-26 Yao Qi <yao.qi@linaro.org>
10556
10557 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10558 is zero.
10559
105602015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10561
10562 * gdb.arch/cordic.ko.bz2: New file.
10563 * gdb.arch/cordic.ko.debug.bz2: New file.
10564 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10565
105662015-02-25 Yao Qi <yao.qi@linaro.org>
10567
10568 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10569 aarch64*-*-* target.
10570
105712015-02-23 Pedro Alves <palves@redhat.com>
10572
10573 * lib/gdb.exp (delete_breakpoints): Rewrite using
10574 gdb_test_multiple.
10575
105762015-02-23 Pedro Alves <palves@redhat.com>
10577
10578 * gdb.base/info-os.c: Include stdlib.h.
10579
105802015-02-22 Doug Evans <xdje42@gmail.com>
10581
10582 PR symtab/17855
10583 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10584 is read after symbols have been re-read.
10585 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10586 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10587
105882015-02-21 Doug Evans <dje@google.com>
10589
10590 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10591
105922015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10593
10594 PR corefiles/17808
10595 * gdb.arch/i386-biarch-core.core.bz2: New file.
10596 * gdb.arch/i386-biarch-core.exp: New file.
10597
105982015-02-21 Pedro Alves <palves@redhat.com>
10599
10600 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10601 runto_main fails.
10602
106032015-02-20 Pedro Alves <palves@redhat.com>
10604
10605 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10606 info probes.
10607
106082015-02-20 Pedro Alves <palves@redhat.com>
10609
10610 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10611
106122015-02-20 Pedro Alves <palves@redhat.com>
10613
10614 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10615 clean_restart before gdb_target_supports_trace.
10616
106172015-02-20 Pedro Alves <palves@redhat.com>
10618
10619 PR threads/18006
10620 * gdb.threads/clone-thread_db.c: New file.
10621 * gdb.threads/clone-thread_db.exp: New file.
10622
106232015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10624
10625 PR breakpoints/16812
10626 * gdb.base/catch-gdb-caused-signals.c: New file.
10627 * gdb.base/catch-gdb-caused-signals.exp: New file.
10628
106292015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10630
10631 * configure: Regenerated.
10632 * configure.ac: Use GDB_AC_TRANSFORM.
10633 * aclocal.m4: sinclude ../transform.m4.
10634
106352015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10636
10637 * lib/dtrace.exp: New file.
10638 * gdb.base/dtrace-probe.exp: Likewise.
10639 * gdb.base/dtrace-probe.d: Likewise.
10640 * gdb.base/dtrace-probe.c: Likewise.
10641 * lib/pdtrace.in: Likewise.
10642 * configure.ac: Output variables with the transformed names of
10643 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10644 * configure: Regenerated.
10645
106462015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10647
10648 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10649 expected message when trying to access $_probe_* convenience
10650 variables while not on a probe.
10651
106522015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10653
10654 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10655
106562015-02-11 Pedro Alves <pedro@codesourcery.com>
10657
10658 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10659 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10660
106612015-02-10 Doug Evans <xdje42@gmail.com>
10662
10663 * lib/gdb.exp (gdb_load): Always return a result.
10664
106652015-02-10 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.threads/signal-sigtrap.c: New file.
10668 * gdb.threads/signal-sigtrap.exp: New file.
10669
106702015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10671
10672 * gdb.trace/no-attach-trace.c: New file.
10673 * gdb.trace/no-attach-trace.exp: New file.
10674
106752015-02-09 Mark Wielaard <mjw@redhat.com>
10676
10677 * gdb.dwarf2/atomic.c: New file.
10678 * gdb.dwarf2/atomic-type.exp: Likewise.
10679
106802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10681
10682 * gdb.btrace/buffer-size.exp: Update "info record" output.
10683 * gdb.btrace/delta.exp: Update "info record" output.
10684 * gdb.btrace/enable.exp: Update "info record" output.
10685 * gdb.btrace/finish.exp: Update "info record" output.
10686 * gdb.btrace/instruction_history.exp: Update "info record" output.
10687 * gdb.btrace/next.exp: Update "info record" output.
10688 * gdb.btrace/nexti.exp: Update "info record" output.
10689 * gdb.btrace/step.exp: Update "info record" output.
10690 * gdb.btrace/stepi.exp: Update "info record" output.
10691 * gdb.btrace/nohist.exp: Update "info record" output.
10692
106932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10694
10695 * gdb.btrace/buffer-size: New.
10696
106972015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10698
10699 * gdb.btrace/delta.exp: Update "info record" output.
10700 * gdb.btrace/enable.exp: Update "info record" output.
10701 * gdb.btrace/finish.exp: Update "info record" output.
10702 * gdb.btrace/instruction_history.exp: Update "info record" output.
10703 * gdb.btrace/next.exp: Update "info record" output.
10704 * gdb.btrace/nexti.exp: Update "info record" output.
10705 * gdb.btrace/step.exp: Update "info record" output.
10706 * gdb.btrace/stepi.exp: Update "info record" output.
10707 * gdb.btrace/nohist.exp: Update "info record" output.
10708
107092015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10710
10711 PR gdb/15678
10712 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10713
107142015-02-06 Pedro Alves <palves@redhat.com>
10715
10716 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10717 macro.
10718 (seconds_left, again): New globals.
10719 (main): Wait seconds_left in a 1-second sleep loop instead of
10720 sleeping 180 seconds. If 'again' is set, reset the seconds
10721 counter.
10722 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10723 'again' in the inferior before detaching. Print the seconds left.
10724 (options): New global.
10725 (top level): Build program with -DTIMEOUT=$timeout.
10726
107272015-02-06 Pedro Alves <palves@redhat.com>
10728
10729 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10730 determine how many seconds to pass to 'alarm'.
10731 * gdb.base/gdb-sigterm.exp (top level): Build program with
10732 -DTIMEOUT=$timeout.
10733 (do_test): Return success/failure indication. Add more verbose
10734 logging. Don't fail if 200 single steps are seen. Instead, fail
10735 when the test times out.
10736 (passes): New global.
10737 (top level): Break the testing loop if testing fails on any
10738 iteration. Use gdb_assert.
10739
107402015-02-04 Don Breazeal <donb@codesourcery.com>
10741
10742 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10743 and initialize them.
10744 (ipc_cleanup): New function.
10745 (main): Don't declare shmid, semid, and msqid. Add a call to
10746 atexit so that we call ipc_cleanup on exit.
10747
107482015-02-04 Pedro Alves <palves@redhat.com>
10749
10750 * boards/native-extended-gdbserver.exp: Remove any target variant
10751 specifications from the board name before clearing the isremote
10752 flag from board_info.
10753
107542015-01-31 Doug Evans <xdje42@gmail.com>
10755
10756 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10757
107582015-01-31 Gary Benson <gbenson@redhat.com>
10759
10760 * gdb.base/completion.exp: Disable completion limiting for
10761 existing tests. Add new tests to check completion limiting.
10762 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10763
107642015-01-31 Doug Evans <xdje42@gmail.com>
10765
10766 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10767
107682015-01-31 Doug Evans <xdje42@gmail.com>
10769
10770 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10771 entries. Duplicate file section script entries.
10772 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10773 inlined entries. Add test for safe-path rejection.
10774 * gdb.python/py-section-script.c: Add duplicate inlined section script
10775 entries. Duplicate file section script entries.
10776 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10777 inlined entries. Add test for safe-path rejection.
10778
107792015-01-29 Joel Brobecker <brobecker@adacore.com>
10780
10781 * gdb.ada/disc_arr_bound: New testcase.
10782
107832015-01-29 Joel Brobecker <brobecker@adacore.com>
10784
10785 * gdb.ada/mi_var_array: New testcase.
10786
107872015-01-27 Doug Evans <dje@google.com>
10788
10789 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10790 Add test for objfile.filename, objfile.username after objfile
10791 has been unloaded.
10792
107932015-01-26 Joel Brobecker <brobecker@adacore.com>
10794
10795 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10796 the second test to print the name attribute of value
10797 returned by the call to gdb.lookup_type, and adjust
10798 the expected output accordingly.
10799
108002015-01-25 Mark Wielaard <mjw@redhat.com>
10801
10802 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10803 * gdb.base/disp-step-fork.c: Include unistd.h.
10804 * gdb.base/siginfo-obj.c: Include stdio.h.
10805 * gdb.base/siginfo-thread.c: Likewise.
10806 * gdb.mi/non-stop.c: Include unistd.h.
10807 * gdb.mi/nsthrexec.c: Include stdio.h.
10808 * gdb.mi/pthreads.c: Include unistd.h.
10809 * gdb.modula2/unbounded1.c (main): Declare returns int.
10810 * gdb.reverse/consecutive-reverse.c: Likewise.
10811 * gdb.threads/create-fail.c: Include unistd.h.
10812 * gdb.threads/killed.c: Likewise.
10813 * gdb.threads/linux-dp.c: Likewise.
10814 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10815 * gdb.threads/non-ldr-exc-2.c: Likewise.
10816 * gdb.threads/non-ldr-exc-3.c: Likewise.
10817 * gdb.threads/non-ldr-exc-4.c: Likewise.
10818 * gdb.threads/pthreads.c: Include unistd.h.
10819 (main): Declare returns int.
10820 * gdb.threads/tls-main.c (foo): New declaration.
10821 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10822
108232015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10824
10825 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10826 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10827
108282015-01-15 Mark Wielaard <mjw@redhat.com>
10829
10830 * gdb.base/noreturn-return.c: New file.
10831 * gdb.base/noreturn-return.exp: New file.
10832 * gdb.base/noreturn-finish.c: New file.
10833 * gdb.base/noreturn-finish.exp: New file.
10834
108352015-01-23 Pedro Alves <palves@redhat.com>
10836
10837 * gdb.threads/continue-pending-after-query.c: New file.
10838 * gdb.threads/continue-pending-after-query.exp: New file.
10839
108402015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10841 Simon Marchi <simon.marchi@ericsson.com>
10842
10843 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10844 * gdb.base/valgrind-db-attach.exp: Same.
10845 * gdb.base/valgrind-infcall.exp: Same.
10846 * lib/mi-support.exp (default_mi_gdb_start): Same.
10847 * lib/prompt.exp (default_prompt_gdb_start): Same.
10848 * lib/gdb.exp (default_gdb_spawn): Same.
10849 (gdb_interact): New.
10850
10851
108522015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10853
10854 * gdb.compile/compile.exp (pointer to jit function): New test.
10855
108562015-01-17 Wei-cheng Wang <cole945@gmail.com>
10857
10858 * lib/gdb.exp (supports_process_record): Return true for
10859 powerpc*-*-linux*.
10860 (supports_reverse): Likewise.
10861
108622015-01-15 Don Breazeal <donb@codesourcery.com>
10863
10864 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10865 instead of checking whether the target board is remote and
10866 use spawn_wait_for_attach instead of exec/sleep.
10867 * gdb.base/attach-twice.exp: Likewise.
10868
108692015-01-15 Joel Brobecker <brobecker@adacore.com>
10870
10871 * gdb.ada/var_arr_attrs: New testcase.
10872
108732015-01-14 Pedro Alves <palves@redhat.com>
10874 Joel Brobecker <brobecker@adacore.com>
10875
10876 PR gdb/17525
10877 * gdb.base/bp-cmds-execution-x-script.c: New file.
10878 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10879 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10880
108812015-01-14 Pedro Alves <palves@redhat.com>
10882
10883 PR cli/17828
10884 * gdb.base/batch-preserve-term-settings.c: New file.
10885 * gdb.base/batch-preserve-term-settings.exp: New file.
10886
108872015-01-13 Doug Evans <dje@google.com>
10888
10889 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10890 binary.
10891
108922015-01-13 Joel Brobecker <brobecker@adacore.com>
10893
10894 * Makefile.in (clean mostlyclean): Do not delete *.py.
10895
108962015-01-13 Joel Brobecker <brobecker@adacore.com>
10897
10898 * gdb.python/py-lookup-type.exp: New file.
10899
109002015-01-12 Pedro Alves <palves@redhat.com>
10901
10902 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10903 restore GDBFLAGS before returning.
10904
109052015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10906
10907 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10908 is_amd64_regs_target and is_x86_like_target.
10909
109102015-01-11 Doug Evans <xdje42@gmail.com>
10911
10912 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10913 is given without an explicit form.
10914 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10915 attributes.
10916 * gdb.dwarf/corrupt.exp: Ditto.
10917 * gdb.dwarf2/enum-type.exp: Ditto.
10918 * gdb.trace/entry-values.exp: Ditto.
10919 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10920
109212015-01-11 Doug Evans <xdje42@gmail.com>
10922
10923 PR gdb/15830
10924 * gdb.base/maint.exp: Remove references to "maint demangle".
10925 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10926 Add tests for explicitly specifying language to demangle.
10927 * gdb.dlang/demangle.exp: Ditto.
10928
109292015-01-09 Pedro Alves <palves@redhat.com>
10930
10931 * gdb.threads/non-stop-fair-events.c: New file.
10932 * gdb.threads/non-stop-fair-events.exp: New file.
10933
109342015-01-09 Pedro Alves <palves@redhat.com>
10935
10936 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10937 the global scope. Set a breakpoint after all threads are started
10938 rather than stepping over two source lines. Expect the prompt.
10939 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10940 global.
10941 (NUM): Now 15.
10942 (main): Use threads_started_barrier to wait for all threads to
10943 start. Main thread no longer calls thread_function. Exit after
10944 180 seconds.
10945 (loop): New function.
10946 (thread_function): Wait on threads_started_barrier barrier. Call
10947 'loop' at each iteration.
10948 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10949 threads have started, instead of hardcoding number of "next"
10950 steps. Use an access watchpoint instead of a write watchpoint.
10951
109522015-01-09 Pedro Alves <palves@redhat.com>
10953
10954 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10955 (thread_func): Wait on barrier.
10956 (main): Wait for all threads to start before stopping GDB.
10957 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10958 global.
10959 (thread1_func, thread2_func): Wait on barrier.
10960 (main): Wait for all threads to start before stopping GDB.
10961 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10962 New global.
10963 (thread1_func, thread2_func): Wait on barrier.
10964 (main): Wait for all threads to start before stopping GDB.
10965
109662015-01-09 Pedro Alves <palves@redhat.com>
10967
10968 * gdb.threads/attach-many-short-lived-threads.c: New file.
10969 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10970
109712014-01-09 Pedro Alves <palves@redhat.com>
10972
10973 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10974 instead of to thread 2.
10975 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10976 Add barrier around each pthread_create call instead of around all
10977 calls.
10978 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10979 Set a break on thread_function and have the child threads hit it
10980 one at at a time.
10981
109822015-01-09 Pedro Alves <palves@redhat.com>
10983
10984 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10985 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10986 false.
10987 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10988 checking whether the target board is remote.
10989 * gdb.multi/multi-attach.exp: Likewise.
10990 * gdb.python/py-sync-interp.exp: Likewise.
10991 * gdb.server/ext-attach.exp: Likewise.
10992 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10993 tests that need to attach, instead of checking whether the target
10994 board is remote at the top of the file.
10995
109962015-01-08 Yao Qi <yao@codesourcery.com>
10997
10998 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10999
110002015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11001
11002 Fix testcase compilation.
11003 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11004
110052015-01-06 Joel Brobecker <brobecker@adacore.com>
11006
11007 * gdb.python/py-type.exp: Add a couple test about empty
11008 array creation, and negative-length array creation.
11009
110102015-01-02 Doug Evans <xdje42@gmail.com>
11011
11012 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11013
110142015-01-02 Doug Evans <dje@google.com>
11015
11016 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11017
110182014-12-29 Yao Qi <yao@codesourcery.com>
11019
11020 * gdb.trace/entry-values.exp: Update comments. Rename variable
11021 bar_call_foo to returned_from_foo.
11022
110232014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11024
11025 PR gdb/17394
11026 * gdb.linespec/break-asm-file.c: New file.
11027 * gdb.linespec/break-asm-file.exp: New file.
11028 * gdb.linespec/break-asm-file0.s: New file.
11029 * gdb.linespec/break-asm-file1.s: New file.
11030
110312014-12-18 Nigel Stephens <nigel@mips.com>
11032 Maciej W. Rozycki <macro@codesourcery.com>
11033
11034 * gdb.base/float.exp: Handle the new output from "info float" on
11035 MIPS targets.
11036
110372014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11038
11039 Fix MinGW compilation.
11040 * gdb.compile/compile-ops.exp: Update untested message if
11041 !skip_compile_feature_tests.
11042 * gdb.compile/compile-setjmp.exp: Likewise.
11043 * gdb.compile/compile-tls.exp: Likewise.
11044 * gdb.compile/compile.exp: Likewise.
11045 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11046 supported on this host".
11047
110482014-12-16 Doug Evans <xdje42@gmail.com>
11049
11050 * boards/stabs.exp: New file.
11051
110522014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11053
11054 * gdb.base/completion.exp: Adjust to format changes of "maint
11055 print user-registers".
11056
110572014-12-16 Catalin Udma <catalin.udma@freescale.com>
11058
11059 PR server/17457
11060 * gdb.arch/aarch64-fp.c: New file.
11061 * gdb.arch/aarch64-fp.exp: New file.
11062
110632014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11064
11065 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11066 r210637, r210913, r211666, r215400, r215817).
11067
11068 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11069 * dg-extract-results.py: New file.
11070 * dg-extract-results.sh: Use it if the environment seems
11071 suitable.
11072
11073 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11074
11075 * dg-extract-results.py (parse_run): Handle warnings that
11076 are printed before a test harness is run.
11077
11078 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11079
11080 * dg-extract-results.py (Named): Remove __cmp__ method.
11081 (output_variation): Use a key to sort variation.harnesses.
11082
11083 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11084
11085 * dg-extract-results.py: For Python 3, force sys.stdout to
11086 handle surrogate escape sequences.
11087 (safe_open): New function.
11088 (output_segment, main): Use it.
11089
11090 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11091
11092 * dg-extract-results.py (Prog.result_re): Include options
11093 in test name.
11094
11095 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11096
11097 * dg-extract-results.py (output_variation): Always sort if
11098 do_sum.
11099
111002014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11101
11102 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11103 as long as we get pagination notifications.
11104
111052014-12-15 Jason Merrill <jason@redhat.com>
11106
11107 * Makefile.in (check-gdb.%): Restore.
11108 * README: Mention it.
11109
111102014-12-13 Joel Brobecker <brobecker@adacore.com>
11111
11112 * gdb.ada/str_uninit: New testcase.
11113
111142014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11115
11116 PR symtab/17642
11117 * gdb.base/vla-stub-define.c: New file.
11118 * gdb.base/vla-stub.c: New file.
11119 * gdb.base/vla-stub.exp: New file.
11120
111212014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11122 Jan Kratochvil <jan.kratochvil@redhat.com>
11123 Tom Tromey <tromey@redhat.com>
11124
11125 * configure.ac: Add gdb.compile/.
11126 * configure: Regenerate.
11127 * gdb.compile/Makefile.in: New file.
11128 * gdb.compile/compile-ops.exp: New file.
11129 * gdb.compile/compile-ops.c: New file.
11130 * gdb.compile/compile-tls.c: New file.
11131 * gdb.compile/compile-tls.exp: New file.
11132 * gdb.compile/compile-constvar.S: New file.
11133 * gdb.compile/compile-constvar.c: New file.
11134 * gdb.compile/compile-mod.c: New file.
11135 * gdb.compile/compile-nodebug.c: New file.
11136 * gdb.compile/compile-setjmp-mod.c: New file.
11137 * gdb.compile/compile-setjmp.c: New file.
11138 * gdb.compile/compile-setjmp.exp: New file.
11139 * gdb.compile/compile-shlib.c: New file.
11140 * gdb.compile/compile.c: New file.
11141 * gdb.compile/compile.exp: New file.
11142 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11143
111442014-12-12 Tom Tromey <tromey@redhat.com>
11145
11146 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11147 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11148
111492014-12-12 Doug Evans <dje@google.com>
11150
11151 * lib/gdb-python.exp (get_python_valueof): New function.
11152 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11153
111542014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11155
11156 * gdb.base/completion.exp: Add test for completion of "info
11157 registers ".
11158
111592014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11160
11161 * gdb.base/func-ptrs.c: New file.
11162 * gdb.base/func-ptrs.exp: New file.
11163
111642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11165
11166 PR breakpoints/17012
11167 * gdb.base/dprintf-detach.c: New file.
11168 * gdb.base/dprintf-detach.exp: New file.
11169
111702014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11171
11172 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11173 * lib/gdb.exp (target_is_gdbserver): New procedure.
11174
111752014-12-08 Doug Evans <dje@google.com>
11176
11177 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11178
111792014-12-05 Yao Qi <yao@codesourcery.com>
11180
11181 * gdb.guile/scm-error.exp: Remove the third argument to
11182 gdb_remote_download.
11183 * gdb.guile/scm-frame-args.exp: Likewise.
11184 * gdb.guile/scm-section-script.exp: Likewise.
11185
111862014-12-05 Yao Qi <yao@codesourcery.com>
11187
11188 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11189
111902014-12-04 Doug Evans <dje@google.com>
11191
11192 * gdb.python/py-objfile.exp: Add tests for
11193 objfile.add_separate_debug_file.
11194
111952014-12-04 Doug Evans <dje@google.com>
11196
11197 * lib/gdb.exp (get_build_id): New function.
11198 (build_id_debug_filename_get): Rewrite to use it.
11199 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11200
112012014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11202
11203 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11204 `method(long)', not just 0x0.
11205 * gdb.cp/nsalias.exp: Align code labels to 4.
11206 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11207 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11208 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11209 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11210 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11211 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11212
112132014-12-02 Doug Evans <dje@google.com>
11214
11215 PR symtab/17602
11216 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11217 * gdb.cp/anon-ns2.cc: ... here. New file.
11218 * gdb.cp/anon-ns.exp: Update.
11219
112202014-12-02 Nick Bull <nicholaspbull@gmail.com>
11221
11222 * gdb.python/py-events.py (inferior_call_handler): New.
11223 (register_changed_handler, memory_changed_handler): New.
11224 (test_events.invoke): Register new handlers.
11225 * gdb.python/py-events.exp: Add tests for inferior call,
11226 memory_changed and register_changed events.
11227
112282014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11229
11230 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11231 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11232 if the linker doesn't understand this.
11233
112342014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11235
11236 * gdb.python/python.exp: Change expected reply to help().
11237
112382014-12-01 Yao Qi <yao@codesourcery.com>
11239
11240 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11241 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11242 * configure: Re-generated.
11243
112442014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11245
11246 * gdb.cp/chained-calls.cc: New file.
11247 * gdb.cp/chained-calls.exp: New file.
11248 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11249
112502014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11251
11252 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11253 * gdb.dwarf2/symtab-producer.exp: Same.
11254 * gdb.gdb/python-interrupts.exp: Same.
11255 * gdb.gdb/python-selftest.exp: Same.
11256 * gdb.python/py-linetable.exp: Same.
11257 * gdb.python/py-type.exp: Same.
11258 * gdb.python/py-value-cc.exp: Same.
11259 * gdb.python/py-value.exp: Same.
11260
112612014-11-28 Yao Qi <yao@codesourcery.com>
11262
11263 * gdb.base/break-probes.exp: Match library name prefixed with
11264 sysroot.
11265
112662014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11267
11268 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11269 test expected output. Add parentheses for the call to print.
11270 Remove L suffix from integers.
11271
112722014-11-26 Doug Evans <dje@google.com>
11273
11274 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11275
112762014-11-22 Yao Qi <yao@codesourcery.com>
11277
11278 * gdb.trace/entry-values.c: Remove asms.
11279 (foo): Add foo_label.
11280 (bar): Add bar_label.
11281 * gdb.trace/entry-values.exp: Remove code computing foo's
11282 length and bar's length.
11283 (Dwarf::assemble): Invoke function_range for bar and use
11284 MACRO_AT_func for foo.
11285
112862014-11-22 Yao Qi <yao@codesourcery.com>
11287
11288 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11289 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11290 Use .Lgcc43_procstart instead of gcc43.
11291
112922014-11-21 Joel Brobecker <brobecker@adacore.com>
11293
11294 * gdb.ada/n_arr_bound: New testcase.
11295
112962014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11297
11298 PR breakpoints/10737
11299 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11300 test_catch_syscall_multi_arch.
11301 (test_catch_syscall_multi_arch): New function.
11302
113032014-11-20 Doug Evans <xdje42@gmail.com>
11304
11305 * gdb.base/maint.exp: Update expected output.
11306
113072014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11308
11309 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11310 4-byte instruction on S390.
11311
113122014-11-19 Joel Brobecker <brobecker@adacore.com>
11313
11314 * gdb.ada/arr_arr: New testcase.
11315
113162014-11-19 Joel Brobecker <brobecker@adacore.com>
11317
11318 * gdb.ada/pkd_arr_elem: New Testcase.
11319
113202014-11-18 Luis Machado <lgustavo@codesourcery.com>
11321
11322 * gdb.reverse/break-precsave: Expect completion message for
11323 core file reads.
11324 * gdb.reverse/consecutive-precsave.exp: Likewise.
11325 * gdb.reverse/finish-precsave.exp: Likewise.
11326 * gdb.reverse/i386-precsave.exp: Likewise.
11327 * gdb.reverse/machinestate-precsave.exp: Likewise.
11328 * gdb.reverse/sigall-precsave.exp: Likewise.
11329 * gdb.reverse/solib-precsave.exp: Likewise.
11330 * gdb.reverse/step-precsave.exp: Likewise.
11331 * gdb.reverse/until-precsave.exp: Likewise.
11332 * gdb.reverse/watch-precsave.exp: Likewise.
11333
113342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11335
11336 * gdb.base/bp-permanent.c: Include unistd.h.
11337 * gdb.python/py-framefilter-mi.c (main): Add return type.
11338 * gdb.python/py-framefilter.c (main): Likewise.
11339 * gdb.trace/actions-changed.c (main): Likewise.
11340
113412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11342
11343 * gdb.mi/until.c: Add eye-catchers.
11344 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11345 line numbers.
11346
113472014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11348
11349 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11350 function header variants in break1.c.
11351 * gdb.base/ena-dis-br.exp: Likewise.
11352 * gdb.base/hbreak2.exp: Likewise.
11353 * gdb.reverse/until-precsave.exp: Drop references to removed
11354 non-prototype function header variants in ur1.c.
11355 * gdb.reverse/until-reverse.exp: Likewise.
11356
113572014-11-17 Petr Machata <pmachata@redhat.com>
11358
11359 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11360 ${_cu_offset_size} bytes abbrev offset.
11361
113622014-11-15 Doug Evans <xdje42@gmail.com>
11363
11364 PR symtab/17559
11365 * gdb.base/line-symtabs.exp: New file.
11366 * gdb.base/line-symtabs.c: New file.
11367 * gdb.base/line-symtabs.h: New file.
11368
113692014-11-14 Yao Qi <yao@codesourcery.com>
11370
11371 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11372 (func): Add label func_label.
11373 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11374 Replace low_pc and high_pc with MACRO_AT_range.
11375 Replace name, low_pc and high_pc with MACRO_AT_func.
11376
113772014-11-14 Yao Qi <yao@codesourcery.com>
11378
11379 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11380 Replace name, low_pc and high_pc with MACRO_AT_func.
11381
113822014-11-14 Yao Qi <yao@codesourcery.com>
11383
11384 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11385 produce debug information.
11386 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11387
113882014-11-14 Yao Qi <yao@codesourcery.com>
11389
11390 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11391 object and get function length.
11392 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11393 with MACRO_AT_func.
11394 (top-level): Replace gdb_compile and clean_restart with
11395 prepare_for_testing.
11396 * gdb.dwarf2/main.c (main): Add label main_label.
11397
113982014-11-14 Yao Qi <yao@codesourcery.com>
11399
11400 * lib/dwarf.exp (function_range): New procedure.
11401 (Dwarf::_handle_macro_at_func): New procedure.
11402 (Dwarf::_handle_macro_at_range): New procedure.
11403 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11404
114052014-11-14 Yao Qi <yao@codesourcery.com>
11406
11407 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11408 (_handle_attribute): New procedure.
11409
114102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11411
11412 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11413 * gdb.base/call-sc.c (zed): Likewise.
11414 * gdb.base/checkpoint.c (main): Likewise.
11415 * gdb.base/dump.c (main): Likewise.
11416 * gdb.base/gcore.c (main): Likewise.
11417 * gdb.base/huge.c (main): Likewise.
11418 * gdb.base/multi-forks.c (main): Likewise.
11419 * gdb.base/pr10179-a.c (main): Likewise.
11420 * gdb.base/savedregs.c (main): Likewise.
11421 * gdb.base/sigaltstack.c (main): Likewise.
11422 * gdb.base/siginfo.c (main): Likewise.
11423 * gdb.base/structs.c (zed): Likewise.
11424 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11425 * gdb.mi/mi-syn-frame.c (main): Likewise.
11426 * gdb.mi/until.c (foo, main): Likewise.
11427 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11428 * gdb.base/solib-weak.c (foo): Declare.
11429 * gdb.base/attach-twice.c: Include stdio.h.
11430 * gdb.base/weaklib1.c: Likewise.
11431 * gdb.base/weaklib2.c: Likewise.
11432 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11433 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11434 unistd.h.
11435 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11436 * gdb.mi/mi-exit-code.c: Likewise.
11437 * gdb.base/break-interp-lib.c: Include string.h.
11438 * gdb.base/coremaker.c: Likewise.
11439 * gdb.base/testenv.c: Likewise.
11440 * gdb.python/py-finish-breakpoint.c: Likewise.
11441 * gdb.base/inferior-died.c: Include sys/wait.h.
11442 * gdb.base/fileio.c: Include time.h.
11443 * gdb.base/async-shell.c: Include unistd.h.
11444 * gdb.base/dprintf-non-stop.c: Likewise.
11445 * gdb.base/info-os.c: Likewise.
11446 * gdb.mi/mi-console.c: Likewise.
11447 * gdb.mi/watch-nonstop.c: Likewise.
11448 * gdb.python/py-events.c: Likewise.
11449 * gdb.base/async.c (baz): Move up before its invocation.
11450 * gdb.base/code_elim2.c (my_global_func): Likewise.
11451 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11452 * gdb.base/advance.c (func2): Likewise.
11453
114542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11455
11456 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11457 variant.
11458 * gdb.base/annota3.c: Likewise.
11459 * gdb.base/async.c: Likewise.
11460 * gdb.base/average.c: Likewise.
11461 * gdb.base/call-ar-st.c: Likewise.
11462 * gdb.base/call-rt-st.c: Likewise.
11463 * gdb.base/call-sc.c: Likewise.
11464 * gdb.base/call-strs.c: Likewise.
11465 * gdb.base/ending-run.c: Likewise.
11466 * gdb.base/execd-prog.c: Likewise.
11467 * gdb.base/exprs.c: Likewise.
11468 * gdb.base/foll-exec.c: Likewise.
11469 * gdb.base/foll-fork.c: Likewise.
11470 * gdb.base/foll-vfork.c: Likewise.
11471 * gdb.base/funcargs.c: Likewise.
11472 * gdb.base/gcore.c: Likewise.
11473 * gdb.base/jump.c: Likewise.
11474 * gdb.base/langs0.c: Likewise.
11475 * gdb.base/langs1.c: Likewise.
11476 * gdb.base/langs2.c: Likewise.
11477 * gdb.base/mips_pro.c: Likewise.
11478 * gdb.base/nodebug.c: Likewise.
11479 * gdb.base/opaque0.c: Likewise.
11480 * gdb.base/opaque1.c: Likewise.
11481 * gdb.base/recurse.c: Likewise.
11482 * gdb.base/run.c: Likewise.
11483 * gdb.base/scope0.c: Likewise.
11484 * gdb.base/scope1.c: Likewise.
11485 * gdb.base/setshow.c: Likewise.
11486 * gdb.base/setvar.c: Likewise.
11487 * gdb.base/shmain.c: Likewise.
11488 * gdb.base/shr1.c: Likewise.
11489 * gdb.base/shr2.c: Likewise.
11490 * gdb.base/sigall.c: Likewise.
11491 * gdb.base/signals.c: Likewise.
11492 * gdb.base/so-indr-cl.c: Likewise.
11493 * gdb.base/solib2.c: Likewise.
11494 * gdb.base/structs.c: Likewise.
11495 * gdb.base/sum.c: Likewise.
11496 * gdb.base/vforked-prog.c: Likewise.
11497 * gdb.base/watchpoint.c: Likewise.
11498 * gdb.reverse/shr2.c: Likewise.
11499 * gdb.reverse/until-reverse.c: Likewise.
11500 * gdb.reverse/ur1.c: Likewise.
11501 * gdb.reverse/watch-reverse.c: Likewise.
11502
115032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11504
11505 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11506 variant.
11507 * gdb.base/sepdebug.exp: Drop references to removed code.
11508
115092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11510
11511 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11512 variant. Preserve original line numbering.
11513 * gdb.base/list1.c: Likewise.
11514
115152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11516
11517 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11518 variant.
11519 * gdb.base/break1.c: Likewise.
11520 * gdb.base/break.exp: Drop references to removed code.
11521
115222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11523
11524 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11525 variant.
11526
115272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11528
11529 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11530
115312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11532
11533 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11534 logic into perform_all_tests() and invoke it with and without
11535 function header prototypes.
11536 (do_function_calls): Remove conditional XFAIL for PR 5318.
11537 (rerun_and_prepare): Remove duplicate code.
11538 (perform_all_tests): New. Main logic moved here.
11539
115402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11541
11542 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11543 code guarded by #ifdef NO_PROTOTYPES.
11544 (t_double_many_args): Likewise.
11545 (DEF_FUNC_MANY_ARGS_1): Likewise.
11546 (DEF_FUNC_VALUES_1): Likewise.
11547 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11548 guarded by #ifdef PROTOTYPES.
11549
115502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11551
11552 * gdb.mi/mi-console.c: Add eye-catcher.
11553 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11554 instead of literal line number.
11555
115562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11557
11558 * gdb.base/shr2.c: Add eye-catcher.
11559 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11560 line number.
11561
115622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11563
11564 * gdb.base/jump.c: Add eye-catchers.
11565 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11566 numbers.
11567
115682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11569
11570 * gdb.base/execd-prog.c: Add eye-catchers.
11571 * gdb.base/foll-exec.c: Likewise.
11572 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11573 line numbers.
11574
115752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11576
11577 * gdb.base/ending-run.c: Add eye-catchers.
11578 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11579 literal line numbers.
11580
115812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11582
11583 * gdb.base/call-rt-st.c: Add eye-catchers.
11584 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11585 literal line numbers.
11586
115872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11588
11589 * gdb.base/call-ar-st.c: Add eye-catchers.
11590 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11591 literal line numbers.
11592
115932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11594
11595 * gdb.base/average.c: Add eye-catchers.
11596 * gdb.base/sum.c: Likewise.
11597 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11598 regexps dynamically.
11599
116002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11601
11602 * gdb.base/solib1.c: Add eye-catchers.
11603 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11604 literal line numbers.
11605
116062014-11-12 Pedro Alves <palves@redhat.com>
11607
11608 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11609 leader has exited.
11610
116112014-11-12 Pedro Alves <palves@redhat.com>
11612
11613 * gdb.arch/i386-bp_permanent.c: New file.
11614 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11615 (srcfile): Set to i386-bp_permanent.c.
11616 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11617 that stepi does not execute the 'leave' instruction, instead of
11618 testing it does execute.
11619 * gdb.base/bp-permanent.c: New file.
11620 * gdb.base/bp-permanent.exp: New file.
11621
116222014-11-10 Doug Evans <xdje42@gmail.com>
11623
11624 PR symtab/17564
11625 * gdb.base/symtab-search-order.exp: New file.
11626 * gdb.base/symtab-search-order.c: New file.
11627 * gdb.base/symtab-search-order-1.c: New file.
11628 * gdb.base/symtab-search-order-shlib-1.c: New file.
11629
116302014-11-07 Pedro Alves <palves@redhat.com>
11631
11632 PR gdb/17511
11633 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11634 i?86-*-linux*.
11635
116362014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11637
11638 PR c++/17494
11639 * gdb.cp/pr17494.cc: New file.
11640 * gdb.cp/pr17494.exp: New file.
11641
116422014-11-02 Yao Qi <yao@codesourcery.com>
11643
11644 * gdb.python/python.exp: Get working directory and match the
11645 output of "set extended-prompt \\w " with it.
11646
116472014-10-30 Doug Evans <dje@google.com>
11648
11649 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11650 in objfiles.
11651 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11652 in progspaces.
11653
116542014-10-30 Janis Johnson <janisjo@codesourcery.com>
11655
11656 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11657 * gdb.base/realname-expand.exp: Likewise.
11658 * gdb.linespec/macro-relative.exp: Likewise.
11659
116602014-10-29 Pedro Alves <palves@redhat.com>
11661
11662 PR gdb/17408
11663 * gdb.threads/schedlock.c (some_function): New function.
11664 (call_function): New global.
11665 (MAYBE_CALL_SOME_FUNCTION): New macro.
11666 (thread_function): Call it.
11667 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11668 and use it instead of a global counter. Adjust all callers.
11669 (get_current_thread): Use "find current thread" for test message
11670 here rather than having all callers pass down the same string.
11671 (goto_loop): New procedure, factored out from ...
11672 (my_continue): ... this.
11673 (step_ten_loops): Change parameter from test message to command to
11674 use. Adjust.
11675 (list_count): Delete global.
11676 (check_result): New procedure, factored out from duplicate top
11677 level code.
11678 (continue tests): Wrap in with_test_prefix.
11679 (test_step): New procedure, factored out from duplicate top level
11680 code.
11681 (top level): Test "step" in combination with all scheduler-locking
11682 modes. Test "next" in combination with all scheduler-locking
11683 modes, and in combination with stepping over a function call or
11684 not.
11685 * gdb.threads/next-bp-other-thread.c: New file.
11686 * gdb.threads/next-bp-other-thread.exp: New file.
11687
116882014-10-29 Pedro Alves <palves@redhat.com>
11689
11690 PR python/17372
11691 * gdb.python/python.exp: Test a multi-line command that spawns
11692 interactive Python.
11693 * gdb.base/multi-line-starts-subshell.exp: New file.
11694
116952014-10-29 Yao Qi <yao@codesourcery.com>
11696
11697 * gdb.base/fileio.exp: Make directories on host.
11698
116992014-10-29 Yao Qi <yao@codesourcery.com>
11700
11701 * gdb.base/fileio.c (test_write): Close the file.
11702
117032014-10-28 Pedro Alves <palves@redhat.com>
11704
11705 PR gdb/12623
11706 * gdb.base/sigstep.c (no_handler): New global.
11707 (main): If 'no_handler is true, set the signal handlers to
11708 SIG_IGN.
11709 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11710 with_sw_watch and no_handler parameters. Handle them.
11711 (top level) <stepping over handler when stopped at a breakpoint
11712 test>: Add a test axis for testing with a software watchpoint, and
11713 another for testing with the signal handler set to SIG_IGN.
11714 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11715 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11716
117172014-10-28 Pedro Alves <palves@redhat.com>
11718
11719 PR gdb/17511
11720 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11721 * gdb.base/sigstep.exp (other_handler_location): New global.
11722 (advance): Support stepping into the signal handler, and running
11723 commands while in the handler.
11724 (in_handler_map): New global.
11725 (top level): In the advance test, add combinations for getting
11726 into the handler with stepping commands, and for running commands
11727 in the handler. Add comment descripting the advancei tests.
11728
117292014-10-28 Pedro Alves <palves@redhat.com>
11730
11731 * gdb.base/sigstep.exp: Use build_executable instead of
11732 prepare_for_testing.
11733 (top level): Move code that starts GDB, runs to main and creates a
11734 display to ...
11735 (restart): ... this new procedure.
11736 (top level): Move backtrace from signal handler test to ...
11737 (validate_backtrace): ... this new procedure.
11738 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11739 with_test_prefix. Always restart GDB.
11740 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11741 with_test_prefix. Always restart GDB. No need to delete
11742 breakpoints after the test.
11743 (test_skip_handler): Remove prefix parameter.
11744 (skip_over_handler, breakpoint_to_handler)
11745 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11746 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11747 restart GDB. No need to delete breakpoints after the test.
11748 (top level): Use foreach to call the test procedures with
11749 different commands.
11750
117512014-10-28 Pedro Alves <palves@redhat.com>
11752
11753 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11754 instead of GNATS numbers.
11755 * gdb.base/sigbpt.exp: Likewise.
11756 * gdb.base/siginfo.exp: Likewise.
11757 * gdb.base/sigstep.exp: Likewise.
11758
117592014-10-27 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.base/sigstep.c (dummy): New global.
11762 (main): Issue a couple writes to the new global.
11763 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11764 procedures.
11765 (skip_over_handler): Use test_skip_handler.
11766 (top level): Call skip_over_handler for stepi and nexti too.
11767 (breakpoint_over_handler): Use test_skip_handler.
11768 (top level): Call breakpoint_over_handler for stepi and nexti too.
11769
117702014-10-27 Yao Qi <yao@codesourcery.com>
11771
11772 * gdb.trace/tfile.c (adjust_function_address)
11773 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11774 function descriptor.
11775
117762014-10-24 Don Breazeal <donb@codesourcery.com>
11777
11778 * gdb.base/foll-fork.exp (test_follow_fork,
11779 catch_fork_child_follow): Check for updated fork messages emitted
11780 from infrun.c.
11781 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11782 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11783 vfork_and_exec_child_follow_through_step): Check for updated vfork
11784 messages emitted from infrun.c.
11785
117862014-10-24 Pedro Alves <palves@redhat.com>
11787
11788 * gdb.base/corefile.exp: Remove references to ultrix.
11789 * gdb.base/interrupt.exp: Likewise.
11790 * gdb.base/whatis.exp: Likewise.
11791 * gdb.gdb/selftest.exp: Likewise.
11792 * gdb.threads/manythreads.exp: Likewise.
11793 * gdb.threads/print-threads.exp: Likewise.
11794 * gdb.threads/pthreads.exp:: Likewise.
11795 * gdb.threads/schedlock.exp: Likewise.
11796
117972014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11798
11799 * gdb.cp/non-trivial-retval.cc: Add a test case.
11800 * gdb.cp/non-trivial-retval.exp: Add a test.
11801
118022014-10-20 Yao Qi <yao@codesourcery.com>
11803
11804 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11805 * gdb.python/py-objfile-script-gdb.py: New file.
11806 * gdb.python/py-objfile-script.exp: Update reference to
11807 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11808 of remote_download. Remove the dest file.
11809
118102014-10-20 Yao Qi <yao@codesourcery.com>
11811
11812 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11813 * gdb.base/step-line.exp: Likewise.
11814 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11815 * gdb.dwarf2/dw2-basic.exp: Likewise.
11816 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11817 * gdb.dwarf2/dw2-filename.exp: Likewise.
11818 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11819 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11820 * gdb.dwarf2/dw2-producer.exp: Likewise.
11821 * gdb.dwarf2/mac-fileno.exp: Likewise.
11822 * gdb.python/py-frame-args.exp: Likewise.
11823 * gdb.python/py-framefilter.exp: Likewise.
11824 * gdb.python/py-mi.exp: Likewise.
11825 * gdb.python/py-objfile-script.exp: Likewise
11826 * gdb.python/py-pp-integral.exp: Likewise.
11827 * gdb.python/py-pp-re-notag.exp: Likewise.
11828 * gdb.python/py-prettyprint.exp: Likewise.
11829 * gdb.python/py-section-script.exp: Likewise.
11830 * gdb.python/py-typeprint.exp: Likewise.
11831 * gdb.python/py-xmethods.exp: Likewise.
11832 * gdb.stabs/weird.exp: Likewise.
11833 * gdb.xml/tdesc-regs.exp: Likewise.
11834
118352014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11836
11837 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11838 (out_cu): Use addr_len for the size of addresses.
11839 (out_line): Likewise. Size DW_LNE_set_address instruction
11840 according to addr_len.
11841 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11842 (FUNC): Add START_INSNS to definition.
11843
118442014-10-18 Yao Qi <yao@codesourcery.com>
11845
11846 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11847 gdb_has_argv0 return true.
11848 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11849 check [target_info exists noargs], check [gdb_has_argv0]
11850 instead.
11851 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11852 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11853 procedures.
11854
118552014-10-17 Doug Evans <dje@google.com>
11856
11857 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11858 event.
11859 * gdb.python/py-events.py: Add clear_objfiles event.
11860
118612014-10-17 Doug Evans <dje@google.com>
11862
11863 * gdb.python/py-objfile.exp: Test progspace attribute.
11864
118652014-10-17 Luis Machado <lgustavo@codesourcery.com>
11866
11867 * gdb.guile/scm-breakpoint.exp: Do not assume any
11868 directory separators when matching source file paths.
11869 * gdb.python/py-breakpoint.exp: Likewise.
11870 * gdb.reverse/break-precsave.exp: Likewise.
11871 * gdb.reverse/break-reverse.exp: Likewise.
11872 * gdb.reverse/consecutive-precsave.exp: Likewise.
11873 * gdb.reverse/finish-precsave.exp: Likewise.
11874 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11875 * gdb.reverse/finish-reverse.exp: Likewise.
11876 * gdb.reverse/i386-precsave.exp: Likewise.
11877 * gdb.reverse/i387-env-reverse.exp: Likewise.
11878 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11879 * gdb.reverse/machinestate-precsave.exp: Likewise.
11880 * gdb.reverse/machinestate.exp: Likewise.
11881 * gdb.reverse/sigall-precsave.exp: Likewise.
11882 * gdb.reverse/solib-precsave.exp: Likewise.
11883 * gdb.reverse/step-precsave.exp: Likewise.
11884 * gdb.reverse/until-precsave.exp: Likewise.
11885 * gdb.reverse/watch-precsave.exp: Likewise.
11886 * gdb.reverse/watch-reverse.exp: Likewise.
11887
118882014-10-17 Yao Qi <yao@codesourcery.com>
11889
11890 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11891 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11892
118932014-10-17 Pedro Alves <palves@redhat.com>
11894
11895 PR gdb/17471
11896 * gdb.base/bg-execution-repeat.c: New file.
11897 * gdb.base/bg-execution-repeat.exp: New file.
11898
118992014-10-17 Pedro Alves <palves@redhat.com>
11900
11901 PR gdb/17300
11902 * gdb.base/continue-all-already-running.c: New file.
11903 * gdb.base/continue-all-already-running.exp: New file.
11904
119052014-10-17 Pedro Alves <palves@redhat.com>
11906
11907 PR gdb/17472
11908 * gdb.base/annota-input-while-running.c: New file.
11909 * gdb.base/annota-input-while-running.exp: New file.
11910
119112014-10-17 Pedro Alves <palves@redhat.com>
11912
11913 * gdb.base/callfuncs.exp: emove references to osf.
11914 * gdb.base/sigall.exp: Likewise.
11915 * gdb.gdb/selftest.exp: Likewise.
11916 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11917 * gdb.mi/non-stop.c: Likewise.
11918 * gdb.mi/pthreads.c: Likewise.
11919 * gdb.reverse/sigall-precsave.exp: Likewise.
11920 * gdb.reverse/sigall-reverse.exp: Likewise.
11921 * gdb.threads/pthreads.c: Likewise.
11922 * gdb.threads/pthreads.exp: Likewise.
11923
119242014-10-17 Yao Qi <yao@codesourcery.com>
11925
11926 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11927 check 'target_info exists noargs'.
11928 (test_command_prompt_position): Likewise.
11929 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11930 Remove "set args".
11931 (progvar_simple_while_test): Likewise.
11932 (progvar_complex_if_while_test): Likewise.
11933 (if_while_breakpoint_command_test): Likewise.
11934 (infrun_breakpoint_command_test): Likewise.
11935 (breakpoint_command_test): Likewise.
11936 (watchpoint_command_test): Likewise.
11937 (bp_deleted_in_command_test): Likewise.
11938 (temporary_breakpoint_commands): Likewise.
11939
119402014-10-16 Yao Qi <yao@codesourcery.com>
11941
11942 * gdb.base/remotetimeout.exp: Remove noargs checking.
11943
119442014-10-15 Pedro Alves <palves@redhat.com>
11945
11946 PR breakpoints/9649
11947 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11948 * gdb.base/breakpoint-in-ro-region.exp
11949 (probe_target_hardware_step): New procedure.
11950 (top level): Probe hardware stepping and hardware breakpoint
11951 support. Test stepping through a read-only region, with both
11952 "breakpoint auto-hw" on and off and both "always-inserted" on and
11953 off.
11954
119552014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11956
11957 * gdb.dlang/demangle.exp: Update for demangling changes.
11958
119592014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11960
11961 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11962 * gdb.cp/non-trivial-retval.exp: Add new tests.
11963
119642014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11965
11966 PR c++/13403
11967 PR c++/15154
11968 * gdb.cp/non-trivial-retval.cc: New file.
11969 * gdb.cp/non-trivial-retval.exp: New file.
11970
119712014-10-15 Yao Qi <yao@codesourcery.com>
11972
11973 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11974 remote host.
11975
119762014-10-15 Yao Qi <yao@codesourcery.com>
11977
11978 * gdb.python/py-symbol.exp: Match file base name if host is
11979 remote, otherwise match file name with dir name.
11980 * gdb.python/py-symtab.exp: Likewise.
11981 * gdb.python/python.exp: Likewise.
11982
119832014-10-15 Yao Qi <yao@codesourcery.com>
11984
11985 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11986 pattern.
11987 * gdb.python/py-symtab.exp: Likewise.
11988 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11989 locationn.
11990
119912014-10-14 Joel Brobecker <brobecker@adacore.com>
11992
11993 * gdb.ada/addr_arith: New testcase.
11994
119952014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11996
11997 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11998 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11999 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12000 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12001
120022014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12003
12004 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12005 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12006 * gdb.arch/stap-eval-lang-ada.exp: New file.
12007
120082014-10-14 Yao Qi <yao@codesourcery.com>
12009
12010 * gdb.mi/mi-var-child.c (nothing1): New function.
12011 (nothing2): New function.
12012 (do_children_tests): Set function pointers by nothing1 and
12013 nothing2.
12014 * gdb.mi/mi-var-child.exp: Step over new added statements.
12015 Update test to match the new output.
12016 * gdb.mi/var-cmd.c (nothing1): New function.
12017 (nothing2): New function.
12018 (do_children_tests): Set function pointers by nothing1 and
12019 nothing2.
12020 * gdb.mi/mi-var-display.exp: Update test to match output.
12021 Step to the line specified by $line_dct_nothing.
12022 Increase the number of lines to step.
12023
120242014-10-14 Yao Qi <yao@codesourcery.com>
12025
12026 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12027 tests.
12028 * gdb.mi/mi2-var-child.exp: Likewise.
12029
120302014-10-13 Doug Evans <dje@google.com>
12031
12032 * gdb.python/py-objfile.exp: Change name of file name test.
12033
120342014-10-13 Doug Evans <dje@google.com>
12035
12036 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12037 from the start of the CU.
12038
120392014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12040 Yao Qi <yao@codesourcery.com>
12041
12042 Fix "save breakpoints" for "catch" command.
12043 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12044 Remove -nonewline. Match also the added "main" line.
12045
120462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12047
12048 Fix "save breakpoints" for "disable $bpnum" command.
12049 * gdb.base/save-bp.c (main): Add label.
12050 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12051
120522014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12053
12054 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12055
120562014-10-11 Yao Qi <yao@codesourcery.com>
12057
12058 * gdb.server/server-kill.exp: Execute command
12059 "set remote trace-status-packet on" before "tstatus".
12060
120612014-10-11 Yao Qi <yao@codesourcery.com>
12062
12063 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12064 (main): Call getppid.
12065 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12066 and continue to it. Read variable "server_pid".
12067
120682014-10-11 Yao Qi <yao@codesourcery.com>
12069
12070 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12071
120722014-10-11 Yao Qi <yao@codesourcery.com>
12073
12074 * gdb.threads/thread-find.exp: Don't execute command
12075 "info threads".
12076 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12077 * gdb.threads/linux-dp.exp: Don't check the condition
12078 $threads_created equals to zero.
12079
120802014-10-10 Pedro Alves <palves@redhat.com>
12081
12082 * gdb.base/bigcore.exp: Remove references to IRIX.
12083 * gdb.base/funcargs.exp: Likewise.
12084 * gdb.base/interrupt.exp: Likewise.
12085 * gdb.base/mips_pro.exp: Likewise.
12086 * gdb.base/nodebug.exp: Likewise.
12087 * gdb.base/setvar.exp: Likewise.
12088 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12089
120902014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12091 Pedro Alves <palves@redhat.com>
12092
12093 PR symtab/14466
12094 * gdb.base/vdso-warning.c: New file.
12095 * gdb.base/vdso-warning.exp: New file.
12096
120972014-10-02 Doug Evans <dje@google.com>
12098
12099 * gdb.base/structs.c (main): Don't run forever.
12100
121012014-10-02 Pedro Alves <palves@redhat.com>
12102
12103 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12104 (top level) <stop threads 1, stop threads 2>: Use it.
12105
121062014-10-02 Pedro Alves <palves@redhat.com>
12107
12108 * gdb.threads/break-while-running.exp (test): Add new
12109 'update_thread_list' argument. Skip "info threads" if false.
12110 (top level): Add new 'update_thread_list' axis.
12111
121122014-10-02 Pedro Alves <palves@redhat.com>
12113
12114 PR breakpoints/17431
12115 * gdb.base/execl-update-breakpoints.c: New file.
12116 * gdb.base/execl-update-breakpoints.exp: New file.
12117
121182014-10-01 Pedro Alves <palves@redhat.com>
12119
12120 * gdb.base/breakpoint-in-ro-region.c: New file.
12121 * gdb.base/breakpoint-in-ro-region.exp: New file.
12122
121232014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12124
12125 * gdb.mi/mi-exit-code.exp: New file.
12126 * gdb.mi/mi-exit-code.c: New file.
12127
121282014-09-30 Yao Qi <yao@codesourcery.com>
12129
12130 * lib/prelink-support.exp (build_executable_own_libs): Error if
12131 the target isn't native.
12132
121332014-09-30 Yao Qi <yao@codesourcery.com>
12134
12135 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12136 false.
12137
121382014-09-22 Pedro Alves <palves@redhat.com>
12139
12140 * gdb.threads/break-while-running.exp: New file.
12141 * gdb.threads/break-while-running.c: New file.
12142
121432014-09-19 Yao Qi <yao@codesourcery.com>
12144
12145 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12146 Invoke test. Restart GDB with --readnow and invoke test again.
12147
121482014-09-19 Yao Qi <yao@codesourcery.com>
12149
12150 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12151 proc set_breakpoint_on_gcd_function. Invoke
12152 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12153 invoke set_breakpoint_on_gcd_function again.
12154
121552014-09-18 Doug Evans <dje@google.com>
12156
12157 * gdb.dwarf2/symtab-producer.exp: New file.
12158
121592014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12160
12161 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12162 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12163 * gdb.base/global-var-nested-by-dso.c: Likewise.
12164 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12165
121662014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12167 Pedro Alves <palves@redhat.com>
12168
12169 * gdb.base/watch-bitfields.exp: Pass string other than test file
12170 name to prepare_for_testing.
12171 (watch): New procedure.
12172 (expect_watchpoint): Use with_test_prefix.
12173 (top level): Factor out tests to ...
12174 (test_watch_location, test_regular_watch): ... these new
12175 procedures, and use with_test_prefix and gdb_continue_to_end.
12176
121772014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12178
12179 PR breakpoints/12526
12180 * gdb.base/watch-bitfields.exp: New file.
12181 * gdb.base/watch-bitfields.c: New file.
12182
121832014-09-16 Pedro Alves <palves@redhat.com>
12184
12185 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12186 software and hardware addresses, not software address against
12187 itself.
12188
121892014-09-16 Pedro Alves <palves@redhat.com>
12190
12191 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12192 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12193
121942014-09-16 Pedro Alves <palves@redhat.com>
12195
12196 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12197 files.
12198 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12199 "*-*-vxworks*" throughout.
12200 * gdb.base/break.exp: Likewise.
12201 * gdb.base/default.exp: Likewise.
12202 * gdb.base/scope.exp: Likewise.
12203 * gdb.base/sepdebug.exp: Likewise.
12204 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12205 throughout.
12206 * gdb.base/run.c: Likewise.
12207 * gdb.base/sepdebug.c: Likewise.
12208 * gdb.hp/gdb.aCC/run.c: Likewise.
12209 * gdb.reverse/until-reverse.c: Likewise.
12210 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12211
122122014-09-16 Yao Qi <yao@codesourcery.com>
12213
12214 * boards/local-remote-host-native.exp: New file.
12215
122162014-09-14 Doug Evans <xdje42@gmail.com>
12217
12218 * gdb.threads/queue-signal.c (thread_count): New variable.
12219 (thread_count_mutex, thread_count_condvar): New variables.
12220 (incr_thread_count, wait_all_threads_running): New functions.
12221 (main): Wait for all threads to be in their thread functions.
12222
122232014-09-13 Doug Evans <xdje42@gmail.com>
12224
12225 * gdb.threads/queue-signal.c: New file.
12226 * gdb.threads/queue-signal.exp: New file.
12227
122282014-09-13 Doug Evans <xdje42@gmail.com>
12229
12230 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12231 be consistent with what default_gdb_init uses.
12232 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12233 the plain text of the prompt. Add some logging printfs.
12234 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12235
122362014-09-12 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12239 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12240 * gdb.arch/i386-size-overlap.exp: Likewise.
12241 * gdb.arch/i386-size.exp: Likewise.
12242 * gdb.arch/i386-unwind.exp: Likewise.
12243 * gdb.base/a2-run.exp: Likewise.
12244 * gdb.base/break.exp: Likewise.
12245 * gdb.base/charset.exp: Likewise.
12246 * gdb.base/chng-syms.exp: Likewise.
12247 * gdb.base/commands.exp: Likewise.
12248 * gdb.base/dbx.exp: Likewise.
12249 * gdb.base/find.exp: Likewise.
12250 * gdb.base/funcargs.exp: Likewise.
12251 * gdb.base/jit-simple.exp: Likewise.
12252 * gdb.base/reread.exp: Likewise.
12253 * gdb.base/sepdebug.exp: Likewise.
12254 * gdb.base/step-bt.exp: Likewise.
12255 * gdb.cp/mb-inline.exp: Likewise.
12256 * gdb.cp/mb-templates.exp: Likewise.
12257 * gdb.objc/basicclass.exp: Likewise.
12258 * gdb.threads/killed.exp: Likewise.
12259
122602014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12261
12262 PR tdep/17379
12263 * gdb.arch/powerpc-stackless.S: New file.
12264 * gdb.arch/powerpc-stackless.exp: New file.
12265
122662014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12267
12268 * gdb.base/attach.c: Include unistd.h.
12269 (main): Call alarm. Add label postloop.
12270 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12271 gdb_breakpoint, gdb_continue_to_breakpoint.
12272 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12273
122742014-09-11 Pedro Alves <palves@redhat.com>
12275
12276 PR gdb/17347
12277 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12278 * gdb.base/attach.exp (test_command_line_attach_run): New
12279 procedure.
12280 (top level): Call it.
12281
122822014-09-11 Pedro Alves <palves@redhat.com>
12283
12284 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12285 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12286 (do_command_attach_tests): Use spawn_wait_for_attach.
12287 * gdb.base/solib-overlap.exp: Likewise.
12288 * gdb.multi/multi-attach.exp: Likewise.
12289 * gdb.python/py-prompt.exp: Likewise.
12290 * gdb.python/py-sync-interp.exp: Likewise.
12291 * gdb.server/ext-attach.exp: Likewise.
12292
122932014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12294
12295 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12296 command in testcase. Simplify testcase.
12297
122982014-09-10 Joel Brobecker <brobecker@adacore.com>
12299
12300 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12301
123022014-09-10 Joel Brobecker <brobecker@adacore.com>
12303
12304 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12305
123062014-09-10 Joel Brobecker <brobecker@adacore.com>
12307
12308 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12309
123102014-09-10 Joel Brobecker <brobecker@adacore.com>
12311
12312 * gdb.dwarf2/dynarr-ptr.c: New file.
12313 * gdb.dwarf2/dynarr-ptr.exp: New file.
12314
123152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12316
12317 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12318 of 30 rather than hardcoding 120 for a slow test case. Take the
12319 `gdb,timeout' target setting into account for this calculation.
12320 Don't extend the timeout for the test cases that don't need it.
12321
123222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12323
12324 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12325 a factor of 2 for a slow test case. Take the `gdb,timeout'
12326 target setting into account for this calculation.
12327 * gdb.reverse/until-precsave.exp: Increase the timeout by
12328 a factor of 15 and 3 respectively rather than adding 120
12329 for a pair of slow test cases. Take the `gdb,timeout'
12330 target setting into account for this calculation.
12331
123322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12333
12334 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12335 timeout, don't pass one down to gdb_expect.
12336 (gdb_expect): Rework timeout selection.
12337
123382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12339
12340 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12341 exception on timeout.
12342 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12343 (gdbserver_start_extended): Catch any `gdbserver_start' error
12344 exceptions.
12345 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12346 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12347 `gdbserver_gdb_load' error exceptions.
12348
123492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12350
12351 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12352 120 on waiting for the TCP socket to open.
12353
123542014-09-09 Doug Evans <xdje42@gmail.com>
12355
12356 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12357 _caller_matches, _any_caller_is, _any_caller_matches.
12358
123592014-09-09 Doug Evans <xdje42@gmail.com>
12360
12361 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12362
123632014-09-09 Yao Qi <yao@codesourcery.com>
12364
12365 * gdb.mi/mi-var-display.exp: Set print symbol off.
12366
123672014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12368
12369 PR gdb/17035
12370 * gdb.base/commands.exp: Add tests to verify user-defined
12371 commands with empty bodies.
12372 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12373 python commands in `show user command`.
12374 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12375 scheme commands in `show user command`.
12376
123772014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12378
12379 PR python/17355
12380 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12381 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12382 * gdb.python/py-framefilter-invalidarg.exp: New file.
12383 * gdb.python/py-framefilter-invalidarg.py: New file.
12384
123852014-09-06 Doug Evans <xdje42@gmail.com>
12386
12387 PR 15276
12388 * gdb.python/py-caller-is.c: New file.
12389 * gdb.python/py-caller-is.exp: New file.
12390
123912014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12392
12393 PR gdb/17235
12394 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12395 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12396
123972014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12398
12399 PR fortran/17237
12400 * gdb.fortran/print-formatted.exp: New file.
12401 * gdb.fortran/print-formatted.f90: Likewise.
12402
124032014-09-03 Sasha Smundak <asmundak@google.com>
12404
12405 * gdb.python/py-frame.exp: Test Frame.read_register.
12406
124072014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12408
12409 PR python/16699
12410 * gdb.python/py-completion.exp: New file.
12411 * gdb.python/py-completion.py: Likewise.
12412
124132014-08-28 Doug Evans <dje@google.com>
12414
12415 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12416 eax,etc. are live with values set by gdb and thus the compiler can't
12417 use them.
12418 * gdb.arch/i386-pseudo.c (main): Ditto.
12419
124202014-08-27 Doug Evans <dje@google.com>
12421
12422 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12423
124242014-08-25 Doug Evans <dje@google.com>
12425
12426 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12427 (main): Ditto.
12428
124292014-08-25 Doug Evans <dje@google.com>
12430
12431 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12432
124332014-08-24 Yao Qi <yao@codesourcery.com>
12434
12435 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12436 symbol off.
12437 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12438
124392014-08-22 Doug Evans <dje@google.com>
12440
12441 PR 17276
12442 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12443 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12444 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12445
124462014-08-22 Yao Qi <yao@codesourcery.com>
12447
12448 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12449 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12450 * gdb.python/python.exp: Likewise. Use .py file on the host
12451 instead of the build.
12452
124532014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12454
12455 * gdb.threads/gcore-stale-thread.c: New file.
12456 * gdb.threads/gcore-stale-thread.exp: New file.
12457
124582014-08-21 Pedro Alves <palves@redhat.com>
12459
12460 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12461 * gdb.base/gcore-relro-pie.exp: Likewise.
12462 * gdb.base/gcore-relro.exp: Likewise.
12463 * gdb.base/gcore.exp: Likewise.
12464 * gdb.base/print-symbol-loading.exp: Likewise.
12465 * gdb.threads/gcore-thread.exp: Likewise.
12466 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12467
124682014-08-20 Pedro Alves <palves@redhat.com>
12469 Jan Kratochvil <jan.kratochvil@redhat.com>
12470
12471 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12472 configure.
12473 (EXPECT): Handle READ1 being set.
12474 (all): Depend on EXTRA_RULES.
12475 (check-read1, expect-read1, read1.so, read1): New rules.
12476 * README (Testsuite Parameters): Document the READ1 make variable.
12477 (Race detection): New section.
12478 * configure: Regenerate.
12479 * configure.ac: If build==host==target, and running under a
12480 GNU/glibc system, add read1 to the extra Makefile rules.
12481 (EXTRA_RULES): AC_SUBST it.
12482 * lib/read1.c: New file.
12483
124842014-08-20 Joel Brobecker <brobecker@adacore.com>
12485
12486 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12487 the handling of variables declared as a typedef to an array
12488 which a DW_AT_data_location attribute.
12489
124902014-08-19 Andrew Burgess <aburgess@broadcom.com>
12491 Pedro Alves <palves@redhat.com>
12492
12493 PR symtab/14604
12494 PR symtab/14605
12495 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12496 gdb_test.
12497
124982014-08-19 Pedro Alves <palves@redhat.com>
12499
12500 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12501
125022014-08-19 Yao Qi <yao@codesourcery.com>
12503
12504 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12505 right line.
12506
125072014-08-18 David Blaikie <dblaikie@gmail.com>
12508
12509 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12510
125112014-08-18 Joel Brobecker <brobecker@adacore.com>
12512
12513 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12514 attribute in array range.
12515
125162014-08-18 Joel Brobecker <brobecker@adacore.com>
12517
12518 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12519
125202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12521
12522 PR c++/17132
12523 * gdb.cp/pr17132.cc: New file.
12524 * gdb.cp/pr17132.exp: New file.
12525
125262014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12527
12528 * gdb.python/py-xmethods.py (A_getarrayind)
12529 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12530 Use 'print' with function call syntax.
12531 (E_method_matcher.match): Fix tab vs space indentation mixup.
12532
125332014-08-15 Yao Qi <yao@codesourcery.com>
12534
12535 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12536 false.
12537
125382014-08-15 Yao Qi <yao@codesourcery.com>
12539
12540 * gdb.cp/casts.exp: Set print symbol off.
12541 * gdb.cp/class2.exp: Likewise.
12542 * gdb.cp/overload.exp: Likewise.
12543 * gdb.cp/templates.exp: Likewise.
12544
125452014-08-11 Doug Evans <dje@google.com>
12546
12547 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12548 (test_load_shlib): Update.
12549
125502014-08-09 Yao Qi <yao@codesourcery.com>
12551
12552 * gdb.base/display.exp: Invoke is_address_zero_readable.
12553 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12554 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12555 * gdb.base/hbreak-unmapped.exp: Return if
12556 is_address_zero_readable returns true.
12557 * gdb.base/signest.exp: Likewise.
12558 * gdb.base/signull.exp: Likewise.
12559 * gdb.base/sigbpt.exp: Likewise.
12560 * gdb.guile/scm-disasm.exp: Do the test if
12561 is_address_zero_readable returns false.
12562 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12563 * gdb.python/py-arch.exp: Likewise.
12564 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12565 * lib/gdb.exp (is_address_zero_readable): New proc.
12566
125672014-08-09 Yao Qi <yao@codesourcery.com>
12568
12569 PR testsuite/13443
12570 * gdb.mi/mi-var-display.exp: Make test messages unique.
12571
125722014-08-04 Tom Tromey <tromey@redhat.com>
12573
12574 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12575 target 0".
12576
125772014-08-04 Tom Tromey <tromey@redhat.com>
12578
12579 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12580 "target_resume".
12581
125822014-08-01 Joel Brobecker <brobecker@adacore.com>
12583
12584 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12585 inner_vla_struct_object_size.
12586 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12587 as xfail.
12588
125892014-07-30 Pedro Alves <palves@redhat.com>
12590
12591 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12592 comment.
12593
125942014-07-29 Yao Qi <yao@codesourcery.com>
12595
12596 PR gdb/17206
12597 * gdb.base/until-nodebug.exp: New.
12598
125992014-07-28 Doug Evans <xdje42@gmail.com>
12600
12601 PR guile/17203
12602 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12603 previously existing parameter, and previously ambiguously spelled
12604 parameter.
12605
126062014-07-28 Will Newton <will.newton@linaro.org>
12607
12608 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12609
126102014-07-26 Ludovic Courtès <ludo@gnu.org>
12611 Doug Evans <xdje42@gmail.com>
12612
12613 PR guile/17146
12614 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12615
126162014-07-25 Pedro Alves <palves@redhat.com>
12617
12618 * gdb.threads/signal-command-handle-nopass.c: New file.
12619 * gdb.threads/signal-command-handle-nopass.exp: New file.
12620 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12621 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12622 * gdb.threads/signal-delivered-right-thread.c: New file.
12623 * gdb.threads/signal-delivered-right-thread.exp: New file.
12624
126252014-07-25 Pedro Alves <palves@redhat.com>
12626
12627 * gdb.base/double-prompt-target-event-error.exp
12628 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12629 match.
12630 (cancel_pagination_in_target_event): Rework double prompt
12631 detection.
12632 * gdb.base/paginate-after-ctrl-c-running.exp
12633 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12634 <return>' match.
12635 * gdb.base/paginate-bg-execution.exp
12636 (test_bg_execution_pagination_return)
12637 (test_bg_execution_pagination_cancel): Remove '-notransfer
12638 <return>' matches.
12639 * gdb.base/paginate-execution-startup.exp
12640 (test_fg_execution_pagination_return)
12641 (test_fg_execution_pagination_cancel): Remove '-notransfer
12642 <return>' matches.
12643 * gdb.base/paginate-inferior-exit.exp
12644 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12645 match.
12646 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12647 * lib/gdb.exp (pagination_prompt): Run text through
12648 string_to_regexp.
12649 (gdb_test_multiple): Match $pagination_prompt instead of
12650 "<return>".
12651 (string_to_regexp): Move to lib/gdb-utils.exp.
12652
126532014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12654
12655 * gdb.arch/amd64-entry-value-paramref.S: New file.
12656 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12657 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12658 * gdb.arch/amd64-optimout-repeat.S: New file.
12659 * gdb.arch/amd64-optimout-repeat.c: New file.
12660 * gdb.arch/amd64-optimout-repeat.exp: New file.
12661
126622014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12663
12664 PR gdb/17170
12665 * gdb.base/statistics.exp: New file.
12666
126672014-07-17 Doug Evans <dje@google.com>
12668
12669 PR gdb/17170
12670 * gdb.base/maint.exp: Update testing of per-command stats.
12671
126722014-07-16 Pedro Alves <palves@redhat.com>
12673
12674 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12675 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12676 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12677 (tfile_write_buf): New functions.
12678 (add_memory_block): Rewrite using the above.
12679 (adjust_function_address): New function.
12680 (FUNCTION_ADDRESS): New macro.
12681 (write_basic_trace_file): Remove short_x local, and use
12682 tfile_write_16. Change type of func_addr local to unsigned long
12683 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12684 here. Cast argument of add_memory_block to char pointer.
12685 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12686 (main): Remove parameters.
12687 * gdb.trace/tfile.exp: Remove nowarnings.
12688
126892014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12690
12691 * gdb.base/debug-expr.exp: Test string evaluation with
12692 "debug expression" on.
12693
126942014-07-15 Pedro Alves <palves@redhat.com>
12695
12696 * gdb.base/reread.exp: Use clean_restart.
12697
126982014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12699
12700 * gdb.arch/avr-flash-qualifer.c: New.
12701 * gdb.arch/avr-flash-qualifer.exp: New.
12702
127032014-07-14 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12706 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12707
127082014-07-14 Pedro Alves <palves@redhat.com>
12709
12710 * gdb.base/double-prompt-target-event-error.c: New file.
12711 * gdb.base/double-prompt-target-event-error.exp: New file.
12712
127132014-07-14 Pedro Alves <palves@redhat.com>
12714
12715 PR gdb/17072
12716 * gdb.base/paginate-inferior-exit.c: New file.
12717 * gdb.base/paginate-inferior-exit.exp: New file.
12718
127192014-07-14 Pedro Alves <palves@redhat.com>
12720
12721 PR gdb/17072
12722 * gdb.base/paginate-bg-execution.c: New file.
12723 * gdb.base/paginate-bg-execution.exp: New file.
12724
127252014-07-14 Pedro Alves <palves@redhat.com>
12726
12727 PR gdb/17072
12728 * gdb.base/paginate-execution-startup.c: New file.
12729 * gdb.base/paginate-execution-startup.exp: New file.
12730 * lib/gdb.exp (pagination_prompt): New global.
12731 (default_gdb_spawn): New procedure, factored out from
12732 default_gdb_spawn.
12733 (default_gdb_start): Adjust to call default_gdb_spawn.
12734 (gdb_spawn): New procedure.
12735
127362014-07-14 Pedro Alves <palves@redhat.com>
12737
12738 * lib/gdb.exp (gdb_assert): New procedure.
12739 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12740
127412014-07-14 Pedro Alves <palves@redhat.com>
12742
12743 * gdb.base/execution-termios.c: New file.
12744 * gdb.base/execution-termios.exp: New file.
12745
127462014-07-14 Tom Tromey <tromey@redhat.com>
12747
12748 * gdb.cp/vla-cxx.cc: New file.
12749 * gdb.cp/vla-cxx.exp: New file.
12750
127512014-07-14 Tom Tromey <tromey@redhat.com>
12752
12753 * gdb.reverse/rerun-prec.c: New file.
12754 * gdb.reverse/rerun-prec.exp: New file.
12755
127562014-07-12 Maciej W. Rozycki <macro@mips.com>
12757 Maciej W. Rozycki <macro@codesourcery.com>
12758
12759 * lib/gdb-utils.exp: New file.
12760 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12761 inline `gdb_init_command' processing.
12762 (gdb_start_cmd): Likewise.
12763 * lib/mi-support.exp (mi_run_cmd): Likewise.
12764 * README: Document `gdb_init_command' and `gdb_init_commands'.
12765
127662014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12767
12768 Fix false FAIL running under a very long directory name.
12769 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12770 and "set print elements 10000". Twice.
12771
127722014-07-11 Yao Qi <yao@codesourcery.com>
12773
12774 * gdb.base/exprs.exp: "set print symbol off".
12775
127762014-07-11 Pedro Alves <palves@redhat.com>
12777
12778 * gdb.threads/kill.c: New file.
12779 * gdb.threads/kill.exp: New file.
12780
127812014-07-10 Yao Qi <yao@codesourcery.com>
12782
12783 * gdb.trace/tfile.c (write_basic_trace_file)
12784 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12785 address written to trace file.
12786
127872014-07-09 Pedro Alves <palves@redhat.com>
12788
12789 * gdb.base/attach-wait-input.exp: New file.
12790 * gdb.base/attach-wait-input.c: New file.
12791
127922014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12793
12794 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12795 setting up test structures.
12796 (main): Call new test function.
12797 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12798 test function, continue into test function and walk test
12799 structures.
12800
128012014-07-02 Yao Qi <yao@codesourcery.com>
12802
12803 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12804 'bar_start' at the beginning of functions 'foo' and 'bar'
12805 respectively.
12806 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12807 instead of 'foo' and 'bar'.
12808
128092014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12810
12811 * gdb.btrace/segv.exp: New.
12812 * gdb.btrace/segv.c: New.
12813
128142014-07-02 Luis Machado <lgustavo@codesourcery.com>
12815
12816 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12817 instruction.
12818
128192014-06-30 Mark Wielaard <mjw@redhat.com>
12820
12821 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12822 vulture, vilify, villar): New volatile array constants.
12823 (vindictive, vegetation): New const volatile array constants.
12824 * gdb.base/volatile.exp: Test volatile and const volatile array
12825 types.
12826
128272014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12828
12829 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12830 target lacks support for awatch, rwatch, or hbreak.
12831
128322014-06-27 Yao Qi <yao@codesourcery.com>
12833
12834 * gdb.multi/dummy-frame-restore.exp: New.
12835 * gdb.multi/dummy-frame-restore.c: New.
12836
128372014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12838
12839 * gdb.btrace/gcore.exp: New.
12840
128412014-06-23 Pedro Alves <palves@redhat.com>
12842
12843 * gdb.base/watchpoint-reuse-slot.c: New file.
12844 * gdb.base/watchpoint-reuse-slot.exp: New file.
12845
128462014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12847
12848 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12849 progspace's filename in 'info', 'enable' and 'disable' command
12850 tests.
12851
128522014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12853
12854 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12855 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12856 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12857
128582014-06-20 Gary Benson <gbenson@redhat.com>
12859
12860 * gdb.arch/i386-avx.exp: Fix include file location.
12861 * gdb.arch/i386-sse.exp: Likewise.
12862
128632014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12864
12865 * gdb.dlang/expression.exp: New file.
12866
128672014-06-19 Pedro Alves <palves@redhat.com>
12868
12869 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12870 out from ...
12871 (top level): ... here. Iterate running tests under different
12872 scheduler-locking settings.
12873
128742014-06-18 Luis Machado <lgustavo@codesourcery.com>
12875
12876 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12877 to DW_FORM_addr and use non-zero addresses.
12878
128792014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12880
12881 PR gdb/17017
12882 * gdb.python/py-xmethods.cc: Add global function call counters and
12883 increment them in their respective functions. Remove "cout"
12884 statements.
12885 * gdb.python/py-xmethods.exp: Make tests check the global function
12886 call counters instead of depending on inferior IO.
12887
128882014-06-18 Don Breazeal <donb@codesourcery.com>
12889
12890 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12891 Deleted procedure.
12892 (explicit_fork_parent_follow): Deleted procedure.
12893 (explicit_fork_child_follow): Deleted procedure.
12894 (test_follow_fork): New procedure.
12895 (do_fork_tests): Replace calls to deleted procedures with
12896 calls to test_follow_fork and reset GDB for subsequent
12897 procedure calls.
12898
128992014-06-17 Yao Qi <yao@codesourcery.com>
12900
12901 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12902 CP1252.
12903
129042014-06-17 Luis Machado <lgustavo@codesourcery.com>
12905
12906 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12907 Initialize ptr and S explicitly.
12908 (skip_type_update_when_not_use_rtti_test): Likewise.
12909
129102014-06-16 Keith Seitz <keiths@redhat.com>
12911
12912 PR mi/15863
12913 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12914 the inferior is started.
12915
129162014-06-16 Pedro Alves <palves@redhat.com>
12917
12918 * gdb.base/break-main-file-remove-fail.c: New file.
12919 * gdb.base/break-main-file-remove-fail.exp: New file.
12920 * gdb.base/break-unload-file.exp: Use build_executable instead of
12921 prepare_for_testing.
12922 (test_break): New parameter "initial_load". Handle it.
12923 (top level): Add initial_load cmdline/file axis.
12924
129252014-06-12 Tom Tromey <tromey@redhat.com>
12926
12927 * gdb.base/completion.exp: Don't use directory name in test.
12928
129292014-06-09 Gary Benson <gbenson@redhat.com>
12930
12931 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12932 separate the always-available ANSI-standard signals from the
12933 signals that require checking.
12934 (main): Likewise.
12935 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12936 Likewise.
12937 (main): Likewise.
12938
129392014-06-07 Keith Seitz <keiths@redhat.com>
12940
12941 Revert:
12942 PR c++/16253
12943 * gdb.cp/var-tag.cc: New file.
12944 * gdb.cp/var-tag.exp: New file.
12945 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12946 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12947 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12948 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12949
129502014-06-06 Doug Evans <xdje42@gmail.com>
12951
12952 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12953
129542014-06-06 Pedro Alves <palves@redhat.com>
12955
12956 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12957 in target debug output instead of looking at RSP packets,
12958 disabling the test on any target that uses hardware stepping.
12959 Update comments.
12960
129612014-06-06 Pedro Alves <palves@redhat.com>
12962
12963 * gdb.base/break-unload-file.exp: Fix typo.
12964
129652014-06-06 Yao Qi <yao@codesourcery.com>
12966
12967 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12968 from "jit_function" to "^jit_function".
12969
129702014-06-06 Yao Qi <yao@codesourcery.com>
12971
12972 * gdb.base/async.c (foo): Add one statement.
12973 * gdb.base/async.exp: Get the next instruction address and
12974 match the output of "nexti" by instruction address. Match
12975 the hex address in the output of "finish".
12976
129772014-06-06 Gary Benson <gbenson@redhat.com>
12978
12979 * gdb.base/call-signals.c: Remove preprocessor conditionals
12980 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12981 SIGSEGV and SIGTERM.
12982 * gdb.base/sigall.c: Likewise.
12983 * gdb.base/unwindonsignal.c: Likewise.
12984 * gdb.reverse/sigall-reverse.c: Likewise.
12985
129862014-06-06 Yao Qi <yao@codesourcery.com>
12987
12988 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12989 readable, skip the test.
12990
129912014-06-06 Yao Qi <yao@codesourcery.com>
12992
12993 * gdb.threads/staticthreads.c (thread_function): Move the line
12994 setting breakpoint on forward.
12995 * gdb.threads/staticthreads.exp: Update comments.
12996
129972014-06-05 Ludovic Courtès <ludo@gnu.org>
12998
12999 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13000 "history-append! type error".
13001
130022014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13003
13004 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13005 erroneous dprintf expected input.
13006
130072014-06-04 Doug Evans <xdje42@gmail.com>
13008
13009 * gdb.guile/scm-generics.exp: Delete.
13010
130112014-06-04 Doug Evans <xdje42@gmail.com>
13012
13013 * gdb.guile/scm-breakpoint.exp: Update.
13014 Add tests for breakpoint registration.
13015
130162014-06-04 Tom Tromey <tromey@redhat.com>
13017
13018 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13019 VLA-in-union.
13020 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13021 inner_vla_struct, vla_union types. Initialize objects of those
13022 types and compute their sizes.
13023
130242014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13025 Hui Zhu <hui@codesourcery.com>
13026
13027 * gdb.base/fileio.exp: Add test for shell not available as well as
13028 available.
13029 * gdb.base/fileio.c (test_system): Check for shell twice.
13030
130312014-06-04 Yao Qi <yao@codesourcery.com>
13032
13033 * gdb.base/auto-connect-native-target.exp: Remove redundant
13034 space from the regexp pattern.
13035
130362014-06-04 Yao Qi <yao@codesourcery.com>
13037
13038 * gdb.base/default.exp: Replace "child" with "native" in
13039 regexp pattern.
13040
130412014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13042
13043 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13044 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13045 * gdb.python/py-xmethods.py: Python script supporting the
13046 new testcase and tests.
13047
130482014-06-03 Joel Brobecker <brobecker@adacore.com>
13049 Pedro Alves <palves@redhat.com>
13050
13051 PR breakpoints/17000
13052 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13053 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13054
130552014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13056
13057 * gdb.base/subst.exp: Add tests to verify partial path matching
13058 output.
13059
130602014-06-03 Pedro Alves <palves@redhat.com>
13061
13062 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13063 target that doesn't use software single-stepping.
13064
130652014-06-03 Pedro Alves <palves@redhat.com>
13066
13067 PR breakpoints/17000
13068 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13069 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13070
130712014-06-02 Doug Evans <xdje42@gmail.com>
13072
13073 * gdb.guile/scm-parameter.exp: New file.
13074
130752014-06-02 Doug Evans <xdje42@gmail.com>
13076
13077 * gdb.guile/scm-cmd.c: New file.
13078 * gdb.guile/scm-cmd.exp: New file.
13079
130802014-06-02 Doug Evans <xdje42@gmail.com>
13081
13082 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13083 pretty-printer lookup.
13084 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13085 (make-pp_s-printer): Call it.
13086 (make-pretty-printer-from-dict): New function.
13087 (lookup-pretty-printer-maker-from-dict): New function.
13088 (*pretty-printer*): Simplify.
13089 (make-objfile-pp_s-printer): New function.
13090 (install-objfile-pretty-printers!): New function.
13091 (make-progspace-pp_s-printer): New function.
13092 (install-progspace-pretty-printers!): New function.
13093 * gdb.guile/scm-progspace.c: New file.
13094 * gdb.guile/scm-progspace.exp: New file.
13095
130962014-06-02 Pedro Alves <palves@redhat.com>
13097
13098 * gdb.base/dprintf-bp-same-addr.c: New file.
13099 * gdb.base/dprintf-bp-same-addr.exp: New file.
13100
131012014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13102
13103 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13104 * gdb.arch/powerpc-power.s: Likewise.
13105
131062014-06-02 Joel Brobecker <brobecker@adacore.com>
13107
13108 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13109
131102014-06-01 Yao Qi <yao@codesourcery.com>
13111
13112 * gdb.base/watchpoint.exp (test_watch_location): Check null
13113 pointer can be dereferenced. If not, do the test, otherwise
13114 skip it.
13115
131162014-05-30 Andrew Burgess <aburgess@broadcom.com>
13117
13118 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13119 results.
13120 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13121
131222014-05-30 Andrew Burgess <aburgess@broadcom.com>
13123
13124 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13125 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13126 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13127 * gdb.arch/amd64-invalid-stack-top.c: New file.
13128 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13129
131302014-05-30 Pedro Alves <palves@redhat.com>
13131
13132 PR breakpoints/17000
13133 * gdb.base/sss-bp-on-user-bp.c: New file.
13134 * gdb.base/sss-bp-on-user-bp.exp: New file.
13135
131362014-05-30 David Blaikie <dblaikie@gmail.com>
13137
13138 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13139 gnu_inline semantics via attribute.
13140 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13141 source explicitly specifies the required semantics.
13142
131432014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13144
13145 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13146
131472014-05-29 Pedro Alves <palves@redhat.com>
13148 Tom Tromey <tromey@redhat.com>
13149
13150 * gdb.base/async-shell.exp: Don't enable target-async.
13151 * gdb.base/async.exp
13152 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13153 parameter. Adjust.
13154 (top level): Don't test with "target-async".
13155 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13156 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13157 * gdb.base/inferior-died.exp: Don't enable target-async.
13158 * gdb.base/interrupt-noterm.exp: Likewise.
13159 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13160 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13161 * gdb.mi/mi-nonstop.exp: Likewise.
13162 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13163 * gdb.mi/mi-nsintrall.exp: Likewise.
13164 * gdb.mi/mi-nsmoribund.exp: Likewise.
13165 * gdb.mi/mi-nsthrexec.exp: Likewise.
13166 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13167 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13168 * gdb.python/py-evsignal.exp: Don't enable target-async.
13169 * gdb.python/py-evthreads.exp: Likewise.
13170 * gdb.python/py-prompt.exp: Likewise.
13171 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13172 * gdb.server/solib-list.exp: Don't enable target-async.
13173 * gdb.threads/thread-specific-bp.exp: Likewise.
13174 * lib/mi-support.exp: Adjust to use mi-async.
13175
131762014-05-29 Pedro Alves <palves@redhat.com>
13177
13178 PR gdb/13860
13179 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13180 reason, even in sync mode.
13181
131822014-05-29 Pedro Alves <palves@redhat.com>
13183 Hui Zhu <hui@codesourcery.com>
13184
13185 PR PR15693
13186 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13187 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13188 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13189 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13190
131912014-05-28 Joel Brobecker <brobecker@adacore.com>
13192
13193 * config/monitor.exp (gdb_target_monitor): Replace use of
13194 "set remotebaud" by "set serial baud".
13195
131962014-05-26 Andy Wingo <wingo@igalia.com>
13197
13198 * gdb.guile/scm-breakpoint.exp:
13199 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13200 properties instead of gdb-object-properties.
13201
132022014-05-26 Yao Qi <yao@codesourcery.com>
13203
13204 * gdb.server/no-thread-db.exp: Specify source file name
13205 explicitly when setting a breakpoint.
13206
132072014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13208
13209 * gdb.btrace/vdso.c: New.
13210 * gdb.btrace/vdso.exp: New.
13211
132122014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13213
13214 * gdb.base/gcore.exp (capture_command_output): Move ...
13215 * lib/gdb.exp (capture_command_output): ... here.
13216
132172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13218
13219 * gdb.btrace/data.exp: Test memory access during btrace replay.
13220
132212014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13222
13223 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13224
132252014-05-21 Pedro Alves <palves@redhat.com>
13226
13227 PR gdb/13860
13228 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13229 (top level): Test that output related to execution commands is
13230 sent to the console with CLI commands, but not with MI commands.
13231 Test that breakpoint events are always mirrored to the console.
13232 Also expect the new source line to be output after a "next" in
13233 async mode too. Make it a pass/fail test.
13234 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13235 output.
13236 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13237
132382014-05-21 Pedro Alves <palves@redhat.com>
13239
13240 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13241 Use them to test variations of "list" after reaching a breakpoint.
13242 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13243 Test "list" with listsize 10 after reaching a breakpoint.
13244 * gdb.python/python.exp (decode_line current location line
13245 number): Adjust expected line number.
13246
132472014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13248
13249 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13250 behavior for $args, pass it directly to "run".
13251
132522014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13253
13254 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13255 30000 to 65536.
13256
132572014-05-21 Pedro Alves <palves@redhat.com>
13258
13259 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13260 auto-connect-native-target off".
13261 * gdb.base/auto-connect-native-target.c: New file.
13262 * gdb.base/auto-connect-native-target.exp: New file.
13263
132642014-05-21 Pedro Alves <palves@redhat.com>
13265
13266 * gdb.base/default.exp: Test "target native" instead of "target
13267 child".
13268
132692014-05-21 Mark Wielaard <mjw@redhat.com>
13270
13271 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13272
132732014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13274
13275 Fix TLS access for -static -pthread.
13276 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13277 <HAVE_TLS> (thread_function, main): Initialize it.
13278 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13279 Add clean_restart.
13280 <$have_tls != "">: Check TLSVAR.
13281
132822014-05-21 Pedro Alves <palves@redhat.com>
13283
13284 * gdb.base/dcache-line-read-error.c: New.
13285 * gdb.base/dcache-line-read-error.exp: New.
13286
132872014-05-20 Pedro Alves <palves@redhat.com>
13288
13289 * gdb.base/compare-sections.c: New file.
13290 * gdb.base/compare-sections.exp: New file.
13291
132922014-05-20 Pedro Alves <palves@redhat.com>
13293
13294 * gdb.base/break-idempotent.c: New file.
13295 * gdb.base/break-idempotent.exp: New file.
13296
132972014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13298
13299 * gdb.btrace/nohist.exp: New.
13300
133012014-05-20 Yao Qi <yao@codesourcery.com>
13302
13303 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13304 gdb.reverse directory and gdb_reverse_timeout exists in board
13305 setting.
13306 * README: Document gdb_reverse_timeout.
13307
133082014-05-20 Yao Qi <yao@codesourcery.com>
13309
13310 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13311 'test_file_name'. Treat args as a string instead of a list.
13312 (gdb_init): Rename argument 'args' by 'test_file_name'.
13313
133142014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13315
13316 * gdb.arch/powerpc-power.exp: New file.
13317 * gdb.arch/powerpc-power.s: New file.
13318
133192014-05-16 Doug Evans <dje@google.com>
13320
13321 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13322 * gdb.base/completion.exp: Check that all expected files exist
13323 before doing file completion.
13324
133252014-05-16 Doug Evans <dje@google.com>
13326
13327 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13328 Update.
13329 (do_syscall_tests_without_xml): Update.
13330
133312014-05-16 Pedro Alves <palves@redhat.com>
13332
13333 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13334 instead of "unknown output after running".
13335
133362014-05-16 Yao Qi <yao@codesourcery.com>
13337
13338 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13339 file1.txt from host at the end.
13340 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13341
133422014-05-15 Doug Evans <dje@google.com>
13343
13344 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13345 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13346 loading file. Add test for TU lookup.
13347
133482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13349
13350 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13351 calling "-exec-arguments" or "set args" before running the
13352 inferior.
13353
133542014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13355
13356 * lib/mi-support.exp (mi_expect_stop): Expect message for
13357 inferiors that exit with non-zero exit code.
13358
133592014-05-14 Yao Qi <yao@codesourcery.com>
13360
13361 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13362 match absolute path on remote host.
13363 (test_file_list_exec_source_files): Remove "/" from the
13364 pattern.
13365
133662014-05-14 Yao Qi <yao@codesourcery.com>
13367
13368 * boards/local-remote-host-notty.exp (${board}_file): New
13369 proc.
13370
133712014-05-07 Kyle McMartin <kyle@redhat.com>
13372
13373 Pushed by Joel Brobecker <brobecker@adacore.com>.
13374 * gdb.arch/aarch64-atomic-inst.c: New file.
13375 * gdb.arch/aarch64-atomic-inst.exp: New file.
13376
133772014-05-07 Yao Qi <yao@codesourcery.com>
13378
13379 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13380 in current context" too.
13381
133822014-05-05 Keith Seitz <keiths@redhat.com>
13383
13384 * gdb.linespec/ls-dollar.exp: Add test for linespec
13385 file:convenience_variable.
13386
133872014-05-05 Yao Qi <yao@codesourcery.com>
13388
13389 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13390 traceframes into tfile and ctf trace files. Read data from
13391 trace file and test collected data.
13392 (gdb_collect_locals_test): Likewise.
13393 (gdb_unavailable_registers_test): Likewise.
13394 (gdb_unavailable_floats): Likewise.
13395 (gdb_collect_globals_test): Likewise.
13396 (top-level): Append "ctf" to trace_file_targets if GDB
13397 supports.
13398
133992014-05-05 Yao Qi <yao@codesourcery.com>
13400
13401 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13402 code to ...
13403 (gdb_collect_args_test_1): ... it. New proc.
13404 (gdb_collect_locals_test): Move some code to ...
13405 (gdb_collect_locals_test_1): ... it. New proc.
13406 (gdb_unavailable_registers_test): Move some code to ...
13407 (gdb_unavailable_registers_test_1): ... it. New proc.
13408 (gdb_unavailable_floats): Move some code to ...
13409 (gdb_unavailable_floats_1): ... it. New proc.
13410
134112014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13412
13413 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13414 probes to test for bitness recognition.
13415 * gdb.arch/amd64-stap-optional-prefix.exp
13416 (test_probe_value_without_reg): New procedure.
13417 Add code to test for different kinds of bitness.
13418
134192014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13420
13421 PR breakpoints/16889
13422 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13423 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13424
134252014-05-01 Pedro Alves <palves@redhat.com>
13426
13427 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13428 gdb_file_cmd if no file is specified.
13429 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13430 last_loaded_file to set the remote exec-file.
13431
134322014-05-01 Pedro Alves <palves@redhat.com>
13433
13434 * boards/local-remote-host.exp: New file.
13435
134362014-05-01 Pedro Alves <palves@redhat.com>
13437
13438 * boards/local-remote-host.exp: Rename to ...
13439 * boards/local-remote-host-notty.exp: ... this.
13440
134412014-04-28 Joel Brobecker <brobecker@adacore.com>
13442
13443 * gdb.ada/dyn_arrayidx: New testcase.
13444
134452014-04-26 Yao Qi <yao@codesourcery.com>
13446
13447 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13448 and compute the length of function main. Save it in
13449 $main_length.
13450 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13451 (top-level): Use gdb_compile to compile objects into
13452 executable and restart GDB. Remove invocation to
13453 prepare_for_testing.
13454
134552014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13456 Pedro Alves <palves@redhat.com>
13457
13458 PR server/16255
13459 * gdb.multi/multi-attach.c: New file.
13460 * gdb.multi/multi-attach.exp: New file.
13461
134622014-04-25 Pedro Alves <palves@redhat.com>
13463
13464 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13465 user.
13466 (top level): Test that "set remote conditional-breakpoints-packet
13467 off" works as intended.
13468 * gdb.base/dprintf.exp: Test that "set remote
13469 breakpoint-commands-packet off" works as intended.
13470 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13471 New function.
13472 (top level): Call it.
13473 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13474 remote fast-tracepoints-packet off" works as intended.
13475 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13476 * lib/gdb.exp (gdb_is_target_remote): ... here.
13477
134782014-04-24 David Blaikie <dblaikie@gmail.com>
13479
13480 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13481 ensure clang would not discard them.
13482 * gdb.base/gdbvars.c: Ditto.
13483 * gdb.base/memattr.c: Ditto.
13484 * gdb.base/whatis.c: Ditto.
13485 * gdb.python/py-prettyprint.c: Ditto.
13486 * gdb.trace/actions.c: Ditto.
13487 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13488 ensure clang would not discard it.
13489
134902014-04-24 David Blaikie <dblaikie@gmail.com>
13491
13492 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13493 clang to emit the full definition of type required by the test
13494 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13495
134962014-04-24 David Blaikie <dblaikie@gmail.com>
13497
13498 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13499 coax Clang into emitting the definition of the type.
13500 * gdb.cp/pr10728-x.h (y): Ditto.
13501 * gdb.cp/pr10728-y.cc (y): Ditto.
13502
135032014-04-24 David Blaikie <dblaikie@gmail.com>
13504
13505 * gdb.base/label.exp: XFAIL label related tests under Clang.
13506 * gdb.cp/cplabel.exp: Ditto.
13507 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13508 under Clang those using labels.
13509
135102014-04-25 Yao Qi <yao@codesourcery.com>
13511
13512 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13513 double_label.
13514 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13515 partial_label and double_label.
13516
135172014-04-24 David Blaikie <dblaikie@gmail.com>
13518
13519 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13520
135212014-04-24 David Blaikie <dblaikie@gmail.com>
13522
13523 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13524 of the function to work across GCC and Clang.
13525 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13526 pointer types (const void ** const V void **).
13527
135282014-04-24 Michael Sturm <michael.sturm@mintel.com>
13529 Walfred Tedeschi <walfred.tedeschi@intel.com>
13530
13531 * Makefile.in (EXECUTABLES): Added i386-avx512.
13532 * gdb.arch/i386-avx512.c: New file.
13533 * gdb.arch/i386-avx512.exp: Likewise.
13534
135352014-04-23 Keith Seitz <keiths@redhat.com>
13536
13537 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13538 (mi_make_breakpoint_table): New procedure.
13539 (mi_create_breakpoint): Use mi_make_breakpoint
13540 and return the result.
13541 (mi_make_breakpoint): New procedure.
13542 (mi_build_kv_pairs): New procedure.
13543
13544 * gdb.mi/mi-break.exp: Remove unused globals,
13545 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13546 All callers updated.
13547 * gdb.mi/mi-dprintf.exp: Use variable to track command
13548 number.
13549 Update all callers of mi_create_breakpoint and use
13550 mi_make_breakpoint_table.
13551 Remove any unused global variables.
13552 * gdb.mi/mi-nonstop.exp: Likewise.
13553 * gdb.mi/mi-nsintrall.exp: Likewise.
13554 * gdb.mi/mi-nsmoribund.exp: Likewise.
13555 * gdb.mi/mi-nsthrexec.exp: Likewise.
13556 * gdb.mi/mi-reverse.exp: Likewise.
13557 * gdb.mi/mi-simplerun.exp: Likewise.
13558 * gdb.mi/mi-stepn.exp: Likewise.
13559 * gdb.mi/mi-syn-frame.exp: Likewise.
13560 * gdb.mi/mi-until.exp: Likewise.
13561 * gdb.mi/mi-var-cp.exp: Likewise.
13562 * gdb.mi/mi-var-display.exp: Likewise.
13563 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13564 * gdb.mi/mi2-var-child.exp: Likewise.
13565 * gdb.mi/mi-vla-c99.exp: Likewise.
13566 * lib/mi-support.exp: Likewise.
13567
13568 From Ian Lance Taylor <iant@cygnus.com>:
13569 * lib/gdb.exp (parse_args): New procedure.
13570
135712014-04-23 Pedro Alves <palves@redhat.com>
13572
13573 * gdb.base/break-unload-file.c: New file.
13574 * gdb.base/break-unload-file.exp: New file.
13575 * gdb.base/sym-file-lib.c (baz): New function.
13576 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13577 field.
13578 (load): Store the segment's mapped size.
13579 (unload): New function.
13580 (unload_shlib): New function.
13581 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13582 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13583 set a breakpoint at baz, and call it.
13584 * gdb.base/sym-file.exp: New tests for stale breakpoint
13585 instructions.
13586
135872014-04-23 Pedro Alves <palves@redhat.com>
13588
13589 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13590 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13591 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13592 * gdb.base/hbreak-unmapped.c: New file.
13593 * gdb.base/hbreak-unmapped.exp: New file.
13594 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13595 * lib/gdb.exp (gdb_is_target_remote): ... here.
13596
135972014-04-22 Pedro Alves <palves@redhat.com>
13598
13599 * gdb.base/consecutive-step-over.c: New file.
13600 * gdb.base/consecutive-step-over.exp: New file.
13601
136022014-04-22 Pedro Alves <palves@redhat.com>
13603
13604 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13605 instead of send_gdb/gdb_expect.
13606
136072014-04-22 Yao Qi <yao@codesourcery.com>
13608
13609 * lib/trace-support.exp (generate_tracefile): New procedure.
13610 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13611 return 0.
13612 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13613 if generate_tracefile returns 1.
13614
136152014-04-18 Tom Tromey <palves@redhat.com>
13616 Pedro alves <tromey@redhat.com>
13617
13618 PR backtrace/15558
13619 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13620 with a backtrace limit.
13621 * gdb.python/py-frame-inline.exp: Test running to an inline
13622 function with a backtrace limit, and printing the newest frame.
13623 * gdb.python/py-frame-inline.c (main): Call f.
13624
136252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13626
13627 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13628
136292014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13630
13631 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13632 Drop prefix from unsupported source file path.
13633
136342014-04-17 Yao Qi <yao@codesourcery.com>
13635
13636 * lib/gdb.exp (with_target_charset): New proc.
13637 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13638 with_target_charset.
13639 (test_print_strings): Likewise.
13640 (test_repeat_bytes): Likewise.
13641 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13642 for some tests.
13643
136442014-04-16 Keith Seitz <keiths@redhat.com>
13645
13646 PR gdb/15827
13647 * gdb.dwarf2/corrupt.c: New file.
13648 * gdb.dwarf2/corrupt.exp: New file.
13649
136502014-04-16 Keith Seitz <keiths@redhat.com>
13651
13652 PR c++/16597
13653 * gdb.cp/namelessclass.cc: New file.
13654 * gdb.cp/namelessclass.exp: New file.
13655 * gdb.cp/namelessclass.S: New file.
13656
136572014-04-16 Doug Evans <dje@google.com>
13658
13659 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13660 Add comment.
13661 (gdbserver_default_get_comm_port): New function.
13662 (gdbserver_start): Check if board file provided
13663 "gdbserver,get_comm_port" and use it if so.
13664 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13665 (gdb,socketport): Set to "stdio".
13666 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13667 (stdio_gdbserver_template): Delete.
13668 (${board}_get_remote_address): Update.
13669 (${board}_build_remote_cmd): Delete.
13670 (${board}_get_comm_port): New function.
13671 (${board}_spawn): Update.
13672 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13673 Delete.
13674 (${board}_get_remote_address): Update.
13675 (${board}_get_comm_port): New function.
13676
136772014-04-16 Andrew Burgess <aburgess@broadcom.com>
13678
13679 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13680 appearing in any order.
13681
136822014-04-15 Doug Evans <dje@google.com>
13683
13684 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13685 uninitialized value of "description".
13686
136872014-04-15 Keith Seitz <keiths@redhat.com>
13688
13689 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13690 Remove unused globals.
13691 (test_running_the_program): Likewise.
13692 (test_controlled_execution): Likewise.
13693 (test_controlling_breakpoints): Likewise.
13694 (test_program_termination): Likewise.
13695
136962014-04-15 Keith Seitz <keiths@redhat.com>
13697
13698 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13699 unused globals.
13700 (test_rbreak_creation_and_listing): Likewise.
13701 (test_ignore_count): Likewise.
13702 (test_error): Likewise.
13703
137042014-04-15 Pedro Alves <palves@redhat.com>
13705
13706 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13707 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13708 sym-file-loader.c.
13709 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13710 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13711 to sym-file-loader.c.
13712 (struct library): Forward declare.
13713 (load_shlib, lookup_function): Change prototypes.
13714 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13715 (translate_offset): Remove declarations.
13716 (get_text_addr): New declaration.
13717 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13718 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13719 sym-file-loader.h.
13720 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13721 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13722 here from sym-file-loader.h.
13723 (struct library): New structure.
13724 (load_shlib, lookup_function): Change prototypes and adjust to
13725 work with a struct library.
13726 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13727 (translate_offset): Make static.
13728 (get_text_addr): New function.
13729 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13730
137312014-04-15 Pedro Alves <palves@redhat.com>
13732
13733 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13734
137352014-04-15 Pedro Alves <palves@redhat.com>
13736
13737 * gdb.base/sym-file-loader.c: Include <limits.h>.
13738 (SELF_LINK): New define.
13739 (get_origin): New function.
13740 (load_shlib): Use it.
13741 * gdb.base/sym-file.exp: Don't early return if the target is
13742 remote. Use runto_main, and issue fail is that fails. Use
13743 gdb_load_shlibs.
13744 (shlib_name): Delete.
13745 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13746
137472014-04-15 Pedro Alves <palves@redhat.com>
13748
13749 * gdb.base/sym-file.exp: Remove regex characters from test
13750 message. Don't refer to breakpoint numbers in test messages.
13751
137522014-04-14 Keith Seitz <keiths@redhat.com>
13753
13754 PR c++/16253
13755 * gdb.cp/var-tag.cc: New file.
13756 * gdb.cp/var-tag.exp: New file.
13757 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13758 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13759 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13760 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13761
137622014-04-14 Tom Tromey <tromey@redhat.com>
13763
13764 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13765 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13766 type.
13767 * gdb.cp/enum-class.exp: New file.
13768 * gdb.cp/enum-class.cc: New file.
13769
137702014-04-14 Tom Tromey <tromey@redhat.com>
13771
13772 * gdb.dwarf2/enum-type.exp: New file.
13773
137742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13775
13776 * gdb.mi/mi-vla-c99.exp: New file.
13777 * gdb.mi/vla.c: New file.
13778
137792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13780
13781 * gdb.base/vla-datatypes.c: New file.
13782 * gdb.base/vla-datatypes.exp: New file.
13783
137842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13785
13786 * gdb.base/vla-ptr.c: New file.
13787 * gdb.base/vla-ptr.exp: New file.
13788
137892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13790
13791 * gdb.dwarf2/count.exp: New file.
13792
137932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13794
13795 * gdb.base/vla-sideeffect.c: New file.
13796 * gdb.base/vla-sideeffect.exp: New file.
13797
137982014-04-14 David Blaikie <dblaikie@gmail.com>
13799
13800 * gdb.mi/non-stop.c: Add return value for non-void function return
13801 statement.
13802 * gdb.threads/staticthreads.c: Ditto.
13803
138042014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13805 Doug Evans <xdje42@gmail.com>
13806
13807 * gdb.guile/scm-value.c: Improve test case.
13808 * gdb.guile/scm-value.exp: Add new test.
13809
138102014-04-11 David Blaikie <dblaikie@gmail.com>
13811
13812 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13813 override Clang's default.
13814
138152014-04-11 Joel Brobecker <brobecker@adacore.com>
13816
13817 Revert the following changes (regressions):
13818
13819 * gdb.base/vla-sideeffect.c: New file.
13820 * gdb.base/vla-sideeffect.exp: New file.
13821
13822 * gdb.dwarf2/count.exp: New file.
13823
13824 * gdb.base/vla-multi.c: New file.
13825 * gdb.base/vla-multi.exp: New file.
13826
13827 * gdb.base/vla-ptr.c: New file.
13828 * gdb.base/vla-ptr.exp: New file.
13829
13830 * gdb.base/vla-datatypes.c: New file.
13831 * gdb.base/vla-datatypes.exp: New file.
13832
13833 * gdb.mi/mi-vla-c99.exp: New file.
13834 * gdb.mi/vla.c: New file.
13835
138362014-04-11 Keith Seitz <keiths@redhat.com>
13837
13838 PR c++/16675
13839 * gdb.cp/cpsizeof.exp: New file.
13840 * gdb.cp/cpsizeof.cc: New file.
13841
138422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13843
13844 * gdb.mi/mi-vla-c99.exp: New file.
13845 * gdb.mi/vla.c: New file.
13846
138472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13848
13849 * gdb.base/vla-datatypes.c: New file.
13850 * gdb.base/vla-datatypes.exp: New file.
13851
138522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13853
13854 * gdb.base/vla-ptr.c: New file.
13855 * gdb.base/vla-ptr.exp: New file.
13856
138572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13858
13859 * gdb.base/vla-multi.c: New file.
13860 * gdb.base/vla-multi.exp: New file.
13861
138622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13863
13864 * gdb.dwarf2/count.exp: New file.
13865
138662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13867
13868 * gdb.base/vla-sideeffect.c: New file.
13869 * gdb.base/vla-sideeffect.exp: New file.
13870
138712014-04-11 Yao Qi <yao@codesourcery.com>
13872
13873 * gdb.base/completion.exp: Check file exists before running tests
13874 on file completion.
13875
138762014-04-10 Pedro Alves <palves@redhat.com>
13877
13878 * gdb.base/cond-eval-mode.c: New file.
13879 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13880 prepare_for_testing to build the new file. Check result of
13881 runto_main.
13882 (test_break, test_watch): New procedures.
13883 (top level): Use them.
13884
138852014-04-08 Pierre Muller <muller@sourceware.org>
13886
13887 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13888 Ctrl-V use for mingw hosts.
13889
138902014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13891
13892 * gdb.python/py-value.c: Improve test case.
13893 * gdb.python/py-value.exp: Add new test.
13894
138952014-04-07 David Blaikie <dblaikie@gmail.com>
13896
13897 * lib/compiler.c: Identify the clang compiler.
13898 * lib/compiler.cc: Ditto.
13899
139002014-04-03 Yao Qi <yao@codesourcery.com>
13901
13902 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13903
139042014-04-01 Anton Blanchard <anton@samba.org>
13905
13906 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13907 messages unique.
13908
139092014-04-01 Anton Blanchard <anton@samba.org>
13910
13911 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13912 prepare_for_testing.
13913
139142014-04-01 Anton Blanchard <anton@samba.org>
13915
13916 * gdb.arch/ppc64-atomic-inst.c: Remove.
13917 * gdb.arch/ppc64-atomic-inst.S: New file.
13918 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13919
139202014-03-31 Doug Evans <dje@google.com>
13921
13922 * gdb.base/print-symbol-loading-lib.c: New file.
13923 * gdb.base/print-symbol-loading-main.c: New file.
13924 * gdb.base/print-symbol-loading.exp: New file.
13925
139262014-03-31 Yao Qi <yao@codesourcery.com>
13927
13928 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13929
139302014-03-28 Joel Brobecker <brobecker@adacore.com>
13931
13932 * gdb.ada/mi_dyn_arr: New testcase.
13933
139342014-03-27 Doug Evans <dje@google.com>
13935
13936 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13937
139382014-03-27 Yao Qi <yao@codesourcery.com>
13939
13940 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13941 if target is nios2-*-*.
13942
139432014-03-26 Yao Qi <yao@codesourcery.com>
13944
13945 * lib/gdb.exp (readline_is_used): New proc.
13946 * gdb.base/completion.exp: Move tests on command complete up.
13947 Skip the rest of tests if readline is not used.
13948 * gdb.ada/complete.exp: Skp the test if readline is not
13949 used.
13950 * gdb.base/filesym.exp: Likewise.
13951 * gdb.base/macscp.exp: Likewise.
13952 * gdb.base/readline-ask.exp: Likewise.
13953 * gdb.base/readline.exp: Likewise.
13954 * gdb.python/py-cmd.exp: Likewise.
13955 * gdb.trace/tfile.exp: Likewise.
13956
139572014-03-26 Yao Qi <yao@codesourcery.com>
13958
13959 * gdb.base/macscp.exp: Fix code format issues.
13960
139612014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13962
13963 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13964 * gdb.asm/powerpc64le.inc: New file.
13965
139662014-03-25 Pedro Alves <palves@redhat.com>
13967 Doug Evans <dje@google.com>
13968
13969 * gdb.base/source-execution.c: New file.
13970 * gdb.base/source-execution.exp: New file.
13971 * gdb.base/source-execution.gdb: New file.
13972
139732014-03-24 Doug Evans <dje@google.com>
13974
13975 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13976 using fission.
13977
139782014-03-24 Hui Zhu <hui@codesourcery.com>
13979 Pedro Alves <palves@redhat.com>
13980
13981 PR breakpoints/16101
13982 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13983 test pass/fail messages. Detect missing support for dprintf when
13984 breakpoints are actually inserted.
13985 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13986 breakpoints are actually inserted.
13987 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13988 fails.
13989
139902014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13991
13992 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13993
139942014-03-22 Doug Evans <xdje42@gmail.com>
13995
13996 * gdb.python/python.exp (python not supported): Verify multi-line
13997 python command issues an error.
13998 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13999 guile command issues an error.
14000
140012014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14002
14003 * gdb.threads/thread-specific.exp: Handle the lack of usable
14004 $this_breakpoint and $this_thread.
14005
140062014-03-21 Hui Zhu <hui@codesourcery.com>
14007
14008 * gdb.base/attach.exp (do_command_attach_tests): New.
14009
140102014-03-20 Tom Tromey <tromey@redhat.com>
14011 Pedro Alves <palves@redhat.com>
14012
14013 PR cli/15718
14014 * gdb.base/condbreak-call-false.c: New file.
14015 * gdb.base/condbreak-call-false.exp: New file.
14016
140172014-03-20 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14020 Delete.
14021 (block_signals, unblock_signals): Delete.
14022 (child_function_2, main): Remove references to deleted variable
14023 and functions.
14024
140252014-03-20 Pedro Alves <palves@redhat.com>
14026
14027 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14028 Use pthread_kill to signal thread 2.
14029 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14030 Adjust to make the test send itself a signal rather than using the
14031 host's "kill" command.
14032
140332014-03-20 Pedro Alves <palves@redhat.com>
14034
14035 * gdb.threads/multiple-step-overs.c: New file.
14036 * gdb.threads/multiple-step-overs.exp: New file.
14037 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14038 Adjust expected infrun debug output.
14039
140402014-03-20 Pedro Alves <palves@redhat.com>
14041
14042 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14043 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14044
140452014-03-20 Pedro Alves <palves@redhat.com>
14046
14047 PR breakpoints/7143
14048 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14049 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14050 of gdb_test_multiple.
14051 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14052 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14053
140542014-03-20 Pedro Alves <palves@redhat.com>
14055
14056 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14057 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14058
140592014-03-19 Pedro Alves <palves@redhat.com>
14060
14061 * gdb.base/async.exp: Remove early return.
14062
140632014-03-19 Pedro Alves <palves@redhat.com>
14064
14065 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14066
140672014-03-19 Pedro Alves <palves@redhat.com>
14068
14069 * gdb.base/async.exp (test_background): Expect \r\n after
14070 "completed." in the fail pattern.
14071
140722014-03-19 Pedro Alves <palves@redhat.com>
14073
14074 * gdb.base/async.exp (test_background): New procedure.
14075 Use it for all background execution command tests.
14076
140772014-03-19 Pedro Alves <palves@redhat.com>
14078
14079 * gdb.base/async.exp: Use prepare_for_testing.
14080
140812014-03-19 Pedro Alves <palves@redhat.com>
14082
14083 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14084 the same line.
14085
140862014-03-19 Pedro Alves <palves@redhat.com>
14087
14088 * gdb.base/async.c (main): Add "jump here" and "until here" line
14089 marker comments.
14090 * gdb.base/async.exp (jump_here): New global.
14091 (jump& test): Use it.
14092 (until_here): New global.
14093 (until& test): Use it.
14094
140952014-03-19 Pedro Alves <palves@redhat.com>
14096
14097 * gdb.base/async.exp: Don't frob gdb_protocol.
14098
140992014-03-18 Doug Evans <xdje42@gmail.com>
14100
14101 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14102 Fix spelling of exec-done-display.
14103
141042014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14105
14106 PR gdb/15358
14107 * gdb.base/gdb-sigterm.c: New file.
14108 * gdb.base/gdb-sigterm.exp: New file.
14109
141102014-03-18 Pedro Alves <palves@redhat.com>
14111
14112 PR gdb/13860
14113 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14114 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14115 solib-event.
14116
141172014-03-17 Joel Brobecker <brobecker@adacore.com>
14118
14119 * gdb.ada/pckd_arr_ren: New testcase.
14120
141212014-03-13 Doug Evans <xdje42@gmail.com>
14122
14123 PR guile/16612
14124 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14125 collect after discarding symbols.
14126
141272014-03-13 Ludovic Courtès <ludo@gnu.org>
14128 Doug Evans <xdje42@gmail.com>
14129
14130 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14131 to history survives a gc.
14132
141332014-03-13 Pedro Alves <palves@redhat.com>
14134
14135 * gdb.base/default.exp: Don't test "target procfs".
14136
141372014-03-13 Pedro Alves <palves@redhat.com>
14138
14139 * gdb.base/default.exp: Update "target child" and "target procfs"
14140 tests to not expect "Unix".
14141
141422014-03-12 Tom Tromey <tromey@redhat.com>
14143
14144 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14145 New procs. Add target-async tests.
14146 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14147 Add target-async tests.
14148
141492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14150
14151 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14152 'func_start' and 'func_end' for the beginning and end of the
14153 function code, respectively.
14154 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14155 'func_end' instead of 'func' and 'main'.
14156
141572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14158
14159 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14160 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14161 generate the debug info assembler source.
14162
141632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14164
14165 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14166 * gdb.dwarf2/arr-subrange.exp: Likewise.
14167 * gdb.dwarf2/dwz.exp: Likewise.
14168 * gdb.dwarf2/method-ptr.exp: Likewise.
14169 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14170 * gdb.dwarf2/subrange.exp: Likewise.
14171 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14172 * gdb.dwarf2/implptrpiece.exp: Likewise.
14173 * gdb.dwarf2/nostaticblock.exp: Likewise.
14174
141752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14176
14177 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14178 directory to absolute path name arguments.
14179
141802014-03-10 Joel Brobecker <brobecker@adacore.com>
14181
14182 * gdb.ada/tagged_access: New testcase.
14183
141842014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14185
14186 * gdb.btrace/data.exp: Update expected output.
14187
141882014-03-06 Yao Qi <yao@codesourcery.com>
14189
14190 * gdb.trace/pr16508.exp: New file.
14191
141922014-03-05 Pedro Alves <palves@redhat.com>
14193
14194 PR gdb/16575
14195 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14196 procedure.
14197 (top level): Adjust to use it. Add tests that exercise breakpoint
14198 interaction with the code-cache.
14199
142002014-02-26 Ludovic Courtès <ludo@gnu.org>
14201
14202 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14203 test for 'history-append!'.
14204
142052014-02-26 Joel Brobecker <brobecker@adacore.com>
14206
14207 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14208 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14209 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14210 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14211 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14212 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14213
142142014-02-26 Joel Brobecker <brobecker@adacore.com>
14215
14216 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14217 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14218 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14219
142202014-02-26 Joel Brobecker <brobecker@adacore.com>
14221
14222 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14223
142242014-02-26 Joel Brobecker <brobecker@adacore.com>
14225
14226 * gdb.dwarf2/arr-stride.c: New file.
14227 * gdb.dwarf2/arr-stride.exp: New file.
14228
142292014-02-26 Pedro Alves <palves@redhat.com>
14230
14231 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14232 that won't ever trigger. Make sure that GDB reports the correct
14233 breakpoint that caused the stop.
14234
142352014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14236
14237 PR gdb/16626
14238 * gdb.base/auto-load-script: New file.
14239 * gdb.base/auto-load.c: New file.
14240 * gdb.base/auto-load.exp: New file.
14241
14242 PR gdb/16626
14243 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14244
142452014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14246
14247 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14248 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14249
142502014-02-24 Doug Evans <dje@google.com>
14251
14252 * lib/gdb.exp (run_on_host): Log error output if program fails.
14253
142542014-02-21 Pedro Alves <palves@redhat.com>
14255
14256 * gdb.threads/step-after-sr-lock.c: Rename to ...
14257 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14258 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14259 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14260 ... this.
14261
142622014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14263
14264 PR tdep/16397
14265 * gdb.arch/amd64-stap-special-operands.exp: New file.
14266 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14267 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14268 * gdb.arch/amd64-stap-triplet.S: Likewise.
14269 * gdb.arch/amd64-stap-triplet.c: Likewise.
14270
142712014-02-20 Joel Brobecker <brobecker@adacore.com>
14272
14273 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14274 in .section pseudo-op.
14275
142762014-02-20 lin zuojian <manjian2006@gmail.com>
14277 Joel Brobecker <brobecker@adacore.com>
14278 Doug Evans <xdje42@gmail.com>
14279
14280 PR symtab/16581
14281 * gdb.dwarf2/dw2-icycle.S: New file.
14282 * gdb.dwarf2/dw2-icycle.c: New file.
14283 * gdb.dwarf2/dw2-icycle.exp: New file.
14284
142852014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14286
14287 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14288 operations on gdb.Value objects.
14289 * gdb.python/py-value-cc.exp: Add new test to test operations on
14290 gdb.Value objects.
14291
142922014-02-18 Doug Evans <dje@google.com>
14293
14294 * Makefile.in (TESTS): New variable.
14295 (expanded_tests, expanded_tests_or_none): New variables
14296 (check-single): Pass $(expanded_tests_or_none) to runtest.
14297 (check-parallel): Only run tests in $(TESTS) if non-empty.
14298 (check/no-matching-tests-found): New rule.
14299 * README: Document TESTS makefile variable.
14300
143012014-02-18 Doug Evans <dje@google.com>
14302
14303 * Makefile.in (check-parallel): rm -rf outputs temp.
14304
143052014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14306
14307 Fix "ERROR: no fileid for" in the testsuite.
14308 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14309
143102014-02-12 Doug Evans <dje@google.com>
14311
14312 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14313 (MISCELLANEOUS): New variable.
14314 (clean): rm -rf $(MISCELLANEOUS).
14315 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14316 dwp live in the same directory as symlinks, with each symlink pointed
14317 to a differently named file in a different directory.
14318
143192014-02-11 Doug Evans <dje@google.com>
14320
14321 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14322 of Tcl file commands.
14323
143242014-02-10 Mark Kettenis <kettenis@gnu.org>
14325
14326 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14327 "kill -SIGUSR1 -1".
14328
143292014-02-10 Joel Brobecker <brobecker@adacore.com>
14330
14331 * gdb.ada/tick_length_array_enum_idx: New testcase.
14332
143332014-02-10 Doug Evans <xdje42@gmail.com>
14334
14335 * configure.ac (AC_OUTPUT): Add gdb.guile.
14336 * configure: Regenerate.
14337 * lib/gdb-guile.exp: New file.
14338 * lib/gdb.exp (get_target_charset): New function.
14339 * gdb.base/help.exp: Update expected output from "apropos apropos".
14340 * gdb.guile/Makefile.in: New file.
14341 * gdb.guile/guile.exp: New file.
14342 * gdb.guile/scm-arch.c: New file.
14343 * gdb.guile/scm-arch.exp: New file.
14344 * gdb.guile/scm-block.c: New file.
14345 * gdb.guile/scm-block.exp: New file.
14346 * gdb.guile/scm-breakpoint.c: New file.
14347 * gdb.guile/scm-breakpoint.exp: New file.
14348 * gdb.guile/scm-disasm.c: New file.
14349 * gdb.guile/scm-disasm.exp: New file.
14350 * gdb.guile/scm-equal.c: New file.
14351 * gdb.guile/scm-equal.exp: New file.
14352 * gdb.guile/scm-error.exp: New file.
14353 * gdb.guile/scm-error.scm: New file.
14354 * gdb.guile/scm-frame-args.c: New file.
14355 * gdb.guile/scm-frame-args.exp: New file.
14356 * gdb.guile/scm-frame-args.scm: New file.
14357 * gdb.guile/scm-frame-inline.c: New file.
14358 * gdb.guile/scm-frame-inline.exp: New file.
14359 * gdb.guile/scm-frame.c: New file.
14360 * gdb.guile/scm-frame.exp: New file.
14361 * gdb.guile/scm-generics.exp: New file.
14362 * gdb.guile/scm-gsmob.exp: New file.
14363 * gdb.guile/scm-iterator.c: New file.
14364 * gdb.guile/scm-iterator.exp: New file.
14365 * gdb.guile/scm-math.c: New file.
14366 * gdb.guile/scm-math.exp: New file.
14367 * gdb.guile/scm-objfile-script-gdb.in: New file.
14368 * gdb.guile/scm-objfile-script.c: New file.
14369 * gdb.guile/scm-objfile-script.exp: New file.
14370 * gdb.guile/scm-objfile.c: New file.
14371 * gdb.guile/scm-objfile.exp: New file.
14372 * gdb.guile/scm-ports.exp: New file.
14373 * gdb.guile/scm-pretty-print.c: New file.
14374 * gdb.guile/scm-pretty-print.exp: New file.
14375 * gdb.guile/scm-pretty-print.scm: New file.
14376 * gdb.guile/scm-section-script.c: New file.
14377 * gdb.guile/scm-section-script.exp: New file.
14378 * gdb.guile/scm-section-script.scm: New file.
14379 * gdb.guile/scm-symbol.c: New file.
14380 * gdb.guile/scm-symbol.exp: New file.
14381 * gdb.guile/scm-symtab-2.c: New file.
14382 * gdb.guile/scm-symtab.c: New file.
14383 * gdb.guile/scm-symtab.exp: New file.
14384 * gdb.guile/scm-type.c: New file.
14385 * gdb.guile/scm-type.exp: New file.
14386 * gdb.guile/scm-value-cc.cc: New file.
14387 * gdb.guile/scm-value-cc.exp: New file.
14388 * gdb.guile/scm-value.c: New file.
14389 * gdb.guile/scm-value.exp: New file.
14390 * gdb.guile/source2.scm: New file.
14391 * gdb.guile/types-module.cc: New file.
14392 * gdb.guile/types-module.exp: New file.
14393
143942014-02-10 Yao Qi <yao@codesourcery.com>
14395
14396 PR testsuite/16543
14397 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14398 * configure: Regenerated.
14399 * Makefile.in: New file.
14400
144012014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14402
14403 * gdb.python/py-framefilter.exp: Fix typo.
14404
144052014-02-08 Yao Qi <yao@codesourcery.com>
14406
14407 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14408 that no =breakpoint-modified is emitted when breakpoints are
14409 modified through MI commands.
14410
144112014-02-07 Pedro Alves <pedro@codesourcery.com>
14412 Pedro Alves <palves@redhat.com>
14413
14414 * gdb.threads/step-after-sr-lock.c: New file.
14415 * gdb.threads/step-after-sr-lock.exp: New file.
14416
144172014-02-07 Pedro Alves <palves@redhat.com>
14418
14419 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14420
144212014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14422
14423 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14424 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14425
144262014-02-06 Doug Evans <xdje42@gmail.com>
14427
14428 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14429 output.
14430
14431 * gdb.gdb/python-interrupts.exp: New file.
14432
144332014-02-05 Yao Qi <yao@codesourcery.com>
14434
14435 * gdb.trace/report.exp (use_collected_data): Test the output
14436 of "info threads" and "info inferiors".
14437
144382014-02-05 Yao Qi <yao@codesourcery.com>
14439
14440 Revert this patch:
14441
14442 2013-05-24 Yao Qi <yao@codesourcery.com>
14443
14444 * gdb.trace/tfile.exp: Test inferior and thread.
14445
144462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14447
14448 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14449 on a function.
14450 * gdb.base/step-bt.c: Call hello via function pointer to make
14451 sure its first instruction is executed on powerpc64le-linux.
14452
144532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14454
14455 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14456
144572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14458
14459 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14460 of the test patterns for use on little-endian systems.
14461
144622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14463
14464 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14465 (decimal_vector): Fix for little-endian.
14466
144672014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14468
14469 * gdb.arch/sparc-sysstep.exp: New file.
14470 * gdb.arch/sparc-sysstep.c: Likewise.
14471
14472 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14473
144742014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14475
14476 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14477
144782014-01-23 Tom Tromey <tromey@redhat.com>
14479
14480 * gdb.ada/array_char_idx: New testcase.
14481
144822014-01-23 Tom Tromey <tromey@redhat.com>
14483
14484 PR python/16487:
14485 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14486 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14487 classes.
14488
144892014-01-23 Tom Tromey <tromey@redhat.com>
14490
14491 PR python/16491:
14492 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14493 string from an inferior frame.
14494 * gdb.python/py-framefilter-mi.exp: Update.
14495
144962014-01-22 Doug Evans <dje@google.com>
14497
14498 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14499
145002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14501
14502 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14503
145042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14505
14506 * gdb.trace/entry-values.exp: Remove excess space character from
14507 regex patterns. Handle s390 call instruction.
14508
145092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14510
14511 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14512 define "*_start" label. Make "name" static.
14513 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14514 ${name} by references to ${name}_start.
14515
145162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14517
14518 * gdb.base/info-macros.exp: Remove "debug" from the compile
14519 options.
14520
145212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14522
14523 * gdb.dlang/demangle.exp: New file.
14524
145252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14526
14527 * gdb.dlang/primitive-types.exp: New file.
14528
145292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14530
14531 * configure.ac: Create gdb.dlang/Makefile.
14532 * configure: Regenerate.
14533 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14534 * gdb.dlang/Makefile.in: New file.
14535 * lib/d-support.exp: New file.
14536 * lib/gdb.exp (skip_d_tests): New proc.
14537
145382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14539
14540 * gdb.btrace/delta.exp: Check reverse stepi.
14541 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14542 * gdb.btrace/finish.exp: New.
14543 * gdb.btrace/next.exp: New.
14544 * gdb.btrace/nexti.exp: New.
14545 * gdb.btrace/record_goto.c: Add comments.
14546 * gdb.btrace/step.exp: New.
14547 * gdb.btrace/stepi.exp: New.
14548 * gdb.btrace/multi-thread-step.c: New.
14549 * gdb.btrace/multi-thread-step.exp: New.
14550 * gdb.btrace/rn-dl-bind.c: New.
14551 * gdb.btrace/rn-dl-bind.exp: New.
14552 * gdb.btrace/data.c: New.
14553 * gdb.btrace/data.exp: New.
14554 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14555
145562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14557
14558 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14559 * gdb.btrace/exception.exp: Update.
14560 * gdb.btrace/instruction_history.exp: Update.
14561 * gdb.btrace/record_goto.exp: Update.
14562 * gdb.btrace/tailcall.exp: Update.
14563 * gdb.btrace/unknown_functions.exp: Update.
14564 * gdb.btrace/delta.exp: New.
14565
145662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14567
14568 * gdb.btrace/record_goto.exp: Add backtrace test.
14569 * gdb.btrace/tailcall.exp: Add backtrace test.
14570
145712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14572
14573 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14574 * gdb.btrace/record_goto.c: New.
14575 * gdb.btrace/record_goto.exp: New.
14576 * gdb.btrace/x86-record_goto.S: New.
14577
145782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14579
14580 * gdb.btrace/function_call_history.exp: Update tests.
14581 * gdb.btrace/instruction_history.exp: Update tests.
14582
145832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14584
14585 * gdb.btrace/function_call_history.exp: Fix expected field
14586 order for "record function-call-history".
14587 Add new tests for "record function-call-history /c".
14588 * gdb.btrace/exception.cc: New.
14589 * gdb.btrace/exception.exp: New.
14590 * gdb.btrace/tailcall.exp: New.
14591 * gdb.btrace/x86-tailcall.S: New.
14592 * gdb.btrace/x86-tailcall.c: New.
14593 * gdb.btrace/unknown_functions.c: New.
14594 * gdb.btrace/unknown_functions.exp: New.
14595 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14596
145972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14598
14599 * gdb.btrace/instruction_history.exp: Update.
14600 * gdb.btrace/function_call_history.exp: Update.
14601
146022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14603
14604 * gdb.btrace/function_call_history.exp: Fix expected function
14605 trace.
14606 * gdb.btrace/instruction_history.exp: Initialize traced.
14607 Remove traced_functions.
14608
146092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14610
14611 * gdb.btrace/function_call_history.exp: Update
14612 * gdb.btrace/instruction_history.exp: Update.
14613
146142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14615
14616 * gdb.btrace/enable.exp: Update expected text.
14617
146182014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14619
14620 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14621 bytes.
14622
146232014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14624
14625 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14626
146272014-01-15 Omair Javaid <omair.javaid@linaro.org>
14628
14629 * lib/gdb.exp (supports_process_record): Return true for
14630 arm*-linux*. (supports_reverse): Likewise.
14631
146322014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14633
14634 PR python/15464
14635 PR python/16113
14636 * gdb.python/py-type.c: Enhance test case.
14637 * gdb.python/py-value-cc.cc: Likewise
14638 * gdb.python/py-type.exp: Add new tests.
14639 * gdb.python/py-value-cc.exp: Likewise
14640
146412014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14642 Pedro Alves <palves@redhat.com>
14643
14644 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14645 Make "name" extern.
14646 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14647 references to ${name}_start by references to ${name}.
14648
146492014-01-10 Joel Brobecker <brobecker@adacore.com>
14650
14651 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14652
146532014-01-10 Joel Brobecker <brobecker@adacore.com>
14654
14655 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14656
146572014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14658 Pedro Alves <palves@redhat.com>
14659
14660 * gdb.mi/mi-info-os.exp: Connect to the target with
14661 mi_gdb_target_load.
14662
146632014-01-08 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.threads/reconnect-signal.c: New file.
14666 * gdb.threads/reconnect-signal.exp: New file.
14667
146682014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14669
14670 * gdb.base/source-dir.exp: New file.
14671
146722014-01-07 Joel Brobecker <brobecker@adacore.com>
14673
14674 * gdb.ada/mi_interface: New testcase.
14675
146762014-01-07 Joel Brobecker <brobecker@adacore.com>
14677
14678 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14679 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14680 gdb.ada/pp-rec-component/pck.ads: New files.
14681
146822014-01-07 Joel Brobecker <brobecker@adacore.com>
14683
14684 * gdb.python/py-pp-integral.c: New file.
14685 * gdb.python/py-pp-integral.py: New file.
14686 * gdb.python/py-pp-integral.exp: New file.
14687
14688For older changes see ChangeLog-1993-2013.
14689\f
14690;; Local Variables:
14691;; mode: change-log
14692;; left-margin: 8
14693;; fill-column: 74
14694;; version-control: never
14695;; End:
14696
14697 Copyright 2014-2018 Free Software Foundation, Inc.
14698 Copying and distribution of this file, with or without modification,
14699 are permitted provided the copyright notice and this notice are preserved.
This page took 0.079564 seconds and 4 git commands to generate.