]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix calling ifunc functions when resolver has debug info and different name
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
249b5733
PA
12018-04-25 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4 killed".
5 * gdb.base/kill-after-signal.exp: Likewise.
6 * gdb.threads/kill.exp: Likewise.
7
f67c0c91
SDJ
82018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9 Sergio Durigan Junior <sergiodj@redhat.com>
10 Pedro Alves <palves@redhat.com>
11
12 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
13 regexps to expect for '[Inferior ... detached]' as well.
14 * gdb.base/attach.exp: Likewise.
15 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
16 "gdb_continue_to_end".
17 (test_catch_syscall_with_wrong_args): Likewise.
18 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
19 ']'. Don't set 'verbose' on.
20 * gdb.base/foll-vfork.exp: Likewise.
21 * gdb.base/fork-print-inferior-events.c: New file.
22 * gdb.base/fork-print-inferior-events.exp: New file.
23 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
24 '[Inferior ... has been killed]' message.
25 * gdb.base/kill-after-signal.exp: Likewise.
26 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
27 detach message.
28 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
29 message.
30 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
31 regexps to expect for '[Inferior ... detached]' as well.
32 * gdb.threads/process-dies-while-detaching.exp: Likewise.
33
0a8ddac4
SM
342018-04-24 Simon Marchi <simon.marchi@ericsson.com>
35
36 PR gdb/23104
37 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
38
d27d16bf
RB
392018-04-19 Richard Bunt <richard.bunt@arm.com>
40
41 * gdb.threads/multiple-successive-infcall.c: New test.
42 * gdb.threads/multiple-successive-infcall.exp: New file.
43
a037790e
TT
442018-04-17 Tom Tromey <tom@tromey.com>
45
46 * gdb.rust/simple.rs (Union): New type.
47 (main): New local "u".
48 * gdb.rust/simple.exp (test_one_slice): Add new test case.
49
e3a91079
AA
502018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
51
52 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
53 number information in output of "whereis" command.
54 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
55
b744723f
AA
562018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
57
58 * gdb.ada/info_types.exp: Adjust expected output to the line
59 numbers now printed by "info var/func/type".
60 * gdb.base/completion.exp: Likewise.
61 * gdb.base/included.exp: Likewise.
62 * gdb.cp/cp-relocate.exp: Likewise.
63 * gdb.cp/cplusfuncs.exp: Likewise.
64 * gdb.cp/namespace.exp: Likewise.
65 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
66
4a4495d6
MM
672018-04-13 Markus Metzger <markus.t.metzger@intel.com>
68
69 * gdb.btrace/cpu.exp: New.
70
1d509aa6
MM
712018-04-13 Markus Metzger <markus.t.metzger@intel.com>
72
73 * gdb.base/step-indirect-call-thunk.exp: New.
74 * gdb.base/step-indirect-call-thunk.c: New.
75 * gdb.reverse/step-indirect-call-thunk.exp: New.
76 * gdb.reverse/step-indirect-call-thunk.c: New.
77
6295b6da
SM
782018-04-11 Simon Marchi <simon.marchi@ericsson.com>
79
80 * gdb.base/pie-fork.c: New file.
81 * gdb.base/pie-fork.exp: New file.
82
50146e70
TT
832018-04-11 Tom Tromey <tom@tromey.com>
84
85 * gdb.rust/simple.exp: Add test for ".." struct initializer.
86
f50d8a2e
PA
872018-04-10 Pedro Alves <palves@redhat.com>
88
89 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
90 exits. Instead loop running forever.
91 (fork_parent): Run forever too.
92
a0be7a36
SM
932018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
94
95 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
96 mi_continue_to_line.
97 * gdb.mi/mi-stack.c (callee4): Add comment.
98
9b73db36
SM
992018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
100
101 * gdb.mi/mi-stack.exp: Fix indentation.
102
c912f608
SM
1032018-04-07 Simon Marchi <simon.marchi@ericsson.com>
104
105 PR gdb/22979
106 * gdb.arch/amd64-osabi.exp: New file.
107
26540402
SM
1082018-04-07 Simon Marchi <simon.marchi@ericsson.com>
109
110 PR gdb/22980
111 * gdb.base/osabi.exp: New file.
112
121ad66c 1132018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
114
115 * gdb.cp/static-typedef-print.exp: New file.
116 * gdb.cp/static-typedef-print.cc: New file.
117
3fcded8f
JB
1182018-03-27 Joel Brobecker <brobecker@adacore.com>
119
120 * gdb.ada/varsize_limit: New testcase.
121
59cc4834
JB
1222018-03-27 Joel Brobecker <brobecker@adacore.com>
123
124 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
125
126 * gdb.ada/notcplusplus: New testcase.
127
128 * gdb.base/c-linkage-name.c: New file.
129 * gdb.base/c-linkage-name.exp: New testcase.
130
4ca59a9f
TT
1312018-03-26 Tom Tromey <tom@tromey.com>
132
133 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
134 * gdb.python/py-framefilter.py (name_error): New global.
135 (ErrorInName.function): Use name_error.
136
978d6c75
TT
1372018-03-26 Tom Tromey <tom@tromey.com>
138
139 PR backtrace/15582:
140 * gdb.python/py-framefilter.exp: Add "bt hide" test.
141
b7fee5a3
KS
1422018-03-23 Keith Seitz <keiths@redhat.com>
143
144 PR c++/22968
145 * gdb.cp/subtypes.exp: New file.
146 * gdb.cp/subtypes.h: New file.
147 * gdb.cp/subtypes.cc: New file.
148 * gdb.cp/subtypes-2.cc: New file.
149
376be529
AB
1502018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
151
152 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
153 (done): Call '_exit' not 'exit' to avoid atexit handlers.
154 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
155 -nostartfiles when compiling the test. Confirm that all registers
156 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
157
066cfa98
AB
1582018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
159
160 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
161 option, syntax was wrong anyway.
162 * gdb.arch/arm-disp-step.exp: Likewise.
163 * gdb.arch/sparc64-regs.exp: Likewise.
164 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
165 option, syntax was wrong anyway, switch to use
166 prepare_for_testing.
167 * gdb.arch/i386-disp-step.exp: Likewise.
168
079670b9
AA
1692018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
170
171 * gdb.ada/exec_changed.exp: Replace "target_info exists
172 use_gdb_stub" by "use_gdb_stub".
173 * gdb.ada/start.exp: Likewise.
174 * gdb.base/async-shell.exp: Likewise.
175 * gdb.base/attach-pie-misread.exp: Likewise.
176 * gdb.base/attach-wait-input.exp: Likewise.
177 * gdb.base/break-entry.exp: Likewise.
178 * gdb.base/break-interp.exp: Likewise.
179 * gdb.base/dprintf-detach.exp: Likewise.
180 * gdb.base/nostdlib.exp: Likewise.
181 * gdb.base/solib-nodir.exp: Likewise.
182 * gdb.base/statistics.exp: Likewise.
183 * gdb.base/testenv.exp: Likewise.
184 * gdb.mi/mi-exec-run.exp: Likewise.
185 * gdb.mi/mi-start.exp: Likewise.
186 * gdb.multi/dummy-frame-restore.exp: Likewise.
187 * gdb.multi/multi-arch-exec.exp: Likewise.
188 * gdb.multi/multi-arch.exp: Likewise.
189 * gdb.multi/tids.exp: Likewise.
190 * gdb.multi/watchpoint-multi.exp: Likewise.
191 * gdb.python/py-events.exp: Likewise.
192 * gdb.threads/attach-into-signal.exp: Likewise.
193 * gdb.threads/attach-stopped.exp: Likewise.
194 * gdb.threads/threadapply.exp: Likewise.
195 * lib/selftest-support.exp: Likewise.
196
26d6cec4
AA
1972018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
198
199 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
200
4ee89e90
SR
2012018-03-20 Stephen Roberts <stephen.roberts@arm.com>
202
203 * gdb.perf/template-breakpoints.cc: New file.
204 * gdb.perf/template-breakpoints.exp: New file.
205 * gdb.perf/template-breakpoints.py: New file.
206
92630041
TT
2072018-03-19 Tom Tromey <tom@tromey.com>
208
209 * gdb.rust/simple.rs (main): Add local variables field1, field2,
210 y0.
211 * gdb.rust/simple.exp: Test bare identifier form of struct
212 initializer.
213
76727919
TT
2142018-03-19 Tom Tromey <tom@tromey.com>
215
216 * gdb.gdb/observer.exp: Remove.
217
194ed413
AA
2182018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
219
220 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
221 "qualified" option when setting breakpoints.
222 * gdb.trace/backtrace.exp: Likewise.
223 * gdb.trace/circ.exp: Likewise.
224 * gdb.trace/collection.exp: Likewise.
225 * gdb.trace/disconnected-tracing.exp: Likewise.
226 * gdb.trace/ftrace-lock.exp: Likewise.
227 * gdb.trace/ftrace.exp: Likewise.
228 * gdb.trace/infotrace.exp: Likewise.
229 * gdb.trace/packetlen.exp: Likewise.
230 * gdb.trace/passc-dyn.exp: Likewise.
231 * gdb.trace/qtro.exp: Likewise.
232 * gdb.trace/read-memory.exp: Likewise.
233 * gdb.trace/report.exp: Likewise.
234 * gdb.trace/signal.exp: Likewise.
235 * gdb.trace/status-stop.exp: Likewise.
236 * gdb.trace/strace.exp: Likewise.
237 * gdb.trace/tfind.exp: Likewise.
238 * gdb.trace/trace-break.exp: Likewise.
239 * gdb.trace/trace-condition.exp: Likewise.
240 * gdb.trace/trace-mt.exp: Likewise.
241 * gdb.trace/tstatus.exp: Likewise.
242 * gdb.trace/tsv.exp: Likewise.
243 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
244 * gdb.trace/unavailable.exp: Likewise.
245 * gdb.trace/while-dyn.exp: Likewise.
246
8b067d2c
AA
2472018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
248
249 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
250 that libinproctrace is copied to the target.
251
3ae9ce5d
TT
2522018-03-14 Tom Tromey <tom@tromey.com>
253
254 PR cli/14977:
255 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
256 a null pointer.
257 * gdb.base/wchar.exp: Likewise.
258
b8c2339b
TT
2592018-03-14 Tom Tromey <tom@tromey.com>
260
261 PR cli/19918:
262 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
263 flag.
264
4872dc46
SM
2652018-03-08 Simon Marchi <simon.marchi@ericsson.com>
266
267 PR gdb/22841
268 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
269 "target" to remote_exec.
270
e4fe3756
SM
2712018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
272
273 PR gdb/22841
274 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
275 ${board}_upload): Remove.
276
e95a97d4
AA
2772018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
278
279 * gdb.cp/watch-cp.cc: New test.
280 * gdb.cp/watch-cp.exp: New file.
281
dbbb1059
AB
2822018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
283
284 * gdb.base/infcall-nested-structs.exp: New file.
285 * gdb.base/infcall-nested-structs.c: New file.
286 * gdb.base/float.exp: Add riscv support.
287
ecc054c0
TP
2882018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
289
290 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
291 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
292
25e3c82c
SDJ
2932018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
294
295 * gdb.server/abspath.exp: New file.
296 * lib/gdb.exp (with_cwd): New procedure.
297
3083294d
SM
2982018-02-28 Simon Marchi <simon.marchi@ericsson.com>
299
300 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
301 use it.
302 (gdb_is_target_remote_prompt): New proc.
303 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
304 (gdb_is_target_native): Pass prompt parameter to
305 gdb_is_target_1.
306
3275ef47
SM
3072018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
308
309 * gdb.base/load-command.c: New file.
310 * gdb.base/load-command.exp: New file.
311 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
312 (gdb_is_target_1): ...this, and generalize for other targets
313 than just remote.
314 (gdb_is_target_remote): Use gdb_is_target_1.
315 (gdb_is_target_native): use gdb_is_target_1.
316
6893c19a
TT
3172018-02-26 Tom Tromey <tom@tromey.com>
318
319 PR python/16497:
320 * gdb.python/py-framefilter.exp: Update test.
321
2ddeaf8a
TT
3222018-02-26 Tom Tromey <tom@tromey.com>
323
324 * gdb.dwarf2/variant.c: New file.
325 * gdb.dwarf2/variant.exp: New file.
326
c9317f21
TT
3272018-02-26 Tom Tromey <tom@tromey.com>
328
329 * gdb.rust/simple.exp: Accept more possible results in enum test.
330
6f6d0c26
SM
3312018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
332
333 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
334 parentheses.
335
11b03145
MR
3362018-02-23 Maciej W. Rozycki <macro@mips.com>
337
338 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
339 name of a variable: $actual_linejj -> $actual_line.
340
54a27fe5
JB
3412018-02-21 John Baldwin <jhb@FreeBSD.org>
342
343 * gdb.arch/amd64-i386-address.exp: Fix a typo.
344
de65820c
MM
3452018-02-20 Markus Metzger <markus.t.metzger@intel.com>
346
347 * gdb.btrace/buffer-size.exp: Do not force BTS.
348
980548fd
PA
3492018-02-14 Pedro Alves <palves@redhat.com>
350
351 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
352 getting a "Quit".
353
c4e12631
MM
3542018-02-09 Markus Metzger <markus.t.metzger@intel.com>
355
356 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
357 Fix test name.
358
c2e0e465
SM
3592018-02-07 Simon Marchi <simon.marchi@ericsson.com>
360
361 * gdb.cp/m-static.exp: Check type of optimized out static
362 member.
363
f7216783
AB
3642018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
367 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
368
0625771b
LS
3692018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
370 Leszek Swirski <leszeks@google.com>
371
372 * gdb.python/py-prettyprint.c
373 (struct to_string_returns_value_inner,
374 struct to_string_returns_value_wrapper): New.
375 (main): Add tsrvw variable.
376 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
377 ToStringReturnsValueWrapper): New classes.
378 (register_pretty_printers): Register new pretty-printers.
379 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
380 recursive pretty printer.
381 * gdb.python/py-mi.exp: Likewise.
382
59498c30
LS
3832018-02-01 Leszek Swirski <leszeks@google.com>
384
385 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
386 functions with the same name as an include file are parsed
387 correctly.
388
d4d38844
YQ
3892018-02-01 Yao Qi <yao.qi@linaro.org>
390
391 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
392 "\[^\r\n\]*".
393
07e5f5cf
NP
3942018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
395
396 * gdb.arch/powerpc-prologue-frame.s: New file.
397 * gdb.arch/powerpc-prologue-frame.c: Likewise.
398 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
399
929b5ad4
JB
4002018-01-31 Joel Brobecker <brobecker@adacore.com>
401
402 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
403
e671cd59
PA
4042018-01-30 Pedro Alves <palves@redhat.com>
405
406 PR gdb/13211
407 * gdb.base/interrupt-daemon.c: New.
408 * gdb.base/interrupt-daemon.exp: New.
409 * gdb.multi/multi-term-settings.c: New.
410 * gdb.multi/multi-term-settings.exp: New.
411
fc413dc4
JB
4122018-01-30 Joel Brobecker <brobecker@adacore.com>
413
414 * gdb.base/break.exp: Save the location where the breakpoint
415 on break.c:47 was actually inserted when debugging the version
416 compiled at -O2 and use it in the expected output of the "info
417 break" test performed soon after.
418
5c319bb2
PA
4192018-01-22 Pedro Alves <palves@redhat.com>
420 Sergio Durigan Junior <sergiodj@redhat.com>
421
422 * gdb.base/whatis.exp: Add tests for 'set print object on' +
423 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
424
a9e40818
JB
4252018-01-22 Joel Brobecker <brobecker@adacore.com>
426
427 * gdb.base/break-include.c, gdb.base/break-include.inc,
428 gdb.base/break-include.exp: New files.
429 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
430 line number now being the actual line number where the breakpoint
431 was inserted.
432 * gdb.mi/mi-break.exp: Likewise.
433 * gdb.mi/mi-reverse.exp: Likewise.
434 * gdb.mi/mi-simplerun.exp: Ditto.
435
e707fc44
AB
4362018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
439 varobj.
440 * gdb.mi/mi-var-create-rtti.exp: Likewise.
441
ae451627
AB
4422018-01-21 Don Breazeal <donb@codesourcery.com>
443 Andrew Burgess <andrew.burgess@embecosm.com>
444
445 * gdb.mi/basics.c: Add new global.
446 * gdb.mi/mi-frame-regs.exp: New file.
447 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
448 case.
449
b1b189e0
AB
4502018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
451
452 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
453 non-parameter, and on an unknown symbol.
454
fcfcc376
TT
4552018-01-19 Tom Tromey <tom@tromey.com>
456
457 * gdb.rust/modules.rs (TWENTY_THREE): New global.
458 * gdb.rust/modules.exp: Add ::-qualified lookup test.
459
634c1c31
AA
4602018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
461
462 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
463 setrlimit and chdir to int.
464
d6ad07fd
AA
4652018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
466
467 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
468 function.
469 (my_tend): Likewise.
470 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
471 rationale of avoiding FP- and vector instructions.
472
adf8243b
RK
4732018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
474
475 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
476 "info reg" with "\[ \t\]*".
477 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
478 "\[ \t\]+".
479 * gdb.arch/s390-multiarch.exp: Ditto.
480 * gdb.base/pc-fp.exp: Ditto.
481 * gdb.reverse/i386-precsave.exp: Ditto.
482 * gdb.reverse/i386-reverse.exp: Ditto.
483 * gdb.reverse/i387-env-reverse.exp: Ditto.
484 * gdb.reverse/i387-stack-reverse.exp: Ditto.
485
dcc06925
AA
4862018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
487
488 * lib/gdb.exp (gdb_compile): Re-enable use of
489 universal_compile_options for languages other than Rust.
490
25d4fd80
AA
4912018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
492
493 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
494
ee7f689e 4952018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
496
497 PR gdb/16577
498 * gdb.base/solib-vanish.exp: New.
499 * gdb.base/solib-vanish-main.c: New.
500 * gdb.base/solib-vanish-lib1.c: New.
501 * gdb.base/solib-vanish-lib2.c: New.
502
d8447b6b
YQ
5032018-01-17 Yao Qi <yao.qi@linaro.org>
504
505 * gdb.compile/compile.exp: Match the address printed for
506 frame in the output of command "bt".
507
86d6a90c
TT
5082018-01-15 Tom Tromey <tom@tromey.com>
509
510 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
511 compute sp_reg.
512
cbcdb1aa
AB
5132018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
514
515 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
516 to prepare.
517 (prepare): Return 0 on error, 1 on success.
518
eea61984
PA
5192018-01-12 Pedro Alves <palves@redhat.com>
520
521 * gdb.base/continue-after-aborted-step-over.c: New.
522 * gdb.base/continue-after-aborted-step-over.exp: New.
523
6181e9c2
SM
5242018-01-11 Simon Marchi <simon.marchi@ericsson.com>
525
526 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
527 options when not creating an executable.
528
3cada740
PA
5292018-01-11 Pedro Alves <palves@redhat.com>
530
531 PR remote/22597
532 * gdb.server/stop-reply-no-thread.c: New file.
533 * gdb.server/stop-reply-no-thread.exp: New file.
534
c63d3e8d
PA
5352018-01-10 Pedro Alves <palves@redhat.com>
536
537 PR gdb/22670
538 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
539 functions too. Test setting breakpoints and printing C functions
540 with no debug info too.
541 * gdb.ada/bp_c_mixed_case/qux.c: New file.
542
d4c2a405
PA
5432018-01-10 Pedro Alves <palves@redhat.com>
544
545 PR gdb/22670
546 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
547 a fail.
548
8825213e
PA
5492018-01-10 Pedro Alves <palves@redhat.com>
550
551 PR gdb/22670
552 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
553
605fd3c6
YQ
5542018-01-08 Simon Marchi <simon.marchi@ericsson.com>
555
556 * gdb.server/unittest.exp: Match the output in non-development
557 mode.
558
1e5ded6c
YQ
5592018-01-08 Simon Marchi <simon.marchi@ericsson.com>
560
561 * gdb.gdb/unittest.exp: Match output in non-development mode.
562
30066b0b
JB
5632018-01-08 Joel Brobecker <brobecker@adacore.com>
564
565 * gdb.ada/access_tagged_param.exp: Relax expected output
566 for value of "ObjL" in "continue" to pck.inspect breakpoint
567 test.
568
04bafb1e
XR
5692018-01-08 Joel Brobecker <brobecker@adacore.com>
570
9f86398b
JB
571 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
572 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 573
e379cee6
PA
5742018-01-05 Pedro Alves <palves@redhat.com>
575
576 PR gdb/18653
577 * gdb.base/libsegfault.exp: New.
578
de63c46b
PA
5792018-01-05 Joel Brobecker <brobecker@adacore.com>
580
581 PR gdb/22670
582 * gdb.ada/access_tagged_param.exp: New file.
583 * gdb.ada/access_tagged_param/foo.adb: New file.
584
f98fc17b
PA
5852018-01-05 Pedro Alves <palves@redhat.com>
586
587 PR gdb/22670
588 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
589 exercise lower case too, and to exercise both full matching and
590 wild matching.
591
342f8240
JB
5922018-01-05 Joel Brobecker <brobecker@adacore.com>
593
594 * gdb.ada/rename_subscript_param: New testcase.
595
7150d33c
JG
5962018-01-05 Jerome Guitton <guitton@adacore.com>
597
598 * gdb.ada/arr_acc_idx_w_gap: New testcase.
599
cc0e770c
JB
6002018-01-05 Joel Brobecker <brobecker@adacore.com>
601
602 * gdb.ada/convvar_comp: New testcase.
603
672a41aa 6042018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
605
606 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
607 (My_Table): New global variable.
608 * testsuite/gdb.ada/array_char_idx.exp: Add test.
609
7365ec2f
JB
6102018-01-04 Joel Brobecker <brobecker@adacore.com>
611
612 PR gdb/22670
613 * gdb.ada/maint_with_ada: New testcase.
614
289483b6
JB
6152018-01-04 Joel Brobecker <brobecker@adacore.com>
616
617 PR gdb/22670
618 * gdb.ada/bp_c_mixed_case: New testcase.
619
344420da
JB
6202018-01-04 Joel Brobecker <brobecker@adacore.com>
621
622 PR gdb/22670
623 * gdb.ada/complete.exp: Add "complete break ada" test.
624
66fc87a0
JB
6252018-01-04 Joel Brobecker <brobecker@adacore.com>
626
627 PR gdb/22670
628 * gdb.ada/info_addr_mixed_case: New testcase.
629
9f757bf7
XR
6302018-01-03 Xavier Roirand <roirand@adacore.com>
631
632 * gdb.ada/excep_handle.exp: New testcase.
633 * gdb.ada/excep_handle/foo.adb: New file.
634 * gdb.ada/excep_handle/pck.ads: New file.
635
bd570f80
JB
6362018-01-03 Joel Brobecker <brobecker@adacore.com>
637
638 * gdb.base/step-line.c: Add extra empty line in copyright header.
639 * gdb.base/step-line.inp: Likewise.
640
9fe561ab
JB
6412018-01-02 Joel Brobecker <brobecker@adacore.com>
642
643 * gdb.ada/dyn_stride.exp: Add slice test.
644
a405673c
JB
6452018-01-02 Joel Brobecker <brobecker@adacore.com>
646
647 * gdb.ada/dyn_stride: New testcase.
648
cef0f868
SH
6492017-12-27 Stafford Horne <shorne@gmail.com>
650
651 * gdb.xml/extra-regs.xml: Add example foo reggroup.
652 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
653
b67d92b0
SH
6542017-12-27 Stafford Horne <shorne@gmail.com>
655
656 * gdb.base/reggroups.c: New file.
657 * gdb.base/reggroups.exp: New file.
658
eccab96d
JB
6592017-12-18 Joel Brobecker <brobecker@adacore.com>
660
661 * gdb.dwarf2/ada-valprint-error.c: New file.
662 * gdb.dwarf2/ada-valprint-error.exp: New file.
663
0e2da9f0
JB
6642017-12-18 Joel Brobecker <brobecker@adacore.com>
665
666 * gdb.ada/assign_arr: New testcase.
667
cb923fcc
XR
6682017-12-18 Xavier Roirand <roirand@adacore.com>
669
670 * gdb.ada/funcall_ptr: New testcase.
671
7c161838
SDJ
6722017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
673
674 PR cli/16224
675 * gdb.base/ptype-offsets.cc: New file.
676 * gdb.base/ptype-offsets.exp: New file.
677
1af17fd9
YQ
6782017-12-15 Yao Qi <yao.qi@linaro.org>
679
680 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
681 if XML is disabled.
682
828d5846
XR
6832017-12-15 Xavier Roirand <roirand@adacore.com>
684
685 * gdb.ada/same_component_name: New testcase.
686
79e8fcaa
JB
6872017-12-14 Joel Brobecker <brobecker@adacore.com>
688
689 * gdb.ada/str_binop_equal: New testcase.
690
e05fa6f9
JB
6912017-12-14 Joel Brobecker <brobecker@adacore.com>
692
693 * gdb.ada/task_switch_in_core: New testcase.
694
b89641ba
SM
6952017-12-13 Simon Marchi <simon.marchi@ericsson.com>
696
697 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
698 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
699 call test_bkpt_qualified.
700 (test_bkpt_qualified): New proc.
701
6892d2e4
PA
7022017-12-13 Pedro Alves <palves@redhat.com>
703
704 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
705 Tighten regexp by matching with an anchor.
706
a22ecf70
PA
7072017-12-13 Pedro Alves <palves@redhat.com>
708
709 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
710 ("expression with namespace"): New set of tests.
711 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
712 (Nested::Test_NS::qux): New.
713 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
714 defaults to 'start_quote_char' and 'end_quote_char' parameters.
715
9937536c
JB
7162017-12-13 Joel Brobecker <brobecker@adacore.com>
717
718 * gdb.base/server-del-break.c: New file.
719 * gdb.base/server-del-break.exp: New file.
720
fe49c6f5
SH
7212017-12-12 Stafford Horne <shorne@gmail.com>
722
723 * gdb.xml/tdesc-regs.exp: Add or1k support.
724
c3d18620
SH
7252017-12-12 Stafford Horne <shorne@gmail.com>
726
727 * gdb.base/bp-permanent.c: Define nop of or1k.
728
c5f9cfc8
JB
7292017-12-11 Joel Brobecker <brobecker@adacore.com>
730
731 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
732 output with components being reordered.
733
a9c135fc
JB
7342017-12-11 Joel Brobecker <brobecker@adacore.com>
735
736 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
737 output with components being reordered.
738
927aa2e7
JK
7392017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
740 Pedro Alves <palves@redhat.com>
741
742 * gdb.base/maint.exp (check for .gdb_index): Check also for
743 .debug_names.
744 * gdb.dlang/watch-loc.c (.debug_aranges): New.
745 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
746 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
747 (.gdb_index used after symbol reloading): Support also .debug_names.
748 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
749
f17d9474
YQ
7502017-12-08 Yao Qi <yao.qi@linaro.org>
751
752 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
753 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
754
a0de8c21
YQ
7552017-12-08 Yao Qi <yao.qi@linaro.org>
756
757 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
758 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
759
a738ea1d
YQ
7602017-12-08 Yao Qi <yao.qi@linaro.org>
761
762 * gdb.arch/aarch64-tagged-pointer.c: New file.
763 * gdb.arch/aarch64-tagged-pointer.exp: New file.
764
1cd9a73b
SDJ
7652017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
766
767 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
768 "int".
769
fa6eb693
KS
7702017-12-07 Keith Seitz <keiths@redhat.com>
771
772 PR breakpoints/22569
773 * gdb.linespec/ls-errs.exp: Change expected result of "break
774 -source this file has spaces.c -line 3".
775 Check that an explicit source file followed by whitespace is
776 identified as an invalid explicit location.
777
883fd55a
KS
7782017-12-07 Keith Seitz <keiths@redhat.com>
779
780 * gdb.cp/nested-types.cc: New file.
781 * gdb.cp/nested-types.exp: New file.
782 * lib/cp-support.exp: Load data-structures.exp library.
783 (debug_cp_test_ptype_class): New global.
784 (cp_ptype_class_verbose, next_line): New procedures.
785 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
786 Add and document new return value.
787 Switch the list of lines to a queue.
788 Add support for new `type' key for nested type definitions.
789 Add debugging/troubleshooting messages.
790 * lib/data-structures.exp: New file.
791
ec72db3e
SM
7922017-12-07 Simon Marchi <simon.marchi@ericsson.com>
793
794 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
795 with proc_with_prefix, don't use with_test_prefix.
796
99598d71
TT
7972017-12-07 Tom Tromey <tom@tromey.com>
798
799 * gdb.base/break.exp: Add test for empty "commands".
800
a8806230
YQ
8012017-12-07 Yao Qi <yao.qi@linaro.org>
802
803 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
804 malloc and catch syscall.
805
824cc835
PM
8062017-12-07 Phil Muldoon <pmuldoon@redhat.com>
807
808 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
809 tests for explicit locations.
810
7cc244de
PA
8112017-12-06 Pedro Alves <palves@redhat.com>
812
813 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
814 force-disabling XML descriptions.
815
50a1fdd5
PA
8162017-12-04 Pedro Alves <palves@redhat.com>
817
818 PR gdb/22499
819 * gdb.arch/amd64-disp-step-avx.S: New file.
820 * gdb.arch/amd64-disp-step-avx.exp: New file.
821
f0fb2488
PA
8222017-12-03 Pedro Alves <palves@redhat.com>
823
824 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
825 and <string.h>.
826 (parent_function): Print distinct messages when waitpid fails, or
827 the child exits with a signal, or the child exits for an unhandled
828 reason.
829 * gdb.threads/process-dies-while-detaching.exp
830 (detach_and_expect_exit): New 'inf_output_re' parameter and use
831 it. Wait for both inferior output and GDB's prompt. Use an
832 indirect spawn id list.
833 (do_detach): New parameter 'child_exit'. Use it to compute
834 expected inferior output.
835 (test_detach, test_detach_watch, test_detach_killed_outside):
836 Adjust to pass down the expected child exit kind.
837
97cbe998
SDJ
8382017-12-01 Joel Brobecker <brobecker@adacore.com>
839 Sergio Durigan Junior <sergiodj@redhat.com>
840 Pedro Alves <palves@redhat.com>
841
842 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
843
40fc416f
SDJ
8442017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
845
846 * gdb.base/relocate.exp: Add tests to guarantee that arguments
847 to 'symbol-file' and 'add-symbol-file' can be
848 position-independent.
849
1cc75e92
YQ
8502017-12-01 Yao Qi <yao.qi@linaro.org>
851
852 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
853 the URL in copyright header.
854 * gdb.arch/aarch64-fp.exp: Likewise.
855 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
856 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
857 * gdb.base/expand-psymtabs.exp: Likewise.
858 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
859 * gdb.fortran/common-block.exp: Likewise.
860 * gdb.fortran/common-block.f90: Likewise.
861 * gdb.fortran/logical.exp: Likewise.
862 * gdb.fortran/vla-datatypes.f90: Likewise.
863 * gdb.fortran/vla-sub.f90: Likewise.
864
875fb7a7
JB
8652017-11-30 Joel Brobecker <brobecker@adacore.com>
866
867 * gdb.ada/repeat_dyn: New testcase.
868
6f14765f
UW
8692017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
870
871 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
872 Update for changed thread numbering.
873 * gdb.cell/bt.exp: Update for changed GDB output.
874
f1af7b94
SM
8752017-11-30 Simon Marchi <simon.marchi@ericsson.com>
876
877 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
878 setting isremote by hand.
879 * boards/dwarf4-gdb-index.exp: Likewise.
880 * boards/fission.exp: Likewise.
881 * boards/stabs.exp: Likewise.
882
e3919f3e
PA
8832017-11-30 Pedro Alves <palves@redhat.com>
884
885 * gdb.linespec/cpls-ops.exp
886 (check_explicit_skips_function_argument): Extract the underlying
887 type of size_t instead of hardcoding it.
888
bd69330d
PA
8892017-11-29 Pedro Alves <palves@redhat.com>
890
891 PR c++/19436
892 * gdb.linespec/cpls-abi-tag.cc: New file.
893 * gdb.linespec/cpls-abi-tag.exp: New file.
894
a20714ff
PA
8952017-11-29 Pedro Alves <palves@redhat.com>
896
897 * gdb.base/langs.exp: Use -qualified.
898 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
899 it.
900 * gdb.cp/namespace.exp: Use -qualified.
901 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
902 (overload-3, template-overload, template-ret-type, const-overload)
903 (const-overload-quoted, anon-ns, ambiguous-prefix): New
904 procedures.
905 (test_driver): Call them.
906 * gdb.cp/save-bp-qualified.cc: New.
907 * gdb.cp/save-bp-qualified.exp: New.
908 * gdb.linespec/explicit.exp: Test -qualified.
909 * lib/completion-support.exp (completion::explicit_opts_list): Add
910 "-qualified".
911 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
912
f6f1d339
PM
9132017-11-29 Phil Muldoon <pmuldoon@redhat.com>
914
915 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
916
02ca603a
TT
9172017-11-29 Tom Tromey <tom@tromey.com>
918
919 * gdb.base/relocate.exp: Update invalid argument test.
920 Add new tests for invalid arguments.
921
ed6c0bfb
TP
9222017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
923
924 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
925 Return 0 as a long.
926 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
927
f106e10e
TP
9282017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
929
930 * gdb.cp/breakpoint.cc (bar): Set return type to void.
931 * gdb.cp/psymtab-parameter.cc (func): Likewise.
932 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
933 func ().
934 * gdb.cp/shadow.cc (B.func): Return 0.
935
10329bb2
JB
9362017-11-27 Joel Brobecker <brobecker@adacore.com>
937
938 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
939 expected output in gdb_expect call to allow the exception
940 message to be present as well. Fix syntax confusion to avoid
941 TCL thinking that exception_name is an array.
942
617cd4bc
UW
9432017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
944
945 * gdb.arch/spu-info.c: Include <unistd.h>.
946 (do_signal_test): Fix broken calls to write.
947 * gdb.arch/spu-info.exp: Use prepare_for_testing.
948 Fix checks for empty mailboxes. Update signal tests for corrected
949 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
950 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
951 * gdb.cell/arch.exp: Use standard_output_file.
952 * gdb.cell/break.exp: Likewise.
953 * gdb.cell/bt.exp: Likewise.
954 * gdb.cell/core.exp: Likewise.
955 * gdb.cell/dwarfaddr.exp: Likewise.
956 * gdb.cell/ea-cache.exp: Likewise.
957 * gdb.cell/ea-standalone.exp: Likewise.
958 * gdb.cell/f-regs.exp: Likewise.
959 * gdb.cell/fork.exp: Likewise.
960 * gdb.cell/gcore.exp: Likewise.
961 * gdb.cell/mem-access.exp: Likewise.
962 * gdb.cell/ptype.exp: Likewise.
963 * gdb.cell/registers.exp: Likewise.
964 * gdb.cell/sizeof.exp: Likewise.
965 * gdb.cell/solib-symbol.exp: Likewise.
966 * gdb.cell/solib.exp: Likewise.
617cd4bc 967
a81aaca0
PA
9682017-11-25 Pedro Alves <palves@redhat.com>
969
970 * gdb.base/complete-empty.exp: New file.
971 * gdb.base/completion.exp: Adjust.
972
6a3c6ee4
PA
9732017-11-25 Pedro Alves <palves@redhat.com>
974
975 * gdb.linespec/cpls-ops.cc: New file.
976 * gdb.linespec/cpls-ops.exp: New file.
977 * lib/completion-support.exp (test_complete_prefix_range_re): New,
978 factored out from ...
979 (test_complete_prefix_range): ... this.
980
8955eb2d
PA
9812017-11-24 Pedro Alves <palves@redhat.com>
982
983 * gdb.linespec/cpcompletion.exp: New file.
984 * gdb.linespec/cpls-hyphen.cc: New file.
985 * gdb.linespec/cpls.cc: New file.
986 * gdb.linespec/cpls2.cc: New file.
987 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
988 test to use test_gdb_complete_unique. Add label completion,
989 keyword completion and explicit location completion tests.
990 * lib/completion-support.exp: New file.
991
e547c119
JB
9922017-11-24 Joel Brobecker <brobecker@adacore.com>
993
994 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
995 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
996 when hitting an exception catchpoint.
997
7c3c1aa8
YQ
9982017-11-22 Yao Qi <yao.qi@linaro.org>
999
1000 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1001
41bd68f5
SM
10022017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1003
1004 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1005 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1006 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1007
1daad298
YQ
10082017-11-22 Yao Qi <yao.qi@linaro.org>
1009
1010 * gdb.base/info-os.exp: Pass pthreads.
1011 * gdb.multi/multi-attach.exp: Likewise.
1012
88465e87
YQ
10132017-11-22 Yao Qi <yao.qi@linaro.org>
1014
1015 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1016 compiler.
1017
dc196b23
YQ
10182017-11-22 Yao Qi <yao.qi@linaro.org>
1019
1020 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1021 * gdb.base/break-interp.exp: Likewise.
1022 * gdb.base/jit-attach-pie.exp: Likewise.
1023
2400729e
UW
10242017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1025
1026 * gdb.base/float128.c (large128): New variable.
1027 * gdb.base/float128.exp: Add test to print largest __float128 value.
1028
7a26362d
UW
10292017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1030
1031 * gdb.arch/vsx-regs.exp: Update register content checks.
1032
ed0f4273
UW
10332017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1034
1035 * gdb.arch/ppc-longdouble.exp: New file.
1036 * gdb.arch/ppc-longdouble.c: Likewise.
1037
a25d69c6
PA
10382017-11-21 Pedro Alves <palves@redhat.com>
1039
1040 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1041
73fcf641
PA
10422017-11-20 Pedro Alves <palves@redhat.com>
1043
1044 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1045 (long_double_typedef): New typedefs.
1046 Use DEF on double and long double.
1047 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1048 cases.
1049 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1050 and 'long_double_ptr_same_size' locals. Use them to decide
1051 whether cast from array/function to float is valid/invalid.
1052
71a3c369
TT
10532017-11-17 Tom Tromey <tom@tromey.com>
1054
1055 * gdb.rust/traits.rs: New file.
1056 * gdb.rust/traits.exp: New file.
1057
ced9779b
JB
10582017-11-17 Joel Brobecker <brobecker@adacore.com>
1059
1060 * gdb.ada/minsyms: New testcase.
1061
a0922d80
PA
10622017-11-16 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1065 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1066
ea04e54c
PA
10672017-11-16 Pedro Alves <palves@redhat.com>
1068
1069 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1070 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1071
e849ea89
PA
10722017-11-16 Pedro Alves <palves@redhat.com>
1073
1074 * gdb.server/reconnect-ctrl-c.c: New file.
1075 * gdb.server/reconnect-ctrl-c.exp: New file.
1076
d8ae99a7
PM
10772017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1078
1079 * gdb.python/py-rbreak.exp: New file.
1080 * gdb.python/py-rbreak.c: New file.
1081 * gdb.python/py-rbreak-func2.c: New file.
1082
968a13f8
PA
10832017-11-16 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1086 pattern.
1087 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1088 GDB.
1089
71774bc9
SM
10902017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1091
1092 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1093 regex.
1094
ddbb44cf
SM
10952017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1096
1097 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1098 test names.
1099
584a564f
PA
11002017-11-09 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1103 factored out from ...
1104 (top level): ... here, and adjusted to avoid expecting beyond the
1105 prompt in a single gdb_test_multiple.
1106
5ed7a928
PA
11072017-11-09 Pedro Alves <palves@redhat.com>
1108
1109 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1110 output.
1111 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1112 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1113 * gdb.server/ext-run.exp ("kill" test): Likewise.
1114 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1115
a60e0738
PA
11162017-11-09 Pedro Alves <palves@redhat.com>
1117
1118 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1119 match till end of line.
1120
2c88253f
PA
11212017-11-09 Pedro Alves <palves@redhat.com>
1122
1123 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1124
c7a38517
PA
11252017-11-09 Pedro Alves <palves@redhat.com>
1126
1127 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1128 New procedures, factored out from ...
1129 (top level): ... here, and adjusted to avoid expecting beyond the
1130 prompt in one go.
1131
f29f4b6b
PA
11322017-11-09 Pedro Alves <palves@redhat.com>
1133
1134 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1135 output. Fix '?' match.
1136
286acbb5
JB
11372017-11-08 Joel Brobecker <brobecker@adacore.com>
1138
1139 * gdb.ada/scoped_watch: New testcase.
1140 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1141 which is actually correct.
1142 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1143 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1144
62d7ae92
PA
11452017-11-08 Pedro Alves <palves@redhat.com>
1146
1147 * gdb.gdb/complaints.exp (test_initial_complaints)
1148 (test_serial_complaints, test_short_complaints): Call
1149 complaint_internal instead of complaint.
1150
280ca31f
DT
11512017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1152
1153 * gdb.threads/tls-core.c: New file.
1154 * gdb.threads/tls-core.exp: Likewise.
1155
b5ec771e
PA
11562017-11-08 Pedro Alves <palves@redhat.com>
1157
1158 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1159 (p Exported_Capitalized): New test.
1160 (p exported_capitalized): New test.
1161
a02b41a7
PA
11622017-11-07 Pedro Alves <palves@redhat.com>
1163
1164 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1165
95e95a6d
PA
11662017-11-07 Pedro Alves <palves@redhat.com>
1167
1168 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1169 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1170 (disable_invalid, disable_inverted, disable_negative): New
1171 procedures.
1172 ("bad numbers"): New set of tests.
1173
cee62dbd
PA
11742017-11-07 Pedro Alves <palves@redhat.com>
1175
1176 * gdb.cp/ena-dis-br-range.exp: Add tests.
1177
cc638e86
PA
11782017-11-07 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1181
d0fe4701
XR
11822017-11-07 Xavier Roirand <roirand@adacore.com>
1183 Pedro Alves <palves@redhat.com>
1184
1185 * gdb.base/ena-dis-br.exp: Add reference to
1186 gdb.cp/ena-dis-br-range.exp.
1187 * gdb.cp/ena-dis-br-range.exp: New file.
1188 * gdb.cp/ena-dis-br-range.cc: New file.
1189
46f67f80
PA
11902017-11-06 Pedro Alves <palves@redhat.com>
1191
1192 * gdb.base/attach-non-pgrp-leader.c: New.
1193 * gdb.base/attach-non-pgrp-leader.exp: New.
1194
726e1356
PA
11952017-11-06 Pedro Alves <palves@redhat.com>
1196
1197 * configure.ac: No longer check for termio.h and sgtty.h.
1198 * configure: Regenerate.
1199 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1200 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1201 Remove termio and sgtty code.
1202
50ab6ace
YQ
12032017-11-03 Yao Qi <yao.qi@linaro.org>
1204
1205 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1206 in GDB is disabled.
1207
8e68731c
YQ
12082017-11-03 Yao Qi <yao.qi@linaro.org>
1209
1210 * gdb.python/py-thrhandle.exp: Skip it if python is not
1211 enabled.
1212
3a87ae65
SM
12132017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1214
1215 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1216 as a breakpoint command.
1217
484d8d36
MD
12182017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1219
1220 PR python/21213
1221 * gdb.python/py-infthread.exp: Test calling
1222 InferiorThread.inferior () multiple times in a row.
1223
4a27f119
KS
12242017-10-27 Keith Seitz <keiths@redhat.com>
1225
1226 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1227 Test "info break" for every inlined function breakpoint.
1228
bb11dd58
YQ
12292017-10-27 Yao Qi <yao.qi@linaro.org>
1230
1231 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1232
a43f3893
PF
12332017-10-26 Patrick Frants <osscontribute@gmail.com>
1234
1235 * gdb.cp/classes.exp (test_static_members): Test printing
1236 Outer::instance.
1237 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1238 (Inner::instance, Outer::instance): New.
1239
792ccf00
PA
12402017-10-24 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1243 extra console" test in two stages.
1244
eb2bfbad
PA
12452017-10-24 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1248
1f75a651
PA
12492017-10-24 Pedro Alves <palves@redhat.com>
1250
1251 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1252 loop.
1253
779990d9
PA
12542017-10-24 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1257 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1258
ad9b8f5d
PA
12592017-10-24 Pedro Alves <palves@redhat.com>
1260
1261 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1262 parameter and handle it. Don't output read value in test name.
1263
fee6da6e
PA
12642017-10-24 Pedro Alves <palves@redhat.com>
1265
1266 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1267 custom test name.
1268
10389c2c
PA
12692017-10-24 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1272 include the unstable output directory name in the test's name.
1273 (initial_setup_simple) <'set args'>: Use custom test name.
1274
a80e65a9
PA
12752017-10-24 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1278 with explicit test name.
1279
15763a09
PA
12802017-10-20 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1283 'wait -i'. Use gdb_assert and remote_close.
1284
49a4ce2e
AB
12852017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1286
1287 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1288 number from variable rather than hard-coded.
1289
a75868f5
PA
12902017-10-19 Pedro Alves <palves@redhat.com>
1291
1292 * gdb.base/long-inferior-output.c: New file.
1293 * gdb.base/long-inferior-output.exp: New file.
1294
c8ba13ad
KS
12952017-11-18 Keith Seitz <keiths@redhat.com>
1296
1297 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1298 method.
1299 (main): Call it.
1300 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1301 Add additional user-defined conversion operator tests.
1302
b27de576
PA
13032017-10-17 Pedro Alves <palves@redhat.com>
1304
1305 * boards/native-stdio-gdbserver.exp: Load "local-board".
1306
8484c955
PA
13072017-10-17 Pedro Alves <palves@redhat.com>
1308
1309 * gdb.base/quit-live.c: New file.
1310 * gdb.base/quit-live.exp: New file.
1311
83d5a34d
KS
13122017-10-16 Keith Seitz <keiths@redhat.com>
1313
1314 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1315 (class_with_protected_typedef, class_with_private_typedef)
1316 (struct_with_public_typedef, struct_with_protected_typedef)
1317 (struct_with_private_typedef): New classes/structs.
1318 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1319 typedefs and access specifiers.
1320
739b3f1d
PA
13212017-10-16 Pedro Alves <palves@redhat.com>
1322 Simon Marchi <simon.marchi@polymtl.ca>
1323
1324 * README (Local vs Remote vs Native): New section.
1325 * boards/local-board.exp: New file, with bits factored out from
1326 ...
1327 * boards/native-extended-gdbserver.exp: ... here. Load
1328 "local-board".
1329 * boards/native-gdbserver.exp: Load "local-board".
1330 (${board}_spawn, ${board}_exec): Delete.
1331 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1332 ...
1333 * boards/stdio-gdbserver-base.exp: ... this new file.
1334 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1335 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1336 procedure.
1337 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1338 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1339 stdio_gdbserver_command.
1340 (${board}_get_remote_address, ${board}_get_comm_port)
1341 (${board}_download, ${board}_upload): Delete.
1342 (get_target_remote_pipe_cmd): New.
1343
fe68b953
SM
13442017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1345
1346 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1347 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1348 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1349 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1350 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1351 remove with_test_prefix.
1352
300b6685
PA
13532017-10-13 Pedro Alves <palves@redhat.com>
1354
1355 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1356 * gdb.base/annota1.exp: Use it instead of is_remote.
1357 * gdb.base/annota3.exp: Use it instead of is_remote.
1358 * gdb.cp/annota2.exp: Use it instead of is_remote.
1359 * gdb.cp/annota3.exp: Use it instead of is_remote.
1360 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1361
50500caf
PA
13622017-10-13 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1365 (test_num_test_vars, run_and_count_vars, find_env)
1366 (test_set_unset_env, test_inherit_env_var): New procedures.
1367 (top level): Use them.
1368
dad0c6d2
PA
13692017-10-13 Pedro Alves <palves@redhat.com>
1370
1371 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1372 also skip on stub-like targets.
1373
8b0553c1
PA
13742017-10-13 Pedro Alves <palves@redhat.com>
1375
1376 PR gdb/22293
1377 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1378 (top level): Move some tests to ...
1379 (test_not_found): ... this new procedure.
1380 (top level): Call it.
1381
7594f623
PA
13822017-10-13 Pedro Alves <palves@redhat.com>
1383
1384 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1385 expect different "info terminal" output if testing with a
1386 non-native target.
1387
ebe3b402
PA
13882017-10-13 Pedro Alves <palves@redhat.com>
1389 Simon Marchi <simon.marchi@polymtl.ca>
1390
1391 PR python/12966
1392 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1393
42f1b161
PA
13942017-10-13 Pedro Alves <palves@redhat.com>
1395
1396 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1397 already.
1398
8d6ef72b
PA
13992017-10-13 Pedro Alves <palves@redhat.com>
1400
1401 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1402 is_remote.
1403
d7bcd5b8
PA
14042017-10-13 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1407 is_remote.
1408
df479dc6
PA
14092017-10-13 Pedro Alves <palves@redhat.com>
1410
1411 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1412 is set.
1413 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1414 instead of is_remote.
1415
23fb630a
PA
14162017-10-13 Pedro Alves <palves@redhat.com>
1417
1418 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1419 (top level): Add comment.
1420
cc77b1dc
PA
14212017-10-13 Pedro Alves <palves@redhat.com>
1422
1423 * gdb.base/remote.exp (top level): Fix comment typo and add
1424 missing return.
1425
27c9e813
PA
14262017-10-13 Pedro Alves <palves@redhat.com>
1427 Simon Marchi <simon.marchi@polymtl.ca>
1428
1429 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1430 calls and add comments. Skip test if use_gdb_stub is set.
1431 (top level): Use "set cwd" command instead of "cd" command.
1432
5e830d98
PA
14332017-10-13 Pedro Alves <palves@redhat.com>
1434
1435 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1436 is_remote target check.
1437
f5ca0032
PA
14382017-10-13 Pedro Alves <palves@redhat.com>
1439
1440 * gdb.base/scope.exp: Use build_executable + clean_restart +
1441 gdb_file_cmd instead of prepare_for_testing and no longer skip
1442 "before run" tests on is_remote target boards. Update comments.
1443 * boards/native-extended-gdbserver.exp
1444 (extended_gdbserver_load_last_file): New, factored out from ...
1445 (gdb_load): ... this. Move further below and add comment.
1446 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1447
8aed1c0d
PA
14482017-10-12 Pedro Alves <palves@redhat.com>
1449
1450 * gdb.base/attach.exp: Remove references to gdb64.
1451 * gdb.base/dbx.exp: Remove references to gdb64.
1452
cfa34c87
SM
14532017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1454 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.base/label.exp: Remove is_remote target check.
1457
9192b7de
PA
14582017-10-12 Pedro Alves <palves@redhat.com>
1459
1460 * gdb.base/auvx.exp (coredir): Update comment.
1461 (top level) <core_works>: Use "set cwd" command instead of "cd"
1462 command.
1463
6bf0052d
PA
14642017-10-12 Pedro Alves <palves@redhat.com>
1465 Simon Marchi <simon.marchi@polymtl.ca>
1466
1467 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1468 target boards.
1469
e48ef82d
PA
14702017-10-12 Pedro Alves <palves@redhat.com>
1471 Simon Marchi <simon.marchi@polymtl.ca>
1472
1473 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1474 Instead skip if there's any gdb_protocol set.
1475
8d7aea57
SM
14762017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1477 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1480
30440677
PA
14812017-10-12 Pedro Alves <palves@redhat.com>
1482 Simon Marchi <simon.marchi@polymtl.ca>
1483
1484 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1485 instead of on dejagnu remote boards.
1486
4e04f045 14872017-10-12 Pedro Alves <palves@redhat.com>
175654b9 1488 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
1489
1490 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1491 checks. Use build_executable + clean_restart instead of
1492 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1493 of enabling non-stop after starting gdb.
1494
871a186e
PA
14952017-10-12 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1498 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1499 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1500 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1501
56d704da
AK
15022017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1503
1504 * gdb.arch/arc-tdesc-cpu.exp: New file.
1505 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1506
2f20e312
SM
15072017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1508
1509 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1510
65630365
PA
15112017-10-10 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1514 expect CLI output.
1515
bf469271
PA
15162017-10-10 Pedro Alves <palves@redhat.com>
1517
1518 * lib/selftest-support.exp (selftest_setup): Update for
1519 captured_command_loop's prototype change.
1520
777a42f1
PA
15212017-10-09 Pedro Alves <palves@redhat.com>
1522
1523 Test both arch1=>arch2 and arch2=>arch1.
1524
1525 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1526 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1527 factored out to...
1528 (append_arch1_options, append_arch2_options, append_arch_options)
1529 (build_executables): New procedures.
1530 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1531 local.
1532 (top level): Add new 'first_arch' testing axis.
1533
cbd2b4e3
PA
15342017-10-09 Pedro Alves <palves@redhat.com>
1535
1536 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1537 (barrier): New.
1538 (thread_start, all_started): New functions.
1539 (main): Spawn new thread and wait until it is scheduled.
1540 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1541 option.
1542 (do_test): Add 'selected_thread' parameter. Run to all_started
1543 instead of main. Explicitly set the breakpoint at main. Switch
1544 to the SELECTED_THREAD thread.
1545 (top level): Test handling the exec event with either the main
1546 thread or the second thread selected.
1547
5c9e4427
PA
15482017-10-09 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1551 logic. Move STOP marker after the value checks.
1552 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1553 regexp.
1554
b3b7c423
SL
15552017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1556
1557 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1558
3b4b2f16
UW
15592017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1560
1561 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1562 integer-to-dfp conversion.
1563 * gdb.base/dfp-test.exp: Likewise.
1564
5cd63fda
PA
15652017-10-04 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.multi/hangout.c: Include <unistd.h>.
1568 (hangout_loop): New function.
1569 (main): Call alarm. Call hangout_loop in a loop.
1570 * gdb.multi/hello.c: Include <unistd.h>.
1571 (hello_loop): New function.
1572 (main): Call alarm. Call hangout_loop in a loop.
1573 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1574 inferior with the other selected.
1575
4c71c105
SM
15762017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1577
1578 * gdb.mi/list-thread-groups-available.exp: New file.
1579 * gdb.mi/list-thread-groups-available.c: New file.
1580
bc3b087d
SDJ
15812017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1582
1583 * gdb.base/set-cwd.exp: Make it available on
1584 native-extended-gdbserver.
1585
d092c5a2
SDJ
15862017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1587
1588 * gdb.base/set-cwd.c: New file.
1589 * gdb.base/set-cwd.exp: Likewise.
1590
45320ffa
TT
15912017-10-02 Tom Tromey <tom@tromey.com>
1592
1593 PR rust/22236:
1594 * gdb.rust/simple.rs (main): New variable "fslice".
1595 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1596
b3e3859b
TT
15972017-10-02 Tom Tromey <tom@tromey.com>
1598
1599 * gdb.rust/simple.exp: Test ptype of a slice.
1600
01af5e0d
TT
16012017-10-02 Tom Tromey <tom@tromey.com>
1602
1603 * gdb.rust/simple.exp: Test index of slice.
1604
a9bbfbd8
TT
16052017-09-27 Tom Tromey <tom@tromey.com>
1606
1607 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1608
df8899e5
TP
16092017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1610 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.base/compare-sections.exp (get value of read-only section): Read
1613 as unsigned value.
1614 (corrupt read-only section): Likewise and don't set written if patching
1615 failed.
1616
757bf54b
KB
16172017-09-21 Kevin Buettner <kevinb@redhat.com>
1618
1619 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1620 files.
1621
06871ae8
PA
16222017-09-20 Pedro Alves <palves@redhat.com>
1623
1624 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1625 symbol names in gdb's output.
1626 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1627
e5f25bc5
PA
16282017-09-20 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1631 Rename to ...
1632 (test_list_ambiguous_symbol): ... this and add a symbol name
1633 parameter. Adjust.
1634 (test_list_ambiguous_function): Reimplement on top of
1635 test_list_ambiguous_symbol and also test listing ambiguous
1636 variables.
1637 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1638 (ambiguous_fun): ... this.
1639 (ambiguous_var): New.
1640 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1641 (ambiguous_fun): ... this.
1642 (ambiguous_var): New.
1643
4e5a4f58
JB
16442017-09-19 John Baldwin <jhb@FreeBSD.org>
1645
1646 * gdb.base/starti.c: New file.
1647 * gdb.base/starti.exp: New file.
1648 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1649
26e53f3e
PA
16502017-09-14 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1653 (top level): Use it instead of runto.
1654
cb791d59
TT
16552017-09-11 Tom Tromey <tom@tromey.com>
1656
1657 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1658
7c96f8c1
TT
16592017-09-11 Tom Tromey <tom@tromey.com>
1660
1661 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1662 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1663
469412dd
CW
16642017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1665
1666 * gdb.fortran/printing-types.exp: New file.
1667 * gdb.fortran/printing-types.exp: New file.
1668
e0f86435
BH
16692017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1670
1671 * gdb.fortran/vla-ptype.exp: Fix typos.
1672 * gdb.fortran/vla-value.exp: Same.
1673
9e9af4be
BH
16742017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1675
1676 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1677 * gdb.mi/mi-var-child-f.exp: Likewise.
1678 * gdb.mi/mi-vla-fortran.exp: Likewise.
1679
a5ad232b
FP
16802017-09-08 Frank Penczek <frank.penczek@intel.com>
1681 Christoph Weinmann <christoph.t.weinmann@intel.com>
1682 Bernhard Heckel <bernhard.heckel@intel.com>
1683
1684 * gdb.fortran/ptr-indentation.f90: New file.
1685 * gdb.fortran/ptr-indentation.exp: New file.
1686
5aec60eb
TT
16872017-09-05 Tom Tromey <tom@tromey.com>
1688
1689 PR gdb/22010:
1690 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1691
8f8f8152
TP
16922017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1693
1694 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1695
fbd1b771
JK
16962017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1697
1698 * gdb.threads/tls-nodebug-pie.c: New file.
1699 * gdb.threads/tls-nodebug-pie.exp: New file.
1700
5eb5f850
TT
17012017-09-05 Tom Tromey <tom@tromey.com>
1702
1703 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1704 for rust.
1705
ae780a21
SM
17062017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * gdb.multi/multi-arch-exec.exp: Test with different
1709 "follow-exec-mode" settings.
1710 (do_test): New procedure.
1711
3693fdb3
PA
17122017-09-04 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.base/func-static.c (S::method const, S::method volatile)
1715 (S::method volatile const): New methods.
1716 (c_s, v_s, cv_s): New instances.
1717 (main): Call method() on them.
1718 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1719 (cannot_resolve): New procedure.
1720 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1721 print-quote-unquoted columns.
1722 (do_test): Test printing each scope too.
1723
e68cb8e0
PA
17242017-09-04 Pedro Alves <palves@redhat.com>
1725
1726 * gdb.base/local-static.exp: Also test with
1727 class::method::variable wholly quoted.
1728 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1729
858be34c
PA
17302017-09-04 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.base/local-static.c: New.
1733 * gdb.base/local-static.cc: New.
1734 * gdb.base/local-static.exp: New.
1735
46a4882b
PA
17362017-09-04 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.asm/asm-source.exp: Add casts to int.
1739 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1740 (dataglobal64_1, dataglobal64_2): New globals.
1741 * gdb.base/nodebug.exp: Test different expressions involving the
1742 new globals, with print, whatis and ptype. Add casts to int.
1743 * gdb.base/solib-display.exp: Add casts to int.
1744 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1745 * gdb.cp/m-static.exp: Add cast to int.
1746 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1747 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1748 tls variable with no debug info without a cast. Test with a cast
1749 to int too.
1750 * gdb.trace/entry-values.exp: Add casts.
1751
2c5a2be1
PA
17522017-09-04 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.base/nodebug.exp: Test that ptype's error about functions
1755 with unknown return type includes the function name too.
1756
7022349d
PA
17572017-09-04 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1760 return type of munmap in infcall.
1761 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1762 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1763 type of ftell in infcall.
1764 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1765 type of getpid in infcall.
1766 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1767 infcall.
1768 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1769 Bail on failure to extract the pid.
1770 * gdb.base/nodebug.c: #include <stdint.h>.
1771 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1772 New functions.
1773 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1774 Change expected output of print/whatis/ptype with functions with
1775 no debug info. Test all supported languages. Call
1776 test_call_promotion.
1777 * gdb.compile/compile.exp: Adjust expected output to expect
1778 warning.
1779 * gdb.threads/siginfo-threads.exp: Likewise.
1780
54990598
PA
17812017-09-04 Pedro Alves <palves@redhat.com>
1782
1783 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1784 "prototypes". Test calling float functions via prototyped and
1785 unprototyped function pointers.
1786 (perform_all_tests): New parameter "prototypes". Pass it down.
1787 (top level): Pass down "prototypes" parameter to
1788 perform_all_tests.
1789
34d16ea2
SM
17902017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1791
1792 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1793 Test with nested loops.
1794
9521ecda
SM
17952017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1796
1797 * gdb.base/commands.exp: Call the new procedures.
1798 (loop_break_test, loop_continue_test): New procedures.
1799
80a65e9b
SM
18002017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1801
1802 * gdb.base/commands.exp: Call new procedure.
1803 (define_if_without_arg_test): New procedure.
1804
e439fa14
PA
18052017-09-04 Pedro Alves <palves@redhat.com>
1806
1807 * gdb.base/list-ambiguous.exp: New file.
1808 * gdb.base/list-ambiguous0.c: New file.
1809 * gdb.base/list-ambiguous1.c: New file.
1810 * gdb.base/list.exp (test_list_range): Adjust expected output.
1811
0a2dde4a
SDJ
18122017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1813
1814 * gdb.base/share-env-with-gdbserver.c: New file.
1815 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1816
5e89eb3a
SM
18172017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1818
1819 * gdb.base/commands.exp (gdbvar_simple_if_test,
1820 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1821 progvar_simple_if_test, progvar_simple_while_test,
1822 progvar_complex_if_while_test, user_defined_command_test,
1823 user_defined_command_args_eval,
1824 user_defined_command_args_stack_test,
1825 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1826 temporary_breakpoint_commands,
1827 gdb_test_no_prompt, redefine_hook_test,
1828 redefine_backtrace_test): Remove "global gdb_prompt".
1829
fd437cbc
SM
18302017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1831
1832 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1833 New proc, call it from toplevel.
1834
87215ad1
SDJ
18352017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1836
1837 PR remote/21852
1838 * gdb.server/normal.c: New file, copied from gdb.base.
1839 * gdb.server/run-without-local-binary.exp: New file.
1840
58afddc6
WP
18412017-08-07 Weimin Pan <weimin.pan@oracle.com>
1842
1843 * gdb.arch/sparc64-adi.exp: New file.
1844 * gdb.arch/sparc64-adi.c: New file.
1845
5277199a
PA
18462017-08-22 Pedro Alves <palves@redhat.com>
1847
1848 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1849 (top level): Add "list all overloads" tests.
1850
14278e1f
TT
18512017-08-22 Tom Tromey <tom@tromey.com>
1852
1853 * gdb.gdb/xfullpath.exp: Remove.
1854
bf223d3e
PA
18552017-08-21 Pedro Alves <palves@redhat.com>
1856
1857 PR gdb/19487
1858 * gdb.base/symbol-alias.c: New.
1859 * gdb.base/symbol-alias2.c: New.
1860 * gdb.base/symbol-alias.exp: New.
1861
c973d0aa
PA
18622017-08-21 Pedro Alves <palves@redhat.com>
1863
1864 * gdb.base/dfp-test.c
1865 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1866 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1867 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1868 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1869 * gdb.base/whatis-ptype-typedefs.c: New.
1870 * gdb.base/whatis-ptype-typedefs.exp: New.
1871 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1872 (an_int, an_int_type, an_int_type2): New globals.
1873 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1874 involving typedefs and cast expressions.
1875 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1876 (lookup_typedefs_function): New.
1877 (typedefs_pretty_printers_dict): New.
1878 (top level): Register lookup_typedefs_function in
1879 gdb.pretty_printers.
1880
6d580b63
YQ
18812017-08-18 Yao Qi <yao.qi@linaro.org>
1882
1883 * gdb.server/unittest.exp: New.
1884
206726fb
SDJ
18852017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1886
1887 PR gdb/21954
1888 * gdb.base/environ.exp: Add test to check if 'unset environment'
1889 works.
1890
bf0ec4c2
AA
18912017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1892
1893 * lib/gdb.exp (universal_compile_options): New caching proc.
1894 (gdb_compile): Suppress GCC's coloring of messages.
1895
d6382fff
TT
18962017-08-14 Tom Tromey <tom@tromey.com>
1897
1898 PR gdb/21675:
1899 * gdb.base/printcmds.exp (test_radices): New function.
1900 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1901 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1902 * lib/gdb.exp (get_integer_valueof): Use p/d.
1903
c2c2dd9f
SM
19042017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1905
1906 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1907 characters.
1908
fdffd6f4
TT
19092017-08-05 Tom Tromey <tom@tromey.com>
1910
1911 * gdb.rust/simple.exp: Allow String to appear in a different
1912 namespace.
1913
27d41eac
YQ
19142017-07-26 Yao Qi <yao.qi@linaro.org>
1915
1916 * gdb.gdb/unittest.exp: Invoke command
1917 "maintenance check xml-descriptions".
1918
031ed05d
AA
19192017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1920
1921 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1922 calling context.
1923 (hex128): Drop erroneous calculation of parameters.
1924
dcd27ddf
SM
19252017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1926
1927 * gdb.python/py-unwind.exp: Disable stack protection when
1928 building test file.
1929
47e77640
PA
19302017-07-20 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/default.exp (set language): Adjust expected output.
1933
62d2a18a
PA
19342017-07-20 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1937 (test_minsym): ... this, and make static.
1938 (get_pck__foo__bar__minsym): Rename to ...
1939 (get_test_minsym): ... this.
1940 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1941 symbol names and comments.
1942 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1943 (get_test_minsym): ... this.
1944 (pck__foo__bar__minsym__2): Rename to ...
1945 (test_minsym): ... this.
1946 (main): Adjust.
1947
c45ec17c
PA
19482017-07-17 Pedro Alves <palves@redhat.com>
1949
1950 * gdb.base/completion.exp: Adjust expected output.
1951 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1952 the completer works.
1953
c6756f62
PA
19542017-07-17 Pedro Alves <palves@redhat.com>
1955
1956 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1957
5bd68487
AB
19582017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1959
1960 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1961
8880f2a9
TT
19622017-07-14 Tom Tromey <tom@tromey.com>
1963
1964 PR rust/21764:
1965 * gdb.rust/simple.exp: Add tests.
1966
65547233
TT
19672017-07-14 Tom Tromey <tom@tromey.com>
1968
1969 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1970
8f14146e
PA
19712017-07-14 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.linespec/base/one/thefile.cc (z1): New function.
1974 * gdb.linespec/base/two/thefile.cc (z2): New function.
1975 * gdb.linespec/linespec.exp: Add tests.
1976
b4365d02
AB
19772017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1978
1979 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1980 to mi_create_breakpoint.
1981
5d2cbaa5
AB
19822017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1983
1984 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1985 mi_create_breakpoint.
1986
11cb5716
IB
19872017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1988
1989 * gdb.dlang/demangle.exp: Update for demangling changes.
1990
03278692
TT
19912017-07-09 Tom Tromey <tom@tromey.com>
1992
1993 * gdb.dwarf2/shortpiece.exp: New file.
1994
33c5cd75
DB
19952017-07-06 David Blaikie <dblaikie@gmail.com>
1996
1997 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1998 built from fissiont-multi-cu{1,2}.c.
1999 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2000 except putting 'main' and 'func' in separate CUs in the same DWO file.
2001 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2002 test.
2003 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2004 test.
2005
8455d262
PA
20062017-07-06 Pedro Alves <palves@redhat.com>
2007
2008 * gdb.python/py-unwind.exp: Test flushregs.
2009
dc4bde35
SDJ
20102017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2011
2012 PR cli/21688
2013 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2014 tests for alias commands and trailing whitespace.
2015
51ed89aa
SDJ
20162017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2017
2018 PR cli/21688
2019 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2020 procedure. Call it.
2021
eb17d413
PA
20222017-06-29 Pedro Alves <palves@redhat.com>
2023
2024 * gdb.base/printcmds.exp: Add tests.
2025
41664b45
DG
20262017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2027
2028 PR gdb/21337
2029 * gdb.base/reread-readsym.exp: New file.
2030 * gdb.base/reread-readsym.c: New file.
2031
75312ae3
KB
20322017-06-21 Kevin Buettner <kevinb@redhat.com>
2033
2034 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2035 subpattern.
2036
66953522
PB
20372017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2038
2039 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2040 extended mnemonic.
2041 * gdb.arch/powerpc-power9.s: Likewise.
2042
5524b525
AA
20432017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2044
2045 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2046 on 32-bit x86 targets. Exploit is_*_target macros where
2047 appropriate.
2048
03c8af18
AA
20492017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2050
2051 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2052 register pieces.
2053
3bf31011
AA
20542017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2055
2056 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2057 located in one or more DWARF pieces.
2058
805acca0
AA
20592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2060
2061 * lib/gdb.exp (get_endianness): New proc.
2062 * gdb.arch/aarch64-fp.exp: Use it.
2063 * gdb.arch/altivec-regs.exp: Likewise.
2064 * gdb.arch/e500-regs.exp: Likewise.
2065 * gdb.arch/vsx-regs.exp: Likewise.
2066 * gdb.base/dump.exp: Likewise.
2067 * gdb.base/funcargs.exp: Likewise.
2068 * gdb.base/gnu_vector.exp: Likewise.
2069 * gdb.dwarf2/formdata16.exp: Likewise.
2070 * gdb.dwarf2/implptrpiece.exp: Likewise.
2071 * gdb.dwarf2/nonvar-access.exp: Likewise.
2072 * gdb.python/py-inferior.exp: Likewise.
2073 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2074
e9352324
AA
20752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2076
2077 PR gdb/21226
2078 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2079 stack value pieces are taken from the LSB end.
2080
d5d1163e
AA
20812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2082
2083 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2084 variable at nonzero offset.
2085
0567c986
AA
20862017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2087
2088 * gdb.dwarf2/var-access.c: New file.
2089 * gdb.dwarf2/var-access.exp: New test.
2090 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2091
973e9aab
TT
20922017-06-12 Tom Tromey <tom@tromey.com>
2093
2094 * gdb.dwarf2/formdata16.exp: Add tests.
2095
d9109c80
TT
20962017-06-12 Tom Tromey <tom@tromey.com>
2097
2098 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2099
30a25466
TT
21002017-06-12 Tom Tromey <tom@tromey.com>
2101
2102 PR exp/16225:
2103 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2104 * gdb.arch/vsx-regs.exp: Update tests.
2105 * gdb.arch/s390-vregs.exp (hex128): New proc.
2106 Update test.
2107 * gdb.arch/altivec-regs.exp: Update tests.
2108
aefd8b33
SDJ
21092017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2110
2111 * gdb.base/startup-with-shell.c: New file.
2112 * gdb.base/startup-with-shell.exp: Likewise.
2113
2090129c
SDJ
21142017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2115
2116 * gdb.server/non-existing-program.exp: Update regex in order to
2117 reflect the fact that gdbserver is now using fork_inferior (with a
2118 shell) to startup the inferior.
2119
8e86a419
SM
21202017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2121
2122 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2123 support function calls from GDB.
2124
e6cf65f2
TT
21252017-05-21 Tom Tromey <tom@tromey.com>
2126
2127 PR rust/21466:
2128 * gdb.rust/unsized.exp: New file.
2129 * gdb.rust/unsized.rs: New file.
2130
43cc5389
TT
21312017-05-19 Tom Tromey <tom@tromey.com>
2132
2133 PR rust/21484:
2134 * gdb.rust/watch.exp: New file.
2135 * gdb.rust/watch.rs: New file.
2136
ec8df234
TT
21372017-05-18 Tom Tromey <tom@tromey.com>
2138
2139 * gdb.rust/simple.exp: Allow Box to be qualified.
2140
3e3e7fae
TP
21412017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2142
2143 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2144
59cc050d
PA
21452017-05-18 Pedro Alves <palves@redhat.com>
2146
2147 * gdb.base/fileio.c (test_write, test_read, test_close)
2148 (test_fstat): Don't print 'ret' in the fail path.
2149
c8f6abd1
PA
21502017-05-18 Pedro Alves <palves@redhat.com>
2151
2152 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2153 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2154 (test_system, test_rename, test_unlink, test_time): Change
2155 prototypes.
2156 * gdb.base/fileio.exp (stop_msg): Adjust.
2157
d2a03b77
PA
21582017-05-18 Pedro Alves <palves@redhat.com>
2159
2160 * gdb.base/fileio.c (null_str): New global.
2161 (test_stat): Use it.
2162 * gdb.base/fileio.exp: Remove nowarnings.
2163
0d5c6999
YQ
21642017-05-17 Yao Qi <yao.qi@linaro.org>
2165
2166 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2167
21873064
YQ
21682017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2169
2170 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2171 argument command.
2172 (top-level): Invoke test_set_inferior_tty.
2173
d512d31c
PA
21742017-05-04 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2177 Add parens to print call for Python 3.
2178
90cef2ed
KS
21792017-05-03 Keith Seitz <keiths@redhat.com>
2180
2181 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2182 (main): Call it.
2183
14f819c8
TW
21842017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2185
2186 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2187 to prev and next.
2188
913aeadd
TW
21892017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2190
2191 * gdb.python/py-record-btrace.exp: Remove test for
2192 gdb.BtraceInstruction.error.
2193
a3be24ad
TW
21942017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2195
2196 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2197
ae20e79a
TW
21982017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2199
2200 * gdb.python/py-record-btrace-threads.c: New file.
2201 * gdb.python/py-record-btrace-threads.exp: New file.
2202
45ce1b47
SDJ
22032017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2204
2205 PR testsuite/8595
2206 * gdb.base/environ.exp: Make test available in all architectures.
2207 Move bits related to "info program" testing to
2208 gdb.base/info-program.exp. Rewrite tests to use the two new
2209 procedures mentione below.
2210 (test_set_show_env_var) New procedure.
2211 (test_set_show_env_var_equal): Likewise.
2212 * gdb.base/info-program.exp: New file.
2213
e15c3eb4
KS
22142017-04-27 Keith Seitz <keiths@redhat.com>
2215
2216 * gdb.cp/oranking.cc (test15): New function.
2217 (main): Call test15 and declare additional variables for testing.
2218 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2219 "p foo101('abc')" tests.
2220 Add tests for cv qualifier overloads.
2221 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2222 "lvalue reference overload" test.
2223 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2224 "print value of f1 on Child&& in f2" test.
2225
3a3fd0fd
PA
22262017-04-19 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2229 procedure.
2230 (top level): Call it.
2231 * lib/gdb.exp (gdb_define_cmd): New procedure.
2232
53375380
PA
22332017-04-12 Pedro Alves <palves@redhat.com>
2234
2235 PR gdb/21323
2236 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2237 (wchar): New global.
2238 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2239 (do_test_wide_char, wide_char_types_no_program, top level): Add
2240 wchar_t testing.
2241
53e710ac
PA
22422017-04-12 Pedro Alves <palves@redhat.com>
2243
2244 PR c++/21323
2245 * gdb.cp/wide_char_types.c: New file.
2246 * gdb.cp/wide_char_types.exp: New file.
2247
0ad9d8c7
SDJ
22482017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2249
2250 PR gdb/21352
2251 * gdb.trace/tsv.exp: Add test for "tsave -r".
2252
b1b45502
IB
22532017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2254
2255 * gdb.dlang/watch-loc.c: New file.
2256 * gdb.dlang/watch-loc.exp: New file.
2257
ec13808e
JK
22582017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2259
2260 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2261
fe5f7374
AK
22622017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2263
2264 * gdb.arch/arc-analyze-prologue.S: New file.
2265 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2266
eea78757
AK
22672017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2268
2269 * gdb.arch/arc-decode-insn.S: New file.
2270 * gdb.arch/arc-decode-insn.exp: Likewise.
2271
5badf10a
IR
22722017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2273
2274 PR tdep/20928
2275 * gdb.arch/sparc64-regs.exp: New file.
2276 * gdb.arch/sparc64-regs.S: Likewise.
2277
cee59b3f
TW
22782017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2279
2280 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2281 and memory view on Python 3.
2282
c0f55cc6
AV
22832017-03-20 Artemiy Volkov <artemiyv@acm.org>
2284 Keith Seitz <keiths@redhat.com>
2285
2286 PR gdb/14441
2287 * gdb.cp/demangle.exp: Add rvalue reference tests.
2288 * gdb.cp/rvalue-ref-casts.cc: New file.
2289 * gdb.cp/rvalue-ref-casts.exp: New file.
2290 * gdb.cp/rvalue-ref-overload.cc: New file.
2291 * gdb.cp/rvalue-ref-overload.exp: New file.
2292 * gdb.cp/rvalue-ref-params.cc: New file.
2293 * gdb.cp/rvalue-ref-params.exp: New file.
2294 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2295 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2296 * gdb.cp/rvalue-ref-types.cc: New file.
2297 * gdb.cp/rvalue-ref-types.exp: New file.
2298 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2299 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2300
51457a05
MAL
23012017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2302
2303 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2304 New procedure.
2305
5b291c04
MAL
23062017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2307
2308 * lib/mi-support.exp (mi_gdb_test): Add additional message
2309 for unexpected output.
2310
59a56148
AA
23112017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2312
2313 * gdb.base/examine-backward.c (Barrier): New character array
2314 constant, to ensure that TestStrings is preceded by a string
2315 terminator.
2316
7942e96e
AA
23172017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2318
2319 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2320 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2321 and implicit pointer into such a location.
2322
6ebac3fb
DE
23232017-03-16 Doug Evans <dje@google.com>
2324
2325 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2326
ec3b243d
TP
23272017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2328
2329 * gdb.cp/m-static.exp: Fix expectation for prototype of
2330 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
2331
23322017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
2333
2334 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2335 * gdb.guile/scm-lazy-string.c: New file.
2336 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2337 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2338 for pointer, array, typedef lazy strings.
2339
2cc36e25 23402017-03-16 Doug Evans <dje@google.com>
34b43320
DE
2341
2342 PR python/17728, python/18439, python/18779
2343 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2344 * gdb.python/py-lazy-string.c (pointer): New typedef.
2345 (main): New locals ptr, array, typedef_ptr.
2346 * gdb.python/py-value.exp: Move lazy string tests to ...
2347 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2348 array, typedef lazy strings.
ec3b243d 2349
0efcde63
AK
23502017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2351
2352 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2353 Add optional 'test' parameter.
2354
7978d7c3
SM
23552017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2356
2357 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2358 Skip for versions of DejaGnu < 1.5.
2359
896c0c1e
SM
23602017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2361
2362 * lib/gdb.exp (dejagnu_version): New proc.
2363 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2364 Use dejagnu_version.
2365
5f4d1085
KS
23662017-03-10 Keith Seitz <keiths@redhat.com>
2367
2368 PR c++/8128
2369 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2370 type from destructor regexps.
2371 Add a branch which actually passes the test.
2372 Adjust "ptype t5i" test names.
2373
1de05205
PA
23742017-03-08 Pedro Alves <palves@redhat.com>
2375
2376 * gdb.base/step-over-exit.exp: Add explicit test message.
2377
c65d6b55
PA
23782017-03-08 Pedro Alves <palves@redhat.com>
2379
2380 PR gdb/18360
2381 * gdb.threads/interrupt-while-step-over.c: New file.
2382 * gdb.threads/interrupt-while-step-over.exp: New file.
2383
2e86a283
PA
23842017-03-08 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2387 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2388
25dcbff6
PA
23892017-03-08 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2392 PKRU as not supported as a PASS.
2393
dc9366eb
PA
23942017-03-08 Pedro Alves <palves@redhat.com>
2395
2396 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2397 prefix instead of $binfile1/$binfile2.
2398 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2399 in test message.
2400 * gdb.python/py-completion.exp: Use "load python file" as test
2401 messages instead of unstable path names.
2402
6e5d74e7
PA
24032017-03-08 Pedro Alves <palves@redhat.com>
2404 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 PR cli/21218
2407 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2408 New proc.
2409 (top level): Call it.
2410
9753a2f6
PA
24112017-03-08 Pedro Alves <palves@redhat.com>
2412
2413 PR tui/21216
2414 * gdb.tui/tui-nl-filtered-output.exp: New file.
2415
1a4dd9dd
PA
24162017-03-08 Pedro Alves <palves@redhat.com>
2417
2418 * gdb.base/completion.exp: Move TUI completion tests to ...
2419 * gdb.tui/completion.exp: ... this new file.
2420
7cbbff33
PA
24212017-03-08 Pedro Alves <palves@redhat.com>
2422
2423 * gdb.base/tui-disasm-long-lines.c,
2424 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2425 gdb.base/tui-layout.exp: Move to ...
2426 * gdb.tui/: ... this new directory.
2427
5f6fd321
PA
24282017-03-07 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.base/tui-layout.c: New file.
2431 * gdb.base/tui-layout.exp: New file.
2432
44959fa8
PA
24332017-03-07 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/tui-layout.c: Rename to ...
2436 * gdb.base/tui-disasm-long-lines.c: ... this.
2437 * gdb.base/tui-layout.exp: Rename to ...
2438 * gdb.base/tui-disasm-long-lines.exp: ... this.
2439
f8c4e718
PA
24402017-03-07 Pedro Alves <palves@redhat.com>
2441
2442 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2443
6dbb839a 24442017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
2445
2446 * i386-mpx-call.c: New file.
2447 * i386-mpx-call.exp: New file.
2448
65b48a81
PB
24492017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2450
2451 * gdb.arch/powerpc-power.exp: Delete test.
2452 * gdb.arch/powerpc-power.s: Likewise.
2453 * gdb.disasm/disassembler-options.exp: New test.
2454 * gdb.arch/powerpc-altivec.exp: Likewise.
2455 * gdb.arch/powerpc-altivec.s: Likewise.
2456 * gdb.arch/powerpc-altivec2.exp: Likewise.
2457 * gdb.arch/powerpc-altivec2.s: Likewise.
2458 * gdb.arch/powerpc-altivec3.exp: Likewise.
2459 * gdb.arch/powerpc-altivec3.s: Likewise.
2460 * gdb.arch/powerpc-power7.exp: Likewise.
2461 * gdb.arch/powerpc-power7.s: Likewise.
2462 * gdb.arch/powerpc-power8.exp: Likewise.
2463 * gdb.arch/powerpc-power8.s: Likewise.
2464 * gdb.arch/powerpc-power9.exp: Likewise.
2465 * gdb.arch/powerpc-power9.s: Likewise.
2466 * gdb.arch/powerpc-vsx.exp: Likewise.
2467 * gdb.arch/powerpc-vsx.s: Likewise.
2468 * gdb.arch/powerpc-vsx2.exp: Likewise.
2469 * gdb.arch/powerpc-vsx2.s: Likewise.
2470 * gdb.arch/powerpc-vsx3.exp: Likewise.
2471 * gdb.arch/powerpc-vsx3.s: Likewise.
2472 * gdb.arch/arm-disassembler-options.exp: Likewise.
2473 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2474 * gdb.arch/s390-disassembler-options.exp: Likewise.
2475
17cd4947
LM
24762017-02-23 Luis Machado <lgustavo@codesourcery.com>
2477
2478 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2479 (check_supported_features): ... this. Changed return type to void.
2480 (supports_rdseed): New static global.
2481 (rdseed): Check supports_rdseed.
2482 (initialize): Call check_supported_features.
2483
2039d74e
EBM
24842017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2485
2486 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2487 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2488 and lqarx/stqcx.
2489 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2490 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2491
a51d7ecf
EBM
24922017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2493
2494 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2495 uppercase.
2496
0224619f
JK
24972017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2498
2499 * gdb.dwarf2/formdata16.c: New file.
2500 * gdb.dwarf2/formdata16.exp: New file.
2501 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2502
216f72a1
JK
25032017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2506 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2507 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2508 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2509 DW_AT_GNU_*.
2510
43988095
JK
25112017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2512
2513 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2514
99e8a4f9
SDJ
25152017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2516
2517 PR gdb/21164
2518 * gdb.base/maint.exp: Add testcases for when the commands do
2519 not have arguments.
2520
b58a8c0c
TP
25212017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2522
2523 * gdb.cp/chained-calls.exp: Use p instead of P.
2524
4e746bb6
TW
25252017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2526
2527 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2528 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2529
3f77c769
TT
25302017-02-14 Tom Tromey <tom@tromey.com>
2531
2532 PR python/13598:
2533 * gdb.python/py-events.exp: Add before_prompt event tests.
2534
075beec0
AA
25352017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2536
2537 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2538
bf5f525c
LM
25392017-02-13 Luis Machado <lgustavo@codesourcery.com>
2540
2541 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2542 (main): Call my_unique_function_name.
2543 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2544 completion of patterns with a single match.
2545 Add missing -re switches to gdb_test_multiple calls.
2546
13a66184
LM
25472017-02-13 Luis Machado <lgustavo@codesourcery.com>
2548
2549 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2550 return if core file is not recognized.
2551
26a06916
SM
25522017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2553
2554 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2555 and extra UIs.
2556
b761ca9e
SM
25572017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2558
2559 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2560 proc_with_prefix.
2561
b964bee0
TT
25622017-02-10 Tom Tromey <tom@tromey.com>
2563
2564 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2565
18da0c51
MG
25662017-02-10 Martin Galvan <martingalvan@sourceware.org>
2567
2568 PR gdb/21122
2569 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2570
604c4576
JG
25712017-02-08 Jerome Guitton <guitton@adacore.com>
2572
2573 * gdb.base/define.exp: Add test for command abbreviations
2574 in define.
2575
20b477a7
LM
25762017-02-06 Luis Machado <lgustavo@codesourcery.com>
2577
2578 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2579 * gdb.reverse/insn-reverse-x86.c: New file.
2580
3f7b46f2
IR
25812017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2582
2583 PR tdep/20936
2584 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2585
f0fd41c1
TT
25862017-02-03 Tom Tromey <tom@tromey.com>
2587
2588 PR rust/21097:
2589 * gdb.rust/simple.exp: Add new tests.
2590
5be5dbf0
PA
25912017-02-02 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2594 tests.
2595
7346ef59
AA
25962017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2597
2598 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2599 taking a 2-byte value out of a 4-byte DWARF implicit value on
2600 big-endian targets.
2601 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2602 logic. Add test cases for DW_OP_implicit.
2603
787f0025
MM
26042017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2605
2606 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2607
68777c29
MM
26082017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2609
2610 * gdb.btrace/enable.exp: Call gdb_exit before
2611 skip_gdbserver_tests.
2612
0a1c7e28
MM
26132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2614
2615 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2616 GDBFLAGS.
2617
b5ac99b0
MM
26182017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2619
2620 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2621 the test is skipped.
2622 * gdb.btrace/data.exp: Likewise.
2623 * gdb.btrace/delta.exp: Likewise.
2624 * gdb.btrace/dlopen.exp: Likewise.
2625 * gdb.btrace/enable-running.exp: Likewise.
2626 * gdb.btrace/enable.exp: Likewise.
2627 * gdb.btrace/exception.exp: Likewise.
2628 * gdb.btrace/function_call_history.exp: Likewise.
2629 * gdb.btrace/gcore.exp: Likewise.
2630 * gdb.btrace/instruction_history.exp: Likewise.
2631 * gdb.btrace/multi-thread-step.exp: Likewise.
2632 * gdb.btrace/nohist.exp: Likewise.
2633 * gdb.btrace/non-stop.exp: Likewise.
2634 * gdb.btrace/reconnect.exp: Likewise.
2635 * gdb.btrace/record_goto-step.exp: Likewise.
2636 * gdb.btrace/record_goto.exp: Likewise.
2637 * gdb.btrace/rn-dl-bind.exp: Likewise.
2638 * gdb.btrace/segv.exp: Likewise.
2639 * gdb.btrace/step.exp: Likewise.
2640 * gdb.btrace/stepi.exp: Likewise.
2641 * gdb.btrace/tailcall-only.exp: Likewise.
2642 * gdb.btrace/tailcall.exp: Likewise.
2643 * gdb.btrace/tsx.exp: Likewise.
2644 * gdb.btrace/unknown_functions.exp: Likewise.
2645 * gdb.btrace/vdso.exp: Likewise.
2646
cd4007e4
MM
26472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2648
2649 * gdb.btrace/enable-running.c: New.
2650 * gdb.btrace/enable-running.exp: New.
2651
2735833d
WT
26522017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2653
2654 * gdb.arch/amd64-gs_base.c: New file.
2655 * gdb.arch/amd64-gs_base.exp: New file.
2656
b51e1e94
LM
26572017-01-26 Luis Machado <lgustavo@codesourcery.com>
2658
2659 * lib/memory.exp: Remove spurious empty newlines.
2660
72ca0410
SM
26612017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2662
2663 * gdb.python/py-bad-printers.exp: Load python file using "source".
2664 * gdb.python/py-events.exp: Likewise.
2665 * gdb.python/py-evsignal.exp: Likewise.
2666 * gdb.python/py-evthreads.exp: Likewise.
2667 * gdb.python/py-frame-args.exp: Likewise.
2668 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2669 * gdb.python/py-framefilter-mi.exp: Likewise.
2670 * gdb.python/py-framefilter.exp: Likewise.
2671 * gdb.python/py-mi.exp: Likewise.
2672 * gdb.python/py-pp-maint.exp: Likewise.
2673 * gdb.python/py-pp-registration.exp: Likewise.
2674 * gdb.python/py-prettyprint.exp: Likewise.
2675 (run_lang_tests): Likewise.
2676 * gdb.python/py-typeprint.exp: Likewise.
2677
e309aa65
LM
26782017-01-26 Luis Machado <lgustavo@codesourcery.com>
2679
2680 * lib/memory.exp: New file.
2681 * lib/gdb.exp: Load memory.exp.
2682 * gdb.base/memattr.exp (delete_memory): Move proc to
2683 lib/memory.exp and rename to delete_memory_regions.
2684 Replace delete_memory with delete_memory_regions.
2685 Cleanup memory regions before tests.
2686 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2687 before tests.
2688
515aff23
LM
26892017-01-26 Luis Machado <lgustavo@codesourcery.com>
2690
2691 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2692 files.
2693 (initialize): New function conditionally defined.
2694 (testcases): Move within conditional block.
2695 (main): Call initialize.
2696 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2697 of gdb.reverse/insn-reverse.c.
2698 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2699 gdb.reverse/insn-reverse.c.
2700
d8b49cf0
YQ
27012017-01-26 Yao Qi <yao.qi@linaro.org>
2702
2703 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2704 disassemble on address 0.
2705
f13a9a0c
YQ
27062017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2707 Yao Qi <yao.qi@linaro.org>
2708
2709 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2710 * gdb.dwarf2/implptr-64bit.S: Remove.
2711 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2712 variables in caller's context. Add DW_OP_implicit_value.
2713
5ac95241
YQ
27142017-01-25 Yao Qi <yao.qi@linaro.org>
2715
2716 * lib/dwarf.exp (Dwarf::_location): Handle
2717 DW_OP_GNU_implicit_pointer with proper size.
2718
23e82930
LM
27192017-01-20 Luis Machado <lgustavo@codesourcery.com>
2720
2721 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2722 and add untested calls.
2723
d334ae25
LM
27242017-01-20 Luis Machado <lgustavo@codesourcery.com>
2725
2726 * gdb.python/python.exp: Check line number against what GDB thinks
2727 the line number is for func1.
2728
f5e6296e
IB
27292017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2730
2731 * gdb.dlang/debug-expr.exp: New file.
2732
5b362f04
LM
27332016-12-23 Luis Machado <lgustavo@codesourcery.com>
2734
2735 Fix test names for the following files:
2736
2737 * gdb.ada/exec_changed.exp
2738 * gdb.ada/info_types.exp
2739 * gdb.arch/aarch64-atomic-inst.exp
2740 * gdb.arch/aarch64-fp.exp
2741 * gdb.arch/altivec-abi.exp
2742 * gdb.arch/altivec-regs.exp
2743 * gdb.arch/amd64-byte.exp
2744 * gdb.arch/amd64-disp-step.exp
2745 * gdb.arch/amd64-dword.exp
2746 * gdb.arch/amd64-entry-value-inline.exp
2747 * gdb.arch/amd64-entry-value-param.exp
2748 * gdb.arch/amd64-entry-value-paramref.exp
2749 * gdb.arch/amd64-entry-value.exp
2750 * gdb.arch/amd64-i386-address.exp
2751 * gdb.arch/amd64-invalid-stack-middle.exp
2752 * gdb.arch/amd64-invalid-stack-top.exp
2753 * gdb.arch/amd64-optimout-repeat.exp
2754 * gdb.arch/amd64-prologue-skip.exp
2755 * gdb.arch/amd64-prologue-xmm.exp
2756 * gdb.arch/amd64-stap-special-operands.exp
2757 * gdb.arch/amd64-stap-wrong-subexp.exp
2758 * gdb.arch/amd64-tailcall-cxx.exp
2759 * gdb.arch/amd64-tailcall-noret.exp
2760 * gdb.arch/amd64-tailcall-ret.exp
2761 * gdb.arch/amd64-tailcall-self.exp
2762 * gdb.arch/amd64-word.exp
2763 * gdb.arch/arm-bl-branch-dest.exp
2764 * gdb.arch/arm-disp-step.exp
2765 * gdb.arch/arm-neon.exp
2766 * gdb.arch/arm-single-step-kernel-helper.exp
2767 * gdb.arch/avr-flash-qualifier.exp
2768 * gdb.arch/disp-step-insn-reloc.exp
2769 * gdb.arch/e500-abi.exp
2770 * gdb.arch/e500-regs.exp
2771 * gdb.arch/ftrace-insn-reloc.exp
2772 * gdb.arch/i386-avx512.exp
2773 * gdb.arch/i386-bp_permanent.exp
2774 * gdb.arch/i386-byte.exp
2775 * gdb.arch/i386-cfi-notcurrent.exp
2776 * gdb.arch/i386-disp-step.exp
2777 * gdb.arch/i386-dr3-watch.exp
2778 * gdb.arch/i386-float.exp
2779 * gdb.arch/i386-gnu-cfi.exp
2780 * gdb.arch/i386-mpx-map.exp
2781 * gdb.arch/i386-mpx-sigsegv.exp
2782 * gdb.arch/i386-mpx-simple_segv.exp
2783 * gdb.arch/i386-mpx.exp
2784 * gdb.arch/i386-permbkpt.exp
2785 * gdb.arch/i386-prologue.exp
2786 * gdb.arch/i386-signal.exp
2787 * gdb.arch/i386-size-overlap.exp
2788 * gdb.arch/i386-unwind.exp
2789 * gdb.arch/i386-word.exp
2790 * gdb.arch/mips-fcr.exp
2791 * gdb.arch/powerpc-d128-regs.exp
2792 * gdb.arch/powerpc-stackless.exp
2793 * gdb.arch/ppc64-atomic-inst.exp
2794 * gdb.arch/s390-stackless.exp
2795 * gdb.arch/s390-tdbregs.exp
2796 * gdb.arch/s390-vregs.exp
2797 * gdb.arch/sparc-sysstep.exp
2798 * gdb.arch/thumb-bx-pc.exp
2799 * gdb.arch/thumb-singlestep.exp
2800 * gdb.arch/thumb2-it.exp
2801 * gdb.arch/vsx-regs.exp
2802 * gdb.asm/asm-source.exp
2803 * gdb.base/a2-run.exp
2804 * gdb.base/advance.exp
2805 * gdb.base/all-bin.exp
2806 * gdb.base/anon.exp
2807 * gdb.base/args.exp
2808 * gdb.base/arithmet.exp
2809 * gdb.base/async-shell.exp
2810 * gdb.base/async.exp
2811 * gdb.base/attach-pie-noexec.exp
2812 * gdb.base/attach-twice.exp
2813 * gdb.base/auto-load.exp
2814 * gdb.base/bang.exp
2815 * gdb.base/bitfields.exp
2816 * gdb.base/break-always.exp
2817 * gdb.base/break-caller-line.exp
2818 * gdb.base/break-entry.exp
2819 * gdb.base/break-inline.exp
2820 * gdb.base/break-on-linker-gcd-function.exp
2821 * gdb.base/break-probes.exp
2822 * gdb.base/break.exp
2823 * gdb.base/breakpoint-shadow.exp
2824 * gdb.base/call-ar-st.exp
2825 * gdb.base/call-sc.exp
2826 * gdb.base/call-signal-resume.exp
2827 * gdb.base/call-strs.exp
2828 * gdb.base/callfuncs.exp
2829 * gdb.base/catch-fork-static.exp
2830 * gdb.base/catch-gdb-caused-signals.exp
2831 * gdb.base/catch-load.exp
2832 * gdb.base/catch-signal-fork.exp
2833 * gdb.base/catch-signal.exp
2834 * gdb.base/catch-syscall.exp
2835 * gdb.base/charset.exp
2836 * gdb.base/checkpoint.exp
2837 * gdb.base/chng-syms.exp
2838 * gdb.base/code-expr.exp
2839 * gdb.base/code_elim.exp
2840 * gdb.base/commands.exp
2841 * gdb.base/completion.exp
2842 * gdb.base/complex.exp
2843 * gdb.base/cond-expr.exp
2844 * gdb.base/condbreak.exp
2845 * gdb.base/consecutive.exp
2846 * gdb.base/continue-all-already-running.exp
2847 * gdb.base/coredump-filter.exp
2848 * gdb.base/corefile.exp
2849 * gdb.base/dbx.exp
2850 * gdb.base/debug-expr.exp
2851 * gdb.base/define.exp
2852 * gdb.base/del.exp
2853 * gdb.base/disabled-location.exp
2854 * gdb.base/disasm-end-cu.exp
2855 * gdb.base/disasm-optim.exp
2856 * gdb.base/display.exp
2857 * gdb.base/duplicate-bp.exp
2858 * gdb.base/ena-dis-br.exp
2859 * gdb.base/ending-run.exp
2860 * gdb.base/enumval.exp
2861 * gdb.base/environ.exp
2862 * gdb.base/eu-strip-infcall.exp
2863 * gdb.base/eval-avoid-side-effects.exp
2864 * gdb.base/eval-skip.exp
2865 * gdb.base/exitsignal.exp
2866 * gdb.base/expand-psymtabs.exp
2867 * gdb.base/filesym.exp
2868 * gdb.base/find-unmapped.exp
2869 * gdb.base/finish.exp
2870 * gdb.base/float.exp
2871 * gdb.base/foll-exec-mode.exp
2872 * gdb.base/foll-exec.exp
2873 * gdb.base/foll-fork.exp
2874 * gdb.base/fortran-sym-case.exp
2875 * gdb.base/freebpcmd.exp
2876 * gdb.base/func-ptr.exp
2877 * gdb.base/func-ptrs.exp
2878 * gdb.base/funcargs.exp
2879 * gdb.base/gcore-buffer-overflow.exp
2880 * gdb.base/gcore-relro-pie.exp
2881 * gdb.base/gcore-relro.exp
2882 * gdb.base/gcore.exp
2883 * gdb.base/gdb1090.exp
2884 * gdb.base/gdb11530.exp
2885 * gdb.base/gdb11531.exp
2886 * gdb.base/gdb1821.exp
2887 * gdb.base/gdbindex-stabs.exp
2888 * gdb.base/gdbvars.exp
2889 * gdb.base/hbreak.exp
2890 * gdb.base/hbreak2.exp
2891 * gdb.base/included.exp
2892 * gdb.base/infcall-input.exp
2893 * gdb.base/inferior-died.exp
2894 * gdb.base/infnan.exp
2895 * gdb.base/info-macros.exp
2896 * gdb.base/info-os.exp
2897 * gdb.base/info-proc.exp
2898 * gdb.base/info-shared.exp
2899 * gdb.base/info-target.exp
2900 * gdb.base/infoline.exp
2901 * gdb.base/interp.exp
2902 * gdb.base/interrupt.exp
2903 * gdb.base/jit-reader.exp
2904 * gdb.base/jit-simple.exp
2905 * gdb.base/kill-after-signal.exp
2906 * gdb.base/kill-detach-inferiors-cmd.exp
2907 * gdb.base/label.exp
2908 * gdb.base/langs.exp
2909 * gdb.base/ldbl_e308.exp
2910 * gdb.base/line-symtabs.exp
2911 * gdb.base/linespecs.exp
2912 * gdb.base/list.exp
2913 * gdb.base/long_long.exp
2914 * gdb.base/longest-types.exp
2915 * gdb.base/maint.exp
2916 * gdb.base/max-value-size.exp
2917 * gdb.base/memattr.exp
2918 * gdb.base/mips_pro.exp
2919 * gdb.base/morestack.exp
2920 * gdb.base/moribund-step.exp
2921 * gdb.base/multi-forks.exp
2922 * gdb.base/nested-addr.exp
2923 * gdb.base/nextoverexit.exp
2924 * gdb.base/noreturn-finish.exp
2925 * gdb.base/noreturn-return.exp
2926 * gdb.base/nostdlib.exp
2927 * gdb.base/offsets.exp
2928 * gdb.base/opaque.exp
2929 * gdb.base/pc-fp.exp
2930 * gdb.base/permissions.exp
2931 * gdb.base/print-symbol-loading.exp
2932 * gdb.base/prologue-include.exp
2933 * gdb.base/psymtab.exp
2934 * gdb.base/ptype.exp
2935 * gdb.base/random-signal.exp
2936 * gdb.base/randomize.exp
2937 * gdb.base/range-stepping.exp
2938 * gdb.base/readline-ask.exp
2939 * gdb.base/recpar.exp
2940 * gdb.base/recurse.exp
2941 * gdb.base/relational.exp
2942 * gdb.base/restore.exp
2943 * gdb.base/return-nodebug.exp
2944 * gdb.base/return.exp
2945 * gdb.base/run-after-attach.exp
2946 * gdb.base/save-bp.exp
2947 * gdb.base/scope.exp
2948 * gdb.base/sect-cmd.exp
2949 * gdb.base/set-lang-auto.exp
2950 * gdb.base/set-noassign.exp
2951 * gdb.base/setvar.exp
2952 * gdb.base/sigall.exp
2953 * gdb.base/sigbpt.exp
2954 * gdb.base/siginfo-addr.exp
2955 * gdb.base/siginfo-infcall.exp
2956 * gdb.base/siginfo-obj.exp
2957 * gdb.base/siginfo.exp
2958 * gdb.base/signals-state-child.exp
2959 * gdb.base/signest.exp
2960 * gdb.base/sigstep.exp
2961 * gdb.base/sizeof.exp
2962 * gdb.base/skip.exp
2963 * gdb.base/solib-corrupted.exp
2964 * gdb.base/solib-nodir.exp
2965 * gdb.base/solib-search.exp
2966 * gdb.base/stack-checking.exp
2967 * gdb.base/stale-infcall.exp
2968 * gdb.base/stap-probe.exp
2969 * gdb.base/start.exp
2970 * gdb.base/step-break.exp
2971 * gdb.base/step-bt.exp
2972 * gdb.base/step-line.exp
2973 * gdb.base/step-over-exit.exp
2974 * gdb.base/step-over-syscall.exp
2975 * gdb.base/step-resume-infcall.exp
2976 * gdb.base/step-test.exp
2977 * gdb.base/store.exp
2978 * gdb.base/structs3.exp
2979 * gdb.base/sym-file.exp
2980 * gdb.base/symbol-without-target_section.exp
2981 * gdb.base/term.exp
2982 * gdb.base/testenv.exp
2983 * gdb.base/ui-redirect.exp
2984 * gdb.base/until.exp
2985 * gdb.base/unwindonsignal.exp
2986 * gdb.base/value-double-free.exp
2987 * gdb.base/vla-datatypes.exp
2988 * gdb.base/vla-ptr.exp
2989 * gdb.base/vla-sideeffect.exp
2990 * gdb.base/volatile.exp
2991 * gdb.base/watch-cond-infcall.exp
2992 * gdb.base/watch-cond.exp
2993 * gdb.base/watch-non-mem.exp
2994 * gdb.base/watch-read.exp
2995 * gdb.base/watch-vfork.exp
2996 * gdb.base/watchpoint-cond-gone.exp
2997 * gdb.base/watchpoint-delete.exp
2998 * gdb.base/watchpoint-hw-hit-once.exp
2999 * gdb.base/watchpoint-hw.exp
3000 * gdb.base/watchpoint-stops-at-right-insn.exp
3001 * gdb.base/watchpoints.exp
3002 * gdb.base/wchar.exp
3003 * gdb.base/whatis-exp.exp
3004 * gdb.btrace/buffer-size.exp
3005 * gdb.btrace/data.exp
3006 * gdb.btrace/delta.exp
3007 * gdb.btrace/dlopen.exp
3008 * gdb.btrace/enable.exp
3009 * gdb.btrace/exception.exp
3010 * gdb.btrace/function_call_history.exp
3011 * gdb.btrace/gcore.exp
3012 * gdb.btrace/instruction_history.exp
3013 * gdb.btrace/nohist.exp
3014 * gdb.btrace/reconnect.exp
3015 * gdb.btrace/record_goto-step.exp
3016 * gdb.btrace/record_goto.exp
3017 * gdb.btrace/rn-dl-bind.exp
3018 * gdb.btrace/segv.exp
3019 * gdb.btrace/step.exp
3020 * gdb.btrace/stepi.exp
3021 * gdb.btrace/tailcall-only.exp
3022 * gdb.btrace/tailcall.exp
3023 * gdb.btrace/tsx.exp
3024 * gdb.btrace/unknown_functions.exp
3025 * gdb.btrace/vdso.exp
3026 * gdb.compile/compile-ifunc.exp
3027 * gdb.compile/compile-ops.exp
3028 * gdb.compile/compile-print.exp
3029 * gdb.compile/compile-setjmp.exp
3030 * gdb.cp/abstract-origin.exp
3031 * gdb.cp/ambiguous.exp
3032 * gdb.cp/annota2.exp
3033 * gdb.cp/annota3.exp
3034 * gdb.cp/anon-ns.exp
3035 * gdb.cp/anon-struct.exp
3036 * gdb.cp/anon-union.exp
3037 * gdb.cp/arg-reference.exp
3038 * gdb.cp/baseenum.exp
3039 * gdb.cp/bool.exp
3040 * gdb.cp/breakpoint.exp
3041 * gdb.cp/bs15503.exp
3042 * gdb.cp/call-c.exp
3043 * gdb.cp/casts.exp
3044 * gdb.cp/chained-calls.exp
3045 * gdb.cp/class2.exp
3046 * gdb.cp/classes.exp
3047 * gdb.cp/cmpd-minsyms.exp
3048 * gdb.cp/converts.exp
3049 * gdb.cp/cp-relocate.exp
3050 * gdb.cp/cpcompletion.exp
3051 * gdb.cp/cpexprs.exp
3052 * gdb.cp/cplabel.exp
3053 * gdb.cp/cplusfuncs.exp
3054 * gdb.cp/cpsizeof.exp
3055 * gdb.cp/ctti.exp
3056 * gdb.cp/derivation.exp
3057 * gdb.cp/destrprint.exp
3058 * gdb.cp/dispcxx.exp
3059 * gdb.cp/enum-class.exp
3060 * gdb.cp/exception.exp
3061 * gdb.cp/exceptprint.exp
3062 * gdb.cp/expand-psymtabs-cxx.exp
3063 * gdb.cp/expand-sals.exp
3064 * gdb.cp/extern-c.exp
3065 * gdb.cp/filename.exp
3066 * gdb.cp/formatted-ref.exp
3067 * gdb.cp/fpointer.exp
3068 * gdb.cp/gdb1355.exp
3069 * gdb.cp/gdb2495.exp
3070 * gdb.cp/hang.exp
3071 * gdb.cp/impl-this.exp
3072 * gdb.cp/infcall-dlopen.exp
3073 * gdb.cp/inherit.exp
3074 * gdb.cp/iostream.exp
3075 * gdb.cp/koenig.exp
3076 * gdb.cp/local.exp
3077 * gdb.cp/m-data.exp
3078 * gdb.cp/m-static.exp
3079 * gdb.cp/mb-ctor.exp
3080 * gdb.cp/mb-inline.exp
3081 * gdb.cp/mb-templates.exp
3082 * gdb.cp/member-name.exp
3083 * gdb.cp/member-ptr.exp
3084 * gdb.cp/meth-typedefs.exp
3085 * gdb.cp/method.exp
3086 * gdb.cp/method2.exp
3087 * gdb.cp/minsym-fallback.exp
3088 * gdb.cp/misc.exp
3089 * gdb.cp/namelessclass.exp
3090 * gdb.cp/namespace-enum.exp
3091 * gdb.cp/namespace-nested-import.exp
3092 * gdb.cp/namespace.exp
3093 * gdb.cp/nextoverthrow.exp
3094 * gdb.cp/no-dmgl-verbose.exp
3095 * gdb.cp/non-trivial-retval.exp
3096 * gdb.cp/noparam.exp
3097 * gdb.cp/nsdecl.exp
3098 * gdb.cp/nsimport.exp
3099 * gdb.cp/nsnested.exp
3100 * gdb.cp/nsnoimports.exp
3101 * gdb.cp/nsrecurs.exp
3102 * gdb.cp/nsstress.exp
3103 * gdb.cp/nsusing.exp
3104 * gdb.cp/operator.exp
3105 * gdb.cp/oranking.exp
3106 * gdb.cp/overload-const.exp
3107 * gdb.cp/overload.exp
3108 * gdb.cp/ovldbreak.exp
3109 * gdb.cp/ovsrch.exp
3110 * gdb.cp/paren-type.exp
3111 * gdb.cp/parse-lang.exp
3112 * gdb.cp/pass-by-ref.exp
3113 * gdb.cp/pr-1023.exp
3114 * gdb.cp/pr-1210.exp
3115 * gdb.cp/pr-574.exp
3116 * gdb.cp/pr10687.exp
3117 * gdb.cp/pr12028.exp
3118 * gdb.cp/pr17132.exp
3119 * gdb.cp/pr17494.exp
3120 * gdb.cp/pr9067.exp
3121 * gdb.cp/pr9167.exp
3122 * gdb.cp/pr9631.exp
3123 * gdb.cp/printmethod.exp
3124 * gdb.cp/psmang.exp
3125 * gdb.cp/psymtab-parameter.exp
3126 * gdb.cp/ptype-cv-cp.exp
3127 * gdb.cp/ptype-flags.exp
3128 * gdb.cp/re-set-overloaded.exp
3129 * gdb.cp/ref-types.exp
3130 * gdb.cp/rtti.exp
3131 * gdb.cp/scope-err.exp
3132 * gdb.cp/shadow.exp
3133 * gdb.cp/smartp.exp
3134 * gdb.cp/static-method.exp
3135 * gdb.cp/static-print-quit.exp
3136 * gdb.cp/temargs.exp
3137 * gdb.cp/templates.exp
3138 * gdb.cp/try_catch.exp
3139 * gdb.cp/typedef-operator.exp
3140 * gdb.cp/typeid.exp
3141 * gdb.cp/userdef.exp
3142 * gdb.cp/using-crash.exp
3143 * gdb.cp/var-tag.exp
3144 * gdb.cp/virtbase.exp
3145 * gdb.cp/virtfunc.exp
3146 * gdb.cp/virtfunc2.exp
3147 * gdb.cp/vla-cxx.exp
3148 * gdb.disasm/t01_mov.exp
3149 * gdb.disasm/t02_mova.exp
3150 * gdb.disasm/t03_add.exp
3151 * gdb.disasm/t04_sub.exp
3152 * gdb.disasm/t05_cmp.exp
3153 * gdb.disasm/t06_ari2.exp
3154 * gdb.disasm/t07_ari3.exp
3155 * gdb.disasm/t08_or.exp
3156 * gdb.disasm/t09_xor.exp
3157 * gdb.disasm/t10_and.exp
3158 * gdb.disasm/t11_logs.exp
3159 * gdb.disasm/t12_bit.exp
3160 * gdb.disasm/t13_otr.exp
3161 * gdb.dlang/circular.exp
3162 * gdb.dwarf2/arr-stride.exp
3163 * gdb.dwarf2/arr-subrange.exp
3164 * gdb.dwarf2/atomic-type.exp
3165 * gdb.dwarf2/bad-regnum.exp
3166 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3167 * gdb.dwarf2/callframecfa.exp
3168 * gdb.dwarf2/clztest.exp
3169 * gdb.dwarf2/corrupt.exp
3170 * gdb.dwarf2/data-loc.exp
3171 * gdb.dwarf2/dup-psym.exp
3172 * gdb.dwarf2/dw2-anon-mptr.exp
3173 * gdb.dwarf2/dw2-anonymous-func.exp
3174 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3175 * gdb.dwarf2/dw2-bad-unresolved.exp
3176 * gdb.dwarf2/dw2-basic.exp
3177 * gdb.dwarf2/dw2-canonicalize-type.exp
3178 * gdb.dwarf2/dw2-case-insensitive.exp
3179 * gdb.dwarf2/dw2-common-block.exp
3180 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3181 * gdb.dwarf2/dw2-compressed.exp
3182 * gdb.dwarf2/dw2-const.exp
3183 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3184 * gdb.dwarf2/dw2-cu-size.exp
3185 * gdb.dwarf2/dw2-dup-frame.exp
3186 * gdb.dwarf2/dw2-entry-value.exp
3187 * gdb.dwarf2/dw2-icycle.exp
3188 * gdb.dwarf2/dw2-ifort-parameter.exp
3189 * gdb.dwarf2/dw2-inline-break.exp
3190 * gdb.dwarf2/dw2-inline-param.exp
3191 * gdb.dwarf2/dw2-intercu.exp
3192 * gdb.dwarf2/dw2-intermix.exp
3193 * gdb.dwarf2/dw2-lexical-block-bare.exp
3194 * gdb.dwarf2/dw2-linkage-name-trust.exp
3195 * gdb.dwarf2/dw2-minsym-in-cu.exp
3196 * gdb.dwarf2/dw2-noloc.exp
3197 * gdb.dwarf2/dw2-op-call.exp
3198 * gdb.dwarf2/dw2-op-out-param.exp
3199 * gdb.dwarf2/dw2-opt-structptr.exp
3200 * gdb.dwarf2/dw2-param-error.exp
3201 * gdb.dwarf2/dw2-producer.exp
3202 * gdb.dwarf2/dw2-ranges-base.exp
3203 * gdb.dwarf2/dw2-ref-missing-frame.exp
3204 * gdb.dwarf2/dw2-reg-undefined.exp
3205 * gdb.dwarf2/dw2-regno-invalid.exp
3206 * gdb.dwarf2/dw2-restore.exp
3207 * gdb.dwarf2/dw2-restrict.exp
3208 * gdb.dwarf2/dw2-single-line-discriminators.exp
3209 * gdb.dwarf2/dw2-strp.exp
3210 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3211 * gdb.dwarf2/dw2-unresolved.exp
3212 * gdb.dwarf2/dw2-var-zero-addr.exp
3213 * gdb.dwarf2/dw4-sig-types.exp
3214 * gdb.dwarf2/dwz.exp
3215 * gdb.dwarf2/dynarr-ptr.exp
3216 * gdb.dwarf2/enum-type.exp
3217 * gdb.dwarf2/gdb-index.exp
3218 * gdb.dwarf2/implptr-64bit.exp
3219 * gdb.dwarf2/implptr-optimized-out.exp
3220 * gdb.dwarf2/implptr.exp
3221 * gdb.dwarf2/implref-array.exp
3222 * gdb.dwarf2/implref-const.exp
3223 * gdb.dwarf2/implref-global.exp
3224 * gdb.dwarf2/implref-struct.exp
3225 * gdb.dwarf2/mac-fileno.exp
3226 * gdb.dwarf2/main-subprogram.exp
3227 * gdb.dwarf2/member-ptr-forwardref.exp
3228 * gdb.dwarf2/method-ptr.exp
3229 * gdb.dwarf2/missing-sig-type.exp
3230 * gdb.dwarf2/nonvar-access.exp
3231 * gdb.dwarf2/opaque-type-lookup.exp
3232 * gdb.dwarf2/pieces-optimized-out.exp
3233 * gdb.dwarf2/pieces.exp
3234 * gdb.dwarf2/pr10770.exp
3235 * gdb.dwarf2/pr13961.exp
3236 * gdb.dwarf2/staticvirtual.exp
3237 * gdb.dwarf2/subrange.exp
3238 * gdb.dwarf2/symtab-producer.exp
3239 * gdb.dwarf2/trace-crash.exp
3240 * gdb.dwarf2/typeddwarf.exp
3241 * gdb.dwarf2/valop.exp
3242 * gdb.dwarf2/watch-notconst.exp
3243 * gdb.fortran/array-element.exp
3244 * gdb.fortran/charset.exp
3245 * gdb.fortran/common-block.exp
3246 * gdb.fortran/complex.exp
3247 * gdb.fortran/derived-type-function.exp
3248 * gdb.fortran/derived-type.exp
3249 * gdb.fortran/logical.exp
3250 * gdb.fortran/module.exp
3251 * gdb.fortran/multi-dim.exp
3252 * gdb.fortran/nested-funcs.exp
3253 * gdb.fortran/print-formatted.exp
3254 * gdb.fortran/subarray.exp
3255 * gdb.fortran/vla-alloc-assoc.exp
3256 * gdb.fortran/vla-datatypes.exp
3257 * gdb.fortran/vla-history.exp
3258 * gdb.fortran/vla-ptr-info.exp
3259 * gdb.fortran/vla-ptype-sub.exp
3260 * gdb.fortran/vla-ptype.exp
3261 * gdb.fortran/vla-sizeof.exp
3262 * gdb.fortran/vla-type.exp
3263 * gdb.fortran/vla-value-sub-arbitrary.exp
3264 * gdb.fortran/vla-value-sub-finish.exp
3265 * gdb.fortran/vla-value-sub.exp
3266 * gdb.fortran/vla-value.exp
3267 * gdb.fortran/whatis_type.exp
3268 * gdb.go/chan.exp
3269 * gdb.go/handcall.exp
3270 * gdb.go/hello.exp
3271 * gdb.go/integers.exp
3272 * gdb.go/methods.exp
3273 * gdb.go/package.exp
3274 * gdb.go/strings.exp
3275 * gdb.go/types.exp
3276 * gdb.go/unsafe.exp
3277 * gdb.guile/scm-arch.exp
3278 * gdb.guile/scm-block.exp
3279 * gdb.guile/scm-breakpoint.exp
3280 * gdb.guile/scm-cmd.exp
3281 * gdb.guile/scm-disasm.exp
3282 * gdb.guile/scm-equal.exp
3283 * gdb.guile/scm-frame-args.exp
3284 * gdb.guile/scm-frame-inline.exp
3285 * gdb.guile/scm-frame.exp
3286 * gdb.guile/scm-iterator.exp
3287 * gdb.guile/scm-math.exp
3288 * gdb.guile/scm-objfile.exp
3289 * gdb.guile/scm-ports.exp
3290 * gdb.guile/scm-symbol.exp
3291 * gdb.guile/scm-symtab.exp
3292 * gdb.guile/scm-value-cc.exp
3293 * gdb.guile/types-module.exp
3294 * gdb.linespec/break-ask.exp
3295 * gdb.linespec/cpexplicit.exp
3296 * gdb.linespec/explicit.exp
3297 * gdb.linespec/keywords.exp
3298 * gdb.linespec/linespec.exp
3299 * gdb.linespec/ls-dollar.exp
3300 * gdb.linespec/ls-errs.exp
3301 * gdb.linespec/skip-two.exp
3302 * gdb.linespec/thread.exp
3303 * gdb.mi/mi-async.exp
3304 * gdb.mi/mi-basics.exp
3305 * gdb.mi/mi-break.exp
3306 * gdb.mi/mi-catch-load.exp
3307 * gdb.mi/mi-cli.exp
3308 * gdb.mi/mi-cmd-param-changed.exp
3309 * gdb.mi/mi-console.exp
3310 * gdb.mi/mi-detach.exp
3311 * gdb.mi/mi-disassemble.exp
3312 * gdb.mi/mi-eval.exp
3313 * gdb.mi/mi-file-transfer.exp
3314 * gdb.mi/mi-file.exp
3315 * gdb.mi/mi-fill-memory.exp
3316 * gdb.mi/mi-inheritance-syntax-error.exp
3317 * gdb.mi/mi-linespec-err-cp.exp
3318 * gdb.mi/mi-logging.exp
3319 * gdb.mi/mi-memory-changed.exp
3320 * gdb.mi/mi-read-memory.exp
3321 * gdb.mi/mi-record-changed.exp
3322 * gdb.mi/mi-reg-undefined.exp
3323 * gdb.mi/mi-regs.exp
3324 * gdb.mi/mi-return.exp
3325 * gdb.mi/mi-reverse.exp
3326 * gdb.mi/mi-simplerun.exp
3327 * gdb.mi/mi-solib.exp
3328 * gdb.mi/mi-stack.exp
3329 * gdb.mi/mi-stepi.exp
3330 * gdb.mi/mi-syn-frame.exp
3331 * gdb.mi/mi-until.exp
3332 * gdb.mi/mi-var-block.exp
3333 * gdb.mi/mi-var-child.exp
3334 * gdb.mi/mi-var-cmd.exp
3335 * gdb.mi/mi-var-cp.exp
3336 * gdb.mi/mi-var-display.exp
3337 * gdb.mi/mi-var-invalidate.exp
3338 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3339 * gdb.mi/mi-vla-fortran.exp
3340 * gdb.mi/mi-watch.exp
3341 * gdb.mi/mi2-var-child.exp
3342 * gdb.mi/user-selected-context-sync.exp
3343 * gdb.modula2/unbounded-array.exp
3344 * gdb.multi/dummy-frame-restore.exp
3345 * gdb.multi/multi-arch-exec.exp
3346 * gdb.multi/multi-arch.exp
3347 * gdb.multi/tids.exp
3348 * gdb.multi/watchpoint-multi.exp
3349 * gdb.opencl/callfuncs.exp
3350 * gdb.opencl/convs_casts.exp
3351 * gdb.opencl/datatypes.exp
3352 * gdb.opencl/operators.exp
3353 * gdb.opencl/vec_comps.exp
3354 * gdb.opt/clobbered-registers-O2.exp
3355 * gdb.opt/inline-break.exp
3356 * gdb.opt/inline-bt.exp
3357 * gdb.opt/inline-cmds.exp
3358 * gdb.opt/inline-locals.exp
3359 * gdb.pascal/case-insensitive-symbols.exp
3360 * gdb.pascal/floats.exp
3361 * gdb.pascal/gdb11492.exp
3362 * gdb.python/lib-types.exp
3363 * gdb.python/py-arch.exp
3364 * gdb.python/py-as-string.exp
3365 * gdb.python/py-bad-printers.exp
3366 * gdb.python/py-block.exp
3367 * gdb.python/py-breakpoint-create-fail.exp
3368 * gdb.python/py-breakpoint.exp
3369 * gdb.python/py-caller-is.exp
3370 * gdb.python/py-cmd.exp
3371 * gdb.python/py-explore-cc.exp
3372 * gdb.python/py-explore.exp
3373 * gdb.python/py-finish-breakpoint.exp
3374 * gdb.python/py-finish-breakpoint2.exp
3375 * gdb.python/py-frame-args.exp
3376 * gdb.python/py-frame-inline.exp
3377 * gdb.python/py-frame.exp
3378 * gdb.python/py-framefilter-mi.exp
3379 * gdb.python/py-infthread.exp
3380 * gdb.python/py-lazy-string.exp
3381 * gdb.python/py-linetable.exp
3382 * gdb.python/py-mi-events.exp
3383 * gdb.python/py-mi-objfile.exp
3384 * gdb.python/py-mi.exp
3385 * gdb.python/py-objfile.exp
3386 * gdb.python/py-pp-integral.exp
3387 * gdb.python/py-pp-maint.exp
3388 * gdb.python/py-pp-re-notag.exp
3389 * gdb.python/py-pp-registration.exp
3390 * gdb.python/py-recurse-unwind.exp
3391 * gdb.python/py-strfns.exp
3392 * gdb.python/py-symbol.exp
3393 * gdb.python/py-symtab.exp
3394 * gdb.python/py-sync-interp.exp
3395 * gdb.python/py-typeprint.exp
3396 * gdb.python/py-unwind-maint.exp
3397 * gdb.python/py-unwind.exp
3398 * gdb.python/py-value-cc.exp
3399 * gdb.python/py-xmethods.exp
3400 * gdb.reverse/amd64-tailcall-reverse.exp
3401 * gdb.reverse/break-precsave.exp
3402 * gdb.reverse/break-reverse.exp
3403 * gdb.reverse/consecutive-precsave.exp
3404 * gdb.reverse/consecutive-reverse.exp
3405 * gdb.reverse/finish-precsave.exp
3406 * gdb.reverse/finish-reverse-bkpt.exp
3407 * gdb.reverse/finish-reverse.exp
3408 * gdb.reverse/fstatat-reverse.exp
3409 * gdb.reverse/getresuid-reverse.exp
3410 * gdb.reverse/i386-precsave.exp
3411 * gdb.reverse/i386-reverse.exp
3412 * gdb.reverse/i386-sse-reverse.exp
3413 * gdb.reverse/i387-env-reverse.exp
3414 * gdb.reverse/i387-stack-reverse.exp
3415 * gdb.reverse/insn-reverse.exp
3416 * gdb.reverse/machinestate-precsave.exp
3417 * gdb.reverse/machinestate.exp
3418 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3419 * gdb.reverse/pipe-reverse.exp
3420 * gdb.reverse/readv-reverse.exp
3421 * gdb.reverse/recvmsg-reverse.exp
3422 * gdb.reverse/rerun-prec.exp
3423 * gdb.reverse/s390-mvcle.exp
3424 * gdb.reverse/step-precsave.exp
3425 * gdb.reverse/step-reverse.exp
3426 * gdb.reverse/time-reverse.exp
3427 * gdb.reverse/until-precsave.exp
3428 * gdb.reverse/until-reverse.exp
3429 * gdb.reverse/waitpid-reverse.exp
3430 * gdb.reverse/watch-precsave.exp
3431 * gdb.reverse/watch-reverse.exp
3432 * gdb.rust/generics.exp
3433 * gdb.rust/methods.exp
3434 * gdb.rust/modules.exp
3435 * gdb.rust/simple.exp
3436 * gdb.server/connect-with-no-symbol-file.exp
3437 * gdb.server/ext-attach.exp
3438 * gdb.server/ext-restart.exp
3439 * gdb.server/ext-wrapper.exp
3440 * gdb.server/file-transfer.exp
3441 * gdb.server/server-exec-info.exp
3442 * gdb.server/server-kill.exp
3443 * gdb.server/server-mon.exp
3444 * gdb.server/wrapper.exp
3445 * gdb.stabs/exclfwd.exp
3446 * gdb.stabs/gdb11479.exp
3447 * gdb.threads/clone-new-thread-event.exp
3448 * gdb.threads/corethreads.exp
3449 * gdb.threads/current-lwp-dead.exp
3450 * gdb.threads/dlopen-libpthread.exp
3451 * gdb.threads/gcore-thread.exp
3452 * gdb.threads/sigstep-threads.exp
3453 * gdb.threads/watchpoint-fork.exp
3454 * gdb.trace/actions-changed.exp
3455 * gdb.trace/backtrace.exp
3456 * gdb.trace/change-loc.exp
3457 * gdb.trace/circ.exp
3458 * gdb.trace/collection.exp
3459 * gdb.trace/disconnected-tracing.exp
3460 * gdb.trace/ftrace.exp
3461 * gdb.trace/mi-trace-frame-collected.exp
3462 * gdb.trace/mi-trace-unavailable.exp
3463 * gdb.trace/mi-traceframe-changed.exp
3464 * gdb.trace/mi-tsv-changed.exp
3465 * gdb.trace/no-attach-trace.exp
3466 * gdb.trace/passc-dyn.exp
3467 * gdb.trace/qtro.exp
3468 * gdb.trace/range-stepping.exp
3469 * gdb.trace/read-memory.exp
3470 * gdb.trace/save-trace.exp
3471 * gdb.trace/signal.exp
3472 * gdb.trace/status-stop.exp
3473 * gdb.trace/tfile.exp
3474 * gdb.trace/trace-break.exp
3475 * gdb.trace/trace-buffer-size.exp
3476 * gdb.trace/trace-condition.exp
3477 * gdb.trace/tracefile-pseudo-reg.exp
3478 * gdb.trace/tstatus.exp
3479 * gdb.trace/unavailable.exp
3480 * gdb.trace/while-dyn.exp
3481 * gdb.trace/while-stepping.exp
3482
34c41c68
DE
34832016-12-22 Doug Evans <xdje42@gmail.com>
3484
3485 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3486 and msymbols.
3487
16e69324
YQ
34882016-12-19 Yao Qi <yao.qi@linaro.org>
3489
3490 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3491 (test_with_self): Don't call do_steps_and_nexts, and remove
3492 code about stepping into xmalloc.
3493
f94f411b
YQ
34942016-12-09 Yao Qi <yao.qi@linaro.org>
3495
3496 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3497
34982016-12-09 Yao Qi <yao.qi@linaro.org>
3499
3500 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3501
f1b5deee
PA
35022016-12-09 Pedro Alves <palves@redhat.com>
3503
3504 * gdb.base/all-architectures-0.exp: New file.
3505 * gdb.base/all-architectures-1.exp: New file.
3506 * gdb.base/all-architectures-2.exp: New file.
3507 * gdb.base/all-architectures-3.exp: New file.
3508 * gdb.base/all-architectures-4.exp: New file.
3509 * gdb.base/all-architectures-5.exp: New file.
3510 * gdb.base/all-architectures-6.exp: New file.
3511 * gdb.base/all-architectures-7.exp: New file.
3512 * gdb.base/all-architectures.exp.in: New file.
3513
364ca42e
YQ
35142016-12-09 Yao Qi <yao.qi@linaro.org>
3515
3516 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3517
107c2d62
LM
35182016-12-02 Luis Machado <lgustavo@codesourcery.com>
3519
3520 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3521 possible.
3522 Remove useless pattern-matching code.
3523
df3ee9ca
PA
35242016-12-02 Pedro Alves <palves@redhat.com>
3525
3526 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3527 procedure.
3528 (top level): Call it.
3529
ec835369
PA
35302016-12-02 Pedro Alves <palves@redhat.com>
3531
3532 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3533 New procedure.
3534 (top level): Call it.
3535
01770bbd
PA
35362016-12-02 Pedro Alves <palves@redhat.com>
3537
3538 PR cli/20559
3539 * gdb.base/commands.exp (user_defined_command_args_eval): New
3540 procedure.
3541 (top level): Call it.
3542
008459ea
LM
35432016-12-02 Luis Machado <lgustavo@codesourcery.com>
3544
3545 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3546 timeout handling.
3547
0c1b455e
TT
35482016-12-02 Tom Tromey <tom@tromey.com>
3549
3550 * gdb.dwarf2/main-subprogram.c: New file.
3551 * gdb.dwarf2/main-subprogram.exp: New file.
3552
018572b8
LM
35532016-12-01 Luis Machado <lgustavo@codesourcery.com>
3554
3555 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3556 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3557 gdb_test_no_output for a couple of cases.
3558 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3559
84c93cd5
LM
35602016-12-01 Luis Machado <lgustavo@codesourcery.com>
3561
3562 Fix test names and standardize compilation error messages throughout
3563 the following files:
3564
3565 * gdb.ada/start.exp
3566 * gdb.arch/alpha-step.exp
3567 * gdb.arch/e500-prologue.exp
3568 * gdb.arch/ftrace-insn-reloc.exp
3569 * gdb.arch/gdb1291.exp
3570 * gdb.arch/gdb1431.exp
3571 * gdb.arch/gdb1558.exp
3572 * gdb.arch/i386-dr3-watch.exp
3573 * gdb.arch/i386-sse-stack-align.exp
3574 * gdb.arch/ia64-breakpoint-shadow.exp
3575 * gdb.arch/pa-nullify.exp
3576 * gdb.arch/powerpc-aix-prologue.exp
3577 * gdb.arch/thumb-bx-pc.exp
3578 * gdb.base/annota1.exp
3579 * gdb.base/annota3.exp
3580 * gdb.base/arrayidx.exp
3581 * gdb.base/assign.exp
3582 * gdb.base/attach.exp
3583 * gdb.base/auxv.exp
3584 * gdb.base/bang.exp
3585 * gdb.base/bfp-test.exp
3586 * gdb.base/bigcore.exp
3587 * gdb.base/bitfields2.exp
3588 * gdb.base/break-fun-addr.exp
3589 * gdb.base/break-probes.exp
3590 * gdb.base/call-rt-st.exp
3591 * gdb.base/callexit.exp
3592 * gdb.base/catch-fork-kill.exp
3593 * gdb.base/charset.exp
3594 * gdb.base/checkpoint.exp
3595 * gdb.base/comprdebug.exp
3596 * gdb.base/constvars.exp
3597 * gdb.base/coredump-filter.exp
3598 * gdb.base/cursal.exp
3599 * gdb.base/cvexpr.exp
3600 * gdb.base/detach.exp
3601 * gdb.base/display.exp
3602 * gdb.base/dmsym.exp
3603 * gdb.base/dprintf-pending.exp
3604 * gdb.base/dso2dso.exp
3605 * gdb.base/dtrace-probe.exp
3606 * gdb.base/dump.exp
3607 * gdb.base/enum_cond.exp
3608 * gdb.base/exe-lock.exp
3609 * gdb.base/exec-invalid-sysroot.exp
3610 * gdb.base/execl-update-breakpoints.exp
3611 * gdb.base/exprs.exp
3612 * gdb.base/fileio.exp
3613 * gdb.base/find.exp
3614 * gdb.base/finish.exp
3615 * gdb.base/fixsection.exp
3616 * gdb.base/foll-vfork.exp
3617 * gdb.base/frame-args.exp
3618 * gdb.base/gcore.exp
3619 * gdb.base/gdb1250.exp
3620 * gdb.base/global-var-nested-by-dso.exp
3621 * gdb.base/gnu-ifunc.exp
3622 * gdb.base/hashline1.exp
3623 * gdb.base/hashline2.exp
3624 * gdb.base/hashline3.exp
3625 * gdb.base/hbreak-in-shr-unsupported.exp
3626 * gdb.base/huge.exp
3627 * gdb.base/infcall-input.exp
3628 * gdb.base/info-fun.exp
3629 * gdb.base/info-shared.exp
3630 * gdb.base/jit-simple.exp
3631 * gdb.base/jit-so.exp
3632 * gdb.base/jit.exp
3633 * gdb.base/jump.exp
3634 * gdb.base/label.exp
3635 * gdb.base/lineinc.exp
3636 * gdb.base/logical.exp
3637 * gdb.base/longjmp.exp
3638 * gdb.base/macscp.exp
3639 * gdb.base/miscexprs.exp
3640 * gdb.base/new-ui-echo.exp
3641 * gdb.base/new-ui-pending-input.exp
3642 * gdb.base/new-ui.exp
3643 * gdb.base/nodebug.exp
3644 * gdb.base/nofield.exp
3645 * gdb.base/offsets.exp
3646 * gdb.base/overlays.exp
3647 * gdb.base/pending.exp
3648 * gdb.base/pointers.exp
3649 * gdb.base/pr11022.exp
3650 * gdb.base/printcmds.exp
3651 * gdb.base/prologue.exp
3652 * gdb.base/ptr-typedef.exp
3653 * gdb.base/realname-expand.exp
3654 * gdb.base/relativedebug.exp
3655 * gdb.base/relocate.exp
3656 * gdb.base/remote.exp
3657 * gdb.base/reread.exp
3658 * gdb.base/return2.exp
3659 * gdb.base/savedregs.exp
3660 * gdb.base/sep.exp
3661 * gdb.base/sepdebug.exp
3662 * gdb.base/sepsymtab.exp
3663 * gdb.base/set-inferior-tty.exp
3664 * gdb.base/setshow.exp
3665 * gdb.base/shlib-call.exp
3666 * gdb.base/sigaltstack.exp
3667 * gdb.base/siginfo-addr.exp
3668 * gdb.base/signals.exp
3669 * gdb.base/signull.exp
3670 * gdb.base/sigrepeat.exp
3671 * gdb.base/so-impl-ld.exp
3672 * gdb.base/solib-display.exp
3673 * gdb.base/solib-overlap.exp
3674 * gdb.base/solib-search.exp
3675 * gdb.base/solib-symbol.exp
3676 * gdb.base/structs.exp
3677 * gdb.base/structs2.exp
3678 * gdb.base/symtab-search-order.exp
3679 * gdb.base/twice.exp
3680 * gdb.base/unload.exp
3681 * gdb.base/varargs.exp
3682 * gdb.base/watchpoint-solib.exp
3683 * gdb.base/watchpoint.exp
3684 * gdb.base/whatis.exp
3685 * gdb.base/wrong_frame_bt_full.exp
3686 * gdb.btrace/dlopen.exp
3687 * gdb.cell/ea-standalone.exp
3688 * gdb.cell/ea-test.exp
3689 * gdb.cp/dispcxx.exp
3690 * gdb.cp/gdb2384.exp
3691 * gdb.cp/method2.exp
3692 * gdb.cp/nextoverthrow.exp
3693 * gdb.cp/pr10728.exp
3694 * gdb.disasm/am33.exp
3695 * gdb.disasm/h8300s.exp
3696 * gdb.disasm/mn10300.exp
3697 * gdb.disasm/sh3.exp
3698 * gdb.dwarf2/dw2-dir-file-name.exp
3699 * gdb.fortran/complex.exp
3700 * gdb.fortran/library-module.exp
3701 * gdb.guile/scm-pretty-print.exp
3702 * gdb.guile/scm-symbol.exp
3703 * gdb.guile/scm-type.exp
3704 * gdb.guile/scm-value.exp
3705 * gdb.linespec/linespec.exp
3706 * gdb.mi/gdb701.exp
3707 * gdb.mi/gdb792.exp
3708 * gdb.mi/mi-breakpoint-changed.exp
3709 * gdb.mi/mi-dprintf-pending.exp
3710 * gdb.mi/mi-dprintf.exp
3711 * gdb.mi/mi-exit-code.exp
3712 * gdb.mi/mi-pending.exp
3713 * gdb.mi/mi-solib.exp
3714 * gdb.mi/new-ui-mi-sync.exp
3715 * gdb.mi/pr11022.exp
3716 * gdb.mi/user-selected-context-sync.exp
3717 * gdb.opt/solib-intra-step.exp
3718 * gdb.python/py-events.exp
3719 * gdb.python/py-finish-breakpoint.exp
3720 * gdb.python/py-mi.exp
3721 * gdb.python/py-prettyprint.exp
3722 * gdb.python/py-shared.exp
3723 * gdb.python/py-symbol.exp
3724 * gdb.python/py-template.exp
3725 * gdb.python/py-type.exp
3726 * gdb.python/py-value.exp
3727 * gdb.reverse/solib-precsave.exp
3728 * gdb.reverse/solib-reverse.exp
3729 * gdb.server/solib-list.exp
3730 * gdb.stabs/weird.exp
3731 * gdb.threads/reconnect-signal.exp
3732 * gdb.threads/stepi-random-signal.exp
3733 * gdb.trace/actions.exp
3734 * gdb.trace/ax.exp
3735 * gdb.trace/backtrace.exp
3736 * gdb.trace/change-loc.exp
3737 * gdb.trace/deltrace.exp
3738 * gdb.trace/ftrace-lock.exp
3739 * gdb.trace/ftrace.exp
3740 * gdb.trace/infotrace.exp
3741 * gdb.trace/mi-tracepoint-changed.exp
3742 * gdb.trace/packetlen.exp
3743 * gdb.trace/passcount.exp
3744 * gdb.trace/pending.exp
3745 * gdb.trace/range-stepping.exp
3746 * gdb.trace/report.exp
3747 * gdb.trace/stap-trace.exp
3748 * gdb.trace/tfind.exp
3749 * gdb.trace/trace-break.exp
3750 * gdb.trace/trace-condition.exp
3751 * gdb.trace/trace-enable-disable.exp
3752 * gdb.trace/trace-mt.exp
3753 * gdb.trace/tracecmd.exp
3754 * gdb.trace/tspeed.exp
3755 * gdb.trace/tsv.exp
3756 * lib/perftest.exp
3757
fb9feb35
LM
37582016-12-01 Luis Machado <lgustavo@codesourcery.com>
3759
3760 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3761 with gdb_test_no_output.
3762 Use command as test name.
3763
cd2ddb6c
LM
37642016-12-01 Luis Machado <lgustavo@codesourcery.com>
3765
3766 Fix test names starting with uppercase throughout the files.
3767
3768 * gdb.ada/assign_1.exp
3769 * gdb.ada/boolean_expr.exp
3770 * gdb.base/arrayidx.exp
3771 * gdb.base/del.exp
3772 * gdb.base/gcore-buffer-overflow.exp
3773 * gdb.base/testenv.exp
3774 * gdb.compile/compile.exp
3775 * gdb.python/py-framefilter-invalidarg.exp
3776 * gdb.python/py-framefilter.exp
3777
bb95117e
LM
37782016-12-01 Luis Machado <lgustavo@codesourcery.com>
3779
3780 Fix test names starting with uppercase throughout the files.
3781
3782 * gdb.ada/array_return.exp
3783 * gdb.ada/expr_delims.exp
3784 * gdb.ada/mi_dyn_arr.exp
3785 * gdb.ada/mi_interface.exp
3786 * gdb.ada/mi_var_array.exp
3787 * gdb.ada/watch_arg.exp
3788 * gdb.arch/alpha-step.exp
3789 * gdb.arch/altivec-regs.exp
3790 * gdb.arch/e500-regs.exp
3791 * gdb.arch/powerpc-d128-regs.exp
3792 * gdb.base/arrayidx.exp
3793 * gdb.base/break.exp
3794 * gdb.base/checkpoint.exp
3795 * gdb.base/debug-expr.exp
3796 * gdb.base/dmsym.exp
3797 * gdb.base/radix.exp
3798 * gdb.base/sepdebug.exp
3799 * gdb.base/testenv.exp
3800 * gdb.base/watch_thread_num.exp
3801 * gdb.base/watchpoint-cond-gone.exp
3802 * gdb.cell/break.exp
3803 * gdb.cell/ea-cache.exp
3804 * gdb.compile/compile.exp
3805 * gdb.cp/gdb2495.exp
3806 * gdb.gdb/selftest.exp
3807 * gdb.gdb/xfullpath.exp
3808 * gdb.go/hello.exp
3809 * gdb.go/integers.exp
3810 * gdb.objc/basicclass.exp
3811 * gdb.pascal/hello.exp
3812 * gdb.pascal/integers.exp
3813 * gdb.python/py-breakpoint.exp
3814 * gdb.python/py-cmd.exp
3815 * gdb.python/py-linetable.exp
3816 * gdb.python/py-xmethods.exp
3817 * gdb.python/python.exp
3818 * gdb.reverse/consecutive-precsave.exp
3819 * gdb.reverse/finish-precsave.exp
3820 * gdb.reverse/i386-precsave.exp
3821 * gdb.reverse/machinestate-precsave.exp
3822 * gdb.reverse/sigall-precsave.exp
3823 * gdb.reverse/solib-precsave.exp
3824 * gdb.reverse/step-precsave.exp
3825 * gdb.reverse/until-precsave.exp
3826 * gdb.reverse/watch-precsave.exp
3827 * gdb.threads/leader-exit.exp
3828 * gdb.threads/pthreads.exp
3829 * gdb.threads/wp-replication.exp
3830 * gdb.trace/actions.exp
3831 * gdb.trace/mi-tsv-changed.exp
3832 * gdb.trace/tsv.exp
3833
de97fdd4
LM
38342016-12-01 Luis Machado <lgustavo@codesourcery.com>
3835
3836 Fix test names starting with uppercase throughout the files.
3837
3838 * gdb.arch/i386-bp_permanent.exp
3839 * gdb.arch/i386-gnu-cfi.exp
3840 * gdb.base/disasm-end-cu.exp
3841 * gdb.base/macscp.exp
3842 * gdb.base/pending.exp
3843 * gdb.base/watch_thread_num.exp
3844 * gdb.cp/exception.exp
3845 * gdb.cp/gdb2495.exp
3846 * gdb.cp/local.exp
3847 * gdb.python/py-evsignal.exp
3848 * gdb.python/python.exp
3849 * gdb.trace/tracecmd.exp
3850
9f058c10
LM
38512016-12-01 Luis Machado <lgustavo@codesourcery.com>
3852
3853 Fix test names starting with uppercase throughout the files.
3854
3855 * gdb.base/charset.exp
3856 * gdb.base/eval.exp
3857 * gdb.base/multi-forks.exp
3858 * gdb.guile/scm-progspace.exp
3859 * gdb.opencl/datatypes.exp
3860 * gdb.python/py-block.exp
3861 * gdb.python/py-function.exp
3862 * gdb.python/py-symbol.exp
3863 * gdb.python/py-symtab.exp
3864 * gdb.python/py-xmethods.exp
3865 * gdb.reverse/break-precsave.exp
3866 * gdb.reverse/break-reverse.exp
3867 * gdb.reverse/consecutive-precsave.exp
3868 * gdb.reverse/consecutive-reverse.exp
3869 * gdb.reverse/finish-precsave.exp
3870 * gdb.reverse/finish-reverse-bkpt.exp
3871 * gdb.reverse/finish-reverse.exp
3872 * gdb.reverse/fstatat-reverse.exp
3873 * gdb.reverse/getresuid-reverse.exp
3874 * gdb.reverse/i386-precsave.exp
3875 * gdb.reverse/i386-reverse.exp
3876 * gdb.reverse/i386-sse-reverse.exp
3877 * gdb.reverse/i387-stack-reverse.exp
3878 * gdb.reverse/insn-reverse.exp
3879 * gdb.reverse/machinestate-precsave.exp
3880 * gdb.reverse/machinestate.exp
3881 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3882 * gdb.reverse/pipe-reverse.exp
3883 * gdb.reverse/readv-reverse.exp
3884 * gdb.reverse/recvmsg-reverse.exp
3885 * gdb.reverse/rerun-prec.exp
3886 * gdb.reverse/s390-mvcle.exp
3887 * gdb.reverse/sigall-precsave.exp
3888 * gdb.reverse/sigall-reverse.exp
3889 * gdb.reverse/solib-precsave.exp
3890 * gdb.reverse/solib-reverse.exp
3891 * gdb.reverse/step-precsave.exp
3892 * gdb.reverse/step-reverse.exp
3893 * gdb.reverse/time-reverse.exp
3894 * gdb.reverse/until-precsave.exp
3895 * gdb.reverse/until-reverse.exp
3896 * gdb.reverse/waitpid-reverse.exp
3897 * gdb.reverse/watch-precsave.exp
3898 * gdb.reverse/watch-reverse.exp
3899
cdc7edd7
LM
39002016-12-01 Luis Machado <lgustavo@codesourcery.com>
3901
3902 Fix test names starting with uppercase throughout the files.
3903
3904 * gdb.arch/i386-mpx-simple_segv.exp
3905 * gdb.arch/i386-mpx.exp
3906 * gdb.arch/i386-permbkpt.exp
3907 * gdb.arch/pa-nullify.exp
3908 * gdb.arch/powerpc-d128-regs.exp
3909 * gdb.arch/vsx-regs.exp
3910 * gdb.base/bfp-test.exp
3911 * gdb.base/break.exp
3912 * gdb.base/breakpoint-shadow.exp
3913 * gdb.base/callfuncs.exp
3914 * gdb.base/charset.exp
3915 * gdb.base/commands.exp
3916 * gdb.base/completion.exp
3917 * gdb.base/dfp-test.exp
3918 * gdb.base/echo.exp
3919 * gdb.base/ending-run.exp
3920 * gdb.base/eval.exp
3921 * gdb.base/expand-psymtabs.exp
3922 * gdb.base/float128.exp
3923 * gdb.base/floatn.exp
3924 * gdb.base/foll-exec-mode.exp
3925 * gdb.base/gdb1056.exp
3926 * gdb.base/gdb11531.exp
3927 * gdb.base/kill-after-signal.exp
3928 * gdb.base/multi-forks.exp
3929 * gdb.base/overlays.exp
3930 * gdb.base/pending.exp
3931 * gdb.base/sepdebug.exp
3932 * gdb.base/testenv.exp
3933 * gdb.base/valgrind-db-attach.exp
3934 * gdb.base/watch_thread_num.exp
3935 * gdb.base/watchpoint-cond-gone.exp
3936 * gdb.base/watchpoint.exp
3937 * gdb.base/watchpoints.exp
3938 * gdb.cp/arg-reference.exp
3939 * gdb.cp/baseenum.exp
3940 * gdb.cp/operator.exp
3941 * gdb.cp/shadow.exp
3942 * gdb.dwarf2/dw2-op-out-param.exp
3943 * gdb.dwarf2/dw2-reg-undefined.exp
3944 * gdb.go/chan.exp
3945 * gdb.go/hello.exp
3946 * gdb.go/integers.exp
3947 * gdb.go/methods.exp
3948 * gdb.go/package.exp
3949 * gdb.guile/scm-parameter.exp
3950 * gdb.guile/scm-progspace.exp
3951 * gdb.guile/scm-value.exp
3952 * gdb.mi/mi-pending.exp
3953 * gdb.mi/user-selected-context-sync.exp
3954 * gdb.multi/multi-attach.exp
3955 * gdb.multi/tids.exp
3956 * gdb.opt/clobbered-registers-O2.exp
3957 * gdb.pascal/floats.exp
3958 * gdb.pascal/integers.exp
3959 * gdb.python/py-block.exp
3960 * gdb.python/py-events.exp
3961 * gdb.python/py-parameter.exp
3962 * gdb.python/py-symbol.exp
3963 * gdb.python/py-symtab.exp
3964 * gdb.python/py-type.exp
3965 * gdb.python/py-value.exp
3966 * gdb.python/py-xmethods.exp
3967 * gdb.python/python.exp
3968 * gdb.reverse/break-precsave.exp
3969 * gdb.reverse/consecutive-precsave.exp
3970 * gdb.reverse/finish-precsave.exp
3971 * gdb.reverse/i386-precsave.exp
3972 * gdb.reverse/machinestate-precsave.exp
3973 * gdb.reverse/sigall-precsave.exp
3974 * gdb.reverse/solib-precsave.exp
3975 * gdb.reverse/step-precsave.exp
3976 * gdb.reverse/until-precsave.exp
3977 * gdb.reverse/watch-precsave.exp
3978 * gdb.server/ext-attach.exp
3979 * gdb.server/ext-restart.exp
3980 * gdb.server/ext-run.exp
3981 * gdb.server/ext-wrapper.exp
3982 * gdb.stabs/gdb11479.exp
3983 * gdb.stabs/weird.exp
3984 * gdb.threads/attach-many-short-lived-threads.exp
3985 * gdb.threads/kill.exp
3986 * gdb.threads/watchpoint-fork.exp
3987
bc6c7af4
LM
39882016-12-01 Luis Machado <lgustavo@codesourcery.com>
3989
3990 Fix test names starting with uppercase throughout all the files below.
3991
3992 * gdb.ada/array_return.exp
3993 * gdb.ada/catch_ex.exp
3994 * gdb.ada/info_exc.exp
3995 * gdb.ada/mi_catch_ex.exp
3996 * gdb.ada/mi_dyn_arr.exp
3997 * gdb.ada/mi_ex_cond.exp
3998 * gdb.ada/mi_exc_info.exp
3999 * gdb.ada/mi_interface.exp
4000 * gdb.ada/mi_task_arg.exp
4001 * gdb.ada/mi_task_info.exp
4002 * gdb.ada/mi_var_array.exp
4003 * gdb.arch/alpha-step.exp
4004 * gdb.arch/amd64-disp-step.exp
4005 * gdb.arch/arm-disp-step.exp
4006 * gdb.arch/disp-step-insn-reloc.exp
4007 * gdb.arch/e500-prologue.exp
4008 * gdb.arch/ftrace-insn-reloc.exp
4009 * gdb.arch/gdb1558.exp
4010 * gdb.arch/i386-bp_permanent.exp
4011 * gdb.arch/i386-disp-step.exp
4012 * gdb.arch/i386-float.exp
4013 * gdb.arch/i386-gnu-cfi.exp
4014 * gdb.arch/ia64-breakpoint-shadow.exp
4015 * gdb.arch/mips16-thunks.exp
4016 * gdb.arch/pa-nullify.exp
4017 * gdb.arch/powerpc-aix-prologue.exp
4018 * gdb.arch/powerpc-power.exp
4019 * gdb.arch/ppc-dfp.exp
4020 * gdb.arch/s390-tdbregs.exp
4021 * gdb.arch/spu-info.exp
4022 * gdb.arch/spu-ls.exp
4023 * gdb.arch/thumb-bx-pc.exp
4024 * gdb.base/advance.exp
4025 * gdb.base/annota-input-while-running.exp
4026 * gdb.base/arrayidx.exp
4027 * gdb.base/asmlabel.exp
4028 * gdb.base/async.exp
4029 * gdb.base/attach-wait-input.exp
4030 * gdb.base/auto-connect-native-target.exp
4031 * gdb.base/batch-preserve-term-settings.exp
4032 * gdb.base/bfp-test.exp
4033 * gdb.base/bigcore.exp
4034 * gdb.base/bp-permanent.exp
4035 * gdb.base/break-always.exp
4036 * gdb.base/break-fun-addr.exp
4037 * gdb.base/break-idempotent.exp
4038 * gdb.base/break-main-file-remove-fail.exp
4039 * gdb.base/break-probes.exp
4040 * gdb.base/break-unload-file.exp
4041 * gdb.base/break.exp
4042 * gdb.base/call-ar-st.exp
4043 * gdb.base/call-rt-st.exp
4044 * gdb.base/call-sc.exp
4045 * gdb.base/call-signal-resume.exp
4046 * gdb.base/call-strs.exp
4047 * gdb.base/callexit.exp
4048 * gdb.base/callfuncs.exp
4049 * gdb.base/catch-gdb-caused-signals.exp
4050 * gdb.base/catch-signal-siginfo-cond.exp
4051 * gdb.base/catch-syscall.exp
4052 * gdb.base/compare-sections.exp
4053 * gdb.base/cond-eval-mode.exp
4054 * gdb.base/condbreak-call-false.exp
4055 * gdb.base/consecutive-step-over.exp
4056 * gdb.base/cursal.exp
4057 * gdb.base/disabled-location.exp
4058 * gdb.base/disasm-end-cu.exp
4059 * gdb.base/display.exp
4060 * gdb.base/double-prompt-target-event-error.exp
4061 * gdb.base/dprintf-bp-same-addr.exp
4062 * gdb.base/dprintf-detach.exp
4063 * gdb.base/dprintf-next.exp
4064 * gdb.base/dprintf-non-stop.exp
4065 * gdb.base/dprintf-pending.exp
4066 * gdb.base/dso2dso.exp
4067 * gdb.base/ending-run.exp
4068 * gdb.base/enum_cond.exp
4069 * gdb.base/examine-backward.exp
4070 * gdb.base/exe-lock.exp
4071 * gdb.base/exec-invalid-sysroot.exp
4072 * gdb.base/execl-update-breakpoints.exp
4073 * gdb.base/execution-termios.exp
4074 * gdb.base/fileio.exp
4075 * gdb.base/fixsection.exp
4076 * gdb.base/foll-exec-mode.exp
4077 * gdb.base/foll-exec.exp
4078 * gdb.base/fork-running-state.exp
4079 * gdb.base/frame-args.exp
4080 * gdb.base/fullpath-expand.exp
4081 * gdb.base/func-ptr.exp
4082 * gdb.base/gcore-relro-pie.exp
4083 * gdb.base/gdb1090.exp
4084 * gdb.base/gdb1555.exp
4085 * gdb.base/global-var-nested-by-dso.exp
4086 * gdb.base/gnu-ifunc.exp
4087 * gdb.base/hbreak-in-shr-unsupported.exp
4088 * gdb.base/hbreak-unmapped.exp
4089 * gdb.base/hook-stop.exp
4090 * gdb.base/infcall-input.exp
4091 * gdb.base/info-fun.exp
4092 * gdb.base/info-shared.exp
4093 * gdb.base/interrupt-noterm.exp
4094 * gdb.base/jit-so.exp
4095 * gdb.base/jit.exp
4096 * gdb.base/line-symtabs.exp
4097 * gdb.base/list.exp
4098 * gdb.base/longjmp.exp
4099 * gdb.base/macscp.exp
4100 * gdb.base/max-value-size.exp
4101 * gdb.base/nodebug.exp
4102 * gdb.base/nofield.exp
4103 * gdb.base/overlays.exp
4104 * gdb.base/paginate-after-ctrl-c-running.exp
4105 * gdb.base/paginate-bg-execution.exp
4106 * gdb.base/paginate-inferior-exit.exp
4107 * gdb.base/pending.exp
4108 * gdb.base/pr11022.exp
4109 * gdb.base/printcmds.exp
4110 * gdb.base/ptr-typedef.exp
4111 * gdb.base/ptype.exp
4112 * gdb.base/randomize.exp
4113 * gdb.base/range-stepping.exp
4114 * gdb.base/realname-expand.exp
4115 * gdb.base/relativedebug.exp
4116 * gdb.base/remote.exp
4117 * gdb.base/savedregs.exp
4118 * gdb.base/sepdebug.exp
4119 * gdb.base/set-noassign.exp
4120 * gdb.base/shlib-call.exp
4121 * gdb.base/shreloc.exp
4122 * gdb.base/sigaltstack.exp
4123 * gdb.base/sigbpt.exp
4124 * gdb.base/siginfo-addr.exp
4125 * gdb.base/siginfo-obj.exp
4126 * gdb.base/siginfo-thread.exp
4127 * gdb.base/signest.exp
4128 * gdb.base/signull.exp
4129 * gdb.base/sigrepeat.exp
4130 * gdb.base/skip.exp
4131 * gdb.base/so-impl-ld.exp
4132 * gdb.base/solib-corrupted.exp
4133 * gdb.base/solib-disc.exp
4134 * gdb.base/solib-display.exp
4135 * gdb.base/solib-overlap.exp
4136 * gdb.base/solib-search.exp
4137 * gdb.base/solib-symbol.exp
4138 * gdb.base/source-execution.exp
4139 * gdb.base/sss-bp-on-user-bp-2.exp
4140 * gdb.base/sss-bp-on-user-bp.exp
4141 * gdb.base/stack-checking.exp
4142 * gdb.base/stale-infcall.exp
4143 * gdb.base/step-break.exp
4144 * gdb.base/step-line.exp
4145 * gdb.base/step-over-exit.exp
4146 * gdb.base/step-test.exp
4147 * gdb.base/structs.exp
4148 * gdb.base/sym-file.exp
4149 * gdb.base/symtab-search-order.exp
4150 * gdb.base/term.exp
4151 * gdb.base/type-opaque.exp
4152 * gdb.base/unload.exp
4153 * gdb.base/until-nodebug.exp
4154 * gdb.base/until.exp
4155 * gdb.base/unwindonsignal.exp
4156 * gdb.base/watch-cond.exp
4157 * gdb.base/watch-non-mem.exp
4158 * gdb.base/watch_thread_num.exp
4159 * gdb.base/watchpoint-reuse-slot.exp
4160 * gdb.base/watchpoint-solib.exp
4161 * gdb.base/watchpoint.exp
4162 * gdb.btrace/dlopen.exp
4163 * gdb.cell/arch.exp
4164 * gdb.cell/break.exp
4165 * gdb.cell/bt.exp
4166 * gdb.cell/core.exp
4167 * gdb.cell/data.exp
4168 * gdb.cell/dwarfaddr.exp
4169 * gdb.cell/ea-cache.exp
4170 * gdb.cell/ea-standalone.exp
4171 * gdb.cell/ea-test.exp
4172 * gdb.cell/f-regs.exp
4173 * gdb.cell/fork.exp
4174 * gdb.cell/gcore.exp
4175 * gdb.cell/mem-access.exp
4176 * gdb.cell/ptype.exp
4177 * gdb.cell/registers.exp
4178 * gdb.cell/sizeof.exp
4179 * gdb.cell/solib-symbol.exp
4180 * gdb.cell/solib.exp
4181 * gdb.compile/compile-tls.exp
4182 * gdb.cp/exception.exp
4183 * gdb.cp/gdb2495.exp
4184 * gdb.cp/local.exp
4185 * gdb.cp/mb-inline.exp
4186 * gdb.cp/mb-templates.exp
4187 * gdb.cp/pr10687.exp
4188 * gdb.cp/pr9167.exp
4189 * gdb.cp/scope-err.exp
4190 * gdb.cp/templates.exp
4191 * gdb.cp/virtfunc.exp
4192 * gdb.dwarf2/dw2-dir-file-name.exp
4193 * gdb.dwarf2/dw2-single-line-discriminators.exp
4194 * gdb.fortran/complex.exp
4195 * gdb.fortran/library-module.exp
4196 * gdb.guile/guile.exp
4197 * gdb.guile/scm-cmd.exp
4198 * gdb.guile/scm-frame-inline.exp
4199 * gdb.guile/scm-objfile.exp
4200 * gdb.guile/scm-pretty-print.exp
4201 * gdb.guile/scm-symbol.exp
4202 * gdb.guile/scm-type.exp
4203 * gdb.guile/scm-value.exp
4204 * gdb.linespec/keywords.exp
4205 * gdb.linespec/ls-errs.exp
4206 * gdb.linespec/macro-relative.exp
4207 * gdb.linespec/thread.exp
4208 * gdb.mi/mi-breakpoint-changed.exp
4209 * gdb.mi/mi-dprintf-pending.exp
4210 * gdb.mi/mi-fullname-deleted.exp
4211 * gdb.mi/mi-logging.exp
4212 * gdb.mi/mi-pending.exp
4213 * gdb.mi/mi-solib.exp
4214 * gdb.mi/new-ui-mi-sync.exp
4215 * gdb.mi/user-selected-context-sync.exp
4216 * gdb.multi/dummy-frame-restore.exp
4217 * gdb.multi/multi-arch-exec.exp
4218 * gdb.multi/remove-inferiors.exp
4219 * gdb.multi/watchpoint-multi-exit.exp
4220 * gdb.opt/solib-intra-step.exp
4221 * gdb.perf/backtrace.exp
4222 * gdb.perf/single-step.exp
4223 * gdb.perf/skip-command.exp
4224 * gdb.perf/skip-prologue.exp
4225 * gdb.perf/solib.exp
4226 * gdb.python/lib-types.exp
4227 * gdb.python/py-as-string.exp
4228 * gdb.python/py-bad-printers.exp
4229 * gdb.python/py-block.exp
4230 * gdb.python/py-breakpoint.exp
4231 * gdb.python/py-cmd.exp
4232 * gdb.python/py-events.exp
4233 * gdb.python/py-evthreads.exp
4234 * gdb.python/py-finish-breakpoint.exp
4235 * gdb.python/py-finish-breakpoint2.exp
4236 * gdb.python/py-frame-inline.exp
4237 * gdb.python/py-frame.exp
4238 * gdb.python/py-inferior.exp
4239 * gdb.python/py-infthread.exp
4240 * gdb.python/py-mi.exp
4241 * gdb.python/py-objfile.exp
4242 * gdb.python/py-pp-maint.exp
4243 * gdb.python/py-pp-registration.exp
4244 * gdb.python/py-prettyprint.exp
4245 * gdb.python/py-recurse-unwind.exp
4246 * gdb.python/py-shared.exp
4247 * gdb.python/py-symbol.exp
4248 * gdb.python/py-symtab.exp
4249 * gdb.python/py-template.exp
4250 * gdb.python/py-type.exp
4251 * gdb.python/py-unwind-maint.exp
4252 * gdb.python/py-unwind.exp
4253 * gdb.python/py-value.exp
4254 * gdb.python/python.exp
4255 * gdb.reverse/finish-reverse-bkpt.exp
4256 * gdb.reverse/insn-reverse.exp
4257 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4258 * gdb.reverse/solib-precsave.exp
4259 * gdb.reverse/solib-reverse.exp
4260 * gdb.stabs/gdb11479.exp
4261 * gdb.stabs/weird.exp
4262 * gdb.threads/fork-child-threads.exp
4263 * gdb.threads/fork-plus-threads.exp
4264 * gdb.threads/fork-thread-pending.exp
4265 * gdb.threads/forking-threads-plus-breakpoint.exp
4266 * gdb.threads/hand-call-in-threads.exp
4267 * gdb.threads/interrupted-hand-call.exp
4268 * gdb.threads/linux-dp.exp
4269 * gdb.threads/local-watch-wrong-thread.exp
4270 * gdb.threads/next-while-other-thread-longjmps.exp
4271 * gdb.threads/non-ldr-exit.exp
4272 * gdb.threads/pending-step.exp
4273 * gdb.threads/print-threads.exp
4274 * gdb.threads/process-dies-while-detaching.exp
4275 * gdb.threads/process-dies-while-handling-bp.exp
4276 * gdb.threads/pthreads.exp
4277 * gdb.threads/queue-signal.exp
4278 * gdb.threads/reconnect-signal.exp
4279 * gdb.threads/signal-command-handle-nopass.exp
4280 * gdb.threads/signal-command-multiple-signals-pending.exp
4281 * gdb.threads/signal-delivered-right-thread.exp
4282 * gdb.threads/signal-sigtrap.exp
4283 * gdb.threads/sigthread.exp
4284 * gdb.threads/staticthreads.exp
4285 * gdb.threads/stepi-random-signal.exp
4286 * gdb.threads/thread-unwindonsignal.exp
4287 * gdb.threads/thread_check.exp
4288 * gdb.threads/thread_events.exp
4289 * gdb.threads/tid-reuse.exp
4290 * gdb.threads/tls-nodebug.exp
4291 * gdb.threads/tls-shared.exp
4292 * gdb.threads/tls-so_extern.exp
4293 * gdb.threads/tls.exp
4294 * gdb.threads/wp-replication.exp
4295 * gdb.trace/actions-changed.exp
4296 * gdb.trace/actions.exp
4297 * gdb.trace/backtrace.exp
4298 * gdb.trace/change-loc.exp
4299 * gdb.trace/collection.exp
4300 * gdb.trace/deltrace.exp
4301 * gdb.trace/disconnected-tracing.exp
4302 * gdb.trace/entry-values.exp
4303 * gdb.trace/ftrace-lock.exp
4304 * gdb.trace/ftrace.exp
4305 * gdb.trace/infotrace.exp
4306 * gdb.trace/mi-trace-frame-collected.exp
4307 * gdb.trace/mi-trace-unavailable.exp
4308 * gdb.trace/mi-traceframe-changed.exp
4309 * gdb.trace/mi-tracepoint-changed.exp
4310 * gdb.trace/mi-tsv-changed.exp
4311 * gdb.trace/no-attach-trace.exp
4312 * gdb.trace/packetlen.exp
4313 * gdb.trace/passc-dyn.exp
4314 * gdb.trace/passcount.exp
4315 * gdb.trace/pending.exp
4316 * gdb.trace/pr16508.exp
4317 * gdb.trace/qtro.exp
4318 * gdb.trace/range-stepping.exp
4319 * gdb.trace/read-memory.exp
4320 * gdb.trace/report.exp
4321 * gdb.trace/save-trace.exp
4322 * gdb.trace/signal.exp
4323 * gdb.trace/stap-trace.exp
4324 * gdb.trace/status-stop.exp
4325 * gdb.trace/strace.exp
4326 * gdb.trace/tfile.exp
4327 * gdb.trace/tfind.exp
4328 * gdb.trace/trace-break.exp
4329 * gdb.trace/trace-condition.exp
4330 * gdb.trace/trace-enable-disable.exp
4331 * gdb.trace/trace-mt.exp
4332 * gdb.trace/tracecmd.exp
4333 * gdb.trace/tracefile-pseudo-reg.exp
4334 * gdb.trace/tspeed.exp
4335 * gdb.trace/tstatus.exp
4336 * gdb.trace/tsv.exp
4337 * gdb.trace/unavailable.exp
4338 * gdb.trace/while-dyn.exp
4339 * gdb.trace/while-stepping.exp
4340 * lib/gdb-guile.exp
4341 * lib/gdb.exp
4342 * lib/mi-support.exp
4343 * lib/pascal.exp
4344 * lib/perftest.exp
4345 * lib/prelink-support.exp
4346 * lib/selftest-support.exp
4347
ad02e4fe
SM
43482016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4349
4350 * Makefile.in: Include disable-implicit-rules.mk.
4351
22347e55
AA
43522016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4353
4354 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4355 non-byte-aligned bit fields.
4356
da5b30da
AA
43572016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4358
4359 PR gdb/12616
4360 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4361 respects the DW_AT_data_bit_offset attribute.
4362
b593ecca
SM
43632016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4364
4365 * gdb.base/default.exp: Fix output of "set language".
4366
3b165252
SM
43672016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4368
4369 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4370 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4371 make.
4372 * configure.ac: Remove checks for the make program.
4373 * configure: Re-generate.
4374
1a2f3d7f
KB
43752016-11-16 Kevin Buettner <kevinb@redhat.com>
4376
4377 * gdb.python/py-recurse-unwind.c (main): Add loop.
4378 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4379 to read_register() and gdb.parse_and_eval(). Make each code
4380 call a separate case that can be individually tested.
4381 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4382 proc. Call cont_and_backtrace for each of the code paths that
4383 we want to test in the unwinder.
4384
b7f38fda
AA
43852016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4386
4387 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4388 the definition of struct S.
4389
1f8db343
CM
43902016-11-11 Catherine Moore <clm@codesourcery.com>
4391
4392 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4393
fad0c9fb
PA
43942016-11-09 Pedro Alves <palves@redhat.com>
4395
4396 * gdb.base/commands.exp (runto_or_return): New procedure.
4397 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4398 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4399 (progvar_simple_while_test, progvar_complex_if_while_test)
4400 (if_while_breakpoint_command_test)
4401 (infrun_breakpoint_command_test, breakpoint_command_test)
4402 (user_defined_command_test, watchpoint_command_test)
4403 (test_command_prompt_position, redefine_hook_test)
4404 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4405 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4406 multi_line_input and multi_line. Remove gdb_expect and
4407 gdb_stop_suppressing_tests uses.
4408 * lib/gdb.exp (valnum_re): New global.
4409 (multi_line_input): New procedure.
4410
8354c62c
SM
44112016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4412
4413 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4414 Remove.
4415 (test_setup): Define with proc_with_prefix.
4416 (test_cli_inferior): Likewise.
4417 (test_cli_thread): Likewise.
4418 (test_cli_frame): Likewise.
4419 (test_cli_select_frame): Likewise.
4420 (test_cli_up_down): Likewise.
4421 (test_mi_thread_select): Likewise.
4422 (test_mi_stack_select_frame): Likewise.
4423 (test_cli_in_mi_inferior): Likewise.
4424 (test_cli_in_mi_thread): Likewise.
4425 (test_cli_in_mi_frame): Likewise.
4426 (top level): Do not use with_test_prefix_procname.
4427
64f367a2
PA
44282016-11-09 Pedro Alves <palves@redhat.com>
4429
4430 * gdb.base/commands.exp (gdbvar_simple_if_test)
4431 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4432 (progvar_simple_if_test, progvar_simple_while_test)
4433 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4434 (infrun_breakpoint_command_test, breakpoint_command_test)
4435 (user_defined_command_test, watchpoint_command_test)
4436 (test_command_prompt_position, deprecated_command_test)
4437 (bp_deleted_in_command, temporary_breakpoint_commands)
4438 (stray_arg0_test, source_file_with_indented_comment)
4439 (recursive_source_test, if_commands_test)
4440 (error_clears_commands_left, redefine_hook_test)
4441 (redefine_backtrace_test): Use proc_with_prefix.
4442 * lib/gdb.exp (proc_with_prefix): New proc.
4443
0bb65f1e
AA
44442016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4445
4446 * gdb.base/tui-layout.c: New file.
4447 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4448 disassembly window contains very long lines.
4449
7353f247
TT
44502016-11-08 Tom Tromey <tom@tromey.com>
4451
4452 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4453 depend on Python 2.
4454
30a7bb83
TT
44552016-11-08 Tom Tromey <tom@tromey.com>
4456
4457 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4458 New method.
4459
cdf5a07c
MG
44602016-10-29 Manish Goregaokar <manish@mozilla.com>
4461
2806dc7e 4462 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 4463
51a789c3
MG
44642016-10-27 Manish Goregaokar <manish@mozilla.com>
4465
2806dc7e
PA
4466 * gdb.rust/simple.rs: Add test for univariant enums without
4467 discriminants and for encoded struct-like enums.
51a789c3 4468
f610ab6d
PA
44692016-10-28 Pedro Alves <palves@redhat.com>
4470
4471 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4472 gdb_test_multiple, tighten regexps and match symtabs and line
4473 tables incrementally.
4474
b129b0ca
LM
44752016-10-28 Luis Machado <lgustavo@codesourcery.com>
4476
4477 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4478 general.
4479
ecf45d2c
SL
44802016-10-25 Luis Machado <lgustavo@codesourcery.com>
4481
4482 * gdb.base/exec-invalid-sysroot.exp: New file.
4483
b8d38ee4
JK
44842016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4485
4486 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4487
f90fd8c2
JK
44882016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4489
4490 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4491
2d2476aa
MR
44922016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4493
2806dc7e
PA
4494 * gdb.base/killed-outside.exp: Remove $options from a call to
4495 `prepare_for_testing'.
2d2476aa 4496
e42b25a0
SM
44972016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4498
4499 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4500 Change test message.
4501
3ccdb432
SM
45022016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4503
4504 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4505 Update comment.
4506
5bad3170
SM
45072016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4508
4509 * gdb.trace/mi-trace-save.exp: New file.
4510
5ad9dba7
YQ
45112016-10-13 Yao Qi <yao.qi@linaro.org>
4512
4513 * gdb.base/code_elim.exp (get_var_address): Remove.
4514 * gdb.base/relocate.exp: Likewise.
4515 * gdb.base/shreloc.exp: Likewise.
4516 * lib/gdb.exp (get_var_address): New.
4517
62df7e21
YQ
45182016-10-13 Yao Qi <yao.qi@linaro.org>
4519
4520 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4521 floating point tests if $skip_float_test is false.
4522
4dac951e
LM
45232016-10-12 Luis Machado <lgustavo@codesourcery.com>
4524
4525 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4526 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4527 argc values.
4528 Add 1 to argc so we guarantee distinct initial/modified argc values.
4529
8f1a8fc4
JK
45302016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4531
4532 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4533
16c85b5d
JK
45342016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4535
4536 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4537 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4538 * gdb.arch/vsx-regs.exp: Likewise.
4539
1d0e042a
YQ
45402016-10-07 Yao Qi <yao.qi@linaro.org>
4541
4542 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4543
68dadef5
MM
45442016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4545
4546 * gdb.python/python.exp: Test decode_line("*0").
4547
33fa2c6e
DE
45482016-10-06 Doug Evans <dje@google.com>
4549
4550 * gdb.python/py-value.exp (test_value_creation): Add test for large
4551 unsigned 64-bit value.
4552
9c37b5ae
TT
45532016-10-06 Tom Tromey <tom@tromey.com>
4554
4555 * gdb.compile/compile.exp: Change java tests to rust.
4556 * gdb.base/setshow.exp: Change java tests to rust.
4557 * gdb.base/default.exp: Remove java from language list.
4558 * README (Examples): Update language example.
4559 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4560 test.
4561 * lib/gdb.exp (skip_java_tests): Remove.
4562 * lib/java.exp: Remove.
4563 * gdb.java: Remove.
4564
78b86327
MR
45652016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4566
4567 * gdb.arch/mips-fcr.exp: New test.
4568 * gdb.arch/mips-fcr.c: Source for the new test.
4569
7470adbb
MR
45702016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4571
4572 * gdb.base/solib-disc.exp: Use `standard_output_file'
4573 throughout.
4574
4a556533
PA
45752016-10-06 Pedro Alves <palves@redhat.com>
4576
4577 * gdb.base/jit-simple-dl.c: New file.
4578 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4579 * gdb.base/jit-simple.c: ... this.
4580 * gdb.base/jit-simple.exp (jit_run): Delete.
4581 (build_jit): New proc.
4582 (jit_test_reread): Recompile either the main program or the shared
4583 library, depending on what is being tested. Skip changing address
4584 if caller wants to. Compare before/after addresses. If testing
4585 standalone, explicitly load the binary. Test "maint info
4586 breakpoints".
4587 (top level): Add "standalone vs shared lib" and "change address"
4588 vs "same address" axes.
4589
5a122fbc
PA
45902016-10-06 Pedro Alves <palves@redhat.com>
4591
4592 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4593 call.
4594 (jit_run): Delete.
4595 (jit_test_reread): Use with_test_prefix. Reload the main binary
4596 explicitly. Compare the before/after addresses of the JIT
4597 descriptor.
4598
ee8da4b8
DE
45992016-08-15 Doug Evans <dje@google.com>
4600
4601 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4602 for single bitfields is bool.
4603 * gdb.xml/tdesc-regs.exp: Ditto.
4604
f389f6fe
JK
46052016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4606
4607 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4608
fdebf1a4
YQ
46092016-10-05 Yao Qi <yao.qi@linaro.org>
4610
4611 * lib/gdb.exp (support_complex_tests): Return zero if
4612 gdb_skip_float_test return true.
4613
9c36d954 46142016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 4615 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
4616
4617 PR gdb/20487
4618 * gdb.mi/user-selected-context-sync.exp: New file.
4619 * gdb.mi/user-selected-context-sync.c: New file.
4620
4034d0ff 46212016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 4622 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
4623
4624 PR gdb/20487
4625 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4626 =thread-select-event check.
4627
a4297203
PB
46282016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4629
4630 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4631 the compulsory L operand changes.
4632 * gdb.arch/powerpc-power.s: Likewise.
4633
bb805577
JK
46342016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4635
4636 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4637 * gdb.base/jit-attach-pie.c: New file.
4638 * gdb.base/jit-attach-pie.exp: New file.
4639
6d61dee5
PA
46402016-09-28 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/infcall-input.c: New file.
4643 * gdb.base/infcall-input.exp: New file.
4644
f73842fc
YQ
46452016-09-22 Yao Qi <yao.qi@linaro.org>
4646
4647 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4648 (gdb_exit): Rename it to ...
4649 (gdbserver_gdb_exit): ... Close GDBserver.
4650 (gdb_exit): New proc, call gdbserver_gdb_exit.
4651 (mi_gdb_exit): Likewise.
4652
90681dab
YQ
46532016-09-22 Yao Qi <yao.qi@linaro.org>
4654
4655 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4656 path.
4657 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4658 Remove duplication.
4659
9c211fd8
YQ
46602016-09-22 Yao Qi <yao.qi@linaro.org>
4661
4662 * lib/gdbserver-support.exp: Check the existence of
4663 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4664
ad0a504f
AK
46652016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4666
4667 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4668
36cf1806
TT
46692016-09-21 Tom Tromey <tom@tromey.com>
4670
4671 PR gdb/20604:
4672 * gdb.base/quit.exp: New file.
4673
74172ecf
SM
46742016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4675
4676 * .gitignore: New file.
4677
3d0ec882
MR
46782016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4679
4680 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4681 throughout.
4682
8193adea
AA
46832016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4684
4685 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4686
d41a5c09
JK
46872016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4688
4689 * gdb.cp/casts.cc (decltype): Move it ...
4690 (main): ... with its call to ...
4691 * gdb.cp/casts03.cc: ... a new file.
4692 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4693
d2dfe700
JK
46942016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4695
4696 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4697
e2a92b16
PB
46982016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4699
4700 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4701 and sync up the test with tests in gas/testsuite/gas/ppc.
4702 * gdb.arch/powerpc-power.exp: Likewise.
4703
49b4de64
JK
47042016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4705
4706 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4707
2c29df25
SDJ
47082016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4709 Jan Kratochvil <jan.kratochvil@redhat.com>
4710
4711 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4712 make m1's definition to be different from m2's. Use 'dummy' as an
4713 argument for probe 'two'.
4714
cc3c2846
JB
47152016-09-10 Jon Beniston <jon@beniston.com>
4716
4717 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4718 for sim target.
4719
e1b2624a
AA
47202016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4721
4722 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4723 variable declaration.
4724 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4725 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4726 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4727 received HWCAP as its argument.
4728
4295e285
PA
47292016-09-06 Pedro Alves <palves@redhat.com>
4730
4731 * gdb.base/new-ui-pending-input.c: New file.
4732 * gdb.base/new-ui-pending-input.exp: New file.
4733 * gdb.exp (clear_gdb_spawn_id): New procedure.
4734 (with_spawn_id): Check whether gdb_spawn_id exists before
4735 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4736 on exit.
4737
00d5215e
UW
47382016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4739
4740 * gdb.base/float128.c: New file.
4741 * gdb.base/float128.exp: Likewise.
4742 * gdb.base/floatn.c: Likewise.
4743 * gdb.base/floatn.exp: Likewise.
4744
a9ff5f12
UW
47452016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4746
4747 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4748
f245535c
PA
47492016-09-05 Pedro Alves <palves@redhat.com>
4750
4751 PR backtrace/19927
4752 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4753 unwinders are immediately called as side effect of "source" or
4754 "disable unwinder" commands.
4755 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4756
ae9cf263
YQ
47572016-09-02 Yao Qi <yao.qi@linaro.org>
4758
4759 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4760 is true and $type is "float" or "double".
4761
27aba047
YQ
47622016-09-02 Yao Qi <yao.qi@linaro.org>
4763
4764 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4765 true.
4766 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4767 * gdb.base/call-rt-st.exp: Likewise.
4768 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4769 return value instead of gdb,skip_float_test.
4770 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4771 (do_function_calls): Use its return value instead of
4772 gdb,skip_float_test.
4773 * gdb.base/finish.exp: Likewise.
4774 * gdb.base/funcargs.exp: Likewise.
4775 * gdb.base/return.exp: Likewise.
4776 * gdb.base/return2.exp: Likewise.
4777 * gdb.base/varargs.exp: Likewise.
4778 * lib/gdb.exp (gdb_skip_float_test): Change it to
4779 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4780
5af962df
AA
47812016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4782
4783 * gdb.multi/tids.exp: Test "thread apply all".
4784
7fac6910
JK
47852016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4786
4787 * gdb.base/default.exp (tty): Remove.
4788
bb1fe4ac
KB
47892016-08-24 Kevin Buettner <kevinb@redhat.com>
4790
2806dc7e
PA
4791 * gdb.python/py-recurse-unwind.c: New file.
4792 * gdb.python/py-recurse-unwind.py: New file.
4793 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 4794
0a1ddfa6
SM
47952016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4796
4797 * gdb.base/set-inferior-tty.exp: New file.
4798 * gdb.base/set-inferior-tty.c: New file.
4799
d9de1fe3
PA
48002016-08-23 Pedro Alves <palves@redhat.com>
4801
4802 PR gdb/20494
4803 * gdb.base/new-ui-echo.c: New file.
4804 * gdb.base/new-ui-echo.exp: New file.
4805
e9d9abd7
YQ
48062016-08-23 Yao Qi <yao.qi@linaro.org>
4807
4808 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4809 gdbserver_spawn.
4810 * gdb.server/connect-without-multi-process.exp (do_test):
4811 Likewise.
4812
3589529e
YQ
48132016-08-23 Yao Qi <yao.qi@linaro.org>
4814
4815 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4816 standalone_txt. Delete gdb_txt and standalone_txt on host
4817 and target. Spawn the binary on target. Copy files from
4818 target to host.
4819
6bb90213
PA
48202016-08-22 Pedro Alves <palves@redhat.com>
4821
4822 PR gdb/20505
4823 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4824 with_test_prefix. Factor out bits to ...
4825 (test_no_vdso): ... this new procedure.
4826
20c2c024
CL
48272016-08-19 Carl Love <cel@us.ibm.com>
4828
4829 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4830 maintaining separate logic for constructing the output path.
4831 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4832 * gdb.arch/ppc-dfp.exp: Likewise.
4833 * gdb.arch/ppc-fp.exp: Likewise.
4834 * gdb.arch/vsx-regs.exp: Likewise.
4835 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4836 binprefix for generating the additional binary files.
4837
0646e07d
PA
48382016-08-19 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.trace/mi-trace-frame-collected.exp
4841 (test_trace_frame_collected): On x32, expect two registers.
4842
46da9242
CL
48432016-08-18 Carl Love <cel@us.ibm.com>
4844
4845 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4846 and sync up the test with tests in gas/testsuite/gas/ppc.
4847 * gdb.arch/powerpc-power.exp: Likewise.
4848
eb2332d7
SM
48492016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4850
4851 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4852 expected error message.
4853
63c61e04
SM
48542016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4855
4856 * gdb.multi/remove-inferiors.exp: New file.
4857 * gdb.multi/remove-inferiors.c: New file.
4858
7b17065f
YQ
48592016-08-12 Yao Qi <yao.qi@linaro.org>
4860
4861 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4862 argument list.
4863
01d3dedf
PA
48642016-08-10 Pedro Alves <palves@redhat.com>
4865
4866 PR gdb/19187
4867 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4868 setup_kfails.
4869
3eb7562a
PA
48702016-08-09 Pedro Alves <palves@redhat.com>
4871 Simon Marchi <simon.marchi@ericsson.com>
4872
4873 PR gdb/20418
4874 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4875 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4876
80614914
PA
48772016-08-09 Pedro Alves <palves@redhat.com>
4878
4879 PR mi/20431
4880 * gdb.mi/mi-cmd-error.exp: New file.
4881
f348d89a
PA
48822016-08-09 Pedro Alves <palves@redhat.com>
4883
4884 PR gdb/18653
4885 * gdb.base/signals-state-child.c: New file.
4886 * gdb.base/signals-state-child.exp: New file.
4887 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4888
e5ca03b4
PA
48892016-08-09 Pedro Alves <palves@redhat.com>
4890
4891 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4892
282a0691
TT
48932016-08-03 Tom Tromey <tom@tromey.com>
4894
4895 PR python/18565:
4896 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4897
41bfcd63
YQ
48982016-08-01 Yao Qi <yao.qi@linaro.org>
4899
4900 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4901 variable mode to "multi-process" if $multi_process is 1, otherwise
4902 set it to "single-process".
4903
e3465b24
YQ
49042016-08-01 Yao Qi <yao.qi@linaro.org>
4905
4906 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4907 * gdb.cp/cpexprs.exp: Likewise.
4908 * gdb.cp/m-static.exp: Likewise.
4909
0b31a4bc
TT
49102016-07-26 Tom Tromey <tom@tromey.com>
4911
4912 PR python/20190:
4913 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4914 test.
4915
e0461dbb
MM
49162016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4917
4918 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4919 selecting assembly source files.
4920 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4921 assembly source files.
4922 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4923 assembly source files.
4924 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4925 selecting assembly source files.
4926
8194e927
SM
49272016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4928
4929 * gdb.base/new-ui.exp (do_test_invalid_args): New
4930 procedure.
4931
c0272db5
TW
49322016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4933
4934 * gdb.btrace/reconnect.c: New file.
4935 * gdb.btrace/reconnect.exp: New file.
4936
e3487908
GKB
49372016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4938
4939 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4940 to test_catch_syscall_group.
4941 (test_catch_syscall_group): New.
4942
12df5c00
TT
49432016-07-21 Tom Tromey <tom@tromey.com>
4944
4945 * gdb.rust/simple.rs (main): Use empty struct expression.
4946 * gdb.rust/simple.exp: Add tests for empty struct expression.
4947
bae62ee2
YQ
49482016-07-21 Yao Qi <yao.qi@linaro.org>
4949
4950 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4951 if gdb_skip_xml_test is true on some targets.
4952
b1b53fb3
YQ
49532016-07-21 Yao Qi <yao.qi@linaro.org>
4954
4955 * gdb.server/solib-list.exp: Unset last_loaded_file.
4956
027d97f8
JK
49572016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4958
4959 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4960 "step into captured_main (args)".
4961
7674d381
JK
49622016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4963
4964 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4965
72b5d099
JK
49662016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4967
4968 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4969
1f960ced
PA
49702016-07-19 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4973 * gdb.opt/inline-bt.exp: Likewise.
4974 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4975 additional_flags=-Winline.
4976 * gdb.opt/inline-locals.exp: Likewise.
4977 * gdb.opt/inline-markers.c (ATTR): Define.
4978 (inlined_fn): Use it.
4979
f25827c1
YQ
49802016-07-19 Yao Qi <yao.qi@linaro.org>
4981
4982 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4983 (test_with_self): Remove some code. Remove argument executable.
4984 (top-level): Use do_self_tests.
4985
37539ebe
DB
49862016-07-15 Zachary Welch <zwelch@codesourcery.com>
4987 Don Breazeal <donb@codesourcery.com>
4988
4989 * gdb.base/maint.exp: Escape paths used in regular expressions.
4990 * gdb.stabs/weird.exp: Likewise.
4991
dac790e1
TT
49922016-07-13 Tom Tromey <tom@tromey.com>
4993
4994 PR python/15620, PR python/18620:
4995 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4996 (test_bkpt_events): New procs.
4997
93daf339
TT
49982016-07-13 Tom Tromey <tom@tromey.com>
4999
5000 PR python/17698:
5001 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5002 test.
5003 (test_watchpoints): Likewise.
5004 (test_bkpt_pending): New proc.
5005
6571a381
TT
50062016-07-13 Tom Tromey <tom@tromey.com>
5007
5008 PR cli/18053:
5009 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5010 completion test.
5011
e8732474
JK
50122016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5015 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5016 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5017 f_label.
5018 (g): Rename g_end_lbl to g_label.
5019 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5020 low_pc and high_pc.
5021 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5022
e0f3fd7c
TT
50232016-07-12 Tom Tromey <tom@tromey.com>
5024
5025 PR python/19293:
5026 * gdb.python/py-unwind-maint.exp: Update tests.
5027
3cfe46b6
YQ
50282016-07-12 Yao Qi <yao.qi@linaro.org>
5029
5030 * lib/selftest-support.exp (selftest_setup): Match the output
5031 when captured_main is inlined.
5032
4f19a0e6
WT
50332016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5034
5035 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5036 New variables.
5037 (print this%a, print this%b, print this): New tests.
5038 * gdb.fortran/derived-types.f90 (this): New object and
5039 initialization.
5040
986cf455
SM
50412016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5042
5043 * gdb.ada/arraydim.exp: Remove extra directory level in build
5044 directory.
5045
f0464b23
SM
50462016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5047
5048 * lib/ada.exp: Remove extra directory level in build directory.
5049 * gdb.ada/cond_lang.exp: Likewise.
5050 * gdb.ada/exec_changed.exp: Likewise.
5051 * gdb.ada/lang_switch.exp: Likewise.
5052
42d94011
MG
50532016-07-06 Manish Goregaokar <manish@mozilla.com>
5054
2806dc7e
PA
5055 * simple.rs: Add test for raw pointer subscripting.
5056 * simple.exp: Add test expectations.
42d94011 5057
647c264c
YQ
50582016-07-05 Yao Qi <yao.qi@linaro.org>
5059
5060 * gdb.mi/mi-reverse.exp: Match =record-started output.
5061
20aa2c60
PA
50622016-07-01 Pedro Alves <palves@redhat.com>
5063
5064 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5065 procedure.
5066 (jit_reader_test): Test the jit reader's unwinder.
5067 * gdb.base/jithost.c (jit_function_00_code): New global.
5068 (main): Use memcpy to fill in the mmapped code, instead of poking
5069 bytes manually here.
5070 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5071 value.
5072 (read_debug_info): Save the function's range.
5073 (read_sp): New function.
5074 (unwind_frame): Use it. Also unwind RBP.
5075 (get_frame_id): Use read_sp.
5076 (gdb_init_reader): Use calloc instead of malloc.
5077 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5078 parameter. Use gdb_test_multiple.
5079
ced2dffb
PA
50802016-07-01 Pedro Alves <palves@redhat.com>
5081 Antoine Tremblay <antoine.tremblay@ericsson.com>
5082
5083 * gdb.threads/process-dies-while-detaching.c: New file.
5084 * gdb.threads/process-dies-while-detaching.exp: New file.
5085
63000888
PA
50862016-07-01 Pedro Alves <palves@redhat.com>
5087
5088 * gdb.multi/watchpoint-multi-exit.c: New file.
5089 * gdb.multi/watchpoint-multi-exit.exp: New file.
5090
038d4868
PA
50912016-06-30 Pedro Alves <palves@redhat.com>
5092
5093 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5094 unset inferior_spawn_id.
5095
994e9c83
PA
50962016-06-30 Pedro Alves <palves@redhat.com>
5097
5098 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5099 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5100
e5653468
YQ
51012016-06-29 Yao Qi <yao.qi@linaro.org>
5102
5103 * gdb.base/return.c: Add copyright header.
5104
803b47e5
TT
51052016-06-29 Tom Tromey <tom@tromey.com>
5106
5107 PR python/20129:
5108 * gdb.python/py-framefilter.exp: Add tests for setting priority
5109 and disabling of non-existent frame filter.
5110
28244707
YQ
51112016-06-29 Yao Qi <yao.qi@linaro.org>
5112
5113 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5114 0x0f07ff.
5115
a31d2f06
YQ
51162016-06-28 Yao Qi <yao.qi@linaro.org>
5117
5118 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5119 triplets. Start gdb, execute catch syscall, and continue. Check
5120 gdb's output to determine catch syscall is supported.
5121
921d8f54
MG
51222016-06-27 Manish Goregaokar <manish@mozilla.com>
5123
25d49b86
PA
5124 * gdb.rust/simple.rs: Add test for returning unit in a function.
5125 * gdb.rust/simple.exp: Add expectation for functions returning
5126 unit.
921d8f54 5127
f4952523
PMR
51282016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5129
5130 * gdb.python/py-breakpoint-create-fail.c,
5131 gdb.python/py-breakpoint-create-fail.exp,
5132 gdb.python/py-breakpoint-create-fail.py: New testcase.
5133
fccb08f8
MG
51342016-06-25 Manish Goregaokar <manish@mozilla.com>
5135
5136 PR gdb/20239
5137 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
5138 * gdb.rust/simple.exp: Add test expectations for new NonZero
5139 tests.
fccb08f8 5140
6b850546
DT
51412016-06-24 David Taylor <dtaylor@emc.com>
5142
5143 * gdb.base/offsets.exp: New file.
5144 * gdb.base/offsets.c: New file.
5145
17621150
TT
51462016-06-23 Tom Tromey <tom@tromey.com>
5147
5148 PR gdb/16483:
5149 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5150 before any filters are loaded.
5151
04d59df6
WT
51522016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5153
5154 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5155 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5156 structs.
5157 * gdb.fortran/derived-type-function.exp: New file.
5158 * gdb.fortran/derived-type-function.f90: New file.
5159
5160
ac69f786
PA
51612016-06-21 Pedro Alves <palves@redhat.com>
5162
5163 * gdb.base/new-ui.exp: New file.
5164 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5165 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5166 (with_spawn_id): New procedure.
5167
49940788
PA
51682016-06-21 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.mi/mi-exec-run.exp: New file.
5171
ef274d26
PA
51722016-06-21 Pedro Alves <palves@redhat.com>
5173
5174 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5175 breakpoint command's output on the main UI.
5176 (test_break): New procedure, factored out from calls in the top
5177 level.
5178 (top level): Use foreach_with_prefix to test MI as main UI and as
5179 separate UI.
5180
468afe6c
PA
51812016-06-21 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5184 (test_awatch_creation_and_listing)
5185 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5186 Remove 'type' parameter.
5187 (test_watchpoint_all): New parameter mi_mode. Remove
5188 with_test_prefix.
5189 (top level): Use foreach_with_prefix, and add main/separate UI MI
5190 testing axis.
5191
51f77c37
PA
51922016-06-21 Pedro Alves <palves@redhat.com>
5193
5194 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5195 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5196 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5197 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5198 (gdb_main_spawn_id, mi_spawn_id): Declare and
5199 comment.
5200 (mi_create_inferior_pty): New procedure,
5201 factored out from default_mi_gdb_start.
5202 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5203 procedures.
5204 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5205 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5206 Use mi_create_inferior_pty.
5207 (mi_gdb_start): Use eval to pass down args list.
5208
8980e177
PA
52092016-06-21 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5212 * gdb.opt/inline-cmds.exp: Add MI tests.
5213
f38d3ad1
PA
52142016-06-21 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5217
45db7c09
PA
52182016-06-21 Pedro Alves <palves@redhat.com>
5219
5220 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5221 (top level): Use it instead of mi_execute_to.
5222
5a069ab3
PA
52232016-06-21 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5226 (cont_handler_str): New.
5227 (signal_stop_handler): Set stop_handler_str instead of printing to
5228 stdout.
5229 (continue_handler): Set cont_handler_str instead of printing to
5230 stdout.
5231 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5232 mi_send_resuming_command. Print stop_handler_str and
5233 cont_handler_str instead of expecting the python events print
5234 directly.
5235
2838cc1d
SD
52362016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5237
5238 * gdb.base/jit-reader.exp: New file.
5239 * gdb.base/jithost.c: New file.
5240 * gdb.base/jithost.h: New file.
5241 * gdb.base/jitreader.c : New file.
5242 * gdb.base/jit-protocol.h: New file.
5243
21a77091
YQ
52442016-06-17 Yao Qi <yao.qi@linaro.org>
5245
5246 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5247 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5248 and detach-on-fork. Adjust tests.
5249 (top level): Invoke break_cond_on_syscall with combinations of
5250 syscall, follow-fork-mode and detach-on-fork.
5251
f50bf8e5
YQ
52522016-06-17 Yao Qi <yao.qi@linaro.org>
5253
5254 * gdb.base/step-over-exit.c: New.
5255 * gdb.base/step-over-exit.exp: New.
5256
a28d8e50
YTL
52572016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5258
5259 * gdb.base/float.exp: Add target check for nds32*-*-*.
5260 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5261
cad8e26d
AB
52622016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5263
5264 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5265 for unsupported target features.
5266 * gdb.base/call-rt-st.exp: Likewise.
5267 * gdb.base/call-sc.exp: Likewise.
5268 * gdb.base/call-signal-resume.exp: Likewise.
5269 * gdb.base/call-strs.exp: Likewise.
5270 * gdb.base/callexit.exp: Likewise.
5271 * gdb.base/callfuncs.exp: Likewise.
5272 * gdb.base/nodebug.exp: Likewise.
5273 * gdb.base/printcmds.exp: Likewise.
5274 * gdb.base/ptype.exp: Likewise.
5275 * gdb.base/structs.exp: Likewise.
5276 * gdb.base/unwindonsignal.exp: Likewise.
5277 * gdb.cp/gdb2495.exp: Likewise.
5278 * gdb.cp/templates.exp: Likewise.
5279 * gdb.cp/virtfunc.exp: Likewise.
5280 * gdb.threads/hand-call-in-threads.exp: Likewise.
5281 * gdb.threads/interrupted-hand-call.exp: Likewise.
5282 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5283
347dc102
TT
52842016-06-10 Tom Tromey <tom@tromey.com>
5285
5286 PR rust/20110:
5287 * gdb.rust/expr.exp: Add test for integer constant larger than
5288 i32.
5289
5e13cf25
BH
52902016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5291
5292 * gdb.fortran/nested-funcs.exp: New.
5293 * gdb.fortran/nested-funcs.f90: New.
5294
bb556f1f
TK
52952016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5296
5297 * gdb.base/examine-backward.c: New file.
5298 * gdb.base/examine-backward.exp: New file.
5299
38b022b4
SM
53002016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5301
5302 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5303 matching.
5304
1b40ec05
TT
53052016-06-02 Tom Tromey <tom@tromey.com>
5306
5307 PR python/18984:
5308 * gdb.python/py-shared.exp: Add solib_name test.
5309
193bd378
SM
53102016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5311
5312 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5313
3326303b
MG
53142016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5315
5316 PR c++/19893
5317 * gdb.dwarf2/implref.exp: Rename to...
5318 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5319 * gdb.dwarf2/implref-array.c: New file.
5320 * gdb.dwarf2/implref-array.exp: Likewise.
5321 * gdb.dwarf2/implref-global.c: Likewise.
5322 * gdb.dwarf2/implref-global.exp: Likewise.
5323 * gdb.dwarf2/implref-struct.c: Likewise.
5324 * gdb.dwarf2/implref-struct.exp: Likewise.
5325
825c8ef2
AT
53262016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5327
5328 * gdb.trace/trace-condition.exp: Add 64bit tests.
5329
2320162a
AT
53302016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5331
5332 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5333 bits types.
5334 (main): Adapt to 8 to 64 bits types.
5335 * gdb.trace/trace-condition.exp: Add new tests.
5336
a7818233
AT
53372016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5338
5339 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5340
0d336466
AT
53412016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5342
5343 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5344 Move condition tests...
5345 * gdb.trace/trace-condition.exp: Here.
5346
7faeb45a
AT
53472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5348
5349 * gdb.trace/trace-condition.exp: Add counter-case tests.
5350
e385593e
JK
53512016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5352
5353 PR c++/15231
5354 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5355 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5356
744608cc
PA
53572016-05-27 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5360 New procedure.
5361 (top level): Call it, and bail out of DejaGnu is known to be bad.
5362
ac775bf4
AB
53632016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5364
5365 * gdb.base/whatis.c: Extend the test case.
5366 * gdb.base/whatis.exp: Add additional tests.
5367
2bbad2ea
BH
53682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5369
5370* gdb.fortran/type.f90: Add pointer variable.
5371* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5372
8b70175d
BH
53732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5374
5375 * gdb.fortran/vla-type.exp: Fix testcase name.
5376
86d8a848
BH
53772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5378
5379 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5380
e188eb36
BH
53812016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5382
5383 * gdb.fortran/type.f90: Add nested structures.
5384 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5385 * gdb.fortran/derived-type.exp: Adapt expected output.
5386 * gdb.fortran/vla-type.exp: Adapt expected output.
5387
9b2db1fd
BH
53882016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5389
5390 * gdb.fortran/whatis_type.exp: Adapt expected output.
5391
72b17055
BH
53922016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5393
5394 * gdb.fortran/print_type.exp: Fix expected output.
5395 * gdb.fortran/whatis_type.exp: Fix expected output.
5396
3cd81d8d
BH
53972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5398
5399 * gdb.fortran/whatis_type.exp: Use multi_line.
5400
ddae9462
TT
54012016-05-24 Tom Tromey <tom@tromey.com>
5402
5403 PR python/17386:
5404 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5405 use value as an index.
5406
1957f6b8
TT
54072016-05-23 Tom Tromey <tom@tromey.com>
5408
5409 PR python/17981:
5410 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5411 no-breakpoint case.
5412
026a9174
PA
54132016-05-24 Pedro Alves <palves@redhat.com>
5414
5415 PR gdb/19828
5416 * gdb.threads/clone-attach-detach.c: New file.
5417 * gdb.threads/clone-attach-detach.exp: New file.
5418
e70a7231
FR
54192016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5420
5421 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5422
0f6ed0e0
TT
54232016-05-23 Tom Tromey <tom@tromey.com>
5424
5425 PR python/19438, PR python/18393:
5426 * gdb.python/py-progspace.exp: Add "dir" test.
5427 * gdb.python/py-objfile.exp: Add "dir" test.
5428
ffd19d61
YQ
54292016-05-23 Yao Qi <yao.qi@linaro.org>
5430
5431 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5432 * gdb.arch/thumb2-it.exp: Likewise.
5433
9e8f9b05
SM
54342016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5435
5436 * gdb.mi/mi-threads-interrupt.c: New file.
5437 * gdb.mi/mi-threads-interrupt.exp: New file.
5438
61c6156d
SM
54392016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5440
5441 PR gdb/18077
5442 * gdb.mi/mi-async-run.exp: New file.
5443 * gdb.mi/mi-async-run.c: New file.
5444
67218854
TT
54452016-05-17 Tom Tromey <tom@tromey.com>
5446 Manish Goregaokar <manishsmail@gmail.com>
5447
5448 * lib/rust-support.exp: New file.
5449 * lib/gdb.exp (skip_rust_tests): New proc.
5450 (build_executable_from_specs): Handle rust.
5451 * lib/future.exp (gdb_find_rustc): New proc.
5452 (gdb_default_target_compile): Handle rust.
5453 * gdb.rust/expr.exp: New file.
5454 * gdb.rust/generics.exp: New file.
5455 * gdb.rust/generics.rs: New file.
5456 * gdb.rust/methods.exp: New file.
5457 * gdb.rust/methods.rs: New file.
5458 * gdb.rust/modules.exp: New file.
5459 * gdb.rust/modules.rs: New file.
5460 * gdb.rust/simple.exp: New file.
5461 * gdb.rust/simple.rs: New file.
5462
c44af4eb
TT
54632016-05-17 Tom Tromey <tom@tromey.com>
5464
5465 * gdb.base/default.exp (set language): Add rust.
5466
dcd1f979
TT
54672016-05-17 Tom Tromey <tom@tromey.com>
5468
5469 * gdb.gdb/unittest.exp: New file.
5470
155b7f57
YQ
54712016-05-16 Yao Qi <yao.qi@linaro.org>
5472
5473 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5474 shell_prompt. Update shell_prompt_re.
5475
8ddd5a6c
DE
54762016-05-12 Doug Evans <dje@google.com>
5477
5478 PR symtab/19999
5479 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5480 $options when building executable.
5481 * gdb.dwarf2/fission-loclists-pie.S: New file.
5482 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5483
02e370d9
SM
54842016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5485
5486 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5487 of [is_remote target],
5488
8929ad8b
SM
54892016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5490
5491 * lib/gdb.exp (use_gdb_stub): New procedure.
5492
6c447423
DE
54932016-05-03 Yunlian Jiang <yunlian@google.com>
5494 Doug Evans <dje@google.com>
5495
5496 PR symtab/19914
5497 * gdb.dwarf2/dwp-sepdebug.c: New file.
5498 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5499
444e826c
SM
55002016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5501
5502 * gdb.base/detach.exp: Remove is_remote check.
5503
740feeaa
SM
55042016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5505
5506 * gdb.base/annota-input-while-running.exp: Don't check for
5507 [is_remote target]. Enable annotations after running to main.
5508 Remove unused "set test..." line.
5509
9080ac9d
SM
55102016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5511
5512 * gdb.trace/trace-enable-disable.exp: New file.
5513 * gdb.trace/trace-enable-disable.c: New file.
5514
952ebca5
SM
55152016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5516
5517 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5518 use it in info sharedlibrary test.
5519 * gdb.trace/ftrace-lock.exp: Likewise.
5520 * gdb.trace/ftrace.exp: Likewise.
5521 * gdb.trace/range-stepping.exp: Likewise.
5522 * gdb.trace/trace-break.exp: Likewise.
5523 * gdb.trace/trace-condition.exp: Likewise.
5524 * gdb.trace/trace-mt.exp: Likewise.
5525
d9019901
SM
55262016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5527
5528 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5529 (gdb_load_shlib): ... this.
5530 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5531 gdb_load_shlib.
5532 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5533 * gdb.base/ctxobj.exp: Likewise.
5534 * gdb.base/dprintf-pending.exp: Likewise.
5535 * gdb.base/dso2dso.exp: Likewise.
5536 * gdb.base/fixsection.exp: Likewise.
5537 * gdb.base/gcore-relro.exp: Likewise.
5538 * gdb.base/gdb1555.exp: Likewise.
5539 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5540 * gdb.base/gnu-ifunc.exp: Likewise.
5541 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5542 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5543 * gdb.base/pending.exp: Likewise.
5544 * gdb.base/print-file-var.exp: Likewise.
5545 * gdb.base/print-symbol-loading.exp: Likewise.
5546 * gdb.base/shlib-call.exp: Likewise.
5547 * gdb.base/shreloc.exp: Likewise.
5548 * gdb.base/so-impl-ld.exp: Likewise.
5549 * gdb.base/solib-disc.exp: Likewise.
5550 * gdb.base/solib-nodir.exp: Likewise.
5551 * gdb.base/solib-overlap.exp: Likewise.
5552 * gdb.base/solib-symbol.exp: Likewise.
5553 * gdb.base/solib-weak.exp (do_test): Likewise.
5554 * gdb.base/sym-file.exp: Likewise.
5555 * gdb.base/symtab-search-order.exp: Likewise.
5556 * gdb.base/type-opaque.exp: Likewise.
5557 * gdb.base/unload.exp: Likewise.
5558 * gdb.base/watchpoint-solib.exp: Likewise.
5559 * gdb.compile/compile.exp: Likewise.
5560 * gdb.cp/gdb2384.exp: Likewise.
5561 * gdb.cp/infcall-dlopen.exp: Likewise.
5562 * gdb.cp/re-set-overloaded.exp: Likewise.
5563 * gdb.fortran/library-module.exp: Likewise.
5564 * gdb.opt/solib-intra-step.exp: Likewise.
5565 * gdb.python/py-finish-breakpoint.exp: Likewise.
5566 * gdb.python/py-shared.exp: Likewise.
5567 * gdb.reverse/solib-precsave.exp: Likewise.
5568 * gdb.reverse/solib-reverse.exp: Likewise.
5569 * gdb.server/solib-list.exp: Likewise.
5570 * gdb.threads/dlopen-libpthread.exp: Likewise.
5571 * gdb.threads/tls-shared.exp: Likewise.
5572 * gdb.threads/tls-so_extern.exp: Likewise.
5573 * gdb.trace/change-loc.exp: Likewise.
5574 * gdb.trace/ftrace-lock.exp: Likewise.
5575 * gdb.trace/ftrace.exp: Likewise.
5576 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5577 * gdb.trace/pending.exp: Likewise.
5578 * gdb.trace/range-stepping.exp: Likewise.
5579 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5580 (strace_info_marker): Likewise.
5581 (strace_probe_marker): Likewise.
5582 (strace_trace_on_same_addr): Likewise.
5583 (strace_trace_on_diff_addr): Likewise.
5584 * gdb.trace/trace-break.exp: Likewise.
5585 * gdb.trace/trace-condition.exp: Likewise.
5586 * gdb.trace/trace-mt.exp: Likewise.
5587
fca4cfd9
SM
55882016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5589
5590 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5591 result of gdb_remote_download.
5592 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5593 * gdb.base/dso2dso.exp: Likewise.
5594 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5595 * gdb.base/print-file-var.exp: Likewise.
5596 * gdb.base/shlib-call.exp: Likewise.
5597 * gdb.base/shreloc.exp: Likewise.
5598 * gdb.base/solib-overlap.exp: Likewise.
5599 * gdb.base/solib-weak.exp (do_test): Likewise.
5600 * gdb.base/unload.exp: Likewise.
5601
11cf4ffb
YQ
56022016-04-27 Yao Qi <yao.qi@linaro.org>
5603
5604 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5605 exists.
5606
3e2e34f8
KB
56072016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5608
5609 * vla-type.exp: Print structure from toplevel.
5610
8f07e298
BH
56112016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5612
5613 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5614 of dynamic types.
5615 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5616 of dynamic types.
5617
9920b434
BH
56182016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5619
5620 * gdb.fortran/vla-type.f90: New file.
5621 * gdb.fortran/vla-type.exp: New file.
5622
f3abeff5
YQ
56232016-04-25 Yao Qi <yao.qi@linaro.org>
5624
5625 * gdb.base/branch-to-self.c: New file.
5626 * gdb.base/branch-to-self.exp: New file.
5627
0a5d52f0
YQ
56282016-04-22 Yao Qi <yao.qi@linaro.org>
5629
5630 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5631 more after $hex.
5632
495346f6
YQ
56332016-04-22 Yao Qi <yao.qi@linaro.org>
5634
5635 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5636 * gdb.base/annota3.exp: Likewise.
5637
4a7e075c
YQ
56382016-04-22 Yao Qi <yao.qi@linaro.org>
5639
5640 * gdb.reverse/step-precsave.exp: Do one step and test program
5641 stops in "callee" and do multiple steps until program goes out
5642 of "callee".
5643 * gdb.reverse/step-reverse.exp: Likewise.
5644
5b061e98
YQ
56452016-04-22 Yao Qi <yao.qi@linaro.org>
5646
5647 * gdb.trace/signal.exp: Also pass if
5648 $tracepoint_hits($i) > $iterations.
5649
5c5dc57f
YQ
56502016-04-22 Yao Qi <yao.qi@linaro.org>
5651
5652 * gdb.trace/signal.c: New file.
5653 * gdb.trace/signal.exp: New file.
5654
a55411b9
DE
56552016-04-19 Doug Evans <xdje42@gmail.com>
5656
5657 * gdb.base/bad-file.exp: New file.
5658
a22df60a
MG
56592016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5660
5661 * gdb.dwarf2/implref.exp: New file.
5662
0c13f7e5
BH
56632016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5664
5665 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5666 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5667 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5668 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5669 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5670 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5671 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5672 * lib/fortran.exp (fortran_int4): New procedure.
5673 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5674 (fortran_logical4): Likewise.
5675
9b9b09e9
BH
56762016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5677
5678 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5679
a14d1f4d
BH
56802016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5681
5682 * lib/compiler.c: Add Intel specific preprocessor macros.
5683 * lib/compiler.cc: Likewise.
25d49b86 5684
7d49b1d0
LM
56852016-04-13 Luis Machado <lgustavo@codesourcery.com>
5686
5687 * gdb.server/connect-with-no-symbol-file.c: New file.
5688 * gdb.server/connect-with-no-symbol-file.exp: New file.
5689
8392fa22
SM
56902016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5691
5692 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5693
8c4c4aeb
SM
56942016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5695
5696 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5697 standard output directory.
5698
45e3745e
AT
56992016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5700
5701 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5702
e26b7e41
MM
57032016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5704
5705 * gdb.btrace/instruction_history.c (loop): Add declaration.
5706
8ce09462
AT
57072016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5708
5709 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5710
2e88a1ea
SM
57112016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5712
5713 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5714 parentheses to print.
5715 (continue_handler): Likewise.
5716
f48e22e3
SM
57172016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5718
5719 * gdb.server/solib-list.exp: Remove is_remote check.
5720 Pass shlib= to gdb_compile. Don't link shared library with
5721 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5722 Run binary filename through "readlink -f" on the target.
5723
096be756
PA
57242016-04-08 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5727 interpreter filename as argument to gdbserver_spawn.
5728 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5729 Return empty if $last_loaded_file does not exist.
5730
06500533
JK
57312016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5732
5733 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5734 * gdb.base/jit-main.c: Use exit after usage.
5735
2d35e871
JK
57362016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5737
5738 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5739 GDBHISTSIZE prior to the tests.
5740 * gdb.base/gdbinit-history.exp: Likewise.
5741
57422016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
5743
5744 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5745 instead of build_executable. Use gdb_load_shlibs.
5746
c8064e7e
YQ
57472016-04-07 Yao Qi <yao.qi@linaro.org>
5748
5749 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5750 Execute "si" command.
5751
bde47561
YQ
57522016-04-07 Yao Qi <yao.qi@linaro.org>
5753
5754 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5755 number instead of the comments on some line.
5756
b16f8a3b
DB
57572016-04-06 Don Breazeal <donb@codesourcery.com>
5758
5759 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5760 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5761
c2f901df
SM
57622016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5763
5764 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5765 standard_output_file. Remove unused binfile variable.
5766
ac17fda0
CU
57672016-04-05 Catalin Udma <catalin.udma@freescale.com>
5768
5769 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5770 * gdb.python/py-mi-objfile.exp: Match "list main" output
5771 in console format.
5772
03a8c4df
SM
57732016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5774
5775 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5776 absolute.
5777
6e774b13
SM
57782016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5779
5780 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5781 absolute.
5782 * gdb.trace/ftrace.exp: Likewise.
5783 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5784 targets as well.
5785 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5786 (gdb_load_shlibs): Copy libraries to test directory when testing
5787 natively. Only set solib-search-path if testing remotely.
5788 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5789
7817ea46
SM
57902016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5791
5792 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5793 gdb_download. Use it even if the target is not remote.
5794 * gdb.base/jit.exp (compile_jit_test): Likewise.
5795 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5796 output directory if the destination board is local, otherwise use
5797 the standard remote_download from DejaGnu.
5798 (gdb_download): Remove.
5799 (gdb_load_shlibs): Use gdb_remote_download instead of
5800 gdb_download.
5801 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5802 Use gdb_remote_download instead of gdb_download. Use it even if
5803 the target is not remote.
5804 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5805 instead of gdb_download.
5806
7beb7f68
SM
58072016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5808
5809 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5810 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5811 run.
5812
cc63428a
AV
58132016-04-01 Artemiy Volkov <artemiyv@acm.org>
5814
5815 PR gdb/19820
5816 * gdb.base/printcmds.exp: Add artificial arrays tests.
5817
64cdf930
PA
58182016-03-31 Pedro Alves <palves@redhat.com>
5819
5820 PR gdb/19858
5821 * gdb.base/jit-main.c: Include unistd.h.
5822 (ATTACH): Define to 0 if not already defined.
5823 (wait_for_gdb, mypid): New globals.
5824 (WAIT_FOR_GDB): New macro.
5825 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5826 some breakpoint locations.
5827 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5828 New procedures.
5829 (one_jit_test): Add REATTACH parameter, and handle it. Use
5830 continue_to_test_location.
5831 (top level): Test attach, and adjusts calls to one_jit_test.
5832
40dea8cb
PA
58332016-03-31 Pedro Alves <palves@redhat.com>
5834
5835 PR gdb/19858
5836 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5837 BINSUFFIX parameter, and handle it.
5838 (top level): Adjust calls compile_jit_test.
5839
e7ea3ec7
CU
58402016-03-31 Catalin Udma <catalin.udma@freescale.com>
5841
5842 PR python/19743
5843 * gdb.python/py-mi-events-gdb.py: New file.
5844 * gdb.python/py-mi-events.c: New file.
5845 * gdb.python/py-mi-events.exp: New file.
5846
e6359af3
YQ
58472016-03-30 Yao Qi <yao.qi@linaro.org>
5848
5849 * gdb.reverse/until-precsave.exp: Match function name only.
5850 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5851 Move malloc to a condition block.
5852 * gdb.reverse/until-reverse.exp: Match function name only.
5853
a4105d04
MK
58542016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5855
5856 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5857 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5858 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5859 variable for GPR 0 instead of assuming it is register 0.
5860 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5861 * lib/trace-support.exp: Add s390 registers.
5862
bfa6adb9
YQ
58632016-03-29 Yao Qi <yao.qi@linaro.org>
5864
5865 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5866
1e6697ea
YQ
58672016-03-24 Yao Qi <yao.qi@linaro.org>
5868
5869 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5870 test message.
5871
64bcd522
AA
58722016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5873
5874 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5875 maintaining separate logic for constructing the output path.
5876
7868401b
DB
58772016-03-16 Don Breazeal <donb@codesourcery.com>
5878
5879 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5880 Retry fork and waitpid on interrupted system call errors.
5881 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5882 Use with_timeout_factor to increase timeout by factor of 10.
5883
1cafadb4
DB
58842016-03-15 Don Breazeal <donb@codesourcery.com>
5885
5886 * gdb.cp/scope-err.cc: New test program.
5887 * gdb.cp/scope-err.exp: New test script.
5888 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5889 lines and "set breakpoint here" comment.
5890 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5891 Fixed some whitespace and format issues.
5892 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5893 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5894
81516450
DE
58952016-03-15 Doug Evans <dje@google.com>
5896
5897 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5898 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5899 All callers updated. Add tests for enums, mixed flags register.
5900
aa52b601
DE
59012016-03-15 Doug Evans <dje@google.com>
5902
5903 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5904 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5905
fa4ff313
SM
59062016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5907
5908 * gdb.base/default.exp: Add $_as_string to the list of expected
5909 convenience functions.
5910
f2403c39
AB
59112016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5912
5913 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5914
f2f3ccb9
SM
59152016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5916
5917 * gdb.python/py-as-string.exp: New file.
5918 * gdb.python/py-as-string.c: New file.
5919
00dbd492
PA
59202016-03-09 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5923 signal" -> "Thread NN received signal" output change.
5924 * gdb.threads/ia64-sigill.exp: Likewise.
5925 * gdb.threads/linux-dp.exp: Likewise.
5926 * gdb.threads/manythreads.exp: Likewise.
5927 * gdb.threads/pending-step.exp: Likewise.
5928 * gdb.threads/print-threads.exp: Likewise.
5929 * gdb.threads/sigstep-threads.exp: Likewise.
5930 * gdb.threads/staticthreads.exp: Likewise.
5931 * gdb.threads/tls.exp: Likewise.
5932
1e6697ea
YQ
59332016-03-09 Pedro Alves <palves@redhat.com>
5934
5935 * gdb.base/command-line-input.exp: New file.
5936
b04fd3be
MK
59372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5938
5939 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5940 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5941 * gdb.trace/pending.exp: Accept leading dot before function name.
5942 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5943 * lib/trace-support.exp: Set registers for ppc.
5944
98fa59e9
MK
59452016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5946
5947 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5948 use it for disassembly; accept .main in addition to main in backtrace.
5949
f77198c8
MK
59502016-03-09 Wei-cheng Wang <cole945@gmail.com>
5951 Marcin Kościelnicki <koriakin@0x04.net>
5952
5953 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5954 (gdb_recursion_test_ptr): New global variable.
5955 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5956 gdb_recursion_test.
5957 (gdb_c_test): Ditto.
5958
ba84e0da
MK
59592016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5960
5961 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5962 ordering.
5963
4366d36e
MK
59642016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5965
5966 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5967 (bar): Add bar_start_lbl label.
5968 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5969 of foo/bar for emitting DWARF and tracing.
5970
5eb264df
SDJ
59712016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5972
5973 * analyze-racy-logs.py: Set executable bit.
5974
fb6a751f
SDJ
59752016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5976
5977 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5978 (CHECK_TARGET_TMP): Likewise.
5979 (check-single-racy): New rule.
5980 (check-parallel-racy): Likewise.
5981 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5982 (do-check-parallel-racy): New rule.
5983 (check-racy/%.exp): Likewise.
5984 * README (Racy testcases): New section.
5985 * analyze-racy-logs.py: New file.
5986
bdf7e230
DE
59872016-03-03 Doug Evans <dje@google.com>
5988
5989 * gdb.base/skip.exp: Use with_test_prefix.
5990
4719d415
YQ
59912016-03-03 Yao Qi <yao.qi@linaro.org>
5992
5993 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5994 Invoke step_over_syscall "clone" and break_cond_on_syscall
5995 "clone".
5996 * gdb.base/step-over-clone.c: New file.
5997
ea507862
YQ
59982016-03-03 Yao Qi <yao.qi@linaro.org>
5999
6000 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6001 code format.
6002
8fc8cbda
YQ
60032016-03-03 Yao Qi <yao.qi@linaro.org>
6004
6005 * gdb.base/disp-step-fork.c: Rename to ...
6006 * gdb.base/step-over-fork.c: ... it. New file.
6007 * gdb.base/disp-step-vfork.c: Rename to ...
6008 * gdb.base/step-over-vfork.c: ... it. New file.
6009 * gdb.base/disp-step-syscall.exp: Rename to ...
6010 * gdb.base/step-over-syscall.exp: ... it. New file.
6011 (disp_step_cross_syscall): Rename to ...
6012 (step_over_syscall): ... it.
6013
92fa70b0
YQ
60142016-03-03 Yao Qi <yao.qi@linaro.org>
6015
6016 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6017 If target supports condition evaluation on target, invoke
6018 break_cond_on_syscall for fork and vfork.
6019
e197ad3c
YQ
60202016-03-03 Yao Qi <yao.qi@linaro.org>
6021
6022 * gdb.base/disp-step-syscall.exp: Don't invoke
6023 support_displaced_stepping.
6024 (disp_step_cross_syscall): Test with displaced stepping off and
6025 on if supported.
6026
0b47da9f
YQ
60272016-03-03 Yao Qi <yao.qi@linaro.org>
6028
6029 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6030 proc.
6031 (setup): New proc.
6032 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6033 and setup.
6034
065ab6dc
BH
60352016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6036
6037 * gdb.fortran/vla-history.exp: Remove breakpoint.
6038
07e448ad 60392016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6040
25d49b86
PA
6041 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6042 exceeds timeout.
07e448ad 6043
9ac2d526 60442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6045
25d49b86
PA
6046 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6047 breakpoint.
9ac2d526 6048
17807369
BH
60492016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6050
6051 * gdb.mi/vla.f90: Nullify pointer after declaration.
6052
86e501af
PA
60532016-03-01 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6056
1e903e32
PA
60572016-03-01 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6060 before anything else.
6061 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6062 _GNU_SOURCE here.
6063 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6064 before anything else.
6065 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6066
6ccb54e2
PA
60672016-03-01 Pedro Alves <palves@redhat.com>
6068
6069 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6070
30ca9da1
YQ
60712016-03-01 Yao Qi <yao.qi@linaro.org>
6072
6073 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6074 prepare_for_testing.
6075
dc856b38
YQ
60762016-03-01 Yao Qi <yao.qi@linaro.org>
6077
6078 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6079
4a932159
AA
60802016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6081
6082 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6083 manually constructing the output path.
6084
f2489477
AA
60852016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6086
6087 * gdb.arch/s390-stackless.S: New.
6088 * gdb.arch/s390-stackless.exp: New.
6089
38899f16
IB
60902016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6091
6092 * gdb.dlang/circular.c: New file.
6093 * gdb.dlang/circular.exp: New file.
6094
9fde51ed
YQ
60952016-02-26 Yao Qi <yao.qi@linaro.org>
6096
6097 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6098 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6099 (testcases): Update.
6100
ce90fefe
YQ
61012016-02-26 Yao Qi <yao.qi@linaro.org>
6102
6103 * gdb.reverse/aarch64.c: Rename to ...
6104 * gdb.reverse/insn-reverse.c: ... it.
6105 * gdb.reverse/aarch64.exp: Rename to ...
6106 * gdb.reverse/insn-reverse.exp: ... it.
6107
3263bceb
YQ
61082016-02-26 Yao Qi <yao.qi@linaro.org>
6109
6110 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6111 (testcase_ftype): New.
6112 (testcases): New array.
6113 (n_testcases): New.
6114 (main): Call each element in testcases.
6115 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6116 (read_testcase): New.
6117 Do the tests in a loop.
6118
6cb59ff1
YQ
61192016-02-25 Yao Qi <yao.qi@linaro.org>
6120
6121 * gdb.base/branches.c: Remove.
6122
ae91f625
MK
61232016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6124
6125 PR gdb/13808
6126 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6127
678b48b7
MK
61282016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6129
6130 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6131
7337a6f2
MK
61322016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6133
6134 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6135 change x86_64 call_insn to 'callq'.
6136
861ca91f
AT
61372016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6138
6139 * gdb.trace/tfile-avx.c: Move to...
6140 * gdb.trace/tracefile-pseudo-reg.c: Here.
6141 * gdb.trace/tfile-avx.exp: Move to...
6142 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6143
bf74e428
GB
61442016-02-24 Gary Benson <gbenson@redhat.com>
6145
6146 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6147 message on attach.
6148
cce0e923
DE
61492016-02-23 Doug Evans <dje@google.com>
6150
6151 * gdb.base/skip.c (test_skip): New function.
6152 (end_test_skip_file_and_function): New function.
6153 (test_skip_file_and_function): New function.
6154 * gdb.base/skip1.c (test_skip): New function.
6155 (skip1_test_skip_file_and_function): New function.
6156 * gdb.base/skip.exp: Add tests for new skip options.
6157 * gdb.base/skip-solib.exp: Update expected output.
6158 * gdb.perf/skip-command.cc: New file.
6159 * gdb.perf/skip-command.exp: New file.
6160 * gdb.perf/skip-command.py: New file.
6161
4000e47e
MK
61622016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6163
6164 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6165 info registers pattern.
6166
24f75ead
IB
61672016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6168
6169 * lib/future.exp: Add D support.
6170 (gdb_find_gdc): New proc.
6171 (gdb_default_target_compile): Add D support.
6172
fbb7bcbe
WW
61732016-02-18 Wei-cheng Wang <cole945@gmail.com>
6174
6175 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6176 user+system time.
6177 (trace_speed_test): Determine the iteration count for a time
6178 between 15..30 seconds.
6179
012b3a21
WT
61802016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6181
6182 * gdb.arch/i386-mpx-sigsegv.c: New file.
6183 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6184 * gdb.arch/i386-mpx-simple_segv.c: New file.
6185 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6186
2d5189bd
YQ
61872016-02-18 Yao Qi <yao.qi@linaro.org>
6188
6189 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6190 Don't call setup_kfail.
6191
40fb20d0
YQ
61922016-02-18 Yao Qi <yao.qi@linaro.org>
6193
6194 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6195 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6196
21b1f8d2
DE
61972016-02-16 Doug Evans <dje@google.com>
6198
6199 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6200 * gdb.base/skip1.c: Ditto.
6201 * gdb.base/skip.exp: Whitespace cleanup.
6202
4041ed77
DB
62032016-02-16 Don Breazeal <donb@codesourcery.com>
6204
6205 PR remote/19496
6206 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6207 Remove kfail for PR remote/19496.
6208
c4ef31bf
SM
62092016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6210
6211 * lib/gdb.exp (standard_temp_file): Return a path specific to
6212 the runtest invocation.
6213
266b65b3
SM
62142016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6215
6216 * gdb.trace/save-trace.exp: Change relative path to be in the
6217 standard output directory.
6218
a7a0a6a9
JK
62192016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6220
6221 * gdb.arch/i386-prologue.c: Add missing prototypes.
6222
c99dbb42
JK
62232016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6224
6225 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6226 * gdb.arch/i386-prologue.exp: Likewise.
6227 * gdb.arch/i386-size.exp: Likewise.
6228
aa480355
SM
62292016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6230
6231 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6232 define object file path.
6233 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6234 file path.
6235 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6236 standard_output_file to define binfile.
6237
ba881f50
JK
62382016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6239
6240 Fix compatibility with recent gfortran-5.3.1.
6241 * gdb.fortran/vla-history.exp (print vla1 allocated)
6242 (print vla2 allocated, print $2, print $3): Remove
6243 (print $4): Rename to ...
6244 (print $2): ... here.
6245 (print $9): Rename to ...
6246 (print $5): ... here.
6247 (print $10): Rename to ...
6248 (print $6): ... here.
6249 * gdb.fortran/vla.f90: Add pvla initialization.
6250
e9fb005c
JK
62512016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6252
6253 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6254 New test.
6255 * gdb.fortran/vla-value-sub.exp: Likewise.
6256
e44e00ff
MK
62572016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6258
6259 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6260
97e94151
SM
62612016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6262
6263 * i386-biarch-core.exp: Define corefile using
6264 standard_output_file.
6265
01113bc1
YQ
62662016-02-12 Yao Qi <yao.qi@linaro.org>
6267
6268 * gdb.arch/arm-single-step-kernel-helper.c: New.
6269 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6270
33b4777c
MM
62712016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6272
6273 * gdb.btrace/tailcall-only.exp: New.
6274 * gdb.btrace/tailcall-only.c: New.
6275 * gdb.btrace/x86_64-tailcall-only.S: New.
6276 * gdb.btrace/i686-tailcall-only.S: New.
6277
acc23c11
PA
62782016-02-11 Pedro Alves <palves@redhat.com>
6279
6280 * README (Parallel testing): Add missing double quotes.
6281
e352bf0a
PA
62822016-02-11 Pedro Alves <palves@redhat.com>
6283
6284 * README (Parallel testing): New section.
6285 (GDB_PARALLEL): Rewrite.
6286 (FORCE_PARALLEL): Document.
6287
9f5fed78
MK
62882016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6289
6290 * gdb.trace/tfile-avx.c: New test.
6291 * gdb.trace/tfile-avx.exp: New test.
6292
9ef9e6a6
KS
62932016-02-09 Keith Seitz <keiths@redhat.com>
6294
6295 PR breakpoints/19546
6296 * gdb.base/infcall-exec.c: New file.
6297 * gdb.base/infcall-exec2.c: New file.
6298 * gdb.base/infcall-exec.exp: New file.
6299
a96e36da
KS
63002016-02-09 Keith Seitz <keiths@redhat.com>
6301
6302 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6303 (toplevel): Call test_bkpt_address.
6304
9f61929f
KS
63052016-02-09 Keith Seitz <keiths@redhat.com>
6306
6307 PR python/19506
6308 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6309 (toplevel): Call test_bkpt_address.
6310
1e94266c
SM
63112016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6312
6313 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6314 to AC_OUTPUT.
6315 * configure: Regenerate.
6316
2a7f3dff
PA
63172016-02-09 Pedro Alves <palves@redhat.com>
6318
6319 PR breakpoints/19548
6320 * gdb.base/execl-update-breakpoints.c (some_function): New
6321 function.
6322 (main): Call it.
6323 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6324 Tighten expected GDB output.
6325
2151ccc5
SM
63262016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6327
6328 * Makefile.in (ALL_SUBDIRS): Remove.
6329 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6330 (distclean maintainer-clean realclean): Likewise.
6331 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6332 * configure: Regenerate.
6333 * gdb.ada/Makefile.in: Delete.
6334 * gdb.arch/Makefile.in: Likewise.
6335 * gdb.asm/Makefile.in: Likewise.
6336 * gdb.base/Makefile.in: Likewise.
6337 * gdb.btrace/Makefile.in: Likewise.
6338 * gdb.cell/Makefile.in: Likewise.
6339 * gdb.compile/Makefile.in: Likewise.
6340 * gdb.cp/Makefile.in: Likewise.
6341 * gdb.disasm/Makefile.in: Likewise.
6342 * gdb.dlang/Makefile.in: Likewise.
6343 * gdb.dwarf2/Makefile.in: Likewise.
6344 * gdb.fortran/Makefile.in: Likewise.
6345 * gdb.gdb/Makefile.in: Likewise.
6346 * gdb.go/Makefile.in: Likewise.
6347 * gdb.guile/Makefile.in: Likewise.
6348 * gdb.java/Makefile.in: Likewise.
6349 * gdb.linespec/Makefile.in: Likewise.
6350 * gdb.mi/Makefile.in: Likewise.
6351 * gdb.modula2/Makefile.in: Likewise.
6352 * gdb.multi/Makefile.in: Likewise.
6353 * gdb.objc/Makefile.in: Likewise.
6354 * gdb.opencl/Makefile.in: Likewise.
6355 * gdb.opt/Makefile.in: Likewise.
6356 * gdb.pascal/Makefile.in: Likewise.
6357 * gdb.perf/Makefile.in: Likewise.
6358 * gdb.python/Makefile.in: Likewise.
6359 * gdb.reverse/Makefile.in: Likewise.
6360 * gdb.server/Makefile.in: Likewise.
6361 * gdb.stabs/Makefile.in: Likewise.
6362 * gdb.threads/Makefile.in: Likewise.
6363 * gdb.trace/Makefile.in: Likewise.
6364 * gdb.xml/Makefile.in: Likewise.
6365 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6366 GDB_PARALLEL.
6367 (standard_output_file): Remove check for GDB_PARALLEL, always
6368 return path in outputs/$subdir/$testname.
6369
437277d4
SM
63702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6371
6372 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6373 (site.exp): Assign abs_srcdir to tcl's srcdir.
6374
31d913c7
YQ
63752016-02-04 Yao Qi <yao.qi@linaro.org>
6376
6377 * gdb.base/foll-exec-mode.c: Include limits.h.
6378 (main): Add parameters argc and argv. Get directory from
6379 argv[0].
6380 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6381 compilation.
6382 * gdb.base/foll-exec.c: Include limits.h.
6383 (main): Add parameters argc and argv.
6384 Get directory from argv[0].
6385 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6386 Adjust tests on the number of lines as source code changed.
6387 * gdb.base/foll-vfork-exit.c: Include limits.h.
6388 (main): Add one line of statement before vfork.
6389 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6390 (main): Add parameters argc and argv. Get directory from
6391 argv[0].
6392 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6393 (setup_gdb): Set tbreak to skip some source lines.
6394 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6395 (main): Add parameters argc and argv. Get directory from
6396 argv[0].
6397 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6398 compilation.
6399 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6400 (main): Add parameters argc and argv. Get directory from
6401 argv[0].
6402 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6403 compilation.
6404
9482b9fb
DE
64052016-02-01 Doug Evans <dje@google.com>
6406
6407 * gdb.base/skip.exp: Clean up multiple references to same test name.
6408
6b2e4f10
PA
64092016-02-01 Pedro Alves <palves@redhat.com>
6410
ccb6afd6 6411 PR remote/19496
6b2e4f10
PA
6412 * gdb.threads/forking-threads-plus-breakpoint.exp
6413 (displaced_stepping_supported): New global.
6414 (probe_displaced_stepping_support): New procedure.
6415 (do_test): Add 'displaced' parameter, and use it.
6416 (top level): Check for displaced stepping support. Add displaced
6417 stepping on/off testing axis.
6418
37a8db1a
AB
64192016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6420
6421 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6422 pointer. Don't perform further tests on the unassociated pointer
6423 if the first test fails.
6424
5fdf6324
AB
64252016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6426
6427 * gdb.base/max-value-size.c: New file.
6428 * gdb.base/max-value-size.exp: New file.
6429 * gdb.base/huge.exp: Disable max-value-size for this test.
6430
935c6144
IB
64312016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6432
6433 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6434
7fe8399d
YQ
64352016-01-28 Yao Qi <yao.qi@linaro.org>
6436
6437 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6438
a2077e25
PA
64392016-01-25 Pedro Alves <palves@redhat.com>
6440
6441 PR threads/19461
6442 * gdb.base/fork-running-state.c: New file.
6443 * gdb.base/fork-running-state.exp: New file.
6444
1d2736d4
PA
64452016-01-25 Pedro Alves <palves@redhat.com>
6446
6447 PR gdb/19494
6448 * gdb.base/catch-fork-kill.c: New file.
6449 * gdb.base/catch-fork-kill.exp: New file.
6450
f1da4b11
PA
64512016-01-25 Pedro Alves <palves@redhat.com>
6452
6453 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6454 Delete, moved to lib/gdb.exp.
6455 * gdb.threads/forking-threads-plus-breakpoint.exp
6456 (foreach_with_prefix): Likewise.
6457 * gdb.threads/process-dies-while-handling-bp.exp
6458 (foreach_with_prefix): Likewise.
6459 * lib/gdb.exp (foreach_with_prefix): New procedure.
6460
45f38546
MK
64612016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6462
6463 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6464 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6465
dc29a1ce
MK
64662016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6467
6468 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6469 endian targets.
6470
092127d7
JK
64712016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6472 Pedro Alves <palves@redhat.com>
6473
6474 Fix testsuite compatibility with Guile.
6475 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6476 number.
6477
31d765d3
JK
64782016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6479
6480 Fix testsuite compatibility with Guile.
6481 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6482 (thread 1): New test for backtrace through signal handler.
6483
1ac78c04
YQ
64842016-01-22 Yao Qi <yao.qi@linaro.org>
6485
6486 PR testsuite/19491
6487 * gdb.base/multi-forks.c: Include
6488 ../lib/unbuffer_output.c
6489 (main): Call gdb_unbuffer_output.
6490
4f5946a8
DE
64912016-01-21 Doug Evans <dje@google.com>
6492
6493 * lib/ada.exp (gdb_compile_ada): Fix typo.
6494
305e13e6
JB
64952016-01-21 Joel Brobecker <brobecker@adacore.com>
6496
6497 * gdb.base/break-fun-addr.exp: New file.
6498 * gdb.base/break-fun-addr1.c: New file.
6499 * gdb.base/break-fun-addr2.c: New file.
6500
5f5dfff6
SM
65012016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6502
6503 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6504 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6505 enum flag values.
6506
fd356fa2
AA
65072016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6508
6509 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6510 when GDB can not set the vector return value. Add more comments
6511 for clarification.
6512
9df22175
AT
65132016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6514
6515 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6516 command.
6517
41d1845e
SM
65182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6519
6520 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6521
01ac6840
SM
65222016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6523
6524 * Makefile.in (check-single): Pass --status to runtest.
6525 (check/%.exp): Likewise.
6526
65272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6528
6529 * Makefile.in (check-parallel): Propagate return code from make
6530 do-check-parallel.
6531
bd0a71fa
MK
65322016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6533
6534 * gdb.trace/ftrace.exp: Fix expected message on continue.
6535 * gdb.trace/pending.exp: Fix expected message on continue.
6536 * gdb.trace/trace-break.exp: Fix expected message on continue.
6537
8bcbad33
SM
65382016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6539
6540 * lib/gdb.exp (gdb_test): Remove unused global references.
6541
f303dbd6
PA
65422016-01-18 Pedro Alves <palves@redhat.com>
6543
6544 * gdb.base/async-shell.exp: Adjust expected output.
6545 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6546 * gdb.base/siginfo-thread.exp: Adjust expected output.
6547 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6548 * gdb.java/jnpe.exp: Adjust expected output.
6549 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6550 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6551 * gdb.threads/leader-exit.exp: Adjust expected output.
6552 * gdb.threads/manythreads.exp: Adjust expected output.
6553 * gdb.threads/pthreads.exp: Adjust expected output.
6554 * gdb.threads/schedlock.exp: Adjust expected output.
6555 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6556 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6557 expected output.
6558 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6559 output.
6560 * gdb.threads/sigthread.exp: Adjust expected output.
6561 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6562
b2789696
YQ
65632016-01-18 Yao Qi <yao.qi@linaro.org>
6564
6565 * gdb.guile/scm-section-script.c: Replace @progbits with
6566 %progbits.
6567 * gdb.python/py-section-script.c: Likewise.
6568
71ef29a8
PA
65692016-01-15 Pedro Alves <palves@redhat.com>
6570
6571 * gdb.multi/tids.exp: Test star wildcard ranges.
6572
3f5b7598
PA
65732016-01-15 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6576 command from "thread apply" invocation.
6577 (thr_apply_info_thr_invalid): Default the expected output to the
6578 input tid list.
6579 (top level): Add tests that use convenience variables. Add tests
6580 for "thread apply" with a valid TID list, but missing the command.
6581
663f6d42
PA
65822016-01-13 Pedro Alves <palves@redhat.com>
6583
6584 * gdb.base/default.exp: Expect $_gthread as well.
6585 * gdb.multi/tids.exp: Test $_gthread.
6586 * gdb.threads/thread-specific.exp: Test $_gthread.
6587
c84f6bbf
PA
65882016-01-13 Pedro Alves <palves@redhat.com>
6589
6590 * gdb.multi/tids.exp: Test "info threads -gid".
6591
22a02324
PA
65922016-01-13 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6595 Breakpoint.thread.
6596 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6597
5d5658a1
PA
65982016-01-07 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.base/break.exp: Adjust to output changes.
6601 * gdb.base/hbreak2.exp: Likewise.
6602 * gdb.base/sepdebug.exp: Likewise.
6603 * gdb.base/watch_thread_num.exp: Likewise.
6604 * gdb.linespec/keywords.exp: Likewise.
6605 * gdb.multi/info-threads.exp: Likewise.
6606 * gdb.threads/thread-find.exp: Likewise.
6607 * gdb.multi/tids.c: New file.
6608 * gdb.multi/tids.exp: New file.
6609
84654457
PA
66102016-01-13 Pedro Alves <palves@redhat.com>
6611
6612 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6613
e3940304
PA
66142016-01-13 Pedro Alves <palves@redhat.com>
6615
6616 * gdb.base/default.exp: Expect $_inferior as well.
6617 * gdb.multi/base.exp: Test $_inferior.
6618
a911d87a
PA
66192016-01-13 Pedro Alves <palves@redhat.com>
6620
6621 PR breakpoints/19388
6622 * gdb.base/catch-signal-siginfo-cond.c: New file.
6623 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6624
82075af2
JS
66252016-01-12 Josh Stone <jistone@redhat.com>
6626 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6627
6628 * gdb.base/catch-syscall.c (do_execve): New variable.
6629 (main): Conditionally trigger an execve.
6630 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6631 (test_catch_syscall_execve): New, check entry/return across execve.
6632 (do_syscall_tests): Call test_catch_syscall_execve.
6633
e46eeedd
PA
66342016-01-12 Pedro Alves <palves@redhat.com>
6635
6636 * gdb.base/random-signal.exp (do_test): New procedure, with body
6637 of testcase moved in.
6638
01d8c27e
JK
66392016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6640 Pedro Alves <palves@redhat.com>
6641
6642 * gdb.base/funcargs.exp (finish from indirectly called function):
6643 Reintroduce the case for 'First'.
6644
9a706302
JK
66452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6646 Pedro Alves <palves@redhat.com>
6647
6648 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6649 (tcatch_vfork_then_child_follow_exec)
6650 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6651 identification.
6652
c0ecb95f
JK
66532016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6654
6655 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6656 and repeats to unlimited.
6657 * gdb.python/py-value.exp: Likewise.
6658 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6659 and repeats to unlimited.
6660
6cfc1fcb
JK
66612016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6662
6663 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6664 and reordering the functions.
6665 * gdb.multi/hangout.c: Likewise.
6666 * gdb.multi/hello.c: Likewise.
6667
582a1b00
SM
66682016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6669
6670 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6671 absolute.
6672 (SingleStatisticTestResult.report): Use dict.keys instead of
6673 dict.iterkeys.
6674
79bc59cb
PA
66752016-01-06 Pedro Alves <palves@redhat.com>
6676
6677 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6678
43368e1d
MM
66792016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6680
6681 * gdb.btrace/dlopen.exp: New.
6682 * gdb.btrace/dlopen.c: New.
6683 * gdb.btrace/dlopen-dso.c: New.
6684
79fad5b8
SL
66852015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6686
6687 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6688 PATTERN argument is optional.
6689
ab8314b3
JB
66902015-12-24 Joel Brobecker <brobecker@adacore.com>
6691
6692 * lib/ada.exp (target_compile_ada_from_dir): New function.
6693 (gdb_compile_ada): Reimplement avoiding the use of project files.
6694 * gdb.ada/gnat_ada.gpr: Delete.
6695 * gdb.ada/cond_lang.exp: Adjust test to make path before
6696 filename optional.
6697 * gdb.ada/small_reg_param.exp: Likewise.
6698
fe33faff
SM
66992015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6700
6701 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6702
6d265cb4
TP
67032015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6704
6705 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6706 case.
6707
10125099
SM
67082015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6709
6710 * gdb.base/break.exp: Remove dead code.
6711 * gdb.base/sepdebug.exp: Likewise.
6712
3ca22649
SM
67132015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6714
6715 * gdb.asm/asm-source.exp: Remove HP-UX references.
6716 * gdb.base/annota1.exp: Likewise.
6717 * gdb.base/annota3.exp: Likewise.
6718 * gdb.base/attach.exp: Likewise.
6719 * gdb.base/bigcore.exp: Likewise.
6720 * gdb.base/break.exp: Likewise.
6721 * gdb.base/call-ar-st.exp: Likewise.
6722 * gdb.base/callfuncs.exp: Likewise.
6723 * gdb.base/catch-fork-static.exp: Likewise.
6724 * gdb.base/display.exp: Likewise.
6725 * gdb.base/foll-exec-mode.exp: Likewise.
6726 * gdb.base/foll-exec.exp: Likewise.
6727 * gdb.base/foll-fork.exp: Likewise.
6728 * gdb.base/foll-vfork.exp: Likewise.
6729 * gdb.base/funcargs.exp: Likewise.
6730 * gdb.base/hbreak2.exp: Likewise.
6731 * gdb.base/inferior-died.exp: Likewise.
6732 * gdb.base/interrupt.exp: Likewise.
6733 * gdb.base/multi-forks.exp: Likewise.
6734 * gdb.base/nodebug.exp: Likewise.
6735 * gdb.base/sepdebug.exp: Likewise.
6736 * gdb.base/solib1.c: Likewise.
6737 * gdb.base/step-test.exp: Likewise.
6738 * gdb.mi/non-stop.c: Likewise.
6739 * gdb.mi/pthreads.c: Likewise.
6740 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6741 * gdb.threads/pthreads.c: Likewise.
6742 * gdb.threads/staticthreads.exp: Likewise.
6743 * lib/future.exp: Likewise.
6744 * lib/gdb.exp: Likewise.
6745 * gdb.base/so-indr-cl.c: Remove.
6746 * gdb.base/so-indr-cl.exp: Likewise.
6747 * gdb.base/solib.c: Likewise.
6748 * gdb.base/solib.exp: Likewise.
6749 * gdb.base/solib2.c: Likewise.
6750
b6304613
SM
67512015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6752
6753 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6754 * gdb.base/call-ar-st.exp: Likewise.
6755 * gdb.base/callfuncs.exp: Likewise.
6756 * gdb.base/condbreak.exp: Likewise.
6757 * gdb.base/constvars.exp: Likewise.
6758 * gdb.base/hbreak2.exp: Likewise.
6759 * gdb.base/langs.exp: Likewise.
6760 * gdb.base/list.exp: Likewise.
6761 * gdb.base/long_long.exp: Likewise.
6762 * gdb.base/ptype.exp: Likewise.
6763 * gdb.base/scope.exp: Likewise.
6764 * gdb.base/signals.exp: Likewise.
6765 * gdb.base/so-impl-ld.exp: Likewise.
6766 * gdb.base/varargs.exp: Likewise.
6767 * gdb.base/volatile.exp: Likewise.
6768 * gdb.base/whatis.exp: Likewise.
6769 * gdb.cp/cplusfuncs.exp: Likewise.
6770 * gdb.cp/inherit.exp: Likewise.
6771 * gdb.cp/local.exp: Likewise.
6772 * gdb.cp/member-ptr.exp: Likewise.
6773 * gdb.cp/method.exp: Likewise.
6774 * gdb.cp/overload.exp: Likewise.
6775 * gdb.cp/templates.exp: Likewise.
6776 * gdb.stabs/weird.exp: Likewise.
6777 * lib/compiler.c: Likewise.
6778 * lib/compiler.cc: Likewise.
6779 * lib/cp-support.exp: Likewise.
6780 * lib/gdb.exp: Likewise.
6781
bf401b07
SM
67822015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6783
6784 * configure.ac: Remove HP-UX case.
6785 * configure: Regenerate.
6786
aff9c0f8
SM
67872015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6788
6789 * lib/gdb.exp (gdb_compile): Add function doc.
6790
a6904d5a
PA
67912015-12-17 Pedro Alves <palves@redhat.com>
6792
6793 PR threads/19354
6794 * gdb.multi/info-threads.exp: New file.
6795
a22279dd
YQ
67962015-12-15 Yao Qi <yao.qi@linaro.org>
6797
6798 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6799 is aarch64*-*-*.
6800
0588c796
SL
68012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6802
6803 * gdb.base/history-duplicates.exp: Skip if no readline support.
6804
5d978e17
SL
68052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6806
6807 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6808
7e763b86
SL
68092015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6810
6811 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6812
87a3a92c
SL
68132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6814
6815 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6816 ctrl-C if nointerrupts target property is set.
6817 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6818 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6819 * gdb.base/paginate-bg-execution.exp: Likewise.
6820 * gdb.base/paginate-execution-startup.exp: Likewise.
6821 * gdb.base/random-signal.exp: Likewise.
6822 * gdb.base/range-stepping.exp: Likewise.
6823 * gdb.cp/annota2.exp: Likewise.
6824 * gdb.cp/annota3.exp: Likewise.
6825 * gdb.gdb/selftest.exp: Likewise.
6826 * gdb.threads/continue-pending-status.exp: Likewise.
6827 * gdb.threads/leader-exit.exp: Likewise.
6828 * gdb.threads/manythreads.exp: Likewise.
6829 * gdb.threads/pthreads.exp: Likewise.
6830 * gdb.threads/schedlock.exp: Likewise.
6831 * gdb.threads/sigthread.exp: Likewise.
6832
a8f077dc
DB
68332015-12-11 Don Breazeal <donb@codesourcery.com>
6834
6835 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6836 remote.
6837 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6838 * gdb.base/foll-exec.exp (main): Enable for target remote.
6839 * gdb.base/foll-fork.exp (main): Likewise.
6840 * gdb.base/foll-vfork.exp (main): Likewise.
6841 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6842 (proc continue_to_exit_bp_loc): Use clean_restart.
6843 * gdb.base/pie-execl.exp (main): Disable for target remote.
6844 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6845 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6846 * gdb.threads/execl.exp (main): Likewise.
6847 * gdb.threads/fork-child-threads.exp (main): Likewise.
6848 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6849 remote.
6850 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6851 remote.
6852 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6853 pid.tid style ptids, instead of just tid.
6854 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6855 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6856 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6857 ptids, instead of just tid.
6858
3b2464a8
AB
68592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6860
6861 * gdb.base/list.exp (test_list_forward): Add end of file error
6862 test.
6863 (test_repeat_list_command): Add end of file error test.
6864 (test_list_backwards): Add beginning of file error test.
6865
a0def019
AB
68662015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6867
6868 * gdb.base/list.exp (test_list_invalid_args): New function,
6869 defined, and called.
6870
5c000dff
AB
68712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6872
6873 * gdb.base/list.exp (test_list): Make test names unique.
6874
f1637ebe
YQ
68752015-12-11 Yao Qi <yao.qi@linaro.org>
6876
6877 * gdb.base/coremaker2.c: Remove.
6878
36d6fc0a
PA
68792015-12-10 Pedro Alves <palves@redhat.com>
6880
6881 * gdb.multi/base.exp: Remove stale "spaces" references.
6882
762f7747
PA
68832015-12-10 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.multi/base.exp: Don't use nowarnings.
6886 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6887 * gdb.multi/hangout.c: Include stdio.h.
6888 * gdb.multi/hello.c: Include stdlib.h.
6889 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6890 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6891 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6892
28d2bfb9
AB
68932015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6894
6895 * gdb.dwarf2/dw2-ranges-base.c: New file.
6896 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6897 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6898 support additional line table, and debug ranges generation.
6899 (Dwarf::ranges): New function, generate .debug_ranges.
6900 (Dwarf::lines): Support generating simple line table programs.
6901 (Dwarf::assemble): Initialise new namespace variables.
6902
5fc2beac
KB
69032015-12-09 Kevin Buettner <kevinb@redhat.com>
6904
6905 * gdb.base/async.exp (proc test_background): Add case for
6906 asynchronous execution not supported.
6907
1c35a88f
LM
69082015-12-09 Luis Machado <lgustavo@codesourcery.com>
6909
6910 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6911 format and change test names to make them unique.
6912
b593e3d9
RK
69132015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6914 Pedro Alves <pedro@redhat.com>
6915
6916 PR gdb/18702
6917 Add checking of floatformats setup on x86_64 hosts.
6918 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6919 (smallval, bigval): New labels/constants.
6920 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6921 float" after loading bigval and smallval.
6922
d72413e6
PMR
69232015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6924
6925 * gdb.ada/fun_overload_menu.exp: New testcase.
6926 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6927
ece66d65
JS
69282015-12-04 Josh Stone <jistone@redhat.com>
6929
6930 * gdb.base/catch-fork-static.exp: New.
6931
41d0efca
YQ
69322015-12-03 Yao Qi <yao.qi@linaro.org>
6933
6934 * gdb.base/sizeof.c: Don't include stdio.h and
6935 ../lib/unbuffer_output.c.
6936 (main): New variable 'size' and 'value'. Remove printf and
6937 gdb_unbuffer_output. Assign return value to size and value.
6938 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6939 at the beginning.
6940 (check_sizeof): Check the result by printing variable 'size'.
6941 (check_valueof): Check the result by printing variable 'value'.
6942
99fd02d9
YQ
69432015-12-01 Yao Qi <yao.qi@linaro.org>
6944
6945 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6946 for aarch64*-*-linux* target.
6947
f2faf941
PA
69482015-11-30 Pedro Alves <palves@redhat.com>
6949
6950 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6951
04bf20c5
PA
69522015-11-30 Pedro Alves <palves@redhat.com>
6953
6954 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6955 Handle non-stop mode vCont replies.
6956
09df4675
PA
69572015-11-30 Pedro Alves <palves@redhat.com>
6958
6959 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6960 prepare_for_testing. Start gdb with "set non-stop on" appended to
6961 GDBFLAGS. Lax expected stop output.
6962
58b584af
YQ
69632015-11-27 Yao Qi <yao.qi@linaro.org>
6964
6965 * gdb.arch/arm-neon.exp: New.
6966 * gdb.arch/arm-neon.c: New.
6967
dfcb77a8
YQ
69682015-11-27 Yao Qi <yao.qi@linaro.org>
6969
6970 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6971
88e8ec1b
YQ
69722015-11-27 Yao Qi <yao.qi@linaro.org>
6973
6974 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6975 frames-invalid annotation.
6976
bfde72c2
YQ
69772015-11-27 Yao Qi <yao.qi@linaro.org>
6978
6979 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6980
f6512a69
SM
69812015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6982
6983 * gdb.threads/names.exp: New file.
6984 * gdb.threads/names.c: New file.
6985 * README: Mention gdb,no_thread_names.
6986
46a3515b
MM
69872015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6988
6989 PR 19297
6990 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6991 support" error.
6992
62147a22
PA
69932015-11-24 Pedro Alves <palves@redhat.com>
6994
6995 PR 17539
6996 * gdb.base/display.exp: Expect displays to be sorted in ascending
6997 order. Use multi_line.
6998 * gdb.base/solib-display.exp: Likewise.
6999
2f341b6e
PA
70002015-11-24 Pedro Alves <palves@redhat.com>
7001
7002 PR 17539
25d49b86
PA
7003 * gdb.base/display.exp: Expect displays to be sorted in ascending
7004 order. Use multi_line.
7005 * gdb.base/solib-display.exp: Likewise.
2f341b6e 7006
7e0aa6aa
PA
70072015-11-24 Pedro Alves <palves@redhat.com>
7008
7009 PR 17539
7010 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7011 threads in ascending order.
7012 * gdb.base/foll-fork.exp: Likewise.
7013 * gdb.base/foll-vfork.exp: Likewise.
7014 * gdb.base/multi-forks.exp: Likewise.
7015 * gdb.mi/mi-nonstop.exp: Likewise.
7016 * gdb.mi/mi-nsintrall.exp: Likewise.
7017 * gdb.multi/base.exp: Likewise.
7018 * gdb.multi/multi-arch.exp: Likewise.
7019 * gdb.python/py-inferior.exp: Likewise.
7020 * gdb.threads/break-while-running.exp: Likewise.
7021 * gdb.threads/execl.exp: Likewise.
7022 * gdb.threads/gcore-thread.exp: Likewise.
7023 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7024 * gdb.threads/kill.exp: Likewise.
7025 * gdb.threads/linux-dp.exp: Likewise.
7026 * gdb.threads/multiple-step-overs.exp: Likewise.
7027 * gdb.threads/next-bp-other-thread.exp: Likewise.
7028 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7029 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7030 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7031 * gdb.threads/thread-find.exp: Likewise.
7032 * gdb.threads/tls.exp: Likewise.
7033 * lib/mi-support.exp (mi_reverse_list): Delete.
7034 (mi_check_thread_states): No longer reverse list.
7035
2cc57ad8
PA
70362015-11-24 Pedro Alves <palves@redhat.com>
7037
7038 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7039 use lowercase.
7040
c93e8391
SM
70412015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7042
7043 * gdb.trace/actions.c: Include trace-common.h.
7044 (main): Add a location for a fast tracepoint.
7045 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7046 the normal tracepoints.
7047 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7048
045ccf91
SM
70492015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7050
7051 * save-trace.exp: Factor out code to these...
7052 (gdb_save_tracepoints): New.
7053 (gdb_load_tracepoints): New.
7054 (do_save_load_test): New.
7055
5506f9f6
KB
70562015-11-23 Kevin Buettner <kevinb@redhat.com>
7057
7058 * gdb.base/asmlabel.exp: New test.
7059 * gdb.base/asmlabel.c: New test case.
7060
16c3b12f
JB
70612015-11-23 Joel Brobecker <brobecker@adacore.com>
7062
7063 * gdb.base/wrong_frame_bt_full-main.c: New file.
7064 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7065 * gdb.base/wrong_frame_bt_full.exp: New file.
7066
155bfbd3
JB
70672015-11-23 Joel Brobecker <brobecker@adacore.com>
7068
7069 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7070
bb097445
JM
70712015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7072
206853a0 7073 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
7074 pstate register when comparing registers values in
7075 sparc64-*-linux-gnu targets to avoid spurious differences.
7076
9c88ed8f
JM
70772015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7078
206853a0 7079 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 7080
96161e25
SL
70812015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7082
7083 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7084 as type argument to gdb_compile.
7085 * gdb.base/nested-subp2.exp: Likewise.
7086 * gdb.base/nested-subp3.exp: Likewise.
7087
340c2830
DV
70882015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7089
7090 * lib/dwarf.exp (_note): Fix left shift of negative value.
7091 * gdb.trace/trace-condition.exp: Likewise.
7092
c1862d0f
YQ
70932015-11-13 Yao Qi <yao.qi@linaro.org>
7094
7095 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7096 comments about d10v.
7097 (test_scalar_returns): Likewise.
7098 * gdb.base/d10v.ld: Remove.
7099 * gdb.base/overlays.exp: Remove the target triplet checking for
7100 d10v-*-*.
7101 * gdb.base/structs.exp (test_struct_returns): Remove the
7102 comments about d10v.
7103 (test_struct_calls): Likewise.
7104
77ae9c19
YQ
71052015-11-13 Yao Qi <yao.qi@linaro.org>
7106
7107 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7108 * gdb.base/gnu_vector.c: Don't include stdio.h.
7109 (main): Don't print res and call add_some_intvecs.
7110
430e004e
MK
71112015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7112
7113 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7114 macro.
7115 (func5): Removed.
7116 (func4): Use FAST_TRACEPOINT_LABEL.
7117 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7118 macro.
7119 (func): Removed.
7120 (thread_function): Use FAST_TRACEPOINT_LABEL.
7121 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7122 (func): Remove.
7123 (marker): Use FAST_TRACEPOINT_LABEL.
7124 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7125 (pendfunc1): Remove.
7126 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7127 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7128 (foo): Remove.
7129 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7130 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7131 macro.
7132 (func): Remove.
7133 (marker): Use FAST_TRACEPOINT_LABEL.
7134 * gdb.trace/trace-common.h: New header.
7135 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7136 macro.
7137 (func): Remove.
7138 (marker): Use FAST_TRACEPOINT_LABEL.
7139 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7140 (func): Remove.
7141 (thread_function): Use FAST_TRACEPOINT_LABEL.
7142
6e7675a7
MK
71432015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7144
7145 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7146 in front.
7147 * gdb.trace/change-loc.exp: Use global pcreg definition.
7148 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7149 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7150 in front.
7151 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7152 * gdb.trace/pending.exp: Likewise.
7153 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7154 * gdb.trace/trace-break.exp: Likewise.
7155 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7156 in front.
7157 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7158 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7159 in front.
7160 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7161
dddc0e16
JB
71622015-11-09 Joel Brobecker <brobecker@adacore.com>
7163
7164 * gdb.ada/fin_fun_out: New testcase.
7165
c6f0b406
KB
71662015-11-07 Kevin Buettner <kevinb@redhat.com>
7167
7168 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7169 value associated with DW_AT_byte_size.
7170 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7171 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7172 DW_AT_upper_bound.
7173
f01dcfd9
KB
71742015-11-07 Kevin Buettner <kevinb@redhat.com>
7175
7176 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7177 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7178 version.
7179 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7180 gdb.dwarf2/dw2-canonicalize-type.exp,
7181 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7182 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7183 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7184 provided by gdb_target_symbol_prefix_flags_asm.
7185 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7186 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7187 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7188 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7189 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7190 macros where needed). Use this macro for symbols which require
7191 the prefix provided by SYMBOL_PREFIX.
7192
2223449a
KB
71932015-11-05 Kevin Buettner <kevinb@redhat.com>
7194
7195 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7196 New procs.
7197 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7198 representing expressions, of more than one list element.
7199 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7200 to prepend linker symbol prefix to f.
7201 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7202 table_1 and table_2.
7203 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7204 Likewise, for f and g.
7205 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7206 for ptr.
7207 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7208 for main.
7209 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7210 table_1_ptr and table_2_ptr.
7211
6f2f1a3a
JK
72122015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7213 Joel Brobecker <brobecker@adacore.com>
7214
7215 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7216
566c56c9
MK
72172015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7218
7219 * gdb.reverse/s390-mvcle.c: New test.
7220 * gdb.reverse/s390-mvcle.exp: New file.
7221 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7222
d5f0636b
MK
72232015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7224
7225 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7226
7ad8b86c
MK
72272015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7228
7229 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7230 reaching marker2.
7231 * gdb.reverse/getresuid-reverse.exp: Likewise.
7232 * gdb.reverse/pipe-reverse.exp: Likewise.
7233 * gdb.reverse/readv-reverse.exp: Likewise.
7234 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7235 * gdb.reverse/time-reverse.exp: Likewise.
7236 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7237
4081c0f1
YQ
72382015-10-30 Yao Qi <yao.qi@linaro.org>
7239
7240 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7241 (empty_cycle): Remove.
7242 (main): Don't call empty_cycle. Don't use watch_count_done.
7243 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7244 empty_cycle. Rewrite the code counting HW watchpoints.
7245
452b4ba5
MK
72462015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7247
7248 * gdb.reverse/fstatat-reverse.c: New test.
7249 * gdb.reverse/fstatat-reverse.exp: New file.
7250 * gdb.reverse/getresuid-reverse.c: New test.
7251 * gdb.reverse/getresuid-reverse.exp: New file.
7252 * gdb.reverse/pipe-reverse.c: New test.
7253 * gdb.reverse/pipe-reverse.exp: New file.
7254 * gdb.reverse/readv-reverse.c: New test.
7255 * gdb.reverse/readv-reverse.exp: New file.
7256 * gdb.reverse/recvmsg-reverse.c: New test.
7257 * gdb.reverse/recvmsg-reverse.exp: New file.
7258 * gdb.reverse/time-reverse.c: New test.
7259 * gdb.reverse/time-reverse.exp: New file.
7260 * gdb.reverse/waitpid-reverse.c: New test.
7261 * gdb.reverse/waitpid-reverse.exp: New file.
7262
5e2e7507
JK
72632015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7264
7265 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7266
0fde2c53
DE
72672015-10-26 Doug Evans <dje@google.com>
7268
7269 PR symtab/17391
7270 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7271 * gdb.dwarf2/bad-regnum.c: New file.
7272 * gdb.dwarf2/bad-regnum.exp: New file.
7273
1a70ae97
DE
72742015-10-26 Doug Evans <dje@google.com>
7275
7276 PR python/18938
7277 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7278 file.
7279
27dc26ab
JK
72802015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7281
7282 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7283 for a change by "Mention language in compile error message".
7284
bed91f4d
SM
72852015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7286
7287 PR python/18073
7288 * gdb.python/py-type.c (C::a_method): New.
7289 (C::a_const_method): New.
7290 (C::a_static_method): New.
7291 (a_function): New.
7292 * gdb.python/py-type.exp (test_fields): Test getting fields
7293 from function and method.
7294
3f2f83dd
KB
72952015-10-21 Keven Boell <keven.boell@intel.com>
7296
7297 * gdb.fortran/vla-alloc-assoc.exp: New file.
7298 * gdb.fortran/vla-datatypes.exp: New file.
7299 * gdb.fortran/vla-datatypes.f90: New file.
7300 * gdb.fortran/vla-history.exp: New file.
7301 * gdb.fortran/vla-ptype-sub.exp: New file.
7302 * gdb.fortran/vla-ptype.exp: New file.
7303 * gdb.fortran/vla-sizeof.exp: New file.
7304 * gdb.fortran/vla-sub.f90: New file.
7305 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7306 * gdb.fortran/vla-value-sub-finish.exp: New file.
7307 * gdb.fortran/vla-value-sub.exp: New file.
7308 * gdb.fortran/vla-value.exp: New file.
7309 * gdb.fortran/vla-ptr-info.exp: New file.
7310 * gdb.mi/mi-vla-fortran.exp: New file.
7311 * gdb.mi/vla.f90: New file.
7312
27145d50
SL
73132015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7314
7315 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7316 of hardwired timeout value.
7317
5f3ff4f8
JK
73182015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7319 Pedro Alves <palves@redhat.com>
7320
7321 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7322 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7323
bfd09d20
JS
73242015-10-19 Josh Stone <jistone@redhat.com>
7325
7326 * gdb.base/catch-syscall.c: Include <sched.h>.
7327 (unknown_syscall): New variable.
7328 (main): Trigger a vfork and an unknown syscall.
7329 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7330 (unknown_syscall_number): Likewise.
7331 (check_call_to_syscall): Accept an optional syscall pattern.
7332 (check_return_from_syscall): Likewise.
7333 (check_continue): Likewise.
7334 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7335 (test_catch_syscall_skipping_return): New test toggling off 'catch
7336 syscall' to step over the syscall return, then toggling back on.
7337 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7338 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7339 (do_syscall_tests): Call test_catch_syscall_without_args and
7340 test_catch_syscall_mid_vfork.
7341 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7342 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7343
b32b93c6
AS
73442015-10-19 Andrew Stubbs <ams@codesourcery.com>
7345
7346 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7347 print g_vE): Add new pass patterns.
7348 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7349 print various symbol names for vptr fields.
7350
9d622bda
AB
73512015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7352
7353 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7354 results.
7355
0fd8ac1c
YQ
73562015-10-12 Yao Qi <yao.qi@linaro.org>
7357
7358 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7359
34240514
YQ
73602015-10-12 Yao Qi <yao.qi@linaro.org>
7361
7362 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7363 is aarch64*-*-linux*.
7364
8240f442
YQ
73652015-10-12 Yao Qi <yao.qi@linaro.org>
7366
7367 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7368 (can_relocate_bcond_true): ... it.
7369 (can_relocate_bcond_false): New function.
7370 (foo): Likewise.
7371 (can_relocate_bl): Likewise.
7372 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7373 can_relocate_bl.
7374
2520f728
PMR
73752015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7376
7377 * gdb.base/nested-addr.c: New file.
7378 * gdb.base/nested-addr.exp: New testcase.
7379
abcef95a
MM
73802015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7381
7382 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7383 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7384 its output. Ignore the output of "record goto begin" and instead
7385 check that GDB is replaying.
7386
145e3ddb
PA
73872015-10-09 Pedro Alves <palves@redhat.com>
7388
7389 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7390 (top level): Use it in the run with no args test.
7391
d5d8c4e1
IB
73922015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7393
7394 * gdb.dlang/properties.exp: New file.
7395
06e635ef
SL
73962015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7397
7398 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7399 whether or not address 0x1000 is mapped on the target.
7400
e019fd1d
SM
74012015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7402
7403 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7404 build.
7405
77ba2a67
MM
74062015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7407
7408 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7409 instruction-history test.
7410
c60eb31f
DE
74112015-09-28 Doug Evans <dje@google.com>
7412
7413 * gdb.base/gcore.c (array_func): Add reference to static_array.
7414
9a3c8263
SM
74152015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7416
7417 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7418 source line.
7419
9720e656
SL
74202015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7421
7422 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7423 short or char as base type.
7424
938d3bf2
SL
74252015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7426
7427 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7428 to allow any size enum.
7429
e6c2c623
PMR
74302015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7431
7432 * gdb.ada/array_ptr_renaming.exp: New testcase.
7433 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7434 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7435
06da0f77
PL
74362015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7437
7438 * gdb.trace/ftrace-lock.c: New file.
7439 * gdb.trace/ftrace-lock.exp: New file.
7440
4f51c22a
PL
74412015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7442
7443 * gdb.arch/insn-reloc.c: New file.
7444 * gdb.arch/ftrace-insn-reloc.exp: New file.
7445
7041adf4
PL
74462015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7447
7448 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7449 instruction.
7450 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7451 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7452 * gdb.trace/range-stepping.c: Likewise.
7453 * gdb.trace/trace-break.c: Likewise.
7454 * gdb.trace/trace-mt.c (thread_function): Likewise.
7455 * gdb.trace/ftrace.c (marker): Likewise.
7456 * gdb.trace/trace-condition.c (marker): Likewise.
7457 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7458 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7459 is_aarch64_target.
7460
015d2e7e
DE
74612015-09-18 Doug Evans <xdje42@gmail.com>
7462
7463 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7464 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7465
26b188a2
SL
74662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7467
7468 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7469 the breakpoint.
7470
79dc332b
SL
74712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7472
7473 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7474 the pending breakpoint. Remove timeout override for "Run till
7475 MI pending breakpoint on pendfunc3 on thread 2" test.
7476
f57929f2
SL
74772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7478
7479 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7480 filename pattern.
7481
3f469b17
SL
74822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7483
7484 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7485 in breakpoint filename pattern.
7486
515b89b3
SL
74872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7488
7800dbe4
SL
7489 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7490
74912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7492
515b89b3
SL
7493 * gdb.linespec/explicit.exp: Check for readline support for
7494 tab-completion tests. Fix obvious typo.
7495
d2939ba2
MM
74962015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7497
7498 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7499 and replay.
7500
cbb55fa7
MM
75012015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7502
7503 * gdb.btrace/non-stop.c: New.
7504 * gdb.btrace/non-stop.exp: New.
7505
43691ca1
PL
75062015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7507 Yao Qi <yao.qi@linaro.org>
7508
7509 * gdb.trace/trace-condition.c: New file.
7510 * gdb.trace/trace-condition.exp: New file.
7511
d78908cf
WW
75122015-09-16 Wei-cheng Wang <cole945@gmail.com>
7513
7514 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7515 for testing bytecode compilation.
7516
1ed415e2
PA
75172015-09-16 Pedro Alves <palves@redhat.com>
7518 Sandra Loosemore <sandra@codesourcery.com>
7519
7520 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7521 (SECONDS): Redefine.
7522 (main): Call pthread_kill and alarm early.
7523 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7524 support.
7525 (test): If the target can't hardware step and doesn't support
7526 displaced stepping, increase the timeout.
7527
d136eff5
PA
75282015-09-16 Pedro Alves <palves@redhat.com>
7529
7530 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7531 (enable_debug): New procedures.
7532 (test): Use them. Bail out if waiting for threads fails.
7533 (top level): Bail out if a test fails.
7534
991f019c
YQ
75352015-09-16 Yao Qi <yao.qi@linaro.org>
7536
7537 * gdb.asm/asm-source.exp: Set asm-arch for
7538 aarch64*-*-* target.
7539 * gdb.asm/aarch64.inc: New file.
7540
bfca584f
PMR
75412015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7542
7543 * gdb.ada/array_of_variable_length.exp: New testcase.
7544 * gdb.ada/array_of_variable_length/foo.adb: New file.
7545 * gdb.ada/array_of_variable_length/pck.adb: New file.
7546 * gdb.ada/array_of_variable_length/pck.ads: New file.
7547
b326e587
DE
75482015-09-15 Doug Evans <dje@google.com>
7549
7550 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7551 of function static local variable.
7552
5382cfab
PW
75532015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7554
7555 * gdb.threads/tls-so_extern.exp: New test file.
7556 * gdb.threads/tls-so_extern.c: New test file.
7557 * gdb.threads/tls-so_extern_main.c: New test file.
7558
141c5cc4
JK
75592015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7560
7561 * gdb.opt/solib-intra-step-lib.c: New file.
7562 * gdb.opt/solib-intra-step-main.c: New file.
7563 * gdb.opt/solib-intra-step.exp: New file.
7564
d15dcecd
PA
75652015-09-15 Pedro Alves <palves@redhat.com>
7566
7567 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7568 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7569
4c2f2a79
PA
75702015-09-14 Pedro Alves <palves@redhat.com>
7571
7572 * gdb.base/hook-stop-continue.c: Delete.
7573 * gdb.base/hook-stop-continue.exp: Delete.
7574 * gdb.base/hook-stop-frame.c: Delete.
7575 * gdb.base/hook-stop-frame.exp: Delete.
7576 * gdb.base/hook-stop.c: New file.
7577 * gdb.base/hook-stop.exp: New file.
7578
919e6dbe
PMR
75792015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7580
7581 * gdb.ada/access_to_packed_array.exp: New testcase.
7582 * gdb.ada/access_to_packed_array/foo.adb: New file.
7583 * gdb.ada/access_to_packed_array/pack.adb: New file.
7584 * gdb.ada/access_to_packed_array/pack.ads: New file.
7585
157280a4
MM
75862015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7587
7588 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7589 buffer size test.
7590
2fd33e94
DB
75912015-09-11 Don Breazeal <donb@codesourcery.com>
7592
7593 * gdb.base/foll-exec.c: Add copyright header. Fix
7594 formatting issues.
7595 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7596 (do_exec_tests): Use clean_restart in place of zap_session,
7597 and for test initialization. Fix formatting issues. Use
7598 fail in place of perror.
7599 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7600 an expect statement to match an expression with output from
7601 the program under debug.
7602 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7603 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7604 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7605 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7606 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7607
e70b6e8e
DE
76082015-09-09 Doug Evans <dje@google.com>
7609
7610 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7611
7a551a51
DE
76122015-09-09 Doug Evans <dje@google.com>
7613
7614 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7615
4c666f84
DE
76162015-09-09 Doug Evans <dje@google.com>
7617
7618 * gdb.base/savedregs.exp: Fix typo.
7619
243a9253
PA
76202015-09-09 Pedro Alves <palves@redhat.com>
7621
7622 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7623
c0fa8fbd
SL
76242015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7625
7626 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7627 command actually switches threads. Give up on remaining
7628 tests if target fails to stop at breakpoint.
7629
cd7c1778
PMR
76302015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7631
7632 * gdb.ada/funcall_char.exp: New testcase.
7633 * gdb.ada/funcall_char/foo.adb: New file.
7634
dc5c8746
PMR
76352015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7636
7637 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7638 expected outputs. Add two testcases for completing ambiguous
7639 functions.
7640 * gdb.ada/complete/aux_pck.adb: New file.
7641 * gdb.ada/complete/aux_pck.ads: New file.
7642 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7643 Ambiguous_Func functions.
7644 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7645 * gdb.ada/complete/pck.adb: Likewise.
7646
4e83a1e7
UW
76472015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7648
7649 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7650 failures to run the test program under GDB.
7651
8ce74153
LM
76522015-08-26 Luis Machado <lgustavo@codesourcery.com>
7653
7654 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7655 to C.
7656
e9756d52
PP
76572015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7658
7659 * gdb.base/run-after-attach.exp: New test file.
7660 * gdb.base/run-after-attach.c: New test file.
7661
8d37573b
DB
76622015-08-26 Don Breazeal <donb@codesourcery.com>
7663
7664 * gdb.base/foll-exec-2.c: New test program.
7665 * gdb.base/foll-exec-2.exp: New test.
7666
63e43d3a
PMR
76672015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7668
7669 * gdb.base/nested-subp1.exp: New file.
7670 * gdb.base/nested-subp1.c: New file.
7671 * gdb.base/nested-subp2.exp: New file.
7672 * gdb.base/nested-subp2.c: New file.
7673 * gdb.base/nested-subp3.exp: New file.
7674 * gdb.base/nested-subp3.c: New file.
7675
3d40fbb5
PA
76762015-08-24 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.server/connect-without-multi-process.c: New file.
7679 * gdb.server/connect-without-multi-process.exp: New file.
7680
4422ac93
LM
76812015-08-24 Luis Machado <lgustavo@codesourcery.com>
7682
7683 * gdb.opt/inline-markers.c: Make z int.
7684
91dddb86
LM
76852015-08-24 Luis Machado <lgustavo@codesourcery.com>
7686
7687 * gdb.opt/inline-markers.c: Make z volatile.
7688
a48847ee
LM
76892015-08-24 Luis Machado <lgustavo@codesourcery.com>
7690
7691 * gdb.opt/inline-bt.c: New volatile global z.
7692 * gdb.opt/inline-cmds.c: Likewise.
7693 * gdb.opt/inline-locals.c: Likewise.
7694 * gdb.opt/inline-markers.c: New extern global z.
7695 (marker): Use z.
7696 (inline_fn): Likewise.
7697
0ebbc52b
PA
76982015-08-24 Pedro Alves <palves@redhat.com>
7699
7700 * config/m32r-stub.exp: Remove file.
7701 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7702 * gdb.base/call-rt-st.exp: Likewise.
7703 * gdb.base/call-strs.exp: Likewise.
7704 * gdb.base/default.exp: Remove references to h8300-*-hms and
7705 *-*-udi*.
7706 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7707
77c365df
AA
77082015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7709
7710 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7711 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7712 and "return" use KFAIL when GDB can not read/write the vector
7713 return value.
7714
4313b8c0
GB
77152015-08-21 Gary Benson <gbenson@redhat.com>
7716
7717 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7718
0e433b32
PA
77192015-08-20 Pedro Alves <palves@redhat.com>
7720
7721 * gdb.server/solib-list.exp: No longer expect an interior stop in
7722 non-stop mode.
7723
221e1a37
PA
77242015-08-20 Pedro Alves <palves@redhat.com>
7725
7726 * gdb.server/connect-stopped-target.c: New file.
7727 * gdb.server/connect-stopped-target.exp: New file.
7728
40e3ad0e
PA
77292015-08-20 Pedro Alves <palves@redhat.com>
7730
7731 * gdb.dwarf2/comp-unit-lang.exp: New file.
7732 * gdb.dwarf2/comp-unit-lang.c: New file.
7733
af39b327
PMR
77342015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7735
7736 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7737 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7738
7d45c7c3 77392015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 7740
7d45c7c3
KB
7741 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7742 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7743
4d6cceb4
DE
77442015-08-18 Doug Evans <dje@google.com>
7745 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7746
7747 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7748 skip_python_tests. New arg prompt_regexp.
7749 (skip_python_tests): New function.
7750 * lib/mi-support.exp (mi_skip_python_tests): New function.
7751 * gdb.python/py-mi-objfile-gdb.py: New file.
7752 * gdb.python/py-mi-objfile.c: New file.
7753 * gdb.python/py-mi-objfile.exp: New file.
7754
ad89c2aa
KS
77552015-08-17 Keith Seitz <keiths@redhat.com>
7756
7757 * gdb.linespec/explicit.exp: Move strace test from here ...
7758 * gdb.trace/strace.exp: ... to here.
7759
e3ae3c43
PP
77602015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7761
7762 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7763 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7764
604b2636
DE
77652015-08-14 Doug Evans <xdje42@gmail.com>
7766
7767 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7768 inferior before selecting a new file.
7769
6ff0ba5f
DE
77702015-08-14 Doug Evans <xdje42@gmail.com>
7771
7772 * gdb.mi/mi-disassemble.exp: Update.
7773 * gdb.base/disasm-optim.S: New file.
7774 * gdb.base/disasm-optim.c: New file.
7775 * gdb.base/disasm-optim.h: New file.
7776 * gdb.base/disasm-optim.exp: New file.
7777
9ca98f92
KS
77782015-08-14 Keith Seitz <keiths@redhat.com>
7779
7780 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7781 "evaluated-by".
7782
52bbc560
JB
77832015-08-13 Joel Brobecker <brobecker@adacore.com>
7784
7785 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7786
5d8c3ed3
PMR
77872015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7788
7789 * gdb.ada/fun_renaming.exp: New testcase.
7790 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7791 * gdb.ada/fun_renaming/pack.adb: New file.
7792 * gdb.ada/fun_renaming/pack.ads: New file.
7793
ea8812bc
KS
77942015-08-12 Keith Seitz <keiths@redhat.com>
7795
7796 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7797 gdb_get_line_number.
7798
4dafcdeb
JB
77992015-08-12 Joel Brobecker <brobecker@adacore.com>
7800
7801 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7802 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7803 gdb.base/dso2dso.exp: New files.
7804
5ba32597
SDJ
78052015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7806 Pedro Alves <palves@redhat.com>
7807 Keith Seitz <keiths@redhat.com>
7808
7809 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7810 GDBFLAGS.
7811
b6dafabf
PP
78122015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7813
7814 * gdb.base/gdbhistsize-history.exp
7815 (test_histsize_history_setting): Use save_vars.
7816 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7817 Use save_vars.
7818 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7819 * gdb.base/readline.exp: Use save_vars.
7820
abe8e607
PP
78212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7822
7823 * lib/gdb.exp (save_vars): New proc.
7824
629500fa
KS
78252015-08-11 Keith Seitz <keiths@redhat.com>
7826
7827 * gdb.base/help.exp: Update help_breakpoint_text.
7828
eb8c4e2e
KS
78292015-08-11 Keith Seitz <keiths@redhat.com>
7830
7831 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7832 (at toplevel): Call test_explicit_breakpoints.
7833 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7834 breakpoints.
7835 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7836 breakpoint conditions, "-cond".
7837
87f0e720
KS
78382015-08-11 Keith Seitz <keiths@redhat.com>
7839
7840 * gdb.linespec/3explicit.c: New file.
7841 * gdb.linespec/cpexplicit.cc: New file.
7842 * gdb.linespec/cpexplicit.exp: New file.
7843 * gdb.linespec/explicit.c: New file.
7844 * gdb.linespec/explicit.exp: New file.
7845 * gdb.linespec/explicit2.c: New file.
7846 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7847 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7848 before using in the matching pattern.
7849 Clarify that `prefix' is a regular expression.
7850
f00aae0f
KS
78512015-08-11 Keith Seitz <keiths@redhat.com>
7852
7853 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7854 test.
7855 Add tests for missing ",FMT" and ",".
7856
e27852be
DE
78572015-08-10 Doug Evans <dje@google.com>
7858 Keith Seitz <keiths@redhat.com>
7859
7860 PR gdb/17960
7861 * gdb.base/completion.exp: Add location completer tests.
7862
7f03bd92
PA
78632015-08-07 Pedro Alves <palves@redhat.com>
7864
7865 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7866 tests here.
7867 (top level): Run do_test with and without displaced stepping.
7868
3fc8eb30
PA
78692015-08-07 Pedro Alves <palves@redhat.com>
7870
7871 * gdb.base/valgrind-disp-step.c: New file.
7872 * gdb.base/valgrind-disp-step.exp: New file.
7873
d4569d7b
PA
78742015-08-07 Pedro Alves <palves@redhat.com>
7875
7876 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7877 Delete function.
7878 (main): Add alarm. Run an infinite loop instead of calling
7879 wait_threads.
7880 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7881 comment.
7882 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7883 Delete function.
7884 (main): Add alarm. Run an infinite loop instead of calling
7885 wait_threads.
7886 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7887 comment.
7888
e1316e60
PA
78892015-08-07 Pedro Alves <palves@redhat.com>
7890
7891 * gdb.base/checkpoint-ns.exp: New file.
7892 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7893 standard_testfile.
7894
da8c46d2
MM
78952015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7896
7897 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7898 * gdb.btrace/instruction_history.exp: Update.
7899 * gdb.btrace/tsx.exp: New.
7900 * gdb.btrace/tsx.c: New.
7901
de1c2c52
PA
79022015-08-06 Pedro Alves <palves@redhat.com>
7903
7904 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7905 increase timeout.
7906 * gdb.reverse/until-precsave.exp: Bump timeouts.
7907
782e0bf4
PA
79082015-08-06 Pedro Alves <palves@redhat.com>
7909
7910 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7911
83e97ed0
PA
79122015-08-06 Pedro Alves <palves@redhat.com>
7913
7914 PR gdb/18749
7915 * gdb.threads/process-dies-while-handling-bp.c: New file.
7916 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7917
863d01bd
PA
79182015-08-06 Pedro Alves <palves@redhat.com>
7919
7920 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7921 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7922
0a39bb32
PA
79232015-08-05 Pedro Alves <palves@redhat.com>
7924
7925 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7926 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7927
ee2d2b10
SL
79282015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7929
7930 * gdb.base/bp-permanent.exp: Report test as unsupported if
7931 the target cannot stop at the permanent breakpoint.
7932
4e1bdb00
DE
79332015-08-03 Doug Evans <dje@google.com>
7934
7935 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7936 10000.
7937
3d338901
DE
79382015-08-03 Doug Evans <dje@google.com>
7939
7940 * Makefile.in (workers/%.worker, build-perf): New rule.
7941 (GDB_PERFTEST_MODE): New variable.
7942 (check-perf): Use it.
7943 (clean): Clean up gdb.perf parallel build subdirs.
7944 * lib/build-piece.exp: New file.
7945 * lib/gdb.exp (make_gdb_parallel_path): New function
7946 (standard_output_file, standard_temp_file): Call it.
7947 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7948 of $GDB_PARALLEL.
7949 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7950
af061d3e
DE
79512015-08-03 Doug Evans <dje@google.com>
7952
8e1afc81 7953 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
7954 (LOG_FILE_NAME): New global.
7955 (TextReporter.__init__): Initialize self.txt_sum.
7956 (TextReporter.report): Add support for multiple data-points.
7957 Move report to perftest.sum, put raw data in perftest.log.
7958 (TextReporter.start): Open sum and log files.
7959 (TextReporter.end): Close sum and log files.
8e1afc81
DE
7960 * gdb.perf/lib/perftest/testresult.py
7961 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 7962
2c8c5d37
PA
79632015-07-31 Pedro Alves <palves@redhat.com>
7964
7965 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7966 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7967 kill_wait_spawned_process instead of explicit "kill -9".
7968 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7969 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7970 kill_wait_spawned_process.
7971 * gdb.base/attach-twice.exp: Likewise.
7972 * gdb.base/attach.exp: Likewise.
7973 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7974 gdb_test_multiple.
7975 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7976 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7977 kill_wait_spawned_process.
7978 * gdb.base/valgrind-infcall.exp: Likewise.
7979 * gdb.multi/multi-attach.exp: Likewise.
7980 * gdb.python/py-prompt.exp: Likewise.
7981 * gdb.python/py-sync-interp.exp: Likewise.
7982 * gdb.server/ext-attach.exp: Likewise.
7983 * gdb.threads/attach-into-signal.exp (corefunc): Use
7984 spawn_wait_for_attach, spawn_id_get_pid and
7985 kill_wait_spawned_process.
7986 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7987 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7988 spawn_id_get_pid and kill_wait_spawned_process.
7989 * gdb.threads/attach-stopped.exp (corefunc): Use
7990 spawn_wait_for_attach, spawn_id_get_pid and
7991 kill_wait_spawned_process.
7992 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7993 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7994 kill_wait_spawned_process instead of explicit "kill -9".
7995 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7996 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7997 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7998 processes. Don't map cygwin/windows pids here. Now returns a
7999 spawn id list.
8000
032a0fca
SL
80012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8002
8003 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8004 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8005 correct patch.
8006
61a934ca
SL
80072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8008
8009 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8010
4bc4d428
SL
80112015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8012
8013 Reapply:
8014 2014-05-21 Mark Wielaard <mjw@redhat.com>
8015
8016 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8017
998d452a
PA
80182015-07-30 Pedro Alves <palves@redhat.com>
8019
8020 * linux-low.c (handle_extended_wait): Set the child's last
8021 reported status to TARGET_WAITKIND_STOPPED.
8022
69dde7dc
PA
80232015-07-30 Pedro Alves <palves@redhat.com>
8024
8025 PR threads/18600
8026 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8027 only shows inferior 1.
8028
4dd63d48
PA
80292015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8030 Pedro Alves <palves@redhat.com>
8031
8032 PR threads/18600
8033 * gdb.threads/fork-plus-threads.c: New file.
8034 * gdb.threads/fork-plus-threads.exp: New file.
8035
d618e4c5
PP
80362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8037
8038 * gdb.base/batch-preserve-term-settings.exp
8039 (test_terminal_settings_preserved_after_cli_exit): Use
8040 send_quit_command.
8041
1eef6428
PA
80422015-07-29 Pedro Alves <palves@redhat.com>
8043 Don Breazeal <donb@codesourcery.com>
8044
8045 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8046 output from both inferior_spawn_id and gdb_spawn_id.
8047
7da5b897
SDJ
80482015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8049
8050 * gdb.threads/attach-into-signal.exp (corefunc): Use
8051 with_test_prefix on nested loops, uniquefying the test messages.
8052
dac804df
SDJ
80532015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8054
8055 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8056 commit.
8057
06265e53
PP
80582015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8059
8060 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8061 New proc.
8062 (test_terminal_settings_preserved_after_sigterm): New test.
8063
18206ca3
PP
80642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8065
8066 * gdb.base/batch-preserve-term-settings.exp
8067 (test_terminal_settings_preserved_after_cli_exit): New test.
8068
90074d11
PP
80692015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8070
8071 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8072 manipulation of saved_gdbflags.
8073 (test_terminal_settings_preserved): Remove global declaration of
8074 the unused variable pagination_prompt. Remove manipulation of
8075 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8076 GDBFLAGS.
8077
eb1a7902
PA
80782015-07-29 Pedro Alves <palves@redhat.com>
8079
8080 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8081
8b75dd3b
PA
80822015-07-29 Pedro Alves <palves@redhat.com>
8083
8084 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8085 at the top.
8086
dedad4e3
PA
80872015-07-29 Pedro Alves <palves@redhat.com>
8088
8089 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8090 (main): Call gdb_unbuffer_output.
8091 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8092 (main): Call gdb_unbuffer_output.
8093 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8094 (main): Call gdb_unbuffer_output.
8095 * gdb.base/call-strs.exp: Adjust to step over the
8096 gdb_unbuffer_output call.
8097 * gdb.base/catch-gdb-caused-signals.c: Include
8098 "../lib/unbuffer_output.c".
8099 (main): Call gdb_unbuffer_output.
8100 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8101 (main): Call gdb_unbuffer_output.
8102 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8103 (main): Call gdb_unbuffer_output.
8104 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8105 (main): Call gdb_unbuffer_output.
8106 * gdb.base/shlib-call.exp: Adjust to step over the
8107 gdb_unbuffer_output call.
8108 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8109 (main): Call gdb_unbuffer_output.
8110 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8111 (main): Call gdb_unbuffer_output.
8112 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8113 (main): Rename to ...
8114 (test): ... this.
8115 (main): Reimplement.
8116 * gdb.base/varargs.exp: Run to test instead of to main.
8117 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8118 (main): Call gdb_unbuffer_output.
8119
58789a91
PA
81202015-07-29 Pedro Alves <palves@redhat.com>
8121
8122 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8123 factore out from mi_continue_dprintf. For call-style dprintfs,
8124 expect dprintf output out of $inferior_spawn_id.
8125 (mi_continue_dprintf): Use mi_expect_dprintf.
8126 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8127 (main): Call gdb_unbuffer_output.
8128
e8376742
PA
81292015-07-29 Pedro Alves <palves@redhat.com>
8130
8131 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8132 (default_mi_gdb_start): Set inferior_spawn_id instead of
8133 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8134 gdb_spawn_id.
8135 (mi_gdb_test): Always expect inferior output from both
8136 $inferior_spawn_id and $gdb_spawn_id.
8137
08280010
PA
81382015-07-29 Pedro Alves <palves@redhat.com>
8139
8140 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8141 send_inferior and $inferior_spawn_id.
8142
4d30e432
PA
81432015-07-29 Pedro Alves <palves@redhat.com>
8144
8145 * gdb.gdb/complaints.exp (test_initial_complaints)
8146 (test_serial_complaints, test_short_complaints): Use
8147 gdb_test_stdio.
8148 (test_empty_complaint): Handle $inferior_spawn_id !=
8149 $gdb_spawn_id.
8150
0d30a335
PA
81512015-07-29 Pedro Alves <palves@redhat.com>
8152
8153 * gdb.base/varargs.exp: Use gdb_test_stdio.
8154
39413b29
PA
81552015-07-29 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8158
7cb000a9
PA
81592015-07-29 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8162
d7b8ac82
PA
81632015-07-29 Pedro Alves <palves@redhat.com>
8164
8165 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8166 parameter into two new parameters, "inf_result" and "gdb_result".
8167 Expect inferior output and gdb output from $inferior_spawn_id and
8168 $gdb_spawn_id, respectively. Adjust all callers.
8169
789c3a0c
PA
81702015-07-29 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8173 of gdb_test_sequence.
8174
77e760c3
PA
81752015-07-29 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8178 (saw_spurious_output): Expect inferior output from
8179 $inferior_spawn_id. Use gdb_test_stdio.
8180
8396d2cd
PA
81812015-07-29 Pedro Alves <palves@redhat.com>
8182
8183 * gdb.base/dprintf.exp: Use standard_testfile. Change
8184 prepare_for_testing call.
8185 (srcfile): Don't set.
8186 (restart): New procedure.
8187 (test_dprintf): New procecure, use to continue over dprintfs.
8188 (test_call, test_agent): New procedures, tests moved here.
8189 Restart gdb and recreate dprintfs. Adjust expected output.
8190
2051d61f
PA
81912015-07-29 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8194
452397af
PA
81952015-07-29 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8198
8aed9555
PA
81992015-07-29 Pedro Alves <palves@redhat.com>
8200
8201 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8202 gdb_test_stdio.
8203
188a61b4
PA
82042015-07-29 Pedro Alves <palves@redhat.com>
8205
8206 * lib/gdb.exp (gdb_test_stdio): New procedure.
8207
12264a45
PA
82082015-07-29 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8211
23ffc893
PA
82122015-07-29 Pedro Alves <palves@redhat.com>
8213
8214 * gdb.base/call-signal-resume.exp: Remove check for
8215 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8216 * gdb.base/unwindonsignal.exp: Likewise.
8217 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8218 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8219
65566918
PA
82202015-07-29 Pedro Alves <palves@redhat.com>
8221
8222 * gdb.base/siginfo-addr.c (pass): New function.
8223 (handler): Call it iff si_addr is correct.
8224 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8225 Set a breakpoint at "pass" and continue to it.
8226
d60a9221
SDJ
82272015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8228
8229 * gdb.python/py-objfile.exp: Make some tests have unique names.
8230 * gdb.python/py-pp-registration.exp: Likewise.
8231
bde40b8f
PA
82322015-07-28 Pedro Alves <palves@redhat.com>
8233
8234 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8235
13e1dec8
SM
82362015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8237
8238 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8239
da33c9a7
SM
82402015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8241
8242 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8243
077836f7
PP
82442015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8245
8246 * gdb.base/gdb-sigterm-2.exp: New test.
8247
b8cc7b2e
DE
82482015-07-25 Doug Evans <xdje42@gmail.com>
8249
8250 Revert:
8251 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8252 (workers/%.worker, build-perf): New rule.
8253 (GDB_PERFTEST_MODE): New variable.
8254 (check-perf): Use it.
8255 (clean): Clean up gdb.perf parallel build subdirs.
8256 * lib/build-piece.exp: New file.
8257 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8258 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8259 name.
8260 (standard_temp_file): Ditto.
8261 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8262 of $GDB_PARALLEL.
8263
c8bd4544
DE
82642015-07-24 Doug Evans <dje@google.com>
8265
8266 * gdb.perf/lib/perftest/utils.py: New file.
8267 * gdb.perf/gm-hello.cc: New file.
8268 * gdb.perf/gm-pervasive-typedef.cc: New file.
8269 * gdb.perf/gm-pervasive-typedef.h: New file.
8270 * gdb.perf/gm-std.cc: New file.
8271 * gdb.perf/gm-std.h: New file.
8272 * gdb.perf/gm-use-cerr.cc: New file.
8273 * gdb.perf/gm-utils.h: New file.
8274 * gdb.perf/gmonster-null-lookup.py: New file.
8275 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8276 * gdb.perf/gmonster-print-cerr.py: New file.
8277 * gdb.perf/gmonster-ptype-string.py: New file.
8278 * gdb.perf/gmonster-runto-main.py: New file.
8279 * gdb.perf/gmonster-select-file.py: New file.
8280 * gdb.perf/gmonster1-null-lookup.exp: New file.
8281 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8282 * gdb.perf/gmonster1-print-cerr.exp: New file.
8283 * gdb.perf/gmonster1-ptype-string.exp: New file.
8284 * gdb.perf/gmonster1-runto-main.exp: New file.
8285 * gdb.perf/gmonster1-select-file.exp: New file.
8286 * gdb.perf/gmonster1.cc: New file.
8287 * gdb.perf/gmonster1.exp: New file.
8288 * gdb.perf/gmonster2-null-lookup.exp: New file.
8289 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8290 * gdb.perf/gmonster2-print-cerr.exp: New file.
8291 * gdb.perf/gmonster2-ptype-string.exp: New file.
8292 * gdb.perf/gmonster2-runto-main.exp: New file.
8293 * gdb.perf/gmonster2-select-file.exp: New file.
8294 * gdb.perf/gmonster2.cc: New file.
8295 * gdb.perf/gmonster2.exp: New file.
8296
6eab34f3
DE
82972015-07-24 Doug Evans <dje@google.com>
8298
8299 * gdb.perf/README: New file.
8300 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8301 * lib/gen-perf-test.exp: New file.
8302
63738bfd
DE
83032015-07-24 Doug Evans <dje@google.com>
8304
8305 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8306 (PerfTest::startup): New function.
8307 (PerfTest::run): Return result of calling body.
8308 (PerfTest::assemble): Rewrite.
8309 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8310 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8311 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8312 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8313 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8314
7b606f95
DE
83152015-07-24 Doug Evans <dje@google.com>
8316
8317 * lib/gdb.exp (clean_restart): Make executable optional.
8318
a97b16b8
DE
83192015-07-24 Doug Evans <dje@google.com>
8320
8321 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8322 compiler_info references.
8323 * gdb.cp/temargs.exp: Ditto.
8324 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8325 (get_compiler_info): Early exit if already computed. Set compiler_info
8326 to "unknown" if there was a problem.
8327 (test_compiler_info): Add function comment. Call get_compiler_info.
8328
35baa57f
DE
83292015-07-24 Doug Evans <dje@google.com>
8330
8331 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8332 (workers/%.worker, build-perf): New rule.
8333 (GDB_PERFTEST_MODE): New variable.
8334 (check-perf): Use it.
8335 (clean): Clean up gdb.perf parallel build subdirs.
8336 * lib/build-piece.exp: New file.
8337 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8338 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8339 name.
8340 (standard_temp_file): Ditto.
8341 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8342 of $GDB_PARALLEL.
8343
6ebea266
DE
83442015-07-24 Doug Evans <dje@google.com>
8345
8346 * lib/future.exp (gdb_default_target_compile): New option
8347 "early_flags".
8348 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8349 --as-needed.
8350
1e76a7e9
SDJ
83512015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8352
8353 * gdb.base/catch-syscall.exp: Call gdb_exit before
8354 gdb_skip_xml_test.
8355
5068630a
PA
83562015-07-24 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.python/py-events.exp: Accept output between the stop event
8359 and the prompt.
8360 * gdb.python/py-evsignal.exp: Likewise.
8361 * gdb.python/py-evthreads.exp: Likewise.
8362
77598427
PA
83632015-07-24 Pedro Alves <palves@redhat.com>
8364
8365 PR gdb/18717
8366 * gdb.threads/non-ldr-exit.c: New file.
8367 * gdb.threads/non-ldr-exit.exp: New file.
8368
11e6c98f
YQ
83692015-07-24 Yao Qi <yao.qi@linaro.org>
8370
8371 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8372 restarting process.
8373
51aee833
YQ
83742015-07-24 Yao Qi <yao.qi@linaro.org>
8375
8376 * gdb.server/ext-restart.exp: New file.
8377
8cfe207c
YQ
83782015-07-24 Yao Qi <yao.qi@linaro.org>
8379
8380 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8381 argument options.
8382 * gdb.server/ext-wrapper.exp: New file.
8383
cc12ce38
DE
83842015-07-23 Doug Evans <dje@google.com>
8385
8386 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8387 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8388
d0d84780
PMR
83892015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8390
8391 * gdb.ada/var_arr_typedef.exp: New testcase.
8392 * gdb.ada/var_arr_typedef/pack.adb: New file.
8393 * gdb.ada/var_arr_typedef/pack.ads: New file.
8394 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8395
8b558f79
JB
83962015-07-20 Joel Brobecker <brobecker@adacore.com>
8397
8398 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8399
775a3298
JK
84002015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8401
8402 * gdb.arch/i386-biarch-core.exp: Replace istarget
8403 by "complete set gnutarget". Remove expectation for the "core-file"
8404 command.
8405
db1ff28b
JK
84062015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8407
8408 Revert the previous commit:
8409 Tests for validate symbol file using build-id.
8410
0a94970d
JK
84112015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8412
8413 Tests for validate symbol file using build-id.
8414 * gdb.base/solib-mismatch-lib.c: New file.
8415 * gdb.base/solib-mismatch-libmod.c: New file.
8416 * gdb.base/solib-mismatch.c: New file.
8417 * gdb.base/solib-mismatch.exp: New file.
8418
03346981
SL
84192015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8420
8421 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8422 nios2-*-linux*.
8423 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8424 * gdb.base/siginfo.exp: Likewise.
8425 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8426
42422cc7
PL
84272015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8428
8429 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8430 Move it to ...
8431 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8432 ... here.
8433 * gdb.trace/range-stepping.exp: Check that the target supports
8434 range stepping.
8435
cfa68bae
JK
84362015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8437
8438 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8439
8ffdba26
PA
84402015-07-14 Pedro Alves <palves@redhat.com>
8441
8442 * gdb.base/killed-outside.exp: New file.
8443 * gdb.base/killed-outside.c: New file.
8444
218a5a11
JK
84452015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8446
8447 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8448 (n at main): New.
8449 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8450
e03ed3c6
AA
84512015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8452
8453 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8454 infcall tests instead of setting up for KFAIL.
8455
485668e5
MM
84562015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8457
8458 * gdb.btrace/record_goto-step.exp: New.
8459
08464196
JK
84602015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8461
8462 PR compile/18484
8463 * gdb.compile/compile.c (struct struct_type): Add volatile to
8464 selffield's type.
8465 * gdb.compile/compile.exp
8466 (compile code struct_object.selffield = &struct_object): Skip further
8467 struct_object tests if this one xfails.
8468
bcf5c1d9
RC
84692015-07-08 Robert O'Callahan <robert@ocallahan.org>
8470
8471 PR exp/18617
8472 * gdb.trace/ax.exp: Add test.
8473
4931af25
YQ
84742015-07-07 Yao Qi <yao.qi@linaro.org>
8475
8476 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8477 instead of istarget "aarch64*-*-*".
8478 * gdb.arch/aarch64-fp.exp: Likewise.
8479 * gdb.base/float.exp: Likewise.
8480 * gdb.reverse/aarch64.exp: Likewise.
8481 * lib/gdb.exp (is_aarch64_target): New proc.
8482
9fcf688e
YQ
84832015-07-07 Yao Qi <yao.qi@linaro.org>
8484
8485 * lib/gdb.exp (is_aarch32_target): New proc.
8486 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8487 instead of "istarget "arm*-*-*"".
8488 * gdb.arch/arm-disp-step.exp: Likewise.
8489 * gdb.arch/thumb-bx-pc.exp: Likewise.
8490 * gdb.arch/thumb-prologue.exp: Likewise.
8491 * gdb.arch/thumb-singlestep.exp: Likewise.
8492 * gdb.base/disp-step-syscall.exp: Likewise.
8493 * gdb.base/float.exp: Likewise.
8494
fbd8d50d
YQ
84952015-07-07 Yao Qi <yao.qi@linaro.org>
8496
8497 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8498 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8499
71be1fdc
YQ
85002015-07-07 Yao Qi <yao.qi@linaro.org>
8501
8502 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8503 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8504 if it exists.
8505 * gdb.multi/multi-arch.exp: Likewise.
8506
3e221d36
SM
85072015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8508
8509 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8510 print.
8511
d441430b
YQ
85122015-07-07 Yao Qi <yao.qi@linaro.org>
8513
8514 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8515
06f810bd
MG
85162015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8517
8518 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8519 '[' and ']' characters.
8520
5e61e7c0
IB
85212015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8522
8523 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8524
28bf096c
PA
85252015-06-29 Pedro Alves <palves@redhat.com>
8526
8527 PR threads/18127
8528 * gdb.threads/hand-call-new-thread.c: New file.
8529 * gdb.threads/hand-call-new-thread.c: New file.
8530
ee93cd5e
KS
85312015-06-26 Keith Seitz <keiths@redhat.com>
8532 Doug Evans <dje@google.com>
8533
8534 PR 16253
8535 * gdb.cp/var-tag-2.cc: New file.
8536 * gdb.cp/var-tag-3.cc: New file.
8537 * gdb.cp/var-tag-4.cc: New file.
8538 * gdb.cp/var-tag.cc: New file.
8539 * gdb.cp/var-tag.exp: New file.
8540
fc637f04
PP
85412015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8542
8543 * gdb.base/history-duplicates.exp: New test.
8544
2e52ae68
PP
85452015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8546
8547 * gdb.base/completion.exp: Test the completion of the "focus"
8548 command.
8549
6e22494e
JK
85502015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8551
8552 * gdb.arch/amd64-prologue-skip.S: New file.
8553 * gdb.arch/amd64-prologue-skip.exp: New file.
8554
bf7b9cd9
SM
85552015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8556
8557 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8558 is_address_zero_readable check.
8559
201e8dfd
PB
85602015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8561
8562 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8563 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8564
5cd867b4
YQ
85652015-06-24 Yao Qi <yao.qi@linaro.org>
8566
8567 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8568 linux targets.
8569
4d7be007
YQ
85702015-06-24 Yao Qi <yao.qi@linaro.org>
8571
8572 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8573 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8574 * gdb.base/siginfo-thread.exp: Likewise.
8575
07fcd301
YQ
85762015-06-22 Yao Qi <yao.qi@linaro.org>
8577
8578 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8579
52042a00
YQ
85802015-06-22 Yao Qi <yao.qi@linaro.org>
8581
8582 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8583 aarch64*-*-*.
8584 (skip_hw_watchpoint_tests): Likewise.
8585
74bd41ce
PP
85862015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8587
8588 * gdb.base/gdbinit-history.exp: Test the interaction between
8589 setting GDBHISTSIZE and setting the history size via .gdbinit.
8590
bc460514
PP
85912015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8592
8593 PR gdb/16999
8594 * gdb.base/gdbhistsize-history.exp: New test.
8595
b58c513b
PP
85962015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8597
8598 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8599 with GDBHISTSIZE.
8600 * gdb.base/readline.exp: Likewise.
8601
92046791
YQ
86022015-06-17 Yao Qi <yao.qi@linaro.org>
8603
8604 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8605 line.
8606
2093d2d3
PP
86072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8608
8609 * gdb.base/gdbinit-history.exp: Add test case to check that
8610 an unlimited history file does not get truncated on exit.
8611
e6c693af
AA
86122015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8613
8614 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8615 (VECTOR): New macro. Use it...
8616 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8617 ...for these typedefs.
8618 (int8, char1, int1, double1): New typedefs.
8619 (struct just_int2, struct two_int2): New structures.
8620 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8621 (add_structvecs, add_singlevecs): New functions.
8622 (main): Call add_some_intvecs twice.
8623 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8624 the compile and exit upon failure. Try compiling for the "native"
8625 architecture. Test inferior function calls with vector arguments
8626 and vector return value handling with "finish" and "return".
8627
c74f7d1c
JT
86282015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8629
8630 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8631 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8632 PE file.
8633 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8634
98aa42ee
AT
86352015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8636
8637 PR breakpoints/16465
8638 * gdb.mi/mi-dprintf-pending.c: New file.
8639 * gdb.mi/mi-dprintf-pending.exp: New test.
8640 * gdb.mi/mi-dprintf-pendshr.c: New file.
8641
7d73c23c 86422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 8643 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
8644
8645 * gdb.arch/i386-mpx-map.c: New file.
8646 * gdb.arch/i386-mpx-map.exp: New File.
8647
86482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8649
8650 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8651 * gdb.arch/i386-mpx.exp: Indentation fixed.
8652
86532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8654
8655 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8656 function and improved indentation.
8657 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8658 gdb_test_multiple. Added additional tests to skip the test.
8659
86602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8661
8662 * gdb.arch/i386-avx512.c: Change path in include file.
8663 * gdb.arch/i386-avx512.exp: Change include dir path
8664 compilation flag.
8665 * gdb.arch/i386-mpx.c: Change path in include file.
8666 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8667 flag.
8668
d5eba19a
JK
86692015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8670
8671 * gdb.compile/compile-print.exp (compile print *vararray@3)
8672 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8673
7f361056
JK
86742015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8675
8676 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8677 (do not keep jit in memory): ... this.
8678 (expect 5): Change it to ...
8679 (expect no 5): ... this.
8680
3b462ec2
SM
86812015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8682
8683 PR gdb/15564
8684 * gdb.mi/mi-detach.exp: New file.
8685
e0619de6
JK
86862015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8687
8688 PR symtab/18392
8689 * gdb.arch/amd64-tailcall-self.S: New file.
8690 * gdb.arch/amd64-tailcall-self.c: New file.
8691 * gdb.arch/amd64-tailcall-self.exp: New file.
8692
e970cb34
DB
86932015-05-28 Don Breazeal <donb@codesourcery.com>
8694
8695 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8696 tests for remote targets by checking is_target_gdbserver.
8697
b2e2f908
DE
86982015-05-27 Doug Evans <dje@google.com>
8699
8700 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8701 * gdb.dwarf2/opaque-type-lookup.c: New file.
8702 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8703
82c7be31
DE
87042015-05-26 Doug Evans <dje@google.com>
8705
8706 * gdb.cp/iostream.cc: New file.
8707 * gdb.cp/iostream.exp: New file.
8708
b4f54984
DE
87092015-05-26 Doug Evans <dje@google.com>
8710
8711 * gdb.dwarf2/dw2-op-call.exp: Update.
8712 * gdb.dwarf2/dw4-sig-types.exp: Update.
8713 * gdb.dwarf2/implptr.exp: Update.
8714 * gdb.mi/mi-cmd-param-changed.exp: Update.
8715
4ea6efe9
DE
87162015-05-26 Doug Evans <dje@google.com>
8717
8718 * gdb.python/py-lazy-string.c: New file.
8719 * gdb.python/py-lazy-string.exp: New file.
8720 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8721 (main): Update. Add estring3.
8722 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8723 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8724
f6bb7db3
YQ
87252015-05-26 Omair Javaid <omair.javaid@linaro.org>
8726 Yao Qi <yao.qi@linaro.org>
8727
8728 * gdb.reverse/aarch64.c: New.
8729 * gdb.reverse/aarch64.exp: New.
8730
a81bfbd0
OJ
87312015-05-26 Omair Javaid <omair.javaid@linaro.org>
8732
25d49b86
PA
8733 * lib/gdb.exp (supports_process_record): Return true for
8734 aarch64*-linux*.
a81bfbd0
OJ
8735 (supports_reverse): Likewise.
8736
158bf1b4
PP
87372015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8738
8739 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8740 Use with_test_prefix.
8741
a0145030
AB
87422015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8743
8744 * gdb.base/completion.exp: Add test for completion of layout
8745 names.
8746
ebe3b578
AB
87472015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8748
8749 * lib/gdb.exp (skip_tui_tests): New proc.
8750 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8751
84204ed7
PA
87522015-05-19 Pedro Alves <palves@redhat.com>
8753
8754 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8755 Save the whole env array instead of just HOME. Unset HISTSIZE in
8756 the environment while testing. Restore whole environment
8757 afterwards.
8758
37442ce1
DE
87592015-05-16 Doug Evans <xdje42@gmail.com>
8760
8761 * gdb.guile/scm-ports.c: New file.
8762 * gdb.guile/scm-ports.exp: Add memory port tests.
8763
36de76f9
JK
87642015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8765
8766 * gdb.compile/compile-print.c: New file.
8767 * gdb.compile/compile-print.exp: New file.
8768
3a9558c4
JK
87692015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8770
8771 * gdb.compile/compile-ops.exp: Cast param to void.
8772 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8773 (compile code struct_object.selffield = &struct_object): Add xfail.
8774
aa715135
JG
87752015-05-15 Joel Brobecker <brobecker@adacore.com>
8776
8777 * gdb.ada/arr_enum_with_gap: New testcase.
8778
931e5bc3
JG
87792015-05-15 Joel Brobecker <brobecker@adacore.com>
8780
8781 * gdb.ada/byte_packed_arr: New testcase.
8782
9cd4d857
JB
87832015-05-15 Joel Brobecker <brobecker@adacore.com>
8784
8785 * gdb.ada/pckd_neg: New testcase.
8786
ebfd00d2
PP
87872015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8788
8789 PR gdb/17820
8790 * gdb.base/gdbinit-history.exp: New test.
8791 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8792 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8793
4c082a81
SC
87942015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8795
8796 * gdb.python/py-xmethods.cc: Enhance test case.
8797 * gdb.python/py-xmethods.exp: New tests.
8798 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8799 function.
8800 (B_indexoper): Likewise.
8801 (global_dm_list) : Add new xmethod worker functions.
8802
f7797074
SDJ
88032015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8804
8805 * gdb.base/coredump-filter.exp: Correctly unset
8806 "coredump_var_addr" array.
8807
a4674e4e
PA
88082015-05-08 Pedro Alves <palves@redhat.com>
8809
8810 * gdb.server/non-existing-program.exp: Unset spawn_id.
8811
df2eb078
SC
88122015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8813
8814 PR python/18291
8815 * gdb.python/py-xmethods.exp: Add tests.
8816
422349a3
YQ
88172015-05-08 Yao Qi <yao.qi@linaro.org>
8818
8819 PR gdb/18208
8820 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8821 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8822 function set_coredump_filter, and remove remote_exec call.
8823 Remove argument ipid. Callers update.
8824 (top level): Don't get inferior's PID.
8825
63fc80ce
AA
88262015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8827
8828 * gdb.base/watch_thread_num.exp: Skip test on targets without
8829 access watchpoints.
8830
80ad801e
PA
88312015-05-06 Pedro Alves <palves@redhat.com>
8832
8833 PR server/18081
8834 * gdb.server/non-existing-program.exp: New file.
8835
0fa7fe50
JB
88362015-05-05 Joel Brobecker <brobecker@adacore.com>
8837
8838 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8839
3ea89b92
PMR
88402015-05-05 Joel Brobecker <brobecker@adacore.com>
8841
8842 * gdb.ada/out_of_line_in_inlined: New testcase.
8843
87b8eff0
JB
88442015-05-05 Joel Brobecker <brobecker@adacore.com>
8845
8846 * gdb.ada/var_rec_arr: New testcase.
8847
5fccc635
YQ
88482015-04-30 Yao Qi <yao.qi@linaro.org>
8849
8850 * gdb.base/break-idempotent.exp: If
8851 skip_hw_watchpoint_multi_tests returns true, skip the tests
8852 on "rwatch" and "awatch".
8853
42d38f42
YQ
88542015-04-30 Yao Qi <yao.qi@linaro.org>
8855
8856 * gdb.base/relativedebug.exp: Invoke gdb command
8857 "info sharedlibrary", and if libc.so doesn't have debug info,
8858 skip the test.
8859
2ce1cdbf
DE
88602015-04-29 Doug Evans <dje@google.com>
8861
8862 * gdb.python/py-xmethods.exp: Add ptype tests.
8863 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8864 get_result_type method.
8865
f24a38c5
LM
88662015-04-29 Luis Machado <lgustavo@codesourcery.com>
8867
8868 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8869 the target does not support hardware watchpoints.
8870
ecbf2b3c
LM
88712015-04-29 Luis Machado <lgustavo@codesourcery.com>
8872
8873 * gdb.base/break-always.exp: Abort testing if writing to memory
8874 causes an error.
8875
34f5f757
DE
88762015-04-28 Doug Evans <dje@google.com>
8877
8878 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8879 * gdb.python/py-pp-registration.exp: ... here. New file.
8880 * gdb.python/py-pp-registration.c: New file.
8881 * gdb.python/py-pp-registration.py: New file.
8882
69b4374a
DE
88832015-04-28 Doug Evans <dje@google.com>
8884
8885 * gdb.python/py-bad-printers.c: New file.
8886 * gdb.python/py-bad-printers.py: New file.
8887 * gdb.python/py-bad-printers.exp: New file.
8888
59fb7612
SS
88892015-04-28 Sasha Smundak <asmundak@google.com>
8890
8891 * gdb.python/py-type.exp: New test.
8892
2631b16a
AW
88932015-04-28 Andy Wingo <wingo@igalia.com>
8894
8895 * gdb.python/py-parameter.exp:
8896 * gdb.guile/scm-parameter.exp: Escape the path that we are
8897 matching against, as it might contain characters that are special
8898 to regular expressions.
8899
460efde1
JB
89002015-04-27 Joel Brobecker <brobecker@adacore.com>
8901
8902 * gdb.ada/rec_comp: New testcase.
8903
2d369d8e
SDJ
89042015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8905
8906 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8907 before using it.
8908
cf75d6c3
AB
89092015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8910
8911 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8912 new tests for verilog output.
8913
8dbe7ca5
YQ
89142015-04-24 Yao Qi <yao.qi@linaro.org>
8915
8916 * boards/remote-gdbserver-on-localhost.exp: New file.
8917
4ef9fb2f
PA
89182015-04-23 Pedro Alves <palves@redhat.com>
8919
8920 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8921 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8922 "end of file", remove $inferior_spawn_id from the indirect list.
8923
0a803169
PA
89242015-04-23 Pedro Alves <palves@redhat.com>
8925
8926 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8927
749ef8f8
PA
89282015-04-23 Pedro Alves <palves@redhat.com>
8929
8930 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8931 on $any_spawn_id instead of only on $gdb_spawn_id.
8932
8aae4344
PM
89332015-04-21 Pierre Muller <muller@sourceware.org>
8934
8935 PR pascal/17815
8936 * lib/pascal.exp (gpc_compile): Add new option "class".
8937 (fpc_compile): Likewise.
8938 * gdb.pascal/case-insensitive-symbols.pas: New file.
8939 * gdb.pascal/case-insensitive-symbols.exp: New file.
8940
1586c8fb
GB
89412015-04-20 Gary Benson <gbenson@redhat.com>
8942
8943 * gdb.base/attach.exp: Fix three extended remote failures.
8944
1b6e6f5c
GB
89452015-04-17 Gary Benson <gbenson@redhat.com>
8946
8947 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8948 the main executable over the remote protocol.
8949
e797481d
PA
89502015-04-16 Pedro Alves <palves@redhat.com>
8951
8952 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8953 a new gdbserver if gdbserver_reconnect_p is set.
8954
1ca99c42
PA
89552015-04-16 Pedro Alves <palves@redhat.com>
8956
8957 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8958 is set, don't exit gdbserver.
8959
af9fd6f8
AA
89602015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8961
8962 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8963 appropriate .insn, such that an older assembler can be used.
8964 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8965 the z/Architecture instruction set on 31-bit targets as well.
8966
04ff1e61
AA
89672015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8968
8969 * gdb.go/handcall.exp: Remove all logic related to the first
8970 breakpoint and rely on go_runto_main instead.
8971 * gdb.go/strings.exp: Likewise.
8972 * gdb.go/unsafe.exp: Likewise.
8973 * gdb.go/hello.exp: Likewise. Also rename the remaining
8974 breakpoint marker to "breakpoint 1".
8975 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8976 * gdb.go/strings.go: Likewise.
8977 * gdb.go/unsafe.go: Likewise.
8978 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8979 "set breakpoint 2 here" and rename the remaining breakpoint marker
8980 to "breakpoint 1".
8981
40d2f8d6
SM
89822015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8983
8984 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8985 if itertools.imap is not present.
8986 * gdb.python/py-objfile.exp: Add parentheses.
8987 * gdb.python/py-type.exp: Same.
8988 * gdb.python/py-unwind-maint.py: Same.
8989
8cbc97c6
YQ
89902015-04-15 Yao Qi <yao.qi@linaro.org>
8991
8992 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8993 of ":$ptr_size" and set its form explicitly.
8994
45fd756c
YQ
89952015-04-15 Pedro Alves <palves@redhat.com>
8996 Yao Qi <yao.qi@linaro.org>
8997
8998 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8999 timeout by factor of 4.
9000 (test_regular_watch): Likewise.
9001 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9002 * gdb.reverse/sigall-reverse.exp: Likewise.
9003 * gdb.reverse/until-precsave.exp: Likewise.
9004 * lib/gdb.exp (with_timeout_factor): New proc.
9005 (gdb_expect): Move some code to ...
9006 (get_largest_timeout): ... here. New procedure.
9007
9e811bc3
LM
90082015-04-14 Luis Machado <lgustavo@codesourcery.com>
9009
9010 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9011
0ff6fcb2
LM
90122015-04-13 Luis Machado <lgustavo@codesourcery.com>
9013
9014 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9015 to write to the .text section.
9016
7578d5f7
LM
90172015-04-13 Luis Machado <lgustavo@codesourcery.com>
9018
9019 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9020 Handle the case of targets that do not provide PID information.
9021
2efe15c4
YQ
90222015-04-13 Yao Qi <yao.qi@linaro.org>
9023
9024 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9025 and use expect instead of gdb_expect.
9026
8cd8f2f8
SDJ
90272015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9028
9029 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9030 "coredump_var_addr" to avoid naming conflict with other testcases.
9031
9ee41772
PA
90322015-04-10 Pedro Alves <palves@redhat.com>
9033
9034 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9035 gdb_test_sequence and gdb_assert.
9036
07473109
PA
90372015-04-10 Pedro Alves <palves@redhat.com>
9038
9039 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9040 test messages that don't include the breakpoint address.
9041
de3db44c
YQ
90422015-04-10 Yao Qi <yao.qi@linaro.org>
9043
9044 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9045 false for some offset and width combinations which aren't
9046 supported by linux kernel.
9047
c79d856c
PA
90482015-04-10 Pedro Alves <palves@redhat.com>
9049
9050 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9051 procedure, factored out from ...
9052 (top level): ... here. Add "set displaced-stepping" testing axis.
9053 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9054 parameter "displaced". Use it.
9055 (top level): Use foreach and add "set displaced-stepping" testing
9056 axis.
9057
ebc90b50
PA
90582015-04-10 Pedro Alves <palves@redhat.com>
9059
9060 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9061 Remove comment.
9062 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9063 both the address of the instruction that triggers the watchpoint
9064 and the address of the instruction immediately after, and use
9065 those addresses for the test. Fix comment.
9066
8f572e5c
PA
90672015-04-10 Pedro Alves <palves@redhat.com>
9068
9069 * gdb.base/sigstep.exp (breakpoint_to_handler)
9070 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9071 Test "backtrace" in handler.
9072 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9073 (top level): Add new "displaced" test axis to
9074 breakpoint_to_handler, breakpoint_to_handler_entry and
9075 breakpoint_over_handler.
9076
8d707a12
PA
90772015-04-10 Pedro Alves <palves@redhat.com>
9078
9079 PR gdb/18216
9080 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9081
ef713951
YQ
90822015-04-10 Yao Qi <yao.qi@linaro.org>
9083
9084 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9085 (test_add_rn_pc): New function.
9086 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9087 (top level): Invoke test_add_rn_pc.
9088
906d60cf
PA
90892015-04-10 Pedro Alves <palves@redhat.com>
9090
9091 PR gdb/13858
9092 * gdb.base/step-over-no-symbols.exp: New file.
9093
f2983cc3
AW
90942015-04-09 Andy Wingo <wingo@igalia.com>
9095
9096 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9097 after the Python tests.
9098
6d62641c
SDJ
90992015-04-08 Keith Seitz <keiths@redhat.com>
9100
9101 PR python/16699
9102 * gdb.python/py-completion.exp: New tests for completion.
9103 * gdb.python/py-completion.py (CompleteLimit1): New class.
9104 (CompleteLimit2): Likewise.
9105 (CompleteLimit3): Likewise.
9106 (CompleteLimit4): Likewise.
9107 (CompleteLimit5): Likewise.
9108 (CompleteLimit6): Likewise.
9109 (CompleteLimit7): Likewise.
9110
f3770638
PA
91112015-04-08 Pedro Alves <palves@redhat.com>
9112
9113 PR gdb/18214
9114 PR gdb/18216
9115 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9116 function.
9117 (main): Install it as SIGUSR1 handler.
9118 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9119 parameter. Always use "setup" as prefix. Toggle "set
9120 displaced-stepping" off/on depending on global. Don't switch to
9121 thread 1 here.
9122 (top level): Add displaced stepping "off/on" test axis. Update
9123 "setup" calls. Wrap each subtest with with_test_prefix. Test
9124 continuing with a queued signal in each thread.
9125
4496bed7
PA
91262015-04-08 Pedro Alves <palves@redhat.com>
9127
9128 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9129 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9130 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9131 Return early if running to main fails.
9132 * gdb.trace/while-stepping.exp: Likewise.
9133
b97fde92
PA
91342015-04-07 Pedro Alves <palves@redhat.com>
9135
9136 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9137 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9138 interact with inferior program.
9139
f71c18e7
PA
91402015-04-07 Pedro Alves <palves@redhat.com>
9141
9142 * lib/gdb.exp (inferior_spawn_id): New global.
9143 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9144 spawn id after processing the user code.
9145 (default_gdb_start): Set inferior_spawn_id.
9146 (send_inferior): New procedure.
9147 * lib/gdbserver-support.exp (gdbserver_start): Set
9148 inferior_spawn_id.
9149 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9150
6423214f
PA
91512015-04-07 Pedro Alves <palves@redhat.com>
9152
9153 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9154 * lib/gdbserver-support.exp (gdbserver_start): Make
9155 $server_spawn_id global.
9156 (gdbserver_start): Don't wait for gdbserver's spawn id with
9157 expect_background.
9158 (close_gdbserver): New procedure.
9159 (gdb_exit): Rename the default version and reimplement.
9160
71c0ee8c
PA
91612015-04-07 Pedro Alves <palves@redhat.com>
9162
72f4393d 9163 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
9164 append the substituted item, not the original item.
9165
203bc29b
PA
91662015-04-07 Pedro Alves <palves@redhat.com>
9167
9168 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9169 gdb_expect.
9170
508a3ddf
PA
91712015-04-07 Pedro Alves <palves@redhat.com>
9172
9173 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9174 output appearing once only.
9175
9f6dbe2b
PA
91762015-04-07 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9179 that doesn't expect anything. Return early if running to main
9180 fails.
9181
337532fa
YQ
91822015-04-07 Yao Qi <yao.qi@linaro.org>
9183
9184 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9185 (child_function): Call alarm.
9186 (main): Move call to alarm into the loop.
9187 * gdb.threads/non-stop-fair-events.exp: Build program with
9188 -DTIMEOUT=$timeout.
9189
01b622d4
DE
91902015-04-06 Doug Evans <xdje42@gmail.com>
9191
9192 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9193 Fix dest parameter to board_info.
9194 (fpc_compile): Ditto.
9195 (gdb_compile_pascal): Rename dest arg to destfile.
9196
961f4160
PMR
91972015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9198
9199 * gdb.ada/funcall_ref.exp: New file.
9200 * gdb.ada/funcall_ref/foo.adb: New file.
9201
cafda597
YQ
92022015-04-02 Yao Qi <yao.qi@linaro.org>
9203
9204 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9205 is remote.
9206
fed040c6
GB
92072015-04-02 Gary Benson <gbenson@redhat.com>
9208
9209 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9210
d11916aa
SS
92112015-04-01 Sasha Smundak <asmundak@google.com>
9212
9213 * gdb.python/py-unwind-maint.c: New file.
9214 * gdb.python/py-unwind-maint.exp: New test.
9215 * gdb.python/py-unwind-maint.py: New file.
9216 * gdb.python/py-unwind.c: New file.
9217 * gdb.python/py-unwind.exp: New test.
9218 * gdb.python/py-unwind.py: New test.
9219
a1471180
PA
92202015-04-01 Pedro Alves <palves@redhat.com>
9221
9222 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9223 to fail instead of non-existent $test.
9224
0bbeccb1
PA
92252015-04-01 Pedro Alves <palves@redhat.com>
9226
9227 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9228 GDBFLAGS if not empty.
9229
3c724c8c
PMR
92302015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9231
9232 * gdb.ada/complete.exp: Remove "multi_line".
9233 * gdb.ada/info_exc.exp: Remove "multi_line".
9234 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9235 * gdb.ada/ptype_field.exp: Remove "multi_line".
9236 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9237 * gdb.ada/tagged.exp: Remove "multi_line".
9238 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9239 [multi_line ...]
9240 * gdb.btrace/delta.exp: Likewise.
9241 * gdb.btrace/exception.exp: Likewise.
9242 * gdb.btrace/function_call_history.exp: Likewise.
9243 * gdb.btrace/instruction_history.exp: Likewise.
9244 * gdb.btrace/nohist.exp: Likewise.
9245 * gdb.btrace/record_goto.exp: Likewise.
9246 * gdb.btrace/segv.exp: Likewise.
9247 * gdb.btrace/stepi.exp: Likewise.
9248 * gdb.btrace/tailcall.exp: Likewise.
9249 * gdb.btrace/unknown_functions.exp: Likewise.
9250 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9251 * lib/gdb.exp: Add the "multi_line" helper.
9252
4eec2deb
PA
92532015-04-01 Pedro Alves <palves@redhat.com>
9254
9255 * gdb.threads/tid-reuse.c: New file.
9256 * gdb.threads/tid-reuse.exp: New file.
9257
df8411da
SDJ
92582015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9259
9260 PR corefiles/16092
9261 * gdb.base/coredump-filter.c: New file.
9262 * gdb.base/coredump-filter.exp: Likewise.
9263
6ef37366
PM
92642015-03-27 Petr Machata <pmachata@redhat.com>
9265
9266 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9267 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9268 (Dwarf::assemble): Initialize them.
9269 (Dwarf::lines): New function.
9270
7ec911b0
JT
92712015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9272
9273 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9274 SYMBOL_PREFIX for x86_64-*-cygwin.
9275
ff908ebf
AW
92762015-03-26 Andy Wingo <wingo@igalia.com>
9277
9278 PR symtab/18148
9279 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9280 const_value but not a location.
9281 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9282 location defined in non-main CUs are visible.
9283
6d5f0679
YQ
92842015-03-26 Yao Qi <yao.qi@linaro.org>
9285
9286 PR testsuite/18139
9287 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9288 Add a line number entry for the same line.
9289 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9290 Add a line number entry for the same line.
9291
2898689b
YQ
92922015-03-26 Yao Qi <yao.qi@linaro.org>
9293
9294 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9295 .int 0.
9296 (func): Likewise. Add .Lfunc_1 label.
9297 Use .Lfunc_1 label.
9298 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9299 .int 0.
9300 (func): Likewise.
9301 Use .Lfunc_1 label.
9302
85180498
YQ
93032015-03-26 Yao Qi <yao.qi@linaro.org>
9304
9305 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9306 Call gdb_compile instead to compile each .s files without debug
9307 information.
9308
8aa08a8d
YQ
93092015-03-26 Yao Qi <yao.qi@linaro.org>
9310
9311 * gdb.base/savedregs.exp (process_saved_regs): Make
9312 "Saved registers:" optional in the pattern.
9313
66849923
MM
93142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9315
9316 * gdb.btrace/next.exp: Merged into step.exp.
9317 * gdb.btrace/finish.exp: Merged into step.exp.
9318 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9319 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9320 "record goto" and checking the exact replay position.
9321 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9322 check for "Recording format" in "info record" output.
9323 * gdb.btrace/record_goto.exp: Choose test file based on target.
9324 * gdb.btrace/x86-record_goto.S: Renamed into ...
9325 * gdb.btrace/x86_64-record_goto.S: ... this.
9326 * gdb.btrace/i686-record_goto.S: New.
9327 * gdb.btrace/x86-tailcall.S: Renamed into ...
9328 * gdb.btrace/x86_64-tailcall.S: ... this.
9329 * gdb.btrace/i686-tailcall.S: New.
9330 * gdb.btrace/x86-tailcall.c: Renamed into ...
9331 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9332 separate statements. Update test.
9333 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9334 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9335 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9336 * gdb.btrace/tailcall.exp: Choose test file based on target.
9337 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9338
11cc1b74
MM
93392015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9340
9341 * gdb.btrace/exception.exp: Increase BTS buffer size.
9342
a25d8bf9
PA
93432015-03-24 Pedro Alves <palves@redhat.com>
9344
9345 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9346
856e7dd6
PA
93472015-03-24 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.threads/schedlock.exp (test_step): No longer expect that
9350 "set scheduler-locking step" with "next" over a function call runs
9351 threads unlocked.
9352
ad235a41
AT
93532015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9354
9355 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9356
15630549
AT
93572015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9358
9359 PR breakpoints/16466
9360 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9361 * gdb.mi/mi-pending.c (thread_func): New function.
9362 (int main): Add threading support required.
9363 * gdb.mi/mi-pending.exp: Add tests for this issue.
9364 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9365 (pendfunc2): Remove stdio dependency.
9366 * gdb.mi/mi-pendshr2.c: New file.
9367
693dca06
KS
93682015-03-23 Keith Seitz <keiths@redhat.com>
9369
9370 * gdb.linespec/keywords.c: New file.
9371 * gdb.linespec/keywords.exp: New file.
9372
7e993ebf
KS
93732015-03-23 Keith Seitz <keiths@redhat.com>
9374
9375 PR gdb/18021
9376 * gdb.dwarf2/staticvirtual.exp: New test.
9377
bc23328c
JK
93782015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9379
9380 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9381 * README: Remove HP-UX and gdb.hp.
9382 (configuration):
9383 * configure: Regenerate.
9384 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9385 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9386 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9387 gdb.hp/gdb.defects/Makefile.
9388 * gdb.hp/Makefile.in: File deleted.
9389 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9390 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9391 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9392 * gdb.hp/gdb.aCC/run.c: File deleted.
9393 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9394 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9395 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9396 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9397 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9398 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9399 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9400 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9401 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9402 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9403 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9404 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9405 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9406 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9407 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9408 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9409 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9410 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9411 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9412 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9413 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9414 * gdb.hp/gdb.compat/average.c: File deleted.
9415 * gdb.hp/gdb.compat/sum.c: File deleted.
9416 * gdb.hp/gdb.compat/xdb.c: File deleted.
9417 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9418 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9419 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9420 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9421 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9422 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9423 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9424 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9425 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9426 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9427 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9428 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9429 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9430 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9431 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9432 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9433 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9434 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9435 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9436 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9437 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9438 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9439 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9440 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9441 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9442 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9443 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9444 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9445 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9446 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9447 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9448 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9449 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9450 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9451 * gdb.hp/tools/odump: File deleted.
9452
8bf3b159
PA
94532015-03-19 Pedro Alves <palves@redhat.com>
9454
9455 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9456 (saw_thread_3): New globals.
9457 (top level): Increment them when an event for the corresponding
9458 thread is seen.
9459 (no thread starvation): New test.
9460
eb54c8bf
PA
94612015-03-19 Pedro Alves <palves@redhat.com>
9462
9463 * gdb.threads/continue-pending-status.c: New file.
9464 * gdb.threads/continue-pending-status.exp: New file.
9465
32d2e5d6
PA
94662015-03-18 Pedro Alves <palves@redhat.com>
9467
9468 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9469 Use gdb_is_target_remote instead of is_remote. Use
9470 gdb_test_multiple instead of gdb_expect. Exit early if
9471 gdb_test_multiple hits its internal matches. Tighten stepi tests
9472 expected output. Fail on exit with any signal, instead of just
9473 SIGILL.
9474
f68f11b7
YQ
94752015-03-18 Yao Qi <yao.qi@linaro.org>
9476
9477 PR tdep/18107
9478 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9479 variable.
9480 * gdb.base/catch-syscall.exp: Don't skip it on
9481 aarch64*-*-linux* target. Remove elements in all_syscalls.
9482 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9483 target.
9484 (setup_all_syscalls): New proc.
9485
ca5fd19b
YQ
94862015-03-16 Yao Qi <yao.qi@linaro.org>
9487
9488 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9489 (top level): Skip tests if valid_addr_p returns false for
9490 $cmd1 or $cmd2.
9491
85642ba0
AW
94922015-03-11 Andy Wingo <wingo@igalia.com>
9493
9494 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9495
e03f9645
YQ
94962015-03-11 Yao Qi <yao.qi@linaro.org>
9497
9498 * gdb.base/catch-syscall.exp: Fix typo in comments.
9499
5d0962b2
YQ
95002015-03-11 Yao Qi <yao.qi@linaro.org>
9501
9502 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9503
b2df3cef
PA
95042015-03-09 Pedro Alves <palves@redhat.com>
9505
9506 * dg-extract-results.py: Delete.
9507
ef878e53
PA
95082015-03-09 Pedro Alves <palves@redhat.com>
9509
9510 Merge dg-extract-results.sh from GCC upstream (r218843).
9511
9512 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9513 * dg-extract-results.sh: Use --text with grep to avoid issues with
9514 binary files. Fall back to cat -v, if that doesn't work.
9515
9494d219
PA
95162015-03-05 Pedro Alves <palves@redhat.com>
9517
9518 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9519
a8d9763a
SM
95202015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9521
9522 * lib/mi-support.exp (mi_expect_interrupt): Accept
9523 alternative event for when in all-stop mode.
9524
be9957b8
PA
95252015-03-04 Pedro Alves <palves@redhat.com>
9526
9527 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9528
d57be0f4 95292015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
9530
9531 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9532
c214c7cf
AA
95332015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9534
9535 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9536 regexps for GDB's current line display, accept a hex address
9537 preceding the line number.
9538
6d74a497
AA
95392015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9540
9541 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9542 the 'arch1' variable for "s390*-linux*" targets.
9543
511aee7c
PA
95442015-03-04 Pedro Alves <palves@redhat.com>
9545
9546 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9547 (main): Pass missing retval argument to pthread_join call.
9548
95e50b27
PA
95492015-03-02 Pedro Alves <palves@redhat.com>
9550
9551 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9552 (top level): Call do_test with non-stop as well.
9553
28054d69
PA
95542015-03-02 Pedro Alves <palves@redhat.com>
9555
9556 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9557 -1.
9558
4fa5d7b4
AA
95592015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9560
9561 * gdb.arch/s390-vregs.exp: New test.
9562 * gdb.arch/s390-vregs.S: New file.
9563
97c18565
PA
95642015-02-27 Pedro Alves <palves@redhat.com>
9565
9566 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9567 call to catch_command_errors.
9568 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9569 catch_command_errors.
9570
a37bfa30
PA
95712015-02-27 Pedro Alves <palves@redhat.com>
9572
9573 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9574 "true" for boolean result.
9575 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9576 prototype of main.
9577
6f98576f
PA
95782015-02-27 Pedro Alves <palves@redhat.com>
9579
9580 * lib/unbuffer_output.c: New file.
9581 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9582 (main): Call gdb_unbuffer_output.
9583
eba5ab56
YQ
95842015-02-27 Yao Qi <yao.qi@linaro.org>
9585
9586 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9587 target.
9588
0def5aaa
DE
95892015-02-26 Doug Evans <dje@google.com>
9590
9591 * gdb.cp/class2.cc (Dbase, D): New classes.
9592 (main): New local delta.
9593 * gdb.cp/class2.exp: Test printing delta.
9594 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9595 (dynbar): New global.
9596 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9597
081a1c2c
JK
95982015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9599
9600 * gdb.compile/compile-ifunc.c: New file.
9601 * gdb.compile/compile-ifunc.exp: New file.
9602
2f41223f
AT
96032015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9604
9605 * gdb.base/structs.exp: Check for correct struct on finish.
9606
03eddd80
YQ
96072015-02-26 Yao Qi <yao.qi@linaro.org>
9608
9609 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9610 is zero.
9611
80c57053
JK
96122015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9613
9614 * gdb.arch/cordic.ko.bz2: New file.
9615 * gdb.arch/cordic.ko.debug.bz2: New file.
9616 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9617
21613c12
YQ
96182015-02-25 Yao Qi <yao.qi@linaro.org>
9619
9620 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9621 aarch64*-*-* target.
9622
d8b901ed
PA
96232015-02-23 Pedro Alves <palves@redhat.com>
9624
9625 * lib/gdb.exp (delete_breakpoints): Rewrite using
9626 gdb_test_multiple.
9627
e5b85ead
PA
96282015-02-23 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.base/info-os.c: Include stdlib.h.
9631
85c3a371
DE
96322015-02-22 Doug Evans <xdje42@gmail.com>
9633
9634 PR symtab/17855
9635 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9636 is read after symbols have been re-read.
9637 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9638 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9639
96553a0c
DE
96402015-02-21 Doug Evans <dje@google.com>
9641
9642 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9643
97a0c697
JK
96442015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9645
9646 PR corefiles/17808
9647 * gdb.arch/i386-biarch-core.core.bz2: New file.
9648 * gdb.arch/i386-biarch-core.exp: New file.
9649
a47cd6e9
PA
96502015-02-21 Pedro Alves <palves@redhat.com>
9651
9652 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9653 runto_main fails.
9654
c5facdc4
PA
96552015-02-20 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9658 info probes.
9659
2db9a427
PA
96602015-02-20 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9663
60fb7e9e
PA
96642015-02-20 Pedro Alves <palves@redhat.com>
9665
9666 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9667 clean_restart before gdb_target_supports_trace.
9668
5c5019c2
PA
96692015-02-20 Pedro Alves <palves@redhat.com>
9670
9671 PR threads/18006
9672 * gdb.threads/clone-thread_db.c: New file.
9673 * gdb.threads/clone-thread_db.exp: New file.
9674
c9587f88
AT
96752015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9676
9677 PR breakpoints/16812
9678 * gdb.base/catch-gdb-caused-signals.c: New file.
9679 * gdb.base/catch-gdb-caused-signals.exp: New file.
9680
f6a88844
JM
96812015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9682
9683 * configure: Regenerated.
9684 * configure.ac: Use GDB_AC_TRANSFORM.
9685 * aclocal.m4: sinclude ../transform.m4.
9686
497c491b
JM
96872015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9688
9689 * lib/dtrace.exp: New file.
9690 * gdb.base/dtrace-probe.exp: Likewise.
9691 * gdb.base/dtrace-probe.d: Likewise.
9692 * gdb.base/dtrace-probe.c: Likewise.
9693 * lib/pdtrace.in: Likewise.
9694 * configure.ac: Output variables with the transformed names of
9695 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9696 * configure: Regenerated.
9697
03e98035
JM
96982015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9699
9700 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9701 expected message when trying to access $_probe_* convenience
9702 variables while not on a probe.
9703
63cc30e9
JK
97042015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9705
9706 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9707
0703599a
PA
97082015-02-11 Pedro Alves <pedro@codesourcery.com>
9709
9710 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9711 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9712
7e60a48e
DE
97132015-02-10 Doug Evans <xdje42@gmail.com>
9714
9715 * lib/gdb.exp (gdb_load): Always return a result.
9716
01b088bc
PA
97172015-02-10 Pedro Alves <palves@redhat.com>
9718
9719 * gdb.threads/signal-sigtrap.c: New file.
9720 * gdb.threads/signal-sigtrap.exp: New file.
9721
b05ec7a5
AT
97222015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9723
9724 * gdb.trace/no-attach-trace.c: New file.
9725 * gdb.trace/no-attach-trace.exp: New file.
9726
a2c2acaf
MW
97272015-02-09 Mark Wielaard <mjw@redhat.com>
9728
9729 * gdb.dwarf2/atomic.c: New file.
9730 * gdb.dwarf2/atomic-type.exp: Likewise.
9731
31fd9caa
MM
97322015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9733
9734 * gdb.btrace/buffer-size.exp: Update "info record" output.
9735 * gdb.btrace/delta.exp: Update "info record" output.
9736 * gdb.btrace/enable.exp: Update "info record" output.
9737 * gdb.btrace/finish.exp: Update "info record" output.
9738 * gdb.btrace/instruction_history.exp: Update "info record" output.
9739 * gdb.btrace/next.exp: Update "info record" output.
9740 * gdb.btrace/nexti.exp: Update "info record" output.
9741 * gdb.btrace/step.exp: Update "info record" output.
9742 * gdb.btrace/stepi.exp: Update "info record" output.
9743 * gdb.btrace/nohist.exp: Update "info record" output.
9744
d33501a5
MM
97452015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9746
9747 * gdb.btrace/buffer-size: New.
9748
f4abbc16
MM
97492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9750
9751 * gdb.btrace/delta.exp: Update "info record" output.
9752 * gdb.btrace/enable.exp: Update "info record" output.
9753 * gdb.btrace/finish.exp: Update "info record" output.
9754 * gdb.btrace/instruction_history.exp: Update "info record" output.
9755 * gdb.btrace/next.exp: Update "info record" output.
9756 * gdb.btrace/nexti.exp: Update "info record" output.
9757 * gdb.btrace/step.exp: Update "info record" output.
9758 * gdb.btrace/stepi.exp: Update "info record" output.
9759 * gdb.btrace/nohist.exp: Update "info record" output.
9760
b9d61307
SM
97612015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9762
9763 PR gdb/15678
9764 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9765
e584fdbc
PA
97662015-02-06 Pedro Alves <palves@redhat.com>
9767
9768 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9769 macro.
9770 (seconds_left, again): New globals.
9771 (main): Wait seconds_left in a 1-second sleep loop instead of
9772 sleeping 180 seconds. If 'again' is set, reset the seconds
9773 counter.
9774 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9775 'again' in the inferior before detaching. Print the seconds left.
9776 (options): New global.
9777 (top level): Build program with -DTIMEOUT=$timeout.
9778
77f41761
PA
97792015-02-06 Pedro Alves <palves@redhat.com>
9780
9781 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9782 determine how many seconds to pass to 'alarm'.
9783 * gdb.base/gdb-sigterm.exp (top level): Build program with
9784 -DTIMEOUT=$timeout.
9785 (do_test): Return success/failure indication. Add more verbose
9786 logging. Don't fail if 200 single steps are seen. Instead, fail
9787 when the test times out.
9788 (passes): New global.
9789 (top level): Break the testing loop if testing fails on any
9790 iteration. Use gdb_assert.
9791
b9394193
DB
97922015-02-04 Don Breazeal <donb@codesourcery.com>
9793
9794 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9795 and initialize them.
9796 (ipc_cleanup): New function.
9797 (main): Don't declare shmid, semid, and msqid. Add a call to
9798 atexit so that we call ipc_cleanup on exit.
9799
42d9e528
PA
98002015-02-04 Pedro Alves <palves@redhat.com>
9801
9802 * boards/native-extended-gdbserver.exp: Remove any target variant
9803 specifications from the board name before clearing the isremote
9804 flag from board_info.
9805
ae6ae975
DE
98062015-01-31 Doug Evans <xdje42@gmail.com>
9807
9808 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9809
cfb069a8
GB
98102015-01-31 Gary Benson <gbenson@redhat.com>
9811
9812 * gdb.base/completion.exp: Disable completion limiting for
9813 existing tests. Add new tests to check completion limiting.
9814 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9815
5dd31d79
DE
98162015-01-31 Doug Evans <xdje42@gmail.com>
9817
9818 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9819
9f050062
DE
98202015-01-31 Doug Evans <xdje42@gmail.com>
9821
9822 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9823 entries. Duplicate file section script entries.
9824 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9825 inlined entries. Add test for safe-path rejection.
9826 * gdb.python/py-section-script.c: Add duplicate inlined section script
9827 entries. Duplicate file section script entries.
9828 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9829 inlined entries. Add test for safe-path rejection.
9830
df25ebbd
JB
98312015-01-29 Joel Brobecker <brobecker@adacore.com>
9832
9833 * gdb.ada/disc_arr_bound: New testcase.
9834
4a0ca9ec
JB
98352015-01-29 Joel Brobecker <brobecker@adacore.com>
9836
9837 * gdb.ada/mi_var_array: New testcase.
9838
3a8b707a
DE
98392015-01-27 Doug Evans <dje@google.com>
9840
9841 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9842 Add test for objfile.filename, objfile.username after objfile
9843 has been unloaded.
9844
f8313f6e
JB
98452015-01-26 Joel Brobecker <brobecker@adacore.com>
9846
9847 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9848 the second test to print the name attribute of value
9849 returned by the call to gdb.lookup_type, and adjust
9850 the expected output accordingly.
9851
37bc665e
MW
98522015-01-25 Mark Wielaard <mjw@redhat.com>
9853
9854 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9855 * gdb.base/disp-step-fork.c: Include unistd.h.
9856 * gdb.base/siginfo-obj.c: Include stdio.h.
9857 * gdb.base/siginfo-thread.c: Likewise.
9858 * gdb.mi/non-stop.c: Include unistd.h.
9859 * gdb.mi/nsthrexec.c: Include stdio.h.
9860 * gdb.mi/pthreads.c: Include unistd.h.
9861 * gdb.modula2/unbounded1.c (main): Declare returns int.
9862 * gdb.reverse/consecutive-reverse.c: Likewise.
9863 * gdb.threads/create-fail.c: Include unistd.h.
9864 * gdb.threads/killed.c: Likewise.
9865 * gdb.threads/linux-dp.c: Likewise.
9866 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9867 * gdb.threads/non-ldr-exc-2.c: Likewise.
9868 * gdb.threads/non-ldr-exc-3.c: Likewise.
9869 * gdb.threads/non-ldr-exc-4.c: Likewise.
9870 * gdb.threads/pthreads.c: Include unistd.h.
9871 (main): Declare returns int.
9872 * gdb.threads/tls-main.c (foo): New declaration.
9873 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9874
f7e5394d
SM
98752015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9876
9877 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9878 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9879
743649fd
MW
98802015-01-15 Mark Wielaard <mjw@redhat.com>
9881
9882 * gdb.base/noreturn-return.c: New file.
9883 * gdb.base/noreturn-return.exp: New file.
9884 * gdb.base/noreturn-finish.c: New file.
9885 * gdb.base/noreturn-finish.exp: New file.
9886
198297aa
PA
98872015-01-23 Pedro Alves <palves@redhat.com>
9888
9889 * gdb.threads/continue-pending-after-query.c: New file.
9890 * gdb.threads/continue-pending-after-query.exp: New file.
9891
717cf30c
AG
98922015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9893 Simon Marchi <simon.marchi@ericsson.com>
9894
9895 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9896 * gdb.base/valgrind-db-attach.exp: Same.
9897 * gdb.base/valgrind-infcall.exp: Same.
9898 * lib/mi-support.exp (default_mi_gdb_start): Same.
9899 * lib/prompt.exp (default_prompt_gdb_start): Same.
9900 * lib/gdb.exp (default_gdb_spawn): Same.
9901 (gdb_interact): New.
9902
9903
4b62a76e
JK
99042015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9905
9906 * gdb.compile/compile.exp (pointer to jit function): New test.
9907
b4cdae6f
WW
99082015-01-17 Wei-cheng Wang <cole945@gmail.com>
9909
9910 * lib/gdb.exp (supports_process_record): Return true for
9911 powerpc*-*-linux*.
9912 (supports_reverse): Likewise.
9913
d221e7ef
DB
99142015-01-15 Don Breazeal <donb@codesourcery.com>
9915
9916 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9917 instead of checking whether the target board is remote and
9918 use spawn_wait_for_attach instead of exec/sleep.
9919 * gdb.base/attach-twice.exp: Likewise.
9920
bafffb51
JB
99212015-01-15 Joel Brobecker <brobecker@adacore.com>
9922
9923 * gdb.ada/var_arr_attrs: New testcase.
9924
5589af0e
PA
99252015-01-14 Pedro Alves <palves@redhat.com>
9926 Joel Brobecker <brobecker@adacore.com>
9927
9928 PR gdb/17525
9929 * gdb.base/bp-cmds-execution-x-script.c: New file.
9930 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9931 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9932
6c400b59
PA
99332015-01-14 Pedro Alves <palves@redhat.com>
9934
9935 PR cli/17828
9936 * gdb.base/batch-preserve-term-settings.c: New file.
9937 * gdb.base/batch-preserve-term-settings.exp: New file.
9938
e02c96a7
DE
99392015-01-13 Doug Evans <dje@google.com>
9940
9941 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9942 binary.
9943
576fd14c
JB
99442015-01-13 Joel Brobecker <brobecker@adacore.com>
9945
9946 * Makefile.in (clean mostlyclean): Do not delete *.py.
9947
04dccad0
JB
99482015-01-13 Joel Brobecker <brobecker@adacore.com>
9949
9950 * gdb.python/py-lookup-type.exp: New file.
9951
3d230f71
PA
99522015-01-12 Pedro Alves <palves@redhat.com>
9953
9954 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9955 restore GDBFLAGS before returning.
9956
7e67715d
JK
99572015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9958
9959 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9960 is_amd64_regs_target and is_x86_like_target.
9961
f2e0d4b4
DE
99622015-01-11 Doug Evans <xdje42@gmail.com>
9963
9964 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9965 is given without an explicit form.
9966 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9967 attributes.
9968 * gdb.dwarf/corrupt.exp: Ditto.
9969 * gdb.dwarf2/enum-type.exp: Ditto.
9970 * gdb.trace/entry-values.exp: Ditto.
9971 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9972
439250fb
DE
99732015-01-11 Doug Evans <xdje42@gmail.com>
9974
9975 PR gdb/15830
9976 * gdb.base/maint.exp: Remove references to "maint demangle".
9977 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9978 Add tests for explicitly specifying language to demangle.
9979 * gdb.dlang/demangle.exp: Ditto.
9980
ede9f622
PA
99812015-01-09 Pedro Alves <palves@redhat.com>
9982
9983 * gdb.threads/non-stop-fair-events.c: New file.
9984 * gdb.threads/non-stop-fair-events.exp: New file.
9985
a7b796db
PA
99862015-01-09 Pedro Alves <palves@redhat.com>
9987
9988 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9989 the global scope. Set a breakpoint after all threads are started
9990 rather than stepping over two source lines. Expect the prompt.
9991 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9992 global.
9993 (NUM): Now 15.
9994 (main): Use threads_started_barrier to wait for all threads to
9995 start. Main thread no longer calls thread_function. Exit after
9996 180 seconds.
9997 (loop): New function.
9998 (thread_function): Wait on threads_started_barrier barrier. Call
9999 'loop' at each iteration.
10000 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10001 threads have started, instead of hardcoding number of "next"
10002 steps. Use an access watchpoint instead of a write watchpoint.
10003
9665ffdd
PA
100042015-01-09 Pedro Alves <palves@redhat.com>
10005
10006 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10007 (thread_func): Wait on barrier.
10008 (main): Wait for all threads to start before stopping GDB.
10009 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10010 global.
10011 (thread1_func, thread2_func): Wait on barrier.
10012 (main): Wait for all threads to start before stopping GDB.
10013 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10014 New global.
10015 (thread1_func, thread2_func): Wait on barrier.
10016 (main): Wait for all threads to start before stopping GDB.
10017
c945a99f
PA
100182015-01-09 Pedro Alves <palves@redhat.com>
10019
10020 * gdb.threads/attach-many-short-lived-threads.c: New file.
10021 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10022
c1a747c1
PA
100232014-01-09 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10026 instead of to thread 2.
10027 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10028 Add barrier around each pthread_create call instead of around all
10029 calls.
10030 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10031 Set a break on thread_function and have the child threads hit it
10032 one at at a time.
10033
60b3033e
PA
100342015-01-09 Pedro Alves <palves@redhat.com>
10035
10036 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10037 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10038 false.
10039 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10040 checking whether the target board is remote.
10041 * gdb.multi/multi-attach.exp: Likewise.
10042 * gdb.python/py-sync-interp.exp: Likewise.
10043 * gdb.server/ext-attach.exp: Likewise.
10044 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10045 tests that need to attach, instead of checking whether the target
10046 board is remote at the top of the file.
10047
acc018ac
YQ
100482015-01-08 Yao Qi <yao@codesourcery.com>
10049
10050 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10051
50a18af8
JK
100522015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10053
10054 Fix testcase compilation.
10055 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10056
8503d6e1
JB
100572015-01-06 Joel Brobecker <brobecker@adacore.com>
10058
10059 * gdb.python/py-type.exp: Add a couple test about empty
10060 array creation, and negative-length array creation.
10061
cc73dbcc
DE
100622015-01-02 Doug Evans <xdje42@gmail.com>
10063
10064 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10065
0300bbc7
DE
100662015-01-02 Doug Evans <dje@google.com>
10067
10068 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10069
9d85a0ec
YQ
100702014-12-29 Yao Qi <yao@codesourcery.com>
10071
10072 * gdb.trace/entry-values.exp: Update comments. Rename variable
10073 bar_call_foo to returned_from_foo.
10074
87186c6a
MMN
100752014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10076
10077 PR gdb/17394
10078 * gdb.linespec/break-asm-file.c: New file.
10079 * gdb.linespec/break-asm-file.exp: New file.
10080 * gdb.linespec/break-asm-file0.s: New file.
10081 * gdb.linespec/break-asm-file1.s: New file.
10082
1bab7383
YQ
100832014-12-18 Nigel Stephens <nigel@mips.com>
10084 Maciej W. Rozycki <macro@codesourcery.com>
10085
10086 * gdb.base/float.exp: Handle the new output from "info float" on
10087 MIPS targets.
10088
1bc1068a
JK
100892014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10090
10091 Fix MinGW compilation.
10092 * gdb.compile/compile-ops.exp: Update untested message if
10093 !skip_compile_feature_tests.
10094 * gdb.compile/compile-setjmp.exp: Likewise.
10095 * gdb.compile/compile-tls.exp: Likewise.
10096 * gdb.compile/compile.exp: Likewise.
10097 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10098 supported on this host".
10099
b6615d10
DE
101002014-12-16 Doug Evans <xdje42@gmail.com>
10101
10102 * boards/stabs.exp: New file.
10103
25dda427
AA
101042014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10105
10106 * gdb.base/completion.exp: Adjust to format changes of "maint
10107 print user-registers".
10108
bf330350
CU
101092014-12-16 Catalin Udma <catalin.udma@freescale.com>
10110
10111 PR server/17457
10112 * gdb.arch/aarch64-fp.c: New file.
10113 * gdb.arch/aarch64-fp.exp: New file.
10114
395cf596
SDJ
101152014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10116
10117 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10118 r210637, r210913, r211666, r215400, r215817).
10119
10120 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10121 * dg-extract-results.py: New file.
10122 * dg-extract-results.sh: Use it if the environment seems
10123 suitable.
10124
10125 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10126
10127 * dg-extract-results.py (parse_run): Handle warnings that
10128 are printed before a test harness is run.
10129
10130 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10131
10132 * dg-extract-results.py (Named): Remove __cmp__ method.
10133 (output_variation): Use a key to sort variation.harnesses.
10134
10135 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10136
10137 * dg-extract-results.py: For Python 3, force sys.stdout to
10138 handle surrogate escape sequences.
10139 (safe_open): New function.
10140 (output_segment, main): Use it.
10141
10142 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10143
10144 * dg-extract-results.py (Prog.result_re): Include options
10145 in test name.
10146
10147 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10148
10149 * dg-extract-results.py (output_variation): Always sort if
10150 do_sum.
10151
e882ef3c
SM
101522014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10153
10154 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10155 as long as we get pagination notifications.
10156
4992aa20
JM
101572014-12-15 Jason Merrill <jason@redhat.com>
10158
10159 * Makefile.in (check-gdb.%): Restore.
10160 * README: Mention it.
10161
c1b5a1a6
JB
101622014-12-13 Joel Brobecker <brobecker@adacore.com>
10163
10164 * gdb.ada/str_uninit: New testcase.
10165
5537b577
JK
101662014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10167
10168 PR symtab/17642
10169 * gdb.base/vla-stub-define.c: New file.
10170 * gdb.base/vla-stub.c: New file.
10171 * gdb.base/vla-stub.exp: New file.
10172
bb2ec1b3
TT
101732014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10174 Jan Kratochvil <jan.kratochvil@redhat.com>
10175 Tom Tromey <tromey@redhat.com>
10176
10177 * configure.ac: Add gdb.compile/.
10178 * configure: Regenerate.
10179 * gdb.compile/Makefile.in: New file.
10180 * gdb.compile/compile-ops.exp: New file.
10181 * gdb.compile/compile-ops.c: New file.
10182 * gdb.compile/compile-tls.c: New file.
10183 * gdb.compile/compile-tls.exp: New file.
10184 * gdb.compile/compile-constvar.S: New file.
10185 * gdb.compile/compile-constvar.c: New file.
10186 * gdb.compile/compile-mod.c: New file.
10187 * gdb.compile/compile-nodebug.c: New file.
10188 * gdb.compile/compile-setjmp-mod.c: New file.
10189 * gdb.compile/compile-setjmp.c: New file.
10190 * gdb.compile/compile-setjmp.exp: New file.
10191 * gdb.compile/compile-shlib.c: New file.
10192 * gdb.compile/compile.c: New file.
10193 * gdb.compile/compile.exp: New file.
10194 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10195
4ff709eb
TT
101962014-12-12 Tom Tromey <tromey@redhat.com>
10197
10198 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10199 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10200
6dddd6a5
DE
102012014-12-12 Doug Evans <dje@google.com>
10202
10203 * lib/gdb-python.exp (get_python_valueof): New function.
10204 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10205
71c24708
AA
102062014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10207
10208 * gdb.base/completion.exp: Add test for completion of "info
10209 registers ".
10210
3e29f34a
MR
102112014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10212
10213 * gdb.base/func-ptrs.c: New file.
10214 * gdb.base/func-ptrs.exp: New file.
10215
fc126975
SM
102162014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10217
10218 PR breakpoints/17012
10219 * gdb.base/dprintf-detach.c: New file.
10220 * gdb.base/dprintf-detach.exp: New file.
10221
0a46d518
SM
102222014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10223
10224 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10225 * lib/gdb.exp (target_is_gdbserver): New procedure.
10226
a0be3e44
DE
102272014-12-08 Doug Evans <dje@google.com>
10228
10229 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10230
df1b803a
YQ
102312014-12-05 Yao Qi <yao@codesourcery.com>
10232
10233 * gdb.guile/scm-error.exp: Remove the third argument to
10234 gdb_remote_download.
10235 * gdb.guile/scm-frame-args.exp: Likewise.
10236 * gdb.guile/scm-section-script.exp: Likewise.
10237
ddb9f679
YQ
102382014-12-05 Yao Qi <yao@codesourcery.com>
10239
10240 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10241
86e4ed39
DE
102422014-12-04 Doug Evans <dje@google.com>
10243
10244 * gdb.python/py-objfile.exp: Add tests for
10245 objfile.add_separate_debug_file.
10246
7c50a931
DE
102472014-12-04 Doug Evans <dje@google.com>
10248
10249 * lib/gdb.exp (get_build_id): New function.
10250 (build_id_debug_filename_get): Rewrite to use it.
10251 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10252
621661e3
MR
102532014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10254
10255 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10256 `method(long)', not just 0x0.
10257 * gdb.cp/nsalias.exp: Align code labels to 4.
10258 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10259 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10260 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10261 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10262 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10263 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10264
29f0c3b7
DE
102652014-12-02 Doug Evans <dje@google.com>
10266
e1e061e7 10267 PR symtab/17602
29f0c3b7 10268 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 10269 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
10270 * gdb.cp/anon-ns.exp: Update.
10271
162078c8
NB
102722014-12-02 Nick Bull <nicholaspbull@gmail.com>
10273
10274 * gdb.python/py-events.py (inferior_call_handler): New.
10275 (register_changed_handler, memory_changed_handler): New.
10276 (test_events.invoke): Register new handlers.
10277 * gdb.python/py-events.exp: Add tests for inferior call,
10278 memory_changed and register_changed events.
10279
fdb09caf
AA
102802014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10281
10282 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10283 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10284 if the linker doesn't understand this.
10285
55cfb2c4
SM
102862014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10287
10288 * gdb.python/python.exp: Change expected reply to help().
10289
9e8cd6df
YQ
102902014-12-01 Yao Qi <yao@codesourcery.com>
10291
10292 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10293 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10294 * configure: Re-generated.
10295
6c659fc2
SC
102962014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10297
10298 * gdb.cp/chained-calls.cc: New file.
10299 * gdb.cp/chained-calls.exp: New file.
10300 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10301
d7fc3181
SM
103022014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10303
10304 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10305 * gdb.dwarf2/symtab-producer.exp: Same.
10306 * gdb.gdb/python-interrupts.exp: Same.
10307 * gdb.gdb/python-selftest.exp: Same.
10308 * gdb.python/py-linetable.exp: Same.
10309 * gdb.python/py-type.exp: Same.
10310 * gdb.python/py-value-cc.exp: Same.
10311 * gdb.python/py-value.exp: Same.
10312
10e79639
YQ
103132014-11-28 Yao Qi <yao@codesourcery.com>
10314
10315 * gdb.base/break-probes.exp: Match library name prefixed with
10316 sysroot.
10317
f28a0564
SM
103182014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10319
10320 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10321 test expected output. Add parentheses for the call to print.
10322 Remove L suffix from integers.
10323
3fe1ce1d
DE
103242014-11-26 Doug Evans <dje@google.com>
10325
10326 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10327
84429e27
YQ
103282014-11-22 Yao Qi <yao@codesourcery.com>
10329
10330 * gdb.trace/entry-values.c: Remove asms.
10331 (foo): Add foo_label.
10332 (bar): Add bar_label.
10333 * gdb.trace/entry-values.exp: Remove code computing foo's
10334 length and bar's length.
10335 (Dwarf::assemble): Invoke function_range for bar and use
10336 MACRO_AT_func for foo.
10337
26741859
YQ
103382014-11-22 Yao Qi <yao@codesourcery.com>
10339
10340 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10341 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10342 Use .Lgcc43_procstart instead of gcc43.
10343
45e44d27
JB
103442014-11-21 Joel Brobecker <brobecker@adacore.com>
10345
10346 * gdb.ada/n_arr_bound: New testcase.
10347
458c8db8
SDJ
103482014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10349
10350 PR breakpoints/10737
10351 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10352 test_catch_syscall_multi_arch.
10353 (test_catch_syscall_multi_arch): New function.
10354
43f3e411
DE
103552014-11-20 Doug Evans <xdje42@gmail.com>
10356
10357 * gdb.base/maint.exp: Update expected output.
10358
0d7b2549
AA
103592014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10360
10361 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10362 4-byte instruction on S390.
10363
8908fca5
JB
103642014-11-19 Joel Brobecker <brobecker@adacore.com>
10365
10366 * gdb.ada/arr_arr: New testcase.
10367
4a46959e
JB
103682014-11-19 Joel Brobecker <brobecker@adacore.com>
10369
10370 * gdb.ada/pkd_arr_elem: New Testcase.
10371
470e2f4e
LM
103722014-11-18 Luis Machado <lgustavo@codesourcery.com>
10373
10374 * gdb.reverse/break-precsave: Expect completion message for
10375 core file reads.
10376 * gdb.reverse/consecutive-precsave.exp: Likewise.
10377 * gdb.reverse/finish-precsave.exp: Likewise.
10378 * gdb.reverse/i386-precsave.exp: Likewise.
10379 * gdb.reverse/machinestate-precsave.exp: Likewise.
10380 * gdb.reverse/sigall-precsave.exp: Likewise.
10381 * gdb.reverse/solib-precsave.exp: Likewise.
10382 * gdb.reverse/step-precsave.exp: Likewise.
10383 * gdb.reverse/until-precsave.exp: Likewise.
10384 * gdb.reverse/watch-precsave.exp: Likewise.
10385
a267f3ad
AA
103862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10387
10388 * gdb.base/bp-permanent.c: Include unistd.h.
10389 * gdb.python/py-framefilter-mi.c (main): Add return type.
10390 * gdb.python/py-framefilter.c (main): Likewise.
10391 * gdb.trace/actions-changed.c (main): Likewise.
10392
12084a9a
AA
103932014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10394
10395 * gdb.mi/until.c: Add eye-catchers.
10396 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10397 line numbers.
10398
dc7e1a77
AA
103992014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10400
10401 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10402 function header variants in break1.c.
10403 * gdb.base/ena-dis-br.exp: Likewise.
10404 * gdb.base/hbreak2.exp: Likewise.
10405 * gdb.reverse/until-precsave.exp: Drop references to removed
10406 non-prototype function header variants in ur1.c.
10407 * gdb.reverse/until-reverse.exp: Likewise.
10408
41c77605
PM
104092014-11-17 Petr Machata <pmachata@redhat.com>
10410
10411 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10412 ${_cu_offset_size} bytes abbrev offset.
10413
34248c3a
DE
104142014-11-15 Doug Evans <xdje42@gmail.com>
10415
10416 PR symtab/17559
10417 * gdb.base/line-symtabs.exp: New file.
10418 * gdb.base/line-symtabs.c: New file.
10419 * gdb.base/line-symtabs.h: New file.
10420
646da059
YQ
104212014-11-14 Yao Qi <yao@codesourcery.com>
10422
10423 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10424 (func): Add label func_label.
10425 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10426 Replace low_pc and high_pc with MACRO_AT_range.
10427 Replace name, low_pc and high_pc with MACRO_AT_func.
10428
9301ebe6
YQ
104292014-11-14 Yao Qi <yao@codesourcery.com>
10430
10431 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10432 Replace name, low_pc and high_pc with MACRO_AT_func.
10433
f166b542
YQ
104342014-11-14 Yao Qi <yao@codesourcery.com>
10435
10436 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10437 produce debug information.
10438 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10439
0f6e71e3
YQ
104402014-11-14 Yao Qi <yao@codesourcery.com>
10441
10442 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10443 object and get function length.
10444 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10445 with MACRO_AT_func.
10446 (top-level): Replace gdb_compile and clean_restart with
10447 prepare_for_testing.
10448 * gdb.dwarf2/main.c (main): Add label main_label.
10449
876c4df9
YQ
104502014-11-14 Yao Qi <yao@codesourcery.com>
10451
10452 * lib/dwarf.exp (function_range): New procedure.
10453 (Dwarf::_handle_macro_at_func): New procedure.
10454 (Dwarf::_handle_macro_at_range): New procedure.
10455 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10456
02ad9cf1
YQ
104572014-11-14 Yao Qi <yao@codesourcery.com>
10458
10459 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10460 (_handle_attribute): New procedure.
10461
a59add0c
AA
104622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10463
10464 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10465 * gdb.base/call-sc.c (zed): Likewise.
10466 * gdb.base/checkpoint.c (main): Likewise.
10467 * gdb.base/dump.c (main): Likewise.
10468 * gdb.base/gcore.c (main): Likewise.
10469 * gdb.base/huge.c (main): Likewise.
10470 * gdb.base/multi-forks.c (main): Likewise.
10471 * gdb.base/pr10179-a.c (main): Likewise.
10472 * gdb.base/savedregs.c (main): Likewise.
10473 * gdb.base/sigaltstack.c (main): Likewise.
10474 * gdb.base/siginfo.c (main): Likewise.
10475 * gdb.base/structs.c (zed): Likewise.
10476 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10477 * gdb.mi/mi-syn-frame.c (main): Likewise.
10478 * gdb.mi/until.c (foo, main): Likewise.
10479 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10480 * gdb.base/solib-weak.c (foo): Declare.
10481 * gdb.base/attach-twice.c: Include stdio.h.
10482 * gdb.base/weaklib1.c: Likewise.
10483 * gdb.base/weaklib2.c: Likewise.
10484 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10485 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10486 unistd.h.
10487 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10488 * gdb.mi/mi-exit-code.c: Likewise.
10489 * gdb.base/break-interp-lib.c: Include string.h.
10490 * gdb.base/coremaker.c: Likewise.
10491 * gdb.base/testenv.c: Likewise.
10492 * gdb.python/py-finish-breakpoint.c: Likewise.
10493 * gdb.base/inferior-died.c: Include sys/wait.h.
10494 * gdb.base/fileio.c: Include time.h.
10495 * gdb.base/async-shell.c: Include unistd.h.
10496 * gdb.base/dprintf-non-stop.c: Likewise.
10497 * gdb.base/info-os.c: Likewise.
10498 * gdb.mi/mi-console.c: Likewise.
10499 * gdb.mi/watch-nonstop.c: Likewise.
10500 * gdb.python/py-events.c: Likewise.
10501 * gdb.base/async.c (baz): Move up before its invocation.
10502 * gdb.base/code_elim2.c (my_global_func): Likewise.
10503 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10504 * gdb.base/advance.c (func2): Likewise.
10505
3b5d5997
AA
105062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10507
10508 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10509 variant.
10510 * gdb.base/annota3.c: Likewise.
10511 * gdb.base/async.c: Likewise.
10512 * gdb.base/average.c: Likewise.
10513 * gdb.base/call-ar-st.c: Likewise.
10514 * gdb.base/call-rt-st.c: Likewise.
10515 * gdb.base/call-sc.c: Likewise.
10516 * gdb.base/call-strs.c: Likewise.
10517 * gdb.base/ending-run.c: Likewise.
10518 * gdb.base/execd-prog.c: Likewise.
10519 * gdb.base/exprs.c: Likewise.
10520 * gdb.base/foll-exec.c: Likewise.
10521 * gdb.base/foll-fork.c: Likewise.
10522 * gdb.base/foll-vfork.c: Likewise.
10523 * gdb.base/funcargs.c: Likewise.
10524 * gdb.base/gcore.c: Likewise.
10525 * gdb.base/jump.c: Likewise.
10526 * gdb.base/langs0.c: Likewise.
10527 * gdb.base/langs1.c: Likewise.
10528 * gdb.base/langs2.c: Likewise.
10529 * gdb.base/mips_pro.c: Likewise.
10530 * gdb.base/nodebug.c: Likewise.
10531 * gdb.base/opaque0.c: Likewise.
10532 * gdb.base/opaque1.c: Likewise.
10533 * gdb.base/recurse.c: Likewise.
10534 * gdb.base/run.c: Likewise.
10535 * gdb.base/scope0.c: Likewise.
10536 * gdb.base/scope1.c: Likewise.
10537 * gdb.base/setshow.c: Likewise.
10538 * gdb.base/setvar.c: Likewise.
10539 * gdb.base/shmain.c: Likewise.
10540 * gdb.base/shr1.c: Likewise.
10541 * gdb.base/shr2.c: Likewise.
10542 * gdb.base/sigall.c: Likewise.
10543 * gdb.base/signals.c: Likewise.
10544 * gdb.base/so-indr-cl.c: Likewise.
10545 * gdb.base/solib2.c: Likewise.
10546 * gdb.base/structs.c: Likewise.
10547 * gdb.base/sum.c: Likewise.
10548 * gdb.base/vforked-prog.c: Likewise.
10549 * gdb.base/watchpoint.c: Likewise.
10550 * gdb.reverse/shr2.c: Likewise.
10551 * gdb.reverse/until-reverse.c: Likewise.
10552 * gdb.reverse/ur1.c: Likewise.
10553 * gdb.reverse/watch-reverse.c: Likewise.
10554
066a77c5
AA
105552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10556
10557 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10558 variant.
10559 * gdb.base/sepdebug.exp: Drop references to removed code.
10560
4f204ea5
AA
105612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10562
10563 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10564 variant. Preserve original line numbering.
10565 * gdb.base/list1.c: Likewise.
10566
3b377a3a
AA
105672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10568
10569 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10570 variant.
10571 * gdb.base/break1.c: Likewise.
10572 * gdb.base/break.exp: Drop references to removed code.
10573
e444df73
AA
105742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10575
10576 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10577 variant.
10578
8008f2a7
AA
105792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10580
10581 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10582
a5a06887
AA
105832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10584
10585 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10586 logic into perform_all_tests() and invoke it with and without
10587 function header prototypes.
10588 (do_function_calls): Remove conditional XFAIL for PR 5318.
10589 (rerun_and_prepare): Remove duplicate code.
10590 (perform_all_tests): New. Main logic moved here.
10591
44dba9b9
AA
105922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10593
10594 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10595 code guarded by #ifdef NO_PROTOTYPES.
10596 (t_double_many_args): Likewise.
10597 (DEF_FUNC_MANY_ARGS_1): Likewise.
10598 (DEF_FUNC_VALUES_1): Likewise.
10599 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10600 guarded by #ifdef PROTOTYPES.
10601
d1fbcd56
AA
106022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10603
10604 * gdb.mi/mi-console.c: Add eye-catcher.
10605 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10606 instead of literal line number.
10607
b0e59b8f
AA
106082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10609
10610 * gdb.base/shr2.c: Add eye-catcher.
10611 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10612 line number.
10613
78f98cca
AA
106142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10615
10616 * gdb.base/jump.c: Add eye-catchers.
10617 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10618 numbers.
10619
58fa2af0
AA
106202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10621
10622 * gdb.base/execd-prog.c: Add eye-catchers.
10623 * gdb.base/foll-exec.c: Likewise.
10624 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10625 line numbers.
10626
04e5059b
AA
106272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10628
10629 * gdb.base/ending-run.c: Add eye-catchers.
10630 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10631 literal line numbers.
10632
dbfdb174
AA
106332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10634
10635 * gdb.base/call-rt-st.c: Add eye-catchers.
10636 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10637 literal line numbers.
10638
888a2ade
AA
106392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10640
10641 * gdb.base/call-ar-st.c: Add eye-catchers.
10642 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10643 literal line numbers.
10644
6acc2dde
AA
106452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10646
10647 * gdb.base/average.c: Add eye-catchers.
10648 * gdb.base/sum.c: Likewise.
10649 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10650 regexps dynamically.
10651
9ecfcd1d
AA
106522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10653
10654 * gdb.base/solib1.c: Add eye-catchers.
10655 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10656 literal line numbers.
10657
78708b7c
PA
106582014-11-12 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10661 leader has exited.
10662
af48d08f
PA
106632014-11-12 Pedro Alves <palves@redhat.com>
10664
10665 * gdb.arch/i386-bp_permanent.c: New file.
10666 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10667 (srcfile): Set to i386-bp_permanent.c.
10668 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10669 that stepi does not execute the 'leave' instruction, instead of
10670 testing it does execute.
10671 * gdb.base/bp-permanent.c: New file.
10672 * gdb.base/bp-permanent.exp: New file.
10673
af3768e9
DE
106742014-11-10 Doug Evans <xdje42@gmail.com>
10675
10676 PR symtab/17564
10677 * gdb.base/symtab-search-order.exp: New file.
10678 * gdb.base/symtab-search-order.c: New file.
10679 * gdb.base/symtab-search-order-1.c: New file.
10680 * gdb.base/symtab-search-order-shlib-1.c: New file.
10681
9de00a4a
PA
106822014-11-07 Pedro Alves <palves@redhat.com>
10683
10684 PR gdb/17511
10685 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10686 i?86-*-linux*.
10687
e0f52461
SC
106882014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10689
10690 PR c++/17494
10691 * gdb.cp/pr17494.cc: New file.
10692 * gdb.cp/pr17494.exp: New file.
10693
6ce8c980
YQ
106942014-11-02 Yao Qi <yao@codesourcery.com>
10695
10696 * gdb.python/python.exp: Get working directory and match the
10697 output of "set extended-prompt \\w " with it.
10698
02be9a71
DE
106992014-10-30 Doug Evans <dje@google.com>
10700
10701 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10702 in objfiles.
10703 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10704 in progspaces.
10705
3bdff46b
LM
107062014-10-30 Janis Johnson <janisjo@codesourcery.com>
10707
10708 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10709 * gdb.base/realname-expand.exp: Likewise.
10710 * gdb.linespec/macro-relative.exp: Likewise.
10711
ab917dfb
PA
107122014-10-29 Pedro Alves <palves@redhat.com>
10713
10714 PR gdb/17408
10715 * gdb.threads/schedlock.c (some_function): New function.
10716 (call_function): New global.
10717 (MAYBE_CALL_SOME_FUNCTION): New macro.
10718 (thread_function): Call it.
10719 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10720 and use it instead of a global counter. Adjust all callers.
10721 (get_current_thread): Use "find current thread" for test message
10722 here rather than having all callers pass down the same string.
10723 (goto_loop): New procedure, factored out from ...
10724 (my_continue): ... this.
10725 (step_ten_loops): Change parameter from test message to command to
10726 use. Adjust.
10727 (list_count): Delete global.
10728 (check_result): New procedure, factored out from duplicate top
10729 level code.
10730 (continue tests): Wrap in with_test_prefix.
10731 (test_step): New procedure, factored out from duplicate top level
10732 code.
10733 (top level): Test "step" in combination with all scheduler-locking
10734 modes. Test "next" in combination with all scheduler-locking
10735 modes, and in combination with stepping over a function call or
10736 not.
10737 * gdb.threads/next-bp-other-thread.c: New file.
10738 * gdb.threads/next-bp-other-thread.exp: New file.
10739
d3d4baed
PA
107402014-10-29 Pedro Alves <palves@redhat.com>
10741
10742 PR python/17372
10743 * gdb.python/python.exp: Test a multi-line command that spawns
10744 interactive Python.
10745 * gdb.base/multi-line-starts-subshell.exp: New file.
10746
563e8d85
YQ
107472014-10-29 Yao Qi <yao@codesourcery.com>
10748
10749 * gdb.base/fileio.exp: Make directories on host.
10750
0ea4d52e
YQ
107512014-10-29 Yao Qi <yao@codesourcery.com>
10752
10753 * gdb.base/fileio.c (test_write): Close the file.
10754
7f5ef605
PA
107552014-10-28 Pedro Alves <palves@redhat.com>
10756
10757 PR gdb/12623
10758 * gdb.base/sigstep.c (no_handler): New global.
10759 (main): If 'no_handler is true, set the signal handlers to
10760 SIG_IGN.
10761 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10762 with_sw_watch and no_handler parameters. Handle them.
10763 (top level) <stepping over handler when stopped at a breakpoint
10764 test>: Add a test axis for testing with a software watchpoint, and
10765 another for testing with the signal handler set to SIG_IGN.
10766 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10767 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10768
abbdbd03
PA
107692014-10-28 Pedro Alves <palves@redhat.com>
10770
10771 PR gdb/17511
10772 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10773 * gdb.base/sigstep.exp (other_handler_location): New global.
10774 (advance): Support stepping into the signal handler, and running
10775 commands while in the handler.
10776 (in_handler_map): New global.
10777 (top level): In the advance test, add combinations for getting
10778 into the handler with stepping commands, and for running commands
10779 in the handler. Add comment descripting the advancei tests.
10780
1df4399f
PA
107812014-10-28 Pedro Alves <palves@redhat.com>
10782
10783 * gdb.base/sigstep.exp: Use build_executable instead of
10784 prepare_for_testing.
10785 (top level): Move code that starts GDB, runs to main and creates a
10786 display to ...
10787 (restart): ... this new procedure.
10788 (top level): Move backtrace from signal handler test to ...
10789 (validate_backtrace): ... this new procedure.
10790 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10791 with_test_prefix. Always restart GDB.
10792 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10793 with_test_prefix. Always restart GDB. No need to delete
10794 breakpoints after the test.
10795 (test_skip_handler): Remove prefix parameter.
10796 (skip_over_handler, breakpoint_to_handler)
10797 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10798 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10799 restart GDB. No need to delete breakpoints after the test.
10800 (top level): Use foreach to call the test procedures with
10801 different commands.
10802
a5b6e449
PA
108032014-10-28 Pedro Alves <palves@redhat.com>
10804
10805 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10806 instead of GNATS numbers.
10807 * gdb.base/sigbpt.exp: Likewise.
10808 * gdb.base/siginfo.exp: Likewise.
10809 * gdb.base/sigstep.exp: Likewise.
10810
e5f8a7cc
PA
108112014-10-27 Pedro Alves <palves@redhat.com>
10812
10813 * gdb.base/sigstep.c (dummy): New global.
10814 (main): Issue a couple writes to the new global.
10815 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10816 procedures.
10817 (skip_over_handler): Use test_skip_handler.
10818 (top level): Call skip_over_handler for stepi and nexti too.
10819 (breakpoint_over_handler): Use test_skip_handler.
10820 (top level): Call breakpoint_over_handler for stepi and nexti too.
10821
763905a3
YQ
108222014-10-27 Yao Qi <yao@codesourcery.com>
10823
10824 * gdb.trace/tfile.c (adjust_function_address)
10825 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10826 function descriptor.
10827
6f259a23
DB
108282014-10-24 Don Breazeal <donb@codesourcery.com>
10829
10830 * gdb.base/foll-fork.exp (test_follow_fork,
10831 catch_fork_child_follow): Check for updated fork messages emitted
10832 from infrun.c.
10833 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10834 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10835 vfork_and_exec_child_follow_through_step): Check for updated vfork
10836 messages emitted from infrun.c.
10837
09dd9a69
PA
108382014-10-24 Pedro Alves <palves@redhat.com>
10839
10840 * gdb.base/corefile.exp: Remove references to ultrix.
10841 * gdb.base/interrupt.exp: Likewise.
10842 * gdb.base/whatis.exp: Likewise.
10843 * gdb.gdb/selftest.exp: Likewise.
10844 * gdb.threads/manythreads.exp: Likewise.
10845 * gdb.threads/print-threads.exp: Likewise.
10846 * gdb.threads/pthreads.exp:: Likewise.
10847 * gdb.threads/schedlock.exp: Likewise.
10848
3433cfa5
SC
108492014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10850
10851 * gdb.cp/non-trivial-retval.cc: Add a test case.
10852 * gdb.cp/non-trivial-retval.exp: Add a test.
10853
092f880b
YQ
108542014-10-20 Yao Qi <yao@codesourcery.com>
10855
10856 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10857 * gdb.python/py-objfile-script-gdb.py: New file.
10858 * gdb.python/py-objfile-script.exp: Update reference to
10859 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10860 of remote_download. Remove the dest file.
10861
acbdb7f3
YQ
108622014-10-20 Yao Qi <yao@codesourcery.com>
10863
10864 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10865 * gdb.base/step-line.exp: Likewise.
10866 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10867 * gdb.dwarf2/dw2-basic.exp: Likewise.
10868 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10869 * gdb.dwarf2/dw2-filename.exp: Likewise.
10870 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10871 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10872 * gdb.dwarf2/dw2-producer.exp: Likewise.
10873 * gdb.dwarf2/mac-fileno.exp: Likewise.
10874 * gdb.python/py-frame-args.exp: Likewise.
10875 * gdb.python/py-framefilter.exp: Likewise.
10876 * gdb.python/py-mi.exp: Likewise.
10877 * gdb.python/py-objfile-script.exp: Likewise
10878 * gdb.python/py-pp-integral.exp: Likewise.
10879 * gdb.python/py-pp-re-notag.exp: Likewise.
10880 * gdb.python/py-prettyprint.exp: Likewise.
10881 * gdb.python/py-section-script.exp: Likewise.
10882 * gdb.python/py-typeprint.exp: Likewise.
10883 * gdb.python/py-xmethods.exp: Likewise.
10884 * gdb.stabs/weird.exp: Likewise.
10885 * gdb.xml/tdesc-regs.exp: Likewise.
10886
bd286a29
KCY
108872014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10888
10889 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10890 (out_cu): Use addr_len for the size of addresses.
10891 (out_line): Likewise. Size DW_LNE_set_address instruction
10892 according to addr_len.
10893 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10894 (FUNC): Add START_INSNS to definition.
10895
673dc4a0
YQ
108962014-10-18 Yao Qi <yao@codesourcery.com>
10897
10898 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10899 gdb_has_argv0 return true.
10900 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10901 check [target_info exists noargs], check [gdb_has_argv0]
10902 instead.
10903 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10904 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10905 procedures.
10906
4ffbba72
DE
109072014-10-17 Doug Evans <dje@google.com>
10908
10909 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10910 event.
10911 * gdb.python/py-events.py: Add clear_objfiles event.
10912
d096d8c1
DE
109132014-10-17 Doug Evans <dje@google.com>
10914
10915 * gdb.python/py-objfile.exp: Test progspace attribute.
10916
a80db015
LM
109172014-10-17 Luis Machado <lgustavo@codesourcery.com>
10918
10919 * gdb.guile/scm-breakpoint.exp: Do not assume any
10920 directory separators when matching source file paths.
10921 * gdb.python/py-breakpoint.exp: Likewise.
10922 * gdb.reverse/break-precsave.exp: Likewise.
10923 * gdb.reverse/break-reverse.exp: Likewise.
10924 * gdb.reverse/consecutive-precsave.exp: Likewise.
10925 * gdb.reverse/finish-precsave.exp: Likewise.
10926 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10927 * gdb.reverse/finish-reverse.exp: Likewise.
10928 * gdb.reverse/i386-precsave.exp: Likewise.
10929 * gdb.reverse/i387-env-reverse.exp: Likewise.
10930 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10931 * gdb.reverse/machinestate-precsave.exp: Likewise.
10932 * gdb.reverse/machinestate.exp: Likewise.
10933 * gdb.reverse/sigall-precsave.exp: Likewise.
10934 * gdb.reverse/solib-precsave.exp: Likewise.
10935 * gdb.reverse/step-precsave.exp: Likewise.
10936 * gdb.reverse/until-precsave.exp: Likewise.
10937 * gdb.reverse/watch-precsave.exp: Likewise.
10938 * gdb.reverse/watch-reverse.exp: Likewise.
10939
b22089ab
YQ
109402014-10-17 Yao Qi <yao@codesourcery.com>
10941
10942 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10943 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10944
6c4486e6
PA
109452014-10-17 Pedro Alves <palves@redhat.com>
10946
10947 PR gdb/17471
10948 * gdb.base/bg-execution-repeat.c: New file.
10949 * gdb.base/bg-execution-repeat.exp: New file.
10950
0ff33695
PA
109512014-10-17 Pedro Alves <palves@redhat.com>
10952
10953 PR gdb/17300
10954 * gdb.base/continue-all-already-running.c: New file.
10955 * gdb.base/continue-all-already-running.exp: New file.
10956
6fdebc3d
PA
109572014-10-17 Pedro Alves <palves@redhat.com>
10958
10959 PR gdb/17472
10960 * gdb.base/annota-input-while-running.c: New file.
10961 * gdb.base/annota-input-while-running.exp: New file.
10962
32a8097b
PA
109632014-10-17 Pedro Alves <palves@redhat.com>
10964
10965 * gdb.base/callfuncs.exp: emove references to osf.
10966 * gdb.base/sigall.exp: Likewise.
10967 * gdb.gdb/selftest.exp: Likewise.
10968 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10969 * gdb.mi/non-stop.c: Likewise.
10970 * gdb.mi/pthreads.c: Likewise.
10971 * gdb.reverse/sigall-precsave.exp: Likewise.
10972 * gdb.reverse/sigall-reverse.exp: Likewise.
10973 * gdb.threads/pthreads.c: Likewise.
10974 * gdb.threads/pthreads.exp: Likewise.
10975
7a3517ff
YQ
109762014-10-17 Yao Qi <yao@codesourcery.com>
10977
10978 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10979 check 'target_info exists noargs'.
10980 (test_command_prompt_position): Likewise.
10981 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10982 Remove "set args".
10983 (progvar_simple_while_test): Likewise.
10984 (progvar_complex_if_while_test): Likewise.
10985 (if_while_breakpoint_command_test): Likewise.
10986 (infrun_breakpoint_command_test): Likewise.
10987 (breakpoint_command_test): Likewise.
10988 (watchpoint_command_test): Likewise.
10989 (bp_deleted_in_command_test): Likewise.
10990 (temporary_breakpoint_commands): Likewise.
10991
bb99c472
YQ
109922014-10-16 Yao Qi <yao@codesourcery.com>
10993
10994 * gdb.base/remotetimeout.exp: Remove noargs checking.
10995
7c16b83e
PA
109962014-10-15 Pedro Alves <palves@redhat.com>
10997
10998 PR breakpoints/9649
10999 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11000 * gdb.base/breakpoint-in-ro-region.exp
11001 (probe_target_hardware_step): New procedure.
11002 (top level): Probe hardware stepping and hardware breakpoint
11003 support. Test stepping through a read-only region, with both
11004 "breakpoint auto-hw" on and off and both "always-inserted" on and
11005 off.
11006
35a49624
IB
110072014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11008
11009 * gdb.dlang/demangle.exp: Update for demangling changes.
11010
2d1c107c
SC
110112014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11012
11013 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11014 * gdb.cp/non-trivial-retval.exp: Add new tests.
11015
778811d5
SC
110162014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11017
11018 PR c++/13403
11019 PR c++/15154
11020 * gdb.cp/non-trivial-retval.cc: New file.
11021 * gdb.cp/non-trivial-retval.exp: New file.
11022
10c5f0a8
YQ
110232014-10-15 Yao Qi <yao@codesourcery.com>
11024
11025 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11026 remote host.
11027
65d7b369
YQ
110282014-10-15 Yao Qi <yao@codesourcery.com>
11029
11030 * gdb.python/py-symbol.exp: Match file base name if host is
11031 remote, otherwise match file name with dir name.
11032 * gdb.python/py-symtab.exp: Likewise.
11033 * gdb.python/python.exp: Likewise.
11034
46dc1394
YQ
110352014-10-15 Yao Qi <yao@codesourcery.com>
11036
11037 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11038 pattern.
11039 * gdb.python/py-symtab.exp: Likewise.
11040 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11041 locationn.
11042
c40cc657
JB
110432014-10-14 Joel Brobecker <brobecker@adacore.com>
11044
11045 * gdb.ada/addr_arith: New testcase.
11046
2abf49e1
MR
110472014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11048
11049 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11050 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11051 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11052 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11053
f7088df3
SDJ
110542014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11055
11056 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11057 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11058 * gdb.arch/stap-eval-lang-ada.exp: New file.
11059
4dc06805
YQ
110602014-10-14 Yao Qi <yao@codesourcery.com>
11061
11062 * gdb.mi/mi-var-child.c (nothing1): New function.
11063 (nothing2): New function.
11064 (do_children_tests): Set function pointers by nothing1 and
11065 nothing2.
11066 * gdb.mi/mi-var-child.exp: Step over new added statements.
11067 Update test to match the new output.
11068 * gdb.mi/var-cmd.c (nothing1): New function.
11069 (nothing2): New function.
11070 (do_children_tests): Set function pointers by nothing1 and
11071 nothing2.
11072 * gdb.mi/mi-var-display.exp: Update test to match output.
11073 Step to the line specified by $line_dct_nothing.
11074 Increase the number of lines to step.
11075
46a93de2
YQ
110762014-10-14 Yao Qi <yao@codesourcery.com>
11077
11078 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11079 tests.
11080 * gdb.mi/mi2-var-child.exp: Likewise.
11081
14ea52ee
DE
110822014-10-13 Doug Evans <dje@google.com>
11083
11084 * gdb.python/py-objfile.exp: Change name of file name test.
11085
e5c6e92b
DE
110862014-10-13 Doug Evans <dje@google.com>
11087
11088 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11089 from the start of the CU.
11090
c780cc2f
JK
110912014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11092 Yao Qi <yao@codesourcery.com>
11093
11094 Fix "save breakpoints" for "catch" command.
11095 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11096 Remove -nonewline. Match also the added "main" line.
11097
99894e11
JK
110982014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11099
11100 Fix "save breakpoints" for "disable $bpnum" command.
11101 * gdb.base/save-bp.c (main): Add label.
11102 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11103
6e1ac5a3
JK
111042014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11105
11106 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11107
754dd2b0
YQ
111082014-10-11 Yao Qi <yao@codesourcery.com>
11109
11110 * gdb.server/server-kill.exp: Execute command
11111 "set remote trace-status-packet on" before "tstatus".
11112
f90183d7
YQ
111132014-10-11 Yao Qi <yao@codesourcery.com>
11114
11115 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11116 (main): Call getppid.
11117 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11118 and continue to it. Read variable "server_pid".
11119
bf40a607
YQ
111202014-10-11 Yao Qi <yao@codesourcery.com>
11121
11122 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11123
052ca370
YQ
111242014-10-11 Yao Qi <yao@codesourcery.com>
11125
11126 * gdb.threads/thread-find.exp: Don't execute command
11127 "info threads".
11128 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11129 * gdb.threads/linux-dp.exp: Don't check the condition
11130 $threads_created equals to zero.
11131
3831839c
PA
111322014-10-10 Pedro Alves <palves@redhat.com>
11133
11134 * gdb.base/bigcore.exp: Remove references to IRIX.
11135 * gdb.base/funcargs.exp: Likewise.
11136 * gdb.base/interrupt.exp: Likewise.
11137 * gdb.base/mips_pro.exp: Likewise.
11138 * gdb.base/nodebug.exp: Likewise.
11139 * gdb.base/setvar.exp: Likewise.
11140 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11141
8b9a549d
PA
111422014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11143 Pedro Alves <palves@redhat.com>
11144
11145 PR symtab/14466
11146 * gdb.base/vdso-warning.c: New file.
11147 * gdb.base/vdso-warning.exp: New file.
11148
d48ba5e8
DE
111492014-10-02 Doug Evans <dje@google.com>
11150
11151 * gdb.base/structs.c (main): Don't run forever.
11152
2278c276
PA
111532014-10-02 Pedro Alves <palves@redhat.com>
11154
11155 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11156 (top level) <stop threads 1, stop threads 2>: Use it.
11157
b57bacec
PA
111582014-10-02 Pedro Alves <palves@redhat.com>
11159
11160 * gdb.threads/break-while-running.exp (test): Add new
11161 'update_thread_list' argument. Skip "info threads" if false.
11162 (top level): Add new 'update_thread_list' axis.
11163
13fd3ff3
PA
111642014-10-02 Pedro Alves <palves@redhat.com>
11165
11166 PR breakpoints/17431
11167 * gdb.base/execl-update-breakpoints.c: New file.
11168 * gdb.base/execl-update-breakpoints.exp: New file.
11169
0fec99e8
PA
111702014-10-01 Pedro Alves <palves@redhat.com>
11171
11172 * gdb.base/breakpoint-in-ro-region.c: New file.
11173 * gdb.base/breakpoint-in-ro-region.exp: New file.
11174
2ddf4301
SM
111752014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11176
11177 * gdb.mi/mi-exit-code.exp: New file.
11178 * gdb.mi/mi-exit-code.c: New file.
11179
6a5f3f43
YQ
111802014-09-30 Yao Qi <yao@codesourcery.com>
11181
11182 * lib/prelink-support.exp (build_executable_own_libs): Error if
11183 the target isn't native.
11184
345bcc73
YQ
111852014-09-30 Yao Qi <yao@codesourcery.com>
11186
11187 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11188 false.
11189
a25a5a45
PA
111902014-09-22 Pedro Alves <palves@redhat.com>
11191
11192 * gdb.threads/break-while-running.exp: New file.
11193 * gdb.threads/break-while-running.c: New file.
11194
00ba3162
YQ
111952014-09-19 Yao Qi <yao@codesourcery.com>
11196
11197 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11198 Invoke test. Restart GDB with --readnow and invoke test again.
11199
c3b7b696
YQ
112002014-09-19 Yao Qi <yao@codesourcery.com>
11201
11202 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11203 proc set_breakpoint_on_gcd_function. Invoke
11204 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11205 invoke set_breakpoint_on_gcd_function again.
11206
2b4fd423
DE
112072014-09-18 Doug Evans <dje@google.com>
11208
11209 * gdb.dwarf2/symtab-producer.exp: New file.
11210
a5947601
SDJ
112112014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11212
11213 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11214 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11215 * gdb.base/global-var-nested-by-dso.c: Likewise.
11216 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11217
91c19059
SDJ
112182014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11219 Pedro Alves <palves@redhat.com>
11220
11221 * gdb.base/watch-bitfields.exp: Pass string other than test file
11222 name to prepare_for_testing.
11223 (watch): New procedure.
11224 (expect_watchpoint): Use with_test_prefix.
11225 (top level): Factor out tests to ...
11226 (test_watch_location, test_regular_watch): ... these new
11227 procedures, and use with_test_prefix and gdb_continue_to_end.
11228
bb9d5f81
PP
112292014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11230
11231 PR breakpoints/12526
11232 * gdb.base/watch-bitfields.exp: New file.
11233 * gdb.base/watch-bitfields.c: New file.
11234
635856f5
PA
112352014-09-16 Pedro Alves <palves@redhat.com>
11236
11237 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11238 software and hardware addresses, not software address against
11239 itself.
11240
7280ceea
PA
112412014-09-16 Pedro Alves <palves@redhat.com>
11242
11243 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11244 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11245
428b16bd
PA
112462014-09-16 Pedro Alves <palves@redhat.com>
11247
11248 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11249 files.
11250 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11251 "*-*-vxworks*" throughout.
11252 * gdb.base/break.exp: Likewise.
11253 * gdb.base/default.exp: Likewise.
11254 * gdb.base/scope.exp: Likewise.
11255 * gdb.base/sepdebug.exp: Likewise.
11256 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11257 throughout.
11258 * gdb.base/run.c: Likewise.
11259 * gdb.base/sepdebug.c: Likewise.
11260 * gdb.hp/gdb.aCC/run.c: Likewise.
11261 * gdb.reverse/until-reverse.c: Likewise.
11262 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11263
666d413c
YQ
112642014-09-16 Yao Qi <yao@codesourcery.com>
11265
11266 * boards/local-remote-host-native.exp: New file.
11267
57cbd724
DE
112682014-09-14 Doug Evans <xdje42@gmail.com>
11269
11270 * gdb.threads/queue-signal.c (thread_count): New variable.
11271 (thread_count_mutex, thread_count_condvar): New variables.
11272 (incr_thread_count, wait_all_threads_running): New functions.
11273 (main): Wait for all threads to be in their thread functions.
11274
81219e53
DE
112752014-09-13 Doug Evans <xdje42@gmail.com>
11276
11277 * gdb.threads/queue-signal.c: New file.
11278 * gdb.threads/queue-signal.exp: New file.
11279
3714cea7
DE
112802014-09-13 Doug Evans <xdje42@gmail.com>
11281
11282 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11283 be consistent with what default_gdb_init uses.
11284 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11285 the plain text of the prompt. Add some logging printfs.
11286 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11287
fa43b1d7
PA
112882014-09-12 Pedro Alves <palves@redhat.com>
11289
11290 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11291 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11292 * gdb.arch/i386-size-overlap.exp: Likewise.
11293 * gdb.arch/i386-size.exp: Likewise.
11294 * gdb.arch/i386-unwind.exp: Likewise.
11295 * gdb.base/a2-run.exp: Likewise.
11296 * gdb.base/break.exp: Likewise.
11297 * gdb.base/charset.exp: Likewise.
11298 * gdb.base/chng-syms.exp: Likewise.
11299 * gdb.base/commands.exp: Likewise.
11300 * gdb.base/dbx.exp: Likewise.
11301 * gdb.base/find.exp: Likewise.
11302 * gdb.base/funcargs.exp: Likewise.
11303 * gdb.base/jit-simple.exp: Likewise.
11304 * gdb.base/reread.exp: Likewise.
11305 * gdb.base/sepdebug.exp: Likewise.
11306 * gdb.base/step-bt.exp: Likewise.
11307 * gdb.cp/mb-inline.exp: Likewise.
11308 * gdb.cp/mb-templates.exp: Likewise.
11309 * gdb.objc/basicclass.exp: Likewise.
11310 * gdb.threads/killed.exp: Likewise.
11311
9d9bf2df
EBM
113122014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11313
11314 PR tdep/17379
11315 * gdb.arch/powerpc-stackless.S: New file.
11316 * gdb.arch/powerpc-stackless.exp: New file.
11317
1cf2f1b0
JK
113182014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11319
11320 * gdb.base/attach.c: Include unistd.h.
11321 (main): Call alarm. Add label postloop.
11322 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11323 gdb_breakpoint, gdb_continue_to_breakpoint.
11324 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11325
98880d46
PA
113262014-09-11 Pedro Alves <palves@redhat.com>
11327
11328 PR gdb/17347
11329 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11330 * gdb.base/attach.exp (test_command_line_attach_run): New
11331 procedure.
11332 (top level): Call it.
11333
4c92ff2c
PA
113342014-09-11 Pedro Alves <palves@redhat.com>
11335
11336 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11337 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11338 (do_command_attach_tests): Use spawn_wait_for_attach.
11339 * gdb.base/solib-overlap.exp: Likewise.
11340 * gdb.multi/multi-attach.exp: Likewise.
11341 * gdb.python/py-prompt.exp: Likewise.
11342 * gdb.python/py-sync-interp.exp: Likewise.
11343 * gdb.server/ext-attach.exp: Likewise.
11344
3adc1a7d
GKB
113452014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11346
11347 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11348 command in testcase. Simplify testcase.
11349
96334934
JB
113502014-09-10 Joel Brobecker <brobecker@adacore.com>
11351
11352 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11353
eb479039
JB
113542014-09-10 Joel Brobecker <brobecker@adacore.com>
11355
11356 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11357
deede10c
JB
113582014-09-10 Joel Brobecker <brobecker@adacore.com>
11359
11360 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11361
7828a5f5
JB
113622014-09-10 Joel Brobecker <brobecker@adacore.com>
11363
11364 * gdb.dwarf2/dynarr-ptr.c: New file.
11365 * gdb.dwarf2/dynarr-ptr.exp: New file.
11366
33aeebcf
MR
113672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11368
11369 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11370 of 30 rather than hardcoding 120 for a slow test case. Take the
11371 `gdb,timeout' target setting into account for this calculation.
11372 Don't extend the timeout for the test cases that don't need it.
11373
7b415901
MR
113742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11375
11376 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11377 a factor of 2 for a slow test case. Take the `gdb,timeout'
11378 target setting into account for this calculation.
11379 * gdb.reverse/until-precsave.exp: Increase the timeout by
11380 a factor of 15 and 3 respectively rather than adding 120
11381 for a pair of slow test cases. Take the `gdb,timeout'
11382 target setting into account for this calculation.
11383
4a40f85a
MR
113842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11385
11386 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11387 timeout, don't pass one down to gdb_expect.
11388 (gdb_expect): Rework timeout selection.
11389
09635af7
MR
113902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11391
11392 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11393 exception on timeout.
11394 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11395 (gdbserver_start_extended): Catch any `gdbserver_start' error
11396 exceptions.
11397 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11398 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11399 `gdbserver_gdb_load' error exceptions.
11400
2bdd10b7
MR
114012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11402
11403 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11404 120 on waiting for the TCP socket to open.
11405
316935f0
DE
114062014-09-09 Doug Evans <xdje42@gmail.com>
11407
11408 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11409 _caller_matches, _any_caller_is, _any_caller_matches.
11410
83740597
DE
114112014-09-09 Doug Evans <xdje42@gmail.com>
11412
11413 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11414
4c122fc3
YQ
114152014-09-09 Yao Qi <yao@codesourcery.com>
11416
11417 * gdb.mi/mi-var-display.exp: Set print symbol off.
11418
a9f116cb
GKB
114192014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11420
11421 PR gdb/17035
11422 * gdb.base/commands.exp: Add tests to verify user-defined
11423 commands with empty bodies.
11424 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11425 python commands in `show user command`.
11426 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11427 scheme commands in `show user command`.
11428
c75bd3a2
JK
114292014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11430
11431 PR python/17355
11432 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11433 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11434 * gdb.python/py-framefilter-invalidarg.exp: New file.
11435 * gdb.python/py-framefilter-invalidarg.py: New file.
11436
faa42425
DE
114372014-09-06 Doug Evans <xdje42@gmail.com>
11438
11439 PR 15276
11440 * gdb.python/py-caller-is.c: New file.
11441 * gdb.python/py-caller-is.exp: New file.
11442
474ca4f6
SDJ
114432014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11444
11445 PR gdb/17235
11446 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11447 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11448
eb0b0463
SDJ
114492014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11450
11451 PR fortran/17237
11452 * gdb.fortran/print-formatted.exp: New file.
11453 * gdb.fortran/print-formatted.f90: Likewise.
11454
5f3b99cf
SS
114552014-09-03 Sasha Smundak <asmundak@google.com>
11456
11457 * gdb.python/py-frame.exp: Test Frame.read_register.
11458
7d793aa9
SDJ
114592014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11460
11461 PR python/16699
11462 * gdb.python/py-completion.exp: New file.
11463 * gdb.python/py-completion.py: Likewise.
11464
fb0576e9
DE
114652014-08-28 Doug Evans <dje@google.com>
11466
11467 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11468 eax,etc. are live with values set by gdb and thus the compiler can't
11469 use them.
11470 * gdb.arch/i386-pseudo.c (main): Ditto.
11471
ee92b0dd
DE
114722014-08-27 Doug Evans <dje@google.com>
11473
11474 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11475
6649db35
DE
114762014-08-25 Doug Evans <dje@google.com>
11477
11478 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11479 (main): Ditto.
11480
564b7600
DE
114812014-08-25 Doug Evans <dje@google.com>
11482
11483 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11484
3881fb67
YQ
114852014-08-24 Yao Qi <yao@codesourcery.com>
11486
11487 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11488 symbol off.
11489 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11490
a05a36a5
DE
114912014-08-22 Doug Evans <dje@google.com>
11492
11493 PR 17276
11494 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11495 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11496 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11497
7c343b48
YQ
114982014-08-22 Yao Qi <yao@codesourcery.com>
11499
11500 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11501 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11502 * gdb.python/python.exp: Likewise. Use .py file on the host
11503 instead of the build.
11504
22fd09ae
JK
115052014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11506
11507 * gdb.threads/gcore-stale-thread.c: New file.
11508 * gdb.threads/gcore-stale-thread.exp: New file.
11509
a8454a7c
PA
115102014-08-21 Pedro Alves <palves@redhat.com>
11511
11512 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11513 * gdb.base/gcore-relro-pie.exp: Likewise.
11514 * gdb.base/gcore-relro.exp: Likewise.
11515 * gdb.base/gcore.exp: Likewise.
11516 * gdb.base/print-symbol-loading.exp: Likewise.
11517 * gdb.threads/gcore-thread.exp: Likewise.
11518 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11519
2a31c623
PA
115202014-08-20 Pedro Alves <palves@redhat.com>
11521 Jan Kratochvil <jan.kratochvil@redhat.com>
11522
11523 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11524 configure.
11525 (EXPECT): Handle READ1 being set.
11526 (all): Depend on EXTRA_RULES.
11527 (check-read1, expect-read1, read1.so, read1): New rules.
11528 * README (Testsuite Parameters): Document the READ1 make variable.
11529 (Race detection): New section.
11530 * configure: Regenerate.
11531 * configure.ac: If build==host==target, and running under a
11532 GNU/glibc system, add read1 to the extra Makefile rules.
11533 (EXTRA_RULES): AC_SUBST it.
11534 * lib/read1.c: New file.
11535
d36430db
JB
115362014-08-20 Joel Brobecker <brobecker@adacore.com>
11537
11538 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11539 the handling of variables declared as a typedef to an array
11540 which a DW_AT_data_location attribute.
11541
9a0dc9e3
PA
115422014-08-19 Andrew Burgess <aburgess@broadcom.com>
11543 Pedro Alves <palves@redhat.com>
11544
11545 PR symtab/14604
11546 PR symtab/14605
11547 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11548 gdb_test.
11549
0718a8da
PA
115502014-08-19 Pedro Alves <palves@redhat.com>
11551
11552 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11553
13b448cd
YQ
115542014-08-19 Yao Qi <yao@codesourcery.com>
11555
11556 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11557 right line.
11558
1cbf5077
DB
115592014-08-18 David Blaikie <dblaikie@gmail.com>
11560
11561 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11562
bf0fae19
JB
115632014-08-18 Joel Brobecker <brobecker@adacore.com>
11564
11565 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11566 attribute in array range.
11567
3c8c5dcc
JB
115682014-08-18 Joel Brobecker <brobecker@adacore.com>
11569
11570 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11571
e66d4446
SC
115722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11573
11574 PR c++/17132
11575 * gdb.cp/pr17132.cc: New file.
11576 * gdb.cp/pr17132.exp: New file.
11577
940df408
SC
115782014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11579
11580 * gdb.python/py-xmethods.py (A_getarrayind)
11581 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11582 Use 'print' with function call syntax.
11583 (E_method_matcher.match): Fix tab vs space indentation mixup.
11584
ebcc6c3a
YQ
115852014-08-15 Yao Qi <yao@codesourcery.com>
11586
11587 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11588 false.
11589
775e0f04
YQ
115902014-08-15 Yao Qi <yao@codesourcery.com>
11591
11592 * gdb.cp/casts.exp: Set print symbol off.
11593 * gdb.cp/class2.exp: Likewise.
11594 * gdb.cp/overload.exp: Likewise.
11595 * gdb.cp/templates.exp: Likewise.
11596
d769e349
DE
115972014-08-11 Doug Evans <dje@google.com>
11598
11599 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11600 (test_load_shlib): Update.
11601
20c6f1e1
YQ
116022014-08-09 Yao Qi <yao@codesourcery.com>
11603
11604 * gdb.base/display.exp: Invoke is_address_zero_readable.
11605 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11606 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11607 * gdb.base/hbreak-unmapped.exp: Return if
11608 is_address_zero_readable returns true.
11609 * gdb.base/signest.exp: Likewise.
11610 * gdb.base/signull.exp: Likewise.
11611 * gdb.base/sigbpt.exp: Likewise.
11612 * gdb.guile/scm-disasm.exp: Do the test if
11613 is_address_zero_readable returns false.
11614 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11615 * gdb.python/py-arch.exp: Likewise.
11616 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11617 * lib/gdb.exp (is_address_zero_readable): New proc.
11618
5792e8e3
YQ
116192014-08-09 Yao Qi <yao@codesourcery.com>
11620
11621 PR testsuite/13443
11622 * gdb.mi/mi-var-display.exp: Make test messages unique.
11623
3cecbbbe
TT
116242014-08-04 Tom Tromey <tromey@redhat.com>
11625
11626 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11627 target 0".
11628
00b51ff5
TT
116292014-08-04 Tom Tromey <tromey@redhat.com>
11630
11631 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11632 "target_resume".
11633
6908c509
JB
116342014-08-01 Joel Brobecker <brobecker@adacore.com>
11635
11636 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11637 inner_vla_struct_object_size.
11638 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11639 as xfail.
11640
cc6563d2
PA
116412014-07-30 Pedro Alves <palves@redhat.com>
11642
11643 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11644 comment.
11645
7e09a223
YQ
116462014-07-29 Yao Qi <yao@codesourcery.com>
11647
11648 PR gdb/17206
11649 * gdb.base/until-nodebug.exp: New.
11650
7ebdbe92
DE
116512014-07-28 Doug Evans <xdje42@gmail.com>
11652
11653 PR guile/17203
11654 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11655 previously existing parameter, and previously ambiguously spelled
11656 parameter.
11657
fdb1adc6
WN
116582014-07-28 Will Newton <will.newton@linaro.org>
11659
11660 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11661
186fcde0
DE
116622014-07-26 Ludovic Courtès <ludo@gnu.org>
11663 Doug Evans <xdje42@gmail.com>
11664
11665 PR guile/17146
11666 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11667
70509625
PA
116682014-07-25 Pedro Alves <palves@redhat.com>
11669
11670 * gdb.threads/signal-command-handle-nopass.c: New file.
11671 * gdb.threads/signal-command-handle-nopass.exp: New file.
11672 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11673 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11674 * gdb.threads/signal-delivered-right-thread.c: New file.
11675 * gdb.threads/signal-delivered-right-thread.exp: New file.
11676
c3f814a1
PA
116772014-07-25 Pedro Alves <palves@redhat.com>
11678
11679 * gdb.base/double-prompt-target-event-error.exp
11680 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11681 match.
11682 (cancel_pagination_in_target_event): Rework double prompt
11683 detection.
11684 * gdb.base/paginate-after-ctrl-c-running.exp
11685 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11686 <return>' match.
11687 * gdb.base/paginate-bg-execution.exp
11688 (test_bg_execution_pagination_return)
11689 (test_bg_execution_pagination_cancel): Remove '-notransfer
11690 <return>' matches.
11691 * gdb.base/paginate-execution-startup.exp
11692 (test_fg_execution_pagination_return)
11693 (test_fg_execution_pagination_cancel): Remove '-notransfer
11694 <return>' matches.
11695 * gdb.base/paginate-inferior-exit.exp
11696 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11697 match.
11698 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11699 * lib/gdb.exp (pagination_prompt): Run text through
11700 string_to_regexp.
11701 (gdb_test_multiple): Match $pagination_prompt instead of
11702 "<return>".
11703 (string_to_regexp): Move to lib/gdb-utils.exp.
11704
e214cf6c
JK
117052014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11706
11707 * gdb.arch/amd64-entry-value-paramref.S: New file.
11708 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11709 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11710 * gdb.arch/amd64-optimout-repeat.S: New file.
11711 * gdb.arch/amd64-optimout-repeat.c: New file.
11712 * gdb.arch/amd64-optimout-repeat.exp: New file.
11713
17d0c5c8
JK
117142014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11715
11716 PR gdb/17170
11717 * gdb.base/statistics.exp: New file.
11718
b8b8facf
DE
117192014-07-17 Doug Evans <dje@google.com>
11720
74b49205 11721 PR gdb/17170
b8b8facf
DE
11722 * gdb.base/maint.exp: Update testing of per-command stats.
11723
1b5d0ab3
PA
117242014-07-16 Pedro Alves <palves@redhat.com>
11725
11726 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11727 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11728 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11729 (tfile_write_buf): New functions.
11730 (add_memory_block): Rewrite using the above.
11731 (adjust_function_address): New function.
11732 (FUNCTION_ADDRESS): New macro.
11733 (write_basic_trace_file): Remove short_x local, and use
11734 tfile_write_16. Change type of func_addr local to unsigned long
11735 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11736 here. Cast argument of add_memory_block to char pointer.
11737 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11738 (main): Remove parameters.
11739 * gdb.trace/tfile.exp: Remove nowarnings.
11740
4d974e88
SM
117412014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11742
11743 * gdb.base/debug-expr.exp: Test string evaluation with
11744 "debug expression" on.
11745
41e99568
PA
117462014-07-15 Pedro Alves <palves@redhat.com>
11747
11748 * gdb.base/reread.exp: Use clean_restart.
11749
487d9753
PL
117502014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11751
11752 * gdb.arch/avr-flash-qualifer.c: New.
11753 * gdb.arch/avr-flash-qualifer.exp: New.
11754
cc1c52ad
PA
117552014-07-14 Pedro Alves <palves@redhat.com>
11756
11757 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11758 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11759
1e973570
PA
117602014-07-14 Pedro Alves <palves@redhat.com>
11761
11762 * gdb.base/double-prompt-target-event-error.c: New file.
11763 * gdb.base/double-prompt-target-event-error.exp: New file.
11764
93d6eb10
PA
117652014-07-14 Pedro Alves <palves@redhat.com>
11766
11767 PR gdb/17072
11768 * gdb.base/paginate-inferior-exit.c: New file.
11769 * gdb.base/paginate-inferior-exit.exp: New file.
11770
0017922d
PA
117712014-07-14 Pedro Alves <palves@redhat.com>
11772
11773 PR gdb/17072
11774 * gdb.base/paginate-bg-execution.c: New file.
11775 * gdb.base/paginate-bg-execution.exp: New file.
11776
94696ad3
PA
117772014-07-14 Pedro Alves <palves@redhat.com>
11778
11779 PR gdb/17072
11780 * gdb.base/paginate-execution-startup.c: New file.
11781 * gdb.base/paginate-execution-startup.exp: New file.
11782 * lib/gdb.exp (pagination_prompt): New global.
11783 (default_gdb_spawn): New procedure, factored out from
11784 default_gdb_spawn.
11785 (default_gdb_start): Adjust to call default_gdb_spawn.
11786 (gdb_spawn): New procedure.
11787
bd293940
PA
117882014-07-14 Pedro Alves <palves@redhat.com>
11789
11790 * lib/gdb.exp (gdb_assert): New procedure.
11791 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11792
c933f875
PA
117932014-07-14 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.base/execution-termios.c: New file.
11796 * gdb.base/execution-termios.exp: New file.
11797
d98b7a16
TT
117982014-07-14 Tom Tromey <tromey@redhat.com>
11799
11800 * gdb.cp/vla-cxx.cc: New file.
11801 * gdb.cp/vla-cxx.exp: New file.
11802
548740d6
TT
118032014-07-14 Tom Tromey <tromey@redhat.com>
11804
11805 * gdb.reverse/rerun-prec.c: New file.
11806 * gdb.reverse/rerun-prec.exp: New file.
11807
a25eb028
MR
118082014-07-12 Maciej W. Rozycki <macro@mips.com>
11809 Maciej W. Rozycki <macro@codesourcery.com>
11810
11811 * lib/gdb-utils.exp: New file.
11812 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11813 inline `gdb_init_command' processing.
11814 (gdb_start_cmd): Likewise.
11815 * lib/mi-support.exp (mi_run_cmd): Likewise.
11816 * README: Document `gdb_init_command' and `gdb_init_commands'.
11817
218c2655
JK
118182014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11819
11820 Fix false FAIL running under a very long directory name.
11821 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11822 and "set print elements 10000". Twice.
11823
5401fde3
YQ
118242014-07-11 Yao Qi <yao@codesourcery.com>
11825
11826 * gdb.base/exprs.exp: "set print symbol off".
11827
e76126e8
PA
118282014-07-11 Pedro Alves <palves@redhat.com>
11829
11830 * gdb.threads/kill.c: New file.
11831 * gdb.threads/kill.exp: New file.
11832
2d6f0de6
YQ
118332014-07-10 Yao Qi <yao@codesourcery.com>
11834
11835 * gdb.trace/tfile.c (write_basic_trace_file)
11836 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11837 address written to trace file.
11838
7180e04a
PA
118392014-07-09 Pedro Alves <palves@redhat.com>
11840
11841 * gdb.base/attach-wait-input.exp: New file.
11842 * gdb.base/attach-wait-input.c: New file.
11843
9a9a7608
AB
118442014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11845
11846 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11847 setting up test structures.
11848 (main): Call new test function.
11849 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11850 test function, continue into test function and walk test
11851 structures.
11852
161ac41e
YQ
118532014-07-02 Yao Qi <yao@codesourcery.com>
11854
11855 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11856 'bar_start' at the beginning of functions 'foo' and 'bar'
11857 respectively.
11858 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11859 instead of 'foo' and 'bar'.
11860
1f267ae3
MM
118612014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11862
11863 * gdb.btrace/segv.exp: New.
11864 * gdb.btrace/segv.c: New.
11865
2b239efb
LM
118662014-07-02 Luis Machado <lgustavo@codesourcery.com>
11867
11868 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11869 instruction.
11870
cf363f18
MW
118712014-06-30 Mark Wielaard <mjw@redhat.com>
11872
11873 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11874 vulture, vilify, villar): New volatile array constants.
11875 (vindictive, vegetation): New const volatile array constants.
11876 * gdb.base/volatile.exp: Test volatile and const volatile array
11877 types.
11878
aebf9d24
AA
118792014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11880
11881 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11882 target lacks support for awatch, rwatch, or hbreak.
11883
b67a2c6f
YQ
118842014-06-27 Yao Qi <yao@codesourcery.com>
11885
11886 * gdb.multi/dummy-frame-restore.exp: New.
11887 * gdb.multi/dummy-frame-restore.c: New.
11888
aef92902
MM
118892014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11890
11891 * gdb.btrace/gcore.exp: New.
11892
8e9db26e
PA
118932014-06-23 Pedro Alves <palves@redhat.com>
11894
11895 * gdb.base/watchpoint-reuse-slot.c: New file.
11896 * gdb.base/watchpoint-reuse-slot.exp: New file.
11897
70afc5b7
SC
118982014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11899
11900 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11901 progspace's filename in 'info', 'enable' and 'disable' command
11902 tests.
11903
b972bd9c
JK
119042014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11905
11906 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11907 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11908 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11909
125f8a3d
GB
119102014-06-20 Gary Benson <gbenson@redhat.com>
11911
11912 * gdb.arch/i386-avx.exp: Fix include file location.
11913 * gdb.arch/i386-sse.exp: Likewise.
11914
3ed9baed
IB
119152014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11916
11917 * gdb.dlang/expression.exp: New file.
11918
034f788c
PA
119192014-06-19 Pedro Alves <palves@redhat.com>
11920
11921 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11922 out from ...
11923 (top level): ... here. Iterate running tests under different
11924 scheduler-locking settings.
11925
45371d0c
LM
119262014-06-18 Luis Machado <lgustavo@codesourcery.com>
11927
11928 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11929 to DW_FORM_addr and use non-zero addresses.
11930
5d376983
SC
119312014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11932
11933 PR gdb/17017
11934 * gdb.python/py-xmethods.cc: Add global function call counters and
11935 increment them in their respective functions. Remove "cout"
11936 statements.
11937 * gdb.python/py-xmethods.exp: Make tests check the global function
11938 call counters instead of depending on inferior IO.
11939
a1aa2221
LM
119402014-06-18 Don Breazeal <donb@codesourcery.com>
11941
11942 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11943 Deleted procedure.
11944 (explicit_fork_parent_follow): Deleted procedure.
11945 (explicit_fork_child_follow): Deleted procedure.
11946 (test_follow_fork): New procedure.
11947 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 11948 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
11949 procedure calls.
11950
0fc05997
YQ
119512014-06-17 Yao Qi <yao@codesourcery.com>
11952
11953 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11954 CP1252.
11955
70795c52
LM
119562014-06-17 Luis Machado <lgustavo@codesourcery.com>
11957
11958 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11959 Initialize ptr and S explicitly.
11960 (skip_type_update_when_not_use_rtti_test): Likewise.
11961
6be47f0c
KS
119622014-06-16 Keith Seitz <keiths@redhat.com>
11963
11964 PR mi/15863
11965 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11966 the inferior is started.
11967
d03de421
PA
119682014-06-16 Pedro Alves <palves@redhat.com>
11969
11970 * gdb.base/break-main-file-remove-fail.c: New file.
11971 * gdb.base/break-main-file-remove-fail.exp: New file.
11972 * gdb.base/break-unload-file.exp: Use build_executable instead of
11973 prepare_for_testing.
11974 (test_break): New parameter "initial_load". Handle it.
11975 (top level): Add initial_load cmdline/file axis.
11976
f9579b99
TT
119772014-06-12 Tom Tromey <tromey@redhat.com>
11978
11979 * gdb.base/completion.exp: Don't use directory name in test.
11980
3657956b
GB
119812014-06-09 Gary Benson <gbenson@redhat.com>
11982
11983 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11984 separate the always-available ANSI-standard signals from the
11985 signals that require checking.
11986 (main): Likewise.
11987 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11988 Likewise.
11989 (main): Likewise.
11990
4186eb54
KS
119912014-06-07 Keith Seitz <keiths@redhat.com>
11992
11993 Revert:
11994 PR c++/16253
11995 * gdb.cp/var-tag.cc: New file.
11996 * gdb.cp/var-tag.exp: New file.
11997 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11998 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11999 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12000 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12001
25326a28 120022014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
12003
12004 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12005
829155c9
PA
120062014-06-06 Pedro Alves <palves@redhat.com>
12007
12008 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12009 in target debug output instead of looking at RSP packets,
12010 disabling the test on any target that uses hardware stepping.
12011 Update comments.
12012
61c8d22e
PA
120132014-06-06 Pedro Alves <palves@redhat.com>
12014
12015 * gdb.base/break-unload-file.exp: Fix typo.
12016
d9a47287
YQ
120172014-06-06 Yao Qi <yao@codesourcery.com>
12018
12019 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12020 from "jit_function" to "^jit_function".
12021
e5e01dbf
YQ
120222014-06-06 Yao Qi <yao@codesourcery.com>
12023
12024 * gdb.base/async.c (foo): Add one statement.
12025 * gdb.base/async.exp: Get the next instruction address and
12026 match the output of "nexti" by instruction address. Match
12027 the hex address in the output of "finish".
12028
73ba372c
GB
120292014-06-06 Gary Benson <gbenson@redhat.com>
12030
12031 * gdb.base/call-signals.c: Remove preprocessor conditionals
12032 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12033 SIGSEGV and SIGTERM.
12034 * gdb.base/sigall.c: Likewise.
12035 * gdb.base/unwindonsignal.c: Likewise.
12036 * gdb.reverse/sigall-reverse.c: Likewise.
12037
831517df
YQ
120382014-06-06 Yao Qi <yao@codesourcery.com>
12039
12040 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12041 readable, skip the test.
12042
b8b91e98
YQ
120432014-06-06 Yao Qi <yao@codesourcery.com>
12044
12045 * gdb.threads/staticthreads.c (thread_function): Move the line
12046 setting breakpoint on forward.
12047 * gdb.threads/staticthreads.exp: Update comments.
12048
fb934770
LC
120492014-06-05 Ludovic Courtès <ludo@gnu.org>
12050
12051 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12052 "history-append! type error".
12053
6ef284bd
SM
120542014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12055
12056 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12057 erroneous dprintf expected input.
12058
a872e241
DE
120592014-06-04 Doug Evans <xdje42@gmail.com>
12060
12061 * gdb.guile/scm-generics.exp: Delete.
12062
16f691fb
DE
120632014-06-04 Doug Evans <xdje42@gmail.com>
12064
12065 * gdb.guile/scm-breakpoint.exp: Update.
12066 Add tests for breakpoint registration.
12067
012370f6
TT
120682014-06-04 Tom Tromey <tromey@redhat.com>
12069
12070 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12071 VLA-in-union.
12072 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12073 inner_vla_struct, vla_union types. Initialize objects of those
12074 types and compute their sizes.
12075
9f5a4cef
HZ
120762014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12077 Hui Zhu <hui@codesourcery.com>
12078
12079 * gdb.base/fileio.exp: Add test for shell not available as well as
12080 available.
12081 * gdb.base/fileio.c (test_system): Check for shell twice.
12082
90a45c4d
YQ
120832014-06-04 Yao Qi <yao@codesourcery.com>
12084
12085 * gdb.base/auto-connect-native-target.exp: Remove redundant
12086 space from the regexp pattern.
12087
70017e41
YQ
120882014-06-04 Yao Qi <yao@codesourcery.com>
12089
12090 * gdb.base/default.exp: Replace "child" with "native" in
12091 regexp pattern.
12092
883964a7
SC
120932014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12094
12095 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12096 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12097 * gdb.python/py-xmethods.py: Python script supporting the
12098 new testcase and tests.
12099
ef370185
JB
121002014-06-03 Joel Brobecker <brobecker@adacore.com>
12101 Pedro Alves <palves@redhat.com>
12102
12103 PR breakpoints/17000
12104 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12105 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12106
1e2ccb61
BM
121072014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12108
12109 * gdb.base/subst.exp: Add tests to verify partial path matching
12110 output.
12111
c6ec5ab2
PA
121122014-06-03 Pedro Alves <palves@redhat.com>
12113
12114 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12115 target that doesn't use software single-stepping.
12116
835c559f
PA
121172014-06-03 Pedro Alves <palves@redhat.com>
12118
12119 PR breakpoints/17000
12120 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12121 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12122
06eb1586
DE
121232014-06-02 Doug Evans <xdje42@gmail.com>
12124
12125 * gdb.guile/scm-parameter.exp: New file.
12126
e698b8c4
DE
121272014-06-02 Doug Evans <xdje42@gmail.com>
12128
12129 * gdb.guile/scm-cmd.c: New file.
12130 * gdb.guile/scm-cmd.exp: New file.
12131
ded03782
DE
121322014-06-02 Doug Evans <xdje42@gmail.com>
12133
12134 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12135 pretty-printer lookup.
12136 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12137 (make-pp_s-printer): Call it.
12138 (make-pretty-printer-from-dict): New function.
12139 (lookup-pretty-printer-maker-from-dict): New function.
12140 (*pretty-printer*): Simplify.
12141 (make-objfile-pp_s-printer): New function.
12142 (install-objfile-pretty-printers!): New function.
12143 (make-progspace-pp_s-printer): New function.
12144 (install-progspace-pretty-printers!): New function.
12145 * gdb.guile/scm-progspace.c: New file.
12146 * gdb.guile/scm-progspace.exp: New file.
12147
41fac0cf
PA
121482014-06-02 Pedro Alves <palves@redhat.com>
12149
12150 * gdb.base/dprintf-bp-same-addr.c: New file.
12151 * gdb.base/dprintf-bp-same-addr.exp: New file.
12152
96ae5695
EBM
121532014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12154
12155 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12156 * gdb.arch/powerpc-power.s: Likewise.
12157
da02b3a8
JB
121582014-06-02 Joel Brobecker <brobecker@adacore.com>
12159
12160 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12161
c72b2e7b
YQ
121622014-06-01 Yao Qi <yao@codesourcery.com>
12163
12164 * gdb.base/watchpoint.exp (test_watch_location): Check null
12165 pointer can be dereferenced. If not, do the test, otherwise
12166 skip it.
12167
53e8a631
AB
121682014-05-30 Andrew Burgess <aburgess@broadcom.com>
12169
12170 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12171 results.
12172 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12173
938f0e2f
AB
121742014-05-30 Andrew Burgess <aburgess@broadcom.com>
12175
12176 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12177 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12178 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12179 * gdb.arch/amd64-invalid-stack-top.c: New file.
12180 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12181
9ba6657a
PA
121822014-05-30 Pedro Alves <palves@redhat.com>
12183
12184 PR breakpoints/17000
12185 * gdb.base/sss-bp-on-user-bp.c: New file.
12186 * gdb.base/sss-bp-on-user-bp.exp: New file.
12187
522c09bf
DB
121882014-05-30 David Blaikie <dblaikie@gmail.com>
12189
12190 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12191 gnu_inline semantics via attribute.
12192 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12193 source explicitly specifies the required semantics.
12194
bf4ef81e
MR
121952014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12196
12197 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12198
329ea579
PA
121992014-05-29 Pedro Alves <palves@redhat.com>
12200 Tom Tromey <tromey@redhat.com>
12201
12202 * gdb.base/async-shell.exp: Don't enable target-async.
12203 * gdb.base/async.exp
12204 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12205 parameter. Adjust.
12206 (top level): Don't test with "target-async".
12207 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12208 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12209 * gdb.base/inferior-died.exp: Don't enable target-async.
12210 * gdb.base/interrupt-noterm.exp: Likewise.
12211 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12212 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12213 * gdb.mi/mi-nonstop.exp: Likewise.
12214 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12215 * gdb.mi/mi-nsintrall.exp: Likewise.
12216 * gdb.mi/mi-nsmoribund.exp: Likewise.
12217 * gdb.mi/mi-nsthrexec.exp: Likewise.
12218 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12219 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12220 * gdb.python/py-evsignal.exp: Don't enable target-async.
12221 * gdb.python/py-evthreads.exp: Likewise.
12222 * gdb.python/py-prompt.exp: Likewise.
12223 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12224 * gdb.server/solib-list.exp: Don't enable target-async.
12225 * gdb.threads/thread-specific-bp.exp: Likewise.
12226 * lib/mi-support.exp: Adjust to use mi-async.
12227
fd664c91
PA
122282014-05-29 Pedro Alves <palves@redhat.com>
12229
12230 PR gdb/13860
12231 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12232 reason, even in sync mode.
12233
251bde03
PA
122342014-05-29 Pedro Alves <palves@redhat.com>
12235 Hui Zhu <hui@codesourcery.com>
12236
12237 PR PR15693
12238 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12239 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12240 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12241 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12242
7f3c0343
JB
122432014-05-28 Joel Brobecker <brobecker@adacore.com>
12244
12245 * config/monitor.exp (gdb_target_monitor): Replace use of
12246 "set remotebaud" by "set serial baud".
12247
b2715b27
AW
122482014-05-26 Andy Wingo <wingo@igalia.com>
12249
12250 * gdb.guile/scm-breakpoint.exp:
12251 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12252 properties instead of gdb-object-properties.
12253
498a4489
YQ
122542014-05-26 Yao Qi <yao@codesourcery.com>
12255
12256 * gdb.server/no-thread-db.exp: Specify source file name
12257 explicitly when setting a breakpoint.
12258
589fdceb
MM
122592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12260
12261 * gdb.btrace/vdso.c: New.
12262 * gdb.btrace/vdso.exp: New.
12263
e9089e05
MM
122642014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12265
12266 * gdb.base/gcore.exp (capture_command_output): Move ...
12267 * lib/gdb.exp (capture_command_output): ... here.
12268
67b5c0c1
MM
122692014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12270
12271 * gdb.btrace/data.exp: Test memory access during btrace replay.
12272
a2199296
SM
122732014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12274
12275 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12276
17b2616c
PA
122772014-05-21 Pedro Alves <palves@redhat.com>
12278
12279 PR gdb/13860
12280 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12281 (top level): Test that output related to execution commands is
12282 sent to the console with CLI commands, but not with MI commands.
12283 Test that breakpoint events are always mirrored to the console.
12284 Also expect the new source line to be output after a "next" in
12285 async mode too. Make it a pass/fail test.
12286 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12287 output.
12288 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12289
5166082f
PA
122902014-05-21 Pedro Alves <palves@redhat.com>
12291
12292 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12293 Use them to test variations of "list" after reaching a breakpoint.
12294 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12295 Test "list" with listsize 10 after reaching a breakpoint.
12296 * gdb.python/python.exp (decode_line current location line
12297 number): Adjust expected line number.
12298
2f25d70f
SM
122992014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12300
12301 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12302 behavior for $args, pass it directly to "run".
12303
ff604a67
MR
123042014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12305
12306 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12307 30000 to 65536.
12308
6a3cb8e8
PA
123092014-05-21 Pedro Alves <palves@redhat.com>
12310
12311 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12312 auto-connect-native-target off".
12313 * gdb.base/auto-connect-native-target.c: New file.
12314 * gdb.base/auto-connect-native-target.exp: New file.
12315
4ebfc96e
PA
123162014-05-21 Pedro Alves <palves@redhat.com>
12317
12318 * gdb.base/default.exp: Test "target native" instead of "target
12319 child".
12320
36d46afb
MW
123212014-05-21 Mark Wielaard <mjw@redhat.com>
12322
12323 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12324
5876f503
JK
123252014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12326
12327 Fix TLS access for -static -pthread.
12328 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12329 <HAVE_TLS> (thread_function, main): Initialize it.
12330 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12331 Add clean_restart.
12332 <$have_tls != "">: Check TLSVAR.
12333
0256a6ac
PA
123342014-05-21 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/dcache-line-read-error.c: New.
12337 * gdb.base/dcache-line-read-error.exp: New.
12338
936d2992
PA
123392014-05-20 Pedro Alves <palves@redhat.com>
12340
12341 * gdb.base/compare-sections.c: New file.
12342 * gdb.base/compare-sections.exp: New file.
12343
802e8e6d
PA
123442014-05-20 Pedro Alves <palves@redhat.com>
12345
12346 * gdb.base/break-idempotent.c: New file.
12347 * gdb.base/break-idempotent.exp: New file.
12348
e59fa00f
MM
123492014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12350
12351 * gdb.btrace/nohist.exp: New.
12352
8b696e31
YQ
123532014-05-20 Yao Qi <yao@codesourcery.com>
12354
12355 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12356 gdb.reverse directory and gdb_reverse_timeout exists in board
12357 setting.
12358 * README: Document gdb_reverse_timeout.
12359
73c9764f
YQ
123602014-05-20 Yao Qi <yao@codesourcery.com>
12361
12362 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12363 'test_file_name'. Treat args as a string instead of a list.
12364 (gdb_init): Rename argument 'args' by 'test_file_name'.
12365
f1f4348a
JK
123662014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12367
12368 * gdb.arch/powerpc-power.exp: New file.
12369 * gdb.arch/powerpc-power.s: New file.
12370
0dbe70ce
DE
123712014-05-16 Doug Evans <dje@google.com>
12372
12373 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
12374 * gdb.base/completion.exp: Check that all expected files exist
12375 before doing file completion.
0dbe70ce 12376
8d551b02
DE
123772014-05-16 Doug Evans <dje@google.com>
12378
12379 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12380 Update.
12381 (do_syscall_tests_without_xml): Update.
12382
73eb7709
PA
123832014-05-16 Pedro Alves <palves@redhat.com>
12384
12385 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12386 instead of "unknown output after running".
12387
3fae92fc
YQ
123882014-05-16 Yao Qi <yao@codesourcery.com>
12389
12390 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12391 file1.txt from host at the end.
12392 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12393
c2b2ccc5
DE
123942014-05-15 Doug Evans <dje@google.com>
12395
12396 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12397 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12398 loading file. Add test for TU lookup.
12399
8c217a4b
SM
124002014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12401
12402 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12403 calling "-exec-arguments" or "set args" before running the
12404 inferior.
12405
3deb39c6
SM
124062014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12407
12408 * lib/mi-support.exp (mi_expect_stop): Expect message for
12409 inferiors that exit with non-zero exit code.
12410
71a79f8c
YQ
124112014-05-14 Yao Qi <yao@codesourcery.com>
12412
12413 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12414 match absolute path on remote host.
12415 (test_file_list_exec_source_files): Remove "/" from the
12416 pattern.
12417
f23fcd46
YQ
124182014-05-14 Yao Qi <yao@codesourcery.com>
12419
12420 * boards/local-remote-host-notty.exp (${board}_file): New
12421 proc.
12422
9404b58f
KM
124232014-05-07 Kyle McMartin <kyle@redhat.com>
12424
12425 Pushed by Joel Brobecker <brobecker@adacore.com>.
12426 * gdb.arch/aarch64-atomic-inst.c: New file.
12427 * gdb.arch/aarch64-atomic-inst.exp: New file.
12428
5e45f04c
YQ
124292014-05-07 Yao Qi <yao@codesourcery.com>
12430
12431 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12432 in current context" too.
12433
c888a17d
KS
124342014-05-05 Keith Seitz <keiths@redhat.com>
12435
12436 * gdb.linespec/ls-dollar.exp: Add test for linespec
12437 file:convenience_variable.
12438
290a839c
YQ
124392014-05-05 Yao Qi <yao@codesourcery.com>
12440
12441 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12442 traceframes into tfile and ctf trace files. Read data from
12443 trace file and test collected data.
12444 (gdb_collect_locals_test): Likewise.
12445 (gdb_unavailable_registers_test): Likewise.
12446 (gdb_unavailable_floats): Likewise.
12447 (gdb_collect_globals_test): Likewise.
12448 (top-level): Append "ctf" to trace_file_targets if GDB
12449 supports.
12450
b5262cd0
YQ
124512014-05-05 Yao Qi <yao@codesourcery.com>
12452
12453 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12454 code to ...
12455 (gdb_collect_args_test_1): ... it. New proc.
12456 (gdb_collect_locals_test): Move some code to ...
12457 (gdb_collect_locals_test_1): ... it. New proc.
12458 (gdb_unavailable_registers_test): Move some code to ...
12459 (gdb_unavailable_registers_test_1): ... it. New proc.
12460 (gdb_unavailable_floats): Move some code to ...
12461 (gdb_unavailable_floats_1): ... it. New proc.
12462
30a1e6cc
SDJ
124632014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12464
12465 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12466 probes to test for bitness recognition.
12467 * gdb.arch/amd64-stap-optional-prefix.exp
12468 (test_probe_value_without_reg): New procedure.
12469 Add code to test for different kinds of bitness.
12470
f33da99a
SDJ
124712014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12472
12473 PR breakpoints/16889
12474 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12475 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12476
5b80f00d
PA
124772014-05-01 Pedro Alves <palves@redhat.com>
12478
12479 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12480 gdb_file_cmd if no file is specified.
12481 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12482 last_loaded_file to set the remote exec-file.
12483
f8c2a73c
PA
124842014-05-01 Pedro Alves <palves@redhat.com>
12485
12486 * boards/local-remote-host.exp: New file.
12487
be6e8ac7
PA
124882014-05-01 Pedro Alves <palves@redhat.com>
12489
12490 * boards/local-remote-host.exp: Rename to ...
12491 * boards/local-remote-host-notty.exp: ... this.
12492
cac0dc8f
JB
124932014-04-28 Joel Brobecker <brobecker@adacore.com>
12494
12495 * gdb.ada/dyn_arrayidx: New testcase.
12496
9730e6cc
YQ
124972014-04-26 Yao Qi <yao@codesourcery.com>
12498
12499 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12500 and compute the length of function main. Save it in
12501 $main_length.
12502 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12503 (top-level): Use gdb_compile to compile objects into
12504 executable and restart GDB. Remove invocation to
12505 prepare_for_testing.
12506
7ae1a6a6
PA
125072014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12508 Pedro Alves <palves@redhat.com>
12509
12510 PR server/16255
12511 * gdb.multi/multi-attach.c: New file.
12512 * gdb.multi/multi-attach.exp: New file.
12513
4082afcc
PA
125142014-04-25 Pedro Alves <palves@redhat.com>
12515
12516 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12517 user.
12518 (top level): Test that "set remote conditional-breakpoints-packet
12519 off" works as intended.
12520 * gdb.base/dprintf.exp: Test that "set remote
12521 breakpoint-commands-packet off" works as intended.
12522 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12523 New function.
12524 (top level): Call it.
12525 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12526 remote fast-tracepoints-packet off" works as intended.
12527 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12528 * lib/gdb.exp (gdb_is_target_remote): ... here.
12529
2abc3f8d
DB
125302014-04-24 David Blaikie <dblaikie@gmail.com>
12531
12532 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12533 ensure clang would not discard them.
12534 * gdb.base/gdbvars.c: Ditto.
12535 * gdb.base/memattr.c: Ditto.
12536 * gdb.base/whatis.c: Ditto.
12537 * gdb.python/py-prettyprint.c: Ditto.
12538 * gdb.trace/actions.c: Ditto.
12539 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12540 ensure clang would not discard it.
12541
bfd39632
DB
125422014-04-24 David Blaikie <dblaikie@gmail.com>
12543
12544 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12545 clang to emit the full definition of type required by the test
12546 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12547
22842ff6
DB
125482014-04-24 David Blaikie <dblaikie@gmail.com>
12549
12550 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12551 coax Clang into emitting the definition of the type.
12552 * gdb.cp/pr10728-x.h (y): Ditto.
12553 * gdb.cp/pr10728-y.cc (y): Ditto.
12554
c2e827ad
DB
125552014-04-24 David Blaikie <dblaikie@gmail.com>
12556
12557 * gdb.base/label.exp: XFAIL label related tests under Clang.
12558 * gdb.cp/cplabel.exp: Ditto.
12559 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12560 under Clang those using labels.
12561
4c2d33e7
YQ
125622014-04-25 Yao Qi <yao@codesourcery.com>
12563
12564 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12565 double_label.
12566 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12567 partial_label and double_label.
12568
56083b99
DB
125692014-04-24 David Blaikie <dblaikie@gmail.com>
12570
12571 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12572
25d4e99d
DB
125732014-04-24 David Blaikie <dblaikie@gmail.com>
12574
12575 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12576 of the function to work across GCC and Clang.
12577 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12578 pointer types (const void ** const V void **).
12579
01f9f808
MS
125802014-04-24 Michael Sturm <michael.sturm@mintel.com>
12581 Walfred Tedeschi <walfred.tedeschi@intel.com>
12582
12583 * Makefile.in (EXECUTABLES): Added i386-avx512.
12584 * gdb.arch/i386-avx512.c: New file.
12585 * gdb.arch/i386-avx512.exp: Likewise.
12586
4b48d439
KS
125872014-04-23 Keith Seitz <keiths@redhat.com>
12588
12589 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12590 (mi_make_breakpoint_table): New procedure.
12591 (mi_create_breakpoint): Use mi_make_breakpoint
12592 and return the result.
12593 (mi_make_breakpoint): New procedure.
12594 (mi_build_kv_pairs): New procedure.
12595
12596 * gdb.mi/mi-break.exp: Remove unused globals,
12597 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12598 All callers updated.
12599 * gdb.mi/mi-dprintf.exp: Use variable to track command
12600 number.
12601 Update all callers of mi_create_breakpoint and use
12602 mi_make_breakpoint_table.
12603 Remove any unused global variables.
12604 * gdb.mi/mi-nonstop.exp: Likewise.
12605 * gdb.mi/mi-nsintrall.exp: Likewise.
12606 * gdb.mi/mi-nsmoribund.exp: Likewise.
12607 * gdb.mi/mi-nsthrexec.exp: Likewise.
12608 * gdb.mi/mi-reverse.exp: Likewise.
12609 * gdb.mi/mi-simplerun.exp: Likewise.
12610 * gdb.mi/mi-stepn.exp: Likewise.
12611 * gdb.mi/mi-syn-frame.exp: Likewise.
12612 * gdb.mi/mi-until.exp: Likewise.
12613 * gdb.mi/mi-var-cp.exp: Likewise.
12614 * gdb.mi/mi-var-display.exp: Likewise.
12615 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12616 * gdb.mi/mi2-var-child.exp: Likewise.
12617 * gdb.mi/mi-vla-c99.exp: Likewise.
12618 * lib/mi-support.exp: Likewise.
12619
12620 From Ian Lance Taylor <iant@cygnus.com>:
12621 * lib/gdb.exp (parse_args): New procedure.
12622
08351840
PA
126232014-04-23 Pedro Alves <palves@redhat.com>
12624
12625 * gdb.base/break-unload-file.c: New file.
12626 * gdb.base/break-unload-file.exp: New file.
12627 * gdb.base/sym-file-lib.c (baz): New function.
12628 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12629 field.
12630 (load): Store the segment's mapped size.
12631 (unload): New function.
12632 (unload_shlib): New function.
12633 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12634 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12635 set a breakpoint at baz, and call it.
12636 * gdb.base/sym-file.exp: New tests for stale breakpoint
12637 instructions.
12638
076855f9
PA
126392014-04-23 Pedro Alves <palves@redhat.com>
12640
12641 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12642 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12643 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12644 * gdb.base/hbreak-unmapped.c: New file.
12645 * gdb.base/hbreak-unmapped.exp: New file.
12646 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12647 * lib/gdb.exp (gdb_is_target_remote): ... here.
12648
483805cf
PA
126492014-04-22 Pedro Alves <palves@redhat.com>
12650
12651 * gdb.base/consecutive-step-over.c: New file.
12652 * gdb.base/consecutive-step-over.exp: New file.
12653
06d97543
PA
126542014-04-22 Pedro Alves <palves@redhat.com>
12655
12656 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12657 instead of send_gdb/gdb_expect.
12658
b4429ea2
YQ
126592014-04-22 Yao Qi <yao@codesourcery.com>
12660
12661 * lib/trace-support.exp (generate_tracefile): New procedure.
12662 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12663 return 0.
12664 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12665 if generate_tracefile returns 1.
12666
51d48146
PA
126672014-04-18 Tom Tromey <palves@redhat.com>
12668 Pedro alves <tromey@redhat.com>
12669
12670 PR backtrace/15558
12671 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12672 with a backtrace limit.
12673 * gdb.python/py-frame-inline.exp: Test running to an inline
12674 function with a backtrace limit, and printing the newest frame.
12675 * gdb.python/py-frame-inline.c (main): Call f.
12676
bd1dce5f
MS
126772014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12678
12679 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12680
40d1a503
MS
126812014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12682
12683 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12684 Drop prefix from unsupported source file path.
12685
389b98f7
YQ
126862014-04-17 Yao Qi <yao@codesourcery.com>
12687
12688 * lib/gdb.exp (with_target_charset): New proc.
12689 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12690 with_target_charset.
12691 (test_print_strings): Likewise.
12692 (test_repeat_bytes): Likewise.
12693 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12694 for some tests.
12695
22869d73
KS
126962014-04-16 Keith Seitz <keiths@redhat.com>
12697
12698 PR gdb/15827
12699 * gdb.dwarf2/corrupt.c: New file.
12700 * gdb.dwarf2/corrupt.exp: New file.
12701
c4f87ca6
KS
127022014-04-16 Keith Seitz <keiths@redhat.com>
12703
12704 PR c++/16597
12705 * gdb.cp/namelessclass.cc: New file.
12706 * gdb.cp/namelessclass.exp: New file.
12707 * gdb.cp/namelessclass.S: New file.
12708
ab19de87
DE
127092014-04-16 Doug Evans <dje@google.com>
12710
12711 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12712 Add comment.
12713 (gdbserver_default_get_comm_port): New function.
12714 (gdbserver_start): Check if board file provided
12715 "gdbserver,get_comm_port" and use it if so.
12716 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12717 (gdb,socketport): Set to "stdio".
12718 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12719 (stdio_gdbserver_template): Delete.
12720 (${board}_get_remote_address): Update.
12721 (${board}_build_remote_cmd): Delete.
12722 (${board}_get_comm_port): New function.
12723 (${board}_spawn): Update.
12724 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12725 Delete.
12726 (${board}_get_remote_address): Update.
12727 (${board}_get_comm_port): New function.
12728
fc98a809
AB
127292014-04-16 Andrew Burgess <aburgess@broadcom.com>
12730
12731 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12732 appearing in any order.
12733
87fd9e6e
DE
127342014-04-15 Doug Evans <dje@google.com>
12735
12736 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12737 uninitialized value of "description".
12738
099fc3ea
KS
127392014-04-15 Keith Seitz <keiths@redhat.com>
12740
12741 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12742 Remove unused globals.
12743 (test_running_the_program): Likewise.
12744 (test_controlled_execution): Likewise.
12745 (test_controlling_breakpoints): Likewise.
12746 (test_program_termination): Likewise.
12747
5da151d4
KS
127482014-04-15 Keith Seitz <keiths@redhat.com>
12749
12750 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12751 unused globals.
12752 (test_rbreak_creation_and_listing): Likewise.
12753 (test_ignore_count): Likewise.
12754 (test_error): Likewise.
12755
35e5d2f0
PA
127562014-04-15 Pedro Alves <palves@redhat.com>
12757
12758 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12759 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12760 sym-file-loader.c.
12761 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12762 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12763 to sym-file-loader.c.
12764 (struct library): Forward declare.
12765 (load_shlib, lookup_function): Change prototypes.
12766 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12767 (translate_offset): Remove declarations.
12768 (get_text_addr): New declaration.
12769 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12770 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12771 sym-file-loader.h.
12772 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12773 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12774 here from sym-file-loader.h.
12775 (struct library): New structure.
12776 (load_shlib, lookup_function): Change prototypes and adjust to
12777 work with a struct library.
12778 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12779 (translate_offset): Make static.
12780 (get_text_addr): New function.
12781 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12782
eb4c1710
PA
127832014-04-15 Pedro Alves <palves@redhat.com>
12784
12785 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12786
2d1baf52
PA
127872014-04-15 Pedro Alves <palves@redhat.com>
12788
12789 * gdb.base/sym-file-loader.c: Include <limits.h>.
12790 (SELF_LINK): New define.
12791 (get_origin): New function.
12792 (load_shlib): Use it.
12793 * gdb.base/sym-file.exp: Don't early return if the target is
12794 remote. Use runto_main, and issue fail is that fails. Use
12795 gdb_load_shlibs.
12796 (shlib_name): Delete.
12797 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12798
7dd6df01
PA
127992014-04-15 Pedro Alves <palves@redhat.com>
12800
12801 * gdb.base/sym-file.exp: Remove regex characters from test
12802 message. Don't refer to breakpoint numbers in test messages.
12803
b50c8614
KS
128042014-04-14 Keith Seitz <keiths@redhat.com>
12805
12806 PR c++/16253
12807 * gdb.cp/var-tag.cc: New file.
12808 * gdb.cp/var-tag.exp: New file.
12809 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12810 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12811 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12812 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12813
3d567982
TT
128142014-04-14 Tom Tromey <tromey@redhat.com>
12815
12816 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12817 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12818 type.
12819 * gdb.cp/enum-class.exp: New file.
12820 * gdb.cp/enum-class.cc: New file.
12821
0626fc76
TT
128222014-04-14 Tom Tromey <tromey@redhat.com>
12823
12824 * gdb.dwarf2/enum-type.exp: New file.
12825
dca325b3
SA
128262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12827
12828 * gdb.mi/mi-vla-c99.exp: New file.
12829 * gdb.mi/vla.c: New file.
12830
5854b38a
SA
128312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12832
12833 * gdb.base/vla-datatypes.c: New file.
12834 * gdb.base/vla-datatypes.exp: New file.
12835
463bb957
SA
128362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12837
12838 * gdb.base/vla-ptr.c: New file.
12839 * gdb.base/vla-ptr.exp: New file.
12840
3dd170be
SA
128412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12842
12843 * gdb.dwarf2/count.exp: New file.
12844
5ecaaa66
SA
128452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12846
12847 * gdb.base/vla-sideeffect.c: New file.
12848 * gdb.base/vla-sideeffect.exp: New file.
12849
41f1ada5
DB
128502014-04-14 David Blaikie <dblaikie@gmail.com>
12851
12852 * gdb.mi/non-stop.c: Add return value for non-void function return
12853 statement.
12854 * gdb.threads/staticthreads.c: Ditto.
12855
0be03e84
DE
128562014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12857 Doug Evans <xdje42@gmail.com>
12858
12859 * gdb.guile/scm-value.c: Improve test case.
12860 * gdb.guile/scm-value.exp: Add new test.
12861
f180a1fb
DB
128622014-04-11 David Blaikie <dblaikie@gmail.com>
12863
12864 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12865 override Clang's default.
12866
6b662e19
JB
128672014-04-11 Joel Brobecker <brobecker@adacore.com>
12868
12869 Revert the following changes (regressions):
12870
12871 * gdb.base/vla-sideeffect.c: New file.
12872 * gdb.base/vla-sideeffect.exp: New file.
12873
12874 * gdb.dwarf2/count.exp: New file.
12875
12876 * gdb.base/vla-multi.c: New file.
12877 * gdb.base/vla-multi.exp: New file.
12878
12879 * gdb.base/vla-ptr.c: New file.
12880 * gdb.base/vla-ptr.exp: New file.
12881
12882 * gdb.base/vla-datatypes.c: New file.
12883 * gdb.base/vla-datatypes.exp: New file.
12884
12885 * gdb.mi/mi-vla-c99.exp: New file.
12886 * gdb.mi/vla.c: New file.
12887
245a5f0b
KS
128882014-04-11 Keith Seitz <keiths@redhat.com>
12889
12890 PR c++/16675
12891 * gdb.cp/cpsizeof.exp: New file.
12892 * gdb.cp/cpsizeof.cc: New file.
12893
58a84dcf
SA
128942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12895
191a8a90
JB
12896 * gdb.mi/mi-vla-c99.exp: New file.
12897 * gdb.mi/vla.c: New file.
58a84dcf 12898
c8655f75
SA
128992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12900
12901 * gdb.base/vla-datatypes.c: New file.
12902 * gdb.base/vla-datatypes.exp: New file.
12903
024e13b4
SA
129042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12905
12906 * gdb.base/vla-ptr.c: New file.
12907 * gdb.base/vla-ptr.exp: New file.
12908
1a237e0e
SA
129092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12910
12911 * gdb.base/vla-multi.c: New file.
12912 * gdb.base/vla-multi.exp: New file.
12913
504f3432
SA
129142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12915
12916 * gdb.dwarf2/count.exp: New file.
12917
3bce8237
SA
129182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12919
191a8a90
JB
12920 * gdb.base/vla-sideeffect.c: New file.
12921 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 12922
322f9c21
YQ
129232014-04-11 Yao Qi <yao@codesourcery.com>
12924
12925 * gdb.base/completion.exp: Check file exists before running tests
12926 on file completion.
12927
d708bcd1
PA
129282014-04-10 Pedro Alves <palves@redhat.com>
12929
12930 * gdb.base/cond-eval-mode.c: New file.
12931 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12932 prepare_for_testing to build the new file. Check result of
12933 runto_main.
12934 (test_break, test_watch): New procedures.
12935 (top level): Use them.
12936
ae1d2761
PM
129372014-04-08 Pierre Muller <muller@sourceware.org>
12938
12939 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12940 Ctrl-V use for mingw hosts.
12941
7af389b8
SC
129422014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12943
12944 * gdb.python/py-value.c: Improve test case.
12945 * gdb.python/py-value.exp: Add new test.
12946
5e703181
DE
129472014-04-07 David Blaikie <dblaikie@gmail.com>
12948
12949 * lib/compiler.c: Identify the clang compiler.
12950 * lib/compiler.cc: Ditto.
12951
9810b410
YQ
129522014-04-03 Yao Qi <yao@codesourcery.com>
12953
12954 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12955
98d1b8dc
AB
129562014-04-01 Anton Blanchard <anton@samba.org>
12957
12958 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12959 messages unique.
12960
3114cea1
AB
129612014-04-01 Anton Blanchard <anton@samba.org>
12962
12963 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12964 prepare_for_testing.
12965
62f7182c
AB
129662014-04-01 Anton Blanchard <anton@samba.org>
12967
12968 * gdb.arch/ppc64-atomic-inst.c: Remove.
12969 * gdb.arch/ppc64-atomic-inst.S: New file.
12970 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12971
770e7fc7
DE
129722014-03-31 Doug Evans <dje@google.com>
12973
12974 * gdb.base/print-symbol-loading-lib.c: New file.
12975 * gdb.base/print-symbol-loading-main.c: New file.
12976 * gdb.base/print-symbol-loading.exp: New file.
12977
46e2bafa
YQ
129782014-03-31 Yao Qi <yao@codesourcery.com>
12979
12980 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12981
8776cfe9
JB
129822014-03-28 Joel Brobecker <brobecker@adacore.com>
12983
12984 * gdb.ada/mi_dyn_arr: New testcase.
12985
5d1ef361
DE
129862014-03-27 Doug Evans <dje@google.com>
12987
12988 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12989
b5bee914
YQ
129902014-03-27 Yao Qi <yao@codesourcery.com>
12991
12992 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12993 if target is nios2-*-*.
12994
0d4d0e77
YQ
129952014-03-26 Yao Qi <yao@codesourcery.com>
12996
12997 * lib/gdb.exp (readline_is_used): New proc.
12998 * gdb.base/completion.exp: Move tests on command complete up.
12999 Skip the rest of tests if readline is not used.
13000 * gdb.ada/complete.exp: Skp the test if readline is not
13001 used.
13002 * gdb.base/filesym.exp: Likewise.
13003 * gdb.base/macscp.exp: Likewise.
13004 * gdb.base/readline-ask.exp: Likewise.
13005 * gdb.base/readline.exp: Likewise.
13006 * gdb.python/py-cmd.exp: Likewise.
13007 * gdb.trace/tfile.exp: Likewise.
13008
29361eee
YQ
130092014-03-26 Yao Qi <yao@codesourcery.com>
13010
13011 * gdb.base/macscp.exp: Fix code format issues.
13012
bc9a5525
UW
130132014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13014
13015 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13016 * gdb.asm/powerpc64le.inc: New file.
13017
d3839ede
PA
130182014-03-25 Pedro Alves <palves@redhat.com>
13019 Doug Evans <dje@google.com>
13020
13021 * gdb.base/source-execution.c: New file.
13022 * gdb.base/source-execution.exp: New file.
13023 * gdb.base/source-execution.gdb: New file.
13024
01672a57
DE
130252014-03-24 Doug Evans <dje@google.com>
13026
13027 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13028 using fission.
13029
88bbeca9
HZ
130302014-03-24 Hui Zhu <hui@codesourcery.com>
13031 Pedro Alves <palves@redhat.com>
13032
13033 PR breakpoints/16101
13034 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13035 test pass/fail messages. Detect missing support for dprintf when
13036 breakpoints are actually inserted.
13037 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13038 breakpoints are actually inserted.
13039 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13040 fails.
13041
d2348791
JK
130422014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13043
13044 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13045
feef67ab
DE
130462014-03-22 Doug Evans <xdje42@gmail.com>
13047
13048 * gdb.python/python.exp (python not supported): Verify multi-line
13049 python command issues an error.
25d743f9 13050 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 13051 guile command issues an error.
feef67ab 13052
ecebef6a
MR
130532014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13054
13055 * gdb.threads/thread-specific.exp: Handle the lack of usable
13056 $this_breakpoint and $this_thread.
13057
ccdd1909
HZ
130582014-03-21 Hui Zhu <hui@codesourcery.com>
13059
13060 * gdb.base/attach.exp (do_command_attach_tests): New.
13061
beb460e8
PA
130622014-03-20 Tom Tromey <tromey@redhat.com>
13063 Pedro Alves <palves@redhat.com>
13064
13065 PR cli/15718
13066 * gdb.base/condbreak-call-false.c: New file.
13067 * gdb.base/condbreak-call-false.exp: New file.
13068
40acf43a
PA
130692014-03-20 Pedro Alves <palves@redhat.com>
13070
13071 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13072 Delete.
13073 (block_signals, unblock_signals): Delete.
13074 (child_function_2, main): Remove references to deleted variable
13075 and functions.
13076
9f5e1e02
PA
130772014-03-20 Pedro Alves <palves@redhat.com>
13078
13079 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13080 Use pthread_kill to signal thread 2.
13081 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13082 Adjust to make the test send itself a signal rather than using the
13083 host's "kill" command.
13084
99619bea
PA
130852014-03-20 Pedro Alves <palves@redhat.com>
13086
13087 * gdb.threads/multiple-step-overs.c: New file.
13088 * gdb.threads/multiple-step-overs.exp: New file.
13089 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13090 Adjust expected infrun debug output.
13091
2adfaa28
PA
130922014-03-20 Pedro Alves <palves@redhat.com>
13093
13094 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13095 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13096
31e77af2
PA
130972014-03-20 Pedro Alves <palves@redhat.com>
13098
13099 PR breakpoints/7143
13100 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13101 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13102 of gdb_test_multiple.
13103 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13104 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13105
b9f437de
PA
131062014-03-20 Pedro Alves <palves@redhat.com>
13107
13108 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13109 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13110
05adc73e
PA
131112014-03-19 Pedro Alves <palves@redhat.com>
13112
13113 * gdb.base/async.exp: Remove early return.
13114
6048b950
PA
131152014-03-19 Pedro Alves <palves@redhat.com>
13116
13117 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13118
8bcfb00a
PA
131192014-03-19 Pedro Alves <palves@redhat.com>
13120
13121 * gdb.base/async.exp (test_background): Expect \r\n after
13122 "completed." in the fail pattern.
13123
884e37dc
PA
131242014-03-19 Pedro Alves <palves@redhat.com>
13125
13126 * gdb.base/async.exp (test_background): New procedure.
13127 Use it for all background execution command tests.
13128
148e57e2
PA
131292014-03-19 Pedro Alves <palves@redhat.com>
13130
13131 * gdb.base/async.exp: Use prepare_for_testing.
13132
f48088c7
PA
131332014-03-19 Pedro Alves <palves@redhat.com>
13134
13135 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13136 the same line.
13137
e2f6c966
PA
131382014-03-19 Pedro Alves <palves@redhat.com>
13139
13140 * gdb.base/async.c (main): Add "jump here" and "until here" line
13141 marker comments.
13142 * gdb.base/async.exp (jump_here): New global.
13143 (jump& test): Use it.
13144 (until_here): New global.
13145 (until& test): Use it.
13146
c30568d4
PA
131472014-03-19 Pedro Alves <palves@redhat.com>
13148
13149 * gdb.base/async.exp: Don't frob gdb_protocol.
13150
0172b6a7
DE
131512014-03-18 Doug Evans <xdje42@gmail.com>
13152
13153 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13154 Fix spelling of exec-done-display.
13155
06c868a8
JK
131562014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13157
13158 PR gdb/15358
13159 * gdb.base/gdb-sigterm.c: New file.
13160 * gdb.base/gdb-sigterm.exp: New file.
13161
0c7e1a46
PA
131622014-03-18 Pedro Alves <palves@redhat.com>
13163
13164 PR gdb/13860
13165 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13166 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13167 solib-event.
13168
f7c77d93
JB
131692014-03-17 Joel Brobecker <brobecker@adacore.com>
13170
13171 * gdb.ada/pckd_arr_ren: New testcase.
13172
5a1e8c7a
DE
131732014-03-13 Doug Evans <xdje42@gmail.com>
13174
13175 PR guile/16612
13176 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13177 collect after discarding symbols.
13178
350e1a76
DE
131792014-03-13 Ludovic Courtès <ludo@gnu.org>
13180 Doug Evans <xdje42@gmail.com>
13181
13182 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13183 to history survives a gc.
13184
a69900ae
PA
131852014-03-13 Pedro Alves <palves@redhat.com>
13186
13187 * gdb.base/default.exp: Don't test "target procfs".
13188
5db9f0bd
PA
131892014-03-13 Pedro Alves <palves@redhat.com>
13190
13191 * gdb.base/default.exp: Update "target child" and "target procfs"
13192 tests to not expect "Unix".
13193
b3ccfe11
TT
131942014-03-12 Tom Tromey <tromey@redhat.com>
13195
13196 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13197 New procs. Add target-async tests.
13198 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13199 Add target-async tests.
13200
646f4417
AA
132012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13202
13203 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13204 'func_start' and 'func_end' for the beginning and end of the
13205 function code, respectively.
13206 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13207 'func_end' instead of 'func' and 'main'.
13208
288c211f
AA
132092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13210
13211 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13212 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13213 generate the debug info assembler source.
13214
e0c0f156
AA
132152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13216
13217 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13218 * gdb.dwarf2/arr-subrange.exp: Likewise.
13219 * gdb.dwarf2/dwz.exp: Likewise.
13220 * gdb.dwarf2/method-ptr.exp: Likewise.
13221 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13222 * gdb.dwarf2/subrange.exp: Likewise.
13223 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13224 * gdb.dwarf2/implptrpiece.exp: Likewise.
13225 * gdb.dwarf2/nostaticblock.exp: Likewise.
13226
0e5c4555
AA
132272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13228
13229 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13230 directory to absolute path name arguments.
13231
5ec18f2b
JG
132322014-03-10 Joel Brobecker <brobecker@adacore.com>
13233
13234 * gdb.ada/tagged_access: New testcase.
13235
847fc4f2
MM
132362014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13237
13238 * gdb.btrace/data.exp: Update expected output.
13239
cc3da688
YQ
132402014-03-06 Yao Qi <yao@codesourcery.com>
13241
13242 * gdb.trace/pr16508.exp: New file.
13243
0f26cec1
PA
132442014-03-05 Pedro Alves <palves@redhat.com>
13245
13246 PR gdb/16575
13247 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13248 procedure.
13249 (top level): Adjust to use it. Add tests that exercise breakpoint
13250 interaction with the code-cache.
13251
7a5a839f
LC
132522014-02-26 Ludovic Courtès <ludo@gnu.org>
13253
13254 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13255 test for 'history-append!'.
13256
31aa7e4e
JB
132572014-02-26 Joel Brobecker <brobecker@adacore.com>
13258
13259 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13260 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13261 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13262 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13263 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13264 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13265
1b588015
JB
132662014-02-26 Joel Brobecker <brobecker@adacore.com>
13267
13268 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13269 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13270 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13271
55426c9d
JB
132722014-02-26 Joel Brobecker <brobecker@adacore.com>
13273
13274 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13275
dc53a7ad
JB
132762014-02-26 Joel Brobecker <brobecker@adacore.com>
13277
13278 * gdb.dwarf2/arr-stride.c: New file.
13279 * gdb.dwarf2/arr-stride.exp: New file.
13280
12ab52e9
PA
132812014-02-26 Pedro Alves <palves@redhat.com>
13282
13283 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13284 that won't ever trigger. Make sure that GDB reports the correct
13285 breakpoint that caused the stop.
13286
849c862e
JK
132872014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13288
13289 PR gdb/16626
13290 * gdb.base/auto-load-script: New file.
13291 * gdb.base/auto-load.c: New file.
13292 * gdb.base/auto-load.exp: New file.
13293
71b7d793
JK
13294 PR gdb/16626
13295 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13296
e2f0d509
JK
132972014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13298
13299 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13300 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13301
50cc37c8
DE
133022014-02-24 Doug Evans <dje@google.com>
13303
13304 * lib/gdb.exp (run_on_host): Log error output if program fails.
13305
ea4758f2
PA
133062014-02-21 Pedro Alves <palves@redhat.com>
13307
13308 * gdb.threads/step-after-sr-lock.c: Rename to ...
13309 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13310 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13311 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13312 ... this.
13313
d7b30f67
SDJ
133142014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13315
13316 PR tdep/16397
13317 * gdb.arch/amd64-stap-special-operands.exp: New file.
13318 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13319 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13320 * gdb.arch/amd64-stap-triplet.S: Likewise.
13321 * gdb.arch/amd64-stap-triplet.c: Likewise.
13322
83deb43f
JB
133232014-02-20 Joel Brobecker <brobecker@adacore.com>
13324
13325 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13326 in .section pseudo-op.
13327
adde2bff
DE
133282014-02-20 lin zuojian <manjian2006@gmail.com>
13329 Joel Brobecker <brobecker@adacore.com>
13330 Doug Evans <xdje42@gmail.com>
13331
13332 PR symtab/16581
13333 * gdb.dwarf2/dw2-icycle.S: New file.
13334 * gdb.dwarf2/dw2-icycle.c: New file.
13335 * gdb.dwarf2/dw2-icycle.exp: New file.
13336
f7bd0f78
SC
133372014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13338
13339 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13340 operations on gdb.Value objects.
13341 * gdb.python/py-value-cc.exp: Add new test to test operations on
13342 gdb.Value objects.
13343
c17ef0d5
DE
133442014-02-18 Doug Evans <dje@google.com>
13345
13346 * Makefile.in (TESTS): New variable.
13347 (expanded_tests, expanded_tests_or_none): New variables
13348 (check-single): Pass $(expanded_tests_or_none) to runtest.
13349 (check-parallel): Only run tests in $(TESTS) if non-empty.
13350 (check/no-matching-tests-found): New rule.
13351 * README: Document TESTS makefile variable.
13352
5dd3176f
DE
133532014-02-18 Doug Evans <dje@google.com>
13354
13355 * Makefile.in (check-parallel): rm -rf outputs temp.
13356
0b10be4f
JK
133572014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13358
13359 Fix "ERROR: no fileid for" in the testsuite.
13360 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13361
85f224e7
DE
133622014-02-12 Doug Evans <dje@google.com>
13363
13364 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13365 (MISCELLANEOUS): New variable.
13366 (clean): rm -rf $(MISCELLANEOUS).
13367 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13368 dwp live in the same directory as symlinks, with each symlink pointed
13369 to a differently named file in a different directory.
13370
149b30ff
DE
133712014-02-11 Doug Evans <dje@google.com>
13372
13373 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13374 of Tcl file commands.
13375
1dfdac32
MK
133762014-02-10 Mark Kettenis <kettenis@gnu.org>
13377
13378 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13379 "kill -SIGUSR1 -1".
13380
aa4fb036
JB
133812014-02-10 Joel Brobecker <brobecker@adacore.com>
13382
13383 * gdb.ada/tick_length_array_enum_idx: New testcase.
13384
ed3ef339
DE
133852014-02-10 Doug Evans <xdje42@gmail.com>
13386
13387 * configure.ac (AC_OUTPUT): Add gdb.guile.
13388 * configure: Regenerate.
13389 * lib/gdb-guile.exp: New file.
13390 * lib/gdb.exp (get_target_charset): New function.
13391 * gdb.base/help.exp: Update expected output from "apropos apropos".
13392 * gdb.guile/Makefile.in: New file.
13393 * gdb.guile/guile.exp: New file.
13394 * gdb.guile/scm-arch.c: New file.
13395 * gdb.guile/scm-arch.exp: New file.
13396 * gdb.guile/scm-block.c: New file.
13397 * gdb.guile/scm-block.exp: New file.
13398 * gdb.guile/scm-breakpoint.c: New file.
13399 * gdb.guile/scm-breakpoint.exp: New file.
13400 * gdb.guile/scm-disasm.c: New file.
13401 * gdb.guile/scm-disasm.exp: New file.
13402 * gdb.guile/scm-equal.c: New file.
13403 * gdb.guile/scm-equal.exp: New file.
13404 * gdb.guile/scm-error.exp: New file.
13405 * gdb.guile/scm-error.scm: New file.
13406 * gdb.guile/scm-frame-args.c: New file.
13407 * gdb.guile/scm-frame-args.exp: New file.
13408 * gdb.guile/scm-frame-args.scm: New file.
13409 * gdb.guile/scm-frame-inline.c: New file.
13410 * gdb.guile/scm-frame-inline.exp: New file.
13411 * gdb.guile/scm-frame.c: New file.
13412 * gdb.guile/scm-frame.exp: New file.
13413 * gdb.guile/scm-generics.exp: New file.
13414 * gdb.guile/scm-gsmob.exp: New file.
13415 * gdb.guile/scm-iterator.c: New file.
13416 * gdb.guile/scm-iterator.exp: New file.
13417 * gdb.guile/scm-math.c: New file.
13418 * gdb.guile/scm-math.exp: New file.
13419 * gdb.guile/scm-objfile-script-gdb.in: New file.
13420 * gdb.guile/scm-objfile-script.c: New file.
13421 * gdb.guile/scm-objfile-script.exp: New file.
13422 * gdb.guile/scm-objfile.c: New file.
13423 * gdb.guile/scm-objfile.exp: New file.
13424 * gdb.guile/scm-ports.exp: New file.
13425 * gdb.guile/scm-pretty-print.c: New file.
13426 * gdb.guile/scm-pretty-print.exp: New file.
13427 * gdb.guile/scm-pretty-print.scm: New file.
13428 * gdb.guile/scm-section-script.c: New file.
13429 * gdb.guile/scm-section-script.exp: New file.
13430 * gdb.guile/scm-section-script.scm: New file.
13431 * gdb.guile/scm-symbol.c: New file.
13432 * gdb.guile/scm-symbol.exp: New file.
13433 * gdb.guile/scm-symtab-2.c: New file.
13434 * gdb.guile/scm-symtab.c: New file.
13435 * gdb.guile/scm-symtab.exp: New file.
13436 * gdb.guile/scm-type.c: New file.
13437 * gdb.guile/scm-type.exp: New file.
13438 * gdb.guile/scm-value-cc.cc: New file.
13439 * gdb.guile/scm-value-cc.exp: New file.
13440 * gdb.guile/scm-value.c: New file.
13441 * gdb.guile/scm-value.exp: New file.
13442 * gdb.guile/source2.scm: New file.
13443 * gdb.guile/types-module.cc: New file.
13444 * gdb.guile/types-module.exp: New file.
13445
7026a7c1
YQ
134462014-02-10 Yao Qi <yao@codesourcery.com>
13447
13448 PR testsuite/16543
13449 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13450 * configure: Regenerated.
13451 * Makefile.in: New file.
13452
6c466447
AS
134532014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13454
13455 * gdb.python/py-framefilter.exp: Fix typo.
13456
6e854735
YQ
134572014-02-08 Yao Qi <yao@codesourcery.com>
13458
13459 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13460 that no =breakpoint-modified is emitted when breakpoints are
13461 modified through MI commands.
13462
d137e6dc
PA
134632014-02-07 Pedro Alves <pedro@codesourcery.com>
13464 Pedro Alves <palves@redhat.com>
13465
13466 * gdb.threads/step-after-sr-lock.c: New file.
13467 * gdb.threads/step-after-sr-lock.exp: New file.
13468
b5ee5a50
PA
134692014-02-07 Pedro Alves <palves@redhat.com>
13470
13471 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13472
3c77faf3
JK
134732014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13474
13475 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13476 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13477
6dddc817
DE
134782014-02-06 Doug Evans <xdje42@gmail.com>
13479
13480 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13481 output.
13482
13483 * gdb.gdb/python-interrupts.exp: New file.
13484
de7b2893
YQ
134852014-02-05 Yao Qi <yao@codesourcery.com>
13486
13487 * gdb.trace/report.exp (use_collected_data): Test the output
13488 of "info threads" and "info inferiors".
13489
66d032ac
YQ
134902014-02-05 Yao Qi <yao@codesourcery.com>
13491
13492 Revert this patch:
13493
13494 2013-05-24 Yao Qi <yao@codesourcery.com>
13495
13496 * gdb.trace/tfile.exp: Test inferior and thread.
13497
591a12a1
UW
134982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13499
13500 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13501 on a function.
13502 * gdb.base/step-bt.c: Call hello via function pointer to make
13503 sure its first instruction is executed on powerpc64le-linux.
13504
0ff3e01f
UW
135052014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13506
13507 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13508
084ee545
UW
135092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13510
13511 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13512 of the test patterns for use on little-endian systems.
13513
6ed14ff3
UW
135142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13515
13516 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13517 (decimal_vector): Fix for little-endian.
13518
401e27fd
JM
135192014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13520
13521 * gdb.arch/sparc-sysstep.exp: New file.
13522 * gdb.arch/sparc-sysstep.c: Likewise.
13523
13524 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13525
8b924729
EBM
135262014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13527
13528 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13529
fb151210
JB
135302014-01-23 Tom Tromey <tromey@redhat.com>
13531
13532 * gdb.ada/array_char_idx: New testcase.
13533
0740f8d8
TT
135342014-01-23 Tom Tromey <tromey@redhat.com>
13535
13536 PR python/16487:
13537 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13538 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13539 classes.
13540
21909fa1
TT
135412014-01-23 Tom Tromey <tromey@redhat.com>
13542
13543 PR python/16491:
13544 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13545 string from an inferior frame.
13546 * gdb.python/py-framefilter-mi.exp: Update.
13547
87ce2a04
DE
135482014-01-22 Doug Evans <dje@google.com>
13549
13550 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13551
237b092b
AA
135522014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13553
13554 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13555
d674a709
AA
135562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13557
13558 * gdb.trace/entry-values.exp: Remove excess space character from
13559 regex patterns. Handle s390 call instruction.
13560
20fa3390
AA
135612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13562
13563 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13564 define "*_start" label. Make "name" static.
13565 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13566 ${name} by references to ${name}_start.
13567
78466714
AA
135682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13569
13570 * gdb.base/info-macros.exp: Remove "debug" from the compile
13571 options.
13572
ec9f644a
IB
135732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13574
13575 * gdb.dlang/demangle.exp: New file.
13576
94b1b47e
IB
135772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13578
13579 * gdb.dlang/primitive-types.exp: New file.
13580
7f420862
IB
135812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13582
13583 * configure.ac: Create gdb.dlang/Makefile.
13584 * configure: Regenerate.
13585 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13586 * gdb.dlang/Makefile.in: New file.
13587 * lib/d-support.exp: New file.
13588 * lib/gdb.exp (skip_d_tests): New proc.
13589
52834460
MM
135902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13591
13592 * gdb.btrace/delta.exp: Check reverse stepi.
13593 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13594 * gdb.btrace/finish.exp: New.
13595 * gdb.btrace/next.exp: New.
13596 * gdb.btrace/nexti.exp: New.
13597 * gdb.btrace/record_goto.c: Add comments.
13598 * gdb.btrace/step.exp: New.
13599 * gdb.btrace/stepi.exp: New.
13600 * gdb.btrace/multi-thread-step.c: New.
13601 * gdb.btrace/multi-thread-step.exp: New.
13602 * gdb.btrace/rn-dl-bind.c: New.
13603 * gdb.btrace/rn-dl-bind.exp: New.
13604 * gdb.btrace/data.c: New.
13605 * gdb.btrace/data.exp: New.
13606 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13607
6e07b1d2
MM
136082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13609
13610 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13611 * gdb.btrace/exception.exp: Update.
13612 * gdb.btrace/instruction_history.exp: Update.
13613 * gdb.btrace/record_goto.exp: Update.
13614 * gdb.btrace/tailcall.exp: Update.
13615 * gdb.btrace/unknown_functions.exp: Update.
13616 * gdb.btrace/delta.exp: New.
13617
0b722aec
MM
136182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13619
13620 * gdb.btrace/record_goto.exp: Add backtrace test.
13621 * gdb.btrace/tailcall.exp: Add backtrace test.
13622
066ce621
MM
136232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13624
13625 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13626 * gdb.btrace/record_goto.c: New.
13627 * gdb.btrace/record_goto.exp: New.
13628 * gdb.btrace/x86-record_goto.S: New.
13629
0688d04e
MM
136302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13631
13632 * gdb.btrace/function_call_history.exp: Update tests.
13633 * gdb.btrace/instruction_history.exp: Update tests.
13634
8710b709
MM
136352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13636
13637 * gdb.btrace/function_call_history.exp: Fix expected field
13638 order for "record function-call-history".
13639 Add new tests for "record function-call-history /c".
13640 * gdb.btrace/exception.cc: New.
13641 * gdb.btrace/exception.exp: New.
13642 * gdb.btrace/tailcall.exp: New.
13643 * gdb.btrace/x86-tailcall.S: New.
13644 * gdb.btrace/x86-tailcall.c: New.
13645 * gdb.btrace/unknown_functions.c: New.
13646 * gdb.btrace/unknown_functions.exp: New.
13647 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13648
5de9129b
MM
136492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13650
13651 * gdb.btrace/instruction_history.exp: Update.
13652 * gdb.btrace/function_call_history.exp: Update.
13653
23a7fe75
MM
136542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13655
13656 * gdb.btrace/function_call_history.exp: Fix expected function
13657 trace.
13658 * gdb.btrace/instruction_history.exp: Initialize traced.
13659 Remove traced_functions.
13660
724c7dd8
MM
136612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13662
13663 * gdb.btrace/function_call_history.exp: Update
13664 * gdb.btrace/instruction_history.exp: Update.
13665
6d78d93b
MM
136662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13667
13668 * gdb.btrace/enable.exp: Update expected text.
13669
93a360cc
OJ
136702014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13671
13672 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13673 bytes.
13674
3772b53f
MR
136752014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13676
13677 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13678
596662fa
OJ
136792014-01-15 Omair Javaid <omair.javaid@linaro.org>
13680
13681 * lib/gdb.exp (supports_process_record): Return true for
13682 arm*-linux*. (supports_reverse): Likewise.
13683
b5b08fb4
SC
136842014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13685
13686 PR python/15464
13687 PR python/16113
13688 * gdb.python/py-type.c: Enhance test case.
13689 * gdb.python/py-value-cc.cc: Likewise
13690 * gdb.python/py-type.exp: Add new tests.
13691 * gdb.python/py-value-cc.exp: Likewise
13692
52d7fb13
AA
136932014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13694 Pedro Alves <palves@redhat.com>
13695
13696 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13697 Make "name" extern.
13698 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13699 references to ${name}_start by references to ${name}.
13700
a2cd8cfe
JB
137012014-01-10 Joel Brobecker <brobecker@adacore.com>
13702
13703 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13704
4e23fced
JB
137052014-01-10 Joel Brobecker <brobecker@adacore.com>
13706
13707 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13708
c6a9e42c
PA
137092014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13710 Pedro Alves <palves@redhat.com>
13711
13712 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 13713 mi_gdb_target_load.
c6a9e42c 13714
b7ea362b
PA
137152014-01-08 Pedro Alves <palves@redhat.com>
13716
13717 * gdb.threads/reconnect-signal.c: New file.
13718 * gdb.threads/reconnect-signal.exp: New file.
13719
5e3f4fab
EBM
137202014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13721
13722 * gdb.base/source-dir.exp: New file.
13723
79301218
JB
137242014-01-07 Joel Brobecker <brobecker@adacore.com>
13725
13726 * gdb.ada/mi_interface: New testcase.
13727
8e355c5d
JB
137282014-01-07 Joel Brobecker <brobecker@adacore.com>
13729
13730 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13731 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13732 gdb.ada/pp-rec-component/pck.ads: New files.
13733
c0d48811
JB
137342014-01-07 Joel Brobecker <brobecker@adacore.com>
13735
13736 * gdb.python/py-pp-integral.c: New file.
13737 * gdb.python/py-pp-integral.py: New file.
13738 * gdb.python/py-pp-integral.exp: New file.
13739
17b609c3 13740For older changes see ChangeLog-1993-2013.
c906108c 13741\f
8d8cb839
EZ
13742;; Local Variables:
13743;; mode: change-log
13744;; left-margin: 8
13745;; fill-column: 74
13746;; version-control: never
13747;; End:
902f2ccb 13748
e2882c85 13749 Copyright 2014-2018 Free Software Foundation, Inc.
902f2ccb
MC
13750 Copying and distribution of this file, with or without modification,
13751 are permitted provided the copyright notice and this notice are preserved.