Make add-symbol-file's address argument optional
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2
3 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4 address argument is omitted.
5
6 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7
8 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9
10 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
11
12 PR gdb/21695
13 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
14 * gdb.base/infoline-reloc-main-from-zero.c: New file.
15
16 2018-06-26 Tom Tromey <tom@tromey.com>
17
18 PR rust/22574:
19 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
20 * gdb.rust/simple.rs (struct SimpleLayout): New.
21
22 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
23
24 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
25 "info registers" output.
26
27 2018-06-21 Richard Bunt <richard.bunt@arm.com>
28
29 * gdb.base/watchpoint-hw-attach.c: New test.
30 * gdb.base/watchpoint-hw-attach.exp: New file.
31
32 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
33
34 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
35 through /bin/sh.
36 * boards/dwarf4-gdb-index.exp: Likewise.
37 * boards/fission-dwp.exp: Likewise.
38
39 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
40
41 * gdb.base/float128.exp: Add comment and improved fail message
42 to the failure case of "print large128" test.
43
44 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
45
46 * configure.ac: Remove AC_PREREQ.
47 * configure: Re-generate.
48
49 2018-06-19 Pedro Alves <palves@redhat.com>
50
51 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
52 (func_extern_caller): New.
53 (main): Call func_extern_caller.
54 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
55 logic change.
56
57 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
58
59 PR gdb/16841
60 * gdb.cp/typedef-base.cc: New file.
61 * gdb.cp/typedef-base.exp: New file.
62
63 2018-06-18 Tom de Vries <tdevries@suse.de>
64
65 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
66
67 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
68 Richard Bunt <Richard.Bunt@arm.com>
69
70 * gdb.threads/attach-slow-waitpid.c: New file.
71 * gdb.threads/attach-slow-waitpid.exp: New file.
72 * gdb.threads/slow-waitpid.c: New file.
73
74 2018-06-14 Pedro Alves <palves@redhat.com>
75
76 * gdb.base/fork-running-state.c: Include <errno.h>.
77 (exit_if_relative_exits): New.
78 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
79 exits.
80 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
81 child exits.
82
83 2018-06-14 Tom de Vries <tdevries@suse.de>
84
85 PR cli/22573
86 * gdb.base/finish-pretty.c: New test.
87 * gdb.base/finish-pretty.exp: New file.
88
89 2018-06-14 Pedro Alves <palves@redhat.com>
90
91 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
92 gdb's expected startup output.
93
94 2018-06-14 Pedro Alves <palves@redhat.com>
95
96 * lib/selftest-support.exp (selftest_setup): Remove inlined
97 function handling.
98
99 2018-06-14 Tom de Vries <tdevries@suse.de>
100
101 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
102 matching of breakpoint printing.
103
104 2018-06-13 Tom de Vries <tdevries@suse.de>
105
106 PR testsuite/23269
107 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
108 (fork_child): ... here, and ...
109 (fork_parent): ... here.
110
111 2018-06-12 Tom de Vries <tdevries@suse.de>
112
113 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
114
115 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
116 Stephen Roberts <stephen.roberts@arm.com>
117
118 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
119 rewrite test to describe action performed, rather than possible
120 failure.
121
122 2018-06-08 Gary Benson <gbenson@redhat.com>
123
124 * gdb.threads/check-libthread-db.exp: New file.
125 * gdb.threads/check-libthread-db.c: Likewise.
126
127 2018-06-05 Tom Tromey <tom@tromey.com>
128
129 * gdb.base/default.exp: Update expected "show version" output.
130
131 2018-06-05 Tom Tromey <tom@tromey.com>
132
133 PR cli/12326:
134 * gdb.cp/static-print-quit.exp: Update.
135 * lib/gdb.exp (pagination_prompt): Update.
136 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
137 * gdb.python/python.exp: Update.
138
139 2018-06-04 Joel Brobecker <brobecker@adacore.com>
140
141 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
142
143 2018-06-01 Joel Brobecker <brobecker@adacore.com>
144
145 * gdb.ada/bp_fun_addr: New testcase.
146
147 2018-06-01 Tom Tromey <tom@tromey.com>
148
149 * gdb.xml/tdesc-regs.exp (load_description): Update expected
150 results.
151 * gdb.dwarf2/method-ptr.exp: Set language to C++.
152 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
153 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
154 * gdb.base/maint.exp (maint_pass_if): Update.
155
156 2018-05-31 Maciej W. Rozycki <macro@mips.com>
157
158 * gdb.base/endian.exp: New test.
159 * gdb.base/endian.c: New test source.
160
161 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 PR gdb/23203
164 * gdb.base/bt-selected-frame.c: New file.
165 * gdb.base/bt-selected-frame.exp: New file.
166 * lib/gdb.exp (get_current_frame_number): New function.
167
168 2018-05-24 Maciej W. Rozycki <macro@mips.com>
169 Pedro Alves <palves@redhat.com>
170
171 * gdb.threads/tls-core.c: Include <stdlib.h>
172 (thread_proc): Call `abort'.
173 * gdb.threads/tls-core.exp: Generate a core with core_find too.
174 (tls_core_test): New procedure, bits factored out from ...
175 (top level): ... here. Test both native cores and gcore cores.
176
177 2018-05-23 Tom Tromey <tom@tromey.com>
178
179 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
180
181 2018-05-23 Tom Tromey <tom@tromey.com>
182
183 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
184 symfile_complaints.
185 (test_short_complaints): Likewise.
186 (test_empty_complaints): Likewise.
187 (test_initial_complaints): Update.
188
189 2018-05-23 Tom Tromey <tom@tromey.com>
190
191 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
192
193 2018-05-23 Tom Tromey <tom@tromey.com>
194
195 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
196 (test_short_complaints): Update.
197
198 2018-05-22 Pedro Alves <palves@redhat.com>
199
200 * gdb.base/remote.exp: Only gdb_start after compiling the
201 testcase. Issue "disconnect" before testing "set remote" command
202 defaults. Issue clean_restart before running to main.
203
204 2018-05-22 Pedro Alves <palves@redhat.com>
205
206 * gdb.base/remote.exp: Adjust expected output of "show remote
207 memory-write-packet-size". Add tests for "set remote
208 memory-write-packet-size 0" and "set remote
209 memory-write-packet-size fixed/limit".
210
211 2018-05-22 Pedro Alves <palves@redhat.com>
212
213 PR gdb/22973
214 * gdb.base/utf8-identifiers.c: New file.
215 * gdb.base/utf8-identifiers.exp: New file.
216
217 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
218
219 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
220
221 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
222
223 * gdb.arch/powerpc-vsx-gcore.exp: New file.
224
225 2018-05-18 Tom Tromey <tom@tromey.com>
226
227 * gdb.base/ptype-offsets.exp: Update.
228
229 2018-05-17 Keith Seitz <keiths@redhat.com>
230
231 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
232 in expected breakpoint stop locations.
233 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
234 move to proper scope to test variable values.
235 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
236 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
237 New functions.
238 (main): Call not_inline_func3.
239 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
240 inline_func1, inline_func2, and inline_func3. Test that when each
241 breakpoint is hit, GDB properly reports both the stop location
242 and the backtrace. Repeat tests for temporary breakpoints.
243
244 2018-05-15 Maciej W. Rozycki <macro@mips.com>
245
246 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
247 rather then trying to access it in determining whether the PID
248 of `gdbserver' could have been retrieved.
249
250 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
251
252 * gdb.arch/amd64-init-x87-values.S: New file.
253 * gdb.arch/amd64-init-x87-values.exp: New file.
254
255 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
256
257 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
258
259 2018-05-04 Tom Tromey <tom@tromey.com>
260
261 PR python/22730:
262 * gdb.python/python.exp: Test multi-line execute.
263
264 2018-05-04 Tom Tromey <tom@tromey.com>
265
266 PR python/22731:
267 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
268
269 2018-05-04 Tom Tromey <tom@tromey.com>
270
271 PR gdb/11750:
272 * gdb.base/define.exp: Test defining a user command inside a user
273 command.
274 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
275
276 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
277 Pedro Alves <palves@redhat.com>
278
279 PR breakpoints/19806 and support for PR external/20207.
280 * gdb.base/watchpoint-unaligned.c: New file.
281 * gdb.base/watchpoint-unaligned.exp: New file.
282
283 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
284
285 * gdb.base/maint.exp: Make test names unique, use
286 test_prefix_command_help to test 'help maint info', and remove
287 repeated test of 'help maint'.
288
289 2018-05-04 Tom Tromey <tom@tromey.com>
290
291 PR gdb/22619:
292 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
293 behavior.
294
295 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
296
297 * gdb.base/maint.exp: Process output from 'maint print registers'
298 line at a time.
299
300 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
303 timeout.
304
305 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
308 filter pattern.
309
310 2018-05-02 Pedro Alves <palves@redhat.com>
311
312 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
313 to_log_command renames.
314 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
315
316 2018-05-02 Tom Tromey <tom@tromey.com>
317
318 * gdb.python/py-parameter.exp: Set test message.
319
320 2018-05-02 Tom Tromey <tom@tromey.com>
321
322 PR python/20084:
323 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
324 PARAM_ZUINTEGER_UNLIMITED tests.
325
326 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
327
328 PR rust/23124
329 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
330 when casting.
331
332 2018-04-30 Tom Tromey <tom@tromey.com>
333
334 * gdb.python/py-type.exp: Check align attribute.
335 * gdb.python/py-type.c: New "aligncheck" global.
336
337 2018-04-30 Tom Tromey <tom@tromey.com>
338
339 PR exp/17095:
340 * gdb.dwarf2/dw2-align.exp: New file.
341 * gdb.cp/align.exp: New file.
342 * gdb.base/align.exp: New file.
343 * lib/gdb.exp (gdb_int128_helper): New proc.
344 (has_int128_c, has_int128_cxx): New caching procs.
345
346 2018-04-27 Tom Tromey <tom@tromey.com>
347
348 PR rust/22545:
349 * gdb.rust/simple.exp: Add inclusive range tests.
350
351 2018-04-26 Pedro Alves <palves@redhat.com>
352
353 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
354 ifunc breakpoint locations correctly of ifunc breakpoints set
355 while the program resolves the ifunc.
356
357 2018-04-26 Pedro Alves <palves@redhat.com>
358
359 * gdb.base/gnu-ifunc-final.c: New file.
360 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
361 * gdb.base/gnu-ifunc.exp (executable): Delete.
362 (staticexecutable): Adjust.
363 (lib_opts, exec_opts): Delete.
364 (make_binsuffix, build, set-break): New procedures.
365 (misc_tests): New, with tests factored out from the top level.
366 (top level): Test different combinations of ifunc resolver name,
367 resolver with and with debug info, and ifunc target with and
368 without debug info. Wrap static tests with with_target_prefix.
369
370 2018-04-26 Pedro Alves <palves@redhat.com>
371
372 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
373 return type" warnings.
374
375 2018-04-25 Pedro Alves <palves@redhat.com>
376
377 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
378 killed".
379 * gdb.base/kill-after-signal.exp: Likewise.
380 * gdb.threads/kill.exp: Likewise.
381
382 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
383 Sergio Durigan Junior <sergiodj@redhat.com>
384 Pedro Alves <palves@redhat.com>
385
386 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
387 regexps to expect for '[Inferior ... detached]' as well.
388 * gdb.base/attach.exp: Likewise.
389 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
390 "gdb_continue_to_end".
391 (test_catch_syscall_with_wrong_args): Likewise.
392 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
393 ']'. Don't set 'verbose' on.
394 * gdb.base/foll-vfork.exp: Likewise.
395 * gdb.base/fork-print-inferior-events.c: New file.
396 * gdb.base/fork-print-inferior-events.exp: New file.
397 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
398 '[Inferior ... has been killed]' message.
399 * gdb.base/kill-after-signal.exp: Likewise.
400 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
401 detach message.
402 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
403 message.
404 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
405 regexps to expect for '[Inferior ... detached]' as well.
406 * gdb.threads/process-dies-while-detaching.exp: Likewise.
407
408 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
409
410 PR gdb/23104
411 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
412
413 2018-04-19 Richard Bunt <richard.bunt@arm.com>
414
415 * gdb.threads/multiple-successive-infcall.c: New test.
416 * gdb.threads/multiple-successive-infcall.exp: New file.
417
418 2018-04-17 Tom Tromey <tom@tromey.com>
419
420 * gdb.rust/simple.rs (Union): New type.
421 (main): New local "u".
422 * gdb.rust/simple.exp (test_one_slice): Add new test case.
423
424 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
425
426 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
427 number information in output of "whereis" command.
428 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
429
430 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
431
432 * gdb.ada/info_types.exp: Adjust expected output to the line
433 numbers now printed by "info var/func/type".
434 * gdb.base/completion.exp: Likewise.
435 * gdb.base/included.exp: Likewise.
436 * gdb.cp/cp-relocate.exp: Likewise.
437 * gdb.cp/cplusfuncs.exp: Likewise.
438 * gdb.cp/namespace.exp: Likewise.
439 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
440
441 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
442
443 * gdb.btrace/cpu.exp: New.
444
445 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
446
447 * gdb.base/step-indirect-call-thunk.exp: New.
448 * gdb.base/step-indirect-call-thunk.c: New.
449 * gdb.reverse/step-indirect-call-thunk.exp: New.
450 * gdb.reverse/step-indirect-call-thunk.c: New.
451
452 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
453
454 * gdb.base/pie-fork.c: New file.
455 * gdb.base/pie-fork.exp: New file.
456
457 2018-04-11 Tom Tromey <tom@tromey.com>
458
459 * gdb.rust/simple.exp: Add test for ".." struct initializer.
460
461 2018-04-10 Pedro Alves <palves@redhat.com>
462
463 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
464 exits. Instead loop running forever.
465 (fork_parent): Run forever too.
466
467 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
468
469 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
470 mi_continue_to_line.
471 * gdb.mi/mi-stack.c (callee4): Add comment.
472
473 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
474
475 * gdb.mi/mi-stack.exp: Fix indentation.
476
477 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
478
479 PR gdb/22979
480 * gdb.arch/amd64-osabi.exp: New file.
481
482 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
483
484 PR gdb/22980
485 * gdb.base/osabi.exp: New file.
486
487 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
488
489 * gdb.cp/static-typedef-print.exp: New file.
490 * gdb.cp/static-typedef-print.cc: New file.
491
492 2018-03-27 Joel Brobecker <brobecker@adacore.com>
493
494 * gdb.ada/varsize_limit: New testcase.
495
496 2018-03-27 Joel Brobecker <brobecker@adacore.com>
497
498 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
499
500 * gdb.ada/notcplusplus: New testcase.
501
502 * gdb.base/c-linkage-name.c: New file.
503 * gdb.base/c-linkage-name.exp: New testcase.
504
505 2018-03-26 Tom Tromey <tom@tromey.com>
506
507 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
508 * gdb.python/py-framefilter.py (name_error): New global.
509 (ErrorInName.function): Use name_error.
510
511 2018-03-26 Tom Tromey <tom@tromey.com>
512
513 PR backtrace/15582:
514 * gdb.python/py-framefilter.exp: Add "bt hide" test.
515
516 2018-03-23 Keith Seitz <keiths@redhat.com>
517
518 PR c++/22968
519 * gdb.cp/subtypes.exp: New file.
520 * gdb.cp/subtypes.h: New file.
521 * gdb.cp/subtypes.cc: New file.
522 * gdb.cp/subtypes-2.cc: New file.
523
524 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
525
526 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
527 (done): Call '_exit' not 'exit' to avoid atexit handlers.
528 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
529 -nostartfiles when compiling the test. Confirm that all registers
530 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
531
532 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
533
534 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
535 option, syntax was wrong anyway.
536 * gdb.arch/arm-disp-step.exp: Likewise.
537 * gdb.arch/sparc64-regs.exp: Likewise.
538 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
539 option, syntax was wrong anyway, switch to use
540 prepare_for_testing.
541 * gdb.arch/i386-disp-step.exp: Likewise.
542
543 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
544
545 * gdb.ada/exec_changed.exp: Replace "target_info exists
546 use_gdb_stub" by "use_gdb_stub".
547 * gdb.ada/start.exp: Likewise.
548 * gdb.base/async-shell.exp: Likewise.
549 * gdb.base/attach-pie-misread.exp: Likewise.
550 * gdb.base/attach-wait-input.exp: Likewise.
551 * gdb.base/break-entry.exp: Likewise.
552 * gdb.base/break-interp.exp: Likewise.
553 * gdb.base/dprintf-detach.exp: Likewise.
554 * gdb.base/nostdlib.exp: Likewise.
555 * gdb.base/solib-nodir.exp: Likewise.
556 * gdb.base/statistics.exp: Likewise.
557 * gdb.base/testenv.exp: Likewise.
558 * gdb.mi/mi-exec-run.exp: Likewise.
559 * gdb.mi/mi-start.exp: Likewise.
560 * gdb.multi/dummy-frame-restore.exp: Likewise.
561 * gdb.multi/multi-arch-exec.exp: Likewise.
562 * gdb.multi/multi-arch.exp: Likewise.
563 * gdb.multi/tids.exp: Likewise.
564 * gdb.multi/watchpoint-multi.exp: Likewise.
565 * gdb.python/py-events.exp: Likewise.
566 * gdb.threads/attach-into-signal.exp: Likewise.
567 * gdb.threads/attach-stopped.exp: Likewise.
568 * gdb.threads/threadapply.exp: Likewise.
569 * lib/selftest-support.exp: Likewise.
570
571 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
572
573 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
574
575 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
576
577 * gdb.perf/template-breakpoints.cc: New file.
578 * gdb.perf/template-breakpoints.exp: New file.
579 * gdb.perf/template-breakpoints.py: New file.
580
581 2018-03-19 Tom Tromey <tom@tromey.com>
582
583 * gdb.rust/simple.rs (main): Add local variables field1, field2,
584 y0.
585 * gdb.rust/simple.exp: Test bare identifier form of struct
586 initializer.
587
588 2018-03-19 Tom Tromey <tom@tromey.com>
589
590 * gdb.gdb/observer.exp: Remove.
591
592 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
593
594 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
595 "qualified" option when setting breakpoints.
596 * gdb.trace/backtrace.exp: Likewise.
597 * gdb.trace/circ.exp: Likewise.
598 * gdb.trace/collection.exp: Likewise.
599 * gdb.trace/disconnected-tracing.exp: Likewise.
600 * gdb.trace/ftrace-lock.exp: Likewise.
601 * gdb.trace/ftrace.exp: Likewise.
602 * gdb.trace/infotrace.exp: Likewise.
603 * gdb.trace/packetlen.exp: Likewise.
604 * gdb.trace/passc-dyn.exp: Likewise.
605 * gdb.trace/qtro.exp: Likewise.
606 * gdb.trace/read-memory.exp: Likewise.
607 * gdb.trace/report.exp: Likewise.
608 * gdb.trace/signal.exp: Likewise.
609 * gdb.trace/status-stop.exp: Likewise.
610 * gdb.trace/strace.exp: Likewise.
611 * gdb.trace/tfind.exp: Likewise.
612 * gdb.trace/trace-break.exp: Likewise.
613 * gdb.trace/trace-condition.exp: Likewise.
614 * gdb.trace/trace-mt.exp: Likewise.
615 * gdb.trace/tstatus.exp: Likewise.
616 * gdb.trace/tsv.exp: Likewise.
617 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
618 * gdb.trace/unavailable.exp: Likewise.
619 * gdb.trace/while-dyn.exp: Likewise.
620
621 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
622
623 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
624 that libinproctrace is copied to the target.
625
626 2018-03-14 Tom Tromey <tom@tromey.com>
627
628 PR cli/14977:
629 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
630 a null pointer.
631 * gdb.base/wchar.exp: Likewise.
632
633 2018-03-14 Tom Tromey <tom@tromey.com>
634
635 PR cli/19918:
636 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
637 flag.
638
639 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
640
641 PR gdb/22841
642 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
643 "target" to remote_exec.
644
645 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
646
647 PR gdb/22841
648 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
649 ${board}_upload): Remove.
650
651 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
652
653 * gdb.cp/watch-cp.cc: New test.
654 * gdb.cp/watch-cp.exp: New file.
655
656 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * gdb.base/infcall-nested-structs.exp: New file.
659 * gdb.base/infcall-nested-structs.c: New file.
660 * gdb.base/float.exp: Add riscv support.
661
662 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
663
664 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
665 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
666
667 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
668
669 * gdb.server/abspath.exp: New file.
670 * lib/gdb.exp (with_cwd): New procedure.
671
672 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
673
674 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
675 use it.
676 (gdb_is_target_remote_prompt): New proc.
677 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
678 (gdb_is_target_native): Pass prompt parameter to
679 gdb_is_target_1.
680
681 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
682
683 * gdb.base/load-command.c: New file.
684 * gdb.base/load-command.exp: New file.
685 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
686 (gdb_is_target_1): ...this, and generalize for other targets
687 than just remote.
688 (gdb_is_target_remote): Use gdb_is_target_1.
689 (gdb_is_target_native): use gdb_is_target_1.
690
691 2018-02-26 Tom Tromey <tom@tromey.com>
692
693 PR python/16497:
694 * gdb.python/py-framefilter.exp: Update test.
695
696 2018-02-26 Tom Tromey <tom@tromey.com>
697
698 * gdb.dwarf2/variant.c: New file.
699 * gdb.dwarf2/variant.exp: New file.
700
701 2018-02-26 Tom Tromey <tom@tromey.com>
702
703 * gdb.rust/simple.exp: Accept more possible results in enum test.
704
705 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
706
707 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
708 parentheses.
709
710 2018-02-23 Maciej W. Rozycki <macro@mips.com>
711
712 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
713 name of a variable: $actual_linejj -> $actual_line.
714
715 2018-02-21 John Baldwin <jhb@FreeBSD.org>
716
717 * gdb.arch/amd64-i386-address.exp: Fix a typo.
718
719 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
720
721 * gdb.btrace/buffer-size.exp: Do not force BTS.
722
723 2018-02-14 Pedro Alves <palves@redhat.com>
724
725 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
726 getting a "Quit".
727
728 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
729
730 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
731 Fix test name.
732
733 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
734
735 * gdb.cp/m-static.exp: Check type of optimized out static
736 member.
737
738 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
741 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
742
743 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
744 Leszek Swirski <leszeks@google.com>
745
746 * gdb.python/py-prettyprint.c
747 (struct to_string_returns_value_inner,
748 struct to_string_returns_value_wrapper): New.
749 (main): Add tsrvw variable.
750 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
751 ToStringReturnsValueWrapper): New classes.
752 (register_pretty_printers): Register new pretty-printers.
753 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
754 recursive pretty printer.
755 * gdb.python/py-mi.exp: Likewise.
756
757 2018-02-01 Leszek Swirski <leszeks@google.com>
758
759 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
760 functions with the same name as an include file are parsed
761 correctly.
762
763 2018-02-01 Yao Qi <yao.qi@linaro.org>
764
765 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
766 "\[^\r\n\]*".
767
768 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
769
770 * gdb.arch/powerpc-prologue-frame.s: New file.
771 * gdb.arch/powerpc-prologue-frame.c: Likewise.
772 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
773
774 2018-01-31 Joel Brobecker <brobecker@adacore.com>
775
776 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
777
778 2018-01-30 Pedro Alves <palves@redhat.com>
779
780 PR gdb/13211
781 * gdb.base/interrupt-daemon.c: New.
782 * gdb.base/interrupt-daemon.exp: New.
783 * gdb.multi/multi-term-settings.c: New.
784 * gdb.multi/multi-term-settings.exp: New.
785
786 2018-01-30 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.base/break.exp: Save the location where the breakpoint
789 on break.c:47 was actually inserted when debugging the version
790 compiled at -O2 and use it in the expected output of the "info
791 break" test performed soon after.
792
793 2018-01-22 Pedro Alves <palves@redhat.com>
794 Sergio Durigan Junior <sergiodj@redhat.com>
795
796 * gdb.base/whatis.exp: Add tests for 'set print object on' +
797 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
798
799 2018-01-22 Joel Brobecker <brobecker@adacore.com>
800
801 * gdb.base/break-include.c, gdb.base/break-include.inc,
802 gdb.base/break-include.exp: New files.
803 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
804 line number now being the actual line number where the breakpoint
805 was inserted.
806 * gdb.mi/mi-break.exp: Likewise.
807 * gdb.mi/mi-reverse.exp: Likewise.
808 * gdb.mi/mi-simplerun.exp: Ditto.
809
810 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
811
812 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
813 varobj.
814 * gdb.mi/mi-var-create-rtti.exp: Likewise.
815
816 2018-01-21 Don Breazeal <donb@codesourcery.com>
817 Andrew Burgess <andrew.burgess@embecosm.com>
818
819 * gdb.mi/basics.c: Add new global.
820 * gdb.mi/mi-frame-regs.exp: New file.
821 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
822 case.
823
824 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
825
826 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
827 non-parameter, and on an unknown symbol.
828
829 2018-01-19 Tom Tromey <tom@tromey.com>
830
831 * gdb.rust/modules.rs (TWENTY_THREE): New global.
832 * gdb.rust/modules.exp: Add ::-qualified lookup test.
833
834 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
835
836 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
837 setrlimit and chdir to int.
838
839 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
840
841 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
842 function.
843 (my_tend): Likewise.
844 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
845 rationale of avoiding FP- and vector instructions.
846
847 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
848
849 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
850 "info reg" with "\[ \t\]*".
851 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
852 "\[ \t\]+".
853 * gdb.arch/s390-multiarch.exp: Ditto.
854 * gdb.base/pc-fp.exp: Ditto.
855 * gdb.reverse/i386-precsave.exp: Ditto.
856 * gdb.reverse/i386-reverse.exp: Ditto.
857 * gdb.reverse/i387-env-reverse.exp: Ditto.
858 * gdb.reverse/i387-stack-reverse.exp: Ditto.
859
860 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
861
862 * lib/gdb.exp (gdb_compile): Re-enable use of
863 universal_compile_options for languages other than Rust.
864
865 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
866
867 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
868
869 2018-01-17 Mike Gulick <mgulick@mathworks.com>
870
871 PR gdb/16577
872 * gdb.base/solib-vanish.exp: New.
873 * gdb.base/solib-vanish-main.c: New.
874 * gdb.base/solib-vanish-lib1.c: New.
875 * gdb.base/solib-vanish-lib2.c: New.
876
877 2018-01-17 Yao Qi <yao.qi@linaro.org>
878
879 * gdb.compile/compile.exp: Match the address printed for
880 frame in the output of command "bt".
881
882 2018-01-15 Tom Tromey <tom@tromey.com>
883
884 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
885 compute sp_reg.
886
887 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
890 to prepare.
891 (prepare): Return 0 on error, 1 on success.
892
893 2018-01-12 Pedro Alves <palves@redhat.com>
894
895 * gdb.base/continue-after-aborted-step-over.c: New.
896 * gdb.base/continue-after-aborted-step-over.exp: New.
897
898 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
899
900 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
901 options when not creating an executable.
902
903 2018-01-11 Pedro Alves <palves@redhat.com>
904
905 PR remote/22597
906 * gdb.server/stop-reply-no-thread.c: New file.
907 * gdb.server/stop-reply-no-thread.exp: New file.
908
909 2018-01-10 Pedro Alves <palves@redhat.com>
910
911 PR gdb/22670
912 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
913 functions too. Test setting breakpoints and printing C functions
914 with no debug info too.
915 * gdb.ada/bp_c_mixed_case/qux.c: New file.
916
917 2018-01-10 Pedro Alves <palves@redhat.com>
918
919 PR gdb/22670
920 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
921 a fail.
922
923 2018-01-10 Pedro Alves <palves@redhat.com>
924
925 PR gdb/22670
926 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
927
928 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
929
930 * gdb.server/unittest.exp: Match the output in non-development
931 mode.
932
933 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
934
935 * gdb.gdb/unittest.exp: Match output in non-development mode.
936
937 2018-01-08 Joel Brobecker <brobecker@adacore.com>
938
939 * gdb.ada/access_tagged_param.exp: Relax expected output
940 for value of "ObjL" in "continue" to pck.inspect breakpoint
941 test.
942
943 2018-01-08 Joel Brobecker <brobecker@adacore.com>
944
945 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
946 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
947
948 2018-01-05 Pedro Alves <palves@redhat.com>
949
950 PR gdb/18653
951 * gdb.base/libsegfault.exp: New.
952
953 2018-01-05 Joel Brobecker <brobecker@adacore.com>
954
955 PR gdb/22670
956 * gdb.ada/access_tagged_param.exp: New file.
957 * gdb.ada/access_tagged_param/foo.adb: New file.
958
959 2018-01-05 Pedro Alves <palves@redhat.com>
960
961 PR gdb/22670
962 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
963 exercise lower case too, and to exercise both full matching and
964 wild matching.
965
966 2018-01-05 Joel Brobecker <brobecker@adacore.com>
967
968 * gdb.ada/rename_subscript_param: New testcase.
969
970 2018-01-05 Jerome Guitton <guitton@adacore.com>
971
972 * gdb.ada/arr_acc_idx_w_gap: New testcase.
973
974 2018-01-05 Joel Brobecker <brobecker@adacore.com>
975
976 * gdb.ada/convvar_comp: New testcase.
977
978 2018-01-05 Xavier Roirand <roirand@adacore.com>
979
980 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
981 (My_Table): New global variable.
982 * testsuite/gdb.ada/array_char_idx.exp: Add test.
983
984 2018-01-04 Joel Brobecker <brobecker@adacore.com>
985
986 PR gdb/22670
987 * gdb.ada/maint_with_ada: New testcase.
988
989 2018-01-04 Joel Brobecker <brobecker@adacore.com>
990
991 PR gdb/22670
992 * gdb.ada/bp_c_mixed_case: New testcase.
993
994 2018-01-04 Joel Brobecker <brobecker@adacore.com>
995
996 PR gdb/22670
997 * gdb.ada/complete.exp: Add "complete break ada" test.
998
999 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1000
1001 PR gdb/22670
1002 * gdb.ada/info_addr_mixed_case: New testcase.
1003
1004 2018-01-03 Xavier Roirand <roirand@adacore.com>
1005
1006 * gdb.ada/excep_handle.exp: New testcase.
1007 * gdb.ada/excep_handle/foo.adb: New file.
1008 * gdb.ada/excep_handle/pck.ads: New file.
1009
1010 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1011
1012 * gdb.base/step-line.c: Add extra empty line in copyright header.
1013 * gdb.base/step-line.inp: Likewise.
1014
1015 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1016
1017 * gdb.ada/dyn_stride.exp: Add slice test.
1018
1019 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1020
1021 * gdb.ada/dyn_stride: New testcase.
1022
1023 2017-12-27 Stafford Horne <shorne@gmail.com>
1024
1025 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1026 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1027
1028 2017-12-27 Stafford Horne <shorne@gmail.com>
1029
1030 * gdb.base/reggroups.c: New file.
1031 * gdb.base/reggroups.exp: New file.
1032
1033 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1034
1035 * gdb.dwarf2/ada-valprint-error.c: New file.
1036 * gdb.dwarf2/ada-valprint-error.exp: New file.
1037
1038 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1039
1040 * gdb.ada/assign_arr: New testcase.
1041
1042 2017-12-18 Xavier Roirand <roirand@adacore.com>
1043
1044 * gdb.ada/funcall_ptr: New testcase.
1045
1046 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1047
1048 PR cli/16224
1049 * gdb.base/ptype-offsets.cc: New file.
1050 * gdb.base/ptype-offsets.exp: New file.
1051
1052 2017-12-15 Yao Qi <yao.qi@linaro.org>
1053
1054 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1055 if XML is disabled.
1056
1057 2017-12-15 Xavier Roirand <roirand@adacore.com>
1058
1059 * gdb.ada/same_component_name: New testcase.
1060
1061 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1062
1063 * gdb.ada/str_binop_equal: New testcase.
1064
1065 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1066
1067 * gdb.ada/task_switch_in_core: New testcase.
1068
1069 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1070
1071 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1072 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1073 call test_bkpt_qualified.
1074 (test_bkpt_qualified): New proc.
1075
1076 2017-12-13 Pedro Alves <palves@redhat.com>
1077
1078 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1079 Tighten regexp by matching with an anchor.
1080
1081 2017-12-13 Pedro Alves <palves@redhat.com>
1082
1083 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1084 ("expression with namespace"): New set of tests.
1085 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1086 (Nested::Test_NS::qux): New.
1087 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1088 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1089
1090 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1091
1092 * gdb.base/server-del-break.c: New file.
1093 * gdb.base/server-del-break.exp: New file.
1094
1095 2017-12-12 Stafford Horne <shorne@gmail.com>
1096
1097 * gdb.xml/tdesc-regs.exp: Add or1k support.
1098
1099 2017-12-12 Stafford Horne <shorne@gmail.com>
1100
1101 * gdb.base/bp-permanent.c: Define nop of or1k.
1102
1103 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1104
1105 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1106 output with components being reordered.
1107
1108 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1109
1110 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1111 output with components being reordered.
1112
1113 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1114 Pedro Alves <palves@redhat.com>
1115
1116 * gdb.base/maint.exp (check for .gdb_index): Check also for
1117 .debug_names.
1118 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1119 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1120 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1121 (.gdb_index used after symbol reloading): Support also .debug_names.
1122 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1123
1124 2017-12-08 Yao Qi <yao.qi@linaro.org>
1125
1126 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1127 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1128
1129 2017-12-08 Yao Qi <yao.qi@linaro.org>
1130
1131 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1132 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1133
1134 2017-12-08 Yao Qi <yao.qi@linaro.org>
1135
1136 * gdb.arch/aarch64-tagged-pointer.c: New file.
1137 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1138
1139 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1140
1141 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1142 "int".
1143
1144 2017-12-07 Keith Seitz <keiths@redhat.com>
1145
1146 PR breakpoints/22569
1147 * gdb.linespec/ls-errs.exp: Change expected result of "break
1148 -source this file has spaces.c -line 3".
1149 Check that an explicit source file followed by whitespace is
1150 identified as an invalid explicit location.
1151
1152 2017-12-07 Keith Seitz <keiths@redhat.com>
1153
1154 * gdb.cp/nested-types.cc: New file.
1155 * gdb.cp/nested-types.exp: New file.
1156 * lib/cp-support.exp: Load data-structures.exp library.
1157 (debug_cp_test_ptype_class): New global.
1158 (cp_ptype_class_verbose, next_line): New procedures.
1159 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1160 Add and document new return value.
1161 Switch the list of lines to a queue.
1162 Add support for new `type' key for nested type definitions.
1163 Add debugging/troubleshooting messages.
1164 * lib/data-structures.exp: New file.
1165
1166 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1167
1168 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1169 with proc_with_prefix, don't use with_test_prefix.
1170
1171 2017-12-07 Tom Tromey <tom@tromey.com>
1172
1173 * gdb.base/break.exp: Add test for empty "commands".
1174
1175 2017-12-07 Yao Qi <yao.qi@linaro.org>
1176
1177 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1178 malloc and catch syscall.
1179
1180 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1181
1182 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1183 tests for explicit locations.
1184
1185 2017-12-06 Pedro Alves <palves@redhat.com>
1186
1187 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1188 force-disabling XML descriptions.
1189
1190 2017-12-04 Pedro Alves <palves@redhat.com>
1191
1192 PR gdb/22499
1193 * gdb.arch/amd64-disp-step-avx.S: New file.
1194 * gdb.arch/amd64-disp-step-avx.exp: New file.
1195
1196 2017-12-03 Pedro Alves <palves@redhat.com>
1197
1198 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1199 and <string.h>.
1200 (parent_function): Print distinct messages when waitpid fails, or
1201 the child exits with a signal, or the child exits for an unhandled
1202 reason.
1203 * gdb.threads/process-dies-while-detaching.exp
1204 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1205 it. Wait for both inferior output and GDB's prompt. Use an
1206 indirect spawn id list.
1207 (do_detach): New parameter 'child_exit'. Use it to compute
1208 expected inferior output.
1209 (test_detach, test_detach_watch, test_detach_killed_outside):
1210 Adjust to pass down the expected child exit kind.
1211
1212 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1213 Sergio Durigan Junior <sergiodj@redhat.com>
1214 Pedro Alves <palves@redhat.com>
1215
1216 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1217
1218 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1219
1220 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1221 to 'symbol-file' and 'add-symbol-file' can be
1222 position-independent.
1223
1224 2017-12-01 Yao Qi <yao.qi@linaro.org>
1225
1226 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1227 the URL in copyright header.
1228 * gdb.arch/aarch64-fp.exp: Likewise.
1229 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1230 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1231 * gdb.base/expand-psymtabs.exp: Likewise.
1232 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1233 * gdb.fortran/common-block.exp: Likewise.
1234 * gdb.fortran/common-block.f90: Likewise.
1235 * gdb.fortran/logical.exp: Likewise.
1236 * gdb.fortran/vla-datatypes.f90: Likewise.
1237 * gdb.fortran/vla-sub.f90: Likewise.
1238
1239 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1240
1241 * gdb.ada/repeat_dyn: New testcase.
1242
1243 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1244
1245 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1246 Update for changed thread numbering.
1247 * gdb.cell/bt.exp: Update for changed GDB output.
1248
1249 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1250
1251 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1252 setting isremote by hand.
1253 * boards/dwarf4-gdb-index.exp: Likewise.
1254 * boards/fission.exp: Likewise.
1255 * boards/stabs.exp: Likewise.
1256
1257 2017-11-30 Pedro Alves <palves@redhat.com>
1258
1259 * gdb.linespec/cpls-ops.exp
1260 (check_explicit_skips_function_argument): Extract the underlying
1261 type of size_t instead of hardcoding it.
1262
1263 2017-11-29 Pedro Alves <palves@redhat.com>
1264
1265 PR c++/19436
1266 * gdb.linespec/cpls-abi-tag.cc: New file.
1267 * gdb.linespec/cpls-abi-tag.exp: New file.
1268
1269 2017-11-29 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.base/langs.exp: Use -qualified.
1272 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1273 it.
1274 * gdb.cp/namespace.exp: Use -qualified.
1275 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1276 (overload-3, template-overload, template-ret-type, const-overload)
1277 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1278 procedures.
1279 (test_driver): Call them.
1280 * gdb.cp/save-bp-qualified.cc: New.
1281 * gdb.cp/save-bp-qualified.exp: New.
1282 * gdb.linespec/explicit.exp: Test -qualified.
1283 * lib/completion-support.exp (completion::explicit_opts_list): Add
1284 "-qualified".
1285 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1286
1287 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1288
1289 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1290
1291 2017-11-29 Tom Tromey <tom@tromey.com>
1292
1293 * gdb.base/relocate.exp: Update invalid argument test.
1294 Add new tests for invalid arguments.
1295
1296 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1297
1298 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1299 Return 0 as a long.
1300 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1301
1302 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1303
1304 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1305 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1306 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1307 func ().
1308 * gdb.cp/shadow.cc (B.func): Return 0.
1309
1310 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1311
1312 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1313 expected output in gdb_expect call to allow the exception
1314 message to be present as well. Fix syntax confusion to avoid
1315 TCL thinking that exception_name is an array.
1316
1317 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1318
1319 * gdb.arch/spu-info.c: Include <unistd.h>.
1320 (do_signal_test): Fix broken calls to write.
1321 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1322 Fix checks for empty mailboxes. Update signal tests for corrected
1323 do_signal_test routine. Allow nonzero event status.
1324 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1325 * gdb.cell/arch.exp: Use standard_output_file.
1326 * gdb.cell/break.exp: Likewise.
1327 * gdb.cell/bt.exp: Likewise.
1328 * gdb.cell/core.exp: Likewise.
1329 * gdb.cell/dwarfaddr.exp: Likewise.
1330 * gdb.cell/ea-cache.exp: Likewise.
1331 * gdb.cell/ea-standalone.exp: Likewise.
1332 * gdb.cell/f-regs.exp: Likewise.
1333 * gdb.cell/fork.exp: Likewise.
1334 * gdb.cell/gcore.exp: Likewise.
1335 * gdb.cell/mem-access.exp: Likewise.
1336 * gdb.cell/ptype.exp: Likewise.
1337 * gdb.cell/registers.exp: Likewise.
1338 * gdb.cell/sizeof.exp: Likewise.
1339 * gdb.cell/solib-symbol.exp: Likewise.
1340 * gdb.cell/solib.exp: Likewise.
1341
1342 2017-11-25 Pedro Alves <palves@redhat.com>
1343
1344 * gdb.base/complete-empty.exp: New file.
1345 * gdb.base/completion.exp: Adjust.
1346
1347 2017-11-25 Pedro Alves <palves@redhat.com>
1348
1349 * gdb.linespec/cpls-ops.cc: New file.
1350 * gdb.linespec/cpls-ops.exp: New file.
1351 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1352 factored out from ...
1353 (test_complete_prefix_range): ... this.
1354
1355 2017-11-24 Pedro Alves <palves@redhat.com>
1356
1357 * gdb.linespec/cpcompletion.exp: New file.
1358 * gdb.linespec/cpls-hyphen.cc: New file.
1359 * gdb.linespec/cpls.cc: New file.
1360 * gdb.linespec/cpls2.cc: New file.
1361 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1362 test to use test_gdb_complete_unique. Add label completion,
1363 keyword completion and explicit location completion tests.
1364 * lib/completion-support.exp: New file.
1365
1366 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1367
1368 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1369 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1370 when hitting an exception catchpoint.
1371
1372 2017-11-22 Yao Qi <yao.qi@linaro.org>
1373
1374 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1375
1376 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1377
1378 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1379 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1380 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1381
1382 2017-11-22 Yao Qi <yao.qi@linaro.org>
1383
1384 * gdb.base/info-os.exp: Pass pthreads.
1385 * gdb.multi/multi-attach.exp: Likewise.
1386
1387 2017-11-22 Yao Qi <yao.qi@linaro.org>
1388
1389 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1390 compiler.
1391
1392 2017-11-22 Yao Qi <yao.qi@linaro.org>
1393
1394 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1395 * gdb.base/break-interp.exp: Likewise.
1396 * gdb.base/jit-attach-pie.exp: Likewise.
1397
1398 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1399
1400 * gdb.base/float128.c (large128): New variable.
1401 * gdb.base/float128.exp: Add test to print largest __float128 value.
1402
1403 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1404
1405 * gdb.arch/vsx-regs.exp: Update register content checks.
1406
1407 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1408
1409 * gdb.arch/ppc-longdouble.exp: New file.
1410 * gdb.arch/ppc-longdouble.c: Likewise.
1411
1412 2017-11-21 Pedro Alves <palves@redhat.com>
1413
1414 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1415
1416 2017-11-20 Pedro Alves <palves@redhat.com>
1417
1418 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1419 (long_double_typedef): New typedefs.
1420 Use DEF on double and long double.
1421 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1422 cases.
1423 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1424 and 'long_double_ptr_same_size' locals. Use them to decide
1425 whether cast from array/function to float is valid/invalid.
1426
1427 2017-11-17 Tom Tromey <tom@tromey.com>
1428
1429 * gdb.rust/traits.rs: New file.
1430 * gdb.rust/traits.exp: New file.
1431
1432 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1433
1434 * gdb.ada/minsyms: New testcase.
1435
1436 2017-11-16 Pedro Alves <palves@redhat.com>
1437
1438 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1439 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1440
1441 2017-11-16 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1444 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1445
1446 2017-11-16 Pedro Alves <palves@redhat.com>
1447
1448 * gdb.server/reconnect-ctrl-c.c: New file.
1449 * gdb.server/reconnect-ctrl-c.exp: New file.
1450
1451 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1452
1453 * gdb.python/py-rbreak.exp: New file.
1454 * gdb.python/py-rbreak.c: New file.
1455 * gdb.python/py-rbreak-func2.c: New file.
1456
1457 2017-11-16 Pedro Alves <palves@redhat.com>
1458
1459 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1460 pattern.
1461 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1462 GDB.
1463
1464 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1465
1466 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1467 regex.
1468
1469 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1470
1471 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1472 test names.
1473
1474 2017-11-09 Pedro Alves <palves@redhat.com>
1475
1476 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1477 factored out from ...
1478 (top level): ... here, and adjusted to avoid expecting beyond the
1479 prompt in a single gdb_test_multiple.
1480
1481 2017-11-09 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1484 output.
1485 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1486 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1487 * gdb.server/ext-run.exp ("kill" test): Likewise.
1488 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1489
1490 2017-11-09 Pedro Alves <palves@redhat.com>
1491
1492 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1493 match till end of line.
1494
1495 2017-11-09 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1498
1499 2017-11-09 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1502 New procedures, factored out from ...
1503 (top level): ... here, and adjusted to avoid expecting beyond the
1504 prompt in one go.
1505
1506 2017-11-09 Pedro Alves <palves@redhat.com>
1507
1508 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1509 output. Fix '?' match.
1510
1511 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1512
1513 * gdb.ada/scoped_watch: New testcase.
1514 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1515 which is actually correct.
1516 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1517 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1518
1519 2017-11-08 Pedro Alves <palves@redhat.com>
1520
1521 * gdb.gdb/complaints.exp (test_initial_complaints)
1522 (test_serial_complaints, test_short_complaints): Call
1523 complaint_internal instead of complaint.
1524
1525 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1526
1527 * gdb.threads/tls-core.c: New file.
1528 * gdb.threads/tls-core.exp: Likewise.
1529
1530 2017-11-08 Pedro Alves <palves@redhat.com>
1531
1532 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1533 (p Exported_Capitalized): New test.
1534 (p exported_capitalized): New test.
1535
1536 2017-11-07 Pedro Alves <palves@redhat.com>
1537
1538 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1539
1540 2017-11-07 Pedro Alves <palves@redhat.com>
1541
1542 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1543 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1544 (disable_invalid, disable_inverted, disable_negative): New
1545 procedures.
1546 ("bad numbers"): New set of tests.
1547
1548 2017-11-07 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.cp/ena-dis-br-range.exp: Add tests.
1551
1552 2017-11-07 Pedro Alves <palves@redhat.com>
1553
1554 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1555
1556 2017-11-07 Xavier Roirand <roirand@adacore.com>
1557 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.base/ena-dis-br.exp: Add reference to
1560 gdb.cp/ena-dis-br-range.exp.
1561 * gdb.cp/ena-dis-br-range.exp: New file.
1562 * gdb.cp/ena-dis-br-range.cc: New file.
1563
1564 2017-11-06 Pedro Alves <palves@redhat.com>
1565
1566 * gdb.base/attach-non-pgrp-leader.c: New.
1567 * gdb.base/attach-non-pgrp-leader.exp: New.
1568
1569 2017-11-06 Pedro Alves <palves@redhat.com>
1570
1571 * configure.ac: No longer check for termio.h and sgtty.h.
1572 * configure: Regenerate.
1573 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1574 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1575 Remove termio and sgtty code.
1576
1577 2017-11-03 Yao Qi <yao.qi@linaro.org>
1578
1579 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1580 in GDB is disabled.
1581
1582 2017-11-03 Yao Qi <yao.qi@linaro.org>
1583
1584 * gdb.python/py-thrhandle.exp: Skip it if python is not
1585 enabled.
1586
1587 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1588
1589 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1590 as a breakpoint command.
1591
1592 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1593
1594 PR python/21213
1595 * gdb.python/py-infthread.exp: Test calling
1596 InferiorThread.inferior () multiple times in a row.
1597
1598 2017-10-27 Keith Seitz <keiths@redhat.com>
1599
1600 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1601 Test "info break" for every inlined function breakpoint.
1602
1603 2017-10-27 Yao Qi <yao.qi@linaro.org>
1604
1605 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1606
1607 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1608
1609 * gdb.cp/classes.exp (test_static_members): Test printing
1610 Outer::instance.
1611 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1612 (Inner::instance, Outer::instance): New.
1613
1614 2017-10-24 Pedro Alves <palves@redhat.com>
1615
1616 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1617 extra console" test in two stages.
1618
1619 2017-10-24 Pedro Alves <palves@redhat.com>
1620
1621 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1622
1623 2017-10-24 Pedro Alves <palves@redhat.com>
1624
1625 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1626 loop.
1627
1628 2017-10-24 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1631 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1632
1633 2017-10-24 Pedro Alves <palves@redhat.com>
1634
1635 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1636 parameter and handle it. Don't output read value in test name.
1637
1638 2017-10-24 Pedro Alves <palves@redhat.com>
1639
1640 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1641 custom test name.
1642
1643 2017-10-24 Pedro Alves <palves@redhat.com>
1644
1645 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1646 include the unstable output directory name in the test's name.
1647 (initial_setup_simple) <'set args'>: Use custom test name.
1648
1649 2017-10-24 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1652 with explicit test name.
1653
1654 2017-10-20 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1657 'wait -i'. Use gdb_assert and remote_close.
1658
1659 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1660
1661 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1662 number from variable rather than hard-coded.
1663
1664 2017-10-19 Pedro Alves <palves@redhat.com>
1665
1666 * gdb.base/long-inferior-output.c: New file.
1667 * gdb.base/long-inferior-output.exp: New file.
1668
1669 2017-11-18 Keith Seitz <keiths@redhat.com>
1670
1671 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1672 method.
1673 (main): Call it.
1674 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1675 Add additional user-defined conversion operator tests.
1676
1677 2017-10-17 Pedro Alves <palves@redhat.com>
1678
1679 * boards/native-stdio-gdbserver.exp: Load "local-board".
1680
1681 2017-10-17 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.base/quit-live.c: New file.
1684 * gdb.base/quit-live.exp: New file.
1685
1686 2017-10-16 Keith Seitz <keiths@redhat.com>
1687
1688 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1689 (class_with_protected_typedef, class_with_private_typedef)
1690 (struct_with_public_typedef, struct_with_protected_typedef)
1691 (struct_with_private_typedef): New classes/structs.
1692 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1693 typedefs and access specifiers.
1694
1695 2017-10-16 Pedro Alves <palves@redhat.com>
1696 Simon Marchi <simon.marchi@polymtl.ca>
1697
1698 * README (Local vs Remote vs Native): New section.
1699 * boards/local-board.exp: New file, with bits factored out from
1700 ...
1701 * boards/native-extended-gdbserver.exp: ... here. Load
1702 "local-board".
1703 * boards/native-gdbserver.exp: Load "local-board".
1704 (${board}_spawn, ${board}_exec): Delete.
1705 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1706 ...
1707 * boards/stdio-gdbserver-base.exp: ... this new file.
1708 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1709 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1710 procedure.
1711 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1712 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1713 stdio_gdbserver_command.
1714 (${board}_get_remote_address, ${board}_get_comm_port)
1715 (${board}_download, ${board}_upload): Delete.
1716 (get_target_remote_pipe_cmd): New.
1717
1718 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1719
1720 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1721 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1722 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1723 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1724 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1725 remove with_test_prefix.
1726
1727 2017-10-13 Pedro Alves <palves@redhat.com>
1728
1729 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1730 * gdb.base/annota1.exp: Use it instead of is_remote.
1731 * gdb.base/annota3.exp: Use it instead of is_remote.
1732 * gdb.cp/annota2.exp: Use it instead of is_remote.
1733 * gdb.cp/annota3.exp: Use it instead of is_remote.
1734 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1735
1736 2017-10-13 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1739 (test_num_test_vars, run_and_count_vars, find_env)
1740 (test_set_unset_env, test_inherit_env_var): New procedures.
1741 (top level): Use them.
1742
1743 2017-10-13 Pedro Alves <palves@redhat.com>
1744
1745 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1746 also skip on stub-like targets.
1747
1748 2017-10-13 Pedro Alves <palves@redhat.com>
1749
1750 PR gdb/22293
1751 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1752 (top level): Move some tests to ...
1753 (test_not_found): ... this new procedure.
1754 (top level): Call it.
1755
1756 2017-10-13 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1759 expect different "info terminal" output if testing with a
1760 non-native target.
1761
1762 2017-10-13 Pedro Alves <palves@redhat.com>
1763 Simon Marchi <simon.marchi@polymtl.ca>
1764
1765 PR python/12966
1766 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1767
1768 2017-10-13 Pedro Alves <palves@redhat.com>
1769
1770 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1771 already.
1772
1773 2017-10-13 Pedro Alves <palves@redhat.com>
1774
1775 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1776 is_remote.
1777
1778 2017-10-13 Pedro Alves <palves@redhat.com>
1779
1780 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1781 is_remote.
1782
1783 2017-10-13 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1786 is set.
1787 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1788 instead of is_remote.
1789
1790 2017-10-13 Pedro Alves <palves@redhat.com>
1791
1792 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1793 (top level): Add comment.
1794
1795 2017-10-13 Pedro Alves <palves@redhat.com>
1796
1797 * gdb.base/remote.exp (top level): Fix comment typo and add
1798 missing return.
1799
1800 2017-10-13 Pedro Alves <palves@redhat.com>
1801 Simon Marchi <simon.marchi@polymtl.ca>
1802
1803 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1804 calls and add comments. Skip test if use_gdb_stub is set.
1805 (top level): Use "set cwd" command instead of "cd" command.
1806
1807 2017-10-13 Pedro Alves <palves@redhat.com>
1808
1809 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1810 is_remote target check.
1811
1812 2017-10-13 Pedro Alves <palves@redhat.com>
1813
1814 * gdb.base/scope.exp: Use build_executable + clean_restart +
1815 gdb_file_cmd instead of prepare_for_testing and no longer skip
1816 "before run" tests on is_remote target boards. Update comments.
1817 * boards/native-extended-gdbserver.exp
1818 (extended_gdbserver_load_last_file): New, factored out from ...
1819 (gdb_load): ... this. Move further below and add comment.
1820 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1821
1822 2017-10-12 Pedro Alves <palves@redhat.com>
1823
1824 * gdb.base/attach.exp: Remove references to gdb64.
1825 * gdb.base/dbx.exp: Remove references to gdb64.
1826
1827 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1828 Pedro Alves <palves@redhat.com>
1829
1830 * gdb.base/label.exp: Remove is_remote target check.
1831
1832 2017-10-12 Pedro Alves <palves@redhat.com>
1833
1834 * gdb.base/auvx.exp (coredir): Update comment.
1835 (top level) <core_works>: Use "set cwd" command instead of "cd"
1836 command.
1837
1838 2017-10-12 Pedro Alves <palves@redhat.com>
1839 Simon Marchi <simon.marchi@polymtl.ca>
1840
1841 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1842 target boards.
1843
1844 2017-10-12 Pedro Alves <palves@redhat.com>
1845 Simon Marchi <simon.marchi@polymtl.ca>
1846
1847 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1848 Instead skip if there's any gdb_protocol set.
1849
1850 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1851 Pedro Alves <palves@redhat.com>
1852
1853 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1854
1855 2017-10-12 Pedro Alves <palves@redhat.com>
1856 Simon Marchi <simon.marchi@polymtl.ca>
1857
1858 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1859 instead of on dejagnu remote boards.
1860
1861 2017-10-12 Pedro Alves <palves@redhat.com>
1862 Simon Marchi <simon.marchi@polymtl.ca>
1863
1864 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1865 checks. Use build_executable + clean_restart instead of
1866 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1867 of enabling non-stop after starting gdb.
1868
1869 2017-10-12 Pedro Alves <palves@redhat.com>
1870
1871 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1872 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1873 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1874 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1875
1876 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1877
1878 * gdb.arch/arc-tdesc-cpu.exp: New file.
1879 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1880
1881 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1882
1883 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1884
1885 2017-10-10 Pedro Alves <palves@redhat.com>
1886
1887 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1888 expect CLI output.
1889
1890 2017-10-10 Pedro Alves <palves@redhat.com>
1891
1892 * lib/selftest-support.exp (selftest_setup): Update for
1893 captured_command_loop's prototype change.
1894
1895 2017-10-09 Pedro Alves <palves@redhat.com>
1896
1897 Test both arch1=>arch2 and arch2=>arch1.
1898
1899 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1900 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1901 factored out to...
1902 (append_arch1_options, append_arch2_options, append_arch_options)
1903 (build_executables): New procedures.
1904 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1905 local.
1906 (top level): Add new 'first_arch' testing axis.
1907
1908 2017-10-09 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1911 (barrier): New.
1912 (thread_start, all_started): New functions.
1913 (main): Spawn new thread and wait until it is scheduled.
1914 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1915 option.
1916 (do_test): Add 'selected_thread' parameter. Run to all_started
1917 instead of main. Explicitly set the breakpoint at main. Switch
1918 to the SELECTED_THREAD thread.
1919 (top level): Test handling the exec event with either the main
1920 thread or the second thread selected.
1921
1922 2017-10-09 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1925 logic. Move STOP marker after the value checks.
1926 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1927 regexp.
1928
1929 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1930
1931 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1932
1933 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1934
1935 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1936 integer-to-dfp conversion.
1937 * gdb.base/dfp-test.exp: Likewise.
1938
1939 2017-10-04 Pedro Alves <palves@redhat.com>
1940
1941 * gdb.multi/hangout.c: Include <unistd.h>.
1942 (hangout_loop): New function.
1943 (main): Call alarm. Call hangout_loop in a loop.
1944 * gdb.multi/hello.c: Include <unistd.h>.
1945 (hello_loop): New function.
1946 (main): Call alarm. Call hangout_loop in a loop.
1947 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1948 inferior with the other selected.
1949
1950 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1951
1952 * gdb.mi/list-thread-groups-available.exp: New file.
1953 * gdb.mi/list-thread-groups-available.c: New file.
1954
1955 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1956
1957 * gdb.base/set-cwd.exp: Make it available on
1958 native-extended-gdbserver.
1959
1960 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1961
1962 * gdb.base/set-cwd.c: New file.
1963 * gdb.base/set-cwd.exp: Likewise.
1964
1965 2017-10-02 Tom Tromey <tom@tromey.com>
1966
1967 PR rust/22236:
1968 * gdb.rust/simple.rs (main): New variable "fslice".
1969 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1970
1971 2017-10-02 Tom Tromey <tom@tromey.com>
1972
1973 * gdb.rust/simple.exp: Test ptype of a slice.
1974
1975 2017-10-02 Tom Tromey <tom@tromey.com>
1976
1977 * gdb.rust/simple.exp: Test index of slice.
1978
1979 2017-09-27 Tom Tromey <tom@tromey.com>
1980
1981 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1982
1983 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1984 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.base/compare-sections.exp (get value of read-only section): Read
1987 as unsigned value.
1988 (corrupt read-only section): Likewise and don't set written if patching
1989 failed.
1990
1991 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1992
1993 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1994 files.
1995
1996 2017-09-20 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1999 symbol names in gdb's output.
2000 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2001
2002 2017-09-20 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2005 Rename to ...
2006 (test_list_ambiguous_symbol): ... this and add a symbol name
2007 parameter. Adjust.
2008 (test_list_ambiguous_function): Reimplement on top of
2009 test_list_ambiguous_symbol and also test listing ambiguous
2010 variables.
2011 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2012 (ambiguous_fun): ... this.
2013 (ambiguous_var): New.
2014 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2015 (ambiguous_fun): ... this.
2016 (ambiguous_var): New.
2017
2018 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2019
2020 * gdb.base/starti.c: New file.
2021 * gdb.base/starti.exp: New file.
2022 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2023
2024 2017-09-14 Pedro Alves <palves@redhat.com>
2025
2026 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2027 (top level): Use it instead of runto.
2028
2029 2017-09-11 Tom Tromey <tom@tromey.com>
2030
2031 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2032
2033 2017-09-11 Tom Tromey <tom@tromey.com>
2034
2035 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2036 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2037
2038 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2039
2040 * gdb.fortran/printing-types.exp: New file.
2041 * gdb.fortran/printing-types.exp: New file.
2042
2043 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2044
2045 * gdb.fortran/vla-ptype.exp: Fix typos.
2046 * gdb.fortran/vla-value.exp: Same.
2047
2048 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2049
2050 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2051 * gdb.mi/mi-var-child-f.exp: Likewise.
2052 * gdb.mi/mi-vla-fortran.exp: Likewise.
2053
2054 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2055 Christoph Weinmann <christoph.t.weinmann@intel.com>
2056 Bernhard Heckel <bernhard.heckel@intel.com>
2057
2058 * gdb.fortran/ptr-indentation.f90: New file.
2059 * gdb.fortran/ptr-indentation.exp: New file.
2060
2061 2017-09-05 Tom Tromey <tom@tromey.com>
2062
2063 PR gdb/22010:
2064 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2065
2066 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2067
2068 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2069
2070 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2071
2072 * gdb.threads/tls-nodebug-pie.c: New file.
2073 * gdb.threads/tls-nodebug-pie.exp: New file.
2074
2075 2017-09-05 Tom Tromey <tom@tromey.com>
2076
2077 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2078 for rust.
2079
2080 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2081
2082 * gdb.multi/multi-arch-exec.exp: Test with different
2083 "follow-exec-mode" settings.
2084 (do_test): New procedure.
2085
2086 2017-09-04 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.base/func-static.c (S::method const, S::method volatile)
2089 (S::method volatile const): New methods.
2090 (c_s, v_s, cv_s): New instances.
2091 (main): Call method() on them.
2092 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2093 (cannot_resolve): New procedure.
2094 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2095 print-quote-unquoted columns.
2096 (do_test): Test printing each scope too.
2097
2098 2017-09-04 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.base/local-static.exp: Also test with
2101 class::method::variable wholly quoted.
2102 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2103
2104 2017-09-04 Pedro Alves <palves@redhat.com>
2105
2106 * gdb.base/local-static.c: New.
2107 * gdb.base/local-static.cc: New.
2108 * gdb.base/local-static.exp: New.
2109
2110 2017-09-04 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.asm/asm-source.exp: Add casts to int.
2113 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2114 (dataglobal64_1, dataglobal64_2): New globals.
2115 * gdb.base/nodebug.exp: Test different expressions involving the
2116 new globals, with print, whatis and ptype. Add casts to int.
2117 * gdb.base/solib-display.exp: Add casts to int.
2118 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2119 * gdb.cp/m-static.exp: Add cast to int.
2120 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2121 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2122 tls variable with no debug info without a cast. Test with a cast
2123 to int too.
2124 * gdb.trace/entry-values.exp: Add casts.
2125
2126 2017-09-04 Pedro Alves <palves@redhat.com>
2127
2128 * gdb.base/nodebug.exp: Test that ptype's error about functions
2129 with unknown return type includes the function name too.
2130
2131 2017-09-04 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2134 return type of munmap in infcall.
2135 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2136 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2137 type of ftell in infcall.
2138 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2139 type of getpid in infcall.
2140 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2141 infcall.
2142 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2143 Bail on failure to extract the pid.
2144 * gdb.base/nodebug.c: #include <stdint.h>.
2145 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2146 New functions.
2147 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2148 Change expected output of print/whatis/ptype with functions with
2149 no debug info. Test all supported languages. Call
2150 test_call_promotion.
2151 * gdb.compile/compile.exp: Adjust expected output to expect
2152 warning.
2153 * gdb.threads/siginfo-threads.exp: Likewise.
2154
2155 2017-09-04 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2158 "prototypes". Test calling float functions via prototyped and
2159 unprototyped function pointers.
2160 (perform_all_tests): New parameter "prototypes". Pass it down.
2161 (top level): Pass down "prototypes" parameter to
2162 perform_all_tests.
2163
2164 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2165
2166 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2167 Test with nested loops.
2168
2169 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2170
2171 * gdb.base/commands.exp: Call the new procedures.
2172 (loop_break_test, loop_continue_test): New procedures.
2173
2174 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2175
2176 * gdb.base/commands.exp: Call new procedure.
2177 (define_if_without_arg_test): New procedure.
2178
2179 2017-09-04 Pedro Alves <palves@redhat.com>
2180
2181 * gdb.base/list-ambiguous.exp: New file.
2182 * gdb.base/list-ambiguous0.c: New file.
2183 * gdb.base/list-ambiguous1.c: New file.
2184 * gdb.base/list.exp (test_list_range): Adjust expected output.
2185
2186 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2187
2188 * gdb.base/share-env-with-gdbserver.c: New file.
2189 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2190
2191 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2192
2193 * gdb.base/commands.exp (gdbvar_simple_if_test,
2194 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2195 progvar_simple_if_test, progvar_simple_while_test,
2196 progvar_complex_if_while_test, user_defined_command_test,
2197 user_defined_command_args_eval,
2198 user_defined_command_args_stack_test,
2199 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2200 temporary_breakpoint_commands,
2201 gdb_test_no_prompt, redefine_hook_test,
2202 redefine_backtrace_test): Remove "global gdb_prompt".
2203
2204 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2205
2206 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2207 New proc, call it from toplevel.
2208
2209 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2210
2211 PR remote/21852
2212 * gdb.server/normal.c: New file, copied from gdb.base.
2213 * gdb.server/run-without-local-binary.exp: New file.
2214
2215 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2216
2217 * gdb.arch/sparc64-adi.exp: New file.
2218 * gdb.arch/sparc64-adi.c: New file.
2219
2220 2017-08-22 Pedro Alves <palves@redhat.com>
2221
2222 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2223 (top level): Add "list all overloads" tests.
2224
2225 2017-08-22 Tom Tromey <tom@tromey.com>
2226
2227 * gdb.gdb/xfullpath.exp: Remove.
2228
2229 2017-08-21 Pedro Alves <palves@redhat.com>
2230
2231 PR gdb/19487
2232 * gdb.base/symbol-alias.c: New.
2233 * gdb.base/symbol-alias2.c: New.
2234 * gdb.base/symbol-alias.exp: New.
2235
2236 2017-08-21 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.base/dfp-test.c
2239 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2240 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2241 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2242 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2243 * gdb.base/whatis-ptype-typedefs.c: New.
2244 * gdb.base/whatis-ptype-typedefs.exp: New.
2245 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2246 (an_int, an_int_type, an_int_type2): New globals.
2247 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2248 involving typedefs and cast expressions.
2249 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2250 (lookup_typedefs_function): New.
2251 (typedefs_pretty_printers_dict): New.
2252 (top level): Register lookup_typedefs_function in
2253 gdb.pretty_printers.
2254
2255 2017-08-18 Yao Qi <yao.qi@linaro.org>
2256
2257 * gdb.server/unittest.exp: New.
2258
2259 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2260
2261 PR gdb/21954
2262 * gdb.base/environ.exp: Add test to check if 'unset environment'
2263 works.
2264
2265 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2266
2267 * lib/gdb.exp (universal_compile_options): New caching proc.
2268 (gdb_compile): Suppress GCC's coloring of messages.
2269
2270 2017-08-14 Tom Tromey <tom@tromey.com>
2271
2272 PR gdb/21675:
2273 * gdb.base/printcmds.exp (test_radices): New function.
2274 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2275 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2276 * lib/gdb.exp (get_integer_valueof): Use p/d.
2277
2278 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2279
2280 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2281 characters.
2282
2283 2017-08-05 Tom Tromey <tom@tromey.com>
2284
2285 * gdb.rust/simple.exp: Allow String to appear in a different
2286 namespace.
2287
2288 2017-07-26 Yao Qi <yao.qi@linaro.org>
2289
2290 * gdb.gdb/unittest.exp: Invoke command
2291 "maintenance check xml-descriptions".
2292
2293 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2294
2295 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2296 calling context.
2297 (hex128): Drop erroneous calculation of parameters.
2298
2299 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2300
2301 * gdb.python/py-unwind.exp: Disable stack protection when
2302 building test file.
2303
2304 2017-07-20 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.base/default.exp (set language): Adjust expected output.
2307
2308 2017-07-20 Pedro Alves <palves@redhat.com>
2309
2310 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2311 (test_minsym): ... this, and make static.
2312 (get_pck__foo__bar__minsym): Rename to ...
2313 (get_test_minsym): ... this.
2314 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2315 symbol names and comments.
2316 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2317 (get_test_minsym): ... this.
2318 (pck__foo__bar__minsym__2): Rename to ...
2319 (test_minsym): ... this.
2320 (main): Adjust.
2321
2322 2017-07-17 Pedro Alves <palves@redhat.com>
2323
2324 * gdb.base/completion.exp: Adjust expected output.
2325 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2326 the completer works.
2327
2328 2017-07-17 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2331
2332 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2333
2334 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2335
2336 2017-07-14 Tom Tromey <tom@tromey.com>
2337
2338 PR rust/21764:
2339 * gdb.rust/simple.exp: Add tests.
2340
2341 2017-07-14 Tom Tromey <tom@tromey.com>
2342
2343 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2344
2345 2017-07-14 Pedro Alves <palves@redhat.com>
2346
2347 * gdb.linespec/base/one/thefile.cc (z1): New function.
2348 * gdb.linespec/base/two/thefile.cc (z2): New function.
2349 * gdb.linespec/linespec.exp: Add tests.
2350
2351 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2354 to mi_create_breakpoint.
2355
2356 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2359 mi_create_breakpoint.
2360
2361 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2362
2363 * gdb.dlang/demangle.exp: Update for demangling changes.
2364
2365 2017-07-09 Tom Tromey <tom@tromey.com>
2366
2367 * gdb.dwarf2/shortpiece.exp: New file.
2368
2369 2017-07-06 David Blaikie <dblaikie@gmail.com>
2370
2371 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2372 built from fissiont-multi-cu{1,2}.c.
2373 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2374 except putting 'main' and 'func' in separate CUs in the same DWO file.
2375 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2376 test.
2377 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2378 test.
2379
2380 2017-07-06 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.python/py-unwind.exp: Test flushregs.
2383
2384 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2385
2386 PR cli/21688
2387 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2388 tests for alias commands and trailing whitespace.
2389
2390 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2391
2392 PR cli/21688
2393 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2394 procedure. Call it.
2395
2396 2017-06-29 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.base/printcmds.exp: Add tests.
2399
2400 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2401
2402 PR gdb/21337
2403 * gdb.base/reread-readsym.exp: New file.
2404 * gdb.base/reread-readsym.c: New file.
2405
2406 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2407
2408 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2409 subpattern.
2410
2411 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2412
2413 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2414 extended mnemonic.
2415 * gdb.arch/powerpc-power9.s: Likewise.
2416
2417 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2418
2419 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2420 on 32-bit x86 targets. Exploit is_*_target macros where
2421 appropriate.
2422
2423 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2424
2425 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2426 register pieces.
2427
2428 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2429
2430 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2431 located in one or more DWARF pieces.
2432
2433 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2434
2435 * lib/gdb.exp (get_endianness): New proc.
2436 * gdb.arch/aarch64-fp.exp: Use it.
2437 * gdb.arch/altivec-regs.exp: Likewise.
2438 * gdb.arch/e500-regs.exp: Likewise.
2439 * gdb.arch/vsx-regs.exp: Likewise.
2440 * gdb.base/dump.exp: Likewise.
2441 * gdb.base/funcargs.exp: Likewise.
2442 * gdb.base/gnu_vector.exp: Likewise.
2443 * gdb.dwarf2/formdata16.exp: Likewise.
2444 * gdb.dwarf2/implptrpiece.exp: Likewise.
2445 * gdb.dwarf2/nonvar-access.exp: Likewise.
2446 * gdb.python/py-inferior.exp: Likewise.
2447 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2448
2449 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2450
2451 PR gdb/21226
2452 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2453 stack value pieces are taken from the LSB end.
2454
2455 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2456
2457 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2458 variable at nonzero offset.
2459
2460 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2461
2462 * gdb.dwarf2/var-access.c: New file.
2463 * gdb.dwarf2/var-access.exp: New test.
2464 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2465
2466 2017-06-12 Tom Tromey <tom@tromey.com>
2467
2468 * gdb.dwarf2/formdata16.exp: Add tests.
2469
2470 2017-06-12 Tom Tromey <tom@tromey.com>
2471
2472 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2473
2474 2017-06-12 Tom Tromey <tom@tromey.com>
2475
2476 PR exp/16225:
2477 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2478 * gdb.arch/vsx-regs.exp: Update tests.
2479 * gdb.arch/s390-vregs.exp (hex128): New proc.
2480 Update test.
2481 * gdb.arch/altivec-regs.exp: Update tests.
2482
2483 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2484
2485 * gdb.base/startup-with-shell.c: New file.
2486 * gdb.base/startup-with-shell.exp: Likewise.
2487
2488 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2489
2490 * gdb.server/non-existing-program.exp: Update regex in order to
2491 reflect the fact that gdbserver is now using fork_inferior (with a
2492 shell) to startup the inferior.
2493
2494 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2495
2496 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2497 support function calls from GDB.
2498
2499 2017-05-21 Tom Tromey <tom@tromey.com>
2500
2501 PR rust/21466:
2502 * gdb.rust/unsized.exp: New file.
2503 * gdb.rust/unsized.rs: New file.
2504
2505 2017-05-19 Tom Tromey <tom@tromey.com>
2506
2507 PR rust/21484:
2508 * gdb.rust/watch.exp: New file.
2509 * gdb.rust/watch.rs: New file.
2510
2511 2017-05-18 Tom Tromey <tom@tromey.com>
2512
2513 * gdb.rust/simple.exp: Allow Box to be qualified.
2514
2515 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2516
2517 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2518
2519 2017-05-18 Pedro Alves <palves@redhat.com>
2520
2521 * gdb.base/fileio.c (test_write, test_read, test_close)
2522 (test_fstat): Don't print 'ret' in the fail path.
2523
2524 2017-05-18 Pedro Alves <palves@redhat.com>
2525
2526 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2527 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2528 (test_system, test_rename, test_unlink, test_time): Change
2529 prototypes.
2530 * gdb.base/fileio.exp (stop_msg): Adjust.
2531
2532 2017-05-18 Pedro Alves <palves@redhat.com>
2533
2534 * gdb.base/fileio.c (null_str): New global.
2535 (test_stat): Use it.
2536 * gdb.base/fileio.exp: Remove nowarnings.
2537
2538 2017-05-17 Yao Qi <yao.qi@linaro.org>
2539
2540 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2541
2542 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2543
2544 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2545 argument command.
2546 (top-level): Invoke test_set_inferior_tty.
2547
2548 2017-05-04 Pedro Alves <palves@redhat.com>
2549
2550 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2551 Add parens to print call for Python 3.
2552
2553 2017-05-03 Keith Seitz <keiths@redhat.com>
2554
2555 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2556 (main): Call it.
2557
2558 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2559
2560 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2561 to prev and next.
2562
2563 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2564
2565 * gdb.python/py-record-btrace.exp: Remove test for
2566 gdb.BtraceInstruction.error.
2567
2568 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2569
2570 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2571
2572 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2573
2574 * gdb.python/py-record-btrace-threads.c: New file.
2575 * gdb.python/py-record-btrace-threads.exp: New file.
2576
2577 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2578
2579 PR testsuite/8595
2580 * gdb.base/environ.exp: Make test available in all architectures.
2581 Move bits related to "info program" testing to
2582 gdb.base/info-program.exp. Rewrite tests to use the two new
2583 procedures mentione below.
2584 (test_set_show_env_var) New procedure.
2585 (test_set_show_env_var_equal): Likewise.
2586 * gdb.base/info-program.exp: New file.
2587
2588 2017-04-27 Keith Seitz <keiths@redhat.com>
2589
2590 * gdb.cp/oranking.cc (test15): New function.
2591 (main): Call test15 and declare additional variables for testing.
2592 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2593 "p foo101('abc')" tests.
2594 Add tests for cv qualifier overloads.
2595 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2596 "lvalue reference overload" test.
2597 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2598 "print value of f1 on Child&& in f2" test.
2599
2600 2017-04-19 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2603 procedure.
2604 (top level): Call it.
2605 * lib/gdb.exp (gdb_define_cmd): New procedure.
2606
2607 2017-04-12 Pedro Alves <palves@redhat.com>
2608
2609 PR gdb/21323
2610 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2611 (wchar): New global.
2612 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2613 (do_test_wide_char, wide_char_types_no_program, top level): Add
2614 wchar_t testing.
2615
2616 2017-04-12 Pedro Alves <palves@redhat.com>
2617
2618 PR c++/21323
2619 * gdb.cp/wide_char_types.c: New file.
2620 * gdb.cp/wide_char_types.exp: New file.
2621
2622 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2623
2624 PR gdb/21352
2625 * gdb.trace/tsv.exp: Add test for "tsave -r".
2626
2627 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2628
2629 * gdb.dlang/watch-loc.c: New file.
2630 * gdb.dlang/watch-loc.exp: New file.
2631
2632 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2633
2634 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2635
2636 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2637
2638 * gdb.arch/arc-analyze-prologue.S: New file.
2639 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2640
2641 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2642
2643 * gdb.arch/arc-decode-insn.S: New file.
2644 * gdb.arch/arc-decode-insn.exp: Likewise.
2645
2646 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2647
2648 PR tdep/20928
2649 * gdb.arch/sparc64-regs.exp: New file.
2650 * gdb.arch/sparc64-regs.S: Likewise.
2651
2652 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2653
2654 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2655 and memory view on Python 3.
2656
2657 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2658 Keith Seitz <keiths@redhat.com>
2659
2660 PR gdb/14441
2661 * gdb.cp/demangle.exp: Add rvalue reference tests.
2662 * gdb.cp/rvalue-ref-casts.cc: New file.
2663 * gdb.cp/rvalue-ref-casts.exp: New file.
2664 * gdb.cp/rvalue-ref-overload.cc: New file.
2665 * gdb.cp/rvalue-ref-overload.exp: New file.
2666 * gdb.cp/rvalue-ref-params.cc: New file.
2667 * gdb.cp/rvalue-ref-params.exp: New file.
2668 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2669 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2670 * gdb.cp/rvalue-ref-types.cc: New file.
2671 * gdb.cp/rvalue-ref-types.exp: New file.
2672 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2673 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2674
2675 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2676
2677 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2678 New procedure.
2679
2680 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2681
2682 * lib/mi-support.exp (mi_gdb_test): Add additional message
2683 for unexpected output.
2684
2685 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2686
2687 * gdb.base/examine-backward.c (Barrier): New character array
2688 constant, to ensure that TestStrings is preceded by a string
2689 terminator.
2690
2691 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2692
2693 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2694 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2695 and implicit pointer into such a location.
2696
2697 2017-03-16 Doug Evans <dje@google.com>
2698
2699 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2700
2701 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2702
2703 * gdb.cp/m-static.exp: Fix expectation for prototype of
2704 test5.single_constructor and single_constructor::single_constructor.
2705
2706 2017-03-16 Doug Evans <dje@google.com>
2707
2708 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2709 * gdb.guile/scm-lazy-string.c: New file.
2710 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2711 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2712 for pointer, array, typedef lazy strings.
2713
2714 2017-03-16 Doug Evans <dje@google.com>
2715
2716 PR python/17728, python/18439, python/18779
2717 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2718 * gdb.python/py-lazy-string.c (pointer): New typedef.
2719 (main): New locals ptr, array, typedef_ptr.
2720 * gdb.python/py-value.exp: Move lazy string tests to ...
2721 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2722 array, typedef lazy strings.
2723
2724 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2725
2726 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2727 Add optional 'test' parameter.
2728
2729 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2730
2731 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2732 Skip for versions of DejaGnu < 1.5.
2733
2734 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2735
2736 * lib/gdb.exp (dejagnu_version): New proc.
2737 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2738 Use dejagnu_version.
2739
2740 2017-03-10 Keith Seitz <keiths@redhat.com>
2741
2742 PR c++/8128
2743 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2744 type from destructor regexps.
2745 Add a branch which actually passes the test.
2746 Adjust "ptype t5i" test names.
2747
2748 2017-03-08 Pedro Alves <palves@redhat.com>
2749
2750 * gdb.base/step-over-exit.exp: Add explicit test message.
2751
2752 2017-03-08 Pedro Alves <palves@redhat.com>
2753
2754 PR gdb/18360
2755 * gdb.threads/interrupt-while-step-over.c: New file.
2756 * gdb.threads/interrupt-while-step-over.exp: New file.
2757
2758 2017-03-08 Pedro Alves <palves@redhat.com>
2759
2760 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2761 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2762
2763 2017-03-08 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2766 PKRU as not supported as a PASS.
2767
2768 2017-03-08 Pedro Alves <palves@redhat.com>
2769
2770 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2771 prefix instead of $binfile1/$binfile2.
2772 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2773 in test message.
2774 * gdb.python/py-completion.exp: Use "load python file" as test
2775 messages instead of unstable path names.
2776
2777 2017-03-08 Pedro Alves <palves@redhat.com>
2778 Jan Kratochvil <jan.kratochvil@redhat.com>
2779
2780 PR cli/21218
2781 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2782 New proc.
2783 (top level): Call it.
2784
2785 2017-03-08 Pedro Alves <palves@redhat.com>
2786
2787 PR tui/21216
2788 * gdb.tui/tui-nl-filtered-output.exp: New file.
2789
2790 2017-03-08 Pedro Alves <palves@redhat.com>
2791
2792 * gdb.base/completion.exp: Move TUI completion tests to ...
2793 * gdb.tui/completion.exp: ... this new file.
2794
2795 2017-03-08 Pedro Alves <palves@redhat.com>
2796
2797 * gdb.base/tui-disasm-long-lines.c,
2798 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2799 gdb.base/tui-layout.exp: Move to ...
2800 * gdb.tui/: ... this new directory.
2801
2802 2017-03-07 Pedro Alves <palves@redhat.com>
2803
2804 * gdb.base/tui-layout.c: New file.
2805 * gdb.base/tui-layout.exp: New file.
2806
2807 2017-03-07 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.base/tui-layout.c: Rename to ...
2810 * gdb.base/tui-disasm-long-lines.c: ... this.
2811 * gdb.base/tui-layout.exp: Rename to ...
2812 * gdb.base/tui-disasm-long-lines.exp: ... this.
2813
2814 2017-03-07 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2817
2818 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2819
2820 * i386-mpx-call.c: New file.
2821 * i386-mpx-call.exp: New file.
2822
2823 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2824
2825 * gdb.arch/powerpc-power.exp: Delete test.
2826 * gdb.arch/powerpc-power.s: Likewise.
2827 * gdb.disasm/disassembler-options.exp: New test.
2828 * gdb.arch/powerpc-altivec.exp: Likewise.
2829 * gdb.arch/powerpc-altivec.s: Likewise.
2830 * gdb.arch/powerpc-altivec2.exp: Likewise.
2831 * gdb.arch/powerpc-altivec2.s: Likewise.
2832 * gdb.arch/powerpc-altivec3.exp: Likewise.
2833 * gdb.arch/powerpc-altivec3.s: Likewise.
2834 * gdb.arch/powerpc-power7.exp: Likewise.
2835 * gdb.arch/powerpc-power7.s: Likewise.
2836 * gdb.arch/powerpc-power8.exp: Likewise.
2837 * gdb.arch/powerpc-power8.s: Likewise.
2838 * gdb.arch/powerpc-power9.exp: Likewise.
2839 * gdb.arch/powerpc-power9.s: Likewise.
2840 * gdb.arch/powerpc-vsx.exp: Likewise.
2841 * gdb.arch/powerpc-vsx.s: Likewise.
2842 * gdb.arch/powerpc-vsx2.exp: Likewise.
2843 * gdb.arch/powerpc-vsx2.s: Likewise.
2844 * gdb.arch/powerpc-vsx3.exp: Likewise.
2845 * gdb.arch/powerpc-vsx3.s: Likewise.
2846 * gdb.arch/arm-disassembler-options.exp: Likewise.
2847 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2848 * gdb.arch/s390-disassembler-options.exp: Likewise.
2849
2850 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2851
2852 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2853 (check_supported_features): ... this. Changed return type to void.
2854 (supports_rdseed): New static global.
2855 (rdseed): Check supports_rdseed.
2856 (initialize): Call check_supported_features.
2857
2858 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2859
2860 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2861 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2862 and lqarx/stqcx.
2863 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2864 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2865
2866 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2867
2868 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2869 uppercase.
2870
2871 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 * gdb.dwarf2/formdata16.c: New file.
2874 * gdb.dwarf2/formdata16.exp: New file.
2875 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2876
2877 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2878
2879 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2880 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2881 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2882 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2883 DW_AT_GNU_*.
2884
2885 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2886
2887 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2888
2889 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2890
2891 PR gdb/21164
2892 * gdb.base/maint.exp: Add testcases for when the commands do
2893 not have arguments.
2894
2895 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2896
2897 * gdb.cp/chained-calls.exp: Use p instead of P.
2898
2899 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2900
2901 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2902 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2903
2904 2017-02-14 Tom Tromey <tom@tromey.com>
2905
2906 PR python/13598:
2907 * gdb.python/py-events.exp: Add before_prompt event tests.
2908
2909 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910
2911 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2912
2913 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2914
2915 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2916 (main): Call my_unique_function_name.
2917 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2918 completion of patterns with a single match.
2919 Add missing -re switches to gdb_test_multiple calls.
2920
2921 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2922
2923 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2924 return if core file is not recognized.
2925
2926 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2927
2928 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2929 and extra UIs.
2930
2931 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2932
2933 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2934 proc_with_prefix.
2935
2936 2017-02-10 Tom Tromey <tom@tromey.com>
2937
2938 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2939
2940 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2941
2942 PR gdb/21122
2943 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2944
2945 2017-02-08 Jerome Guitton <guitton@adacore.com>
2946
2947 * gdb.base/define.exp: Add test for command abbreviations
2948 in define.
2949
2950 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2951
2952 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2953 * gdb.reverse/insn-reverse-x86.c: New file.
2954
2955 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2956
2957 PR tdep/20936
2958 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2959
2960 2017-02-03 Tom Tromey <tom@tromey.com>
2961
2962 PR rust/21097:
2963 * gdb.rust/simple.exp: Add new tests.
2964
2965 2017-02-02 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2968 tests.
2969
2970 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2971
2972 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2973 taking a 2-byte value out of a 4-byte DWARF implicit value on
2974 big-endian targets.
2975 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2976 logic. Add test cases for DW_OP_implicit.
2977
2978 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2979
2980 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2981
2982 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2983
2984 * gdb.btrace/enable.exp: Call gdb_exit before
2985 skip_gdbserver_tests.
2986
2987 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2988
2989 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2990 GDBFLAGS.
2991
2992 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2993
2994 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2995 the test is skipped.
2996 * gdb.btrace/data.exp: Likewise.
2997 * gdb.btrace/delta.exp: Likewise.
2998 * gdb.btrace/dlopen.exp: Likewise.
2999 * gdb.btrace/enable-running.exp: Likewise.
3000 * gdb.btrace/enable.exp: Likewise.
3001 * gdb.btrace/exception.exp: Likewise.
3002 * gdb.btrace/function_call_history.exp: Likewise.
3003 * gdb.btrace/gcore.exp: Likewise.
3004 * gdb.btrace/instruction_history.exp: Likewise.
3005 * gdb.btrace/multi-thread-step.exp: Likewise.
3006 * gdb.btrace/nohist.exp: Likewise.
3007 * gdb.btrace/non-stop.exp: Likewise.
3008 * gdb.btrace/reconnect.exp: Likewise.
3009 * gdb.btrace/record_goto-step.exp: Likewise.
3010 * gdb.btrace/record_goto.exp: Likewise.
3011 * gdb.btrace/rn-dl-bind.exp: Likewise.
3012 * gdb.btrace/segv.exp: Likewise.
3013 * gdb.btrace/step.exp: Likewise.
3014 * gdb.btrace/stepi.exp: Likewise.
3015 * gdb.btrace/tailcall-only.exp: Likewise.
3016 * gdb.btrace/tailcall.exp: Likewise.
3017 * gdb.btrace/tsx.exp: Likewise.
3018 * gdb.btrace/unknown_functions.exp: Likewise.
3019 * gdb.btrace/vdso.exp: Likewise.
3020
3021 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3022
3023 * gdb.btrace/enable-running.c: New.
3024 * gdb.btrace/enable-running.exp: New.
3025
3026 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3027
3028 * gdb.arch/amd64-gs_base.c: New file.
3029 * gdb.arch/amd64-gs_base.exp: New file.
3030
3031 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3032
3033 * lib/memory.exp: Remove spurious empty newlines.
3034
3035 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3036
3037 * gdb.python/py-bad-printers.exp: Load python file using "source".
3038 * gdb.python/py-events.exp: Likewise.
3039 * gdb.python/py-evsignal.exp: Likewise.
3040 * gdb.python/py-evthreads.exp: Likewise.
3041 * gdb.python/py-frame-args.exp: Likewise.
3042 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3043 * gdb.python/py-framefilter-mi.exp: Likewise.
3044 * gdb.python/py-framefilter.exp: Likewise.
3045 * gdb.python/py-mi.exp: Likewise.
3046 * gdb.python/py-pp-maint.exp: Likewise.
3047 * gdb.python/py-pp-registration.exp: Likewise.
3048 * gdb.python/py-prettyprint.exp: Likewise.
3049 (run_lang_tests): Likewise.
3050 * gdb.python/py-typeprint.exp: Likewise.
3051
3052 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3053
3054 * lib/memory.exp: New file.
3055 * lib/gdb.exp: Load memory.exp.
3056 * gdb.base/memattr.exp (delete_memory): Move proc to
3057 lib/memory.exp and rename to delete_memory_regions.
3058 Replace delete_memory with delete_memory_regions.
3059 Cleanup memory regions before tests.
3060 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3061 before tests.
3062
3063 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3064
3065 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3066 files.
3067 (initialize): New function conditionally defined.
3068 (testcases): Move within conditional block.
3069 (main): Call initialize.
3070 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3071 of gdb.reverse/insn-reverse.c.
3072 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3073 gdb.reverse/insn-reverse.c.
3074
3075 2017-01-26 Yao Qi <yao.qi@linaro.org>
3076
3077 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3078 disassemble on address 0.
3079
3080 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3081 Yao Qi <yao.qi@linaro.org>
3082
3083 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3084 * gdb.dwarf2/implptr-64bit.S: Remove.
3085 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3086 variables in caller's context. Add DW_OP_implicit_value.
3087
3088 2017-01-25 Yao Qi <yao.qi@linaro.org>
3089
3090 * lib/dwarf.exp (Dwarf::_location): Handle
3091 DW_OP_GNU_implicit_pointer with proper size.
3092
3093 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3094
3095 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3096 and add untested calls.
3097
3098 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3099
3100 * gdb.python/python.exp: Check line number against what GDB thinks
3101 the line number is for func1.
3102
3103 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3104
3105 * gdb.dlang/debug-expr.exp: New file.
3106
3107 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3108
3109 Fix test names for the following files:
3110
3111 * gdb.ada/exec_changed.exp
3112 * gdb.ada/info_types.exp
3113 * gdb.arch/aarch64-atomic-inst.exp
3114 * gdb.arch/aarch64-fp.exp
3115 * gdb.arch/altivec-abi.exp
3116 * gdb.arch/altivec-regs.exp
3117 * gdb.arch/amd64-byte.exp
3118 * gdb.arch/amd64-disp-step.exp
3119 * gdb.arch/amd64-dword.exp
3120 * gdb.arch/amd64-entry-value-inline.exp
3121 * gdb.arch/amd64-entry-value-param.exp
3122 * gdb.arch/amd64-entry-value-paramref.exp
3123 * gdb.arch/amd64-entry-value.exp
3124 * gdb.arch/amd64-i386-address.exp
3125 * gdb.arch/amd64-invalid-stack-middle.exp
3126 * gdb.arch/amd64-invalid-stack-top.exp
3127 * gdb.arch/amd64-optimout-repeat.exp
3128 * gdb.arch/amd64-prologue-skip.exp
3129 * gdb.arch/amd64-prologue-xmm.exp
3130 * gdb.arch/amd64-stap-special-operands.exp
3131 * gdb.arch/amd64-stap-wrong-subexp.exp
3132 * gdb.arch/amd64-tailcall-cxx.exp
3133 * gdb.arch/amd64-tailcall-noret.exp
3134 * gdb.arch/amd64-tailcall-ret.exp
3135 * gdb.arch/amd64-tailcall-self.exp
3136 * gdb.arch/amd64-word.exp
3137 * gdb.arch/arm-bl-branch-dest.exp
3138 * gdb.arch/arm-disp-step.exp
3139 * gdb.arch/arm-neon.exp
3140 * gdb.arch/arm-single-step-kernel-helper.exp
3141 * gdb.arch/avr-flash-qualifier.exp
3142 * gdb.arch/disp-step-insn-reloc.exp
3143 * gdb.arch/e500-abi.exp
3144 * gdb.arch/e500-regs.exp
3145 * gdb.arch/ftrace-insn-reloc.exp
3146 * gdb.arch/i386-avx512.exp
3147 * gdb.arch/i386-bp_permanent.exp
3148 * gdb.arch/i386-byte.exp
3149 * gdb.arch/i386-cfi-notcurrent.exp
3150 * gdb.arch/i386-disp-step.exp
3151 * gdb.arch/i386-dr3-watch.exp
3152 * gdb.arch/i386-float.exp
3153 * gdb.arch/i386-gnu-cfi.exp
3154 * gdb.arch/i386-mpx-map.exp
3155 * gdb.arch/i386-mpx-sigsegv.exp
3156 * gdb.arch/i386-mpx-simple_segv.exp
3157 * gdb.arch/i386-mpx.exp
3158 * gdb.arch/i386-permbkpt.exp
3159 * gdb.arch/i386-prologue.exp
3160 * gdb.arch/i386-signal.exp
3161 * gdb.arch/i386-size-overlap.exp
3162 * gdb.arch/i386-unwind.exp
3163 * gdb.arch/i386-word.exp
3164 * gdb.arch/mips-fcr.exp
3165 * gdb.arch/powerpc-d128-regs.exp
3166 * gdb.arch/powerpc-stackless.exp
3167 * gdb.arch/ppc64-atomic-inst.exp
3168 * gdb.arch/s390-stackless.exp
3169 * gdb.arch/s390-tdbregs.exp
3170 * gdb.arch/s390-vregs.exp
3171 * gdb.arch/sparc-sysstep.exp
3172 * gdb.arch/thumb-bx-pc.exp
3173 * gdb.arch/thumb-singlestep.exp
3174 * gdb.arch/thumb2-it.exp
3175 * gdb.arch/vsx-regs.exp
3176 * gdb.asm/asm-source.exp
3177 * gdb.base/a2-run.exp
3178 * gdb.base/advance.exp
3179 * gdb.base/all-bin.exp
3180 * gdb.base/anon.exp
3181 * gdb.base/args.exp
3182 * gdb.base/arithmet.exp
3183 * gdb.base/async-shell.exp
3184 * gdb.base/async.exp
3185 * gdb.base/attach-pie-noexec.exp
3186 * gdb.base/attach-twice.exp
3187 * gdb.base/auto-load.exp
3188 * gdb.base/bang.exp
3189 * gdb.base/bitfields.exp
3190 * gdb.base/break-always.exp
3191 * gdb.base/break-caller-line.exp
3192 * gdb.base/break-entry.exp
3193 * gdb.base/break-inline.exp
3194 * gdb.base/break-on-linker-gcd-function.exp
3195 * gdb.base/break-probes.exp
3196 * gdb.base/break.exp
3197 * gdb.base/breakpoint-shadow.exp
3198 * gdb.base/call-ar-st.exp
3199 * gdb.base/call-sc.exp
3200 * gdb.base/call-signal-resume.exp
3201 * gdb.base/call-strs.exp
3202 * gdb.base/callfuncs.exp
3203 * gdb.base/catch-fork-static.exp
3204 * gdb.base/catch-gdb-caused-signals.exp
3205 * gdb.base/catch-load.exp
3206 * gdb.base/catch-signal-fork.exp
3207 * gdb.base/catch-signal.exp
3208 * gdb.base/catch-syscall.exp
3209 * gdb.base/charset.exp
3210 * gdb.base/checkpoint.exp
3211 * gdb.base/chng-syms.exp
3212 * gdb.base/code-expr.exp
3213 * gdb.base/code_elim.exp
3214 * gdb.base/commands.exp
3215 * gdb.base/completion.exp
3216 * gdb.base/complex.exp
3217 * gdb.base/cond-expr.exp
3218 * gdb.base/condbreak.exp
3219 * gdb.base/consecutive.exp
3220 * gdb.base/continue-all-already-running.exp
3221 * gdb.base/coredump-filter.exp
3222 * gdb.base/corefile.exp
3223 * gdb.base/dbx.exp
3224 * gdb.base/debug-expr.exp
3225 * gdb.base/define.exp
3226 * gdb.base/del.exp
3227 * gdb.base/disabled-location.exp
3228 * gdb.base/disasm-end-cu.exp
3229 * gdb.base/disasm-optim.exp
3230 * gdb.base/display.exp
3231 * gdb.base/duplicate-bp.exp
3232 * gdb.base/ena-dis-br.exp
3233 * gdb.base/ending-run.exp
3234 * gdb.base/enumval.exp
3235 * gdb.base/environ.exp
3236 * gdb.base/eu-strip-infcall.exp
3237 * gdb.base/eval-avoid-side-effects.exp
3238 * gdb.base/eval-skip.exp
3239 * gdb.base/exitsignal.exp
3240 * gdb.base/expand-psymtabs.exp
3241 * gdb.base/filesym.exp
3242 * gdb.base/find-unmapped.exp
3243 * gdb.base/finish.exp
3244 * gdb.base/float.exp
3245 * gdb.base/foll-exec-mode.exp
3246 * gdb.base/foll-exec.exp
3247 * gdb.base/foll-fork.exp
3248 * gdb.base/fortran-sym-case.exp
3249 * gdb.base/freebpcmd.exp
3250 * gdb.base/func-ptr.exp
3251 * gdb.base/func-ptrs.exp
3252 * gdb.base/funcargs.exp
3253 * gdb.base/gcore-buffer-overflow.exp
3254 * gdb.base/gcore-relro-pie.exp
3255 * gdb.base/gcore-relro.exp
3256 * gdb.base/gcore.exp
3257 * gdb.base/gdb1090.exp
3258 * gdb.base/gdb11530.exp
3259 * gdb.base/gdb11531.exp
3260 * gdb.base/gdb1821.exp
3261 * gdb.base/gdbindex-stabs.exp
3262 * gdb.base/gdbvars.exp
3263 * gdb.base/hbreak.exp
3264 * gdb.base/hbreak2.exp
3265 * gdb.base/included.exp
3266 * gdb.base/infcall-input.exp
3267 * gdb.base/inferior-died.exp
3268 * gdb.base/infnan.exp
3269 * gdb.base/info-macros.exp
3270 * gdb.base/info-os.exp
3271 * gdb.base/info-proc.exp
3272 * gdb.base/info-shared.exp
3273 * gdb.base/info-target.exp
3274 * gdb.base/infoline.exp
3275 * gdb.base/interp.exp
3276 * gdb.base/interrupt.exp
3277 * gdb.base/jit-reader.exp
3278 * gdb.base/jit-simple.exp
3279 * gdb.base/kill-after-signal.exp
3280 * gdb.base/kill-detach-inferiors-cmd.exp
3281 * gdb.base/label.exp
3282 * gdb.base/langs.exp
3283 * gdb.base/ldbl_e308.exp
3284 * gdb.base/line-symtabs.exp
3285 * gdb.base/linespecs.exp
3286 * gdb.base/list.exp
3287 * gdb.base/long_long.exp
3288 * gdb.base/longest-types.exp
3289 * gdb.base/maint.exp
3290 * gdb.base/max-value-size.exp
3291 * gdb.base/memattr.exp
3292 * gdb.base/mips_pro.exp
3293 * gdb.base/morestack.exp
3294 * gdb.base/moribund-step.exp
3295 * gdb.base/multi-forks.exp
3296 * gdb.base/nested-addr.exp
3297 * gdb.base/nextoverexit.exp
3298 * gdb.base/noreturn-finish.exp
3299 * gdb.base/noreturn-return.exp
3300 * gdb.base/nostdlib.exp
3301 * gdb.base/offsets.exp
3302 * gdb.base/opaque.exp
3303 * gdb.base/pc-fp.exp
3304 * gdb.base/permissions.exp
3305 * gdb.base/print-symbol-loading.exp
3306 * gdb.base/prologue-include.exp
3307 * gdb.base/psymtab.exp
3308 * gdb.base/ptype.exp
3309 * gdb.base/random-signal.exp
3310 * gdb.base/randomize.exp
3311 * gdb.base/range-stepping.exp
3312 * gdb.base/readline-ask.exp
3313 * gdb.base/recpar.exp
3314 * gdb.base/recurse.exp
3315 * gdb.base/relational.exp
3316 * gdb.base/restore.exp
3317 * gdb.base/return-nodebug.exp
3318 * gdb.base/return.exp
3319 * gdb.base/run-after-attach.exp
3320 * gdb.base/save-bp.exp
3321 * gdb.base/scope.exp
3322 * gdb.base/sect-cmd.exp
3323 * gdb.base/set-lang-auto.exp
3324 * gdb.base/set-noassign.exp
3325 * gdb.base/setvar.exp
3326 * gdb.base/sigall.exp
3327 * gdb.base/sigbpt.exp
3328 * gdb.base/siginfo-addr.exp
3329 * gdb.base/siginfo-infcall.exp
3330 * gdb.base/siginfo-obj.exp
3331 * gdb.base/siginfo.exp
3332 * gdb.base/signals-state-child.exp
3333 * gdb.base/signest.exp
3334 * gdb.base/sigstep.exp
3335 * gdb.base/sizeof.exp
3336 * gdb.base/skip.exp
3337 * gdb.base/solib-corrupted.exp
3338 * gdb.base/solib-nodir.exp
3339 * gdb.base/solib-search.exp
3340 * gdb.base/stack-checking.exp
3341 * gdb.base/stale-infcall.exp
3342 * gdb.base/stap-probe.exp
3343 * gdb.base/start.exp
3344 * gdb.base/step-break.exp
3345 * gdb.base/step-bt.exp
3346 * gdb.base/step-line.exp
3347 * gdb.base/step-over-exit.exp
3348 * gdb.base/step-over-syscall.exp
3349 * gdb.base/step-resume-infcall.exp
3350 * gdb.base/step-test.exp
3351 * gdb.base/store.exp
3352 * gdb.base/structs3.exp
3353 * gdb.base/sym-file.exp
3354 * gdb.base/symbol-without-target_section.exp
3355 * gdb.base/term.exp
3356 * gdb.base/testenv.exp
3357 * gdb.base/ui-redirect.exp
3358 * gdb.base/until.exp
3359 * gdb.base/unwindonsignal.exp
3360 * gdb.base/value-double-free.exp
3361 * gdb.base/vla-datatypes.exp
3362 * gdb.base/vla-ptr.exp
3363 * gdb.base/vla-sideeffect.exp
3364 * gdb.base/volatile.exp
3365 * gdb.base/watch-cond-infcall.exp
3366 * gdb.base/watch-cond.exp
3367 * gdb.base/watch-non-mem.exp
3368 * gdb.base/watch-read.exp
3369 * gdb.base/watch-vfork.exp
3370 * gdb.base/watchpoint-cond-gone.exp
3371 * gdb.base/watchpoint-delete.exp
3372 * gdb.base/watchpoint-hw-hit-once.exp
3373 * gdb.base/watchpoint-hw.exp
3374 * gdb.base/watchpoint-stops-at-right-insn.exp
3375 * gdb.base/watchpoints.exp
3376 * gdb.base/wchar.exp
3377 * gdb.base/whatis-exp.exp
3378 * gdb.btrace/buffer-size.exp
3379 * gdb.btrace/data.exp
3380 * gdb.btrace/delta.exp
3381 * gdb.btrace/dlopen.exp
3382 * gdb.btrace/enable.exp
3383 * gdb.btrace/exception.exp
3384 * gdb.btrace/function_call_history.exp
3385 * gdb.btrace/gcore.exp
3386 * gdb.btrace/instruction_history.exp
3387 * gdb.btrace/nohist.exp
3388 * gdb.btrace/reconnect.exp
3389 * gdb.btrace/record_goto-step.exp
3390 * gdb.btrace/record_goto.exp
3391 * gdb.btrace/rn-dl-bind.exp
3392 * gdb.btrace/segv.exp
3393 * gdb.btrace/step.exp
3394 * gdb.btrace/stepi.exp
3395 * gdb.btrace/tailcall-only.exp
3396 * gdb.btrace/tailcall.exp
3397 * gdb.btrace/tsx.exp
3398 * gdb.btrace/unknown_functions.exp
3399 * gdb.btrace/vdso.exp
3400 * gdb.compile/compile-ifunc.exp
3401 * gdb.compile/compile-ops.exp
3402 * gdb.compile/compile-print.exp
3403 * gdb.compile/compile-setjmp.exp
3404 * gdb.cp/abstract-origin.exp
3405 * gdb.cp/ambiguous.exp
3406 * gdb.cp/annota2.exp
3407 * gdb.cp/annota3.exp
3408 * gdb.cp/anon-ns.exp
3409 * gdb.cp/anon-struct.exp
3410 * gdb.cp/anon-union.exp
3411 * gdb.cp/arg-reference.exp
3412 * gdb.cp/baseenum.exp
3413 * gdb.cp/bool.exp
3414 * gdb.cp/breakpoint.exp
3415 * gdb.cp/bs15503.exp
3416 * gdb.cp/call-c.exp
3417 * gdb.cp/casts.exp
3418 * gdb.cp/chained-calls.exp
3419 * gdb.cp/class2.exp
3420 * gdb.cp/classes.exp
3421 * gdb.cp/cmpd-minsyms.exp
3422 * gdb.cp/converts.exp
3423 * gdb.cp/cp-relocate.exp
3424 * gdb.cp/cpcompletion.exp
3425 * gdb.cp/cpexprs.exp
3426 * gdb.cp/cplabel.exp
3427 * gdb.cp/cplusfuncs.exp
3428 * gdb.cp/cpsizeof.exp
3429 * gdb.cp/ctti.exp
3430 * gdb.cp/derivation.exp
3431 * gdb.cp/destrprint.exp
3432 * gdb.cp/dispcxx.exp
3433 * gdb.cp/enum-class.exp
3434 * gdb.cp/exception.exp
3435 * gdb.cp/exceptprint.exp
3436 * gdb.cp/expand-psymtabs-cxx.exp
3437 * gdb.cp/expand-sals.exp
3438 * gdb.cp/extern-c.exp
3439 * gdb.cp/filename.exp
3440 * gdb.cp/formatted-ref.exp
3441 * gdb.cp/fpointer.exp
3442 * gdb.cp/gdb1355.exp
3443 * gdb.cp/gdb2495.exp
3444 * gdb.cp/hang.exp
3445 * gdb.cp/impl-this.exp
3446 * gdb.cp/infcall-dlopen.exp
3447 * gdb.cp/inherit.exp
3448 * gdb.cp/iostream.exp
3449 * gdb.cp/koenig.exp
3450 * gdb.cp/local.exp
3451 * gdb.cp/m-data.exp
3452 * gdb.cp/m-static.exp
3453 * gdb.cp/mb-ctor.exp
3454 * gdb.cp/mb-inline.exp
3455 * gdb.cp/mb-templates.exp
3456 * gdb.cp/member-name.exp
3457 * gdb.cp/member-ptr.exp
3458 * gdb.cp/meth-typedefs.exp
3459 * gdb.cp/method.exp
3460 * gdb.cp/method2.exp
3461 * gdb.cp/minsym-fallback.exp
3462 * gdb.cp/misc.exp
3463 * gdb.cp/namelessclass.exp
3464 * gdb.cp/namespace-enum.exp
3465 * gdb.cp/namespace-nested-import.exp
3466 * gdb.cp/namespace.exp
3467 * gdb.cp/nextoverthrow.exp
3468 * gdb.cp/no-dmgl-verbose.exp
3469 * gdb.cp/non-trivial-retval.exp
3470 * gdb.cp/noparam.exp
3471 * gdb.cp/nsdecl.exp
3472 * gdb.cp/nsimport.exp
3473 * gdb.cp/nsnested.exp
3474 * gdb.cp/nsnoimports.exp
3475 * gdb.cp/nsrecurs.exp
3476 * gdb.cp/nsstress.exp
3477 * gdb.cp/nsusing.exp
3478 * gdb.cp/operator.exp
3479 * gdb.cp/oranking.exp
3480 * gdb.cp/overload-const.exp
3481 * gdb.cp/overload.exp
3482 * gdb.cp/ovldbreak.exp
3483 * gdb.cp/ovsrch.exp
3484 * gdb.cp/paren-type.exp
3485 * gdb.cp/parse-lang.exp
3486 * gdb.cp/pass-by-ref.exp
3487 * gdb.cp/pr-1023.exp
3488 * gdb.cp/pr-1210.exp
3489 * gdb.cp/pr-574.exp
3490 * gdb.cp/pr10687.exp
3491 * gdb.cp/pr12028.exp
3492 * gdb.cp/pr17132.exp
3493 * gdb.cp/pr17494.exp
3494 * gdb.cp/pr9067.exp
3495 * gdb.cp/pr9167.exp
3496 * gdb.cp/pr9631.exp
3497 * gdb.cp/printmethod.exp
3498 * gdb.cp/psmang.exp
3499 * gdb.cp/psymtab-parameter.exp
3500 * gdb.cp/ptype-cv-cp.exp
3501 * gdb.cp/ptype-flags.exp
3502 * gdb.cp/re-set-overloaded.exp
3503 * gdb.cp/ref-types.exp
3504 * gdb.cp/rtti.exp
3505 * gdb.cp/scope-err.exp
3506 * gdb.cp/shadow.exp
3507 * gdb.cp/smartp.exp
3508 * gdb.cp/static-method.exp
3509 * gdb.cp/static-print-quit.exp
3510 * gdb.cp/temargs.exp
3511 * gdb.cp/templates.exp
3512 * gdb.cp/try_catch.exp
3513 * gdb.cp/typedef-operator.exp
3514 * gdb.cp/typeid.exp
3515 * gdb.cp/userdef.exp
3516 * gdb.cp/using-crash.exp
3517 * gdb.cp/var-tag.exp
3518 * gdb.cp/virtbase.exp
3519 * gdb.cp/virtfunc.exp
3520 * gdb.cp/virtfunc2.exp
3521 * gdb.cp/vla-cxx.exp
3522 * gdb.disasm/t01_mov.exp
3523 * gdb.disasm/t02_mova.exp
3524 * gdb.disasm/t03_add.exp
3525 * gdb.disasm/t04_sub.exp
3526 * gdb.disasm/t05_cmp.exp
3527 * gdb.disasm/t06_ari2.exp
3528 * gdb.disasm/t07_ari3.exp
3529 * gdb.disasm/t08_or.exp
3530 * gdb.disasm/t09_xor.exp
3531 * gdb.disasm/t10_and.exp
3532 * gdb.disasm/t11_logs.exp
3533 * gdb.disasm/t12_bit.exp
3534 * gdb.disasm/t13_otr.exp
3535 * gdb.dlang/circular.exp
3536 * gdb.dwarf2/arr-stride.exp
3537 * gdb.dwarf2/arr-subrange.exp
3538 * gdb.dwarf2/atomic-type.exp
3539 * gdb.dwarf2/bad-regnum.exp
3540 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3541 * gdb.dwarf2/callframecfa.exp
3542 * gdb.dwarf2/clztest.exp
3543 * gdb.dwarf2/corrupt.exp
3544 * gdb.dwarf2/data-loc.exp
3545 * gdb.dwarf2/dup-psym.exp
3546 * gdb.dwarf2/dw2-anon-mptr.exp
3547 * gdb.dwarf2/dw2-anonymous-func.exp
3548 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3549 * gdb.dwarf2/dw2-bad-unresolved.exp
3550 * gdb.dwarf2/dw2-basic.exp
3551 * gdb.dwarf2/dw2-canonicalize-type.exp
3552 * gdb.dwarf2/dw2-case-insensitive.exp
3553 * gdb.dwarf2/dw2-common-block.exp
3554 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3555 * gdb.dwarf2/dw2-compressed.exp
3556 * gdb.dwarf2/dw2-const.exp
3557 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3558 * gdb.dwarf2/dw2-cu-size.exp
3559 * gdb.dwarf2/dw2-dup-frame.exp
3560 * gdb.dwarf2/dw2-entry-value.exp
3561 * gdb.dwarf2/dw2-icycle.exp
3562 * gdb.dwarf2/dw2-ifort-parameter.exp
3563 * gdb.dwarf2/dw2-inline-break.exp
3564 * gdb.dwarf2/dw2-inline-param.exp
3565 * gdb.dwarf2/dw2-intercu.exp
3566 * gdb.dwarf2/dw2-intermix.exp
3567 * gdb.dwarf2/dw2-lexical-block-bare.exp
3568 * gdb.dwarf2/dw2-linkage-name-trust.exp
3569 * gdb.dwarf2/dw2-minsym-in-cu.exp
3570 * gdb.dwarf2/dw2-noloc.exp
3571 * gdb.dwarf2/dw2-op-call.exp
3572 * gdb.dwarf2/dw2-op-out-param.exp
3573 * gdb.dwarf2/dw2-opt-structptr.exp
3574 * gdb.dwarf2/dw2-param-error.exp
3575 * gdb.dwarf2/dw2-producer.exp
3576 * gdb.dwarf2/dw2-ranges-base.exp
3577 * gdb.dwarf2/dw2-ref-missing-frame.exp
3578 * gdb.dwarf2/dw2-reg-undefined.exp
3579 * gdb.dwarf2/dw2-regno-invalid.exp
3580 * gdb.dwarf2/dw2-restore.exp
3581 * gdb.dwarf2/dw2-restrict.exp
3582 * gdb.dwarf2/dw2-single-line-discriminators.exp
3583 * gdb.dwarf2/dw2-strp.exp
3584 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3585 * gdb.dwarf2/dw2-unresolved.exp
3586 * gdb.dwarf2/dw2-var-zero-addr.exp
3587 * gdb.dwarf2/dw4-sig-types.exp
3588 * gdb.dwarf2/dwz.exp
3589 * gdb.dwarf2/dynarr-ptr.exp
3590 * gdb.dwarf2/enum-type.exp
3591 * gdb.dwarf2/gdb-index.exp
3592 * gdb.dwarf2/implptr-64bit.exp
3593 * gdb.dwarf2/implptr-optimized-out.exp
3594 * gdb.dwarf2/implptr.exp
3595 * gdb.dwarf2/implref-array.exp
3596 * gdb.dwarf2/implref-const.exp
3597 * gdb.dwarf2/implref-global.exp
3598 * gdb.dwarf2/implref-struct.exp
3599 * gdb.dwarf2/mac-fileno.exp
3600 * gdb.dwarf2/main-subprogram.exp
3601 * gdb.dwarf2/member-ptr-forwardref.exp
3602 * gdb.dwarf2/method-ptr.exp
3603 * gdb.dwarf2/missing-sig-type.exp
3604 * gdb.dwarf2/nonvar-access.exp
3605 * gdb.dwarf2/opaque-type-lookup.exp
3606 * gdb.dwarf2/pieces-optimized-out.exp
3607 * gdb.dwarf2/pieces.exp
3608 * gdb.dwarf2/pr10770.exp
3609 * gdb.dwarf2/pr13961.exp
3610 * gdb.dwarf2/staticvirtual.exp
3611 * gdb.dwarf2/subrange.exp
3612 * gdb.dwarf2/symtab-producer.exp
3613 * gdb.dwarf2/trace-crash.exp
3614 * gdb.dwarf2/typeddwarf.exp
3615 * gdb.dwarf2/valop.exp
3616 * gdb.dwarf2/watch-notconst.exp
3617 * gdb.fortran/array-element.exp
3618 * gdb.fortran/charset.exp
3619 * gdb.fortran/common-block.exp
3620 * gdb.fortran/complex.exp
3621 * gdb.fortran/derived-type-function.exp
3622 * gdb.fortran/derived-type.exp
3623 * gdb.fortran/logical.exp
3624 * gdb.fortran/module.exp
3625 * gdb.fortran/multi-dim.exp
3626 * gdb.fortran/nested-funcs.exp
3627 * gdb.fortran/print-formatted.exp
3628 * gdb.fortran/subarray.exp
3629 * gdb.fortran/vla-alloc-assoc.exp
3630 * gdb.fortran/vla-datatypes.exp
3631 * gdb.fortran/vla-history.exp
3632 * gdb.fortran/vla-ptr-info.exp
3633 * gdb.fortran/vla-ptype-sub.exp
3634 * gdb.fortran/vla-ptype.exp
3635 * gdb.fortran/vla-sizeof.exp
3636 * gdb.fortran/vla-type.exp
3637 * gdb.fortran/vla-value-sub-arbitrary.exp
3638 * gdb.fortran/vla-value-sub-finish.exp
3639 * gdb.fortran/vla-value-sub.exp
3640 * gdb.fortran/vla-value.exp
3641 * gdb.fortran/whatis_type.exp
3642 * gdb.go/chan.exp
3643 * gdb.go/handcall.exp
3644 * gdb.go/hello.exp
3645 * gdb.go/integers.exp
3646 * gdb.go/methods.exp
3647 * gdb.go/package.exp
3648 * gdb.go/strings.exp
3649 * gdb.go/types.exp
3650 * gdb.go/unsafe.exp
3651 * gdb.guile/scm-arch.exp
3652 * gdb.guile/scm-block.exp
3653 * gdb.guile/scm-breakpoint.exp
3654 * gdb.guile/scm-cmd.exp
3655 * gdb.guile/scm-disasm.exp
3656 * gdb.guile/scm-equal.exp
3657 * gdb.guile/scm-frame-args.exp
3658 * gdb.guile/scm-frame-inline.exp
3659 * gdb.guile/scm-frame.exp
3660 * gdb.guile/scm-iterator.exp
3661 * gdb.guile/scm-math.exp
3662 * gdb.guile/scm-objfile.exp
3663 * gdb.guile/scm-ports.exp
3664 * gdb.guile/scm-symbol.exp
3665 * gdb.guile/scm-symtab.exp
3666 * gdb.guile/scm-value-cc.exp
3667 * gdb.guile/types-module.exp
3668 * gdb.linespec/break-ask.exp
3669 * gdb.linespec/cpexplicit.exp
3670 * gdb.linespec/explicit.exp
3671 * gdb.linespec/keywords.exp
3672 * gdb.linespec/linespec.exp
3673 * gdb.linespec/ls-dollar.exp
3674 * gdb.linespec/ls-errs.exp
3675 * gdb.linespec/skip-two.exp
3676 * gdb.linespec/thread.exp
3677 * gdb.mi/mi-async.exp
3678 * gdb.mi/mi-basics.exp
3679 * gdb.mi/mi-break.exp
3680 * gdb.mi/mi-catch-load.exp
3681 * gdb.mi/mi-cli.exp
3682 * gdb.mi/mi-cmd-param-changed.exp
3683 * gdb.mi/mi-console.exp
3684 * gdb.mi/mi-detach.exp
3685 * gdb.mi/mi-disassemble.exp
3686 * gdb.mi/mi-eval.exp
3687 * gdb.mi/mi-file-transfer.exp
3688 * gdb.mi/mi-file.exp
3689 * gdb.mi/mi-fill-memory.exp
3690 * gdb.mi/mi-inheritance-syntax-error.exp
3691 * gdb.mi/mi-linespec-err-cp.exp
3692 * gdb.mi/mi-logging.exp
3693 * gdb.mi/mi-memory-changed.exp
3694 * gdb.mi/mi-read-memory.exp
3695 * gdb.mi/mi-record-changed.exp
3696 * gdb.mi/mi-reg-undefined.exp
3697 * gdb.mi/mi-regs.exp
3698 * gdb.mi/mi-return.exp
3699 * gdb.mi/mi-reverse.exp
3700 * gdb.mi/mi-simplerun.exp
3701 * gdb.mi/mi-solib.exp
3702 * gdb.mi/mi-stack.exp
3703 * gdb.mi/mi-stepi.exp
3704 * gdb.mi/mi-syn-frame.exp
3705 * gdb.mi/mi-until.exp
3706 * gdb.mi/mi-var-block.exp
3707 * gdb.mi/mi-var-child.exp
3708 * gdb.mi/mi-var-cmd.exp
3709 * gdb.mi/mi-var-cp.exp
3710 * gdb.mi/mi-var-display.exp
3711 * gdb.mi/mi-var-invalidate.exp
3712 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3713 * gdb.mi/mi-vla-fortran.exp
3714 * gdb.mi/mi-watch.exp
3715 * gdb.mi/mi2-var-child.exp
3716 * gdb.mi/user-selected-context-sync.exp
3717 * gdb.modula2/unbounded-array.exp
3718 * gdb.multi/dummy-frame-restore.exp
3719 * gdb.multi/multi-arch-exec.exp
3720 * gdb.multi/multi-arch.exp
3721 * gdb.multi/tids.exp
3722 * gdb.multi/watchpoint-multi.exp
3723 * gdb.opencl/callfuncs.exp
3724 * gdb.opencl/convs_casts.exp
3725 * gdb.opencl/datatypes.exp
3726 * gdb.opencl/operators.exp
3727 * gdb.opencl/vec_comps.exp
3728 * gdb.opt/clobbered-registers-O2.exp
3729 * gdb.opt/inline-break.exp
3730 * gdb.opt/inline-bt.exp
3731 * gdb.opt/inline-cmds.exp
3732 * gdb.opt/inline-locals.exp
3733 * gdb.pascal/case-insensitive-symbols.exp
3734 * gdb.pascal/floats.exp
3735 * gdb.pascal/gdb11492.exp
3736 * gdb.python/lib-types.exp
3737 * gdb.python/py-arch.exp
3738 * gdb.python/py-as-string.exp
3739 * gdb.python/py-bad-printers.exp
3740 * gdb.python/py-block.exp
3741 * gdb.python/py-breakpoint-create-fail.exp
3742 * gdb.python/py-breakpoint.exp
3743 * gdb.python/py-caller-is.exp
3744 * gdb.python/py-cmd.exp
3745 * gdb.python/py-explore-cc.exp
3746 * gdb.python/py-explore.exp
3747 * gdb.python/py-finish-breakpoint.exp
3748 * gdb.python/py-finish-breakpoint2.exp
3749 * gdb.python/py-frame-args.exp
3750 * gdb.python/py-frame-inline.exp
3751 * gdb.python/py-frame.exp
3752 * gdb.python/py-framefilter-mi.exp
3753 * gdb.python/py-infthread.exp
3754 * gdb.python/py-lazy-string.exp
3755 * gdb.python/py-linetable.exp
3756 * gdb.python/py-mi-events.exp
3757 * gdb.python/py-mi-objfile.exp
3758 * gdb.python/py-mi.exp
3759 * gdb.python/py-objfile.exp
3760 * gdb.python/py-pp-integral.exp
3761 * gdb.python/py-pp-maint.exp
3762 * gdb.python/py-pp-re-notag.exp
3763 * gdb.python/py-pp-registration.exp
3764 * gdb.python/py-recurse-unwind.exp
3765 * gdb.python/py-strfns.exp
3766 * gdb.python/py-symbol.exp
3767 * gdb.python/py-symtab.exp
3768 * gdb.python/py-sync-interp.exp
3769 * gdb.python/py-typeprint.exp
3770 * gdb.python/py-unwind-maint.exp
3771 * gdb.python/py-unwind.exp
3772 * gdb.python/py-value-cc.exp
3773 * gdb.python/py-xmethods.exp
3774 * gdb.reverse/amd64-tailcall-reverse.exp
3775 * gdb.reverse/break-precsave.exp
3776 * gdb.reverse/break-reverse.exp
3777 * gdb.reverse/consecutive-precsave.exp
3778 * gdb.reverse/consecutive-reverse.exp
3779 * gdb.reverse/finish-precsave.exp
3780 * gdb.reverse/finish-reverse-bkpt.exp
3781 * gdb.reverse/finish-reverse.exp
3782 * gdb.reverse/fstatat-reverse.exp
3783 * gdb.reverse/getresuid-reverse.exp
3784 * gdb.reverse/i386-precsave.exp
3785 * gdb.reverse/i386-reverse.exp
3786 * gdb.reverse/i386-sse-reverse.exp
3787 * gdb.reverse/i387-env-reverse.exp
3788 * gdb.reverse/i387-stack-reverse.exp
3789 * gdb.reverse/insn-reverse.exp
3790 * gdb.reverse/machinestate-precsave.exp
3791 * gdb.reverse/machinestate.exp
3792 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3793 * gdb.reverse/pipe-reverse.exp
3794 * gdb.reverse/readv-reverse.exp
3795 * gdb.reverse/recvmsg-reverse.exp
3796 * gdb.reverse/rerun-prec.exp
3797 * gdb.reverse/s390-mvcle.exp
3798 * gdb.reverse/step-precsave.exp
3799 * gdb.reverse/step-reverse.exp
3800 * gdb.reverse/time-reverse.exp
3801 * gdb.reverse/until-precsave.exp
3802 * gdb.reverse/until-reverse.exp
3803 * gdb.reverse/waitpid-reverse.exp
3804 * gdb.reverse/watch-precsave.exp
3805 * gdb.reverse/watch-reverse.exp
3806 * gdb.rust/generics.exp
3807 * gdb.rust/methods.exp
3808 * gdb.rust/modules.exp
3809 * gdb.rust/simple.exp
3810 * gdb.server/connect-with-no-symbol-file.exp
3811 * gdb.server/ext-attach.exp
3812 * gdb.server/ext-restart.exp
3813 * gdb.server/ext-wrapper.exp
3814 * gdb.server/file-transfer.exp
3815 * gdb.server/server-exec-info.exp
3816 * gdb.server/server-kill.exp
3817 * gdb.server/server-mon.exp
3818 * gdb.server/wrapper.exp
3819 * gdb.stabs/exclfwd.exp
3820 * gdb.stabs/gdb11479.exp
3821 * gdb.threads/clone-new-thread-event.exp
3822 * gdb.threads/corethreads.exp
3823 * gdb.threads/current-lwp-dead.exp
3824 * gdb.threads/dlopen-libpthread.exp
3825 * gdb.threads/gcore-thread.exp
3826 * gdb.threads/sigstep-threads.exp
3827 * gdb.threads/watchpoint-fork.exp
3828 * gdb.trace/actions-changed.exp
3829 * gdb.trace/backtrace.exp
3830 * gdb.trace/change-loc.exp
3831 * gdb.trace/circ.exp
3832 * gdb.trace/collection.exp
3833 * gdb.trace/disconnected-tracing.exp
3834 * gdb.trace/ftrace.exp
3835 * gdb.trace/mi-trace-frame-collected.exp
3836 * gdb.trace/mi-trace-unavailable.exp
3837 * gdb.trace/mi-traceframe-changed.exp
3838 * gdb.trace/mi-tsv-changed.exp
3839 * gdb.trace/no-attach-trace.exp
3840 * gdb.trace/passc-dyn.exp
3841 * gdb.trace/qtro.exp
3842 * gdb.trace/range-stepping.exp
3843 * gdb.trace/read-memory.exp
3844 * gdb.trace/save-trace.exp
3845 * gdb.trace/signal.exp
3846 * gdb.trace/status-stop.exp
3847 * gdb.trace/tfile.exp
3848 * gdb.trace/trace-break.exp
3849 * gdb.trace/trace-buffer-size.exp
3850 * gdb.trace/trace-condition.exp
3851 * gdb.trace/tracefile-pseudo-reg.exp
3852 * gdb.trace/tstatus.exp
3853 * gdb.trace/unavailable.exp
3854 * gdb.trace/while-dyn.exp
3855 * gdb.trace/while-stepping.exp
3856
3857 2016-12-22 Doug Evans <xdje42@gmail.com>
3858
3859 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3860 and msymbols.
3861
3862 2016-12-19 Yao Qi <yao.qi@linaro.org>
3863
3864 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3865 (test_with_self): Don't call do_steps_and_nexts, and remove
3866 code about stepping into xmalloc.
3867
3868 2016-12-09 Yao Qi <yao.qi@linaro.org>
3869
3870 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3871
3872 2016-12-09 Yao Qi <yao.qi@linaro.org>
3873
3874 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3875
3876 2016-12-09 Pedro Alves <palves@redhat.com>
3877
3878 * gdb.base/all-architectures-0.exp: New file.
3879 * gdb.base/all-architectures-1.exp: New file.
3880 * gdb.base/all-architectures-2.exp: New file.
3881 * gdb.base/all-architectures-3.exp: New file.
3882 * gdb.base/all-architectures-4.exp: New file.
3883 * gdb.base/all-architectures-5.exp: New file.
3884 * gdb.base/all-architectures-6.exp: New file.
3885 * gdb.base/all-architectures-7.exp: New file.
3886 * gdb.base/all-architectures.exp.in: New file.
3887
3888 2016-12-09 Yao Qi <yao.qi@linaro.org>
3889
3890 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3891
3892 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3893
3894 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3895 possible.
3896 Remove useless pattern-matching code.
3897
3898 2016-12-02 Pedro Alves <palves@redhat.com>
3899
3900 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3901 procedure.
3902 (top level): Call it.
3903
3904 2016-12-02 Pedro Alves <palves@redhat.com>
3905
3906 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3907 New procedure.
3908 (top level): Call it.
3909
3910 2016-12-02 Pedro Alves <palves@redhat.com>
3911
3912 PR cli/20559
3913 * gdb.base/commands.exp (user_defined_command_args_eval): New
3914 procedure.
3915 (top level): Call it.
3916
3917 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3918
3919 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3920 timeout handling.
3921
3922 2016-12-02 Tom Tromey <tom@tromey.com>
3923
3924 * gdb.dwarf2/main-subprogram.c: New file.
3925 * gdb.dwarf2/main-subprogram.exp: New file.
3926
3927 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3928
3929 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3930 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3931 gdb_test_no_output for a couple of cases.
3932 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3933
3934 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3935
3936 Fix test names and standardize compilation error messages throughout
3937 the following files:
3938
3939 * gdb.ada/start.exp
3940 * gdb.arch/alpha-step.exp
3941 * gdb.arch/e500-prologue.exp
3942 * gdb.arch/ftrace-insn-reloc.exp
3943 * gdb.arch/gdb1291.exp
3944 * gdb.arch/gdb1431.exp
3945 * gdb.arch/gdb1558.exp
3946 * gdb.arch/i386-dr3-watch.exp
3947 * gdb.arch/i386-sse-stack-align.exp
3948 * gdb.arch/ia64-breakpoint-shadow.exp
3949 * gdb.arch/pa-nullify.exp
3950 * gdb.arch/powerpc-aix-prologue.exp
3951 * gdb.arch/thumb-bx-pc.exp
3952 * gdb.base/annota1.exp
3953 * gdb.base/annota3.exp
3954 * gdb.base/arrayidx.exp
3955 * gdb.base/assign.exp
3956 * gdb.base/attach.exp
3957 * gdb.base/auxv.exp
3958 * gdb.base/bang.exp
3959 * gdb.base/bfp-test.exp
3960 * gdb.base/bigcore.exp
3961 * gdb.base/bitfields2.exp
3962 * gdb.base/break-fun-addr.exp
3963 * gdb.base/break-probes.exp
3964 * gdb.base/call-rt-st.exp
3965 * gdb.base/callexit.exp
3966 * gdb.base/catch-fork-kill.exp
3967 * gdb.base/charset.exp
3968 * gdb.base/checkpoint.exp
3969 * gdb.base/comprdebug.exp
3970 * gdb.base/constvars.exp
3971 * gdb.base/coredump-filter.exp
3972 * gdb.base/cursal.exp
3973 * gdb.base/cvexpr.exp
3974 * gdb.base/detach.exp
3975 * gdb.base/display.exp
3976 * gdb.base/dmsym.exp
3977 * gdb.base/dprintf-pending.exp
3978 * gdb.base/dso2dso.exp
3979 * gdb.base/dtrace-probe.exp
3980 * gdb.base/dump.exp
3981 * gdb.base/enum_cond.exp
3982 * gdb.base/exe-lock.exp
3983 * gdb.base/exec-invalid-sysroot.exp
3984 * gdb.base/execl-update-breakpoints.exp
3985 * gdb.base/exprs.exp
3986 * gdb.base/fileio.exp
3987 * gdb.base/find.exp
3988 * gdb.base/finish.exp
3989 * gdb.base/fixsection.exp
3990 * gdb.base/foll-vfork.exp
3991 * gdb.base/frame-args.exp
3992 * gdb.base/gcore.exp
3993 * gdb.base/gdb1250.exp
3994 * gdb.base/global-var-nested-by-dso.exp
3995 * gdb.base/gnu-ifunc.exp
3996 * gdb.base/hashline1.exp
3997 * gdb.base/hashline2.exp
3998 * gdb.base/hashline3.exp
3999 * gdb.base/hbreak-in-shr-unsupported.exp
4000 * gdb.base/huge.exp
4001 * gdb.base/infcall-input.exp
4002 * gdb.base/info-fun.exp
4003 * gdb.base/info-shared.exp
4004 * gdb.base/jit-simple.exp
4005 * gdb.base/jit-so.exp
4006 * gdb.base/jit.exp
4007 * gdb.base/jump.exp
4008 * gdb.base/label.exp
4009 * gdb.base/lineinc.exp
4010 * gdb.base/logical.exp
4011 * gdb.base/longjmp.exp
4012 * gdb.base/macscp.exp
4013 * gdb.base/miscexprs.exp
4014 * gdb.base/new-ui-echo.exp
4015 * gdb.base/new-ui-pending-input.exp
4016 * gdb.base/new-ui.exp
4017 * gdb.base/nodebug.exp
4018 * gdb.base/nofield.exp
4019 * gdb.base/offsets.exp
4020 * gdb.base/overlays.exp
4021 * gdb.base/pending.exp
4022 * gdb.base/pointers.exp
4023 * gdb.base/pr11022.exp
4024 * gdb.base/printcmds.exp
4025 * gdb.base/prologue.exp
4026 * gdb.base/ptr-typedef.exp
4027 * gdb.base/realname-expand.exp
4028 * gdb.base/relativedebug.exp
4029 * gdb.base/relocate.exp
4030 * gdb.base/remote.exp
4031 * gdb.base/reread.exp
4032 * gdb.base/return2.exp
4033 * gdb.base/savedregs.exp
4034 * gdb.base/sep.exp
4035 * gdb.base/sepdebug.exp
4036 * gdb.base/sepsymtab.exp
4037 * gdb.base/set-inferior-tty.exp
4038 * gdb.base/setshow.exp
4039 * gdb.base/shlib-call.exp
4040 * gdb.base/sigaltstack.exp
4041 * gdb.base/siginfo-addr.exp
4042 * gdb.base/signals.exp
4043 * gdb.base/signull.exp
4044 * gdb.base/sigrepeat.exp
4045 * gdb.base/so-impl-ld.exp
4046 * gdb.base/solib-display.exp
4047 * gdb.base/solib-overlap.exp
4048 * gdb.base/solib-search.exp
4049 * gdb.base/solib-symbol.exp
4050 * gdb.base/structs.exp
4051 * gdb.base/structs2.exp
4052 * gdb.base/symtab-search-order.exp
4053 * gdb.base/twice.exp
4054 * gdb.base/unload.exp
4055 * gdb.base/varargs.exp
4056 * gdb.base/watchpoint-solib.exp
4057 * gdb.base/watchpoint.exp
4058 * gdb.base/whatis.exp
4059 * gdb.base/wrong_frame_bt_full.exp
4060 * gdb.btrace/dlopen.exp
4061 * gdb.cell/ea-standalone.exp
4062 * gdb.cell/ea-test.exp
4063 * gdb.cp/dispcxx.exp
4064 * gdb.cp/gdb2384.exp
4065 * gdb.cp/method2.exp
4066 * gdb.cp/nextoverthrow.exp
4067 * gdb.cp/pr10728.exp
4068 * gdb.disasm/am33.exp
4069 * gdb.disasm/h8300s.exp
4070 * gdb.disasm/mn10300.exp
4071 * gdb.disasm/sh3.exp
4072 * gdb.dwarf2/dw2-dir-file-name.exp
4073 * gdb.fortran/complex.exp
4074 * gdb.fortran/library-module.exp
4075 * gdb.guile/scm-pretty-print.exp
4076 * gdb.guile/scm-symbol.exp
4077 * gdb.guile/scm-type.exp
4078 * gdb.guile/scm-value.exp
4079 * gdb.linespec/linespec.exp
4080 * gdb.mi/gdb701.exp
4081 * gdb.mi/gdb792.exp
4082 * gdb.mi/mi-breakpoint-changed.exp
4083 * gdb.mi/mi-dprintf-pending.exp
4084 * gdb.mi/mi-dprintf.exp
4085 * gdb.mi/mi-exit-code.exp
4086 * gdb.mi/mi-pending.exp
4087 * gdb.mi/mi-solib.exp
4088 * gdb.mi/new-ui-mi-sync.exp
4089 * gdb.mi/pr11022.exp
4090 * gdb.mi/user-selected-context-sync.exp
4091 * gdb.opt/solib-intra-step.exp
4092 * gdb.python/py-events.exp
4093 * gdb.python/py-finish-breakpoint.exp
4094 * gdb.python/py-mi.exp
4095 * gdb.python/py-prettyprint.exp
4096 * gdb.python/py-shared.exp
4097 * gdb.python/py-symbol.exp
4098 * gdb.python/py-template.exp
4099 * gdb.python/py-type.exp
4100 * gdb.python/py-value.exp
4101 * gdb.reverse/solib-precsave.exp
4102 * gdb.reverse/solib-reverse.exp
4103 * gdb.server/solib-list.exp
4104 * gdb.stabs/weird.exp
4105 * gdb.threads/reconnect-signal.exp
4106 * gdb.threads/stepi-random-signal.exp
4107 * gdb.trace/actions.exp
4108 * gdb.trace/ax.exp
4109 * gdb.trace/backtrace.exp
4110 * gdb.trace/change-loc.exp
4111 * gdb.trace/deltrace.exp
4112 * gdb.trace/ftrace-lock.exp
4113 * gdb.trace/ftrace.exp
4114 * gdb.trace/infotrace.exp
4115 * gdb.trace/mi-tracepoint-changed.exp
4116 * gdb.trace/packetlen.exp
4117 * gdb.trace/passcount.exp
4118 * gdb.trace/pending.exp
4119 * gdb.trace/range-stepping.exp
4120 * gdb.trace/report.exp
4121 * gdb.trace/stap-trace.exp
4122 * gdb.trace/tfind.exp
4123 * gdb.trace/trace-break.exp
4124 * gdb.trace/trace-condition.exp
4125 * gdb.trace/trace-enable-disable.exp
4126 * gdb.trace/trace-mt.exp
4127 * gdb.trace/tracecmd.exp
4128 * gdb.trace/tspeed.exp
4129 * gdb.trace/tsv.exp
4130 * lib/perftest.exp
4131
4132 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4133
4134 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4135 with gdb_test_no_output.
4136 Use command as test name.
4137
4138 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4139
4140 Fix test names starting with uppercase throughout the files.
4141
4142 * gdb.ada/assign_1.exp
4143 * gdb.ada/boolean_expr.exp
4144 * gdb.base/arrayidx.exp
4145 * gdb.base/del.exp
4146 * gdb.base/gcore-buffer-overflow.exp
4147 * gdb.base/testenv.exp
4148 * gdb.compile/compile.exp
4149 * gdb.python/py-framefilter-invalidarg.exp
4150 * gdb.python/py-framefilter.exp
4151
4152 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4153
4154 Fix test names starting with uppercase throughout the files.
4155
4156 * gdb.ada/array_return.exp
4157 * gdb.ada/expr_delims.exp
4158 * gdb.ada/mi_dyn_arr.exp
4159 * gdb.ada/mi_interface.exp
4160 * gdb.ada/mi_var_array.exp
4161 * gdb.ada/watch_arg.exp
4162 * gdb.arch/alpha-step.exp
4163 * gdb.arch/altivec-regs.exp
4164 * gdb.arch/e500-regs.exp
4165 * gdb.arch/powerpc-d128-regs.exp
4166 * gdb.base/arrayidx.exp
4167 * gdb.base/break.exp
4168 * gdb.base/checkpoint.exp
4169 * gdb.base/debug-expr.exp
4170 * gdb.base/dmsym.exp
4171 * gdb.base/radix.exp
4172 * gdb.base/sepdebug.exp
4173 * gdb.base/testenv.exp
4174 * gdb.base/watch_thread_num.exp
4175 * gdb.base/watchpoint-cond-gone.exp
4176 * gdb.cell/break.exp
4177 * gdb.cell/ea-cache.exp
4178 * gdb.compile/compile.exp
4179 * gdb.cp/gdb2495.exp
4180 * gdb.gdb/selftest.exp
4181 * gdb.gdb/xfullpath.exp
4182 * gdb.go/hello.exp
4183 * gdb.go/integers.exp
4184 * gdb.objc/basicclass.exp
4185 * gdb.pascal/hello.exp
4186 * gdb.pascal/integers.exp
4187 * gdb.python/py-breakpoint.exp
4188 * gdb.python/py-cmd.exp
4189 * gdb.python/py-linetable.exp
4190 * gdb.python/py-xmethods.exp
4191 * gdb.python/python.exp
4192 * gdb.reverse/consecutive-precsave.exp
4193 * gdb.reverse/finish-precsave.exp
4194 * gdb.reverse/i386-precsave.exp
4195 * gdb.reverse/machinestate-precsave.exp
4196 * gdb.reverse/sigall-precsave.exp
4197 * gdb.reverse/solib-precsave.exp
4198 * gdb.reverse/step-precsave.exp
4199 * gdb.reverse/until-precsave.exp
4200 * gdb.reverse/watch-precsave.exp
4201 * gdb.threads/leader-exit.exp
4202 * gdb.threads/pthreads.exp
4203 * gdb.threads/wp-replication.exp
4204 * gdb.trace/actions.exp
4205 * gdb.trace/mi-tsv-changed.exp
4206 * gdb.trace/tsv.exp
4207
4208 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4209
4210 Fix test names starting with uppercase throughout the files.
4211
4212 * gdb.arch/i386-bp_permanent.exp
4213 * gdb.arch/i386-gnu-cfi.exp
4214 * gdb.base/disasm-end-cu.exp
4215 * gdb.base/macscp.exp
4216 * gdb.base/pending.exp
4217 * gdb.base/watch_thread_num.exp
4218 * gdb.cp/exception.exp
4219 * gdb.cp/gdb2495.exp
4220 * gdb.cp/local.exp
4221 * gdb.python/py-evsignal.exp
4222 * gdb.python/python.exp
4223 * gdb.trace/tracecmd.exp
4224
4225 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4226
4227 Fix test names starting with uppercase throughout the files.
4228
4229 * gdb.base/charset.exp
4230 * gdb.base/eval.exp
4231 * gdb.base/multi-forks.exp
4232 * gdb.guile/scm-progspace.exp
4233 * gdb.opencl/datatypes.exp
4234 * gdb.python/py-block.exp
4235 * gdb.python/py-function.exp
4236 * gdb.python/py-symbol.exp
4237 * gdb.python/py-symtab.exp
4238 * gdb.python/py-xmethods.exp
4239 * gdb.reverse/break-precsave.exp
4240 * gdb.reverse/break-reverse.exp
4241 * gdb.reverse/consecutive-precsave.exp
4242 * gdb.reverse/consecutive-reverse.exp
4243 * gdb.reverse/finish-precsave.exp
4244 * gdb.reverse/finish-reverse-bkpt.exp
4245 * gdb.reverse/finish-reverse.exp
4246 * gdb.reverse/fstatat-reverse.exp
4247 * gdb.reverse/getresuid-reverse.exp
4248 * gdb.reverse/i386-precsave.exp
4249 * gdb.reverse/i386-reverse.exp
4250 * gdb.reverse/i386-sse-reverse.exp
4251 * gdb.reverse/i387-stack-reverse.exp
4252 * gdb.reverse/insn-reverse.exp
4253 * gdb.reverse/machinestate-precsave.exp
4254 * gdb.reverse/machinestate.exp
4255 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4256 * gdb.reverse/pipe-reverse.exp
4257 * gdb.reverse/readv-reverse.exp
4258 * gdb.reverse/recvmsg-reverse.exp
4259 * gdb.reverse/rerun-prec.exp
4260 * gdb.reverse/s390-mvcle.exp
4261 * gdb.reverse/sigall-precsave.exp
4262 * gdb.reverse/sigall-reverse.exp
4263 * gdb.reverse/solib-precsave.exp
4264 * gdb.reverse/solib-reverse.exp
4265 * gdb.reverse/step-precsave.exp
4266 * gdb.reverse/step-reverse.exp
4267 * gdb.reverse/time-reverse.exp
4268 * gdb.reverse/until-precsave.exp
4269 * gdb.reverse/until-reverse.exp
4270 * gdb.reverse/waitpid-reverse.exp
4271 * gdb.reverse/watch-precsave.exp
4272 * gdb.reverse/watch-reverse.exp
4273
4274 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4275
4276 Fix test names starting with uppercase throughout the files.
4277
4278 * gdb.arch/i386-mpx-simple_segv.exp
4279 * gdb.arch/i386-mpx.exp
4280 * gdb.arch/i386-permbkpt.exp
4281 * gdb.arch/pa-nullify.exp
4282 * gdb.arch/powerpc-d128-regs.exp
4283 * gdb.arch/vsx-regs.exp
4284 * gdb.base/bfp-test.exp
4285 * gdb.base/break.exp
4286 * gdb.base/breakpoint-shadow.exp
4287 * gdb.base/callfuncs.exp
4288 * gdb.base/charset.exp
4289 * gdb.base/commands.exp
4290 * gdb.base/completion.exp
4291 * gdb.base/dfp-test.exp
4292 * gdb.base/echo.exp
4293 * gdb.base/ending-run.exp
4294 * gdb.base/eval.exp
4295 * gdb.base/expand-psymtabs.exp
4296 * gdb.base/float128.exp
4297 * gdb.base/floatn.exp
4298 * gdb.base/foll-exec-mode.exp
4299 * gdb.base/gdb1056.exp
4300 * gdb.base/gdb11531.exp
4301 * gdb.base/kill-after-signal.exp
4302 * gdb.base/multi-forks.exp
4303 * gdb.base/overlays.exp
4304 * gdb.base/pending.exp
4305 * gdb.base/sepdebug.exp
4306 * gdb.base/testenv.exp
4307 * gdb.base/valgrind-db-attach.exp
4308 * gdb.base/watch_thread_num.exp
4309 * gdb.base/watchpoint-cond-gone.exp
4310 * gdb.base/watchpoint.exp
4311 * gdb.base/watchpoints.exp
4312 * gdb.cp/arg-reference.exp
4313 * gdb.cp/baseenum.exp
4314 * gdb.cp/operator.exp
4315 * gdb.cp/shadow.exp
4316 * gdb.dwarf2/dw2-op-out-param.exp
4317 * gdb.dwarf2/dw2-reg-undefined.exp
4318 * gdb.go/chan.exp
4319 * gdb.go/hello.exp
4320 * gdb.go/integers.exp
4321 * gdb.go/methods.exp
4322 * gdb.go/package.exp
4323 * gdb.guile/scm-parameter.exp
4324 * gdb.guile/scm-progspace.exp
4325 * gdb.guile/scm-value.exp
4326 * gdb.mi/mi-pending.exp
4327 * gdb.mi/user-selected-context-sync.exp
4328 * gdb.multi/multi-attach.exp
4329 * gdb.multi/tids.exp
4330 * gdb.opt/clobbered-registers-O2.exp
4331 * gdb.pascal/floats.exp
4332 * gdb.pascal/integers.exp
4333 * gdb.python/py-block.exp
4334 * gdb.python/py-events.exp
4335 * gdb.python/py-parameter.exp
4336 * gdb.python/py-symbol.exp
4337 * gdb.python/py-symtab.exp
4338 * gdb.python/py-type.exp
4339 * gdb.python/py-value.exp
4340 * gdb.python/py-xmethods.exp
4341 * gdb.python/python.exp
4342 * gdb.reverse/break-precsave.exp
4343 * gdb.reverse/consecutive-precsave.exp
4344 * gdb.reverse/finish-precsave.exp
4345 * gdb.reverse/i386-precsave.exp
4346 * gdb.reverse/machinestate-precsave.exp
4347 * gdb.reverse/sigall-precsave.exp
4348 * gdb.reverse/solib-precsave.exp
4349 * gdb.reverse/step-precsave.exp
4350 * gdb.reverse/until-precsave.exp
4351 * gdb.reverse/watch-precsave.exp
4352 * gdb.server/ext-attach.exp
4353 * gdb.server/ext-restart.exp
4354 * gdb.server/ext-run.exp
4355 * gdb.server/ext-wrapper.exp
4356 * gdb.stabs/gdb11479.exp
4357 * gdb.stabs/weird.exp
4358 * gdb.threads/attach-many-short-lived-threads.exp
4359 * gdb.threads/kill.exp
4360 * gdb.threads/watchpoint-fork.exp
4361
4362 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4363
4364 Fix test names starting with uppercase throughout all the files below.
4365
4366 * gdb.ada/array_return.exp
4367 * gdb.ada/catch_ex.exp
4368 * gdb.ada/info_exc.exp
4369 * gdb.ada/mi_catch_ex.exp
4370 * gdb.ada/mi_dyn_arr.exp
4371 * gdb.ada/mi_ex_cond.exp
4372 * gdb.ada/mi_exc_info.exp
4373 * gdb.ada/mi_interface.exp
4374 * gdb.ada/mi_task_arg.exp
4375 * gdb.ada/mi_task_info.exp
4376 * gdb.ada/mi_var_array.exp
4377 * gdb.arch/alpha-step.exp
4378 * gdb.arch/amd64-disp-step.exp
4379 * gdb.arch/arm-disp-step.exp
4380 * gdb.arch/disp-step-insn-reloc.exp
4381 * gdb.arch/e500-prologue.exp
4382 * gdb.arch/ftrace-insn-reloc.exp
4383 * gdb.arch/gdb1558.exp
4384 * gdb.arch/i386-bp_permanent.exp
4385 * gdb.arch/i386-disp-step.exp
4386 * gdb.arch/i386-float.exp
4387 * gdb.arch/i386-gnu-cfi.exp
4388 * gdb.arch/ia64-breakpoint-shadow.exp
4389 * gdb.arch/mips16-thunks.exp
4390 * gdb.arch/pa-nullify.exp
4391 * gdb.arch/powerpc-aix-prologue.exp
4392 * gdb.arch/powerpc-power.exp
4393 * gdb.arch/ppc-dfp.exp
4394 * gdb.arch/s390-tdbregs.exp
4395 * gdb.arch/spu-info.exp
4396 * gdb.arch/spu-ls.exp
4397 * gdb.arch/thumb-bx-pc.exp
4398 * gdb.base/advance.exp
4399 * gdb.base/annota-input-while-running.exp
4400 * gdb.base/arrayidx.exp
4401 * gdb.base/asmlabel.exp
4402 * gdb.base/async.exp
4403 * gdb.base/attach-wait-input.exp
4404 * gdb.base/auto-connect-native-target.exp
4405 * gdb.base/batch-preserve-term-settings.exp
4406 * gdb.base/bfp-test.exp
4407 * gdb.base/bigcore.exp
4408 * gdb.base/bp-permanent.exp
4409 * gdb.base/break-always.exp
4410 * gdb.base/break-fun-addr.exp
4411 * gdb.base/break-idempotent.exp
4412 * gdb.base/break-main-file-remove-fail.exp
4413 * gdb.base/break-probes.exp
4414 * gdb.base/break-unload-file.exp
4415 * gdb.base/break.exp
4416 * gdb.base/call-ar-st.exp
4417 * gdb.base/call-rt-st.exp
4418 * gdb.base/call-sc.exp
4419 * gdb.base/call-signal-resume.exp
4420 * gdb.base/call-strs.exp
4421 * gdb.base/callexit.exp
4422 * gdb.base/callfuncs.exp
4423 * gdb.base/catch-gdb-caused-signals.exp
4424 * gdb.base/catch-signal-siginfo-cond.exp
4425 * gdb.base/catch-syscall.exp
4426 * gdb.base/compare-sections.exp
4427 * gdb.base/cond-eval-mode.exp
4428 * gdb.base/condbreak-call-false.exp
4429 * gdb.base/consecutive-step-over.exp
4430 * gdb.base/cursal.exp
4431 * gdb.base/disabled-location.exp
4432 * gdb.base/disasm-end-cu.exp
4433 * gdb.base/display.exp
4434 * gdb.base/double-prompt-target-event-error.exp
4435 * gdb.base/dprintf-bp-same-addr.exp
4436 * gdb.base/dprintf-detach.exp
4437 * gdb.base/dprintf-next.exp
4438 * gdb.base/dprintf-non-stop.exp
4439 * gdb.base/dprintf-pending.exp
4440 * gdb.base/dso2dso.exp
4441 * gdb.base/ending-run.exp
4442 * gdb.base/enum_cond.exp
4443 * gdb.base/examine-backward.exp
4444 * gdb.base/exe-lock.exp
4445 * gdb.base/exec-invalid-sysroot.exp
4446 * gdb.base/execl-update-breakpoints.exp
4447 * gdb.base/execution-termios.exp
4448 * gdb.base/fileio.exp
4449 * gdb.base/fixsection.exp
4450 * gdb.base/foll-exec-mode.exp
4451 * gdb.base/foll-exec.exp
4452 * gdb.base/fork-running-state.exp
4453 * gdb.base/frame-args.exp
4454 * gdb.base/fullpath-expand.exp
4455 * gdb.base/func-ptr.exp
4456 * gdb.base/gcore-relro-pie.exp
4457 * gdb.base/gdb1090.exp
4458 * gdb.base/gdb1555.exp
4459 * gdb.base/global-var-nested-by-dso.exp
4460 * gdb.base/gnu-ifunc.exp
4461 * gdb.base/hbreak-in-shr-unsupported.exp
4462 * gdb.base/hbreak-unmapped.exp
4463 * gdb.base/hook-stop.exp
4464 * gdb.base/infcall-input.exp
4465 * gdb.base/info-fun.exp
4466 * gdb.base/info-shared.exp
4467 * gdb.base/interrupt-noterm.exp
4468 * gdb.base/jit-so.exp
4469 * gdb.base/jit.exp
4470 * gdb.base/line-symtabs.exp
4471 * gdb.base/list.exp
4472 * gdb.base/longjmp.exp
4473 * gdb.base/macscp.exp
4474 * gdb.base/max-value-size.exp
4475 * gdb.base/nodebug.exp
4476 * gdb.base/nofield.exp
4477 * gdb.base/overlays.exp
4478 * gdb.base/paginate-after-ctrl-c-running.exp
4479 * gdb.base/paginate-bg-execution.exp
4480 * gdb.base/paginate-inferior-exit.exp
4481 * gdb.base/pending.exp
4482 * gdb.base/pr11022.exp
4483 * gdb.base/printcmds.exp
4484 * gdb.base/ptr-typedef.exp
4485 * gdb.base/ptype.exp
4486 * gdb.base/randomize.exp
4487 * gdb.base/range-stepping.exp
4488 * gdb.base/realname-expand.exp
4489 * gdb.base/relativedebug.exp
4490 * gdb.base/remote.exp
4491 * gdb.base/savedregs.exp
4492 * gdb.base/sepdebug.exp
4493 * gdb.base/set-noassign.exp
4494 * gdb.base/shlib-call.exp
4495 * gdb.base/shreloc.exp
4496 * gdb.base/sigaltstack.exp
4497 * gdb.base/sigbpt.exp
4498 * gdb.base/siginfo-addr.exp
4499 * gdb.base/siginfo-obj.exp
4500 * gdb.base/siginfo-thread.exp
4501 * gdb.base/signest.exp
4502 * gdb.base/signull.exp
4503 * gdb.base/sigrepeat.exp
4504 * gdb.base/skip.exp
4505 * gdb.base/so-impl-ld.exp
4506 * gdb.base/solib-corrupted.exp
4507 * gdb.base/solib-disc.exp
4508 * gdb.base/solib-display.exp
4509 * gdb.base/solib-overlap.exp
4510 * gdb.base/solib-search.exp
4511 * gdb.base/solib-symbol.exp
4512 * gdb.base/source-execution.exp
4513 * gdb.base/sss-bp-on-user-bp-2.exp
4514 * gdb.base/sss-bp-on-user-bp.exp
4515 * gdb.base/stack-checking.exp
4516 * gdb.base/stale-infcall.exp
4517 * gdb.base/step-break.exp
4518 * gdb.base/step-line.exp
4519 * gdb.base/step-over-exit.exp
4520 * gdb.base/step-test.exp
4521 * gdb.base/structs.exp
4522 * gdb.base/sym-file.exp
4523 * gdb.base/symtab-search-order.exp
4524 * gdb.base/term.exp
4525 * gdb.base/type-opaque.exp
4526 * gdb.base/unload.exp
4527 * gdb.base/until-nodebug.exp
4528 * gdb.base/until.exp
4529 * gdb.base/unwindonsignal.exp
4530 * gdb.base/watch-cond.exp
4531 * gdb.base/watch-non-mem.exp
4532 * gdb.base/watch_thread_num.exp
4533 * gdb.base/watchpoint-reuse-slot.exp
4534 * gdb.base/watchpoint-solib.exp
4535 * gdb.base/watchpoint.exp
4536 * gdb.btrace/dlopen.exp
4537 * gdb.cell/arch.exp
4538 * gdb.cell/break.exp
4539 * gdb.cell/bt.exp
4540 * gdb.cell/core.exp
4541 * gdb.cell/data.exp
4542 * gdb.cell/dwarfaddr.exp
4543 * gdb.cell/ea-cache.exp
4544 * gdb.cell/ea-standalone.exp
4545 * gdb.cell/ea-test.exp
4546 * gdb.cell/f-regs.exp
4547 * gdb.cell/fork.exp
4548 * gdb.cell/gcore.exp
4549 * gdb.cell/mem-access.exp
4550 * gdb.cell/ptype.exp
4551 * gdb.cell/registers.exp
4552 * gdb.cell/sizeof.exp
4553 * gdb.cell/solib-symbol.exp
4554 * gdb.cell/solib.exp
4555 * gdb.compile/compile-tls.exp
4556 * gdb.cp/exception.exp
4557 * gdb.cp/gdb2495.exp
4558 * gdb.cp/local.exp
4559 * gdb.cp/mb-inline.exp
4560 * gdb.cp/mb-templates.exp
4561 * gdb.cp/pr10687.exp
4562 * gdb.cp/pr9167.exp
4563 * gdb.cp/scope-err.exp
4564 * gdb.cp/templates.exp
4565 * gdb.cp/virtfunc.exp
4566 * gdb.dwarf2/dw2-dir-file-name.exp
4567 * gdb.dwarf2/dw2-single-line-discriminators.exp
4568 * gdb.fortran/complex.exp
4569 * gdb.fortran/library-module.exp
4570 * gdb.guile/guile.exp
4571 * gdb.guile/scm-cmd.exp
4572 * gdb.guile/scm-frame-inline.exp
4573 * gdb.guile/scm-objfile.exp
4574 * gdb.guile/scm-pretty-print.exp
4575 * gdb.guile/scm-symbol.exp
4576 * gdb.guile/scm-type.exp
4577 * gdb.guile/scm-value.exp
4578 * gdb.linespec/keywords.exp
4579 * gdb.linespec/ls-errs.exp
4580 * gdb.linespec/macro-relative.exp
4581 * gdb.linespec/thread.exp
4582 * gdb.mi/mi-breakpoint-changed.exp
4583 * gdb.mi/mi-dprintf-pending.exp
4584 * gdb.mi/mi-fullname-deleted.exp
4585 * gdb.mi/mi-logging.exp
4586 * gdb.mi/mi-pending.exp
4587 * gdb.mi/mi-solib.exp
4588 * gdb.mi/new-ui-mi-sync.exp
4589 * gdb.mi/user-selected-context-sync.exp
4590 * gdb.multi/dummy-frame-restore.exp
4591 * gdb.multi/multi-arch-exec.exp
4592 * gdb.multi/remove-inferiors.exp
4593 * gdb.multi/watchpoint-multi-exit.exp
4594 * gdb.opt/solib-intra-step.exp
4595 * gdb.perf/backtrace.exp
4596 * gdb.perf/single-step.exp
4597 * gdb.perf/skip-command.exp
4598 * gdb.perf/skip-prologue.exp
4599 * gdb.perf/solib.exp
4600 * gdb.python/lib-types.exp
4601 * gdb.python/py-as-string.exp
4602 * gdb.python/py-bad-printers.exp
4603 * gdb.python/py-block.exp
4604 * gdb.python/py-breakpoint.exp
4605 * gdb.python/py-cmd.exp
4606 * gdb.python/py-events.exp
4607 * gdb.python/py-evthreads.exp
4608 * gdb.python/py-finish-breakpoint.exp
4609 * gdb.python/py-finish-breakpoint2.exp
4610 * gdb.python/py-frame-inline.exp
4611 * gdb.python/py-frame.exp
4612 * gdb.python/py-inferior.exp
4613 * gdb.python/py-infthread.exp
4614 * gdb.python/py-mi.exp
4615 * gdb.python/py-objfile.exp
4616 * gdb.python/py-pp-maint.exp
4617 * gdb.python/py-pp-registration.exp
4618 * gdb.python/py-prettyprint.exp
4619 * gdb.python/py-recurse-unwind.exp
4620 * gdb.python/py-shared.exp
4621 * gdb.python/py-symbol.exp
4622 * gdb.python/py-symtab.exp
4623 * gdb.python/py-template.exp
4624 * gdb.python/py-type.exp
4625 * gdb.python/py-unwind-maint.exp
4626 * gdb.python/py-unwind.exp
4627 * gdb.python/py-value.exp
4628 * gdb.python/python.exp
4629 * gdb.reverse/finish-reverse-bkpt.exp
4630 * gdb.reverse/insn-reverse.exp
4631 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4632 * gdb.reverse/solib-precsave.exp
4633 * gdb.reverse/solib-reverse.exp
4634 * gdb.stabs/gdb11479.exp
4635 * gdb.stabs/weird.exp
4636 * gdb.threads/fork-child-threads.exp
4637 * gdb.threads/fork-plus-threads.exp
4638 * gdb.threads/fork-thread-pending.exp
4639 * gdb.threads/forking-threads-plus-breakpoint.exp
4640 * gdb.threads/hand-call-in-threads.exp
4641 * gdb.threads/interrupted-hand-call.exp
4642 * gdb.threads/linux-dp.exp
4643 * gdb.threads/local-watch-wrong-thread.exp
4644 * gdb.threads/next-while-other-thread-longjmps.exp
4645 * gdb.threads/non-ldr-exit.exp
4646 * gdb.threads/pending-step.exp
4647 * gdb.threads/print-threads.exp
4648 * gdb.threads/process-dies-while-detaching.exp
4649 * gdb.threads/process-dies-while-handling-bp.exp
4650 * gdb.threads/pthreads.exp
4651 * gdb.threads/queue-signal.exp
4652 * gdb.threads/reconnect-signal.exp
4653 * gdb.threads/signal-command-handle-nopass.exp
4654 * gdb.threads/signal-command-multiple-signals-pending.exp
4655 * gdb.threads/signal-delivered-right-thread.exp
4656 * gdb.threads/signal-sigtrap.exp
4657 * gdb.threads/sigthread.exp
4658 * gdb.threads/staticthreads.exp
4659 * gdb.threads/stepi-random-signal.exp
4660 * gdb.threads/thread-unwindonsignal.exp
4661 * gdb.threads/thread_check.exp
4662 * gdb.threads/thread_events.exp
4663 * gdb.threads/tid-reuse.exp
4664 * gdb.threads/tls-nodebug.exp
4665 * gdb.threads/tls-shared.exp
4666 * gdb.threads/tls-so_extern.exp
4667 * gdb.threads/tls.exp
4668 * gdb.threads/wp-replication.exp
4669 * gdb.trace/actions-changed.exp
4670 * gdb.trace/actions.exp
4671 * gdb.trace/backtrace.exp
4672 * gdb.trace/change-loc.exp
4673 * gdb.trace/collection.exp
4674 * gdb.trace/deltrace.exp
4675 * gdb.trace/disconnected-tracing.exp
4676 * gdb.trace/entry-values.exp
4677 * gdb.trace/ftrace-lock.exp
4678 * gdb.trace/ftrace.exp
4679 * gdb.trace/infotrace.exp
4680 * gdb.trace/mi-trace-frame-collected.exp
4681 * gdb.trace/mi-trace-unavailable.exp
4682 * gdb.trace/mi-traceframe-changed.exp
4683 * gdb.trace/mi-tracepoint-changed.exp
4684 * gdb.trace/mi-tsv-changed.exp
4685 * gdb.trace/no-attach-trace.exp
4686 * gdb.trace/packetlen.exp
4687 * gdb.trace/passc-dyn.exp
4688 * gdb.trace/passcount.exp
4689 * gdb.trace/pending.exp
4690 * gdb.trace/pr16508.exp
4691 * gdb.trace/qtro.exp
4692 * gdb.trace/range-stepping.exp
4693 * gdb.trace/read-memory.exp
4694 * gdb.trace/report.exp
4695 * gdb.trace/save-trace.exp
4696 * gdb.trace/signal.exp
4697 * gdb.trace/stap-trace.exp
4698 * gdb.trace/status-stop.exp
4699 * gdb.trace/strace.exp
4700 * gdb.trace/tfile.exp
4701 * gdb.trace/tfind.exp
4702 * gdb.trace/trace-break.exp
4703 * gdb.trace/trace-condition.exp
4704 * gdb.trace/trace-enable-disable.exp
4705 * gdb.trace/trace-mt.exp
4706 * gdb.trace/tracecmd.exp
4707 * gdb.trace/tracefile-pseudo-reg.exp
4708 * gdb.trace/tspeed.exp
4709 * gdb.trace/tstatus.exp
4710 * gdb.trace/tsv.exp
4711 * gdb.trace/unavailable.exp
4712 * gdb.trace/while-dyn.exp
4713 * gdb.trace/while-stepping.exp
4714 * lib/gdb-guile.exp
4715 * lib/gdb.exp
4716 * lib/mi-support.exp
4717 * lib/pascal.exp
4718 * lib/perftest.exp
4719 * lib/prelink-support.exp
4720 * lib/selftest-support.exp
4721
4722 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4723
4724 * Makefile.in: Include disable-implicit-rules.mk.
4725
4726 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4727
4728 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4729 non-byte-aligned bit fields.
4730
4731 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4732
4733 PR gdb/12616
4734 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4735 respects the DW_AT_data_bit_offset attribute.
4736
4737 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4738
4739 * gdb.base/default.exp: Fix output of "set language".
4740
4741 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4742
4743 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4744 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4745 make.
4746 * configure.ac: Remove checks for the make program.
4747 * configure: Re-generate.
4748
4749 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4750
4751 * gdb.python/py-recurse-unwind.c (main): Add loop.
4752 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4753 to read_register() and gdb.parse_and_eval(). Make each code
4754 call a separate case that can be individually tested.
4755 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4756 proc. Call cont_and_backtrace for each of the code paths that
4757 we want to test in the unwinder.
4758
4759 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4760
4761 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4762 the definition of struct S.
4763
4764 2016-11-11 Catherine Moore <clm@codesourcery.com>
4765
4766 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4767
4768 2016-11-09 Pedro Alves <palves@redhat.com>
4769
4770 * gdb.base/commands.exp (runto_or_return): New procedure.
4771 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4772 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4773 (progvar_simple_while_test, progvar_complex_if_while_test)
4774 (if_while_breakpoint_command_test)
4775 (infrun_breakpoint_command_test, breakpoint_command_test)
4776 (user_defined_command_test, watchpoint_command_test)
4777 (test_command_prompt_position, redefine_hook_test)
4778 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4779 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4780 multi_line_input and multi_line. Remove gdb_expect and
4781 gdb_stop_suppressing_tests uses.
4782 * lib/gdb.exp (valnum_re): New global.
4783 (multi_line_input): New procedure.
4784
4785 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4786
4787 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4788 Remove.
4789 (test_setup): Define with proc_with_prefix.
4790 (test_cli_inferior): Likewise.
4791 (test_cli_thread): Likewise.
4792 (test_cli_frame): Likewise.
4793 (test_cli_select_frame): Likewise.
4794 (test_cli_up_down): Likewise.
4795 (test_mi_thread_select): Likewise.
4796 (test_mi_stack_select_frame): Likewise.
4797 (test_cli_in_mi_inferior): Likewise.
4798 (test_cli_in_mi_thread): Likewise.
4799 (test_cli_in_mi_frame): Likewise.
4800 (top level): Do not use with_test_prefix_procname.
4801
4802 2016-11-09 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.base/commands.exp (gdbvar_simple_if_test)
4805 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4806 (progvar_simple_if_test, progvar_simple_while_test)
4807 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4808 (infrun_breakpoint_command_test, breakpoint_command_test)
4809 (user_defined_command_test, watchpoint_command_test)
4810 (test_command_prompt_position, deprecated_command_test)
4811 (bp_deleted_in_command, temporary_breakpoint_commands)
4812 (stray_arg0_test, source_file_with_indented_comment)
4813 (recursive_source_test, if_commands_test)
4814 (error_clears_commands_left, redefine_hook_test)
4815 (redefine_backtrace_test): Use proc_with_prefix.
4816 * lib/gdb.exp (proc_with_prefix): New proc.
4817
4818 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4819
4820 * gdb.base/tui-layout.c: New file.
4821 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4822 disassembly window contains very long lines.
4823
4824 2016-11-08 Tom Tromey <tom@tromey.com>
4825
4826 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4827 depend on Python 2.
4828
4829 2016-11-08 Tom Tromey <tom@tromey.com>
4830
4831 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4832 New method.
4833
4834 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4835
4836 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4837
4838 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4839
4840 * gdb.rust/simple.rs: Add test for univariant enums without
4841 discriminants and for encoded struct-like enums.
4842
4843 2016-10-28 Pedro Alves <palves@redhat.com>
4844
4845 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4846 gdb_test_multiple, tighten regexps and match symtabs and line
4847 tables incrementally.
4848
4849 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4850
4851 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4852 general.
4853
4854 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4855
4856 * gdb.base/exec-invalid-sysroot.exp: New file.
4857
4858 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4859
4860 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4861
4862 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4863
4864 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4865
4866 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4867
4868 * gdb.base/killed-outside.exp: Remove $options from a call to
4869 `prepare_for_testing'.
4870
4871 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4872
4873 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4874 Change test message.
4875
4876 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4877
4878 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4879 Update comment.
4880
4881 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4882
4883 * gdb.trace/mi-trace-save.exp: New file.
4884
4885 2016-10-13 Yao Qi <yao.qi@linaro.org>
4886
4887 * gdb.base/code_elim.exp (get_var_address): Remove.
4888 * gdb.base/relocate.exp: Likewise.
4889 * gdb.base/shreloc.exp: Likewise.
4890 * lib/gdb.exp (get_var_address): New.
4891
4892 2016-10-13 Yao Qi <yao.qi@linaro.org>
4893
4894 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4895 floating point tests if $skip_float_test is false.
4896
4897 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4898
4899 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4900 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4901 argc values.
4902 Add 1 to argc so we guarantee distinct initial/modified argc values.
4903
4904 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4907
4908 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4909
4910 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4911 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4912 * gdb.arch/vsx-regs.exp: Likewise.
4913
4914 2016-10-07 Yao Qi <yao.qi@linaro.org>
4915
4916 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4917
4918 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4919
4920 * gdb.python/python.exp: Test decode_line("*0").
4921
4922 2016-10-06 Doug Evans <dje@google.com>
4923
4924 * gdb.python/py-value.exp (test_value_creation): Add test for large
4925 unsigned 64-bit value.
4926
4927 2016-10-06 Tom Tromey <tom@tromey.com>
4928
4929 * gdb.compile/compile.exp: Change java tests to rust.
4930 * gdb.base/setshow.exp: Change java tests to rust.
4931 * gdb.base/default.exp: Remove java from language list.
4932 * README (Examples): Update language example.
4933 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4934 test.
4935 * lib/gdb.exp (skip_java_tests): Remove.
4936 * lib/java.exp: Remove.
4937 * gdb.java: Remove.
4938
4939 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4940
4941 * gdb.arch/mips-fcr.exp: New test.
4942 * gdb.arch/mips-fcr.c: Source for the new test.
4943
4944 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4945
4946 * gdb.base/solib-disc.exp: Use `standard_output_file'
4947 throughout.
4948
4949 2016-10-06 Pedro Alves <palves@redhat.com>
4950
4951 * gdb.base/jit-simple-dl.c: New file.
4952 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4953 * gdb.base/jit-simple.c: ... this.
4954 * gdb.base/jit-simple.exp (jit_run): Delete.
4955 (build_jit): New proc.
4956 (jit_test_reread): Recompile either the main program or the shared
4957 library, depending on what is being tested. Skip changing address
4958 if caller wants to. Compare before/after addresses. If testing
4959 standalone, explicitly load the binary. Test "maint info
4960 breakpoints".
4961 (top level): Add "standalone vs shared lib" and "change address"
4962 vs "same address" axes.
4963
4964 2016-10-06 Pedro Alves <palves@redhat.com>
4965
4966 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4967 call.
4968 (jit_run): Delete.
4969 (jit_test_reread): Use with_test_prefix. Reload the main binary
4970 explicitly. Compare the before/after addresses of the JIT
4971 descriptor.
4972
4973 2016-08-15 Doug Evans <dje@google.com>
4974
4975 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4976 for single bitfields is bool.
4977 * gdb.xml/tdesc-regs.exp: Ditto.
4978
4979 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4980
4981 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4982
4983 2016-10-05 Yao Qi <yao.qi@linaro.org>
4984
4985 * lib/gdb.exp (support_complex_tests): Return zero if
4986 gdb_skip_float_test return true.
4987
4988 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4989 Simon Marchi <simon.marchi@ericsson.com>
4990
4991 PR gdb/20487
4992 * gdb.mi/user-selected-context-sync.exp: New file.
4993 * gdb.mi/user-selected-context-sync.c: New file.
4994
4995 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4996 Simon Marchi <simon.marchi@ericsson.com>
4997
4998 PR gdb/20487
4999 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5000 =thread-select-event check.
5001
5002 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5003
5004 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5005 the compulsory L operand changes.
5006 * gdb.arch/powerpc-power.s: Likewise.
5007
5008 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5011 * gdb.base/jit-attach-pie.c: New file.
5012 * gdb.base/jit-attach-pie.exp: New file.
5013
5014 2016-09-28 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.base/infcall-input.c: New file.
5017 * gdb.base/infcall-input.exp: New file.
5018
5019 2016-09-22 Yao Qi <yao.qi@linaro.org>
5020
5021 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5022 (gdb_exit): Rename it to ...
5023 (gdbserver_gdb_exit): ... Close GDBserver.
5024 (gdb_exit): New proc, call gdbserver_gdb_exit.
5025 (mi_gdb_exit): Likewise.
5026
5027 2016-09-22 Yao Qi <yao.qi@linaro.org>
5028
5029 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5030 path.
5031 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5032 Remove duplication.
5033
5034 2016-09-22 Yao Qi <yao.qi@linaro.org>
5035
5036 * lib/gdbserver-support.exp: Check the existence of
5037 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5038
5039 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5040
5041 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5042
5043 2016-09-21 Tom Tromey <tom@tromey.com>
5044
5045 PR gdb/20604:
5046 * gdb.base/quit.exp: New file.
5047
5048 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5049
5050 * .gitignore: New file.
5051
5052 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5053
5054 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5055 throughout.
5056
5057 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5058
5059 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5060
5061 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5062
5063 * gdb.cp/casts.cc (decltype): Move it ...
5064 (main): ... with its call to ...
5065 * gdb.cp/casts03.cc: ... a new file.
5066 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5067
5068 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5069
5070 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5071
5072 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5073
5074 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5075 and sync up the test with tests in gas/testsuite/gas/ppc.
5076 * gdb.arch/powerpc-power.exp: Likewise.
5077
5078 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5081
5082 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5083 Jan Kratochvil <jan.kratochvil@redhat.com>
5084
5085 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5086 make m1's definition to be different from m2's. Use 'dummy' as an
5087 argument for probe 'two'.
5088
5089 2016-09-10 Jon Beniston <jon@beniston.com>
5090
5091 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5092 for sim target.
5093
5094 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5095
5096 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5097 variable declaration.
5098 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5099 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5100 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5101 received HWCAP as its argument.
5102
5103 2016-09-06 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.base/new-ui-pending-input.c: New file.
5106 * gdb.base/new-ui-pending-input.exp: New file.
5107 * gdb.exp (clear_gdb_spawn_id): New procedure.
5108 (with_spawn_id): Check whether gdb_spawn_id exists before
5109 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5110 on exit.
5111
5112 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5113
5114 * gdb.base/float128.c: New file.
5115 * gdb.base/float128.exp: Likewise.
5116 * gdb.base/floatn.c: Likewise.
5117 * gdb.base/floatn.exp: Likewise.
5118
5119 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5120
5121 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5122
5123 2016-09-05 Pedro Alves <palves@redhat.com>
5124
5125 PR backtrace/19927
5126 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5127 unwinders are immediately called as side effect of "source" or
5128 "disable unwinder" commands.
5129 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5130
5131 2016-09-02 Yao Qi <yao.qi@linaro.org>
5132
5133 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5134 is true and $type is "float" or "double".
5135
5136 2016-09-02 Yao Qi <yao.qi@linaro.org>
5137
5138 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5139 true.
5140 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5141 * gdb.base/call-rt-st.exp: Likewise.
5142 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5143 return value instead of gdb,skip_float_test.
5144 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5145 (do_function_calls): Use its return value instead of
5146 gdb,skip_float_test.
5147 * gdb.base/finish.exp: Likewise.
5148 * gdb.base/funcargs.exp: Likewise.
5149 * gdb.base/return.exp: Likewise.
5150 * gdb.base/return2.exp: Likewise.
5151 * gdb.base/varargs.exp: Likewise.
5152 * lib/gdb.exp (gdb_skip_float_test): Change it to
5153 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5154
5155 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5156
5157 * gdb.multi/tids.exp: Test "thread apply all".
5158
5159 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5160
5161 * gdb.base/default.exp (tty): Remove.
5162
5163 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5164
5165 * gdb.python/py-recurse-unwind.c: New file.
5166 * gdb.python/py-recurse-unwind.py: New file.
5167 * gdb.python/py-recurse-unwind.exp: New file.
5168
5169 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5170
5171 * gdb.base/set-inferior-tty.exp: New file.
5172 * gdb.base/set-inferior-tty.c: New file.
5173
5174 2016-08-23 Pedro Alves <palves@redhat.com>
5175
5176 PR gdb/20494
5177 * gdb.base/new-ui-echo.c: New file.
5178 * gdb.base/new-ui-echo.exp: New file.
5179
5180 2016-08-23 Yao Qi <yao.qi@linaro.org>
5181
5182 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5183 gdbserver_spawn.
5184 * gdb.server/connect-without-multi-process.exp (do_test):
5185 Likewise.
5186
5187 2016-08-23 Yao Qi <yao.qi@linaro.org>
5188
5189 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5190 standalone_txt. Delete gdb_txt and standalone_txt on host
5191 and target. Spawn the binary on target. Copy files from
5192 target to host.
5193
5194 2016-08-22 Pedro Alves <palves@redhat.com>
5195
5196 PR gdb/20505
5197 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5198 with_test_prefix. Factor out bits to ...
5199 (test_no_vdso): ... this new procedure.
5200
5201 2016-08-19 Carl Love <cel@us.ibm.com>
5202
5203 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5204 maintaining separate logic for constructing the output path.
5205 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5206 * gdb.arch/ppc-dfp.exp: Likewise.
5207 * gdb.arch/ppc-fp.exp: Likewise.
5208 * gdb.arch/vsx-regs.exp: Likewise.
5209 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5210 binprefix for generating the additional binary files.
5211
5212 2016-08-19 Pedro Alves <palves@redhat.com>
5213
5214 * gdb.trace/mi-trace-frame-collected.exp
5215 (test_trace_frame_collected): On x32, expect two registers.
5216
5217 2016-08-18 Carl Love <cel@us.ibm.com>
5218
5219 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5220 and sync up the test with tests in gas/testsuite/gas/ppc.
5221 * gdb.arch/powerpc-power.exp: Likewise.
5222
5223 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5224
5225 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5226 expected error message.
5227
5228 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5229
5230 * gdb.multi/remove-inferiors.exp: New file.
5231 * gdb.multi/remove-inferiors.c: New file.
5232
5233 2016-08-12 Yao Qi <yao.qi@linaro.org>
5234
5235 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5236 argument list.
5237
5238 2016-08-10 Pedro Alves <palves@redhat.com>
5239
5240 PR gdb/19187
5241 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5242 setup_kfails.
5243
5244 2016-08-09 Pedro Alves <palves@redhat.com>
5245 Simon Marchi <simon.marchi@ericsson.com>
5246
5247 PR gdb/20418
5248 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5249 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5250
5251 2016-08-09 Pedro Alves <palves@redhat.com>
5252
5253 PR mi/20431
5254 * gdb.mi/mi-cmd-error.exp: New file.
5255
5256 2016-08-09 Pedro Alves <palves@redhat.com>
5257
5258 PR gdb/18653
5259 * gdb.base/signals-state-child.c: New file.
5260 * gdb.base/signals-state-child.exp: New file.
5261 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5262
5263 2016-08-09 Pedro Alves <palves@redhat.com>
5264
5265 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5266
5267 2016-08-03 Tom Tromey <tom@tromey.com>
5268
5269 PR python/18565:
5270 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5271
5272 2016-08-01 Yao Qi <yao.qi@linaro.org>
5273
5274 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5275 variable mode to "multi-process" if $multi_process is 1, otherwise
5276 set it to "single-process".
5277
5278 2016-08-01 Yao Qi <yao.qi@linaro.org>
5279
5280 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5281 * gdb.cp/cpexprs.exp: Likewise.
5282 * gdb.cp/m-static.exp: Likewise.
5283
5284 2016-07-26 Tom Tromey <tom@tromey.com>
5285
5286 PR python/20190:
5287 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5288 test.
5289
5290 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5291
5292 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5293 selecting assembly source files.
5294 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5295 assembly source files.
5296 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5297 assembly source files.
5298 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5299 selecting assembly source files.
5300
5301 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 * gdb.base/new-ui.exp (do_test_invalid_args): New
5304 procedure.
5305
5306 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5307
5308 * gdb.btrace/reconnect.c: New file.
5309 * gdb.btrace/reconnect.exp: New file.
5310
5311 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5312
5313 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5314 to test_catch_syscall_group.
5315 (test_catch_syscall_group): New.
5316
5317 2016-07-21 Tom Tromey <tom@tromey.com>
5318
5319 * gdb.rust/simple.rs (main): Use empty struct expression.
5320 * gdb.rust/simple.exp: Add tests for empty struct expression.
5321
5322 2016-07-21 Yao Qi <yao.qi@linaro.org>
5323
5324 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5325 if gdb_skip_xml_test is true on some targets.
5326
5327 2016-07-21 Yao Qi <yao.qi@linaro.org>
5328
5329 * gdb.server/solib-list.exp: Unset last_loaded_file.
5330
5331 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5334 "step into captured_main (args)".
5335
5336 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5339
5340 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5341
5342 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5343
5344 2016-07-19 Pedro Alves <palves@redhat.com>
5345
5346 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5347 * gdb.opt/inline-bt.exp: Likewise.
5348 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5349 additional_flags=-Winline.
5350 * gdb.opt/inline-locals.exp: Likewise.
5351 * gdb.opt/inline-markers.c (ATTR): Define.
5352 (inlined_fn): Use it.
5353
5354 2016-07-19 Yao Qi <yao.qi@linaro.org>
5355
5356 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5357 (test_with_self): Remove some code. Remove argument executable.
5358 (top-level): Use do_self_tests.
5359
5360 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5361 Don Breazeal <donb@codesourcery.com>
5362
5363 * gdb.base/maint.exp: Escape paths used in regular expressions.
5364 * gdb.stabs/weird.exp: Likewise.
5365
5366 2016-07-13 Tom Tromey <tom@tromey.com>
5367
5368 PR python/15620, PR python/18620:
5369 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5370 (test_bkpt_events): New procs.
5371
5372 2016-07-13 Tom Tromey <tom@tromey.com>
5373
5374 PR python/17698:
5375 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5376 test.
5377 (test_watchpoints): Likewise.
5378 (test_bkpt_pending): New proc.
5379
5380 2016-07-13 Tom Tromey <tom@tromey.com>
5381
5382 PR cli/18053:
5383 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5384 completion test.
5385
5386 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5387
5388 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5389 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5390 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5391 f_label.
5392 (g): Rename g_end_lbl to g_label.
5393 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5394 low_pc and high_pc.
5395 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5396
5397 2016-07-12 Tom Tromey <tom@tromey.com>
5398
5399 PR python/19293:
5400 * gdb.python/py-unwind-maint.exp: Update tests.
5401
5402 2016-07-12 Yao Qi <yao.qi@linaro.org>
5403
5404 * lib/selftest-support.exp (selftest_setup): Match the output
5405 when captured_main is inlined.
5406
5407 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5408
5409 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5410 New variables.
5411 (print this%a, print this%b, print this): New tests.
5412 * gdb.fortran/derived-types.f90 (this): New object and
5413 initialization.
5414
5415 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5416
5417 * gdb.ada/arraydim.exp: Remove extra directory level in build
5418 directory.
5419
5420 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5421
5422 * lib/ada.exp: Remove extra directory level in build directory.
5423 * gdb.ada/cond_lang.exp: Likewise.
5424 * gdb.ada/exec_changed.exp: Likewise.
5425 * gdb.ada/lang_switch.exp: Likewise.
5426
5427 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5428
5429 * simple.rs: Add test for raw pointer subscripting.
5430 * simple.exp: Add test expectations.
5431
5432 2016-07-05 Yao Qi <yao.qi@linaro.org>
5433
5434 * gdb.mi/mi-reverse.exp: Match =record-started output.
5435
5436 2016-07-01 Pedro Alves <palves@redhat.com>
5437
5438 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5439 procedure.
5440 (jit_reader_test): Test the jit reader's unwinder.
5441 * gdb.base/jithost.c (jit_function_00_code): New global.
5442 (main): Use memcpy to fill in the mmapped code, instead of poking
5443 bytes manually here.
5444 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5445 value.
5446 (read_debug_info): Save the function's range.
5447 (read_sp): New function.
5448 (unwind_frame): Use it. Also unwind RBP.
5449 (get_frame_id): Use read_sp.
5450 (gdb_init_reader): Use calloc instead of malloc.
5451 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5452 parameter. Use gdb_test_multiple.
5453
5454 2016-07-01 Pedro Alves <palves@redhat.com>
5455 Antoine Tremblay <antoine.tremblay@ericsson.com>
5456
5457 * gdb.threads/process-dies-while-detaching.c: New file.
5458 * gdb.threads/process-dies-while-detaching.exp: New file.
5459
5460 2016-07-01 Pedro Alves <palves@redhat.com>
5461
5462 * gdb.multi/watchpoint-multi-exit.c: New file.
5463 * gdb.multi/watchpoint-multi-exit.exp: New file.
5464
5465 2016-06-30 Pedro Alves <palves@redhat.com>
5466
5467 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5468 unset inferior_spawn_id.
5469
5470 2016-06-30 Pedro Alves <palves@redhat.com>
5471
5472 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5473 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5474
5475 2016-06-29 Yao Qi <yao.qi@linaro.org>
5476
5477 * gdb.base/return.c: Add copyright header.
5478
5479 2016-06-29 Tom Tromey <tom@tromey.com>
5480
5481 PR python/20129:
5482 * gdb.python/py-framefilter.exp: Add tests for setting priority
5483 and disabling of non-existent frame filter.
5484
5485 2016-06-29 Yao Qi <yao.qi@linaro.org>
5486
5487 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5488 0x0f07ff.
5489
5490 2016-06-28 Yao Qi <yao.qi@linaro.org>
5491
5492 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5493 triplets. Start gdb, execute catch syscall, and continue. Check
5494 gdb's output to determine catch syscall is supported.
5495
5496 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5497
5498 * gdb.rust/simple.rs: Add test for returning unit in a function.
5499 * gdb.rust/simple.exp: Add expectation for functions returning
5500 unit.
5501
5502 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5503
5504 * gdb.python/py-breakpoint-create-fail.c,
5505 gdb.python/py-breakpoint-create-fail.exp,
5506 gdb.python/py-breakpoint-create-fail.py: New testcase.
5507
5508 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5509
5510 PR gdb/20239
5511 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5512 * gdb.rust/simple.exp: Add test expectations for new NonZero
5513 tests.
5514
5515 2016-06-24 David Taylor <dtaylor@emc.com>
5516
5517 * gdb.base/offsets.exp: New file.
5518 * gdb.base/offsets.c: New file.
5519
5520 2016-06-23 Tom Tromey <tom@tromey.com>
5521
5522 PR gdb/16483:
5523 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5524 before any filters are loaded.
5525
5526 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5527
5528 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5529 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5530 structs.
5531 * gdb.fortran/derived-type-function.exp: New file.
5532 * gdb.fortran/derived-type-function.f90: New file.
5533
5534
5535 2016-06-21 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.base/new-ui.exp: New file.
5538 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5539 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5540 (with_spawn_id): New procedure.
5541
5542 2016-06-21 Pedro Alves <palves@redhat.com>
5543
5544 * gdb.mi/mi-exec-run.exp: New file.
5545
5546 2016-06-21 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5549 breakpoint command's output on the main UI.
5550 (test_break): New procedure, factored out from calls in the top
5551 level.
5552 (top level): Use foreach_with_prefix to test MI as main UI and as
5553 separate UI.
5554
5555 2016-06-21 Pedro Alves <palves@redhat.com>
5556
5557 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5558 (test_awatch_creation_and_listing)
5559 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5560 Remove 'type' parameter.
5561 (test_watchpoint_all): New parameter mi_mode. Remove
5562 with_test_prefix.
5563 (top level): Use foreach_with_prefix, and add main/separate UI MI
5564 testing axis.
5565
5566 2016-06-21 Pedro Alves <palves@redhat.com>
5567
5568 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5569 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5570 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5571 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5572 (gdb_main_spawn_id, mi_spawn_id): Declare and
5573 comment.
5574 (mi_create_inferior_pty): New procedure,
5575 factored out from default_mi_gdb_start.
5576 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5577 procedures.
5578 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5579 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5580 Use mi_create_inferior_pty.
5581 (mi_gdb_start): Use eval to pass down args list.
5582
5583 2016-06-21 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5586 * gdb.opt/inline-cmds.exp: Add MI tests.
5587
5588 2016-06-21 Pedro Alves <palves@redhat.com>
5589
5590 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5591
5592 2016-06-21 Pedro Alves <palves@redhat.com>
5593
5594 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5595 (top level): Use it instead of mi_execute_to.
5596
5597 2016-06-21 Pedro Alves <palves@redhat.com>
5598
5599 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5600 (cont_handler_str): New.
5601 (signal_stop_handler): Set stop_handler_str instead of printing to
5602 stdout.
5603 (continue_handler): Set cont_handler_str instead of printing to
5604 stdout.
5605 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5606 mi_send_resuming_command. Print stop_handler_str and
5607 cont_handler_str instead of expecting the python events print
5608 directly.
5609
5610 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5611
5612 * gdb.base/jit-reader.exp: New file.
5613 * gdb.base/jithost.c: New file.
5614 * gdb.base/jithost.h: New file.
5615 * gdb.base/jitreader.c : New file.
5616 * gdb.base/jit-protocol.h: New file.
5617
5618 2016-06-17 Yao Qi <yao.qi@linaro.org>
5619
5620 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5621 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5622 and detach-on-fork. Adjust tests.
5623 (top level): Invoke break_cond_on_syscall with combinations of
5624 syscall, follow-fork-mode and detach-on-fork.
5625
5626 2016-06-17 Yao Qi <yao.qi@linaro.org>
5627
5628 * gdb.base/step-over-exit.c: New.
5629 * gdb.base/step-over-exit.exp: New.
5630
5631 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5632
5633 * gdb.base/float.exp: Add target check for nds32*-*-*.
5634 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5635
5636 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5637
5638 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5639 for unsupported target features.
5640 * gdb.base/call-rt-st.exp: Likewise.
5641 * gdb.base/call-sc.exp: Likewise.
5642 * gdb.base/call-signal-resume.exp: Likewise.
5643 * gdb.base/call-strs.exp: Likewise.
5644 * gdb.base/callexit.exp: Likewise.
5645 * gdb.base/callfuncs.exp: Likewise.
5646 * gdb.base/nodebug.exp: Likewise.
5647 * gdb.base/printcmds.exp: Likewise.
5648 * gdb.base/ptype.exp: Likewise.
5649 * gdb.base/structs.exp: Likewise.
5650 * gdb.base/unwindonsignal.exp: Likewise.
5651 * gdb.cp/gdb2495.exp: Likewise.
5652 * gdb.cp/templates.exp: Likewise.
5653 * gdb.cp/virtfunc.exp: Likewise.
5654 * gdb.threads/hand-call-in-threads.exp: Likewise.
5655 * gdb.threads/interrupted-hand-call.exp: Likewise.
5656 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5657
5658 2016-06-10 Tom Tromey <tom@tromey.com>
5659
5660 PR rust/20110:
5661 * gdb.rust/expr.exp: Add test for integer constant larger than
5662 i32.
5663
5664 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5665
5666 * gdb.fortran/nested-funcs.exp: New.
5667 * gdb.fortran/nested-funcs.f90: New.
5668
5669 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5670
5671 * gdb.base/examine-backward.c: New file.
5672 * gdb.base/examine-backward.exp: New file.
5673
5674 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5675
5676 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5677 matching.
5678
5679 2016-06-02 Tom Tromey <tom@tromey.com>
5680
5681 PR python/18984:
5682 * gdb.python/py-shared.exp: Add solib_name test.
5683
5684 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5685
5686 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5687
5688 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5689
5690 PR c++/19893
5691 * gdb.dwarf2/implref.exp: Rename to...
5692 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5693 * gdb.dwarf2/implref-array.c: New file.
5694 * gdb.dwarf2/implref-array.exp: Likewise.
5695 * gdb.dwarf2/implref-global.c: Likewise.
5696 * gdb.dwarf2/implref-global.exp: Likewise.
5697 * gdb.dwarf2/implref-struct.c: Likewise.
5698 * gdb.dwarf2/implref-struct.exp: Likewise.
5699
5700 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5701
5702 * gdb.trace/trace-condition.exp: Add 64bit tests.
5703
5704 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5705
5706 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5707 bits types.
5708 (main): Adapt to 8 to 64 bits types.
5709 * gdb.trace/trace-condition.exp: Add new tests.
5710
5711 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5712
5713 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5714
5715 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5716
5717 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5718 Move condition tests...
5719 * gdb.trace/trace-condition.exp: Here.
5720
5721 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5722
5723 * gdb.trace/trace-condition.exp: Add counter-case tests.
5724
5725 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5726
5727 PR c++/15231
5728 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5729 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5730
5731 2016-05-27 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5734 New procedure.
5735 (top level): Call it, and bail out of DejaGnu is known to be bad.
5736
5737 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5738
5739 * gdb.base/whatis.c: Extend the test case.
5740 * gdb.base/whatis.exp: Add additional tests.
5741
5742 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5743
5744 * gdb.fortran/type.f90: Add pointer variable.
5745 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5746
5747 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5748
5749 * gdb.fortran/vla-type.exp: Fix testcase name.
5750
5751 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5752
5753 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5754
5755 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5756
5757 * gdb.fortran/type.f90: Add nested structures.
5758 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5759 * gdb.fortran/derived-type.exp: Adapt expected output.
5760 * gdb.fortran/vla-type.exp: Adapt expected output.
5761
5762 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5763
5764 * gdb.fortran/whatis_type.exp: Adapt expected output.
5765
5766 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5767
5768 * gdb.fortran/print_type.exp: Fix expected output.
5769 * gdb.fortran/whatis_type.exp: Fix expected output.
5770
5771 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5772
5773 * gdb.fortran/whatis_type.exp: Use multi_line.
5774
5775 2016-05-24 Tom Tromey <tom@tromey.com>
5776
5777 PR python/17386:
5778 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5779 use value as an index.
5780
5781 2016-05-23 Tom Tromey <tom@tromey.com>
5782
5783 PR python/17981:
5784 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5785 no-breakpoint case.
5786
5787 2016-05-24 Pedro Alves <palves@redhat.com>
5788
5789 PR gdb/19828
5790 * gdb.threads/clone-attach-detach.c: New file.
5791 * gdb.threads/clone-attach-detach.exp: New file.
5792
5793 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5794
5795 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5796
5797 2016-05-23 Tom Tromey <tom@tromey.com>
5798
5799 PR python/19438, PR python/18393:
5800 * gdb.python/py-progspace.exp: Add "dir" test.
5801 * gdb.python/py-objfile.exp: Add "dir" test.
5802
5803 2016-05-23 Yao Qi <yao.qi@linaro.org>
5804
5805 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5806 * gdb.arch/thumb2-it.exp: Likewise.
5807
5808 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5809
5810 * gdb.mi/mi-threads-interrupt.c: New file.
5811 * gdb.mi/mi-threads-interrupt.exp: New file.
5812
5813 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5814
5815 PR gdb/18077
5816 * gdb.mi/mi-async-run.exp: New file.
5817 * gdb.mi/mi-async-run.c: New file.
5818
5819 2016-05-17 Tom Tromey <tom@tromey.com>
5820 Manish Goregaokar <manishsmail@gmail.com>
5821
5822 * lib/rust-support.exp: New file.
5823 * lib/gdb.exp (skip_rust_tests): New proc.
5824 (build_executable_from_specs): Handle rust.
5825 * lib/future.exp (gdb_find_rustc): New proc.
5826 (gdb_default_target_compile): Handle rust.
5827 * gdb.rust/expr.exp: New file.
5828 * gdb.rust/generics.exp: New file.
5829 * gdb.rust/generics.rs: New file.
5830 * gdb.rust/methods.exp: New file.
5831 * gdb.rust/methods.rs: New file.
5832 * gdb.rust/modules.exp: New file.
5833 * gdb.rust/modules.rs: New file.
5834 * gdb.rust/simple.exp: New file.
5835 * gdb.rust/simple.rs: New file.
5836
5837 2016-05-17 Tom Tromey <tom@tromey.com>
5838
5839 * gdb.base/default.exp (set language): Add rust.
5840
5841 2016-05-17 Tom Tromey <tom@tromey.com>
5842
5843 * gdb.gdb/unittest.exp: New file.
5844
5845 2016-05-16 Yao Qi <yao.qi@linaro.org>
5846
5847 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5848 shell_prompt. Update shell_prompt_re.
5849
5850 2016-05-12 Doug Evans <dje@google.com>
5851
5852 PR symtab/19999
5853 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5854 $options when building executable.
5855 * gdb.dwarf2/fission-loclists-pie.S: New file.
5856 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5857
5858 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5859
5860 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5861 of [is_remote target],
5862
5863 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5864
5865 * lib/gdb.exp (use_gdb_stub): New procedure.
5866
5867 2016-05-03 Yunlian Jiang <yunlian@google.com>
5868 Doug Evans <dje@google.com>
5869
5870 PR symtab/19914
5871 * gdb.dwarf2/dwp-sepdebug.c: New file.
5872 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5873
5874 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5875
5876 * gdb.base/detach.exp: Remove is_remote check.
5877
5878 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5879
5880 * gdb.base/annota-input-while-running.exp: Don't check for
5881 [is_remote target]. Enable annotations after running to main.
5882 Remove unused "set test..." line.
5883
5884 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5885
5886 * gdb.trace/trace-enable-disable.exp: New file.
5887 * gdb.trace/trace-enable-disable.c: New file.
5888
5889 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5890
5891 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5892 use it in info sharedlibrary test.
5893 * gdb.trace/ftrace-lock.exp: Likewise.
5894 * gdb.trace/ftrace.exp: Likewise.
5895 * gdb.trace/range-stepping.exp: Likewise.
5896 * gdb.trace/trace-break.exp: Likewise.
5897 * gdb.trace/trace-condition.exp: Likewise.
5898 * gdb.trace/trace-mt.exp: Likewise.
5899
5900 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5901
5902 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5903 (gdb_load_shlib): ... this.
5904 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5905 gdb_load_shlib.
5906 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5907 * gdb.base/ctxobj.exp: Likewise.
5908 * gdb.base/dprintf-pending.exp: Likewise.
5909 * gdb.base/dso2dso.exp: Likewise.
5910 * gdb.base/fixsection.exp: Likewise.
5911 * gdb.base/gcore-relro.exp: Likewise.
5912 * gdb.base/gdb1555.exp: Likewise.
5913 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5914 * gdb.base/gnu-ifunc.exp: Likewise.
5915 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5916 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5917 * gdb.base/pending.exp: Likewise.
5918 * gdb.base/print-file-var.exp: Likewise.
5919 * gdb.base/print-symbol-loading.exp: Likewise.
5920 * gdb.base/shlib-call.exp: Likewise.
5921 * gdb.base/shreloc.exp: Likewise.
5922 * gdb.base/so-impl-ld.exp: Likewise.
5923 * gdb.base/solib-disc.exp: Likewise.
5924 * gdb.base/solib-nodir.exp: Likewise.
5925 * gdb.base/solib-overlap.exp: Likewise.
5926 * gdb.base/solib-symbol.exp: Likewise.
5927 * gdb.base/solib-weak.exp (do_test): Likewise.
5928 * gdb.base/sym-file.exp: Likewise.
5929 * gdb.base/symtab-search-order.exp: Likewise.
5930 * gdb.base/type-opaque.exp: Likewise.
5931 * gdb.base/unload.exp: Likewise.
5932 * gdb.base/watchpoint-solib.exp: Likewise.
5933 * gdb.compile/compile.exp: Likewise.
5934 * gdb.cp/gdb2384.exp: Likewise.
5935 * gdb.cp/infcall-dlopen.exp: Likewise.
5936 * gdb.cp/re-set-overloaded.exp: Likewise.
5937 * gdb.fortran/library-module.exp: Likewise.
5938 * gdb.opt/solib-intra-step.exp: Likewise.
5939 * gdb.python/py-finish-breakpoint.exp: Likewise.
5940 * gdb.python/py-shared.exp: Likewise.
5941 * gdb.reverse/solib-precsave.exp: Likewise.
5942 * gdb.reverse/solib-reverse.exp: Likewise.
5943 * gdb.server/solib-list.exp: Likewise.
5944 * gdb.threads/dlopen-libpthread.exp: Likewise.
5945 * gdb.threads/tls-shared.exp: Likewise.
5946 * gdb.threads/tls-so_extern.exp: Likewise.
5947 * gdb.trace/change-loc.exp: Likewise.
5948 * gdb.trace/ftrace-lock.exp: Likewise.
5949 * gdb.trace/ftrace.exp: Likewise.
5950 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5951 * gdb.trace/pending.exp: Likewise.
5952 * gdb.trace/range-stepping.exp: Likewise.
5953 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5954 (strace_info_marker): Likewise.
5955 (strace_probe_marker): Likewise.
5956 (strace_trace_on_same_addr): Likewise.
5957 (strace_trace_on_diff_addr): Likewise.
5958 * gdb.trace/trace-break.exp: Likewise.
5959 * gdb.trace/trace-condition.exp: Likewise.
5960 * gdb.trace/trace-mt.exp: Likewise.
5961
5962 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5963
5964 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5965 result of gdb_remote_download.
5966 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5967 * gdb.base/dso2dso.exp: Likewise.
5968 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5969 * gdb.base/print-file-var.exp: Likewise.
5970 * gdb.base/shlib-call.exp: Likewise.
5971 * gdb.base/shreloc.exp: Likewise.
5972 * gdb.base/solib-overlap.exp: Likewise.
5973 * gdb.base/solib-weak.exp (do_test): Likewise.
5974 * gdb.base/unload.exp: Likewise.
5975
5976 2016-04-27 Yao Qi <yao.qi@linaro.org>
5977
5978 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5979 exists.
5980
5981 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5982
5983 * vla-type.exp: Print structure from toplevel.
5984
5985 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5986
5987 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5988 of dynamic types.
5989 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5990 of dynamic types.
5991
5992 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5993
5994 * gdb.fortran/vla-type.f90: New file.
5995 * gdb.fortran/vla-type.exp: New file.
5996
5997 2016-04-25 Yao Qi <yao.qi@linaro.org>
5998
5999 * gdb.base/branch-to-self.c: New file.
6000 * gdb.base/branch-to-self.exp: New file.
6001
6002 2016-04-22 Yao Qi <yao.qi@linaro.org>
6003
6004 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6005 more after $hex.
6006
6007 2016-04-22 Yao Qi <yao.qi@linaro.org>
6008
6009 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6010 * gdb.base/annota3.exp: Likewise.
6011
6012 2016-04-22 Yao Qi <yao.qi@linaro.org>
6013
6014 * gdb.reverse/step-precsave.exp: Do one step and test program
6015 stops in "callee" and do multiple steps until program goes out
6016 of "callee".
6017 * gdb.reverse/step-reverse.exp: Likewise.
6018
6019 2016-04-22 Yao Qi <yao.qi@linaro.org>
6020
6021 * gdb.trace/signal.exp: Also pass if
6022 $tracepoint_hits($i) > $iterations.
6023
6024 2016-04-22 Yao Qi <yao.qi@linaro.org>
6025
6026 * gdb.trace/signal.c: New file.
6027 * gdb.trace/signal.exp: New file.
6028
6029 2016-04-19 Doug Evans <xdje42@gmail.com>
6030
6031 * gdb.base/bad-file.exp: New file.
6032
6033 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6034
6035 * gdb.dwarf2/implref.exp: New file.
6036
6037 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6038
6039 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6040 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6041 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6042 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6043 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6044 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6045 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6046 * lib/fortran.exp (fortran_int4): New procedure.
6047 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6048 (fortran_logical4): Likewise.
6049
6050 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6051
6052 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6053
6054 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6055
6056 * lib/compiler.c: Add Intel specific preprocessor macros.
6057 * lib/compiler.cc: Likewise.
6058
6059 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6060
6061 * gdb.server/connect-with-no-symbol-file.c: New file.
6062 * gdb.server/connect-with-no-symbol-file.exp: New file.
6063
6064 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6065
6066 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6067
6068 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6069
6070 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6071 standard output directory.
6072
6073 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6074
6075 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6076
6077 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6078
6079 * gdb.btrace/instruction_history.c (loop): Add declaration.
6080
6081 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6082
6083 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6084
6085 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6086
6087 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6088 parentheses to print.
6089 (continue_handler): Likewise.
6090
6091 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6092
6093 * gdb.server/solib-list.exp: Remove is_remote check.
6094 Pass shlib= to gdb_compile. Don't link shared library with
6095 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6096 Run binary filename through "readlink -f" on the target.
6097
6098 2016-04-08 Pedro Alves <palves@redhat.com>
6099
6100 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6101 interpreter filename as argument to gdbserver_spawn.
6102 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6103 Return empty if $last_loaded_file does not exist.
6104
6105 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6106
6107 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6108 * gdb.base/jit-main.c: Use exit after usage.
6109
6110 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6111
6112 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6113 GDBHISTSIZE prior to the tests.
6114 * gdb.base/gdbinit-history.exp: Likewise.
6115
6116 2016-04-07 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6119 instead of build_executable. Use gdb_load_shlibs.
6120
6121 2016-04-07 Yao Qi <yao.qi@linaro.org>
6122
6123 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6124 Execute "si" command.
6125
6126 2016-04-07 Yao Qi <yao.qi@linaro.org>
6127
6128 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6129 number instead of the comments on some line.
6130
6131 2016-04-06 Don Breazeal <donb@codesourcery.com>
6132
6133 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6134 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6135
6136 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6137
6138 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6139 standard_output_file. Remove unused binfile variable.
6140
6141 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6142
6143 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6144 * gdb.python/py-mi-objfile.exp: Match "list main" output
6145 in console format.
6146
6147 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6148
6149 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6150 absolute.
6151
6152 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6153
6154 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6155 absolute.
6156 * gdb.trace/ftrace.exp: Likewise.
6157 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6158 targets as well.
6159 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6160 (gdb_load_shlibs): Copy libraries to test directory when testing
6161 natively. Only set solib-search-path if testing remotely.
6162 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6163
6164 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6165
6166 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6167 gdb_download. Use it even if the target is not remote.
6168 * gdb.base/jit.exp (compile_jit_test): Likewise.
6169 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6170 output directory if the destination board is local, otherwise use
6171 the standard remote_download from DejaGnu.
6172 (gdb_download): Remove.
6173 (gdb_load_shlibs): Use gdb_remote_download instead of
6174 gdb_download.
6175 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6176 Use gdb_remote_download instead of gdb_download. Use it even if
6177 the target is not remote.
6178 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6179 instead of gdb_download.
6180
6181 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6182
6183 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6184 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6185 run.
6186
6187 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6188
6189 PR gdb/19820
6190 * gdb.base/printcmds.exp: Add artificial arrays tests.
6191
6192 2016-03-31 Pedro Alves <palves@redhat.com>
6193
6194 PR gdb/19858
6195 * gdb.base/jit-main.c: Include unistd.h.
6196 (ATTACH): Define to 0 if not already defined.
6197 (wait_for_gdb, mypid): New globals.
6198 (WAIT_FOR_GDB): New macro.
6199 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6200 some breakpoint locations.
6201 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6202 New procedures.
6203 (one_jit_test): Add REATTACH parameter, and handle it. Use
6204 continue_to_test_location.
6205 (top level): Test attach, and adjusts calls to one_jit_test.
6206
6207 2016-03-31 Pedro Alves <palves@redhat.com>
6208
6209 PR gdb/19858
6210 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6211 BINSUFFIX parameter, and handle it.
6212 (top level): Adjust calls compile_jit_test.
6213
6214 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6215
6216 PR python/19743
6217 * gdb.python/py-mi-events-gdb.py: New file.
6218 * gdb.python/py-mi-events.c: New file.
6219 * gdb.python/py-mi-events.exp: New file.
6220
6221 2016-03-30 Yao Qi <yao.qi@linaro.org>
6222
6223 * gdb.reverse/until-precsave.exp: Match function name only.
6224 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6225 Move malloc to a condition block.
6226 * gdb.reverse/until-reverse.exp: Match function name only.
6227
6228 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6229
6230 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6231 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6232 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6233 variable for GPR 0 instead of assuming it is register 0.
6234 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6235 * lib/trace-support.exp: Add s390 registers.
6236
6237 2016-03-29 Yao Qi <yao.qi@linaro.org>
6238
6239 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6240
6241 2016-03-24 Yao Qi <yao.qi@linaro.org>
6242
6243 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6244 test message.
6245
6246 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6247
6248 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6249 maintaining separate logic for constructing the output path.
6250
6251 2016-03-16 Don Breazeal <donb@codesourcery.com>
6252
6253 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6254 Retry fork and waitpid on interrupted system call errors.
6255 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6256 Use with_timeout_factor to increase timeout by factor of 10.
6257
6258 2016-03-15 Don Breazeal <donb@codesourcery.com>
6259
6260 * gdb.cp/scope-err.cc: New test program.
6261 * gdb.cp/scope-err.exp: New test script.
6262 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6263 lines and "set breakpoint here" comment.
6264 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6265 Fixed some whitespace and format issues.
6266 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6267 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6268
6269 2016-03-15 Doug Evans <dje@google.com>
6270
6271 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6272 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6273 All callers updated. Add tests for enums, mixed flags register.
6274
6275 2016-03-15 Doug Evans <dje@google.com>
6276
6277 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6278 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6279
6280 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6281
6282 * gdb.base/default.exp: Add $_as_string to the list of expected
6283 convenience functions.
6284
6285 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6286
6287 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6288
6289 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6290
6291 * gdb.python/py-as-string.exp: New file.
6292 * gdb.python/py-as-string.c: New file.
6293
6294 2016-03-09 Pedro Alves <palves@redhat.com>
6295
6296 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6297 signal" -> "Thread NN received signal" output change.
6298 * gdb.threads/ia64-sigill.exp: Likewise.
6299 * gdb.threads/linux-dp.exp: Likewise.
6300 * gdb.threads/manythreads.exp: Likewise.
6301 * gdb.threads/pending-step.exp: Likewise.
6302 * gdb.threads/print-threads.exp: Likewise.
6303 * gdb.threads/sigstep-threads.exp: Likewise.
6304 * gdb.threads/staticthreads.exp: Likewise.
6305 * gdb.threads/tls.exp: Likewise.
6306
6307 2016-03-09 Pedro Alves <palves@redhat.com>
6308
6309 * gdb.base/command-line-input.exp: New file.
6310
6311 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6312
6313 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6314 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6315 * gdb.trace/pending.exp: Accept leading dot before function name.
6316 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6317 * lib/trace-support.exp: Set registers for ppc.
6318
6319 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6320
6321 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6322 use it for disassembly; accept .main in addition to main in backtrace.
6323
6324 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6325 Marcin Kościelnicki <koriakin@0x04.net>
6326
6327 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6328 (gdb_recursion_test_ptr): New global variable.
6329 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6330 gdb_recursion_test.
6331 (gdb_c_test): Ditto.
6332
6333 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6334
6335 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6336 ordering.
6337
6338 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6339
6340 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6341 (bar): Add bar_start_lbl label.
6342 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6343 of foo/bar for emitting DWARF and tracing.
6344
6345 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6346
6347 * analyze-racy-logs.py: Set executable bit.
6348
6349 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6350
6351 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6352 (CHECK_TARGET_TMP): Likewise.
6353 (check-single-racy): New rule.
6354 (check-parallel-racy): Likewise.
6355 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6356 (do-check-parallel-racy): New rule.
6357 (check-racy/%.exp): Likewise.
6358 * README (Racy testcases): New section.
6359 * analyze-racy-logs.py: New file.
6360
6361 2016-03-03 Doug Evans <dje@google.com>
6362
6363 * gdb.base/skip.exp: Use with_test_prefix.
6364
6365 2016-03-03 Yao Qi <yao.qi@linaro.org>
6366
6367 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6368 Invoke step_over_syscall "clone" and break_cond_on_syscall
6369 "clone".
6370 * gdb.base/step-over-clone.c: New file.
6371
6372 2016-03-03 Yao Qi <yao.qi@linaro.org>
6373
6374 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6375 code format.
6376
6377 2016-03-03 Yao Qi <yao.qi@linaro.org>
6378
6379 * gdb.base/disp-step-fork.c: Rename to ...
6380 * gdb.base/step-over-fork.c: ... it. New file.
6381 * gdb.base/disp-step-vfork.c: Rename to ...
6382 * gdb.base/step-over-vfork.c: ... it. New file.
6383 * gdb.base/disp-step-syscall.exp: Rename to ...
6384 * gdb.base/step-over-syscall.exp: ... it. New file.
6385 (disp_step_cross_syscall): Rename to ...
6386 (step_over_syscall): ... it.
6387
6388 2016-03-03 Yao Qi <yao.qi@linaro.org>
6389
6390 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6391 If target supports condition evaluation on target, invoke
6392 break_cond_on_syscall for fork and vfork.
6393
6394 2016-03-03 Yao Qi <yao.qi@linaro.org>
6395
6396 * gdb.base/disp-step-syscall.exp: Don't invoke
6397 support_displaced_stepping.
6398 (disp_step_cross_syscall): Test with displaced stepping off and
6399 on if supported.
6400
6401 2016-03-03 Yao Qi <yao.qi@linaro.org>
6402
6403 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6404 proc.
6405 (setup): New proc.
6406 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6407 and setup.
6408
6409 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6410
6411 * gdb.fortran/vla-history.exp: Remove breakpoint.
6412
6413 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6414
6415 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6416 exceeds timeout.
6417
6418 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6419
6420 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6421 breakpoint.
6422
6423 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6424
6425 * gdb.mi/vla.f90: Nullify pointer after declaration.
6426
6427 2016-03-01 Pedro Alves <palves@redhat.com>
6428
6429 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6430
6431 2016-03-01 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6434 before anything else.
6435 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6436 _GNU_SOURCE here.
6437 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6438 before anything else.
6439 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6440
6441 2016-03-01 Pedro Alves <palves@redhat.com>
6442
6443 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6444
6445 2016-03-01 Yao Qi <yao.qi@linaro.org>
6446
6447 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6448 prepare_for_testing.
6449
6450 2016-03-01 Yao Qi <yao.qi@linaro.org>
6451
6452 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6453
6454 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6455
6456 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6457 manually constructing the output path.
6458
6459 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6460
6461 * gdb.arch/s390-stackless.S: New.
6462 * gdb.arch/s390-stackless.exp: New.
6463
6464 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6465
6466 * gdb.dlang/circular.c: New file.
6467 * gdb.dlang/circular.exp: New file.
6468
6469 2016-02-26 Yao Qi <yao.qi@linaro.org>
6470
6471 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6472 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6473 (testcases): Update.
6474
6475 2016-02-26 Yao Qi <yao.qi@linaro.org>
6476
6477 * gdb.reverse/aarch64.c: Rename to ...
6478 * gdb.reverse/insn-reverse.c: ... it.
6479 * gdb.reverse/aarch64.exp: Rename to ...
6480 * gdb.reverse/insn-reverse.exp: ... it.
6481
6482 2016-02-26 Yao Qi <yao.qi@linaro.org>
6483
6484 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6485 (testcase_ftype): New.
6486 (testcases): New array.
6487 (n_testcases): New.
6488 (main): Call each element in testcases.
6489 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6490 (read_testcase): New.
6491 Do the tests in a loop.
6492
6493 2016-02-25 Yao Qi <yao.qi@linaro.org>
6494
6495 * gdb.base/branches.c: Remove.
6496
6497 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6498
6499 PR gdb/13808
6500 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6501
6502 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6503
6504 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6505
6506 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6507
6508 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6509 change x86_64 call_insn to 'callq'.
6510
6511 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6512
6513 * gdb.trace/tfile-avx.c: Move to...
6514 * gdb.trace/tracefile-pseudo-reg.c: Here.
6515 * gdb.trace/tfile-avx.exp: Move to...
6516 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6517
6518 2016-02-24 Gary Benson <gbenson@redhat.com>
6519
6520 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6521 message on attach.
6522
6523 2016-02-23 Doug Evans <dje@google.com>
6524
6525 * gdb.base/skip.c (test_skip): New function.
6526 (end_test_skip_file_and_function): New function.
6527 (test_skip_file_and_function): New function.
6528 * gdb.base/skip1.c (test_skip): New function.
6529 (skip1_test_skip_file_and_function): New function.
6530 * gdb.base/skip.exp: Add tests for new skip options.
6531 * gdb.base/skip-solib.exp: Update expected output.
6532 * gdb.perf/skip-command.cc: New file.
6533 * gdb.perf/skip-command.exp: New file.
6534 * gdb.perf/skip-command.py: New file.
6535
6536 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6537
6538 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6539 info registers pattern.
6540
6541 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6542
6543 * lib/future.exp: Add D support.
6544 (gdb_find_gdc): New proc.
6545 (gdb_default_target_compile): Add D support.
6546
6547 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6548
6549 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6550 user+system time.
6551 (trace_speed_test): Determine the iteration count for a time
6552 between 15..30 seconds.
6553
6554 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6555
6556 * gdb.arch/i386-mpx-sigsegv.c: New file.
6557 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6558 * gdb.arch/i386-mpx-simple_segv.c: New file.
6559 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6560
6561 2016-02-18 Yao Qi <yao.qi@linaro.org>
6562
6563 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6564 Don't call setup_kfail.
6565
6566 2016-02-18 Yao Qi <yao.qi@linaro.org>
6567
6568 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6569 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6570
6571 2016-02-16 Doug Evans <dje@google.com>
6572
6573 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6574 * gdb.base/skip1.c: Ditto.
6575 * gdb.base/skip.exp: Whitespace cleanup.
6576
6577 2016-02-16 Don Breazeal <donb@codesourcery.com>
6578
6579 PR remote/19496
6580 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6581 Remove kfail for PR remote/19496.
6582
6583 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6584
6585 * lib/gdb.exp (standard_temp_file): Return a path specific to
6586 the runtest invocation.
6587
6588 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6589
6590 * gdb.trace/save-trace.exp: Change relative path to be in the
6591 standard output directory.
6592
6593 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6594
6595 * gdb.arch/i386-prologue.c: Add missing prototypes.
6596
6597 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6598
6599 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6600 * gdb.arch/i386-prologue.exp: Likewise.
6601 * gdb.arch/i386-size.exp: Likewise.
6602
6603 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6604
6605 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6606 define object file path.
6607 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6608 file path.
6609 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6610 standard_output_file to define binfile.
6611
6612 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6613
6614 Fix compatibility with recent gfortran-5.3.1.
6615 * gdb.fortran/vla-history.exp (print vla1 allocated)
6616 (print vla2 allocated, print $2, print $3): Remove
6617 (print $4): Rename to ...
6618 (print $2): ... here.
6619 (print $9): Rename to ...
6620 (print $5): ... here.
6621 (print $10): Rename to ...
6622 (print $6): ... here.
6623 * gdb.fortran/vla.f90: Add pvla initialization.
6624
6625 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6628 New test.
6629 * gdb.fortran/vla-value-sub.exp: Likewise.
6630
6631 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6632
6633 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6634
6635 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6636
6637 * i386-biarch-core.exp: Define corefile using
6638 standard_output_file.
6639
6640 2016-02-12 Yao Qi <yao.qi@linaro.org>
6641
6642 * gdb.arch/arm-single-step-kernel-helper.c: New.
6643 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6644
6645 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6646
6647 * gdb.btrace/tailcall-only.exp: New.
6648 * gdb.btrace/tailcall-only.c: New.
6649 * gdb.btrace/x86_64-tailcall-only.S: New.
6650 * gdb.btrace/i686-tailcall-only.S: New.
6651
6652 2016-02-11 Pedro Alves <palves@redhat.com>
6653
6654 * README (Parallel testing): Add missing double quotes.
6655
6656 2016-02-11 Pedro Alves <palves@redhat.com>
6657
6658 * README (Parallel testing): New section.
6659 (GDB_PARALLEL): Rewrite.
6660 (FORCE_PARALLEL): Document.
6661
6662 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6663
6664 * gdb.trace/tfile-avx.c: New test.
6665 * gdb.trace/tfile-avx.exp: New test.
6666
6667 2016-02-09 Keith Seitz <keiths@redhat.com>
6668
6669 PR breakpoints/19546
6670 * gdb.base/infcall-exec.c: New file.
6671 * gdb.base/infcall-exec2.c: New file.
6672 * gdb.base/infcall-exec.exp: New file.
6673
6674 2016-02-09 Keith Seitz <keiths@redhat.com>
6675
6676 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6677 (toplevel): Call test_bkpt_address.
6678
6679 2016-02-09 Keith Seitz <keiths@redhat.com>
6680
6681 PR python/19506
6682 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6683 (toplevel): Call test_bkpt_address.
6684
6685 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6686
6687 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6688 to AC_OUTPUT.
6689 * configure: Regenerate.
6690
6691 2016-02-09 Pedro Alves <palves@redhat.com>
6692
6693 PR breakpoints/19548
6694 * gdb.base/execl-update-breakpoints.c (some_function): New
6695 function.
6696 (main): Call it.
6697 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6698 Tighten expected GDB output.
6699
6700 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6701
6702 * Makefile.in (ALL_SUBDIRS): Remove.
6703 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6704 (distclean maintainer-clean realclean): Likewise.
6705 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6706 * configure: Regenerate.
6707 * gdb.ada/Makefile.in: Delete.
6708 * gdb.arch/Makefile.in: Likewise.
6709 * gdb.asm/Makefile.in: Likewise.
6710 * gdb.base/Makefile.in: Likewise.
6711 * gdb.btrace/Makefile.in: Likewise.
6712 * gdb.cell/Makefile.in: Likewise.
6713 * gdb.compile/Makefile.in: Likewise.
6714 * gdb.cp/Makefile.in: Likewise.
6715 * gdb.disasm/Makefile.in: Likewise.
6716 * gdb.dlang/Makefile.in: Likewise.
6717 * gdb.dwarf2/Makefile.in: Likewise.
6718 * gdb.fortran/Makefile.in: Likewise.
6719 * gdb.gdb/Makefile.in: Likewise.
6720 * gdb.go/Makefile.in: Likewise.
6721 * gdb.guile/Makefile.in: Likewise.
6722 * gdb.java/Makefile.in: Likewise.
6723 * gdb.linespec/Makefile.in: Likewise.
6724 * gdb.mi/Makefile.in: Likewise.
6725 * gdb.modula2/Makefile.in: Likewise.
6726 * gdb.multi/Makefile.in: Likewise.
6727 * gdb.objc/Makefile.in: Likewise.
6728 * gdb.opencl/Makefile.in: Likewise.
6729 * gdb.opt/Makefile.in: Likewise.
6730 * gdb.pascal/Makefile.in: Likewise.
6731 * gdb.perf/Makefile.in: Likewise.
6732 * gdb.python/Makefile.in: Likewise.
6733 * gdb.reverse/Makefile.in: Likewise.
6734 * gdb.server/Makefile.in: Likewise.
6735 * gdb.stabs/Makefile.in: Likewise.
6736 * gdb.threads/Makefile.in: Likewise.
6737 * gdb.trace/Makefile.in: Likewise.
6738 * gdb.xml/Makefile.in: Likewise.
6739 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6740 GDB_PARALLEL.
6741 (standard_output_file): Remove check for GDB_PARALLEL, always
6742 return path in outputs/$subdir/$testname.
6743
6744 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6745
6746 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6747 (site.exp): Assign abs_srcdir to tcl's srcdir.
6748
6749 2016-02-04 Yao Qi <yao.qi@linaro.org>
6750
6751 * gdb.base/foll-exec-mode.c: Include limits.h.
6752 (main): Add parameters argc and argv. Get directory from
6753 argv[0].
6754 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6755 compilation.
6756 * gdb.base/foll-exec.c: Include limits.h.
6757 (main): Add parameters argc and argv.
6758 Get directory from argv[0].
6759 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6760 Adjust tests on the number of lines as source code changed.
6761 * gdb.base/foll-vfork-exit.c: Include limits.h.
6762 (main): Add one line of statement before vfork.
6763 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6764 (main): Add parameters argc and argv. Get directory from
6765 argv[0].
6766 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6767 (setup_gdb): Set tbreak to skip some source lines.
6768 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6769 (main): Add parameters argc and argv. Get directory from
6770 argv[0].
6771 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6772 compilation.
6773 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6774 (main): Add parameters argc and argv. Get directory from
6775 argv[0].
6776 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6777 compilation.
6778
6779 2016-02-01 Doug Evans <dje@google.com>
6780
6781 * gdb.base/skip.exp: Clean up multiple references to same test name.
6782
6783 2016-02-01 Pedro Alves <palves@redhat.com>
6784
6785 PR remote/19496
6786 * gdb.threads/forking-threads-plus-breakpoint.exp
6787 (displaced_stepping_supported): New global.
6788 (probe_displaced_stepping_support): New procedure.
6789 (do_test): Add 'displaced' parameter, and use it.
6790 (top level): Check for displaced stepping support. Add displaced
6791 stepping on/off testing axis.
6792
6793 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6794
6795 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6796 pointer. Don't perform further tests on the unassociated pointer
6797 if the first test fails.
6798
6799 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6800
6801 * gdb.base/max-value-size.c: New file.
6802 * gdb.base/max-value-size.exp: New file.
6803 * gdb.base/huge.exp: Disable max-value-size for this test.
6804
6805 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6806
6807 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6808
6809 2016-01-28 Yao Qi <yao.qi@linaro.org>
6810
6811 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6812
6813 2016-01-25 Pedro Alves <palves@redhat.com>
6814
6815 PR threads/19461
6816 * gdb.base/fork-running-state.c: New file.
6817 * gdb.base/fork-running-state.exp: New file.
6818
6819 2016-01-25 Pedro Alves <palves@redhat.com>
6820
6821 PR gdb/19494
6822 * gdb.base/catch-fork-kill.c: New file.
6823 * gdb.base/catch-fork-kill.exp: New file.
6824
6825 2016-01-25 Pedro Alves <palves@redhat.com>
6826
6827 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6828 Delete, moved to lib/gdb.exp.
6829 * gdb.threads/forking-threads-plus-breakpoint.exp
6830 (foreach_with_prefix): Likewise.
6831 * gdb.threads/process-dies-while-handling-bp.exp
6832 (foreach_with_prefix): Likewise.
6833 * lib/gdb.exp (foreach_with_prefix): New procedure.
6834
6835 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6836
6837 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6838 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6839
6840 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6841
6842 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6843 endian targets.
6844
6845 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6846 Pedro Alves <palves@redhat.com>
6847
6848 Fix testsuite compatibility with Guile.
6849 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6850 number.
6851
6852 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6853
6854 Fix testsuite compatibility with Guile.
6855 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6856 (thread 1): New test for backtrace through signal handler.
6857
6858 2016-01-22 Yao Qi <yao.qi@linaro.org>
6859
6860 PR testsuite/19491
6861 * gdb.base/multi-forks.c: Include
6862 ../lib/unbuffer_output.c
6863 (main): Call gdb_unbuffer_output.
6864
6865 2016-01-21 Doug Evans <dje@google.com>
6866
6867 * lib/ada.exp (gdb_compile_ada): Fix typo.
6868
6869 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6870
6871 * gdb.base/break-fun-addr.exp: New file.
6872 * gdb.base/break-fun-addr1.c: New file.
6873 * gdb.base/break-fun-addr2.c: New file.
6874
6875 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6876
6877 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6878 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6879 enum flag values.
6880
6881 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6882
6883 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6884 when GDB can not set the vector return value. Add more comments
6885 for clarification.
6886
6887 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6888
6889 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6890 command.
6891
6892 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6893
6894 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6895
6896 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6897
6898 * Makefile.in (check-single): Pass --status to runtest.
6899 (check/%.exp): Likewise.
6900
6901 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6902
6903 * Makefile.in (check-parallel): Propagate return code from make
6904 do-check-parallel.
6905
6906 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6907
6908 * gdb.trace/ftrace.exp: Fix expected message on continue.
6909 * gdb.trace/pending.exp: Fix expected message on continue.
6910 * gdb.trace/trace-break.exp: Fix expected message on continue.
6911
6912 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6913
6914 * lib/gdb.exp (gdb_test): Remove unused global references.
6915
6916 2016-01-18 Pedro Alves <palves@redhat.com>
6917
6918 * gdb.base/async-shell.exp: Adjust expected output.
6919 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6920 * gdb.base/siginfo-thread.exp: Adjust expected output.
6921 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6922 * gdb.java/jnpe.exp: Adjust expected output.
6923 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6924 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6925 * gdb.threads/leader-exit.exp: Adjust expected output.
6926 * gdb.threads/manythreads.exp: Adjust expected output.
6927 * gdb.threads/pthreads.exp: Adjust expected output.
6928 * gdb.threads/schedlock.exp: Adjust expected output.
6929 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6930 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6931 expected output.
6932 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6933 output.
6934 * gdb.threads/sigthread.exp: Adjust expected output.
6935 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6936
6937 2016-01-18 Yao Qi <yao.qi@linaro.org>
6938
6939 * gdb.guile/scm-section-script.c: Replace @progbits with
6940 %progbits.
6941 * gdb.python/py-section-script.c: Likewise.
6942
6943 2016-01-15 Pedro Alves <palves@redhat.com>
6944
6945 * gdb.multi/tids.exp: Test star wildcard ranges.
6946
6947 2016-01-15 Pedro Alves <palves@redhat.com>
6948
6949 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6950 command from "thread apply" invocation.
6951 (thr_apply_info_thr_invalid): Default the expected output to the
6952 input tid list.
6953 (top level): Add tests that use convenience variables. Add tests
6954 for "thread apply" with a valid TID list, but missing the command.
6955
6956 2016-01-13 Pedro Alves <palves@redhat.com>
6957
6958 * gdb.base/default.exp: Expect $_gthread as well.
6959 * gdb.multi/tids.exp: Test $_gthread.
6960 * gdb.threads/thread-specific.exp: Test $_gthread.
6961
6962 2016-01-13 Pedro Alves <palves@redhat.com>
6963
6964 * gdb.multi/tids.exp: Test "info threads -gid".
6965
6966 2016-01-13 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6969 Breakpoint.thread.
6970 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6971
6972 2016-01-07 Pedro Alves <palves@redhat.com>
6973
6974 * gdb.base/break.exp: Adjust to output changes.
6975 * gdb.base/hbreak2.exp: Likewise.
6976 * gdb.base/sepdebug.exp: Likewise.
6977 * gdb.base/watch_thread_num.exp: Likewise.
6978 * gdb.linespec/keywords.exp: Likewise.
6979 * gdb.multi/info-threads.exp: Likewise.
6980 * gdb.threads/thread-find.exp: Likewise.
6981 * gdb.multi/tids.c: New file.
6982 * gdb.multi/tids.exp: New file.
6983
6984 2016-01-13 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6987
6988 2016-01-13 Pedro Alves <palves@redhat.com>
6989
6990 * gdb.base/default.exp: Expect $_inferior as well.
6991 * gdb.multi/base.exp: Test $_inferior.
6992
6993 2016-01-13 Pedro Alves <palves@redhat.com>
6994
6995 PR breakpoints/19388
6996 * gdb.base/catch-signal-siginfo-cond.c: New file.
6997 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6998
6999 2016-01-12 Josh Stone <jistone@redhat.com>
7000 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7001
7002 * gdb.base/catch-syscall.c (do_execve): New variable.
7003 (main): Conditionally trigger an execve.
7004 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7005 (test_catch_syscall_execve): New, check entry/return across execve.
7006 (do_syscall_tests): Call test_catch_syscall_execve.
7007
7008 2016-01-12 Pedro Alves <palves@redhat.com>
7009
7010 * gdb.base/random-signal.exp (do_test): New procedure, with body
7011 of testcase moved in.
7012
7013 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7014 Pedro Alves <palves@redhat.com>
7015
7016 * gdb.base/funcargs.exp (finish from indirectly called function):
7017 Reintroduce the case for 'First'.
7018
7019 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7020 Pedro Alves <palves@redhat.com>
7021
7022 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7023 (tcatch_vfork_then_child_follow_exec)
7024 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7025 identification.
7026
7027 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7028
7029 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7030 and repeats to unlimited.
7031 * gdb.python/py-value.exp: Likewise.
7032 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7033 and repeats to unlimited.
7034
7035 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7036
7037 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7038 and reordering the functions.
7039 * gdb.multi/hangout.c: Likewise.
7040 * gdb.multi/hello.c: Likewise.
7041
7042 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7043
7044 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7045 absolute.
7046 (SingleStatisticTestResult.report): Use dict.keys instead of
7047 dict.iterkeys.
7048
7049 2016-01-06 Pedro Alves <palves@redhat.com>
7050
7051 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7052
7053 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7054
7055 * gdb.btrace/dlopen.exp: New.
7056 * gdb.btrace/dlopen.c: New.
7057 * gdb.btrace/dlopen-dso.c: New.
7058
7059 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7060
7061 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7062 PATTERN argument is optional.
7063
7064 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7065
7066 * lib/ada.exp (target_compile_ada_from_dir): New function.
7067 (gdb_compile_ada): Reimplement avoiding the use of project files.
7068 * gdb.ada/gnat_ada.gpr: Delete.
7069 * gdb.ada/cond_lang.exp: Adjust test to make path before
7070 filename optional.
7071 * gdb.ada/small_reg_param.exp: Likewise.
7072
7073 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7074
7075 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7076
7077 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7078
7079 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7080 case.
7081
7082 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7083
7084 * gdb.base/break.exp: Remove dead code.
7085 * gdb.base/sepdebug.exp: Likewise.
7086
7087 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7088
7089 * gdb.asm/asm-source.exp: Remove HP-UX references.
7090 * gdb.base/annota1.exp: Likewise.
7091 * gdb.base/annota3.exp: Likewise.
7092 * gdb.base/attach.exp: Likewise.
7093 * gdb.base/bigcore.exp: Likewise.
7094 * gdb.base/break.exp: Likewise.
7095 * gdb.base/call-ar-st.exp: Likewise.
7096 * gdb.base/callfuncs.exp: Likewise.
7097 * gdb.base/catch-fork-static.exp: Likewise.
7098 * gdb.base/display.exp: Likewise.
7099 * gdb.base/foll-exec-mode.exp: Likewise.
7100 * gdb.base/foll-exec.exp: Likewise.
7101 * gdb.base/foll-fork.exp: Likewise.
7102 * gdb.base/foll-vfork.exp: Likewise.
7103 * gdb.base/funcargs.exp: Likewise.
7104 * gdb.base/hbreak2.exp: Likewise.
7105 * gdb.base/inferior-died.exp: Likewise.
7106 * gdb.base/interrupt.exp: Likewise.
7107 * gdb.base/multi-forks.exp: Likewise.
7108 * gdb.base/nodebug.exp: Likewise.
7109 * gdb.base/sepdebug.exp: Likewise.
7110 * gdb.base/solib1.c: Likewise.
7111 * gdb.base/step-test.exp: Likewise.
7112 * gdb.mi/non-stop.c: Likewise.
7113 * gdb.mi/pthreads.c: Likewise.
7114 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7115 * gdb.threads/pthreads.c: Likewise.
7116 * gdb.threads/staticthreads.exp: Likewise.
7117 * lib/future.exp: Likewise.
7118 * lib/gdb.exp: Likewise.
7119 * gdb.base/so-indr-cl.c: Remove.
7120 * gdb.base/so-indr-cl.exp: Likewise.
7121 * gdb.base/solib.c: Likewise.
7122 * gdb.base/solib.exp: Likewise.
7123 * gdb.base/solib2.c: Likewise.
7124
7125 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7126
7127 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7128 * gdb.base/call-ar-st.exp: Likewise.
7129 * gdb.base/callfuncs.exp: Likewise.
7130 * gdb.base/condbreak.exp: Likewise.
7131 * gdb.base/constvars.exp: Likewise.
7132 * gdb.base/hbreak2.exp: Likewise.
7133 * gdb.base/langs.exp: Likewise.
7134 * gdb.base/list.exp: Likewise.
7135 * gdb.base/long_long.exp: Likewise.
7136 * gdb.base/ptype.exp: Likewise.
7137 * gdb.base/scope.exp: Likewise.
7138 * gdb.base/signals.exp: Likewise.
7139 * gdb.base/so-impl-ld.exp: Likewise.
7140 * gdb.base/varargs.exp: Likewise.
7141 * gdb.base/volatile.exp: Likewise.
7142 * gdb.base/whatis.exp: Likewise.
7143 * gdb.cp/cplusfuncs.exp: Likewise.
7144 * gdb.cp/inherit.exp: Likewise.
7145 * gdb.cp/local.exp: Likewise.
7146 * gdb.cp/member-ptr.exp: Likewise.
7147 * gdb.cp/method.exp: Likewise.
7148 * gdb.cp/overload.exp: Likewise.
7149 * gdb.cp/templates.exp: Likewise.
7150 * gdb.stabs/weird.exp: Likewise.
7151 * lib/compiler.c: Likewise.
7152 * lib/compiler.cc: Likewise.
7153 * lib/cp-support.exp: Likewise.
7154 * lib/gdb.exp: Likewise.
7155
7156 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7157
7158 * configure.ac: Remove HP-UX case.
7159 * configure: Regenerate.
7160
7161 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7162
7163 * lib/gdb.exp (gdb_compile): Add function doc.
7164
7165 2015-12-17 Pedro Alves <palves@redhat.com>
7166
7167 PR threads/19354
7168 * gdb.multi/info-threads.exp: New file.
7169
7170 2015-12-15 Yao Qi <yao.qi@linaro.org>
7171
7172 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7173 is aarch64*-*-*.
7174
7175 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7176
7177 * gdb.base/history-duplicates.exp: Skip if no readline support.
7178
7179 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7180
7181 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7182
7183 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7184
7185 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7186
7187 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7188
7189 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7190 ctrl-C if nointerrupts target property is set.
7191 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7192 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7193 * gdb.base/paginate-bg-execution.exp: Likewise.
7194 * gdb.base/paginate-execution-startup.exp: Likewise.
7195 * gdb.base/random-signal.exp: Likewise.
7196 * gdb.base/range-stepping.exp: Likewise.
7197 * gdb.cp/annota2.exp: Likewise.
7198 * gdb.cp/annota3.exp: Likewise.
7199 * gdb.gdb/selftest.exp: Likewise.
7200 * gdb.threads/continue-pending-status.exp: Likewise.
7201 * gdb.threads/leader-exit.exp: Likewise.
7202 * gdb.threads/manythreads.exp: Likewise.
7203 * gdb.threads/pthreads.exp: Likewise.
7204 * gdb.threads/schedlock.exp: Likewise.
7205 * gdb.threads/sigthread.exp: Likewise.
7206
7207 2015-12-11 Don Breazeal <donb@codesourcery.com>
7208
7209 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7210 remote.
7211 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7212 * gdb.base/foll-exec.exp (main): Enable for target remote.
7213 * gdb.base/foll-fork.exp (main): Likewise.
7214 * gdb.base/foll-vfork.exp (main): Likewise.
7215 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7216 (proc continue_to_exit_bp_loc): Use clean_restart.
7217 * gdb.base/pie-execl.exp (main): Disable for target remote.
7218 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7219 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7220 * gdb.threads/execl.exp (main): Likewise.
7221 * gdb.threads/fork-child-threads.exp (main): Likewise.
7222 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7223 remote.
7224 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7225 remote.
7226 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7227 pid.tid style ptids, instead of just tid.
7228 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7229 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7230 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7231 ptids, instead of just tid.
7232
7233 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7234
7235 * gdb.base/list.exp (test_list_forward): Add end of file error
7236 test.
7237 (test_repeat_list_command): Add end of file error test.
7238 (test_list_backwards): Add beginning of file error test.
7239
7240 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7241
7242 * gdb.base/list.exp (test_list_invalid_args): New function,
7243 defined, and called.
7244
7245 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7246
7247 * gdb.base/list.exp (test_list): Make test names unique.
7248
7249 2015-12-11 Yao Qi <yao.qi@linaro.org>
7250
7251 * gdb.base/coremaker2.c: Remove.
7252
7253 2015-12-10 Pedro Alves <palves@redhat.com>
7254
7255 * gdb.multi/base.exp: Remove stale "spaces" references.
7256
7257 2015-12-10 Pedro Alves <palves@redhat.com>
7258
7259 * gdb.multi/base.exp: Don't use nowarnings.
7260 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7261 * gdb.multi/hangout.c: Include stdio.h.
7262 * gdb.multi/hello.c: Include stdlib.h.
7263 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7264 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7265 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7266
7267 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7268
7269 * gdb.dwarf2/dw2-ranges-base.c: New file.
7270 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7271 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7272 support additional line table, and debug ranges generation.
7273 (Dwarf::ranges): New function, generate .debug_ranges.
7274 (Dwarf::lines): Support generating simple line table programs.
7275 (Dwarf::assemble): Initialise new namespace variables.
7276
7277 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7278
7279 * gdb.base/async.exp (proc test_background): Add case for
7280 asynchronous execution not supported.
7281
7282 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7283
7284 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7285 format and change test names to make them unique.
7286
7287 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7288 Pedro Alves <pedro@redhat.com>
7289
7290 PR gdb/18702
7291 Add checking of floatformats setup on x86_64 hosts.
7292 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7293 (smallval, bigval): New labels/constants.
7294 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7295 float" after loading bigval and smallval.
7296
7297 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7298
7299 * gdb.ada/fun_overload_menu.exp: New testcase.
7300 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7301
7302 2015-12-04 Josh Stone <jistone@redhat.com>
7303
7304 * gdb.base/catch-fork-static.exp: New.
7305
7306 2015-12-03 Yao Qi <yao.qi@linaro.org>
7307
7308 * gdb.base/sizeof.c: Don't include stdio.h and
7309 ../lib/unbuffer_output.c.
7310 (main): New variable 'size' and 'value'. Remove printf and
7311 gdb_unbuffer_output. Assign return value to size and value.
7312 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7313 at the beginning.
7314 (check_sizeof): Check the result by printing variable 'size'.
7315 (check_valueof): Check the result by printing variable 'value'.
7316
7317 2015-12-01 Yao Qi <yao.qi@linaro.org>
7318
7319 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7320 for aarch64*-*-linux* target.
7321
7322 2015-11-30 Pedro Alves <palves@redhat.com>
7323
7324 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7325
7326 2015-11-30 Pedro Alves <palves@redhat.com>
7327
7328 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7329 Handle non-stop mode vCont replies.
7330
7331 2015-11-30 Pedro Alves <palves@redhat.com>
7332
7333 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7334 prepare_for_testing. Start gdb with "set non-stop on" appended to
7335 GDBFLAGS. Lax expected stop output.
7336
7337 2015-11-27 Yao Qi <yao.qi@linaro.org>
7338
7339 * gdb.arch/arm-neon.exp: New.
7340 * gdb.arch/arm-neon.c: New.
7341
7342 2015-11-27 Yao Qi <yao.qi@linaro.org>
7343
7344 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7345
7346 2015-11-27 Yao Qi <yao.qi@linaro.org>
7347
7348 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7349 frames-invalid annotation.
7350
7351 2015-11-27 Yao Qi <yao.qi@linaro.org>
7352
7353 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7354
7355 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7356
7357 * gdb.threads/names.exp: New file.
7358 * gdb.threads/names.c: New file.
7359 * README: Mention gdb,no_thread_names.
7360
7361 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7362
7363 PR 19297
7364 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7365 support" error.
7366
7367 2015-11-24 Pedro Alves <palves@redhat.com>
7368
7369 PR 17539
7370 * gdb.base/display.exp: Expect displays to be sorted in ascending
7371 order. Use multi_line.
7372 * gdb.base/solib-display.exp: Likewise.
7373
7374 2015-11-24 Pedro Alves <palves@redhat.com>
7375
7376 PR 17539
7377 * gdb.base/display.exp: Expect displays to be sorted in ascending
7378 order. Use multi_line.
7379 * gdb.base/solib-display.exp: Likewise.
7380
7381 2015-11-24 Pedro Alves <palves@redhat.com>
7382
7383 PR 17539
7384 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7385 threads in ascending order.
7386 * gdb.base/foll-fork.exp: Likewise.
7387 * gdb.base/foll-vfork.exp: Likewise.
7388 * gdb.base/multi-forks.exp: Likewise.
7389 * gdb.mi/mi-nonstop.exp: Likewise.
7390 * gdb.mi/mi-nsintrall.exp: Likewise.
7391 * gdb.multi/base.exp: Likewise.
7392 * gdb.multi/multi-arch.exp: Likewise.
7393 * gdb.python/py-inferior.exp: Likewise.
7394 * gdb.threads/break-while-running.exp: Likewise.
7395 * gdb.threads/execl.exp: Likewise.
7396 * gdb.threads/gcore-thread.exp: Likewise.
7397 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7398 * gdb.threads/kill.exp: Likewise.
7399 * gdb.threads/linux-dp.exp: Likewise.
7400 * gdb.threads/multiple-step-overs.exp: Likewise.
7401 * gdb.threads/next-bp-other-thread.exp: Likewise.
7402 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7403 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7404 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7405 * gdb.threads/thread-find.exp: Likewise.
7406 * gdb.threads/tls.exp: Likewise.
7407 * lib/mi-support.exp (mi_reverse_list): Delete.
7408 (mi_check_thread_states): No longer reverse list.
7409
7410 2015-11-24 Pedro Alves <palves@redhat.com>
7411
7412 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7413 use lowercase.
7414
7415 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7416
7417 * gdb.trace/actions.c: Include trace-common.h.
7418 (main): Add a location for a fast tracepoint.
7419 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7420 the normal tracepoints.
7421 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7422
7423 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7424
7425 * save-trace.exp: Factor out code to these...
7426 (gdb_save_tracepoints): New.
7427 (gdb_load_tracepoints): New.
7428 (do_save_load_test): New.
7429
7430 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7431
7432 * gdb.base/asmlabel.exp: New test.
7433 * gdb.base/asmlabel.c: New test case.
7434
7435 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7436
7437 * gdb.base/wrong_frame_bt_full-main.c: New file.
7438 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7439 * gdb.base/wrong_frame_bt_full.exp: New file.
7440
7441 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7442
7443 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7444
7445 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7446
7447 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7448 pstate register when comparing registers values in
7449 sparc64-*-linux-gnu targets to avoid spurious differences.
7450
7451 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7452
7453 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7454
7455 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7456
7457 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7458 as type argument to gdb_compile.
7459 * gdb.base/nested-subp2.exp: Likewise.
7460 * gdb.base/nested-subp3.exp: Likewise.
7461
7462 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7463
7464 * lib/dwarf.exp (_note): Fix left shift of negative value.
7465 * gdb.trace/trace-condition.exp: Likewise.
7466
7467 2015-11-13 Yao Qi <yao.qi@linaro.org>
7468
7469 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7470 comments about d10v.
7471 (test_scalar_returns): Likewise.
7472 * gdb.base/d10v.ld: Remove.
7473 * gdb.base/overlays.exp: Remove the target triplet checking for
7474 d10v-*-*.
7475 * gdb.base/structs.exp (test_struct_returns): Remove the
7476 comments about d10v.
7477 (test_struct_calls): Likewise.
7478
7479 2015-11-13 Yao Qi <yao.qi@linaro.org>
7480
7481 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7482 * gdb.base/gnu_vector.c: Don't include stdio.h.
7483 (main): Don't print res and call add_some_intvecs.
7484
7485 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7486
7487 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7488 macro.
7489 (func5): Removed.
7490 (func4): Use FAST_TRACEPOINT_LABEL.
7491 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7492 macro.
7493 (func): Removed.
7494 (thread_function): Use FAST_TRACEPOINT_LABEL.
7495 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7496 (func): Remove.
7497 (marker): Use FAST_TRACEPOINT_LABEL.
7498 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7499 (pendfunc1): Remove.
7500 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7501 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7502 (foo): Remove.
7503 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7504 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7505 macro.
7506 (func): Remove.
7507 (marker): Use FAST_TRACEPOINT_LABEL.
7508 * gdb.trace/trace-common.h: New header.
7509 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7510 macro.
7511 (func): Remove.
7512 (marker): Use FAST_TRACEPOINT_LABEL.
7513 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7514 (func): Remove.
7515 (thread_function): Use FAST_TRACEPOINT_LABEL.
7516
7517 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7518
7519 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7520 in front.
7521 * gdb.trace/change-loc.exp: Use global pcreg definition.
7522 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7523 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7524 in front.
7525 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7526 * gdb.trace/pending.exp: Likewise.
7527 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7528 * gdb.trace/trace-break.exp: Likewise.
7529 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7530 in front.
7531 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7532 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7533 in front.
7534 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7535
7536 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7537
7538 * gdb.ada/fin_fun_out: New testcase.
7539
7540 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7541
7542 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7543 value associated with DW_AT_byte_size.
7544 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7545 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7546 DW_AT_upper_bound.
7547
7548 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7549
7550 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7551 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7552 version.
7553 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7554 gdb.dwarf2/dw2-canonicalize-type.exp,
7555 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7556 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7557 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7558 provided by gdb_target_symbol_prefix_flags_asm.
7559 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7560 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7561 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7562 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7563 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7564 macros where needed). Use this macro for symbols which require
7565 the prefix provided by SYMBOL_PREFIX.
7566
7567 2015-11-05 Kevin Buettner <kevinb@redhat.com>
7568
7569 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7570 New procs.
7571 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7572 representing expressions, of more than one list element.
7573 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7574 to prepend linker symbol prefix to f.
7575 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7576 table_1 and table_2.
7577 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7578 Likewise, for f and g.
7579 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7580 for ptr.
7581 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7582 for main.
7583 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7584 table_1_ptr and table_2_ptr.
7585
7586 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7587 Joel Brobecker <brobecker@adacore.com>
7588
7589 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7590
7591 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7592
7593 * gdb.reverse/s390-mvcle.c: New test.
7594 * gdb.reverse/s390-mvcle.exp: New file.
7595 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7596
7597 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7598
7599 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7600
7601 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7602
7603 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7604 reaching marker2.
7605 * gdb.reverse/getresuid-reverse.exp: Likewise.
7606 * gdb.reverse/pipe-reverse.exp: Likewise.
7607 * gdb.reverse/readv-reverse.exp: Likewise.
7608 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7609 * gdb.reverse/time-reverse.exp: Likewise.
7610 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7611
7612 2015-10-30 Yao Qi <yao.qi@linaro.org>
7613
7614 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7615 (empty_cycle): Remove.
7616 (main): Don't call empty_cycle. Don't use watch_count_done.
7617 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7618 empty_cycle. Rewrite the code counting HW watchpoints.
7619
7620 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7621
7622 * gdb.reverse/fstatat-reverse.c: New test.
7623 * gdb.reverse/fstatat-reverse.exp: New file.
7624 * gdb.reverse/getresuid-reverse.c: New test.
7625 * gdb.reverse/getresuid-reverse.exp: New file.
7626 * gdb.reverse/pipe-reverse.c: New test.
7627 * gdb.reverse/pipe-reverse.exp: New file.
7628 * gdb.reverse/readv-reverse.c: New test.
7629 * gdb.reverse/readv-reverse.exp: New file.
7630 * gdb.reverse/recvmsg-reverse.c: New test.
7631 * gdb.reverse/recvmsg-reverse.exp: New file.
7632 * gdb.reverse/time-reverse.c: New test.
7633 * gdb.reverse/time-reverse.exp: New file.
7634 * gdb.reverse/waitpid-reverse.c: New test.
7635 * gdb.reverse/waitpid-reverse.exp: New file.
7636
7637 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7638
7639 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7640
7641 2015-10-26 Doug Evans <dje@google.com>
7642
7643 PR symtab/17391
7644 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7645 * gdb.dwarf2/bad-regnum.c: New file.
7646 * gdb.dwarf2/bad-regnum.exp: New file.
7647
7648 2015-10-26 Doug Evans <dje@google.com>
7649
7650 PR python/18938
7651 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7652 file.
7653
7654 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7657 for a change by "Mention language in compile error message".
7658
7659 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7660
7661 PR python/18073
7662 * gdb.python/py-type.c (C::a_method): New.
7663 (C::a_const_method): New.
7664 (C::a_static_method): New.
7665 (a_function): New.
7666 * gdb.python/py-type.exp (test_fields): Test getting fields
7667 from function and method.
7668
7669 2015-10-21 Keven Boell <keven.boell@intel.com>
7670
7671 * gdb.fortran/vla-alloc-assoc.exp: New file.
7672 * gdb.fortran/vla-datatypes.exp: New file.
7673 * gdb.fortran/vla-datatypes.f90: New file.
7674 * gdb.fortran/vla-history.exp: New file.
7675 * gdb.fortran/vla-ptype-sub.exp: New file.
7676 * gdb.fortran/vla-ptype.exp: New file.
7677 * gdb.fortran/vla-sizeof.exp: New file.
7678 * gdb.fortran/vla-sub.f90: New file.
7679 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7680 * gdb.fortran/vla-value-sub-finish.exp: New file.
7681 * gdb.fortran/vla-value-sub.exp: New file.
7682 * gdb.fortran/vla-value.exp: New file.
7683 * gdb.fortran/vla-ptr-info.exp: New file.
7684 * gdb.mi/mi-vla-fortran.exp: New file.
7685 * gdb.mi/vla.f90: New file.
7686
7687 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7688
7689 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7690 of hardwired timeout value.
7691
7692 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7693 Pedro Alves <palves@redhat.com>
7694
7695 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7696 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7697
7698 2015-10-19 Josh Stone <jistone@redhat.com>
7699
7700 * gdb.base/catch-syscall.c: Include <sched.h>.
7701 (unknown_syscall): New variable.
7702 (main): Trigger a vfork and an unknown syscall.
7703 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7704 (unknown_syscall_number): Likewise.
7705 (check_call_to_syscall): Accept an optional syscall pattern.
7706 (check_return_from_syscall): Likewise.
7707 (check_continue): Likewise.
7708 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7709 (test_catch_syscall_skipping_return): New test toggling off 'catch
7710 syscall' to step over the syscall return, then toggling back on.
7711 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7712 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7713 (do_syscall_tests): Call test_catch_syscall_without_args and
7714 test_catch_syscall_mid_vfork.
7715 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7716 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7717
7718 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7719
7720 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7721 print g_vE): Add new pass patterns.
7722 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7723 print various symbol names for vptr fields.
7724
7725 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7726
7727 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7728 results.
7729
7730 2015-10-12 Yao Qi <yao.qi@linaro.org>
7731
7732 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7733
7734 2015-10-12 Yao Qi <yao.qi@linaro.org>
7735
7736 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7737 is aarch64*-*-linux*.
7738
7739 2015-10-12 Yao Qi <yao.qi@linaro.org>
7740
7741 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7742 (can_relocate_bcond_true): ... it.
7743 (can_relocate_bcond_false): New function.
7744 (foo): Likewise.
7745 (can_relocate_bl): Likewise.
7746 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7747 can_relocate_bl.
7748
7749 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7750
7751 * gdb.base/nested-addr.c: New file.
7752 * gdb.base/nested-addr.exp: New testcase.
7753
7754 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7755
7756 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7757 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7758 its output. Ignore the output of "record goto begin" and instead
7759 check that GDB is replaying.
7760
7761 2015-10-09 Pedro Alves <palves@redhat.com>
7762
7763 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7764 (top level): Use it in the run with no args test.
7765
7766 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7767
7768 * gdb.dlang/properties.exp: New file.
7769
7770 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7771
7772 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7773 whether or not address 0x1000 is mapped on the target.
7774
7775 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7776
7777 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7778 build.
7779
7780 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7781
7782 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7783 instruction-history test.
7784
7785 2015-09-28 Doug Evans <dje@google.com>
7786
7787 * gdb.base/gcore.c (array_func): Add reference to static_array.
7788
7789 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7790
7791 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7792 source line.
7793
7794 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7795
7796 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7797 short or char as base type.
7798
7799 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7800
7801 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7802 to allow any size enum.
7803
7804 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7805
7806 * gdb.ada/array_ptr_renaming.exp: New testcase.
7807 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7808 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7809
7810 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7811
7812 * gdb.trace/ftrace-lock.c: New file.
7813 * gdb.trace/ftrace-lock.exp: New file.
7814
7815 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7816
7817 * gdb.arch/insn-reloc.c: New file.
7818 * gdb.arch/ftrace-insn-reloc.exp: New file.
7819
7820 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7821
7822 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7823 instruction.
7824 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7825 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7826 * gdb.trace/range-stepping.c: Likewise.
7827 * gdb.trace/trace-break.c: Likewise.
7828 * gdb.trace/trace-mt.c (thread_function): Likewise.
7829 * gdb.trace/ftrace.c (marker): Likewise.
7830 * gdb.trace/trace-condition.c (marker): Likewise.
7831 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7832 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7833 is_aarch64_target.
7834
7835 2015-09-18 Doug Evans <xdje42@gmail.com>
7836
7837 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7838 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7839
7840 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7841
7842 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7843 the breakpoint.
7844
7845 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7846
7847 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7848 the pending breakpoint. Remove timeout override for "Run till
7849 MI pending breakpoint on pendfunc3 on thread 2" test.
7850
7851 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7852
7853 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7854 filename pattern.
7855
7856 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7857
7858 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7859 in breakpoint filename pattern.
7860
7861 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7862
7863 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7864
7865 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7866
7867 * gdb.linespec/explicit.exp: Check for readline support for
7868 tab-completion tests. Fix obvious typo.
7869
7870 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7871
7872 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7873 and replay.
7874
7875 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7876
7877 * gdb.btrace/non-stop.c: New.
7878 * gdb.btrace/non-stop.exp: New.
7879
7880 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7881 Yao Qi <yao.qi@linaro.org>
7882
7883 * gdb.trace/trace-condition.c: New file.
7884 * gdb.trace/trace-condition.exp: New file.
7885
7886 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7887
7888 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7889 for testing bytecode compilation.
7890
7891 2015-09-16 Pedro Alves <palves@redhat.com>
7892 Sandra Loosemore <sandra@codesourcery.com>
7893
7894 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7895 (SECONDS): Redefine.
7896 (main): Call pthread_kill and alarm early.
7897 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7898 support.
7899 (test): If the target can't hardware step and doesn't support
7900 displaced stepping, increase the timeout.
7901
7902 2015-09-16 Pedro Alves <palves@redhat.com>
7903
7904 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7905 (enable_debug): New procedures.
7906 (test): Use them. Bail out if waiting for threads fails.
7907 (top level): Bail out if a test fails.
7908
7909 2015-09-16 Yao Qi <yao.qi@linaro.org>
7910
7911 * gdb.asm/asm-source.exp: Set asm-arch for
7912 aarch64*-*-* target.
7913 * gdb.asm/aarch64.inc: New file.
7914
7915 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7916
7917 * gdb.ada/array_of_variable_length.exp: New testcase.
7918 * gdb.ada/array_of_variable_length/foo.adb: New file.
7919 * gdb.ada/array_of_variable_length/pck.adb: New file.
7920 * gdb.ada/array_of_variable_length/pck.ads: New file.
7921
7922 2015-09-15 Doug Evans <dje@google.com>
7923
7924 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7925 of function static local variable.
7926
7927 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7928
7929 * gdb.threads/tls-so_extern.exp: New test file.
7930 * gdb.threads/tls-so_extern.c: New test file.
7931 * gdb.threads/tls-so_extern_main.c: New test file.
7932
7933 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7934
7935 * gdb.opt/solib-intra-step-lib.c: New file.
7936 * gdb.opt/solib-intra-step-main.c: New file.
7937 * gdb.opt/solib-intra-step.exp: New file.
7938
7939 2015-09-15 Pedro Alves <palves@redhat.com>
7940
7941 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7942 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7943
7944 2015-09-14 Pedro Alves <palves@redhat.com>
7945
7946 * gdb.base/hook-stop-continue.c: Delete.
7947 * gdb.base/hook-stop-continue.exp: Delete.
7948 * gdb.base/hook-stop-frame.c: Delete.
7949 * gdb.base/hook-stop-frame.exp: Delete.
7950 * gdb.base/hook-stop.c: New file.
7951 * gdb.base/hook-stop.exp: New file.
7952
7953 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7954
7955 * gdb.ada/access_to_packed_array.exp: New testcase.
7956 * gdb.ada/access_to_packed_array/foo.adb: New file.
7957 * gdb.ada/access_to_packed_array/pack.adb: New file.
7958 * gdb.ada/access_to_packed_array/pack.ads: New file.
7959
7960 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7961
7962 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7963 buffer size test.
7964
7965 2015-09-11 Don Breazeal <donb@codesourcery.com>
7966
7967 * gdb.base/foll-exec.c: Add copyright header. Fix
7968 formatting issues.
7969 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7970 (do_exec_tests): Use clean_restart in place of zap_session,
7971 and for test initialization. Fix formatting issues. Use
7972 fail in place of perror.
7973 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7974 an expect statement to match an expression with output from
7975 the program under debug.
7976 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7977 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7978 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7979 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7980 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7981
7982 2015-09-09 Doug Evans <dje@google.com>
7983
7984 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7985
7986 2015-09-09 Doug Evans <dje@google.com>
7987
7988 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7989
7990 2015-09-09 Doug Evans <dje@google.com>
7991
7992 * gdb.base/savedregs.exp: Fix typo.
7993
7994 2015-09-09 Pedro Alves <palves@redhat.com>
7995
7996 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7997
7998 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7999
8000 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8001 command actually switches threads. Give up on remaining
8002 tests if target fails to stop at breakpoint.
8003
8004 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8005
8006 * gdb.ada/funcall_char.exp: New testcase.
8007 * gdb.ada/funcall_char/foo.adb: New file.
8008
8009 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8010
8011 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8012 expected outputs. Add two testcases for completing ambiguous
8013 functions.
8014 * gdb.ada/complete/aux_pck.adb: New file.
8015 * gdb.ada/complete/aux_pck.ads: New file.
8016 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8017 Ambiguous_Func functions.
8018 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8019 * gdb.ada/complete/pck.adb: Likewise.
8020
8021 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8022
8023 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8024 failures to run the test program under GDB.
8025
8026 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8027
8028 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8029 to C.
8030
8031 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8032
8033 * gdb.base/run-after-attach.exp: New test file.
8034 * gdb.base/run-after-attach.c: New test file.
8035
8036 2015-08-26 Don Breazeal <donb@codesourcery.com>
8037
8038 * gdb.base/foll-exec-2.c: New test program.
8039 * gdb.base/foll-exec-2.exp: New test.
8040
8041 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8042
8043 * gdb.base/nested-subp1.exp: New file.
8044 * gdb.base/nested-subp1.c: New file.
8045 * gdb.base/nested-subp2.exp: New file.
8046 * gdb.base/nested-subp2.c: New file.
8047 * gdb.base/nested-subp3.exp: New file.
8048 * gdb.base/nested-subp3.c: New file.
8049
8050 2015-08-24 Pedro Alves <palves@redhat.com>
8051
8052 * gdb.server/connect-without-multi-process.c: New file.
8053 * gdb.server/connect-without-multi-process.exp: New file.
8054
8055 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8056
8057 * gdb.opt/inline-markers.c: Make z int.
8058
8059 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8060
8061 * gdb.opt/inline-markers.c: Make z volatile.
8062
8063 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8064
8065 * gdb.opt/inline-bt.c: New volatile global z.
8066 * gdb.opt/inline-cmds.c: Likewise.
8067 * gdb.opt/inline-locals.c: Likewise.
8068 * gdb.opt/inline-markers.c: New extern global z.
8069 (marker): Use z.
8070 (inline_fn): Likewise.
8071
8072 2015-08-24 Pedro Alves <palves@redhat.com>
8073
8074 * config/m32r-stub.exp: Remove file.
8075 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8076 * gdb.base/call-rt-st.exp: Likewise.
8077 * gdb.base/call-strs.exp: Likewise.
8078 * gdb.base/default.exp: Remove references to h8300-*-hms and
8079 *-*-udi*.
8080 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8081
8082 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8083
8084 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8085 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8086 and "return" use KFAIL when GDB can not read/write the vector
8087 return value.
8088
8089 2015-08-21 Gary Benson <gbenson@redhat.com>
8090
8091 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8092
8093 2015-08-20 Pedro Alves <palves@redhat.com>
8094
8095 * gdb.server/solib-list.exp: No longer expect an interior stop in
8096 non-stop mode.
8097
8098 2015-08-20 Pedro Alves <palves@redhat.com>
8099
8100 * gdb.server/connect-stopped-target.c: New file.
8101 * gdb.server/connect-stopped-target.exp: New file.
8102
8103 2015-08-20 Pedro Alves <palves@redhat.com>
8104
8105 * gdb.dwarf2/comp-unit-lang.exp: New file.
8106 * gdb.dwarf2/comp-unit-lang.c: New file.
8107
8108 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8109
8110 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8111 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8112
8113 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8114
8115 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8116 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8117
8118 2015-08-18 Doug Evans <dje@google.com>
8119 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8120
8121 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8122 skip_python_tests. New arg prompt_regexp.
8123 (skip_python_tests): New function.
8124 * lib/mi-support.exp (mi_skip_python_tests): New function.
8125 * gdb.python/py-mi-objfile-gdb.py: New file.
8126 * gdb.python/py-mi-objfile.c: New file.
8127 * gdb.python/py-mi-objfile.exp: New file.
8128
8129 2015-08-17 Keith Seitz <keiths@redhat.com>
8130
8131 * gdb.linespec/explicit.exp: Move strace test from here ...
8132 * gdb.trace/strace.exp: ... to here.
8133
8134 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8135
8136 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8137 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8138
8139 2015-08-14 Doug Evans <xdje42@gmail.com>
8140
8141 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8142 inferior before selecting a new file.
8143
8144 2015-08-14 Doug Evans <xdje42@gmail.com>
8145
8146 * gdb.mi/mi-disassemble.exp: Update.
8147 * gdb.base/disasm-optim.S: New file.
8148 * gdb.base/disasm-optim.c: New file.
8149 * gdb.base/disasm-optim.h: New file.
8150 * gdb.base/disasm-optim.exp: New file.
8151
8152 2015-08-14 Keith Seitz <keiths@redhat.com>
8153
8154 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8155 "evaluated-by".
8156
8157 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8158
8159 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8160
8161 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8162
8163 * gdb.ada/fun_renaming.exp: New testcase.
8164 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8165 * gdb.ada/fun_renaming/pack.adb: New file.
8166 * gdb.ada/fun_renaming/pack.ads: New file.
8167
8168 2015-08-12 Keith Seitz <keiths@redhat.com>
8169
8170 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8171 gdb_get_line_number.
8172
8173 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8174
8175 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8176 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8177 gdb.base/dso2dso.exp: New files.
8178
8179 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8180 Pedro Alves <palves@redhat.com>
8181 Keith Seitz <keiths@redhat.com>
8182
8183 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8184 GDBFLAGS.
8185
8186 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8187
8188 * gdb.base/gdbhistsize-history.exp
8189 (test_histsize_history_setting): Use save_vars.
8190 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8191 Use save_vars.
8192 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8193 * gdb.base/readline.exp: Use save_vars.
8194
8195 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8196
8197 * lib/gdb.exp (save_vars): New proc.
8198
8199 2015-08-11 Keith Seitz <keiths@redhat.com>
8200
8201 * gdb.base/help.exp: Update help_breakpoint_text.
8202
8203 2015-08-11 Keith Seitz <keiths@redhat.com>
8204
8205 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8206 (at toplevel): Call test_explicit_breakpoints.
8207 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8208 breakpoints.
8209 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8210 breakpoint conditions, "-cond".
8211
8212 2015-08-11 Keith Seitz <keiths@redhat.com>
8213
8214 * gdb.linespec/3explicit.c: New file.
8215 * gdb.linespec/cpexplicit.cc: New file.
8216 * gdb.linespec/cpexplicit.exp: New file.
8217 * gdb.linespec/explicit.c: New file.
8218 * gdb.linespec/explicit.exp: New file.
8219 * gdb.linespec/explicit2.c: New file.
8220 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8221 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8222 before using in the matching pattern.
8223 Clarify that `prefix' is a regular expression.
8224
8225 2015-08-11 Keith Seitz <keiths@redhat.com>
8226
8227 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8228 test.
8229 Add tests for missing ",FMT" and ",".
8230
8231 2015-08-10 Doug Evans <dje@google.com>
8232 Keith Seitz <keiths@redhat.com>
8233
8234 PR gdb/17960
8235 * gdb.base/completion.exp: Add location completer tests.
8236
8237 2015-08-07 Pedro Alves <palves@redhat.com>
8238
8239 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8240 tests here.
8241 (top level): Run do_test with and without displaced stepping.
8242
8243 2015-08-07 Pedro Alves <palves@redhat.com>
8244
8245 * gdb.base/valgrind-disp-step.c: New file.
8246 * gdb.base/valgrind-disp-step.exp: New file.
8247
8248 2015-08-07 Pedro Alves <palves@redhat.com>
8249
8250 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8251 Delete function.
8252 (main): Add alarm. Run an infinite loop instead of calling
8253 wait_threads.
8254 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8255 comment.
8256 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8257 Delete function.
8258 (main): Add alarm. Run an infinite loop instead of calling
8259 wait_threads.
8260 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8261 comment.
8262
8263 2015-08-07 Pedro Alves <palves@redhat.com>
8264
8265 * gdb.base/checkpoint-ns.exp: New file.
8266 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8267 standard_testfile.
8268
8269 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8270
8271 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8272 * gdb.btrace/instruction_history.exp: Update.
8273 * gdb.btrace/tsx.exp: New.
8274 * gdb.btrace/tsx.c: New.
8275
8276 2015-08-06 Pedro Alves <palves@redhat.com>
8277
8278 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8279 increase timeout.
8280 * gdb.reverse/until-precsave.exp: Bump timeouts.
8281
8282 2015-08-06 Pedro Alves <palves@redhat.com>
8283
8284 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8285
8286 2015-08-06 Pedro Alves <palves@redhat.com>
8287
8288 PR gdb/18749
8289 * gdb.threads/process-dies-while-handling-bp.c: New file.
8290 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8291
8292 2015-08-06 Pedro Alves <palves@redhat.com>
8293
8294 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8295 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8296
8297 2015-08-05 Pedro Alves <palves@redhat.com>
8298
8299 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8300 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8301
8302 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8303
8304 * gdb.base/bp-permanent.exp: Report test as unsupported if
8305 the target cannot stop at the permanent breakpoint.
8306
8307 2015-08-03 Doug Evans <dje@google.com>
8308
8309 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8310 10000.
8311
8312 2015-08-03 Doug Evans <dje@google.com>
8313
8314 * Makefile.in (workers/%.worker, build-perf): New rule.
8315 (GDB_PERFTEST_MODE): New variable.
8316 (check-perf): Use it.
8317 (clean): Clean up gdb.perf parallel build subdirs.
8318 * lib/build-piece.exp: New file.
8319 * lib/gdb.exp (make_gdb_parallel_path): New function
8320 (standard_output_file, standard_temp_file): Call it.
8321 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8322 of $GDB_PARALLEL.
8323 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8324
8325 2015-08-03 Doug Evans <dje@google.com>
8326
8327 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8328 (LOG_FILE_NAME): New global.
8329 (TextReporter.__init__): Initialize self.txt_sum.
8330 (TextReporter.report): Add support for multiple data-points.
8331 Move report to perftest.sum, put raw data in perftest.log.
8332 (TextReporter.start): Open sum and log files.
8333 (TextReporter.end): Close sum and log files.
8334 * gdb.perf/lib/perftest/testresult.py
8335 (SingleStatisticTestResult.record): Handle multiple data-points.
8336
8337 2015-07-31 Pedro Alves <palves@redhat.com>
8338
8339 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8340 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8341 kill_wait_spawned_process instead of explicit "kill -9".
8342 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8343 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8344 kill_wait_spawned_process.
8345 * gdb.base/attach-twice.exp: Likewise.
8346 * gdb.base/attach.exp: Likewise.
8347 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8348 gdb_test_multiple.
8349 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8350 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8351 kill_wait_spawned_process.
8352 * gdb.base/valgrind-infcall.exp: Likewise.
8353 * gdb.multi/multi-attach.exp: Likewise.
8354 * gdb.python/py-prompt.exp: Likewise.
8355 * gdb.python/py-sync-interp.exp: Likewise.
8356 * gdb.server/ext-attach.exp: Likewise.
8357 * gdb.threads/attach-into-signal.exp (corefunc): Use
8358 spawn_wait_for_attach, spawn_id_get_pid and
8359 kill_wait_spawned_process.
8360 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8361 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8362 spawn_id_get_pid and kill_wait_spawned_process.
8363 * gdb.threads/attach-stopped.exp (corefunc): Use
8364 spawn_wait_for_attach, spawn_id_get_pid and
8365 kill_wait_spawned_process.
8366 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8367 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8368 kill_wait_spawned_process instead of explicit "kill -9".
8369 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8370 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8371 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8372 processes. Don't map cygwin/windows pids here. Now returns a
8373 spawn id list.
8374
8375 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8376
8377 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8378 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8379 correct patch.
8380
8381 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8382
8383 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8384
8385 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8386
8387 Reapply:
8388 2014-05-21 Mark Wielaard <mjw@redhat.com>
8389
8390 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8391
8392 2015-07-30 Pedro Alves <palves@redhat.com>
8393
8394 * linux-low.c (handle_extended_wait): Set the child's last
8395 reported status to TARGET_WAITKIND_STOPPED.
8396
8397 2015-07-30 Pedro Alves <palves@redhat.com>
8398
8399 PR threads/18600
8400 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8401 only shows inferior 1.
8402
8403 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8404 Pedro Alves <palves@redhat.com>
8405
8406 PR threads/18600
8407 * gdb.threads/fork-plus-threads.c: New file.
8408 * gdb.threads/fork-plus-threads.exp: New file.
8409
8410 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8411
8412 * gdb.base/batch-preserve-term-settings.exp
8413 (test_terminal_settings_preserved_after_cli_exit): Use
8414 send_quit_command.
8415
8416 2015-07-29 Pedro Alves <palves@redhat.com>
8417 Don Breazeal <donb@codesourcery.com>
8418
8419 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8420 output from both inferior_spawn_id and gdb_spawn_id.
8421
8422 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8423
8424 * gdb.threads/attach-into-signal.exp (corefunc): Use
8425 with_test_prefix on nested loops, uniquefying the test messages.
8426
8427 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8428
8429 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8430 commit.
8431
8432 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8433
8434 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8435 New proc.
8436 (test_terminal_settings_preserved_after_sigterm): New test.
8437
8438 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8439
8440 * gdb.base/batch-preserve-term-settings.exp
8441 (test_terminal_settings_preserved_after_cli_exit): New test.
8442
8443 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8444
8445 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8446 manipulation of saved_gdbflags.
8447 (test_terminal_settings_preserved): Remove global declaration of
8448 the unused variable pagination_prompt. Remove manipulation of
8449 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8450 GDBFLAGS.
8451
8452 2015-07-29 Pedro Alves <palves@redhat.com>
8453
8454 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8455
8456 2015-07-29 Pedro Alves <palves@redhat.com>
8457
8458 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8459 at the top.
8460
8461 2015-07-29 Pedro Alves <palves@redhat.com>
8462
8463 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8464 (main): Call gdb_unbuffer_output.
8465 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8466 (main): Call gdb_unbuffer_output.
8467 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8468 (main): Call gdb_unbuffer_output.
8469 * gdb.base/call-strs.exp: Adjust to step over the
8470 gdb_unbuffer_output call.
8471 * gdb.base/catch-gdb-caused-signals.c: Include
8472 "../lib/unbuffer_output.c".
8473 (main): Call gdb_unbuffer_output.
8474 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8475 (main): Call gdb_unbuffer_output.
8476 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8477 (main): Call gdb_unbuffer_output.
8478 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8479 (main): Call gdb_unbuffer_output.
8480 * gdb.base/shlib-call.exp: Adjust to step over the
8481 gdb_unbuffer_output call.
8482 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8483 (main): Call gdb_unbuffer_output.
8484 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8485 (main): Call gdb_unbuffer_output.
8486 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8487 (main): Rename to ...
8488 (test): ... this.
8489 (main): Reimplement.
8490 * gdb.base/varargs.exp: Run to test instead of to main.
8491 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8492 (main): Call gdb_unbuffer_output.
8493
8494 2015-07-29 Pedro Alves <palves@redhat.com>
8495
8496 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8497 factore out from mi_continue_dprintf. For call-style dprintfs,
8498 expect dprintf output out of $inferior_spawn_id.
8499 (mi_continue_dprintf): Use mi_expect_dprintf.
8500 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8501 (main): Call gdb_unbuffer_output.
8502
8503 2015-07-29 Pedro Alves <palves@redhat.com>
8504
8505 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8506 (default_mi_gdb_start): Set inferior_spawn_id instead of
8507 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8508 gdb_spawn_id.
8509 (mi_gdb_test): Always expect inferior output from both
8510 $inferior_spawn_id and $gdb_spawn_id.
8511
8512 2015-07-29 Pedro Alves <palves@redhat.com>
8513
8514 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8515 send_inferior and $inferior_spawn_id.
8516
8517 2015-07-29 Pedro Alves <palves@redhat.com>
8518
8519 * gdb.gdb/complaints.exp (test_initial_complaints)
8520 (test_serial_complaints, test_short_complaints): Use
8521 gdb_test_stdio.
8522 (test_empty_complaint): Handle $inferior_spawn_id !=
8523 $gdb_spawn_id.
8524
8525 2015-07-29 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.base/varargs.exp: Use gdb_test_stdio.
8528
8529 2015-07-29 Pedro Alves <palves@redhat.com>
8530
8531 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8532
8533 2015-07-29 Pedro Alves <palves@redhat.com>
8534
8535 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8536
8537 2015-07-29 Pedro Alves <palves@redhat.com>
8538
8539 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8540 parameter into two new parameters, "inf_result" and "gdb_result".
8541 Expect inferior output and gdb output from $inferior_spawn_id and
8542 $gdb_spawn_id, respectively. Adjust all callers.
8543
8544 2015-07-29 Pedro Alves <palves@redhat.com>
8545
8546 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8547 of gdb_test_sequence.
8548
8549 2015-07-29 Pedro Alves <palves@redhat.com>
8550
8551 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8552 (saw_spurious_output): Expect inferior output from
8553 $inferior_spawn_id. Use gdb_test_stdio.
8554
8555 2015-07-29 Pedro Alves <palves@redhat.com>
8556
8557 * gdb.base/dprintf.exp: Use standard_testfile. Change
8558 prepare_for_testing call.
8559 (srcfile): Don't set.
8560 (restart): New procedure.
8561 (test_dprintf): New procecure, use to continue over dprintfs.
8562 (test_call, test_agent): New procedures, tests moved here.
8563 Restart gdb and recreate dprintfs. Adjust expected output.
8564
8565 2015-07-29 Pedro Alves <palves@redhat.com>
8566
8567 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8568
8569 2015-07-29 Pedro Alves <palves@redhat.com>
8570
8571 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8572
8573 2015-07-29 Pedro Alves <palves@redhat.com>
8574
8575 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8576 gdb_test_stdio.
8577
8578 2015-07-29 Pedro Alves <palves@redhat.com>
8579
8580 * lib/gdb.exp (gdb_test_stdio): New procedure.
8581
8582 2015-07-29 Pedro Alves <palves@redhat.com>
8583
8584 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8585
8586 2015-07-29 Pedro Alves <palves@redhat.com>
8587
8588 * gdb.base/call-signal-resume.exp: Remove check for
8589 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8590 * gdb.base/unwindonsignal.exp: Likewise.
8591 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8592 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8593
8594 2015-07-29 Pedro Alves <palves@redhat.com>
8595
8596 * gdb.base/siginfo-addr.c (pass): New function.
8597 (handler): Call it iff si_addr is correct.
8598 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8599 Set a breakpoint at "pass" and continue to it.
8600
8601 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8602
8603 * gdb.python/py-objfile.exp: Make some tests have unique names.
8604 * gdb.python/py-pp-registration.exp: Likewise.
8605
8606 2015-07-28 Pedro Alves <palves@redhat.com>
8607
8608 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8609
8610 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8611
8612 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8613
8614 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8615
8616 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8617
8618 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8619
8620 * gdb.base/gdb-sigterm-2.exp: New test.
8621
8622 2015-07-25 Doug Evans <xdje42@gmail.com>
8623
8624 Revert:
8625 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8626 (workers/%.worker, build-perf): New rule.
8627 (GDB_PERFTEST_MODE): New variable.
8628 (check-perf): Use it.
8629 (clean): Clean up gdb.perf parallel build subdirs.
8630 * lib/build-piece.exp: New file.
8631 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8632 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8633 name.
8634 (standard_temp_file): Ditto.
8635 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8636 of $GDB_PARALLEL.
8637
8638 2015-07-24 Doug Evans <dje@google.com>
8639
8640 * gdb.perf/lib/perftest/utils.py: New file.
8641 * gdb.perf/gm-hello.cc: New file.
8642 * gdb.perf/gm-pervasive-typedef.cc: New file.
8643 * gdb.perf/gm-pervasive-typedef.h: New file.
8644 * gdb.perf/gm-std.cc: New file.
8645 * gdb.perf/gm-std.h: New file.
8646 * gdb.perf/gm-use-cerr.cc: New file.
8647 * gdb.perf/gm-utils.h: New file.
8648 * gdb.perf/gmonster-null-lookup.py: New file.
8649 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8650 * gdb.perf/gmonster-print-cerr.py: New file.
8651 * gdb.perf/gmonster-ptype-string.py: New file.
8652 * gdb.perf/gmonster-runto-main.py: New file.
8653 * gdb.perf/gmonster-select-file.py: New file.
8654 * gdb.perf/gmonster1-null-lookup.exp: New file.
8655 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8656 * gdb.perf/gmonster1-print-cerr.exp: New file.
8657 * gdb.perf/gmonster1-ptype-string.exp: New file.
8658 * gdb.perf/gmonster1-runto-main.exp: New file.
8659 * gdb.perf/gmonster1-select-file.exp: New file.
8660 * gdb.perf/gmonster1.cc: New file.
8661 * gdb.perf/gmonster1.exp: New file.
8662 * gdb.perf/gmonster2-null-lookup.exp: New file.
8663 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8664 * gdb.perf/gmonster2-print-cerr.exp: New file.
8665 * gdb.perf/gmonster2-ptype-string.exp: New file.
8666 * gdb.perf/gmonster2-runto-main.exp: New file.
8667 * gdb.perf/gmonster2-select-file.exp: New file.
8668 * gdb.perf/gmonster2.cc: New file.
8669 * gdb.perf/gmonster2.exp: New file.
8670
8671 2015-07-24 Doug Evans <dje@google.com>
8672
8673 * gdb.perf/README: New file.
8674 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8675 * lib/gen-perf-test.exp: New file.
8676
8677 2015-07-24 Doug Evans <dje@google.com>
8678
8679 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8680 (PerfTest::startup): New function.
8681 (PerfTest::run): Return result of calling body.
8682 (PerfTest::assemble): Rewrite.
8683 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8684 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8685 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8686 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8687 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8688
8689 2015-07-24 Doug Evans <dje@google.com>
8690
8691 * lib/gdb.exp (clean_restart): Make executable optional.
8692
8693 2015-07-24 Doug Evans <dje@google.com>
8694
8695 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8696 compiler_info references.
8697 * gdb.cp/temargs.exp: Ditto.
8698 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8699 (get_compiler_info): Early exit if already computed. Set compiler_info
8700 to "unknown" if there was a problem.
8701 (test_compiler_info): Add function comment. Call get_compiler_info.
8702
8703 2015-07-24 Doug Evans <dje@google.com>
8704
8705 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8706 (workers/%.worker, build-perf): New rule.
8707 (GDB_PERFTEST_MODE): New variable.
8708 (check-perf): Use it.
8709 (clean): Clean up gdb.perf parallel build subdirs.
8710 * lib/build-piece.exp: New file.
8711 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8712 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8713 name.
8714 (standard_temp_file): Ditto.
8715 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8716 of $GDB_PARALLEL.
8717
8718 2015-07-24 Doug Evans <dje@google.com>
8719
8720 * lib/future.exp (gdb_default_target_compile): New option
8721 "early_flags".
8722 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8723 --as-needed.
8724
8725 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8726
8727 * gdb.base/catch-syscall.exp: Call gdb_exit before
8728 gdb_skip_xml_test.
8729
8730 2015-07-24 Pedro Alves <palves@redhat.com>
8731
8732 * gdb.python/py-events.exp: Accept output between the stop event
8733 and the prompt.
8734 * gdb.python/py-evsignal.exp: Likewise.
8735 * gdb.python/py-evthreads.exp: Likewise.
8736
8737 2015-07-24 Pedro Alves <palves@redhat.com>
8738
8739 PR gdb/18717
8740 * gdb.threads/non-ldr-exit.c: New file.
8741 * gdb.threads/non-ldr-exit.exp: New file.
8742
8743 2015-07-24 Yao Qi <yao.qi@linaro.org>
8744
8745 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8746 restarting process.
8747
8748 2015-07-24 Yao Qi <yao.qi@linaro.org>
8749
8750 * gdb.server/ext-restart.exp: New file.
8751
8752 2015-07-24 Yao Qi <yao.qi@linaro.org>
8753
8754 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8755 argument options.
8756 * gdb.server/ext-wrapper.exp: New file.
8757
8758 2015-07-23 Doug Evans <dje@google.com>
8759
8760 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8761 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8762
8763 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8764
8765 * gdb.ada/var_arr_typedef.exp: New testcase.
8766 * gdb.ada/var_arr_typedef/pack.adb: New file.
8767 * gdb.ada/var_arr_typedef/pack.ads: New file.
8768 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8769
8770 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8771
8772 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8773
8774 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8775
8776 * gdb.arch/i386-biarch-core.exp: Replace istarget
8777 by "complete set gnutarget". Remove expectation for the "core-file"
8778 command.
8779
8780 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8781
8782 Revert the previous commit:
8783 Tests for validate symbol file using build-id.
8784
8785 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8786
8787 Tests for validate symbol file using build-id.
8788 * gdb.base/solib-mismatch-lib.c: New file.
8789 * gdb.base/solib-mismatch-libmod.c: New file.
8790 * gdb.base/solib-mismatch.c: New file.
8791 * gdb.base/solib-mismatch.exp: New file.
8792
8793 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8794
8795 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8796 nios2-*-linux*.
8797 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8798 * gdb.base/siginfo.exp: Likewise.
8799 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8800
8801 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8802
8803 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8804 Move it to ...
8805 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8806 ... here.
8807 * gdb.trace/range-stepping.exp: Check that the target supports
8808 range stepping.
8809
8810 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8811
8812 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8813
8814 2015-07-14 Pedro Alves <palves@redhat.com>
8815
8816 * gdb.base/killed-outside.exp: New file.
8817 * gdb.base/killed-outside.c: New file.
8818
8819 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8820
8821 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8822 (n at main): New.
8823 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8824
8825 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8826
8827 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8828 infcall tests instead of setting up for KFAIL.
8829
8830 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8831
8832 * gdb.btrace/record_goto-step.exp: New.
8833
8834 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8835
8836 PR compile/18484
8837 * gdb.compile/compile.c (struct struct_type): Add volatile to
8838 selffield's type.
8839 * gdb.compile/compile.exp
8840 (compile code struct_object.selffield = &struct_object): Skip further
8841 struct_object tests if this one xfails.
8842
8843 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8844
8845 PR exp/18617
8846 * gdb.trace/ax.exp: Add test.
8847
8848 2015-07-07 Yao Qi <yao.qi@linaro.org>
8849
8850 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8851 instead of istarget "aarch64*-*-*".
8852 * gdb.arch/aarch64-fp.exp: Likewise.
8853 * gdb.base/float.exp: Likewise.
8854 * gdb.reverse/aarch64.exp: Likewise.
8855 * lib/gdb.exp (is_aarch64_target): New proc.
8856
8857 2015-07-07 Yao Qi <yao.qi@linaro.org>
8858
8859 * lib/gdb.exp (is_aarch32_target): New proc.
8860 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8861 instead of "istarget "arm*-*-*"".
8862 * gdb.arch/arm-disp-step.exp: Likewise.
8863 * gdb.arch/thumb-bx-pc.exp: Likewise.
8864 * gdb.arch/thumb-prologue.exp: Likewise.
8865 * gdb.arch/thumb-singlestep.exp: Likewise.
8866 * gdb.base/disp-step-syscall.exp: Likewise.
8867 * gdb.base/float.exp: Likewise.
8868
8869 2015-07-07 Yao Qi <yao.qi@linaro.org>
8870
8871 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8872 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8873
8874 2015-07-07 Yao Qi <yao.qi@linaro.org>
8875
8876 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8877 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8878 if it exists.
8879 * gdb.multi/multi-arch.exp: Likewise.
8880
8881 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8882
8883 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8884 print.
8885
8886 2015-07-07 Yao Qi <yao.qi@linaro.org>
8887
8888 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8889
8890 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8891
8892 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8893 '[' and ']' characters.
8894
8895 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8896
8897 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8898
8899 2015-06-29 Pedro Alves <palves@redhat.com>
8900
8901 PR threads/18127
8902 * gdb.threads/hand-call-new-thread.c: New file.
8903 * gdb.threads/hand-call-new-thread.c: New file.
8904
8905 2015-06-26 Keith Seitz <keiths@redhat.com>
8906 Doug Evans <dje@google.com>
8907
8908 PR 16253
8909 * gdb.cp/var-tag-2.cc: New file.
8910 * gdb.cp/var-tag-3.cc: New file.
8911 * gdb.cp/var-tag-4.cc: New file.
8912 * gdb.cp/var-tag.cc: New file.
8913 * gdb.cp/var-tag.exp: New file.
8914
8915 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8916
8917 * gdb.base/history-duplicates.exp: New test.
8918
8919 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8920
8921 * gdb.base/completion.exp: Test the completion of the "focus"
8922 command.
8923
8924 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8925
8926 * gdb.arch/amd64-prologue-skip.S: New file.
8927 * gdb.arch/amd64-prologue-skip.exp: New file.
8928
8929 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8930
8931 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8932 is_address_zero_readable check.
8933
8934 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8935
8936 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8937 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8938
8939 2015-06-24 Yao Qi <yao.qi@linaro.org>
8940
8941 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8942 linux targets.
8943
8944 2015-06-24 Yao Qi <yao.qi@linaro.org>
8945
8946 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8947 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8948 * gdb.base/siginfo-thread.exp: Likewise.
8949
8950 2015-06-22 Yao Qi <yao.qi@linaro.org>
8951
8952 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8953
8954 2015-06-22 Yao Qi <yao.qi@linaro.org>
8955
8956 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8957 aarch64*-*-*.
8958 (skip_hw_watchpoint_tests): Likewise.
8959
8960 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8961
8962 * gdb.base/gdbinit-history.exp: Test the interaction between
8963 setting GDBHISTSIZE and setting the history size via .gdbinit.
8964
8965 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8966
8967 PR gdb/16999
8968 * gdb.base/gdbhistsize-history.exp: New test.
8969
8970 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8971
8972 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8973 with GDBHISTSIZE.
8974 * gdb.base/readline.exp: Likewise.
8975
8976 2015-06-17 Yao Qi <yao.qi@linaro.org>
8977
8978 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8979 line.
8980
8981 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8982
8983 * gdb.base/gdbinit-history.exp: Add test case to check that
8984 an unlimited history file does not get truncated on exit.
8985
8986 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8987
8988 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8989 (VECTOR): New macro. Use it...
8990 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8991 ...for these typedefs.
8992 (int8, char1, int1, double1): New typedefs.
8993 (struct just_int2, struct two_int2): New structures.
8994 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8995 (add_structvecs, add_singlevecs): New functions.
8996 (main): Call add_some_intvecs twice.
8997 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8998 the compile and exit upon failure. Try compiling for the "native"
8999 architecture. Test inferior function calls with vector arguments
9000 and vector return value handling with "finish" and "return".
9001
9002 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9003
9004 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9005 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9006 PE file.
9007 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9008
9009 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9010
9011 PR breakpoints/16465
9012 * gdb.mi/mi-dprintf-pending.c: New file.
9013 * gdb.mi/mi-dprintf-pending.exp: New test.
9014 * gdb.mi/mi-dprintf-pendshr.c: New file.
9015
9016 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9017 Mircea Gherzan <mircea.gherzan@intel.com>
9018
9019 * gdb.arch/i386-mpx-map.c: New file.
9020 * gdb.arch/i386-mpx-map.exp: New File.
9021
9022 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9023
9024 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9025 * gdb.arch/i386-mpx.exp: Indentation fixed.
9026
9027 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9028
9029 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9030 function and improved indentation.
9031 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9032 gdb_test_multiple. Added additional tests to skip the test.
9033
9034 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9035
9036 * gdb.arch/i386-avx512.c: Change path in include file.
9037 * gdb.arch/i386-avx512.exp: Change include dir path
9038 compilation flag.
9039 * gdb.arch/i386-mpx.c: Change path in include file.
9040 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9041 flag.
9042
9043 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9044
9045 * gdb.compile/compile-print.exp (compile print *vararray@3)
9046 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9047
9048 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9049
9050 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9051 (do not keep jit in memory): ... this.
9052 (expect 5): Change it to ...
9053 (expect no 5): ... this.
9054
9055 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9056
9057 PR gdb/15564
9058 * gdb.mi/mi-detach.exp: New file.
9059
9060 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9061
9062 PR symtab/18392
9063 * gdb.arch/amd64-tailcall-self.S: New file.
9064 * gdb.arch/amd64-tailcall-self.c: New file.
9065 * gdb.arch/amd64-tailcall-self.exp: New file.
9066
9067 2015-05-28 Don Breazeal <donb@codesourcery.com>
9068
9069 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9070 tests for remote targets by checking is_target_gdbserver.
9071
9072 2015-05-27 Doug Evans <dje@google.com>
9073
9074 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9075 * gdb.dwarf2/opaque-type-lookup.c: New file.
9076 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9077
9078 2015-05-26 Doug Evans <dje@google.com>
9079
9080 * gdb.cp/iostream.cc: New file.
9081 * gdb.cp/iostream.exp: New file.
9082
9083 2015-05-26 Doug Evans <dje@google.com>
9084
9085 * gdb.dwarf2/dw2-op-call.exp: Update.
9086 * gdb.dwarf2/dw4-sig-types.exp: Update.
9087 * gdb.dwarf2/implptr.exp: Update.
9088 * gdb.mi/mi-cmd-param-changed.exp: Update.
9089
9090 2015-05-26 Doug Evans <dje@google.com>
9091
9092 * gdb.python/py-lazy-string.c: New file.
9093 * gdb.python/py-lazy-string.exp: New file.
9094 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9095 (main): Update. Add estring3.
9096 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9097 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9098
9099 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9100 Yao Qi <yao.qi@linaro.org>
9101
9102 * gdb.reverse/aarch64.c: New.
9103 * gdb.reverse/aarch64.exp: New.
9104
9105 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9106
9107 * lib/gdb.exp (supports_process_record): Return true for
9108 aarch64*-linux*.
9109 (supports_reverse): Likewise.
9110
9111 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9112
9113 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9114 Use with_test_prefix.
9115
9116 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9117
9118 * gdb.base/completion.exp: Add test for completion of layout
9119 names.
9120
9121 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9122
9123 * lib/gdb.exp (skip_tui_tests): New proc.
9124 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9125
9126 2015-05-19 Pedro Alves <palves@redhat.com>
9127
9128 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9129 Save the whole env array instead of just HOME. Unset HISTSIZE in
9130 the environment while testing. Restore whole environment
9131 afterwards.
9132
9133 2015-05-16 Doug Evans <xdje42@gmail.com>
9134
9135 * gdb.guile/scm-ports.c: New file.
9136 * gdb.guile/scm-ports.exp: Add memory port tests.
9137
9138 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9139
9140 * gdb.compile/compile-print.c: New file.
9141 * gdb.compile/compile-print.exp: New file.
9142
9143 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9144
9145 * gdb.compile/compile-ops.exp: Cast param to void.
9146 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9147 (compile code struct_object.selffield = &struct_object): Add xfail.
9148
9149 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9150
9151 * gdb.ada/arr_enum_with_gap: New testcase.
9152
9153 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9154
9155 * gdb.ada/byte_packed_arr: New testcase.
9156
9157 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9158
9159 * gdb.ada/pckd_neg: New testcase.
9160
9161 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9162
9163 PR gdb/17820
9164 * gdb.base/gdbinit-history.exp: New test.
9165 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9166 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9167
9168 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9169
9170 * gdb.python/py-xmethods.cc: Enhance test case.
9171 * gdb.python/py-xmethods.exp: New tests.
9172 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9173 function.
9174 (B_indexoper): Likewise.
9175 (global_dm_list) : Add new xmethod worker functions.
9176
9177 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9178
9179 * gdb.base/coredump-filter.exp: Correctly unset
9180 "coredump_var_addr" array.
9181
9182 2015-05-08 Pedro Alves <palves@redhat.com>
9183
9184 * gdb.server/non-existing-program.exp: Unset spawn_id.
9185
9186 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9187
9188 PR python/18291
9189 * gdb.python/py-xmethods.exp: Add tests.
9190
9191 2015-05-08 Yao Qi <yao.qi@linaro.org>
9192
9193 PR gdb/18208
9194 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9195 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9196 function set_coredump_filter, and remove remote_exec call.
9197 Remove argument ipid. Callers update.
9198 (top level): Don't get inferior's PID.
9199
9200 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9201
9202 * gdb.base/watch_thread_num.exp: Skip test on targets without
9203 access watchpoints.
9204
9205 2015-05-06 Pedro Alves <palves@redhat.com>
9206
9207 PR server/18081
9208 * gdb.server/non-existing-program.exp: New file.
9209
9210 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9211
9212 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9213
9214 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9215
9216 * gdb.ada/out_of_line_in_inlined: New testcase.
9217
9218 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9219
9220 * gdb.ada/var_rec_arr: New testcase.
9221
9222 2015-04-30 Yao Qi <yao.qi@linaro.org>
9223
9224 * gdb.base/break-idempotent.exp: If
9225 skip_hw_watchpoint_multi_tests returns true, skip the tests
9226 on "rwatch" and "awatch".
9227
9228 2015-04-30 Yao Qi <yao.qi@linaro.org>
9229
9230 * gdb.base/relativedebug.exp: Invoke gdb command
9231 "info sharedlibrary", and if libc.so doesn't have debug info,
9232 skip the test.
9233
9234 2015-04-29 Doug Evans <dje@google.com>
9235
9236 * gdb.python/py-xmethods.exp: Add ptype tests.
9237 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9238 get_result_type method.
9239
9240 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9241
9242 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9243 the target does not support hardware watchpoints.
9244
9245 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9246
9247 * gdb.base/break-always.exp: Abort testing if writing to memory
9248 causes an error.
9249
9250 2015-04-28 Doug Evans <dje@google.com>
9251
9252 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9253 * gdb.python/py-pp-registration.exp: ... here. New file.
9254 * gdb.python/py-pp-registration.c: New file.
9255 * gdb.python/py-pp-registration.py: New file.
9256
9257 2015-04-28 Doug Evans <dje@google.com>
9258
9259 * gdb.python/py-bad-printers.c: New file.
9260 * gdb.python/py-bad-printers.py: New file.
9261 * gdb.python/py-bad-printers.exp: New file.
9262
9263 2015-04-28 Sasha Smundak <asmundak@google.com>
9264
9265 * gdb.python/py-type.exp: New test.
9266
9267 2015-04-28 Andy Wingo <wingo@igalia.com>
9268
9269 * gdb.python/py-parameter.exp:
9270 * gdb.guile/scm-parameter.exp: Escape the path that we are
9271 matching against, as it might contain characters that are special
9272 to regular expressions.
9273
9274 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9275
9276 * gdb.ada/rec_comp: New testcase.
9277
9278 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9279
9280 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9281 before using it.
9282
9283 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9284
9285 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9286 new tests for verilog output.
9287
9288 2015-04-24 Yao Qi <yao.qi@linaro.org>
9289
9290 * boards/remote-gdbserver-on-localhost.exp: New file.
9291
9292 2015-04-23 Pedro Alves <palves@redhat.com>
9293
9294 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9295 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9296 "end of file", remove $inferior_spawn_id from the indirect list.
9297
9298 2015-04-23 Pedro Alves <palves@redhat.com>
9299
9300 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9301
9302 2015-04-23 Pedro Alves <palves@redhat.com>
9303
9304 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9305 on $any_spawn_id instead of only on $gdb_spawn_id.
9306
9307 2015-04-21 Pierre Muller <muller@sourceware.org>
9308
9309 PR pascal/17815
9310 * lib/pascal.exp (gpc_compile): Add new option "class".
9311 (fpc_compile): Likewise.
9312 * gdb.pascal/case-insensitive-symbols.pas: New file.
9313 * gdb.pascal/case-insensitive-symbols.exp: New file.
9314
9315 2015-04-20 Gary Benson <gbenson@redhat.com>
9316
9317 * gdb.base/attach.exp: Fix three extended remote failures.
9318
9319 2015-04-17 Gary Benson <gbenson@redhat.com>
9320
9321 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9322 the main executable over the remote protocol.
9323
9324 2015-04-16 Pedro Alves <palves@redhat.com>
9325
9326 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9327 a new gdbserver if gdbserver_reconnect_p is set.
9328
9329 2015-04-16 Pedro Alves <palves@redhat.com>
9330
9331 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9332 is set, don't exit gdbserver.
9333
9334 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9335
9336 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9337 appropriate .insn, such that an older assembler can be used.
9338 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9339 the z/Architecture instruction set on 31-bit targets as well.
9340
9341 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9342
9343 * gdb.go/handcall.exp: Remove all logic related to the first
9344 breakpoint and rely on go_runto_main instead.
9345 * gdb.go/strings.exp: Likewise.
9346 * gdb.go/unsafe.exp: Likewise.
9347 * gdb.go/hello.exp: Likewise. Also rename the remaining
9348 breakpoint marker to "breakpoint 1".
9349 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9350 * gdb.go/strings.go: Likewise.
9351 * gdb.go/unsafe.go: Likewise.
9352 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9353 "set breakpoint 2 here" and rename the remaining breakpoint marker
9354 to "breakpoint 1".
9355
9356 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9357
9358 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9359 if itertools.imap is not present.
9360 * gdb.python/py-objfile.exp: Add parentheses.
9361 * gdb.python/py-type.exp: Same.
9362 * gdb.python/py-unwind-maint.py: Same.
9363
9364 2015-04-15 Yao Qi <yao.qi@linaro.org>
9365
9366 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9367 of ":$ptr_size" and set its form explicitly.
9368
9369 2015-04-15 Pedro Alves <palves@redhat.com>
9370 Yao Qi <yao.qi@linaro.org>
9371
9372 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9373 timeout by factor of 4.
9374 (test_regular_watch): Likewise.
9375 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9376 * gdb.reverse/sigall-reverse.exp: Likewise.
9377 * gdb.reverse/until-precsave.exp: Likewise.
9378 * lib/gdb.exp (with_timeout_factor): New proc.
9379 (gdb_expect): Move some code to ...
9380 (get_largest_timeout): ... here. New procedure.
9381
9382 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9383
9384 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9385
9386 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9387
9388 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9389 to write to the .text section.
9390
9391 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9392
9393 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9394 Handle the case of targets that do not provide PID information.
9395
9396 2015-04-13 Yao Qi <yao.qi@linaro.org>
9397
9398 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9399 and use expect instead of gdb_expect.
9400
9401 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9402
9403 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9404 "coredump_var_addr" to avoid naming conflict with other testcases.
9405
9406 2015-04-10 Pedro Alves <palves@redhat.com>
9407
9408 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9409 gdb_test_sequence and gdb_assert.
9410
9411 2015-04-10 Pedro Alves <palves@redhat.com>
9412
9413 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9414 test messages that don't include the breakpoint address.
9415
9416 2015-04-10 Yao Qi <yao.qi@linaro.org>
9417
9418 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9419 false for some offset and width combinations which aren't
9420 supported by linux kernel.
9421
9422 2015-04-10 Pedro Alves <palves@redhat.com>
9423
9424 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9425 procedure, factored out from ...
9426 (top level): ... here. Add "set displaced-stepping" testing axis.
9427 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9428 parameter "displaced". Use it.
9429 (top level): Use foreach and add "set displaced-stepping" testing
9430 axis.
9431
9432 2015-04-10 Pedro Alves <palves@redhat.com>
9433
9434 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9435 Remove comment.
9436 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9437 both the address of the instruction that triggers the watchpoint
9438 and the address of the instruction immediately after, and use
9439 those addresses for the test. Fix comment.
9440
9441 2015-04-10 Pedro Alves <palves@redhat.com>
9442
9443 * gdb.base/sigstep.exp (breakpoint_to_handler)
9444 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9445 Test "backtrace" in handler.
9446 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9447 (top level): Add new "displaced" test axis to
9448 breakpoint_to_handler, breakpoint_to_handler_entry and
9449 breakpoint_over_handler.
9450
9451 2015-04-10 Pedro Alves <palves@redhat.com>
9452
9453 PR gdb/18216
9454 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9455
9456 2015-04-10 Yao Qi <yao.qi@linaro.org>
9457
9458 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9459 (test_add_rn_pc): New function.
9460 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9461 (top level): Invoke test_add_rn_pc.
9462
9463 2015-04-10 Pedro Alves <palves@redhat.com>
9464
9465 PR gdb/13858
9466 * gdb.base/step-over-no-symbols.exp: New file.
9467
9468 2015-04-09 Andy Wingo <wingo@igalia.com>
9469
9470 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9471 after the Python tests.
9472
9473 2015-04-08 Keith Seitz <keiths@redhat.com>
9474
9475 PR python/16699
9476 * gdb.python/py-completion.exp: New tests for completion.
9477 * gdb.python/py-completion.py (CompleteLimit1): New class.
9478 (CompleteLimit2): Likewise.
9479 (CompleteLimit3): Likewise.
9480 (CompleteLimit4): Likewise.
9481 (CompleteLimit5): Likewise.
9482 (CompleteLimit6): Likewise.
9483 (CompleteLimit7): Likewise.
9484
9485 2015-04-08 Pedro Alves <palves@redhat.com>
9486
9487 PR gdb/18214
9488 PR gdb/18216
9489 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9490 function.
9491 (main): Install it as SIGUSR1 handler.
9492 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9493 parameter. Always use "setup" as prefix. Toggle "set
9494 displaced-stepping" off/on depending on global. Don't switch to
9495 thread 1 here.
9496 (top level): Add displaced stepping "off/on" test axis. Update
9497 "setup" calls. Wrap each subtest with with_test_prefix. Test
9498 continuing with a queued signal in each thread.
9499
9500 2015-04-08 Pedro Alves <palves@redhat.com>
9501
9502 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9503 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9504 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9505 Return early if running to main fails.
9506 * gdb.trace/while-stepping.exp: Likewise.
9507
9508 2015-04-07 Pedro Alves <palves@redhat.com>
9509
9510 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9511 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9512 interact with inferior program.
9513
9514 2015-04-07 Pedro Alves <palves@redhat.com>
9515
9516 * lib/gdb.exp (inferior_spawn_id): New global.
9517 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9518 spawn id after processing the user code.
9519 (default_gdb_start): Set inferior_spawn_id.
9520 (send_inferior): New procedure.
9521 * lib/gdbserver-support.exp (gdbserver_start): Set
9522 inferior_spawn_id.
9523 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9524
9525 2015-04-07 Pedro Alves <palves@redhat.com>
9526
9527 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9528 * lib/gdbserver-support.exp (gdbserver_start): Make
9529 $server_spawn_id global.
9530 (gdbserver_start): Don't wait for gdbserver's spawn id with
9531 expect_background.
9532 (close_gdbserver): New procedure.
9533 (gdb_exit): Rename the default version and reimplement.
9534
9535 2015-04-07 Pedro Alves <palves@redhat.com>
9536
9537 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9538 append the substituted item, not the original item.
9539
9540 2015-04-07 Pedro Alves <palves@redhat.com>
9541
9542 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9543 gdb_expect.
9544
9545 2015-04-07 Pedro Alves <palves@redhat.com>
9546
9547 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9548 output appearing once only.
9549
9550 2015-04-07 Pedro Alves <palves@redhat.com>
9551
9552 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9553 that doesn't expect anything. Return early if running to main
9554 fails.
9555
9556 2015-04-07 Yao Qi <yao.qi@linaro.org>
9557
9558 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9559 (child_function): Call alarm.
9560 (main): Move call to alarm into the loop.
9561 * gdb.threads/non-stop-fair-events.exp: Build program with
9562 -DTIMEOUT=$timeout.
9563
9564 2015-04-06 Doug Evans <xdje42@gmail.com>
9565
9566 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9567 Fix dest parameter to board_info.
9568 (fpc_compile): Ditto.
9569 (gdb_compile_pascal): Rename dest arg to destfile.
9570
9571 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9572
9573 * gdb.ada/funcall_ref.exp: New file.
9574 * gdb.ada/funcall_ref/foo.adb: New file.
9575
9576 2015-04-02 Yao Qi <yao.qi@linaro.org>
9577
9578 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9579 is remote.
9580
9581 2015-04-02 Gary Benson <gbenson@redhat.com>
9582
9583 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9584
9585 2015-04-01 Sasha Smundak <asmundak@google.com>
9586
9587 * gdb.python/py-unwind-maint.c: New file.
9588 * gdb.python/py-unwind-maint.exp: New test.
9589 * gdb.python/py-unwind-maint.py: New file.
9590 * gdb.python/py-unwind.c: New file.
9591 * gdb.python/py-unwind.exp: New test.
9592 * gdb.python/py-unwind.py: New test.
9593
9594 2015-04-01 Pedro Alves <palves@redhat.com>
9595
9596 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9597 to fail instead of non-existent $test.
9598
9599 2015-04-01 Pedro Alves <palves@redhat.com>
9600
9601 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9602 GDBFLAGS if not empty.
9603
9604 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9605
9606 * gdb.ada/complete.exp: Remove "multi_line".
9607 * gdb.ada/info_exc.exp: Remove "multi_line".
9608 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9609 * gdb.ada/ptype_field.exp: Remove "multi_line".
9610 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9611 * gdb.ada/tagged.exp: Remove "multi_line".
9612 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9613 [multi_line ...]
9614 * gdb.btrace/delta.exp: Likewise.
9615 * gdb.btrace/exception.exp: Likewise.
9616 * gdb.btrace/function_call_history.exp: Likewise.
9617 * gdb.btrace/instruction_history.exp: Likewise.
9618 * gdb.btrace/nohist.exp: Likewise.
9619 * gdb.btrace/record_goto.exp: Likewise.
9620 * gdb.btrace/segv.exp: Likewise.
9621 * gdb.btrace/stepi.exp: Likewise.
9622 * gdb.btrace/tailcall.exp: Likewise.
9623 * gdb.btrace/unknown_functions.exp: Likewise.
9624 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9625 * lib/gdb.exp: Add the "multi_line" helper.
9626
9627 2015-04-01 Pedro Alves <palves@redhat.com>
9628
9629 * gdb.threads/tid-reuse.c: New file.
9630 * gdb.threads/tid-reuse.exp: New file.
9631
9632 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9633
9634 PR corefiles/16092
9635 * gdb.base/coredump-filter.c: New file.
9636 * gdb.base/coredump-filter.exp: Likewise.
9637
9638 2015-03-27 Petr Machata <pmachata@redhat.com>
9639
9640 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9641 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9642 (Dwarf::assemble): Initialize them.
9643 (Dwarf::lines): New function.
9644
9645 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9646
9647 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9648 SYMBOL_PREFIX for x86_64-*-cygwin.
9649
9650 2015-03-26 Andy Wingo <wingo@igalia.com>
9651
9652 PR symtab/18148
9653 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9654 const_value but not a location.
9655 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9656 location defined in non-main CUs are visible.
9657
9658 2015-03-26 Yao Qi <yao.qi@linaro.org>
9659
9660 PR testsuite/18139
9661 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9662 Add a line number entry for the same line.
9663 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9664 Add a line number entry for the same line.
9665
9666 2015-03-26 Yao Qi <yao.qi@linaro.org>
9667
9668 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9669 .int 0.
9670 (func): Likewise. Add .Lfunc_1 label.
9671 Use .Lfunc_1 label.
9672 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9673 .int 0.
9674 (func): Likewise.
9675 Use .Lfunc_1 label.
9676
9677 2015-03-26 Yao Qi <yao.qi@linaro.org>
9678
9679 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9680 Call gdb_compile instead to compile each .s files without debug
9681 information.
9682
9683 2015-03-26 Yao Qi <yao.qi@linaro.org>
9684
9685 * gdb.base/savedregs.exp (process_saved_regs): Make
9686 "Saved registers:" optional in the pattern.
9687
9688 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9689
9690 * gdb.btrace/next.exp: Merged into step.exp.
9691 * gdb.btrace/finish.exp: Merged into step.exp.
9692 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9693 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9694 "record goto" and checking the exact replay position.
9695 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9696 check for "Recording format" in "info record" output.
9697 * gdb.btrace/record_goto.exp: Choose test file based on target.
9698 * gdb.btrace/x86-record_goto.S: Renamed into ...
9699 * gdb.btrace/x86_64-record_goto.S: ... this.
9700 * gdb.btrace/i686-record_goto.S: New.
9701 * gdb.btrace/x86-tailcall.S: Renamed into ...
9702 * gdb.btrace/x86_64-tailcall.S: ... this.
9703 * gdb.btrace/i686-tailcall.S: New.
9704 * gdb.btrace/x86-tailcall.c: Renamed into ...
9705 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9706 separate statements. Update test.
9707 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9708 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9709 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9710 * gdb.btrace/tailcall.exp: Choose test file based on target.
9711 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9712
9713 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9714
9715 * gdb.btrace/exception.exp: Increase BTS buffer size.
9716
9717 2015-03-24 Pedro Alves <palves@redhat.com>
9718
9719 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9720
9721 2015-03-24 Pedro Alves <palves@redhat.com>
9722
9723 * gdb.threads/schedlock.exp (test_step): No longer expect that
9724 "set scheduler-locking step" with "next" over a function call runs
9725 threads unlocked.
9726
9727 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9728
9729 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9730
9731 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9732
9733 PR breakpoints/16466
9734 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9735 * gdb.mi/mi-pending.c (thread_func): New function.
9736 (int main): Add threading support required.
9737 * gdb.mi/mi-pending.exp: Add tests for this issue.
9738 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9739 (pendfunc2): Remove stdio dependency.
9740 * gdb.mi/mi-pendshr2.c: New file.
9741
9742 2015-03-23 Keith Seitz <keiths@redhat.com>
9743
9744 * gdb.linespec/keywords.c: New file.
9745 * gdb.linespec/keywords.exp: New file.
9746
9747 2015-03-23 Keith Seitz <keiths@redhat.com>
9748
9749 PR gdb/18021
9750 * gdb.dwarf2/staticvirtual.exp: New test.
9751
9752 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9753
9754 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9755 * README: Remove HP-UX and gdb.hp.
9756 (configuration):
9757 * configure: Regenerate.
9758 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9759 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9760 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9761 gdb.hp/gdb.defects/Makefile.
9762 * gdb.hp/Makefile.in: File deleted.
9763 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9764 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9765 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9766 * gdb.hp/gdb.aCC/run.c: File deleted.
9767 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9768 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9769 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9770 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9771 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9772 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9773 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9774 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9775 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9776 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9777 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9778 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9779 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9780 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9781 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9782 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9783 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9784 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9785 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9786 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9787 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9788 * gdb.hp/gdb.compat/average.c: File deleted.
9789 * gdb.hp/gdb.compat/sum.c: File deleted.
9790 * gdb.hp/gdb.compat/xdb.c: File deleted.
9791 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9792 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9793 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9794 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9795 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9796 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9797 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9798 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9799 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9800 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9801 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9802 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9803 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9804 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9805 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9806 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9807 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9808 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9809 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9810 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9811 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9812 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9813 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9814 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9815 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9816 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9817 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9818 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9819 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9820 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9821 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9822 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9823 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9824 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9825 * gdb.hp/tools/odump: File deleted.
9826
9827 2015-03-19 Pedro Alves <palves@redhat.com>
9828
9829 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9830 (saw_thread_3): New globals.
9831 (top level): Increment them when an event for the corresponding
9832 thread is seen.
9833 (no thread starvation): New test.
9834
9835 2015-03-19 Pedro Alves <palves@redhat.com>
9836
9837 * gdb.threads/continue-pending-status.c: New file.
9838 * gdb.threads/continue-pending-status.exp: New file.
9839
9840 2015-03-18 Pedro Alves <palves@redhat.com>
9841
9842 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9843 Use gdb_is_target_remote instead of is_remote. Use
9844 gdb_test_multiple instead of gdb_expect. Exit early if
9845 gdb_test_multiple hits its internal matches. Tighten stepi tests
9846 expected output. Fail on exit with any signal, instead of just
9847 SIGILL.
9848
9849 2015-03-18 Yao Qi <yao.qi@linaro.org>
9850
9851 PR tdep/18107
9852 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9853 variable.
9854 * gdb.base/catch-syscall.exp: Don't skip it on
9855 aarch64*-*-linux* target. Remove elements in all_syscalls.
9856 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9857 target.
9858 (setup_all_syscalls): New proc.
9859
9860 2015-03-16 Yao Qi <yao.qi@linaro.org>
9861
9862 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9863 (top level): Skip tests if valid_addr_p returns false for
9864 $cmd1 or $cmd2.
9865
9866 2015-03-11 Andy Wingo <wingo@igalia.com>
9867
9868 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9869
9870 2015-03-11 Yao Qi <yao.qi@linaro.org>
9871
9872 * gdb.base/catch-syscall.exp: Fix typo in comments.
9873
9874 2015-03-11 Yao Qi <yao.qi@linaro.org>
9875
9876 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9877
9878 2015-03-09 Pedro Alves <palves@redhat.com>
9879
9880 * dg-extract-results.py: Delete.
9881
9882 2015-03-09 Pedro Alves <palves@redhat.com>
9883
9884 Merge dg-extract-results.sh from GCC upstream (r218843).
9885
9886 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9887 * dg-extract-results.sh: Use --text with grep to avoid issues with
9888 binary files. Fall back to cat -v, if that doesn't work.
9889
9890 2015-03-05 Pedro Alves <palves@redhat.com>
9891
9892 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9893
9894 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9895
9896 * lib/mi-support.exp (mi_expect_interrupt): Accept
9897 alternative event for when in all-stop mode.
9898
9899 2015-03-04 Pedro Alves <palves@redhat.com>
9900
9901 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9902
9903 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9904
9905 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9906
9907 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9908
9909 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9910 regexps for GDB's current line display, accept a hex address
9911 preceding the line number.
9912
9913 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9914
9915 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9916 the 'arch1' variable for "s390*-linux*" targets.
9917
9918 2015-03-04 Pedro Alves <palves@redhat.com>
9919
9920 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9921 (main): Pass missing retval argument to pthread_join call.
9922
9923 2015-03-02 Pedro Alves <palves@redhat.com>
9924
9925 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9926 (top level): Call do_test with non-stop as well.
9927
9928 2015-03-02 Pedro Alves <palves@redhat.com>
9929
9930 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9931 -1.
9932
9933 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9934
9935 * gdb.arch/s390-vregs.exp: New test.
9936 * gdb.arch/s390-vregs.S: New file.
9937
9938 2015-02-27 Pedro Alves <palves@redhat.com>
9939
9940 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9941 call to catch_command_errors.
9942 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9943 catch_command_errors.
9944
9945 2015-02-27 Pedro Alves <palves@redhat.com>
9946
9947 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9948 "true" for boolean result.
9949 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9950 prototype of main.
9951
9952 2015-02-27 Pedro Alves <palves@redhat.com>
9953
9954 * lib/unbuffer_output.c: New file.
9955 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9956 (main): Call gdb_unbuffer_output.
9957
9958 2015-02-27 Yao Qi <yao.qi@linaro.org>
9959
9960 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9961 target.
9962
9963 2015-02-26 Doug Evans <dje@google.com>
9964
9965 * gdb.cp/class2.cc (Dbase, D): New classes.
9966 (main): New local delta.
9967 * gdb.cp/class2.exp: Test printing delta.
9968 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9969 (dynbar): New global.
9970 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9971
9972 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9973
9974 * gdb.compile/compile-ifunc.c: New file.
9975 * gdb.compile/compile-ifunc.exp: New file.
9976
9977 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9978
9979 * gdb.base/structs.exp: Check for correct struct on finish.
9980
9981 2015-02-26 Yao Qi <yao.qi@linaro.org>
9982
9983 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9984 is zero.
9985
9986 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9987
9988 * gdb.arch/cordic.ko.bz2: New file.
9989 * gdb.arch/cordic.ko.debug.bz2: New file.
9990 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9991
9992 2015-02-25 Yao Qi <yao.qi@linaro.org>
9993
9994 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9995 aarch64*-*-* target.
9996
9997 2015-02-23 Pedro Alves <palves@redhat.com>
9998
9999 * lib/gdb.exp (delete_breakpoints): Rewrite using
10000 gdb_test_multiple.
10001
10002 2015-02-23 Pedro Alves <palves@redhat.com>
10003
10004 * gdb.base/info-os.c: Include stdlib.h.
10005
10006 2015-02-22 Doug Evans <xdje42@gmail.com>
10007
10008 PR symtab/17855
10009 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10010 is read after symbols have been re-read.
10011 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10012 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10013
10014 2015-02-21 Doug Evans <dje@google.com>
10015
10016 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10017
10018 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10019
10020 PR corefiles/17808
10021 * gdb.arch/i386-biarch-core.core.bz2: New file.
10022 * gdb.arch/i386-biarch-core.exp: New file.
10023
10024 2015-02-21 Pedro Alves <palves@redhat.com>
10025
10026 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10027 runto_main fails.
10028
10029 2015-02-20 Pedro Alves <palves@redhat.com>
10030
10031 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10032 info probes.
10033
10034 2015-02-20 Pedro Alves <palves@redhat.com>
10035
10036 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10037
10038 2015-02-20 Pedro Alves <palves@redhat.com>
10039
10040 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10041 clean_restart before gdb_target_supports_trace.
10042
10043 2015-02-20 Pedro Alves <palves@redhat.com>
10044
10045 PR threads/18006
10046 * gdb.threads/clone-thread_db.c: New file.
10047 * gdb.threads/clone-thread_db.exp: New file.
10048
10049 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10050
10051 PR breakpoints/16812
10052 * gdb.base/catch-gdb-caused-signals.c: New file.
10053 * gdb.base/catch-gdb-caused-signals.exp: New file.
10054
10055 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10056
10057 * configure: Regenerated.
10058 * configure.ac: Use GDB_AC_TRANSFORM.
10059 * aclocal.m4: sinclude ../transform.m4.
10060
10061 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10062
10063 * lib/dtrace.exp: New file.
10064 * gdb.base/dtrace-probe.exp: Likewise.
10065 * gdb.base/dtrace-probe.d: Likewise.
10066 * gdb.base/dtrace-probe.c: Likewise.
10067 * lib/pdtrace.in: Likewise.
10068 * configure.ac: Output variables with the transformed names of
10069 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10070 * configure: Regenerated.
10071
10072 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10073
10074 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10075 expected message when trying to access $_probe_* convenience
10076 variables while not on a probe.
10077
10078 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10079
10080 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10081
10082 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10083
10084 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10085 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10086
10087 2015-02-10 Doug Evans <xdje42@gmail.com>
10088
10089 * lib/gdb.exp (gdb_load): Always return a result.
10090
10091 2015-02-10 Pedro Alves <palves@redhat.com>
10092
10093 * gdb.threads/signal-sigtrap.c: New file.
10094 * gdb.threads/signal-sigtrap.exp: New file.
10095
10096 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10097
10098 * gdb.trace/no-attach-trace.c: New file.
10099 * gdb.trace/no-attach-trace.exp: New file.
10100
10101 2015-02-09 Mark Wielaard <mjw@redhat.com>
10102
10103 * gdb.dwarf2/atomic.c: New file.
10104 * gdb.dwarf2/atomic-type.exp: Likewise.
10105
10106 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10107
10108 * gdb.btrace/buffer-size.exp: Update "info record" output.
10109 * gdb.btrace/delta.exp: Update "info record" output.
10110 * gdb.btrace/enable.exp: Update "info record" output.
10111 * gdb.btrace/finish.exp: Update "info record" output.
10112 * gdb.btrace/instruction_history.exp: Update "info record" output.
10113 * gdb.btrace/next.exp: Update "info record" output.
10114 * gdb.btrace/nexti.exp: Update "info record" output.
10115 * gdb.btrace/step.exp: Update "info record" output.
10116 * gdb.btrace/stepi.exp: Update "info record" output.
10117 * gdb.btrace/nohist.exp: Update "info record" output.
10118
10119 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10120
10121 * gdb.btrace/buffer-size: New.
10122
10123 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10124
10125 * gdb.btrace/delta.exp: Update "info record" output.
10126 * gdb.btrace/enable.exp: Update "info record" output.
10127 * gdb.btrace/finish.exp: Update "info record" output.
10128 * gdb.btrace/instruction_history.exp: Update "info record" output.
10129 * gdb.btrace/next.exp: Update "info record" output.
10130 * gdb.btrace/nexti.exp: Update "info record" output.
10131 * gdb.btrace/step.exp: Update "info record" output.
10132 * gdb.btrace/stepi.exp: Update "info record" output.
10133 * gdb.btrace/nohist.exp: Update "info record" output.
10134
10135 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10136
10137 PR gdb/15678
10138 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10139
10140 2015-02-06 Pedro Alves <palves@redhat.com>
10141
10142 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10143 macro.
10144 (seconds_left, again): New globals.
10145 (main): Wait seconds_left in a 1-second sleep loop instead of
10146 sleeping 180 seconds. If 'again' is set, reset the seconds
10147 counter.
10148 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10149 'again' in the inferior before detaching. Print the seconds left.
10150 (options): New global.
10151 (top level): Build program with -DTIMEOUT=$timeout.
10152
10153 2015-02-06 Pedro Alves <palves@redhat.com>
10154
10155 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10156 determine how many seconds to pass to 'alarm'.
10157 * gdb.base/gdb-sigterm.exp (top level): Build program with
10158 -DTIMEOUT=$timeout.
10159 (do_test): Return success/failure indication. Add more verbose
10160 logging. Don't fail if 200 single steps are seen. Instead, fail
10161 when the test times out.
10162 (passes): New global.
10163 (top level): Break the testing loop if testing fails on any
10164 iteration. Use gdb_assert.
10165
10166 2015-02-04 Don Breazeal <donb@codesourcery.com>
10167
10168 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10169 and initialize them.
10170 (ipc_cleanup): New function.
10171 (main): Don't declare shmid, semid, and msqid. Add a call to
10172 atexit so that we call ipc_cleanup on exit.
10173
10174 2015-02-04 Pedro Alves <palves@redhat.com>
10175
10176 * boards/native-extended-gdbserver.exp: Remove any target variant
10177 specifications from the board name before clearing the isremote
10178 flag from board_info.
10179
10180 2015-01-31 Doug Evans <xdje42@gmail.com>
10181
10182 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10183
10184 2015-01-31 Gary Benson <gbenson@redhat.com>
10185
10186 * gdb.base/completion.exp: Disable completion limiting for
10187 existing tests. Add new tests to check completion limiting.
10188 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10189
10190 2015-01-31 Doug Evans <xdje42@gmail.com>
10191
10192 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10193
10194 2015-01-31 Doug Evans <xdje42@gmail.com>
10195
10196 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10197 entries. Duplicate file section script entries.
10198 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10199 inlined entries. Add test for safe-path rejection.
10200 * gdb.python/py-section-script.c: Add duplicate inlined section script
10201 entries. Duplicate file section script entries.
10202 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10203 inlined entries. Add test for safe-path rejection.
10204
10205 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10206
10207 * gdb.ada/disc_arr_bound: New testcase.
10208
10209 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10210
10211 * gdb.ada/mi_var_array: New testcase.
10212
10213 2015-01-27 Doug Evans <dje@google.com>
10214
10215 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10216 Add test for objfile.filename, objfile.username after objfile
10217 has been unloaded.
10218
10219 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10220
10221 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10222 the second test to print the name attribute of value
10223 returned by the call to gdb.lookup_type, and adjust
10224 the expected output accordingly.
10225
10226 2015-01-25 Mark Wielaard <mjw@redhat.com>
10227
10228 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10229 * gdb.base/disp-step-fork.c: Include unistd.h.
10230 * gdb.base/siginfo-obj.c: Include stdio.h.
10231 * gdb.base/siginfo-thread.c: Likewise.
10232 * gdb.mi/non-stop.c: Include unistd.h.
10233 * gdb.mi/nsthrexec.c: Include stdio.h.
10234 * gdb.mi/pthreads.c: Include unistd.h.
10235 * gdb.modula2/unbounded1.c (main): Declare returns int.
10236 * gdb.reverse/consecutive-reverse.c: Likewise.
10237 * gdb.threads/create-fail.c: Include unistd.h.
10238 * gdb.threads/killed.c: Likewise.
10239 * gdb.threads/linux-dp.c: Likewise.
10240 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10241 * gdb.threads/non-ldr-exc-2.c: Likewise.
10242 * gdb.threads/non-ldr-exc-3.c: Likewise.
10243 * gdb.threads/non-ldr-exc-4.c: Likewise.
10244 * gdb.threads/pthreads.c: Include unistd.h.
10245 (main): Declare returns int.
10246 * gdb.threads/tls-main.c (foo): New declaration.
10247 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10248
10249 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10250
10251 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10252 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10253
10254 2015-01-15 Mark Wielaard <mjw@redhat.com>
10255
10256 * gdb.base/noreturn-return.c: New file.
10257 * gdb.base/noreturn-return.exp: New file.
10258 * gdb.base/noreturn-finish.c: New file.
10259 * gdb.base/noreturn-finish.exp: New file.
10260
10261 2015-01-23 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.threads/continue-pending-after-query.c: New file.
10264 * gdb.threads/continue-pending-after-query.exp: New file.
10265
10266 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10267 Simon Marchi <simon.marchi@ericsson.com>
10268
10269 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10270 * gdb.base/valgrind-db-attach.exp: Same.
10271 * gdb.base/valgrind-infcall.exp: Same.
10272 * lib/mi-support.exp (default_mi_gdb_start): Same.
10273 * lib/prompt.exp (default_prompt_gdb_start): Same.
10274 * lib/gdb.exp (default_gdb_spawn): Same.
10275 (gdb_interact): New.
10276
10277
10278 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10279
10280 * gdb.compile/compile.exp (pointer to jit function): New test.
10281
10282 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10283
10284 * lib/gdb.exp (supports_process_record): Return true for
10285 powerpc*-*-linux*.
10286 (supports_reverse): Likewise.
10287
10288 2015-01-15 Don Breazeal <donb@codesourcery.com>
10289
10290 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10291 instead of checking whether the target board is remote and
10292 use spawn_wait_for_attach instead of exec/sleep.
10293 * gdb.base/attach-twice.exp: Likewise.
10294
10295 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10296
10297 * gdb.ada/var_arr_attrs: New testcase.
10298
10299 2015-01-14 Pedro Alves <palves@redhat.com>
10300 Joel Brobecker <brobecker@adacore.com>
10301
10302 PR gdb/17525
10303 * gdb.base/bp-cmds-execution-x-script.c: New file.
10304 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10305 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10306
10307 2015-01-14 Pedro Alves <palves@redhat.com>
10308
10309 PR cli/17828
10310 * gdb.base/batch-preserve-term-settings.c: New file.
10311 * gdb.base/batch-preserve-term-settings.exp: New file.
10312
10313 2015-01-13 Doug Evans <dje@google.com>
10314
10315 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10316 binary.
10317
10318 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10319
10320 * Makefile.in (clean mostlyclean): Do not delete *.py.
10321
10322 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10323
10324 * gdb.python/py-lookup-type.exp: New file.
10325
10326 2015-01-12 Pedro Alves <palves@redhat.com>
10327
10328 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10329 restore GDBFLAGS before returning.
10330
10331 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10332
10333 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10334 is_amd64_regs_target and is_x86_like_target.
10335
10336 2015-01-11 Doug Evans <xdje42@gmail.com>
10337
10338 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10339 is given without an explicit form.
10340 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10341 attributes.
10342 * gdb.dwarf/corrupt.exp: Ditto.
10343 * gdb.dwarf2/enum-type.exp: Ditto.
10344 * gdb.trace/entry-values.exp: Ditto.
10345 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10346
10347 2015-01-11 Doug Evans <xdje42@gmail.com>
10348
10349 PR gdb/15830
10350 * gdb.base/maint.exp: Remove references to "maint demangle".
10351 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10352 Add tests for explicitly specifying language to demangle.
10353 * gdb.dlang/demangle.exp: Ditto.
10354
10355 2015-01-09 Pedro Alves <palves@redhat.com>
10356
10357 * gdb.threads/non-stop-fair-events.c: New file.
10358 * gdb.threads/non-stop-fair-events.exp: New file.
10359
10360 2015-01-09 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10363 the global scope. Set a breakpoint after all threads are started
10364 rather than stepping over two source lines. Expect the prompt.
10365 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10366 global.
10367 (NUM): Now 15.
10368 (main): Use threads_started_barrier to wait for all threads to
10369 start. Main thread no longer calls thread_function. Exit after
10370 180 seconds.
10371 (loop): New function.
10372 (thread_function): Wait on threads_started_barrier barrier. Call
10373 'loop' at each iteration.
10374 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10375 threads have started, instead of hardcoding number of "next"
10376 steps. Use an access watchpoint instead of a write watchpoint.
10377
10378 2015-01-09 Pedro Alves <palves@redhat.com>
10379
10380 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10381 (thread_func): Wait on barrier.
10382 (main): Wait for all threads to start before stopping GDB.
10383 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10384 global.
10385 (thread1_func, thread2_func): Wait on barrier.
10386 (main): Wait for all threads to start before stopping GDB.
10387 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10388 New global.
10389 (thread1_func, thread2_func): Wait on barrier.
10390 (main): Wait for all threads to start before stopping GDB.
10391
10392 2015-01-09 Pedro Alves <palves@redhat.com>
10393
10394 * gdb.threads/attach-many-short-lived-threads.c: New file.
10395 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10396
10397 2014-01-09 Pedro Alves <palves@redhat.com>
10398
10399 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10400 instead of to thread 2.
10401 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10402 Add barrier around each pthread_create call instead of around all
10403 calls.
10404 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10405 Set a break on thread_function and have the child threads hit it
10406 one at at a time.
10407
10408 2015-01-09 Pedro Alves <palves@redhat.com>
10409
10410 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10411 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10412 false.
10413 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10414 checking whether the target board is remote.
10415 * gdb.multi/multi-attach.exp: Likewise.
10416 * gdb.python/py-sync-interp.exp: Likewise.
10417 * gdb.server/ext-attach.exp: Likewise.
10418 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10419 tests that need to attach, instead of checking whether the target
10420 board is remote at the top of the file.
10421
10422 2015-01-08 Yao Qi <yao@codesourcery.com>
10423
10424 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10425
10426 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10427
10428 Fix testcase compilation.
10429 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10430
10431 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10432
10433 * gdb.python/py-type.exp: Add a couple test about empty
10434 array creation, and negative-length array creation.
10435
10436 2015-01-02 Doug Evans <xdje42@gmail.com>
10437
10438 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10439
10440 2015-01-02 Doug Evans <dje@google.com>
10441
10442 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10443
10444 2014-12-29 Yao Qi <yao@codesourcery.com>
10445
10446 * gdb.trace/entry-values.exp: Update comments. Rename variable
10447 bar_call_foo to returned_from_foo.
10448
10449 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10450
10451 PR gdb/17394
10452 * gdb.linespec/break-asm-file.c: New file.
10453 * gdb.linespec/break-asm-file.exp: New file.
10454 * gdb.linespec/break-asm-file0.s: New file.
10455 * gdb.linespec/break-asm-file1.s: New file.
10456
10457 2014-12-18 Nigel Stephens <nigel@mips.com>
10458 Maciej W. Rozycki <macro@codesourcery.com>
10459
10460 * gdb.base/float.exp: Handle the new output from "info float" on
10461 MIPS targets.
10462
10463 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10464
10465 Fix MinGW compilation.
10466 * gdb.compile/compile-ops.exp: Update untested message if
10467 !skip_compile_feature_tests.
10468 * gdb.compile/compile-setjmp.exp: Likewise.
10469 * gdb.compile/compile-tls.exp: Likewise.
10470 * gdb.compile/compile.exp: Likewise.
10471 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10472 supported on this host".
10473
10474 2014-12-16 Doug Evans <xdje42@gmail.com>
10475
10476 * boards/stabs.exp: New file.
10477
10478 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10479
10480 * gdb.base/completion.exp: Adjust to format changes of "maint
10481 print user-registers".
10482
10483 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10484
10485 PR server/17457
10486 * gdb.arch/aarch64-fp.c: New file.
10487 * gdb.arch/aarch64-fp.exp: New file.
10488
10489 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10490
10491 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10492 r210637, r210913, r211666, r215400, r215817).
10493
10494 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10495 * dg-extract-results.py: New file.
10496 * dg-extract-results.sh: Use it if the environment seems
10497 suitable.
10498
10499 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10500
10501 * dg-extract-results.py (parse_run): Handle warnings that
10502 are printed before a test harness is run.
10503
10504 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10505
10506 * dg-extract-results.py (Named): Remove __cmp__ method.
10507 (output_variation): Use a key to sort variation.harnesses.
10508
10509 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10510
10511 * dg-extract-results.py: For Python 3, force sys.stdout to
10512 handle surrogate escape sequences.
10513 (safe_open): New function.
10514 (output_segment, main): Use it.
10515
10516 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10517
10518 * dg-extract-results.py (Prog.result_re): Include options
10519 in test name.
10520
10521 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10522
10523 * dg-extract-results.py (output_variation): Always sort if
10524 do_sum.
10525
10526 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10527
10528 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10529 as long as we get pagination notifications.
10530
10531 2014-12-15 Jason Merrill <jason@redhat.com>
10532
10533 * Makefile.in (check-gdb.%): Restore.
10534 * README: Mention it.
10535
10536 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10537
10538 * gdb.ada/str_uninit: New testcase.
10539
10540 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10541
10542 PR symtab/17642
10543 * gdb.base/vla-stub-define.c: New file.
10544 * gdb.base/vla-stub.c: New file.
10545 * gdb.base/vla-stub.exp: New file.
10546
10547 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10548 Jan Kratochvil <jan.kratochvil@redhat.com>
10549 Tom Tromey <tromey@redhat.com>
10550
10551 * configure.ac: Add gdb.compile/.
10552 * configure: Regenerate.
10553 * gdb.compile/Makefile.in: New file.
10554 * gdb.compile/compile-ops.exp: New file.
10555 * gdb.compile/compile-ops.c: New file.
10556 * gdb.compile/compile-tls.c: New file.
10557 * gdb.compile/compile-tls.exp: New file.
10558 * gdb.compile/compile-constvar.S: New file.
10559 * gdb.compile/compile-constvar.c: New file.
10560 * gdb.compile/compile-mod.c: New file.
10561 * gdb.compile/compile-nodebug.c: New file.
10562 * gdb.compile/compile-setjmp-mod.c: New file.
10563 * gdb.compile/compile-setjmp.c: New file.
10564 * gdb.compile/compile-setjmp.exp: New file.
10565 * gdb.compile/compile-shlib.c: New file.
10566 * gdb.compile/compile.c: New file.
10567 * gdb.compile/compile.exp: New file.
10568 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10569
10570 2014-12-12 Tom Tromey <tromey@redhat.com>
10571
10572 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10573 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10574
10575 2014-12-12 Doug Evans <dje@google.com>
10576
10577 * lib/gdb-python.exp (get_python_valueof): New function.
10578 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10579
10580 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10581
10582 * gdb.base/completion.exp: Add test for completion of "info
10583 registers ".
10584
10585 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10586
10587 * gdb.base/func-ptrs.c: New file.
10588 * gdb.base/func-ptrs.exp: New file.
10589
10590 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10591
10592 PR breakpoints/17012
10593 * gdb.base/dprintf-detach.c: New file.
10594 * gdb.base/dprintf-detach.exp: New file.
10595
10596 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10597
10598 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10599 * lib/gdb.exp (target_is_gdbserver): New procedure.
10600
10601 2014-12-08 Doug Evans <dje@google.com>
10602
10603 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10604
10605 2014-12-05 Yao Qi <yao@codesourcery.com>
10606
10607 * gdb.guile/scm-error.exp: Remove the third argument to
10608 gdb_remote_download.
10609 * gdb.guile/scm-frame-args.exp: Likewise.
10610 * gdb.guile/scm-section-script.exp: Likewise.
10611
10612 2014-12-05 Yao Qi <yao@codesourcery.com>
10613
10614 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10615
10616 2014-12-04 Doug Evans <dje@google.com>
10617
10618 * gdb.python/py-objfile.exp: Add tests for
10619 objfile.add_separate_debug_file.
10620
10621 2014-12-04 Doug Evans <dje@google.com>
10622
10623 * lib/gdb.exp (get_build_id): New function.
10624 (build_id_debug_filename_get): Rewrite to use it.
10625 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10626
10627 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10628
10629 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10630 `method(long)', not just 0x0.
10631 * gdb.cp/nsalias.exp: Align code labels to 4.
10632 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10633 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10634 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10635 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10636 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10637 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10638
10639 2014-12-02 Doug Evans <dje@google.com>
10640
10641 PR symtab/17602
10642 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10643 * gdb.cp/anon-ns2.cc: ... here. New file.
10644 * gdb.cp/anon-ns.exp: Update.
10645
10646 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10647
10648 * gdb.python/py-events.py (inferior_call_handler): New.
10649 (register_changed_handler, memory_changed_handler): New.
10650 (test_events.invoke): Register new handlers.
10651 * gdb.python/py-events.exp: Add tests for inferior call,
10652 memory_changed and register_changed events.
10653
10654 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10655
10656 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10657 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10658 if the linker doesn't understand this.
10659
10660 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10661
10662 * gdb.python/python.exp: Change expected reply to help().
10663
10664 2014-12-01 Yao Qi <yao@codesourcery.com>
10665
10666 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10667 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10668 * configure: Re-generated.
10669
10670 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10671
10672 * gdb.cp/chained-calls.cc: New file.
10673 * gdb.cp/chained-calls.exp: New file.
10674 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10675
10676 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10677
10678 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10679 * gdb.dwarf2/symtab-producer.exp: Same.
10680 * gdb.gdb/python-interrupts.exp: Same.
10681 * gdb.gdb/python-selftest.exp: Same.
10682 * gdb.python/py-linetable.exp: Same.
10683 * gdb.python/py-type.exp: Same.
10684 * gdb.python/py-value-cc.exp: Same.
10685 * gdb.python/py-value.exp: Same.
10686
10687 2014-11-28 Yao Qi <yao@codesourcery.com>
10688
10689 * gdb.base/break-probes.exp: Match library name prefixed with
10690 sysroot.
10691
10692 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10693
10694 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10695 test expected output. Add parentheses for the call to print.
10696 Remove L suffix from integers.
10697
10698 2014-11-26 Doug Evans <dje@google.com>
10699
10700 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10701
10702 2014-11-22 Yao Qi <yao@codesourcery.com>
10703
10704 * gdb.trace/entry-values.c: Remove asms.
10705 (foo): Add foo_label.
10706 (bar): Add bar_label.
10707 * gdb.trace/entry-values.exp: Remove code computing foo's
10708 length and bar's length.
10709 (Dwarf::assemble): Invoke function_range for bar and use
10710 MACRO_AT_func for foo.
10711
10712 2014-11-22 Yao Qi <yao@codesourcery.com>
10713
10714 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10715 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10716 Use .Lgcc43_procstart instead of gcc43.
10717
10718 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10719
10720 * gdb.ada/n_arr_bound: New testcase.
10721
10722 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10723
10724 PR breakpoints/10737
10725 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10726 test_catch_syscall_multi_arch.
10727 (test_catch_syscall_multi_arch): New function.
10728
10729 2014-11-20 Doug Evans <xdje42@gmail.com>
10730
10731 * gdb.base/maint.exp: Update expected output.
10732
10733 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10734
10735 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10736 4-byte instruction on S390.
10737
10738 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10739
10740 * gdb.ada/arr_arr: New testcase.
10741
10742 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10743
10744 * gdb.ada/pkd_arr_elem: New Testcase.
10745
10746 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10747
10748 * gdb.reverse/break-precsave: Expect completion message for
10749 core file reads.
10750 * gdb.reverse/consecutive-precsave.exp: Likewise.
10751 * gdb.reverse/finish-precsave.exp: Likewise.
10752 * gdb.reverse/i386-precsave.exp: Likewise.
10753 * gdb.reverse/machinestate-precsave.exp: Likewise.
10754 * gdb.reverse/sigall-precsave.exp: Likewise.
10755 * gdb.reverse/solib-precsave.exp: Likewise.
10756 * gdb.reverse/step-precsave.exp: Likewise.
10757 * gdb.reverse/until-precsave.exp: Likewise.
10758 * gdb.reverse/watch-precsave.exp: Likewise.
10759
10760 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10761
10762 * gdb.base/bp-permanent.c: Include unistd.h.
10763 * gdb.python/py-framefilter-mi.c (main): Add return type.
10764 * gdb.python/py-framefilter.c (main): Likewise.
10765 * gdb.trace/actions-changed.c (main): Likewise.
10766
10767 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10768
10769 * gdb.mi/until.c: Add eye-catchers.
10770 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10771 line numbers.
10772
10773 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10774
10775 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10776 function header variants in break1.c.
10777 * gdb.base/ena-dis-br.exp: Likewise.
10778 * gdb.base/hbreak2.exp: Likewise.
10779 * gdb.reverse/until-precsave.exp: Drop references to removed
10780 non-prototype function header variants in ur1.c.
10781 * gdb.reverse/until-reverse.exp: Likewise.
10782
10783 2014-11-17 Petr Machata <pmachata@redhat.com>
10784
10785 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10786 ${_cu_offset_size} bytes abbrev offset.
10787
10788 2014-11-15 Doug Evans <xdje42@gmail.com>
10789
10790 PR symtab/17559
10791 * gdb.base/line-symtabs.exp: New file.
10792 * gdb.base/line-symtabs.c: New file.
10793 * gdb.base/line-symtabs.h: New file.
10794
10795 2014-11-14 Yao Qi <yao@codesourcery.com>
10796
10797 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10798 (func): Add label func_label.
10799 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10800 Replace low_pc and high_pc with MACRO_AT_range.
10801 Replace name, low_pc and high_pc with MACRO_AT_func.
10802
10803 2014-11-14 Yao Qi <yao@codesourcery.com>
10804
10805 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10806 Replace name, low_pc and high_pc with MACRO_AT_func.
10807
10808 2014-11-14 Yao Qi <yao@codesourcery.com>
10809
10810 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10811 produce debug information.
10812 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10813
10814 2014-11-14 Yao Qi <yao@codesourcery.com>
10815
10816 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10817 object and get function length.
10818 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10819 with MACRO_AT_func.
10820 (top-level): Replace gdb_compile and clean_restart with
10821 prepare_for_testing.
10822 * gdb.dwarf2/main.c (main): Add label main_label.
10823
10824 2014-11-14 Yao Qi <yao@codesourcery.com>
10825
10826 * lib/dwarf.exp (function_range): New procedure.
10827 (Dwarf::_handle_macro_at_func): New procedure.
10828 (Dwarf::_handle_macro_at_range): New procedure.
10829 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10830
10831 2014-11-14 Yao Qi <yao@codesourcery.com>
10832
10833 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10834 (_handle_attribute): New procedure.
10835
10836 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10837
10838 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10839 * gdb.base/call-sc.c (zed): Likewise.
10840 * gdb.base/checkpoint.c (main): Likewise.
10841 * gdb.base/dump.c (main): Likewise.
10842 * gdb.base/gcore.c (main): Likewise.
10843 * gdb.base/huge.c (main): Likewise.
10844 * gdb.base/multi-forks.c (main): Likewise.
10845 * gdb.base/pr10179-a.c (main): Likewise.
10846 * gdb.base/savedregs.c (main): Likewise.
10847 * gdb.base/sigaltstack.c (main): Likewise.
10848 * gdb.base/siginfo.c (main): Likewise.
10849 * gdb.base/structs.c (zed): Likewise.
10850 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10851 * gdb.mi/mi-syn-frame.c (main): Likewise.
10852 * gdb.mi/until.c (foo, main): Likewise.
10853 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10854 * gdb.base/solib-weak.c (foo): Declare.
10855 * gdb.base/attach-twice.c: Include stdio.h.
10856 * gdb.base/weaklib1.c: Likewise.
10857 * gdb.base/weaklib2.c: Likewise.
10858 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10859 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10860 unistd.h.
10861 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10862 * gdb.mi/mi-exit-code.c: Likewise.
10863 * gdb.base/break-interp-lib.c: Include string.h.
10864 * gdb.base/coremaker.c: Likewise.
10865 * gdb.base/testenv.c: Likewise.
10866 * gdb.python/py-finish-breakpoint.c: Likewise.
10867 * gdb.base/inferior-died.c: Include sys/wait.h.
10868 * gdb.base/fileio.c: Include time.h.
10869 * gdb.base/async-shell.c: Include unistd.h.
10870 * gdb.base/dprintf-non-stop.c: Likewise.
10871 * gdb.base/info-os.c: Likewise.
10872 * gdb.mi/mi-console.c: Likewise.
10873 * gdb.mi/watch-nonstop.c: Likewise.
10874 * gdb.python/py-events.c: Likewise.
10875 * gdb.base/async.c (baz): Move up before its invocation.
10876 * gdb.base/code_elim2.c (my_global_func): Likewise.
10877 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10878 * gdb.base/advance.c (func2): Likewise.
10879
10880 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10881
10882 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10883 variant.
10884 * gdb.base/annota3.c: Likewise.
10885 * gdb.base/async.c: Likewise.
10886 * gdb.base/average.c: Likewise.
10887 * gdb.base/call-ar-st.c: Likewise.
10888 * gdb.base/call-rt-st.c: Likewise.
10889 * gdb.base/call-sc.c: Likewise.
10890 * gdb.base/call-strs.c: Likewise.
10891 * gdb.base/ending-run.c: Likewise.
10892 * gdb.base/execd-prog.c: Likewise.
10893 * gdb.base/exprs.c: Likewise.
10894 * gdb.base/foll-exec.c: Likewise.
10895 * gdb.base/foll-fork.c: Likewise.
10896 * gdb.base/foll-vfork.c: Likewise.
10897 * gdb.base/funcargs.c: Likewise.
10898 * gdb.base/gcore.c: Likewise.
10899 * gdb.base/jump.c: Likewise.
10900 * gdb.base/langs0.c: Likewise.
10901 * gdb.base/langs1.c: Likewise.
10902 * gdb.base/langs2.c: Likewise.
10903 * gdb.base/mips_pro.c: Likewise.
10904 * gdb.base/nodebug.c: Likewise.
10905 * gdb.base/opaque0.c: Likewise.
10906 * gdb.base/opaque1.c: Likewise.
10907 * gdb.base/recurse.c: Likewise.
10908 * gdb.base/run.c: Likewise.
10909 * gdb.base/scope0.c: Likewise.
10910 * gdb.base/scope1.c: Likewise.
10911 * gdb.base/setshow.c: Likewise.
10912 * gdb.base/setvar.c: Likewise.
10913 * gdb.base/shmain.c: Likewise.
10914 * gdb.base/shr1.c: Likewise.
10915 * gdb.base/shr2.c: Likewise.
10916 * gdb.base/sigall.c: Likewise.
10917 * gdb.base/signals.c: Likewise.
10918 * gdb.base/so-indr-cl.c: Likewise.
10919 * gdb.base/solib2.c: Likewise.
10920 * gdb.base/structs.c: Likewise.
10921 * gdb.base/sum.c: Likewise.
10922 * gdb.base/vforked-prog.c: Likewise.
10923 * gdb.base/watchpoint.c: Likewise.
10924 * gdb.reverse/shr2.c: Likewise.
10925 * gdb.reverse/until-reverse.c: Likewise.
10926 * gdb.reverse/ur1.c: Likewise.
10927 * gdb.reverse/watch-reverse.c: Likewise.
10928
10929 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10930
10931 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10932 variant.
10933 * gdb.base/sepdebug.exp: Drop references to removed code.
10934
10935 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10936
10937 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10938 variant. Preserve original line numbering.
10939 * gdb.base/list1.c: Likewise.
10940
10941 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10942
10943 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10944 variant.
10945 * gdb.base/break1.c: Likewise.
10946 * gdb.base/break.exp: Drop references to removed code.
10947
10948 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10949
10950 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10951 variant.
10952
10953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10954
10955 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10956
10957 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10958
10959 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10960 logic into perform_all_tests() and invoke it with and without
10961 function header prototypes.
10962 (do_function_calls): Remove conditional XFAIL for PR 5318.
10963 (rerun_and_prepare): Remove duplicate code.
10964 (perform_all_tests): New. Main logic moved here.
10965
10966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10967
10968 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10969 code guarded by #ifdef NO_PROTOTYPES.
10970 (t_double_many_args): Likewise.
10971 (DEF_FUNC_MANY_ARGS_1): Likewise.
10972 (DEF_FUNC_VALUES_1): Likewise.
10973 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10974 guarded by #ifdef PROTOTYPES.
10975
10976 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10977
10978 * gdb.mi/mi-console.c: Add eye-catcher.
10979 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10980 instead of literal line number.
10981
10982 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10983
10984 * gdb.base/shr2.c: Add eye-catcher.
10985 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10986 line number.
10987
10988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10989
10990 * gdb.base/jump.c: Add eye-catchers.
10991 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10992 numbers.
10993
10994 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10995
10996 * gdb.base/execd-prog.c: Add eye-catchers.
10997 * gdb.base/foll-exec.c: Likewise.
10998 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10999 line numbers.
11000
11001 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11002
11003 * gdb.base/ending-run.c: Add eye-catchers.
11004 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11005 literal line numbers.
11006
11007 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11008
11009 * gdb.base/call-rt-st.c: Add eye-catchers.
11010 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11011 literal line numbers.
11012
11013 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11014
11015 * gdb.base/call-ar-st.c: Add eye-catchers.
11016 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11017 literal line numbers.
11018
11019 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11020
11021 * gdb.base/average.c: Add eye-catchers.
11022 * gdb.base/sum.c: Likewise.
11023 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11024 regexps dynamically.
11025
11026 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11027
11028 * gdb.base/solib1.c: Add eye-catchers.
11029 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11030 literal line numbers.
11031
11032 2014-11-12 Pedro Alves <palves@redhat.com>
11033
11034 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11035 leader has exited.
11036
11037 2014-11-12 Pedro Alves <palves@redhat.com>
11038
11039 * gdb.arch/i386-bp_permanent.c: New file.
11040 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11041 (srcfile): Set to i386-bp_permanent.c.
11042 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11043 that stepi does not execute the 'leave' instruction, instead of
11044 testing it does execute.
11045 * gdb.base/bp-permanent.c: New file.
11046 * gdb.base/bp-permanent.exp: New file.
11047
11048 2014-11-10 Doug Evans <xdje42@gmail.com>
11049
11050 PR symtab/17564
11051 * gdb.base/symtab-search-order.exp: New file.
11052 * gdb.base/symtab-search-order.c: New file.
11053 * gdb.base/symtab-search-order-1.c: New file.
11054 * gdb.base/symtab-search-order-shlib-1.c: New file.
11055
11056 2014-11-07 Pedro Alves <palves@redhat.com>
11057
11058 PR gdb/17511
11059 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11060 i?86-*-linux*.
11061
11062 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11063
11064 PR c++/17494
11065 * gdb.cp/pr17494.cc: New file.
11066 * gdb.cp/pr17494.exp: New file.
11067
11068 2014-11-02 Yao Qi <yao@codesourcery.com>
11069
11070 * gdb.python/python.exp: Get working directory and match the
11071 output of "set extended-prompt \\w " with it.
11072
11073 2014-10-30 Doug Evans <dje@google.com>
11074
11075 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11076 in objfiles.
11077 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11078 in progspaces.
11079
11080 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11081
11082 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11083 * gdb.base/realname-expand.exp: Likewise.
11084 * gdb.linespec/macro-relative.exp: Likewise.
11085
11086 2014-10-29 Pedro Alves <palves@redhat.com>
11087
11088 PR gdb/17408
11089 * gdb.threads/schedlock.c (some_function): New function.
11090 (call_function): New global.
11091 (MAYBE_CALL_SOME_FUNCTION): New macro.
11092 (thread_function): Call it.
11093 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11094 and use it instead of a global counter. Adjust all callers.
11095 (get_current_thread): Use "find current thread" for test message
11096 here rather than having all callers pass down the same string.
11097 (goto_loop): New procedure, factored out from ...
11098 (my_continue): ... this.
11099 (step_ten_loops): Change parameter from test message to command to
11100 use. Adjust.
11101 (list_count): Delete global.
11102 (check_result): New procedure, factored out from duplicate top
11103 level code.
11104 (continue tests): Wrap in with_test_prefix.
11105 (test_step): New procedure, factored out from duplicate top level
11106 code.
11107 (top level): Test "step" in combination with all scheduler-locking
11108 modes. Test "next" in combination with all scheduler-locking
11109 modes, and in combination with stepping over a function call or
11110 not.
11111 * gdb.threads/next-bp-other-thread.c: New file.
11112 * gdb.threads/next-bp-other-thread.exp: New file.
11113
11114 2014-10-29 Pedro Alves <palves@redhat.com>
11115
11116 PR python/17372
11117 * gdb.python/python.exp: Test a multi-line command that spawns
11118 interactive Python.
11119 * gdb.base/multi-line-starts-subshell.exp: New file.
11120
11121 2014-10-29 Yao Qi <yao@codesourcery.com>
11122
11123 * gdb.base/fileio.exp: Make directories on host.
11124
11125 2014-10-29 Yao Qi <yao@codesourcery.com>
11126
11127 * gdb.base/fileio.c (test_write): Close the file.
11128
11129 2014-10-28 Pedro Alves <palves@redhat.com>
11130
11131 PR gdb/12623
11132 * gdb.base/sigstep.c (no_handler): New global.
11133 (main): If 'no_handler is true, set the signal handlers to
11134 SIG_IGN.
11135 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11136 with_sw_watch and no_handler parameters. Handle them.
11137 (top level) <stepping over handler when stopped at a breakpoint
11138 test>: Add a test axis for testing with a software watchpoint, and
11139 another for testing with the signal handler set to SIG_IGN.
11140 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11141 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11142
11143 2014-10-28 Pedro Alves <palves@redhat.com>
11144
11145 PR gdb/17511
11146 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11147 * gdb.base/sigstep.exp (other_handler_location): New global.
11148 (advance): Support stepping into the signal handler, and running
11149 commands while in the handler.
11150 (in_handler_map): New global.
11151 (top level): In the advance test, add combinations for getting
11152 into the handler with stepping commands, and for running commands
11153 in the handler. Add comment descripting the advancei tests.
11154
11155 2014-10-28 Pedro Alves <palves@redhat.com>
11156
11157 * gdb.base/sigstep.exp: Use build_executable instead of
11158 prepare_for_testing.
11159 (top level): Move code that starts GDB, runs to main and creates a
11160 display to ...
11161 (restart): ... this new procedure.
11162 (top level): Move backtrace from signal handler test to ...
11163 (validate_backtrace): ... this new procedure.
11164 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11165 with_test_prefix. Always restart GDB.
11166 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11167 with_test_prefix. Always restart GDB. No need to delete
11168 breakpoints after the test.
11169 (test_skip_handler): Remove prefix parameter.
11170 (skip_over_handler, breakpoint_to_handler)
11171 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11172 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11173 restart GDB. No need to delete breakpoints after the test.
11174 (top level): Use foreach to call the test procedures with
11175 different commands.
11176
11177 2014-10-28 Pedro Alves <palves@redhat.com>
11178
11179 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11180 instead of GNATS numbers.
11181 * gdb.base/sigbpt.exp: Likewise.
11182 * gdb.base/siginfo.exp: Likewise.
11183 * gdb.base/sigstep.exp: Likewise.
11184
11185 2014-10-27 Pedro Alves <palves@redhat.com>
11186
11187 * gdb.base/sigstep.c (dummy): New global.
11188 (main): Issue a couple writes to the new global.
11189 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11190 procedures.
11191 (skip_over_handler): Use test_skip_handler.
11192 (top level): Call skip_over_handler for stepi and nexti too.
11193 (breakpoint_over_handler): Use test_skip_handler.
11194 (top level): Call breakpoint_over_handler for stepi and nexti too.
11195
11196 2014-10-27 Yao Qi <yao@codesourcery.com>
11197
11198 * gdb.trace/tfile.c (adjust_function_address)
11199 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11200 function descriptor.
11201
11202 2014-10-24 Don Breazeal <donb@codesourcery.com>
11203
11204 * gdb.base/foll-fork.exp (test_follow_fork,
11205 catch_fork_child_follow): Check for updated fork messages emitted
11206 from infrun.c.
11207 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11208 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11209 vfork_and_exec_child_follow_through_step): Check for updated vfork
11210 messages emitted from infrun.c.
11211
11212 2014-10-24 Pedro Alves <palves@redhat.com>
11213
11214 * gdb.base/corefile.exp: Remove references to ultrix.
11215 * gdb.base/interrupt.exp: Likewise.
11216 * gdb.base/whatis.exp: Likewise.
11217 * gdb.gdb/selftest.exp: Likewise.
11218 * gdb.threads/manythreads.exp: Likewise.
11219 * gdb.threads/print-threads.exp: Likewise.
11220 * gdb.threads/pthreads.exp:: Likewise.
11221 * gdb.threads/schedlock.exp: Likewise.
11222
11223 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11224
11225 * gdb.cp/non-trivial-retval.cc: Add a test case.
11226 * gdb.cp/non-trivial-retval.exp: Add a test.
11227
11228 2014-10-20 Yao Qi <yao@codesourcery.com>
11229
11230 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11231 * gdb.python/py-objfile-script-gdb.py: New file.
11232 * gdb.python/py-objfile-script.exp: Update reference to
11233 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11234 of remote_download. Remove the dest file.
11235
11236 2014-10-20 Yao Qi <yao@codesourcery.com>
11237
11238 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11239 * gdb.base/step-line.exp: Likewise.
11240 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11241 * gdb.dwarf2/dw2-basic.exp: Likewise.
11242 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11243 * gdb.dwarf2/dw2-filename.exp: Likewise.
11244 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11245 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11246 * gdb.dwarf2/dw2-producer.exp: Likewise.
11247 * gdb.dwarf2/mac-fileno.exp: Likewise.
11248 * gdb.python/py-frame-args.exp: Likewise.
11249 * gdb.python/py-framefilter.exp: Likewise.
11250 * gdb.python/py-mi.exp: Likewise.
11251 * gdb.python/py-objfile-script.exp: Likewise
11252 * gdb.python/py-pp-integral.exp: Likewise.
11253 * gdb.python/py-pp-re-notag.exp: Likewise.
11254 * gdb.python/py-prettyprint.exp: Likewise.
11255 * gdb.python/py-section-script.exp: Likewise.
11256 * gdb.python/py-typeprint.exp: Likewise.
11257 * gdb.python/py-xmethods.exp: Likewise.
11258 * gdb.stabs/weird.exp: Likewise.
11259 * gdb.xml/tdesc-regs.exp: Likewise.
11260
11261 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11262
11263 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11264 (out_cu): Use addr_len for the size of addresses.
11265 (out_line): Likewise. Size DW_LNE_set_address instruction
11266 according to addr_len.
11267 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11268 (FUNC): Add START_INSNS to definition.
11269
11270 2014-10-18 Yao Qi <yao@codesourcery.com>
11271
11272 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11273 gdb_has_argv0 return true.
11274 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11275 check [target_info exists noargs], check [gdb_has_argv0]
11276 instead.
11277 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11278 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11279 procedures.
11280
11281 2014-10-17 Doug Evans <dje@google.com>
11282
11283 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11284 event.
11285 * gdb.python/py-events.py: Add clear_objfiles event.
11286
11287 2014-10-17 Doug Evans <dje@google.com>
11288
11289 * gdb.python/py-objfile.exp: Test progspace attribute.
11290
11291 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11292
11293 * gdb.guile/scm-breakpoint.exp: Do not assume any
11294 directory separators when matching source file paths.
11295 * gdb.python/py-breakpoint.exp: Likewise.
11296 * gdb.reverse/break-precsave.exp: Likewise.
11297 * gdb.reverse/break-reverse.exp: Likewise.
11298 * gdb.reverse/consecutive-precsave.exp: Likewise.
11299 * gdb.reverse/finish-precsave.exp: Likewise.
11300 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11301 * gdb.reverse/finish-reverse.exp: Likewise.
11302 * gdb.reverse/i386-precsave.exp: Likewise.
11303 * gdb.reverse/i387-env-reverse.exp: Likewise.
11304 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11305 * gdb.reverse/machinestate-precsave.exp: Likewise.
11306 * gdb.reverse/machinestate.exp: Likewise.
11307 * gdb.reverse/sigall-precsave.exp: Likewise.
11308 * gdb.reverse/solib-precsave.exp: Likewise.
11309 * gdb.reverse/step-precsave.exp: Likewise.
11310 * gdb.reverse/until-precsave.exp: Likewise.
11311 * gdb.reverse/watch-precsave.exp: Likewise.
11312 * gdb.reverse/watch-reverse.exp: Likewise.
11313
11314 2014-10-17 Yao Qi <yao@codesourcery.com>
11315
11316 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11317 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11318
11319 2014-10-17 Pedro Alves <palves@redhat.com>
11320
11321 PR gdb/17471
11322 * gdb.base/bg-execution-repeat.c: New file.
11323 * gdb.base/bg-execution-repeat.exp: New file.
11324
11325 2014-10-17 Pedro Alves <palves@redhat.com>
11326
11327 PR gdb/17300
11328 * gdb.base/continue-all-already-running.c: New file.
11329 * gdb.base/continue-all-already-running.exp: New file.
11330
11331 2014-10-17 Pedro Alves <palves@redhat.com>
11332
11333 PR gdb/17472
11334 * gdb.base/annota-input-while-running.c: New file.
11335 * gdb.base/annota-input-while-running.exp: New file.
11336
11337 2014-10-17 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.base/callfuncs.exp: emove references to osf.
11340 * gdb.base/sigall.exp: Likewise.
11341 * gdb.gdb/selftest.exp: Likewise.
11342 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11343 * gdb.mi/non-stop.c: Likewise.
11344 * gdb.mi/pthreads.c: Likewise.
11345 * gdb.reverse/sigall-precsave.exp: Likewise.
11346 * gdb.reverse/sigall-reverse.exp: Likewise.
11347 * gdb.threads/pthreads.c: Likewise.
11348 * gdb.threads/pthreads.exp: Likewise.
11349
11350 2014-10-17 Yao Qi <yao@codesourcery.com>
11351
11352 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11353 check 'target_info exists noargs'.
11354 (test_command_prompt_position): Likewise.
11355 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11356 Remove "set args".
11357 (progvar_simple_while_test): Likewise.
11358 (progvar_complex_if_while_test): Likewise.
11359 (if_while_breakpoint_command_test): Likewise.
11360 (infrun_breakpoint_command_test): Likewise.
11361 (breakpoint_command_test): Likewise.
11362 (watchpoint_command_test): Likewise.
11363 (bp_deleted_in_command_test): Likewise.
11364 (temporary_breakpoint_commands): Likewise.
11365
11366 2014-10-16 Yao Qi <yao@codesourcery.com>
11367
11368 * gdb.base/remotetimeout.exp: Remove noargs checking.
11369
11370 2014-10-15 Pedro Alves <palves@redhat.com>
11371
11372 PR breakpoints/9649
11373 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11374 * gdb.base/breakpoint-in-ro-region.exp
11375 (probe_target_hardware_step): New procedure.
11376 (top level): Probe hardware stepping and hardware breakpoint
11377 support. Test stepping through a read-only region, with both
11378 "breakpoint auto-hw" on and off and both "always-inserted" on and
11379 off.
11380
11381 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11382
11383 * gdb.dlang/demangle.exp: Update for demangling changes.
11384
11385 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11386
11387 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11388 * gdb.cp/non-trivial-retval.exp: Add new tests.
11389
11390 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11391
11392 PR c++/13403
11393 PR c++/15154
11394 * gdb.cp/non-trivial-retval.cc: New file.
11395 * gdb.cp/non-trivial-retval.exp: New file.
11396
11397 2014-10-15 Yao Qi <yao@codesourcery.com>
11398
11399 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11400 remote host.
11401
11402 2014-10-15 Yao Qi <yao@codesourcery.com>
11403
11404 * gdb.python/py-symbol.exp: Match file base name if host is
11405 remote, otherwise match file name with dir name.
11406 * gdb.python/py-symtab.exp: Likewise.
11407 * gdb.python/python.exp: Likewise.
11408
11409 2014-10-15 Yao Qi <yao@codesourcery.com>
11410
11411 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11412 pattern.
11413 * gdb.python/py-symtab.exp: Likewise.
11414 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11415 locationn.
11416
11417 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11418
11419 * gdb.ada/addr_arith: New testcase.
11420
11421 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11422
11423 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11424 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11425 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11426 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11427
11428 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11429
11430 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11431 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11432 * gdb.arch/stap-eval-lang-ada.exp: New file.
11433
11434 2014-10-14 Yao Qi <yao@codesourcery.com>
11435
11436 * gdb.mi/mi-var-child.c (nothing1): New function.
11437 (nothing2): New function.
11438 (do_children_tests): Set function pointers by nothing1 and
11439 nothing2.
11440 * gdb.mi/mi-var-child.exp: Step over new added statements.
11441 Update test to match the new output.
11442 * gdb.mi/var-cmd.c (nothing1): New function.
11443 (nothing2): New function.
11444 (do_children_tests): Set function pointers by nothing1 and
11445 nothing2.
11446 * gdb.mi/mi-var-display.exp: Update test to match output.
11447 Step to the line specified by $line_dct_nothing.
11448 Increase the number of lines to step.
11449
11450 2014-10-14 Yao Qi <yao@codesourcery.com>
11451
11452 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11453 tests.
11454 * gdb.mi/mi2-var-child.exp: Likewise.
11455
11456 2014-10-13 Doug Evans <dje@google.com>
11457
11458 * gdb.python/py-objfile.exp: Change name of file name test.
11459
11460 2014-10-13 Doug Evans <dje@google.com>
11461
11462 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11463 from the start of the CU.
11464
11465 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11466 Yao Qi <yao@codesourcery.com>
11467
11468 Fix "save breakpoints" for "catch" command.
11469 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11470 Remove -nonewline. Match also the added "main" line.
11471
11472 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11473
11474 Fix "save breakpoints" for "disable $bpnum" command.
11475 * gdb.base/save-bp.c (main): Add label.
11476 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11477
11478 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11479
11480 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11481
11482 2014-10-11 Yao Qi <yao@codesourcery.com>
11483
11484 * gdb.server/server-kill.exp: Execute command
11485 "set remote trace-status-packet on" before "tstatus".
11486
11487 2014-10-11 Yao Qi <yao@codesourcery.com>
11488
11489 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11490 (main): Call getppid.
11491 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11492 and continue to it. Read variable "server_pid".
11493
11494 2014-10-11 Yao Qi <yao@codesourcery.com>
11495
11496 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11497
11498 2014-10-11 Yao Qi <yao@codesourcery.com>
11499
11500 * gdb.threads/thread-find.exp: Don't execute command
11501 "info threads".
11502 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11503 * gdb.threads/linux-dp.exp: Don't check the condition
11504 $threads_created equals to zero.
11505
11506 2014-10-10 Pedro Alves <palves@redhat.com>
11507
11508 * gdb.base/bigcore.exp: Remove references to IRIX.
11509 * gdb.base/funcargs.exp: Likewise.
11510 * gdb.base/interrupt.exp: Likewise.
11511 * gdb.base/mips_pro.exp: Likewise.
11512 * gdb.base/nodebug.exp: Likewise.
11513 * gdb.base/setvar.exp: Likewise.
11514 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11515
11516 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11517 Pedro Alves <palves@redhat.com>
11518
11519 PR symtab/14466
11520 * gdb.base/vdso-warning.c: New file.
11521 * gdb.base/vdso-warning.exp: New file.
11522
11523 2014-10-02 Doug Evans <dje@google.com>
11524
11525 * gdb.base/structs.c (main): Don't run forever.
11526
11527 2014-10-02 Pedro Alves <palves@redhat.com>
11528
11529 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11530 (top level) <stop threads 1, stop threads 2>: Use it.
11531
11532 2014-10-02 Pedro Alves <palves@redhat.com>
11533
11534 * gdb.threads/break-while-running.exp (test): Add new
11535 'update_thread_list' argument. Skip "info threads" if false.
11536 (top level): Add new 'update_thread_list' axis.
11537
11538 2014-10-02 Pedro Alves <palves@redhat.com>
11539
11540 PR breakpoints/17431
11541 * gdb.base/execl-update-breakpoints.c: New file.
11542 * gdb.base/execl-update-breakpoints.exp: New file.
11543
11544 2014-10-01 Pedro Alves <palves@redhat.com>
11545
11546 * gdb.base/breakpoint-in-ro-region.c: New file.
11547 * gdb.base/breakpoint-in-ro-region.exp: New file.
11548
11549 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11550
11551 * gdb.mi/mi-exit-code.exp: New file.
11552 * gdb.mi/mi-exit-code.c: New file.
11553
11554 2014-09-30 Yao Qi <yao@codesourcery.com>
11555
11556 * lib/prelink-support.exp (build_executable_own_libs): Error if
11557 the target isn't native.
11558
11559 2014-09-30 Yao Qi <yao@codesourcery.com>
11560
11561 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11562 false.
11563
11564 2014-09-22 Pedro Alves <palves@redhat.com>
11565
11566 * gdb.threads/break-while-running.exp: New file.
11567 * gdb.threads/break-while-running.c: New file.
11568
11569 2014-09-19 Yao Qi <yao@codesourcery.com>
11570
11571 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11572 Invoke test. Restart GDB with --readnow and invoke test again.
11573
11574 2014-09-19 Yao Qi <yao@codesourcery.com>
11575
11576 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11577 proc set_breakpoint_on_gcd_function. Invoke
11578 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11579 invoke set_breakpoint_on_gcd_function again.
11580
11581 2014-09-18 Doug Evans <dje@google.com>
11582
11583 * gdb.dwarf2/symtab-producer.exp: New file.
11584
11585 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11586
11587 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11588 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11589 * gdb.base/global-var-nested-by-dso.c: Likewise.
11590 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11591
11592 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11593 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.base/watch-bitfields.exp: Pass string other than test file
11596 name to prepare_for_testing.
11597 (watch): New procedure.
11598 (expect_watchpoint): Use with_test_prefix.
11599 (top level): Factor out tests to ...
11600 (test_watch_location, test_regular_watch): ... these new
11601 procedures, and use with_test_prefix and gdb_continue_to_end.
11602
11603 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11604
11605 PR breakpoints/12526
11606 * gdb.base/watch-bitfields.exp: New file.
11607 * gdb.base/watch-bitfields.c: New file.
11608
11609 2014-09-16 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11612 software and hardware addresses, not software address against
11613 itself.
11614
11615 2014-09-16 Pedro Alves <palves@redhat.com>
11616
11617 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11618 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11619
11620 2014-09-16 Pedro Alves <palves@redhat.com>
11621
11622 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11623 files.
11624 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11625 "*-*-vxworks*" throughout.
11626 * gdb.base/break.exp: Likewise.
11627 * gdb.base/default.exp: Likewise.
11628 * gdb.base/scope.exp: Likewise.
11629 * gdb.base/sepdebug.exp: Likewise.
11630 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11631 throughout.
11632 * gdb.base/run.c: Likewise.
11633 * gdb.base/sepdebug.c: Likewise.
11634 * gdb.hp/gdb.aCC/run.c: Likewise.
11635 * gdb.reverse/until-reverse.c: Likewise.
11636 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11637
11638 2014-09-16 Yao Qi <yao@codesourcery.com>
11639
11640 * boards/local-remote-host-native.exp: New file.
11641
11642 2014-09-14 Doug Evans <xdje42@gmail.com>
11643
11644 * gdb.threads/queue-signal.c (thread_count): New variable.
11645 (thread_count_mutex, thread_count_condvar): New variables.
11646 (incr_thread_count, wait_all_threads_running): New functions.
11647 (main): Wait for all threads to be in their thread functions.
11648
11649 2014-09-13 Doug Evans <xdje42@gmail.com>
11650
11651 * gdb.threads/queue-signal.c: New file.
11652 * gdb.threads/queue-signal.exp: New file.
11653
11654 2014-09-13 Doug Evans <xdje42@gmail.com>
11655
11656 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11657 be consistent with what default_gdb_init uses.
11658 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11659 the plain text of the prompt. Add some logging printfs.
11660 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11661
11662 2014-09-12 Pedro Alves <palves@redhat.com>
11663
11664 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11665 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11666 * gdb.arch/i386-size-overlap.exp: Likewise.
11667 * gdb.arch/i386-size.exp: Likewise.
11668 * gdb.arch/i386-unwind.exp: Likewise.
11669 * gdb.base/a2-run.exp: Likewise.
11670 * gdb.base/break.exp: Likewise.
11671 * gdb.base/charset.exp: Likewise.
11672 * gdb.base/chng-syms.exp: Likewise.
11673 * gdb.base/commands.exp: Likewise.
11674 * gdb.base/dbx.exp: Likewise.
11675 * gdb.base/find.exp: Likewise.
11676 * gdb.base/funcargs.exp: Likewise.
11677 * gdb.base/jit-simple.exp: Likewise.
11678 * gdb.base/reread.exp: Likewise.
11679 * gdb.base/sepdebug.exp: Likewise.
11680 * gdb.base/step-bt.exp: Likewise.
11681 * gdb.cp/mb-inline.exp: Likewise.
11682 * gdb.cp/mb-templates.exp: Likewise.
11683 * gdb.objc/basicclass.exp: Likewise.
11684 * gdb.threads/killed.exp: Likewise.
11685
11686 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11687
11688 PR tdep/17379
11689 * gdb.arch/powerpc-stackless.S: New file.
11690 * gdb.arch/powerpc-stackless.exp: New file.
11691
11692 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11693
11694 * gdb.base/attach.c: Include unistd.h.
11695 (main): Call alarm. Add label postloop.
11696 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11697 gdb_breakpoint, gdb_continue_to_breakpoint.
11698 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11699
11700 2014-09-11 Pedro Alves <palves@redhat.com>
11701
11702 PR gdb/17347
11703 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11704 * gdb.base/attach.exp (test_command_line_attach_run): New
11705 procedure.
11706 (top level): Call it.
11707
11708 2014-09-11 Pedro Alves <palves@redhat.com>
11709
11710 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11711 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11712 (do_command_attach_tests): Use spawn_wait_for_attach.
11713 * gdb.base/solib-overlap.exp: Likewise.
11714 * gdb.multi/multi-attach.exp: Likewise.
11715 * gdb.python/py-prompt.exp: Likewise.
11716 * gdb.python/py-sync-interp.exp: Likewise.
11717 * gdb.server/ext-attach.exp: Likewise.
11718
11719 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11720
11721 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11722 command in testcase. Simplify testcase.
11723
11724 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11725
11726 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11727
11728 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11729
11730 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11731
11732 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11733
11734 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11735
11736 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11737
11738 * gdb.dwarf2/dynarr-ptr.c: New file.
11739 * gdb.dwarf2/dynarr-ptr.exp: New file.
11740
11741 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11742
11743 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11744 of 30 rather than hardcoding 120 for a slow test case. Take the
11745 `gdb,timeout' target setting into account for this calculation.
11746 Don't extend the timeout for the test cases that don't need it.
11747
11748 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11749
11750 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11751 a factor of 2 for a slow test case. Take the `gdb,timeout'
11752 target setting into account for this calculation.
11753 * gdb.reverse/until-precsave.exp: Increase the timeout by
11754 a factor of 15 and 3 respectively rather than adding 120
11755 for a pair of slow test cases. Take the `gdb,timeout'
11756 target setting into account for this calculation.
11757
11758 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11759
11760 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11761 timeout, don't pass one down to gdb_expect.
11762 (gdb_expect): Rework timeout selection.
11763
11764 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11765
11766 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11767 exception on timeout.
11768 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11769 (gdbserver_start_extended): Catch any `gdbserver_start' error
11770 exceptions.
11771 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11772 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11773 `gdbserver_gdb_load' error exceptions.
11774
11775 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11776
11777 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11778 120 on waiting for the TCP socket to open.
11779
11780 2014-09-09 Doug Evans <xdje42@gmail.com>
11781
11782 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11783 _caller_matches, _any_caller_is, _any_caller_matches.
11784
11785 2014-09-09 Doug Evans <xdje42@gmail.com>
11786
11787 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11788
11789 2014-09-09 Yao Qi <yao@codesourcery.com>
11790
11791 * gdb.mi/mi-var-display.exp: Set print symbol off.
11792
11793 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11794
11795 PR gdb/17035
11796 * gdb.base/commands.exp: Add tests to verify user-defined
11797 commands with empty bodies.
11798 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11799 python commands in `show user command`.
11800 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11801 scheme commands in `show user command`.
11802
11803 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11804
11805 PR python/17355
11806 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11807 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11808 * gdb.python/py-framefilter-invalidarg.exp: New file.
11809 * gdb.python/py-framefilter-invalidarg.py: New file.
11810
11811 2014-09-06 Doug Evans <xdje42@gmail.com>
11812
11813 PR 15276
11814 * gdb.python/py-caller-is.c: New file.
11815 * gdb.python/py-caller-is.exp: New file.
11816
11817 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11818
11819 PR gdb/17235
11820 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11821 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11822
11823 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11824
11825 PR fortran/17237
11826 * gdb.fortran/print-formatted.exp: New file.
11827 * gdb.fortran/print-formatted.f90: Likewise.
11828
11829 2014-09-03 Sasha Smundak <asmundak@google.com>
11830
11831 * gdb.python/py-frame.exp: Test Frame.read_register.
11832
11833 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11834
11835 PR python/16699
11836 * gdb.python/py-completion.exp: New file.
11837 * gdb.python/py-completion.py: Likewise.
11838
11839 2014-08-28 Doug Evans <dje@google.com>
11840
11841 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11842 eax,etc. are live with values set by gdb and thus the compiler can't
11843 use them.
11844 * gdb.arch/i386-pseudo.c (main): Ditto.
11845
11846 2014-08-27 Doug Evans <dje@google.com>
11847
11848 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11849
11850 2014-08-25 Doug Evans <dje@google.com>
11851
11852 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11853 (main): Ditto.
11854
11855 2014-08-25 Doug Evans <dje@google.com>
11856
11857 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11858
11859 2014-08-24 Yao Qi <yao@codesourcery.com>
11860
11861 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11862 symbol off.
11863 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11864
11865 2014-08-22 Doug Evans <dje@google.com>
11866
11867 PR 17276
11868 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11869 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11870 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11871
11872 2014-08-22 Yao Qi <yao@codesourcery.com>
11873
11874 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11875 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11876 * gdb.python/python.exp: Likewise. Use .py file on the host
11877 instead of the build.
11878
11879 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11880
11881 * gdb.threads/gcore-stale-thread.c: New file.
11882 * gdb.threads/gcore-stale-thread.exp: New file.
11883
11884 2014-08-21 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11887 * gdb.base/gcore-relro-pie.exp: Likewise.
11888 * gdb.base/gcore-relro.exp: Likewise.
11889 * gdb.base/gcore.exp: Likewise.
11890 * gdb.base/print-symbol-loading.exp: Likewise.
11891 * gdb.threads/gcore-thread.exp: Likewise.
11892 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11893
11894 2014-08-20 Pedro Alves <palves@redhat.com>
11895 Jan Kratochvil <jan.kratochvil@redhat.com>
11896
11897 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11898 configure.
11899 (EXPECT): Handle READ1 being set.
11900 (all): Depend on EXTRA_RULES.
11901 (check-read1, expect-read1, read1.so, read1): New rules.
11902 * README (Testsuite Parameters): Document the READ1 make variable.
11903 (Race detection): New section.
11904 * configure: Regenerate.
11905 * configure.ac: If build==host==target, and running under a
11906 GNU/glibc system, add read1 to the extra Makefile rules.
11907 (EXTRA_RULES): AC_SUBST it.
11908 * lib/read1.c: New file.
11909
11910 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11911
11912 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11913 the handling of variables declared as a typedef to an array
11914 which a DW_AT_data_location attribute.
11915
11916 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11917 Pedro Alves <palves@redhat.com>
11918
11919 PR symtab/14604
11920 PR symtab/14605
11921 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11922 gdb_test.
11923
11924 2014-08-19 Pedro Alves <palves@redhat.com>
11925
11926 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11927
11928 2014-08-19 Yao Qi <yao@codesourcery.com>
11929
11930 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11931 right line.
11932
11933 2014-08-18 David Blaikie <dblaikie@gmail.com>
11934
11935 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11936
11937 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11938
11939 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11940 attribute in array range.
11941
11942 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11943
11944 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11945
11946 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11947
11948 PR c++/17132
11949 * gdb.cp/pr17132.cc: New file.
11950 * gdb.cp/pr17132.exp: New file.
11951
11952 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11953
11954 * gdb.python/py-xmethods.py (A_getarrayind)
11955 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11956 Use 'print' with function call syntax.
11957 (E_method_matcher.match): Fix tab vs space indentation mixup.
11958
11959 2014-08-15 Yao Qi <yao@codesourcery.com>
11960
11961 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11962 false.
11963
11964 2014-08-15 Yao Qi <yao@codesourcery.com>
11965
11966 * gdb.cp/casts.exp: Set print symbol off.
11967 * gdb.cp/class2.exp: Likewise.
11968 * gdb.cp/overload.exp: Likewise.
11969 * gdb.cp/templates.exp: Likewise.
11970
11971 2014-08-11 Doug Evans <dje@google.com>
11972
11973 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11974 (test_load_shlib): Update.
11975
11976 2014-08-09 Yao Qi <yao@codesourcery.com>
11977
11978 * gdb.base/display.exp: Invoke is_address_zero_readable.
11979 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11980 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11981 * gdb.base/hbreak-unmapped.exp: Return if
11982 is_address_zero_readable returns true.
11983 * gdb.base/signest.exp: Likewise.
11984 * gdb.base/signull.exp: Likewise.
11985 * gdb.base/sigbpt.exp: Likewise.
11986 * gdb.guile/scm-disasm.exp: Do the test if
11987 is_address_zero_readable returns false.
11988 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11989 * gdb.python/py-arch.exp: Likewise.
11990 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11991 * lib/gdb.exp (is_address_zero_readable): New proc.
11992
11993 2014-08-09 Yao Qi <yao@codesourcery.com>
11994
11995 PR testsuite/13443
11996 * gdb.mi/mi-var-display.exp: Make test messages unique.
11997
11998 2014-08-04 Tom Tromey <tromey@redhat.com>
11999
12000 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12001 target 0".
12002
12003 2014-08-04 Tom Tromey <tromey@redhat.com>
12004
12005 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12006 "target_resume".
12007
12008 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12009
12010 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12011 inner_vla_struct_object_size.
12012 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12013 as xfail.
12014
12015 2014-07-30 Pedro Alves <palves@redhat.com>
12016
12017 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12018 comment.
12019
12020 2014-07-29 Yao Qi <yao@codesourcery.com>
12021
12022 PR gdb/17206
12023 * gdb.base/until-nodebug.exp: New.
12024
12025 2014-07-28 Doug Evans <xdje42@gmail.com>
12026
12027 PR guile/17203
12028 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12029 previously existing parameter, and previously ambiguously spelled
12030 parameter.
12031
12032 2014-07-28 Will Newton <will.newton@linaro.org>
12033
12034 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12035
12036 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12037 Doug Evans <xdje42@gmail.com>
12038
12039 PR guile/17146
12040 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12041
12042 2014-07-25 Pedro Alves <palves@redhat.com>
12043
12044 * gdb.threads/signal-command-handle-nopass.c: New file.
12045 * gdb.threads/signal-command-handle-nopass.exp: New file.
12046 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12047 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12048 * gdb.threads/signal-delivered-right-thread.c: New file.
12049 * gdb.threads/signal-delivered-right-thread.exp: New file.
12050
12051 2014-07-25 Pedro Alves <palves@redhat.com>
12052
12053 * gdb.base/double-prompt-target-event-error.exp
12054 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12055 match.
12056 (cancel_pagination_in_target_event): Rework double prompt
12057 detection.
12058 * gdb.base/paginate-after-ctrl-c-running.exp
12059 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12060 <return>' match.
12061 * gdb.base/paginate-bg-execution.exp
12062 (test_bg_execution_pagination_return)
12063 (test_bg_execution_pagination_cancel): Remove '-notransfer
12064 <return>' matches.
12065 * gdb.base/paginate-execution-startup.exp
12066 (test_fg_execution_pagination_return)
12067 (test_fg_execution_pagination_cancel): Remove '-notransfer
12068 <return>' matches.
12069 * gdb.base/paginate-inferior-exit.exp
12070 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12071 match.
12072 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12073 * lib/gdb.exp (pagination_prompt): Run text through
12074 string_to_regexp.
12075 (gdb_test_multiple): Match $pagination_prompt instead of
12076 "<return>".
12077 (string_to_regexp): Move to lib/gdb-utils.exp.
12078
12079 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12080
12081 * gdb.arch/amd64-entry-value-paramref.S: New file.
12082 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12083 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12084 * gdb.arch/amd64-optimout-repeat.S: New file.
12085 * gdb.arch/amd64-optimout-repeat.c: New file.
12086 * gdb.arch/amd64-optimout-repeat.exp: New file.
12087
12088 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12089
12090 PR gdb/17170
12091 * gdb.base/statistics.exp: New file.
12092
12093 2014-07-17 Doug Evans <dje@google.com>
12094
12095 PR gdb/17170
12096 * gdb.base/maint.exp: Update testing of per-command stats.
12097
12098 2014-07-16 Pedro Alves <palves@redhat.com>
12099
12100 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12101 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12102 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12103 (tfile_write_buf): New functions.
12104 (add_memory_block): Rewrite using the above.
12105 (adjust_function_address): New function.
12106 (FUNCTION_ADDRESS): New macro.
12107 (write_basic_trace_file): Remove short_x local, and use
12108 tfile_write_16. Change type of func_addr local to unsigned long
12109 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12110 here. Cast argument of add_memory_block to char pointer.
12111 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12112 (main): Remove parameters.
12113 * gdb.trace/tfile.exp: Remove nowarnings.
12114
12115 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12116
12117 * gdb.base/debug-expr.exp: Test string evaluation with
12118 "debug expression" on.
12119
12120 2014-07-15 Pedro Alves <palves@redhat.com>
12121
12122 * gdb.base/reread.exp: Use clean_restart.
12123
12124 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12125
12126 * gdb.arch/avr-flash-qualifer.c: New.
12127 * gdb.arch/avr-flash-qualifer.exp: New.
12128
12129 2014-07-14 Pedro Alves <palves@redhat.com>
12130
12131 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12132 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12133
12134 2014-07-14 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.base/double-prompt-target-event-error.c: New file.
12137 * gdb.base/double-prompt-target-event-error.exp: New file.
12138
12139 2014-07-14 Pedro Alves <palves@redhat.com>
12140
12141 PR gdb/17072
12142 * gdb.base/paginate-inferior-exit.c: New file.
12143 * gdb.base/paginate-inferior-exit.exp: New file.
12144
12145 2014-07-14 Pedro Alves <palves@redhat.com>
12146
12147 PR gdb/17072
12148 * gdb.base/paginate-bg-execution.c: New file.
12149 * gdb.base/paginate-bg-execution.exp: New file.
12150
12151 2014-07-14 Pedro Alves <palves@redhat.com>
12152
12153 PR gdb/17072
12154 * gdb.base/paginate-execution-startup.c: New file.
12155 * gdb.base/paginate-execution-startup.exp: New file.
12156 * lib/gdb.exp (pagination_prompt): New global.
12157 (default_gdb_spawn): New procedure, factored out from
12158 default_gdb_spawn.
12159 (default_gdb_start): Adjust to call default_gdb_spawn.
12160 (gdb_spawn): New procedure.
12161
12162 2014-07-14 Pedro Alves <palves@redhat.com>
12163
12164 * lib/gdb.exp (gdb_assert): New procedure.
12165 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12166
12167 2014-07-14 Pedro Alves <palves@redhat.com>
12168
12169 * gdb.base/execution-termios.c: New file.
12170 * gdb.base/execution-termios.exp: New file.
12171
12172 2014-07-14 Tom Tromey <tromey@redhat.com>
12173
12174 * gdb.cp/vla-cxx.cc: New file.
12175 * gdb.cp/vla-cxx.exp: New file.
12176
12177 2014-07-14 Tom Tromey <tromey@redhat.com>
12178
12179 * gdb.reverse/rerun-prec.c: New file.
12180 * gdb.reverse/rerun-prec.exp: New file.
12181
12182 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12183 Maciej W. Rozycki <macro@codesourcery.com>
12184
12185 * lib/gdb-utils.exp: New file.
12186 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12187 inline `gdb_init_command' processing.
12188 (gdb_start_cmd): Likewise.
12189 * lib/mi-support.exp (mi_run_cmd): Likewise.
12190 * README: Document `gdb_init_command' and `gdb_init_commands'.
12191
12192 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12193
12194 Fix false FAIL running under a very long directory name.
12195 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12196 and "set print elements 10000". Twice.
12197
12198 2014-07-11 Yao Qi <yao@codesourcery.com>
12199
12200 * gdb.base/exprs.exp: "set print symbol off".
12201
12202 2014-07-11 Pedro Alves <palves@redhat.com>
12203
12204 * gdb.threads/kill.c: New file.
12205 * gdb.threads/kill.exp: New file.
12206
12207 2014-07-10 Yao Qi <yao@codesourcery.com>
12208
12209 * gdb.trace/tfile.c (write_basic_trace_file)
12210 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12211 address written to trace file.
12212
12213 2014-07-09 Pedro Alves <palves@redhat.com>
12214
12215 * gdb.base/attach-wait-input.exp: New file.
12216 * gdb.base/attach-wait-input.c: New file.
12217
12218 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12219
12220 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12221 setting up test structures.
12222 (main): Call new test function.
12223 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12224 test function, continue into test function and walk test
12225 structures.
12226
12227 2014-07-02 Yao Qi <yao@codesourcery.com>
12228
12229 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12230 'bar_start' at the beginning of functions 'foo' and 'bar'
12231 respectively.
12232 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12233 instead of 'foo' and 'bar'.
12234
12235 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12236
12237 * gdb.btrace/segv.exp: New.
12238 * gdb.btrace/segv.c: New.
12239
12240 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12241
12242 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12243 instruction.
12244
12245 2014-06-30 Mark Wielaard <mjw@redhat.com>
12246
12247 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12248 vulture, vilify, villar): New volatile array constants.
12249 (vindictive, vegetation): New const volatile array constants.
12250 * gdb.base/volatile.exp: Test volatile and const volatile array
12251 types.
12252
12253 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12254
12255 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12256 target lacks support for awatch, rwatch, or hbreak.
12257
12258 2014-06-27 Yao Qi <yao@codesourcery.com>
12259
12260 * gdb.multi/dummy-frame-restore.exp: New.
12261 * gdb.multi/dummy-frame-restore.c: New.
12262
12263 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12264
12265 * gdb.btrace/gcore.exp: New.
12266
12267 2014-06-23 Pedro Alves <palves@redhat.com>
12268
12269 * gdb.base/watchpoint-reuse-slot.c: New file.
12270 * gdb.base/watchpoint-reuse-slot.exp: New file.
12271
12272 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12273
12274 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12275 progspace's filename in 'info', 'enable' and 'disable' command
12276 tests.
12277
12278 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12279
12280 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12281 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12282 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12283
12284 2014-06-20 Gary Benson <gbenson@redhat.com>
12285
12286 * gdb.arch/i386-avx.exp: Fix include file location.
12287 * gdb.arch/i386-sse.exp: Likewise.
12288
12289 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12290
12291 * gdb.dlang/expression.exp: New file.
12292
12293 2014-06-19 Pedro Alves <palves@redhat.com>
12294
12295 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12296 out from ...
12297 (top level): ... here. Iterate running tests under different
12298 scheduler-locking settings.
12299
12300 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12301
12302 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12303 to DW_FORM_addr and use non-zero addresses.
12304
12305 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12306
12307 PR gdb/17017
12308 * gdb.python/py-xmethods.cc: Add global function call counters and
12309 increment them in their respective functions. Remove "cout"
12310 statements.
12311 * gdb.python/py-xmethods.exp: Make tests check the global function
12312 call counters instead of depending on inferior IO.
12313
12314 2014-06-18 Don Breazeal <donb@codesourcery.com>
12315
12316 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12317 Deleted procedure.
12318 (explicit_fork_parent_follow): Deleted procedure.
12319 (explicit_fork_child_follow): Deleted procedure.
12320 (test_follow_fork): New procedure.
12321 (do_fork_tests): Replace calls to deleted procedures with
12322 calls to test_follow_fork and reset GDB for subsequent
12323 procedure calls.
12324
12325 2014-06-17 Yao Qi <yao@codesourcery.com>
12326
12327 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12328 CP1252.
12329
12330 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12331
12332 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12333 Initialize ptr and S explicitly.
12334 (skip_type_update_when_not_use_rtti_test): Likewise.
12335
12336 2014-06-16 Keith Seitz <keiths@redhat.com>
12337
12338 PR mi/15863
12339 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12340 the inferior is started.
12341
12342 2014-06-16 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.base/break-main-file-remove-fail.c: New file.
12345 * gdb.base/break-main-file-remove-fail.exp: New file.
12346 * gdb.base/break-unload-file.exp: Use build_executable instead of
12347 prepare_for_testing.
12348 (test_break): New parameter "initial_load". Handle it.
12349 (top level): Add initial_load cmdline/file axis.
12350
12351 2014-06-12 Tom Tromey <tromey@redhat.com>
12352
12353 * gdb.base/completion.exp: Don't use directory name in test.
12354
12355 2014-06-09 Gary Benson <gbenson@redhat.com>
12356
12357 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12358 separate the always-available ANSI-standard signals from the
12359 signals that require checking.
12360 (main): Likewise.
12361 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12362 Likewise.
12363 (main): Likewise.
12364
12365 2014-06-07 Keith Seitz <keiths@redhat.com>
12366
12367 Revert:
12368 PR c++/16253
12369 * gdb.cp/var-tag.cc: New file.
12370 * gdb.cp/var-tag.exp: New file.
12371 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12372 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12373 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12374 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12375
12376 2014-06-06 Doug Evans <xdje42@gmail.com>
12377
12378 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12379
12380 2014-06-06 Pedro Alves <palves@redhat.com>
12381
12382 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12383 in target debug output instead of looking at RSP packets,
12384 disabling the test on any target that uses hardware stepping.
12385 Update comments.
12386
12387 2014-06-06 Pedro Alves <palves@redhat.com>
12388
12389 * gdb.base/break-unload-file.exp: Fix typo.
12390
12391 2014-06-06 Yao Qi <yao@codesourcery.com>
12392
12393 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12394 from "jit_function" to "^jit_function".
12395
12396 2014-06-06 Yao Qi <yao@codesourcery.com>
12397
12398 * gdb.base/async.c (foo): Add one statement.
12399 * gdb.base/async.exp: Get the next instruction address and
12400 match the output of "nexti" by instruction address. Match
12401 the hex address in the output of "finish".
12402
12403 2014-06-06 Gary Benson <gbenson@redhat.com>
12404
12405 * gdb.base/call-signals.c: Remove preprocessor conditionals
12406 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12407 SIGSEGV and SIGTERM.
12408 * gdb.base/sigall.c: Likewise.
12409 * gdb.base/unwindonsignal.c: Likewise.
12410 * gdb.reverse/sigall-reverse.c: Likewise.
12411
12412 2014-06-06 Yao Qi <yao@codesourcery.com>
12413
12414 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12415 readable, skip the test.
12416
12417 2014-06-06 Yao Qi <yao@codesourcery.com>
12418
12419 * gdb.threads/staticthreads.c (thread_function): Move the line
12420 setting breakpoint on forward.
12421 * gdb.threads/staticthreads.exp: Update comments.
12422
12423 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12424
12425 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12426 "history-append! type error".
12427
12428 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12429
12430 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12431 erroneous dprintf expected input.
12432
12433 2014-06-04 Doug Evans <xdje42@gmail.com>
12434
12435 * gdb.guile/scm-generics.exp: Delete.
12436
12437 2014-06-04 Doug Evans <xdje42@gmail.com>
12438
12439 * gdb.guile/scm-breakpoint.exp: Update.
12440 Add tests for breakpoint registration.
12441
12442 2014-06-04 Tom Tromey <tromey@redhat.com>
12443
12444 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12445 VLA-in-union.
12446 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12447 inner_vla_struct, vla_union types. Initialize objects of those
12448 types and compute their sizes.
12449
12450 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12451 Hui Zhu <hui@codesourcery.com>
12452
12453 * gdb.base/fileio.exp: Add test for shell not available as well as
12454 available.
12455 * gdb.base/fileio.c (test_system): Check for shell twice.
12456
12457 2014-06-04 Yao Qi <yao@codesourcery.com>
12458
12459 * gdb.base/auto-connect-native-target.exp: Remove redundant
12460 space from the regexp pattern.
12461
12462 2014-06-04 Yao Qi <yao@codesourcery.com>
12463
12464 * gdb.base/default.exp: Replace "child" with "native" in
12465 regexp pattern.
12466
12467 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12468
12469 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12470 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12471 * gdb.python/py-xmethods.py: Python script supporting the
12472 new testcase and tests.
12473
12474 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12475 Pedro Alves <palves@redhat.com>
12476
12477 PR breakpoints/17000
12478 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12479 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12480
12481 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12482
12483 * gdb.base/subst.exp: Add tests to verify partial path matching
12484 output.
12485
12486 2014-06-03 Pedro Alves <palves@redhat.com>
12487
12488 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12489 target that doesn't use software single-stepping.
12490
12491 2014-06-03 Pedro Alves <palves@redhat.com>
12492
12493 PR breakpoints/17000
12494 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12495 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12496
12497 2014-06-02 Doug Evans <xdje42@gmail.com>
12498
12499 * gdb.guile/scm-parameter.exp: New file.
12500
12501 2014-06-02 Doug Evans <xdje42@gmail.com>
12502
12503 * gdb.guile/scm-cmd.c: New file.
12504 * gdb.guile/scm-cmd.exp: New file.
12505
12506 2014-06-02 Doug Evans <xdje42@gmail.com>
12507
12508 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12509 pretty-printer lookup.
12510 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12511 (make-pp_s-printer): Call it.
12512 (make-pretty-printer-from-dict): New function.
12513 (lookup-pretty-printer-maker-from-dict): New function.
12514 (*pretty-printer*): Simplify.
12515 (make-objfile-pp_s-printer): New function.
12516 (install-objfile-pretty-printers!): New function.
12517 (make-progspace-pp_s-printer): New function.
12518 (install-progspace-pretty-printers!): New function.
12519 * gdb.guile/scm-progspace.c: New file.
12520 * gdb.guile/scm-progspace.exp: New file.
12521
12522 2014-06-02 Pedro Alves <palves@redhat.com>
12523
12524 * gdb.base/dprintf-bp-same-addr.c: New file.
12525 * gdb.base/dprintf-bp-same-addr.exp: New file.
12526
12527 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12528
12529 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12530 * gdb.arch/powerpc-power.s: Likewise.
12531
12532 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12533
12534 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12535
12536 2014-06-01 Yao Qi <yao@codesourcery.com>
12537
12538 * gdb.base/watchpoint.exp (test_watch_location): Check null
12539 pointer can be dereferenced. If not, do the test, otherwise
12540 skip it.
12541
12542 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12543
12544 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12545 results.
12546 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12547
12548 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12549
12550 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12551 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12552 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12553 * gdb.arch/amd64-invalid-stack-top.c: New file.
12554 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12555
12556 2014-05-30 Pedro Alves <palves@redhat.com>
12557
12558 PR breakpoints/17000
12559 * gdb.base/sss-bp-on-user-bp.c: New file.
12560 * gdb.base/sss-bp-on-user-bp.exp: New file.
12561
12562 2014-05-30 David Blaikie <dblaikie@gmail.com>
12563
12564 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12565 gnu_inline semantics via attribute.
12566 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12567 source explicitly specifies the required semantics.
12568
12569 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12570
12571 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12572
12573 2014-05-29 Pedro Alves <palves@redhat.com>
12574 Tom Tromey <tromey@redhat.com>
12575
12576 * gdb.base/async-shell.exp: Don't enable target-async.
12577 * gdb.base/async.exp
12578 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12579 parameter. Adjust.
12580 (top level): Don't test with "target-async".
12581 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12582 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12583 * gdb.base/inferior-died.exp: Don't enable target-async.
12584 * gdb.base/interrupt-noterm.exp: Likewise.
12585 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12586 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12587 * gdb.mi/mi-nonstop.exp: Likewise.
12588 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12589 * gdb.mi/mi-nsintrall.exp: Likewise.
12590 * gdb.mi/mi-nsmoribund.exp: Likewise.
12591 * gdb.mi/mi-nsthrexec.exp: Likewise.
12592 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12593 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12594 * gdb.python/py-evsignal.exp: Don't enable target-async.
12595 * gdb.python/py-evthreads.exp: Likewise.
12596 * gdb.python/py-prompt.exp: Likewise.
12597 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12598 * gdb.server/solib-list.exp: Don't enable target-async.
12599 * gdb.threads/thread-specific-bp.exp: Likewise.
12600 * lib/mi-support.exp: Adjust to use mi-async.
12601
12602 2014-05-29 Pedro Alves <palves@redhat.com>
12603
12604 PR gdb/13860
12605 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12606 reason, even in sync mode.
12607
12608 2014-05-29 Pedro Alves <palves@redhat.com>
12609 Hui Zhu <hui@codesourcery.com>
12610
12611 PR PR15693
12612 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12613 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12614 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12615 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12616
12617 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12618
12619 * config/monitor.exp (gdb_target_monitor): Replace use of
12620 "set remotebaud" by "set serial baud".
12621
12622 2014-05-26 Andy Wingo <wingo@igalia.com>
12623
12624 * gdb.guile/scm-breakpoint.exp:
12625 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12626 properties instead of gdb-object-properties.
12627
12628 2014-05-26 Yao Qi <yao@codesourcery.com>
12629
12630 * gdb.server/no-thread-db.exp: Specify source file name
12631 explicitly when setting a breakpoint.
12632
12633 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12634
12635 * gdb.btrace/vdso.c: New.
12636 * gdb.btrace/vdso.exp: New.
12637
12638 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12639
12640 * gdb.base/gcore.exp (capture_command_output): Move ...
12641 * lib/gdb.exp (capture_command_output): ... here.
12642
12643 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12644
12645 * gdb.btrace/data.exp: Test memory access during btrace replay.
12646
12647 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12648
12649 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12650
12651 2014-05-21 Pedro Alves <palves@redhat.com>
12652
12653 PR gdb/13860
12654 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12655 (top level): Test that output related to execution commands is
12656 sent to the console with CLI commands, but not with MI commands.
12657 Test that breakpoint events are always mirrored to the console.
12658 Also expect the new source line to be output after a "next" in
12659 async mode too. Make it a pass/fail test.
12660 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12661 output.
12662 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12663
12664 2014-05-21 Pedro Alves <palves@redhat.com>
12665
12666 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12667 Use them to test variations of "list" after reaching a breakpoint.
12668 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12669 Test "list" with listsize 10 after reaching a breakpoint.
12670 * gdb.python/python.exp (decode_line current location line
12671 number): Adjust expected line number.
12672
12673 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12674
12675 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12676 behavior for $args, pass it directly to "run".
12677
12678 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12679
12680 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12681 30000 to 65536.
12682
12683 2014-05-21 Pedro Alves <palves@redhat.com>
12684
12685 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12686 auto-connect-native-target off".
12687 * gdb.base/auto-connect-native-target.c: New file.
12688 * gdb.base/auto-connect-native-target.exp: New file.
12689
12690 2014-05-21 Pedro Alves <palves@redhat.com>
12691
12692 * gdb.base/default.exp: Test "target native" instead of "target
12693 child".
12694
12695 2014-05-21 Mark Wielaard <mjw@redhat.com>
12696
12697 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12698
12699 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12700
12701 Fix TLS access for -static -pthread.
12702 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12703 <HAVE_TLS> (thread_function, main): Initialize it.
12704 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12705 Add clean_restart.
12706 <$have_tls != "">: Check TLSVAR.
12707
12708 2014-05-21 Pedro Alves <palves@redhat.com>
12709
12710 * gdb.base/dcache-line-read-error.c: New.
12711 * gdb.base/dcache-line-read-error.exp: New.
12712
12713 2014-05-20 Pedro Alves <palves@redhat.com>
12714
12715 * gdb.base/compare-sections.c: New file.
12716 * gdb.base/compare-sections.exp: New file.
12717
12718 2014-05-20 Pedro Alves <palves@redhat.com>
12719
12720 * gdb.base/break-idempotent.c: New file.
12721 * gdb.base/break-idempotent.exp: New file.
12722
12723 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12724
12725 * gdb.btrace/nohist.exp: New.
12726
12727 2014-05-20 Yao Qi <yao@codesourcery.com>
12728
12729 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12730 gdb.reverse directory and gdb_reverse_timeout exists in board
12731 setting.
12732 * README: Document gdb_reverse_timeout.
12733
12734 2014-05-20 Yao Qi <yao@codesourcery.com>
12735
12736 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12737 'test_file_name'. Treat args as a string instead of a list.
12738 (gdb_init): Rename argument 'args' by 'test_file_name'.
12739
12740 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12741
12742 * gdb.arch/powerpc-power.exp: New file.
12743 * gdb.arch/powerpc-power.s: New file.
12744
12745 2014-05-16 Doug Evans <dje@google.com>
12746
12747 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12748 * gdb.base/completion.exp: Check that all expected files exist
12749 before doing file completion.
12750
12751 2014-05-16 Doug Evans <dje@google.com>
12752
12753 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12754 Update.
12755 (do_syscall_tests_without_xml): Update.
12756
12757 2014-05-16 Pedro Alves <palves@redhat.com>
12758
12759 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12760 instead of "unknown output after running".
12761
12762 2014-05-16 Yao Qi <yao@codesourcery.com>
12763
12764 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12765 file1.txt from host at the end.
12766 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12767
12768 2014-05-15 Doug Evans <dje@google.com>
12769
12770 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12771 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12772 loading file. Add test for TU lookup.
12773
12774 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12775
12776 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12777 calling "-exec-arguments" or "set args" before running the
12778 inferior.
12779
12780 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12781
12782 * lib/mi-support.exp (mi_expect_stop): Expect message for
12783 inferiors that exit with non-zero exit code.
12784
12785 2014-05-14 Yao Qi <yao@codesourcery.com>
12786
12787 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12788 match absolute path on remote host.
12789 (test_file_list_exec_source_files): Remove "/" from the
12790 pattern.
12791
12792 2014-05-14 Yao Qi <yao@codesourcery.com>
12793
12794 * boards/local-remote-host-notty.exp (${board}_file): New
12795 proc.
12796
12797 2014-05-07 Kyle McMartin <kyle@redhat.com>
12798
12799 Pushed by Joel Brobecker <brobecker@adacore.com>.
12800 * gdb.arch/aarch64-atomic-inst.c: New file.
12801 * gdb.arch/aarch64-atomic-inst.exp: New file.
12802
12803 2014-05-07 Yao Qi <yao@codesourcery.com>
12804
12805 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12806 in current context" too.
12807
12808 2014-05-05 Keith Seitz <keiths@redhat.com>
12809
12810 * gdb.linespec/ls-dollar.exp: Add test for linespec
12811 file:convenience_variable.
12812
12813 2014-05-05 Yao Qi <yao@codesourcery.com>
12814
12815 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12816 traceframes into tfile and ctf trace files. Read data from
12817 trace file and test collected data.
12818 (gdb_collect_locals_test): Likewise.
12819 (gdb_unavailable_registers_test): Likewise.
12820 (gdb_unavailable_floats): Likewise.
12821 (gdb_collect_globals_test): Likewise.
12822 (top-level): Append "ctf" to trace_file_targets if GDB
12823 supports.
12824
12825 2014-05-05 Yao Qi <yao@codesourcery.com>
12826
12827 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12828 code to ...
12829 (gdb_collect_args_test_1): ... it. New proc.
12830 (gdb_collect_locals_test): Move some code to ...
12831 (gdb_collect_locals_test_1): ... it. New proc.
12832 (gdb_unavailable_registers_test): Move some code to ...
12833 (gdb_unavailable_registers_test_1): ... it. New proc.
12834 (gdb_unavailable_floats): Move some code to ...
12835 (gdb_unavailable_floats_1): ... it. New proc.
12836
12837 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12838
12839 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12840 probes to test for bitness recognition.
12841 * gdb.arch/amd64-stap-optional-prefix.exp
12842 (test_probe_value_without_reg): New procedure.
12843 Add code to test for different kinds of bitness.
12844
12845 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12846
12847 PR breakpoints/16889
12848 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12849 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12850
12851 2014-05-01 Pedro Alves <palves@redhat.com>
12852
12853 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12854 gdb_file_cmd if no file is specified.
12855 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12856 last_loaded_file to set the remote exec-file.
12857
12858 2014-05-01 Pedro Alves <palves@redhat.com>
12859
12860 * boards/local-remote-host.exp: New file.
12861
12862 2014-05-01 Pedro Alves <palves@redhat.com>
12863
12864 * boards/local-remote-host.exp: Rename to ...
12865 * boards/local-remote-host-notty.exp: ... this.
12866
12867 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12868
12869 * gdb.ada/dyn_arrayidx: New testcase.
12870
12871 2014-04-26 Yao Qi <yao@codesourcery.com>
12872
12873 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12874 and compute the length of function main. Save it in
12875 $main_length.
12876 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12877 (top-level): Use gdb_compile to compile objects into
12878 executable and restart GDB. Remove invocation to
12879 prepare_for_testing.
12880
12881 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12882 Pedro Alves <palves@redhat.com>
12883
12884 PR server/16255
12885 * gdb.multi/multi-attach.c: New file.
12886 * gdb.multi/multi-attach.exp: New file.
12887
12888 2014-04-25 Pedro Alves <palves@redhat.com>
12889
12890 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12891 user.
12892 (top level): Test that "set remote conditional-breakpoints-packet
12893 off" works as intended.
12894 * gdb.base/dprintf.exp: Test that "set remote
12895 breakpoint-commands-packet off" works as intended.
12896 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12897 New function.
12898 (top level): Call it.
12899 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12900 remote fast-tracepoints-packet off" works as intended.
12901 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12902 * lib/gdb.exp (gdb_is_target_remote): ... here.
12903
12904 2014-04-24 David Blaikie <dblaikie@gmail.com>
12905
12906 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12907 ensure clang would not discard them.
12908 * gdb.base/gdbvars.c: Ditto.
12909 * gdb.base/memattr.c: Ditto.
12910 * gdb.base/whatis.c: Ditto.
12911 * gdb.python/py-prettyprint.c: Ditto.
12912 * gdb.trace/actions.c: Ditto.
12913 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12914 ensure clang would not discard it.
12915
12916 2014-04-24 David Blaikie <dblaikie@gmail.com>
12917
12918 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12919 clang to emit the full definition of type required by the test
12920 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12921
12922 2014-04-24 David Blaikie <dblaikie@gmail.com>
12923
12924 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12925 coax Clang into emitting the definition of the type.
12926 * gdb.cp/pr10728-x.h (y): Ditto.
12927 * gdb.cp/pr10728-y.cc (y): Ditto.
12928
12929 2014-04-24 David Blaikie <dblaikie@gmail.com>
12930
12931 * gdb.base/label.exp: XFAIL label related tests under Clang.
12932 * gdb.cp/cplabel.exp: Ditto.
12933 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12934 under Clang those using labels.
12935
12936 2014-04-25 Yao Qi <yao@codesourcery.com>
12937
12938 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12939 double_label.
12940 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12941 partial_label and double_label.
12942
12943 2014-04-24 David Blaikie <dblaikie@gmail.com>
12944
12945 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12946
12947 2014-04-24 David Blaikie <dblaikie@gmail.com>
12948
12949 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12950 of the function to work across GCC and Clang.
12951 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12952 pointer types (const void ** const V void **).
12953
12954 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12955 Walfred Tedeschi <walfred.tedeschi@intel.com>
12956
12957 * Makefile.in (EXECUTABLES): Added i386-avx512.
12958 * gdb.arch/i386-avx512.c: New file.
12959 * gdb.arch/i386-avx512.exp: Likewise.
12960
12961 2014-04-23 Keith Seitz <keiths@redhat.com>
12962
12963 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12964 (mi_make_breakpoint_table): New procedure.
12965 (mi_create_breakpoint): Use mi_make_breakpoint
12966 and return the result.
12967 (mi_make_breakpoint): New procedure.
12968 (mi_build_kv_pairs): New procedure.
12969
12970 * gdb.mi/mi-break.exp: Remove unused globals,
12971 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12972 All callers updated.
12973 * gdb.mi/mi-dprintf.exp: Use variable to track command
12974 number.
12975 Update all callers of mi_create_breakpoint and use
12976 mi_make_breakpoint_table.
12977 Remove any unused global variables.
12978 * gdb.mi/mi-nonstop.exp: Likewise.
12979 * gdb.mi/mi-nsintrall.exp: Likewise.
12980 * gdb.mi/mi-nsmoribund.exp: Likewise.
12981 * gdb.mi/mi-nsthrexec.exp: Likewise.
12982 * gdb.mi/mi-reverse.exp: Likewise.
12983 * gdb.mi/mi-simplerun.exp: Likewise.
12984 * gdb.mi/mi-stepn.exp: Likewise.
12985 * gdb.mi/mi-syn-frame.exp: Likewise.
12986 * gdb.mi/mi-until.exp: Likewise.
12987 * gdb.mi/mi-var-cp.exp: Likewise.
12988 * gdb.mi/mi-var-display.exp: Likewise.
12989 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12990 * gdb.mi/mi2-var-child.exp: Likewise.
12991 * gdb.mi/mi-vla-c99.exp: Likewise.
12992 * lib/mi-support.exp: Likewise.
12993
12994 From Ian Lance Taylor <iant@cygnus.com>:
12995 * lib/gdb.exp (parse_args): New procedure.
12996
12997 2014-04-23 Pedro Alves <palves@redhat.com>
12998
12999 * gdb.base/break-unload-file.c: New file.
13000 * gdb.base/break-unload-file.exp: New file.
13001 * gdb.base/sym-file-lib.c (baz): New function.
13002 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13003 field.
13004 (load): Store the segment's mapped size.
13005 (unload): New function.
13006 (unload_shlib): New function.
13007 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13008 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13009 set a breakpoint at baz, and call it.
13010 * gdb.base/sym-file.exp: New tests for stale breakpoint
13011 instructions.
13012
13013 2014-04-23 Pedro Alves <palves@redhat.com>
13014
13015 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13016 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13017 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13018 * gdb.base/hbreak-unmapped.c: New file.
13019 * gdb.base/hbreak-unmapped.exp: New file.
13020 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13021 * lib/gdb.exp (gdb_is_target_remote): ... here.
13022
13023 2014-04-22 Pedro Alves <palves@redhat.com>
13024
13025 * gdb.base/consecutive-step-over.c: New file.
13026 * gdb.base/consecutive-step-over.exp: New file.
13027
13028 2014-04-22 Pedro Alves <palves@redhat.com>
13029
13030 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13031 instead of send_gdb/gdb_expect.
13032
13033 2014-04-22 Yao Qi <yao@codesourcery.com>
13034
13035 * lib/trace-support.exp (generate_tracefile): New procedure.
13036 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13037 return 0.
13038 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13039 if generate_tracefile returns 1.
13040
13041 2014-04-18 Tom Tromey <palves@redhat.com>
13042 Pedro alves <tromey@redhat.com>
13043
13044 PR backtrace/15558
13045 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13046 with a backtrace limit.
13047 * gdb.python/py-frame-inline.exp: Test running to an inline
13048 function with a backtrace limit, and printing the newest frame.
13049 * gdb.python/py-frame-inline.c (main): Call f.
13050
13051 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13052
13053 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13054
13055 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13056
13057 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13058 Drop prefix from unsupported source file path.
13059
13060 2014-04-17 Yao Qi <yao@codesourcery.com>
13061
13062 * lib/gdb.exp (with_target_charset): New proc.
13063 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13064 with_target_charset.
13065 (test_print_strings): Likewise.
13066 (test_repeat_bytes): Likewise.
13067 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13068 for some tests.
13069
13070 2014-04-16 Keith Seitz <keiths@redhat.com>
13071
13072 PR gdb/15827
13073 * gdb.dwarf2/corrupt.c: New file.
13074 * gdb.dwarf2/corrupt.exp: New file.
13075
13076 2014-04-16 Keith Seitz <keiths@redhat.com>
13077
13078 PR c++/16597
13079 * gdb.cp/namelessclass.cc: New file.
13080 * gdb.cp/namelessclass.exp: New file.
13081 * gdb.cp/namelessclass.S: New file.
13082
13083 2014-04-16 Doug Evans <dje@google.com>
13084
13085 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13086 Add comment.
13087 (gdbserver_default_get_comm_port): New function.
13088 (gdbserver_start): Check if board file provided
13089 "gdbserver,get_comm_port" and use it if so.
13090 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13091 (gdb,socketport): Set to "stdio".
13092 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13093 (stdio_gdbserver_template): Delete.
13094 (${board}_get_remote_address): Update.
13095 (${board}_build_remote_cmd): Delete.
13096 (${board}_get_comm_port): New function.
13097 (${board}_spawn): Update.
13098 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13099 Delete.
13100 (${board}_get_remote_address): Update.
13101 (${board}_get_comm_port): New function.
13102
13103 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13104
13105 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13106 appearing in any order.
13107
13108 2014-04-15 Doug Evans <dje@google.com>
13109
13110 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13111 uninitialized value of "description".
13112
13113 2014-04-15 Keith Seitz <keiths@redhat.com>
13114
13115 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13116 Remove unused globals.
13117 (test_running_the_program): Likewise.
13118 (test_controlled_execution): Likewise.
13119 (test_controlling_breakpoints): Likewise.
13120 (test_program_termination): Likewise.
13121
13122 2014-04-15 Keith Seitz <keiths@redhat.com>
13123
13124 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13125 unused globals.
13126 (test_rbreak_creation_and_listing): Likewise.
13127 (test_ignore_count): Likewise.
13128 (test_error): Likewise.
13129
13130 2014-04-15 Pedro Alves <palves@redhat.com>
13131
13132 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13133 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13134 sym-file-loader.c.
13135 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13136 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13137 to sym-file-loader.c.
13138 (struct library): Forward declare.
13139 (load_shlib, lookup_function): Change prototypes.
13140 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13141 (translate_offset): Remove declarations.
13142 (get_text_addr): New declaration.
13143 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13144 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13145 sym-file-loader.h.
13146 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13147 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13148 here from sym-file-loader.h.
13149 (struct library): New structure.
13150 (load_shlib, lookup_function): Change prototypes and adjust to
13151 work with a struct library.
13152 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13153 (translate_offset): Make static.
13154 (get_text_addr): New function.
13155 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13156
13157 2014-04-15 Pedro Alves <palves@redhat.com>
13158
13159 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13160
13161 2014-04-15 Pedro Alves <palves@redhat.com>
13162
13163 * gdb.base/sym-file-loader.c: Include <limits.h>.
13164 (SELF_LINK): New define.
13165 (get_origin): New function.
13166 (load_shlib): Use it.
13167 * gdb.base/sym-file.exp: Don't early return if the target is
13168 remote. Use runto_main, and issue fail is that fails. Use
13169 gdb_load_shlibs.
13170 (shlib_name): Delete.
13171 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13172
13173 2014-04-15 Pedro Alves <palves@redhat.com>
13174
13175 * gdb.base/sym-file.exp: Remove regex characters from test
13176 message. Don't refer to breakpoint numbers in test messages.
13177
13178 2014-04-14 Keith Seitz <keiths@redhat.com>
13179
13180 PR c++/16253
13181 * gdb.cp/var-tag.cc: New file.
13182 * gdb.cp/var-tag.exp: New file.
13183 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13184 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13185 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13186 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13187
13188 2014-04-14 Tom Tromey <tromey@redhat.com>
13189
13190 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13191 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13192 type.
13193 * gdb.cp/enum-class.exp: New file.
13194 * gdb.cp/enum-class.cc: New file.
13195
13196 2014-04-14 Tom Tromey <tromey@redhat.com>
13197
13198 * gdb.dwarf2/enum-type.exp: New file.
13199
13200 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13201
13202 * gdb.mi/mi-vla-c99.exp: New file.
13203 * gdb.mi/vla.c: New file.
13204
13205 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13206
13207 * gdb.base/vla-datatypes.c: New file.
13208 * gdb.base/vla-datatypes.exp: New file.
13209
13210 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13211
13212 * gdb.base/vla-ptr.c: New file.
13213 * gdb.base/vla-ptr.exp: New file.
13214
13215 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13216
13217 * gdb.dwarf2/count.exp: New file.
13218
13219 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13220
13221 * gdb.base/vla-sideeffect.c: New file.
13222 * gdb.base/vla-sideeffect.exp: New file.
13223
13224 2014-04-14 David Blaikie <dblaikie@gmail.com>
13225
13226 * gdb.mi/non-stop.c: Add return value for non-void function return
13227 statement.
13228 * gdb.threads/staticthreads.c: Ditto.
13229
13230 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13231 Doug Evans <xdje42@gmail.com>
13232
13233 * gdb.guile/scm-value.c: Improve test case.
13234 * gdb.guile/scm-value.exp: Add new test.
13235
13236 2014-04-11 David Blaikie <dblaikie@gmail.com>
13237
13238 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13239 override Clang's default.
13240
13241 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13242
13243 Revert the following changes (regressions):
13244
13245 * gdb.base/vla-sideeffect.c: New file.
13246 * gdb.base/vla-sideeffect.exp: New file.
13247
13248 * gdb.dwarf2/count.exp: New file.
13249
13250 * gdb.base/vla-multi.c: New file.
13251 * gdb.base/vla-multi.exp: New file.
13252
13253 * gdb.base/vla-ptr.c: New file.
13254 * gdb.base/vla-ptr.exp: New file.
13255
13256 * gdb.base/vla-datatypes.c: New file.
13257 * gdb.base/vla-datatypes.exp: New file.
13258
13259 * gdb.mi/mi-vla-c99.exp: New file.
13260 * gdb.mi/vla.c: New file.
13261
13262 2014-04-11 Keith Seitz <keiths@redhat.com>
13263
13264 PR c++/16675
13265 * gdb.cp/cpsizeof.exp: New file.
13266 * gdb.cp/cpsizeof.cc: New file.
13267
13268 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13269
13270 * gdb.mi/mi-vla-c99.exp: New file.
13271 * gdb.mi/vla.c: New file.
13272
13273 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13274
13275 * gdb.base/vla-datatypes.c: New file.
13276 * gdb.base/vla-datatypes.exp: New file.
13277
13278 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13279
13280 * gdb.base/vla-ptr.c: New file.
13281 * gdb.base/vla-ptr.exp: New file.
13282
13283 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13284
13285 * gdb.base/vla-multi.c: New file.
13286 * gdb.base/vla-multi.exp: New file.
13287
13288 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13289
13290 * gdb.dwarf2/count.exp: New file.
13291
13292 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13293
13294 * gdb.base/vla-sideeffect.c: New file.
13295 * gdb.base/vla-sideeffect.exp: New file.
13296
13297 2014-04-11 Yao Qi <yao@codesourcery.com>
13298
13299 * gdb.base/completion.exp: Check file exists before running tests
13300 on file completion.
13301
13302 2014-04-10 Pedro Alves <palves@redhat.com>
13303
13304 * gdb.base/cond-eval-mode.c: New file.
13305 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13306 prepare_for_testing to build the new file. Check result of
13307 runto_main.
13308 (test_break, test_watch): New procedures.
13309 (top level): Use them.
13310
13311 2014-04-08 Pierre Muller <muller@sourceware.org>
13312
13313 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13314 Ctrl-V use for mingw hosts.
13315
13316 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13317
13318 * gdb.python/py-value.c: Improve test case.
13319 * gdb.python/py-value.exp: Add new test.
13320
13321 2014-04-07 David Blaikie <dblaikie@gmail.com>
13322
13323 * lib/compiler.c: Identify the clang compiler.
13324 * lib/compiler.cc: Ditto.
13325
13326 2014-04-03 Yao Qi <yao@codesourcery.com>
13327
13328 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13329
13330 2014-04-01 Anton Blanchard <anton@samba.org>
13331
13332 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13333 messages unique.
13334
13335 2014-04-01 Anton Blanchard <anton@samba.org>
13336
13337 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13338 prepare_for_testing.
13339
13340 2014-04-01 Anton Blanchard <anton@samba.org>
13341
13342 * gdb.arch/ppc64-atomic-inst.c: Remove.
13343 * gdb.arch/ppc64-atomic-inst.S: New file.
13344 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13345
13346 2014-03-31 Doug Evans <dje@google.com>
13347
13348 * gdb.base/print-symbol-loading-lib.c: New file.
13349 * gdb.base/print-symbol-loading-main.c: New file.
13350 * gdb.base/print-symbol-loading.exp: New file.
13351
13352 2014-03-31 Yao Qi <yao@codesourcery.com>
13353
13354 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13355
13356 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13357
13358 * gdb.ada/mi_dyn_arr: New testcase.
13359
13360 2014-03-27 Doug Evans <dje@google.com>
13361
13362 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13363
13364 2014-03-27 Yao Qi <yao@codesourcery.com>
13365
13366 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13367 if target is nios2-*-*.
13368
13369 2014-03-26 Yao Qi <yao@codesourcery.com>
13370
13371 * lib/gdb.exp (readline_is_used): New proc.
13372 * gdb.base/completion.exp: Move tests on command complete up.
13373 Skip the rest of tests if readline is not used.
13374 * gdb.ada/complete.exp: Skp the test if readline is not
13375 used.
13376 * gdb.base/filesym.exp: Likewise.
13377 * gdb.base/macscp.exp: Likewise.
13378 * gdb.base/readline-ask.exp: Likewise.
13379 * gdb.base/readline.exp: Likewise.
13380 * gdb.python/py-cmd.exp: Likewise.
13381 * gdb.trace/tfile.exp: Likewise.
13382
13383 2014-03-26 Yao Qi <yao@codesourcery.com>
13384
13385 * gdb.base/macscp.exp: Fix code format issues.
13386
13387 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13388
13389 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13390 * gdb.asm/powerpc64le.inc: New file.
13391
13392 2014-03-25 Pedro Alves <palves@redhat.com>
13393 Doug Evans <dje@google.com>
13394
13395 * gdb.base/source-execution.c: New file.
13396 * gdb.base/source-execution.exp: New file.
13397 * gdb.base/source-execution.gdb: New file.
13398
13399 2014-03-24 Doug Evans <dje@google.com>
13400
13401 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13402 using fission.
13403
13404 2014-03-24 Hui Zhu <hui@codesourcery.com>
13405 Pedro Alves <palves@redhat.com>
13406
13407 PR breakpoints/16101
13408 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13409 test pass/fail messages. Detect missing support for dprintf when
13410 breakpoints are actually inserted.
13411 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13412 breakpoints are actually inserted.
13413 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13414 fails.
13415
13416 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13417
13418 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13419
13420 2014-03-22 Doug Evans <xdje42@gmail.com>
13421
13422 * gdb.python/python.exp (python not supported): Verify multi-line
13423 python command issues an error.
13424 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13425 guile command issues an error.
13426
13427 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13428
13429 * gdb.threads/thread-specific.exp: Handle the lack of usable
13430 $this_breakpoint and $this_thread.
13431
13432 2014-03-21 Hui Zhu <hui@codesourcery.com>
13433
13434 * gdb.base/attach.exp (do_command_attach_tests): New.
13435
13436 2014-03-20 Tom Tromey <tromey@redhat.com>
13437 Pedro Alves <palves@redhat.com>
13438
13439 PR cli/15718
13440 * gdb.base/condbreak-call-false.c: New file.
13441 * gdb.base/condbreak-call-false.exp: New file.
13442
13443 2014-03-20 Pedro Alves <palves@redhat.com>
13444
13445 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13446 Delete.
13447 (block_signals, unblock_signals): Delete.
13448 (child_function_2, main): Remove references to deleted variable
13449 and functions.
13450
13451 2014-03-20 Pedro Alves <palves@redhat.com>
13452
13453 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13454 Use pthread_kill to signal thread 2.
13455 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13456 Adjust to make the test send itself a signal rather than using the
13457 host's "kill" command.
13458
13459 2014-03-20 Pedro Alves <palves@redhat.com>
13460
13461 * gdb.threads/multiple-step-overs.c: New file.
13462 * gdb.threads/multiple-step-overs.exp: New file.
13463 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13464 Adjust expected infrun debug output.
13465
13466 2014-03-20 Pedro Alves <palves@redhat.com>
13467
13468 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13469 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13470
13471 2014-03-20 Pedro Alves <palves@redhat.com>
13472
13473 PR breakpoints/7143
13474 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13475 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13476 of gdb_test_multiple.
13477 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13478 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13479
13480 2014-03-20 Pedro Alves <palves@redhat.com>
13481
13482 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13483 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13484
13485 2014-03-19 Pedro Alves <palves@redhat.com>
13486
13487 * gdb.base/async.exp: Remove early return.
13488
13489 2014-03-19 Pedro Alves <palves@redhat.com>
13490
13491 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13492
13493 2014-03-19 Pedro Alves <palves@redhat.com>
13494
13495 * gdb.base/async.exp (test_background): Expect \r\n after
13496 "completed." in the fail pattern.
13497
13498 2014-03-19 Pedro Alves <palves@redhat.com>
13499
13500 * gdb.base/async.exp (test_background): New procedure.
13501 Use it for all background execution command tests.
13502
13503 2014-03-19 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.base/async.exp: Use prepare_for_testing.
13506
13507 2014-03-19 Pedro Alves <palves@redhat.com>
13508
13509 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13510 the same line.
13511
13512 2014-03-19 Pedro Alves <palves@redhat.com>
13513
13514 * gdb.base/async.c (main): Add "jump here" and "until here" line
13515 marker comments.
13516 * gdb.base/async.exp (jump_here): New global.
13517 (jump& test): Use it.
13518 (until_here): New global.
13519 (until& test): Use it.
13520
13521 2014-03-19 Pedro Alves <palves@redhat.com>
13522
13523 * gdb.base/async.exp: Don't frob gdb_protocol.
13524
13525 2014-03-18 Doug Evans <xdje42@gmail.com>
13526
13527 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13528 Fix spelling of exec-done-display.
13529
13530 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13531
13532 PR gdb/15358
13533 * gdb.base/gdb-sigterm.c: New file.
13534 * gdb.base/gdb-sigterm.exp: New file.
13535
13536 2014-03-18 Pedro Alves <palves@redhat.com>
13537
13538 PR gdb/13860
13539 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13540 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13541 solib-event.
13542
13543 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13544
13545 * gdb.ada/pckd_arr_ren: New testcase.
13546
13547 2014-03-13 Doug Evans <xdje42@gmail.com>
13548
13549 PR guile/16612
13550 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13551 collect after discarding symbols.
13552
13553 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13554 Doug Evans <xdje42@gmail.com>
13555
13556 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13557 to history survives a gc.
13558
13559 2014-03-13 Pedro Alves <palves@redhat.com>
13560
13561 * gdb.base/default.exp: Don't test "target procfs".
13562
13563 2014-03-13 Pedro Alves <palves@redhat.com>
13564
13565 * gdb.base/default.exp: Update "target child" and "target procfs"
13566 tests to not expect "Unix".
13567
13568 2014-03-12 Tom Tromey <tromey@redhat.com>
13569
13570 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13571 New procs. Add target-async tests.
13572 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13573 Add target-async tests.
13574
13575 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13576
13577 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13578 'func_start' and 'func_end' for the beginning and end of the
13579 function code, respectively.
13580 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13581 'func_end' instead of 'func' and 'main'.
13582
13583 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13584
13585 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13586 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13587 generate the debug info assembler source.
13588
13589 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13590
13591 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13592 * gdb.dwarf2/arr-subrange.exp: Likewise.
13593 * gdb.dwarf2/dwz.exp: Likewise.
13594 * gdb.dwarf2/method-ptr.exp: Likewise.
13595 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13596 * gdb.dwarf2/subrange.exp: Likewise.
13597 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13598 * gdb.dwarf2/implptrpiece.exp: Likewise.
13599 * gdb.dwarf2/nostaticblock.exp: Likewise.
13600
13601 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13602
13603 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13604 directory to absolute path name arguments.
13605
13606 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13607
13608 * gdb.ada/tagged_access: New testcase.
13609
13610 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13611
13612 * gdb.btrace/data.exp: Update expected output.
13613
13614 2014-03-06 Yao Qi <yao@codesourcery.com>
13615
13616 * gdb.trace/pr16508.exp: New file.
13617
13618 2014-03-05 Pedro Alves <palves@redhat.com>
13619
13620 PR gdb/16575
13621 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13622 procedure.
13623 (top level): Adjust to use it. Add tests that exercise breakpoint
13624 interaction with the code-cache.
13625
13626 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13627
13628 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13629 test for 'history-append!'.
13630
13631 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13632
13633 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13634 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13635 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13636 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13637 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13638 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13639
13640 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13641
13642 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13643 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13644 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13645
13646 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13647
13648 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13649
13650 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13651
13652 * gdb.dwarf2/arr-stride.c: New file.
13653 * gdb.dwarf2/arr-stride.exp: New file.
13654
13655 2014-02-26 Pedro Alves <palves@redhat.com>
13656
13657 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13658 that won't ever trigger. Make sure that GDB reports the correct
13659 breakpoint that caused the stop.
13660
13661 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13662
13663 PR gdb/16626
13664 * gdb.base/auto-load-script: New file.
13665 * gdb.base/auto-load.c: New file.
13666 * gdb.base/auto-load.exp: New file.
13667
13668 PR gdb/16626
13669 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13670
13671 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13672
13673 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13674 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13675
13676 2014-02-24 Doug Evans <dje@google.com>
13677
13678 * lib/gdb.exp (run_on_host): Log error output if program fails.
13679
13680 2014-02-21 Pedro Alves <palves@redhat.com>
13681
13682 * gdb.threads/step-after-sr-lock.c: Rename to ...
13683 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13684 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13685 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13686 ... this.
13687
13688 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13689
13690 PR tdep/16397
13691 * gdb.arch/amd64-stap-special-operands.exp: New file.
13692 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13693 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13694 * gdb.arch/amd64-stap-triplet.S: Likewise.
13695 * gdb.arch/amd64-stap-triplet.c: Likewise.
13696
13697 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13698
13699 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13700 in .section pseudo-op.
13701
13702 2014-02-20 lin zuojian <manjian2006@gmail.com>
13703 Joel Brobecker <brobecker@adacore.com>
13704 Doug Evans <xdje42@gmail.com>
13705
13706 PR symtab/16581
13707 * gdb.dwarf2/dw2-icycle.S: New file.
13708 * gdb.dwarf2/dw2-icycle.c: New file.
13709 * gdb.dwarf2/dw2-icycle.exp: New file.
13710
13711 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13712
13713 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13714 operations on gdb.Value objects.
13715 * gdb.python/py-value-cc.exp: Add new test to test operations on
13716 gdb.Value objects.
13717
13718 2014-02-18 Doug Evans <dje@google.com>
13719
13720 * Makefile.in (TESTS): New variable.
13721 (expanded_tests, expanded_tests_or_none): New variables
13722 (check-single): Pass $(expanded_tests_or_none) to runtest.
13723 (check-parallel): Only run tests in $(TESTS) if non-empty.
13724 (check/no-matching-tests-found): New rule.
13725 * README: Document TESTS makefile variable.
13726
13727 2014-02-18 Doug Evans <dje@google.com>
13728
13729 * Makefile.in (check-parallel): rm -rf outputs temp.
13730
13731 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13732
13733 Fix "ERROR: no fileid for" in the testsuite.
13734 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13735
13736 2014-02-12 Doug Evans <dje@google.com>
13737
13738 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13739 (MISCELLANEOUS): New variable.
13740 (clean): rm -rf $(MISCELLANEOUS).
13741 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13742 dwp live in the same directory as symlinks, with each symlink pointed
13743 to a differently named file in a different directory.
13744
13745 2014-02-11 Doug Evans <dje@google.com>
13746
13747 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13748 of Tcl file commands.
13749
13750 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13751
13752 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13753 "kill -SIGUSR1 -1".
13754
13755 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13756
13757 * gdb.ada/tick_length_array_enum_idx: New testcase.
13758
13759 2014-02-10 Doug Evans <xdje42@gmail.com>
13760
13761 * configure.ac (AC_OUTPUT): Add gdb.guile.
13762 * configure: Regenerate.
13763 * lib/gdb-guile.exp: New file.
13764 * lib/gdb.exp (get_target_charset): New function.
13765 * gdb.base/help.exp: Update expected output from "apropos apropos".
13766 * gdb.guile/Makefile.in: New file.
13767 * gdb.guile/guile.exp: New file.
13768 * gdb.guile/scm-arch.c: New file.
13769 * gdb.guile/scm-arch.exp: New file.
13770 * gdb.guile/scm-block.c: New file.
13771 * gdb.guile/scm-block.exp: New file.
13772 * gdb.guile/scm-breakpoint.c: New file.
13773 * gdb.guile/scm-breakpoint.exp: New file.
13774 * gdb.guile/scm-disasm.c: New file.
13775 * gdb.guile/scm-disasm.exp: New file.
13776 * gdb.guile/scm-equal.c: New file.
13777 * gdb.guile/scm-equal.exp: New file.
13778 * gdb.guile/scm-error.exp: New file.
13779 * gdb.guile/scm-error.scm: New file.
13780 * gdb.guile/scm-frame-args.c: New file.
13781 * gdb.guile/scm-frame-args.exp: New file.
13782 * gdb.guile/scm-frame-args.scm: New file.
13783 * gdb.guile/scm-frame-inline.c: New file.
13784 * gdb.guile/scm-frame-inline.exp: New file.
13785 * gdb.guile/scm-frame.c: New file.
13786 * gdb.guile/scm-frame.exp: New file.
13787 * gdb.guile/scm-generics.exp: New file.
13788 * gdb.guile/scm-gsmob.exp: New file.
13789 * gdb.guile/scm-iterator.c: New file.
13790 * gdb.guile/scm-iterator.exp: New file.
13791 * gdb.guile/scm-math.c: New file.
13792 * gdb.guile/scm-math.exp: New file.
13793 * gdb.guile/scm-objfile-script-gdb.in: New file.
13794 * gdb.guile/scm-objfile-script.c: New file.
13795 * gdb.guile/scm-objfile-script.exp: New file.
13796 * gdb.guile/scm-objfile.c: New file.
13797 * gdb.guile/scm-objfile.exp: New file.
13798 * gdb.guile/scm-ports.exp: New file.
13799 * gdb.guile/scm-pretty-print.c: New file.
13800 * gdb.guile/scm-pretty-print.exp: New file.
13801 * gdb.guile/scm-pretty-print.scm: New file.
13802 * gdb.guile/scm-section-script.c: New file.
13803 * gdb.guile/scm-section-script.exp: New file.
13804 * gdb.guile/scm-section-script.scm: New file.
13805 * gdb.guile/scm-symbol.c: New file.
13806 * gdb.guile/scm-symbol.exp: New file.
13807 * gdb.guile/scm-symtab-2.c: New file.
13808 * gdb.guile/scm-symtab.c: New file.
13809 * gdb.guile/scm-symtab.exp: New file.
13810 * gdb.guile/scm-type.c: New file.
13811 * gdb.guile/scm-type.exp: New file.
13812 * gdb.guile/scm-value-cc.cc: New file.
13813 * gdb.guile/scm-value-cc.exp: New file.
13814 * gdb.guile/scm-value.c: New file.
13815 * gdb.guile/scm-value.exp: New file.
13816 * gdb.guile/source2.scm: New file.
13817 * gdb.guile/types-module.cc: New file.
13818 * gdb.guile/types-module.exp: New file.
13819
13820 2014-02-10 Yao Qi <yao@codesourcery.com>
13821
13822 PR testsuite/16543
13823 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13824 * configure: Regenerated.
13825 * Makefile.in: New file.
13826
13827 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13828
13829 * gdb.python/py-framefilter.exp: Fix typo.
13830
13831 2014-02-08 Yao Qi <yao@codesourcery.com>
13832
13833 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13834 that no =breakpoint-modified is emitted when breakpoints are
13835 modified through MI commands.
13836
13837 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13838 Pedro Alves <palves@redhat.com>
13839
13840 * gdb.threads/step-after-sr-lock.c: New file.
13841 * gdb.threads/step-after-sr-lock.exp: New file.
13842
13843 2014-02-07 Pedro Alves <palves@redhat.com>
13844
13845 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13846
13847 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13848
13849 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13850 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13851
13852 2014-02-06 Doug Evans <xdje42@gmail.com>
13853
13854 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13855 output.
13856
13857 * gdb.gdb/python-interrupts.exp: New file.
13858
13859 2014-02-05 Yao Qi <yao@codesourcery.com>
13860
13861 * gdb.trace/report.exp (use_collected_data): Test the output
13862 of "info threads" and "info inferiors".
13863
13864 2014-02-05 Yao Qi <yao@codesourcery.com>
13865
13866 Revert this patch:
13867
13868 2013-05-24 Yao Qi <yao@codesourcery.com>
13869
13870 * gdb.trace/tfile.exp: Test inferior and thread.
13871
13872 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13873
13874 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13875 on a function.
13876 * gdb.base/step-bt.c: Call hello via function pointer to make
13877 sure its first instruction is executed on powerpc64le-linux.
13878
13879 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13880
13881 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13882
13883 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13884
13885 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13886 of the test patterns for use on little-endian systems.
13887
13888 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13889
13890 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13891 (decimal_vector): Fix for little-endian.
13892
13893 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13894
13895 * gdb.arch/sparc-sysstep.exp: New file.
13896 * gdb.arch/sparc-sysstep.c: Likewise.
13897
13898 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13899
13900 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13901
13902 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13903
13904 2014-01-23 Tom Tromey <tromey@redhat.com>
13905
13906 * gdb.ada/array_char_idx: New testcase.
13907
13908 2014-01-23 Tom Tromey <tromey@redhat.com>
13909
13910 PR python/16487:
13911 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13912 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13913 classes.
13914
13915 2014-01-23 Tom Tromey <tromey@redhat.com>
13916
13917 PR python/16491:
13918 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13919 string from an inferior frame.
13920 * gdb.python/py-framefilter-mi.exp: Update.
13921
13922 2014-01-22 Doug Evans <dje@google.com>
13923
13924 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13925
13926 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13927
13928 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13929
13930 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13931
13932 * gdb.trace/entry-values.exp: Remove excess space character from
13933 regex patterns. Handle s390 call instruction.
13934
13935 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13936
13937 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13938 define "*_start" label. Make "name" static.
13939 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13940 ${name} by references to ${name}_start.
13941
13942 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13943
13944 * gdb.base/info-macros.exp: Remove "debug" from the compile
13945 options.
13946
13947 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13948
13949 * gdb.dlang/demangle.exp: New file.
13950
13951 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13952
13953 * gdb.dlang/primitive-types.exp: New file.
13954
13955 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13956
13957 * configure.ac: Create gdb.dlang/Makefile.
13958 * configure: Regenerate.
13959 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13960 * gdb.dlang/Makefile.in: New file.
13961 * lib/d-support.exp: New file.
13962 * lib/gdb.exp (skip_d_tests): New proc.
13963
13964 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13965
13966 * gdb.btrace/delta.exp: Check reverse stepi.
13967 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13968 * gdb.btrace/finish.exp: New.
13969 * gdb.btrace/next.exp: New.
13970 * gdb.btrace/nexti.exp: New.
13971 * gdb.btrace/record_goto.c: Add comments.
13972 * gdb.btrace/step.exp: New.
13973 * gdb.btrace/stepi.exp: New.
13974 * gdb.btrace/multi-thread-step.c: New.
13975 * gdb.btrace/multi-thread-step.exp: New.
13976 * gdb.btrace/rn-dl-bind.c: New.
13977 * gdb.btrace/rn-dl-bind.exp: New.
13978 * gdb.btrace/data.c: New.
13979 * gdb.btrace/data.exp: New.
13980 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13981
13982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13983
13984 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13985 * gdb.btrace/exception.exp: Update.
13986 * gdb.btrace/instruction_history.exp: Update.
13987 * gdb.btrace/record_goto.exp: Update.
13988 * gdb.btrace/tailcall.exp: Update.
13989 * gdb.btrace/unknown_functions.exp: Update.
13990 * gdb.btrace/delta.exp: New.
13991
13992 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13993
13994 * gdb.btrace/record_goto.exp: Add backtrace test.
13995 * gdb.btrace/tailcall.exp: Add backtrace test.
13996
13997 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13998
13999 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14000 * gdb.btrace/record_goto.c: New.
14001 * gdb.btrace/record_goto.exp: New.
14002 * gdb.btrace/x86-record_goto.S: New.
14003
14004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14005
14006 * gdb.btrace/function_call_history.exp: Update tests.
14007 * gdb.btrace/instruction_history.exp: Update tests.
14008
14009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14010
14011 * gdb.btrace/function_call_history.exp: Fix expected field
14012 order for "record function-call-history".
14013 Add new tests for "record function-call-history /c".
14014 * gdb.btrace/exception.cc: New.
14015 * gdb.btrace/exception.exp: New.
14016 * gdb.btrace/tailcall.exp: New.
14017 * gdb.btrace/x86-tailcall.S: New.
14018 * gdb.btrace/x86-tailcall.c: New.
14019 * gdb.btrace/unknown_functions.c: New.
14020 * gdb.btrace/unknown_functions.exp: New.
14021 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14022
14023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14024
14025 * gdb.btrace/instruction_history.exp: Update.
14026 * gdb.btrace/function_call_history.exp: Update.
14027
14028 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14029
14030 * gdb.btrace/function_call_history.exp: Fix expected function
14031 trace.
14032 * gdb.btrace/instruction_history.exp: Initialize traced.
14033 Remove traced_functions.
14034
14035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14036
14037 * gdb.btrace/function_call_history.exp: Update
14038 * gdb.btrace/instruction_history.exp: Update.
14039
14040 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14041
14042 * gdb.btrace/enable.exp: Update expected text.
14043
14044 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14045
14046 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14047 bytes.
14048
14049 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14050
14051 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14052
14053 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14054
14055 * lib/gdb.exp (supports_process_record): Return true for
14056 arm*-linux*. (supports_reverse): Likewise.
14057
14058 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14059
14060 PR python/15464
14061 PR python/16113
14062 * gdb.python/py-type.c: Enhance test case.
14063 * gdb.python/py-value-cc.cc: Likewise
14064 * gdb.python/py-type.exp: Add new tests.
14065 * gdb.python/py-value-cc.exp: Likewise
14066
14067 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14068 Pedro Alves <palves@redhat.com>
14069
14070 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14071 Make "name" extern.
14072 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14073 references to ${name}_start by references to ${name}.
14074
14075 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14076
14077 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14078
14079 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14080
14081 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14082
14083 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14084 Pedro Alves <palves@redhat.com>
14085
14086 * gdb.mi/mi-info-os.exp: Connect to the target with
14087 mi_gdb_target_load.
14088
14089 2014-01-08 Pedro Alves <palves@redhat.com>
14090
14091 * gdb.threads/reconnect-signal.c: New file.
14092 * gdb.threads/reconnect-signal.exp: New file.
14093
14094 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14095
14096 * gdb.base/source-dir.exp: New file.
14097
14098 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14099
14100 * gdb.ada/mi_interface: New testcase.
14101
14102 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14103
14104 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14105 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14106 gdb.ada/pp-rec-component/pck.ads: New files.
14107
14108 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14109
14110 * gdb.python/py-pp-integral.c: New file.
14111 * gdb.python/py-pp-integral.py: New file.
14112 * gdb.python/py-pp-integral.exp: New file.
14113
14114 For older changes see ChangeLog-1993-2013.
14115 \f
14116 ;; Local Variables:
14117 ;; mode: change-log
14118 ;; left-margin: 8
14119 ;; fill-column: 74
14120 ;; version-control: never
14121 ;; End:
14122
14123 Copyright 2014-2018 Free Software Foundation, Inc.
14124 Copying and distribution of this file, with or without modification,
14125 are permitted provided the copyright notice and this notice are preserved.