]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Remove file and line from struct complain
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b98664d3
TT
12018-05-23 Tom Tromey <tom@tromey.com>
2
3 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4 symfile_complaints.
5 (test_short_complaints): Likewise.
6 (test_empty_complaints): Likewise.
7 (test_initial_complaints): Update.
8
4e9668d0
TT
92018-05-23 Tom Tromey <tom@tromey.com>
10
11 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
12
43ba33c7
TT
132018-05-23 Tom Tromey <tom@tromey.com>
14
15 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
16 (test_short_complaints): Update.
17
035522c0
PA
182018-05-22 Pedro Alves <palves@redhat.com>
19
20 * gdb.base/remote.exp: Only gdb_start after compiling the
21 testcase. Issue "disconnect" before testing "set remote" command
22 defaults. Issue clean_restart before running to main.
23
cc0be08f
PA
242018-05-22 Pedro Alves <palves@redhat.com>
25
26 * gdb.base/remote.exp: Adjust expected output of "show remote
27 memory-write-packet-size". Add tests for "set remote
28 memory-write-packet-size 0" and "set remote
29 memory-write-packet-size fixed/limit".
30
b1b60145
PA
312018-05-22 Pedro Alves <palves@redhat.com>
32
33 PR gdb/22973
34 * gdb.base/utf8-identifiers.c: New file.
35 * gdb.base/utf8-identifiers.exp: New file.
36
0ec848ad
PFC
372018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
38
39 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
40
2c3305f6
PFC
412018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
42
43 * gdb.arch/powerpc-vsx-gcore.exp: New file.
44
ce1e8424
TT
452018-05-18 Tom Tromey <tom@tromey.com>
46
47 * gdb.base/ptype-offsets.exp: Update.
48
ddfe970e
KS
492018-05-17 Keith Seitz <keiths@redhat.com>
50
51 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
52 in expected breakpoint stop locations.
53 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
54 move to proper scope to test variable values.
55 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
56 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
57 New functions.
58 (main): Call not_inline_func3.
59 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
60 inline_func1, inline_func2, and inline_func3. Test that when each
61 breakpoint is hit, GDB properly reports both the stop location
62 and the backtrace. Repeat tests for temporary breakpoints.
63
0726fcc6
MR
642018-05-15 Maciej W. Rozycki <macro@mips.com>
65
66 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
67 rather then trying to access it in determining whether the PID
68 of `gdbserver' could have been retrieved.
69
8ee22052
AB
702018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
71
72 * gdb.arch/amd64-init-x87-values.S: New file.
73 * gdb.arch/amd64-init-x87-values.exp: New file.
74
7785df48
JK
752018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
78
56bcdbea
TT
792018-05-04 Tom Tromey <tom@tromey.com>
80
81 PR python/22730:
82 * gdb.python/python.exp: Test multi-line execute.
83
a913fffb
TT
842018-05-04 Tom Tromey <tom@tromey.com>
85
86 PR python/22731:
87 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
88
7a2c85f2
TT
892018-05-04 Tom Tromey <tom@tromey.com>
90
91 PR gdb/11750:
92 * gdb.base/define.exp: Test defining a user command inside a user
93 command.
94 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
95
a3b60e45
JK
962018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
97 Pedro Alves <palves@redhat.com>
98
99 PR breakpoints/19806 and support for PR external/20207.
100 * gdb.base/watchpoint-unaligned.c: New file.
101 * gdb.base/watchpoint-unaligned.exp: New file.
102
45fe4a03
AB
1032018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * gdb.base/maint.exp: Make test names unique, use
106 test_prefix_command_help to test 'help maint info', and remove
107 repeated test of 'help maint'.
108
9be2ae8f
TT
1092018-05-04 Tom Tromey <tom@tromey.com>
110
111 PR gdb/22619:
112 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
113 behavior.
114
11859c31
AB
1152018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
116
117 * gdb.base/maint.exp: Process output from 'maint print registers'
118 line at a time.
119
089a9490
AB
1202018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
123 timeout.
124
9b0797e2
AB
1252018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
128 filter pattern.
129
f6ac5f3d
PA
1302018-05-02 Pedro Alves <palves@redhat.com>
131
132 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
133 to_log_command renames.
134 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
135
77d3c63b
TT
1362018-05-02 Tom Tromey <tom@tromey.com>
137
138 * gdb.python/py-parameter.exp: Set test message.
139
0489430a
TT
1402018-05-02 Tom Tromey <tom@tromey.com>
141
142 PR python/20084:
143 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
144 PARAM_ZUINTEGER_UNLIMITED tests.
145
1632f8ba
DR
1462018-04-28 Dan Robertson <danlrobertson89@gmail.com>
147
148 PR rust/23124
149 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
150 when casting.
151
6d7bb824
TT
1522018-04-30 Tom Tromey <tom@tromey.com>
153
154 * gdb.python/py-type.exp: Check align attribute.
155 * gdb.python/py-type.c: New "aligncheck" global.
156
007e1530
TT
1572018-04-30 Tom Tromey <tom@tromey.com>
158
159 PR exp/17095:
160 * gdb.dwarf2/dw2-align.exp: New file.
161 * gdb.cp/align.exp: New file.
162 * gdb.base/align.exp: New file.
163 * lib/gdb.exp (gdb_int128_helper): New proc.
164 (has_int128_c, has_int128_cxx): New caching procs.
165
6873858b
TT
1662018-04-27 Tom Tromey <tom@tromey.com>
167
168 PR rust/22545:
169 * gdb.rust/simple.exp: Add inclusive range tests.
170
79188d8d
PA
1712018-04-26 Pedro Alves <palves@redhat.com>
172
173 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
174 ifunc breakpoint locations correctly of ifunc breakpoints set
175 while the program resolves the ifunc.
176
c7075ad5
PA
1772018-04-26 Pedro Alves <palves@redhat.com>
178
179 * gdb.base/gnu-ifunc-final.c: New file.
180 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
181 * gdb.base/gnu-ifunc.exp (executable): Delete.
182 (staticexecutable): Adjust.
183 (lib_opts, exec_opts): Delete.
184 (make_binsuffix, build, set-break): New procedures.
185 (misc_tests): New, with tests factored out from the top level.
186 (top level): Test different combinations of ifunc resolver name,
187 resolver with and with debug info, and ifunc target with and
188 without debug info. Wrap static tests with with_target_prefix.
189
8388016d
PA
1902018-04-26 Pedro Alves <palves@redhat.com>
191
192 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
193 return type" warnings.
194
249b5733
PA
1952018-04-25 Pedro Alves <palves@redhat.com>
196
197 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
198 killed".
199 * gdb.base/kill-after-signal.exp: Likewise.
200 * gdb.threads/kill.exp: Likewise.
201
f67c0c91
SDJ
2022018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
203 Sergio Durigan Junior <sergiodj@redhat.com>
204 Pedro Alves <palves@redhat.com>
205
206 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
207 regexps to expect for '[Inferior ... detached]' as well.
208 * gdb.base/attach.exp: Likewise.
209 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
210 "gdb_continue_to_end".
211 (test_catch_syscall_with_wrong_args): Likewise.
212 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
213 ']'. Don't set 'verbose' on.
214 * gdb.base/foll-vfork.exp: Likewise.
215 * gdb.base/fork-print-inferior-events.c: New file.
216 * gdb.base/fork-print-inferior-events.exp: New file.
217 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
218 '[Inferior ... has been killed]' message.
219 * gdb.base/kill-after-signal.exp: Likewise.
220 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
221 detach message.
222 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
223 message.
224 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
225 regexps to expect for '[Inferior ... detached]' as well.
226 * gdb.threads/process-dies-while-detaching.exp: Likewise.
227
0a8ddac4
SM
2282018-04-24 Simon Marchi <simon.marchi@ericsson.com>
229
230 PR gdb/23104
231 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
232
d27d16bf
RB
2332018-04-19 Richard Bunt <richard.bunt@arm.com>
234
235 * gdb.threads/multiple-successive-infcall.c: New test.
236 * gdb.threads/multiple-successive-infcall.exp: New file.
237
a037790e
TT
2382018-04-17 Tom Tromey <tom@tromey.com>
239
240 * gdb.rust/simple.rs (Union): New type.
241 (main): New local "u".
242 * gdb.rust/simple.exp (test_one_slice): Add new test case.
243
e3a91079
AA
2442018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
245
246 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
247 number information in output of "whereis" command.
248 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
249
b744723f
AA
2502018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
251
252 * gdb.ada/info_types.exp: Adjust expected output to the line
253 numbers now printed by "info var/func/type".
254 * gdb.base/completion.exp: Likewise.
255 * gdb.base/included.exp: Likewise.
256 * gdb.cp/cp-relocate.exp: Likewise.
257 * gdb.cp/cplusfuncs.exp: Likewise.
258 * gdb.cp/namespace.exp: Likewise.
259 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
260
4a4495d6
MM
2612018-04-13 Markus Metzger <markus.t.metzger@intel.com>
262
263 * gdb.btrace/cpu.exp: New.
264
1d509aa6
MM
2652018-04-13 Markus Metzger <markus.t.metzger@intel.com>
266
267 * gdb.base/step-indirect-call-thunk.exp: New.
268 * gdb.base/step-indirect-call-thunk.c: New.
269 * gdb.reverse/step-indirect-call-thunk.exp: New.
270 * gdb.reverse/step-indirect-call-thunk.c: New.
271
6295b6da
SM
2722018-04-11 Simon Marchi <simon.marchi@ericsson.com>
273
274 * gdb.base/pie-fork.c: New file.
275 * gdb.base/pie-fork.exp: New file.
276
50146e70
TT
2772018-04-11 Tom Tromey <tom@tromey.com>
278
279 * gdb.rust/simple.exp: Add test for ".." struct initializer.
280
f50d8a2e
PA
2812018-04-10 Pedro Alves <palves@redhat.com>
282
283 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
284 exits. Instead loop running forever.
285 (fork_parent): Run forever too.
286
a0be7a36
SM
2872018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
288
289 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
290 mi_continue_to_line.
291 * gdb.mi/mi-stack.c (callee4): Add comment.
292
9b73db36
SM
2932018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
294
295 * gdb.mi/mi-stack.exp: Fix indentation.
296
c912f608
SM
2972018-04-07 Simon Marchi <simon.marchi@ericsson.com>
298
299 PR gdb/22979
300 * gdb.arch/amd64-osabi.exp: New file.
301
26540402
SM
3022018-04-07 Simon Marchi <simon.marchi@ericsson.com>
303
304 PR gdb/22980
305 * gdb.base/osabi.exp: New file.
306
121ad66c 3072018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
308
309 * gdb.cp/static-typedef-print.exp: New file.
310 * gdb.cp/static-typedef-print.cc: New file.
311
3fcded8f
JB
3122018-03-27 Joel Brobecker <brobecker@adacore.com>
313
314 * gdb.ada/varsize_limit: New testcase.
315
59cc4834
JB
3162018-03-27 Joel Brobecker <brobecker@adacore.com>
317
318 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
319
320 * gdb.ada/notcplusplus: New testcase.
321
322 * gdb.base/c-linkage-name.c: New file.
323 * gdb.base/c-linkage-name.exp: New testcase.
324
4ca59a9f
TT
3252018-03-26 Tom Tromey <tom@tromey.com>
326
327 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
328 * gdb.python/py-framefilter.py (name_error): New global.
329 (ErrorInName.function): Use name_error.
330
978d6c75
TT
3312018-03-26 Tom Tromey <tom@tromey.com>
332
333 PR backtrace/15582:
334 * gdb.python/py-framefilter.exp: Add "bt hide" test.
335
b7fee5a3
KS
3362018-03-23 Keith Seitz <keiths@redhat.com>
337
338 PR c++/22968
339 * gdb.cp/subtypes.exp: New file.
340 * gdb.cp/subtypes.h: New file.
341 * gdb.cp/subtypes.cc: New file.
342 * gdb.cp/subtypes-2.cc: New file.
343
376be529
AB
3442018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
345
346 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
347 (done): Call '_exit' not 'exit' to avoid atexit handlers.
348 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
349 -nostartfiles when compiling the test. Confirm that all registers
350 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
351
066cfa98
AB
3522018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
355 option, syntax was wrong anyway.
356 * gdb.arch/arm-disp-step.exp: Likewise.
357 * gdb.arch/sparc64-regs.exp: Likewise.
358 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
359 option, syntax was wrong anyway, switch to use
360 prepare_for_testing.
361 * gdb.arch/i386-disp-step.exp: Likewise.
362
079670b9
AA
3632018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
364
365 * gdb.ada/exec_changed.exp: Replace "target_info exists
366 use_gdb_stub" by "use_gdb_stub".
367 * gdb.ada/start.exp: Likewise.
368 * gdb.base/async-shell.exp: Likewise.
369 * gdb.base/attach-pie-misread.exp: Likewise.
370 * gdb.base/attach-wait-input.exp: Likewise.
371 * gdb.base/break-entry.exp: Likewise.
372 * gdb.base/break-interp.exp: Likewise.
373 * gdb.base/dprintf-detach.exp: Likewise.
374 * gdb.base/nostdlib.exp: Likewise.
375 * gdb.base/solib-nodir.exp: Likewise.
376 * gdb.base/statistics.exp: Likewise.
377 * gdb.base/testenv.exp: Likewise.
378 * gdb.mi/mi-exec-run.exp: Likewise.
379 * gdb.mi/mi-start.exp: Likewise.
380 * gdb.multi/dummy-frame-restore.exp: Likewise.
381 * gdb.multi/multi-arch-exec.exp: Likewise.
382 * gdb.multi/multi-arch.exp: Likewise.
383 * gdb.multi/tids.exp: Likewise.
384 * gdb.multi/watchpoint-multi.exp: Likewise.
385 * gdb.python/py-events.exp: Likewise.
386 * gdb.threads/attach-into-signal.exp: Likewise.
387 * gdb.threads/attach-stopped.exp: Likewise.
388 * gdb.threads/threadapply.exp: Likewise.
389 * lib/selftest-support.exp: Likewise.
390
26d6cec4
AA
3912018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
392
393 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
394
4ee89e90
SR
3952018-03-20 Stephen Roberts <stephen.roberts@arm.com>
396
397 * gdb.perf/template-breakpoints.cc: New file.
398 * gdb.perf/template-breakpoints.exp: New file.
399 * gdb.perf/template-breakpoints.py: New file.
400
92630041
TT
4012018-03-19 Tom Tromey <tom@tromey.com>
402
403 * gdb.rust/simple.rs (main): Add local variables field1, field2,
404 y0.
405 * gdb.rust/simple.exp: Test bare identifier form of struct
406 initializer.
407
76727919
TT
4082018-03-19 Tom Tromey <tom@tromey.com>
409
410 * gdb.gdb/observer.exp: Remove.
411
194ed413
AA
4122018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
413
414 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
415 "qualified" option when setting breakpoints.
416 * gdb.trace/backtrace.exp: Likewise.
417 * gdb.trace/circ.exp: Likewise.
418 * gdb.trace/collection.exp: Likewise.
419 * gdb.trace/disconnected-tracing.exp: Likewise.
420 * gdb.trace/ftrace-lock.exp: Likewise.
421 * gdb.trace/ftrace.exp: Likewise.
422 * gdb.trace/infotrace.exp: Likewise.
423 * gdb.trace/packetlen.exp: Likewise.
424 * gdb.trace/passc-dyn.exp: Likewise.
425 * gdb.trace/qtro.exp: Likewise.
426 * gdb.trace/read-memory.exp: Likewise.
427 * gdb.trace/report.exp: Likewise.
428 * gdb.trace/signal.exp: Likewise.
429 * gdb.trace/status-stop.exp: Likewise.
430 * gdb.trace/strace.exp: Likewise.
431 * gdb.trace/tfind.exp: Likewise.
432 * gdb.trace/trace-break.exp: Likewise.
433 * gdb.trace/trace-condition.exp: Likewise.
434 * gdb.trace/trace-mt.exp: Likewise.
435 * gdb.trace/tstatus.exp: Likewise.
436 * gdb.trace/tsv.exp: Likewise.
437 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
438 * gdb.trace/unavailable.exp: Likewise.
439 * gdb.trace/while-dyn.exp: Likewise.
440
8b067d2c
AA
4412018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
442
443 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
444 that libinproctrace is copied to the target.
445
3ae9ce5d
TT
4462018-03-14 Tom Tromey <tom@tromey.com>
447
448 PR cli/14977:
449 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
450 a null pointer.
451 * gdb.base/wchar.exp: Likewise.
452
b8c2339b
TT
4532018-03-14 Tom Tromey <tom@tromey.com>
454
455 PR cli/19918:
456 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
457 flag.
458
4872dc46
SM
4592018-03-08 Simon Marchi <simon.marchi@ericsson.com>
460
461 PR gdb/22841
462 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
463 "target" to remote_exec.
464
e4fe3756
SM
4652018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
466
467 PR gdb/22841
468 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
469 ${board}_upload): Remove.
470
e95a97d4
AA
4712018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
472
473 * gdb.cp/watch-cp.cc: New test.
474 * gdb.cp/watch-cp.exp: New file.
475
dbbb1059
AB
4762018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.base/infcall-nested-structs.exp: New file.
479 * gdb.base/infcall-nested-structs.c: New file.
480 * gdb.base/float.exp: Add riscv support.
481
ecc054c0
TP
4822018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
483
484 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
485 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
486
25e3c82c
SDJ
4872018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
488
489 * gdb.server/abspath.exp: New file.
490 * lib/gdb.exp (with_cwd): New procedure.
491
3083294d
SM
4922018-02-28 Simon Marchi <simon.marchi@ericsson.com>
493
494 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
495 use it.
496 (gdb_is_target_remote_prompt): New proc.
497 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
498 (gdb_is_target_native): Pass prompt parameter to
499 gdb_is_target_1.
500
3275ef47
SM
5012018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
502
503 * gdb.base/load-command.c: New file.
504 * gdb.base/load-command.exp: New file.
505 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
506 (gdb_is_target_1): ...this, and generalize for other targets
507 than just remote.
508 (gdb_is_target_remote): Use gdb_is_target_1.
509 (gdb_is_target_native): use gdb_is_target_1.
510
6893c19a
TT
5112018-02-26 Tom Tromey <tom@tromey.com>
512
513 PR python/16497:
514 * gdb.python/py-framefilter.exp: Update test.
515
2ddeaf8a
TT
5162018-02-26 Tom Tromey <tom@tromey.com>
517
518 * gdb.dwarf2/variant.c: New file.
519 * gdb.dwarf2/variant.exp: New file.
520
c9317f21
TT
5212018-02-26 Tom Tromey <tom@tromey.com>
522
523 * gdb.rust/simple.exp: Accept more possible results in enum test.
524
6f6d0c26
SM
5252018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
526
527 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
528 parentheses.
529
11b03145
MR
5302018-02-23 Maciej W. Rozycki <macro@mips.com>
531
532 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
533 name of a variable: $actual_linejj -> $actual_line.
534
54a27fe5
JB
5352018-02-21 John Baldwin <jhb@FreeBSD.org>
536
537 * gdb.arch/amd64-i386-address.exp: Fix a typo.
538
de65820c
MM
5392018-02-20 Markus Metzger <markus.t.metzger@intel.com>
540
541 * gdb.btrace/buffer-size.exp: Do not force BTS.
542
980548fd
PA
5432018-02-14 Pedro Alves <palves@redhat.com>
544
545 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
546 getting a "Quit".
547
c4e12631
MM
5482018-02-09 Markus Metzger <markus.t.metzger@intel.com>
549
550 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
551 Fix test name.
552
c2e0e465
SM
5532018-02-07 Simon Marchi <simon.marchi@ericsson.com>
554
555 * gdb.cp/m-static.exp: Check type of optimized out static
556 member.
557
f7216783
AB
5582018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
559
560 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
561 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
562
0625771b
LS
5632018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
564 Leszek Swirski <leszeks@google.com>
565
566 * gdb.python/py-prettyprint.c
567 (struct to_string_returns_value_inner,
568 struct to_string_returns_value_wrapper): New.
569 (main): Add tsrvw variable.
570 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
571 ToStringReturnsValueWrapper): New classes.
572 (register_pretty_printers): Register new pretty-printers.
573 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
574 recursive pretty printer.
575 * gdb.python/py-mi.exp: Likewise.
576
59498c30
LS
5772018-02-01 Leszek Swirski <leszeks@google.com>
578
579 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
580 functions with the same name as an include file are parsed
581 correctly.
582
d4d38844
YQ
5832018-02-01 Yao Qi <yao.qi@linaro.org>
584
585 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
586 "\[^\r\n\]*".
587
07e5f5cf
NP
5882018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
589
590 * gdb.arch/powerpc-prologue-frame.s: New file.
591 * gdb.arch/powerpc-prologue-frame.c: Likewise.
592 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
593
929b5ad4
JB
5942018-01-31 Joel Brobecker <brobecker@adacore.com>
595
596 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
597
e671cd59
PA
5982018-01-30 Pedro Alves <palves@redhat.com>
599
600 PR gdb/13211
601 * gdb.base/interrupt-daemon.c: New.
602 * gdb.base/interrupt-daemon.exp: New.
603 * gdb.multi/multi-term-settings.c: New.
604 * gdb.multi/multi-term-settings.exp: New.
605
fc413dc4
JB
6062018-01-30 Joel Brobecker <brobecker@adacore.com>
607
608 * gdb.base/break.exp: Save the location where the breakpoint
609 on break.c:47 was actually inserted when debugging the version
610 compiled at -O2 and use it in the expected output of the "info
611 break" test performed soon after.
612
5c319bb2
PA
6132018-01-22 Pedro Alves <palves@redhat.com>
614 Sergio Durigan Junior <sergiodj@redhat.com>
615
616 * gdb.base/whatis.exp: Add tests for 'set print object on' +
617 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
618
a9e40818
JB
6192018-01-22 Joel Brobecker <brobecker@adacore.com>
620
621 * gdb.base/break-include.c, gdb.base/break-include.inc,
622 gdb.base/break-include.exp: New files.
623 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
624 line number now being the actual line number where the breakpoint
625 was inserted.
626 * gdb.mi/mi-break.exp: Likewise.
627 * gdb.mi/mi-reverse.exp: Likewise.
628 * gdb.mi/mi-simplerun.exp: Ditto.
629
e707fc44
AB
6302018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
631
632 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
633 varobj.
634 * gdb.mi/mi-var-create-rtti.exp: Likewise.
635
ae451627
AB
6362018-01-21 Don Breazeal <donb@codesourcery.com>
637 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 * gdb.mi/basics.c: Add new global.
640 * gdb.mi/mi-frame-regs.exp: New file.
641 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
642 case.
643
b1b189e0
AB
6442018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
647 non-parameter, and on an unknown symbol.
648
fcfcc376
TT
6492018-01-19 Tom Tromey <tom@tromey.com>
650
651 * gdb.rust/modules.rs (TWENTY_THREE): New global.
652 * gdb.rust/modules.exp: Add ::-qualified lookup test.
653
634c1c31
AA
6542018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
655
656 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
657 setrlimit and chdir to int.
658
d6ad07fd
AA
6592018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
660
661 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
662 function.
663 (my_tend): Likewise.
664 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
665 rationale of avoiding FP- and vector instructions.
666
adf8243b
RK
6672018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
668
669 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
670 "info reg" with "\[ \t\]*".
671 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
672 "\[ \t\]+".
673 * gdb.arch/s390-multiarch.exp: Ditto.
674 * gdb.base/pc-fp.exp: Ditto.
675 * gdb.reverse/i386-precsave.exp: Ditto.
676 * gdb.reverse/i386-reverse.exp: Ditto.
677 * gdb.reverse/i387-env-reverse.exp: Ditto.
678 * gdb.reverse/i387-stack-reverse.exp: Ditto.
679
dcc06925
AA
6802018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
681
682 * lib/gdb.exp (gdb_compile): Re-enable use of
683 universal_compile_options for languages other than Rust.
684
25d4fd80
AA
6852018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
686
687 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
688
ee7f689e 6892018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
690
691 PR gdb/16577
692 * gdb.base/solib-vanish.exp: New.
693 * gdb.base/solib-vanish-main.c: New.
694 * gdb.base/solib-vanish-lib1.c: New.
695 * gdb.base/solib-vanish-lib2.c: New.
696
d8447b6b
YQ
6972018-01-17 Yao Qi <yao.qi@linaro.org>
698
699 * gdb.compile/compile.exp: Match the address printed for
700 frame in the output of command "bt".
701
86d6a90c
TT
7022018-01-15 Tom Tromey <tom@tromey.com>
703
704 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
705 compute sp_reg.
706
cbcdb1aa
AB
7072018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
710 to prepare.
711 (prepare): Return 0 on error, 1 on success.
712
eea61984
PA
7132018-01-12 Pedro Alves <palves@redhat.com>
714
715 * gdb.base/continue-after-aborted-step-over.c: New.
716 * gdb.base/continue-after-aborted-step-over.exp: New.
717
6181e9c2
SM
7182018-01-11 Simon Marchi <simon.marchi@ericsson.com>
719
720 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
721 options when not creating an executable.
722
3cada740
PA
7232018-01-11 Pedro Alves <palves@redhat.com>
724
725 PR remote/22597
726 * gdb.server/stop-reply-no-thread.c: New file.
727 * gdb.server/stop-reply-no-thread.exp: New file.
728
c63d3e8d
PA
7292018-01-10 Pedro Alves <palves@redhat.com>
730
731 PR gdb/22670
732 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
733 functions too. Test setting breakpoints and printing C functions
734 with no debug info too.
735 * gdb.ada/bp_c_mixed_case/qux.c: New file.
736
d4c2a405
PA
7372018-01-10 Pedro Alves <palves@redhat.com>
738
739 PR gdb/22670
740 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
741 a fail.
742
8825213e
PA
7432018-01-10 Pedro Alves <palves@redhat.com>
744
745 PR gdb/22670
746 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
747
605fd3c6
YQ
7482018-01-08 Simon Marchi <simon.marchi@ericsson.com>
749
750 * gdb.server/unittest.exp: Match the output in non-development
751 mode.
752
1e5ded6c
YQ
7532018-01-08 Simon Marchi <simon.marchi@ericsson.com>
754
755 * gdb.gdb/unittest.exp: Match output in non-development mode.
756
30066b0b
JB
7572018-01-08 Joel Brobecker <brobecker@adacore.com>
758
759 * gdb.ada/access_tagged_param.exp: Relax expected output
760 for value of "ObjL" in "continue" to pck.inspect breakpoint
761 test.
762
04bafb1e
XR
7632018-01-08 Joel Brobecker <brobecker@adacore.com>
764
9f86398b
JB
765 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
766 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 767
e379cee6
PA
7682018-01-05 Pedro Alves <palves@redhat.com>
769
770 PR gdb/18653
771 * gdb.base/libsegfault.exp: New.
772
de63c46b
PA
7732018-01-05 Joel Brobecker <brobecker@adacore.com>
774
775 PR gdb/22670
776 * gdb.ada/access_tagged_param.exp: New file.
777 * gdb.ada/access_tagged_param/foo.adb: New file.
778
f98fc17b
PA
7792018-01-05 Pedro Alves <palves@redhat.com>
780
781 PR gdb/22670
782 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
783 exercise lower case too, and to exercise both full matching and
784 wild matching.
785
342f8240
JB
7862018-01-05 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.ada/rename_subscript_param: New testcase.
789
7150d33c
JG
7902018-01-05 Jerome Guitton <guitton@adacore.com>
791
792 * gdb.ada/arr_acc_idx_w_gap: New testcase.
793
cc0e770c
JB
7942018-01-05 Joel Brobecker <brobecker@adacore.com>
795
796 * gdb.ada/convvar_comp: New testcase.
797
672a41aa 7982018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
799
800 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
801 (My_Table): New global variable.
802 * testsuite/gdb.ada/array_char_idx.exp: Add test.
803
7365ec2f
JB
8042018-01-04 Joel Brobecker <brobecker@adacore.com>
805
806 PR gdb/22670
807 * gdb.ada/maint_with_ada: New testcase.
808
289483b6
JB
8092018-01-04 Joel Brobecker <brobecker@adacore.com>
810
811 PR gdb/22670
812 * gdb.ada/bp_c_mixed_case: New testcase.
813
344420da
JB
8142018-01-04 Joel Brobecker <brobecker@adacore.com>
815
816 PR gdb/22670
817 * gdb.ada/complete.exp: Add "complete break ada" test.
818
66fc87a0
JB
8192018-01-04 Joel Brobecker <brobecker@adacore.com>
820
821 PR gdb/22670
822 * gdb.ada/info_addr_mixed_case: New testcase.
823
9f757bf7
XR
8242018-01-03 Xavier Roirand <roirand@adacore.com>
825
826 * gdb.ada/excep_handle.exp: New testcase.
827 * gdb.ada/excep_handle/foo.adb: New file.
828 * gdb.ada/excep_handle/pck.ads: New file.
829
bd570f80
JB
8302018-01-03 Joel Brobecker <brobecker@adacore.com>
831
832 * gdb.base/step-line.c: Add extra empty line in copyright header.
833 * gdb.base/step-line.inp: Likewise.
834
9fe561ab
JB
8352018-01-02 Joel Brobecker <brobecker@adacore.com>
836
837 * gdb.ada/dyn_stride.exp: Add slice test.
838
a405673c
JB
8392018-01-02 Joel Brobecker <brobecker@adacore.com>
840
841 * gdb.ada/dyn_stride: New testcase.
842
cef0f868
SH
8432017-12-27 Stafford Horne <shorne@gmail.com>
844
845 * gdb.xml/extra-regs.xml: Add example foo reggroup.
846 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
847
b67d92b0
SH
8482017-12-27 Stafford Horne <shorne@gmail.com>
849
850 * gdb.base/reggroups.c: New file.
851 * gdb.base/reggroups.exp: New file.
852
eccab96d
JB
8532017-12-18 Joel Brobecker <brobecker@adacore.com>
854
855 * gdb.dwarf2/ada-valprint-error.c: New file.
856 * gdb.dwarf2/ada-valprint-error.exp: New file.
857
0e2da9f0
JB
8582017-12-18 Joel Brobecker <brobecker@adacore.com>
859
860 * gdb.ada/assign_arr: New testcase.
861
cb923fcc
XR
8622017-12-18 Xavier Roirand <roirand@adacore.com>
863
864 * gdb.ada/funcall_ptr: New testcase.
865
7c161838
SDJ
8662017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
867
868 PR cli/16224
869 * gdb.base/ptype-offsets.cc: New file.
870 * gdb.base/ptype-offsets.exp: New file.
871
1af17fd9
YQ
8722017-12-15 Yao Qi <yao.qi@linaro.org>
873
874 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
875 if XML is disabled.
876
828d5846
XR
8772017-12-15 Xavier Roirand <roirand@adacore.com>
878
879 * gdb.ada/same_component_name: New testcase.
880
79e8fcaa
JB
8812017-12-14 Joel Brobecker <brobecker@adacore.com>
882
883 * gdb.ada/str_binop_equal: New testcase.
884
e05fa6f9
JB
8852017-12-14 Joel Brobecker <brobecker@adacore.com>
886
887 * gdb.ada/task_switch_in_core: New testcase.
888
b89641ba
SM
8892017-12-13 Simon Marchi <simon.marchi@ericsson.com>
890
891 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
892 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
893 call test_bkpt_qualified.
894 (test_bkpt_qualified): New proc.
895
6892d2e4
PA
8962017-12-13 Pedro Alves <palves@redhat.com>
897
898 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
899 Tighten regexp by matching with an anchor.
900
a22ecf70
PA
9012017-12-13 Pedro Alves <palves@redhat.com>
902
903 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
904 ("expression with namespace"): New set of tests.
905 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
906 (Nested::Test_NS::qux): New.
907 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
908 defaults to 'start_quote_char' and 'end_quote_char' parameters.
909
9937536c
JB
9102017-12-13 Joel Brobecker <brobecker@adacore.com>
911
912 * gdb.base/server-del-break.c: New file.
913 * gdb.base/server-del-break.exp: New file.
914
fe49c6f5
SH
9152017-12-12 Stafford Horne <shorne@gmail.com>
916
917 * gdb.xml/tdesc-regs.exp: Add or1k support.
918
c3d18620
SH
9192017-12-12 Stafford Horne <shorne@gmail.com>
920
921 * gdb.base/bp-permanent.c: Define nop of or1k.
922
c5f9cfc8
JB
9232017-12-11 Joel Brobecker <brobecker@adacore.com>
924
925 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
926 output with components being reordered.
927
a9c135fc
JB
9282017-12-11 Joel Brobecker <brobecker@adacore.com>
929
930 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
931 output with components being reordered.
932
927aa2e7
JK
9332017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
934 Pedro Alves <palves@redhat.com>
935
936 * gdb.base/maint.exp (check for .gdb_index): Check also for
937 .debug_names.
938 * gdb.dlang/watch-loc.c (.debug_aranges): New.
939 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
940 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
941 (.gdb_index used after symbol reloading): Support also .debug_names.
942 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
943
f17d9474
YQ
9442017-12-08 Yao Qi <yao.qi@linaro.org>
945
946 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
947 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
948
a0de8c21
YQ
9492017-12-08 Yao Qi <yao.qi@linaro.org>
950
951 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
952 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
953
a738ea1d
YQ
9542017-12-08 Yao Qi <yao.qi@linaro.org>
955
956 * gdb.arch/aarch64-tagged-pointer.c: New file.
957 * gdb.arch/aarch64-tagged-pointer.exp: New file.
958
1cd9a73b
SDJ
9592017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
960
961 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
962 "int".
963
fa6eb693
KS
9642017-12-07 Keith Seitz <keiths@redhat.com>
965
966 PR breakpoints/22569
967 * gdb.linespec/ls-errs.exp: Change expected result of "break
968 -source this file has spaces.c -line 3".
969 Check that an explicit source file followed by whitespace is
970 identified as an invalid explicit location.
971
883fd55a
KS
9722017-12-07 Keith Seitz <keiths@redhat.com>
973
974 * gdb.cp/nested-types.cc: New file.
975 * gdb.cp/nested-types.exp: New file.
976 * lib/cp-support.exp: Load data-structures.exp library.
977 (debug_cp_test_ptype_class): New global.
978 (cp_ptype_class_verbose, next_line): New procedures.
979 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
980 Add and document new return value.
981 Switch the list of lines to a queue.
982 Add support for new `type' key for nested type definitions.
983 Add debugging/troubleshooting messages.
984 * lib/data-structures.exp: New file.
985
ec72db3e
SM
9862017-12-07 Simon Marchi <simon.marchi@ericsson.com>
987
988 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
989 with proc_with_prefix, don't use with_test_prefix.
990
99598d71
TT
9912017-12-07 Tom Tromey <tom@tromey.com>
992
993 * gdb.base/break.exp: Add test for empty "commands".
994
a8806230
YQ
9952017-12-07 Yao Qi <yao.qi@linaro.org>
996
997 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
998 malloc and catch syscall.
999
824cc835
PM
10002017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1001
1002 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1003 tests for explicit locations.
1004
7cc244de
PA
10052017-12-06 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1008 force-disabling XML descriptions.
1009
50a1fdd5
PA
10102017-12-04 Pedro Alves <palves@redhat.com>
1011
1012 PR gdb/22499
1013 * gdb.arch/amd64-disp-step-avx.S: New file.
1014 * gdb.arch/amd64-disp-step-avx.exp: New file.
1015
f0fb2488
PA
10162017-12-03 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1019 and <string.h>.
1020 (parent_function): Print distinct messages when waitpid fails, or
1021 the child exits with a signal, or the child exits for an unhandled
1022 reason.
1023 * gdb.threads/process-dies-while-detaching.exp
1024 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1025 it. Wait for both inferior output and GDB's prompt. Use an
1026 indirect spawn id list.
1027 (do_detach): New parameter 'child_exit'. Use it to compute
1028 expected inferior output.
1029 (test_detach, test_detach_watch, test_detach_killed_outside):
1030 Adjust to pass down the expected child exit kind.
1031
97cbe998
SDJ
10322017-12-01 Joel Brobecker <brobecker@adacore.com>
1033 Sergio Durigan Junior <sergiodj@redhat.com>
1034 Pedro Alves <palves@redhat.com>
1035
1036 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1037
40fc416f
SDJ
10382017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1039
1040 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1041 to 'symbol-file' and 'add-symbol-file' can be
1042 position-independent.
1043
1cc75e92
YQ
10442017-12-01 Yao Qi <yao.qi@linaro.org>
1045
1046 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1047 the URL in copyright header.
1048 * gdb.arch/aarch64-fp.exp: Likewise.
1049 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1050 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1051 * gdb.base/expand-psymtabs.exp: Likewise.
1052 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1053 * gdb.fortran/common-block.exp: Likewise.
1054 * gdb.fortran/common-block.f90: Likewise.
1055 * gdb.fortran/logical.exp: Likewise.
1056 * gdb.fortran/vla-datatypes.f90: Likewise.
1057 * gdb.fortran/vla-sub.f90: Likewise.
1058
875fb7a7
JB
10592017-11-30 Joel Brobecker <brobecker@adacore.com>
1060
1061 * gdb.ada/repeat_dyn: New testcase.
1062
6f14765f
UW
10632017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1064
1065 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1066 Update for changed thread numbering.
1067 * gdb.cell/bt.exp: Update for changed GDB output.
1068
f1af7b94
SM
10692017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1070
1071 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1072 setting isremote by hand.
1073 * boards/dwarf4-gdb-index.exp: Likewise.
1074 * boards/fission.exp: Likewise.
1075 * boards/stabs.exp: Likewise.
1076
e3919f3e
PA
10772017-11-30 Pedro Alves <palves@redhat.com>
1078
1079 * gdb.linespec/cpls-ops.exp
1080 (check_explicit_skips_function_argument): Extract the underlying
1081 type of size_t instead of hardcoding it.
1082
bd69330d
PA
10832017-11-29 Pedro Alves <palves@redhat.com>
1084
1085 PR c++/19436
1086 * gdb.linespec/cpls-abi-tag.cc: New file.
1087 * gdb.linespec/cpls-abi-tag.exp: New file.
1088
a20714ff
PA
10892017-11-29 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.base/langs.exp: Use -qualified.
1092 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1093 it.
1094 * gdb.cp/namespace.exp: Use -qualified.
1095 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1096 (overload-3, template-overload, template-ret-type, const-overload)
1097 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1098 procedures.
1099 (test_driver): Call them.
1100 * gdb.cp/save-bp-qualified.cc: New.
1101 * gdb.cp/save-bp-qualified.exp: New.
1102 * gdb.linespec/explicit.exp: Test -qualified.
1103 * lib/completion-support.exp (completion::explicit_opts_list): Add
1104 "-qualified".
1105 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1106
f6f1d339
PM
11072017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1108
1109 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1110
02ca603a
TT
11112017-11-29 Tom Tromey <tom@tromey.com>
1112
1113 * gdb.base/relocate.exp: Update invalid argument test.
1114 Add new tests for invalid arguments.
1115
ed6c0bfb
TP
11162017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1117
1118 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1119 Return 0 as a long.
1120 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1121
f106e10e
TP
11222017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1123
1124 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1125 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1126 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1127 func ().
1128 * gdb.cp/shadow.cc (B.func): Return 0.
1129
10329bb2
JB
11302017-11-27 Joel Brobecker <brobecker@adacore.com>
1131
1132 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1133 expected output in gdb_expect call to allow the exception
1134 message to be present as well. Fix syntax confusion to avoid
1135 TCL thinking that exception_name is an array.
1136
617cd4bc
UW
11372017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1138
1139 * gdb.arch/spu-info.c: Include <unistd.h>.
1140 (do_signal_test): Fix broken calls to write.
1141 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1142 Fix checks for empty mailboxes. Update signal tests for corrected
1143 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
1144 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1145 * gdb.cell/arch.exp: Use standard_output_file.
1146 * gdb.cell/break.exp: Likewise.
1147 * gdb.cell/bt.exp: Likewise.
1148 * gdb.cell/core.exp: Likewise.
1149 * gdb.cell/dwarfaddr.exp: Likewise.
1150 * gdb.cell/ea-cache.exp: Likewise.
1151 * gdb.cell/ea-standalone.exp: Likewise.
1152 * gdb.cell/f-regs.exp: Likewise.
1153 * gdb.cell/fork.exp: Likewise.
1154 * gdb.cell/gcore.exp: Likewise.
1155 * gdb.cell/mem-access.exp: Likewise.
1156 * gdb.cell/ptype.exp: Likewise.
1157 * gdb.cell/registers.exp: Likewise.
1158 * gdb.cell/sizeof.exp: Likewise.
1159 * gdb.cell/solib-symbol.exp: Likewise.
1160 * gdb.cell/solib.exp: Likewise.
617cd4bc 1161
a81aaca0
PA
11622017-11-25 Pedro Alves <palves@redhat.com>
1163
1164 * gdb.base/complete-empty.exp: New file.
1165 * gdb.base/completion.exp: Adjust.
1166
6a3c6ee4
PA
11672017-11-25 Pedro Alves <palves@redhat.com>
1168
1169 * gdb.linespec/cpls-ops.cc: New file.
1170 * gdb.linespec/cpls-ops.exp: New file.
1171 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1172 factored out from ...
1173 (test_complete_prefix_range): ... this.
1174
8955eb2d
PA
11752017-11-24 Pedro Alves <palves@redhat.com>
1176
1177 * gdb.linespec/cpcompletion.exp: New file.
1178 * gdb.linespec/cpls-hyphen.cc: New file.
1179 * gdb.linespec/cpls.cc: New file.
1180 * gdb.linespec/cpls2.cc: New file.
1181 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1182 test to use test_gdb_complete_unique. Add label completion,
1183 keyword completion and explicit location completion tests.
1184 * lib/completion-support.exp: New file.
1185
e547c119
JB
11862017-11-24 Joel Brobecker <brobecker@adacore.com>
1187
1188 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1189 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1190 when hitting an exception catchpoint.
1191
7c3c1aa8
YQ
11922017-11-22 Yao Qi <yao.qi@linaro.org>
1193
1194 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1195
41bd68f5
SM
11962017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1197
1198 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1199 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1200 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1201
1daad298
YQ
12022017-11-22 Yao Qi <yao.qi@linaro.org>
1203
1204 * gdb.base/info-os.exp: Pass pthreads.
1205 * gdb.multi/multi-attach.exp: Likewise.
1206
88465e87
YQ
12072017-11-22 Yao Qi <yao.qi@linaro.org>
1208
1209 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1210 compiler.
1211
dc196b23
YQ
12122017-11-22 Yao Qi <yao.qi@linaro.org>
1213
1214 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1215 * gdb.base/break-interp.exp: Likewise.
1216 * gdb.base/jit-attach-pie.exp: Likewise.
1217
2400729e
UW
12182017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1219
1220 * gdb.base/float128.c (large128): New variable.
1221 * gdb.base/float128.exp: Add test to print largest __float128 value.
1222
7a26362d
UW
12232017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1224
1225 * gdb.arch/vsx-regs.exp: Update register content checks.
1226
ed0f4273
UW
12272017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1228
1229 * gdb.arch/ppc-longdouble.exp: New file.
1230 * gdb.arch/ppc-longdouble.c: Likewise.
1231
a25d69c6
PA
12322017-11-21 Pedro Alves <palves@redhat.com>
1233
1234 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1235
73fcf641
PA
12362017-11-20 Pedro Alves <palves@redhat.com>
1237
1238 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1239 (long_double_typedef): New typedefs.
1240 Use DEF on double and long double.
1241 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1242 cases.
1243 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1244 and 'long_double_ptr_same_size' locals. Use them to decide
1245 whether cast from array/function to float is valid/invalid.
1246
71a3c369
TT
12472017-11-17 Tom Tromey <tom@tromey.com>
1248
1249 * gdb.rust/traits.rs: New file.
1250 * gdb.rust/traits.exp: New file.
1251
ced9779b
JB
12522017-11-17 Joel Brobecker <brobecker@adacore.com>
1253
1254 * gdb.ada/minsyms: New testcase.
1255
a0922d80
PA
12562017-11-16 Pedro Alves <palves@redhat.com>
1257
1258 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1259 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1260
ea04e54c
PA
12612017-11-16 Pedro Alves <palves@redhat.com>
1262
1263 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1264 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1265
e849ea89
PA
12662017-11-16 Pedro Alves <palves@redhat.com>
1267
1268 * gdb.server/reconnect-ctrl-c.c: New file.
1269 * gdb.server/reconnect-ctrl-c.exp: New file.
1270
d8ae99a7
PM
12712017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1272
1273 * gdb.python/py-rbreak.exp: New file.
1274 * gdb.python/py-rbreak.c: New file.
1275 * gdb.python/py-rbreak-func2.c: New file.
1276
968a13f8
PA
12772017-11-16 Pedro Alves <palves@redhat.com>
1278
1279 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1280 pattern.
1281 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1282 GDB.
1283
71774bc9
SM
12842017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1285
1286 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1287 regex.
1288
ddbb44cf
SM
12892017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1290
1291 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1292 test names.
1293
584a564f
PA
12942017-11-09 Pedro Alves <palves@redhat.com>
1295
1296 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1297 factored out from ...
1298 (top level): ... here, and adjusted to avoid expecting beyond the
1299 prompt in a single gdb_test_multiple.
1300
5ed7a928
PA
13012017-11-09 Pedro Alves <palves@redhat.com>
1302
1303 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1304 output.
1305 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1306 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1307 * gdb.server/ext-run.exp ("kill" test): Likewise.
1308 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1309
a60e0738
PA
13102017-11-09 Pedro Alves <palves@redhat.com>
1311
1312 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1313 match till end of line.
1314
2c88253f
PA
13152017-11-09 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1318
c7a38517
PA
13192017-11-09 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1322 New procedures, factored out from ...
1323 (top level): ... here, and adjusted to avoid expecting beyond the
1324 prompt in one go.
1325
f29f4b6b
PA
13262017-11-09 Pedro Alves <palves@redhat.com>
1327
1328 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1329 output. Fix '?' match.
1330
286acbb5
JB
13312017-11-08 Joel Brobecker <brobecker@adacore.com>
1332
1333 * gdb.ada/scoped_watch: New testcase.
1334 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1335 which is actually correct.
1336 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1337 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1338
62d7ae92
PA
13392017-11-08 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.gdb/complaints.exp (test_initial_complaints)
1342 (test_serial_complaints, test_short_complaints): Call
1343 complaint_internal instead of complaint.
1344
280ca31f
DT
13452017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1346
1347 * gdb.threads/tls-core.c: New file.
1348 * gdb.threads/tls-core.exp: Likewise.
1349
b5ec771e
PA
13502017-11-08 Pedro Alves <palves@redhat.com>
1351
1352 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1353 (p Exported_Capitalized): New test.
1354 (p exported_capitalized): New test.
1355
a02b41a7
PA
13562017-11-07 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1359
95e95a6d
PA
13602017-11-07 Pedro Alves <palves@redhat.com>
1361
1362 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1363 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1364 (disable_invalid, disable_inverted, disable_negative): New
1365 procedures.
1366 ("bad numbers"): New set of tests.
1367
cee62dbd
PA
13682017-11-07 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.cp/ena-dis-br-range.exp: Add tests.
1371
cc638e86
PA
13722017-11-07 Pedro Alves <palves@redhat.com>
1373
1374 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1375
d0fe4701
XR
13762017-11-07 Xavier Roirand <roirand@adacore.com>
1377 Pedro Alves <palves@redhat.com>
1378
1379 * gdb.base/ena-dis-br.exp: Add reference to
1380 gdb.cp/ena-dis-br-range.exp.
1381 * gdb.cp/ena-dis-br-range.exp: New file.
1382 * gdb.cp/ena-dis-br-range.cc: New file.
1383
46f67f80
PA
13842017-11-06 Pedro Alves <palves@redhat.com>
1385
1386 * gdb.base/attach-non-pgrp-leader.c: New.
1387 * gdb.base/attach-non-pgrp-leader.exp: New.
1388
726e1356
PA
13892017-11-06 Pedro Alves <palves@redhat.com>
1390
1391 * configure.ac: No longer check for termio.h and sgtty.h.
1392 * configure: Regenerate.
1393 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1394 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1395 Remove termio and sgtty code.
1396
50ab6ace
YQ
13972017-11-03 Yao Qi <yao.qi@linaro.org>
1398
1399 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1400 in GDB is disabled.
1401
8e68731c
YQ
14022017-11-03 Yao Qi <yao.qi@linaro.org>
1403
1404 * gdb.python/py-thrhandle.exp: Skip it if python is not
1405 enabled.
1406
3a87ae65
SM
14072017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1408
1409 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1410 as a breakpoint command.
1411
484d8d36
MD
14122017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1413
1414 PR python/21213
1415 * gdb.python/py-infthread.exp: Test calling
1416 InferiorThread.inferior () multiple times in a row.
1417
4a27f119
KS
14182017-10-27 Keith Seitz <keiths@redhat.com>
1419
1420 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1421 Test "info break" for every inlined function breakpoint.
1422
bb11dd58
YQ
14232017-10-27 Yao Qi <yao.qi@linaro.org>
1424
1425 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1426
a43f3893
PF
14272017-10-26 Patrick Frants <osscontribute@gmail.com>
1428
1429 * gdb.cp/classes.exp (test_static_members): Test printing
1430 Outer::instance.
1431 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1432 (Inner::instance, Outer::instance): New.
1433
792ccf00
PA
14342017-10-24 Pedro Alves <palves@redhat.com>
1435
1436 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1437 extra console" test in two stages.
1438
eb2bfbad
PA
14392017-10-24 Pedro Alves <palves@redhat.com>
1440
1441 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1442
1f75a651
PA
14432017-10-24 Pedro Alves <palves@redhat.com>
1444
1445 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1446 loop.
1447
779990d9
PA
14482017-10-24 Pedro Alves <palves@redhat.com>
1449
1450 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1451 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1452
ad9b8f5d
PA
14532017-10-24 Pedro Alves <palves@redhat.com>
1454
1455 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1456 parameter and handle it. Don't output read value in test name.
1457
fee6da6e
PA
14582017-10-24 Pedro Alves <palves@redhat.com>
1459
1460 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1461 custom test name.
1462
10389c2c
PA
14632017-10-24 Pedro Alves <palves@redhat.com>
1464
1465 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1466 include the unstable output directory name in the test's name.
1467 (initial_setup_simple) <'set args'>: Use custom test name.
1468
a80e65a9
PA
14692017-10-24 Pedro Alves <palves@redhat.com>
1470
1471 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1472 with explicit test name.
1473
15763a09
PA
14742017-10-20 Pedro Alves <palves@redhat.com>
1475
1476 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1477 'wait -i'. Use gdb_assert and remote_close.
1478
49a4ce2e
AB
14792017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1482 number from variable rather than hard-coded.
1483
a75868f5
PA
14842017-10-19 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/long-inferior-output.c: New file.
1487 * gdb.base/long-inferior-output.exp: New file.
1488
c8ba13ad
KS
14892017-11-18 Keith Seitz <keiths@redhat.com>
1490
1491 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1492 method.
1493 (main): Call it.
1494 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1495 Add additional user-defined conversion operator tests.
1496
b27de576
PA
14972017-10-17 Pedro Alves <palves@redhat.com>
1498
1499 * boards/native-stdio-gdbserver.exp: Load "local-board".
1500
8484c955
PA
15012017-10-17 Pedro Alves <palves@redhat.com>
1502
1503 * gdb.base/quit-live.c: New file.
1504 * gdb.base/quit-live.exp: New file.
1505
83d5a34d
KS
15062017-10-16 Keith Seitz <keiths@redhat.com>
1507
1508 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1509 (class_with_protected_typedef, class_with_private_typedef)
1510 (struct_with_public_typedef, struct_with_protected_typedef)
1511 (struct_with_private_typedef): New classes/structs.
1512 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1513 typedefs and access specifiers.
1514
739b3f1d
PA
15152017-10-16 Pedro Alves <palves@redhat.com>
1516 Simon Marchi <simon.marchi@polymtl.ca>
1517
1518 * README (Local vs Remote vs Native): New section.
1519 * boards/local-board.exp: New file, with bits factored out from
1520 ...
1521 * boards/native-extended-gdbserver.exp: ... here. Load
1522 "local-board".
1523 * boards/native-gdbserver.exp: Load "local-board".
1524 (${board}_spawn, ${board}_exec): Delete.
1525 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1526 ...
1527 * boards/stdio-gdbserver-base.exp: ... this new file.
1528 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1529 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1530 procedure.
1531 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1532 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1533 stdio_gdbserver_command.
1534 (${board}_get_remote_address, ${board}_get_comm_port)
1535 (${board}_download, ${board}_upload): Delete.
1536 (get_target_remote_pipe_cmd): New.
1537
fe68b953
SM
15382017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1539
1540 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1541 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1542 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1543 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1544 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1545 remove with_test_prefix.
1546
300b6685
PA
15472017-10-13 Pedro Alves <palves@redhat.com>
1548
1549 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1550 * gdb.base/annota1.exp: Use it instead of is_remote.
1551 * gdb.base/annota3.exp: Use it instead of is_remote.
1552 * gdb.cp/annota2.exp: Use it instead of is_remote.
1553 * gdb.cp/annota3.exp: Use it instead of is_remote.
1554 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1555
50500caf
PA
15562017-10-13 Pedro Alves <palves@redhat.com>
1557
1558 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1559 (test_num_test_vars, run_and_count_vars, find_env)
1560 (test_set_unset_env, test_inherit_env_var): New procedures.
1561 (top level): Use them.
1562
dad0c6d2
PA
15632017-10-13 Pedro Alves <palves@redhat.com>
1564
1565 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1566 also skip on stub-like targets.
1567
8b0553c1
PA
15682017-10-13 Pedro Alves <palves@redhat.com>
1569
1570 PR gdb/22293
1571 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1572 (top level): Move some tests to ...
1573 (test_not_found): ... this new procedure.
1574 (top level): Call it.
1575
7594f623
PA
15762017-10-13 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1579 expect different "info terminal" output if testing with a
1580 non-native target.
1581
ebe3b402
PA
15822017-10-13 Pedro Alves <palves@redhat.com>
1583 Simon Marchi <simon.marchi@polymtl.ca>
1584
1585 PR python/12966
1586 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1587
42f1b161
PA
15882017-10-13 Pedro Alves <palves@redhat.com>
1589
1590 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1591 already.
1592
8d6ef72b
PA
15932017-10-13 Pedro Alves <palves@redhat.com>
1594
1595 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1596 is_remote.
1597
d7bcd5b8
PA
15982017-10-13 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1601 is_remote.
1602
df479dc6
PA
16032017-10-13 Pedro Alves <palves@redhat.com>
1604
1605 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1606 is set.
1607 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1608 instead of is_remote.
1609
23fb630a
PA
16102017-10-13 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1613 (top level): Add comment.
1614
cc77b1dc
PA
16152017-10-13 Pedro Alves <palves@redhat.com>
1616
1617 * gdb.base/remote.exp (top level): Fix comment typo and add
1618 missing return.
1619
27c9e813
PA
16202017-10-13 Pedro Alves <palves@redhat.com>
1621 Simon Marchi <simon.marchi@polymtl.ca>
1622
1623 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1624 calls and add comments. Skip test if use_gdb_stub is set.
1625 (top level): Use "set cwd" command instead of "cd" command.
1626
5e830d98
PA
16272017-10-13 Pedro Alves <palves@redhat.com>
1628
1629 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1630 is_remote target check.
1631
f5ca0032
PA
16322017-10-13 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.base/scope.exp: Use build_executable + clean_restart +
1635 gdb_file_cmd instead of prepare_for_testing and no longer skip
1636 "before run" tests on is_remote target boards. Update comments.
1637 * boards/native-extended-gdbserver.exp
1638 (extended_gdbserver_load_last_file): New, factored out from ...
1639 (gdb_load): ... this. Move further below and add comment.
1640 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1641
8aed1c0d
PA
16422017-10-12 Pedro Alves <palves@redhat.com>
1643
1644 * gdb.base/attach.exp: Remove references to gdb64.
1645 * gdb.base/dbx.exp: Remove references to gdb64.
1646
cfa34c87
SM
16472017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1648 Pedro Alves <palves@redhat.com>
1649
1650 * gdb.base/label.exp: Remove is_remote target check.
1651
9192b7de
PA
16522017-10-12 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.base/auvx.exp (coredir): Update comment.
1655 (top level) <core_works>: Use "set cwd" command instead of "cd"
1656 command.
1657
6bf0052d
PA
16582017-10-12 Pedro Alves <palves@redhat.com>
1659 Simon Marchi <simon.marchi@polymtl.ca>
1660
1661 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1662 target boards.
1663
e48ef82d
PA
16642017-10-12 Pedro Alves <palves@redhat.com>
1665 Simon Marchi <simon.marchi@polymtl.ca>
1666
1667 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1668 Instead skip if there's any gdb_protocol set.
1669
8d7aea57
SM
16702017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1671 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1674
30440677
PA
16752017-10-12 Pedro Alves <palves@redhat.com>
1676 Simon Marchi <simon.marchi@polymtl.ca>
1677
1678 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1679 instead of on dejagnu remote boards.
1680
4e04f045 16812017-10-12 Pedro Alves <palves@redhat.com>
175654b9 1682 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
1683
1684 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1685 checks. Use build_executable + clean_restart instead of
1686 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1687 of enabling non-stop after starting gdb.
1688
871a186e
PA
16892017-10-12 Pedro Alves <palves@redhat.com>
1690
1691 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1692 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1693 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1694 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1695
56d704da
AK
16962017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1697
1698 * gdb.arch/arc-tdesc-cpu.exp: New file.
1699 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1700
2f20e312
SM
17012017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1702
1703 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1704
65630365
PA
17052017-10-10 Pedro Alves <palves@redhat.com>
1706
1707 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1708 expect CLI output.
1709
bf469271
PA
17102017-10-10 Pedro Alves <palves@redhat.com>
1711
1712 * lib/selftest-support.exp (selftest_setup): Update for
1713 captured_command_loop's prototype change.
1714
777a42f1
PA
17152017-10-09 Pedro Alves <palves@redhat.com>
1716
1717 Test both arch1=>arch2 and arch2=>arch1.
1718
1719 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1720 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1721 factored out to...
1722 (append_arch1_options, append_arch2_options, append_arch_options)
1723 (build_executables): New procedures.
1724 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1725 local.
1726 (top level): Add new 'first_arch' testing axis.
1727
cbd2b4e3
PA
17282017-10-09 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1731 (barrier): New.
1732 (thread_start, all_started): New functions.
1733 (main): Spawn new thread and wait until it is scheduled.
1734 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1735 option.
1736 (do_test): Add 'selected_thread' parameter. Run to all_started
1737 instead of main. Explicitly set the breakpoint at main. Switch
1738 to the SELECTED_THREAD thread.
1739 (top level): Test handling the exec event with either the main
1740 thread or the second thread selected.
1741
5c9e4427
PA
17422017-10-09 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1745 logic. Move STOP marker after the value checks.
1746 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1747 regexp.
1748
b3b7c423
SL
17492017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1750
1751 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1752
3b4b2f16
UW
17532017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1754
1755 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1756 integer-to-dfp conversion.
1757 * gdb.base/dfp-test.exp: Likewise.
1758
5cd63fda
PA
17592017-10-04 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.multi/hangout.c: Include <unistd.h>.
1762 (hangout_loop): New function.
1763 (main): Call alarm. Call hangout_loop in a loop.
1764 * gdb.multi/hello.c: Include <unistd.h>.
1765 (hello_loop): New function.
1766 (main): Call alarm. Call hangout_loop in a loop.
1767 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1768 inferior with the other selected.
1769
4c71c105
SM
17702017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1771
1772 * gdb.mi/list-thread-groups-available.exp: New file.
1773 * gdb.mi/list-thread-groups-available.c: New file.
1774
bc3b087d
SDJ
17752017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1776
1777 * gdb.base/set-cwd.exp: Make it available on
1778 native-extended-gdbserver.
1779
d092c5a2
SDJ
17802017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1781
1782 * gdb.base/set-cwd.c: New file.
1783 * gdb.base/set-cwd.exp: Likewise.
1784
45320ffa
TT
17852017-10-02 Tom Tromey <tom@tromey.com>
1786
1787 PR rust/22236:
1788 * gdb.rust/simple.rs (main): New variable "fslice".
1789 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1790
b3e3859b
TT
17912017-10-02 Tom Tromey <tom@tromey.com>
1792
1793 * gdb.rust/simple.exp: Test ptype of a slice.
1794
01af5e0d
TT
17952017-10-02 Tom Tromey <tom@tromey.com>
1796
1797 * gdb.rust/simple.exp: Test index of slice.
1798
a9bbfbd8
TT
17992017-09-27 Tom Tromey <tom@tromey.com>
1800
1801 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1802
df8899e5
TP
18032017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1804 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.base/compare-sections.exp (get value of read-only section): Read
1807 as unsigned value.
1808 (corrupt read-only section): Likewise and don't set written if patching
1809 failed.
1810
757bf54b
KB
18112017-09-21 Kevin Buettner <kevinb@redhat.com>
1812
1813 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1814 files.
1815
06871ae8
PA
18162017-09-20 Pedro Alves <palves@redhat.com>
1817
1818 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1819 symbol names in gdb's output.
1820 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1821
e5f25bc5
PA
18222017-09-20 Pedro Alves <palves@redhat.com>
1823
1824 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1825 Rename to ...
1826 (test_list_ambiguous_symbol): ... this and add a symbol name
1827 parameter. Adjust.
1828 (test_list_ambiguous_function): Reimplement on top of
1829 test_list_ambiguous_symbol and also test listing ambiguous
1830 variables.
1831 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1832 (ambiguous_fun): ... this.
1833 (ambiguous_var): New.
1834 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1835 (ambiguous_fun): ... this.
1836 (ambiguous_var): New.
1837
4e5a4f58
JB
18382017-09-19 John Baldwin <jhb@FreeBSD.org>
1839
1840 * gdb.base/starti.c: New file.
1841 * gdb.base/starti.exp: New file.
1842 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1843
26e53f3e
PA
18442017-09-14 Pedro Alves <palves@redhat.com>
1845
1846 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1847 (top level): Use it instead of runto.
1848
cb791d59
TT
18492017-09-11 Tom Tromey <tom@tromey.com>
1850
1851 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1852
7c96f8c1
TT
18532017-09-11 Tom Tromey <tom@tromey.com>
1854
1855 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1856 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1857
469412dd
CW
18582017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1859
1860 * gdb.fortran/printing-types.exp: New file.
1861 * gdb.fortran/printing-types.exp: New file.
1862
e0f86435
BH
18632017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1864
1865 * gdb.fortran/vla-ptype.exp: Fix typos.
1866 * gdb.fortran/vla-value.exp: Same.
1867
9e9af4be
BH
18682017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1869
1870 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1871 * gdb.mi/mi-var-child-f.exp: Likewise.
1872 * gdb.mi/mi-vla-fortran.exp: Likewise.
1873
a5ad232b
FP
18742017-09-08 Frank Penczek <frank.penczek@intel.com>
1875 Christoph Weinmann <christoph.t.weinmann@intel.com>
1876 Bernhard Heckel <bernhard.heckel@intel.com>
1877
1878 * gdb.fortran/ptr-indentation.f90: New file.
1879 * gdb.fortran/ptr-indentation.exp: New file.
1880
5aec60eb
TT
18812017-09-05 Tom Tromey <tom@tromey.com>
1882
1883 PR gdb/22010:
1884 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1885
8f8f8152
TP
18862017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1887
1888 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1889
fbd1b771
JK
18902017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
1892 * gdb.threads/tls-nodebug-pie.c: New file.
1893 * gdb.threads/tls-nodebug-pie.exp: New file.
1894
5eb5f850
TT
18952017-09-05 Tom Tromey <tom@tromey.com>
1896
1897 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1898 for rust.
1899
ae780a21
SM
19002017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1901
1902 * gdb.multi/multi-arch-exec.exp: Test with different
1903 "follow-exec-mode" settings.
1904 (do_test): New procedure.
1905
3693fdb3
PA
19062017-09-04 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/func-static.c (S::method const, S::method volatile)
1909 (S::method volatile const): New methods.
1910 (c_s, v_s, cv_s): New instances.
1911 (main): Call method() on them.
1912 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1913 (cannot_resolve): New procedure.
1914 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1915 print-quote-unquoted columns.
1916 (do_test): Test printing each scope too.
1917
e68cb8e0
PA
19182017-09-04 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/local-static.exp: Also test with
1921 class::method::variable wholly quoted.
1922 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1923
858be34c
PA
19242017-09-04 Pedro Alves <palves@redhat.com>
1925
1926 * gdb.base/local-static.c: New.
1927 * gdb.base/local-static.cc: New.
1928 * gdb.base/local-static.exp: New.
1929
46a4882b
PA
19302017-09-04 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.asm/asm-source.exp: Add casts to int.
1933 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1934 (dataglobal64_1, dataglobal64_2): New globals.
1935 * gdb.base/nodebug.exp: Test different expressions involving the
1936 new globals, with print, whatis and ptype. Add casts to int.
1937 * gdb.base/solib-display.exp: Add casts to int.
1938 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1939 * gdb.cp/m-static.exp: Add cast to int.
1940 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1941 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1942 tls variable with no debug info without a cast. Test with a cast
1943 to int too.
1944 * gdb.trace/entry-values.exp: Add casts.
1945
2c5a2be1
PA
19462017-09-04 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.base/nodebug.exp: Test that ptype's error about functions
1949 with unknown return type includes the function name too.
1950
7022349d
PA
19512017-09-04 Pedro Alves <palves@redhat.com>
1952
1953 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1954 return type of munmap in infcall.
1955 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1956 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1957 type of ftell in infcall.
1958 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1959 type of getpid in infcall.
1960 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1961 infcall.
1962 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1963 Bail on failure to extract the pid.
1964 * gdb.base/nodebug.c: #include <stdint.h>.
1965 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1966 New functions.
1967 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1968 Change expected output of print/whatis/ptype with functions with
1969 no debug info. Test all supported languages. Call
1970 test_call_promotion.
1971 * gdb.compile/compile.exp: Adjust expected output to expect
1972 warning.
1973 * gdb.threads/siginfo-threads.exp: Likewise.
1974
54990598
PA
19752017-09-04 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1978 "prototypes". Test calling float functions via prototyped and
1979 unprototyped function pointers.
1980 (perform_all_tests): New parameter "prototypes". Pass it down.
1981 (top level): Pass down "prototypes" parameter to
1982 perform_all_tests.
1983
34d16ea2
SM
19842017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1985
1986 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1987 Test with nested loops.
1988
9521ecda
SM
19892017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1990
1991 * gdb.base/commands.exp: Call the new procedures.
1992 (loop_break_test, loop_continue_test): New procedures.
1993
80a65e9b
SM
19942017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1995
1996 * gdb.base/commands.exp: Call new procedure.
1997 (define_if_without_arg_test): New procedure.
1998
e439fa14
PA
19992017-09-04 Pedro Alves <palves@redhat.com>
2000
2001 * gdb.base/list-ambiguous.exp: New file.
2002 * gdb.base/list-ambiguous0.c: New file.
2003 * gdb.base/list-ambiguous1.c: New file.
2004 * gdb.base/list.exp (test_list_range): Adjust expected output.
2005
0a2dde4a
SDJ
20062017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2007
2008 * gdb.base/share-env-with-gdbserver.c: New file.
2009 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2010
5e89eb3a
SM
20112017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2012
2013 * gdb.base/commands.exp (gdbvar_simple_if_test,
2014 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2015 progvar_simple_if_test, progvar_simple_while_test,
2016 progvar_complex_if_while_test, user_defined_command_test,
2017 user_defined_command_args_eval,
2018 user_defined_command_args_stack_test,
2019 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2020 temporary_breakpoint_commands,
2021 gdb_test_no_prompt, redefine_hook_test,
2022 redefine_backtrace_test): Remove "global gdb_prompt".
2023
fd437cbc
SM
20242017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2025
2026 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2027 New proc, call it from toplevel.
2028
87215ad1
SDJ
20292017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2030
2031 PR remote/21852
2032 * gdb.server/normal.c: New file, copied from gdb.base.
2033 * gdb.server/run-without-local-binary.exp: New file.
2034
58afddc6
WP
20352017-08-07 Weimin Pan <weimin.pan@oracle.com>
2036
2037 * gdb.arch/sparc64-adi.exp: New file.
2038 * gdb.arch/sparc64-adi.c: New file.
2039
5277199a
PA
20402017-08-22 Pedro Alves <palves@redhat.com>
2041
2042 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2043 (top level): Add "list all overloads" tests.
2044
14278e1f
TT
20452017-08-22 Tom Tromey <tom@tromey.com>
2046
2047 * gdb.gdb/xfullpath.exp: Remove.
2048
bf223d3e
PA
20492017-08-21 Pedro Alves <palves@redhat.com>
2050
2051 PR gdb/19487
2052 * gdb.base/symbol-alias.c: New.
2053 * gdb.base/symbol-alias2.c: New.
2054 * gdb.base/symbol-alias.exp: New.
2055
c973d0aa
PA
20562017-08-21 Pedro Alves <palves@redhat.com>
2057
2058 * gdb.base/dfp-test.c
2059 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2060 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2061 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2062 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2063 * gdb.base/whatis-ptype-typedefs.c: New.
2064 * gdb.base/whatis-ptype-typedefs.exp: New.
2065 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2066 (an_int, an_int_type, an_int_type2): New globals.
2067 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2068 involving typedefs and cast expressions.
2069 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2070 (lookup_typedefs_function): New.
2071 (typedefs_pretty_printers_dict): New.
2072 (top level): Register lookup_typedefs_function in
2073 gdb.pretty_printers.
2074
6d580b63
YQ
20752017-08-18 Yao Qi <yao.qi@linaro.org>
2076
2077 * gdb.server/unittest.exp: New.
2078
206726fb
SDJ
20792017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2080
2081 PR gdb/21954
2082 * gdb.base/environ.exp: Add test to check if 'unset environment'
2083 works.
2084
bf0ec4c2
AA
20852017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2086
2087 * lib/gdb.exp (universal_compile_options): New caching proc.
2088 (gdb_compile): Suppress GCC's coloring of messages.
2089
d6382fff
TT
20902017-08-14 Tom Tromey <tom@tromey.com>
2091
2092 PR gdb/21675:
2093 * gdb.base/printcmds.exp (test_radices): New function.
2094 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2095 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2096 * lib/gdb.exp (get_integer_valueof): Use p/d.
2097
c2c2dd9f
SM
20982017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2099
2100 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2101 characters.
2102
fdffd6f4
TT
21032017-08-05 Tom Tromey <tom@tromey.com>
2104
2105 * gdb.rust/simple.exp: Allow String to appear in a different
2106 namespace.
2107
27d41eac
YQ
21082017-07-26 Yao Qi <yao.qi@linaro.org>
2109
2110 * gdb.gdb/unittest.exp: Invoke command
2111 "maintenance check xml-descriptions".
2112
031ed05d
AA
21132017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2114
2115 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2116 calling context.
2117 (hex128): Drop erroneous calculation of parameters.
2118
dcd27ddf
SM
21192017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2120
2121 * gdb.python/py-unwind.exp: Disable stack protection when
2122 building test file.
2123
47e77640
PA
21242017-07-20 Pedro Alves <palves@redhat.com>
2125
2126 * gdb.base/default.exp (set language): Adjust expected output.
2127
62d2a18a
PA
21282017-07-20 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2131 (test_minsym): ... this, and make static.
2132 (get_pck__foo__bar__minsym): Rename to ...
2133 (get_test_minsym): ... this.
2134 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2135 symbol names and comments.
2136 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2137 (get_test_minsym): ... this.
2138 (pck__foo__bar__minsym__2): Rename to ...
2139 (test_minsym): ... this.
2140 (main): Adjust.
2141
c45ec17c
PA
21422017-07-17 Pedro Alves <palves@redhat.com>
2143
2144 * gdb.base/completion.exp: Adjust expected output.
2145 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2146 the completer works.
2147
c6756f62
PA
21482017-07-17 Pedro Alves <palves@redhat.com>
2149
2150 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2151
5bd68487
AB
21522017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2153
2154 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2155
8880f2a9
TT
21562017-07-14 Tom Tromey <tom@tromey.com>
2157
2158 PR rust/21764:
2159 * gdb.rust/simple.exp: Add tests.
2160
65547233
TT
21612017-07-14 Tom Tromey <tom@tromey.com>
2162
2163 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2164
8f14146e
PA
21652017-07-14 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.linespec/base/one/thefile.cc (z1): New function.
2168 * gdb.linespec/base/two/thefile.cc (z2): New function.
2169 * gdb.linespec/linespec.exp: Add tests.
2170
b4365d02
AB
21712017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2172
2173 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2174 to mi_create_breakpoint.
2175
5d2cbaa5
AB
21762017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2177
2178 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2179 mi_create_breakpoint.
2180
11cb5716
IB
21812017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2182
2183 * gdb.dlang/demangle.exp: Update for demangling changes.
2184
03278692
TT
21852017-07-09 Tom Tromey <tom@tromey.com>
2186
2187 * gdb.dwarf2/shortpiece.exp: New file.
2188
33c5cd75
DB
21892017-07-06 David Blaikie <dblaikie@gmail.com>
2190
2191 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2192 built from fissiont-multi-cu{1,2}.c.
2193 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2194 except putting 'main' and 'func' in separate CUs in the same DWO file.
2195 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2196 test.
2197 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2198 test.
2199
8455d262
PA
22002017-07-06 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.python/py-unwind.exp: Test flushregs.
2203
dc4bde35
SDJ
22042017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2205
2206 PR cli/21688
2207 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2208 tests for alias commands and trailing whitespace.
2209
51ed89aa
SDJ
22102017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2211
2212 PR cli/21688
2213 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2214 procedure. Call it.
2215
eb17d413
PA
22162017-06-29 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.base/printcmds.exp: Add tests.
2219
41664b45
DG
22202017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2221
2222 PR gdb/21337
2223 * gdb.base/reread-readsym.exp: New file.
2224 * gdb.base/reread-readsym.c: New file.
2225
75312ae3
KB
22262017-06-21 Kevin Buettner <kevinb@redhat.com>
2227
2228 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2229 subpattern.
2230
66953522
PB
22312017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2232
2233 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2234 extended mnemonic.
2235 * gdb.arch/powerpc-power9.s: Likewise.
2236
5524b525
AA
22372017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2238
2239 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2240 on 32-bit x86 targets. Exploit is_*_target macros where
2241 appropriate.
2242
03c8af18
AA
22432017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2244
2245 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2246 register pieces.
2247
3bf31011
AA
22482017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2249
2250 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2251 located in one or more DWARF pieces.
2252
805acca0
AA
22532017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2254
2255 * lib/gdb.exp (get_endianness): New proc.
2256 * gdb.arch/aarch64-fp.exp: Use it.
2257 * gdb.arch/altivec-regs.exp: Likewise.
2258 * gdb.arch/e500-regs.exp: Likewise.
2259 * gdb.arch/vsx-regs.exp: Likewise.
2260 * gdb.base/dump.exp: Likewise.
2261 * gdb.base/funcargs.exp: Likewise.
2262 * gdb.base/gnu_vector.exp: Likewise.
2263 * gdb.dwarf2/formdata16.exp: Likewise.
2264 * gdb.dwarf2/implptrpiece.exp: Likewise.
2265 * gdb.dwarf2/nonvar-access.exp: Likewise.
2266 * gdb.python/py-inferior.exp: Likewise.
2267 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2268
e9352324
AA
22692017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2270
2271 PR gdb/21226
2272 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2273 stack value pieces are taken from the LSB end.
2274
d5d1163e
AA
22752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2276
2277 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2278 variable at nonzero offset.
2279
0567c986
AA
22802017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2281
2282 * gdb.dwarf2/var-access.c: New file.
2283 * gdb.dwarf2/var-access.exp: New test.
2284 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2285
973e9aab
TT
22862017-06-12 Tom Tromey <tom@tromey.com>
2287
2288 * gdb.dwarf2/formdata16.exp: Add tests.
2289
d9109c80
TT
22902017-06-12 Tom Tromey <tom@tromey.com>
2291
2292 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2293
30a25466
TT
22942017-06-12 Tom Tromey <tom@tromey.com>
2295
2296 PR exp/16225:
2297 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2298 * gdb.arch/vsx-regs.exp: Update tests.
2299 * gdb.arch/s390-vregs.exp (hex128): New proc.
2300 Update test.
2301 * gdb.arch/altivec-regs.exp: Update tests.
2302
aefd8b33
SDJ
23032017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2304
2305 * gdb.base/startup-with-shell.c: New file.
2306 * gdb.base/startup-with-shell.exp: Likewise.
2307
2090129c
SDJ
23082017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2309
2310 * gdb.server/non-existing-program.exp: Update regex in order to
2311 reflect the fact that gdbserver is now using fork_inferior (with a
2312 shell) to startup the inferior.
2313
8e86a419
SM
23142017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2315
2316 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2317 support function calls from GDB.
2318
e6cf65f2
TT
23192017-05-21 Tom Tromey <tom@tromey.com>
2320
2321 PR rust/21466:
2322 * gdb.rust/unsized.exp: New file.
2323 * gdb.rust/unsized.rs: New file.
2324
43cc5389
TT
23252017-05-19 Tom Tromey <tom@tromey.com>
2326
2327 PR rust/21484:
2328 * gdb.rust/watch.exp: New file.
2329 * gdb.rust/watch.rs: New file.
2330
ec8df234
TT
23312017-05-18 Tom Tromey <tom@tromey.com>
2332
2333 * gdb.rust/simple.exp: Allow Box to be qualified.
2334
3e3e7fae
TP
23352017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2336
2337 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2338
59cc050d
PA
23392017-05-18 Pedro Alves <palves@redhat.com>
2340
2341 * gdb.base/fileio.c (test_write, test_read, test_close)
2342 (test_fstat): Don't print 'ret' in the fail path.
2343
c8f6abd1
PA
23442017-05-18 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2347 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2348 (test_system, test_rename, test_unlink, test_time): Change
2349 prototypes.
2350 * gdb.base/fileio.exp (stop_msg): Adjust.
2351
d2a03b77
PA
23522017-05-18 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/fileio.c (null_str): New global.
2355 (test_stat): Use it.
2356 * gdb.base/fileio.exp: Remove nowarnings.
2357
0d5c6999
YQ
23582017-05-17 Yao Qi <yao.qi@linaro.org>
2359
2360 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2361
21873064
YQ
23622017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2363
2364 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2365 argument command.
2366 (top-level): Invoke test_set_inferior_tty.
2367
d512d31c
PA
23682017-05-04 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2371 Add parens to print call for Python 3.
2372
90cef2ed
KS
23732017-05-03 Keith Seitz <keiths@redhat.com>
2374
2375 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2376 (main): Call it.
2377
14f819c8
TW
23782017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2379
2380 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2381 to prev and next.
2382
913aeadd
TW
23832017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2384
2385 * gdb.python/py-record-btrace.exp: Remove test for
2386 gdb.BtraceInstruction.error.
2387
a3be24ad
TW
23882017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2389
2390 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2391
ae20e79a
TW
23922017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2393
2394 * gdb.python/py-record-btrace-threads.c: New file.
2395 * gdb.python/py-record-btrace-threads.exp: New file.
2396
45ce1b47
SDJ
23972017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2398
2399 PR testsuite/8595
2400 * gdb.base/environ.exp: Make test available in all architectures.
2401 Move bits related to "info program" testing to
2402 gdb.base/info-program.exp. Rewrite tests to use the two new
2403 procedures mentione below.
2404 (test_set_show_env_var) New procedure.
2405 (test_set_show_env_var_equal): Likewise.
2406 * gdb.base/info-program.exp: New file.
2407
e15c3eb4
KS
24082017-04-27 Keith Seitz <keiths@redhat.com>
2409
2410 * gdb.cp/oranking.cc (test15): New function.
2411 (main): Call test15 and declare additional variables for testing.
2412 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2413 "p foo101('abc')" tests.
2414 Add tests for cv qualifier overloads.
2415 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2416 "lvalue reference overload" test.
2417 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2418 "print value of f1 on Child&& in f2" test.
2419
3a3fd0fd
PA
24202017-04-19 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2423 procedure.
2424 (top level): Call it.
2425 * lib/gdb.exp (gdb_define_cmd): New procedure.
2426
53375380
PA
24272017-04-12 Pedro Alves <palves@redhat.com>
2428
2429 PR gdb/21323
2430 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2431 (wchar): New global.
2432 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2433 (do_test_wide_char, wide_char_types_no_program, top level): Add
2434 wchar_t testing.
2435
53e710ac
PA
24362017-04-12 Pedro Alves <palves@redhat.com>
2437
2438 PR c++/21323
2439 * gdb.cp/wide_char_types.c: New file.
2440 * gdb.cp/wide_char_types.exp: New file.
2441
0ad9d8c7
SDJ
24422017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2443
2444 PR gdb/21352
2445 * gdb.trace/tsv.exp: Add test for "tsave -r".
2446
b1b45502
IB
24472017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2448
2449 * gdb.dlang/watch-loc.c: New file.
2450 * gdb.dlang/watch-loc.exp: New file.
2451
ec13808e
JK
24522017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2455
fe5f7374
AK
24562017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2457
2458 * gdb.arch/arc-analyze-prologue.S: New file.
2459 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2460
eea78757
AK
24612017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2462
2463 * gdb.arch/arc-decode-insn.S: New file.
2464 * gdb.arch/arc-decode-insn.exp: Likewise.
2465
5badf10a
IR
24662017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2467
2468 PR tdep/20928
2469 * gdb.arch/sparc64-regs.exp: New file.
2470 * gdb.arch/sparc64-regs.S: Likewise.
2471
cee59b3f
TW
24722017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2473
2474 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2475 and memory view on Python 3.
2476
c0f55cc6
AV
24772017-03-20 Artemiy Volkov <artemiyv@acm.org>
2478 Keith Seitz <keiths@redhat.com>
2479
2480 PR gdb/14441
2481 * gdb.cp/demangle.exp: Add rvalue reference tests.
2482 * gdb.cp/rvalue-ref-casts.cc: New file.
2483 * gdb.cp/rvalue-ref-casts.exp: New file.
2484 * gdb.cp/rvalue-ref-overload.cc: New file.
2485 * gdb.cp/rvalue-ref-overload.exp: New file.
2486 * gdb.cp/rvalue-ref-params.cc: New file.
2487 * gdb.cp/rvalue-ref-params.exp: New file.
2488 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2489 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2490 * gdb.cp/rvalue-ref-types.cc: New file.
2491 * gdb.cp/rvalue-ref-types.exp: New file.
2492 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2493 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2494
51457a05
MAL
24952017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2496
2497 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2498 New procedure.
2499
5b291c04
MAL
25002017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2501
2502 * lib/mi-support.exp (mi_gdb_test): Add additional message
2503 for unexpected output.
2504
59a56148
AA
25052017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2506
2507 * gdb.base/examine-backward.c (Barrier): New character array
2508 constant, to ensure that TestStrings is preceded by a string
2509 terminator.
2510
7942e96e
AA
25112017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2512
2513 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2514 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2515 and implicit pointer into such a location.
2516
6ebac3fb
DE
25172017-03-16 Doug Evans <dje@google.com>
2518
2519 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2520
ec3b243d
TP
25212017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2522
2523 * gdb.cp/m-static.exp: Fix expectation for prototype of
2524 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
2525
25262017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
2527
2528 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2529 * gdb.guile/scm-lazy-string.c: New file.
2530 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2531 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2532 for pointer, array, typedef lazy strings.
2533
2cc36e25 25342017-03-16 Doug Evans <dje@google.com>
34b43320
DE
2535
2536 PR python/17728, python/18439, python/18779
2537 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2538 * gdb.python/py-lazy-string.c (pointer): New typedef.
2539 (main): New locals ptr, array, typedef_ptr.
2540 * gdb.python/py-value.exp: Move lazy string tests to ...
2541 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2542 array, typedef lazy strings.
ec3b243d 2543
0efcde63
AK
25442017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2545
2546 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2547 Add optional 'test' parameter.
2548
7978d7c3
SM
25492017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2550
2551 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2552 Skip for versions of DejaGnu < 1.5.
2553
896c0c1e
SM
25542017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2555
2556 * lib/gdb.exp (dejagnu_version): New proc.
2557 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2558 Use dejagnu_version.
2559
5f4d1085
KS
25602017-03-10 Keith Seitz <keiths@redhat.com>
2561
2562 PR c++/8128
2563 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2564 type from destructor regexps.
2565 Add a branch which actually passes the test.
2566 Adjust "ptype t5i" test names.
2567
1de05205
PA
25682017-03-08 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.base/step-over-exit.exp: Add explicit test message.
2571
c65d6b55
PA
25722017-03-08 Pedro Alves <palves@redhat.com>
2573
2574 PR gdb/18360
2575 * gdb.threads/interrupt-while-step-over.c: New file.
2576 * gdb.threads/interrupt-while-step-over.exp: New file.
2577
2e86a283
PA
25782017-03-08 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2581 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2582
25dcbff6
PA
25832017-03-08 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2586 PKRU as not supported as a PASS.
2587
dc9366eb
PA
25882017-03-08 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2591 prefix instead of $binfile1/$binfile2.
2592 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2593 in test message.
2594 * gdb.python/py-completion.exp: Use "load python file" as test
2595 messages instead of unstable path names.
2596
6e5d74e7
PA
25972017-03-08 Pedro Alves <palves@redhat.com>
2598 Jan Kratochvil <jan.kratochvil@redhat.com>
2599
2600 PR cli/21218
2601 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2602 New proc.
2603 (top level): Call it.
2604
9753a2f6
PA
26052017-03-08 Pedro Alves <palves@redhat.com>
2606
2607 PR tui/21216
2608 * gdb.tui/tui-nl-filtered-output.exp: New file.
2609
1a4dd9dd
PA
26102017-03-08 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/completion.exp: Move TUI completion tests to ...
2613 * gdb.tui/completion.exp: ... this new file.
2614
7cbbff33
PA
26152017-03-08 Pedro Alves <palves@redhat.com>
2616
2617 * gdb.base/tui-disasm-long-lines.c,
2618 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2619 gdb.base/tui-layout.exp: Move to ...
2620 * gdb.tui/: ... this new directory.
2621
5f6fd321
PA
26222017-03-07 Pedro Alves <palves@redhat.com>
2623
2624 * gdb.base/tui-layout.c: New file.
2625 * gdb.base/tui-layout.exp: New file.
2626
44959fa8
PA
26272017-03-07 Pedro Alves <palves@redhat.com>
2628
2629 * gdb.base/tui-layout.c: Rename to ...
2630 * gdb.base/tui-disasm-long-lines.c: ... this.
2631 * gdb.base/tui-layout.exp: Rename to ...
2632 * gdb.base/tui-disasm-long-lines.exp: ... this.
2633
f8c4e718
PA
26342017-03-07 Pedro Alves <palves@redhat.com>
2635
2636 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2637
6dbb839a 26382017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
2639
2640 * i386-mpx-call.c: New file.
2641 * i386-mpx-call.exp: New file.
2642
65b48a81
PB
26432017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2644
2645 * gdb.arch/powerpc-power.exp: Delete test.
2646 * gdb.arch/powerpc-power.s: Likewise.
2647 * gdb.disasm/disassembler-options.exp: New test.
2648 * gdb.arch/powerpc-altivec.exp: Likewise.
2649 * gdb.arch/powerpc-altivec.s: Likewise.
2650 * gdb.arch/powerpc-altivec2.exp: Likewise.
2651 * gdb.arch/powerpc-altivec2.s: Likewise.
2652 * gdb.arch/powerpc-altivec3.exp: Likewise.
2653 * gdb.arch/powerpc-altivec3.s: Likewise.
2654 * gdb.arch/powerpc-power7.exp: Likewise.
2655 * gdb.arch/powerpc-power7.s: Likewise.
2656 * gdb.arch/powerpc-power8.exp: Likewise.
2657 * gdb.arch/powerpc-power8.s: Likewise.
2658 * gdb.arch/powerpc-power9.exp: Likewise.
2659 * gdb.arch/powerpc-power9.s: Likewise.
2660 * gdb.arch/powerpc-vsx.exp: Likewise.
2661 * gdb.arch/powerpc-vsx.s: Likewise.
2662 * gdb.arch/powerpc-vsx2.exp: Likewise.
2663 * gdb.arch/powerpc-vsx2.s: Likewise.
2664 * gdb.arch/powerpc-vsx3.exp: Likewise.
2665 * gdb.arch/powerpc-vsx3.s: Likewise.
2666 * gdb.arch/arm-disassembler-options.exp: Likewise.
2667 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2668 * gdb.arch/s390-disassembler-options.exp: Likewise.
2669
17cd4947
LM
26702017-02-23 Luis Machado <lgustavo@codesourcery.com>
2671
2672 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2673 (check_supported_features): ... this. Changed return type to void.
2674 (supports_rdseed): New static global.
2675 (rdseed): Check supports_rdseed.
2676 (initialize): Call check_supported_features.
2677
2039d74e
EBM
26782017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2679
2680 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2681 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2682 and lqarx/stqcx.
2683 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2684 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2685
a51d7ecf
EBM
26862017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2687
2688 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2689 uppercase.
2690
0224619f
JK
26912017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 * gdb.dwarf2/formdata16.c: New file.
2694 * gdb.dwarf2/formdata16.exp: New file.
2695 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2696
216f72a1
JK
26972017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2698
2699 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2700 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2701 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2702 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2703 DW_AT_GNU_*.
2704
43988095
JK
27052017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2706
2707 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2708
99e8a4f9
SDJ
27092017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2710
2711 PR gdb/21164
2712 * gdb.base/maint.exp: Add testcases for when the commands do
2713 not have arguments.
2714
b58a8c0c
TP
27152017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2716
2717 * gdb.cp/chained-calls.exp: Use p instead of P.
2718
4e746bb6
TW
27192017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2720
2721 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2722 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2723
3f77c769
TT
27242017-02-14 Tom Tromey <tom@tromey.com>
2725
2726 PR python/13598:
2727 * gdb.python/py-events.exp: Add before_prompt event tests.
2728
075beec0
AA
27292017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2730
2731 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2732
bf5f525c
LM
27332017-02-13 Luis Machado <lgustavo@codesourcery.com>
2734
2735 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2736 (main): Call my_unique_function_name.
2737 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2738 completion of patterns with a single match.
2739 Add missing -re switches to gdb_test_multiple calls.
2740
13a66184
LM
27412017-02-13 Luis Machado <lgustavo@codesourcery.com>
2742
2743 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2744 return if core file is not recognized.
2745
26a06916
SM
27462017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2747
2748 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2749 and extra UIs.
2750
b761ca9e
SM
27512017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2752
2753 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2754 proc_with_prefix.
2755
b964bee0
TT
27562017-02-10 Tom Tromey <tom@tromey.com>
2757
2758 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2759
18da0c51
MG
27602017-02-10 Martin Galvan <martingalvan@sourceware.org>
2761
2762 PR gdb/21122
2763 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2764
604c4576
JG
27652017-02-08 Jerome Guitton <guitton@adacore.com>
2766
2767 * gdb.base/define.exp: Add test for command abbreviations
2768 in define.
2769
20b477a7
LM
27702017-02-06 Luis Machado <lgustavo@codesourcery.com>
2771
2772 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2773 * gdb.reverse/insn-reverse-x86.c: New file.
2774
3f7b46f2
IR
27752017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2776
2777 PR tdep/20936
2778 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2779
f0fd41c1
TT
27802017-02-03 Tom Tromey <tom@tromey.com>
2781
2782 PR rust/21097:
2783 * gdb.rust/simple.exp: Add new tests.
2784
5be5dbf0
PA
27852017-02-02 Pedro Alves <palves@redhat.com>
2786
2787 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2788 tests.
2789
7346ef59
AA
27902017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2791
2792 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2793 taking a 2-byte value out of a 4-byte DWARF implicit value on
2794 big-endian targets.
2795 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2796 logic. Add test cases for DW_OP_implicit.
2797
787f0025
MM
27982017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2799
2800 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2801
68777c29
MM
28022017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2803
2804 * gdb.btrace/enable.exp: Call gdb_exit before
2805 skip_gdbserver_tests.
2806
0a1c7e28
MM
28072017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2808
2809 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2810 GDBFLAGS.
2811
b5ac99b0
MM
28122017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2813
2814 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2815 the test is skipped.
2816 * gdb.btrace/data.exp: Likewise.
2817 * gdb.btrace/delta.exp: Likewise.
2818 * gdb.btrace/dlopen.exp: Likewise.
2819 * gdb.btrace/enable-running.exp: Likewise.
2820 * gdb.btrace/enable.exp: Likewise.
2821 * gdb.btrace/exception.exp: Likewise.
2822 * gdb.btrace/function_call_history.exp: Likewise.
2823 * gdb.btrace/gcore.exp: Likewise.
2824 * gdb.btrace/instruction_history.exp: Likewise.
2825 * gdb.btrace/multi-thread-step.exp: Likewise.
2826 * gdb.btrace/nohist.exp: Likewise.
2827 * gdb.btrace/non-stop.exp: Likewise.
2828 * gdb.btrace/reconnect.exp: Likewise.
2829 * gdb.btrace/record_goto-step.exp: Likewise.
2830 * gdb.btrace/record_goto.exp: Likewise.
2831 * gdb.btrace/rn-dl-bind.exp: Likewise.
2832 * gdb.btrace/segv.exp: Likewise.
2833 * gdb.btrace/step.exp: Likewise.
2834 * gdb.btrace/stepi.exp: Likewise.
2835 * gdb.btrace/tailcall-only.exp: Likewise.
2836 * gdb.btrace/tailcall.exp: Likewise.
2837 * gdb.btrace/tsx.exp: Likewise.
2838 * gdb.btrace/unknown_functions.exp: Likewise.
2839 * gdb.btrace/vdso.exp: Likewise.
2840
cd4007e4
MM
28412017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2842
2843 * gdb.btrace/enable-running.c: New.
2844 * gdb.btrace/enable-running.exp: New.
2845
2735833d
WT
28462017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2847
2848 * gdb.arch/amd64-gs_base.c: New file.
2849 * gdb.arch/amd64-gs_base.exp: New file.
2850
b51e1e94
LM
28512017-01-26 Luis Machado <lgustavo@codesourcery.com>
2852
2853 * lib/memory.exp: Remove spurious empty newlines.
2854
72ca0410
SM
28552017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2856
2857 * gdb.python/py-bad-printers.exp: Load python file using "source".
2858 * gdb.python/py-events.exp: Likewise.
2859 * gdb.python/py-evsignal.exp: Likewise.
2860 * gdb.python/py-evthreads.exp: Likewise.
2861 * gdb.python/py-frame-args.exp: Likewise.
2862 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2863 * gdb.python/py-framefilter-mi.exp: Likewise.
2864 * gdb.python/py-framefilter.exp: Likewise.
2865 * gdb.python/py-mi.exp: Likewise.
2866 * gdb.python/py-pp-maint.exp: Likewise.
2867 * gdb.python/py-pp-registration.exp: Likewise.
2868 * gdb.python/py-prettyprint.exp: Likewise.
2869 (run_lang_tests): Likewise.
2870 * gdb.python/py-typeprint.exp: Likewise.
2871
e309aa65
LM
28722017-01-26 Luis Machado <lgustavo@codesourcery.com>
2873
2874 * lib/memory.exp: New file.
2875 * lib/gdb.exp: Load memory.exp.
2876 * gdb.base/memattr.exp (delete_memory): Move proc to
2877 lib/memory.exp and rename to delete_memory_regions.
2878 Replace delete_memory with delete_memory_regions.
2879 Cleanup memory regions before tests.
2880 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2881 before tests.
2882
515aff23
LM
28832017-01-26 Luis Machado <lgustavo@codesourcery.com>
2884
2885 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2886 files.
2887 (initialize): New function conditionally defined.
2888 (testcases): Move within conditional block.
2889 (main): Call initialize.
2890 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2891 of gdb.reverse/insn-reverse.c.
2892 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2893 gdb.reverse/insn-reverse.c.
2894
d8b49cf0
YQ
28952017-01-26 Yao Qi <yao.qi@linaro.org>
2896
2897 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2898 disassemble on address 0.
2899
f13a9a0c
YQ
29002017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2901 Yao Qi <yao.qi@linaro.org>
2902
2903 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2904 * gdb.dwarf2/implptr-64bit.S: Remove.
2905 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2906 variables in caller's context. Add DW_OP_implicit_value.
2907
5ac95241
YQ
29082017-01-25 Yao Qi <yao.qi@linaro.org>
2909
2910 * lib/dwarf.exp (Dwarf::_location): Handle
2911 DW_OP_GNU_implicit_pointer with proper size.
2912
23e82930
LM
29132017-01-20 Luis Machado <lgustavo@codesourcery.com>
2914
2915 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2916 and add untested calls.
2917
d334ae25
LM
29182017-01-20 Luis Machado <lgustavo@codesourcery.com>
2919
2920 * gdb.python/python.exp: Check line number against what GDB thinks
2921 the line number is for func1.
2922
f5e6296e
IB
29232017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2924
2925 * gdb.dlang/debug-expr.exp: New file.
2926
5b362f04
LM
29272016-12-23 Luis Machado <lgustavo@codesourcery.com>
2928
2929 Fix test names for the following files:
2930
2931 * gdb.ada/exec_changed.exp
2932 * gdb.ada/info_types.exp
2933 * gdb.arch/aarch64-atomic-inst.exp
2934 * gdb.arch/aarch64-fp.exp
2935 * gdb.arch/altivec-abi.exp
2936 * gdb.arch/altivec-regs.exp
2937 * gdb.arch/amd64-byte.exp
2938 * gdb.arch/amd64-disp-step.exp
2939 * gdb.arch/amd64-dword.exp
2940 * gdb.arch/amd64-entry-value-inline.exp
2941 * gdb.arch/amd64-entry-value-param.exp
2942 * gdb.arch/amd64-entry-value-paramref.exp
2943 * gdb.arch/amd64-entry-value.exp
2944 * gdb.arch/amd64-i386-address.exp
2945 * gdb.arch/amd64-invalid-stack-middle.exp
2946 * gdb.arch/amd64-invalid-stack-top.exp
2947 * gdb.arch/amd64-optimout-repeat.exp
2948 * gdb.arch/amd64-prologue-skip.exp
2949 * gdb.arch/amd64-prologue-xmm.exp
2950 * gdb.arch/amd64-stap-special-operands.exp
2951 * gdb.arch/amd64-stap-wrong-subexp.exp
2952 * gdb.arch/amd64-tailcall-cxx.exp
2953 * gdb.arch/amd64-tailcall-noret.exp
2954 * gdb.arch/amd64-tailcall-ret.exp
2955 * gdb.arch/amd64-tailcall-self.exp
2956 * gdb.arch/amd64-word.exp
2957 * gdb.arch/arm-bl-branch-dest.exp
2958 * gdb.arch/arm-disp-step.exp
2959 * gdb.arch/arm-neon.exp
2960 * gdb.arch/arm-single-step-kernel-helper.exp
2961 * gdb.arch/avr-flash-qualifier.exp
2962 * gdb.arch/disp-step-insn-reloc.exp
2963 * gdb.arch/e500-abi.exp
2964 * gdb.arch/e500-regs.exp
2965 * gdb.arch/ftrace-insn-reloc.exp
2966 * gdb.arch/i386-avx512.exp
2967 * gdb.arch/i386-bp_permanent.exp
2968 * gdb.arch/i386-byte.exp
2969 * gdb.arch/i386-cfi-notcurrent.exp
2970 * gdb.arch/i386-disp-step.exp
2971 * gdb.arch/i386-dr3-watch.exp
2972 * gdb.arch/i386-float.exp
2973 * gdb.arch/i386-gnu-cfi.exp
2974 * gdb.arch/i386-mpx-map.exp
2975 * gdb.arch/i386-mpx-sigsegv.exp
2976 * gdb.arch/i386-mpx-simple_segv.exp
2977 * gdb.arch/i386-mpx.exp
2978 * gdb.arch/i386-permbkpt.exp
2979 * gdb.arch/i386-prologue.exp
2980 * gdb.arch/i386-signal.exp
2981 * gdb.arch/i386-size-overlap.exp
2982 * gdb.arch/i386-unwind.exp
2983 * gdb.arch/i386-word.exp
2984 * gdb.arch/mips-fcr.exp
2985 * gdb.arch/powerpc-d128-regs.exp
2986 * gdb.arch/powerpc-stackless.exp
2987 * gdb.arch/ppc64-atomic-inst.exp
2988 * gdb.arch/s390-stackless.exp
2989 * gdb.arch/s390-tdbregs.exp
2990 * gdb.arch/s390-vregs.exp
2991 * gdb.arch/sparc-sysstep.exp
2992 * gdb.arch/thumb-bx-pc.exp
2993 * gdb.arch/thumb-singlestep.exp
2994 * gdb.arch/thumb2-it.exp
2995 * gdb.arch/vsx-regs.exp
2996 * gdb.asm/asm-source.exp
2997 * gdb.base/a2-run.exp
2998 * gdb.base/advance.exp
2999 * gdb.base/all-bin.exp
3000 * gdb.base/anon.exp
3001 * gdb.base/args.exp
3002 * gdb.base/arithmet.exp
3003 * gdb.base/async-shell.exp
3004 * gdb.base/async.exp
3005 * gdb.base/attach-pie-noexec.exp
3006 * gdb.base/attach-twice.exp
3007 * gdb.base/auto-load.exp
3008 * gdb.base/bang.exp
3009 * gdb.base/bitfields.exp
3010 * gdb.base/break-always.exp
3011 * gdb.base/break-caller-line.exp
3012 * gdb.base/break-entry.exp
3013 * gdb.base/break-inline.exp
3014 * gdb.base/break-on-linker-gcd-function.exp
3015 * gdb.base/break-probes.exp
3016 * gdb.base/break.exp
3017 * gdb.base/breakpoint-shadow.exp
3018 * gdb.base/call-ar-st.exp
3019 * gdb.base/call-sc.exp
3020 * gdb.base/call-signal-resume.exp
3021 * gdb.base/call-strs.exp
3022 * gdb.base/callfuncs.exp
3023 * gdb.base/catch-fork-static.exp
3024 * gdb.base/catch-gdb-caused-signals.exp
3025 * gdb.base/catch-load.exp
3026 * gdb.base/catch-signal-fork.exp
3027 * gdb.base/catch-signal.exp
3028 * gdb.base/catch-syscall.exp
3029 * gdb.base/charset.exp
3030 * gdb.base/checkpoint.exp
3031 * gdb.base/chng-syms.exp
3032 * gdb.base/code-expr.exp
3033 * gdb.base/code_elim.exp
3034 * gdb.base/commands.exp
3035 * gdb.base/completion.exp
3036 * gdb.base/complex.exp
3037 * gdb.base/cond-expr.exp
3038 * gdb.base/condbreak.exp
3039 * gdb.base/consecutive.exp
3040 * gdb.base/continue-all-already-running.exp
3041 * gdb.base/coredump-filter.exp
3042 * gdb.base/corefile.exp
3043 * gdb.base/dbx.exp
3044 * gdb.base/debug-expr.exp
3045 * gdb.base/define.exp
3046 * gdb.base/del.exp
3047 * gdb.base/disabled-location.exp
3048 * gdb.base/disasm-end-cu.exp
3049 * gdb.base/disasm-optim.exp
3050 * gdb.base/display.exp
3051 * gdb.base/duplicate-bp.exp
3052 * gdb.base/ena-dis-br.exp
3053 * gdb.base/ending-run.exp
3054 * gdb.base/enumval.exp
3055 * gdb.base/environ.exp
3056 * gdb.base/eu-strip-infcall.exp
3057 * gdb.base/eval-avoid-side-effects.exp
3058 * gdb.base/eval-skip.exp
3059 * gdb.base/exitsignal.exp
3060 * gdb.base/expand-psymtabs.exp
3061 * gdb.base/filesym.exp
3062 * gdb.base/find-unmapped.exp
3063 * gdb.base/finish.exp
3064 * gdb.base/float.exp
3065 * gdb.base/foll-exec-mode.exp
3066 * gdb.base/foll-exec.exp
3067 * gdb.base/foll-fork.exp
3068 * gdb.base/fortran-sym-case.exp
3069 * gdb.base/freebpcmd.exp
3070 * gdb.base/func-ptr.exp
3071 * gdb.base/func-ptrs.exp
3072 * gdb.base/funcargs.exp
3073 * gdb.base/gcore-buffer-overflow.exp
3074 * gdb.base/gcore-relro-pie.exp
3075 * gdb.base/gcore-relro.exp
3076 * gdb.base/gcore.exp
3077 * gdb.base/gdb1090.exp
3078 * gdb.base/gdb11530.exp
3079 * gdb.base/gdb11531.exp
3080 * gdb.base/gdb1821.exp
3081 * gdb.base/gdbindex-stabs.exp
3082 * gdb.base/gdbvars.exp
3083 * gdb.base/hbreak.exp
3084 * gdb.base/hbreak2.exp
3085 * gdb.base/included.exp
3086 * gdb.base/infcall-input.exp
3087 * gdb.base/inferior-died.exp
3088 * gdb.base/infnan.exp
3089 * gdb.base/info-macros.exp
3090 * gdb.base/info-os.exp
3091 * gdb.base/info-proc.exp
3092 * gdb.base/info-shared.exp
3093 * gdb.base/info-target.exp
3094 * gdb.base/infoline.exp
3095 * gdb.base/interp.exp
3096 * gdb.base/interrupt.exp
3097 * gdb.base/jit-reader.exp
3098 * gdb.base/jit-simple.exp
3099 * gdb.base/kill-after-signal.exp
3100 * gdb.base/kill-detach-inferiors-cmd.exp
3101 * gdb.base/label.exp
3102 * gdb.base/langs.exp
3103 * gdb.base/ldbl_e308.exp
3104 * gdb.base/line-symtabs.exp
3105 * gdb.base/linespecs.exp
3106 * gdb.base/list.exp
3107 * gdb.base/long_long.exp
3108 * gdb.base/longest-types.exp
3109 * gdb.base/maint.exp
3110 * gdb.base/max-value-size.exp
3111 * gdb.base/memattr.exp
3112 * gdb.base/mips_pro.exp
3113 * gdb.base/morestack.exp
3114 * gdb.base/moribund-step.exp
3115 * gdb.base/multi-forks.exp
3116 * gdb.base/nested-addr.exp
3117 * gdb.base/nextoverexit.exp
3118 * gdb.base/noreturn-finish.exp
3119 * gdb.base/noreturn-return.exp
3120 * gdb.base/nostdlib.exp
3121 * gdb.base/offsets.exp
3122 * gdb.base/opaque.exp
3123 * gdb.base/pc-fp.exp
3124 * gdb.base/permissions.exp
3125 * gdb.base/print-symbol-loading.exp
3126 * gdb.base/prologue-include.exp
3127 * gdb.base/psymtab.exp
3128 * gdb.base/ptype.exp
3129 * gdb.base/random-signal.exp
3130 * gdb.base/randomize.exp
3131 * gdb.base/range-stepping.exp
3132 * gdb.base/readline-ask.exp
3133 * gdb.base/recpar.exp
3134 * gdb.base/recurse.exp
3135 * gdb.base/relational.exp
3136 * gdb.base/restore.exp
3137 * gdb.base/return-nodebug.exp
3138 * gdb.base/return.exp
3139 * gdb.base/run-after-attach.exp
3140 * gdb.base/save-bp.exp
3141 * gdb.base/scope.exp
3142 * gdb.base/sect-cmd.exp
3143 * gdb.base/set-lang-auto.exp
3144 * gdb.base/set-noassign.exp
3145 * gdb.base/setvar.exp
3146 * gdb.base/sigall.exp
3147 * gdb.base/sigbpt.exp
3148 * gdb.base/siginfo-addr.exp
3149 * gdb.base/siginfo-infcall.exp
3150 * gdb.base/siginfo-obj.exp
3151 * gdb.base/siginfo.exp
3152 * gdb.base/signals-state-child.exp
3153 * gdb.base/signest.exp
3154 * gdb.base/sigstep.exp
3155 * gdb.base/sizeof.exp
3156 * gdb.base/skip.exp
3157 * gdb.base/solib-corrupted.exp
3158 * gdb.base/solib-nodir.exp
3159 * gdb.base/solib-search.exp
3160 * gdb.base/stack-checking.exp
3161 * gdb.base/stale-infcall.exp
3162 * gdb.base/stap-probe.exp
3163 * gdb.base/start.exp
3164 * gdb.base/step-break.exp
3165 * gdb.base/step-bt.exp
3166 * gdb.base/step-line.exp
3167 * gdb.base/step-over-exit.exp
3168 * gdb.base/step-over-syscall.exp
3169 * gdb.base/step-resume-infcall.exp
3170 * gdb.base/step-test.exp
3171 * gdb.base/store.exp
3172 * gdb.base/structs3.exp
3173 * gdb.base/sym-file.exp
3174 * gdb.base/symbol-without-target_section.exp
3175 * gdb.base/term.exp
3176 * gdb.base/testenv.exp
3177 * gdb.base/ui-redirect.exp
3178 * gdb.base/until.exp
3179 * gdb.base/unwindonsignal.exp
3180 * gdb.base/value-double-free.exp
3181 * gdb.base/vla-datatypes.exp
3182 * gdb.base/vla-ptr.exp
3183 * gdb.base/vla-sideeffect.exp
3184 * gdb.base/volatile.exp
3185 * gdb.base/watch-cond-infcall.exp
3186 * gdb.base/watch-cond.exp
3187 * gdb.base/watch-non-mem.exp
3188 * gdb.base/watch-read.exp
3189 * gdb.base/watch-vfork.exp
3190 * gdb.base/watchpoint-cond-gone.exp
3191 * gdb.base/watchpoint-delete.exp
3192 * gdb.base/watchpoint-hw-hit-once.exp
3193 * gdb.base/watchpoint-hw.exp
3194 * gdb.base/watchpoint-stops-at-right-insn.exp
3195 * gdb.base/watchpoints.exp
3196 * gdb.base/wchar.exp
3197 * gdb.base/whatis-exp.exp
3198 * gdb.btrace/buffer-size.exp
3199 * gdb.btrace/data.exp
3200 * gdb.btrace/delta.exp
3201 * gdb.btrace/dlopen.exp
3202 * gdb.btrace/enable.exp
3203 * gdb.btrace/exception.exp
3204 * gdb.btrace/function_call_history.exp
3205 * gdb.btrace/gcore.exp
3206 * gdb.btrace/instruction_history.exp
3207 * gdb.btrace/nohist.exp
3208 * gdb.btrace/reconnect.exp
3209 * gdb.btrace/record_goto-step.exp
3210 * gdb.btrace/record_goto.exp
3211 * gdb.btrace/rn-dl-bind.exp
3212 * gdb.btrace/segv.exp
3213 * gdb.btrace/step.exp
3214 * gdb.btrace/stepi.exp
3215 * gdb.btrace/tailcall-only.exp
3216 * gdb.btrace/tailcall.exp
3217 * gdb.btrace/tsx.exp
3218 * gdb.btrace/unknown_functions.exp
3219 * gdb.btrace/vdso.exp
3220 * gdb.compile/compile-ifunc.exp
3221 * gdb.compile/compile-ops.exp
3222 * gdb.compile/compile-print.exp
3223 * gdb.compile/compile-setjmp.exp
3224 * gdb.cp/abstract-origin.exp
3225 * gdb.cp/ambiguous.exp
3226 * gdb.cp/annota2.exp
3227 * gdb.cp/annota3.exp
3228 * gdb.cp/anon-ns.exp
3229 * gdb.cp/anon-struct.exp
3230 * gdb.cp/anon-union.exp
3231 * gdb.cp/arg-reference.exp
3232 * gdb.cp/baseenum.exp
3233 * gdb.cp/bool.exp
3234 * gdb.cp/breakpoint.exp
3235 * gdb.cp/bs15503.exp
3236 * gdb.cp/call-c.exp
3237 * gdb.cp/casts.exp
3238 * gdb.cp/chained-calls.exp
3239 * gdb.cp/class2.exp
3240 * gdb.cp/classes.exp
3241 * gdb.cp/cmpd-minsyms.exp
3242 * gdb.cp/converts.exp
3243 * gdb.cp/cp-relocate.exp
3244 * gdb.cp/cpcompletion.exp
3245 * gdb.cp/cpexprs.exp
3246 * gdb.cp/cplabel.exp
3247 * gdb.cp/cplusfuncs.exp
3248 * gdb.cp/cpsizeof.exp
3249 * gdb.cp/ctti.exp
3250 * gdb.cp/derivation.exp
3251 * gdb.cp/destrprint.exp
3252 * gdb.cp/dispcxx.exp
3253 * gdb.cp/enum-class.exp
3254 * gdb.cp/exception.exp
3255 * gdb.cp/exceptprint.exp
3256 * gdb.cp/expand-psymtabs-cxx.exp
3257 * gdb.cp/expand-sals.exp
3258 * gdb.cp/extern-c.exp
3259 * gdb.cp/filename.exp
3260 * gdb.cp/formatted-ref.exp
3261 * gdb.cp/fpointer.exp
3262 * gdb.cp/gdb1355.exp
3263 * gdb.cp/gdb2495.exp
3264 * gdb.cp/hang.exp
3265 * gdb.cp/impl-this.exp
3266 * gdb.cp/infcall-dlopen.exp
3267 * gdb.cp/inherit.exp
3268 * gdb.cp/iostream.exp
3269 * gdb.cp/koenig.exp
3270 * gdb.cp/local.exp
3271 * gdb.cp/m-data.exp
3272 * gdb.cp/m-static.exp
3273 * gdb.cp/mb-ctor.exp
3274 * gdb.cp/mb-inline.exp
3275 * gdb.cp/mb-templates.exp
3276 * gdb.cp/member-name.exp
3277 * gdb.cp/member-ptr.exp
3278 * gdb.cp/meth-typedefs.exp
3279 * gdb.cp/method.exp
3280 * gdb.cp/method2.exp
3281 * gdb.cp/minsym-fallback.exp
3282 * gdb.cp/misc.exp
3283 * gdb.cp/namelessclass.exp
3284 * gdb.cp/namespace-enum.exp
3285 * gdb.cp/namespace-nested-import.exp
3286 * gdb.cp/namespace.exp
3287 * gdb.cp/nextoverthrow.exp
3288 * gdb.cp/no-dmgl-verbose.exp
3289 * gdb.cp/non-trivial-retval.exp
3290 * gdb.cp/noparam.exp
3291 * gdb.cp/nsdecl.exp
3292 * gdb.cp/nsimport.exp
3293 * gdb.cp/nsnested.exp
3294 * gdb.cp/nsnoimports.exp
3295 * gdb.cp/nsrecurs.exp
3296 * gdb.cp/nsstress.exp
3297 * gdb.cp/nsusing.exp
3298 * gdb.cp/operator.exp
3299 * gdb.cp/oranking.exp
3300 * gdb.cp/overload-const.exp
3301 * gdb.cp/overload.exp
3302 * gdb.cp/ovldbreak.exp
3303 * gdb.cp/ovsrch.exp
3304 * gdb.cp/paren-type.exp
3305 * gdb.cp/parse-lang.exp
3306 * gdb.cp/pass-by-ref.exp
3307 * gdb.cp/pr-1023.exp
3308 * gdb.cp/pr-1210.exp
3309 * gdb.cp/pr-574.exp
3310 * gdb.cp/pr10687.exp
3311 * gdb.cp/pr12028.exp
3312 * gdb.cp/pr17132.exp
3313 * gdb.cp/pr17494.exp
3314 * gdb.cp/pr9067.exp
3315 * gdb.cp/pr9167.exp
3316 * gdb.cp/pr9631.exp
3317 * gdb.cp/printmethod.exp
3318 * gdb.cp/psmang.exp
3319 * gdb.cp/psymtab-parameter.exp
3320 * gdb.cp/ptype-cv-cp.exp
3321 * gdb.cp/ptype-flags.exp
3322 * gdb.cp/re-set-overloaded.exp
3323 * gdb.cp/ref-types.exp
3324 * gdb.cp/rtti.exp
3325 * gdb.cp/scope-err.exp
3326 * gdb.cp/shadow.exp
3327 * gdb.cp/smartp.exp
3328 * gdb.cp/static-method.exp
3329 * gdb.cp/static-print-quit.exp
3330 * gdb.cp/temargs.exp
3331 * gdb.cp/templates.exp
3332 * gdb.cp/try_catch.exp
3333 * gdb.cp/typedef-operator.exp
3334 * gdb.cp/typeid.exp
3335 * gdb.cp/userdef.exp
3336 * gdb.cp/using-crash.exp
3337 * gdb.cp/var-tag.exp
3338 * gdb.cp/virtbase.exp
3339 * gdb.cp/virtfunc.exp
3340 * gdb.cp/virtfunc2.exp
3341 * gdb.cp/vla-cxx.exp
3342 * gdb.disasm/t01_mov.exp
3343 * gdb.disasm/t02_mova.exp
3344 * gdb.disasm/t03_add.exp
3345 * gdb.disasm/t04_sub.exp
3346 * gdb.disasm/t05_cmp.exp
3347 * gdb.disasm/t06_ari2.exp
3348 * gdb.disasm/t07_ari3.exp
3349 * gdb.disasm/t08_or.exp
3350 * gdb.disasm/t09_xor.exp
3351 * gdb.disasm/t10_and.exp
3352 * gdb.disasm/t11_logs.exp
3353 * gdb.disasm/t12_bit.exp
3354 * gdb.disasm/t13_otr.exp
3355 * gdb.dlang/circular.exp
3356 * gdb.dwarf2/arr-stride.exp
3357 * gdb.dwarf2/arr-subrange.exp
3358 * gdb.dwarf2/atomic-type.exp
3359 * gdb.dwarf2/bad-regnum.exp
3360 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3361 * gdb.dwarf2/callframecfa.exp
3362 * gdb.dwarf2/clztest.exp
3363 * gdb.dwarf2/corrupt.exp
3364 * gdb.dwarf2/data-loc.exp
3365 * gdb.dwarf2/dup-psym.exp
3366 * gdb.dwarf2/dw2-anon-mptr.exp
3367 * gdb.dwarf2/dw2-anonymous-func.exp
3368 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3369 * gdb.dwarf2/dw2-bad-unresolved.exp
3370 * gdb.dwarf2/dw2-basic.exp
3371 * gdb.dwarf2/dw2-canonicalize-type.exp
3372 * gdb.dwarf2/dw2-case-insensitive.exp
3373 * gdb.dwarf2/dw2-common-block.exp
3374 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3375 * gdb.dwarf2/dw2-compressed.exp
3376 * gdb.dwarf2/dw2-const.exp
3377 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3378 * gdb.dwarf2/dw2-cu-size.exp
3379 * gdb.dwarf2/dw2-dup-frame.exp
3380 * gdb.dwarf2/dw2-entry-value.exp
3381 * gdb.dwarf2/dw2-icycle.exp
3382 * gdb.dwarf2/dw2-ifort-parameter.exp
3383 * gdb.dwarf2/dw2-inline-break.exp
3384 * gdb.dwarf2/dw2-inline-param.exp
3385 * gdb.dwarf2/dw2-intercu.exp
3386 * gdb.dwarf2/dw2-intermix.exp
3387 * gdb.dwarf2/dw2-lexical-block-bare.exp
3388 * gdb.dwarf2/dw2-linkage-name-trust.exp
3389 * gdb.dwarf2/dw2-minsym-in-cu.exp
3390 * gdb.dwarf2/dw2-noloc.exp
3391 * gdb.dwarf2/dw2-op-call.exp
3392 * gdb.dwarf2/dw2-op-out-param.exp
3393 * gdb.dwarf2/dw2-opt-structptr.exp
3394 * gdb.dwarf2/dw2-param-error.exp
3395 * gdb.dwarf2/dw2-producer.exp
3396 * gdb.dwarf2/dw2-ranges-base.exp
3397 * gdb.dwarf2/dw2-ref-missing-frame.exp
3398 * gdb.dwarf2/dw2-reg-undefined.exp
3399 * gdb.dwarf2/dw2-regno-invalid.exp
3400 * gdb.dwarf2/dw2-restore.exp
3401 * gdb.dwarf2/dw2-restrict.exp
3402 * gdb.dwarf2/dw2-single-line-discriminators.exp
3403 * gdb.dwarf2/dw2-strp.exp
3404 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3405 * gdb.dwarf2/dw2-unresolved.exp
3406 * gdb.dwarf2/dw2-var-zero-addr.exp
3407 * gdb.dwarf2/dw4-sig-types.exp
3408 * gdb.dwarf2/dwz.exp
3409 * gdb.dwarf2/dynarr-ptr.exp
3410 * gdb.dwarf2/enum-type.exp
3411 * gdb.dwarf2/gdb-index.exp
3412 * gdb.dwarf2/implptr-64bit.exp
3413 * gdb.dwarf2/implptr-optimized-out.exp
3414 * gdb.dwarf2/implptr.exp
3415 * gdb.dwarf2/implref-array.exp
3416 * gdb.dwarf2/implref-const.exp
3417 * gdb.dwarf2/implref-global.exp
3418 * gdb.dwarf2/implref-struct.exp
3419 * gdb.dwarf2/mac-fileno.exp
3420 * gdb.dwarf2/main-subprogram.exp
3421 * gdb.dwarf2/member-ptr-forwardref.exp
3422 * gdb.dwarf2/method-ptr.exp
3423 * gdb.dwarf2/missing-sig-type.exp
3424 * gdb.dwarf2/nonvar-access.exp
3425 * gdb.dwarf2/opaque-type-lookup.exp
3426 * gdb.dwarf2/pieces-optimized-out.exp
3427 * gdb.dwarf2/pieces.exp
3428 * gdb.dwarf2/pr10770.exp
3429 * gdb.dwarf2/pr13961.exp
3430 * gdb.dwarf2/staticvirtual.exp
3431 * gdb.dwarf2/subrange.exp
3432 * gdb.dwarf2/symtab-producer.exp
3433 * gdb.dwarf2/trace-crash.exp
3434 * gdb.dwarf2/typeddwarf.exp
3435 * gdb.dwarf2/valop.exp
3436 * gdb.dwarf2/watch-notconst.exp
3437 * gdb.fortran/array-element.exp
3438 * gdb.fortran/charset.exp
3439 * gdb.fortran/common-block.exp
3440 * gdb.fortran/complex.exp
3441 * gdb.fortran/derived-type-function.exp
3442 * gdb.fortran/derived-type.exp
3443 * gdb.fortran/logical.exp
3444 * gdb.fortran/module.exp
3445 * gdb.fortran/multi-dim.exp
3446 * gdb.fortran/nested-funcs.exp
3447 * gdb.fortran/print-formatted.exp
3448 * gdb.fortran/subarray.exp
3449 * gdb.fortran/vla-alloc-assoc.exp
3450 * gdb.fortran/vla-datatypes.exp
3451 * gdb.fortran/vla-history.exp
3452 * gdb.fortran/vla-ptr-info.exp
3453 * gdb.fortran/vla-ptype-sub.exp
3454 * gdb.fortran/vla-ptype.exp
3455 * gdb.fortran/vla-sizeof.exp
3456 * gdb.fortran/vla-type.exp
3457 * gdb.fortran/vla-value-sub-arbitrary.exp
3458 * gdb.fortran/vla-value-sub-finish.exp
3459 * gdb.fortran/vla-value-sub.exp
3460 * gdb.fortran/vla-value.exp
3461 * gdb.fortran/whatis_type.exp
3462 * gdb.go/chan.exp
3463 * gdb.go/handcall.exp
3464 * gdb.go/hello.exp
3465 * gdb.go/integers.exp
3466 * gdb.go/methods.exp
3467 * gdb.go/package.exp
3468 * gdb.go/strings.exp
3469 * gdb.go/types.exp
3470 * gdb.go/unsafe.exp
3471 * gdb.guile/scm-arch.exp
3472 * gdb.guile/scm-block.exp
3473 * gdb.guile/scm-breakpoint.exp
3474 * gdb.guile/scm-cmd.exp
3475 * gdb.guile/scm-disasm.exp
3476 * gdb.guile/scm-equal.exp
3477 * gdb.guile/scm-frame-args.exp
3478 * gdb.guile/scm-frame-inline.exp
3479 * gdb.guile/scm-frame.exp
3480 * gdb.guile/scm-iterator.exp
3481 * gdb.guile/scm-math.exp
3482 * gdb.guile/scm-objfile.exp
3483 * gdb.guile/scm-ports.exp
3484 * gdb.guile/scm-symbol.exp
3485 * gdb.guile/scm-symtab.exp
3486 * gdb.guile/scm-value-cc.exp
3487 * gdb.guile/types-module.exp
3488 * gdb.linespec/break-ask.exp
3489 * gdb.linespec/cpexplicit.exp
3490 * gdb.linespec/explicit.exp
3491 * gdb.linespec/keywords.exp
3492 * gdb.linespec/linespec.exp
3493 * gdb.linespec/ls-dollar.exp
3494 * gdb.linespec/ls-errs.exp
3495 * gdb.linespec/skip-two.exp
3496 * gdb.linespec/thread.exp
3497 * gdb.mi/mi-async.exp
3498 * gdb.mi/mi-basics.exp
3499 * gdb.mi/mi-break.exp
3500 * gdb.mi/mi-catch-load.exp
3501 * gdb.mi/mi-cli.exp
3502 * gdb.mi/mi-cmd-param-changed.exp
3503 * gdb.mi/mi-console.exp
3504 * gdb.mi/mi-detach.exp
3505 * gdb.mi/mi-disassemble.exp
3506 * gdb.mi/mi-eval.exp
3507 * gdb.mi/mi-file-transfer.exp
3508 * gdb.mi/mi-file.exp
3509 * gdb.mi/mi-fill-memory.exp
3510 * gdb.mi/mi-inheritance-syntax-error.exp
3511 * gdb.mi/mi-linespec-err-cp.exp
3512 * gdb.mi/mi-logging.exp
3513 * gdb.mi/mi-memory-changed.exp
3514 * gdb.mi/mi-read-memory.exp
3515 * gdb.mi/mi-record-changed.exp
3516 * gdb.mi/mi-reg-undefined.exp
3517 * gdb.mi/mi-regs.exp
3518 * gdb.mi/mi-return.exp
3519 * gdb.mi/mi-reverse.exp
3520 * gdb.mi/mi-simplerun.exp
3521 * gdb.mi/mi-solib.exp
3522 * gdb.mi/mi-stack.exp
3523 * gdb.mi/mi-stepi.exp
3524 * gdb.mi/mi-syn-frame.exp
3525 * gdb.mi/mi-until.exp
3526 * gdb.mi/mi-var-block.exp
3527 * gdb.mi/mi-var-child.exp
3528 * gdb.mi/mi-var-cmd.exp
3529 * gdb.mi/mi-var-cp.exp
3530 * gdb.mi/mi-var-display.exp
3531 * gdb.mi/mi-var-invalidate.exp
3532 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3533 * gdb.mi/mi-vla-fortran.exp
3534 * gdb.mi/mi-watch.exp
3535 * gdb.mi/mi2-var-child.exp
3536 * gdb.mi/user-selected-context-sync.exp
3537 * gdb.modula2/unbounded-array.exp
3538 * gdb.multi/dummy-frame-restore.exp
3539 * gdb.multi/multi-arch-exec.exp
3540 * gdb.multi/multi-arch.exp
3541 * gdb.multi/tids.exp
3542 * gdb.multi/watchpoint-multi.exp
3543 * gdb.opencl/callfuncs.exp
3544 * gdb.opencl/convs_casts.exp
3545 * gdb.opencl/datatypes.exp
3546 * gdb.opencl/operators.exp
3547 * gdb.opencl/vec_comps.exp
3548 * gdb.opt/clobbered-registers-O2.exp
3549 * gdb.opt/inline-break.exp
3550 * gdb.opt/inline-bt.exp
3551 * gdb.opt/inline-cmds.exp
3552 * gdb.opt/inline-locals.exp
3553 * gdb.pascal/case-insensitive-symbols.exp
3554 * gdb.pascal/floats.exp
3555 * gdb.pascal/gdb11492.exp
3556 * gdb.python/lib-types.exp
3557 * gdb.python/py-arch.exp
3558 * gdb.python/py-as-string.exp
3559 * gdb.python/py-bad-printers.exp
3560 * gdb.python/py-block.exp
3561 * gdb.python/py-breakpoint-create-fail.exp
3562 * gdb.python/py-breakpoint.exp
3563 * gdb.python/py-caller-is.exp
3564 * gdb.python/py-cmd.exp
3565 * gdb.python/py-explore-cc.exp
3566 * gdb.python/py-explore.exp
3567 * gdb.python/py-finish-breakpoint.exp
3568 * gdb.python/py-finish-breakpoint2.exp
3569 * gdb.python/py-frame-args.exp
3570 * gdb.python/py-frame-inline.exp
3571 * gdb.python/py-frame.exp
3572 * gdb.python/py-framefilter-mi.exp
3573 * gdb.python/py-infthread.exp
3574 * gdb.python/py-lazy-string.exp
3575 * gdb.python/py-linetable.exp
3576 * gdb.python/py-mi-events.exp
3577 * gdb.python/py-mi-objfile.exp
3578 * gdb.python/py-mi.exp
3579 * gdb.python/py-objfile.exp
3580 * gdb.python/py-pp-integral.exp
3581 * gdb.python/py-pp-maint.exp
3582 * gdb.python/py-pp-re-notag.exp
3583 * gdb.python/py-pp-registration.exp
3584 * gdb.python/py-recurse-unwind.exp
3585 * gdb.python/py-strfns.exp
3586 * gdb.python/py-symbol.exp
3587 * gdb.python/py-symtab.exp
3588 * gdb.python/py-sync-interp.exp
3589 * gdb.python/py-typeprint.exp
3590 * gdb.python/py-unwind-maint.exp
3591 * gdb.python/py-unwind.exp
3592 * gdb.python/py-value-cc.exp
3593 * gdb.python/py-xmethods.exp
3594 * gdb.reverse/amd64-tailcall-reverse.exp
3595 * gdb.reverse/break-precsave.exp
3596 * gdb.reverse/break-reverse.exp
3597 * gdb.reverse/consecutive-precsave.exp
3598 * gdb.reverse/consecutive-reverse.exp
3599 * gdb.reverse/finish-precsave.exp
3600 * gdb.reverse/finish-reverse-bkpt.exp
3601 * gdb.reverse/finish-reverse.exp
3602 * gdb.reverse/fstatat-reverse.exp
3603 * gdb.reverse/getresuid-reverse.exp
3604 * gdb.reverse/i386-precsave.exp
3605 * gdb.reverse/i386-reverse.exp
3606 * gdb.reverse/i386-sse-reverse.exp
3607 * gdb.reverse/i387-env-reverse.exp
3608 * gdb.reverse/i387-stack-reverse.exp
3609 * gdb.reverse/insn-reverse.exp
3610 * gdb.reverse/machinestate-precsave.exp
3611 * gdb.reverse/machinestate.exp
3612 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3613 * gdb.reverse/pipe-reverse.exp
3614 * gdb.reverse/readv-reverse.exp
3615 * gdb.reverse/recvmsg-reverse.exp
3616 * gdb.reverse/rerun-prec.exp
3617 * gdb.reverse/s390-mvcle.exp
3618 * gdb.reverse/step-precsave.exp
3619 * gdb.reverse/step-reverse.exp
3620 * gdb.reverse/time-reverse.exp
3621 * gdb.reverse/until-precsave.exp
3622 * gdb.reverse/until-reverse.exp
3623 * gdb.reverse/waitpid-reverse.exp
3624 * gdb.reverse/watch-precsave.exp
3625 * gdb.reverse/watch-reverse.exp
3626 * gdb.rust/generics.exp
3627 * gdb.rust/methods.exp
3628 * gdb.rust/modules.exp
3629 * gdb.rust/simple.exp
3630 * gdb.server/connect-with-no-symbol-file.exp
3631 * gdb.server/ext-attach.exp
3632 * gdb.server/ext-restart.exp
3633 * gdb.server/ext-wrapper.exp
3634 * gdb.server/file-transfer.exp
3635 * gdb.server/server-exec-info.exp
3636 * gdb.server/server-kill.exp
3637 * gdb.server/server-mon.exp
3638 * gdb.server/wrapper.exp
3639 * gdb.stabs/exclfwd.exp
3640 * gdb.stabs/gdb11479.exp
3641 * gdb.threads/clone-new-thread-event.exp
3642 * gdb.threads/corethreads.exp
3643 * gdb.threads/current-lwp-dead.exp
3644 * gdb.threads/dlopen-libpthread.exp
3645 * gdb.threads/gcore-thread.exp
3646 * gdb.threads/sigstep-threads.exp
3647 * gdb.threads/watchpoint-fork.exp
3648 * gdb.trace/actions-changed.exp
3649 * gdb.trace/backtrace.exp
3650 * gdb.trace/change-loc.exp
3651 * gdb.trace/circ.exp
3652 * gdb.trace/collection.exp
3653 * gdb.trace/disconnected-tracing.exp
3654 * gdb.trace/ftrace.exp
3655 * gdb.trace/mi-trace-frame-collected.exp
3656 * gdb.trace/mi-trace-unavailable.exp
3657 * gdb.trace/mi-traceframe-changed.exp
3658 * gdb.trace/mi-tsv-changed.exp
3659 * gdb.trace/no-attach-trace.exp
3660 * gdb.trace/passc-dyn.exp
3661 * gdb.trace/qtro.exp
3662 * gdb.trace/range-stepping.exp
3663 * gdb.trace/read-memory.exp
3664 * gdb.trace/save-trace.exp
3665 * gdb.trace/signal.exp
3666 * gdb.trace/status-stop.exp
3667 * gdb.trace/tfile.exp
3668 * gdb.trace/trace-break.exp
3669 * gdb.trace/trace-buffer-size.exp
3670 * gdb.trace/trace-condition.exp
3671 * gdb.trace/tracefile-pseudo-reg.exp
3672 * gdb.trace/tstatus.exp
3673 * gdb.trace/unavailable.exp
3674 * gdb.trace/while-dyn.exp
3675 * gdb.trace/while-stepping.exp
3676
34c41c68
DE
36772016-12-22 Doug Evans <xdje42@gmail.com>
3678
3679 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3680 and msymbols.
3681
16e69324
YQ
36822016-12-19 Yao Qi <yao.qi@linaro.org>
3683
3684 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3685 (test_with_self): Don't call do_steps_and_nexts, and remove
3686 code about stepping into xmalloc.
3687
f94f411b
YQ
36882016-12-09 Yao Qi <yao.qi@linaro.org>
3689
3690 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3691
36922016-12-09 Yao Qi <yao.qi@linaro.org>
3693
3694 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3695
f1b5deee
PA
36962016-12-09 Pedro Alves <palves@redhat.com>
3697
3698 * gdb.base/all-architectures-0.exp: New file.
3699 * gdb.base/all-architectures-1.exp: New file.
3700 * gdb.base/all-architectures-2.exp: New file.
3701 * gdb.base/all-architectures-3.exp: New file.
3702 * gdb.base/all-architectures-4.exp: New file.
3703 * gdb.base/all-architectures-5.exp: New file.
3704 * gdb.base/all-architectures-6.exp: New file.
3705 * gdb.base/all-architectures-7.exp: New file.
3706 * gdb.base/all-architectures.exp.in: New file.
3707
364ca42e
YQ
37082016-12-09 Yao Qi <yao.qi@linaro.org>
3709
3710 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3711
107c2d62
LM
37122016-12-02 Luis Machado <lgustavo@codesourcery.com>
3713
3714 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3715 possible.
3716 Remove useless pattern-matching code.
3717
df3ee9ca
PA
37182016-12-02 Pedro Alves <palves@redhat.com>
3719
3720 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3721 procedure.
3722 (top level): Call it.
3723
ec835369
PA
37242016-12-02 Pedro Alves <palves@redhat.com>
3725
3726 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3727 New procedure.
3728 (top level): Call it.
3729
01770bbd
PA
37302016-12-02 Pedro Alves <palves@redhat.com>
3731
3732 PR cli/20559
3733 * gdb.base/commands.exp (user_defined_command_args_eval): New
3734 procedure.
3735 (top level): Call it.
3736
008459ea
LM
37372016-12-02 Luis Machado <lgustavo@codesourcery.com>
3738
3739 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3740 timeout handling.
3741
0c1b455e
TT
37422016-12-02 Tom Tromey <tom@tromey.com>
3743
3744 * gdb.dwarf2/main-subprogram.c: New file.
3745 * gdb.dwarf2/main-subprogram.exp: New file.
3746
018572b8
LM
37472016-12-01 Luis Machado <lgustavo@codesourcery.com>
3748
3749 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3750 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3751 gdb_test_no_output for a couple of cases.
3752 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3753
84c93cd5
LM
37542016-12-01 Luis Machado <lgustavo@codesourcery.com>
3755
3756 Fix test names and standardize compilation error messages throughout
3757 the following files:
3758
3759 * gdb.ada/start.exp
3760 * gdb.arch/alpha-step.exp
3761 * gdb.arch/e500-prologue.exp
3762 * gdb.arch/ftrace-insn-reloc.exp
3763 * gdb.arch/gdb1291.exp
3764 * gdb.arch/gdb1431.exp
3765 * gdb.arch/gdb1558.exp
3766 * gdb.arch/i386-dr3-watch.exp
3767 * gdb.arch/i386-sse-stack-align.exp
3768 * gdb.arch/ia64-breakpoint-shadow.exp
3769 * gdb.arch/pa-nullify.exp
3770 * gdb.arch/powerpc-aix-prologue.exp
3771 * gdb.arch/thumb-bx-pc.exp
3772 * gdb.base/annota1.exp
3773 * gdb.base/annota3.exp
3774 * gdb.base/arrayidx.exp
3775 * gdb.base/assign.exp
3776 * gdb.base/attach.exp
3777 * gdb.base/auxv.exp
3778 * gdb.base/bang.exp
3779 * gdb.base/bfp-test.exp
3780 * gdb.base/bigcore.exp
3781 * gdb.base/bitfields2.exp
3782 * gdb.base/break-fun-addr.exp
3783 * gdb.base/break-probes.exp
3784 * gdb.base/call-rt-st.exp
3785 * gdb.base/callexit.exp
3786 * gdb.base/catch-fork-kill.exp
3787 * gdb.base/charset.exp
3788 * gdb.base/checkpoint.exp
3789 * gdb.base/comprdebug.exp
3790 * gdb.base/constvars.exp
3791 * gdb.base/coredump-filter.exp
3792 * gdb.base/cursal.exp
3793 * gdb.base/cvexpr.exp
3794 * gdb.base/detach.exp
3795 * gdb.base/display.exp
3796 * gdb.base/dmsym.exp
3797 * gdb.base/dprintf-pending.exp
3798 * gdb.base/dso2dso.exp
3799 * gdb.base/dtrace-probe.exp
3800 * gdb.base/dump.exp
3801 * gdb.base/enum_cond.exp
3802 * gdb.base/exe-lock.exp
3803 * gdb.base/exec-invalid-sysroot.exp
3804 * gdb.base/execl-update-breakpoints.exp
3805 * gdb.base/exprs.exp
3806 * gdb.base/fileio.exp
3807 * gdb.base/find.exp
3808 * gdb.base/finish.exp
3809 * gdb.base/fixsection.exp
3810 * gdb.base/foll-vfork.exp
3811 * gdb.base/frame-args.exp
3812 * gdb.base/gcore.exp
3813 * gdb.base/gdb1250.exp
3814 * gdb.base/global-var-nested-by-dso.exp
3815 * gdb.base/gnu-ifunc.exp
3816 * gdb.base/hashline1.exp
3817 * gdb.base/hashline2.exp
3818 * gdb.base/hashline3.exp
3819 * gdb.base/hbreak-in-shr-unsupported.exp
3820 * gdb.base/huge.exp
3821 * gdb.base/infcall-input.exp
3822 * gdb.base/info-fun.exp
3823 * gdb.base/info-shared.exp
3824 * gdb.base/jit-simple.exp
3825 * gdb.base/jit-so.exp
3826 * gdb.base/jit.exp
3827 * gdb.base/jump.exp
3828 * gdb.base/label.exp
3829 * gdb.base/lineinc.exp
3830 * gdb.base/logical.exp
3831 * gdb.base/longjmp.exp
3832 * gdb.base/macscp.exp
3833 * gdb.base/miscexprs.exp
3834 * gdb.base/new-ui-echo.exp
3835 * gdb.base/new-ui-pending-input.exp
3836 * gdb.base/new-ui.exp
3837 * gdb.base/nodebug.exp
3838 * gdb.base/nofield.exp
3839 * gdb.base/offsets.exp
3840 * gdb.base/overlays.exp
3841 * gdb.base/pending.exp
3842 * gdb.base/pointers.exp
3843 * gdb.base/pr11022.exp
3844 * gdb.base/printcmds.exp
3845 * gdb.base/prologue.exp
3846 * gdb.base/ptr-typedef.exp
3847 * gdb.base/realname-expand.exp
3848 * gdb.base/relativedebug.exp
3849 * gdb.base/relocate.exp
3850 * gdb.base/remote.exp
3851 * gdb.base/reread.exp
3852 * gdb.base/return2.exp
3853 * gdb.base/savedregs.exp
3854 * gdb.base/sep.exp
3855 * gdb.base/sepdebug.exp
3856 * gdb.base/sepsymtab.exp
3857 * gdb.base/set-inferior-tty.exp
3858 * gdb.base/setshow.exp
3859 * gdb.base/shlib-call.exp
3860 * gdb.base/sigaltstack.exp
3861 * gdb.base/siginfo-addr.exp
3862 * gdb.base/signals.exp
3863 * gdb.base/signull.exp
3864 * gdb.base/sigrepeat.exp
3865 * gdb.base/so-impl-ld.exp
3866 * gdb.base/solib-display.exp
3867 * gdb.base/solib-overlap.exp
3868 * gdb.base/solib-search.exp
3869 * gdb.base/solib-symbol.exp
3870 * gdb.base/structs.exp
3871 * gdb.base/structs2.exp
3872 * gdb.base/symtab-search-order.exp
3873 * gdb.base/twice.exp
3874 * gdb.base/unload.exp
3875 * gdb.base/varargs.exp
3876 * gdb.base/watchpoint-solib.exp
3877 * gdb.base/watchpoint.exp
3878 * gdb.base/whatis.exp
3879 * gdb.base/wrong_frame_bt_full.exp
3880 * gdb.btrace/dlopen.exp
3881 * gdb.cell/ea-standalone.exp
3882 * gdb.cell/ea-test.exp
3883 * gdb.cp/dispcxx.exp
3884 * gdb.cp/gdb2384.exp
3885 * gdb.cp/method2.exp
3886 * gdb.cp/nextoverthrow.exp
3887 * gdb.cp/pr10728.exp
3888 * gdb.disasm/am33.exp
3889 * gdb.disasm/h8300s.exp
3890 * gdb.disasm/mn10300.exp
3891 * gdb.disasm/sh3.exp
3892 * gdb.dwarf2/dw2-dir-file-name.exp
3893 * gdb.fortran/complex.exp
3894 * gdb.fortran/library-module.exp
3895 * gdb.guile/scm-pretty-print.exp
3896 * gdb.guile/scm-symbol.exp
3897 * gdb.guile/scm-type.exp
3898 * gdb.guile/scm-value.exp
3899 * gdb.linespec/linespec.exp
3900 * gdb.mi/gdb701.exp
3901 * gdb.mi/gdb792.exp
3902 * gdb.mi/mi-breakpoint-changed.exp
3903 * gdb.mi/mi-dprintf-pending.exp
3904 * gdb.mi/mi-dprintf.exp
3905 * gdb.mi/mi-exit-code.exp
3906 * gdb.mi/mi-pending.exp
3907 * gdb.mi/mi-solib.exp
3908 * gdb.mi/new-ui-mi-sync.exp
3909 * gdb.mi/pr11022.exp
3910 * gdb.mi/user-selected-context-sync.exp
3911 * gdb.opt/solib-intra-step.exp
3912 * gdb.python/py-events.exp
3913 * gdb.python/py-finish-breakpoint.exp
3914 * gdb.python/py-mi.exp
3915 * gdb.python/py-prettyprint.exp
3916 * gdb.python/py-shared.exp
3917 * gdb.python/py-symbol.exp
3918 * gdb.python/py-template.exp
3919 * gdb.python/py-type.exp
3920 * gdb.python/py-value.exp
3921 * gdb.reverse/solib-precsave.exp
3922 * gdb.reverse/solib-reverse.exp
3923 * gdb.server/solib-list.exp
3924 * gdb.stabs/weird.exp
3925 * gdb.threads/reconnect-signal.exp
3926 * gdb.threads/stepi-random-signal.exp
3927 * gdb.trace/actions.exp
3928 * gdb.trace/ax.exp
3929 * gdb.trace/backtrace.exp
3930 * gdb.trace/change-loc.exp
3931 * gdb.trace/deltrace.exp
3932 * gdb.trace/ftrace-lock.exp
3933 * gdb.trace/ftrace.exp
3934 * gdb.trace/infotrace.exp
3935 * gdb.trace/mi-tracepoint-changed.exp
3936 * gdb.trace/packetlen.exp
3937 * gdb.trace/passcount.exp
3938 * gdb.trace/pending.exp
3939 * gdb.trace/range-stepping.exp
3940 * gdb.trace/report.exp
3941 * gdb.trace/stap-trace.exp
3942 * gdb.trace/tfind.exp
3943 * gdb.trace/trace-break.exp
3944 * gdb.trace/trace-condition.exp
3945 * gdb.trace/trace-enable-disable.exp
3946 * gdb.trace/trace-mt.exp
3947 * gdb.trace/tracecmd.exp
3948 * gdb.trace/tspeed.exp
3949 * gdb.trace/tsv.exp
3950 * lib/perftest.exp
3951
fb9feb35
LM
39522016-12-01 Luis Machado <lgustavo@codesourcery.com>
3953
3954 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3955 with gdb_test_no_output.
3956 Use command as test name.
3957
cd2ddb6c
LM
39582016-12-01 Luis Machado <lgustavo@codesourcery.com>
3959
3960 Fix test names starting with uppercase throughout the files.
3961
3962 * gdb.ada/assign_1.exp
3963 * gdb.ada/boolean_expr.exp
3964 * gdb.base/arrayidx.exp
3965 * gdb.base/del.exp
3966 * gdb.base/gcore-buffer-overflow.exp
3967 * gdb.base/testenv.exp
3968 * gdb.compile/compile.exp
3969 * gdb.python/py-framefilter-invalidarg.exp
3970 * gdb.python/py-framefilter.exp
3971
bb95117e
LM
39722016-12-01 Luis Machado <lgustavo@codesourcery.com>
3973
3974 Fix test names starting with uppercase throughout the files.
3975
3976 * gdb.ada/array_return.exp
3977 * gdb.ada/expr_delims.exp
3978 * gdb.ada/mi_dyn_arr.exp
3979 * gdb.ada/mi_interface.exp
3980 * gdb.ada/mi_var_array.exp
3981 * gdb.ada/watch_arg.exp
3982 * gdb.arch/alpha-step.exp
3983 * gdb.arch/altivec-regs.exp
3984 * gdb.arch/e500-regs.exp
3985 * gdb.arch/powerpc-d128-regs.exp
3986 * gdb.base/arrayidx.exp
3987 * gdb.base/break.exp
3988 * gdb.base/checkpoint.exp
3989 * gdb.base/debug-expr.exp
3990 * gdb.base/dmsym.exp
3991 * gdb.base/radix.exp
3992 * gdb.base/sepdebug.exp
3993 * gdb.base/testenv.exp
3994 * gdb.base/watch_thread_num.exp
3995 * gdb.base/watchpoint-cond-gone.exp
3996 * gdb.cell/break.exp
3997 * gdb.cell/ea-cache.exp
3998 * gdb.compile/compile.exp
3999 * gdb.cp/gdb2495.exp
4000 * gdb.gdb/selftest.exp
4001 * gdb.gdb/xfullpath.exp
4002 * gdb.go/hello.exp
4003 * gdb.go/integers.exp
4004 * gdb.objc/basicclass.exp
4005 * gdb.pascal/hello.exp
4006 * gdb.pascal/integers.exp
4007 * gdb.python/py-breakpoint.exp
4008 * gdb.python/py-cmd.exp
4009 * gdb.python/py-linetable.exp
4010 * gdb.python/py-xmethods.exp
4011 * gdb.python/python.exp
4012 * gdb.reverse/consecutive-precsave.exp
4013 * gdb.reverse/finish-precsave.exp
4014 * gdb.reverse/i386-precsave.exp
4015 * gdb.reverse/machinestate-precsave.exp
4016 * gdb.reverse/sigall-precsave.exp
4017 * gdb.reverse/solib-precsave.exp
4018 * gdb.reverse/step-precsave.exp
4019 * gdb.reverse/until-precsave.exp
4020 * gdb.reverse/watch-precsave.exp
4021 * gdb.threads/leader-exit.exp
4022 * gdb.threads/pthreads.exp
4023 * gdb.threads/wp-replication.exp
4024 * gdb.trace/actions.exp
4025 * gdb.trace/mi-tsv-changed.exp
4026 * gdb.trace/tsv.exp
4027
de97fdd4
LM
40282016-12-01 Luis Machado <lgustavo@codesourcery.com>
4029
4030 Fix test names starting with uppercase throughout the files.
4031
4032 * gdb.arch/i386-bp_permanent.exp
4033 * gdb.arch/i386-gnu-cfi.exp
4034 * gdb.base/disasm-end-cu.exp
4035 * gdb.base/macscp.exp
4036 * gdb.base/pending.exp
4037 * gdb.base/watch_thread_num.exp
4038 * gdb.cp/exception.exp
4039 * gdb.cp/gdb2495.exp
4040 * gdb.cp/local.exp
4041 * gdb.python/py-evsignal.exp
4042 * gdb.python/python.exp
4043 * gdb.trace/tracecmd.exp
4044
9f058c10
LM
40452016-12-01 Luis Machado <lgustavo@codesourcery.com>
4046
4047 Fix test names starting with uppercase throughout the files.
4048
4049 * gdb.base/charset.exp
4050 * gdb.base/eval.exp
4051 * gdb.base/multi-forks.exp
4052 * gdb.guile/scm-progspace.exp
4053 * gdb.opencl/datatypes.exp
4054 * gdb.python/py-block.exp
4055 * gdb.python/py-function.exp
4056 * gdb.python/py-symbol.exp
4057 * gdb.python/py-symtab.exp
4058 * gdb.python/py-xmethods.exp
4059 * gdb.reverse/break-precsave.exp
4060 * gdb.reverse/break-reverse.exp
4061 * gdb.reverse/consecutive-precsave.exp
4062 * gdb.reverse/consecutive-reverse.exp
4063 * gdb.reverse/finish-precsave.exp
4064 * gdb.reverse/finish-reverse-bkpt.exp
4065 * gdb.reverse/finish-reverse.exp
4066 * gdb.reverse/fstatat-reverse.exp
4067 * gdb.reverse/getresuid-reverse.exp
4068 * gdb.reverse/i386-precsave.exp
4069 * gdb.reverse/i386-reverse.exp
4070 * gdb.reverse/i386-sse-reverse.exp
4071 * gdb.reverse/i387-stack-reverse.exp
4072 * gdb.reverse/insn-reverse.exp
4073 * gdb.reverse/machinestate-precsave.exp
4074 * gdb.reverse/machinestate.exp
4075 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4076 * gdb.reverse/pipe-reverse.exp
4077 * gdb.reverse/readv-reverse.exp
4078 * gdb.reverse/recvmsg-reverse.exp
4079 * gdb.reverse/rerun-prec.exp
4080 * gdb.reverse/s390-mvcle.exp
4081 * gdb.reverse/sigall-precsave.exp
4082 * gdb.reverse/sigall-reverse.exp
4083 * gdb.reverse/solib-precsave.exp
4084 * gdb.reverse/solib-reverse.exp
4085 * gdb.reverse/step-precsave.exp
4086 * gdb.reverse/step-reverse.exp
4087 * gdb.reverse/time-reverse.exp
4088 * gdb.reverse/until-precsave.exp
4089 * gdb.reverse/until-reverse.exp
4090 * gdb.reverse/waitpid-reverse.exp
4091 * gdb.reverse/watch-precsave.exp
4092 * gdb.reverse/watch-reverse.exp
4093
cdc7edd7
LM
40942016-12-01 Luis Machado <lgustavo@codesourcery.com>
4095
4096 Fix test names starting with uppercase throughout the files.
4097
4098 * gdb.arch/i386-mpx-simple_segv.exp
4099 * gdb.arch/i386-mpx.exp
4100 * gdb.arch/i386-permbkpt.exp
4101 * gdb.arch/pa-nullify.exp
4102 * gdb.arch/powerpc-d128-regs.exp
4103 * gdb.arch/vsx-regs.exp
4104 * gdb.base/bfp-test.exp
4105 * gdb.base/break.exp
4106 * gdb.base/breakpoint-shadow.exp
4107 * gdb.base/callfuncs.exp
4108 * gdb.base/charset.exp
4109 * gdb.base/commands.exp
4110 * gdb.base/completion.exp
4111 * gdb.base/dfp-test.exp
4112 * gdb.base/echo.exp
4113 * gdb.base/ending-run.exp
4114 * gdb.base/eval.exp
4115 * gdb.base/expand-psymtabs.exp
4116 * gdb.base/float128.exp
4117 * gdb.base/floatn.exp
4118 * gdb.base/foll-exec-mode.exp
4119 * gdb.base/gdb1056.exp
4120 * gdb.base/gdb11531.exp
4121 * gdb.base/kill-after-signal.exp
4122 * gdb.base/multi-forks.exp
4123 * gdb.base/overlays.exp
4124 * gdb.base/pending.exp
4125 * gdb.base/sepdebug.exp
4126 * gdb.base/testenv.exp
4127 * gdb.base/valgrind-db-attach.exp
4128 * gdb.base/watch_thread_num.exp
4129 * gdb.base/watchpoint-cond-gone.exp
4130 * gdb.base/watchpoint.exp
4131 * gdb.base/watchpoints.exp
4132 * gdb.cp/arg-reference.exp
4133 * gdb.cp/baseenum.exp
4134 * gdb.cp/operator.exp
4135 * gdb.cp/shadow.exp
4136 * gdb.dwarf2/dw2-op-out-param.exp
4137 * gdb.dwarf2/dw2-reg-undefined.exp
4138 * gdb.go/chan.exp
4139 * gdb.go/hello.exp
4140 * gdb.go/integers.exp
4141 * gdb.go/methods.exp
4142 * gdb.go/package.exp
4143 * gdb.guile/scm-parameter.exp
4144 * gdb.guile/scm-progspace.exp
4145 * gdb.guile/scm-value.exp
4146 * gdb.mi/mi-pending.exp
4147 * gdb.mi/user-selected-context-sync.exp
4148 * gdb.multi/multi-attach.exp
4149 * gdb.multi/tids.exp
4150 * gdb.opt/clobbered-registers-O2.exp
4151 * gdb.pascal/floats.exp
4152 * gdb.pascal/integers.exp
4153 * gdb.python/py-block.exp
4154 * gdb.python/py-events.exp
4155 * gdb.python/py-parameter.exp
4156 * gdb.python/py-symbol.exp
4157 * gdb.python/py-symtab.exp
4158 * gdb.python/py-type.exp
4159 * gdb.python/py-value.exp
4160 * gdb.python/py-xmethods.exp
4161 * gdb.python/python.exp
4162 * gdb.reverse/break-precsave.exp
4163 * gdb.reverse/consecutive-precsave.exp
4164 * gdb.reverse/finish-precsave.exp
4165 * gdb.reverse/i386-precsave.exp
4166 * gdb.reverse/machinestate-precsave.exp
4167 * gdb.reverse/sigall-precsave.exp
4168 * gdb.reverse/solib-precsave.exp
4169 * gdb.reverse/step-precsave.exp
4170 * gdb.reverse/until-precsave.exp
4171 * gdb.reverse/watch-precsave.exp
4172 * gdb.server/ext-attach.exp
4173 * gdb.server/ext-restart.exp
4174 * gdb.server/ext-run.exp
4175 * gdb.server/ext-wrapper.exp
4176 * gdb.stabs/gdb11479.exp
4177 * gdb.stabs/weird.exp
4178 * gdb.threads/attach-many-short-lived-threads.exp
4179 * gdb.threads/kill.exp
4180 * gdb.threads/watchpoint-fork.exp
4181
bc6c7af4
LM
41822016-12-01 Luis Machado <lgustavo@codesourcery.com>
4183
4184 Fix test names starting with uppercase throughout all the files below.
4185
4186 * gdb.ada/array_return.exp
4187 * gdb.ada/catch_ex.exp
4188 * gdb.ada/info_exc.exp
4189 * gdb.ada/mi_catch_ex.exp
4190 * gdb.ada/mi_dyn_arr.exp
4191 * gdb.ada/mi_ex_cond.exp
4192 * gdb.ada/mi_exc_info.exp
4193 * gdb.ada/mi_interface.exp
4194 * gdb.ada/mi_task_arg.exp
4195 * gdb.ada/mi_task_info.exp
4196 * gdb.ada/mi_var_array.exp
4197 * gdb.arch/alpha-step.exp
4198 * gdb.arch/amd64-disp-step.exp
4199 * gdb.arch/arm-disp-step.exp
4200 * gdb.arch/disp-step-insn-reloc.exp
4201 * gdb.arch/e500-prologue.exp
4202 * gdb.arch/ftrace-insn-reloc.exp
4203 * gdb.arch/gdb1558.exp
4204 * gdb.arch/i386-bp_permanent.exp
4205 * gdb.arch/i386-disp-step.exp
4206 * gdb.arch/i386-float.exp
4207 * gdb.arch/i386-gnu-cfi.exp
4208 * gdb.arch/ia64-breakpoint-shadow.exp
4209 * gdb.arch/mips16-thunks.exp
4210 * gdb.arch/pa-nullify.exp
4211 * gdb.arch/powerpc-aix-prologue.exp
4212 * gdb.arch/powerpc-power.exp
4213 * gdb.arch/ppc-dfp.exp
4214 * gdb.arch/s390-tdbregs.exp
4215 * gdb.arch/spu-info.exp
4216 * gdb.arch/spu-ls.exp
4217 * gdb.arch/thumb-bx-pc.exp
4218 * gdb.base/advance.exp
4219 * gdb.base/annota-input-while-running.exp
4220 * gdb.base/arrayidx.exp
4221 * gdb.base/asmlabel.exp
4222 * gdb.base/async.exp
4223 * gdb.base/attach-wait-input.exp
4224 * gdb.base/auto-connect-native-target.exp
4225 * gdb.base/batch-preserve-term-settings.exp
4226 * gdb.base/bfp-test.exp
4227 * gdb.base/bigcore.exp
4228 * gdb.base/bp-permanent.exp
4229 * gdb.base/break-always.exp
4230 * gdb.base/break-fun-addr.exp
4231 * gdb.base/break-idempotent.exp
4232 * gdb.base/break-main-file-remove-fail.exp
4233 * gdb.base/break-probes.exp
4234 * gdb.base/break-unload-file.exp
4235 * gdb.base/break.exp
4236 * gdb.base/call-ar-st.exp
4237 * gdb.base/call-rt-st.exp
4238 * gdb.base/call-sc.exp
4239 * gdb.base/call-signal-resume.exp
4240 * gdb.base/call-strs.exp
4241 * gdb.base/callexit.exp
4242 * gdb.base/callfuncs.exp
4243 * gdb.base/catch-gdb-caused-signals.exp
4244 * gdb.base/catch-signal-siginfo-cond.exp
4245 * gdb.base/catch-syscall.exp
4246 * gdb.base/compare-sections.exp
4247 * gdb.base/cond-eval-mode.exp
4248 * gdb.base/condbreak-call-false.exp
4249 * gdb.base/consecutive-step-over.exp
4250 * gdb.base/cursal.exp
4251 * gdb.base/disabled-location.exp
4252 * gdb.base/disasm-end-cu.exp
4253 * gdb.base/display.exp
4254 * gdb.base/double-prompt-target-event-error.exp
4255 * gdb.base/dprintf-bp-same-addr.exp
4256 * gdb.base/dprintf-detach.exp
4257 * gdb.base/dprintf-next.exp
4258 * gdb.base/dprintf-non-stop.exp
4259 * gdb.base/dprintf-pending.exp
4260 * gdb.base/dso2dso.exp
4261 * gdb.base/ending-run.exp
4262 * gdb.base/enum_cond.exp
4263 * gdb.base/examine-backward.exp
4264 * gdb.base/exe-lock.exp
4265 * gdb.base/exec-invalid-sysroot.exp
4266 * gdb.base/execl-update-breakpoints.exp
4267 * gdb.base/execution-termios.exp
4268 * gdb.base/fileio.exp
4269 * gdb.base/fixsection.exp
4270 * gdb.base/foll-exec-mode.exp
4271 * gdb.base/foll-exec.exp
4272 * gdb.base/fork-running-state.exp
4273 * gdb.base/frame-args.exp
4274 * gdb.base/fullpath-expand.exp
4275 * gdb.base/func-ptr.exp
4276 * gdb.base/gcore-relro-pie.exp
4277 * gdb.base/gdb1090.exp
4278 * gdb.base/gdb1555.exp
4279 * gdb.base/global-var-nested-by-dso.exp
4280 * gdb.base/gnu-ifunc.exp
4281 * gdb.base/hbreak-in-shr-unsupported.exp
4282 * gdb.base/hbreak-unmapped.exp
4283 * gdb.base/hook-stop.exp
4284 * gdb.base/infcall-input.exp
4285 * gdb.base/info-fun.exp
4286 * gdb.base/info-shared.exp
4287 * gdb.base/interrupt-noterm.exp
4288 * gdb.base/jit-so.exp
4289 * gdb.base/jit.exp
4290 * gdb.base/line-symtabs.exp
4291 * gdb.base/list.exp
4292 * gdb.base/longjmp.exp
4293 * gdb.base/macscp.exp
4294 * gdb.base/max-value-size.exp
4295 * gdb.base/nodebug.exp
4296 * gdb.base/nofield.exp
4297 * gdb.base/overlays.exp
4298 * gdb.base/paginate-after-ctrl-c-running.exp
4299 * gdb.base/paginate-bg-execution.exp
4300 * gdb.base/paginate-inferior-exit.exp
4301 * gdb.base/pending.exp
4302 * gdb.base/pr11022.exp
4303 * gdb.base/printcmds.exp
4304 * gdb.base/ptr-typedef.exp
4305 * gdb.base/ptype.exp
4306 * gdb.base/randomize.exp
4307 * gdb.base/range-stepping.exp
4308 * gdb.base/realname-expand.exp
4309 * gdb.base/relativedebug.exp
4310 * gdb.base/remote.exp
4311 * gdb.base/savedregs.exp
4312 * gdb.base/sepdebug.exp
4313 * gdb.base/set-noassign.exp
4314 * gdb.base/shlib-call.exp
4315 * gdb.base/shreloc.exp
4316 * gdb.base/sigaltstack.exp
4317 * gdb.base/sigbpt.exp
4318 * gdb.base/siginfo-addr.exp
4319 * gdb.base/siginfo-obj.exp
4320 * gdb.base/siginfo-thread.exp
4321 * gdb.base/signest.exp
4322 * gdb.base/signull.exp
4323 * gdb.base/sigrepeat.exp
4324 * gdb.base/skip.exp
4325 * gdb.base/so-impl-ld.exp
4326 * gdb.base/solib-corrupted.exp
4327 * gdb.base/solib-disc.exp
4328 * gdb.base/solib-display.exp
4329 * gdb.base/solib-overlap.exp
4330 * gdb.base/solib-search.exp
4331 * gdb.base/solib-symbol.exp
4332 * gdb.base/source-execution.exp
4333 * gdb.base/sss-bp-on-user-bp-2.exp
4334 * gdb.base/sss-bp-on-user-bp.exp
4335 * gdb.base/stack-checking.exp
4336 * gdb.base/stale-infcall.exp
4337 * gdb.base/step-break.exp
4338 * gdb.base/step-line.exp
4339 * gdb.base/step-over-exit.exp
4340 * gdb.base/step-test.exp
4341 * gdb.base/structs.exp
4342 * gdb.base/sym-file.exp
4343 * gdb.base/symtab-search-order.exp
4344 * gdb.base/term.exp
4345 * gdb.base/type-opaque.exp
4346 * gdb.base/unload.exp
4347 * gdb.base/until-nodebug.exp
4348 * gdb.base/until.exp
4349 * gdb.base/unwindonsignal.exp
4350 * gdb.base/watch-cond.exp
4351 * gdb.base/watch-non-mem.exp
4352 * gdb.base/watch_thread_num.exp
4353 * gdb.base/watchpoint-reuse-slot.exp
4354 * gdb.base/watchpoint-solib.exp
4355 * gdb.base/watchpoint.exp
4356 * gdb.btrace/dlopen.exp
4357 * gdb.cell/arch.exp
4358 * gdb.cell/break.exp
4359 * gdb.cell/bt.exp
4360 * gdb.cell/core.exp
4361 * gdb.cell/data.exp
4362 * gdb.cell/dwarfaddr.exp
4363 * gdb.cell/ea-cache.exp
4364 * gdb.cell/ea-standalone.exp
4365 * gdb.cell/ea-test.exp
4366 * gdb.cell/f-regs.exp
4367 * gdb.cell/fork.exp
4368 * gdb.cell/gcore.exp
4369 * gdb.cell/mem-access.exp
4370 * gdb.cell/ptype.exp
4371 * gdb.cell/registers.exp
4372 * gdb.cell/sizeof.exp
4373 * gdb.cell/solib-symbol.exp
4374 * gdb.cell/solib.exp
4375 * gdb.compile/compile-tls.exp
4376 * gdb.cp/exception.exp
4377 * gdb.cp/gdb2495.exp
4378 * gdb.cp/local.exp
4379 * gdb.cp/mb-inline.exp
4380 * gdb.cp/mb-templates.exp
4381 * gdb.cp/pr10687.exp
4382 * gdb.cp/pr9167.exp
4383 * gdb.cp/scope-err.exp
4384 * gdb.cp/templates.exp
4385 * gdb.cp/virtfunc.exp
4386 * gdb.dwarf2/dw2-dir-file-name.exp
4387 * gdb.dwarf2/dw2-single-line-discriminators.exp
4388 * gdb.fortran/complex.exp
4389 * gdb.fortran/library-module.exp
4390 * gdb.guile/guile.exp
4391 * gdb.guile/scm-cmd.exp
4392 * gdb.guile/scm-frame-inline.exp
4393 * gdb.guile/scm-objfile.exp
4394 * gdb.guile/scm-pretty-print.exp
4395 * gdb.guile/scm-symbol.exp
4396 * gdb.guile/scm-type.exp
4397 * gdb.guile/scm-value.exp
4398 * gdb.linespec/keywords.exp
4399 * gdb.linespec/ls-errs.exp
4400 * gdb.linespec/macro-relative.exp
4401 * gdb.linespec/thread.exp
4402 * gdb.mi/mi-breakpoint-changed.exp
4403 * gdb.mi/mi-dprintf-pending.exp
4404 * gdb.mi/mi-fullname-deleted.exp
4405 * gdb.mi/mi-logging.exp
4406 * gdb.mi/mi-pending.exp
4407 * gdb.mi/mi-solib.exp
4408 * gdb.mi/new-ui-mi-sync.exp
4409 * gdb.mi/user-selected-context-sync.exp
4410 * gdb.multi/dummy-frame-restore.exp
4411 * gdb.multi/multi-arch-exec.exp
4412 * gdb.multi/remove-inferiors.exp
4413 * gdb.multi/watchpoint-multi-exit.exp
4414 * gdb.opt/solib-intra-step.exp
4415 * gdb.perf/backtrace.exp
4416 * gdb.perf/single-step.exp
4417 * gdb.perf/skip-command.exp
4418 * gdb.perf/skip-prologue.exp
4419 * gdb.perf/solib.exp
4420 * gdb.python/lib-types.exp
4421 * gdb.python/py-as-string.exp
4422 * gdb.python/py-bad-printers.exp
4423 * gdb.python/py-block.exp
4424 * gdb.python/py-breakpoint.exp
4425 * gdb.python/py-cmd.exp
4426 * gdb.python/py-events.exp
4427 * gdb.python/py-evthreads.exp
4428 * gdb.python/py-finish-breakpoint.exp
4429 * gdb.python/py-finish-breakpoint2.exp
4430 * gdb.python/py-frame-inline.exp
4431 * gdb.python/py-frame.exp
4432 * gdb.python/py-inferior.exp
4433 * gdb.python/py-infthread.exp
4434 * gdb.python/py-mi.exp
4435 * gdb.python/py-objfile.exp
4436 * gdb.python/py-pp-maint.exp
4437 * gdb.python/py-pp-registration.exp
4438 * gdb.python/py-prettyprint.exp
4439 * gdb.python/py-recurse-unwind.exp
4440 * gdb.python/py-shared.exp
4441 * gdb.python/py-symbol.exp
4442 * gdb.python/py-symtab.exp
4443 * gdb.python/py-template.exp
4444 * gdb.python/py-type.exp
4445 * gdb.python/py-unwind-maint.exp
4446 * gdb.python/py-unwind.exp
4447 * gdb.python/py-value.exp
4448 * gdb.python/python.exp
4449 * gdb.reverse/finish-reverse-bkpt.exp
4450 * gdb.reverse/insn-reverse.exp
4451 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4452 * gdb.reverse/solib-precsave.exp
4453 * gdb.reverse/solib-reverse.exp
4454 * gdb.stabs/gdb11479.exp
4455 * gdb.stabs/weird.exp
4456 * gdb.threads/fork-child-threads.exp
4457 * gdb.threads/fork-plus-threads.exp
4458 * gdb.threads/fork-thread-pending.exp
4459 * gdb.threads/forking-threads-plus-breakpoint.exp
4460 * gdb.threads/hand-call-in-threads.exp
4461 * gdb.threads/interrupted-hand-call.exp
4462 * gdb.threads/linux-dp.exp
4463 * gdb.threads/local-watch-wrong-thread.exp
4464 * gdb.threads/next-while-other-thread-longjmps.exp
4465 * gdb.threads/non-ldr-exit.exp
4466 * gdb.threads/pending-step.exp
4467 * gdb.threads/print-threads.exp
4468 * gdb.threads/process-dies-while-detaching.exp
4469 * gdb.threads/process-dies-while-handling-bp.exp
4470 * gdb.threads/pthreads.exp
4471 * gdb.threads/queue-signal.exp
4472 * gdb.threads/reconnect-signal.exp
4473 * gdb.threads/signal-command-handle-nopass.exp
4474 * gdb.threads/signal-command-multiple-signals-pending.exp
4475 * gdb.threads/signal-delivered-right-thread.exp
4476 * gdb.threads/signal-sigtrap.exp
4477 * gdb.threads/sigthread.exp
4478 * gdb.threads/staticthreads.exp
4479 * gdb.threads/stepi-random-signal.exp
4480 * gdb.threads/thread-unwindonsignal.exp
4481 * gdb.threads/thread_check.exp
4482 * gdb.threads/thread_events.exp
4483 * gdb.threads/tid-reuse.exp
4484 * gdb.threads/tls-nodebug.exp
4485 * gdb.threads/tls-shared.exp
4486 * gdb.threads/tls-so_extern.exp
4487 * gdb.threads/tls.exp
4488 * gdb.threads/wp-replication.exp
4489 * gdb.trace/actions-changed.exp
4490 * gdb.trace/actions.exp
4491 * gdb.trace/backtrace.exp
4492 * gdb.trace/change-loc.exp
4493 * gdb.trace/collection.exp
4494 * gdb.trace/deltrace.exp
4495 * gdb.trace/disconnected-tracing.exp
4496 * gdb.trace/entry-values.exp
4497 * gdb.trace/ftrace-lock.exp
4498 * gdb.trace/ftrace.exp
4499 * gdb.trace/infotrace.exp
4500 * gdb.trace/mi-trace-frame-collected.exp
4501 * gdb.trace/mi-trace-unavailable.exp
4502 * gdb.trace/mi-traceframe-changed.exp
4503 * gdb.trace/mi-tracepoint-changed.exp
4504 * gdb.trace/mi-tsv-changed.exp
4505 * gdb.trace/no-attach-trace.exp
4506 * gdb.trace/packetlen.exp
4507 * gdb.trace/passc-dyn.exp
4508 * gdb.trace/passcount.exp
4509 * gdb.trace/pending.exp
4510 * gdb.trace/pr16508.exp
4511 * gdb.trace/qtro.exp
4512 * gdb.trace/range-stepping.exp
4513 * gdb.trace/read-memory.exp
4514 * gdb.trace/report.exp
4515 * gdb.trace/save-trace.exp
4516 * gdb.trace/signal.exp
4517 * gdb.trace/stap-trace.exp
4518 * gdb.trace/status-stop.exp
4519 * gdb.trace/strace.exp
4520 * gdb.trace/tfile.exp
4521 * gdb.trace/tfind.exp
4522 * gdb.trace/trace-break.exp
4523 * gdb.trace/trace-condition.exp
4524 * gdb.trace/trace-enable-disable.exp
4525 * gdb.trace/trace-mt.exp
4526 * gdb.trace/tracecmd.exp
4527 * gdb.trace/tracefile-pseudo-reg.exp
4528 * gdb.trace/tspeed.exp
4529 * gdb.trace/tstatus.exp
4530 * gdb.trace/tsv.exp
4531 * gdb.trace/unavailable.exp
4532 * gdb.trace/while-dyn.exp
4533 * gdb.trace/while-stepping.exp
4534 * lib/gdb-guile.exp
4535 * lib/gdb.exp
4536 * lib/mi-support.exp
4537 * lib/pascal.exp
4538 * lib/perftest.exp
4539 * lib/prelink-support.exp
4540 * lib/selftest-support.exp
4541
ad02e4fe
SM
45422016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4543
4544 * Makefile.in: Include disable-implicit-rules.mk.
4545
22347e55
AA
45462016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4547
4548 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4549 non-byte-aligned bit fields.
4550
da5b30da
AA
45512016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4552
4553 PR gdb/12616
4554 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4555 respects the DW_AT_data_bit_offset attribute.
4556
b593ecca
SM
45572016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4558
4559 * gdb.base/default.exp: Fix output of "set language".
4560
3b165252
SM
45612016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4562
4563 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4564 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4565 make.
4566 * configure.ac: Remove checks for the make program.
4567 * configure: Re-generate.
4568
1a2f3d7f
KB
45692016-11-16 Kevin Buettner <kevinb@redhat.com>
4570
4571 * gdb.python/py-recurse-unwind.c (main): Add loop.
4572 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4573 to read_register() and gdb.parse_and_eval(). Make each code
4574 call a separate case that can be individually tested.
4575 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4576 proc. Call cont_and_backtrace for each of the code paths that
4577 we want to test in the unwinder.
4578
b7f38fda
AA
45792016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580
4581 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4582 the definition of struct S.
4583
1f8db343
CM
45842016-11-11 Catherine Moore <clm@codesourcery.com>
4585
4586 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4587
fad0c9fb
PA
45882016-11-09 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.base/commands.exp (runto_or_return): New procedure.
4591 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4592 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4593 (progvar_simple_while_test, progvar_complex_if_while_test)
4594 (if_while_breakpoint_command_test)
4595 (infrun_breakpoint_command_test, breakpoint_command_test)
4596 (user_defined_command_test, watchpoint_command_test)
4597 (test_command_prompt_position, redefine_hook_test)
4598 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4599 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4600 multi_line_input and multi_line. Remove gdb_expect and
4601 gdb_stop_suppressing_tests uses.
4602 * lib/gdb.exp (valnum_re): New global.
4603 (multi_line_input): New procedure.
4604
8354c62c
SM
46052016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4606
4607 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4608 Remove.
4609 (test_setup): Define with proc_with_prefix.
4610 (test_cli_inferior): Likewise.
4611 (test_cli_thread): Likewise.
4612 (test_cli_frame): Likewise.
4613 (test_cli_select_frame): Likewise.
4614 (test_cli_up_down): Likewise.
4615 (test_mi_thread_select): Likewise.
4616 (test_mi_stack_select_frame): Likewise.
4617 (test_cli_in_mi_inferior): Likewise.
4618 (test_cli_in_mi_thread): Likewise.
4619 (test_cli_in_mi_frame): Likewise.
4620 (top level): Do not use with_test_prefix_procname.
4621
64f367a2
PA
46222016-11-09 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.base/commands.exp (gdbvar_simple_if_test)
4625 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4626 (progvar_simple_if_test, progvar_simple_while_test)
4627 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4628 (infrun_breakpoint_command_test, breakpoint_command_test)
4629 (user_defined_command_test, watchpoint_command_test)
4630 (test_command_prompt_position, deprecated_command_test)
4631 (bp_deleted_in_command, temporary_breakpoint_commands)
4632 (stray_arg0_test, source_file_with_indented_comment)
4633 (recursive_source_test, if_commands_test)
4634 (error_clears_commands_left, redefine_hook_test)
4635 (redefine_backtrace_test): Use proc_with_prefix.
4636 * lib/gdb.exp (proc_with_prefix): New proc.
4637
0bb65f1e
AA
46382016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4639
4640 * gdb.base/tui-layout.c: New file.
4641 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4642 disassembly window contains very long lines.
4643
7353f247
TT
46442016-11-08 Tom Tromey <tom@tromey.com>
4645
4646 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4647 depend on Python 2.
4648
30a7bb83
TT
46492016-11-08 Tom Tromey <tom@tromey.com>
4650
4651 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4652 New method.
4653
cdf5a07c
MG
46542016-10-29 Manish Goregaokar <manish@mozilla.com>
4655
2806dc7e 4656 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 4657
51a789c3
MG
46582016-10-27 Manish Goregaokar <manish@mozilla.com>
4659
2806dc7e
PA
4660 * gdb.rust/simple.rs: Add test for univariant enums without
4661 discriminants and for encoded struct-like enums.
51a789c3 4662
f610ab6d
PA
46632016-10-28 Pedro Alves <palves@redhat.com>
4664
4665 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4666 gdb_test_multiple, tighten regexps and match symtabs and line
4667 tables incrementally.
4668
b129b0ca
LM
46692016-10-28 Luis Machado <lgustavo@codesourcery.com>
4670
4671 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4672 general.
4673
ecf45d2c
SL
46742016-10-25 Luis Machado <lgustavo@codesourcery.com>
4675
4676 * gdb.base/exec-invalid-sysroot.exp: New file.
4677
b8d38ee4
JK
46782016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4679
4680 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4681
f90fd8c2
JK
46822016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4683
4684 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4685
2d2476aa
MR
46862016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4687
2806dc7e
PA
4688 * gdb.base/killed-outside.exp: Remove $options from a call to
4689 `prepare_for_testing'.
2d2476aa 4690
e42b25a0
SM
46912016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4692
4693 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4694 Change test message.
4695
3ccdb432
SM
46962016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4697
4698 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4699 Update comment.
4700
5bad3170
SM
47012016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4702
4703 * gdb.trace/mi-trace-save.exp: New file.
4704
5ad9dba7
YQ
47052016-10-13 Yao Qi <yao.qi@linaro.org>
4706
4707 * gdb.base/code_elim.exp (get_var_address): Remove.
4708 * gdb.base/relocate.exp: Likewise.
4709 * gdb.base/shreloc.exp: Likewise.
4710 * lib/gdb.exp (get_var_address): New.
4711
62df7e21
YQ
47122016-10-13 Yao Qi <yao.qi@linaro.org>
4713
4714 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4715 floating point tests if $skip_float_test is false.
4716
4dac951e
LM
47172016-10-12 Luis Machado <lgustavo@codesourcery.com>
4718
4719 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4720 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4721 argc values.
4722 Add 1 to argc so we guarantee distinct initial/modified argc values.
4723
8f1a8fc4
JK
47242016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4727
16c85b5d
JK
47282016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4729
4730 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4731 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4732 * gdb.arch/vsx-regs.exp: Likewise.
4733
1d0e042a
YQ
47342016-10-07 Yao Qi <yao.qi@linaro.org>
4735
4736 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4737
68dadef5
MM
47382016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4739
4740 * gdb.python/python.exp: Test decode_line("*0").
4741
33fa2c6e
DE
47422016-10-06 Doug Evans <dje@google.com>
4743
4744 * gdb.python/py-value.exp (test_value_creation): Add test for large
4745 unsigned 64-bit value.
4746
9c37b5ae
TT
47472016-10-06 Tom Tromey <tom@tromey.com>
4748
4749 * gdb.compile/compile.exp: Change java tests to rust.
4750 * gdb.base/setshow.exp: Change java tests to rust.
4751 * gdb.base/default.exp: Remove java from language list.
4752 * README (Examples): Update language example.
4753 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4754 test.
4755 * lib/gdb.exp (skip_java_tests): Remove.
4756 * lib/java.exp: Remove.
4757 * gdb.java: Remove.
4758
78b86327
MR
47592016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4760
4761 * gdb.arch/mips-fcr.exp: New test.
4762 * gdb.arch/mips-fcr.c: Source for the new test.
4763
7470adbb
MR
47642016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4765
4766 * gdb.base/solib-disc.exp: Use `standard_output_file'
4767 throughout.
4768
4a556533
PA
47692016-10-06 Pedro Alves <palves@redhat.com>
4770
4771 * gdb.base/jit-simple-dl.c: New file.
4772 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4773 * gdb.base/jit-simple.c: ... this.
4774 * gdb.base/jit-simple.exp (jit_run): Delete.
4775 (build_jit): New proc.
4776 (jit_test_reread): Recompile either the main program or the shared
4777 library, depending on what is being tested. Skip changing address
4778 if caller wants to. Compare before/after addresses. If testing
4779 standalone, explicitly load the binary. Test "maint info
4780 breakpoints".
4781 (top level): Add "standalone vs shared lib" and "change address"
4782 vs "same address" axes.
4783
5a122fbc
PA
47842016-10-06 Pedro Alves <palves@redhat.com>
4785
4786 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4787 call.
4788 (jit_run): Delete.
4789 (jit_test_reread): Use with_test_prefix. Reload the main binary
4790 explicitly. Compare the before/after addresses of the JIT
4791 descriptor.
4792
ee8da4b8
DE
47932016-08-15 Doug Evans <dje@google.com>
4794
4795 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4796 for single bitfields is bool.
4797 * gdb.xml/tdesc-regs.exp: Ditto.
4798
f389f6fe
JK
47992016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4802
fdebf1a4
YQ
48032016-10-05 Yao Qi <yao.qi@linaro.org>
4804
4805 * lib/gdb.exp (support_complex_tests): Return zero if
4806 gdb_skip_float_test return true.
4807
9c36d954 48082016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 4809 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
4810
4811 PR gdb/20487
4812 * gdb.mi/user-selected-context-sync.exp: New file.
4813 * gdb.mi/user-selected-context-sync.c: New file.
4814
4034d0ff 48152016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 4816 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
4817
4818 PR gdb/20487
4819 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4820 =thread-select-event check.
4821
a4297203
PB
48222016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4823
4824 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4825 the compulsory L operand changes.
4826 * gdb.arch/powerpc-power.s: Likewise.
4827
bb805577
JK
48282016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4829
4830 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4831 * gdb.base/jit-attach-pie.c: New file.
4832 * gdb.base/jit-attach-pie.exp: New file.
4833
6d61dee5
PA
48342016-09-28 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.base/infcall-input.c: New file.
4837 * gdb.base/infcall-input.exp: New file.
4838
f73842fc
YQ
48392016-09-22 Yao Qi <yao.qi@linaro.org>
4840
4841 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4842 (gdb_exit): Rename it to ...
4843 (gdbserver_gdb_exit): ... Close GDBserver.
4844 (gdb_exit): New proc, call gdbserver_gdb_exit.
4845 (mi_gdb_exit): Likewise.
4846
90681dab
YQ
48472016-09-22 Yao Qi <yao.qi@linaro.org>
4848
4849 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4850 path.
4851 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4852 Remove duplication.
4853
9c211fd8
YQ
48542016-09-22 Yao Qi <yao.qi@linaro.org>
4855
4856 * lib/gdbserver-support.exp: Check the existence of
4857 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4858
ad0a504f
AK
48592016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4860
4861 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4862
36cf1806
TT
48632016-09-21 Tom Tromey <tom@tromey.com>
4864
4865 PR gdb/20604:
4866 * gdb.base/quit.exp: New file.
4867
74172ecf
SM
48682016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4869
4870 * .gitignore: New file.
4871
3d0ec882
MR
48722016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4873
4874 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4875 throughout.
4876
8193adea
AA
48772016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4878
4879 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4880
d41a5c09
JK
48812016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 * gdb.cp/casts.cc (decltype): Move it ...
4884 (main): ... with its call to ...
4885 * gdb.cp/casts03.cc: ... a new file.
4886 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4887
d2dfe700
JK
48882016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4889
4890 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4891
e2a92b16
PB
48922016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4893
4894 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4895 and sync up the test with tests in gas/testsuite/gas/ppc.
4896 * gdb.arch/powerpc-power.exp: Likewise.
4897
49b4de64
JK
48982016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4901
2c29df25
SDJ
49022016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4903 Jan Kratochvil <jan.kratochvil@redhat.com>
4904
4905 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4906 make m1's definition to be different from m2's. Use 'dummy' as an
4907 argument for probe 'two'.
4908
cc3c2846
JB
49092016-09-10 Jon Beniston <jon@beniston.com>
4910
4911 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4912 for sim target.
4913
e1b2624a
AA
49142016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4915
4916 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4917 variable declaration.
4918 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4919 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4920 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4921 received HWCAP as its argument.
4922
4295e285
PA
49232016-09-06 Pedro Alves <palves@redhat.com>
4924
4925 * gdb.base/new-ui-pending-input.c: New file.
4926 * gdb.base/new-ui-pending-input.exp: New file.
4927 * gdb.exp (clear_gdb_spawn_id): New procedure.
4928 (with_spawn_id): Check whether gdb_spawn_id exists before
4929 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4930 on exit.
4931
00d5215e
UW
49322016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4933
4934 * gdb.base/float128.c: New file.
4935 * gdb.base/float128.exp: Likewise.
4936 * gdb.base/floatn.c: Likewise.
4937 * gdb.base/floatn.exp: Likewise.
4938
a9ff5f12
UW
49392016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4940
4941 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4942
f245535c
PA
49432016-09-05 Pedro Alves <palves@redhat.com>
4944
4945 PR backtrace/19927
4946 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4947 unwinders are immediately called as side effect of "source" or
4948 "disable unwinder" commands.
4949 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4950
ae9cf263
YQ
49512016-09-02 Yao Qi <yao.qi@linaro.org>
4952
4953 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4954 is true and $type is "float" or "double".
4955
27aba047
YQ
49562016-09-02 Yao Qi <yao.qi@linaro.org>
4957
4958 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4959 true.
4960 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4961 * gdb.base/call-rt-st.exp: Likewise.
4962 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4963 return value instead of gdb,skip_float_test.
4964 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4965 (do_function_calls): Use its return value instead of
4966 gdb,skip_float_test.
4967 * gdb.base/finish.exp: Likewise.
4968 * gdb.base/funcargs.exp: Likewise.
4969 * gdb.base/return.exp: Likewise.
4970 * gdb.base/return2.exp: Likewise.
4971 * gdb.base/varargs.exp: Likewise.
4972 * lib/gdb.exp (gdb_skip_float_test): Change it to
4973 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4974
5af962df
AA
49752016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4976
4977 * gdb.multi/tids.exp: Test "thread apply all".
4978
7fac6910
JK
49792016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4980
4981 * gdb.base/default.exp (tty): Remove.
4982
bb1fe4ac
KB
49832016-08-24 Kevin Buettner <kevinb@redhat.com>
4984
2806dc7e
PA
4985 * gdb.python/py-recurse-unwind.c: New file.
4986 * gdb.python/py-recurse-unwind.py: New file.
4987 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 4988
0a1ddfa6
SM
49892016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4990
4991 * gdb.base/set-inferior-tty.exp: New file.
4992 * gdb.base/set-inferior-tty.c: New file.
4993
d9de1fe3
PA
49942016-08-23 Pedro Alves <palves@redhat.com>
4995
4996 PR gdb/20494
4997 * gdb.base/new-ui-echo.c: New file.
4998 * gdb.base/new-ui-echo.exp: New file.
4999
e9d9abd7
YQ
50002016-08-23 Yao Qi <yao.qi@linaro.org>
5001
5002 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5003 gdbserver_spawn.
5004 * gdb.server/connect-without-multi-process.exp (do_test):
5005 Likewise.
5006
3589529e
YQ
50072016-08-23 Yao Qi <yao.qi@linaro.org>
5008
5009 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5010 standalone_txt. Delete gdb_txt and standalone_txt on host
5011 and target. Spawn the binary on target. Copy files from
5012 target to host.
5013
6bb90213
PA
50142016-08-22 Pedro Alves <palves@redhat.com>
5015
5016 PR gdb/20505
5017 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5018 with_test_prefix. Factor out bits to ...
5019 (test_no_vdso): ... this new procedure.
5020
20c2c024
CL
50212016-08-19 Carl Love <cel@us.ibm.com>
5022
5023 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5024 maintaining separate logic for constructing the output path.
5025 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5026 * gdb.arch/ppc-dfp.exp: Likewise.
5027 * gdb.arch/ppc-fp.exp: Likewise.
5028 * gdb.arch/vsx-regs.exp: Likewise.
5029 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5030 binprefix for generating the additional binary files.
5031
0646e07d
PA
50322016-08-19 Pedro Alves <palves@redhat.com>
5033
5034 * gdb.trace/mi-trace-frame-collected.exp
5035 (test_trace_frame_collected): On x32, expect two registers.
5036
46da9242
CL
50372016-08-18 Carl Love <cel@us.ibm.com>
5038
5039 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5040 and sync up the test with tests in gas/testsuite/gas/ppc.
5041 * gdb.arch/powerpc-power.exp: Likewise.
5042
eb2332d7
SM
50432016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5044
5045 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5046 expected error message.
5047
63c61e04
SM
50482016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5049
5050 * gdb.multi/remove-inferiors.exp: New file.
5051 * gdb.multi/remove-inferiors.c: New file.
5052
7b17065f
YQ
50532016-08-12 Yao Qi <yao.qi@linaro.org>
5054
5055 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5056 argument list.
5057
01d3dedf
PA
50582016-08-10 Pedro Alves <palves@redhat.com>
5059
5060 PR gdb/19187
5061 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5062 setup_kfails.
5063
3eb7562a
PA
50642016-08-09 Pedro Alves <palves@redhat.com>
5065 Simon Marchi <simon.marchi@ericsson.com>
5066
5067 PR gdb/20418
5068 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5069 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5070
80614914
PA
50712016-08-09 Pedro Alves <palves@redhat.com>
5072
5073 PR mi/20431
5074 * gdb.mi/mi-cmd-error.exp: New file.
5075
f348d89a
PA
50762016-08-09 Pedro Alves <palves@redhat.com>
5077
5078 PR gdb/18653
5079 * gdb.base/signals-state-child.c: New file.
5080 * gdb.base/signals-state-child.exp: New file.
5081 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5082
e5ca03b4
PA
50832016-08-09 Pedro Alves <palves@redhat.com>
5084
5085 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5086
282a0691
TT
50872016-08-03 Tom Tromey <tom@tromey.com>
5088
5089 PR python/18565:
5090 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5091
41bfcd63
YQ
50922016-08-01 Yao Qi <yao.qi@linaro.org>
5093
5094 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5095 variable mode to "multi-process" if $multi_process is 1, otherwise
5096 set it to "single-process".
5097
e3465b24
YQ
50982016-08-01 Yao Qi <yao.qi@linaro.org>
5099
5100 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5101 * gdb.cp/cpexprs.exp: Likewise.
5102 * gdb.cp/m-static.exp: Likewise.
5103
0b31a4bc
TT
51042016-07-26 Tom Tromey <tom@tromey.com>
5105
5106 PR python/20190:
5107 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5108 test.
5109
e0461dbb
MM
51102016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5111
5112 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5113 selecting assembly source files.
5114 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5115 assembly source files.
5116 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5117 assembly source files.
5118 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5119 selecting assembly source files.
5120
8194e927
SM
51212016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5122
5123 * gdb.base/new-ui.exp (do_test_invalid_args): New
5124 procedure.
5125
c0272db5
TW
51262016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5127
5128 * gdb.btrace/reconnect.c: New file.
5129 * gdb.btrace/reconnect.exp: New file.
5130
e3487908
GKB
51312016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5132
5133 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5134 to test_catch_syscall_group.
5135 (test_catch_syscall_group): New.
5136
12df5c00
TT
51372016-07-21 Tom Tromey <tom@tromey.com>
5138
5139 * gdb.rust/simple.rs (main): Use empty struct expression.
5140 * gdb.rust/simple.exp: Add tests for empty struct expression.
5141
bae62ee2
YQ
51422016-07-21 Yao Qi <yao.qi@linaro.org>
5143
5144 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5145 if gdb_skip_xml_test is true on some targets.
5146
b1b53fb3
YQ
51472016-07-21 Yao Qi <yao.qi@linaro.org>
5148
5149 * gdb.server/solib-list.exp: Unset last_loaded_file.
5150
027d97f8
JK
51512016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5154 "step into captured_main (args)".
5155
7674d381
JK
51562016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5157
5158 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5159
72b5d099
JK
51602016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5161
5162 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5163
1f960ced
PA
51642016-07-19 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5167 * gdb.opt/inline-bt.exp: Likewise.
5168 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5169 additional_flags=-Winline.
5170 * gdb.opt/inline-locals.exp: Likewise.
5171 * gdb.opt/inline-markers.c (ATTR): Define.
5172 (inlined_fn): Use it.
5173
f25827c1
YQ
51742016-07-19 Yao Qi <yao.qi@linaro.org>
5175
5176 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5177 (test_with_self): Remove some code. Remove argument executable.
5178 (top-level): Use do_self_tests.
5179
37539ebe
DB
51802016-07-15 Zachary Welch <zwelch@codesourcery.com>
5181 Don Breazeal <donb@codesourcery.com>
5182
5183 * gdb.base/maint.exp: Escape paths used in regular expressions.
5184 * gdb.stabs/weird.exp: Likewise.
5185
dac790e1
TT
51862016-07-13 Tom Tromey <tom@tromey.com>
5187
5188 PR python/15620, PR python/18620:
5189 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5190 (test_bkpt_events): New procs.
5191
93daf339
TT
51922016-07-13 Tom Tromey <tom@tromey.com>
5193
5194 PR python/17698:
5195 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5196 test.
5197 (test_watchpoints): Likewise.
5198 (test_bkpt_pending): New proc.
5199
6571a381
TT
52002016-07-13 Tom Tromey <tom@tromey.com>
5201
5202 PR cli/18053:
5203 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5204 completion test.
5205
e8732474
JK
52062016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5209 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5210 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5211 f_label.
5212 (g): Rename g_end_lbl to g_label.
5213 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5214 low_pc and high_pc.
5215 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5216
e0f3fd7c
TT
52172016-07-12 Tom Tromey <tom@tromey.com>
5218
5219 PR python/19293:
5220 * gdb.python/py-unwind-maint.exp: Update tests.
5221
3cfe46b6
YQ
52222016-07-12 Yao Qi <yao.qi@linaro.org>
5223
5224 * lib/selftest-support.exp (selftest_setup): Match the output
5225 when captured_main is inlined.
5226
4f19a0e6
WT
52272016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5228
5229 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5230 New variables.
5231 (print this%a, print this%b, print this): New tests.
5232 * gdb.fortran/derived-types.f90 (this): New object and
5233 initialization.
5234
986cf455
SM
52352016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5236
5237 * gdb.ada/arraydim.exp: Remove extra directory level in build
5238 directory.
5239
f0464b23
SM
52402016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5241
5242 * lib/ada.exp: Remove extra directory level in build directory.
5243 * gdb.ada/cond_lang.exp: Likewise.
5244 * gdb.ada/exec_changed.exp: Likewise.
5245 * gdb.ada/lang_switch.exp: Likewise.
5246
42d94011
MG
52472016-07-06 Manish Goregaokar <manish@mozilla.com>
5248
2806dc7e
PA
5249 * simple.rs: Add test for raw pointer subscripting.
5250 * simple.exp: Add test expectations.
42d94011 5251
647c264c
YQ
52522016-07-05 Yao Qi <yao.qi@linaro.org>
5253
5254 * gdb.mi/mi-reverse.exp: Match =record-started output.
5255
20aa2c60
PA
52562016-07-01 Pedro Alves <palves@redhat.com>
5257
5258 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5259 procedure.
5260 (jit_reader_test): Test the jit reader's unwinder.
5261 * gdb.base/jithost.c (jit_function_00_code): New global.
5262 (main): Use memcpy to fill in the mmapped code, instead of poking
5263 bytes manually here.
5264 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5265 value.
5266 (read_debug_info): Save the function's range.
5267 (read_sp): New function.
5268 (unwind_frame): Use it. Also unwind RBP.
5269 (get_frame_id): Use read_sp.
5270 (gdb_init_reader): Use calloc instead of malloc.
5271 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5272 parameter. Use gdb_test_multiple.
5273
ced2dffb
PA
52742016-07-01 Pedro Alves <palves@redhat.com>
5275 Antoine Tremblay <antoine.tremblay@ericsson.com>
5276
5277 * gdb.threads/process-dies-while-detaching.c: New file.
5278 * gdb.threads/process-dies-while-detaching.exp: New file.
5279
63000888
PA
52802016-07-01 Pedro Alves <palves@redhat.com>
5281
5282 * gdb.multi/watchpoint-multi-exit.c: New file.
5283 * gdb.multi/watchpoint-multi-exit.exp: New file.
5284
038d4868
PA
52852016-06-30 Pedro Alves <palves@redhat.com>
5286
5287 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5288 unset inferior_spawn_id.
5289
994e9c83
PA
52902016-06-30 Pedro Alves <palves@redhat.com>
5291
5292 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5293 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5294
e5653468
YQ
52952016-06-29 Yao Qi <yao.qi@linaro.org>
5296
5297 * gdb.base/return.c: Add copyright header.
5298
803b47e5
TT
52992016-06-29 Tom Tromey <tom@tromey.com>
5300
5301 PR python/20129:
5302 * gdb.python/py-framefilter.exp: Add tests for setting priority
5303 and disabling of non-existent frame filter.
5304
28244707
YQ
53052016-06-29 Yao Qi <yao.qi@linaro.org>
5306
5307 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5308 0x0f07ff.
5309
a31d2f06
YQ
53102016-06-28 Yao Qi <yao.qi@linaro.org>
5311
5312 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5313 triplets. Start gdb, execute catch syscall, and continue. Check
5314 gdb's output to determine catch syscall is supported.
5315
921d8f54
MG
53162016-06-27 Manish Goregaokar <manish@mozilla.com>
5317
25d49b86
PA
5318 * gdb.rust/simple.rs: Add test for returning unit in a function.
5319 * gdb.rust/simple.exp: Add expectation for functions returning
5320 unit.
921d8f54 5321
f4952523
PMR
53222016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5323
5324 * gdb.python/py-breakpoint-create-fail.c,
5325 gdb.python/py-breakpoint-create-fail.exp,
5326 gdb.python/py-breakpoint-create-fail.py: New testcase.
5327
fccb08f8
MG
53282016-06-25 Manish Goregaokar <manish@mozilla.com>
5329
5330 PR gdb/20239
5331 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
5332 * gdb.rust/simple.exp: Add test expectations for new NonZero
5333 tests.
fccb08f8 5334
6b850546
DT
53352016-06-24 David Taylor <dtaylor@emc.com>
5336
5337 * gdb.base/offsets.exp: New file.
5338 * gdb.base/offsets.c: New file.
5339
17621150
TT
53402016-06-23 Tom Tromey <tom@tromey.com>
5341
5342 PR gdb/16483:
5343 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5344 before any filters are loaded.
5345
04d59df6
WT
53462016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5347
5348 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5349 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5350 structs.
5351 * gdb.fortran/derived-type-function.exp: New file.
5352 * gdb.fortran/derived-type-function.f90: New file.
5353
5354
ac69f786
PA
53552016-06-21 Pedro Alves <palves@redhat.com>
5356
5357 * gdb.base/new-ui.exp: New file.
5358 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5359 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5360 (with_spawn_id): New procedure.
5361
49940788
PA
53622016-06-21 Pedro Alves <palves@redhat.com>
5363
5364 * gdb.mi/mi-exec-run.exp: New file.
5365
ef274d26
PA
53662016-06-21 Pedro Alves <palves@redhat.com>
5367
5368 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5369 breakpoint command's output on the main UI.
5370 (test_break): New procedure, factored out from calls in the top
5371 level.
5372 (top level): Use foreach_with_prefix to test MI as main UI and as
5373 separate UI.
5374
468afe6c
PA
53752016-06-21 Pedro Alves <palves@redhat.com>
5376
5377 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5378 (test_awatch_creation_and_listing)
5379 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5380 Remove 'type' parameter.
5381 (test_watchpoint_all): New parameter mi_mode. Remove
5382 with_test_prefix.
5383 (top level): Use foreach_with_prefix, and add main/separate UI MI
5384 testing axis.
5385
51f77c37
PA
53862016-06-21 Pedro Alves <palves@redhat.com>
5387
5388 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5389 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5390 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5391 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5392 (gdb_main_spawn_id, mi_spawn_id): Declare and
5393 comment.
5394 (mi_create_inferior_pty): New procedure,
5395 factored out from default_mi_gdb_start.
5396 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5397 procedures.
5398 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5399 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5400 Use mi_create_inferior_pty.
5401 (mi_gdb_start): Use eval to pass down args list.
5402
8980e177
PA
54032016-06-21 Pedro Alves <palves@redhat.com>
5404
5405 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5406 * gdb.opt/inline-cmds.exp: Add MI tests.
5407
f38d3ad1
PA
54082016-06-21 Pedro Alves <palves@redhat.com>
5409
5410 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5411
45db7c09
PA
54122016-06-21 Pedro Alves <palves@redhat.com>
5413
5414 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5415 (top level): Use it instead of mi_execute_to.
5416
5a069ab3
PA
54172016-06-21 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5420 (cont_handler_str): New.
5421 (signal_stop_handler): Set stop_handler_str instead of printing to
5422 stdout.
5423 (continue_handler): Set cont_handler_str instead of printing to
5424 stdout.
5425 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5426 mi_send_resuming_command. Print stop_handler_str and
5427 cont_handler_str instead of expecting the python events print
5428 directly.
5429
2838cc1d
SD
54302016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5431
5432 * gdb.base/jit-reader.exp: New file.
5433 * gdb.base/jithost.c: New file.
5434 * gdb.base/jithost.h: New file.
5435 * gdb.base/jitreader.c : New file.
5436 * gdb.base/jit-protocol.h: New file.
5437
21a77091
YQ
54382016-06-17 Yao Qi <yao.qi@linaro.org>
5439
5440 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5441 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5442 and detach-on-fork. Adjust tests.
5443 (top level): Invoke break_cond_on_syscall with combinations of
5444 syscall, follow-fork-mode and detach-on-fork.
5445
f50bf8e5
YQ
54462016-06-17 Yao Qi <yao.qi@linaro.org>
5447
5448 * gdb.base/step-over-exit.c: New.
5449 * gdb.base/step-over-exit.exp: New.
5450
a28d8e50
YTL
54512016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5452
5453 * gdb.base/float.exp: Add target check for nds32*-*-*.
5454 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5455
cad8e26d
AB
54562016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5457
5458 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5459 for unsupported target features.
5460 * gdb.base/call-rt-st.exp: Likewise.
5461 * gdb.base/call-sc.exp: Likewise.
5462 * gdb.base/call-signal-resume.exp: Likewise.
5463 * gdb.base/call-strs.exp: Likewise.
5464 * gdb.base/callexit.exp: Likewise.
5465 * gdb.base/callfuncs.exp: Likewise.
5466 * gdb.base/nodebug.exp: Likewise.
5467 * gdb.base/printcmds.exp: Likewise.
5468 * gdb.base/ptype.exp: Likewise.
5469 * gdb.base/structs.exp: Likewise.
5470 * gdb.base/unwindonsignal.exp: Likewise.
5471 * gdb.cp/gdb2495.exp: Likewise.
5472 * gdb.cp/templates.exp: Likewise.
5473 * gdb.cp/virtfunc.exp: Likewise.
5474 * gdb.threads/hand-call-in-threads.exp: Likewise.
5475 * gdb.threads/interrupted-hand-call.exp: Likewise.
5476 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5477
347dc102
TT
54782016-06-10 Tom Tromey <tom@tromey.com>
5479
5480 PR rust/20110:
5481 * gdb.rust/expr.exp: Add test for integer constant larger than
5482 i32.
5483
5e13cf25
BH
54842016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5485
5486 * gdb.fortran/nested-funcs.exp: New.
5487 * gdb.fortran/nested-funcs.f90: New.
5488
bb556f1f
TK
54892016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5490
5491 * gdb.base/examine-backward.c: New file.
5492 * gdb.base/examine-backward.exp: New file.
5493
38b022b4
SM
54942016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5495
5496 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5497 matching.
5498
1b40ec05
TT
54992016-06-02 Tom Tromey <tom@tromey.com>
5500
5501 PR python/18984:
5502 * gdb.python/py-shared.exp: Add solib_name test.
5503
193bd378
SM
55042016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5505
5506 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5507
3326303b
MG
55082016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5509
5510 PR c++/19893
5511 * gdb.dwarf2/implref.exp: Rename to...
5512 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5513 * gdb.dwarf2/implref-array.c: New file.
5514 * gdb.dwarf2/implref-array.exp: Likewise.
5515 * gdb.dwarf2/implref-global.c: Likewise.
5516 * gdb.dwarf2/implref-global.exp: Likewise.
5517 * gdb.dwarf2/implref-struct.c: Likewise.
5518 * gdb.dwarf2/implref-struct.exp: Likewise.
5519
825c8ef2
AT
55202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5521
5522 * gdb.trace/trace-condition.exp: Add 64bit tests.
5523
2320162a
AT
55242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5525
5526 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5527 bits types.
5528 (main): Adapt to 8 to 64 bits types.
5529 * gdb.trace/trace-condition.exp: Add new tests.
5530
a7818233
AT
55312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5532
5533 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5534
0d336466
AT
55352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5536
5537 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5538 Move condition tests...
5539 * gdb.trace/trace-condition.exp: Here.
5540
7faeb45a
AT
55412016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5542
5543 * gdb.trace/trace-condition.exp: Add counter-case tests.
5544
e385593e
JK
55452016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5546
5547 PR c++/15231
5548 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5549 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5550
744608cc
PA
55512016-05-27 Pedro Alves <palves@redhat.com>
5552
5553 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5554 New procedure.
5555 (top level): Call it, and bail out of DejaGnu is known to be bad.
5556
ac775bf4
AB
55572016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5558
5559 * gdb.base/whatis.c: Extend the test case.
5560 * gdb.base/whatis.exp: Add additional tests.
5561
2bbad2ea
BH
55622016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5563
5564* gdb.fortran/type.f90: Add pointer variable.
5565* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5566
8b70175d
BH
55672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5568
5569 * gdb.fortran/vla-type.exp: Fix testcase name.
5570
86d8a848
BH
55712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5572
5573 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5574
e188eb36
BH
55752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5576
5577 * gdb.fortran/type.f90: Add nested structures.
5578 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5579 * gdb.fortran/derived-type.exp: Adapt expected output.
5580 * gdb.fortran/vla-type.exp: Adapt expected output.
5581
9b2db1fd
BH
55822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5583
5584 * gdb.fortran/whatis_type.exp: Adapt expected output.
5585
72b17055
BH
55862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5587
5588 * gdb.fortran/print_type.exp: Fix expected output.
5589 * gdb.fortran/whatis_type.exp: Fix expected output.
5590
3cd81d8d
BH
55912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5592
5593 * gdb.fortran/whatis_type.exp: Use multi_line.
5594
ddae9462
TT
55952016-05-24 Tom Tromey <tom@tromey.com>
5596
5597 PR python/17386:
5598 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5599 use value as an index.
5600
1957f6b8
TT
56012016-05-23 Tom Tromey <tom@tromey.com>
5602
5603 PR python/17981:
5604 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5605 no-breakpoint case.
5606
026a9174
PA
56072016-05-24 Pedro Alves <palves@redhat.com>
5608
5609 PR gdb/19828
5610 * gdb.threads/clone-attach-detach.c: New file.
5611 * gdb.threads/clone-attach-detach.exp: New file.
5612
e70a7231
FR
56132016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5614
5615 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5616
0f6ed0e0
TT
56172016-05-23 Tom Tromey <tom@tromey.com>
5618
5619 PR python/19438, PR python/18393:
5620 * gdb.python/py-progspace.exp: Add "dir" test.
5621 * gdb.python/py-objfile.exp: Add "dir" test.
5622
ffd19d61
YQ
56232016-05-23 Yao Qi <yao.qi@linaro.org>
5624
5625 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5626 * gdb.arch/thumb2-it.exp: Likewise.
5627
9e8f9b05
SM
56282016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5629
5630 * gdb.mi/mi-threads-interrupt.c: New file.
5631 * gdb.mi/mi-threads-interrupt.exp: New file.
5632
61c6156d
SM
56332016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5634
5635 PR gdb/18077
5636 * gdb.mi/mi-async-run.exp: New file.
5637 * gdb.mi/mi-async-run.c: New file.
5638
67218854
TT
56392016-05-17 Tom Tromey <tom@tromey.com>
5640 Manish Goregaokar <manishsmail@gmail.com>
5641
5642 * lib/rust-support.exp: New file.
5643 * lib/gdb.exp (skip_rust_tests): New proc.
5644 (build_executable_from_specs): Handle rust.
5645 * lib/future.exp (gdb_find_rustc): New proc.
5646 (gdb_default_target_compile): Handle rust.
5647 * gdb.rust/expr.exp: New file.
5648 * gdb.rust/generics.exp: New file.
5649 * gdb.rust/generics.rs: New file.
5650 * gdb.rust/methods.exp: New file.
5651 * gdb.rust/methods.rs: New file.
5652 * gdb.rust/modules.exp: New file.
5653 * gdb.rust/modules.rs: New file.
5654 * gdb.rust/simple.exp: New file.
5655 * gdb.rust/simple.rs: New file.
5656
c44af4eb
TT
56572016-05-17 Tom Tromey <tom@tromey.com>
5658
5659 * gdb.base/default.exp (set language): Add rust.
5660
dcd1f979
TT
56612016-05-17 Tom Tromey <tom@tromey.com>
5662
5663 * gdb.gdb/unittest.exp: New file.
5664
155b7f57
YQ
56652016-05-16 Yao Qi <yao.qi@linaro.org>
5666
5667 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5668 shell_prompt. Update shell_prompt_re.
5669
8ddd5a6c
DE
56702016-05-12 Doug Evans <dje@google.com>
5671
5672 PR symtab/19999
5673 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5674 $options when building executable.
5675 * gdb.dwarf2/fission-loclists-pie.S: New file.
5676 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5677
02e370d9
SM
56782016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5679
5680 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5681 of [is_remote target],
5682
8929ad8b
SM
56832016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5684
5685 * lib/gdb.exp (use_gdb_stub): New procedure.
5686
6c447423
DE
56872016-05-03 Yunlian Jiang <yunlian@google.com>
5688 Doug Evans <dje@google.com>
5689
5690 PR symtab/19914
5691 * gdb.dwarf2/dwp-sepdebug.c: New file.
5692 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5693
444e826c
SM
56942016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5695
5696 * gdb.base/detach.exp: Remove is_remote check.
5697
740feeaa
SM
56982016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5699
5700 * gdb.base/annota-input-while-running.exp: Don't check for
5701 [is_remote target]. Enable annotations after running to main.
5702 Remove unused "set test..." line.
5703
9080ac9d
SM
57042016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5705
5706 * gdb.trace/trace-enable-disable.exp: New file.
5707 * gdb.trace/trace-enable-disable.c: New file.
5708
952ebca5
SM
57092016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5710
5711 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5712 use it in info sharedlibrary test.
5713 * gdb.trace/ftrace-lock.exp: Likewise.
5714 * gdb.trace/ftrace.exp: Likewise.
5715 * gdb.trace/range-stepping.exp: Likewise.
5716 * gdb.trace/trace-break.exp: Likewise.
5717 * gdb.trace/trace-condition.exp: Likewise.
5718 * gdb.trace/trace-mt.exp: Likewise.
5719
d9019901
SM
57202016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5721
5722 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5723 (gdb_load_shlib): ... this.
5724 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5725 gdb_load_shlib.
5726 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5727 * gdb.base/ctxobj.exp: Likewise.
5728 * gdb.base/dprintf-pending.exp: Likewise.
5729 * gdb.base/dso2dso.exp: Likewise.
5730 * gdb.base/fixsection.exp: Likewise.
5731 * gdb.base/gcore-relro.exp: Likewise.
5732 * gdb.base/gdb1555.exp: Likewise.
5733 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5734 * gdb.base/gnu-ifunc.exp: Likewise.
5735 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5736 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5737 * gdb.base/pending.exp: Likewise.
5738 * gdb.base/print-file-var.exp: Likewise.
5739 * gdb.base/print-symbol-loading.exp: Likewise.
5740 * gdb.base/shlib-call.exp: Likewise.
5741 * gdb.base/shreloc.exp: Likewise.
5742 * gdb.base/so-impl-ld.exp: Likewise.
5743 * gdb.base/solib-disc.exp: Likewise.
5744 * gdb.base/solib-nodir.exp: Likewise.
5745 * gdb.base/solib-overlap.exp: Likewise.
5746 * gdb.base/solib-symbol.exp: Likewise.
5747 * gdb.base/solib-weak.exp (do_test): Likewise.
5748 * gdb.base/sym-file.exp: Likewise.
5749 * gdb.base/symtab-search-order.exp: Likewise.
5750 * gdb.base/type-opaque.exp: Likewise.
5751 * gdb.base/unload.exp: Likewise.
5752 * gdb.base/watchpoint-solib.exp: Likewise.
5753 * gdb.compile/compile.exp: Likewise.
5754 * gdb.cp/gdb2384.exp: Likewise.
5755 * gdb.cp/infcall-dlopen.exp: Likewise.
5756 * gdb.cp/re-set-overloaded.exp: Likewise.
5757 * gdb.fortran/library-module.exp: Likewise.
5758 * gdb.opt/solib-intra-step.exp: Likewise.
5759 * gdb.python/py-finish-breakpoint.exp: Likewise.
5760 * gdb.python/py-shared.exp: Likewise.
5761 * gdb.reverse/solib-precsave.exp: Likewise.
5762 * gdb.reverse/solib-reverse.exp: Likewise.
5763 * gdb.server/solib-list.exp: Likewise.
5764 * gdb.threads/dlopen-libpthread.exp: Likewise.
5765 * gdb.threads/tls-shared.exp: Likewise.
5766 * gdb.threads/tls-so_extern.exp: Likewise.
5767 * gdb.trace/change-loc.exp: Likewise.
5768 * gdb.trace/ftrace-lock.exp: Likewise.
5769 * gdb.trace/ftrace.exp: Likewise.
5770 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5771 * gdb.trace/pending.exp: Likewise.
5772 * gdb.trace/range-stepping.exp: Likewise.
5773 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5774 (strace_info_marker): Likewise.
5775 (strace_probe_marker): Likewise.
5776 (strace_trace_on_same_addr): Likewise.
5777 (strace_trace_on_diff_addr): Likewise.
5778 * gdb.trace/trace-break.exp: Likewise.
5779 * gdb.trace/trace-condition.exp: Likewise.
5780 * gdb.trace/trace-mt.exp: Likewise.
5781
fca4cfd9
SM
57822016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5783
5784 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5785 result of gdb_remote_download.
5786 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5787 * gdb.base/dso2dso.exp: Likewise.
5788 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5789 * gdb.base/print-file-var.exp: Likewise.
5790 * gdb.base/shlib-call.exp: Likewise.
5791 * gdb.base/shreloc.exp: Likewise.
5792 * gdb.base/solib-overlap.exp: Likewise.
5793 * gdb.base/solib-weak.exp (do_test): Likewise.
5794 * gdb.base/unload.exp: Likewise.
5795
11cf4ffb
YQ
57962016-04-27 Yao Qi <yao.qi@linaro.org>
5797
5798 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5799 exists.
5800
3e2e34f8
KB
58012016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5802
5803 * vla-type.exp: Print structure from toplevel.
5804
8f07e298
BH
58052016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5806
5807 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5808 of dynamic types.
5809 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5810 of dynamic types.
5811
9920b434
BH
58122016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5813
5814 * gdb.fortran/vla-type.f90: New file.
5815 * gdb.fortran/vla-type.exp: New file.
5816
f3abeff5
YQ
58172016-04-25 Yao Qi <yao.qi@linaro.org>
5818
5819 * gdb.base/branch-to-self.c: New file.
5820 * gdb.base/branch-to-self.exp: New file.
5821
0a5d52f0
YQ
58222016-04-22 Yao Qi <yao.qi@linaro.org>
5823
5824 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5825 more after $hex.
5826
495346f6
YQ
58272016-04-22 Yao Qi <yao.qi@linaro.org>
5828
5829 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5830 * gdb.base/annota3.exp: Likewise.
5831
4a7e075c
YQ
58322016-04-22 Yao Qi <yao.qi@linaro.org>
5833
5834 * gdb.reverse/step-precsave.exp: Do one step and test program
5835 stops in "callee" and do multiple steps until program goes out
5836 of "callee".
5837 * gdb.reverse/step-reverse.exp: Likewise.
5838
5b061e98
YQ
58392016-04-22 Yao Qi <yao.qi@linaro.org>
5840
5841 * gdb.trace/signal.exp: Also pass if
5842 $tracepoint_hits($i) > $iterations.
5843
5c5dc57f
YQ
58442016-04-22 Yao Qi <yao.qi@linaro.org>
5845
5846 * gdb.trace/signal.c: New file.
5847 * gdb.trace/signal.exp: New file.
5848
a55411b9
DE
58492016-04-19 Doug Evans <xdje42@gmail.com>
5850
5851 * gdb.base/bad-file.exp: New file.
5852
a22df60a
MG
58532016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5854
5855 * gdb.dwarf2/implref.exp: New file.
5856
0c13f7e5
BH
58572016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5858
5859 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5860 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5861 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5862 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5863 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5864 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5865 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5866 * lib/fortran.exp (fortran_int4): New procedure.
5867 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5868 (fortran_logical4): Likewise.
5869
9b9b09e9
BH
58702016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5871
5872 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5873
a14d1f4d
BH
58742016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5875
5876 * lib/compiler.c: Add Intel specific preprocessor macros.
5877 * lib/compiler.cc: Likewise.
25d49b86 5878
7d49b1d0
LM
58792016-04-13 Luis Machado <lgustavo@codesourcery.com>
5880
5881 * gdb.server/connect-with-no-symbol-file.c: New file.
5882 * gdb.server/connect-with-no-symbol-file.exp: New file.
5883
8392fa22
SM
58842016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5885
5886 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5887
8c4c4aeb
SM
58882016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5889
5890 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5891 standard output directory.
5892
45e3745e
AT
58932016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5894
5895 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5896
e26b7e41
MM
58972016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5898
5899 * gdb.btrace/instruction_history.c (loop): Add declaration.
5900
8ce09462
AT
59012016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5902
5903 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5904
2e88a1ea
SM
59052016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5906
5907 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5908 parentheses to print.
5909 (continue_handler): Likewise.
5910
f48e22e3
SM
59112016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5912
5913 * gdb.server/solib-list.exp: Remove is_remote check.
5914 Pass shlib= to gdb_compile. Don't link shared library with
5915 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5916 Run binary filename through "readlink -f" on the target.
5917
096be756
PA
59182016-04-08 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5921 interpreter filename as argument to gdbserver_spawn.
5922 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5923 Return empty if $last_loaded_file does not exist.
5924
06500533
JK
59252016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5926
5927 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5928 * gdb.base/jit-main.c: Use exit after usage.
5929
2d35e871
JK
59302016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5931
5932 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5933 GDBHISTSIZE prior to the tests.
5934 * gdb.base/gdbinit-history.exp: Likewise.
5935
59362016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
5937
5938 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5939 instead of build_executable. Use gdb_load_shlibs.
5940
c8064e7e
YQ
59412016-04-07 Yao Qi <yao.qi@linaro.org>
5942
5943 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5944 Execute "si" command.
5945
bde47561
YQ
59462016-04-07 Yao Qi <yao.qi@linaro.org>
5947
5948 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5949 number instead of the comments on some line.
5950
b16f8a3b
DB
59512016-04-06 Don Breazeal <donb@codesourcery.com>
5952
5953 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5954 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5955
c2f901df
SM
59562016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5957
5958 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5959 standard_output_file. Remove unused binfile variable.
5960
ac17fda0
CU
59612016-04-05 Catalin Udma <catalin.udma@freescale.com>
5962
5963 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5964 * gdb.python/py-mi-objfile.exp: Match "list main" output
5965 in console format.
5966
03a8c4df
SM
59672016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5968
5969 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5970 absolute.
5971
6e774b13
SM
59722016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5973
5974 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5975 absolute.
5976 * gdb.trace/ftrace.exp: Likewise.
5977 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5978 targets as well.
5979 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5980 (gdb_load_shlibs): Copy libraries to test directory when testing
5981 natively. Only set solib-search-path if testing remotely.
5982 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5983
7817ea46
SM
59842016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5985
5986 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5987 gdb_download. Use it even if the target is not remote.
5988 * gdb.base/jit.exp (compile_jit_test): Likewise.
5989 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5990 output directory if the destination board is local, otherwise use
5991 the standard remote_download from DejaGnu.
5992 (gdb_download): Remove.
5993 (gdb_load_shlibs): Use gdb_remote_download instead of
5994 gdb_download.
5995 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5996 Use gdb_remote_download instead of gdb_download. Use it even if
5997 the target is not remote.
5998 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5999 instead of gdb_download.
6000
7beb7f68
SM
60012016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6002
6003 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6004 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6005 run.
6006
cc63428a
AV
60072016-04-01 Artemiy Volkov <artemiyv@acm.org>
6008
6009 PR gdb/19820
6010 * gdb.base/printcmds.exp: Add artificial arrays tests.
6011
64cdf930
PA
60122016-03-31 Pedro Alves <palves@redhat.com>
6013
6014 PR gdb/19858
6015 * gdb.base/jit-main.c: Include unistd.h.
6016 (ATTACH): Define to 0 if not already defined.
6017 (wait_for_gdb, mypid): New globals.
6018 (WAIT_FOR_GDB): New macro.
6019 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6020 some breakpoint locations.
6021 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6022 New procedures.
6023 (one_jit_test): Add REATTACH parameter, and handle it. Use
6024 continue_to_test_location.
6025 (top level): Test attach, and adjusts calls to one_jit_test.
6026
40dea8cb
PA
60272016-03-31 Pedro Alves <palves@redhat.com>
6028
6029 PR gdb/19858
6030 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6031 BINSUFFIX parameter, and handle it.
6032 (top level): Adjust calls compile_jit_test.
6033
e7ea3ec7
CU
60342016-03-31 Catalin Udma <catalin.udma@freescale.com>
6035
6036 PR python/19743
6037 * gdb.python/py-mi-events-gdb.py: New file.
6038 * gdb.python/py-mi-events.c: New file.
6039 * gdb.python/py-mi-events.exp: New file.
6040
e6359af3
YQ
60412016-03-30 Yao Qi <yao.qi@linaro.org>
6042
6043 * gdb.reverse/until-precsave.exp: Match function name only.
6044 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6045 Move malloc to a condition block.
6046 * gdb.reverse/until-reverse.exp: Match function name only.
6047
a4105d04
MK
60482016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6049
6050 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6051 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6052 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6053 variable for GPR 0 instead of assuming it is register 0.
6054 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6055 * lib/trace-support.exp: Add s390 registers.
6056
bfa6adb9
YQ
60572016-03-29 Yao Qi <yao.qi@linaro.org>
6058
6059 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6060
1e6697ea
YQ
60612016-03-24 Yao Qi <yao.qi@linaro.org>
6062
6063 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6064 test message.
6065
64bcd522
AA
60662016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6067
6068 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6069 maintaining separate logic for constructing the output path.
6070
7868401b
DB
60712016-03-16 Don Breazeal <donb@codesourcery.com>
6072
6073 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6074 Retry fork and waitpid on interrupted system call errors.
6075 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6076 Use with_timeout_factor to increase timeout by factor of 10.
6077
1cafadb4
DB
60782016-03-15 Don Breazeal <donb@codesourcery.com>
6079
6080 * gdb.cp/scope-err.cc: New test program.
6081 * gdb.cp/scope-err.exp: New test script.
6082 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6083 lines and "set breakpoint here" comment.
6084 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6085 Fixed some whitespace and format issues.
6086 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6087 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6088
81516450
DE
60892016-03-15 Doug Evans <dje@google.com>
6090
6091 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6092 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6093 All callers updated. Add tests for enums, mixed flags register.
6094
aa52b601
DE
60952016-03-15 Doug Evans <dje@google.com>
6096
6097 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6098 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6099
fa4ff313
SM
61002016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6101
6102 * gdb.base/default.exp: Add $_as_string to the list of expected
6103 convenience functions.
6104
f2403c39
AB
61052016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6106
6107 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6108
f2f3ccb9
SM
61092016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6110
6111 * gdb.python/py-as-string.exp: New file.
6112 * gdb.python/py-as-string.c: New file.
6113
00dbd492
PA
61142016-03-09 Pedro Alves <palves@redhat.com>
6115
6116 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6117 signal" -> "Thread NN received signal" output change.
6118 * gdb.threads/ia64-sigill.exp: Likewise.
6119 * gdb.threads/linux-dp.exp: Likewise.
6120 * gdb.threads/manythreads.exp: Likewise.
6121 * gdb.threads/pending-step.exp: Likewise.
6122 * gdb.threads/print-threads.exp: Likewise.
6123 * gdb.threads/sigstep-threads.exp: Likewise.
6124 * gdb.threads/staticthreads.exp: Likewise.
6125 * gdb.threads/tls.exp: Likewise.
6126
1e6697ea
YQ
61272016-03-09 Pedro Alves <palves@redhat.com>
6128
6129 * gdb.base/command-line-input.exp: New file.
6130
b04fd3be
MK
61312016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6132
6133 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6134 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6135 * gdb.trace/pending.exp: Accept leading dot before function name.
6136 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6137 * lib/trace-support.exp: Set registers for ppc.
6138
98fa59e9
MK
61392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6140
6141 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6142 use it for disassembly; accept .main in addition to main in backtrace.
6143
f77198c8
MK
61442016-03-09 Wei-cheng Wang <cole945@gmail.com>
6145 Marcin Kościelnicki <koriakin@0x04.net>
6146
6147 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6148 (gdb_recursion_test_ptr): New global variable.
6149 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6150 gdb_recursion_test.
6151 (gdb_c_test): Ditto.
6152
ba84e0da
MK
61532016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6154
6155 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6156 ordering.
6157
4366d36e
MK
61582016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6159
6160 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6161 (bar): Add bar_start_lbl label.
6162 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6163 of foo/bar for emitting DWARF and tracing.
6164
5eb264df
SDJ
61652016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6166
6167 * analyze-racy-logs.py: Set executable bit.
6168
fb6a751f
SDJ
61692016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6170
6171 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6172 (CHECK_TARGET_TMP): Likewise.
6173 (check-single-racy): New rule.
6174 (check-parallel-racy): Likewise.
6175 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6176 (do-check-parallel-racy): New rule.
6177 (check-racy/%.exp): Likewise.
6178 * README (Racy testcases): New section.
6179 * analyze-racy-logs.py: New file.
6180
bdf7e230
DE
61812016-03-03 Doug Evans <dje@google.com>
6182
6183 * gdb.base/skip.exp: Use with_test_prefix.
6184
4719d415
YQ
61852016-03-03 Yao Qi <yao.qi@linaro.org>
6186
6187 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6188 Invoke step_over_syscall "clone" and break_cond_on_syscall
6189 "clone".
6190 * gdb.base/step-over-clone.c: New file.
6191
ea507862
YQ
61922016-03-03 Yao Qi <yao.qi@linaro.org>
6193
6194 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6195 code format.
6196
8fc8cbda
YQ
61972016-03-03 Yao Qi <yao.qi@linaro.org>
6198
6199 * gdb.base/disp-step-fork.c: Rename to ...
6200 * gdb.base/step-over-fork.c: ... it. New file.
6201 * gdb.base/disp-step-vfork.c: Rename to ...
6202 * gdb.base/step-over-vfork.c: ... it. New file.
6203 * gdb.base/disp-step-syscall.exp: Rename to ...
6204 * gdb.base/step-over-syscall.exp: ... it. New file.
6205 (disp_step_cross_syscall): Rename to ...
6206 (step_over_syscall): ... it.
6207
92fa70b0
YQ
62082016-03-03 Yao Qi <yao.qi@linaro.org>
6209
6210 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6211 If target supports condition evaluation on target, invoke
6212 break_cond_on_syscall for fork and vfork.
6213
e197ad3c
YQ
62142016-03-03 Yao Qi <yao.qi@linaro.org>
6215
6216 * gdb.base/disp-step-syscall.exp: Don't invoke
6217 support_displaced_stepping.
6218 (disp_step_cross_syscall): Test with displaced stepping off and
6219 on if supported.
6220
0b47da9f
YQ
62212016-03-03 Yao Qi <yao.qi@linaro.org>
6222
6223 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6224 proc.
6225 (setup): New proc.
6226 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6227 and setup.
6228
065ab6dc
BH
62292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6230
6231 * gdb.fortran/vla-history.exp: Remove breakpoint.
6232
07e448ad 62332016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6234
25d49b86
PA
6235 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6236 exceeds timeout.
07e448ad 6237
9ac2d526 62382016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6239
25d49b86
PA
6240 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6241 breakpoint.
9ac2d526 6242
17807369
BH
62432016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6244
6245 * gdb.mi/vla.f90: Nullify pointer after declaration.
6246
86e501af
PA
62472016-03-01 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6250
1e903e32
PA
62512016-03-01 Pedro Alves <palves@redhat.com>
6252
6253 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6254 before anything else.
6255 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6256 _GNU_SOURCE here.
6257 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6258 before anything else.
6259 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6260
6ccb54e2
PA
62612016-03-01 Pedro Alves <palves@redhat.com>
6262
6263 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6264
30ca9da1
YQ
62652016-03-01 Yao Qi <yao.qi@linaro.org>
6266
6267 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6268 prepare_for_testing.
6269
dc856b38
YQ
62702016-03-01 Yao Qi <yao.qi@linaro.org>
6271
6272 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6273
4a932159
AA
62742016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6275
6276 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6277 manually constructing the output path.
6278
f2489477
AA
62792016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6280
6281 * gdb.arch/s390-stackless.S: New.
6282 * gdb.arch/s390-stackless.exp: New.
6283
38899f16
IB
62842016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6285
6286 * gdb.dlang/circular.c: New file.
6287 * gdb.dlang/circular.exp: New file.
6288
9fde51ed
YQ
62892016-02-26 Yao Qi <yao.qi@linaro.org>
6290
6291 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6292 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6293 (testcases): Update.
6294
ce90fefe
YQ
62952016-02-26 Yao Qi <yao.qi@linaro.org>
6296
6297 * gdb.reverse/aarch64.c: Rename to ...
6298 * gdb.reverse/insn-reverse.c: ... it.
6299 * gdb.reverse/aarch64.exp: Rename to ...
6300 * gdb.reverse/insn-reverse.exp: ... it.
6301
3263bceb
YQ
63022016-02-26 Yao Qi <yao.qi@linaro.org>
6303
6304 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6305 (testcase_ftype): New.
6306 (testcases): New array.
6307 (n_testcases): New.
6308 (main): Call each element in testcases.
6309 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6310 (read_testcase): New.
6311 Do the tests in a loop.
6312
6cb59ff1
YQ
63132016-02-25 Yao Qi <yao.qi@linaro.org>
6314
6315 * gdb.base/branches.c: Remove.
6316
ae91f625
MK
63172016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6318
6319 PR gdb/13808
6320 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6321
678b48b7
MK
63222016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6323
6324 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6325
7337a6f2
MK
63262016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6327
6328 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6329 change x86_64 call_insn to 'callq'.
6330
861ca91f
AT
63312016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6332
6333 * gdb.trace/tfile-avx.c: Move to...
6334 * gdb.trace/tracefile-pseudo-reg.c: Here.
6335 * gdb.trace/tfile-avx.exp: Move to...
6336 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6337
bf74e428
GB
63382016-02-24 Gary Benson <gbenson@redhat.com>
6339
6340 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6341 message on attach.
6342
cce0e923
DE
63432016-02-23 Doug Evans <dje@google.com>
6344
6345 * gdb.base/skip.c (test_skip): New function.
6346 (end_test_skip_file_and_function): New function.
6347 (test_skip_file_and_function): New function.
6348 * gdb.base/skip1.c (test_skip): New function.
6349 (skip1_test_skip_file_and_function): New function.
6350 * gdb.base/skip.exp: Add tests for new skip options.
6351 * gdb.base/skip-solib.exp: Update expected output.
6352 * gdb.perf/skip-command.cc: New file.
6353 * gdb.perf/skip-command.exp: New file.
6354 * gdb.perf/skip-command.py: New file.
6355
4000e47e
MK
63562016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6357
6358 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6359 info registers pattern.
6360
24f75ead
IB
63612016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6362
6363 * lib/future.exp: Add D support.
6364 (gdb_find_gdc): New proc.
6365 (gdb_default_target_compile): Add D support.
6366
fbb7bcbe
WW
63672016-02-18 Wei-cheng Wang <cole945@gmail.com>
6368
6369 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6370 user+system time.
6371 (trace_speed_test): Determine the iteration count for a time
6372 between 15..30 seconds.
6373
012b3a21
WT
63742016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6375
6376 * gdb.arch/i386-mpx-sigsegv.c: New file.
6377 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6378 * gdb.arch/i386-mpx-simple_segv.c: New file.
6379 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6380
2d5189bd
YQ
63812016-02-18 Yao Qi <yao.qi@linaro.org>
6382
6383 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6384 Don't call setup_kfail.
6385
40fb20d0
YQ
63862016-02-18 Yao Qi <yao.qi@linaro.org>
6387
6388 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6389 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6390
21b1f8d2
DE
63912016-02-16 Doug Evans <dje@google.com>
6392
6393 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6394 * gdb.base/skip1.c: Ditto.
6395 * gdb.base/skip.exp: Whitespace cleanup.
6396
4041ed77
DB
63972016-02-16 Don Breazeal <donb@codesourcery.com>
6398
6399 PR remote/19496
6400 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6401 Remove kfail for PR remote/19496.
6402
c4ef31bf
SM
64032016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6404
6405 * lib/gdb.exp (standard_temp_file): Return a path specific to
6406 the runtest invocation.
6407
266b65b3
SM
64082016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6409
6410 * gdb.trace/save-trace.exp: Change relative path to be in the
6411 standard output directory.
6412
a7a0a6a9
JK
64132016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6414
6415 * gdb.arch/i386-prologue.c: Add missing prototypes.
6416
c99dbb42
JK
64172016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6418
6419 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6420 * gdb.arch/i386-prologue.exp: Likewise.
6421 * gdb.arch/i386-size.exp: Likewise.
6422
aa480355
SM
64232016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6424
6425 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6426 define object file path.
6427 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6428 file path.
6429 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6430 standard_output_file to define binfile.
6431
ba881f50
JK
64322016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6433
6434 Fix compatibility with recent gfortran-5.3.1.
6435 * gdb.fortran/vla-history.exp (print vla1 allocated)
6436 (print vla2 allocated, print $2, print $3): Remove
6437 (print $4): Rename to ...
6438 (print $2): ... here.
6439 (print $9): Rename to ...
6440 (print $5): ... here.
6441 (print $10): Rename to ...
6442 (print $6): ... here.
6443 * gdb.fortran/vla.f90: Add pvla initialization.
6444
e9fb005c
JK
64452016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6446
6447 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6448 New test.
6449 * gdb.fortran/vla-value-sub.exp: Likewise.
6450
e44e00ff
MK
64512016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6452
6453 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6454
97e94151
SM
64552016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6456
6457 * i386-biarch-core.exp: Define corefile using
6458 standard_output_file.
6459
01113bc1
YQ
64602016-02-12 Yao Qi <yao.qi@linaro.org>
6461
6462 * gdb.arch/arm-single-step-kernel-helper.c: New.
6463 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6464
33b4777c
MM
64652016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6466
6467 * gdb.btrace/tailcall-only.exp: New.
6468 * gdb.btrace/tailcall-only.c: New.
6469 * gdb.btrace/x86_64-tailcall-only.S: New.
6470 * gdb.btrace/i686-tailcall-only.S: New.
6471
acc23c11
PA
64722016-02-11 Pedro Alves <palves@redhat.com>
6473
6474 * README (Parallel testing): Add missing double quotes.
6475
e352bf0a
PA
64762016-02-11 Pedro Alves <palves@redhat.com>
6477
6478 * README (Parallel testing): New section.
6479 (GDB_PARALLEL): Rewrite.
6480 (FORCE_PARALLEL): Document.
6481
9f5fed78
MK
64822016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6483
6484 * gdb.trace/tfile-avx.c: New test.
6485 * gdb.trace/tfile-avx.exp: New test.
6486
9ef9e6a6
KS
64872016-02-09 Keith Seitz <keiths@redhat.com>
6488
6489 PR breakpoints/19546
6490 * gdb.base/infcall-exec.c: New file.
6491 * gdb.base/infcall-exec2.c: New file.
6492 * gdb.base/infcall-exec.exp: New file.
6493
a96e36da
KS
64942016-02-09 Keith Seitz <keiths@redhat.com>
6495
6496 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6497 (toplevel): Call test_bkpt_address.
6498
9f61929f
KS
64992016-02-09 Keith Seitz <keiths@redhat.com>
6500
6501 PR python/19506
6502 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6503 (toplevel): Call test_bkpt_address.
6504
1e94266c
SM
65052016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6506
6507 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6508 to AC_OUTPUT.
6509 * configure: Regenerate.
6510
2a7f3dff
PA
65112016-02-09 Pedro Alves <palves@redhat.com>
6512
6513 PR breakpoints/19548
6514 * gdb.base/execl-update-breakpoints.c (some_function): New
6515 function.
6516 (main): Call it.
6517 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6518 Tighten expected GDB output.
6519
2151ccc5
SM
65202016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6521
6522 * Makefile.in (ALL_SUBDIRS): Remove.
6523 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6524 (distclean maintainer-clean realclean): Likewise.
6525 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6526 * configure: Regenerate.
6527 * gdb.ada/Makefile.in: Delete.
6528 * gdb.arch/Makefile.in: Likewise.
6529 * gdb.asm/Makefile.in: Likewise.
6530 * gdb.base/Makefile.in: Likewise.
6531 * gdb.btrace/Makefile.in: Likewise.
6532 * gdb.cell/Makefile.in: Likewise.
6533 * gdb.compile/Makefile.in: Likewise.
6534 * gdb.cp/Makefile.in: Likewise.
6535 * gdb.disasm/Makefile.in: Likewise.
6536 * gdb.dlang/Makefile.in: Likewise.
6537 * gdb.dwarf2/Makefile.in: Likewise.
6538 * gdb.fortran/Makefile.in: Likewise.
6539 * gdb.gdb/Makefile.in: Likewise.
6540 * gdb.go/Makefile.in: Likewise.
6541 * gdb.guile/Makefile.in: Likewise.
6542 * gdb.java/Makefile.in: Likewise.
6543 * gdb.linespec/Makefile.in: Likewise.
6544 * gdb.mi/Makefile.in: Likewise.
6545 * gdb.modula2/Makefile.in: Likewise.
6546 * gdb.multi/Makefile.in: Likewise.
6547 * gdb.objc/Makefile.in: Likewise.
6548 * gdb.opencl/Makefile.in: Likewise.
6549 * gdb.opt/Makefile.in: Likewise.
6550 * gdb.pascal/Makefile.in: Likewise.
6551 * gdb.perf/Makefile.in: Likewise.
6552 * gdb.python/Makefile.in: Likewise.
6553 * gdb.reverse/Makefile.in: Likewise.
6554 * gdb.server/Makefile.in: Likewise.
6555 * gdb.stabs/Makefile.in: Likewise.
6556 * gdb.threads/Makefile.in: Likewise.
6557 * gdb.trace/Makefile.in: Likewise.
6558 * gdb.xml/Makefile.in: Likewise.
6559 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6560 GDB_PARALLEL.
6561 (standard_output_file): Remove check for GDB_PARALLEL, always
6562 return path in outputs/$subdir/$testname.
6563
437277d4
SM
65642016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6565
6566 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6567 (site.exp): Assign abs_srcdir to tcl's srcdir.
6568
31d913c7
YQ
65692016-02-04 Yao Qi <yao.qi@linaro.org>
6570
6571 * gdb.base/foll-exec-mode.c: Include limits.h.
6572 (main): Add parameters argc and argv. Get directory from
6573 argv[0].
6574 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6575 compilation.
6576 * gdb.base/foll-exec.c: Include limits.h.
6577 (main): Add parameters argc and argv.
6578 Get directory from argv[0].
6579 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6580 Adjust tests on the number of lines as source code changed.
6581 * gdb.base/foll-vfork-exit.c: Include limits.h.
6582 (main): Add one line of statement before vfork.
6583 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6584 (main): Add parameters argc and argv. Get directory from
6585 argv[0].
6586 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6587 (setup_gdb): Set tbreak to skip some source lines.
6588 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6589 (main): Add parameters argc and argv. Get directory from
6590 argv[0].
6591 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6592 compilation.
6593 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6594 (main): Add parameters argc and argv. Get directory from
6595 argv[0].
6596 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6597 compilation.
6598
9482b9fb
DE
65992016-02-01 Doug Evans <dje@google.com>
6600
6601 * gdb.base/skip.exp: Clean up multiple references to same test name.
6602
6b2e4f10
PA
66032016-02-01 Pedro Alves <palves@redhat.com>
6604
ccb6afd6 6605 PR remote/19496
6b2e4f10
PA
6606 * gdb.threads/forking-threads-plus-breakpoint.exp
6607 (displaced_stepping_supported): New global.
6608 (probe_displaced_stepping_support): New procedure.
6609 (do_test): Add 'displaced' parameter, and use it.
6610 (top level): Check for displaced stepping support. Add displaced
6611 stepping on/off testing axis.
6612
37a8db1a
AB
66132016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6614
6615 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6616 pointer. Don't perform further tests on the unassociated pointer
6617 if the first test fails.
6618
5fdf6324
AB
66192016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6620
6621 * gdb.base/max-value-size.c: New file.
6622 * gdb.base/max-value-size.exp: New file.
6623 * gdb.base/huge.exp: Disable max-value-size for this test.
6624
935c6144
IB
66252016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6626
6627 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6628
7fe8399d
YQ
66292016-01-28 Yao Qi <yao.qi@linaro.org>
6630
6631 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6632
a2077e25
PA
66332016-01-25 Pedro Alves <palves@redhat.com>
6634
6635 PR threads/19461
6636 * gdb.base/fork-running-state.c: New file.
6637 * gdb.base/fork-running-state.exp: New file.
6638
1d2736d4
PA
66392016-01-25 Pedro Alves <palves@redhat.com>
6640
6641 PR gdb/19494
6642 * gdb.base/catch-fork-kill.c: New file.
6643 * gdb.base/catch-fork-kill.exp: New file.
6644
f1da4b11
PA
66452016-01-25 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6648 Delete, moved to lib/gdb.exp.
6649 * gdb.threads/forking-threads-plus-breakpoint.exp
6650 (foreach_with_prefix): Likewise.
6651 * gdb.threads/process-dies-while-handling-bp.exp
6652 (foreach_with_prefix): Likewise.
6653 * lib/gdb.exp (foreach_with_prefix): New procedure.
6654
45f38546
MK
66552016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6656
6657 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6658 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6659
dc29a1ce
MK
66602016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6661
6662 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6663 endian targets.
6664
092127d7
JK
66652016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6666 Pedro Alves <palves@redhat.com>
6667
6668 Fix testsuite compatibility with Guile.
6669 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6670 number.
6671
31d765d3
JK
66722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 Fix testsuite compatibility with Guile.
6675 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6676 (thread 1): New test for backtrace through signal handler.
6677
1ac78c04
YQ
66782016-01-22 Yao Qi <yao.qi@linaro.org>
6679
6680 PR testsuite/19491
6681 * gdb.base/multi-forks.c: Include
6682 ../lib/unbuffer_output.c
6683 (main): Call gdb_unbuffer_output.
6684
4f5946a8
DE
66852016-01-21 Doug Evans <dje@google.com>
6686
6687 * lib/ada.exp (gdb_compile_ada): Fix typo.
6688
305e13e6
JB
66892016-01-21 Joel Brobecker <brobecker@adacore.com>
6690
6691 * gdb.base/break-fun-addr.exp: New file.
6692 * gdb.base/break-fun-addr1.c: New file.
6693 * gdb.base/break-fun-addr2.c: New file.
6694
5f5dfff6
SM
66952016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6696
6697 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6698 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6699 enum flag values.
6700
fd356fa2
AA
67012016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6702
6703 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6704 when GDB can not set the vector return value. Add more comments
6705 for clarification.
6706
9df22175
AT
67072016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6708
6709 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6710 command.
6711
41d1845e
SM
67122016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6713
6714 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6715
01ac6840
SM
67162016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6717
6718 * Makefile.in (check-single): Pass --status to runtest.
6719 (check/%.exp): Likewise.
6720
67212016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6722
6723 * Makefile.in (check-parallel): Propagate return code from make
6724 do-check-parallel.
6725
bd0a71fa
MK
67262016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6727
6728 * gdb.trace/ftrace.exp: Fix expected message on continue.
6729 * gdb.trace/pending.exp: Fix expected message on continue.
6730 * gdb.trace/trace-break.exp: Fix expected message on continue.
6731
8bcbad33
SM
67322016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6733
6734 * lib/gdb.exp (gdb_test): Remove unused global references.
6735
f303dbd6
PA
67362016-01-18 Pedro Alves <palves@redhat.com>
6737
6738 * gdb.base/async-shell.exp: Adjust expected output.
6739 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6740 * gdb.base/siginfo-thread.exp: Adjust expected output.
6741 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6742 * gdb.java/jnpe.exp: Adjust expected output.
6743 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6744 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6745 * gdb.threads/leader-exit.exp: Adjust expected output.
6746 * gdb.threads/manythreads.exp: Adjust expected output.
6747 * gdb.threads/pthreads.exp: Adjust expected output.
6748 * gdb.threads/schedlock.exp: Adjust expected output.
6749 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6750 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6751 expected output.
6752 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6753 output.
6754 * gdb.threads/sigthread.exp: Adjust expected output.
6755 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6756
b2789696
YQ
67572016-01-18 Yao Qi <yao.qi@linaro.org>
6758
6759 * gdb.guile/scm-section-script.c: Replace @progbits with
6760 %progbits.
6761 * gdb.python/py-section-script.c: Likewise.
6762
71ef29a8
PA
67632016-01-15 Pedro Alves <palves@redhat.com>
6764
6765 * gdb.multi/tids.exp: Test star wildcard ranges.
6766
3f5b7598
PA
67672016-01-15 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6770 command from "thread apply" invocation.
6771 (thr_apply_info_thr_invalid): Default the expected output to the
6772 input tid list.
6773 (top level): Add tests that use convenience variables. Add tests
6774 for "thread apply" with a valid TID list, but missing the command.
6775
663f6d42
PA
67762016-01-13 Pedro Alves <palves@redhat.com>
6777
6778 * gdb.base/default.exp: Expect $_gthread as well.
6779 * gdb.multi/tids.exp: Test $_gthread.
6780 * gdb.threads/thread-specific.exp: Test $_gthread.
6781
c84f6bbf
PA
67822016-01-13 Pedro Alves <palves@redhat.com>
6783
6784 * gdb.multi/tids.exp: Test "info threads -gid".
6785
22a02324
PA
67862016-01-13 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6789 Breakpoint.thread.
6790 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6791
5d5658a1
PA
67922016-01-07 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.base/break.exp: Adjust to output changes.
6795 * gdb.base/hbreak2.exp: Likewise.
6796 * gdb.base/sepdebug.exp: Likewise.
6797 * gdb.base/watch_thread_num.exp: Likewise.
6798 * gdb.linespec/keywords.exp: Likewise.
6799 * gdb.multi/info-threads.exp: Likewise.
6800 * gdb.threads/thread-find.exp: Likewise.
6801 * gdb.multi/tids.c: New file.
6802 * gdb.multi/tids.exp: New file.
6803
84654457
PA
68042016-01-13 Pedro Alves <palves@redhat.com>
6805
6806 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6807
e3940304
PA
68082016-01-13 Pedro Alves <palves@redhat.com>
6809
6810 * gdb.base/default.exp: Expect $_inferior as well.
6811 * gdb.multi/base.exp: Test $_inferior.
6812
a911d87a
PA
68132016-01-13 Pedro Alves <palves@redhat.com>
6814
6815 PR breakpoints/19388
6816 * gdb.base/catch-signal-siginfo-cond.c: New file.
6817 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6818
82075af2
JS
68192016-01-12 Josh Stone <jistone@redhat.com>
6820 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6821
6822 * gdb.base/catch-syscall.c (do_execve): New variable.
6823 (main): Conditionally trigger an execve.
6824 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6825 (test_catch_syscall_execve): New, check entry/return across execve.
6826 (do_syscall_tests): Call test_catch_syscall_execve.
6827
e46eeedd
PA
68282016-01-12 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.base/random-signal.exp (do_test): New procedure, with body
6831 of testcase moved in.
6832
01d8c27e
JK
68332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6834 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.base/funcargs.exp (finish from indirectly called function):
6837 Reintroduce the case for 'First'.
6838
9a706302
JK
68392016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6840 Pedro Alves <palves@redhat.com>
6841
6842 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6843 (tcatch_vfork_then_child_follow_exec)
6844 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6845 identification.
6846
c0ecb95f
JK
68472016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6848
6849 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6850 and repeats to unlimited.
6851 * gdb.python/py-value.exp: Likewise.
6852 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6853 and repeats to unlimited.
6854
6cfc1fcb
JK
68552016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6856
6857 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6858 and reordering the functions.
6859 * gdb.multi/hangout.c: Likewise.
6860 * gdb.multi/hello.c: Likewise.
6861
582a1b00
SM
68622016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6863
6864 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6865 absolute.
6866 (SingleStatisticTestResult.report): Use dict.keys instead of
6867 dict.iterkeys.
6868
79bc59cb
PA
68692016-01-06 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6872
43368e1d
MM
68732016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6874
6875 * gdb.btrace/dlopen.exp: New.
6876 * gdb.btrace/dlopen.c: New.
6877 * gdb.btrace/dlopen-dso.c: New.
6878
79fad5b8
SL
68792015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6880
6881 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6882 PATTERN argument is optional.
6883
ab8314b3
JB
68842015-12-24 Joel Brobecker <brobecker@adacore.com>
6885
6886 * lib/ada.exp (target_compile_ada_from_dir): New function.
6887 (gdb_compile_ada): Reimplement avoiding the use of project files.
6888 * gdb.ada/gnat_ada.gpr: Delete.
6889 * gdb.ada/cond_lang.exp: Adjust test to make path before
6890 filename optional.
6891 * gdb.ada/small_reg_param.exp: Likewise.
6892
fe33faff
SM
68932015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6894
6895 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6896
6d265cb4
TP
68972015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6898
6899 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6900 case.
6901
10125099
SM
69022015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6903
6904 * gdb.base/break.exp: Remove dead code.
6905 * gdb.base/sepdebug.exp: Likewise.
6906
3ca22649
SM
69072015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6908
6909 * gdb.asm/asm-source.exp: Remove HP-UX references.
6910 * gdb.base/annota1.exp: Likewise.
6911 * gdb.base/annota3.exp: Likewise.
6912 * gdb.base/attach.exp: Likewise.
6913 * gdb.base/bigcore.exp: Likewise.
6914 * gdb.base/break.exp: Likewise.
6915 * gdb.base/call-ar-st.exp: Likewise.
6916 * gdb.base/callfuncs.exp: Likewise.
6917 * gdb.base/catch-fork-static.exp: Likewise.
6918 * gdb.base/display.exp: Likewise.
6919 * gdb.base/foll-exec-mode.exp: Likewise.
6920 * gdb.base/foll-exec.exp: Likewise.
6921 * gdb.base/foll-fork.exp: Likewise.
6922 * gdb.base/foll-vfork.exp: Likewise.
6923 * gdb.base/funcargs.exp: Likewise.
6924 * gdb.base/hbreak2.exp: Likewise.
6925 * gdb.base/inferior-died.exp: Likewise.
6926 * gdb.base/interrupt.exp: Likewise.
6927 * gdb.base/multi-forks.exp: Likewise.
6928 * gdb.base/nodebug.exp: Likewise.
6929 * gdb.base/sepdebug.exp: Likewise.
6930 * gdb.base/solib1.c: Likewise.
6931 * gdb.base/step-test.exp: Likewise.
6932 * gdb.mi/non-stop.c: Likewise.
6933 * gdb.mi/pthreads.c: Likewise.
6934 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6935 * gdb.threads/pthreads.c: Likewise.
6936 * gdb.threads/staticthreads.exp: Likewise.
6937 * lib/future.exp: Likewise.
6938 * lib/gdb.exp: Likewise.
6939 * gdb.base/so-indr-cl.c: Remove.
6940 * gdb.base/so-indr-cl.exp: Likewise.
6941 * gdb.base/solib.c: Likewise.
6942 * gdb.base/solib.exp: Likewise.
6943 * gdb.base/solib2.c: Likewise.
6944
b6304613
SM
69452015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6946
6947 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6948 * gdb.base/call-ar-st.exp: Likewise.
6949 * gdb.base/callfuncs.exp: Likewise.
6950 * gdb.base/condbreak.exp: Likewise.
6951 * gdb.base/constvars.exp: Likewise.
6952 * gdb.base/hbreak2.exp: Likewise.
6953 * gdb.base/langs.exp: Likewise.
6954 * gdb.base/list.exp: Likewise.
6955 * gdb.base/long_long.exp: Likewise.
6956 * gdb.base/ptype.exp: Likewise.
6957 * gdb.base/scope.exp: Likewise.
6958 * gdb.base/signals.exp: Likewise.
6959 * gdb.base/so-impl-ld.exp: Likewise.
6960 * gdb.base/varargs.exp: Likewise.
6961 * gdb.base/volatile.exp: Likewise.
6962 * gdb.base/whatis.exp: Likewise.
6963 * gdb.cp/cplusfuncs.exp: Likewise.
6964 * gdb.cp/inherit.exp: Likewise.
6965 * gdb.cp/local.exp: Likewise.
6966 * gdb.cp/member-ptr.exp: Likewise.
6967 * gdb.cp/method.exp: Likewise.
6968 * gdb.cp/overload.exp: Likewise.
6969 * gdb.cp/templates.exp: Likewise.
6970 * gdb.stabs/weird.exp: Likewise.
6971 * lib/compiler.c: Likewise.
6972 * lib/compiler.cc: Likewise.
6973 * lib/cp-support.exp: Likewise.
6974 * lib/gdb.exp: Likewise.
6975
bf401b07
SM
69762015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6977
6978 * configure.ac: Remove HP-UX case.
6979 * configure: Regenerate.
6980
aff9c0f8
SM
69812015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6982
6983 * lib/gdb.exp (gdb_compile): Add function doc.
6984
a6904d5a
PA
69852015-12-17 Pedro Alves <palves@redhat.com>
6986
6987 PR threads/19354
6988 * gdb.multi/info-threads.exp: New file.
6989
a22279dd
YQ
69902015-12-15 Yao Qi <yao.qi@linaro.org>
6991
6992 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6993 is aarch64*-*-*.
6994
0588c796
SL
69952015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6996
6997 * gdb.base/history-duplicates.exp: Skip if no readline support.
6998
5d978e17
SL
69992015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7000
7001 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7002
7e763b86
SL
70032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7004
7005 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7006
87a3a92c
SL
70072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7008
7009 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7010 ctrl-C if nointerrupts target property is set.
7011 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7012 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7013 * gdb.base/paginate-bg-execution.exp: Likewise.
7014 * gdb.base/paginate-execution-startup.exp: Likewise.
7015 * gdb.base/random-signal.exp: Likewise.
7016 * gdb.base/range-stepping.exp: Likewise.
7017 * gdb.cp/annota2.exp: Likewise.
7018 * gdb.cp/annota3.exp: Likewise.
7019 * gdb.gdb/selftest.exp: Likewise.
7020 * gdb.threads/continue-pending-status.exp: Likewise.
7021 * gdb.threads/leader-exit.exp: Likewise.
7022 * gdb.threads/manythreads.exp: Likewise.
7023 * gdb.threads/pthreads.exp: Likewise.
7024 * gdb.threads/schedlock.exp: Likewise.
7025 * gdb.threads/sigthread.exp: Likewise.
7026
a8f077dc
DB
70272015-12-11 Don Breazeal <donb@codesourcery.com>
7028
7029 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7030 remote.
7031 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7032 * gdb.base/foll-exec.exp (main): Enable for target remote.
7033 * gdb.base/foll-fork.exp (main): Likewise.
7034 * gdb.base/foll-vfork.exp (main): Likewise.
7035 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7036 (proc continue_to_exit_bp_loc): Use clean_restart.
7037 * gdb.base/pie-execl.exp (main): Disable for target remote.
7038 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7039 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7040 * gdb.threads/execl.exp (main): Likewise.
7041 * gdb.threads/fork-child-threads.exp (main): Likewise.
7042 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7043 remote.
7044 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7045 remote.
7046 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7047 pid.tid style ptids, instead of just tid.
7048 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7049 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7050 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7051 ptids, instead of just tid.
7052
3b2464a8
AB
70532015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7054
7055 * gdb.base/list.exp (test_list_forward): Add end of file error
7056 test.
7057 (test_repeat_list_command): Add end of file error test.
7058 (test_list_backwards): Add beginning of file error test.
7059
a0def019
AB
70602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7061
7062 * gdb.base/list.exp (test_list_invalid_args): New function,
7063 defined, and called.
7064
5c000dff
AB
70652015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7066
7067 * gdb.base/list.exp (test_list): Make test names unique.
7068
f1637ebe
YQ
70692015-12-11 Yao Qi <yao.qi@linaro.org>
7070
7071 * gdb.base/coremaker2.c: Remove.
7072
36d6fc0a
PA
70732015-12-10 Pedro Alves <palves@redhat.com>
7074
7075 * gdb.multi/base.exp: Remove stale "spaces" references.
7076
762f7747
PA
70772015-12-10 Pedro Alves <palves@redhat.com>
7078
7079 * gdb.multi/base.exp: Don't use nowarnings.
7080 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7081 * gdb.multi/hangout.c: Include stdio.h.
7082 * gdb.multi/hello.c: Include stdlib.h.
7083 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7084 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7085 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7086
28d2bfb9
AB
70872015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7088
7089 * gdb.dwarf2/dw2-ranges-base.c: New file.
7090 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7091 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7092 support additional line table, and debug ranges generation.
7093 (Dwarf::ranges): New function, generate .debug_ranges.
7094 (Dwarf::lines): Support generating simple line table programs.
7095 (Dwarf::assemble): Initialise new namespace variables.
7096
5fc2beac
KB
70972015-12-09 Kevin Buettner <kevinb@redhat.com>
7098
7099 * gdb.base/async.exp (proc test_background): Add case for
7100 asynchronous execution not supported.
7101
1c35a88f
LM
71022015-12-09 Luis Machado <lgustavo@codesourcery.com>
7103
7104 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7105 format and change test names to make them unique.
7106
b593e3d9
RK
71072015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7108 Pedro Alves <pedro@redhat.com>
7109
7110 PR gdb/18702
7111 Add checking of floatformats setup on x86_64 hosts.
7112 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7113 (smallval, bigval): New labels/constants.
7114 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7115 float" after loading bigval and smallval.
7116
d72413e6
PMR
71172015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7118
7119 * gdb.ada/fun_overload_menu.exp: New testcase.
7120 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7121
ece66d65
JS
71222015-12-04 Josh Stone <jistone@redhat.com>
7123
7124 * gdb.base/catch-fork-static.exp: New.
7125
41d0efca
YQ
71262015-12-03 Yao Qi <yao.qi@linaro.org>
7127
7128 * gdb.base/sizeof.c: Don't include stdio.h and
7129 ../lib/unbuffer_output.c.
7130 (main): New variable 'size' and 'value'. Remove printf and
7131 gdb_unbuffer_output. Assign return value to size and value.
7132 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7133 at the beginning.
7134 (check_sizeof): Check the result by printing variable 'size'.
7135 (check_valueof): Check the result by printing variable 'value'.
7136
99fd02d9
YQ
71372015-12-01 Yao Qi <yao.qi@linaro.org>
7138
7139 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7140 for aarch64*-*-linux* target.
7141
f2faf941
PA
71422015-11-30 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7145
04bf20c5
PA
71462015-11-30 Pedro Alves <palves@redhat.com>
7147
7148 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7149 Handle non-stop mode vCont replies.
7150
09df4675
PA
71512015-11-30 Pedro Alves <palves@redhat.com>
7152
7153 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7154 prepare_for_testing. Start gdb with "set non-stop on" appended to
7155 GDBFLAGS. Lax expected stop output.
7156
58b584af
YQ
71572015-11-27 Yao Qi <yao.qi@linaro.org>
7158
7159 * gdb.arch/arm-neon.exp: New.
7160 * gdb.arch/arm-neon.c: New.
7161
dfcb77a8
YQ
71622015-11-27 Yao Qi <yao.qi@linaro.org>
7163
7164 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7165
88e8ec1b
YQ
71662015-11-27 Yao Qi <yao.qi@linaro.org>
7167
7168 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7169 frames-invalid annotation.
7170
bfde72c2
YQ
71712015-11-27 Yao Qi <yao.qi@linaro.org>
7172
7173 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7174
f6512a69
SM
71752015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7176
7177 * gdb.threads/names.exp: New file.
7178 * gdb.threads/names.c: New file.
7179 * README: Mention gdb,no_thread_names.
7180
46a3515b
MM
71812015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7182
7183 PR 19297
7184 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7185 support" error.
7186
62147a22
PA
71872015-11-24 Pedro Alves <palves@redhat.com>
7188
7189 PR 17539
7190 * gdb.base/display.exp: Expect displays to be sorted in ascending
7191 order. Use multi_line.
7192 * gdb.base/solib-display.exp: Likewise.
7193
2f341b6e
PA
71942015-11-24 Pedro Alves <palves@redhat.com>
7195
7196 PR 17539
25d49b86
PA
7197 * gdb.base/display.exp: Expect displays to be sorted in ascending
7198 order. Use multi_line.
7199 * gdb.base/solib-display.exp: Likewise.
2f341b6e 7200
7e0aa6aa
PA
72012015-11-24 Pedro Alves <palves@redhat.com>
7202
7203 PR 17539
7204 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7205 threads in ascending order.
7206 * gdb.base/foll-fork.exp: Likewise.
7207 * gdb.base/foll-vfork.exp: Likewise.
7208 * gdb.base/multi-forks.exp: Likewise.
7209 * gdb.mi/mi-nonstop.exp: Likewise.
7210 * gdb.mi/mi-nsintrall.exp: Likewise.
7211 * gdb.multi/base.exp: Likewise.
7212 * gdb.multi/multi-arch.exp: Likewise.
7213 * gdb.python/py-inferior.exp: Likewise.
7214 * gdb.threads/break-while-running.exp: Likewise.
7215 * gdb.threads/execl.exp: Likewise.
7216 * gdb.threads/gcore-thread.exp: Likewise.
7217 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7218 * gdb.threads/kill.exp: Likewise.
7219 * gdb.threads/linux-dp.exp: Likewise.
7220 * gdb.threads/multiple-step-overs.exp: Likewise.
7221 * gdb.threads/next-bp-other-thread.exp: Likewise.
7222 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7223 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7224 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7225 * gdb.threads/thread-find.exp: Likewise.
7226 * gdb.threads/tls.exp: Likewise.
7227 * lib/mi-support.exp (mi_reverse_list): Delete.
7228 (mi_check_thread_states): No longer reverse list.
7229
2cc57ad8
PA
72302015-11-24 Pedro Alves <palves@redhat.com>
7231
7232 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7233 use lowercase.
7234
c93e8391
SM
72352015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7236
7237 * gdb.trace/actions.c: Include trace-common.h.
7238 (main): Add a location for a fast tracepoint.
7239 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7240 the normal tracepoints.
7241 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7242
045ccf91
SM
72432015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7244
7245 * save-trace.exp: Factor out code to these...
7246 (gdb_save_tracepoints): New.
7247 (gdb_load_tracepoints): New.
7248 (do_save_load_test): New.
7249
5506f9f6
KB
72502015-11-23 Kevin Buettner <kevinb@redhat.com>
7251
7252 * gdb.base/asmlabel.exp: New test.
7253 * gdb.base/asmlabel.c: New test case.
7254
16c3b12f
JB
72552015-11-23 Joel Brobecker <brobecker@adacore.com>
7256
7257 * gdb.base/wrong_frame_bt_full-main.c: New file.
7258 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7259 * gdb.base/wrong_frame_bt_full.exp: New file.
7260
155bfbd3
JB
72612015-11-23 Joel Brobecker <brobecker@adacore.com>
7262
7263 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7264
bb097445
JM
72652015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7266
206853a0 7267 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
7268 pstate register when comparing registers values in
7269 sparc64-*-linux-gnu targets to avoid spurious differences.
7270
9c88ed8f
JM
72712015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7272
206853a0 7273 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 7274
96161e25
SL
72752015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7276
7277 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7278 as type argument to gdb_compile.
7279 * gdb.base/nested-subp2.exp: Likewise.
7280 * gdb.base/nested-subp3.exp: Likewise.
7281
340c2830
DV
72822015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7283
7284 * lib/dwarf.exp (_note): Fix left shift of negative value.
7285 * gdb.trace/trace-condition.exp: Likewise.
7286
c1862d0f
YQ
72872015-11-13 Yao Qi <yao.qi@linaro.org>
7288
7289 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7290 comments about d10v.
7291 (test_scalar_returns): Likewise.
7292 * gdb.base/d10v.ld: Remove.
7293 * gdb.base/overlays.exp: Remove the target triplet checking for
7294 d10v-*-*.
7295 * gdb.base/structs.exp (test_struct_returns): Remove the
7296 comments about d10v.
7297 (test_struct_calls): Likewise.
7298
77ae9c19
YQ
72992015-11-13 Yao Qi <yao.qi@linaro.org>
7300
7301 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7302 * gdb.base/gnu_vector.c: Don't include stdio.h.
7303 (main): Don't print res and call add_some_intvecs.
7304
430e004e
MK
73052015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7306
7307 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7308 macro.
7309 (func5): Removed.
7310 (func4): Use FAST_TRACEPOINT_LABEL.
7311 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7312 macro.
7313 (func): Removed.
7314 (thread_function): Use FAST_TRACEPOINT_LABEL.
7315 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7316 (func): Remove.
7317 (marker): Use FAST_TRACEPOINT_LABEL.
7318 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7319 (pendfunc1): Remove.
7320 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7321 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7322 (foo): Remove.
7323 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7324 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7325 macro.
7326 (func): Remove.
7327 (marker): Use FAST_TRACEPOINT_LABEL.
7328 * gdb.trace/trace-common.h: New header.
7329 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7330 macro.
7331 (func): Remove.
7332 (marker): Use FAST_TRACEPOINT_LABEL.
7333 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7334 (func): Remove.
7335 (thread_function): Use FAST_TRACEPOINT_LABEL.
7336
6e7675a7
MK
73372015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7338
7339 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7340 in front.
7341 * gdb.trace/change-loc.exp: Use global pcreg definition.
7342 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7343 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7344 in front.
7345 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7346 * gdb.trace/pending.exp: Likewise.
7347 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7348 * gdb.trace/trace-break.exp: Likewise.
7349 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7350 in front.
7351 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7352 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7353 in front.
7354 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7355
dddc0e16
JB
73562015-11-09 Joel Brobecker <brobecker@adacore.com>
7357
7358 * gdb.ada/fin_fun_out: New testcase.
7359
c6f0b406
KB
73602015-11-07 Kevin Buettner <kevinb@redhat.com>
7361
7362 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7363 value associated with DW_AT_byte_size.
7364 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7365 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7366 DW_AT_upper_bound.
7367
f01dcfd9
KB
73682015-11-07 Kevin Buettner <kevinb@redhat.com>
7369
7370 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7371 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7372 version.
7373 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7374 gdb.dwarf2/dw2-canonicalize-type.exp,
7375 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7376 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7377 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7378 provided by gdb_target_symbol_prefix_flags_asm.
7379 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7380 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7381 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7382 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7383 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7384 macros where needed). Use this macro for symbols which require
7385 the prefix provided by SYMBOL_PREFIX.
7386
2223449a
KB
73872015-11-05 Kevin Buettner <kevinb@redhat.com>
7388
7389 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7390 New procs.
7391 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7392 representing expressions, of more than one list element.
7393 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7394 to prepend linker symbol prefix to f.
7395 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7396 table_1 and table_2.
7397 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7398 Likewise, for f and g.
7399 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7400 for ptr.
7401 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7402 for main.
7403 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7404 table_1_ptr and table_2_ptr.
7405
6f2f1a3a
JK
74062015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7407 Joel Brobecker <brobecker@adacore.com>
7408
7409 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7410
566c56c9
MK
74112015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7412
7413 * gdb.reverse/s390-mvcle.c: New test.
7414 * gdb.reverse/s390-mvcle.exp: New file.
7415 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7416
d5f0636b
MK
74172015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7418
7419 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7420
7ad8b86c
MK
74212015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7422
7423 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7424 reaching marker2.
7425 * gdb.reverse/getresuid-reverse.exp: Likewise.
7426 * gdb.reverse/pipe-reverse.exp: Likewise.
7427 * gdb.reverse/readv-reverse.exp: Likewise.
7428 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7429 * gdb.reverse/time-reverse.exp: Likewise.
7430 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7431
4081c0f1
YQ
74322015-10-30 Yao Qi <yao.qi@linaro.org>
7433
7434 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7435 (empty_cycle): Remove.
7436 (main): Don't call empty_cycle. Don't use watch_count_done.
7437 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7438 empty_cycle. Rewrite the code counting HW watchpoints.
7439
452b4ba5
MK
74402015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7441
7442 * gdb.reverse/fstatat-reverse.c: New test.
7443 * gdb.reverse/fstatat-reverse.exp: New file.
7444 * gdb.reverse/getresuid-reverse.c: New test.
7445 * gdb.reverse/getresuid-reverse.exp: New file.
7446 * gdb.reverse/pipe-reverse.c: New test.
7447 * gdb.reverse/pipe-reverse.exp: New file.
7448 * gdb.reverse/readv-reverse.c: New test.
7449 * gdb.reverse/readv-reverse.exp: New file.
7450 * gdb.reverse/recvmsg-reverse.c: New test.
7451 * gdb.reverse/recvmsg-reverse.exp: New file.
7452 * gdb.reverse/time-reverse.c: New test.
7453 * gdb.reverse/time-reverse.exp: New file.
7454 * gdb.reverse/waitpid-reverse.c: New test.
7455 * gdb.reverse/waitpid-reverse.exp: New file.
7456
5e2e7507
JK
74572015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7458
7459 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7460
0fde2c53
DE
74612015-10-26 Doug Evans <dje@google.com>
7462
7463 PR symtab/17391
7464 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7465 * gdb.dwarf2/bad-regnum.c: New file.
7466 * gdb.dwarf2/bad-regnum.exp: New file.
7467
1a70ae97
DE
74682015-10-26 Doug Evans <dje@google.com>
7469
7470 PR python/18938
7471 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7472 file.
7473
27dc26ab
JK
74742015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7475
7476 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7477 for a change by "Mention language in compile error message".
7478
bed91f4d
SM
74792015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7480
7481 PR python/18073
7482 * gdb.python/py-type.c (C::a_method): New.
7483 (C::a_const_method): New.
7484 (C::a_static_method): New.
7485 (a_function): New.
7486 * gdb.python/py-type.exp (test_fields): Test getting fields
7487 from function and method.
7488
3f2f83dd
KB
74892015-10-21 Keven Boell <keven.boell@intel.com>
7490
7491 * gdb.fortran/vla-alloc-assoc.exp: New file.
7492 * gdb.fortran/vla-datatypes.exp: New file.
7493 * gdb.fortran/vla-datatypes.f90: New file.
7494 * gdb.fortran/vla-history.exp: New file.
7495 * gdb.fortran/vla-ptype-sub.exp: New file.
7496 * gdb.fortran/vla-ptype.exp: New file.
7497 * gdb.fortran/vla-sizeof.exp: New file.
7498 * gdb.fortran/vla-sub.f90: New file.
7499 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7500 * gdb.fortran/vla-value-sub-finish.exp: New file.
7501 * gdb.fortran/vla-value-sub.exp: New file.
7502 * gdb.fortran/vla-value.exp: New file.
7503 * gdb.fortran/vla-ptr-info.exp: New file.
7504 * gdb.mi/mi-vla-fortran.exp: New file.
7505 * gdb.mi/vla.f90: New file.
7506
27145d50
SL
75072015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7508
7509 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7510 of hardwired timeout value.
7511
5f3ff4f8
JK
75122015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7513 Pedro Alves <palves@redhat.com>
7514
7515 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7516 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7517
bfd09d20
JS
75182015-10-19 Josh Stone <jistone@redhat.com>
7519
7520 * gdb.base/catch-syscall.c: Include <sched.h>.
7521 (unknown_syscall): New variable.
7522 (main): Trigger a vfork and an unknown syscall.
7523 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7524 (unknown_syscall_number): Likewise.
7525 (check_call_to_syscall): Accept an optional syscall pattern.
7526 (check_return_from_syscall): Likewise.
7527 (check_continue): Likewise.
7528 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7529 (test_catch_syscall_skipping_return): New test toggling off 'catch
7530 syscall' to step over the syscall return, then toggling back on.
7531 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7532 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7533 (do_syscall_tests): Call test_catch_syscall_without_args and
7534 test_catch_syscall_mid_vfork.
7535 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7536 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7537
b32b93c6
AS
75382015-10-19 Andrew Stubbs <ams@codesourcery.com>
7539
7540 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7541 print g_vE): Add new pass patterns.
7542 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7543 print various symbol names for vptr fields.
7544
9d622bda
AB
75452015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7546
7547 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7548 results.
7549
0fd8ac1c
YQ
75502015-10-12 Yao Qi <yao.qi@linaro.org>
7551
7552 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7553
34240514
YQ
75542015-10-12 Yao Qi <yao.qi@linaro.org>
7555
7556 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7557 is aarch64*-*-linux*.
7558
8240f442
YQ
75592015-10-12 Yao Qi <yao.qi@linaro.org>
7560
7561 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7562 (can_relocate_bcond_true): ... it.
7563 (can_relocate_bcond_false): New function.
7564 (foo): Likewise.
7565 (can_relocate_bl): Likewise.
7566 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7567 can_relocate_bl.
7568
2520f728
PMR
75692015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7570
7571 * gdb.base/nested-addr.c: New file.
7572 * gdb.base/nested-addr.exp: New testcase.
7573
abcef95a
MM
75742015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7575
7576 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7577 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7578 its output. Ignore the output of "record goto begin" and instead
7579 check that GDB is replaying.
7580
145e3ddb
PA
75812015-10-09 Pedro Alves <palves@redhat.com>
7582
7583 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7584 (top level): Use it in the run with no args test.
7585
d5d8c4e1
IB
75862015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7587
7588 * gdb.dlang/properties.exp: New file.
7589
06e635ef
SL
75902015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7591
7592 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7593 whether or not address 0x1000 is mapped on the target.
7594
e019fd1d
SM
75952015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7596
7597 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7598 build.
7599
77ba2a67
MM
76002015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7601
7602 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7603 instruction-history test.
7604
c60eb31f
DE
76052015-09-28 Doug Evans <dje@google.com>
7606
7607 * gdb.base/gcore.c (array_func): Add reference to static_array.
7608
9a3c8263
SM
76092015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7610
7611 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7612 source line.
7613
9720e656
SL
76142015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7615
7616 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7617 short or char as base type.
7618
938d3bf2
SL
76192015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7620
7621 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7622 to allow any size enum.
7623
e6c2c623
PMR
76242015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7625
7626 * gdb.ada/array_ptr_renaming.exp: New testcase.
7627 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7628 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7629
06da0f77
PL
76302015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7631
7632 * gdb.trace/ftrace-lock.c: New file.
7633 * gdb.trace/ftrace-lock.exp: New file.
7634
4f51c22a
PL
76352015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7636
7637 * gdb.arch/insn-reloc.c: New file.
7638 * gdb.arch/ftrace-insn-reloc.exp: New file.
7639
7041adf4
PL
76402015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7641
7642 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7643 instruction.
7644 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7645 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7646 * gdb.trace/range-stepping.c: Likewise.
7647 * gdb.trace/trace-break.c: Likewise.
7648 * gdb.trace/trace-mt.c (thread_function): Likewise.
7649 * gdb.trace/ftrace.c (marker): Likewise.
7650 * gdb.trace/trace-condition.c (marker): Likewise.
7651 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7652 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7653 is_aarch64_target.
7654
015d2e7e
DE
76552015-09-18 Doug Evans <xdje42@gmail.com>
7656
7657 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7658 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7659
26b188a2
SL
76602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7661
7662 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7663 the breakpoint.
7664
79dc332b
SL
76652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7666
7667 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7668 the pending breakpoint. Remove timeout override for "Run till
7669 MI pending breakpoint on pendfunc3 on thread 2" test.
7670
f57929f2
SL
76712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7672
7673 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7674 filename pattern.
7675
3f469b17
SL
76762015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7677
7678 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7679 in breakpoint filename pattern.
7680
515b89b3
SL
76812015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7682
7800dbe4
SL
7683 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7684
76852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7686
515b89b3
SL
7687 * gdb.linespec/explicit.exp: Check for readline support for
7688 tab-completion tests. Fix obvious typo.
7689
d2939ba2
MM
76902015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7691
7692 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7693 and replay.
7694
cbb55fa7
MM
76952015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7696
7697 * gdb.btrace/non-stop.c: New.
7698 * gdb.btrace/non-stop.exp: New.
7699
43691ca1
PL
77002015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7701 Yao Qi <yao.qi@linaro.org>
7702
7703 * gdb.trace/trace-condition.c: New file.
7704 * gdb.trace/trace-condition.exp: New file.
7705
d78908cf
WW
77062015-09-16 Wei-cheng Wang <cole945@gmail.com>
7707
7708 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7709 for testing bytecode compilation.
7710
1ed415e2
PA
77112015-09-16 Pedro Alves <palves@redhat.com>
7712 Sandra Loosemore <sandra@codesourcery.com>
7713
7714 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7715 (SECONDS): Redefine.
7716 (main): Call pthread_kill and alarm early.
7717 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7718 support.
7719 (test): If the target can't hardware step and doesn't support
7720 displaced stepping, increase the timeout.
7721
d136eff5
PA
77222015-09-16 Pedro Alves <palves@redhat.com>
7723
7724 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7725 (enable_debug): New procedures.
7726 (test): Use them. Bail out if waiting for threads fails.
7727 (top level): Bail out if a test fails.
7728
991f019c
YQ
77292015-09-16 Yao Qi <yao.qi@linaro.org>
7730
7731 * gdb.asm/asm-source.exp: Set asm-arch for
7732 aarch64*-*-* target.
7733 * gdb.asm/aarch64.inc: New file.
7734
bfca584f
PMR
77352015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7736
7737 * gdb.ada/array_of_variable_length.exp: New testcase.
7738 * gdb.ada/array_of_variable_length/foo.adb: New file.
7739 * gdb.ada/array_of_variable_length/pck.adb: New file.
7740 * gdb.ada/array_of_variable_length/pck.ads: New file.
7741
b326e587
DE
77422015-09-15 Doug Evans <dje@google.com>
7743
7744 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7745 of function static local variable.
7746
5382cfab
PW
77472015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7748
7749 * gdb.threads/tls-so_extern.exp: New test file.
7750 * gdb.threads/tls-so_extern.c: New test file.
7751 * gdb.threads/tls-so_extern_main.c: New test file.
7752
141c5cc4
JK
77532015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7754
7755 * gdb.opt/solib-intra-step-lib.c: New file.
7756 * gdb.opt/solib-intra-step-main.c: New file.
7757 * gdb.opt/solib-intra-step.exp: New file.
7758
d15dcecd
PA
77592015-09-15 Pedro Alves <palves@redhat.com>
7760
7761 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7762 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7763
4c2f2a79
PA
77642015-09-14 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.base/hook-stop-continue.c: Delete.
7767 * gdb.base/hook-stop-continue.exp: Delete.
7768 * gdb.base/hook-stop-frame.c: Delete.
7769 * gdb.base/hook-stop-frame.exp: Delete.
7770 * gdb.base/hook-stop.c: New file.
7771 * gdb.base/hook-stop.exp: New file.
7772
919e6dbe
PMR
77732015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7774
7775 * gdb.ada/access_to_packed_array.exp: New testcase.
7776 * gdb.ada/access_to_packed_array/foo.adb: New file.
7777 * gdb.ada/access_to_packed_array/pack.adb: New file.
7778 * gdb.ada/access_to_packed_array/pack.ads: New file.
7779
157280a4
MM
77802015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7781
7782 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7783 buffer size test.
7784
2fd33e94
DB
77852015-09-11 Don Breazeal <donb@codesourcery.com>
7786
7787 * gdb.base/foll-exec.c: Add copyright header. Fix
7788 formatting issues.
7789 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7790 (do_exec_tests): Use clean_restart in place of zap_session,
7791 and for test initialization. Fix formatting issues. Use
7792 fail in place of perror.
7793 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7794 an expect statement to match an expression with output from
7795 the program under debug.
7796 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7797 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7798 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7799 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7800 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7801
e70b6e8e
DE
78022015-09-09 Doug Evans <dje@google.com>
7803
7804 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7805
7a551a51
DE
78062015-09-09 Doug Evans <dje@google.com>
7807
7808 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7809
4c666f84
DE
78102015-09-09 Doug Evans <dje@google.com>
7811
7812 * gdb.base/savedregs.exp: Fix typo.
7813
243a9253
PA
78142015-09-09 Pedro Alves <palves@redhat.com>
7815
7816 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7817
c0fa8fbd
SL
78182015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7819
7820 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7821 command actually switches threads. Give up on remaining
7822 tests if target fails to stop at breakpoint.
7823
cd7c1778
PMR
78242015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7825
7826 * gdb.ada/funcall_char.exp: New testcase.
7827 * gdb.ada/funcall_char/foo.adb: New file.
7828
dc5c8746
PMR
78292015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7830
7831 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7832 expected outputs. Add two testcases for completing ambiguous
7833 functions.
7834 * gdb.ada/complete/aux_pck.adb: New file.
7835 * gdb.ada/complete/aux_pck.ads: New file.
7836 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7837 Ambiguous_Func functions.
7838 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7839 * gdb.ada/complete/pck.adb: Likewise.
7840
4e83a1e7
UW
78412015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7842
7843 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7844 failures to run the test program under GDB.
7845
8ce74153
LM
78462015-08-26 Luis Machado <lgustavo@codesourcery.com>
7847
7848 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7849 to C.
7850
e9756d52
PP
78512015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7852
7853 * gdb.base/run-after-attach.exp: New test file.
7854 * gdb.base/run-after-attach.c: New test file.
7855
8d37573b
DB
78562015-08-26 Don Breazeal <donb@codesourcery.com>
7857
7858 * gdb.base/foll-exec-2.c: New test program.
7859 * gdb.base/foll-exec-2.exp: New test.
7860
63e43d3a
PMR
78612015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7862
7863 * gdb.base/nested-subp1.exp: New file.
7864 * gdb.base/nested-subp1.c: New file.
7865 * gdb.base/nested-subp2.exp: New file.
7866 * gdb.base/nested-subp2.c: New file.
7867 * gdb.base/nested-subp3.exp: New file.
7868 * gdb.base/nested-subp3.c: New file.
7869
3d40fbb5
PA
78702015-08-24 Pedro Alves <palves@redhat.com>
7871
7872 * gdb.server/connect-without-multi-process.c: New file.
7873 * gdb.server/connect-without-multi-process.exp: New file.
7874
4422ac93
LM
78752015-08-24 Luis Machado <lgustavo@codesourcery.com>
7876
7877 * gdb.opt/inline-markers.c: Make z int.
7878
91dddb86
LM
78792015-08-24 Luis Machado <lgustavo@codesourcery.com>
7880
7881 * gdb.opt/inline-markers.c: Make z volatile.
7882
a48847ee
LM
78832015-08-24 Luis Machado <lgustavo@codesourcery.com>
7884
7885 * gdb.opt/inline-bt.c: New volatile global z.
7886 * gdb.opt/inline-cmds.c: Likewise.
7887 * gdb.opt/inline-locals.c: Likewise.
7888 * gdb.opt/inline-markers.c: New extern global z.
7889 (marker): Use z.
7890 (inline_fn): Likewise.
7891
0ebbc52b
PA
78922015-08-24 Pedro Alves <palves@redhat.com>
7893
7894 * config/m32r-stub.exp: Remove file.
7895 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7896 * gdb.base/call-rt-st.exp: Likewise.
7897 * gdb.base/call-strs.exp: Likewise.
7898 * gdb.base/default.exp: Remove references to h8300-*-hms and
7899 *-*-udi*.
7900 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7901
77c365df
AA
79022015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7903
7904 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7905 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7906 and "return" use KFAIL when GDB can not read/write the vector
7907 return value.
7908
4313b8c0
GB
79092015-08-21 Gary Benson <gbenson@redhat.com>
7910
7911 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7912
0e433b32
PA
79132015-08-20 Pedro Alves <palves@redhat.com>
7914
7915 * gdb.server/solib-list.exp: No longer expect an interior stop in
7916 non-stop mode.
7917
221e1a37
PA
79182015-08-20 Pedro Alves <palves@redhat.com>
7919
7920 * gdb.server/connect-stopped-target.c: New file.
7921 * gdb.server/connect-stopped-target.exp: New file.
7922
40e3ad0e
PA
79232015-08-20 Pedro Alves <palves@redhat.com>
7924
7925 * gdb.dwarf2/comp-unit-lang.exp: New file.
7926 * gdb.dwarf2/comp-unit-lang.c: New file.
7927
af39b327
PMR
79282015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7929
7930 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7931 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7932
7d45c7c3 79332015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 7934
7d45c7c3
KB
7935 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7936 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7937
4d6cceb4
DE
79382015-08-18 Doug Evans <dje@google.com>
7939 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7940
7941 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7942 skip_python_tests. New arg prompt_regexp.
7943 (skip_python_tests): New function.
7944 * lib/mi-support.exp (mi_skip_python_tests): New function.
7945 * gdb.python/py-mi-objfile-gdb.py: New file.
7946 * gdb.python/py-mi-objfile.c: New file.
7947 * gdb.python/py-mi-objfile.exp: New file.
7948
ad89c2aa
KS
79492015-08-17 Keith Seitz <keiths@redhat.com>
7950
7951 * gdb.linespec/explicit.exp: Move strace test from here ...
7952 * gdb.trace/strace.exp: ... to here.
7953
e3ae3c43
PP
79542015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7955
7956 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7957 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7958
604b2636
DE
79592015-08-14 Doug Evans <xdje42@gmail.com>
7960
7961 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7962 inferior before selecting a new file.
7963
6ff0ba5f
DE
79642015-08-14 Doug Evans <xdje42@gmail.com>
7965
7966 * gdb.mi/mi-disassemble.exp: Update.
7967 * gdb.base/disasm-optim.S: New file.
7968 * gdb.base/disasm-optim.c: New file.
7969 * gdb.base/disasm-optim.h: New file.
7970 * gdb.base/disasm-optim.exp: New file.
7971
9ca98f92
KS
79722015-08-14 Keith Seitz <keiths@redhat.com>
7973
7974 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7975 "evaluated-by".
7976
52bbc560
JB
79772015-08-13 Joel Brobecker <brobecker@adacore.com>
7978
7979 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7980
5d8c3ed3
PMR
79812015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7982
7983 * gdb.ada/fun_renaming.exp: New testcase.
7984 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7985 * gdb.ada/fun_renaming/pack.adb: New file.
7986 * gdb.ada/fun_renaming/pack.ads: New file.
7987
ea8812bc
KS
79882015-08-12 Keith Seitz <keiths@redhat.com>
7989
7990 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7991 gdb_get_line_number.
7992
4dafcdeb
JB
79932015-08-12 Joel Brobecker <brobecker@adacore.com>
7994
7995 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7996 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7997 gdb.base/dso2dso.exp: New files.
7998
5ba32597
SDJ
79992015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8000 Pedro Alves <palves@redhat.com>
8001 Keith Seitz <keiths@redhat.com>
8002
8003 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8004 GDBFLAGS.
8005
b6dafabf
PP
80062015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8007
8008 * gdb.base/gdbhistsize-history.exp
8009 (test_histsize_history_setting): Use save_vars.
8010 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8011 Use save_vars.
8012 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8013 * gdb.base/readline.exp: Use save_vars.
8014
abe8e607
PP
80152015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8016
8017 * lib/gdb.exp (save_vars): New proc.
8018
629500fa
KS
80192015-08-11 Keith Seitz <keiths@redhat.com>
8020
8021 * gdb.base/help.exp: Update help_breakpoint_text.
8022
eb8c4e2e
KS
80232015-08-11 Keith Seitz <keiths@redhat.com>
8024
8025 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8026 (at toplevel): Call test_explicit_breakpoints.
8027 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8028 breakpoints.
8029 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8030 breakpoint conditions, "-cond".
8031
87f0e720
KS
80322015-08-11 Keith Seitz <keiths@redhat.com>
8033
8034 * gdb.linespec/3explicit.c: New file.
8035 * gdb.linespec/cpexplicit.cc: New file.
8036 * gdb.linespec/cpexplicit.exp: New file.
8037 * gdb.linespec/explicit.c: New file.
8038 * gdb.linespec/explicit.exp: New file.
8039 * gdb.linespec/explicit2.c: New file.
8040 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8041 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8042 before using in the matching pattern.
8043 Clarify that `prefix' is a regular expression.
8044
f00aae0f
KS
80452015-08-11 Keith Seitz <keiths@redhat.com>
8046
8047 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8048 test.
8049 Add tests for missing ",FMT" and ",".
8050
e27852be
DE
80512015-08-10 Doug Evans <dje@google.com>
8052 Keith Seitz <keiths@redhat.com>
8053
8054 PR gdb/17960
8055 * gdb.base/completion.exp: Add location completer tests.
8056
7f03bd92
PA
80572015-08-07 Pedro Alves <palves@redhat.com>
8058
8059 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8060 tests here.
8061 (top level): Run do_test with and without displaced stepping.
8062
3fc8eb30
PA
80632015-08-07 Pedro Alves <palves@redhat.com>
8064
8065 * gdb.base/valgrind-disp-step.c: New file.
8066 * gdb.base/valgrind-disp-step.exp: New file.
8067
d4569d7b
PA
80682015-08-07 Pedro Alves <palves@redhat.com>
8069
8070 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8071 Delete function.
8072 (main): Add alarm. Run an infinite loop instead of calling
8073 wait_threads.
8074 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8075 comment.
8076 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8077 Delete function.
8078 (main): Add alarm. Run an infinite loop instead of calling
8079 wait_threads.
8080 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8081 comment.
8082
e1316e60
PA
80832015-08-07 Pedro Alves <palves@redhat.com>
8084
8085 * gdb.base/checkpoint-ns.exp: New file.
8086 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8087 standard_testfile.
8088
da8c46d2
MM
80892015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8090
8091 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8092 * gdb.btrace/instruction_history.exp: Update.
8093 * gdb.btrace/tsx.exp: New.
8094 * gdb.btrace/tsx.c: New.
8095
de1c2c52
PA
80962015-08-06 Pedro Alves <palves@redhat.com>
8097
8098 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8099 increase timeout.
8100 * gdb.reverse/until-precsave.exp: Bump timeouts.
8101
782e0bf4
PA
81022015-08-06 Pedro Alves <palves@redhat.com>
8103
8104 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8105
83e97ed0
PA
81062015-08-06 Pedro Alves <palves@redhat.com>
8107
8108 PR gdb/18749
8109 * gdb.threads/process-dies-while-handling-bp.c: New file.
8110 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8111
863d01bd
PA
81122015-08-06 Pedro Alves <palves@redhat.com>
8113
8114 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8115 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8116
0a39bb32
PA
81172015-08-05 Pedro Alves <palves@redhat.com>
8118
8119 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8120 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8121
ee2d2b10
SL
81222015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8123
8124 * gdb.base/bp-permanent.exp: Report test as unsupported if
8125 the target cannot stop at the permanent breakpoint.
8126
4e1bdb00
DE
81272015-08-03 Doug Evans <dje@google.com>
8128
8129 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8130 10000.
8131
3d338901
DE
81322015-08-03 Doug Evans <dje@google.com>
8133
8134 * Makefile.in (workers/%.worker, build-perf): New rule.
8135 (GDB_PERFTEST_MODE): New variable.
8136 (check-perf): Use it.
8137 (clean): Clean up gdb.perf parallel build subdirs.
8138 * lib/build-piece.exp: New file.
8139 * lib/gdb.exp (make_gdb_parallel_path): New function
8140 (standard_output_file, standard_temp_file): Call it.
8141 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8142 of $GDB_PARALLEL.
8143 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8144
af061d3e
DE
81452015-08-03 Doug Evans <dje@google.com>
8146
8e1afc81 8147 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
8148 (LOG_FILE_NAME): New global.
8149 (TextReporter.__init__): Initialize self.txt_sum.
8150 (TextReporter.report): Add support for multiple data-points.
8151 Move report to perftest.sum, put raw data in perftest.log.
8152 (TextReporter.start): Open sum and log files.
8153 (TextReporter.end): Close sum and log files.
8e1afc81
DE
8154 * gdb.perf/lib/perftest/testresult.py
8155 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 8156
2c8c5d37
PA
81572015-07-31 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8160 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8161 kill_wait_spawned_process instead of explicit "kill -9".
8162 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8163 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8164 kill_wait_spawned_process.
8165 * gdb.base/attach-twice.exp: Likewise.
8166 * gdb.base/attach.exp: Likewise.
8167 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8168 gdb_test_multiple.
8169 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8170 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8171 kill_wait_spawned_process.
8172 * gdb.base/valgrind-infcall.exp: Likewise.
8173 * gdb.multi/multi-attach.exp: Likewise.
8174 * gdb.python/py-prompt.exp: Likewise.
8175 * gdb.python/py-sync-interp.exp: Likewise.
8176 * gdb.server/ext-attach.exp: Likewise.
8177 * gdb.threads/attach-into-signal.exp (corefunc): Use
8178 spawn_wait_for_attach, spawn_id_get_pid and
8179 kill_wait_spawned_process.
8180 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8181 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8182 spawn_id_get_pid and kill_wait_spawned_process.
8183 * gdb.threads/attach-stopped.exp (corefunc): Use
8184 spawn_wait_for_attach, spawn_id_get_pid and
8185 kill_wait_spawned_process.
8186 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8187 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8188 kill_wait_spawned_process instead of explicit "kill -9".
8189 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8190 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8191 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8192 processes. Don't map cygwin/windows pids here. Now returns a
8193 spawn id list.
8194
032a0fca
SL
81952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8196
8197 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8198 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8199 correct patch.
8200
61a934ca
SL
82012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8202
8203 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8204
4bc4d428
SL
82052015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8206
8207 Reapply:
8208 2014-05-21 Mark Wielaard <mjw@redhat.com>
8209
8210 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8211
998d452a
PA
82122015-07-30 Pedro Alves <palves@redhat.com>
8213
8214 * linux-low.c (handle_extended_wait): Set the child's last
8215 reported status to TARGET_WAITKIND_STOPPED.
8216
69dde7dc
PA
82172015-07-30 Pedro Alves <palves@redhat.com>
8218
8219 PR threads/18600
8220 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8221 only shows inferior 1.
8222
4dd63d48
PA
82232015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8224 Pedro Alves <palves@redhat.com>
8225
8226 PR threads/18600
8227 * gdb.threads/fork-plus-threads.c: New file.
8228 * gdb.threads/fork-plus-threads.exp: New file.
8229
d618e4c5
PP
82302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8231
8232 * gdb.base/batch-preserve-term-settings.exp
8233 (test_terminal_settings_preserved_after_cli_exit): Use
8234 send_quit_command.
8235
1eef6428
PA
82362015-07-29 Pedro Alves <palves@redhat.com>
8237 Don Breazeal <donb@codesourcery.com>
8238
8239 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8240 output from both inferior_spawn_id and gdb_spawn_id.
8241
7da5b897
SDJ
82422015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8243
8244 * gdb.threads/attach-into-signal.exp (corefunc): Use
8245 with_test_prefix on nested loops, uniquefying the test messages.
8246
dac804df
SDJ
82472015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8248
8249 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8250 commit.
8251
06265e53
PP
82522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8253
8254 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8255 New proc.
8256 (test_terminal_settings_preserved_after_sigterm): New test.
8257
18206ca3
PP
82582015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8259
8260 * gdb.base/batch-preserve-term-settings.exp
8261 (test_terminal_settings_preserved_after_cli_exit): New test.
8262
90074d11
PP
82632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8264
8265 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8266 manipulation of saved_gdbflags.
8267 (test_terminal_settings_preserved): Remove global declaration of
8268 the unused variable pagination_prompt. Remove manipulation of
8269 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8270 GDBFLAGS.
8271
eb1a7902
PA
82722015-07-29 Pedro Alves <palves@redhat.com>
8273
8274 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8275
8b75dd3b
PA
82762015-07-29 Pedro Alves <palves@redhat.com>
8277
8278 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8279 at the top.
8280
dedad4e3
PA
82812015-07-29 Pedro Alves <palves@redhat.com>
8282
8283 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8284 (main): Call gdb_unbuffer_output.
8285 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8286 (main): Call gdb_unbuffer_output.
8287 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8288 (main): Call gdb_unbuffer_output.
8289 * gdb.base/call-strs.exp: Adjust to step over the
8290 gdb_unbuffer_output call.
8291 * gdb.base/catch-gdb-caused-signals.c: Include
8292 "../lib/unbuffer_output.c".
8293 (main): Call gdb_unbuffer_output.
8294 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8295 (main): Call gdb_unbuffer_output.
8296 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8297 (main): Call gdb_unbuffer_output.
8298 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8299 (main): Call gdb_unbuffer_output.
8300 * gdb.base/shlib-call.exp: Adjust to step over the
8301 gdb_unbuffer_output call.
8302 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8303 (main): Call gdb_unbuffer_output.
8304 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8305 (main): Call gdb_unbuffer_output.
8306 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8307 (main): Rename to ...
8308 (test): ... this.
8309 (main): Reimplement.
8310 * gdb.base/varargs.exp: Run to test instead of to main.
8311 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8312 (main): Call gdb_unbuffer_output.
8313
58789a91
PA
83142015-07-29 Pedro Alves <palves@redhat.com>
8315
8316 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8317 factore out from mi_continue_dprintf. For call-style dprintfs,
8318 expect dprintf output out of $inferior_spawn_id.
8319 (mi_continue_dprintf): Use mi_expect_dprintf.
8320 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8321 (main): Call gdb_unbuffer_output.
8322
e8376742
PA
83232015-07-29 Pedro Alves <palves@redhat.com>
8324
8325 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8326 (default_mi_gdb_start): Set inferior_spawn_id instead of
8327 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8328 gdb_spawn_id.
8329 (mi_gdb_test): Always expect inferior output from both
8330 $inferior_spawn_id and $gdb_spawn_id.
8331
08280010
PA
83322015-07-29 Pedro Alves <palves@redhat.com>
8333
8334 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8335 send_inferior and $inferior_spawn_id.
8336
4d30e432
PA
83372015-07-29 Pedro Alves <palves@redhat.com>
8338
8339 * gdb.gdb/complaints.exp (test_initial_complaints)
8340 (test_serial_complaints, test_short_complaints): Use
8341 gdb_test_stdio.
8342 (test_empty_complaint): Handle $inferior_spawn_id !=
8343 $gdb_spawn_id.
8344
0d30a335
PA
83452015-07-29 Pedro Alves <palves@redhat.com>
8346
8347 * gdb.base/varargs.exp: Use gdb_test_stdio.
8348
39413b29
PA
83492015-07-29 Pedro Alves <palves@redhat.com>
8350
8351 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8352
7cb000a9
PA
83532015-07-29 Pedro Alves <palves@redhat.com>
8354
8355 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8356
d7b8ac82
PA
83572015-07-29 Pedro Alves <palves@redhat.com>
8358
8359 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8360 parameter into two new parameters, "inf_result" and "gdb_result".
8361 Expect inferior output and gdb output from $inferior_spawn_id and
8362 $gdb_spawn_id, respectively. Adjust all callers.
8363
789c3a0c
PA
83642015-07-29 Pedro Alves <palves@redhat.com>
8365
8366 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8367 of gdb_test_sequence.
8368
77e760c3
PA
83692015-07-29 Pedro Alves <palves@redhat.com>
8370
8371 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8372 (saw_spurious_output): Expect inferior output from
8373 $inferior_spawn_id. Use gdb_test_stdio.
8374
8396d2cd
PA
83752015-07-29 Pedro Alves <palves@redhat.com>
8376
8377 * gdb.base/dprintf.exp: Use standard_testfile. Change
8378 prepare_for_testing call.
8379 (srcfile): Don't set.
8380 (restart): New procedure.
8381 (test_dprintf): New procecure, use to continue over dprintfs.
8382 (test_call, test_agent): New procedures, tests moved here.
8383 Restart gdb and recreate dprintfs. Adjust expected output.
8384
2051d61f
PA
83852015-07-29 Pedro Alves <palves@redhat.com>
8386
8387 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8388
452397af
PA
83892015-07-29 Pedro Alves <palves@redhat.com>
8390
8391 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8392
8aed9555
PA
83932015-07-29 Pedro Alves <palves@redhat.com>
8394
8395 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8396 gdb_test_stdio.
8397
188a61b4
PA
83982015-07-29 Pedro Alves <palves@redhat.com>
8399
8400 * lib/gdb.exp (gdb_test_stdio): New procedure.
8401
12264a45
PA
84022015-07-29 Pedro Alves <palves@redhat.com>
8403
8404 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8405
23ffc893
PA
84062015-07-29 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.base/call-signal-resume.exp: Remove check for
8409 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8410 * gdb.base/unwindonsignal.exp: Likewise.
8411 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8412 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8413
65566918
PA
84142015-07-29 Pedro Alves <palves@redhat.com>
8415
8416 * gdb.base/siginfo-addr.c (pass): New function.
8417 (handler): Call it iff si_addr is correct.
8418 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8419 Set a breakpoint at "pass" and continue to it.
8420
d60a9221
SDJ
84212015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8422
8423 * gdb.python/py-objfile.exp: Make some tests have unique names.
8424 * gdb.python/py-pp-registration.exp: Likewise.
8425
bde40b8f
PA
84262015-07-28 Pedro Alves <palves@redhat.com>
8427
8428 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8429
13e1dec8
SM
84302015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8431
8432 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8433
da33c9a7
SM
84342015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8435
8436 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8437
077836f7
PP
84382015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8439
8440 * gdb.base/gdb-sigterm-2.exp: New test.
8441
b8cc7b2e
DE
84422015-07-25 Doug Evans <xdje42@gmail.com>
8443
8444 Revert:
8445 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8446 (workers/%.worker, build-perf): New rule.
8447 (GDB_PERFTEST_MODE): New variable.
8448 (check-perf): Use it.
8449 (clean): Clean up gdb.perf parallel build subdirs.
8450 * lib/build-piece.exp: New file.
8451 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8452 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8453 name.
8454 (standard_temp_file): Ditto.
8455 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8456 of $GDB_PARALLEL.
8457
c8bd4544
DE
84582015-07-24 Doug Evans <dje@google.com>
8459
8460 * gdb.perf/lib/perftest/utils.py: New file.
8461 * gdb.perf/gm-hello.cc: New file.
8462 * gdb.perf/gm-pervasive-typedef.cc: New file.
8463 * gdb.perf/gm-pervasive-typedef.h: New file.
8464 * gdb.perf/gm-std.cc: New file.
8465 * gdb.perf/gm-std.h: New file.
8466 * gdb.perf/gm-use-cerr.cc: New file.
8467 * gdb.perf/gm-utils.h: New file.
8468 * gdb.perf/gmonster-null-lookup.py: New file.
8469 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8470 * gdb.perf/gmonster-print-cerr.py: New file.
8471 * gdb.perf/gmonster-ptype-string.py: New file.
8472 * gdb.perf/gmonster-runto-main.py: New file.
8473 * gdb.perf/gmonster-select-file.py: New file.
8474 * gdb.perf/gmonster1-null-lookup.exp: New file.
8475 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8476 * gdb.perf/gmonster1-print-cerr.exp: New file.
8477 * gdb.perf/gmonster1-ptype-string.exp: New file.
8478 * gdb.perf/gmonster1-runto-main.exp: New file.
8479 * gdb.perf/gmonster1-select-file.exp: New file.
8480 * gdb.perf/gmonster1.cc: New file.
8481 * gdb.perf/gmonster1.exp: New file.
8482 * gdb.perf/gmonster2-null-lookup.exp: New file.
8483 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8484 * gdb.perf/gmonster2-print-cerr.exp: New file.
8485 * gdb.perf/gmonster2-ptype-string.exp: New file.
8486 * gdb.perf/gmonster2-runto-main.exp: New file.
8487 * gdb.perf/gmonster2-select-file.exp: New file.
8488 * gdb.perf/gmonster2.cc: New file.
8489 * gdb.perf/gmonster2.exp: New file.
8490
6eab34f3
DE
84912015-07-24 Doug Evans <dje@google.com>
8492
8493 * gdb.perf/README: New file.
8494 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8495 * lib/gen-perf-test.exp: New file.
8496
63738bfd
DE
84972015-07-24 Doug Evans <dje@google.com>
8498
8499 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8500 (PerfTest::startup): New function.
8501 (PerfTest::run): Return result of calling body.
8502 (PerfTest::assemble): Rewrite.
8503 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8504 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8505 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8506 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8507 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8508
7b606f95
DE
85092015-07-24 Doug Evans <dje@google.com>
8510
8511 * lib/gdb.exp (clean_restart): Make executable optional.
8512
a97b16b8
DE
85132015-07-24 Doug Evans <dje@google.com>
8514
8515 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8516 compiler_info references.
8517 * gdb.cp/temargs.exp: Ditto.
8518 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8519 (get_compiler_info): Early exit if already computed. Set compiler_info
8520 to "unknown" if there was a problem.
8521 (test_compiler_info): Add function comment. Call get_compiler_info.
8522
35baa57f
DE
85232015-07-24 Doug Evans <dje@google.com>
8524
8525 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8526 (workers/%.worker, build-perf): New rule.
8527 (GDB_PERFTEST_MODE): New variable.
8528 (check-perf): Use it.
8529 (clean): Clean up gdb.perf parallel build subdirs.
8530 * lib/build-piece.exp: New file.
8531 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8532 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8533 name.
8534 (standard_temp_file): Ditto.
8535 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8536 of $GDB_PARALLEL.
8537
6ebea266
DE
85382015-07-24 Doug Evans <dje@google.com>
8539
8540 * lib/future.exp (gdb_default_target_compile): New option
8541 "early_flags".
8542 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8543 --as-needed.
8544
1e76a7e9
SDJ
85452015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8546
8547 * gdb.base/catch-syscall.exp: Call gdb_exit before
8548 gdb_skip_xml_test.
8549
5068630a
PA
85502015-07-24 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.python/py-events.exp: Accept output between the stop event
8553 and the prompt.
8554 * gdb.python/py-evsignal.exp: Likewise.
8555 * gdb.python/py-evthreads.exp: Likewise.
8556
77598427
PA
85572015-07-24 Pedro Alves <palves@redhat.com>
8558
8559 PR gdb/18717
8560 * gdb.threads/non-ldr-exit.c: New file.
8561 * gdb.threads/non-ldr-exit.exp: New file.
8562
11e6c98f
YQ
85632015-07-24 Yao Qi <yao.qi@linaro.org>
8564
8565 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8566 restarting process.
8567
51aee833
YQ
85682015-07-24 Yao Qi <yao.qi@linaro.org>
8569
8570 * gdb.server/ext-restart.exp: New file.
8571
8cfe207c
YQ
85722015-07-24 Yao Qi <yao.qi@linaro.org>
8573
8574 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8575 argument options.
8576 * gdb.server/ext-wrapper.exp: New file.
8577
cc12ce38
DE
85782015-07-23 Doug Evans <dje@google.com>
8579
8580 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8581 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8582
d0d84780
PMR
85832015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8584
8585 * gdb.ada/var_arr_typedef.exp: New testcase.
8586 * gdb.ada/var_arr_typedef/pack.adb: New file.
8587 * gdb.ada/var_arr_typedef/pack.ads: New file.
8588 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8589
8b558f79
JB
85902015-07-20 Joel Brobecker <brobecker@adacore.com>
8591
8592 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8593
775a3298
JK
85942015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8595
8596 * gdb.arch/i386-biarch-core.exp: Replace istarget
8597 by "complete set gnutarget". Remove expectation for the "core-file"
8598 command.
8599
db1ff28b
JK
86002015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8601
8602 Revert the previous commit:
8603 Tests for validate symbol file using build-id.
8604
0a94970d
JK
86052015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8606
8607 Tests for validate symbol file using build-id.
8608 * gdb.base/solib-mismatch-lib.c: New file.
8609 * gdb.base/solib-mismatch-libmod.c: New file.
8610 * gdb.base/solib-mismatch.c: New file.
8611 * gdb.base/solib-mismatch.exp: New file.
8612
03346981
SL
86132015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8614
8615 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8616 nios2-*-linux*.
8617 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8618 * gdb.base/siginfo.exp: Likewise.
8619 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8620
42422cc7
PL
86212015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8622
8623 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8624 Move it to ...
8625 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8626 ... here.
8627 * gdb.trace/range-stepping.exp: Check that the target supports
8628 range stepping.
8629
cfa68bae
JK
86302015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8631
8632 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8633
8ffdba26
PA
86342015-07-14 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.base/killed-outside.exp: New file.
8637 * gdb.base/killed-outside.c: New file.
8638
218a5a11
JK
86392015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8640
8641 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8642 (n at main): New.
8643 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8644
e03ed3c6
AA
86452015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8646
8647 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8648 infcall tests instead of setting up for KFAIL.
8649
485668e5
MM
86502015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8651
8652 * gdb.btrace/record_goto-step.exp: New.
8653
08464196
JK
86542015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8655
8656 PR compile/18484
8657 * gdb.compile/compile.c (struct struct_type): Add volatile to
8658 selffield's type.
8659 * gdb.compile/compile.exp
8660 (compile code struct_object.selffield = &struct_object): Skip further
8661 struct_object tests if this one xfails.
8662
bcf5c1d9
RC
86632015-07-08 Robert O'Callahan <robert@ocallahan.org>
8664
8665 PR exp/18617
8666 * gdb.trace/ax.exp: Add test.
8667
4931af25
YQ
86682015-07-07 Yao Qi <yao.qi@linaro.org>
8669
8670 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8671 instead of istarget "aarch64*-*-*".
8672 * gdb.arch/aarch64-fp.exp: Likewise.
8673 * gdb.base/float.exp: Likewise.
8674 * gdb.reverse/aarch64.exp: Likewise.
8675 * lib/gdb.exp (is_aarch64_target): New proc.
8676
9fcf688e
YQ
86772015-07-07 Yao Qi <yao.qi@linaro.org>
8678
8679 * lib/gdb.exp (is_aarch32_target): New proc.
8680 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8681 instead of "istarget "arm*-*-*"".
8682 * gdb.arch/arm-disp-step.exp: Likewise.
8683 * gdb.arch/thumb-bx-pc.exp: Likewise.
8684 * gdb.arch/thumb-prologue.exp: Likewise.
8685 * gdb.arch/thumb-singlestep.exp: Likewise.
8686 * gdb.base/disp-step-syscall.exp: Likewise.
8687 * gdb.base/float.exp: Likewise.
8688
fbd8d50d
YQ
86892015-07-07 Yao Qi <yao.qi@linaro.org>
8690
8691 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8692 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8693
71be1fdc
YQ
86942015-07-07 Yao Qi <yao.qi@linaro.org>
8695
8696 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8697 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8698 if it exists.
8699 * gdb.multi/multi-arch.exp: Likewise.
8700
3e221d36
SM
87012015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8702
8703 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8704 print.
8705
d441430b
YQ
87062015-07-07 Yao Qi <yao.qi@linaro.org>
8707
8708 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8709
06f810bd
MG
87102015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8711
8712 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8713 '[' and ']' characters.
8714
5e61e7c0
IB
87152015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8716
8717 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8718
28bf096c
PA
87192015-06-29 Pedro Alves <palves@redhat.com>
8720
8721 PR threads/18127
8722 * gdb.threads/hand-call-new-thread.c: New file.
8723 * gdb.threads/hand-call-new-thread.c: New file.
8724
ee93cd5e
KS
87252015-06-26 Keith Seitz <keiths@redhat.com>
8726 Doug Evans <dje@google.com>
8727
8728 PR 16253
8729 * gdb.cp/var-tag-2.cc: New file.
8730 * gdb.cp/var-tag-3.cc: New file.
8731 * gdb.cp/var-tag-4.cc: New file.
8732 * gdb.cp/var-tag.cc: New file.
8733 * gdb.cp/var-tag.exp: New file.
8734
fc637f04
PP
87352015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8736
8737 * gdb.base/history-duplicates.exp: New test.
8738
2e52ae68
PP
87392015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8740
8741 * gdb.base/completion.exp: Test the completion of the "focus"
8742 command.
8743
6e22494e
JK
87442015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8745
8746 * gdb.arch/amd64-prologue-skip.S: New file.
8747 * gdb.arch/amd64-prologue-skip.exp: New file.
8748
bf7b9cd9
SM
87492015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8750
8751 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8752 is_address_zero_readable check.
8753
201e8dfd
PB
87542015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8755
8756 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8757 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8758
5cd867b4
YQ
87592015-06-24 Yao Qi <yao.qi@linaro.org>
8760
8761 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8762 linux targets.
8763
4d7be007
YQ
87642015-06-24 Yao Qi <yao.qi@linaro.org>
8765
8766 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8767 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8768 * gdb.base/siginfo-thread.exp: Likewise.
8769
07fcd301
YQ
87702015-06-22 Yao Qi <yao.qi@linaro.org>
8771
8772 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8773
52042a00
YQ
87742015-06-22 Yao Qi <yao.qi@linaro.org>
8775
8776 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8777 aarch64*-*-*.
8778 (skip_hw_watchpoint_tests): Likewise.
8779
74bd41ce
PP
87802015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8781
8782 * gdb.base/gdbinit-history.exp: Test the interaction between
8783 setting GDBHISTSIZE and setting the history size via .gdbinit.
8784
bc460514
PP
87852015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8786
8787 PR gdb/16999
8788 * gdb.base/gdbhistsize-history.exp: New test.
8789
b58c513b
PP
87902015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8791
8792 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8793 with GDBHISTSIZE.
8794 * gdb.base/readline.exp: Likewise.
8795
92046791
YQ
87962015-06-17 Yao Qi <yao.qi@linaro.org>
8797
8798 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8799 line.
8800
2093d2d3
PP
88012015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8802
8803 * gdb.base/gdbinit-history.exp: Add test case to check that
8804 an unlimited history file does not get truncated on exit.
8805
e6c693af
AA
88062015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8807
8808 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8809 (VECTOR): New macro. Use it...
8810 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8811 ...for these typedefs.
8812 (int8, char1, int1, double1): New typedefs.
8813 (struct just_int2, struct two_int2): New structures.
8814 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8815 (add_structvecs, add_singlevecs): New functions.
8816 (main): Call add_some_intvecs twice.
8817 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8818 the compile and exit upon failure. Try compiling for the "native"
8819 architecture. Test inferior function calls with vector arguments
8820 and vector return value handling with "finish" and "return".
8821
c74f7d1c
JT
88222015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8823
8824 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8825 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8826 PE file.
8827 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8828
98aa42ee
AT
88292015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8830
8831 PR breakpoints/16465
8832 * gdb.mi/mi-dprintf-pending.c: New file.
8833 * gdb.mi/mi-dprintf-pending.exp: New test.
8834 * gdb.mi/mi-dprintf-pendshr.c: New file.
8835
7d73c23c 88362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 8837 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
8838
8839 * gdb.arch/i386-mpx-map.c: New file.
8840 * gdb.arch/i386-mpx-map.exp: New File.
8841
88422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8843
8844 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8845 * gdb.arch/i386-mpx.exp: Indentation fixed.
8846
88472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8848
8849 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8850 function and improved indentation.
8851 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8852 gdb_test_multiple. Added additional tests to skip the test.
8853
88542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8855
8856 * gdb.arch/i386-avx512.c: Change path in include file.
8857 * gdb.arch/i386-avx512.exp: Change include dir path
8858 compilation flag.
8859 * gdb.arch/i386-mpx.c: Change path in include file.
8860 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8861 flag.
8862
d5eba19a
JK
88632015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8864
8865 * gdb.compile/compile-print.exp (compile print *vararray@3)
8866 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8867
7f361056
JK
88682015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8869
8870 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8871 (do not keep jit in memory): ... this.
8872 (expect 5): Change it to ...
8873 (expect no 5): ... this.
8874
3b462ec2
SM
88752015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8876
8877 PR gdb/15564
8878 * gdb.mi/mi-detach.exp: New file.
8879
e0619de6
JK
88802015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8881
8882 PR symtab/18392
8883 * gdb.arch/amd64-tailcall-self.S: New file.
8884 * gdb.arch/amd64-tailcall-self.c: New file.
8885 * gdb.arch/amd64-tailcall-self.exp: New file.
8886
e970cb34
DB
88872015-05-28 Don Breazeal <donb@codesourcery.com>
8888
8889 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8890 tests for remote targets by checking is_target_gdbserver.
8891
b2e2f908
DE
88922015-05-27 Doug Evans <dje@google.com>
8893
8894 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8895 * gdb.dwarf2/opaque-type-lookup.c: New file.
8896 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8897
82c7be31
DE
88982015-05-26 Doug Evans <dje@google.com>
8899
8900 * gdb.cp/iostream.cc: New file.
8901 * gdb.cp/iostream.exp: New file.
8902
b4f54984
DE
89032015-05-26 Doug Evans <dje@google.com>
8904
8905 * gdb.dwarf2/dw2-op-call.exp: Update.
8906 * gdb.dwarf2/dw4-sig-types.exp: Update.
8907 * gdb.dwarf2/implptr.exp: Update.
8908 * gdb.mi/mi-cmd-param-changed.exp: Update.
8909
4ea6efe9
DE
89102015-05-26 Doug Evans <dje@google.com>
8911
8912 * gdb.python/py-lazy-string.c: New file.
8913 * gdb.python/py-lazy-string.exp: New file.
8914 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8915 (main): Update. Add estring3.
8916 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8917 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8918
f6bb7db3
YQ
89192015-05-26 Omair Javaid <omair.javaid@linaro.org>
8920 Yao Qi <yao.qi@linaro.org>
8921
8922 * gdb.reverse/aarch64.c: New.
8923 * gdb.reverse/aarch64.exp: New.
8924
a81bfbd0
OJ
89252015-05-26 Omair Javaid <omair.javaid@linaro.org>
8926
25d49b86
PA
8927 * lib/gdb.exp (supports_process_record): Return true for
8928 aarch64*-linux*.
a81bfbd0
OJ
8929 (supports_reverse): Likewise.
8930
158bf1b4
PP
89312015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8932
8933 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8934 Use with_test_prefix.
8935
a0145030
AB
89362015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8937
8938 * gdb.base/completion.exp: Add test for completion of layout
8939 names.
8940
ebe3b578
AB
89412015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8942
8943 * lib/gdb.exp (skip_tui_tests): New proc.
8944 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8945
84204ed7
PA
89462015-05-19 Pedro Alves <palves@redhat.com>
8947
8948 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8949 Save the whole env array instead of just HOME. Unset HISTSIZE in
8950 the environment while testing. Restore whole environment
8951 afterwards.
8952
37442ce1
DE
89532015-05-16 Doug Evans <xdje42@gmail.com>
8954
8955 * gdb.guile/scm-ports.c: New file.
8956 * gdb.guile/scm-ports.exp: Add memory port tests.
8957
36de76f9
JK
89582015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8959
8960 * gdb.compile/compile-print.c: New file.
8961 * gdb.compile/compile-print.exp: New file.
8962
3a9558c4
JK
89632015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8964
8965 * gdb.compile/compile-ops.exp: Cast param to void.
8966 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8967 (compile code struct_object.selffield = &struct_object): Add xfail.
8968
aa715135
JG
89692015-05-15 Joel Brobecker <brobecker@adacore.com>
8970
8971 * gdb.ada/arr_enum_with_gap: New testcase.
8972
931e5bc3
JG
89732015-05-15 Joel Brobecker <brobecker@adacore.com>
8974
8975 * gdb.ada/byte_packed_arr: New testcase.
8976
9cd4d857
JB
89772015-05-15 Joel Brobecker <brobecker@adacore.com>
8978
8979 * gdb.ada/pckd_neg: New testcase.
8980
ebfd00d2
PP
89812015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8982
8983 PR gdb/17820
8984 * gdb.base/gdbinit-history.exp: New test.
8985 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8986 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8987
4c082a81
SC
89882015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8989
8990 * gdb.python/py-xmethods.cc: Enhance test case.
8991 * gdb.python/py-xmethods.exp: New tests.
8992 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8993 function.
8994 (B_indexoper): Likewise.
8995 (global_dm_list) : Add new xmethod worker functions.
8996
f7797074
SDJ
89972015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8998
8999 * gdb.base/coredump-filter.exp: Correctly unset
9000 "coredump_var_addr" array.
9001
a4674e4e
PA
90022015-05-08 Pedro Alves <palves@redhat.com>
9003
9004 * gdb.server/non-existing-program.exp: Unset spawn_id.
9005
df2eb078
SC
90062015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9007
9008 PR python/18291
9009 * gdb.python/py-xmethods.exp: Add tests.
9010
422349a3
YQ
90112015-05-08 Yao Qi <yao.qi@linaro.org>
9012
9013 PR gdb/18208
9014 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9015 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9016 function set_coredump_filter, and remove remote_exec call.
9017 Remove argument ipid. Callers update.
9018 (top level): Don't get inferior's PID.
9019
63fc80ce
AA
90202015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9021
9022 * gdb.base/watch_thread_num.exp: Skip test on targets without
9023 access watchpoints.
9024
80ad801e
PA
90252015-05-06 Pedro Alves <palves@redhat.com>
9026
9027 PR server/18081
9028 * gdb.server/non-existing-program.exp: New file.
9029
0fa7fe50
JB
90302015-05-05 Joel Brobecker <brobecker@adacore.com>
9031
9032 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9033
3ea89b92
PMR
90342015-05-05 Joel Brobecker <brobecker@adacore.com>
9035
9036 * gdb.ada/out_of_line_in_inlined: New testcase.
9037
87b8eff0
JB
90382015-05-05 Joel Brobecker <brobecker@adacore.com>
9039
9040 * gdb.ada/var_rec_arr: New testcase.
9041
5fccc635
YQ
90422015-04-30 Yao Qi <yao.qi@linaro.org>
9043
9044 * gdb.base/break-idempotent.exp: If
9045 skip_hw_watchpoint_multi_tests returns true, skip the tests
9046 on "rwatch" and "awatch".
9047
42d38f42
YQ
90482015-04-30 Yao Qi <yao.qi@linaro.org>
9049
9050 * gdb.base/relativedebug.exp: Invoke gdb command
9051 "info sharedlibrary", and if libc.so doesn't have debug info,
9052 skip the test.
9053
2ce1cdbf
DE
90542015-04-29 Doug Evans <dje@google.com>
9055
9056 * gdb.python/py-xmethods.exp: Add ptype tests.
9057 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9058 get_result_type method.
9059
f24a38c5
LM
90602015-04-29 Luis Machado <lgustavo@codesourcery.com>
9061
9062 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9063 the target does not support hardware watchpoints.
9064
ecbf2b3c
LM
90652015-04-29 Luis Machado <lgustavo@codesourcery.com>
9066
9067 * gdb.base/break-always.exp: Abort testing if writing to memory
9068 causes an error.
9069
34f5f757
DE
90702015-04-28 Doug Evans <dje@google.com>
9071
9072 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9073 * gdb.python/py-pp-registration.exp: ... here. New file.
9074 * gdb.python/py-pp-registration.c: New file.
9075 * gdb.python/py-pp-registration.py: New file.
9076
69b4374a
DE
90772015-04-28 Doug Evans <dje@google.com>
9078
9079 * gdb.python/py-bad-printers.c: New file.
9080 * gdb.python/py-bad-printers.py: New file.
9081 * gdb.python/py-bad-printers.exp: New file.
9082
59fb7612
SS
90832015-04-28 Sasha Smundak <asmundak@google.com>
9084
9085 * gdb.python/py-type.exp: New test.
9086
2631b16a
AW
90872015-04-28 Andy Wingo <wingo@igalia.com>
9088
9089 * gdb.python/py-parameter.exp:
9090 * gdb.guile/scm-parameter.exp: Escape the path that we are
9091 matching against, as it might contain characters that are special
9092 to regular expressions.
9093
460efde1
JB
90942015-04-27 Joel Brobecker <brobecker@adacore.com>
9095
9096 * gdb.ada/rec_comp: New testcase.
9097
2d369d8e
SDJ
90982015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9099
9100 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9101 before using it.
9102
cf75d6c3
AB
91032015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9104
9105 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9106 new tests for verilog output.
9107
8dbe7ca5
YQ
91082015-04-24 Yao Qi <yao.qi@linaro.org>
9109
9110 * boards/remote-gdbserver-on-localhost.exp: New file.
9111
4ef9fb2f
PA
91122015-04-23 Pedro Alves <palves@redhat.com>
9113
9114 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9115 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9116 "end of file", remove $inferior_spawn_id from the indirect list.
9117
0a803169
PA
91182015-04-23 Pedro Alves <palves@redhat.com>
9119
9120 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9121
749ef8f8
PA
91222015-04-23 Pedro Alves <palves@redhat.com>
9123
9124 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9125 on $any_spawn_id instead of only on $gdb_spawn_id.
9126
8aae4344
PM
91272015-04-21 Pierre Muller <muller@sourceware.org>
9128
9129 PR pascal/17815
9130 * lib/pascal.exp (gpc_compile): Add new option "class".
9131 (fpc_compile): Likewise.
9132 * gdb.pascal/case-insensitive-symbols.pas: New file.
9133 * gdb.pascal/case-insensitive-symbols.exp: New file.
9134
1586c8fb
GB
91352015-04-20 Gary Benson <gbenson@redhat.com>
9136
9137 * gdb.base/attach.exp: Fix three extended remote failures.
9138
1b6e6f5c
GB
91392015-04-17 Gary Benson <gbenson@redhat.com>
9140
9141 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9142 the main executable over the remote protocol.
9143
e797481d
PA
91442015-04-16 Pedro Alves <palves@redhat.com>
9145
9146 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9147 a new gdbserver if gdbserver_reconnect_p is set.
9148
1ca99c42
PA
91492015-04-16 Pedro Alves <palves@redhat.com>
9150
9151 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9152 is set, don't exit gdbserver.
9153
af9fd6f8
AA
91542015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9155
9156 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9157 appropriate .insn, such that an older assembler can be used.
9158 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9159 the z/Architecture instruction set on 31-bit targets as well.
9160
04ff1e61
AA
91612015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9162
9163 * gdb.go/handcall.exp: Remove all logic related to the first
9164 breakpoint and rely on go_runto_main instead.
9165 * gdb.go/strings.exp: Likewise.
9166 * gdb.go/unsafe.exp: Likewise.
9167 * gdb.go/hello.exp: Likewise. Also rename the remaining
9168 breakpoint marker to "breakpoint 1".
9169 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9170 * gdb.go/strings.go: Likewise.
9171 * gdb.go/unsafe.go: Likewise.
9172 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9173 "set breakpoint 2 here" and rename the remaining breakpoint marker
9174 to "breakpoint 1".
9175
40d2f8d6
SM
91762015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9177
9178 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9179 if itertools.imap is not present.
9180 * gdb.python/py-objfile.exp: Add parentheses.
9181 * gdb.python/py-type.exp: Same.
9182 * gdb.python/py-unwind-maint.py: Same.
9183
8cbc97c6
YQ
91842015-04-15 Yao Qi <yao.qi@linaro.org>
9185
9186 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9187 of ":$ptr_size" and set its form explicitly.
9188
45fd756c
YQ
91892015-04-15 Pedro Alves <palves@redhat.com>
9190 Yao Qi <yao.qi@linaro.org>
9191
9192 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9193 timeout by factor of 4.
9194 (test_regular_watch): Likewise.
9195 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9196 * gdb.reverse/sigall-reverse.exp: Likewise.
9197 * gdb.reverse/until-precsave.exp: Likewise.
9198 * lib/gdb.exp (with_timeout_factor): New proc.
9199 (gdb_expect): Move some code to ...
9200 (get_largest_timeout): ... here. New procedure.
9201
9e811bc3
LM
92022015-04-14 Luis Machado <lgustavo@codesourcery.com>
9203
9204 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9205
0ff6fcb2
LM
92062015-04-13 Luis Machado <lgustavo@codesourcery.com>
9207
9208 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9209 to write to the .text section.
9210
7578d5f7
LM
92112015-04-13 Luis Machado <lgustavo@codesourcery.com>
9212
9213 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9214 Handle the case of targets that do not provide PID information.
9215
2efe15c4
YQ
92162015-04-13 Yao Qi <yao.qi@linaro.org>
9217
9218 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9219 and use expect instead of gdb_expect.
9220
8cd8f2f8
SDJ
92212015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9222
9223 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9224 "coredump_var_addr" to avoid naming conflict with other testcases.
9225
9ee41772
PA
92262015-04-10 Pedro Alves <palves@redhat.com>
9227
9228 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9229 gdb_test_sequence and gdb_assert.
9230
07473109
PA
92312015-04-10 Pedro Alves <palves@redhat.com>
9232
9233 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9234 test messages that don't include the breakpoint address.
9235
de3db44c
YQ
92362015-04-10 Yao Qi <yao.qi@linaro.org>
9237
9238 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9239 false for some offset and width combinations which aren't
9240 supported by linux kernel.
9241
c79d856c
PA
92422015-04-10 Pedro Alves <palves@redhat.com>
9243
9244 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9245 procedure, factored out from ...
9246 (top level): ... here. Add "set displaced-stepping" testing axis.
9247 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9248 parameter "displaced". Use it.
9249 (top level): Use foreach and add "set displaced-stepping" testing
9250 axis.
9251
ebc90b50
PA
92522015-04-10 Pedro Alves <palves@redhat.com>
9253
9254 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9255 Remove comment.
9256 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9257 both the address of the instruction that triggers the watchpoint
9258 and the address of the instruction immediately after, and use
9259 those addresses for the test. Fix comment.
9260
8f572e5c
PA
92612015-04-10 Pedro Alves <palves@redhat.com>
9262
9263 * gdb.base/sigstep.exp (breakpoint_to_handler)
9264 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9265 Test "backtrace" in handler.
9266 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9267 (top level): Add new "displaced" test axis to
9268 breakpoint_to_handler, breakpoint_to_handler_entry and
9269 breakpoint_over_handler.
9270
8d707a12
PA
92712015-04-10 Pedro Alves <palves@redhat.com>
9272
9273 PR gdb/18216
9274 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9275
ef713951
YQ
92762015-04-10 Yao Qi <yao.qi@linaro.org>
9277
9278 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9279 (test_add_rn_pc): New function.
9280 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9281 (top level): Invoke test_add_rn_pc.
9282
906d60cf
PA
92832015-04-10 Pedro Alves <palves@redhat.com>
9284
9285 PR gdb/13858
9286 * gdb.base/step-over-no-symbols.exp: New file.
9287
f2983cc3
AW
92882015-04-09 Andy Wingo <wingo@igalia.com>
9289
9290 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9291 after the Python tests.
9292
6d62641c
SDJ
92932015-04-08 Keith Seitz <keiths@redhat.com>
9294
9295 PR python/16699
9296 * gdb.python/py-completion.exp: New tests for completion.
9297 * gdb.python/py-completion.py (CompleteLimit1): New class.
9298 (CompleteLimit2): Likewise.
9299 (CompleteLimit3): Likewise.
9300 (CompleteLimit4): Likewise.
9301 (CompleteLimit5): Likewise.
9302 (CompleteLimit6): Likewise.
9303 (CompleteLimit7): Likewise.
9304
f3770638
PA
93052015-04-08 Pedro Alves <palves@redhat.com>
9306
9307 PR gdb/18214
9308 PR gdb/18216
9309 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9310 function.
9311 (main): Install it as SIGUSR1 handler.
9312 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9313 parameter. Always use "setup" as prefix. Toggle "set
9314 displaced-stepping" off/on depending on global. Don't switch to
9315 thread 1 here.
9316 (top level): Add displaced stepping "off/on" test axis. Update
9317 "setup" calls. Wrap each subtest with with_test_prefix. Test
9318 continuing with a queued signal in each thread.
9319
4496bed7
PA
93202015-04-08 Pedro Alves <palves@redhat.com>
9321
9322 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9323 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9324 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9325 Return early if running to main fails.
9326 * gdb.trace/while-stepping.exp: Likewise.
9327
b97fde92
PA
93282015-04-07 Pedro Alves <palves@redhat.com>
9329
9330 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9331 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9332 interact with inferior program.
9333
f71c18e7
PA
93342015-04-07 Pedro Alves <palves@redhat.com>
9335
9336 * lib/gdb.exp (inferior_spawn_id): New global.
9337 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9338 spawn id after processing the user code.
9339 (default_gdb_start): Set inferior_spawn_id.
9340 (send_inferior): New procedure.
9341 * lib/gdbserver-support.exp (gdbserver_start): Set
9342 inferior_spawn_id.
9343 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9344
6423214f
PA
93452015-04-07 Pedro Alves <palves@redhat.com>
9346
9347 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9348 * lib/gdbserver-support.exp (gdbserver_start): Make
9349 $server_spawn_id global.
9350 (gdbserver_start): Don't wait for gdbserver's spawn id with
9351 expect_background.
9352 (close_gdbserver): New procedure.
9353 (gdb_exit): Rename the default version and reimplement.
9354
71c0ee8c
PA
93552015-04-07 Pedro Alves <palves@redhat.com>
9356
72f4393d 9357 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
9358 append the substituted item, not the original item.
9359
203bc29b
PA
93602015-04-07 Pedro Alves <palves@redhat.com>
9361
9362 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9363 gdb_expect.
9364
508a3ddf
PA
93652015-04-07 Pedro Alves <palves@redhat.com>
9366
9367 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9368 output appearing once only.
9369
9f6dbe2b
PA
93702015-04-07 Pedro Alves <palves@redhat.com>
9371
9372 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9373 that doesn't expect anything. Return early if running to main
9374 fails.
9375
337532fa
YQ
93762015-04-07 Yao Qi <yao.qi@linaro.org>
9377
9378 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9379 (child_function): Call alarm.
9380 (main): Move call to alarm into the loop.
9381 * gdb.threads/non-stop-fair-events.exp: Build program with
9382 -DTIMEOUT=$timeout.
9383
01b622d4
DE
93842015-04-06 Doug Evans <xdje42@gmail.com>
9385
9386 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9387 Fix dest parameter to board_info.
9388 (fpc_compile): Ditto.
9389 (gdb_compile_pascal): Rename dest arg to destfile.
9390
961f4160
PMR
93912015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9392
9393 * gdb.ada/funcall_ref.exp: New file.
9394 * gdb.ada/funcall_ref/foo.adb: New file.
9395
cafda597
YQ
93962015-04-02 Yao Qi <yao.qi@linaro.org>
9397
9398 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9399 is remote.
9400
fed040c6
GB
94012015-04-02 Gary Benson <gbenson@redhat.com>
9402
9403 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9404
d11916aa
SS
94052015-04-01 Sasha Smundak <asmundak@google.com>
9406
9407 * gdb.python/py-unwind-maint.c: New file.
9408 * gdb.python/py-unwind-maint.exp: New test.
9409 * gdb.python/py-unwind-maint.py: New file.
9410 * gdb.python/py-unwind.c: New file.
9411 * gdb.python/py-unwind.exp: New test.
9412 * gdb.python/py-unwind.py: New test.
9413
a1471180
PA
94142015-04-01 Pedro Alves <palves@redhat.com>
9415
9416 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9417 to fail instead of non-existent $test.
9418
0bbeccb1
PA
94192015-04-01 Pedro Alves <palves@redhat.com>
9420
9421 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9422 GDBFLAGS if not empty.
9423
3c724c8c
PMR
94242015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9425
9426 * gdb.ada/complete.exp: Remove "multi_line".
9427 * gdb.ada/info_exc.exp: Remove "multi_line".
9428 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9429 * gdb.ada/ptype_field.exp: Remove "multi_line".
9430 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9431 * gdb.ada/tagged.exp: Remove "multi_line".
9432 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9433 [multi_line ...]
9434 * gdb.btrace/delta.exp: Likewise.
9435 * gdb.btrace/exception.exp: Likewise.
9436 * gdb.btrace/function_call_history.exp: Likewise.
9437 * gdb.btrace/instruction_history.exp: Likewise.
9438 * gdb.btrace/nohist.exp: Likewise.
9439 * gdb.btrace/record_goto.exp: Likewise.
9440 * gdb.btrace/segv.exp: Likewise.
9441 * gdb.btrace/stepi.exp: Likewise.
9442 * gdb.btrace/tailcall.exp: Likewise.
9443 * gdb.btrace/unknown_functions.exp: Likewise.
9444 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9445 * lib/gdb.exp: Add the "multi_line" helper.
9446
4eec2deb
PA
94472015-04-01 Pedro Alves <palves@redhat.com>
9448
9449 * gdb.threads/tid-reuse.c: New file.
9450 * gdb.threads/tid-reuse.exp: New file.
9451
df8411da
SDJ
94522015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9453
9454 PR corefiles/16092
9455 * gdb.base/coredump-filter.c: New file.
9456 * gdb.base/coredump-filter.exp: Likewise.
9457
6ef37366
PM
94582015-03-27 Petr Machata <pmachata@redhat.com>
9459
9460 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9461 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9462 (Dwarf::assemble): Initialize them.
9463 (Dwarf::lines): New function.
9464
7ec911b0
JT
94652015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9466
9467 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9468 SYMBOL_PREFIX for x86_64-*-cygwin.
9469
ff908ebf
AW
94702015-03-26 Andy Wingo <wingo@igalia.com>
9471
9472 PR symtab/18148
9473 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9474 const_value but not a location.
9475 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9476 location defined in non-main CUs are visible.
9477
6d5f0679
YQ
94782015-03-26 Yao Qi <yao.qi@linaro.org>
9479
9480 PR testsuite/18139
9481 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9482 Add a line number entry for the same line.
9483 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9484 Add a line number entry for the same line.
9485
2898689b
YQ
94862015-03-26 Yao Qi <yao.qi@linaro.org>
9487
9488 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9489 .int 0.
9490 (func): Likewise. Add .Lfunc_1 label.
9491 Use .Lfunc_1 label.
9492 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9493 .int 0.
9494 (func): Likewise.
9495 Use .Lfunc_1 label.
9496
85180498
YQ
94972015-03-26 Yao Qi <yao.qi@linaro.org>
9498
9499 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9500 Call gdb_compile instead to compile each .s files without debug
9501 information.
9502
8aa08a8d
YQ
95032015-03-26 Yao Qi <yao.qi@linaro.org>
9504
9505 * gdb.base/savedregs.exp (process_saved_regs): Make
9506 "Saved registers:" optional in the pattern.
9507
66849923
MM
95082015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9509
9510 * gdb.btrace/next.exp: Merged into step.exp.
9511 * gdb.btrace/finish.exp: Merged into step.exp.
9512 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9513 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9514 "record goto" and checking the exact replay position.
9515 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9516 check for "Recording format" in "info record" output.
9517 * gdb.btrace/record_goto.exp: Choose test file based on target.
9518 * gdb.btrace/x86-record_goto.S: Renamed into ...
9519 * gdb.btrace/x86_64-record_goto.S: ... this.
9520 * gdb.btrace/i686-record_goto.S: New.
9521 * gdb.btrace/x86-tailcall.S: Renamed into ...
9522 * gdb.btrace/x86_64-tailcall.S: ... this.
9523 * gdb.btrace/i686-tailcall.S: New.
9524 * gdb.btrace/x86-tailcall.c: Renamed into ...
9525 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9526 separate statements. Update test.
9527 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9528 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9529 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9530 * gdb.btrace/tailcall.exp: Choose test file based on target.
9531 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9532
11cc1b74
MM
95332015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9534
9535 * gdb.btrace/exception.exp: Increase BTS buffer size.
9536
a25d8bf9
PA
95372015-03-24 Pedro Alves <palves@redhat.com>
9538
9539 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9540
856e7dd6
PA
95412015-03-24 Pedro Alves <palves@redhat.com>
9542
9543 * gdb.threads/schedlock.exp (test_step): No longer expect that
9544 "set scheduler-locking step" with "next" over a function call runs
9545 threads unlocked.
9546
ad235a41
AT
95472015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9548
9549 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9550
15630549
AT
95512015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9552
9553 PR breakpoints/16466
9554 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9555 * gdb.mi/mi-pending.c (thread_func): New function.
9556 (int main): Add threading support required.
9557 * gdb.mi/mi-pending.exp: Add tests for this issue.
9558 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9559 (pendfunc2): Remove stdio dependency.
9560 * gdb.mi/mi-pendshr2.c: New file.
9561
693dca06
KS
95622015-03-23 Keith Seitz <keiths@redhat.com>
9563
9564 * gdb.linespec/keywords.c: New file.
9565 * gdb.linespec/keywords.exp: New file.
9566
7e993ebf
KS
95672015-03-23 Keith Seitz <keiths@redhat.com>
9568
9569 PR gdb/18021
9570 * gdb.dwarf2/staticvirtual.exp: New test.
9571
bc23328c
JK
95722015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9573
9574 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9575 * README: Remove HP-UX and gdb.hp.
9576 (configuration):
9577 * configure: Regenerate.
9578 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9579 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9580 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9581 gdb.hp/gdb.defects/Makefile.
9582 * gdb.hp/Makefile.in: File deleted.
9583 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9584 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9585 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9586 * gdb.hp/gdb.aCC/run.c: File deleted.
9587 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9588 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9589 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9590 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9591 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9592 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9593 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9594 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9595 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9596 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9597 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9598 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9599 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9600 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9601 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9602 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9603 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9604 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9605 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9606 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9607 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9608 * gdb.hp/gdb.compat/average.c: File deleted.
9609 * gdb.hp/gdb.compat/sum.c: File deleted.
9610 * gdb.hp/gdb.compat/xdb.c: File deleted.
9611 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9612 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9613 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9614 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9615 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9616 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9617 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9618 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9619 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9620 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9621 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9622 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9623 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9624 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9625 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9626 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9627 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9628 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9629 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9630 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9631 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9632 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9633 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9634 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9635 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9636 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9637 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9638 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9639 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9640 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9641 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9642 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9643 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9644 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9645 * gdb.hp/tools/odump: File deleted.
9646
8bf3b159
PA
96472015-03-19 Pedro Alves <palves@redhat.com>
9648
9649 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9650 (saw_thread_3): New globals.
9651 (top level): Increment them when an event for the corresponding
9652 thread is seen.
9653 (no thread starvation): New test.
9654
eb54c8bf
PA
96552015-03-19 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.threads/continue-pending-status.c: New file.
9658 * gdb.threads/continue-pending-status.exp: New file.
9659
32d2e5d6
PA
96602015-03-18 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9663 Use gdb_is_target_remote instead of is_remote. Use
9664 gdb_test_multiple instead of gdb_expect. Exit early if
9665 gdb_test_multiple hits its internal matches. Tighten stepi tests
9666 expected output. Fail on exit with any signal, instead of just
9667 SIGILL.
9668
f68f11b7
YQ
96692015-03-18 Yao Qi <yao.qi@linaro.org>
9670
9671 PR tdep/18107
9672 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9673 variable.
9674 * gdb.base/catch-syscall.exp: Don't skip it on
9675 aarch64*-*-linux* target. Remove elements in all_syscalls.
9676 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9677 target.
9678 (setup_all_syscalls): New proc.
9679
ca5fd19b
YQ
96802015-03-16 Yao Qi <yao.qi@linaro.org>
9681
9682 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9683 (top level): Skip tests if valid_addr_p returns false for
9684 $cmd1 or $cmd2.
9685
85642ba0
AW
96862015-03-11 Andy Wingo <wingo@igalia.com>
9687
9688 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9689
e03f9645
YQ
96902015-03-11 Yao Qi <yao.qi@linaro.org>
9691
9692 * gdb.base/catch-syscall.exp: Fix typo in comments.
9693
5d0962b2
YQ
96942015-03-11 Yao Qi <yao.qi@linaro.org>
9695
9696 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9697
b2df3cef
PA
96982015-03-09 Pedro Alves <palves@redhat.com>
9699
9700 * dg-extract-results.py: Delete.
9701
ef878e53
PA
97022015-03-09 Pedro Alves <palves@redhat.com>
9703
9704 Merge dg-extract-results.sh from GCC upstream (r218843).
9705
9706 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9707 * dg-extract-results.sh: Use --text with grep to avoid issues with
9708 binary files. Fall back to cat -v, if that doesn't work.
9709
9494d219
PA
97102015-03-05 Pedro Alves <palves@redhat.com>
9711
9712 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9713
a8d9763a
SM
97142015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9715
9716 * lib/mi-support.exp (mi_expect_interrupt): Accept
9717 alternative event for when in all-stop mode.
9718
be9957b8
PA
97192015-03-04 Pedro Alves <palves@redhat.com>
9720
9721 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9722
d57be0f4 97232015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
9724
9725 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9726
c214c7cf
AA
97272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9728
9729 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9730 regexps for GDB's current line display, accept a hex address
9731 preceding the line number.
9732
6d74a497
AA
97332015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9734
9735 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9736 the 'arch1' variable for "s390*-linux*" targets.
9737
511aee7c
PA
97382015-03-04 Pedro Alves <palves@redhat.com>
9739
9740 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9741 (main): Pass missing retval argument to pthread_join call.
9742
95e50b27
PA
97432015-03-02 Pedro Alves <palves@redhat.com>
9744
9745 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9746 (top level): Call do_test with non-stop as well.
9747
28054d69
PA
97482015-03-02 Pedro Alves <palves@redhat.com>
9749
9750 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9751 -1.
9752
4fa5d7b4
AA
97532015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9754
9755 * gdb.arch/s390-vregs.exp: New test.
9756 * gdb.arch/s390-vregs.S: New file.
9757
97c18565
PA
97582015-02-27 Pedro Alves <palves@redhat.com>
9759
9760 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9761 call to catch_command_errors.
9762 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9763 catch_command_errors.
9764
a37bfa30
PA
97652015-02-27 Pedro Alves <palves@redhat.com>
9766
9767 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9768 "true" for boolean result.
9769 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9770 prototype of main.
9771
6f98576f
PA
97722015-02-27 Pedro Alves <palves@redhat.com>
9773
9774 * lib/unbuffer_output.c: New file.
9775 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9776 (main): Call gdb_unbuffer_output.
9777
eba5ab56
YQ
97782015-02-27 Yao Qi <yao.qi@linaro.org>
9779
9780 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9781 target.
9782
0def5aaa
DE
97832015-02-26 Doug Evans <dje@google.com>
9784
9785 * gdb.cp/class2.cc (Dbase, D): New classes.
9786 (main): New local delta.
9787 * gdb.cp/class2.exp: Test printing delta.
9788 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9789 (dynbar): New global.
9790 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9791
081a1c2c
JK
97922015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9793
9794 * gdb.compile/compile-ifunc.c: New file.
9795 * gdb.compile/compile-ifunc.exp: New file.
9796
2f41223f
AT
97972015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9798
9799 * gdb.base/structs.exp: Check for correct struct on finish.
9800
03eddd80
YQ
98012015-02-26 Yao Qi <yao.qi@linaro.org>
9802
9803 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9804 is zero.
9805
80c57053
JK
98062015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9807
9808 * gdb.arch/cordic.ko.bz2: New file.
9809 * gdb.arch/cordic.ko.debug.bz2: New file.
9810 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9811
21613c12
YQ
98122015-02-25 Yao Qi <yao.qi@linaro.org>
9813
9814 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9815 aarch64*-*-* target.
9816
d8b901ed
PA
98172015-02-23 Pedro Alves <palves@redhat.com>
9818
9819 * lib/gdb.exp (delete_breakpoints): Rewrite using
9820 gdb_test_multiple.
9821
e5b85ead
PA
98222015-02-23 Pedro Alves <palves@redhat.com>
9823
9824 * gdb.base/info-os.c: Include stdlib.h.
9825
85c3a371
DE
98262015-02-22 Doug Evans <xdje42@gmail.com>
9827
9828 PR symtab/17855
9829 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9830 is read after symbols have been re-read.
9831 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9832 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9833
96553a0c
DE
98342015-02-21 Doug Evans <dje@google.com>
9835
9836 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9837
97a0c697
JK
98382015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9839
9840 PR corefiles/17808
9841 * gdb.arch/i386-biarch-core.core.bz2: New file.
9842 * gdb.arch/i386-biarch-core.exp: New file.
9843
a47cd6e9
PA
98442015-02-21 Pedro Alves <palves@redhat.com>
9845
9846 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9847 runto_main fails.
9848
c5facdc4
PA
98492015-02-20 Pedro Alves <palves@redhat.com>
9850
9851 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9852 info probes.
9853
2db9a427
PA
98542015-02-20 Pedro Alves <palves@redhat.com>
9855
9856 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9857
60fb7e9e
PA
98582015-02-20 Pedro Alves <palves@redhat.com>
9859
9860 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9861 clean_restart before gdb_target_supports_trace.
9862
5c5019c2
PA
98632015-02-20 Pedro Alves <palves@redhat.com>
9864
9865 PR threads/18006
9866 * gdb.threads/clone-thread_db.c: New file.
9867 * gdb.threads/clone-thread_db.exp: New file.
9868
c9587f88
AT
98692015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9870
9871 PR breakpoints/16812
9872 * gdb.base/catch-gdb-caused-signals.c: New file.
9873 * gdb.base/catch-gdb-caused-signals.exp: New file.
9874
f6a88844
JM
98752015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9876
9877 * configure: Regenerated.
9878 * configure.ac: Use GDB_AC_TRANSFORM.
9879 * aclocal.m4: sinclude ../transform.m4.
9880
497c491b
JM
98812015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9882
9883 * lib/dtrace.exp: New file.
9884 * gdb.base/dtrace-probe.exp: Likewise.
9885 * gdb.base/dtrace-probe.d: Likewise.
9886 * gdb.base/dtrace-probe.c: Likewise.
9887 * lib/pdtrace.in: Likewise.
9888 * configure.ac: Output variables with the transformed names of
9889 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9890 * configure: Regenerated.
9891
03e98035
JM
98922015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9893
9894 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9895 expected message when trying to access $_probe_* convenience
9896 variables while not on a probe.
9897
63cc30e9
JK
98982015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9899
9900 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9901
0703599a
PA
99022015-02-11 Pedro Alves <pedro@codesourcery.com>
9903
9904 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9905 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9906
7e60a48e
DE
99072015-02-10 Doug Evans <xdje42@gmail.com>
9908
9909 * lib/gdb.exp (gdb_load): Always return a result.
9910
01b088bc
PA
99112015-02-10 Pedro Alves <palves@redhat.com>
9912
9913 * gdb.threads/signal-sigtrap.c: New file.
9914 * gdb.threads/signal-sigtrap.exp: New file.
9915
b05ec7a5
AT
99162015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9917
9918 * gdb.trace/no-attach-trace.c: New file.
9919 * gdb.trace/no-attach-trace.exp: New file.
9920
a2c2acaf
MW
99212015-02-09 Mark Wielaard <mjw@redhat.com>
9922
9923 * gdb.dwarf2/atomic.c: New file.
9924 * gdb.dwarf2/atomic-type.exp: Likewise.
9925
31fd9caa
MM
99262015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9927
9928 * gdb.btrace/buffer-size.exp: Update "info record" output.
9929 * gdb.btrace/delta.exp: Update "info record" output.
9930 * gdb.btrace/enable.exp: Update "info record" output.
9931 * gdb.btrace/finish.exp: Update "info record" output.
9932 * gdb.btrace/instruction_history.exp: Update "info record" output.
9933 * gdb.btrace/next.exp: Update "info record" output.
9934 * gdb.btrace/nexti.exp: Update "info record" output.
9935 * gdb.btrace/step.exp: Update "info record" output.
9936 * gdb.btrace/stepi.exp: Update "info record" output.
9937 * gdb.btrace/nohist.exp: Update "info record" output.
9938
d33501a5
MM
99392015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9940
9941 * gdb.btrace/buffer-size: New.
9942
f4abbc16
MM
99432015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9944
9945 * gdb.btrace/delta.exp: Update "info record" output.
9946 * gdb.btrace/enable.exp: Update "info record" output.
9947 * gdb.btrace/finish.exp: Update "info record" output.
9948 * gdb.btrace/instruction_history.exp: Update "info record" output.
9949 * gdb.btrace/next.exp: Update "info record" output.
9950 * gdb.btrace/nexti.exp: Update "info record" output.
9951 * gdb.btrace/step.exp: Update "info record" output.
9952 * gdb.btrace/stepi.exp: Update "info record" output.
9953 * gdb.btrace/nohist.exp: Update "info record" output.
9954
b9d61307
SM
99552015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9956
9957 PR gdb/15678
9958 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9959
e584fdbc
PA
99602015-02-06 Pedro Alves <palves@redhat.com>
9961
9962 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9963 macro.
9964 (seconds_left, again): New globals.
9965 (main): Wait seconds_left in a 1-second sleep loop instead of
9966 sleeping 180 seconds. If 'again' is set, reset the seconds
9967 counter.
9968 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9969 'again' in the inferior before detaching. Print the seconds left.
9970 (options): New global.
9971 (top level): Build program with -DTIMEOUT=$timeout.
9972
77f41761
PA
99732015-02-06 Pedro Alves <palves@redhat.com>
9974
9975 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9976 determine how many seconds to pass to 'alarm'.
9977 * gdb.base/gdb-sigterm.exp (top level): Build program with
9978 -DTIMEOUT=$timeout.
9979 (do_test): Return success/failure indication. Add more verbose
9980 logging. Don't fail if 200 single steps are seen. Instead, fail
9981 when the test times out.
9982 (passes): New global.
9983 (top level): Break the testing loop if testing fails on any
9984 iteration. Use gdb_assert.
9985
b9394193
DB
99862015-02-04 Don Breazeal <donb@codesourcery.com>
9987
9988 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9989 and initialize them.
9990 (ipc_cleanup): New function.
9991 (main): Don't declare shmid, semid, and msqid. Add a call to
9992 atexit so that we call ipc_cleanup on exit.
9993
42d9e528
PA
99942015-02-04 Pedro Alves <palves@redhat.com>
9995
9996 * boards/native-extended-gdbserver.exp: Remove any target variant
9997 specifications from the board name before clearing the isremote
9998 flag from board_info.
9999
ae6ae975
DE
100002015-01-31 Doug Evans <xdje42@gmail.com>
10001
10002 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10003
cfb069a8
GB
100042015-01-31 Gary Benson <gbenson@redhat.com>
10005
10006 * gdb.base/completion.exp: Disable completion limiting for
10007 existing tests. Add new tests to check completion limiting.
10008 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10009
5dd31d79
DE
100102015-01-31 Doug Evans <xdje42@gmail.com>
10011
10012 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10013
9f050062
DE
100142015-01-31 Doug Evans <xdje42@gmail.com>
10015
10016 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10017 entries. Duplicate file section script entries.
10018 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10019 inlined entries. Add test for safe-path rejection.
10020 * gdb.python/py-section-script.c: Add duplicate inlined section script
10021 entries. Duplicate file section script entries.
10022 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10023 inlined entries. Add test for safe-path rejection.
10024
df25ebbd
JB
100252015-01-29 Joel Brobecker <brobecker@adacore.com>
10026
10027 * gdb.ada/disc_arr_bound: New testcase.
10028
4a0ca9ec
JB
100292015-01-29 Joel Brobecker <brobecker@adacore.com>
10030
10031 * gdb.ada/mi_var_array: New testcase.
10032
3a8b707a
DE
100332015-01-27 Doug Evans <dje@google.com>
10034
10035 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10036 Add test for objfile.filename, objfile.username after objfile
10037 has been unloaded.
10038
f8313f6e
JB
100392015-01-26 Joel Brobecker <brobecker@adacore.com>
10040
10041 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10042 the second test to print the name attribute of value
10043 returned by the call to gdb.lookup_type, and adjust
10044 the expected output accordingly.
10045
37bc665e
MW
100462015-01-25 Mark Wielaard <mjw@redhat.com>
10047
10048 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10049 * gdb.base/disp-step-fork.c: Include unistd.h.
10050 * gdb.base/siginfo-obj.c: Include stdio.h.
10051 * gdb.base/siginfo-thread.c: Likewise.
10052 * gdb.mi/non-stop.c: Include unistd.h.
10053 * gdb.mi/nsthrexec.c: Include stdio.h.
10054 * gdb.mi/pthreads.c: Include unistd.h.
10055 * gdb.modula2/unbounded1.c (main): Declare returns int.
10056 * gdb.reverse/consecutive-reverse.c: Likewise.
10057 * gdb.threads/create-fail.c: Include unistd.h.
10058 * gdb.threads/killed.c: Likewise.
10059 * gdb.threads/linux-dp.c: Likewise.
10060 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10061 * gdb.threads/non-ldr-exc-2.c: Likewise.
10062 * gdb.threads/non-ldr-exc-3.c: Likewise.
10063 * gdb.threads/non-ldr-exc-4.c: Likewise.
10064 * gdb.threads/pthreads.c: Include unistd.h.
10065 (main): Declare returns int.
10066 * gdb.threads/tls-main.c (foo): New declaration.
10067 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10068
f7e5394d
SM
100692015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10070
10071 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10072 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10073
743649fd
MW
100742015-01-15 Mark Wielaard <mjw@redhat.com>
10075
10076 * gdb.base/noreturn-return.c: New file.
10077 * gdb.base/noreturn-return.exp: New file.
10078 * gdb.base/noreturn-finish.c: New file.
10079 * gdb.base/noreturn-finish.exp: New file.
10080
198297aa
PA
100812015-01-23 Pedro Alves <palves@redhat.com>
10082
10083 * gdb.threads/continue-pending-after-query.c: New file.
10084 * gdb.threads/continue-pending-after-query.exp: New file.
10085
717cf30c
AG
100862015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10087 Simon Marchi <simon.marchi@ericsson.com>
10088
10089 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10090 * gdb.base/valgrind-db-attach.exp: Same.
10091 * gdb.base/valgrind-infcall.exp: Same.
10092 * lib/mi-support.exp (default_mi_gdb_start): Same.
10093 * lib/prompt.exp (default_prompt_gdb_start): Same.
10094 * lib/gdb.exp (default_gdb_spawn): Same.
10095 (gdb_interact): New.
10096
10097
4b62a76e
JK
100982015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10099
10100 * gdb.compile/compile.exp (pointer to jit function): New test.
10101
b4cdae6f
WW
101022015-01-17 Wei-cheng Wang <cole945@gmail.com>
10103
10104 * lib/gdb.exp (supports_process_record): Return true for
10105 powerpc*-*-linux*.
10106 (supports_reverse): Likewise.
10107
d221e7ef
DB
101082015-01-15 Don Breazeal <donb@codesourcery.com>
10109
10110 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10111 instead of checking whether the target board is remote and
10112 use spawn_wait_for_attach instead of exec/sleep.
10113 * gdb.base/attach-twice.exp: Likewise.
10114
bafffb51
JB
101152015-01-15 Joel Brobecker <brobecker@adacore.com>
10116
10117 * gdb.ada/var_arr_attrs: New testcase.
10118
5589af0e
PA
101192015-01-14 Pedro Alves <palves@redhat.com>
10120 Joel Brobecker <brobecker@adacore.com>
10121
10122 PR gdb/17525
10123 * gdb.base/bp-cmds-execution-x-script.c: New file.
10124 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10125 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10126
6c400b59
PA
101272015-01-14 Pedro Alves <palves@redhat.com>
10128
10129 PR cli/17828
10130 * gdb.base/batch-preserve-term-settings.c: New file.
10131 * gdb.base/batch-preserve-term-settings.exp: New file.
10132
e02c96a7
DE
101332015-01-13 Doug Evans <dje@google.com>
10134
10135 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10136 binary.
10137
576fd14c
JB
101382015-01-13 Joel Brobecker <brobecker@adacore.com>
10139
10140 * Makefile.in (clean mostlyclean): Do not delete *.py.
10141
04dccad0
JB
101422015-01-13 Joel Brobecker <brobecker@adacore.com>
10143
10144 * gdb.python/py-lookup-type.exp: New file.
10145
3d230f71
PA
101462015-01-12 Pedro Alves <palves@redhat.com>
10147
10148 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10149 restore GDBFLAGS before returning.
10150
7e67715d
JK
101512015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10152
10153 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10154 is_amd64_regs_target and is_x86_like_target.
10155
f2e0d4b4
DE
101562015-01-11 Doug Evans <xdje42@gmail.com>
10157
10158 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10159 is given without an explicit form.
10160 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10161 attributes.
10162 * gdb.dwarf/corrupt.exp: Ditto.
10163 * gdb.dwarf2/enum-type.exp: Ditto.
10164 * gdb.trace/entry-values.exp: Ditto.
10165 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10166
439250fb
DE
101672015-01-11 Doug Evans <xdje42@gmail.com>
10168
10169 PR gdb/15830
10170 * gdb.base/maint.exp: Remove references to "maint demangle".
10171 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10172 Add tests for explicitly specifying language to demangle.
10173 * gdb.dlang/demangle.exp: Ditto.
10174
ede9f622
PA
101752015-01-09 Pedro Alves <palves@redhat.com>
10176
10177 * gdb.threads/non-stop-fair-events.c: New file.
10178 * gdb.threads/non-stop-fair-events.exp: New file.
10179
a7b796db
PA
101802015-01-09 Pedro Alves <palves@redhat.com>
10181
10182 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10183 the global scope. Set a breakpoint after all threads are started
10184 rather than stepping over two source lines. Expect the prompt.
10185 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10186 global.
10187 (NUM): Now 15.
10188 (main): Use threads_started_barrier to wait for all threads to
10189 start. Main thread no longer calls thread_function. Exit after
10190 180 seconds.
10191 (loop): New function.
10192 (thread_function): Wait on threads_started_barrier barrier. Call
10193 'loop' at each iteration.
10194 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10195 threads have started, instead of hardcoding number of "next"
10196 steps. Use an access watchpoint instead of a write watchpoint.
10197
9665ffdd
PA
101982015-01-09 Pedro Alves <palves@redhat.com>
10199
10200 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10201 (thread_func): Wait on barrier.
10202 (main): Wait for all threads to start before stopping GDB.
10203 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10204 global.
10205 (thread1_func, thread2_func): Wait on barrier.
10206 (main): Wait for all threads to start before stopping GDB.
10207 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10208 New global.
10209 (thread1_func, thread2_func): Wait on barrier.
10210 (main): Wait for all threads to start before stopping GDB.
10211
c945a99f
PA
102122015-01-09 Pedro Alves <palves@redhat.com>
10213
10214 * gdb.threads/attach-many-short-lived-threads.c: New file.
10215 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10216
c1a747c1
PA
102172014-01-09 Pedro Alves <palves@redhat.com>
10218
10219 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10220 instead of to thread 2.
10221 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10222 Add barrier around each pthread_create call instead of around all
10223 calls.
10224 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10225 Set a break on thread_function and have the child threads hit it
10226 one at at a time.
10227
60b3033e
PA
102282015-01-09 Pedro Alves <palves@redhat.com>
10229
10230 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10231 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10232 false.
10233 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10234 checking whether the target board is remote.
10235 * gdb.multi/multi-attach.exp: Likewise.
10236 * gdb.python/py-sync-interp.exp: Likewise.
10237 * gdb.server/ext-attach.exp: Likewise.
10238 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10239 tests that need to attach, instead of checking whether the target
10240 board is remote at the top of the file.
10241
acc018ac
YQ
102422015-01-08 Yao Qi <yao@codesourcery.com>
10243
10244 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10245
50a18af8
JK
102462015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10247
10248 Fix testcase compilation.
10249 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10250
8503d6e1
JB
102512015-01-06 Joel Brobecker <brobecker@adacore.com>
10252
10253 * gdb.python/py-type.exp: Add a couple test about empty
10254 array creation, and negative-length array creation.
10255
cc73dbcc
DE
102562015-01-02 Doug Evans <xdje42@gmail.com>
10257
10258 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10259
0300bbc7
DE
102602015-01-02 Doug Evans <dje@google.com>
10261
10262 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10263
9d85a0ec
YQ
102642014-12-29 Yao Qi <yao@codesourcery.com>
10265
10266 * gdb.trace/entry-values.exp: Update comments. Rename variable
10267 bar_call_foo to returned_from_foo.
10268
87186c6a
MMN
102692014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10270
10271 PR gdb/17394
10272 * gdb.linespec/break-asm-file.c: New file.
10273 * gdb.linespec/break-asm-file.exp: New file.
10274 * gdb.linespec/break-asm-file0.s: New file.
10275 * gdb.linespec/break-asm-file1.s: New file.
10276
1bab7383
YQ
102772014-12-18 Nigel Stephens <nigel@mips.com>
10278 Maciej W. Rozycki <macro@codesourcery.com>
10279
10280 * gdb.base/float.exp: Handle the new output from "info float" on
10281 MIPS targets.
10282
1bc1068a
JK
102832014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10284
10285 Fix MinGW compilation.
10286 * gdb.compile/compile-ops.exp: Update untested message if
10287 !skip_compile_feature_tests.
10288 * gdb.compile/compile-setjmp.exp: Likewise.
10289 * gdb.compile/compile-tls.exp: Likewise.
10290 * gdb.compile/compile.exp: Likewise.
10291 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10292 supported on this host".
10293
b6615d10
DE
102942014-12-16 Doug Evans <xdje42@gmail.com>
10295
10296 * boards/stabs.exp: New file.
10297
25dda427
AA
102982014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10299
10300 * gdb.base/completion.exp: Adjust to format changes of "maint
10301 print user-registers".
10302
bf330350
CU
103032014-12-16 Catalin Udma <catalin.udma@freescale.com>
10304
10305 PR server/17457
10306 * gdb.arch/aarch64-fp.c: New file.
10307 * gdb.arch/aarch64-fp.exp: New file.
10308
395cf596
SDJ
103092014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10310
10311 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10312 r210637, r210913, r211666, r215400, r215817).
10313
10314 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10315 * dg-extract-results.py: New file.
10316 * dg-extract-results.sh: Use it if the environment seems
10317 suitable.
10318
10319 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10320
10321 * dg-extract-results.py (parse_run): Handle warnings that
10322 are printed before a test harness is run.
10323
10324 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10325
10326 * dg-extract-results.py (Named): Remove __cmp__ method.
10327 (output_variation): Use a key to sort variation.harnesses.
10328
10329 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10330
10331 * dg-extract-results.py: For Python 3, force sys.stdout to
10332 handle surrogate escape sequences.
10333 (safe_open): New function.
10334 (output_segment, main): Use it.
10335
10336 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10337
10338 * dg-extract-results.py (Prog.result_re): Include options
10339 in test name.
10340
10341 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10342
10343 * dg-extract-results.py (output_variation): Always sort if
10344 do_sum.
10345
e882ef3c
SM
103462014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10347
10348 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10349 as long as we get pagination notifications.
10350
4992aa20
JM
103512014-12-15 Jason Merrill <jason@redhat.com>
10352
10353 * Makefile.in (check-gdb.%): Restore.
10354 * README: Mention it.
10355
c1b5a1a6
JB
103562014-12-13 Joel Brobecker <brobecker@adacore.com>
10357
10358 * gdb.ada/str_uninit: New testcase.
10359
5537b577
JK
103602014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10361
10362 PR symtab/17642
10363 * gdb.base/vla-stub-define.c: New file.
10364 * gdb.base/vla-stub.c: New file.
10365 * gdb.base/vla-stub.exp: New file.
10366
bb2ec1b3
TT
103672014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10368 Jan Kratochvil <jan.kratochvil@redhat.com>
10369 Tom Tromey <tromey@redhat.com>
10370
10371 * configure.ac: Add gdb.compile/.
10372 * configure: Regenerate.
10373 * gdb.compile/Makefile.in: New file.
10374 * gdb.compile/compile-ops.exp: New file.
10375 * gdb.compile/compile-ops.c: New file.
10376 * gdb.compile/compile-tls.c: New file.
10377 * gdb.compile/compile-tls.exp: New file.
10378 * gdb.compile/compile-constvar.S: New file.
10379 * gdb.compile/compile-constvar.c: New file.
10380 * gdb.compile/compile-mod.c: New file.
10381 * gdb.compile/compile-nodebug.c: New file.
10382 * gdb.compile/compile-setjmp-mod.c: New file.
10383 * gdb.compile/compile-setjmp.c: New file.
10384 * gdb.compile/compile-setjmp.exp: New file.
10385 * gdb.compile/compile-shlib.c: New file.
10386 * gdb.compile/compile.c: New file.
10387 * gdb.compile/compile.exp: New file.
10388 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10389
4ff709eb
TT
103902014-12-12 Tom Tromey <tromey@redhat.com>
10391
10392 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10393 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10394
6dddd6a5
DE
103952014-12-12 Doug Evans <dje@google.com>
10396
10397 * lib/gdb-python.exp (get_python_valueof): New function.
10398 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10399
71c24708
AA
104002014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10401
10402 * gdb.base/completion.exp: Add test for completion of "info
10403 registers ".
10404
3e29f34a
MR
104052014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10406
10407 * gdb.base/func-ptrs.c: New file.
10408 * gdb.base/func-ptrs.exp: New file.
10409
fc126975
SM
104102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10411
10412 PR breakpoints/17012
10413 * gdb.base/dprintf-detach.c: New file.
10414 * gdb.base/dprintf-detach.exp: New file.
10415
0a46d518
SM
104162014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10417
10418 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10419 * lib/gdb.exp (target_is_gdbserver): New procedure.
10420
a0be3e44
DE
104212014-12-08 Doug Evans <dje@google.com>
10422
10423 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10424
df1b803a
YQ
104252014-12-05 Yao Qi <yao@codesourcery.com>
10426
10427 * gdb.guile/scm-error.exp: Remove the third argument to
10428 gdb_remote_download.
10429 * gdb.guile/scm-frame-args.exp: Likewise.
10430 * gdb.guile/scm-section-script.exp: Likewise.
10431
ddb9f679
YQ
104322014-12-05 Yao Qi <yao@codesourcery.com>
10433
10434 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10435
86e4ed39
DE
104362014-12-04 Doug Evans <dje@google.com>
10437
10438 * gdb.python/py-objfile.exp: Add tests for
10439 objfile.add_separate_debug_file.
10440
7c50a931
DE
104412014-12-04 Doug Evans <dje@google.com>
10442
10443 * lib/gdb.exp (get_build_id): New function.
10444 (build_id_debug_filename_get): Rewrite to use it.
10445 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10446
621661e3
MR
104472014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10448
10449 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10450 `method(long)', not just 0x0.
10451 * gdb.cp/nsalias.exp: Align code labels to 4.
10452 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10453 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10454 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10455 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10456 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10457 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10458
29f0c3b7
DE
104592014-12-02 Doug Evans <dje@google.com>
10460
e1e061e7 10461 PR symtab/17602
29f0c3b7 10462 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 10463 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
10464 * gdb.cp/anon-ns.exp: Update.
10465
162078c8
NB
104662014-12-02 Nick Bull <nicholaspbull@gmail.com>
10467
10468 * gdb.python/py-events.py (inferior_call_handler): New.
10469 (register_changed_handler, memory_changed_handler): New.
10470 (test_events.invoke): Register new handlers.
10471 * gdb.python/py-events.exp: Add tests for inferior call,
10472 memory_changed and register_changed events.
10473
fdb09caf
AA
104742014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10475
10476 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10477 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10478 if the linker doesn't understand this.
10479
55cfb2c4
SM
104802014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10481
10482 * gdb.python/python.exp: Change expected reply to help().
10483
9e8cd6df
YQ
104842014-12-01 Yao Qi <yao@codesourcery.com>
10485
10486 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10487 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10488 * configure: Re-generated.
10489
6c659fc2
SC
104902014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10491
10492 * gdb.cp/chained-calls.cc: New file.
10493 * gdb.cp/chained-calls.exp: New file.
10494 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10495
d7fc3181
SM
104962014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10497
10498 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10499 * gdb.dwarf2/symtab-producer.exp: Same.
10500 * gdb.gdb/python-interrupts.exp: Same.
10501 * gdb.gdb/python-selftest.exp: Same.
10502 * gdb.python/py-linetable.exp: Same.
10503 * gdb.python/py-type.exp: Same.
10504 * gdb.python/py-value-cc.exp: Same.
10505 * gdb.python/py-value.exp: Same.
10506
10e79639
YQ
105072014-11-28 Yao Qi <yao@codesourcery.com>
10508
10509 * gdb.base/break-probes.exp: Match library name prefixed with
10510 sysroot.
10511
f28a0564
SM
105122014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10513
10514 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10515 test expected output. Add parentheses for the call to print.
10516 Remove L suffix from integers.
10517
3fe1ce1d
DE
105182014-11-26 Doug Evans <dje@google.com>
10519
10520 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10521
84429e27
YQ
105222014-11-22 Yao Qi <yao@codesourcery.com>
10523
10524 * gdb.trace/entry-values.c: Remove asms.
10525 (foo): Add foo_label.
10526 (bar): Add bar_label.
10527 * gdb.trace/entry-values.exp: Remove code computing foo's
10528 length and bar's length.
10529 (Dwarf::assemble): Invoke function_range for bar and use
10530 MACRO_AT_func for foo.
10531
26741859
YQ
105322014-11-22 Yao Qi <yao@codesourcery.com>
10533
10534 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10535 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10536 Use .Lgcc43_procstart instead of gcc43.
10537
45e44d27
JB
105382014-11-21 Joel Brobecker <brobecker@adacore.com>
10539
10540 * gdb.ada/n_arr_bound: New testcase.
10541
458c8db8
SDJ
105422014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10543
10544 PR breakpoints/10737
10545 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10546 test_catch_syscall_multi_arch.
10547 (test_catch_syscall_multi_arch): New function.
10548
43f3e411
DE
105492014-11-20 Doug Evans <xdje42@gmail.com>
10550
10551 * gdb.base/maint.exp: Update expected output.
10552
0d7b2549
AA
105532014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10554
10555 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10556 4-byte instruction on S390.
10557
8908fca5
JB
105582014-11-19 Joel Brobecker <brobecker@adacore.com>
10559
10560 * gdb.ada/arr_arr: New testcase.
10561
4a46959e
JB
105622014-11-19 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.ada/pkd_arr_elem: New Testcase.
10565
470e2f4e
LM
105662014-11-18 Luis Machado <lgustavo@codesourcery.com>
10567
10568 * gdb.reverse/break-precsave: Expect completion message for
10569 core file reads.
10570 * gdb.reverse/consecutive-precsave.exp: Likewise.
10571 * gdb.reverse/finish-precsave.exp: Likewise.
10572 * gdb.reverse/i386-precsave.exp: Likewise.
10573 * gdb.reverse/machinestate-precsave.exp: Likewise.
10574 * gdb.reverse/sigall-precsave.exp: Likewise.
10575 * gdb.reverse/solib-precsave.exp: Likewise.
10576 * gdb.reverse/step-precsave.exp: Likewise.
10577 * gdb.reverse/until-precsave.exp: Likewise.
10578 * gdb.reverse/watch-precsave.exp: Likewise.
10579
a267f3ad
AA
105802014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10581
10582 * gdb.base/bp-permanent.c: Include unistd.h.
10583 * gdb.python/py-framefilter-mi.c (main): Add return type.
10584 * gdb.python/py-framefilter.c (main): Likewise.
10585 * gdb.trace/actions-changed.c (main): Likewise.
10586
12084a9a
AA
105872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10588
10589 * gdb.mi/until.c: Add eye-catchers.
10590 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10591 line numbers.
10592
dc7e1a77
AA
105932014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10594
10595 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10596 function header variants in break1.c.
10597 * gdb.base/ena-dis-br.exp: Likewise.
10598 * gdb.base/hbreak2.exp: Likewise.
10599 * gdb.reverse/until-precsave.exp: Drop references to removed
10600 non-prototype function header variants in ur1.c.
10601 * gdb.reverse/until-reverse.exp: Likewise.
10602
41c77605
PM
106032014-11-17 Petr Machata <pmachata@redhat.com>
10604
10605 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10606 ${_cu_offset_size} bytes abbrev offset.
10607
34248c3a
DE
106082014-11-15 Doug Evans <xdje42@gmail.com>
10609
10610 PR symtab/17559
10611 * gdb.base/line-symtabs.exp: New file.
10612 * gdb.base/line-symtabs.c: New file.
10613 * gdb.base/line-symtabs.h: New file.
10614
646da059
YQ
106152014-11-14 Yao Qi <yao@codesourcery.com>
10616
10617 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10618 (func): Add label func_label.
10619 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10620 Replace low_pc and high_pc with MACRO_AT_range.
10621 Replace name, low_pc and high_pc with MACRO_AT_func.
10622
9301ebe6
YQ
106232014-11-14 Yao Qi <yao@codesourcery.com>
10624
10625 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10626 Replace name, low_pc and high_pc with MACRO_AT_func.
10627
f166b542
YQ
106282014-11-14 Yao Qi <yao@codesourcery.com>
10629
10630 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10631 produce debug information.
10632 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10633
0f6e71e3
YQ
106342014-11-14 Yao Qi <yao@codesourcery.com>
10635
10636 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10637 object and get function length.
10638 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10639 with MACRO_AT_func.
10640 (top-level): Replace gdb_compile and clean_restart with
10641 prepare_for_testing.
10642 * gdb.dwarf2/main.c (main): Add label main_label.
10643
876c4df9
YQ
106442014-11-14 Yao Qi <yao@codesourcery.com>
10645
10646 * lib/dwarf.exp (function_range): New procedure.
10647 (Dwarf::_handle_macro_at_func): New procedure.
10648 (Dwarf::_handle_macro_at_range): New procedure.
10649 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10650
02ad9cf1
YQ
106512014-11-14 Yao Qi <yao@codesourcery.com>
10652
10653 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10654 (_handle_attribute): New procedure.
10655
a59add0c
AA
106562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10657
10658 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10659 * gdb.base/call-sc.c (zed): Likewise.
10660 * gdb.base/checkpoint.c (main): Likewise.
10661 * gdb.base/dump.c (main): Likewise.
10662 * gdb.base/gcore.c (main): Likewise.
10663 * gdb.base/huge.c (main): Likewise.
10664 * gdb.base/multi-forks.c (main): Likewise.
10665 * gdb.base/pr10179-a.c (main): Likewise.
10666 * gdb.base/savedregs.c (main): Likewise.
10667 * gdb.base/sigaltstack.c (main): Likewise.
10668 * gdb.base/siginfo.c (main): Likewise.
10669 * gdb.base/structs.c (zed): Likewise.
10670 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10671 * gdb.mi/mi-syn-frame.c (main): Likewise.
10672 * gdb.mi/until.c (foo, main): Likewise.
10673 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10674 * gdb.base/solib-weak.c (foo): Declare.
10675 * gdb.base/attach-twice.c: Include stdio.h.
10676 * gdb.base/weaklib1.c: Likewise.
10677 * gdb.base/weaklib2.c: Likewise.
10678 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10679 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10680 unistd.h.
10681 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10682 * gdb.mi/mi-exit-code.c: Likewise.
10683 * gdb.base/break-interp-lib.c: Include string.h.
10684 * gdb.base/coremaker.c: Likewise.
10685 * gdb.base/testenv.c: Likewise.
10686 * gdb.python/py-finish-breakpoint.c: Likewise.
10687 * gdb.base/inferior-died.c: Include sys/wait.h.
10688 * gdb.base/fileio.c: Include time.h.
10689 * gdb.base/async-shell.c: Include unistd.h.
10690 * gdb.base/dprintf-non-stop.c: Likewise.
10691 * gdb.base/info-os.c: Likewise.
10692 * gdb.mi/mi-console.c: Likewise.
10693 * gdb.mi/watch-nonstop.c: Likewise.
10694 * gdb.python/py-events.c: Likewise.
10695 * gdb.base/async.c (baz): Move up before its invocation.
10696 * gdb.base/code_elim2.c (my_global_func): Likewise.
10697 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10698 * gdb.base/advance.c (func2): Likewise.
10699
3b5d5997
AA
107002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10701
10702 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10703 variant.
10704 * gdb.base/annota3.c: Likewise.
10705 * gdb.base/async.c: Likewise.
10706 * gdb.base/average.c: Likewise.
10707 * gdb.base/call-ar-st.c: Likewise.
10708 * gdb.base/call-rt-st.c: Likewise.
10709 * gdb.base/call-sc.c: Likewise.
10710 * gdb.base/call-strs.c: Likewise.
10711 * gdb.base/ending-run.c: Likewise.
10712 * gdb.base/execd-prog.c: Likewise.
10713 * gdb.base/exprs.c: Likewise.
10714 * gdb.base/foll-exec.c: Likewise.
10715 * gdb.base/foll-fork.c: Likewise.
10716 * gdb.base/foll-vfork.c: Likewise.
10717 * gdb.base/funcargs.c: Likewise.
10718 * gdb.base/gcore.c: Likewise.
10719 * gdb.base/jump.c: Likewise.
10720 * gdb.base/langs0.c: Likewise.
10721 * gdb.base/langs1.c: Likewise.
10722 * gdb.base/langs2.c: Likewise.
10723 * gdb.base/mips_pro.c: Likewise.
10724 * gdb.base/nodebug.c: Likewise.
10725 * gdb.base/opaque0.c: Likewise.
10726 * gdb.base/opaque1.c: Likewise.
10727 * gdb.base/recurse.c: Likewise.
10728 * gdb.base/run.c: Likewise.
10729 * gdb.base/scope0.c: Likewise.
10730 * gdb.base/scope1.c: Likewise.
10731 * gdb.base/setshow.c: Likewise.
10732 * gdb.base/setvar.c: Likewise.
10733 * gdb.base/shmain.c: Likewise.
10734 * gdb.base/shr1.c: Likewise.
10735 * gdb.base/shr2.c: Likewise.
10736 * gdb.base/sigall.c: Likewise.
10737 * gdb.base/signals.c: Likewise.
10738 * gdb.base/so-indr-cl.c: Likewise.
10739 * gdb.base/solib2.c: Likewise.
10740 * gdb.base/structs.c: Likewise.
10741 * gdb.base/sum.c: Likewise.
10742 * gdb.base/vforked-prog.c: Likewise.
10743 * gdb.base/watchpoint.c: Likewise.
10744 * gdb.reverse/shr2.c: Likewise.
10745 * gdb.reverse/until-reverse.c: Likewise.
10746 * gdb.reverse/ur1.c: Likewise.
10747 * gdb.reverse/watch-reverse.c: Likewise.
10748
066a77c5
AA
107492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10750
10751 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10752 variant.
10753 * gdb.base/sepdebug.exp: Drop references to removed code.
10754
4f204ea5
AA
107552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10756
10757 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10758 variant. Preserve original line numbering.
10759 * gdb.base/list1.c: Likewise.
10760
3b377a3a
AA
107612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10762
10763 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10764 variant.
10765 * gdb.base/break1.c: Likewise.
10766 * gdb.base/break.exp: Drop references to removed code.
10767
e444df73
AA
107682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10769
10770 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10771 variant.
10772
8008f2a7
AA
107732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10774
10775 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10776
a5a06887
AA
107772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10778
10779 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10780 logic into perform_all_tests() and invoke it with and without
10781 function header prototypes.
10782 (do_function_calls): Remove conditional XFAIL for PR 5318.
10783 (rerun_and_prepare): Remove duplicate code.
10784 (perform_all_tests): New. Main logic moved here.
10785
44dba9b9
AA
107862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10787
10788 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10789 code guarded by #ifdef NO_PROTOTYPES.
10790 (t_double_many_args): Likewise.
10791 (DEF_FUNC_MANY_ARGS_1): Likewise.
10792 (DEF_FUNC_VALUES_1): Likewise.
10793 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10794 guarded by #ifdef PROTOTYPES.
10795
d1fbcd56
AA
107962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10797
10798 * gdb.mi/mi-console.c: Add eye-catcher.
10799 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10800 instead of literal line number.
10801
b0e59b8f
AA
108022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10803
10804 * gdb.base/shr2.c: Add eye-catcher.
10805 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10806 line number.
10807
78f98cca
AA
108082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10809
10810 * gdb.base/jump.c: Add eye-catchers.
10811 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10812 numbers.
10813
58fa2af0
AA
108142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10815
10816 * gdb.base/execd-prog.c: Add eye-catchers.
10817 * gdb.base/foll-exec.c: Likewise.
10818 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10819 line numbers.
10820
04e5059b
AA
108212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10822
10823 * gdb.base/ending-run.c: Add eye-catchers.
10824 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10825 literal line numbers.
10826
dbfdb174
AA
108272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10828
10829 * gdb.base/call-rt-st.c: Add eye-catchers.
10830 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10831 literal line numbers.
10832
888a2ade
AA
108332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10834
10835 * gdb.base/call-ar-st.c: Add eye-catchers.
10836 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10837 literal line numbers.
10838
6acc2dde
AA
108392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10840
10841 * gdb.base/average.c: Add eye-catchers.
10842 * gdb.base/sum.c: Likewise.
10843 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10844 regexps dynamically.
10845
9ecfcd1d
AA
108462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10847
10848 * gdb.base/solib1.c: Add eye-catchers.
10849 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10850 literal line numbers.
10851
78708b7c
PA
108522014-11-12 Pedro Alves <palves@redhat.com>
10853
10854 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10855 leader has exited.
10856
af48d08f
PA
108572014-11-12 Pedro Alves <palves@redhat.com>
10858
10859 * gdb.arch/i386-bp_permanent.c: New file.
10860 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10861 (srcfile): Set to i386-bp_permanent.c.
10862 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10863 that stepi does not execute the 'leave' instruction, instead of
10864 testing it does execute.
10865 * gdb.base/bp-permanent.c: New file.
10866 * gdb.base/bp-permanent.exp: New file.
10867
af3768e9
DE
108682014-11-10 Doug Evans <xdje42@gmail.com>
10869
10870 PR symtab/17564
10871 * gdb.base/symtab-search-order.exp: New file.
10872 * gdb.base/symtab-search-order.c: New file.
10873 * gdb.base/symtab-search-order-1.c: New file.
10874 * gdb.base/symtab-search-order-shlib-1.c: New file.
10875
9de00a4a
PA
108762014-11-07 Pedro Alves <palves@redhat.com>
10877
10878 PR gdb/17511
10879 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10880 i?86-*-linux*.
10881
e0f52461
SC
108822014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10883
10884 PR c++/17494
10885 * gdb.cp/pr17494.cc: New file.
10886 * gdb.cp/pr17494.exp: New file.
10887
6ce8c980
YQ
108882014-11-02 Yao Qi <yao@codesourcery.com>
10889
10890 * gdb.python/python.exp: Get working directory and match the
10891 output of "set extended-prompt \\w " with it.
10892
02be9a71
DE
108932014-10-30 Doug Evans <dje@google.com>
10894
10895 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10896 in objfiles.
10897 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10898 in progspaces.
10899
3bdff46b
LM
109002014-10-30 Janis Johnson <janisjo@codesourcery.com>
10901
10902 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10903 * gdb.base/realname-expand.exp: Likewise.
10904 * gdb.linespec/macro-relative.exp: Likewise.
10905
ab917dfb
PA
109062014-10-29 Pedro Alves <palves@redhat.com>
10907
10908 PR gdb/17408
10909 * gdb.threads/schedlock.c (some_function): New function.
10910 (call_function): New global.
10911 (MAYBE_CALL_SOME_FUNCTION): New macro.
10912 (thread_function): Call it.
10913 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10914 and use it instead of a global counter. Adjust all callers.
10915 (get_current_thread): Use "find current thread" for test message
10916 here rather than having all callers pass down the same string.
10917 (goto_loop): New procedure, factored out from ...
10918 (my_continue): ... this.
10919 (step_ten_loops): Change parameter from test message to command to
10920 use. Adjust.
10921 (list_count): Delete global.
10922 (check_result): New procedure, factored out from duplicate top
10923 level code.
10924 (continue tests): Wrap in with_test_prefix.
10925 (test_step): New procedure, factored out from duplicate top level
10926 code.
10927 (top level): Test "step" in combination with all scheduler-locking
10928 modes. Test "next" in combination with all scheduler-locking
10929 modes, and in combination with stepping over a function call or
10930 not.
10931 * gdb.threads/next-bp-other-thread.c: New file.
10932 * gdb.threads/next-bp-other-thread.exp: New file.
10933
d3d4baed
PA
109342014-10-29 Pedro Alves <palves@redhat.com>
10935
10936 PR python/17372
10937 * gdb.python/python.exp: Test a multi-line command that spawns
10938 interactive Python.
10939 * gdb.base/multi-line-starts-subshell.exp: New file.
10940
563e8d85
YQ
109412014-10-29 Yao Qi <yao@codesourcery.com>
10942
10943 * gdb.base/fileio.exp: Make directories on host.
10944
0ea4d52e
YQ
109452014-10-29 Yao Qi <yao@codesourcery.com>
10946
10947 * gdb.base/fileio.c (test_write): Close the file.
10948
7f5ef605
PA
109492014-10-28 Pedro Alves <palves@redhat.com>
10950
10951 PR gdb/12623
10952 * gdb.base/sigstep.c (no_handler): New global.
10953 (main): If 'no_handler is true, set the signal handlers to
10954 SIG_IGN.
10955 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10956 with_sw_watch and no_handler parameters. Handle them.
10957 (top level) <stepping over handler when stopped at a breakpoint
10958 test>: Add a test axis for testing with a software watchpoint, and
10959 another for testing with the signal handler set to SIG_IGN.
10960 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10961 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10962
abbdbd03
PA
109632014-10-28 Pedro Alves <palves@redhat.com>
10964
10965 PR gdb/17511
10966 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10967 * gdb.base/sigstep.exp (other_handler_location): New global.
10968 (advance): Support stepping into the signal handler, and running
10969 commands while in the handler.
10970 (in_handler_map): New global.
10971 (top level): In the advance test, add combinations for getting
10972 into the handler with stepping commands, and for running commands
10973 in the handler. Add comment descripting the advancei tests.
10974
1df4399f
PA
109752014-10-28 Pedro Alves <palves@redhat.com>
10976
10977 * gdb.base/sigstep.exp: Use build_executable instead of
10978 prepare_for_testing.
10979 (top level): Move code that starts GDB, runs to main and creates a
10980 display to ...
10981 (restart): ... this new procedure.
10982 (top level): Move backtrace from signal handler test to ...
10983 (validate_backtrace): ... this new procedure.
10984 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10985 with_test_prefix. Always restart GDB.
10986 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10987 with_test_prefix. Always restart GDB. No need to delete
10988 breakpoints after the test.
10989 (test_skip_handler): Remove prefix parameter.
10990 (skip_over_handler, breakpoint_to_handler)
10991 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10992 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10993 restart GDB. No need to delete breakpoints after the test.
10994 (top level): Use foreach to call the test procedures with
10995 different commands.
10996
a5b6e449
PA
109972014-10-28 Pedro Alves <palves@redhat.com>
10998
10999 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11000 instead of GNATS numbers.
11001 * gdb.base/sigbpt.exp: Likewise.
11002 * gdb.base/siginfo.exp: Likewise.
11003 * gdb.base/sigstep.exp: Likewise.
11004
e5f8a7cc
PA
110052014-10-27 Pedro Alves <palves@redhat.com>
11006
11007 * gdb.base/sigstep.c (dummy): New global.
11008 (main): Issue a couple writes to the new global.
11009 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11010 procedures.
11011 (skip_over_handler): Use test_skip_handler.
11012 (top level): Call skip_over_handler for stepi and nexti too.
11013 (breakpoint_over_handler): Use test_skip_handler.
11014 (top level): Call breakpoint_over_handler for stepi and nexti too.
11015
763905a3
YQ
110162014-10-27 Yao Qi <yao@codesourcery.com>
11017
11018 * gdb.trace/tfile.c (adjust_function_address)
11019 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11020 function descriptor.
11021
6f259a23
DB
110222014-10-24 Don Breazeal <donb@codesourcery.com>
11023
11024 * gdb.base/foll-fork.exp (test_follow_fork,
11025 catch_fork_child_follow): Check for updated fork messages emitted
11026 from infrun.c.
11027 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11028 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11029 vfork_and_exec_child_follow_through_step): Check for updated vfork
11030 messages emitted from infrun.c.
11031
09dd9a69
PA
110322014-10-24 Pedro Alves <palves@redhat.com>
11033
11034 * gdb.base/corefile.exp: Remove references to ultrix.
11035 * gdb.base/interrupt.exp: Likewise.
11036 * gdb.base/whatis.exp: Likewise.
11037 * gdb.gdb/selftest.exp: Likewise.
11038 * gdb.threads/manythreads.exp: Likewise.
11039 * gdb.threads/print-threads.exp: Likewise.
11040 * gdb.threads/pthreads.exp:: Likewise.
11041 * gdb.threads/schedlock.exp: Likewise.
11042
3433cfa5
SC
110432014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11044
11045 * gdb.cp/non-trivial-retval.cc: Add a test case.
11046 * gdb.cp/non-trivial-retval.exp: Add a test.
11047
092f880b
YQ
110482014-10-20 Yao Qi <yao@codesourcery.com>
11049
11050 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11051 * gdb.python/py-objfile-script-gdb.py: New file.
11052 * gdb.python/py-objfile-script.exp: Update reference to
11053 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11054 of remote_download. Remove the dest file.
11055
acbdb7f3
YQ
110562014-10-20 Yao Qi <yao@codesourcery.com>
11057
11058 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11059 * gdb.base/step-line.exp: Likewise.
11060 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11061 * gdb.dwarf2/dw2-basic.exp: Likewise.
11062 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11063 * gdb.dwarf2/dw2-filename.exp: Likewise.
11064 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11065 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11066 * gdb.dwarf2/dw2-producer.exp: Likewise.
11067 * gdb.dwarf2/mac-fileno.exp: Likewise.
11068 * gdb.python/py-frame-args.exp: Likewise.
11069 * gdb.python/py-framefilter.exp: Likewise.
11070 * gdb.python/py-mi.exp: Likewise.
11071 * gdb.python/py-objfile-script.exp: Likewise
11072 * gdb.python/py-pp-integral.exp: Likewise.
11073 * gdb.python/py-pp-re-notag.exp: Likewise.
11074 * gdb.python/py-prettyprint.exp: Likewise.
11075 * gdb.python/py-section-script.exp: Likewise.
11076 * gdb.python/py-typeprint.exp: Likewise.
11077 * gdb.python/py-xmethods.exp: Likewise.
11078 * gdb.stabs/weird.exp: Likewise.
11079 * gdb.xml/tdesc-regs.exp: Likewise.
11080
bd286a29
KCY
110812014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11082
11083 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11084 (out_cu): Use addr_len for the size of addresses.
11085 (out_line): Likewise. Size DW_LNE_set_address instruction
11086 according to addr_len.
11087 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11088 (FUNC): Add START_INSNS to definition.
11089
673dc4a0
YQ
110902014-10-18 Yao Qi <yao@codesourcery.com>
11091
11092 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11093 gdb_has_argv0 return true.
11094 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11095 check [target_info exists noargs], check [gdb_has_argv0]
11096 instead.
11097 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11098 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11099 procedures.
11100
4ffbba72
DE
111012014-10-17 Doug Evans <dje@google.com>
11102
11103 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11104 event.
11105 * gdb.python/py-events.py: Add clear_objfiles event.
11106
d096d8c1
DE
111072014-10-17 Doug Evans <dje@google.com>
11108
11109 * gdb.python/py-objfile.exp: Test progspace attribute.
11110
a80db015
LM
111112014-10-17 Luis Machado <lgustavo@codesourcery.com>
11112
11113 * gdb.guile/scm-breakpoint.exp: Do not assume any
11114 directory separators when matching source file paths.
11115 * gdb.python/py-breakpoint.exp: Likewise.
11116 * gdb.reverse/break-precsave.exp: Likewise.
11117 * gdb.reverse/break-reverse.exp: Likewise.
11118 * gdb.reverse/consecutive-precsave.exp: Likewise.
11119 * gdb.reverse/finish-precsave.exp: Likewise.
11120 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11121 * gdb.reverse/finish-reverse.exp: Likewise.
11122 * gdb.reverse/i386-precsave.exp: Likewise.
11123 * gdb.reverse/i387-env-reverse.exp: Likewise.
11124 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11125 * gdb.reverse/machinestate-precsave.exp: Likewise.
11126 * gdb.reverse/machinestate.exp: Likewise.
11127 * gdb.reverse/sigall-precsave.exp: Likewise.
11128 * gdb.reverse/solib-precsave.exp: Likewise.
11129 * gdb.reverse/step-precsave.exp: Likewise.
11130 * gdb.reverse/until-precsave.exp: Likewise.
11131 * gdb.reverse/watch-precsave.exp: Likewise.
11132 * gdb.reverse/watch-reverse.exp: Likewise.
11133
b22089ab
YQ
111342014-10-17 Yao Qi <yao@codesourcery.com>
11135
11136 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11137 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11138
6c4486e6
PA
111392014-10-17 Pedro Alves <palves@redhat.com>
11140
11141 PR gdb/17471
11142 * gdb.base/bg-execution-repeat.c: New file.
11143 * gdb.base/bg-execution-repeat.exp: New file.
11144
0ff33695
PA
111452014-10-17 Pedro Alves <palves@redhat.com>
11146
11147 PR gdb/17300
11148 * gdb.base/continue-all-already-running.c: New file.
11149 * gdb.base/continue-all-already-running.exp: New file.
11150
6fdebc3d
PA
111512014-10-17 Pedro Alves <palves@redhat.com>
11152
11153 PR gdb/17472
11154 * gdb.base/annota-input-while-running.c: New file.
11155 * gdb.base/annota-input-while-running.exp: New file.
11156
32a8097b
PA
111572014-10-17 Pedro Alves <palves@redhat.com>
11158
11159 * gdb.base/callfuncs.exp: emove references to osf.
11160 * gdb.base/sigall.exp: Likewise.
11161 * gdb.gdb/selftest.exp: Likewise.
11162 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11163 * gdb.mi/non-stop.c: Likewise.
11164 * gdb.mi/pthreads.c: Likewise.
11165 * gdb.reverse/sigall-precsave.exp: Likewise.
11166 * gdb.reverse/sigall-reverse.exp: Likewise.
11167 * gdb.threads/pthreads.c: Likewise.
11168 * gdb.threads/pthreads.exp: Likewise.
11169
7a3517ff
YQ
111702014-10-17 Yao Qi <yao@codesourcery.com>
11171
11172 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11173 check 'target_info exists noargs'.
11174 (test_command_prompt_position): Likewise.
11175 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11176 Remove "set args".
11177 (progvar_simple_while_test): Likewise.
11178 (progvar_complex_if_while_test): Likewise.
11179 (if_while_breakpoint_command_test): Likewise.
11180 (infrun_breakpoint_command_test): Likewise.
11181 (breakpoint_command_test): Likewise.
11182 (watchpoint_command_test): Likewise.
11183 (bp_deleted_in_command_test): Likewise.
11184 (temporary_breakpoint_commands): Likewise.
11185
bb99c472
YQ
111862014-10-16 Yao Qi <yao@codesourcery.com>
11187
11188 * gdb.base/remotetimeout.exp: Remove noargs checking.
11189
7c16b83e
PA
111902014-10-15 Pedro Alves <palves@redhat.com>
11191
11192 PR breakpoints/9649
11193 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11194 * gdb.base/breakpoint-in-ro-region.exp
11195 (probe_target_hardware_step): New procedure.
11196 (top level): Probe hardware stepping and hardware breakpoint
11197 support. Test stepping through a read-only region, with both
11198 "breakpoint auto-hw" on and off and both "always-inserted" on and
11199 off.
11200
35a49624
IB
112012014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11202
11203 * gdb.dlang/demangle.exp: Update for demangling changes.
11204
2d1c107c
SC
112052014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11206
11207 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11208 * gdb.cp/non-trivial-retval.exp: Add new tests.
11209
778811d5
SC
112102014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11211
11212 PR c++/13403
11213 PR c++/15154
11214 * gdb.cp/non-trivial-retval.cc: New file.
11215 * gdb.cp/non-trivial-retval.exp: New file.
11216
10c5f0a8
YQ
112172014-10-15 Yao Qi <yao@codesourcery.com>
11218
11219 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11220 remote host.
11221
65d7b369
YQ
112222014-10-15 Yao Qi <yao@codesourcery.com>
11223
11224 * gdb.python/py-symbol.exp: Match file base name if host is
11225 remote, otherwise match file name with dir name.
11226 * gdb.python/py-symtab.exp: Likewise.
11227 * gdb.python/python.exp: Likewise.
11228
46dc1394
YQ
112292014-10-15 Yao Qi <yao@codesourcery.com>
11230
11231 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11232 pattern.
11233 * gdb.python/py-symtab.exp: Likewise.
11234 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11235 locationn.
11236
c40cc657
JB
112372014-10-14 Joel Brobecker <brobecker@adacore.com>
11238
11239 * gdb.ada/addr_arith: New testcase.
11240
2abf49e1
MR
112412014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11242
11243 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11244 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11245 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11246 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11247
f7088df3
SDJ
112482014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11249
11250 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11251 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11252 * gdb.arch/stap-eval-lang-ada.exp: New file.
11253
4dc06805
YQ
112542014-10-14 Yao Qi <yao@codesourcery.com>
11255
11256 * gdb.mi/mi-var-child.c (nothing1): New function.
11257 (nothing2): New function.
11258 (do_children_tests): Set function pointers by nothing1 and
11259 nothing2.
11260 * gdb.mi/mi-var-child.exp: Step over new added statements.
11261 Update test to match the new output.
11262 * gdb.mi/var-cmd.c (nothing1): New function.
11263 (nothing2): New function.
11264 (do_children_tests): Set function pointers by nothing1 and
11265 nothing2.
11266 * gdb.mi/mi-var-display.exp: Update test to match output.
11267 Step to the line specified by $line_dct_nothing.
11268 Increase the number of lines to step.
11269
46a93de2
YQ
112702014-10-14 Yao Qi <yao@codesourcery.com>
11271
11272 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11273 tests.
11274 * gdb.mi/mi2-var-child.exp: Likewise.
11275
14ea52ee
DE
112762014-10-13 Doug Evans <dje@google.com>
11277
11278 * gdb.python/py-objfile.exp: Change name of file name test.
11279
e5c6e92b
DE
112802014-10-13 Doug Evans <dje@google.com>
11281
11282 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11283 from the start of the CU.
11284
c780cc2f
JK
112852014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11286 Yao Qi <yao@codesourcery.com>
11287
11288 Fix "save breakpoints" for "catch" command.
11289 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11290 Remove -nonewline. Match also the added "main" line.
11291
99894e11
JK
112922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11293
11294 Fix "save breakpoints" for "disable $bpnum" command.
11295 * gdb.base/save-bp.c (main): Add label.
11296 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11297
6e1ac5a3
JK
112982014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11299
11300 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11301
754dd2b0
YQ
113022014-10-11 Yao Qi <yao@codesourcery.com>
11303
11304 * gdb.server/server-kill.exp: Execute command
11305 "set remote trace-status-packet on" before "tstatus".
11306
f90183d7
YQ
113072014-10-11 Yao Qi <yao@codesourcery.com>
11308
11309 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11310 (main): Call getppid.
11311 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11312 and continue to it. Read variable "server_pid".
11313
bf40a607
YQ
113142014-10-11 Yao Qi <yao@codesourcery.com>
11315
11316 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11317
052ca370
YQ
113182014-10-11 Yao Qi <yao@codesourcery.com>
11319
11320 * gdb.threads/thread-find.exp: Don't execute command
11321 "info threads".
11322 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11323 * gdb.threads/linux-dp.exp: Don't check the condition
11324 $threads_created equals to zero.
11325
3831839c
PA
113262014-10-10 Pedro Alves <palves@redhat.com>
11327
11328 * gdb.base/bigcore.exp: Remove references to IRIX.
11329 * gdb.base/funcargs.exp: Likewise.
11330 * gdb.base/interrupt.exp: Likewise.
11331 * gdb.base/mips_pro.exp: Likewise.
11332 * gdb.base/nodebug.exp: Likewise.
11333 * gdb.base/setvar.exp: Likewise.
11334 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11335
8b9a549d
PA
113362014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11337 Pedro Alves <palves@redhat.com>
11338
11339 PR symtab/14466
11340 * gdb.base/vdso-warning.c: New file.
11341 * gdb.base/vdso-warning.exp: New file.
11342
d48ba5e8
DE
113432014-10-02 Doug Evans <dje@google.com>
11344
11345 * gdb.base/structs.c (main): Don't run forever.
11346
2278c276
PA
113472014-10-02 Pedro Alves <palves@redhat.com>
11348
11349 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11350 (top level) <stop threads 1, stop threads 2>: Use it.
11351
b57bacec
PA
113522014-10-02 Pedro Alves <palves@redhat.com>
11353
11354 * gdb.threads/break-while-running.exp (test): Add new
11355 'update_thread_list' argument. Skip "info threads" if false.
11356 (top level): Add new 'update_thread_list' axis.
11357
13fd3ff3
PA
113582014-10-02 Pedro Alves <palves@redhat.com>
11359
11360 PR breakpoints/17431
11361 * gdb.base/execl-update-breakpoints.c: New file.
11362 * gdb.base/execl-update-breakpoints.exp: New file.
11363
0fec99e8
PA
113642014-10-01 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.base/breakpoint-in-ro-region.c: New file.
11367 * gdb.base/breakpoint-in-ro-region.exp: New file.
11368
2ddf4301
SM
113692014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11370
11371 * gdb.mi/mi-exit-code.exp: New file.
11372 * gdb.mi/mi-exit-code.c: New file.
11373
6a5f3f43
YQ
113742014-09-30 Yao Qi <yao@codesourcery.com>
11375
11376 * lib/prelink-support.exp (build_executable_own_libs): Error if
11377 the target isn't native.
11378
345bcc73
YQ
113792014-09-30 Yao Qi <yao@codesourcery.com>
11380
11381 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11382 false.
11383
a25a5a45
PA
113842014-09-22 Pedro Alves <palves@redhat.com>
11385
11386 * gdb.threads/break-while-running.exp: New file.
11387 * gdb.threads/break-while-running.c: New file.
11388
00ba3162
YQ
113892014-09-19 Yao Qi <yao@codesourcery.com>
11390
11391 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11392 Invoke test. Restart GDB with --readnow and invoke test again.
11393
c3b7b696
YQ
113942014-09-19 Yao Qi <yao@codesourcery.com>
11395
11396 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11397 proc set_breakpoint_on_gcd_function. Invoke
11398 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11399 invoke set_breakpoint_on_gcd_function again.
11400
2b4fd423
DE
114012014-09-18 Doug Evans <dje@google.com>
11402
11403 * gdb.dwarf2/symtab-producer.exp: New file.
11404
a5947601
SDJ
114052014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11406
11407 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11408 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11409 * gdb.base/global-var-nested-by-dso.c: Likewise.
11410 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11411
91c19059
SDJ
114122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11413 Pedro Alves <palves@redhat.com>
11414
11415 * gdb.base/watch-bitfields.exp: Pass string other than test file
11416 name to prepare_for_testing.
11417 (watch): New procedure.
11418 (expect_watchpoint): Use with_test_prefix.
11419 (top level): Factor out tests to ...
11420 (test_watch_location, test_regular_watch): ... these new
11421 procedures, and use with_test_prefix and gdb_continue_to_end.
11422
bb9d5f81
PP
114232014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11424
11425 PR breakpoints/12526
11426 * gdb.base/watch-bitfields.exp: New file.
11427 * gdb.base/watch-bitfields.c: New file.
11428
635856f5
PA
114292014-09-16 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11432 software and hardware addresses, not software address against
11433 itself.
11434
7280ceea
PA
114352014-09-16 Pedro Alves <palves@redhat.com>
11436
11437 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11438 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11439
428b16bd
PA
114402014-09-16 Pedro Alves <palves@redhat.com>
11441
11442 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11443 files.
11444 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11445 "*-*-vxworks*" throughout.
11446 * gdb.base/break.exp: Likewise.
11447 * gdb.base/default.exp: Likewise.
11448 * gdb.base/scope.exp: Likewise.
11449 * gdb.base/sepdebug.exp: Likewise.
11450 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11451 throughout.
11452 * gdb.base/run.c: Likewise.
11453 * gdb.base/sepdebug.c: Likewise.
11454 * gdb.hp/gdb.aCC/run.c: Likewise.
11455 * gdb.reverse/until-reverse.c: Likewise.
11456 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11457
666d413c
YQ
114582014-09-16 Yao Qi <yao@codesourcery.com>
11459
11460 * boards/local-remote-host-native.exp: New file.
11461
57cbd724
DE
114622014-09-14 Doug Evans <xdje42@gmail.com>
11463
11464 * gdb.threads/queue-signal.c (thread_count): New variable.
11465 (thread_count_mutex, thread_count_condvar): New variables.
11466 (incr_thread_count, wait_all_threads_running): New functions.
11467 (main): Wait for all threads to be in their thread functions.
11468
81219e53
DE
114692014-09-13 Doug Evans <xdje42@gmail.com>
11470
11471 * gdb.threads/queue-signal.c: New file.
11472 * gdb.threads/queue-signal.exp: New file.
11473
3714cea7
DE
114742014-09-13 Doug Evans <xdje42@gmail.com>
11475
11476 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11477 be consistent with what default_gdb_init uses.
11478 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11479 the plain text of the prompt. Add some logging printfs.
11480 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11481
fa43b1d7
PA
114822014-09-12 Pedro Alves <palves@redhat.com>
11483
11484 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11485 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11486 * gdb.arch/i386-size-overlap.exp: Likewise.
11487 * gdb.arch/i386-size.exp: Likewise.
11488 * gdb.arch/i386-unwind.exp: Likewise.
11489 * gdb.base/a2-run.exp: Likewise.
11490 * gdb.base/break.exp: Likewise.
11491 * gdb.base/charset.exp: Likewise.
11492 * gdb.base/chng-syms.exp: Likewise.
11493 * gdb.base/commands.exp: Likewise.
11494 * gdb.base/dbx.exp: Likewise.
11495 * gdb.base/find.exp: Likewise.
11496 * gdb.base/funcargs.exp: Likewise.
11497 * gdb.base/jit-simple.exp: Likewise.
11498 * gdb.base/reread.exp: Likewise.
11499 * gdb.base/sepdebug.exp: Likewise.
11500 * gdb.base/step-bt.exp: Likewise.
11501 * gdb.cp/mb-inline.exp: Likewise.
11502 * gdb.cp/mb-templates.exp: Likewise.
11503 * gdb.objc/basicclass.exp: Likewise.
11504 * gdb.threads/killed.exp: Likewise.
11505
9d9bf2df
EBM
115062014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11507
11508 PR tdep/17379
11509 * gdb.arch/powerpc-stackless.S: New file.
11510 * gdb.arch/powerpc-stackless.exp: New file.
11511
1cf2f1b0
JK
115122014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11513
11514 * gdb.base/attach.c: Include unistd.h.
11515 (main): Call alarm. Add label postloop.
11516 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11517 gdb_breakpoint, gdb_continue_to_breakpoint.
11518 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11519
98880d46
PA
115202014-09-11 Pedro Alves <palves@redhat.com>
11521
11522 PR gdb/17347
11523 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11524 * gdb.base/attach.exp (test_command_line_attach_run): New
11525 procedure.
11526 (top level): Call it.
11527
4c92ff2c
PA
115282014-09-11 Pedro Alves <palves@redhat.com>
11529
11530 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11531 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11532 (do_command_attach_tests): Use spawn_wait_for_attach.
11533 * gdb.base/solib-overlap.exp: Likewise.
11534 * gdb.multi/multi-attach.exp: Likewise.
11535 * gdb.python/py-prompt.exp: Likewise.
11536 * gdb.python/py-sync-interp.exp: Likewise.
11537 * gdb.server/ext-attach.exp: Likewise.
11538
3adc1a7d
GKB
115392014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11540
11541 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11542 command in testcase. Simplify testcase.
11543
96334934
JB
115442014-09-10 Joel Brobecker <brobecker@adacore.com>
11545
11546 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11547
eb479039
JB
115482014-09-10 Joel Brobecker <brobecker@adacore.com>
11549
11550 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11551
deede10c
JB
115522014-09-10 Joel Brobecker <brobecker@adacore.com>
11553
11554 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11555
7828a5f5
JB
115562014-09-10 Joel Brobecker <brobecker@adacore.com>
11557
11558 * gdb.dwarf2/dynarr-ptr.c: New file.
11559 * gdb.dwarf2/dynarr-ptr.exp: New file.
11560
33aeebcf
MR
115612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11562
11563 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11564 of 30 rather than hardcoding 120 for a slow test case. Take the
11565 `gdb,timeout' target setting into account for this calculation.
11566 Don't extend the timeout for the test cases that don't need it.
11567
7b415901
MR
115682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11569
11570 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11571 a factor of 2 for a slow test case. Take the `gdb,timeout'
11572 target setting into account for this calculation.
11573 * gdb.reverse/until-precsave.exp: Increase the timeout by
11574 a factor of 15 and 3 respectively rather than adding 120
11575 for a pair of slow test cases. Take the `gdb,timeout'
11576 target setting into account for this calculation.
11577
4a40f85a
MR
115782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11579
11580 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11581 timeout, don't pass one down to gdb_expect.
11582 (gdb_expect): Rework timeout selection.
11583
09635af7
MR
115842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11585
11586 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11587 exception on timeout.
11588 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11589 (gdbserver_start_extended): Catch any `gdbserver_start' error
11590 exceptions.
11591 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11592 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11593 `gdbserver_gdb_load' error exceptions.
11594
2bdd10b7
MR
115952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11596
11597 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11598 120 on waiting for the TCP socket to open.
11599
316935f0
DE
116002014-09-09 Doug Evans <xdje42@gmail.com>
11601
11602 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11603 _caller_matches, _any_caller_is, _any_caller_matches.
11604
83740597
DE
116052014-09-09 Doug Evans <xdje42@gmail.com>
11606
11607 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11608
4c122fc3
YQ
116092014-09-09 Yao Qi <yao@codesourcery.com>
11610
11611 * gdb.mi/mi-var-display.exp: Set print symbol off.
11612
a9f116cb
GKB
116132014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11614
11615 PR gdb/17035
11616 * gdb.base/commands.exp: Add tests to verify user-defined
11617 commands with empty bodies.
11618 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11619 python commands in `show user command`.
11620 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11621 scheme commands in `show user command`.
11622
c75bd3a2
JK
116232014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11624
11625 PR python/17355
11626 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11627 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11628 * gdb.python/py-framefilter-invalidarg.exp: New file.
11629 * gdb.python/py-framefilter-invalidarg.py: New file.
11630
faa42425
DE
116312014-09-06 Doug Evans <xdje42@gmail.com>
11632
11633 PR 15276
11634 * gdb.python/py-caller-is.c: New file.
11635 * gdb.python/py-caller-is.exp: New file.
11636
474ca4f6
SDJ
116372014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11638
11639 PR gdb/17235
11640 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11641 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11642
eb0b0463
SDJ
116432014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11644
11645 PR fortran/17237
11646 * gdb.fortran/print-formatted.exp: New file.
11647 * gdb.fortran/print-formatted.f90: Likewise.
11648
5f3b99cf
SS
116492014-09-03 Sasha Smundak <asmundak@google.com>
11650
11651 * gdb.python/py-frame.exp: Test Frame.read_register.
11652
7d793aa9
SDJ
116532014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11654
11655 PR python/16699
11656 * gdb.python/py-completion.exp: New file.
11657 * gdb.python/py-completion.py: Likewise.
11658
fb0576e9
DE
116592014-08-28 Doug Evans <dje@google.com>
11660
11661 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11662 eax,etc. are live with values set by gdb and thus the compiler can't
11663 use them.
11664 * gdb.arch/i386-pseudo.c (main): Ditto.
11665
ee92b0dd
DE
116662014-08-27 Doug Evans <dje@google.com>
11667
11668 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11669
6649db35
DE
116702014-08-25 Doug Evans <dje@google.com>
11671
11672 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11673 (main): Ditto.
11674
564b7600
DE
116752014-08-25 Doug Evans <dje@google.com>
11676
11677 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11678
3881fb67
YQ
116792014-08-24 Yao Qi <yao@codesourcery.com>
11680
11681 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11682 symbol off.
11683 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11684
a05a36a5
DE
116852014-08-22 Doug Evans <dje@google.com>
11686
11687 PR 17276
11688 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11689 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11690 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11691
7c343b48
YQ
116922014-08-22 Yao Qi <yao@codesourcery.com>
11693
11694 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11695 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11696 * gdb.python/python.exp: Likewise. Use .py file on the host
11697 instead of the build.
11698
22fd09ae
JK
116992014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11700
11701 * gdb.threads/gcore-stale-thread.c: New file.
11702 * gdb.threads/gcore-stale-thread.exp: New file.
11703
a8454a7c
PA
117042014-08-21 Pedro Alves <palves@redhat.com>
11705
11706 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11707 * gdb.base/gcore-relro-pie.exp: Likewise.
11708 * gdb.base/gcore-relro.exp: Likewise.
11709 * gdb.base/gcore.exp: Likewise.
11710 * gdb.base/print-symbol-loading.exp: Likewise.
11711 * gdb.threads/gcore-thread.exp: Likewise.
11712 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11713
2a31c623
PA
117142014-08-20 Pedro Alves <palves@redhat.com>
11715 Jan Kratochvil <jan.kratochvil@redhat.com>
11716
11717 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11718 configure.
11719 (EXPECT): Handle READ1 being set.
11720 (all): Depend on EXTRA_RULES.
11721 (check-read1, expect-read1, read1.so, read1): New rules.
11722 * README (Testsuite Parameters): Document the READ1 make variable.
11723 (Race detection): New section.
11724 * configure: Regenerate.
11725 * configure.ac: If build==host==target, and running under a
11726 GNU/glibc system, add read1 to the extra Makefile rules.
11727 (EXTRA_RULES): AC_SUBST it.
11728 * lib/read1.c: New file.
11729
d36430db
JB
117302014-08-20 Joel Brobecker <brobecker@adacore.com>
11731
11732 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11733 the handling of variables declared as a typedef to an array
11734 which a DW_AT_data_location attribute.
11735
9a0dc9e3
PA
117362014-08-19 Andrew Burgess <aburgess@broadcom.com>
11737 Pedro Alves <palves@redhat.com>
11738
11739 PR symtab/14604
11740 PR symtab/14605
11741 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11742 gdb_test.
11743
0718a8da
PA
117442014-08-19 Pedro Alves <palves@redhat.com>
11745
11746 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11747
13b448cd
YQ
117482014-08-19 Yao Qi <yao@codesourcery.com>
11749
11750 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11751 right line.
11752
1cbf5077
DB
117532014-08-18 David Blaikie <dblaikie@gmail.com>
11754
11755 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11756
bf0fae19
JB
117572014-08-18 Joel Brobecker <brobecker@adacore.com>
11758
11759 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11760 attribute in array range.
11761
3c8c5dcc
JB
117622014-08-18 Joel Brobecker <brobecker@adacore.com>
11763
11764 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11765
e66d4446
SC
117662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11767
11768 PR c++/17132
11769 * gdb.cp/pr17132.cc: New file.
11770 * gdb.cp/pr17132.exp: New file.
11771
940df408
SC
117722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11773
11774 * gdb.python/py-xmethods.py (A_getarrayind)
11775 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11776 Use 'print' with function call syntax.
11777 (E_method_matcher.match): Fix tab vs space indentation mixup.
11778
ebcc6c3a
YQ
117792014-08-15 Yao Qi <yao@codesourcery.com>
11780
11781 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11782 false.
11783
775e0f04
YQ
117842014-08-15 Yao Qi <yao@codesourcery.com>
11785
11786 * gdb.cp/casts.exp: Set print symbol off.
11787 * gdb.cp/class2.exp: Likewise.
11788 * gdb.cp/overload.exp: Likewise.
11789 * gdb.cp/templates.exp: Likewise.
11790
d769e349
DE
117912014-08-11 Doug Evans <dje@google.com>
11792
11793 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11794 (test_load_shlib): Update.
11795
20c6f1e1
YQ
117962014-08-09 Yao Qi <yao@codesourcery.com>
11797
11798 * gdb.base/display.exp: Invoke is_address_zero_readable.
11799 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11800 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11801 * gdb.base/hbreak-unmapped.exp: Return if
11802 is_address_zero_readable returns true.
11803 * gdb.base/signest.exp: Likewise.
11804 * gdb.base/signull.exp: Likewise.
11805 * gdb.base/sigbpt.exp: Likewise.
11806 * gdb.guile/scm-disasm.exp: Do the test if
11807 is_address_zero_readable returns false.
11808 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11809 * gdb.python/py-arch.exp: Likewise.
11810 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11811 * lib/gdb.exp (is_address_zero_readable): New proc.
11812
5792e8e3
YQ
118132014-08-09 Yao Qi <yao@codesourcery.com>
11814
11815 PR testsuite/13443
11816 * gdb.mi/mi-var-display.exp: Make test messages unique.
11817
3cecbbbe
TT
118182014-08-04 Tom Tromey <tromey@redhat.com>
11819
11820 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11821 target 0".
11822
00b51ff5
TT
118232014-08-04 Tom Tromey <tromey@redhat.com>
11824
11825 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11826 "target_resume".
11827
6908c509
JB
118282014-08-01 Joel Brobecker <brobecker@adacore.com>
11829
11830 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11831 inner_vla_struct_object_size.
11832 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11833 as xfail.
11834
cc6563d2
PA
118352014-07-30 Pedro Alves <palves@redhat.com>
11836
11837 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11838 comment.
11839
7e09a223
YQ
118402014-07-29 Yao Qi <yao@codesourcery.com>
11841
11842 PR gdb/17206
11843 * gdb.base/until-nodebug.exp: New.
11844
7ebdbe92
DE
118452014-07-28 Doug Evans <xdje42@gmail.com>
11846
11847 PR guile/17203
11848 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11849 previously existing parameter, and previously ambiguously spelled
11850 parameter.
11851
fdb1adc6
WN
118522014-07-28 Will Newton <will.newton@linaro.org>
11853
11854 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11855
186fcde0
DE
118562014-07-26 Ludovic Courtès <ludo@gnu.org>
11857 Doug Evans <xdje42@gmail.com>
11858
11859 PR guile/17146
11860 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11861
70509625
PA
118622014-07-25 Pedro Alves <palves@redhat.com>
11863
11864 * gdb.threads/signal-command-handle-nopass.c: New file.
11865 * gdb.threads/signal-command-handle-nopass.exp: New file.
11866 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11867 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11868 * gdb.threads/signal-delivered-right-thread.c: New file.
11869 * gdb.threads/signal-delivered-right-thread.exp: New file.
11870
c3f814a1
PA
118712014-07-25 Pedro Alves <palves@redhat.com>
11872
11873 * gdb.base/double-prompt-target-event-error.exp
11874 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11875 match.
11876 (cancel_pagination_in_target_event): Rework double prompt
11877 detection.
11878 * gdb.base/paginate-after-ctrl-c-running.exp
11879 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11880 <return>' match.
11881 * gdb.base/paginate-bg-execution.exp
11882 (test_bg_execution_pagination_return)
11883 (test_bg_execution_pagination_cancel): Remove '-notransfer
11884 <return>' matches.
11885 * gdb.base/paginate-execution-startup.exp
11886 (test_fg_execution_pagination_return)
11887 (test_fg_execution_pagination_cancel): Remove '-notransfer
11888 <return>' matches.
11889 * gdb.base/paginate-inferior-exit.exp
11890 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11891 match.
11892 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11893 * lib/gdb.exp (pagination_prompt): Run text through
11894 string_to_regexp.
11895 (gdb_test_multiple): Match $pagination_prompt instead of
11896 "<return>".
11897 (string_to_regexp): Move to lib/gdb-utils.exp.
11898
e214cf6c
JK
118992014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11900
11901 * gdb.arch/amd64-entry-value-paramref.S: New file.
11902 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11903 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11904 * gdb.arch/amd64-optimout-repeat.S: New file.
11905 * gdb.arch/amd64-optimout-repeat.c: New file.
11906 * gdb.arch/amd64-optimout-repeat.exp: New file.
11907
17d0c5c8
JK
119082014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11909
11910 PR gdb/17170
11911 * gdb.base/statistics.exp: New file.
11912
b8b8facf
DE
119132014-07-17 Doug Evans <dje@google.com>
11914
74b49205 11915 PR gdb/17170
b8b8facf
DE
11916 * gdb.base/maint.exp: Update testing of per-command stats.
11917
1b5d0ab3
PA
119182014-07-16 Pedro Alves <palves@redhat.com>
11919
11920 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11921 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11922 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11923 (tfile_write_buf): New functions.
11924 (add_memory_block): Rewrite using the above.
11925 (adjust_function_address): New function.
11926 (FUNCTION_ADDRESS): New macro.
11927 (write_basic_trace_file): Remove short_x local, and use
11928 tfile_write_16. Change type of func_addr local to unsigned long
11929 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11930 here. Cast argument of add_memory_block to char pointer.
11931 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11932 (main): Remove parameters.
11933 * gdb.trace/tfile.exp: Remove nowarnings.
11934
4d974e88
SM
119352014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11936
11937 * gdb.base/debug-expr.exp: Test string evaluation with
11938 "debug expression" on.
11939
41e99568
PA
119402014-07-15 Pedro Alves <palves@redhat.com>
11941
11942 * gdb.base/reread.exp: Use clean_restart.
11943
487d9753
PL
119442014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11945
11946 * gdb.arch/avr-flash-qualifer.c: New.
11947 * gdb.arch/avr-flash-qualifer.exp: New.
11948
cc1c52ad
PA
119492014-07-14 Pedro Alves <palves@redhat.com>
11950
11951 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11952 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11953
1e973570
PA
119542014-07-14 Pedro Alves <palves@redhat.com>
11955
11956 * gdb.base/double-prompt-target-event-error.c: New file.
11957 * gdb.base/double-prompt-target-event-error.exp: New file.
11958
93d6eb10
PA
119592014-07-14 Pedro Alves <palves@redhat.com>
11960
11961 PR gdb/17072
11962 * gdb.base/paginate-inferior-exit.c: New file.
11963 * gdb.base/paginate-inferior-exit.exp: New file.
11964
0017922d
PA
119652014-07-14 Pedro Alves <palves@redhat.com>
11966
11967 PR gdb/17072
11968 * gdb.base/paginate-bg-execution.c: New file.
11969 * gdb.base/paginate-bg-execution.exp: New file.
11970
94696ad3
PA
119712014-07-14 Pedro Alves <palves@redhat.com>
11972
11973 PR gdb/17072
11974 * gdb.base/paginate-execution-startup.c: New file.
11975 * gdb.base/paginate-execution-startup.exp: New file.
11976 * lib/gdb.exp (pagination_prompt): New global.
11977 (default_gdb_spawn): New procedure, factored out from
11978 default_gdb_spawn.
11979 (default_gdb_start): Adjust to call default_gdb_spawn.
11980 (gdb_spawn): New procedure.
11981
bd293940
PA
119822014-07-14 Pedro Alves <palves@redhat.com>
11983
11984 * lib/gdb.exp (gdb_assert): New procedure.
11985 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11986
c933f875
PA
119872014-07-14 Pedro Alves <palves@redhat.com>
11988
11989 * gdb.base/execution-termios.c: New file.
11990 * gdb.base/execution-termios.exp: New file.
11991
d98b7a16
TT
119922014-07-14 Tom Tromey <tromey@redhat.com>
11993
11994 * gdb.cp/vla-cxx.cc: New file.
11995 * gdb.cp/vla-cxx.exp: New file.
11996
548740d6
TT
119972014-07-14 Tom Tromey <tromey@redhat.com>
11998
11999 * gdb.reverse/rerun-prec.c: New file.
12000 * gdb.reverse/rerun-prec.exp: New file.
12001
a25eb028
MR
120022014-07-12 Maciej W. Rozycki <macro@mips.com>
12003 Maciej W. Rozycki <macro@codesourcery.com>
12004
12005 * lib/gdb-utils.exp: New file.
12006 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12007 inline `gdb_init_command' processing.
12008 (gdb_start_cmd): Likewise.
12009 * lib/mi-support.exp (mi_run_cmd): Likewise.
12010 * README: Document `gdb_init_command' and `gdb_init_commands'.
12011
218c2655
JK
120122014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12013
12014 Fix false FAIL running under a very long directory name.
12015 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12016 and "set print elements 10000". Twice.
12017
5401fde3
YQ
120182014-07-11 Yao Qi <yao@codesourcery.com>
12019
12020 * gdb.base/exprs.exp: "set print symbol off".
12021
e76126e8
PA
120222014-07-11 Pedro Alves <palves@redhat.com>
12023
12024 * gdb.threads/kill.c: New file.
12025 * gdb.threads/kill.exp: New file.
12026
2d6f0de6
YQ
120272014-07-10 Yao Qi <yao@codesourcery.com>
12028
12029 * gdb.trace/tfile.c (write_basic_trace_file)
12030 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12031 address written to trace file.
12032
7180e04a
PA
120332014-07-09 Pedro Alves <palves@redhat.com>
12034
12035 * gdb.base/attach-wait-input.exp: New file.
12036 * gdb.base/attach-wait-input.c: New file.
12037
9a9a7608
AB
120382014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12039
12040 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12041 setting up test structures.
12042 (main): Call new test function.
12043 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12044 test function, continue into test function and walk test
12045 structures.
12046
161ac41e
YQ
120472014-07-02 Yao Qi <yao@codesourcery.com>
12048
12049 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12050 'bar_start' at the beginning of functions 'foo' and 'bar'
12051 respectively.
12052 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12053 instead of 'foo' and 'bar'.
12054
1f267ae3
MM
120552014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12056
12057 * gdb.btrace/segv.exp: New.
12058 * gdb.btrace/segv.c: New.
12059
2b239efb
LM
120602014-07-02 Luis Machado <lgustavo@codesourcery.com>
12061
12062 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12063 instruction.
12064
cf363f18
MW
120652014-06-30 Mark Wielaard <mjw@redhat.com>
12066
12067 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12068 vulture, vilify, villar): New volatile array constants.
12069 (vindictive, vegetation): New const volatile array constants.
12070 * gdb.base/volatile.exp: Test volatile and const volatile array
12071 types.
12072
aebf9d24
AA
120732014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12074
12075 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12076 target lacks support for awatch, rwatch, or hbreak.
12077
b67a2c6f
YQ
120782014-06-27 Yao Qi <yao@codesourcery.com>
12079
12080 * gdb.multi/dummy-frame-restore.exp: New.
12081 * gdb.multi/dummy-frame-restore.c: New.
12082
aef92902
MM
120832014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12084
12085 * gdb.btrace/gcore.exp: New.
12086
8e9db26e
PA
120872014-06-23 Pedro Alves <palves@redhat.com>
12088
12089 * gdb.base/watchpoint-reuse-slot.c: New file.
12090 * gdb.base/watchpoint-reuse-slot.exp: New file.
12091
70afc5b7
SC
120922014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12093
12094 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12095 progspace's filename in 'info', 'enable' and 'disable' command
12096 tests.
12097
b972bd9c
JK
120982014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12099
12100 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12101 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12102 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12103
125f8a3d
GB
121042014-06-20 Gary Benson <gbenson@redhat.com>
12105
12106 * gdb.arch/i386-avx.exp: Fix include file location.
12107 * gdb.arch/i386-sse.exp: Likewise.
12108
3ed9baed
IB
121092014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12110
12111 * gdb.dlang/expression.exp: New file.
12112
034f788c
PA
121132014-06-19 Pedro Alves <palves@redhat.com>
12114
12115 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12116 out from ...
12117 (top level): ... here. Iterate running tests under different
12118 scheduler-locking settings.
12119
45371d0c
LM
121202014-06-18 Luis Machado <lgustavo@codesourcery.com>
12121
12122 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12123 to DW_FORM_addr and use non-zero addresses.
12124
5d376983
SC
121252014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12126
12127 PR gdb/17017
12128 * gdb.python/py-xmethods.cc: Add global function call counters and
12129 increment them in their respective functions. Remove "cout"
12130 statements.
12131 * gdb.python/py-xmethods.exp: Make tests check the global function
12132 call counters instead of depending on inferior IO.
12133
a1aa2221
LM
121342014-06-18 Don Breazeal <donb@codesourcery.com>
12135
12136 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12137 Deleted procedure.
12138 (explicit_fork_parent_follow): Deleted procedure.
12139 (explicit_fork_child_follow): Deleted procedure.
12140 (test_follow_fork): New procedure.
12141 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 12142 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
12143 procedure calls.
12144
0fc05997
YQ
121452014-06-17 Yao Qi <yao@codesourcery.com>
12146
12147 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12148 CP1252.
12149
70795c52
LM
121502014-06-17 Luis Machado <lgustavo@codesourcery.com>
12151
12152 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12153 Initialize ptr and S explicitly.
12154 (skip_type_update_when_not_use_rtti_test): Likewise.
12155
6be47f0c
KS
121562014-06-16 Keith Seitz <keiths@redhat.com>
12157
12158 PR mi/15863
12159 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12160 the inferior is started.
12161
d03de421
PA
121622014-06-16 Pedro Alves <palves@redhat.com>
12163
12164 * gdb.base/break-main-file-remove-fail.c: New file.
12165 * gdb.base/break-main-file-remove-fail.exp: New file.
12166 * gdb.base/break-unload-file.exp: Use build_executable instead of
12167 prepare_for_testing.
12168 (test_break): New parameter "initial_load". Handle it.
12169 (top level): Add initial_load cmdline/file axis.
12170
f9579b99
TT
121712014-06-12 Tom Tromey <tromey@redhat.com>
12172
12173 * gdb.base/completion.exp: Don't use directory name in test.
12174
3657956b
GB
121752014-06-09 Gary Benson <gbenson@redhat.com>
12176
12177 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12178 separate the always-available ANSI-standard signals from the
12179 signals that require checking.
12180 (main): Likewise.
12181 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12182 Likewise.
12183 (main): Likewise.
12184
4186eb54
KS
121852014-06-07 Keith Seitz <keiths@redhat.com>
12186
12187 Revert:
12188 PR c++/16253
12189 * gdb.cp/var-tag.cc: New file.
12190 * gdb.cp/var-tag.exp: New file.
12191 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12192 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12193 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12194 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12195
25326a28 121962014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
12197
12198 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12199
829155c9
PA
122002014-06-06 Pedro Alves <palves@redhat.com>
12201
12202 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12203 in target debug output instead of looking at RSP packets,
12204 disabling the test on any target that uses hardware stepping.
12205 Update comments.
12206
61c8d22e
PA
122072014-06-06 Pedro Alves <palves@redhat.com>
12208
12209 * gdb.base/break-unload-file.exp: Fix typo.
12210
d9a47287
YQ
122112014-06-06 Yao Qi <yao@codesourcery.com>
12212
12213 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12214 from "jit_function" to "^jit_function".
12215
e5e01dbf
YQ
122162014-06-06 Yao Qi <yao@codesourcery.com>
12217
12218 * gdb.base/async.c (foo): Add one statement.
12219 * gdb.base/async.exp: Get the next instruction address and
12220 match the output of "nexti" by instruction address. Match
12221 the hex address in the output of "finish".
12222
73ba372c
GB
122232014-06-06 Gary Benson <gbenson@redhat.com>
12224
12225 * gdb.base/call-signals.c: Remove preprocessor conditionals
12226 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12227 SIGSEGV and SIGTERM.
12228 * gdb.base/sigall.c: Likewise.
12229 * gdb.base/unwindonsignal.c: Likewise.
12230 * gdb.reverse/sigall-reverse.c: Likewise.
12231
831517df
YQ
122322014-06-06 Yao Qi <yao@codesourcery.com>
12233
12234 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12235 readable, skip the test.
12236
b8b91e98
YQ
122372014-06-06 Yao Qi <yao@codesourcery.com>
12238
12239 * gdb.threads/staticthreads.c (thread_function): Move the line
12240 setting breakpoint on forward.
12241 * gdb.threads/staticthreads.exp: Update comments.
12242
fb934770
LC
122432014-06-05 Ludovic Courtès <ludo@gnu.org>
12244
12245 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12246 "history-append! type error".
12247
6ef284bd
SM
122482014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12249
12250 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12251 erroneous dprintf expected input.
12252
a872e241
DE
122532014-06-04 Doug Evans <xdje42@gmail.com>
12254
12255 * gdb.guile/scm-generics.exp: Delete.
12256
16f691fb
DE
122572014-06-04 Doug Evans <xdje42@gmail.com>
12258
12259 * gdb.guile/scm-breakpoint.exp: Update.
12260 Add tests for breakpoint registration.
12261
012370f6
TT
122622014-06-04 Tom Tromey <tromey@redhat.com>
12263
12264 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12265 VLA-in-union.
12266 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12267 inner_vla_struct, vla_union types. Initialize objects of those
12268 types and compute their sizes.
12269
9f5a4cef
HZ
122702014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12271 Hui Zhu <hui@codesourcery.com>
12272
12273 * gdb.base/fileio.exp: Add test for shell not available as well as
12274 available.
12275 * gdb.base/fileio.c (test_system): Check for shell twice.
12276
90a45c4d
YQ
122772014-06-04 Yao Qi <yao@codesourcery.com>
12278
12279 * gdb.base/auto-connect-native-target.exp: Remove redundant
12280 space from the regexp pattern.
12281
70017e41
YQ
122822014-06-04 Yao Qi <yao@codesourcery.com>
12283
12284 * gdb.base/default.exp: Replace "child" with "native" in
12285 regexp pattern.
12286
883964a7
SC
122872014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12288
12289 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12290 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12291 * gdb.python/py-xmethods.py: Python script supporting the
12292 new testcase and tests.
12293
ef370185
JB
122942014-06-03 Joel Brobecker <brobecker@adacore.com>
12295 Pedro Alves <palves@redhat.com>
12296
12297 PR breakpoints/17000
12298 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12299 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12300
1e2ccb61
BM
123012014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12302
12303 * gdb.base/subst.exp: Add tests to verify partial path matching
12304 output.
12305
c6ec5ab2
PA
123062014-06-03 Pedro Alves <palves@redhat.com>
12307
12308 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12309 target that doesn't use software single-stepping.
12310
835c559f
PA
123112014-06-03 Pedro Alves <palves@redhat.com>
12312
12313 PR breakpoints/17000
12314 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12315 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12316
06eb1586
DE
123172014-06-02 Doug Evans <xdje42@gmail.com>
12318
12319 * gdb.guile/scm-parameter.exp: New file.
12320
e698b8c4
DE
123212014-06-02 Doug Evans <xdje42@gmail.com>
12322
12323 * gdb.guile/scm-cmd.c: New file.
12324 * gdb.guile/scm-cmd.exp: New file.
12325
ded03782
DE
123262014-06-02 Doug Evans <xdje42@gmail.com>
12327
12328 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12329 pretty-printer lookup.
12330 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12331 (make-pp_s-printer): Call it.
12332 (make-pretty-printer-from-dict): New function.
12333 (lookup-pretty-printer-maker-from-dict): New function.
12334 (*pretty-printer*): Simplify.
12335 (make-objfile-pp_s-printer): New function.
12336 (install-objfile-pretty-printers!): New function.
12337 (make-progspace-pp_s-printer): New function.
12338 (install-progspace-pretty-printers!): New function.
12339 * gdb.guile/scm-progspace.c: New file.
12340 * gdb.guile/scm-progspace.exp: New file.
12341
41fac0cf
PA
123422014-06-02 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.base/dprintf-bp-same-addr.c: New file.
12345 * gdb.base/dprintf-bp-same-addr.exp: New file.
12346
96ae5695
EBM
123472014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12348
12349 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12350 * gdb.arch/powerpc-power.s: Likewise.
12351
da02b3a8
JB
123522014-06-02 Joel Brobecker <brobecker@adacore.com>
12353
12354 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12355
c72b2e7b
YQ
123562014-06-01 Yao Qi <yao@codesourcery.com>
12357
12358 * gdb.base/watchpoint.exp (test_watch_location): Check null
12359 pointer can be dereferenced. If not, do the test, otherwise
12360 skip it.
12361
53e8a631
AB
123622014-05-30 Andrew Burgess <aburgess@broadcom.com>
12363
12364 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12365 results.
12366 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12367
938f0e2f
AB
123682014-05-30 Andrew Burgess <aburgess@broadcom.com>
12369
12370 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12371 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12372 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12373 * gdb.arch/amd64-invalid-stack-top.c: New file.
12374 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12375
9ba6657a
PA
123762014-05-30 Pedro Alves <palves@redhat.com>
12377
12378 PR breakpoints/17000
12379 * gdb.base/sss-bp-on-user-bp.c: New file.
12380 * gdb.base/sss-bp-on-user-bp.exp: New file.
12381
522c09bf
DB
123822014-05-30 David Blaikie <dblaikie@gmail.com>
12383
12384 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12385 gnu_inline semantics via attribute.
12386 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12387 source explicitly specifies the required semantics.
12388
bf4ef81e
MR
123892014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12390
12391 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12392
329ea579
PA
123932014-05-29 Pedro Alves <palves@redhat.com>
12394 Tom Tromey <tromey@redhat.com>
12395
12396 * gdb.base/async-shell.exp: Don't enable target-async.
12397 * gdb.base/async.exp
12398 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12399 parameter. Adjust.
12400 (top level): Don't test with "target-async".
12401 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12402 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12403 * gdb.base/inferior-died.exp: Don't enable target-async.
12404 * gdb.base/interrupt-noterm.exp: Likewise.
12405 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12406 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12407 * gdb.mi/mi-nonstop.exp: Likewise.
12408 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12409 * gdb.mi/mi-nsintrall.exp: Likewise.
12410 * gdb.mi/mi-nsmoribund.exp: Likewise.
12411 * gdb.mi/mi-nsthrexec.exp: Likewise.
12412 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12413 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12414 * gdb.python/py-evsignal.exp: Don't enable target-async.
12415 * gdb.python/py-evthreads.exp: Likewise.
12416 * gdb.python/py-prompt.exp: Likewise.
12417 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12418 * gdb.server/solib-list.exp: Don't enable target-async.
12419 * gdb.threads/thread-specific-bp.exp: Likewise.
12420 * lib/mi-support.exp: Adjust to use mi-async.
12421
fd664c91
PA
124222014-05-29 Pedro Alves <palves@redhat.com>
12423
12424 PR gdb/13860
12425 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12426 reason, even in sync mode.
12427
251bde03
PA
124282014-05-29 Pedro Alves <palves@redhat.com>
12429 Hui Zhu <hui@codesourcery.com>
12430
12431 PR PR15693
12432 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12433 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12434 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12435 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12436
7f3c0343
JB
124372014-05-28 Joel Brobecker <brobecker@adacore.com>
12438
12439 * config/monitor.exp (gdb_target_monitor): Replace use of
12440 "set remotebaud" by "set serial baud".
12441
b2715b27
AW
124422014-05-26 Andy Wingo <wingo@igalia.com>
12443
12444 * gdb.guile/scm-breakpoint.exp:
12445 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12446 properties instead of gdb-object-properties.
12447
498a4489
YQ
124482014-05-26 Yao Qi <yao@codesourcery.com>
12449
12450 * gdb.server/no-thread-db.exp: Specify source file name
12451 explicitly when setting a breakpoint.
12452
589fdceb
MM
124532014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12454
12455 * gdb.btrace/vdso.c: New.
12456 * gdb.btrace/vdso.exp: New.
12457
e9089e05
MM
124582014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12459
12460 * gdb.base/gcore.exp (capture_command_output): Move ...
12461 * lib/gdb.exp (capture_command_output): ... here.
12462
67b5c0c1
MM
124632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12464
12465 * gdb.btrace/data.exp: Test memory access during btrace replay.
12466
a2199296
SM
124672014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12468
12469 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12470
17b2616c
PA
124712014-05-21 Pedro Alves <palves@redhat.com>
12472
12473 PR gdb/13860
12474 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12475 (top level): Test that output related to execution commands is
12476 sent to the console with CLI commands, but not with MI commands.
12477 Test that breakpoint events are always mirrored to the console.
12478 Also expect the new source line to be output after a "next" in
12479 async mode too. Make it a pass/fail test.
12480 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12481 output.
12482 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12483
5166082f
PA
124842014-05-21 Pedro Alves <palves@redhat.com>
12485
12486 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12487 Use them to test variations of "list" after reaching a breakpoint.
12488 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12489 Test "list" with listsize 10 after reaching a breakpoint.
12490 * gdb.python/python.exp (decode_line current location line
12491 number): Adjust expected line number.
12492
2f25d70f
SM
124932014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12494
12495 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12496 behavior for $args, pass it directly to "run".
12497
ff604a67
MR
124982014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12499
12500 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12501 30000 to 65536.
12502
6a3cb8e8
PA
125032014-05-21 Pedro Alves <palves@redhat.com>
12504
12505 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12506 auto-connect-native-target off".
12507 * gdb.base/auto-connect-native-target.c: New file.
12508 * gdb.base/auto-connect-native-target.exp: New file.
12509
4ebfc96e
PA
125102014-05-21 Pedro Alves <palves@redhat.com>
12511
12512 * gdb.base/default.exp: Test "target native" instead of "target
12513 child".
12514
36d46afb
MW
125152014-05-21 Mark Wielaard <mjw@redhat.com>
12516
12517 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12518
5876f503
JK
125192014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12520
12521 Fix TLS access for -static -pthread.
12522 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12523 <HAVE_TLS> (thread_function, main): Initialize it.
12524 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12525 Add clean_restart.
12526 <$have_tls != "">: Check TLSVAR.
12527
0256a6ac
PA
125282014-05-21 Pedro Alves <palves@redhat.com>
12529
12530 * gdb.base/dcache-line-read-error.c: New.
12531 * gdb.base/dcache-line-read-error.exp: New.
12532
936d2992
PA
125332014-05-20 Pedro Alves <palves@redhat.com>
12534
12535 * gdb.base/compare-sections.c: New file.
12536 * gdb.base/compare-sections.exp: New file.
12537
802e8e6d
PA
125382014-05-20 Pedro Alves <palves@redhat.com>
12539
12540 * gdb.base/break-idempotent.c: New file.
12541 * gdb.base/break-idempotent.exp: New file.
12542
e59fa00f
MM
125432014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12544
12545 * gdb.btrace/nohist.exp: New.
12546
8b696e31
YQ
125472014-05-20 Yao Qi <yao@codesourcery.com>
12548
12549 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12550 gdb.reverse directory and gdb_reverse_timeout exists in board
12551 setting.
12552 * README: Document gdb_reverse_timeout.
12553
73c9764f
YQ
125542014-05-20 Yao Qi <yao@codesourcery.com>
12555
12556 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12557 'test_file_name'. Treat args as a string instead of a list.
12558 (gdb_init): Rename argument 'args' by 'test_file_name'.
12559
f1f4348a
JK
125602014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12561
12562 * gdb.arch/powerpc-power.exp: New file.
12563 * gdb.arch/powerpc-power.s: New file.
12564
0dbe70ce
DE
125652014-05-16 Doug Evans <dje@google.com>
12566
12567 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
12568 * gdb.base/completion.exp: Check that all expected files exist
12569 before doing file completion.
0dbe70ce 12570
8d551b02
DE
125712014-05-16 Doug Evans <dje@google.com>
12572
12573 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12574 Update.
12575 (do_syscall_tests_without_xml): Update.
12576
73eb7709
PA
125772014-05-16 Pedro Alves <palves@redhat.com>
12578
12579 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12580 instead of "unknown output after running".
12581
3fae92fc
YQ
125822014-05-16 Yao Qi <yao@codesourcery.com>
12583
12584 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12585 file1.txt from host at the end.
12586 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12587
c2b2ccc5
DE
125882014-05-15 Doug Evans <dje@google.com>
12589
12590 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12591 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12592 loading file. Add test for TU lookup.
12593
8c217a4b
SM
125942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12595
12596 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12597 calling "-exec-arguments" or "set args" before running the
12598 inferior.
12599
3deb39c6
SM
126002014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12601
12602 * lib/mi-support.exp (mi_expect_stop): Expect message for
12603 inferiors that exit with non-zero exit code.
12604
71a79f8c
YQ
126052014-05-14 Yao Qi <yao@codesourcery.com>
12606
12607 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12608 match absolute path on remote host.
12609 (test_file_list_exec_source_files): Remove "/" from the
12610 pattern.
12611
f23fcd46
YQ
126122014-05-14 Yao Qi <yao@codesourcery.com>
12613
12614 * boards/local-remote-host-notty.exp (${board}_file): New
12615 proc.
12616
9404b58f
KM
126172014-05-07 Kyle McMartin <kyle@redhat.com>
12618
12619 Pushed by Joel Brobecker <brobecker@adacore.com>.
12620 * gdb.arch/aarch64-atomic-inst.c: New file.
12621 * gdb.arch/aarch64-atomic-inst.exp: New file.
12622
5e45f04c
YQ
126232014-05-07 Yao Qi <yao@codesourcery.com>
12624
12625 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12626 in current context" too.
12627
c888a17d
KS
126282014-05-05 Keith Seitz <keiths@redhat.com>
12629
12630 * gdb.linespec/ls-dollar.exp: Add test for linespec
12631 file:convenience_variable.
12632
290a839c
YQ
126332014-05-05 Yao Qi <yao@codesourcery.com>
12634
12635 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12636 traceframes into tfile and ctf trace files. Read data from
12637 trace file and test collected data.
12638 (gdb_collect_locals_test): Likewise.
12639 (gdb_unavailable_registers_test): Likewise.
12640 (gdb_unavailable_floats): Likewise.
12641 (gdb_collect_globals_test): Likewise.
12642 (top-level): Append "ctf" to trace_file_targets if GDB
12643 supports.
12644
b5262cd0
YQ
126452014-05-05 Yao Qi <yao@codesourcery.com>
12646
12647 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12648 code to ...
12649 (gdb_collect_args_test_1): ... it. New proc.
12650 (gdb_collect_locals_test): Move some code to ...
12651 (gdb_collect_locals_test_1): ... it. New proc.
12652 (gdb_unavailable_registers_test): Move some code to ...
12653 (gdb_unavailable_registers_test_1): ... it. New proc.
12654 (gdb_unavailable_floats): Move some code to ...
12655 (gdb_unavailable_floats_1): ... it. New proc.
12656
30a1e6cc
SDJ
126572014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12658
12659 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12660 probes to test for bitness recognition.
12661 * gdb.arch/amd64-stap-optional-prefix.exp
12662 (test_probe_value_without_reg): New procedure.
12663 Add code to test for different kinds of bitness.
12664
f33da99a
SDJ
126652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12666
12667 PR breakpoints/16889
12668 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12669 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12670
5b80f00d
PA
126712014-05-01 Pedro Alves <palves@redhat.com>
12672
12673 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12674 gdb_file_cmd if no file is specified.
12675 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12676 last_loaded_file to set the remote exec-file.
12677
f8c2a73c
PA
126782014-05-01 Pedro Alves <palves@redhat.com>
12679
12680 * boards/local-remote-host.exp: New file.
12681
be6e8ac7
PA
126822014-05-01 Pedro Alves <palves@redhat.com>
12683
12684 * boards/local-remote-host.exp: Rename to ...
12685 * boards/local-remote-host-notty.exp: ... this.
12686
cac0dc8f
JB
126872014-04-28 Joel Brobecker <brobecker@adacore.com>
12688
12689 * gdb.ada/dyn_arrayidx: New testcase.
12690
9730e6cc
YQ
126912014-04-26 Yao Qi <yao@codesourcery.com>
12692
12693 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12694 and compute the length of function main. Save it in
12695 $main_length.
12696 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12697 (top-level): Use gdb_compile to compile objects into
12698 executable and restart GDB. Remove invocation to
12699 prepare_for_testing.
12700
7ae1a6a6
PA
127012014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12702 Pedro Alves <palves@redhat.com>
12703
12704 PR server/16255
12705 * gdb.multi/multi-attach.c: New file.
12706 * gdb.multi/multi-attach.exp: New file.
12707
4082afcc
PA
127082014-04-25 Pedro Alves <palves@redhat.com>
12709
12710 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12711 user.
12712 (top level): Test that "set remote conditional-breakpoints-packet
12713 off" works as intended.
12714 * gdb.base/dprintf.exp: Test that "set remote
12715 breakpoint-commands-packet off" works as intended.
12716 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12717 New function.
12718 (top level): Call it.
12719 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12720 remote fast-tracepoints-packet off" works as intended.
12721 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12722 * lib/gdb.exp (gdb_is_target_remote): ... here.
12723
2abc3f8d
DB
127242014-04-24 David Blaikie <dblaikie@gmail.com>
12725
12726 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12727 ensure clang would not discard them.
12728 * gdb.base/gdbvars.c: Ditto.
12729 * gdb.base/memattr.c: Ditto.
12730 * gdb.base/whatis.c: Ditto.
12731 * gdb.python/py-prettyprint.c: Ditto.
12732 * gdb.trace/actions.c: Ditto.
12733 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12734 ensure clang would not discard it.
12735
bfd39632
DB
127362014-04-24 David Blaikie <dblaikie@gmail.com>
12737
12738 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12739 clang to emit the full definition of type required by the test
12740 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12741
22842ff6
DB
127422014-04-24 David Blaikie <dblaikie@gmail.com>
12743
12744 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12745 coax Clang into emitting the definition of the type.
12746 * gdb.cp/pr10728-x.h (y): Ditto.
12747 * gdb.cp/pr10728-y.cc (y): Ditto.
12748
c2e827ad
DB
127492014-04-24 David Blaikie <dblaikie@gmail.com>
12750
12751 * gdb.base/label.exp: XFAIL label related tests under Clang.
12752 * gdb.cp/cplabel.exp: Ditto.
12753 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12754 under Clang those using labels.
12755
4c2d33e7
YQ
127562014-04-25 Yao Qi <yao@codesourcery.com>
12757
12758 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12759 double_label.
12760 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12761 partial_label and double_label.
12762
56083b99
DB
127632014-04-24 David Blaikie <dblaikie@gmail.com>
12764
12765 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12766
25d4e99d
DB
127672014-04-24 David Blaikie <dblaikie@gmail.com>
12768
12769 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12770 of the function to work across GCC and Clang.
12771 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12772 pointer types (const void ** const V void **).
12773
01f9f808
MS
127742014-04-24 Michael Sturm <michael.sturm@mintel.com>
12775 Walfred Tedeschi <walfred.tedeschi@intel.com>
12776
12777 * Makefile.in (EXECUTABLES): Added i386-avx512.
12778 * gdb.arch/i386-avx512.c: New file.
12779 * gdb.arch/i386-avx512.exp: Likewise.
12780
4b48d439
KS
127812014-04-23 Keith Seitz <keiths@redhat.com>
12782
12783 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12784 (mi_make_breakpoint_table): New procedure.
12785 (mi_create_breakpoint): Use mi_make_breakpoint
12786 and return the result.
12787 (mi_make_breakpoint): New procedure.
12788 (mi_build_kv_pairs): New procedure.
12789
12790 * gdb.mi/mi-break.exp: Remove unused globals,
12791 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12792 All callers updated.
12793 * gdb.mi/mi-dprintf.exp: Use variable to track command
12794 number.
12795 Update all callers of mi_create_breakpoint and use
12796 mi_make_breakpoint_table.
12797 Remove any unused global variables.
12798 * gdb.mi/mi-nonstop.exp: Likewise.
12799 * gdb.mi/mi-nsintrall.exp: Likewise.
12800 * gdb.mi/mi-nsmoribund.exp: Likewise.
12801 * gdb.mi/mi-nsthrexec.exp: Likewise.
12802 * gdb.mi/mi-reverse.exp: Likewise.
12803 * gdb.mi/mi-simplerun.exp: Likewise.
12804 * gdb.mi/mi-stepn.exp: Likewise.
12805 * gdb.mi/mi-syn-frame.exp: Likewise.
12806 * gdb.mi/mi-until.exp: Likewise.
12807 * gdb.mi/mi-var-cp.exp: Likewise.
12808 * gdb.mi/mi-var-display.exp: Likewise.
12809 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12810 * gdb.mi/mi2-var-child.exp: Likewise.
12811 * gdb.mi/mi-vla-c99.exp: Likewise.
12812 * lib/mi-support.exp: Likewise.
12813
12814 From Ian Lance Taylor <iant@cygnus.com>:
12815 * lib/gdb.exp (parse_args): New procedure.
12816
08351840
PA
128172014-04-23 Pedro Alves <palves@redhat.com>
12818
12819 * gdb.base/break-unload-file.c: New file.
12820 * gdb.base/break-unload-file.exp: New file.
12821 * gdb.base/sym-file-lib.c (baz): New function.
12822 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12823 field.
12824 (load): Store the segment's mapped size.
12825 (unload): New function.
12826 (unload_shlib): New function.
12827 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12828 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12829 set a breakpoint at baz, and call it.
12830 * gdb.base/sym-file.exp: New tests for stale breakpoint
12831 instructions.
12832
076855f9
PA
128332014-04-23 Pedro Alves <palves@redhat.com>
12834
12835 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12836 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12837 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12838 * gdb.base/hbreak-unmapped.c: New file.
12839 * gdb.base/hbreak-unmapped.exp: New file.
12840 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12841 * lib/gdb.exp (gdb_is_target_remote): ... here.
12842
483805cf
PA
128432014-04-22 Pedro Alves <palves@redhat.com>
12844
12845 * gdb.base/consecutive-step-over.c: New file.
12846 * gdb.base/consecutive-step-over.exp: New file.
12847
06d97543
PA
128482014-04-22 Pedro Alves <palves@redhat.com>
12849
12850 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12851 instead of send_gdb/gdb_expect.
12852
b4429ea2
YQ
128532014-04-22 Yao Qi <yao@codesourcery.com>
12854
12855 * lib/trace-support.exp (generate_tracefile): New procedure.
12856 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12857 return 0.
12858 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12859 if generate_tracefile returns 1.
12860
51d48146
PA
128612014-04-18 Tom Tromey <palves@redhat.com>
12862 Pedro alves <tromey@redhat.com>
12863
12864 PR backtrace/15558
12865 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12866 with a backtrace limit.
12867 * gdb.python/py-frame-inline.exp: Test running to an inline
12868 function with a backtrace limit, and printing the newest frame.
12869 * gdb.python/py-frame-inline.c (main): Call f.
12870
bd1dce5f
MS
128712014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12872
12873 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12874
40d1a503
MS
128752014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12876
12877 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12878 Drop prefix from unsupported source file path.
12879
389b98f7
YQ
128802014-04-17 Yao Qi <yao@codesourcery.com>
12881
12882 * lib/gdb.exp (with_target_charset): New proc.
12883 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12884 with_target_charset.
12885 (test_print_strings): Likewise.
12886 (test_repeat_bytes): Likewise.
12887 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12888 for some tests.
12889
22869d73
KS
128902014-04-16 Keith Seitz <keiths@redhat.com>
12891
12892 PR gdb/15827
12893 * gdb.dwarf2/corrupt.c: New file.
12894 * gdb.dwarf2/corrupt.exp: New file.
12895
c4f87ca6
KS
128962014-04-16 Keith Seitz <keiths@redhat.com>
12897
12898 PR c++/16597
12899 * gdb.cp/namelessclass.cc: New file.
12900 * gdb.cp/namelessclass.exp: New file.
12901 * gdb.cp/namelessclass.S: New file.
12902
ab19de87
DE
129032014-04-16 Doug Evans <dje@google.com>
12904
12905 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12906 Add comment.
12907 (gdbserver_default_get_comm_port): New function.
12908 (gdbserver_start): Check if board file provided
12909 "gdbserver,get_comm_port" and use it if so.
12910 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12911 (gdb,socketport): Set to "stdio".
12912 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12913 (stdio_gdbserver_template): Delete.
12914 (${board}_get_remote_address): Update.
12915 (${board}_build_remote_cmd): Delete.
12916 (${board}_get_comm_port): New function.
12917 (${board}_spawn): Update.
12918 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12919 Delete.
12920 (${board}_get_remote_address): Update.
12921 (${board}_get_comm_port): New function.
12922
fc98a809
AB
129232014-04-16 Andrew Burgess <aburgess@broadcom.com>
12924
12925 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12926 appearing in any order.
12927
87fd9e6e
DE
129282014-04-15 Doug Evans <dje@google.com>
12929
12930 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12931 uninitialized value of "description".
12932
099fc3ea
KS
129332014-04-15 Keith Seitz <keiths@redhat.com>
12934
12935 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12936 Remove unused globals.
12937 (test_running_the_program): Likewise.
12938 (test_controlled_execution): Likewise.
12939 (test_controlling_breakpoints): Likewise.
12940 (test_program_termination): Likewise.
12941
5da151d4
KS
129422014-04-15 Keith Seitz <keiths@redhat.com>
12943
12944 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12945 unused globals.
12946 (test_rbreak_creation_and_listing): Likewise.
12947 (test_ignore_count): Likewise.
12948 (test_error): Likewise.
12949
35e5d2f0
PA
129502014-04-15 Pedro Alves <palves@redhat.com>
12951
12952 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12953 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12954 sym-file-loader.c.
12955 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12956 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12957 to sym-file-loader.c.
12958 (struct library): Forward declare.
12959 (load_shlib, lookup_function): Change prototypes.
12960 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12961 (translate_offset): Remove declarations.
12962 (get_text_addr): New declaration.
12963 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12964 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12965 sym-file-loader.h.
12966 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12967 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12968 here from sym-file-loader.h.
12969 (struct library): New structure.
12970 (load_shlib, lookup_function): Change prototypes and adjust to
12971 work with a struct library.
12972 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12973 (translate_offset): Make static.
12974 (get_text_addr): New function.
12975 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12976
eb4c1710
PA
129772014-04-15 Pedro Alves <palves@redhat.com>
12978
12979 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12980
2d1baf52
PA
129812014-04-15 Pedro Alves <palves@redhat.com>
12982
12983 * gdb.base/sym-file-loader.c: Include <limits.h>.
12984 (SELF_LINK): New define.
12985 (get_origin): New function.
12986 (load_shlib): Use it.
12987 * gdb.base/sym-file.exp: Don't early return if the target is
12988 remote. Use runto_main, and issue fail is that fails. Use
12989 gdb_load_shlibs.
12990 (shlib_name): Delete.
12991 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12992
7dd6df01
PA
129932014-04-15 Pedro Alves <palves@redhat.com>
12994
12995 * gdb.base/sym-file.exp: Remove regex characters from test
12996 message. Don't refer to breakpoint numbers in test messages.
12997
b50c8614
KS
129982014-04-14 Keith Seitz <keiths@redhat.com>
12999
13000 PR c++/16253
13001 * gdb.cp/var-tag.cc: New file.
13002 * gdb.cp/var-tag.exp: New file.
13003 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13004 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13005 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13006 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13007
3d567982
TT
130082014-04-14 Tom Tromey <tromey@redhat.com>
13009
13010 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13011 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13012 type.
13013 * gdb.cp/enum-class.exp: New file.
13014 * gdb.cp/enum-class.cc: New file.
13015
0626fc76
TT
130162014-04-14 Tom Tromey <tromey@redhat.com>
13017
13018 * gdb.dwarf2/enum-type.exp: New file.
13019
dca325b3
SA
130202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13021
13022 * gdb.mi/mi-vla-c99.exp: New file.
13023 * gdb.mi/vla.c: New file.
13024
5854b38a
SA
130252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13026
13027 * gdb.base/vla-datatypes.c: New file.
13028 * gdb.base/vla-datatypes.exp: New file.
13029
463bb957
SA
130302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13031
13032 * gdb.base/vla-ptr.c: New file.
13033 * gdb.base/vla-ptr.exp: New file.
13034
3dd170be
SA
130352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13036
13037 * gdb.dwarf2/count.exp: New file.
13038
5ecaaa66
SA
130392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13040
13041 * gdb.base/vla-sideeffect.c: New file.
13042 * gdb.base/vla-sideeffect.exp: New file.
13043
41f1ada5
DB
130442014-04-14 David Blaikie <dblaikie@gmail.com>
13045
13046 * gdb.mi/non-stop.c: Add return value for non-void function return
13047 statement.
13048 * gdb.threads/staticthreads.c: Ditto.
13049
0be03e84
DE
130502014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13051 Doug Evans <xdje42@gmail.com>
13052
13053 * gdb.guile/scm-value.c: Improve test case.
13054 * gdb.guile/scm-value.exp: Add new test.
13055
f180a1fb
DB
130562014-04-11 David Blaikie <dblaikie@gmail.com>
13057
13058 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13059 override Clang's default.
13060
6b662e19
JB
130612014-04-11 Joel Brobecker <brobecker@adacore.com>
13062
13063 Revert the following changes (regressions):
13064
13065 * gdb.base/vla-sideeffect.c: New file.
13066 * gdb.base/vla-sideeffect.exp: New file.
13067
13068 * gdb.dwarf2/count.exp: New file.
13069
13070 * gdb.base/vla-multi.c: New file.
13071 * gdb.base/vla-multi.exp: New file.
13072
13073 * gdb.base/vla-ptr.c: New file.
13074 * gdb.base/vla-ptr.exp: New file.
13075
13076 * gdb.base/vla-datatypes.c: New file.
13077 * gdb.base/vla-datatypes.exp: New file.
13078
13079 * gdb.mi/mi-vla-c99.exp: New file.
13080 * gdb.mi/vla.c: New file.
13081
245a5f0b
KS
130822014-04-11 Keith Seitz <keiths@redhat.com>
13083
13084 PR c++/16675
13085 * gdb.cp/cpsizeof.exp: New file.
13086 * gdb.cp/cpsizeof.cc: New file.
13087
58a84dcf
SA
130882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13089
191a8a90
JB
13090 * gdb.mi/mi-vla-c99.exp: New file.
13091 * gdb.mi/vla.c: New file.
58a84dcf 13092
c8655f75
SA
130932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13094
13095 * gdb.base/vla-datatypes.c: New file.
13096 * gdb.base/vla-datatypes.exp: New file.
13097
024e13b4
SA
130982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13099
13100 * gdb.base/vla-ptr.c: New file.
13101 * gdb.base/vla-ptr.exp: New file.
13102
1a237e0e
SA
131032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13104
13105 * gdb.base/vla-multi.c: New file.
13106 * gdb.base/vla-multi.exp: New file.
13107
504f3432
SA
131082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13109
13110 * gdb.dwarf2/count.exp: New file.
13111
3bce8237
SA
131122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13113
191a8a90
JB
13114 * gdb.base/vla-sideeffect.c: New file.
13115 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 13116
322f9c21
YQ
131172014-04-11 Yao Qi <yao@codesourcery.com>
13118
13119 * gdb.base/completion.exp: Check file exists before running tests
13120 on file completion.
13121
d708bcd1
PA
131222014-04-10 Pedro Alves <palves@redhat.com>
13123
13124 * gdb.base/cond-eval-mode.c: New file.
13125 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13126 prepare_for_testing to build the new file. Check result of
13127 runto_main.
13128 (test_break, test_watch): New procedures.
13129 (top level): Use them.
13130
ae1d2761
PM
131312014-04-08 Pierre Muller <muller@sourceware.org>
13132
13133 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13134 Ctrl-V use for mingw hosts.
13135
7af389b8
SC
131362014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13137
13138 * gdb.python/py-value.c: Improve test case.
13139 * gdb.python/py-value.exp: Add new test.
13140
5e703181
DE
131412014-04-07 David Blaikie <dblaikie@gmail.com>
13142
13143 * lib/compiler.c: Identify the clang compiler.
13144 * lib/compiler.cc: Ditto.
13145
9810b410
YQ
131462014-04-03 Yao Qi <yao@codesourcery.com>
13147
13148 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13149
98d1b8dc
AB
131502014-04-01 Anton Blanchard <anton@samba.org>
13151
13152 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13153 messages unique.
13154
3114cea1
AB
131552014-04-01 Anton Blanchard <anton@samba.org>
13156
13157 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13158 prepare_for_testing.
13159
62f7182c
AB
131602014-04-01 Anton Blanchard <anton@samba.org>
13161
13162 * gdb.arch/ppc64-atomic-inst.c: Remove.
13163 * gdb.arch/ppc64-atomic-inst.S: New file.
13164 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13165
770e7fc7
DE
131662014-03-31 Doug Evans <dje@google.com>
13167
13168 * gdb.base/print-symbol-loading-lib.c: New file.
13169 * gdb.base/print-symbol-loading-main.c: New file.
13170 * gdb.base/print-symbol-loading.exp: New file.
13171
46e2bafa
YQ
131722014-03-31 Yao Qi <yao@codesourcery.com>
13173
13174 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13175
8776cfe9
JB
131762014-03-28 Joel Brobecker <brobecker@adacore.com>
13177
13178 * gdb.ada/mi_dyn_arr: New testcase.
13179
5d1ef361
DE
131802014-03-27 Doug Evans <dje@google.com>
13181
13182 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13183
b5bee914
YQ
131842014-03-27 Yao Qi <yao@codesourcery.com>
13185
13186 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13187 if target is nios2-*-*.
13188
0d4d0e77
YQ
131892014-03-26 Yao Qi <yao@codesourcery.com>
13190
13191 * lib/gdb.exp (readline_is_used): New proc.
13192 * gdb.base/completion.exp: Move tests on command complete up.
13193 Skip the rest of tests if readline is not used.
13194 * gdb.ada/complete.exp: Skp the test if readline is not
13195 used.
13196 * gdb.base/filesym.exp: Likewise.
13197 * gdb.base/macscp.exp: Likewise.
13198 * gdb.base/readline-ask.exp: Likewise.
13199 * gdb.base/readline.exp: Likewise.
13200 * gdb.python/py-cmd.exp: Likewise.
13201 * gdb.trace/tfile.exp: Likewise.
13202
29361eee
YQ
132032014-03-26 Yao Qi <yao@codesourcery.com>
13204
13205 * gdb.base/macscp.exp: Fix code format issues.
13206
bc9a5525
UW
132072014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13208
13209 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13210 * gdb.asm/powerpc64le.inc: New file.
13211
d3839ede
PA
132122014-03-25 Pedro Alves <palves@redhat.com>
13213 Doug Evans <dje@google.com>
13214
13215 * gdb.base/source-execution.c: New file.
13216 * gdb.base/source-execution.exp: New file.
13217 * gdb.base/source-execution.gdb: New file.
13218
01672a57
DE
132192014-03-24 Doug Evans <dje@google.com>
13220
13221 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13222 using fission.
13223
88bbeca9
HZ
132242014-03-24 Hui Zhu <hui@codesourcery.com>
13225 Pedro Alves <palves@redhat.com>
13226
13227 PR breakpoints/16101
13228 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13229 test pass/fail messages. Detect missing support for dprintf when
13230 breakpoints are actually inserted.
13231 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13232 breakpoints are actually inserted.
13233 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13234 fails.
13235
d2348791
JK
132362014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13237
13238 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13239
feef67ab
DE
132402014-03-22 Doug Evans <xdje42@gmail.com>
13241
13242 * gdb.python/python.exp (python not supported): Verify multi-line
13243 python command issues an error.
25d743f9 13244 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 13245 guile command issues an error.
feef67ab 13246
ecebef6a
MR
132472014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13248
13249 * gdb.threads/thread-specific.exp: Handle the lack of usable
13250 $this_breakpoint and $this_thread.
13251
ccdd1909
HZ
132522014-03-21 Hui Zhu <hui@codesourcery.com>
13253
13254 * gdb.base/attach.exp (do_command_attach_tests): New.
13255
beb460e8
PA
132562014-03-20 Tom Tromey <tromey@redhat.com>
13257 Pedro Alves <palves@redhat.com>
13258
13259 PR cli/15718
13260 * gdb.base/condbreak-call-false.c: New file.
13261 * gdb.base/condbreak-call-false.exp: New file.
13262
40acf43a
PA
132632014-03-20 Pedro Alves <palves@redhat.com>
13264
13265 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13266 Delete.
13267 (block_signals, unblock_signals): Delete.
13268 (child_function_2, main): Remove references to deleted variable
13269 and functions.
13270
9f5e1e02
PA
132712014-03-20 Pedro Alves <palves@redhat.com>
13272
13273 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13274 Use pthread_kill to signal thread 2.
13275 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13276 Adjust to make the test send itself a signal rather than using the
13277 host's "kill" command.
13278
99619bea
PA
132792014-03-20 Pedro Alves <palves@redhat.com>
13280
13281 * gdb.threads/multiple-step-overs.c: New file.
13282 * gdb.threads/multiple-step-overs.exp: New file.
13283 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13284 Adjust expected infrun debug output.
13285
2adfaa28
PA
132862014-03-20 Pedro Alves <palves@redhat.com>
13287
13288 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13289 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13290
31e77af2
PA
132912014-03-20 Pedro Alves <palves@redhat.com>
13292
13293 PR breakpoints/7143
13294 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13295 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13296 of gdb_test_multiple.
13297 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13298 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13299
b9f437de
PA
133002014-03-20 Pedro Alves <palves@redhat.com>
13301
13302 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13303 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13304
05adc73e
PA
133052014-03-19 Pedro Alves <palves@redhat.com>
13306
13307 * gdb.base/async.exp: Remove early return.
13308
6048b950
PA
133092014-03-19 Pedro Alves <palves@redhat.com>
13310
13311 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13312
8bcfb00a
PA
133132014-03-19 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.base/async.exp (test_background): Expect \r\n after
13316 "completed." in the fail pattern.
13317
884e37dc
PA
133182014-03-19 Pedro Alves <palves@redhat.com>
13319
13320 * gdb.base/async.exp (test_background): New procedure.
13321 Use it for all background execution command tests.
13322
148e57e2
PA
133232014-03-19 Pedro Alves <palves@redhat.com>
13324
13325 * gdb.base/async.exp: Use prepare_for_testing.
13326
f48088c7
PA
133272014-03-19 Pedro Alves <palves@redhat.com>
13328
13329 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13330 the same line.
13331
e2f6c966
PA
133322014-03-19 Pedro Alves <palves@redhat.com>
13333
13334 * gdb.base/async.c (main): Add "jump here" and "until here" line
13335 marker comments.
13336 * gdb.base/async.exp (jump_here): New global.
13337 (jump& test): Use it.
13338 (until_here): New global.
13339 (until& test): Use it.
13340
c30568d4
PA
133412014-03-19 Pedro Alves <palves@redhat.com>
13342
13343 * gdb.base/async.exp: Don't frob gdb_protocol.
13344
0172b6a7
DE
133452014-03-18 Doug Evans <xdje42@gmail.com>
13346
13347 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13348 Fix spelling of exec-done-display.
13349
06c868a8
JK
133502014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13351
13352 PR gdb/15358
13353 * gdb.base/gdb-sigterm.c: New file.
13354 * gdb.base/gdb-sigterm.exp: New file.
13355
0c7e1a46
PA
133562014-03-18 Pedro Alves <palves@redhat.com>
13357
13358 PR gdb/13860
13359 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13360 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13361 solib-event.
13362
f7c77d93
JB
133632014-03-17 Joel Brobecker <brobecker@adacore.com>
13364
13365 * gdb.ada/pckd_arr_ren: New testcase.
13366
5a1e8c7a
DE
133672014-03-13 Doug Evans <xdje42@gmail.com>
13368
13369 PR guile/16612
13370 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13371 collect after discarding symbols.
13372
350e1a76
DE
133732014-03-13 Ludovic Courtès <ludo@gnu.org>
13374 Doug Evans <xdje42@gmail.com>
13375
13376 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13377 to history survives a gc.
13378
a69900ae
PA
133792014-03-13 Pedro Alves <palves@redhat.com>
13380
13381 * gdb.base/default.exp: Don't test "target procfs".
13382
5db9f0bd
PA
133832014-03-13 Pedro Alves <palves@redhat.com>
13384
13385 * gdb.base/default.exp: Update "target child" and "target procfs"
13386 tests to not expect "Unix".
13387
b3ccfe11
TT
133882014-03-12 Tom Tromey <tromey@redhat.com>
13389
13390 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13391 New procs. Add target-async tests.
13392 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13393 Add target-async tests.
13394
646f4417
AA
133952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13396
13397 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13398 'func_start' and 'func_end' for the beginning and end of the
13399 function code, respectively.
13400 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13401 'func_end' instead of 'func' and 'main'.
13402
288c211f
AA
134032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13404
13405 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13406 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13407 generate the debug info assembler source.
13408
e0c0f156
AA
134092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13410
13411 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13412 * gdb.dwarf2/arr-subrange.exp: Likewise.
13413 * gdb.dwarf2/dwz.exp: Likewise.
13414 * gdb.dwarf2/method-ptr.exp: Likewise.
13415 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13416 * gdb.dwarf2/subrange.exp: Likewise.
13417 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13418 * gdb.dwarf2/implptrpiece.exp: Likewise.
13419 * gdb.dwarf2/nostaticblock.exp: Likewise.
13420
0e5c4555
AA
134212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13422
13423 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13424 directory to absolute path name arguments.
13425
5ec18f2b
JG
134262014-03-10 Joel Brobecker <brobecker@adacore.com>
13427
13428 * gdb.ada/tagged_access: New testcase.
13429
847fc4f2
MM
134302014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13431
13432 * gdb.btrace/data.exp: Update expected output.
13433
cc3da688
YQ
134342014-03-06 Yao Qi <yao@codesourcery.com>
13435
13436 * gdb.trace/pr16508.exp: New file.
13437
0f26cec1
PA
134382014-03-05 Pedro Alves <palves@redhat.com>
13439
13440 PR gdb/16575
13441 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13442 procedure.
13443 (top level): Adjust to use it. Add tests that exercise breakpoint
13444 interaction with the code-cache.
13445
7a5a839f
LC
134462014-02-26 Ludovic Courtès <ludo@gnu.org>
13447
13448 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13449 test for 'history-append!'.
13450
31aa7e4e
JB
134512014-02-26 Joel Brobecker <brobecker@adacore.com>
13452
13453 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13454 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13455 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13456 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13457 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13458 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13459
1b588015
JB
134602014-02-26 Joel Brobecker <brobecker@adacore.com>
13461
13462 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13463 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13464 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13465
55426c9d
JB
134662014-02-26 Joel Brobecker <brobecker@adacore.com>
13467
13468 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13469
dc53a7ad
JB
134702014-02-26 Joel Brobecker <brobecker@adacore.com>
13471
13472 * gdb.dwarf2/arr-stride.c: New file.
13473 * gdb.dwarf2/arr-stride.exp: New file.
13474
12ab52e9
PA
134752014-02-26 Pedro Alves <palves@redhat.com>
13476
13477 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13478 that won't ever trigger. Make sure that GDB reports the correct
13479 breakpoint that caused the stop.
13480
849c862e
JK
134812014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13482
13483 PR gdb/16626
13484 * gdb.base/auto-load-script: New file.
13485 * gdb.base/auto-load.c: New file.
13486 * gdb.base/auto-load.exp: New file.
13487
71b7d793
JK
13488 PR gdb/16626
13489 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13490
e2f0d509
JK
134912014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13492
13493 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13494 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13495
50cc37c8
DE
134962014-02-24 Doug Evans <dje@google.com>
13497
13498 * lib/gdb.exp (run_on_host): Log error output if program fails.
13499
ea4758f2
PA
135002014-02-21 Pedro Alves <palves@redhat.com>
13501
13502 * gdb.threads/step-after-sr-lock.c: Rename to ...
13503 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13504 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13505 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13506 ... this.
13507
d7b30f67
SDJ
135082014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13509
13510 PR tdep/16397
13511 * gdb.arch/amd64-stap-special-operands.exp: New file.
13512 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13513 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13514 * gdb.arch/amd64-stap-triplet.S: Likewise.
13515 * gdb.arch/amd64-stap-triplet.c: Likewise.
13516
83deb43f
JB
135172014-02-20 Joel Brobecker <brobecker@adacore.com>
13518
13519 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13520 in .section pseudo-op.
13521
adde2bff
DE
135222014-02-20 lin zuojian <manjian2006@gmail.com>
13523 Joel Brobecker <brobecker@adacore.com>
13524 Doug Evans <xdje42@gmail.com>
13525
13526 PR symtab/16581
13527 * gdb.dwarf2/dw2-icycle.S: New file.
13528 * gdb.dwarf2/dw2-icycle.c: New file.
13529 * gdb.dwarf2/dw2-icycle.exp: New file.
13530
f7bd0f78
SC
135312014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13532
13533 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13534 operations on gdb.Value objects.
13535 * gdb.python/py-value-cc.exp: Add new test to test operations on
13536 gdb.Value objects.
13537
c17ef0d5
DE
135382014-02-18 Doug Evans <dje@google.com>
13539
13540 * Makefile.in (TESTS): New variable.
13541 (expanded_tests, expanded_tests_or_none): New variables
13542 (check-single): Pass $(expanded_tests_or_none) to runtest.
13543 (check-parallel): Only run tests in $(TESTS) if non-empty.
13544 (check/no-matching-tests-found): New rule.
13545 * README: Document TESTS makefile variable.
13546
5dd3176f
DE
135472014-02-18 Doug Evans <dje@google.com>
13548
13549 * Makefile.in (check-parallel): rm -rf outputs temp.
13550
0b10be4f
JK
135512014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13552
13553 Fix "ERROR: no fileid for" in the testsuite.
13554 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13555
85f224e7
DE
135562014-02-12 Doug Evans <dje@google.com>
13557
13558 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13559 (MISCELLANEOUS): New variable.
13560 (clean): rm -rf $(MISCELLANEOUS).
13561 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13562 dwp live in the same directory as symlinks, with each symlink pointed
13563 to a differently named file in a different directory.
13564
149b30ff
DE
135652014-02-11 Doug Evans <dje@google.com>
13566
13567 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13568 of Tcl file commands.
13569
1dfdac32
MK
135702014-02-10 Mark Kettenis <kettenis@gnu.org>
13571
13572 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13573 "kill -SIGUSR1 -1".
13574
aa4fb036
JB
135752014-02-10 Joel Brobecker <brobecker@adacore.com>
13576
13577 * gdb.ada/tick_length_array_enum_idx: New testcase.
13578
ed3ef339
DE
135792014-02-10 Doug Evans <xdje42@gmail.com>
13580
13581 * configure.ac (AC_OUTPUT): Add gdb.guile.
13582 * configure: Regenerate.
13583 * lib/gdb-guile.exp: New file.
13584 * lib/gdb.exp (get_target_charset): New function.
13585 * gdb.base/help.exp: Update expected output from "apropos apropos".
13586 * gdb.guile/Makefile.in: New file.
13587 * gdb.guile/guile.exp: New file.
13588 * gdb.guile/scm-arch.c: New file.
13589 * gdb.guile/scm-arch.exp: New file.
13590 * gdb.guile/scm-block.c: New file.
13591 * gdb.guile/scm-block.exp: New file.
13592 * gdb.guile/scm-breakpoint.c: New file.
13593 * gdb.guile/scm-breakpoint.exp: New file.
13594 * gdb.guile/scm-disasm.c: New file.
13595 * gdb.guile/scm-disasm.exp: New file.
13596 * gdb.guile/scm-equal.c: New file.
13597 * gdb.guile/scm-equal.exp: New file.
13598 * gdb.guile/scm-error.exp: New file.
13599 * gdb.guile/scm-error.scm: New file.
13600 * gdb.guile/scm-frame-args.c: New file.
13601 * gdb.guile/scm-frame-args.exp: New file.
13602 * gdb.guile/scm-frame-args.scm: New file.
13603 * gdb.guile/scm-frame-inline.c: New file.
13604 * gdb.guile/scm-frame-inline.exp: New file.
13605 * gdb.guile/scm-frame.c: New file.
13606 * gdb.guile/scm-frame.exp: New file.
13607 * gdb.guile/scm-generics.exp: New file.
13608 * gdb.guile/scm-gsmob.exp: New file.
13609 * gdb.guile/scm-iterator.c: New file.
13610 * gdb.guile/scm-iterator.exp: New file.
13611 * gdb.guile/scm-math.c: New file.
13612 * gdb.guile/scm-math.exp: New file.
13613 * gdb.guile/scm-objfile-script-gdb.in: New file.
13614 * gdb.guile/scm-objfile-script.c: New file.
13615 * gdb.guile/scm-objfile-script.exp: New file.
13616 * gdb.guile/scm-objfile.c: New file.
13617 * gdb.guile/scm-objfile.exp: New file.
13618 * gdb.guile/scm-ports.exp: New file.
13619 * gdb.guile/scm-pretty-print.c: New file.
13620 * gdb.guile/scm-pretty-print.exp: New file.
13621 * gdb.guile/scm-pretty-print.scm: New file.
13622 * gdb.guile/scm-section-script.c: New file.
13623 * gdb.guile/scm-section-script.exp: New file.
13624 * gdb.guile/scm-section-script.scm: New file.
13625 * gdb.guile/scm-symbol.c: New file.
13626 * gdb.guile/scm-symbol.exp: New file.
13627 * gdb.guile/scm-symtab-2.c: New file.
13628 * gdb.guile/scm-symtab.c: New file.
13629 * gdb.guile/scm-symtab.exp: New file.
13630 * gdb.guile/scm-type.c: New file.
13631 * gdb.guile/scm-type.exp: New file.
13632 * gdb.guile/scm-value-cc.cc: New file.
13633 * gdb.guile/scm-value-cc.exp: New file.
13634 * gdb.guile/scm-value.c: New file.
13635 * gdb.guile/scm-value.exp: New file.
13636 * gdb.guile/source2.scm: New file.
13637 * gdb.guile/types-module.cc: New file.
13638 * gdb.guile/types-module.exp: New file.
13639
7026a7c1
YQ
136402014-02-10 Yao Qi <yao@codesourcery.com>
13641
13642 PR testsuite/16543
13643 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13644 * configure: Regenerated.
13645 * Makefile.in: New file.
13646
6c466447
AS
136472014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13648
13649 * gdb.python/py-framefilter.exp: Fix typo.
13650
6e854735
YQ
136512014-02-08 Yao Qi <yao@codesourcery.com>
13652
13653 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13654 that no =breakpoint-modified is emitted when breakpoints are
13655 modified through MI commands.
13656
d137e6dc
PA
136572014-02-07 Pedro Alves <pedro@codesourcery.com>
13658 Pedro Alves <palves@redhat.com>
13659
13660 * gdb.threads/step-after-sr-lock.c: New file.
13661 * gdb.threads/step-after-sr-lock.exp: New file.
13662
b5ee5a50
PA
136632014-02-07 Pedro Alves <palves@redhat.com>
13664
13665 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13666
3c77faf3
JK
136672014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13668
13669 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13670 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13671
6dddc817
DE
136722014-02-06 Doug Evans <xdje42@gmail.com>
13673
13674 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13675 output.
13676
13677 * gdb.gdb/python-interrupts.exp: New file.
13678
de7b2893
YQ
136792014-02-05 Yao Qi <yao@codesourcery.com>
13680
13681 * gdb.trace/report.exp (use_collected_data): Test the output
13682 of "info threads" and "info inferiors".
13683
66d032ac
YQ
136842014-02-05 Yao Qi <yao@codesourcery.com>
13685
13686 Revert this patch:
13687
13688 2013-05-24 Yao Qi <yao@codesourcery.com>
13689
13690 * gdb.trace/tfile.exp: Test inferior and thread.
13691
591a12a1
UW
136922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13693
13694 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13695 on a function.
13696 * gdb.base/step-bt.c: Call hello via function pointer to make
13697 sure its first instruction is executed on powerpc64le-linux.
13698
0ff3e01f
UW
136992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13700
13701 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13702
084ee545
UW
137032014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13704
13705 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13706 of the test patterns for use on little-endian systems.
13707
6ed14ff3
UW
137082014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13709
13710 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13711 (decimal_vector): Fix for little-endian.
13712
401e27fd
JM
137132014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13714
13715 * gdb.arch/sparc-sysstep.exp: New file.
13716 * gdb.arch/sparc-sysstep.c: Likewise.
13717
13718 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13719
8b924729
EBM
137202014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13721
13722 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13723
fb151210
JB
137242014-01-23 Tom Tromey <tromey@redhat.com>
13725
13726 * gdb.ada/array_char_idx: New testcase.
13727
0740f8d8
TT
137282014-01-23 Tom Tromey <tromey@redhat.com>
13729
13730 PR python/16487:
13731 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13732 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13733 classes.
13734
21909fa1
TT
137352014-01-23 Tom Tromey <tromey@redhat.com>
13736
13737 PR python/16491:
13738 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13739 string from an inferior frame.
13740 * gdb.python/py-framefilter-mi.exp: Update.
13741
87ce2a04
DE
137422014-01-22 Doug Evans <dje@google.com>
13743
13744 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13745
237b092b
AA
137462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13747
13748 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13749
d674a709
AA
137502014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13751
13752 * gdb.trace/entry-values.exp: Remove excess space character from
13753 regex patterns. Handle s390 call instruction.
13754
20fa3390
AA
137552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13756
13757 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13758 define "*_start" label. Make "name" static.
13759 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13760 ${name} by references to ${name}_start.
13761
78466714
AA
137622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13763
13764 * gdb.base/info-macros.exp: Remove "debug" from the compile
13765 options.
13766
ec9f644a
IB
137672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13768
13769 * gdb.dlang/demangle.exp: New file.
13770
94b1b47e
IB
137712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13772
13773 * gdb.dlang/primitive-types.exp: New file.
13774
7f420862
IB
137752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13776
13777 * configure.ac: Create gdb.dlang/Makefile.
13778 * configure: Regenerate.
13779 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13780 * gdb.dlang/Makefile.in: New file.
13781 * lib/d-support.exp: New file.
13782 * lib/gdb.exp (skip_d_tests): New proc.
13783
52834460
MM
137842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13785
13786 * gdb.btrace/delta.exp: Check reverse stepi.
13787 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13788 * gdb.btrace/finish.exp: New.
13789 * gdb.btrace/next.exp: New.
13790 * gdb.btrace/nexti.exp: New.
13791 * gdb.btrace/record_goto.c: Add comments.
13792 * gdb.btrace/step.exp: New.
13793 * gdb.btrace/stepi.exp: New.
13794 * gdb.btrace/multi-thread-step.c: New.
13795 * gdb.btrace/multi-thread-step.exp: New.
13796 * gdb.btrace/rn-dl-bind.c: New.
13797 * gdb.btrace/rn-dl-bind.exp: New.
13798 * gdb.btrace/data.c: New.
13799 * gdb.btrace/data.exp: New.
13800 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13801
6e07b1d2
MM
138022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13803
13804 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13805 * gdb.btrace/exception.exp: Update.
13806 * gdb.btrace/instruction_history.exp: Update.
13807 * gdb.btrace/record_goto.exp: Update.
13808 * gdb.btrace/tailcall.exp: Update.
13809 * gdb.btrace/unknown_functions.exp: Update.
13810 * gdb.btrace/delta.exp: New.
13811
0b722aec
MM
138122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13813
13814 * gdb.btrace/record_goto.exp: Add backtrace test.
13815 * gdb.btrace/tailcall.exp: Add backtrace test.
13816
066ce621
MM
138172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13818
13819 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13820 * gdb.btrace/record_goto.c: New.
13821 * gdb.btrace/record_goto.exp: New.
13822 * gdb.btrace/x86-record_goto.S: New.
13823
0688d04e
MM
138242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13825
13826 * gdb.btrace/function_call_history.exp: Update tests.
13827 * gdb.btrace/instruction_history.exp: Update tests.
13828
8710b709
MM
138292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13830
13831 * gdb.btrace/function_call_history.exp: Fix expected field
13832 order for "record function-call-history".
13833 Add new tests for "record function-call-history /c".
13834 * gdb.btrace/exception.cc: New.
13835 * gdb.btrace/exception.exp: New.
13836 * gdb.btrace/tailcall.exp: New.
13837 * gdb.btrace/x86-tailcall.S: New.
13838 * gdb.btrace/x86-tailcall.c: New.
13839 * gdb.btrace/unknown_functions.c: New.
13840 * gdb.btrace/unknown_functions.exp: New.
13841 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13842
5de9129b
MM
138432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13844
13845 * gdb.btrace/instruction_history.exp: Update.
13846 * gdb.btrace/function_call_history.exp: Update.
13847
23a7fe75
MM
138482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13849
13850 * gdb.btrace/function_call_history.exp: Fix expected function
13851 trace.
13852 * gdb.btrace/instruction_history.exp: Initialize traced.
13853 Remove traced_functions.
13854
724c7dd8
MM
138552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13856
13857 * gdb.btrace/function_call_history.exp: Update
13858 * gdb.btrace/instruction_history.exp: Update.
13859
6d78d93b
MM
138602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13861
13862 * gdb.btrace/enable.exp: Update expected text.
13863
93a360cc
OJ
138642014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13865
13866 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13867 bytes.
13868
3772b53f
MR
138692014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13870
13871 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13872
596662fa
OJ
138732014-01-15 Omair Javaid <omair.javaid@linaro.org>
13874
13875 * lib/gdb.exp (supports_process_record): Return true for
13876 arm*-linux*. (supports_reverse): Likewise.
13877
b5b08fb4
SC
138782014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13879
13880 PR python/15464
13881 PR python/16113
13882 * gdb.python/py-type.c: Enhance test case.
13883 * gdb.python/py-value-cc.cc: Likewise
13884 * gdb.python/py-type.exp: Add new tests.
13885 * gdb.python/py-value-cc.exp: Likewise
13886
52d7fb13
AA
138872014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13888 Pedro Alves <palves@redhat.com>
13889
13890 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13891 Make "name" extern.
13892 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13893 references to ${name}_start by references to ${name}.
13894
a2cd8cfe
JB
138952014-01-10 Joel Brobecker <brobecker@adacore.com>
13896
13897 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13898
4e23fced
JB
138992014-01-10 Joel Brobecker <brobecker@adacore.com>
13900
13901 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13902
c6a9e42c
PA
139032014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13904 Pedro Alves <palves@redhat.com>
13905
13906 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 13907 mi_gdb_target_load.
c6a9e42c 13908
b7ea362b
PA
139092014-01-08 Pedro Alves <palves@redhat.com>
13910
13911 * gdb.threads/reconnect-signal.c: New file.
13912 * gdb.threads/reconnect-signal.exp: New file.
13913
5e3f4fab
EBM
139142014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13915
13916 * gdb.base/source-dir.exp: New file.
13917
79301218
JB
139182014-01-07 Joel Brobecker <brobecker@adacore.com>
13919
13920 * gdb.ada/mi_interface: New testcase.
13921
8e355c5d
JB
139222014-01-07 Joel Brobecker <brobecker@adacore.com>
13923
13924 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13925 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13926 gdb.ada/pp-rec-component/pck.ads: New files.
13927
c0d48811
JB
139282014-01-07 Joel Brobecker <brobecker@adacore.com>
13929
13930 * gdb.python/py-pp-integral.c: New file.
13931 * gdb.python/py-pp-integral.py: New file.
13932 * gdb.python/py-pp-integral.exp: New file.
13933
17b609c3 13934For older changes see ChangeLog-1993-2013.
c906108c 13935\f
8d8cb839
EZ
13936;; Local Variables:
13937;; mode: change-log
13938;; left-margin: 8
13939;; fill-column: 74
13940;; version-control: never
13941;; End:
902f2ccb 13942
e2882c85 13943 Copyright 2014-2018 Free Software Foundation, Inc.
902f2ccb
MC
13944 Copying and distribution of this file, with or without modification,
13945 are permitted provided the copyright notice and this notice are preserved.