PR cli/21688: Detect aliases when issuing python/compile/guile commands (and fix...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
dc4bde35
SDJ
12017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 PR cli/21688
4 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5 tests for alias commands and trailing whitespace.
6
51ed89aa
SDJ
72017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8
9 PR cli/21688
10 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11 procedure. Call it.
12
eb17d413
PA
132017-06-29 Pedro Alves <palves@redhat.com>
14
15 * gdb.base/printcmds.exp: Add tests.
16
41664b45
DG
172017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
18
19 PR gdb/21337
20 * gdb.base/reread-readsym.exp: New file.
21 * gdb.base/reread-readsym.c: New file.
22
75312ae3
KB
232017-06-21 Kevin Buettner <kevinb@redhat.com>
24
25 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
26 subpattern.
27
66953522
PB
282017-06-19 Peter Bergner <bergner@vnet.ibm.com>
29
30 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
31 extended mnemonic.
32 * gdb.arch/powerpc-power9.s: Likewise.
33
5524b525
AA
342017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
35
36 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
37 on 32-bit x86 targets. Exploit is_*_target macros where
38 appropriate.
39
03c8af18
AA
402017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
41
42 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
43 register pieces.
44
3bf31011
AA
452017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
46
47 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
48 located in one or more DWARF pieces.
49
805acca0
AA
502017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
51
52 * lib/gdb.exp (get_endianness): New proc.
53 * gdb.arch/aarch64-fp.exp: Use it.
54 * gdb.arch/altivec-regs.exp: Likewise.
55 * gdb.arch/e500-regs.exp: Likewise.
56 * gdb.arch/vsx-regs.exp: Likewise.
57 * gdb.base/dump.exp: Likewise.
58 * gdb.base/funcargs.exp: Likewise.
59 * gdb.base/gnu_vector.exp: Likewise.
60 * gdb.dwarf2/formdata16.exp: Likewise.
61 * gdb.dwarf2/implptrpiece.exp: Likewise.
62 * gdb.dwarf2/nonvar-access.exp: Likewise.
63 * gdb.python/py-inferior.exp: Likewise.
64 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
65
e9352324
AA
662017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
67
68 PR gdb/21226
69 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
70 stack value pieces are taken from the LSB end.
71
d5d1163e
AA
722017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
73
74 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
75 variable at nonzero offset.
76
0567c986
AA
772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
78
79 * gdb.dwarf2/var-access.c: New file.
80 * gdb.dwarf2/var-access.exp: New test.
81 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
82
973e9aab
TT
832017-06-12 Tom Tromey <tom@tromey.com>
84
85 * gdb.dwarf2/formdata16.exp: Add tests.
86
d9109c80
TT
872017-06-12 Tom Tromey <tom@tromey.com>
88
89 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
90
30a25466
TT
912017-06-12 Tom Tromey <tom@tromey.com>
92
93 PR exp/16225:
94 * gdb.reverse/i386-sse-reverse.exp: Update tests.
95 * gdb.arch/vsx-regs.exp: Update tests.
96 * gdb.arch/s390-vregs.exp (hex128): New proc.
97 Update test.
98 * gdb.arch/altivec-regs.exp: Update tests.
99
aefd8b33
SDJ
1002017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
101
102 * gdb.base/startup-with-shell.c: New file.
103 * gdb.base/startup-with-shell.exp: Likewise.
104
2090129c
SDJ
1052017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
106
107 * gdb.server/non-existing-program.exp: Update regex in order to
108 reflect the fact that gdbserver is now using fork_inferior (with a
109 shell) to startup the inferior.
110
8e86a419
SM
1112017-05-30 Simon Marchi <simon.marchi@ericsson.com>
112
113 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
114 support function calls from GDB.
115
e6cf65f2
TT
1162017-05-21 Tom Tromey <tom@tromey.com>
117
118 PR rust/21466:
119 * gdb.rust/unsized.exp: New file.
120 * gdb.rust/unsized.rs: New file.
121
43cc5389
TT
1222017-05-19 Tom Tromey <tom@tromey.com>
123
124 PR rust/21484:
125 * gdb.rust/watch.exp: New file.
126 * gdb.rust/watch.rs: New file.
127
ec8df234
TT
1282017-05-18 Tom Tromey <tom@tromey.com>
129
130 * gdb.rust/simple.exp: Allow Box to be qualified.
131
3e3e7fae
TP
1322017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
133
134 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
135
59cc050d
PA
1362017-05-18 Pedro Alves <palves@redhat.com>
137
138 * gdb.base/fileio.c (test_write, test_read, test_close)
139 (test_fstat): Don't print 'ret' in the fail path.
140
c8f6abd1
PA
1412017-05-18 Pedro Alves <palves@redhat.com>
142
143 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
144 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
145 (test_system, test_rename, test_unlink, test_time): Change
146 prototypes.
147 * gdb.base/fileio.exp (stop_msg): Adjust.
148
d2a03b77
PA
1492017-05-18 Pedro Alves <palves@redhat.com>
150
151 * gdb.base/fileio.c (null_str): New global.
152 (test_stat): Use it.
153 * gdb.base/fileio.exp: Remove nowarnings.
154
0d5c6999
YQ
1552017-05-17 Yao Qi <yao.qi@linaro.org>
156
157 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
158
21873064
YQ
1592017-05-17 Simon Marchi <simon.marchi@ericsson.com>
160
161 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
162 argument command.
163 (top-level): Invoke test_set_inferior_tty.
164
d512d31c
PA
1652017-05-04 Pedro Alves <palves@redhat.com>
166
167 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
168 Add parens to print call for Python 3.
169
90cef2ed
KS
1702017-05-03 Keith Seitz <keiths@redhat.com>
171
172 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
173 (main): Call it.
174
14f819c8
TW
1752017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
176
177 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
178 to prev and next.
179
913aeadd
TW
1802017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
181
182 * gdb.python/py-record-btrace.exp: Remove test for
183 gdb.BtraceInstruction.error.
184
a3be24ad
TW
1852017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
186
187 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
188
ae20e79a
TW
1892017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
190
191 * gdb.python/py-record-btrace-threads.c: New file.
192 * gdb.python/py-record-btrace-threads.exp: New file.
193
45ce1b47
SDJ
1942017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
195
196 PR testsuite/8595
197 * gdb.base/environ.exp: Make test available in all architectures.
198 Move bits related to "info program" testing to
199 gdb.base/info-program.exp. Rewrite tests to use the two new
200 procedures mentione below.
201 (test_set_show_env_var) New procedure.
202 (test_set_show_env_var_equal): Likewise.
203 * gdb.base/info-program.exp: New file.
204
e15c3eb4
KS
2052017-04-27 Keith Seitz <keiths@redhat.com>
206
207 * gdb.cp/oranking.cc (test15): New function.
208 (main): Call test15 and declare additional variables for testing.
209 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
210 "p foo101('abc')" tests.
211 Add tests for cv qualifier overloads.
212 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
213 "lvalue reference overload" test.
214 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
215 "print value of f1 on Child&& in f2" test.
216
3a3fd0fd
PA
2172017-04-19 Pedro Alves <palves@redhat.com>
218
219 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
220 procedure.
221 (top level): Call it.
222 * lib/gdb.exp (gdb_define_cmd): New procedure.
223
53375380
PA
2242017-04-12 Pedro Alves <palves@redhat.com>
225
226 PR gdb/21323
227 * gdb.cp/wide_char_types.c: Include <wchar.h>.
228 (wchar): New global.
229 * gdb.cp/wide_char_types.exp (wide_char_types_program)
230 (do_test_wide_char, wide_char_types_no_program, top level): Add
231 wchar_t testing.
232
53e710ac
PA
2332017-04-12 Pedro Alves <palves@redhat.com>
234
235 PR c++/21323
236 * gdb.cp/wide_char_types.c: New file.
237 * gdb.cp/wide_char_types.exp: New file.
238
0ad9d8c7
SDJ
2392017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
240
241 PR gdb/21352
242 * gdb.trace/tsv.exp: Add test for "tsave -r".
243
b1b45502
IB
2442017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
245
246 * gdb.dlang/watch-loc.c: New file.
247 * gdb.dlang/watch-loc.exp: New file.
248
ec13808e
JK
2492017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
250
251 * gdb.python/py-section-script.exp (sepdebug): New testcases.
252
fe5f7374
AK
2532017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
254
255 * gdb.arch/arc-analyze-prologue.S: New file.
256 * gdb.arch/arc-analyze-prologue.exp: Likewise.
257
eea78757
AK
2582017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
259
260 * gdb.arch/arc-decode-insn.S: New file.
261 * gdb.arch/arc-decode-insn.exp: Likewise.
262
5badf10a
IR
2632017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
264
265 PR tdep/20928
266 * gdb.arch/sparc64-regs.exp: New file.
267 * gdb.arch/sparc64-regs.S: Likewise.
268
cee59b3f
TW
2692017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
270
271 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
272 and memory view on Python 3.
273
c0f55cc6
AV
2742017-03-20 Artemiy Volkov <artemiyv@acm.org>
275 Keith Seitz <keiths@redhat.com>
276
277 PR gdb/14441
278 * gdb.cp/demangle.exp: Add rvalue reference tests.
279 * gdb.cp/rvalue-ref-casts.cc: New file.
280 * gdb.cp/rvalue-ref-casts.exp: New file.
281 * gdb.cp/rvalue-ref-overload.cc: New file.
282 * gdb.cp/rvalue-ref-overload.exp: New file.
283 * gdb.cp/rvalue-ref-params.cc: New file.
284 * gdb.cp/rvalue-ref-params.exp: New file.
285 * gdb.cp/rvalue-ref-sizeof.cc: New file.
286 * gdb.cp/rvalue-ref-sizeof.exp: New file.
287 * gdb.cp/rvalue-ref-types.cc: New file.
288 * gdb.cp/rvalue-ref-types.exp: New file.
289 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
290 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
291
51457a05
MAL
2922017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
293
294 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
295 New procedure.
296
5b291c04
MAL
2972017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
298
299 * lib/mi-support.exp (mi_gdb_test): Add additional message
300 for unexpected output.
301
59a56148
AA
3022017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
303
304 * gdb.base/examine-backward.c (Barrier): New character array
305 constant, to ensure that TestStrings is preceded by a string
306 terminator.
307
7942e96e
AA
3082017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
309
310 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
311 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
312 and implicit pointer into such a location.
313
6ebac3fb
DE
3142017-03-16 Doug Evans <dje@google.com>
315
316 * gdb.python/py-lazy-string (pointer): Really add new typedef.
317
ec3b243d
TP
3182017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
319
320 * gdb.cp/m-static.exp: Fix expectation for prototype of
321 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
322
3232017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
324
325 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
326 * gdb.guile/scm-lazy-string.c: New file.
327 * gdb.guile/scm-value.exp: Move lazy string tests to ...
328 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
329 for pointer, array, typedef lazy strings.
330
2cc36e25 3312017-03-16 Doug Evans <dje@google.com>
34b43320
DE
332
333 PR python/17728, python/18439, python/18779
334 * gdb.python/py-value.c (main) Delete locals sptr, sn.
335 * gdb.python/py-lazy-string.c (pointer): New typedef.
336 (main): New locals ptr, array, typedef_ptr.
337 * gdb.python/py-value.exp: Move lazy string tests to ...
338 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
339 array, typedef lazy strings.
ec3b243d 340
0efcde63
AK
3412017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
342
343 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
344 Add optional 'test' parameter.
345
7978d7c3
SM
3462017-03-13 Simon Marchi <simon.marchi@ericsson.com>
347
348 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
349 Skip for versions of DejaGnu < 1.5.
350
896c0c1e
SM
3512017-03-13 Simon Marchi <simon.marchi@ericsson.com>
352
353 * lib/gdb.exp (dejagnu_version): New proc.
354 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
355 Use dejagnu_version.
356
5f4d1085
KS
3572017-03-10 Keith Seitz <keiths@redhat.com>
358
359 PR c++/8128
360 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
361 type from destructor regexps.
362 Add a branch which actually passes the test.
363 Adjust "ptype t5i" test names.
364
1de05205
PA
3652017-03-08 Pedro Alves <palves@redhat.com>
366
367 * gdb.base/step-over-exit.exp: Add explicit test message.
368
c65d6b55
PA
3692017-03-08 Pedro Alves <palves@redhat.com>
370
371 PR gdb/18360
372 * gdb.threads/interrupt-while-step-over.c: New file.
373 * gdb.threads/interrupt-while-step-over.exp: New file.
374
2e86a283
PA
3752017-03-08 Pedro Alves <palves@redhat.com>
376
377 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
378 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
379
25dcbff6
PA
3802017-03-08 Pedro Alves <palves@redhat.com>
381
382 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
383 PKRU as not supported as a PASS.
384
dc9366eb
PA
3852017-03-08 Pedro Alves <palves@redhat.com>
386
387 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
388 prefix instead of $binfile1/$binfile2.
389 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
390 in test message.
391 * gdb.python/py-completion.exp: Use "load python file" as test
392 messages instead of unstable path names.
393
6e5d74e7
PA
3942017-03-08 Pedro Alves <palves@redhat.com>
395 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 PR cli/21218
398 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
399 New proc.
400 (top level): Call it.
401
9753a2f6
PA
4022017-03-08 Pedro Alves <palves@redhat.com>
403
404 PR tui/21216
405 * gdb.tui/tui-nl-filtered-output.exp: New file.
406
1a4dd9dd
PA
4072017-03-08 Pedro Alves <palves@redhat.com>
408
409 * gdb.base/completion.exp: Move TUI completion tests to ...
410 * gdb.tui/completion.exp: ... this new file.
411
7cbbff33
PA
4122017-03-08 Pedro Alves <palves@redhat.com>
413
414 * gdb.base/tui-disasm-long-lines.c,
415 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
416 gdb.base/tui-layout.exp: Move to ...
417 * gdb.tui/: ... this new directory.
418
5f6fd321
PA
4192017-03-07 Pedro Alves <palves@redhat.com>
420
421 * gdb.base/tui-layout.c: New file.
422 * gdb.base/tui-layout.exp: New file.
423
44959fa8
PA
4242017-03-07 Pedro Alves <palves@redhat.com>
425
426 * gdb.base/tui-layout.c: Rename to ...
427 * gdb.base/tui-disasm-long-lines.c: ... this.
428 * gdb.base/tui-layout.exp: Rename to ...
429 * gdb.base/tui-disasm-long-lines.exp: ... this.
430
f8c4e718
PA
4312017-03-07 Pedro Alves <palves@redhat.com>
432
433 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
434
6dbb839a 4352017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
436
437 * i386-mpx-call.c: New file.
438 * i386-mpx-call.exp: New file.
439
65b48a81
PB
4402017-02-28 Peter Bergner <bergner@vnet.ibm.com>
441
442 * gdb.arch/powerpc-power.exp: Delete test.
443 * gdb.arch/powerpc-power.s: Likewise.
444 * gdb.disasm/disassembler-options.exp: New test.
445 * gdb.arch/powerpc-altivec.exp: Likewise.
446 * gdb.arch/powerpc-altivec.s: Likewise.
447 * gdb.arch/powerpc-altivec2.exp: Likewise.
448 * gdb.arch/powerpc-altivec2.s: Likewise.
449 * gdb.arch/powerpc-altivec3.exp: Likewise.
450 * gdb.arch/powerpc-altivec3.s: Likewise.
451 * gdb.arch/powerpc-power7.exp: Likewise.
452 * gdb.arch/powerpc-power7.s: Likewise.
453 * gdb.arch/powerpc-power8.exp: Likewise.
454 * gdb.arch/powerpc-power8.s: Likewise.
455 * gdb.arch/powerpc-power9.exp: Likewise.
456 * gdb.arch/powerpc-power9.s: Likewise.
457 * gdb.arch/powerpc-vsx.exp: Likewise.
458 * gdb.arch/powerpc-vsx.s: Likewise.
459 * gdb.arch/powerpc-vsx2.exp: Likewise.
460 * gdb.arch/powerpc-vsx2.s: Likewise.
461 * gdb.arch/powerpc-vsx3.exp: Likewise.
462 * gdb.arch/powerpc-vsx3.s: Likewise.
463 * gdb.arch/arm-disassembler-options.exp: Likewise.
464 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
465 * gdb.arch/s390-disassembler-options.exp: Likewise.
466
17cd4947
LM
4672017-02-23 Luis Machado <lgustavo@codesourcery.com>
468
469 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
470 (check_supported_features): ... this. Changed return type to void.
471 (supports_rdseed): New static global.
472 (rdseed): Check supports_rdseed.
473 (initialize): Call check_supported_features.
474
2039d74e
EBM
4752017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
476
477 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
478 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
479 and lqarx/stqcx.
480 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
481 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
482
a51d7ecf
EBM
4832017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
484
485 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
486 uppercase.
487
0224619f
JK
4882017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
489
490 * gdb.dwarf2/formdata16.c: New file.
491 * gdb.dwarf2/formdata16.exp: New file.
492 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
493
216f72a1
JK
4942017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
495
496 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
497 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
498 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
499 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
500 DW_AT_GNU_*.
501
43988095
JK
5022017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
503
504 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
505
99e8a4f9
SDJ
5062017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
507
508 PR gdb/21164
509 * gdb.base/maint.exp: Add testcases for when the commands do
510 not have arguments.
511
b58a8c0c
TP
5122017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
513
514 * gdb.cp/chained-calls.exp: Use p instead of P.
515
4e746bb6
TW
5162017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
517
518 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
519 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
520
3f77c769
TT
5212017-02-14 Tom Tromey <tom@tromey.com>
522
523 PR python/13598:
524 * gdb.python/py-events.exp: Add before_prompt event tests.
525
075beec0
AA
5262017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
527
528 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
529
bf5f525c
LM
5302017-02-13 Luis Machado <lgustavo@codesourcery.com>
531
532 * gdb.linespec/explicit.c (my_unique_function_name): New function.
533 (main): Call my_unique_function_name.
534 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
535 completion of patterns with a single match.
536 Add missing -re switches to gdb_test_multiple calls.
537
13a66184
LM
5382017-02-13 Luis Machado <lgustavo@codesourcery.com>
539
540 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
541 return if core file is not recognized.
542
26a06916
SM
5432017-02-10 Simon Marchi <simon.marchi@ericsson.com>
544
545 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
546 and extra UIs.
547
b761ca9e
SM
5482017-02-10 Simon Marchi <simon.marchi@ericsson.com>
549
550 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
551 proc_with_prefix.
552
b964bee0
TT
5532017-02-10 Tom Tromey <tom@tromey.com>
554
555 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
556
18da0c51
MG
5572017-02-10 Martin Galvan <martingalvan@sourceware.org>
558
559 PR gdb/21122
560 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
561
604c4576
JG
5622017-02-08 Jerome Guitton <guitton@adacore.com>
563
564 * gdb.base/define.exp: Add test for command abbreviations
565 in define.
566
20b477a7
LM
5672017-02-06 Luis Machado <lgustavo@codesourcery.com>
568
569 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
570 * gdb.reverse/insn-reverse-x86.c: New file.
571
3f7b46f2
IR
5722017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
573
574 PR tdep/20936
575 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
576
f0fd41c1
TT
5772017-02-03 Tom Tromey <tom@tromey.com>
578
579 PR rust/21097:
580 * gdb.rust/simple.exp: Add new tests.
581
5be5dbf0
PA
5822017-02-02 Pedro Alves <palves@redhat.com>
583
584 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
585 tests.
586
7346ef59
AA
5872017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
588
589 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
590 taking a 2-byte value out of a 4-byte DWARF implicit value on
591 big-endian targets.
592 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
593 logic. Add test cases for DW_OP_implicit.
594
787f0025
MM
5952017-02-01 Markus Metzger <markus.t.metzger@intel.com>
596
597 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
598
68777c29
MM
5992017-02-01 Markus Metzger <markus.t.metzger@intel.com>
600
601 * gdb.btrace/enable.exp: Call gdb_exit before
602 skip_gdbserver_tests.
603
0a1c7e28
MM
6042017-02-01 Markus Metzger <markus.t.metzger@intel.com>
605
606 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
607 GDBFLAGS.
608
b5ac99b0
MM
6092017-02-01 Markus Metzger <markus.t.metzger@intel.com>
610
611 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
612 the test is skipped.
613 * gdb.btrace/data.exp: Likewise.
614 * gdb.btrace/delta.exp: Likewise.
615 * gdb.btrace/dlopen.exp: Likewise.
616 * gdb.btrace/enable-running.exp: Likewise.
617 * gdb.btrace/enable.exp: Likewise.
618 * gdb.btrace/exception.exp: Likewise.
619 * gdb.btrace/function_call_history.exp: Likewise.
620 * gdb.btrace/gcore.exp: Likewise.
621 * gdb.btrace/instruction_history.exp: Likewise.
622 * gdb.btrace/multi-thread-step.exp: Likewise.
623 * gdb.btrace/nohist.exp: Likewise.
624 * gdb.btrace/non-stop.exp: Likewise.
625 * gdb.btrace/reconnect.exp: Likewise.
626 * gdb.btrace/record_goto-step.exp: Likewise.
627 * gdb.btrace/record_goto.exp: Likewise.
628 * gdb.btrace/rn-dl-bind.exp: Likewise.
629 * gdb.btrace/segv.exp: Likewise.
630 * gdb.btrace/step.exp: Likewise.
631 * gdb.btrace/stepi.exp: Likewise.
632 * gdb.btrace/tailcall-only.exp: Likewise.
633 * gdb.btrace/tailcall.exp: Likewise.
634 * gdb.btrace/tsx.exp: Likewise.
635 * gdb.btrace/unknown_functions.exp: Likewise.
636 * gdb.btrace/vdso.exp: Likewise.
637
cd4007e4
MM
6382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
639
640 * gdb.btrace/enable-running.c: New.
641 * gdb.btrace/enable-running.exp: New.
642
2735833d
WT
6432017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
644
645 * gdb.arch/amd64-gs_base.c: New file.
646 * gdb.arch/amd64-gs_base.exp: New file.
647
b51e1e94
LM
6482017-01-26 Luis Machado <lgustavo@codesourcery.com>
649
650 * lib/memory.exp: Remove spurious empty newlines.
651
72ca0410
SM
6522017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
653
654 * gdb.python/py-bad-printers.exp: Load python file using "source".
655 * gdb.python/py-events.exp: Likewise.
656 * gdb.python/py-evsignal.exp: Likewise.
657 * gdb.python/py-evthreads.exp: Likewise.
658 * gdb.python/py-frame-args.exp: Likewise.
659 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
660 * gdb.python/py-framefilter-mi.exp: Likewise.
661 * gdb.python/py-framefilter.exp: Likewise.
662 * gdb.python/py-mi.exp: Likewise.
663 * gdb.python/py-pp-maint.exp: Likewise.
664 * gdb.python/py-pp-registration.exp: Likewise.
665 * gdb.python/py-prettyprint.exp: Likewise.
666 (run_lang_tests): Likewise.
667 * gdb.python/py-typeprint.exp: Likewise.
668
e309aa65
LM
6692017-01-26 Luis Machado <lgustavo@codesourcery.com>
670
671 * lib/memory.exp: New file.
672 * lib/gdb.exp: Load memory.exp.
673 * gdb.base/memattr.exp (delete_memory): Move proc to
674 lib/memory.exp and rename to delete_memory_regions.
675 Replace delete_memory with delete_memory_regions.
676 Cleanup memory regions before tests.
677 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
678 before tests.
679
515aff23
LM
6802017-01-26 Luis Machado <lgustavo@codesourcery.com>
681
682 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
683 files.
684 (initialize): New function conditionally defined.
685 (testcases): Move within conditional block.
686 (main): Call initialize.
687 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
688 of gdb.reverse/insn-reverse.c.
689 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
690 gdb.reverse/insn-reverse.c.
691
d8b49cf0
YQ
6922017-01-26 Yao Qi <yao.qi@linaro.org>
693
694 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
695 disassemble on address 0.
696
f13a9a0c
YQ
6972017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
698 Yao Qi <yao.qi@linaro.org>
699
700 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
701 * gdb.dwarf2/implptr-64bit.S: Remove.
702 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
703 variables in caller's context. Add DW_OP_implicit_value.
704
5ac95241
YQ
7052017-01-25 Yao Qi <yao.qi@linaro.org>
706
707 * lib/dwarf.exp (Dwarf::_location): Handle
708 DW_OP_GNU_implicit_pointer with proper size.
709
23e82930
LM
7102017-01-20 Luis Machado <lgustavo@codesourcery.com>
711
712 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
713 and add untested calls.
714
d334ae25
LM
7152017-01-20 Luis Machado <lgustavo@codesourcery.com>
716
717 * gdb.python/python.exp: Check line number against what GDB thinks
718 the line number is for func1.
719
f5e6296e
IB
7202017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
721
722 * gdb.dlang/debug-expr.exp: New file.
723
5b362f04
LM
7242016-12-23 Luis Machado <lgustavo@codesourcery.com>
725
726 Fix test names for the following files:
727
728 * gdb.ada/exec_changed.exp
729 * gdb.ada/info_types.exp
730 * gdb.arch/aarch64-atomic-inst.exp
731 * gdb.arch/aarch64-fp.exp
732 * gdb.arch/altivec-abi.exp
733 * gdb.arch/altivec-regs.exp
734 * gdb.arch/amd64-byte.exp
735 * gdb.arch/amd64-disp-step.exp
736 * gdb.arch/amd64-dword.exp
737 * gdb.arch/amd64-entry-value-inline.exp
738 * gdb.arch/amd64-entry-value-param.exp
739 * gdb.arch/amd64-entry-value-paramref.exp
740 * gdb.arch/amd64-entry-value.exp
741 * gdb.arch/amd64-i386-address.exp
742 * gdb.arch/amd64-invalid-stack-middle.exp
743 * gdb.arch/amd64-invalid-stack-top.exp
744 * gdb.arch/amd64-optimout-repeat.exp
745 * gdb.arch/amd64-prologue-skip.exp
746 * gdb.arch/amd64-prologue-xmm.exp
747 * gdb.arch/amd64-stap-special-operands.exp
748 * gdb.arch/amd64-stap-wrong-subexp.exp
749 * gdb.arch/amd64-tailcall-cxx.exp
750 * gdb.arch/amd64-tailcall-noret.exp
751 * gdb.arch/amd64-tailcall-ret.exp
752 * gdb.arch/amd64-tailcall-self.exp
753 * gdb.arch/amd64-word.exp
754 * gdb.arch/arm-bl-branch-dest.exp
755 * gdb.arch/arm-disp-step.exp
756 * gdb.arch/arm-neon.exp
757 * gdb.arch/arm-single-step-kernel-helper.exp
758 * gdb.arch/avr-flash-qualifier.exp
759 * gdb.arch/disp-step-insn-reloc.exp
760 * gdb.arch/e500-abi.exp
761 * gdb.arch/e500-regs.exp
762 * gdb.arch/ftrace-insn-reloc.exp
763 * gdb.arch/i386-avx512.exp
764 * gdb.arch/i386-bp_permanent.exp
765 * gdb.arch/i386-byte.exp
766 * gdb.arch/i386-cfi-notcurrent.exp
767 * gdb.arch/i386-disp-step.exp
768 * gdb.arch/i386-dr3-watch.exp
769 * gdb.arch/i386-float.exp
770 * gdb.arch/i386-gnu-cfi.exp
771 * gdb.arch/i386-mpx-map.exp
772 * gdb.arch/i386-mpx-sigsegv.exp
773 * gdb.arch/i386-mpx-simple_segv.exp
774 * gdb.arch/i386-mpx.exp
775 * gdb.arch/i386-permbkpt.exp
776 * gdb.arch/i386-prologue.exp
777 * gdb.arch/i386-signal.exp
778 * gdb.arch/i386-size-overlap.exp
779 * gdb.arch/i386-unwind.exp
780 * gdb.arch/i386-word.exp
781 * gdb.arch/mips-fcr.exp
782 * gdb.arch/powerpc-d128-regs.exp
783 * gdb.arch/powerpc-stackless.exp
784 * gdb.arch/ppc64-atomic-inst.exp
785 * gdb.arch/s390-stackless.exp
786 * gdb.arch/s390-tdbregs.exp
787 * gdb.arch/s390-vregs.exp
788 * gdb.arch/sparc-sysstep.exp
789 * gdb.arch/thumb-bx-pc.exp
790 * gdb.arch/thumb-singlestep.exp
791 * gdb.arch/thumb2-it.exp
792 * gdb.arch/vsx-regs.exp
793 * gdb.asm/asm-source.exp
794 * gdb.base/a2-run.exp
795 * gdb.base/advance.exp
796 * gdb.base/all-bin.exp
797 * gdb.base/anon.exp
798 * gdb.base/args.exp
799 * gdb.base/arithmet.exp
800 * gdb.base/async-shell.exp
801 * gdb.base/async.exp
802 * gdb.base/attach-pie-noexec.exp
803 * gdb.base/attach-twice.exp
804 * gdb.base/auto-load.exp
805 * gdb.base/bang.exp
806 * gdb.base/bitfields.exp
807 * gdb.base/break-always.exp
808 * gdb.base/break-caller-line.exp
809 * gdb.base/break-entry.exp
810 * gdb.base/break-inline.exp
811 * gdb.base/break-on-linker-gcd-function.exp
812 * gdb.base/break-probes.exp
813 * gdb.base/break.exp
814 * gdb.base/breakpoint-shadow.exp
815 * gdb.base/call-ar-st.exp
816 * gdb.base/call-sc.exp
817 * gdb.base/call-signal-resume.exp
818 * gdb.base/call-strs.exp
819 * gdb.base/callfuncs.exp
820 * gdb.base/catch-fork-static.exp
821 * gdb.base/catch-gdb-caused-signals.exp
822 * gdb.base/catch-load.exp
823 * gdb.base/catch-signal-fork.exp
824 * gdb.base/catch-signal.exp
825 * gdb.base/catch-syscall.exp
826 * gdb.base/charset.exp
827 * gdb.base/checkpoint.exp
828 * gdb.base/chng-syms.exp
829 * gdb.base/code-expr.exp
830 * gdb.base/code_elim.exp
831 * gdb.base/commands.exp
832 * gdb.base/completion.exp
833 * gdb.base/complex.exp
834 * gdb.base/cond-expr.exp
835 * gdb.base/condbreak.exp
836 * gdb.base/consecutive.exp
837 * gdb.base/continue-all-already-running.exp
838 * gdb.base/coredump-filter.exp
839 * gdb.base/corefile.exp
840 * gdb.base/dbx.exp
841 * gdb.base/debug-expr.exp
842 * gdb.base/define.exp
843 * gdb.base/del.exp
844 * gdb.base/disabled-location.exp
845 * gdb.base/disasm-end-cu.exp
846 * gdb.base/disasm-optim.exp
847 * gdb.base/display.exp
848 * gdb.base/duplicate-bp.exp
849 * gdb.base/ena-dis-br.exp
850 * gdb.base/ending-run.exp
851 * gdb.base/enumval.exp
852 * gdb.base/environ.exp
853 * gdb.base/eu-strip-infcall.exp
854 * gdb.base/eval-avoid-side-effects.exp
855 * gdb.base/eval-skip.exp
856 * gdb.base/exitsignal.exp
857 * gdb.base/expand-psymtabs.exp
858 * gdb.base/filesym.exp
859 * gdb.base/find-unmapped.exp
860 * gdb.base/finish.exp
861 * gdb.base/float.exp
862 * gdb.base/foll-exec-mode.exp
863 * gdb.base/foll-exec.exp
864 * gdb.base/foll-fork.exp
865 * gdb.base/fortran-sym-case.exp
866 * gdb.base/freebpcmd.exp
867 * gdb.base/func-ptr.exp
868 * gdb.base/func-ptrs.exp
869 * gdb.base/funcargs.exp
870 * gdb.base/gcore-buffer-overflow.exp
871 * gdb.base/gcore-relro-pie.exp
872 * gdb.base/gcore-relro.exp
873 * gdb.base/gcore.exp
874 * gdb.base/gdb1090.exp
875 * gdb.base/gdb11530.exp
876 * gdb.base/gdb11531.exp
877 * gdb.base/gdb1821.exp
878 * gdb.base/gdbindex-stabs.exp
879 * gdb.base/gdbvars.exp
880 * gdb.base/hbreak.exp
881 * gdb.base/hbreak2.exp
882 * gdb.base/included.exp
883 * gdb.base/infcall-input.exp
884 * gdb.base/inferior-died.exp
885 * gdb.base/infnan.exp
886 * gdb.base/info-macros.exp
887 * gdb.base/info-os.exp
888 * gdb.base/info-proc.exp
889 * gdb.base/info-shared.exp
890 * gdb.base/info-target.exp
891 * gdb.base/infoline.exp
892 * gdb.base/interp.exp
893 * gdb.base/interrupt.exp
894 * gdb.base/jit-reader.exp
895 * gdb.base/jit-simple.exp
896 * gdb.base/kill-after-signal.exp
897 * gdb.base/kill-detach-inferiors-cmd.exp
898 * gdb.base/label.exp
899 * gdb.base/langs.exp
900 * gdb.base/ldbl_e308.exp
901 * gdb.base/line-symtabs.exp
902 * gdb.base/linespecs.exp
903 * gdb.base/list.exp
904 * gdb.base/long_long.exp
905 * gdb.base/longest-types.exp
906 * gdb.base/maint.exp
907 * gdb.base/max-value-size.exp
908 * gdb.base/memattr.exp
909 * gdb.base/mips_pro.exp
910 * gdb.base/morestack.exp
911 * gdb.base/moribund-step.exp
912 * gdb.base/multi-forks.exp
913 * gdb.base/nested-addr.exp
914 * gdb.base/nextoverexit.exp
915 * gdb.base/noreturn-finish.exp
916 * gdb.base/noreturn-return.exp
917 * gdb.base/nostdlib.exp
918 * gdb.base/offsets.exp
919 * gdb.base/opaque.exp
920 * gdb.base/pc-fp.exp
921 * gdb.base/permissions.exp
922 * gdb.base/print-symbol-loading.exp
923 * gdb.base/prologue-include.exp
924 * gdb.base/psymtab.exp
925 * gdb.base/ptype.exp
926 * gdb.base/random-signal.exp
927 * gdb.base/randomize.exp
928 * gdb.base/range-stepping.exp
929 * gdb.base/readline-ask.exp
930 * gdb.base/recpar.exp
931 * gdb.base/recurse.exp
932 * gdb.base/relational.exp
933 * gdb.base/restore.exp
934 * gdb.base/return-nodebug.exp
935 * gdb.base/return.exp
936 * gdb.base/run-after-attach.exp
937 * gdb.base/save-bp.exp
938 * gdb.base/scope.exp
939 * gdb.base/sect-cmd.exp
940 * gdb.base/set-lang-auto.exp
941 * gdb.base/set-noassign.exp
942 * gdb.base/setvar.exp
943 * gdb.base/sigall.exp
944 * gdb.base/sigbpt.exp
945 * gdb.base/siginfo-addr.exp
946 * gdb.base/siginfo-infcall.exp
947 * gdb.base/siginfo-obj.exp
948 * gdb.base/siginfo.exp
949 * gdb.base/signals-state-child.exp
950 * gdb.base/signest.exp
951 * gdb.base/sigstep.exp
952 * gdb.base/sizeof.exp
953 * gdb.base/skip.exp
954 * gdb.base/solib-corrupted.exp
955 * gdb.base/solib-nodir.exp
956 * gdb.base/solib-search.exp
957 * gdb.base/stack-checking.exp
958 * gdb.base/stale-infcall.exp
959 * gdb.base/stap-probe.exp
960 * gdb.base/start.exp
961 * gdb.base/step-break.exp
962 * gdb.base/step-bt.exp
963 * gdb.base/step-line.exp
964 * gdb.base/step-over-exit.exp
965 * gdb.base/step-over-syscall.exp
966 * gdb.base/step-resume-infcall.exp
967 * gdb.base/step-test.exp
968 * gdb.base/store.exp
969 * gdb.base/structs3.exp
970 * gdb.base/sym-file.exp
971 * gdb.base/symbol-without-target_section.exp
972 * gdb.base/term.exp
973 * gdb.base/testenv.exp
974 * gdb.base/ui-redirect.exp
975 * gdb.base/until.exp
976 * gdb.base/unwindonsignal.exp
977 * gdb.base/value-double-free.exp
978 * gdb.base/vla-datatypes.exp
979 * gdb.base/vla-ptr.exp
980 * gdb.base/vla-sideeffect.exp
981 * gdb.base/volatile.exp
982 * gdb.base/watch-cond-infcall.exp
983 * gdb.base/watch-cond.exp
984 * gdb.base/watch-non-mem.exp
985 * gdb.base/watch-read.exp
986 * gdb.base/watch-vfork.exp
987 * gdb.base/watchpoint-cond-gone.exp
988 * gdb.base/watchpoint-delete.exp
989 * gdb.base/watchpoint-hw-hit-once.exp
990 * gdb.base/watchpoint-hw.exp
991 * gdb.base/watchpoint-stops-at-right-insn.exp
992 * gdb.base/watchpoints.exp
993 * gdb.base/wchar.exp
994 * gdb.base/whatis-exp.exp
995 * gdb.btrace/buffer-size.exp
996 * gdb.btrace/data.exp
997 * gdb.btrace/delta.exp
998 * gdb.btrace/dlopen.exp
999 * gdb.btrace/enable.exp
1000 * gdb.btrace/exception.exp
1001 * gdb.btrace/function_call_history.exp
1002 * gdb.btrace/gcore.exp
1003 * gdb.btrace/instruction_history.exp
1004 * gdb.btrace/nohist.exp
1005 * gdb.btrace/reconnect.exp
1006 * gdb.btrace/record_goto-step.exp
1007 * gdb.btrace/record_goto.exp
1008 * gdb.btrace/rn-dl-bind.exp
1009 * gdb.btrace/segv.exp
1010 * gdb.btrace/step.exp
1011 * gdb.btrace/stepi.exp
1012 * gdb.btrace/tailcall-only.exp
1013 * gdb.btrace/tailcall.exp
1014 * gdb.btrace/tsx.exp
1015 * gdb.btrace/unknown_functions.exp
1016 * gdb.btrace/vdso.exp
1017 * gdb.compile/compile-ifunc.exp
1018 * gdb.compile/compile-ops.exp
1019 * gdb.compile/compile-print.exp
1020 * gdb.compile/compile-setjmp.exp
1021 * gdb.cp/abstract-origin.exp
1022 * gdb.cp/ambiguous.exp
1023 * gdb.cp/annota2.exp
1024 * gdb.cp/annota3.exp
1025 * gdb.cp/anon-ns.exp
1026 * gdb.cp/anon-struct.exp
1027 * gdb.cp/anon-union.exp
1028 * gdb.cp/arg-reference.exp
1029 * gdb.cp/baseenum.exp
1030 * gdb.cp/bool.exp
1031 * gdb.cp/breakpoint.exp
1032 * gdb.cp/bs15503.exp
1033 * gdb.cp/call-c.exp
1034 * gdb.cp/casts.exp
1035 * gdb.cp/chained-calls.exp
1036 * gdb.cp/class2.exp
1037 * gdb.cp/classes.exp
1038 * gdb.cp/cmpd-minsyms.exp
1039 * gdb.cp/converts.exp
1040 * gdb.cp/cp-relocate.exp
1041 * gdb.cp/cpcompletion.exp
1042 * gdb.cp/cpexprs.exp
1043 * gdb.cp/cplabel.exp
1044 * gdb.cp/cplusfuncs.exp
1045 * gdb.cp/cpsizeof.exp
1046 * gdb.cp/ctti.exp
1047 * gdb.cp/derivation.exp
1048 * gdb.cp/destrprint.exp
1049 * gdb.cp/dispcxx.exp
1050 * gdb.cp/enum-class.exp
1051 * gdb.cp/exception.exp
1052 * gdb.cp/exceptprint.exp
1053 * gdb.cp/expand-psymtabs-cxx.exp
1054 * gdb.cp/expand-sals.exp
1055 * gdb.cp/extern-c.exp
1056 * gdb.cp/filename.exp
1057 * gdb.cp/formatted-ref.exp
1058 * gdb.cp/fpointer.exp
1059 * gdb.cp/gdb1355.exp
1060 * gdb.cp/gdb2495.exp
1061 * gdb.cp/hang.exp
1062 * gdb.cp/impl-this.exp
1063 * gdb.cp/infcall-dlopen.exp
1064 * gdb.cp/inherit.exp
1065 * gdb.cp/iostream.exp
1066 * gdb.cp/koenig.exp
1067 * gdb.cp/local.exp
1068 * gdb.cp/m-data.exp
1069 * gdb.cp/m-static.exp
1070 * gdb.cp/mb-ctor.exp
1071 * gdb.cp/mb-inline.exp
1072 * gdb.cp/mb-templates.exp
1073 * gdb.cp/member-name.exp
1074 * gdb.cp/member-ptr.exp
1075 * gdb.cp/meth-typedefs.exp
1076 * gdb.cp/method.exp
1077 * gdb.cp/method2.exp
1078 * gdb.cp/minsym-fallback.exp
1079 * gdb.cp/misc.exp
1080 * gdb.cp/namelessclass.exp
1081 * gdb.cp/namespace-enum.exp
1082 * gdb.cp/namespace-nested-import.exp
1083 * gdb.cp/namespace.exp
1084 * gdb.cp/nextoverthrow.exp
1085 * gdb.cp/no-dmgl-verbose.exp
1086 * gdb.cp/non-trivial-retval.exp
1087 * gdb.cp/noparam.exp
1088 * gdb.cp/nsdecl.exp
1089 * gdb.cp/nsimport.exp
1090 * gdb.cp/nsnested.exp
1091 * gdb.cp/nsnoimports.exp
1092 * gdb.cp/nsrecurs.exp
1093 * gdb.cp/nsstress.exp
1094 * gdb.cp/nsusing.exp
1095 * gdb.cp/operator.exp
1096 * gdb.cp/oranking.exp
1097 * gdb.cp/overload-const.exp
1098 * gdb.cp/overload.exp
1099 * gdb.cp/ovldbreak.exp
1100 * gdb.cp/ovsrch.exp
1101 * gdb.cp/paren-type.exp
1102 * gdb.cp/parse-lang.exp
1103 * gdb.cp/pass-by-ref.exp
1104 * gdb.cp/pr-1023.exp
1105 * gdb.cp/pr-1210.exp
1106 * gdb.cp/pr-574.exp
1107 * gdb.cp/pr10687.exp
1108 * gdb.cp/pr12028.exp
1109 * gdb.cp/pr17132.exp
1110 * gdb.cp/pr17494.exp
1111 * gdb.cp/pr9067.exp
1112 * gdb.cp/pr9167.exp
1113 * gdb.cp/pr9631.exp
1114 * gdb.cp/printmethod.exp
1115 * gdb.cp/psmang.exp
1116 * gdb.cp/psymtab-parameter.exp
1117 * gdb.cp/ptype-cv-cp.exp
1118 * gdb.cp/ptype-flags.exp
1119 * gdb.cp/re-set-overloaded.exp
1120 * gdb.cp/ref-types.exp
1121 * gdb.cp/rtti.exp
1122 * gdb.cp/scope-err.exp
1123 * gdb.cp/shadow.exp
1124 * gdb.cp/smartp.exp
1125 * gdb.cp/static-method.exp
1126 * gdb.cp/static-print-quit.exp
1127 * gdb.cp/temargs.exp
1128 * gdb.cp/templates.exp
1129 * gdb.cp/try_catch.exp
1130 * gdb.cp/typedef-operator.exp
1131 * gdb.cp/typeid.exp
1132 * gdb.cp/userdef.exp
1133 * gdb.cp/using-crash.exp
1134 * gdb.cp/var-tag.exp
1135 * gdb.cp/virtbase.exp
1136 * gdb.cp/virtfunc.exp
1137 * gdb.cp/virtfunc2.exp
1138 * gdb.cp/vla-cxx.exp
1139 * gdb.disasm/t01_mov.exp
1140 * gdb.disasm/t02_mova.exp
1141 * gdb.disasm/t03_add.exp
1142 * gdb.disasm/t04_sub.exp
1143 * gdb.disasm/t05_cmp.exp
1144 * gdb.disasm/t06_ari2.exp
1145 * gdb.disasm/t07_ari3.exp
1146 * gdb.disasm/t08_or.exp
1147 * gdb.disasm/t09_xor.exp
1148 * gdb.disasm/t10_and.exp
1149 * gdb.disasm/t11_logs.exp
1150 * gdb.disasm/t12_bit.exp
1151 * gdb.disasm/t13_otr.exp
1152 * gdb.dlang/circular.exp
1153 * gdb.dwarf2/arr-stride.exp
1154 * gdb.dwarf2/arr-subrange.exp
1155 * gdb.dwarf2/atomic-type.exp
1156 * gdb.dwarf2/bad-regnum.exp
1157 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1158 * gdb.dwarf2/callframecfa.exp
1159 * gdb.dwarf2/clztest.exp
1160 * gdb.dwarf2/corrupt.exp
1161 * gdb.dwarf2/data-loc.exp
1162 * gdb.dwarf2/dup-psym.exp
1163 * gdb.dwarf2/dw2-anon-mptr.exp
1164 * gdb.dwarf2/dw2-anonymous-func.exp
1165 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1166 * gdb.dwarf2/dw2-bad-unresolved.exp
1167 * gdb.dwarf2/dw2-basic.exp
1168 * gdb.dwarf2/dw2-canonicalize-type.exp
1169 * gdb.dwarf2/dw2-case-insensitive.exp
1170 * gdb.dwarf2/dw2-common-block.exp
1171 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1172 * gdb.dwarf2/dw2-compressed.exp
1173 * gdb.dwarf2/dw2-const.exp
1174 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1175 * gdb.dwarf2/dw2-cu-size.exp
1176 * gdb.dwarf2/dw2-dup-frame.exp
1177 * gdb.dwarf2/dw2-entry-value.exp
1178 * gdb.dwarf2/dw2-icycle.exp
1179 * gdb.dwarf2/dw2-ifort-parameter.exp
1180 * gdb.dwarf2/dw2-inline-break.exp
1181 * gdb.dwarf2/dw2-inline-param.exp
1182 * gdb.dwarf2/dw2-intercu.exp
1183 * gdb.dwarf2/dw2-intermix.exp
1184 * gdb.dwarf2/dw2-lexical-block-bare.exp
1185 * gdb.dwarf2/dw2-linkage-name-trust.exp
1186 * gdb.dwarf2/dw2-minsym-in-cu.exp
1187 * gdb.dwarf2/dw2-noloc.exp
1188 * gdb.dwarf2/dw2-op-call.exp
1189 * gdb.dwarf2/dw2-op-out-param.exp
1190 * gdb.dwarf2/dw2-opt-structptr.exp
1191 * gdb.dwarf2/dw2-param-error.exp
1192 * gdb.dwarf2/dw2-producer.exp
1193 * gdb.dwarf2/dw2-ranges-base.exp
1194 * gdb.dwarf2/dw2-ref-missing-frame.exp
1195 * gdb.dwarf2/dw2-reg-undefined.exp
1196 * gdb.dwarf2/dw2-regno-invalid.exp
1197 * gdb.dwarf2/dw2-restore.exp
1198 * gdb.dwarf2/dw2-restrict.exp
1199 * gdb.dwarf2/dw2-single-line-discriminators.exp
1200 * gdb.dwarf2/dw2-strp.exp
1201 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1202 * gdb.dwarf2/dw2-unresolved.exp
1203 * gdb.dwarf2/dw2-var-zero-addr.exp
1204 * gdb.dwarf2/dw4-sig-types.exp
1205 * gdb.dwarf2/dwz.exp
1206 * gdb.dwarf2/dynarr-ptr.exp
1207 * gdb.dwarf2/enum-type.exp
1208 * gdb.dwarf2/gdb-index.exp
1209 * gdb.dwarf2/implptr-64bit.exp
1210 * gdb.dwarf2/implptr-optimized-out.exp
1211 * gdb.dwarf2/implptr.exp
1212 * gdb.dwarf2/implref-array.exp
1213 * gdb.dwarf2/implref-const.exp
1214 * gdb.dwarf2/implref-global.exp
1215 * gdb.dwarf2/implref-struct.exp
1216 * gdb.dwarf2/mac-fileno.exp
1217 * gdb.dwarf2/main-subprogram.exp
1218 * gdb.dwarf2/member-ptr-forwardref.exp
1219 * gdb.dwarf2/method-ptr.exp
1220 * gdb.dwarf2/missing-sig-type.exp
1221 * gdb.dwarf2/nonvar-access.exp
1222 * gdb.dwarf2/opaque-type-lookup.exp
1223 * gdb.dwarf2/pieces-optimized-out.exp
1224 * gdb.dwarf2/pieces.exp
1225 * gdb.dwarf2/pr10770.exp
1226 * gdb.dwarf2/pr13961.exp
1227 * gdb.dwarf2/staticvirtual.exp
1228 * gdb.dwarf2/subrange.exp
1229 * gdb.dwarf2/symtab-producer.exp
1230 * gdb.dwarf2/trace-crash.exp
1231 * gdb.dwarf2/typeddwarf.exp
1232 * gdb.dwarf2/valop.exp
1233 * gdb.dwarf2/watch-notconst.exp
1234 * gdb.fortran/array-element.exp
1235 * gdb.fortran/charset.exp
1236 * gdb.fortran/common-block.exp
1237 * gdb.fortran/complex.exp
1238 * gdb.fortran/derived-type-function.exp
1239 * gdb.fortran/derived-type.exp
1240 * gdb.fortran/logical.exp
1241 * gdb.fortran/module.exp
1242 * gdb.fortran/multi-dim.exp
1243 * gdb.fortran/nested-funcs.exp
1244 * gdb.fortran/print-formatted.exp
1245 * gdb.fortran/subarray.exp
1246 * gdb.fortran/vla-alloc-assoc.exp
1247 * gdb.fortran/vla-datatypes.exp
1248 * gdb.fortran/vla-history.exp
1249 * gdb.fortran/vla-ptr-info.exp
1250 * gdb.fortran/vla-ptype-sub.exp
1251 * gdb.fortran/vla-ptype.exp
1252 * gdb.fortran/vla-sizeof.exp
1253 * gdb.fortran/vla-type.exp
1254 * gdb.fortran/vla-value-sub-arbitrary.exp
1255 * gdb.fortran/vla-value-sub-finish.exp
1256 * gdb.fortran/vla-value-sub.exp
1257 * gdb.fortran/vla-value.exp
1258 * gdb.fortran/whatis_type.exp
1259 * gdb.go/chan.exp
1260 * gdb.go/handcall.exp
1261 * gdb.go/hello.exp
1262 * gdb.go/integers.exp
1263 * gdb.go/methods.exp
1264 * gdb.go/package.exp
1265 * gdb.go/strings.exp
1266 * gdb.go/types.exp
1267 * gdb.go/unsafe.exp
1268 * gdb.guile/scm-arch.exp
1269 * gdb.guile/scm-block.exp
1270 * gdb.guile/scm-breakpoint.exp
1271 * gdb.guile/scm-cmd.exp
1272 * gdb.guile/scm-disasm.exp
1273 * gdb.guile/scm-equal.exp
1274 * gdb.guile/scm-frame-args.exp
1275 * gdb.guile/scm-frame-inline.exp
1276 * gdb.guile/scm-frame.exp
1277 * gdb.guile/scm-iterator.exp
1278 * gdb.guile/scm-math.exp
1279 * gdb.guile/scm-objfile.exp
1280 * gdb.guile/scm-ports.exp
1281 * gdb.guile/scm-symbol.exp
1282 * gdb.guile/scm-symtab.exp
1283 * gdb.guile/scm-value-cc.exp
1284 * gdb.guile/types-module.exp
1285 * gdb.linespec/break-ask.exp
1286 * gdb.linespec/cpexplicit.exp
1287 * gdb.linespec/explicit.exp
1288 * gdb.linespec/keywords.exp
1289 * gdb.linespec/linespec.exp
1290 * gdb.linespec/ls-dollar.exp
1291 * gdb.linespec/ls-errs.exp
1292 * gdb.linespec/skip-two.exp
1293 * gdb.linespec/thread.exp
1294 * gdb.mi/mi-async.exp
1295 * gdb.mi/mi-basics.exp
1296 * gdb.mi/mi-break.exp
1297 * gdb.mi/mi-catch-load.exp
1298 * gdb.mi/mi-cli.exp
1299 * gdb.mi/mi-cmd-param-changed.exp
1300 * gdb.mi/mi-console.exp
1301 * gdb.mi/mi-detach.exp
1302 * gdb.mi/mi-disassemble.exp
1303 * gdb.mi/mi-eval.exp
1304 * gdb.mi/mi-file-transfer.exp
1305 * gdb.mi/mi-file.exp
1306 * gdb.mi/mi-fill-memory.exp
1307 * gdb.mi/mi-inheritance-syntax-error.exp
1308 * gdb.mi/mi-linespec-err-cp.exp
1309 * gdb.mi/mi-logging.exp
1310 * gdb.mi/mi-memory-changed.exp
1311 * gdb.mi/mi-read-memory.exp
1312 * gdb.mi/mi-record-changed.exp
1313 * gdb.mi/mi-reg-undefined.exp
1314 * gdb.mi/mi-regs.exp
1315 * gdb.mi/mi-return.exp
1316 * gdb.mi/mi-reverse.exp
1317 * gdb.mi/mi-simplerun.exp
1318 * gdb.mi/mi-solib.exp
1319 * gdb.mi/mi-stack.exp
1320 * gdb.mi/mi-stepi.exp
1321 * gdb.mi/mi-syn-frame.exp
1322 * gdb.mi/mi-until.exp
1323 * gdb.mi/mi-var-block.exp
1324 * gdb.mi/mi-var-child.exp
1325 * gdb.mi/mi-var-cmd.exp
1326 * gdb.mi/mi-var-cp.exp
1327 * gdb.mi/mi-var-display.exp
1328 * gdb.mi/mi-var-invalidate.exp
1329 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1330 * gdb.mi/mi-vla-fortran.exp
1331 * gdb.mi/mi-watch.exp
1332 * gdb.mi/mi2-var-child.exp
1333 * gdb.mi/user-selected-context-sync.exp
1334 * gdb.modula2/unbounded-array.exp
1335 * gdb.multi/dummy-frame-restore.exp
1336 * gdb.multi/multi-arch-exec.exp
1337 * gdb.multi/multi-arch.exp
1338 * gdb.multi/tids.exp
1339 * gdb.multi/watchpoint-multi.exp
1340 * gdb.opencl/callfuncs.exp
1341 * gdb.opencl/convs_casts.exp
1342 * gdb.opencl/datatypes.exp
1343 * gdb.opencl/operators.exp
1344 * gdb.opencl/vec_comps.exp
1345 * gdb.opt/clobbered-registers-O2.exp
1346 * gdb.opt/inline-break.exp
1347 * gdb.opt/inline-bt.exp
1348 * gdb.opt/inline-cmds.exp
1349 * gdb.opt/inline-locals.exp
1350 * gdb.pascal/case-insensitive-symbols.exp
1351 * gdb.pascal/floats.exp
1352 * gdb.pascal/gdb11492.exp
1353 * gdb.python/lib-types.exp
1354 * gdb.python/py-arch.exp
1355 * gdb.python/py-as-string.exp
1356 * gdb.python/py-bad-printers.exp
1357 * gdb.python/py-block.exp
1358 * gdb.python/py-breakpoint-create-fail.exp
1359 * gdb.python/py-breakpoint.exp
1360 * gdb.python/py-caller-is.exp
1361 * gdb.python/py-cmd.exp
1362 * gdb.python/py-explore-cc.exp
1363 * gdb.python/py-explore.exp
1364 * gdb.python/py-finish-breakpoint.exp
1365 * gdb.python/py-finish-breakpoint2.exp
1366 * gdb.python/py-frame-args.exp
1367 * gdb.python/py-frame-inline.exp
1368 * gdb.python/py-frame.exp
1369 * gdb.python/py-framefilter-mi.exp
1370 * gdb.python/py-infthread.exp
1371 * gdb.python/py-lazy-string.exp
1372 * gdb.python/py-linetable.exp
1373 * gdb.python/py-mi-events.exp
1374 * gdb.python/py-mi-objfile.exp
1375 * gdb.python/py-mi.exp
1376 * gdb.python/py-objfile.exp
1377 * gdb.python/py-pp-integral.exp
1378 * gdb.python/py-pp-maint.exp
1379 * gdb.python/py-pp-re-notag.exp
1380 * gdb.python/py-pp-registration.exp
1381 * gdb.python/py-recurse-unwind.exp
1382 * gdb.python/py-strfns.exp
1383 * gdb.python/py-symbol.exp
1384 * gdb.python/py-symtab.exp
1385 * gdb.python/py-sync-interp.exp
1386 * gdb.python/py-typeprint.exp
1387 * gdb.python/py-unwind-maint.exp
1388 * gdb.python/py-unwind.exp
1389 * gdb.python/py-value-cc.exp
1390 * gdb.python/py-xmethods.exp
1391 * gdb.reverse/amd64-tailcall-reverse.exp
1392 * gdb.reverse/break-precsave.exp
1393 * gdb.reverse/break-reverse.exp
1394 * gdb.reverse/consecutive-precsave.exp
1395 * gdb.reverse/consecutive-reverse.exp
1396 * gdb.reverse/finish-precsave.exp
1397 * gdb.reverse/finish-reverse-bkpt.exp
1398 * gdb.reverse/finish-reverse.exp
1399 * gdb.reverse/fstatat-reverse.exp
1400 * gdb.reverse/getresuid-reverse.exp
1401 * gdb.reverse/i386-precsave.exp
1402 * gdb.reverse/i386-reverse.exp
1403 * gdb.reverse/i386-sse-reverse.exp
1404 * gdb.reverse/i387-env-reverse.exp
1405 * gdb.reverse/i387-stack-reverse.exp
1406 * gdb.reverse/insn-reverse.exp
1407 * gdb.reverse/machinestate-precsave.exp
1408 * gdb.reverse/machinestate.exp
1409 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1410 * gdb.reverse/pipe-reverse.exp
1411 * gdb.reverse/readv-reverse.exp
1412 * gdb.reverse/recvmsg-reverse.exp
1413 * gdb.reverse/rerun-prec.exp
1414 * gdb.reverse/s390-mvcle.exp
1415 * gdb.reverse/step-precsave.exp
1416 * gdb.reverse/step-reverse.exp
1417 * gdb.reverse/time-reverse.exp
1418 * gdb.reverse/until-precsave.exp
1419 * gdb.reverse/until-reverse.exp
1420 * gdb.reverse/waitpid-reverse.exp
1421 * gdb.reverse/watch-precsave.exp
1422 * gdb.reverse/watch-reverse.exp
1423 * gdb.rust/generics.exp
1424 * gdb.rust/methods.exp
1425 * gdb.rust/modules.exp
1426 * gdb.rust/simple.exp
1427 * gdb.server/connect-with-no-symbol-file.exp
1428 * gdb.server/ext-attach.exp
1429 * gdb.server/ext-restart.exp
1430 * gdb.server/ext-wrapper.exp
1431 * gdb.server/file-transfer.exp
1432 * gdb.server/server-exec-info.exp
1433 * gdb.server/server-kill.exp
1434 * gdb.server/server-mon.exp
1435 * gdb.server/wrapper.exp
1436 * gdb.stabs/exclfwd.exp
1437 * gdb.stabs/gdb11479.exp
1438 * gdb.threads/clone-new-thread-event.exp
1439 * gdb.threads/corethreads.exp
1440 * gdb.threads/current-lwp-dead.exp
1441 * gdb.threads/dlopen-libpthread.exp
1442 * gdb.threads/gcore-thread.exp
1443 * gdb.threads/sigstep-threads.exp
1444 * gdb.threads/watchpoint-fork.exp
1445 * gdb.trace/actions-changed.exp
1446 * gdb.trace/backtrace.exp
1447 * gdb.trace/change-loc.exp
1448 * gdb.trace/circ.exp
1449 * gdb.trace/collection.exp
1450 * gdb.trace/disconnected-tracing.exp
1451 * gdb.trace/ftrace.exp
1452 * gdb.trace/mi-trace-frame-collected.exp
1453 * gdb.trace/mi-trace-unavailable.exp
1454 * gdb.trace/mi-traceframe-changed.exp
1455 * gdb.trace/mi-tsv-changed.exp
1456 * gdb.trace/no-attach-trace.exp
1457 * gdb.trace/passc-dyn.exp
1458 * gdb.trace/qtro.exp
1459 * gdb.trace/range-stepping.exp
1460 * gdb.trace/read-memory.exp
1461 * gdb.trace/save-trace.exp
1462 * gdb.trace/signal.exp
1463 * gdb.trace/status-stop.exp
1464 * gdb.trace/tfile.exp
1465 * gdb.trace/trace-break.exp
1466 * gdb.trace/trace-buffer-size.exp
1467 * gdb.trace/trace-condition.exp
1468 * gdb.trace/tracefile-pseudo-reg.exp
1469 * gdb.trace/tstatus.exp
1470 * gdb.trace/unavailable.exp
1471 * gdb.trace/while-dyn.exp
1472 * gdb.trace/while-stepping.exp
1473
34c41c68
DE
14742016-12-22 Doug Evans <xdje42@gmail.com>
1475
1476 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1477 and msymbols.
1478
16e69324
YQ
14792016-12-19 Yao Qi <yao.qi@linaro.org>
1480
1481 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1482 (test_with_self): Don't call do_steps_and_nexts, and remove
1483 code about stepping into xmalloc.
1484
f94f411b
YQ
14852016-12-09 Yao Qi <yao.qi@linaro.org>
1486
1487 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1488
14892016-12-09 Yao Qi <yao.qi@linaro.org>
1490
1491 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1492
f1b5deee
PA
14932016-12-09 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.base/all-architectures-0.exp: New file.
1496 * gdb.base/all-architectures-1.exp: New file.
1497 * gdb.base/all-architectures-2.exp: New file.
1498 * gdb.base/all-architectures-3.exp: New file.
1499 * gdb.base/all-architectures-4.exp: New file.
1500 * gdb.base/all-architectures-5.exp: New file.
1501 * gdb.base/all-architectures-6.exp: New file.
1502 * gdb.base/all-architectures-7.exp: New file.
1503 * gdb.base/all-architectures.exp.in: New file.
1504
364ca42e
YQ
15052016-12-09 Yao Qi <yao.qi@linaro.org>
1506
1507 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1508
107c2d62
LM
15092016-12-02 Luis Machado <lgustavo@codesourcery.com>
1510
1511 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1512 possible.
1513 Remove useless pattern-matching code.
1514
df3ee9ca
PA
15152016-12-02 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1518 procedure.
1519 (top level): Call it.
1520
ec835369
PA
15212016-12-02 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1524 New procedure.
1525 (top level): Call it.
1526
01770bbd
PA
15272016-12-02 Pedro Alves <palves@redhat.com>
1528
1529 PR cli/20559
1530 * gdb.base/commands.exp (user_defined_command_args_eval): New
1531 procedure.
1532 (top level): Call it.
1533
008459ea
LM
15342016-12-02 Luis Machado <lgustavo@codesourcery.com>
1535
1536 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1537 timeout handling.
1538
0c1b455e
TT
15392016-12-02 Tom Tromey <tom@tromey.com>
1540
1541 * gdb.dwarf2/main-subprogram.c: New file.
1542 * gdb.dwarf2/main-subprogram.exp: New file.
1543
018572b8
LM
15442016-12-01 Luis Machado <lgustavo@codesourcery.com>
1545
1546 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1547 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1548 gdb_test_no_output for a couple of cases.
1549 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1550
84c93cd5
LM
15512016-12-01 Luis Machado <lgustavo@codesourcery.com>
1552
1553 Fix test names and standardize compilation error messages throughout
1554 the following files:
1555
1556 * gdb.ada/start.exp
1557 * gdb.arch/alpha-step.exp
1558 * gdb.arch/e500-prologue.exp
1559 * gdb.arch/ftrace-insn-reloc.exp
1560 * gdb.arch/gdb1291.exp
1561 * gdb.arch/gdb1431.exp
1562 * gdb.arch/gdb1558.exp
1563 * gdb.arch/i386-dr3-watch.exp
1564 * gdb.arch/i386-sse-stack-align.exp
1565 * gdb.arch/ia64-breakpoint-shadow.exp
1566 * gdb.arch/pa-nullify.exp
1567 * gdb.arch/powerpc-aix-prologue.exp
1568 * gdb.arch/thumb-bx-pc.exp
1569 * gdb.base/annota1.exp
1570 * gdb.base/annota3.exp
1571 * gdb.base/arrayidx.exp
1572 * gdb.base/assign.exp
1573 * gdb.base/attach.exp
1574 * gdb.base/auxv.exp
1575 * gdb.base/bang.exp
1576 * gdb.base/bfp-test.exp
1577 * gdb.base/bigcore.exp
1578 * gdb.base/bitfields2.exp
1579 * gdb.base/break-fun-addr.exp
1580 * gdb.base/break-probes.exp
1581 * gdb.base/call-rt-st.exp
1582 * gdb.base/callexit.exp
1583 * gdb.base/catch-fork-kill.exp
1584 * gdb.base/charset.exp
1585 * gdb.base/checkpoint.exp
1586 * gdb.base/comprdebug.exp
1587 * gdb.base/constvars.exp
1588 * gdb.base/coredump-filter.exp
1589 * gdb.base/cursal.exp
1590 * gdb.base/cvexpr.exp
1591 * gdb.base/detach.exp
1592 * gdb.base/display.exp
1593 * gdb.base/dmsym.exp
1594 * gdb.base/dprintf-pending.exp
1595 * gdb.base/dso2dso.exp
1596 * gdb.base/dtrace-probe.exp
1597 * gdb.base/dump.exp
1598 * gdb.base/enum_cond.exp
1599 * gdb.base/exe-lock.exp
1600 * gdb.base/exec-invalid-sysroot.exp
1601 * gdb.base/execl-update-breakpoints.exp
1602 * gdb.base/exprs.exp
1603 * gdb.base/fileio.exp
1604 * gdb.base/find.exp
1605 * gdb.base/finish.exp
1606 * gdb.base/fixsection.exp
1607 * gdb.base/foll-vfork.exp
1608 * gdb.base/frame-args.exp
1609 * gdb.base/gcore.exp
1610 * gdb.base/gdb1250.exp
1611 * gdb.base/global-var-nested-by-dso.exp
1612 * gdb.base/gnu-ifunc.exp
1613 * gdb.base/hashline1.exp
1614 * gdb.base/hashline2.exp
1615 * gdb.base/hashline3.exp
1616 * gdb.base/hbreak-in-shr-unsupported.exp
1617 * gdb.base/huge.exp
1618 * gdb.base/infcall-input.exp
1619 * gdb.base/info-fun.exp
1620 * gdb.base/info-shared.exp
1621 * gdb.base/jit-simple.exp
1622 * gdb.base/jit-so.exp
1623 * gdb.base/jit.exp
1624 * gdb.base/jump.exp
1625 * gdb.base/label.exp
1626 * gdb.base/lineinc.exp
1627 * gdb.base/logical.exp
1628 * gdb.base/longjmp.exp
1629 * gdb.base/macscp.exp
1630 * gdb.base/miscexprs.exp
1631 * gdb.base/new-ui-echo.exp
1632 * gdb.base/new-ui-pending-input.exp
1633 * gdb.base/new-ui.exp
1634 * gdb.base/nodebug.exp
1635 * gdb.base/nofield.exp
1636 * gdb.base/offsets.exp
1637 * gdb.base/overlays.exp
1638 * gdb.base/pending.exp
1639 * gdb.base/pointers.exp
1640 * gdb.base/pr11022.exp
1641 * gdb.base/printcmds.exp
1642 * gdb.base/prologue.exp
1643 * gdb.base/ptr-typedef.exp
1644 * gdb.base/realname-expand.exp
1645 * gdb.base/relativedebug.exp
1646 * gdb.base/relocate.exp
1647 * gdb.base/remote.exp
1648 * gdb.base/reread.exp
1649 * gdb.base/return2.exp
1650 * gdb.base/savedregs.exp
1651 * gdb.base/sep.exp
1652 * gdb.base/sepdebug.exp
1653 * gdb.base/sepsymtab.exp
1654 * gdb.base/set-inferior-tty.exp
1655 * gdb.base/setshow.exp
1656 * gdb.base/shlib-call.exp
1657 * gdb.base/sigaltstack.exp
1658 * gdb.base/siginfo-addr.exp
1659 * gdb.base/signals.exp
1660 * gdb.base/signull.exp
1661 * gdb.base/sigrepeat.exp
1662 * gdb.base/so-impl-ld.exp
1663 * gdb.base/solib-display.exp
1664 * gdb.base/solib-overlap.exp
1665 * gdb.base/solib-search.exp
1666 * gdb.base/solib-symbol.exp
1667 * gdb.base/structs.exp
1668 * gdb.base/structs2.exp
1669 * gdb.base/symtab-search-order.exp
1670 * gdb.base/twice.exp
1671 * gdb.base/unload.exp
1672 * gdb.base/varargs.exp
1673 * gdb.base/watchpoint-solib.exp
1674 * gdb.base/watchpoint.exp
1675 * gdb.base/whatis.exp
1676 * gdb.base/wrong_frame_bt_full.exp
1677 * gdb.btrace/dlopen.exp
1678 * gdb.cell/ea-standalone.exp
1679 * gdb.cell/ea-test.exp
1680 * gdb.cp/dispcxx.exp
1681 * gdb.cp/gdb2384.exp
1682 * gdb.cp/method2.exp
1683 * gdb.cp/nextoverthrow.exp
1684 * gdb.cp/pr10728.exp
1685 * gdb.disasm/am33.exp
1686 * gdb.disasm/h8300s.exp
1687 * gdb.disasm/mn10300.exp
1688 * gdb.disasm/sh3.exp
1689 * gdb.dwarf2/dw2-dir-file-name.exp
1690 * gdb.fortran/complex.exp
1691 * gdb.fortran/library-module.exp
1692 * gdb.guile/scm-pretty-print.exp
1693 * gdb.guile/scm-symbol.exp
1694 * gdb.guile/scm-type.exp
1695 * gdb.guile/scm-value.exp
1696 * gdb.linespec/linespec.exp
1697 * gdb.mi/gdb701.exp
1698 * gdb.mi/gdb792.exp
1699 * gdb.mi/mi-breakpoint-changed.exp
1700 * gdb.mi/mi-dprintf-pending.exp
1701 * gdb.mi/mi-dprintf.exp
1702 * gdb.mi/mi-exit-code.exp
1703 * gdb.mi/mi-pending.exp
1704 * gdb.mi/mi-solib.exp
1705 * gdb.mi/new-ui-mi-sync.exp
1706 * gdb.mi/pr11022.exp
1707 * gdb.mi/user-selected-context-sync.exp
1708 * gdb.opt/solib-intra-step.exp
1709 * gdb.python/py-events.exp
1710 * gdb.python/py-finish-breakpoint.exp
1711 * gdb.python/py-mi.exp
1712 * gdb.python/py-prettyprint.exp
1713 * gdb.python/py-shared.exp
1714 * gdb.python/py-symbol.exp
1715 * gdb.python/py-template.exp
1716 * gdb.python/py-type.exp
1717 * gdb.python/py-value.exp
1718 * gdb.reverse/solib-precsave.exp
1719 * gdb.reverse/solib-reverse.exp
1720 * gdb.server/solib-list.exp
1721 * gdb.stabs/weird.exp
1722 * gdb.threads/reconnect-signal.exp
1723 * gdb.threads/stepi-random-signal.exp
1724 * gdb.trace/actions.exp
1725 * gdb.trace/ax.exp
1726 * gdb.trace/backtrace.exp
1727 * gdb.trace/change-loc.exp
1728 * gdb.trace/deltrace.exp
1729 * gdb.trace/ftrace-lock.exp
1730 * gdb.trace/ftrace.exp
1731 * gdb.trace/infotrace.exp
1732 * gdb.trace/mi-tracepoint-changed.exp
1733 * gdb.trace/packetlen.exp
1734 * gdb.trace/passcount.exp
1735 * gdb.trace/pending.exp
1736 * gdb.trace/range-stepping.exp
1737 * gdb.trace/report.exp
1738 * gdb.trace/stap-trace.exp
1739 * gdb.trace/tfind.exp
1740 * gdb.trace/trace-break.exp
1741 * gdb.trace/trace-condition.exp
1742 * gdb.trace/trace-enable-disable.exp
1743 * gdb.trace/trace-mt.exp
1744 * gdb.trace/tracecmd.exp
1745 * gdb.trace/tspeed.exp
1746 * gdb.trace/tsv.exp
1747 * lib/perftest.exp
1748
fb9feb35
LM
17492016-12-01 Luis Machado <lgustavo@codesourcery.com>
1750
1751 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1752 with gdb_test_no_output.
1753 Use command as test name.
1754
cd2ddb6c
LM
17552016-12-01 Luis Machado <lgustavo@codesourcery.com>
1756
1757 Fix test names starting with uppercase throughout the files.
1758
1759 * gdb.ada/assign_1.exp
1760 * gdb.ada/boolean_expr.exp
1761 * gdb.base/arrayidx.exp
1762 * gdb.base/del.exp
1763 * gdb.base/gcore-buffer-overflow.exp
1764 * gdb.base/testenv.exp
1765 * gdb.compile/compile.exp
1766 * gdb.python/py-framefilter-invalidarg.exp
1767 * gdb.python/py-framefilter.exp
1768
bb95117e
LM
17692016-12-01 Luis Machado <lgustavo@codesourcery.com>
1770
1771 Fix test names starting with uppercase throughout the files.
1772
1773 * gdb.ada/array_return.exp
1774 * gdb.ada/expr_delims.exp
1775 * gdb.ada/mi_dyn_arr.exp
1776 * gdb.ada/mi_interface.exp
1777 * gdb.ada/mi_var_array.exp
1778 * gdb.ada/watch_arg.exp
1779 * gdb.arch/alpha-step.exp
1780 * gdb.arch/altivec-regs.exp
1781 * gdb.arch/e500-regs.exp
1782 * gdb.arch/powerpc-d128-regs.exp
1783 * gdb.base/arrayidx.exp
1784 * gdb.base/break.exp
1785 * gdb.base/checkpoint.exp
1786 * gdb.base/debug-expr.exp
1787 * gdb.base/dmsym.exp
1788 * gdb.base/radix.exp
1789 * gdb.base/sepdebug.exp
1790 * gdb.base/testenv.exp
1791 * gdb.base/watch_thread_num.exp
1792 * gdb.base/watchpoint-cond-gone.exp
1793 * gdb.cell/break.exp
1794 * gdb.cell/ea-cache.exp
1795 * gdb.compile/compile.exp
1796 * gdb.cp/gdb2495.exp
1797 * gdb.gdb/selftest.exp
1798 * gdb.gdb/xfullpath.exp
1799 * gdb.go/hello.exp
1800 * gdb.go/integers.exp
1801 * gdb.objc/basicclass.exp
1802 * gdb.pascal/hello.exp
1803 * gdb.pascal/integers.exp
1804 * gdb.python/py-breakpoint.exp
1805 * gdb.python/py-cmd.exp
1806 * gdb.python/py-linetable.exp
1807 * gdb.python/py-xmethods.exp
1808 * gdb.python/python.exp
1809 * gdb.reverse/consecutive-precsave.exp
1810 * gdb.reverse/finish-precsave.exp
1811 * gdb.reverse/i386-precsave.exp
1812 * gdb.reverse/machinestate-precsave.exp
1813 * gdb.reverse/sigall-precsave.exp
1814 * gdb.reverse/solib-precsave.exp
1815 * gdb.reverse/step-precsave.exp
1816 * gdb.reverse/until-precsave.exp
1817 * gdb.reverse/watch-precsave.exp
1818 * gdb.threads/leader-exit.exp
1819 * gdb.threads/pthreads.exp
1820 * gdb.threads/wp-replication.exp
1821 * gdb.trace/actions.exp
1822 * gdb.trace/mi-tsv-changed.exp
1823 * gdb.trace/tsv.exp
1824
de97fdd4
LM
18252016-12-01 Luis Machado <lgustavo@codesourcery.com>
1826
1827 Fix test names starting with uppercase throughout the files.
1828
1829 * gdb.arch/i386-bp_permanent.exp
1830 * gdb.arch/i386-gnu-cfi.exp
1831 * gdb.base/disasm-end-cu.exp
1832 * gdb.base/macscp.exp
1833 * gdb.base/pending.exp
1834 * gdb.base/watch_thread_num.exp
1835 * gdb.cp/exception.exp
1836 * gdb.cp/gdb2495.exp
1837 * gdb.cp/local.exp
1838 * gdb.python/py-evsignal.exp
1839 * gdb.python/python.exp
1840 * gdb.trace/tracecmd.exp
1841
9f058c10
LM
18422016-12-01 Luis Machado <lgustavo@codesourcery.com>
1843
1844 Fix test names starting with uppercase throughout the files.
1845
1846 * gdb.base/charset.exp
1847 * gdb.base/eval.exp
1848 * gdb.base/multi-forks.exp
1849 * gdb.guile/scm-progspace.exp
1850 * gdb.opencl/datatypes.exp
1851 * gdb.python/py-block.exp
1852 * gdb.python/py-function.exp
1853 * gdb.python/py-symbol.exp
1854 * gdb.python/py-symtab.exp
1855 * gdb.python/py-xmethods.exp
1856 * gdb.reverse/break-precsave.exp
1857 * gdb.reverse/break-reverse.exp
1858 * gdb.reverse/consecutive-precsave.exp
1859 * gdb.reverse/consecutive-reverse.exp
1860 * gdb.reverse/finish-precsave.exp
1861 * gdb.reverse/finish-reverse-bkpt.exp
1862 * gdb.reverse/finish-reverse.exp
1863 * gdb.reverse/fstatat-reverse.exp
1864 * gdb.reverse/getresuid-reverse.exp
1865 * gdb.reverse/i386-precsave.exp
1866 * gdb.reverse/i386-reverse.exp
1867 * gdb.reverse/i386-sse-reverse.exp
1868 * gdb.reverse/i387-stack-reverse.exp
1869 * gdb.reverse/insn-reverse.exp
1870 * gdb.reverse/machinestate-precsave.exp
1871 * gdb.reverse/machinestate.exp
1872 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1873 * gdb.reverse/pipe-reverse.exp
1874 * gdb.reverse/readv-reverse.exp
1875 * gdb.reverse/recvmsg-reverse.exp
1876 * gdb.reverse/rerun-prec.exp
1877 * gdb.reverse/s390-mvcle.exp
1878 * gdb.reverse/sigall-precsave.exp
1879 * gdb.reverse/sigall-reverse.exp
1880 * gdb.reverse/solib-precsave.exp
1881 * gdb.reverse/solib-reverse.exp
1882 * gdb.reverse/step-precsave.exp
1883 * gdb.reverse/step-reverse.exp
1884 * gdb.reverse/time-reverse.exp
1885 * gdb.reverse/until-precsave.exp
1886 * gdb.reverse/until-reverse.exp
1887 * gdb.reverse/waitpid-reverse.exp
1888 * gdb.reverse/watch-precsave.exp
1889 * gdb.reverse/watch-reverse.exp
1890
cdc7edd7
LM
18912016-12-01 Luis Machado <lgustavo@codesourcery.com>
1892
1893 Fix test names starting with uppercase throughout the files.
1894
1895 * gdb.arch/i386-mpx-simple_segv.exp
1896 * gdb.arch/i386-mpx.exp
1897 * gdb.arch/i386-permbkpt.exp
1898 * gdb.arch/pa-nullify.exp
1899 * gdb.arch/powerpc-d128-regs.exp
1900 * gdb.arch/vsx-regs.exp
1901 * gdb.base/bfp-test.exp
1902 * gdb.base/break.exp
1903 * gdb.base/breakpoint-shadow.exp
1904 * gdb.base/callfuncs.exp
1905 * gdb.base/charset.exp
1906 * gdb.base/commands.exp
1907 * gdb.base/completion.exp
1908 * gdb.base/dfp-test.exp
1909 * gdb.base/echo.exp
1910 * gdb.base/ending-run.exp
1911 * gdb.base/eval.exp
1912 * gdb.base/expand-psymtabs.exp
1913 * gdb.base/float128.exp
1914 * gdb.base/floatn.exp
1915 * gdb.base/foll-exec-mode.exp
1916 * gdb.base/gdb1056.exp
1917 * gdb.base/gdb11531.exp
1918 * gdb.base/kill-after-signal.exp
1919 * gdb.base/multi-forks.exp
1920 * gdb.base/overlays.exp
1921 * gdb.base/pending.exp
1922 * gdb.base/sepdebug.exp
1923 * gdb.base/testenv.exp
1924 * gdb.base/valgrind-db-attach.exp
1925 * gdb.base/watch_thread_num.exp
1926 * gdb.base/watchpoint-cond-gone.exp
1927 * gdb.base/watchpoint.exp
1928 * gdb.base/watchpoints.exp
1929 * gdb.cp/arg-reference.exp
1930 * gdb.cp/baseenum.exp
1931 * gdb.cp/operator.exp
1932 * gdb.cp/shadow.exp
1933 * gdb.dwarf2/dw2-op-out-param.exp
1934 * gdb.dwarf2/dw2-reg-undefined.exp
1935 * gdb.go/chan.exp
1936 * gdb.go/hello.exp
1937 * gdb.go/integers.exp
1938 * gdb.go/methods.exp
1939 * gdb.go/package.exp
1940 * gdb.guile/scm-parameter.exp
1941 * gdb.guile/scm-progspace.exp
1942 * gdb.guile/scm-value.exp
1943 * gdb.mi/mi-pending.exp
1944 * gdb.mi/user-selected-context-sync.exp
1945 * gdb.multi/multi-attach.exp
1946 * gdb.multi/tids.exp
1947 * gdb.opt/clobbered-registers-O2.exp
1948 * gdb.pascal/floats.exp
1949 * gdb.pascal/integers.exp
1950 * gdb.python/py-block.exp
1951 * gdb.python/py-events.exp
1952 * gdb.python/py-parameter.exp
1953 * gdb.python/py-symbol.exp
1954 * gdb.python/py-symtab.exp
1955 * gdb.python/py-type.exp
1956 * gdb.python/py-value.exp
1957 * gdb.python/py-xmethods.exp
1958 * gdb.python/python.exp
1959 * gdb.reverse/break-precsave.exp
1960 * gdb.reverse/consecutive-precsave.exp
1961 * gdb.reverse/finish-precsave.exp
1962 * gdb.reverse/i386-precsave.exp
1963 * gdb.reverse/machinestate-precsave.exp
1964 * gdb.reverse/sigall-precsave.exp
1965 * gdb.reverse/solib-precsave.exp
1966 * gdb.reverse/step-precsave.exp
1967 * gdb.reverse/until-precsave.exp
1968 * gdb.reverse/watch-precsave.exp
1969 * gdb.server/ext-attach.exp
1970 * gdb.server/ext-restart.exp
1971 * gdb.server/ext-run.exp
1972 * gdb.server/ext-wrapper.exp
1973 * gdb.stabs/gdb11479.exp
1974 * gdb.stabs/weird.exp
1975 * gdb.threads/attach-many-short-lived-threads.exp
1976 * gdb.threads/kill.exp
1977 * gdb.threads/watchpoint-fork.exp
1978
bc6c7af4
LM
19792016-12-01 Luis Machado <lgustavo@codesourcery.com>
1980
1981 Fix test names starting with uppercase throughout all the files below.
1982
1983 * gdb.ada/array_return.exp
1984 * gdb.ada/catch_ex.exp
1985 * gdb.ada/info_exc.exp
1986 * gdb.ada/mi_catch_ex.exp
1987 * gdb.ada/mi_dyn_arr.exp
1988 * gdb.ada/mi_ex_cond.exp
1989 * gdb.ada/mi_exc_info.exp
1990 * gdb.ada/mi_interface.exp
1991 * gdb.ada/mi_task_arg.exp
1992 * gdb.ada/mi_task_info.exp
1993 * gdb.ada/mi_var_array.exp
1994 * gdb.arch/alpha-step.exp
1995 * gdb.arch/amd64-disp-step.exp
1996 * gdb.arch/arm-disp-step.exp
1997 * gdb.arch/disp-step-insn-reloc.exp
1998 * gdb.arch/e500-prologue.exp
1999 * gdb.arch/ftrace-insn-reloc.exp
2000 * gdb.arch/gdb1558.exp
2001 * gdb.arch/i386-bp_permanent.exp
2002 * gdb.arch/i386-disp-step.exp
2003 * gdb.arch/i386-float.exp
2004 * gdb.arch/i386-gnu-cfi.exp
2005 * gdb.arch/ia64-breakpoint-shadow.exp
2006 * gdb.arch/mips16-thunks.exp
2007 * gdb.arch/pa-nullify.exp
2008 * gdb.arch/powerpc-aix-prologue.exp
2009 * gdb.arch/powerpc-power.exp
2010 * gdb.arch/ppc-dfp.exp
2011 * gdb.arch/s390-tdbregs.exp
2012 * gdb.arch/spu-info.exp
2013 * gdb.arch/spu-ls.exp
2014 * gdb.arch/thumb-bx-pc.exp
2015 * gdb.base/advance.exp
2016 * gdb.base/annota-input-while-running.exp
2017 * gdb.base/arrayidx.exp
2018 * gdb.base/asmlabel.exp
2019 * gdb.base/async.exp
2020 * gdb.base/attach-wait-input.exp
2021 * gdb.base/auto-connect-native-target.exp
2022 * gdb.base/batch-preserve-term-settings.exp
2023 * gdb.base/bfp-test.exp
2024 * gdb.base/bigcore.exp
2025 * gdb.base/bp-permanent.exp
2026 * gdb.base/break-always.exp
2027 * gdb.base/break-fun-addr.exp
2028 * gdb.base/break-idempotent.exp
2029 * gdb.base/break-main-file-remove-fail.exp
2030 * gdb.base/break-probes.exp
2031 * gdb.base/break-unload-file.exp
2032 * gdb.base/break.exp
2033 * gdb.base/call-ar-st.exp
2034 * gdb.base/call-rt-st.exp
2035 * gdb.base/call-sc.exp
2036 * gdb.base/call-signal-resume.exp
2037 * gdb.base/call-strs.exp
2038 * gdb.base/callexit.exp
2039 * gdb.base/callfuncs.exp
2040 * gdb.base/catch-gdb-caused-signals.exp
2041 * gdb.base/catch-signal-siginfo-cond.exp
2042 * gdb.base/catch-syscall.exp
2043 * gdb.base/compare-sections.exp
2044 * gdb.base/cond-eval-mode.exp
2045 * gdb.base/condbreak-call-false.exp
2046 * gdb.base/consecutive-step-over.exp
2047 * gdb.base/cursal.exp
2048 * gdb.base/disabled-location.exp
2049 * gdb.base/disasm-end-cu.exp
2050 * gdb.base/display.exp
2051 * gdb.base/double-prompt-target-event-error.exp
2052 * gdb.base/dprintf-bp-same-addr.exp
2053 * gdb.base/dprintf-detach.exp
2054 * gdb.base/dprintf-next.exp
2055 * gdb.base/dprintf-non-stop.exp
2056 * gdb.base/dprintf-pending.exp
2057 * gdb.base/dso2dso.exp
2058 * gdb.base/ending-run.exp
2059 * gdb.base/enum_cond.exp
2060 * gdb.base/examine-backward.exp
2061 * gdb.base/exe-lock.exp
2062 * gdb.base/exec-invalid-sysroot.exp
2063 * gdb.base/execl-update-breakpoints.exp
2064 * gdb.base/execution-termios.exp
2065 * gdb.base/fileio.exp
2066 * gdb.base/fixsection.exp
2067 * gdb.base/foll-exec-mode.exp
2068 * gdb.base/foll-exec.exp
2069 * gdb.base/fork-running-state.exp
2070 * gdb.base/frame-args.exp
2071 * gdb.base/fullpath-expand.exp
2072 * gdb.base/func-ptr.exp
2073 * gdb.base/gcore-relro-pie.exp
2074 * gdb.base/gdb1090.exp
2075 * gdb.base/gdb1555.exp
2076 * gdb.base/global-var-nested-by-dso.exp
2077 * gdb.base/gnu-ifunc.exp
2078 * gdb.base/hbreak-in-shr-unsupported.exp
2079 * gdb.base/hbreak-unmapped.exp
2080 * gdb.base/hook-stop.exp
2081 * gdb.base/infcall-input.exp
2082 * gdb.base/info-fun.exp
2083 * gdb.base/info-shared.exp
2084 * gdb.base/interrupt-noterm.exp
2085 * gdb.base/jit-so.exp
2086 * gdb.base/jit.exp
2087 * gdb.base/line-symtabs.exp
2088 * gdb.base/list.exp
2089 * gdb.base/longjmp.exp
2090 * gdb.base/macscp.exp
2091 * gdb.base/max-value-size.exp
2092 * gdb.base/nodebug.exp
2093 * gdb.base/nofield.exp
2094 * gdb.base/overlays.exp
2095 * gdb.base/paginate-after-ctrl-c-running.exp
2096 * gdb.base/paginate-bg-execution.exp
2097 * gdb.base/paginate-inferior-exit.exp
2098 * gdb.base/pending.exp
2099 * gdb.base/pr11022.exp
2100 * gdb.base/printcmds.exp
2101 * gdb.base/ptr-typedef.exp
2102 * gdb.base/ptype.exp
2103 * gdb.base/randomize.exp
2104 * gdb.base/range-stepping.exp
2105 * gdb.base/realname-expand.exp
2106 * gdb.base/relativedebug.exp
2107 * gdb.base/remote.exp
2108 * gdb.base/savedregs.exp
2109 * gdb.base/sepdebug.exp
2110 * gdb.base/set-noassign.exp
2111 * gdb.base/shlib-call.exp
2112 * gdb.base/shreloc.exp
2113 * gdb.base/sigaltstack.exp
2114 * gdb.base/sigbpt.exp
2115 * gdb.base/siginfo-addr.exp
2116 * gdb.base/siginfo-obj.exp
2117 * gdb.base/siginfo-thread.exp
2118 * gdb.base/signest.exp
2119 * gdb.base/signull.exp
2120 * gdb.base/sigrepeat.exp
2121 * gdb.base/skip.exp
2122 * gdb.base/so-impl-ld.exp
2123 * gdb.base/solib-corrupted.exp
2124 * gdb.base/solib-disc.exp
2125 * gdb.base/solib-display.exp
2126 * gdb.base/solib-overlap.exp
2127 * gdb.base/solib-search.exp
2128 * gdb.base/solib-symbol.exp
2129 * gdb.base/source-execution.exp
2130 * gdb.base/sss-bp-on-user-bp-2.exp
2131 * gdb.base/sss-bp-on-user-bp.exp
2132 * gdb.base/stack-checking.exp
2133 * gdb.base/stale-infcall.exp
2134 * gdb.base/step-break.exp
2135 * gdb.base/step-line.exp
2136 * gdb.base/step-over-exit.exp
2137 * gdb.base/step-test.exp
2138 * gdb.base/structs.exp
2139 * gdb.base/sym-file.exp
2140 * gdb.base/symtab-search-order.exp
2141 * gdb.base/term.exp
2142 * gdb.base/type-opaque.exp
2143 * gdb.base/unload.exp
2144 * gdb.base/until-nodebug.exp
2145 * gdb.base/until.exp
2146 * gdb.base/unwindonsignal.exp
2147 * gdb.base/watch-cond.exp
2148 * gdb.base/watch-non-mem.exp
2149 * gdb.base/watch_thread_num.exp
2150 * gdb.base/watchpoint-reuse-slot.exp
2151 * gdb.base/watchpoint-solib.exp
2152 * gdb.base/watchpoint.exp
2153 * gdb.btrace/dlopen.exp
2154 * gdb.cell/arch.exp
2155 * gdb.cell/break.exp
2156 * gdb.cell/bt.exp
2157 * gdb.cell/core.exp
2158 * gdb.cell/data.exp
2159 * gdb.cell/dwarfaddr.exp
2160 * gdb.cell/ea-cache.exp
2161 * gdb.cell/ea-standalone.exp
2162 * gdb.cell/ea-test.exp
2163 * gdb.cell/f-regs.exp
2164 * gdb.cell/fork.exp
2165 * gdb.cell/gcore.exp
2166 * gdb.cell/mem-access.exp
2167 * gdb.cell/ptype.exp
2168 * gdb.cell/registers.exp
2169 * gdb.cell/sizeof.exp
2170 * gdb.cell/solib-symbol.exp
2171 * gdb.cell/solib.exp
2172 * gdb.compile/compile-tls.exp
2173 * gdb.cp/exception.exp
2174 * gdb.cp/gdb2495.exp
2175 * gdb.cp/local.exp
2176 * gdb.cp/mb-inline.exp
2177 * gdb.cp/mb-templates.exp
2178 * gdb.cp/pr10687.exp
2179 * gdb.cp/pr9167.exp
2180 * gdb.cp/scope-err.exp
2181 * gdb.cp/templates.exp
2182 * gdb.cp/virtfunc.exp
2183 * gdb.dwarf2/dw2-dir-file-name.exp
2184 * gdb.dwarf2/dw2-single-line-discriminators.exp
2185 * gdb.fortran/complex.exp
2186 * gdb.fortran/library-module.exp
2187 * gdb.guile/guile.exp
2188 * gdb.guile/scm-cmd.exp
2189 * gdb.guile/scm-frame-inline.exp
2190 * gdb.guile/scm-objfile.exp
2191 * gdb.guile/scm-pretty-print.exp
2192 * gdb.guile/scm-symbol.exp
2193 * gdb.guile/scm-type.exp
2194 * gdb.guile/scm-value.exp
2195 * gdb.linespec/keywords.exp
2196 * gdb.linespec/ls-errs.exp
2197 * gdb.linespec/macro-relative.exp
2198 * gdb.linespec/thread.exp
2199 * gdb.mi/mi-breakpoint-changed.exp
2200 * gdb.mi/mi-dprintf-pending.exp
2201 * gdb.mi/mi-fullname-deleted.exp
2202 * gdb.mi/mi-logging.exp
2203 * gdb.mi/mi-pending.exp
2204 * gdb.mi/mi-solib.exp
2205 * gdb.mi/new-ui-mi-sync.exp
2206 * gdb.mi/user-selected-context-sync.exp
2207 * gdb.multi/dummy-frame-restore.exp
2208 * gdb.multi/multi-arch-exec.exp
2209 * gdb.multi/remove-inferiors.exp
2210 * gdb.multi/watchpoint-multi-exit.exp
2211 * gdb.opt/solib-intra-step.exp
2212 * gdb.perf/backtrace.exp
2213 * gdb.perf/single-step.exp
2214 * gdb.perf/skip-command.exp
2215 * gdb.perf/skip-prologue.exp
2216 * gdb.perf/solib.exp
2217 * gdb.python/lib-types.exp
2218 * gdb.python/py-as-string.exp
2219 * gdb.python/py-bad-printers.exp
2220 * gdb.python/py-block.exp
2221 * gdb.python/py-breakpoint.exp
2222 * gdb.python/py-cmd.exp
2223 * gdb.python/py-events.exp
2224 * gdb.python/py-evthreads.exp
2225 * gdb.python/py-finish-breakpoint.exp
2226 * gdb.python/py-finish-breakpoint2.exp
2227 * gdb.python/py-frame-inline.exp
2228 * gdb.python/py-frame.exp
2229 * gdb.python/py-inferior.exp
2230 * gdb.python/py-infthread.exp
2231 * gdb.python/py-mi.exp
2232 * gdb.python/py-objfile.exp
2233 * gdb.python/py-pp-maint.exp
2234 * gdb.python/py-pp-registration.exp
2235 * gdb.python/py-prettyprint.exp
2236 * gdb.python/py-recurse-unwind.exp
2237 * gdb.python/py-shared.exp
2238 * gdb.python/py-symbol.exp
2239 * gdb.python/py-symtab.exp
2240 * gdb.python/py-template.exp
2241 * gdb.python/py-type.exp
2242 * gdb.python/py-unwind-maint.exp
2243 * gdb.python/py-unwind.exp
2244 * gdb.python/py-value.exp
2245 * gdb.python/python.exp
2246 * gdb.reverse/finish-reverse-bkpt.exp
2247 * gdb.reverse/insn-reverse.exp
2248 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2249 * gdb.reverse/solib-precsave.exp
2250 * gdb.reverse/solib-reverse.exp
2251 * gdb.stabs/gdb11479.exp
2252 * gdb.stabs/weird.exp
2253 * gdb.threads/fork-child-threads.exp
2254 * gdb.threads/fork-plus-threads.exp
2255 * gdb.threads/fork-thread-pending.exp
2256 * gdb.threads/forking-threads-plus-breakpoint.exp
2257 * gdb.threads/hand-call-in-threads.exp
2258 * gdb.threads/interrupted-hand-call.exp
2259 * gdb.threads/linux-dp.exp
2260 * gdb.threads/local-watch-wrong-thread.exp
2261 * gdb.threads/next-while-other-thread-longjmps.exp
2262 * gdb.threads/non-ldr-exit.exp
2263 * gdb.threads/pending-step.exp
2264 * gdb.threads/print-threads.exp
2265 * gdb.threads/process-dies-while-detaching.exp
2266 * gdb.threads/process-dies-while-handling-bp.exp
2267 * gdb.threads/pthreads.exp
2268 * gdb.threads/queue-signal.exp
2269 * gdb.threads/reconnect-signal.exp
2270 * gdb.threads/signal-command-handle-nopass.exp
2271 * gdb.threads/signal-command-multiple-signals-pending.exp
2272 * gdb.threads/signal-delivered-right-thread.exp
2273 * gdb.threads/signal-sigtrap.exp
2274 * gdb.threads/sigthread.exp
2275 * gdb.threads/staticthreads.exp
2276 * gdb.threads/stepi-random-signal.exp
2277 * gdb.threads/thread-unwindonsignal.exp
2278 * gdb.threads/thread_check.exp
2279 * gdb.threads/thread_events.exp
2280 * gdb.threads/tid-reuse.exp
2281 * gdb.threads/tls-nodebug.exp
2282 * gdb.threads/tls-shared.exp
2283 * gdb.threads/tls-so_extern.exp
2284 * gdb.threads/tls.exp
2285 * gdb.threads/wp-replication.exp
2286 * gdb.trace/actions-changed.exp
2287 * gdb.trace/actions.exp
2288 * gdb.trace/backtrace.exp
2289 * gdb.trace/change-loc.exp
2290 * gdb.trace/collection.exp
2291 * gdb.trace/deltrace.exp
2292 * gdb.trace/disconnected-tracing.exp
2293 * gdb.trace/entry-values.exp
2294 * gdb.trace/ftrace-lock.exp
2295 * gdb.trace/ftrace.exp
2296 * gdb.trace/infotrace.exp
2297 * gdb.trace/mi-trace-frame-collected.exp
2298 * gdb.trace/mi-trace-unavailable.exp
2299 * gdb.trace/mi-traceframe-changed.exp
2300 * gdb.trace/mi-tracepoint-changed.exp
2301 * gdb.trace/mi-tsv-changed.exp
2302 * gdb.trace/no-attach-trace.exp
2303 * gdb.trace/packetlen.exp
2304 * gdb.trace/passc-dyn.exp
2305 * gdb.trace/passcount.exp
2306 * gdb.trace/pending.exp
2307 * gdb.trace/pr16508.exp
2308 * gdb.trace/qtro.exp
2309 * gdb.trace/range-stepping.exp
2310 * gdb.trace/read-memory.exp
2311 * gdb.trace/report.exp
2312 * gdb.trace/save-trace.exp
2313 * gdb.trace/signal.exp
2314 * gdb.trace/stap-trace.exp
2315 * gdb.trace/status-stop.exp
2316 * gdb.trace/strace.exp
2317 * gdb.trace/tfile.exp
2318 * gdb.trace/tfind.exp
2319 * gdb.trace/trace-break.exp
2320 * gdb.trace/trace-condition.exp
2321 * gdb.trace/trace-enable-disable.exp
2322 * gdb.trace/trace-mt.exp
2323 * gdb.trace/tracecmd.exp
2324 * gdb.trace/tracefile-pseudo-reg.exp
2325 * gdb.trace/tspeed.exp
2326 * gdb.trace/tstatus.exp
2327 * gdb.trace/tsv.exp
2328 * gdb.trace/unavailable.exp
2329 * gdb.trace/while-dyn.exp
2330 * gdb.trace/while-stepping.exp
2331 * lib/gdb-guile.exp
2332 * lib/gdb.exp
2333 * lib/mi-support.exp
2334 * lib/pascal.exp
2335 * lib/perftest.exp
2336 * lib/prelink-support.exp
2337 * lib/selftest-support.exp
2338
ad02e4fe
SM
23392016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2340
2341 * Makefile.in: Include disable-implicit-rules.mk.
2342
22347e55
AA
23432016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2344
2345 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2346 non-byte-aligned bit fields.
2347
da5b30da
AA
23482016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2349
2350 PR gdb/12616
2351 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2352 respects the DW_AT_data_bit_offset attribute.
2353
b593ecca
SM
23542016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2355
2356 * gdb.base/default.exp: Fix output of "set language".
2357
3b165252
SM
23582016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2359
2360 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2361 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2362 make.
2363 * configure.ac: Remove checks for the make program.
2364 * configure: Re-generate.
2365
1a2f3d7f
KB
23662016-11-16 Kevin Buettner <kevinb@redhat.com>
2367
2368 * gdb.python/py-recurse-unwind.c (main): Add loop.
2369 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2370 to read_register() and gdb.parse_and_eval(). Make each code
2371 call a separate case that can be individually tested.
2372 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2373 proc. Call cont_and_backtrace for each of the code paths that
2374 we want to test in the unwinder.
2375
b7f38fda
AA
23762016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2377
2378 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2379 the definition of struct S.
2380
1f8db343
CM
23812016-11-11 Catherine Moore <clm@codesourcery.com>
2382
2383 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2384
fad0c9fb
PA
23852016-11-09 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.base/commands.exp (runto_or_return): New procedure.
2388 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2389 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2390 (progvar_simple_while_test, progvar_complex_if_while_test)
2391 (if_while_breakpoint_command_test)
2392 (infrun_breakpoint_command_test, breakpoint_command_test)
2393 (user_defined_command_test, watchpoint_command_test)
2394 (test_command_prompt_position, redefine_hook_test)
2395 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2396 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2397 multi_line_input and multi_line. Remove gdb_expect and
2398 gdb_stop_suppressing_tests uses.
2399 * lib/gdb.exp (valnum_re): New global.
2400 (multi_line_input): New procedure.
2401
8354c62c
SM
24022016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2403
2404 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2405 Remove.
2406 (test_setup): Define with proc_with_prefix.
2407 (test_cli_inferior): Likewise.
2408 (test_cli_thread): Likewise.
2409 (test_cli_frame): Likewise.
2410 (test_cli_select_frame): Likewise.
2411 (test_cli_up_down): Likewise.
2412 (test_mi_thread_select): Likewise.
2413 (test_mi_stack_select_frame): Likewise.
2414 (test_cli_in_mi_inferior): Likewise.
2415 (test_cli_in_mi_thread): Likewise.
2416 (test_cli_in_mi_frame): Likewise.
2417 (top level): Do not use with_test_prefix_procname.
2418
64f367a2
PA
24192016-11-09 Pedro Alves <palves@redhat.com>
2420
2421 * gdb.base/commands.exp (gdbvar_simple_if_test)
2422 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2423 (progvar_simple_if_test, progvar_simple_while_test)
2424 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2425 (infrun_breakpoint_command_test, breakpoint_command_test)
2426 (user_defined_command_test, watchpoint_command_test)
2427 (test_command_prompt_position, deprecated_command_test)
2428 (bp_deleted_in_command, temporary_breakpoint_commands)
2429 (stray_arg0_test, source_file_with_indented_comment)
2430 (recursive_source_test, if_commands_test)
2431 (error_clears_commands_left, redefine_hook_test)
2432 (redefine_backtrace_test): Use proc_with_prefix.
2433 * lib/gdb.exp (proc_with_prefix): New proc.
2434
0bb65f1e
AA
24352016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2436
2437 * gdb.base/tui-layout.c: New file.
2438 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2439 disassembly window contains very long lines.
2440
7353f247
TT
24412016-11-08 Tom Tromey <tom@tromey.com>
2442
2443 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2444 depend on Python 2.
2445
30a7bb83
TT
24462016-11-08 Tom Tromey <tom@tromey.com>
2447
2448 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2449 New method.
2450
cdf5a07c
MG
24512016-10-29 Manish Goregaokar <manish@mozilla.com>
2452
2806dc7e 2453 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 2454
51a789c3
MG
24552016-10-27 Manish Goregaokar <manish@mozilla.com>
2456
2806dc7e
PA
2457 * gdb.rust/simple.rs: Add test for univariant enums without
2458 discriminants and for encoded struct-like enums.
51a789c3 2459
f610ab6d
PA
24602016-10-28 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2463 gdb_test_multiple, tighten regexps and match symtabs and line
2464 tables incrementally.
2465
b129b0ca
LM
24662016-10-28 Luis Machado <lgustavo@codesourcery.com>
2467
2468 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2469 general.
2470
ecf45d2c
SL
24712016-10-25 Luis Machado <lgustavo@codesourcery.com>
2472
2473 * gdb.base/exec-invalid-sysroot.exp: New file.
2474
b8d38ee4
JK
24752016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2478
f90fd8c2
JK
24792016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2480
2481 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2482
2d2476aa
MR
24832016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2484
2806dc7e
PA
2485 * gdb.base/killed-outside.exp: Remove $options from a call to
2486 `prepare_for_testing'.
2d2476aa 2487
e42b25a0
SM
24882016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2489
2490 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2491 Change test message.
2492
3ccdb432
SM
24932016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2494
2495 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2496 Update comment.
2497
5bad3170
SM
24982016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2499
2500 * gdb.trace/mi-trace-save.exp: New file.
2501
5ad9dba7
YQ
25022016-10-13 Yao Qi <yao.qi@linaro.org>
2503
2504 * gdb.base/code_elim.exp (get_var_address): Remove.
2505 * gdb.base/relocate.exp: Likewise.
2506 * gdb.base/shreloc.exp: Likewise.
2507 * lib/gdb.exp (get_var_address): New.
2508
62df7e21
YQ
25092016-10-13 Yao Qi <yao.qi@linaro.org>
2510
2511 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2512 floating point tests if $skip_float_test is false.
2513
4dac951e
LM
25142016-10-12 Luis Machado <lgustavo@codesourcery.com>
2515
2516 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2517 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2518 argc values.
2519 Add 1 to argc so we guarantee distinct initial/modified argc values.
2520
8f1a8fc4
JK
25212016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2524
16c85b5d
JK
25252016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2526
2527 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2528 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2529 * gdb.arch/vsx-regs.exp: Likewise.
2530
1d0e042a
YQ
25312016-10-07 Yao Qi <yao.qi@linaro.org>
2532
2533 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2534
68dadef5
MM
25352016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2536
2537 * gdb.python/python.exp: Test decode_line("*0").
2538
33fa2c6e
DE
25392016-10-06 Doug Evans <dje@google.com>
2540
2541 * gdb.python/py-value.exp (test_value_creation): Add test for large
2542 unsigned 64-bit value.
2543
9c37b5ae
TT
25442016-10-06 Tom Tromey <tom@tromey.com>
2545
2546 * gdb.compile/compile.exp: Change java tests to rust.
2547 * gdb.base/setshow.exp: Change java tests to rust.
2548 * gdb.base/default.exp: Remove java from language list.
2549 * README (Examples): Update language example.
2550 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2551 test.
2552 * lib/gdb.exp (skip_java_tests): Remove.
2553 * lib/java.exp: Remove.
2554 * gdb.java: Remove.
2555
78b86327
MR
25562016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2557
2558 * gdb.arch/mips-fcr.exp: New test.
2559 * gdb.arch/mips-fcr.c: Source for the new test.
2560
7470adbb
MR
25612016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2562
2563 * gdb.base/solib-disc.exp: Use `standard_output_file'
2564 throughout.
2565
4a556533
PA
25662016-10-06 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.base/jit-simple-dl.c: New file.
2569 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2570 * gdb.base/jit-simple.c: ... this.
2571 * gdb.base/jit-simple.exp (jit_run): Delete.
2572 (build_jit): New proc.
2573 (jit_test_reread): Recompile either the main program or the shared
2574 library, depending on what is being tested. Skip changing address
2575 if caller wants to. Compare before/after addresses. If testing
2576 standalone, explicitly load the binary. Test "maint info
2577 breakpoints".
2578 (top level): Add "standalone vs shared lib" and "change address"
2579 vs "same address" axes.
2580
5a122fbc
PA
25812016-10-06 Pedro Alves <palves@redhat.com>
2582
2583 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2584 call.
2585 (jit_run): Delete.
2586 (jit_test_reread): Use with_test_prefix. Reload the main binary
2587 explicitly. Compare the before/after addresses of the JIT
2588 descriptor.
2589
ee8da4b8
DE
25902016-08-15 Doug Evans <dje@google.com>
2591
2592 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2593 for single bitfields is bool.
2594 * gdb.xml/tdesc-regs.exp: Ditto.
2595
f389f6fe
JK
25962016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2599
fdebf1a4
YQ
26002016-10-05 Yao Qi <yao.qi@linaro.org>
2601
2602 * lib/gdb.exp (support_complex_tests): Return zero if
2603 gdb_skip_float_test return true.
2604
9c36d954 26052016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 2606 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
2607
2608 PR gdb/20487
2609 * gdb.mi/user-selected-context-sync.exp: New file.
2610 * gdb.mi/user-selected-context-sync.c: New file.
2611
4034d0ff 26122016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 2613 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
2614
2615 PR gdb/20487
2616 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2617 =thread-select-event check.
2618
a4297203
PB
26192016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2620
2621 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2622 the compulsory L operand changes.
2623 * gdb.arch/powerpc-power.s: Likewise.
2624
bb805577
JK
26252016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2626
2627 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2628 * gdb.base/jit-attach-pie.c: New file.
2629 * gdb.base/jit-attach-pie.exp: New file.
2630
6d61dee5
PA
26312016-09-28 Pedro Alves <palves@redhat.com>
2632
2633 * gdb.base/infcall-input.c: New file.
2634 * gdb.base/infcall-input.exp: New file.
2635
f73842fc
YQ
26362016-09-22 Yao Qi <yao.qi@linaro.org>
2637
2638 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2639 (gdb_exit): Rename it to ...
2640 (gdbserver_gdb_exit): ... Close GDBserver.
2641 (gdb_exit): New proc, call gdbserver_gdb_exit.
2642 (mi_gdb_exit): Likewise.
2643
90681dab
YQ
26442016-09-22 Yao Qi <yao.qi@linaro.org>
2645
2646 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2647 path.
2648 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2649 Remove duplication.
2650
9c211fd8
YQ
26512016-09-22 Yao Qi <yao.qi@linaro.org>
2652
2653 * lib/gdbserver-support.exp: Check the existence of
2654 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2655
ad0a504f
AK
26562016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2657
2658 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2659
36cf1806
TT
26602016-09-21 Tom Tromey <tom@tromey.com>
2661
2662 PR gdb/20604:
2663 * gdb.base/quit.exp: New file.
2664
74172ecf
SM
26652016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2666
2667 * .gitignore: New file.
2668
3d0ec882
MR
26692016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2670
2671 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2672 throughout.
2673
8193adea
AA
26742016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2675
2676 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2677
d41a5c09
JK
26782016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2679
2680 * gdb.cp/casts.cc (decltype): Move it ...
2681 (main): ... with its call to ...
2682 * gdb.cp/casts03.cc: ... a new file.
2683 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2684
d2dfe700
JK
26852016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2686
2687 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2688
e2a92b16
PB
26892016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2690
2691 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2692 and sync up the test with tests in gas/testsuite/gas/ppc.
2693 * gdb.arch/powerpc-power.exp: Likewise.
2694
49b4de64
JK
26952016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2696
2697 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2698
2c29df25
SDJ
26992016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2700 Jan Kratochvil <jan.kratochvil@redhat.com>
2701
2702 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2703 make m1's definition to be different from m2's. Use 'dummy' as an
2704 argument for probe 'two'.
2705
cc3c2846
JB
27062016-09-10 Jon Beniston <jon@beniston.com>
2707
2708 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2709 for sim target.
2710
e1b2624a
AA
27112016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2712
2713 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2714 variable declaration.
2715 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2716 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2717 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2718 received HWCAP as its argument.
2719
4295e285
PA
27202016-09-06 Pedro Alves <palves@redhat.com>
2721
2722 * gdb.base/new-ui-pending-input.c: New file.
2723 * gdb.base/new-ui-pending-input.exp: New file.
2724 * gdb.exp (clear_gdb_spawn_id): New procedure.
2725 (with_spawn_id): Check whether gdb_spawn_id exists before
2726 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2727 on exit.
2728
00d5215e
UW
27292016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2730
2731 * gdb.base/float128.c: New file.
2732 * gdb.base/float128.exp: Likewise.
2733 * gdb.base/floatn.c: Likewise.
2734 * gdb.base/floatn.exp: Likewise.
2735
a9ff5f12
UW
27362016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2737
2738 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2739
f245535c
PA
27402016-09-05 Pedro Alves <palves@redhat.com>
2741
2742 PR backtrace/19927
2743 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2744 unwinders are immediately called as side effect of "source" or
2745 "disable unwinder" commands.
2746 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2747
ae9cf263
YQ
27482016-09-02 Yao Qi <yao.qi@linaro.org>
2749
2750 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2751 is true and $type is "float" or "double".
2752
27aba047
YQ
27532016-09-02 Yao Qi <yao.qi@linaro.org>
2754
2755 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2756 true.
2757 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2758 * gdb.base/call-rt-st.exp: Likewise.
2759 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2760 return value instead of gdb,skip_float_test.
2761 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2762 (do_function_calls): Use its return value instead of
2763 gdb,skip_float_test.
2764 * gdb.base/finish.exp: Likewise.
2765 * gdb.base/funcargs.exp: Likewise.
2766 * gdb.base/return.exp: Likewise.
2767 * gdb.base/return2.exp: Likewise.
2768 * gdb.base/varargs.exp: Likewise.
2769 * lib/gdb.exp (gdb_skip_float_test): Change it to
2770 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2771
5af962df
AA
27722016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2773
2774 * gdb.multi/tids.exp: Test "thread apply all".
2775
7fac6910
JK
27762016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2777
2778 * gdb.base/default.exp (tty): Remove.
2779
bb1fe4ac
KB
27802016-08-24 Kevin Buettner <kevinb@redhat.com>
2781
2806dc7e
PA
2782 * gdb.python/py-recurse-unwind.c: New file.
2783 * gdb.python/py-recurse-unwind.py: New file.
2784 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 2785
0a1ddfa6
SM
27862016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2787
2788 * gdb.base/set-inferior-tty.exp: New file.
2789 * gdb.base/set-inferior-tty.c: New file.
2790
d9de1fe3
PA
27912016-08-23 Pedro Alves <palves@redhat.com>
2792
2793 PR gdb/20494
2794 * gdb.base/new-ui-echo.c: New file.
2795 * gdb.base/new-ui-echo.exp: New file.
2796
e9d9abd7
YQ
27972016-08-23 Yao Qi <yao.qi@linaro.org>
2798
2799 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2800 gdbserver_spawn.
2801 * gdb.server/connect-without-multi-process.exp (do_test):
2802 Likewise.
2803
3589529e
YQ
28042016-08-23 Yao Qi <yao.qi@linaro.org>
2805
2806 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2807 standalone_txt. Delete gdb_txt and standalone_txt on host
2808 and target. Spawn the binary on target. Copy files from
2809 target to host.
2810
6bb90213
PA
28112016-08-22 Pedro Alves <palves@redhat.com>
2812
2813 PR gdb/20505
2814 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2815 with_test_prefix. Factor out bits to ...
2816 (test_no_vdso): ... this new procedure.
2817
20c2c024
CL
28182016-08-19 Carl Love <cel@us.ibm.com>
2819
2820 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2821 maintaining separate logic for constructing the output path.
2822 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2823 * gdb.arch/ppc-dfp.exp: Likewise.
2824 * gdb.arch/ppc-fp.exp: Likewise.
2825 * gdb.arch/vsx-regs.exp: Likewise.
2826 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2827 binprefix for generating the additional binary files.
2828
0646e07d
PA
28292016-08-19 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.trace/mi-trace-frame-collected.exp
2832 (test_trace_frame_collected): On x32, expect two registers.
2833
46da9242
CL
28342016-08-18 Carl Love <cel@us.ibm.com>
2835
2836 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2837 and sync up the test with tests in gas/testsuite/gas/ppc.
2838 * gdb.arch/powerpc-power.exp: Likewise.
2839
eb2332d7
SM
28402016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2841
2842 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2843 expected error message.
2844
63c61e04
SM
28452016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2846
2847 * gdb.multi/remove-inferiors.exp: New file.
2848 * gdb.multi/remove-inferiors.c: New file.
2849
7b17065f
YQ
28502016-08-12 Yao Qi <yao.qi@linaro.org>
2851
2852 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2853 argument list.
2854
01d3dedf
PA
28552016-08-10 Pedro Alves <palves@redhat.com>
2856
2857 PR gdb/19187
2858 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2859 setup_kfails.
2860
3eb7562a
PA
28612016-08-09 Pedro Alves <palves@redhat.com>
2862 Simon Marchi <simon.marchi@ericsson.com>
2863
2864 PR gdb/20418
2865 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2866 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2867
80614914
PA
28682016-08-09 Pedro Alves <palves@redhat.com>
2869
2870 PR mi/20431
2871 * gdb.mi/mi-cmd-error.exp: New file.
2872
f348d89a
PA
28732016-08-09 Pedro Alves <palves@redhat.com>
2874
2875 PR gdb/18653
2876 * gdb.base/signals-state-child.c: New file.
2877 * gdb.base/signals-state-child.exp: New file.
2878 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2879
e5ca03b4
PA
28802016-08-09 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2883
282a0691
TT
28842016-08-03 Tom Tromey <tom@tromey.com>
2885
2886 PR python/18565:
2887 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2888
41bfcd63
YQ
28892016-08-01 Yao Qi <yao.qi@linaro.org>
2890
2891 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2892 variable mode to "multi-process" if $multi_process is 1, otherwise
2893 set it to "single-process".
2894
e3465b24
YQ
28952016-08-01 Yao Qi <yao.qi@linaro.org>
2896
2897 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2898 * gdb.cp/cpexprs.exp: Likewise.
2899 * gdb.cp/m-static.exp: Likewise.
2900
0b31a4bc
TT
29012016-07-26 Tom Tromey <tom@tromey.com>
2902
2903 PR python/20190:
2904 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2905 test.
2906
e0461dbb
MM
29072016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2908
2909 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2910 selecting assembly source files.
2911 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2912 assembly source files.
2913 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2914 assembly source files.
2915 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2916 selecting assembly source files.
2917
8194e927
SM
29182016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2919
2920 * gdb.base/new-ui.exp (do_test_invalid_args): New
2921 procedure.
2922
c0272db5
TW
29232016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2924
2925 * gdb.btrace/reconnect.c: New file.
2926 * gdb.btrace/reconnect.exp: New file.
2927
e3487908
GKB
29282016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2929
2930 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2931 to test_catch_syscall_group.
2932 (test_catch_syscall_group): New.
2933
12df5c00
TT
29342016-07-21 Tom Tromey <tom@tromey.com>
2935
2936 * gdb.rust/simple.rs (main): Use empty struct expression.
2937 * gdb.rust/simple.exp: Add tests for empty struct expression.
2938
bae62ee2
YQ
29392016-07-21 Yao Qi <yao.qi@linaro.org>
2940
2941 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2942 if gdb_skip_xml_test is true on some targets.
2943
b1b53fb3
YQ
29442016-07-21 Yao Qi <yao.qi@linaro.org>
2945
2946 * gdb.server/solib-list.exp: Unset last_loaded_file.
2947
027d97f8
JK
29482016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2949
2950 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2951 "step into captured_main (args)".
2952
7674d381
JK
29532016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2956
72b5d099
JK
29572016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2958
2959 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2960
1f960ced
PA
29612016-07-19 Pedro Alves <palves@redhat.com>
2962
2963 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2964 * gdb.opt/inline-bt.exp: Likewise.
2965 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2966 additional_flags=-Winline.
2967 * gdb.opt/inline-locals.exp: Likewise.
2968 * gdb.opt/inline-markers.c (ATTR): Define.
2969 (inlined_fn): Use it.
2970
f25827c1
YQ
29712016-07-19 Yao Qi <yao.qi@linaro.org>
2972
2973 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2974 (test_with_self): Remove some code. Remove argument executable.
2975 (top-level): Use do_self_tests.
2976
37539ebe
DB
29772016-07-15 Zachary Welch <zwelch@codesourcery.com>
2978 Don Breazeal <donb@codesourcery.com>
2979
2980 * gdb.base/maint.exp: Escape paths used in regular expressions.
2981 * gdb.stabs/weird.exp: Likewise.
2982
dac790e1
TT
29832016-07-13 Tom Tromey <tom@tromey.com>
2984
2985 PR python/15620, PR python/18620:
2986 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2987 (test_bkpt_events): New procs.
2988
93daf339
TT
29892016-07-13 Tom Tromey <tom@tromey.com>
2990
2991 PR python/17698:
2992 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2993 test.
2994 (test_watchpoints): Likewise.
2995 (test_bkpt_pending): New proc.
2996
6571a381
TT
29972016-07-13 Tom Tromey <tom@tromey.com>
2998
2999 PR cli/18053:
3000 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3001 completion test.
3002
e8732474
JK
30032016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3004
3005 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3006 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3007 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3008 f_label.
3009 (g): Rename g_end_lbl to g_label.
3010 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3011 low_pc and high_pc.
3012 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3013
e0f3fd7c
TT
30142016-07-12 Tom Tromey <tom@tromey.com>
3015
3016 PR python/19293:
3017 * gdb.python/py-unwind-maint.exp: Update tests.
3018
3cfe46b6
YQ
30192016-07-12 Yao Qi <yao.qi@linaro.org>
3020
3021 * lib/selftest-support.exp (selftest_setup): Match the output
3022 when captured_main is inlined.
3023
4f19a0e6
WT
30242016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3025
3026 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3027 New variables.
3028 (print this%a, print this%b, print this): New tests.
3029 * gdb.fortran/derived-types.f90 (this): New object and
3030 initialization.
3031
986cf455
SM
30322016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3033
3034 * gdb.ada/arraydim.exp: Remove extra directory level in build
3035 directory.
3036
f0464b23
SM
30372016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3038
3039 * lib/ada.exp: Remove extra directory level in build directory.
3040 * gdb.ada/cond_lang.exp: Likewise.
3041 * gdb.ada/exec_changed.exp: Likewise.
3042 * gdb.ada/lang_switch.exp: Likewise.
3043
42d94011
MG
30442016-07-06 Manish Goregaokar <manish@mozilla.com>
3045
2806dc7e
PA
3046 * simple.rs: Add test for raw pointer subscripting.
3047 * simple.exp: Add test expectations.
42d94011 3048
647c264c
YQ
30492016-07-05 Yao Qi <yao.qi@linaro.org>
3050
3051 * gdb.mi/mi-reverse.exp: Match =record-started output.
3052
20aa2c60
PA
30532016-07-01 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3056 procedure.
3057 (jit_reader_test): Test the jit reader's unwinder.
3058 * gdb.base/jithost.c (jit_function_00_code): New global.
3059 (main): Use memcpy to fill in the mmapped code, instead of poking
3060 bytes manually here.
3061 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3062 value.
3063 (read_debug_info): Save the function's range.
3064 (read_sp): New function.
3065 (unwind_frame): Use it. Also unwind RBP.
3066 (get_frame_id): Use read_sp.
3067 (gdb_init_reader): Use calloc instead of malloc.
3068 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3069 parameter. Use gdb_test_multiple.
3070
ced2dffb
PA
30712016-07-01 Pedro Alves <palves@redhat.com>
3072 Antoine Tremblay <antoine.tremblay@ericsson.com>
3073
3074 * gdb.threads/process-dies-while-detaching.c: New file.
3075 * gdb.threads/process-dies-while-detaching.exp: New file.
3076
63000888
PA
30772016-07-01 Pedro Alves <palves@redhat.com>
3078
3079 * gdb.multi/watchpoint-multi-exit.c: New file.
3080 * gdb.multi/watchpoint-multi-exit.exp: New file.
3081
038d4868
PA
30822016-06-30 Pedro Alves <palves@redhat.com>
3083
3084 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3085 unset inferior_spawn_id.
3086
994e9c83
PA
30872016-06-30 Pedro Alves <palves@redhat.com>
3088
3089 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3090 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3091
e5653468
YQ
30922016-06-29 Yao Qi <yao.qi@linaro.org>
3093
3094 * gdb.base/return.c: Add copyright header.
3095
803b47e5
TT
30962016-06-29 Tom Tromey <tom@tromey.com>
3097
3098 PR python/20129:
3099 * gdb.python/py-framefilter.exp: Add tests for setting priority
3100 and disabling of non-existent frame filter.
3101
28244707
YQ
31022016-06-29 Yao Qi <yao.qi@linaro.org>
3103
3104 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3105 0x0f07ff.
3106
a31d2f06
YQ
31072016-06-28 Yao Qi <yao.qi@linaro.org>
3108
3109 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3110 triplets. Start gdb, execute catch syscall, and continue. Check
3111 gdb's output to determine catch syscall is supported.
3112
921d8f54
MG
31132016-06-27 Manish Goregaokar <manish@mozilla.com>
3114
25d49b86
PA
3115 * gdb.rust/simple.rs: Add test for returning unit in a function.
3116 * gdb.rust/simple.exp: Add expectation for functions returning
3117 unit.
921d8f54 3118
f4952523
PMR
31192016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3120
3121 * gdb.python/py-breakpoint-create-fail.c,
3122 gdb.python/py-breakpoint-create-fail.exp,
3123 gdb.python/py-breakpoint-create-fail.py: New testcase.
3124
fccb08f8
MG
31252016-06-25 Manish Goregaokar <manish@mozilla.com>
3126
3127 PR gdb/20239
3128 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
3129 * gdb.rust/simple.exp: Add test expectations for new NonZero
3130 tests.
fccb08f8 3131
6b850546
DT
31322016-06-24 David Taylor <dtaylor@emc.com>
3133
3134 * gdb.base/offsets.exp: New file.
3135 * gdb.base/offsets.c: New file.
3136
17621150
TT
31372016-06-23 Tom Tromey <tom@tromey.com>
3138
3139 PR gdb/16483:
3140 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3141 before any filters are loaded.
3142
04d59df6
WT
31432016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3144
3145 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3146 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3147 structs.
3148 * gdb.fortran/derived-type-function.exp: New file.
3149 * gdb.fortran/derived-type-function.f90: New file.
3150
3151
ac69f786
PA
31522016-06-21 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.base/new-ui.exp: New file.
3155 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3156 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3157 (with_spawn_id): New procedure.
3158
49940788
PA
31592016-06-21 Pedro Alves <palves@redhat.com>
3160
3161 * gdb.mi/mi-exec-run.exp: New file.
3162
ef274d26
PA
31632016-06-21 Pedro Alves <palves@redhat.com>
3164
3165 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3166 breakpoint command's output on the main UI.
3167 (test_break): New procedure, factored out from calls in the top
3168 level.
3169 (top level): Use foreach_with_prefix to test MI as main UI and as
3170 separate UI.
3171
468afe6c
PA
31722016-06-21 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3175 (test_awatch_creation_and_listing)
3176 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3177 Remove 'type' parameter.
3178 (test_watchpoint_all): New parameter mi_mode. Remove
3179 with_test_prefix.
3180 (top level): Use foreach_with_prefix, and add main/separate UI MI
3181 testing axis.
3182
51f77c37
PA
31832016-06-21 Pedro Alves <palves@redhat.com>
3184
3185 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3186 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3187 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3188 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3189 (gdb_main_spawn_id, mi_spawn_id): Declare and
3190 comment.
3191 (mi_create_inferior_pty): New procedure,
3192 factored out from default_mi_gdb_start.
3193 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3194 procedures.
3195 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3196 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3197 Use mi_create_inferior_pty.
3198 (mi_gdb_start): Use eval to pass down args list.
3199
8980e177
PA
32002016-06-21 Pedro Alves <palves@redhat.com>
3201
3202 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3203 * gdb.opt/inline-cmds.exp: Add MI tests.
3204
f38d3ad1
PA
32052016-06-21 Pedro Alves <palves@redhat.com>
3206
3207 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3208
45db7c09
PA
32092016-06-21 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3212 (top level): Use it instead of mi_execute_to.
3213
5a069ab3
PA
32142016-06-21 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3217 (cont_handler_str): New.
3218 (signal_stop_handler): Set stop_handler_str instead of printing to
3219 stdout.
3220 (continue_handler): Set cont_handler_str instead of printing to
3221 stdout.
3222 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3223 mi_send_resuming_command. Print stop_handler_str and
3224 cont_handler_str instead of expecting the python events print
3225 directly.
3226
2838cc1d
SD
32272016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3228
3229 * gdb.base/jit-reader.exp: New file.
3230 * gdb.base/jithost.c: New file.
3231 * gdb.base/jithost.h: New file.
3232 * gdb.base/jitreader.c : New file.
3233 * gdb.base/jit-protocol.h: New file.
3234
21a77091
YQ
32352016-06-17 Yao Qi <yao.qi@linaro.org>
3236
3237 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3238 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3239 and detach-on-fork. Adjust tests.
3240 (top level): Invoke break_cond_on_syscall with combinations of
3241 syscall, follow-fork-mode and detach-on-fork.
3242
f50bf8e5
YQ
32432016-06-17 Yao Qi <yao.qi@linaro.org>
3244
3245 * gdb.base/step-over-exit.c: New.
3246 * gdb.base/step-over-exit.exp: New.
3247
a28d8e50
YTL
32482016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3249
3250 * gdb.base/float.exp: Add target check for nds32*-*-*.
3251 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3252
cad8e26d
AB
32532016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3254
3255 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3256 for unsupported target features.
3257 * gdb.base/call-rt-st.exp: Likewise.
3258 * gdb.base/call-sc.exp: Likewise.
3259 * gdb.base/call-signal-resume.exp: Likewise.
3260 * gdb.base/call-strs.exp: Likewise.
3261 * gdb.base/callexit.exp: Likewise.
3262 * gdb.base/callfuncs.exp: Likewise.
3263 * gdb.base/nodebug.exp: Likewise.
3264 * gdb.base/printcmds.exp: Likewise.
3265 * gdb.base/ptype.exp: Likewise.
3266 * gdb.base/structs.exp: Likewise.
3267 * gdb.base/unwindonsignal.exp: Likewise.
3268 * gdb.cp/gdb2495.exp: Likewise.
3269 * gdb.cp/templates.exp: Likewise.
3270 * gdb.cp/virtfunc.exp: Likewise.
3271 * gdb.threads/hand-call-in-threads.exp: Likewise.
3272 * gdb.threads/interrupted-hand-call.exp: Likewise.
3273 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3274
347dc102
TT
32752016-06-10 Tom Tromey <tom@tromey.com>
3276
3277 PR rust/20110:
3278 * gdb.rust/expr.exp: Add test for integer constant larger than
3279 i32.
3280
5e13cf25
BH
32812016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3282
3283 * gdb.fortran/nested-funcs.exp: New.
3284 * gdb.fortran/nested-funcs.f90: New.
3285
bb556f1f
TK
32862016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3287
3288 * gdb.base/examine-backward.c: New file.
3289 * gdb.base/examine-backward.exp: New file.
3290
38b022b4
SM
32912016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3292
3293 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3294 matching.
3295
1b40ec05
TT
32962016-06-02 Tom Tromey <tom@tromey.com>
3297
3298 PR python/18984:
3299 * gdb.python/py-shared.exp: Add solib_name test.
3300
193bd378
SM
33012016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3302
3303 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3304
3326303b
MG
33052016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3306
3307 PR c++/19893
3308 * gdb.dwarf2/implref.exp: Rename to...
3309 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3310 * gdb.dwarf2/implref-array.c: New file.
3311 * gdb.dwarf2/implref-array.exp: Likewise.
3312 * gdb.dwarf2/implref-global.c: Likewise.
3313 * gdb.dwarf2/implref-global.exp: Likewise.
3314 * gdb.dwarf2/implref-struct.c: Likewise.
3315 * gdb.dwarf2/implref-struct.exp: Likewise.
3316
825c8ef2
AT
33172016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3318
3319 * gdb.trace/trace-condition.exp: Add 64bit tests.
3320
2320162a
AT
33212016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3322
3323 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3324 bits types.
3325 (main): Adapt to 8 to 64 bits types.
3326 * gdb.trace/trace-condition.exp: Add new tests.
3327
a7818233
AT
33282016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3329
3330 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3331
0d336466
AT
33322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3333
3334 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3335 Move condition tests...
3336 * gdb.trace/trace-condition.exp: Here.
3337
7faeb45a
AT
33382016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3339
3340 * gdb.trace/trace-condition.exp: Add counter-case tests.
3341
e385593e
JK
33422016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3343
3344 PR c++/15231
3345 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3346 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3347
744608cc
PA
33482016-05-27 Pedro Alves <palves@redhat.com>
3349
3350 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3351 New procedure.
3352 (top level): Call it, and bail out of DejaGnu is known to be bad.
3353
ac775bf4
AB
33542016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.base/whatis.c: Extend the test case.
3357 * gdb.base/whatis.exp: Add additional tests.
3358
2bbad2ea
BH
33592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3360
3361* gdb.fortran/type.f90: Add pointer variable.
3362* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3363
8b70175d
BH
33642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3365
3366 * gdb.fortran/vla-type.exp: Fix testcase name.
3367
86d8a848
BH
33682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3369
3370 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3371
e188eb36
BH
33722016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3373
3374 * gdb.fortran/type.f90: Add nested structures.
3375 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3376 * gdb.fortran/derived-type.exp: Adapt expected output.
3377 * gdb.fortran/vla-type.exp: Adapt expected output.
3378
9b2db1fd
BH
33792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3380
3381 * gdb.fortran/whatis_type.exp: Adapt expected output.
3382
72b17055
BH
33832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3384
3385 * gdb.fortran/print_type.exp: Fix expected output.
3386 * gdb.fortran/whatis_type.exp: Fix expected output.
3387
3cd81d8d
BH
33882016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3389
3390 * gdb.fortran/whatis_type.exp: Use multi_line.
3391
ddae9462
TT
33922016-05-24 Tom Tromey <tom@tromey.com>
3393
3394 PR python/17386:
3395 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3396 use value as an index.
3397
1957f6b8
TT
33982016-05-23 Tom Tromey <tom@tromey.com>
3399
3400 PR python/17981:
3401 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3402 no-breakpoint case.
3403
026a9174
PA
34042016-05-24 Pedro Alves <palves@redhat.com>
3405
3406 PR gdb/19828
3407 * gdb.threads/clone-attach-detach.c: New file.
3408 * gdb.threads/clone-attach-detach.exp: New file.
3409
e70a7231
FR
34102016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3411
3412 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3413
0f6ed0e0
TT
34142016-05-23 Tom Tromey <tom@tromey.com>
3415
3416 PR python/19438, PR python/18393:
3417 * gdb.python/py-progspace.exp: Add "dir" test.
3418 * gdb.python/py-objfile.exp: Add "dir" test.
3419
ffd19d61
YQ
34202016-05-23 Yao Qi <yao.qi@linaro.org>
3421
3422 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3423 * gdb.arch/thumb2-it.exp: Likewise.
3424
9e8f9b05
SM
34252016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3426
3427 * gdb.mi/mi-threads-interrupt.c: New file.
3428 * gdb.mi/mi-threads-interrupt.exp: New file.
3429
61c6156d
SM
34302016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3431
3432 PR gdb/18077
3433 * gdb.mi/mi-async-run.exp: New file.
3434 * gdb.mi/mi-async-run.c: New file.
3435
67218854
TT
34362016-05-17 Tom Tromey <tom@tromey.com>
3437 Manish Goregaokar <manishsmail@gmail.com>
3438
3439 * lib/rust-support.exp: New file.
3440 * lib/gdb.exp (skip_rust_tests): New proc.
3441 (build_executable_from_specs): Handle rust.
3442 * lib/future.exp (gdb_find_rustc): New proc.
3443 (gdb_default_target_compile): Handle rust.
3444 * gdb.rust/expr.exp: New file.
3445 * gdb.rust/generics.exp: New file.
3446 * gdb.rust/generics.rs: New file.
3447 * gdb.rust/methods.exp: New file.
3448 * gdb.rust/methods.rs: New file.
3449 * gdb.rust/modules.exp: New file.
3450 * gdb.rust/modules.rs: New file.
3451 * gdb.rust/simple.exp: New file.
3452 * gdb.rust/simple.rs: New file.
3453
c44af4eb
TT
34542016-05-17 Tom Tromey <tom@tromey.com>
3455
3456 * gdb.base/default.exp (set language): Add rust.
3457
dcd1f979
TT
34582016-05-17 Tom Tromey <tom@tromey.com>
3459
3460 * gdb.gdb/unittest.exp: New file.
3461
155b7f57
YQ
34622016-05-16 Yao Qi <yao.qi@linaro.org>
3463
3464 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3465 shell_prompt. Update shell_prompt_re.
3466
8ddd5a6c
DE
34672016-05-12 Doug Evans <dje@google.com>
3468
3469 PR symtab/19999
3470 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3471 $options when building executable.
3472 * gdb.dwarf2/fission-loclists-pie.S: New file.
3473 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3474
02e370d9
SM
34752016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3476
3477 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3478 of [is_remote target],
3479
8929ad8b
SM
34802016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3481
3482 * lib/gdb.exp (use_gdb_stub): New procedure.
3483
6c447423
DE
34842016-05-03 Yunlian Jiang <yunlian@google.com>
3485 Doug Evans <dje@google.com>
3486
3487 PR symtab/19914
3488 * gdb.dwarf2/dwp-sepdebug.c: New file.
3489 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3490
444e826c
SM
34912016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3492
3493 * gdb.base/detach.exp: Remove is_remote check.
3494
740feeaa
SM
34952016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3496
3497 * gdb.base/annota-input-while-running.exp: Don't check for
3498 [is_remote target]. Enable annotations after running to main.
3499 Remove unused "set test..." line.
3500
9080ac9d
SM
35012016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3502
3503 * gdb.trace/trace-enable-disable.exp: New file.
3504 * gdb.trace/trace-enable-disable.c: New file.
3505
952ebca5
SM
35062016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3507
3508 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3509 use it in info sharedlibrary test.
3510 * gdb.trace/ftrace-lock.exp: Likewise.
3511 * gdb.trace/ftrace.exp: Likewise.
3512 * gdb.trace/range-stepping.exp: Likewise.
3513 * gdb.trace/trace-break.exp: Likewise.
3514 * gdb.trace/trace-condition.exp: Likewise.
3515 * gdb.trace/trace-mt.exp: Likewise.
3516
d9019901
SM
35172016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3518
3519 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3520 (gdb_load_shlib): ... this.
3521 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3522 gdb_load_shlib.
3523 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3524 * gdb.base/ctxobj.exp: Likewise.
3525 * gdb.base/dprintf-pending.exp: Likewise.
3526 * gdb.base/dso2dso.exp: Likewise.
3527 * gdb.base/fixsection.exp: Likewise.
3528 * gdb.base/gcore-relro.exp: Likewise.
3529 * gdb.base/gdb1555.exp: Likewise.
3530 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3531 * gdb.base/gnu-ifunc.exp: Likewise.
3532 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3533 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3534 * gdb.base/pending.exp: Likewise.
3535 * gdb.base/print-file-var.exp: Likewise.
3536 * gdb.base/print-symbol-loading.exp: Likewise.
3537 * gdb.base/shlib-call.exp: Likewise.
3538 * gdb.base/shreloc.exp: Likewise.
3539 * gdb.base/so-impl-ld.exp: Likewise.
3540 * gdb.base/solib-disc.exp: Likewise.
3541 * gdb.base/solib-nodir.exp: Likewise.
3542 * gdb.base/solib-overlap.exp: Likewise.
3543 * gdb.base/solib-symbol.exp: Likewise.
3544 * gdb.base/solib-weak.exp (do_test): Likewise.
3545 * gdb.base/sym-file.exp: Likewise.
3546 * gdb.base/symtab-search-order.exp: Likewise.
3547 * gdb.base/type-opaque.exp: Likewise.
3548 * gdb.base/unload.exp: Likewise.
3549 * gdb.base/watchpoint-solib.exp: Likewise.
3550 * gdb.compile/compile.exp: Likewise.
3551 * gdb.cp/gdb2384.exp: Likewise.
3552 * gdb.cp/infcall-dlopen.exp: Likewise.
3553 * gdb.cp/re-set-overloaded.exp: Likewise.
3554 * gdb.fortran/library-module.exp: Likewise.
3555 * gdb.opt/solib-intra-step.exp: Likewise.
3556 * gdb.python/py-finish-breakpoint.exp: Likewise.
3557 * gdb.python/py-shared.exp: Likewise.
3558 * gdb.reverse/solib-precsave.exp: Likewise.
3559 * gdb.reverse/solib-reverse.exp: Likewise.
3560 * gdb.server/solib-list.exp: Likewise.
3561 * gdb.threads/dlopen-libpthread.exp: Likewise.
3562 * gdb.threads/tls-shared.exp: Likewise.
3563 * gdb.threads/tls-so_extern.exp: Likewise.
3564 * gdb.trace/change-loc.exp: Likewise.
3565 * gdb.trace/ftrace-lock.exp: Likewise.
3566 * gdb.trace/ftrace.exp: Likewise.
3567 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3568 * gdb.trace/pending.exp: Likewise.
3569 * gdb.trace/range-stepping.exp: Likewise.
3570 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3571 (strace_info_marker): Likewise.
3572 (strace_probe_marker): Likewise.
3573 (strace_trace_on_same_addr): Likewise.
3574 (strace_trace_on_diff_addr): Likewise.
3575 * gdb.trace/trace-break.exp: Likewise.
3576 * gdb.trace/trace-condition.exp: Likewise.
3577 * gdb.trace/trace-mt.exp: Likewise.
3578
fca4cfd9
SM
35792016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3580
3581 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3582 result of gdb_remote_download.
3583 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3584 * gdb.base/dso2dso.exp: Likewise.
3585 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3586 * gdb.base/print-file-var.exp: Likewise.
3587 * gdb.base/shlib-call.exp: Likewise.
3588 * gdb.base/shreloc.exp: Likewise.
3589 * gdb.base/solib-overlap.exp: Likewise.
3590 * gdb.base/solib-weak.exp (do_test): Likewise.
3591 * gdb.base/unload.exp: Likewise.
3592
11cf4ffb
YQ
35932016-04-27 Yao Qi <yao.qi@linaro.org>
3594
3595 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3596 exists.
3597
3e2e34f8
KB
35982016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3599
3600 * vla-type.exp: Print structure from toplevel.
3601
8f07e298
BH
36022016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3603
3604 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3605 of dynamic types.
3606 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3607 of dynamic types.
3608
9920b434
BH
36092016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3610
3611 * gdb.fortran/vla-type.f90: New file.
3612 * gdb.fortran/vla-type.exp: New file.
3613
f3abeff5
YQ
36142016-04-25 Yao Qi <yao.qi@linaro.org>
3615
3616 * gdb.base/branch-to-self.c: New file.
3617 * gdb.base/branch-to-self.exp: New file.
3618
0a5d52f0
YQ
36192016-04-22 Yao Qi <yao.qi@linaro.org>
3620
3621 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3622 more after $hex.
3623
495346f6
YQ
36242016-04-22 Yao Qi <yao.qi@linaro.org>
3625
3626 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3627 * gdb.base/annota3.exp: Likewise.
3628
4a7e075c
YQ
36292016-04-22 Yao Qi <yao.qi@linaro.org>
3630
3631 * gdb.reverse/step-precsave.exp: Do one step and test program
3632 stops in "callee" and do multiple steps until program goes out
3633 of "callee".
3634 * gdb.reverse/step-reverse.exp: Likewise.
3635
5b061e98
YQ
36362016-04-22 Yao Qi <yao.qi@linaro.org>
3637
3638 * gdb.trace/signal.exp: Also pass if
3639 $tracepoint_hits($i) > $iterations.
3640
5c5dc57f
YQ
36412016-04-22 Yao Qi <yao.qi@linaro.org>
3642
3643 * gdb.trace/signal.c: New file.
3644 * gdb.trace/signal.exp: New file.
3645
a55411b9
DE
36462016-04-19 Doug Evans <xdje42@gmail.com>
3647
3648 * gdb.base/bad-file.exp: New file.
3649
a22df60a
MG
36502016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3651
3652 * gdb.dwarf2/implref.exp: New file.
3653
0c13f7e5
BH
36542016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3655
3656 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3657 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3658 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3659 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3660 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3661 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3662 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3663 * lib/fortran.exp (fortran_int4): New procedure.
3664 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3665 (fortran_logical4): Likewise.
3666
9b9b09e9
BH
36672016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3668
3669 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3670
a14d1f4d
BH
36712016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3672
3673 * lib/compiler.c: Add Intel specific preprocessor macros.
3674 * lib/compiler.cc: Likewise.
25d49b86 3675
7d49b1d0
LM
36762016-04-13 Luis Machado <lgustavo@codesourcery.com>
3677
3678 * gdb.server/connect-with-no-symbol-file.c: New file.
3679 * gdb.server/connect-with-no-symbol-file.exp: New file.
3680
8392fa22
SM
36812016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3682
3683 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3684
8c4c4aeb
SM
36852016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3686
3687 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3688 standard output directory.
3689
45e3745e
AT
36902016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3691
3692 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3693
e26b7e41
MM
36942016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3695
3696 * gdb.btrace/instruction_history.c (loop): Add declaration.
3697
8ce09462
AT
36982016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3699
3700 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3701
2e88a1ea
SM
37022016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3703
3704 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3705 parentheses to print.
3706 (continue_handler): Likewise.
3707
f48e22e3
SM
37082016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3709
3710 * gdb.server/solib-list.exp: Remove is_remote check.
3711 Pass shlib= to gdb_compile. Don't link shared library with
3712 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3713 Run binary filename through "readlink -f" on the target.
3714
096be756
PA
37152016-04-08 Pedro Alves <palves@redhat.com>
3716
3717 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3718 interpreter filename as argument to gdbserver_spawn.
3719 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3720 Return empty if $last_loaded_file does not exist.
3721
06500533
JK
37222016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3723
3724 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3725 * gdb.base/jit-main.c: Use exit after usage.
3726
2d35e871
JK
37272016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3728
3729 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3730 GDBHISTSIZE prior to the tests.
3731 * gdb.base/gdbinit-history.exp: Likewise.
3732
37332016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
3734
3735 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3736 instead of build_executable. Use gdb_load_shlibs.
3737
c8064e7e
YQ
37382016-04-07 Yao Qi <yao.qi@linaro.org>
3739
3740 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3741 Execute "si" command.
3742
bde47561
YQ
37432016-04-07 Yao Qi <yao.qi@linaro.org>
3744
3745 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3746 number instead of the comments on some line.
3747
b16f8a3b
DB
37482016-04-06 Don Breazeal <donb@codesourcery.com>
3749
3750 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3751 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3752
c2f901df
SM
37532016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3754
3755 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3756 standard_output_file. Remove unused binfile variable.
3757
ac17fda0
CU
37582016-04-05 Catalin Udma <catalin.udma@freescale.com>
3759
3760 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3761 * gdb.python/py-mi-objfile.exp: Match "list main" output
3762 in console format.
3763
03a8c4df
SM
37642016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3765
3766 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3767 absolute.
3768
6e774b13
SM
37692016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3770
3771 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3772 absolute.
3773 * gdb.trace/ftrace.exp: Likewise.
3774 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3775 targets as well.
3776 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3777 (gdb_load_shlibs): Copy libraries to test directory when testing
3778 natively. Only set solib-search-path if testing remotely.
3779 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3780
7817ea46
SM
37812016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3782
3783 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3784 gdb_download. Use it even if the target is not remote.
3785 * gdb.base/jit.exp (compile_jit_test): Likewise.
3786 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3787 output directory if the destination board is local, otherwise use
3788 the standard remote_download from DejaGnu.
3789 (gdb_download): Remove.
3790 (gdb_load_shlibs): Use gdb_remote_download instead of
3791 gdb_download.
3792 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3793 Use gdb_remote_download instead of gdb_download. Use it even if
3794 the target is not remote.
3795 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3796 instead of gdb_download.
3797
7beb7f68
SM
37982016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3799
3800 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3801 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3802 run.
3803
cc63428a
AV
38042016-04-01 Artemiy Volkov <artemiyv@acm.org>
3805
3806 PR gdb/19820
3807 * gdb.base/printcmds.exp: Add artificial arrays tests.
3808
64cdf930
PA
38092016-03-31 Pedro Alves <palves@redhat.com>
3810
3811 PR gdb/19858
3812 * gdb.base/jit-main.c: Include unistd.h.
3813 (ATTACH): Define to 0 if not already defined.
3814 (wait_for_gdb, mypid): New globals.
3815 (WAIT_FOR_GDB): New macro.
3816 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3817 some breakpoint locations.
3818 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3819 New procedures.
3820 (one_jit_test): Add REATTACH parameter, and handle it. Use
3821 continue_to_test_location.
3822 (top level): Test attach, and adjusts calls to one_jit_test.
3823
40dea8cb
PA
38242016-03-31 Pedro Alves <palves@redhat.com>
3825
3826 PR gdb/19858
3827 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3828 BINSUFFIX parameter, and handle it.
3829 (top level): Adjust calls compile_jit_test.
3830
e7ea3ec7
CU
38312016-03-31 Catalin Udma <catalin.udma@freescale.com>
3832
3833 PR python/19743
3834 * gdb.python/py-mi-events-gdb.py: New file.
3835 * gdb.python/py-mi-events.c: New file.
3836 * gdb.python/py-mi-events.exp: New file.
3837
e6359af3
YQ
38382016-03-30 Yao Qi <yao.qi@linaro.org>
3839
3840 * gdb.reverse/until-precsave.exp: Match function name only.
3841 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3842 Move malloc to a condition block.
3843 * gdb.reverse/until-reverse.exp: Match function name only.
3844
a4105d04
MK
38452016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3846
3847 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3848 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3849 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3850 variable for GPR 0 instead of assuming it is register 0.
3851 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3852 * lib/trace-support.exp: Add s390 registers.
3853
bfa6adb9
YQ
38542016-03-29 Yao Qi <yao.qi@linaro.org>
3855
3856 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3857
1e6697ea
YQ
38582016-03-24 Yao Qi <yao.qi@linaro.org>
3859
3860 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3861 test message.
3862
64bcd522
AA
38632016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3864
3865 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3866 maintaining separate logic for constructing the output path.
3867
7868401b
DB
38682016-03-16 Don Breazeal <donb@codesourcery.com>
3869
3870 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3871 Retry fork and waitpid on interrupted system call errors.
3872 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3873 Use with_timeout_factor to increase timeout by factor of 10.
3874
1cafadb4
DB
38752016-03-15 Don Breazeal <donb@codesourcery.com>
3876
3877 * gdb.cp/scope-err.cc: New test program.
3878 * gdb.cp/scope-err.exp: New test script.
3879 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3880 lines and "set breakpoint here" comment.
3881 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3882 Fixed some whitespace and format issues.
3883 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3884 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3885
81516450
DE
38862016-03-15 Doug Evans <dje@google.com>
3887
3888 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3889 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3890 All callers updated. Add tests for enums, mixed flags register.
3891
aa52b601
DE
38922016-03-15 Doug Evans <dje@google.com>
3893
3894 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3895 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3896
fa4ff313
SM
38972016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3898
3899 * gdb.base/default.exp: Add $_as_string to the list of expected
3900 convenience functions.
3901
f2403c39
AB
39022016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3903
3904 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3905
f2f3ccb9
SM
39062016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3907
3908 * gdb.python/py-as-string.exp: New file.
3909 * gdb.python/py-as-string.c: New file.
3910
00dbd492
PA
39112016-03-09 Pedro Alves <palves@redhat.com>
3912
3913 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3914 signal" -> "Thread NN received signal" output change.
3915 * gdb.threads/ia64-sigill.exp: Likewise.
3916 * gdb.threads/linux-dp.exp: Likewise.
3917 * gdb.threads/manythreads.exp: Likewise.
3918 * gdb.threads/pending-step.exp: Likewise.
3919 * gdb.threads/print-threads.exp: Likewise.
3920 * gdb.threads/sigstep-threads.exp: Likewise.
3921 * gdb.threads/staticthreads.exp: Likewise.
3922 * gdb.threads/tls.exp: Likewise.
3923
1e6697ea
YQ
39242016-03-09 Pedro Alves <palves@redhat.com>
3925
3926 * gdb.base/command-line-input.exp: New file.
3927
b04fd3be
MK
39282016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3929
3930 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3931 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3932 * gdb.trace/pending.exp: Accept leading dot before function name.
3933 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3934 * lib/trace-support.exp: Set registers for ppc.
3935
98fa59e9
MK
39362016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3937
3938 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3939 use it for disassembly; accept .main in addition to main in backtrace.
3940
f77198c8
MK
39412016-03-09 Wei-cheng Wang <cole945@gmail.com>
3942 Marcin Kościelnicki <koriakin@0x04.net>
3943
3944 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3945 (gdb_recursion_test_ptr): New global variable.
3946 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3947 gdb_recursion_test.
3948 (gdb_c_test): Ditto.
3949
ba84e0da
MK
39502016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3951
3952 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3953 ordering.
3954
4366d36e
MK
39552016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3956
3957 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3958 (bar): Add bar_start_lbl label.
3959 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3960 of foo/bar for emitting DWARF and tracing.
3961
5eb264df
SDJ
39622016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3963
3964 * analyze-racy-logs.py: Set executable bit.
3965
fb6a751f
SDJ
39662016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3967
3968 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3969 (CHECK_TARGET_TMP): Likewise.
3970 (check-single-racy): New rule.
3971 (check-parallel-racy): Likewise.
3972 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3973 (do-check-parallel-racy): New rule.
3974 (check-racy/%.exp): Likewise.
3975 * README (Racy testcases): New section.
3976 * analyze-racy-logs.py: New file.
3977
bdf7e230
DE
39782016-03-03 Doug Evans <dje@google.com>
3979
3980 * gdb.base/skip.exp: Use with_test_prefix.
3981
4719d415
YQ
39822016-03-03 Yao Qi <yao.qi@linaro.org>
3983
3984 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3985 Invoke step_over_syscall "clone" and break_cond_on_syscall
3986 "clone".
3987 * gdb.base/step-over-clone.c: New file.
3988
ea507862
YQ
39892016-03-03 Yao Qi <yao.qi@linaro.org>
3990
3991 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3992 code format.
3993
8fc8cbda
YQ
39942016-03-03 Yao Qi <yao.qi@linaro.org>
3995
3996 * gdb.base/disp-step-fork.c: Rename to ...
3997 * gdb.base/step-over-fork.c: ... it. New file.
3998 * gdb.base/disp-step-vfork.c: Rename to ...
3999 * gdb.base/step-over-vfork.c: ... it. New file.
4000 * gdb.base/disp-step-syscall.exp: Rename to ...
4001 * gdb.base/step-over-syscall.exp: ... it. New file.
4002 (disp_step_cross_syscall): Rename to ...
4003 (step_over_syscall): ... it.
4004
92fa70b0
YQ
40052016-03-03 Yao Qi <yao.qi@linaro.org>
4006
4007 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4008 If target supports condition evaluation on target, invoke
4009 break_cond_on_syscall for fork and vfork.
4010
e197ad3c
YQ
40112016-03-03 Yao Qi <yao.qi@linaro.org>
4012
4013 * gdb.base/disp-step-syscall.exp: Don't invoke
4014 support_displaced_stepping.
4015 (disp_step_cross_syscall): Test with displaced stepping off and
4016 on if supported.
4017
0b47da9f
YQ
40182016-03-03 Yao Qi <yao.qi@linaro.org>
4019
4020 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4021 proc.
4022 (setup): New proc.
4023 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4024 and setup.
4025
065ab6dc
BH
40262016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4027
4028 * gdb.fortran/vla-history.exp: Remove breakpoint.
4029
07e448ad 40302016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4031
25d49b86
PA
4032 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4033 exceeds timeout.
07e448ad 4034
9ac2d526 40352016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4036
25d49b86
PA
4037 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4038 breakpoint.
9ac2d526 4039
17807369
BH
40402016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4041
4042 * gdb.mi/vla.f90: Nullify pointer after declaration.
4043
86e501af
PA
40442016-03-01 Pedro Alves <palves@redhat.com>
4045
4046 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4047
1e903e32
PA
40482016-03-01 Pedro Alves <palves@redhat.com>
4049
4050 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4051 before anything else.
4052 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4053 _GNU_SOURCE here.
4054 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4055 before anything else.
4056 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4057
6ccb54e2
PA
40582016-03-01 Pedro Alves <palves@redhat.com>
4059
4060 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4061
30ca9da1
YQ
40622016-03-01 Yao Qi <yao.qi@linaro.org>
4063
4064 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4065 prepare_for_testing.
4066
dc856b38
YQ
40672016-03-01 Yao Qi <yao.qi@linaro.org>
4068
4069 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4070
4a932159
AA
40712016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4072
4073 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4074 manually constructing the output path.
4075
f2489477
AA
40762016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4077
4078 * gdb.arch/s390-stackless.S: New.
4079 * gdb.arch/s390-stackless.exp: New.
4080
38899f16
IB
40812016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4082
4083 * gdb.dlang/circular.c: New file.
4084 * gdb.dlang/circular.exp: New file.
4085
9fde51ed
YQ
40862016-02-26 Yao Qi <yao.qi@linaro.org>
4087
4088 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4089 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4090 (testcases): Update.
4091
ce90fefe
YQ
40922016-02-26 Yao Qi <yao.qi@linaro.org>
4093
4094 * gdb.reverse/aarch64.c: Rename to ...
4095 * gdb.reverse/insn-reverse.c: ... it.
4096 * gdb.reverse/aarch64.exp: Rename to ...
4097 * gdb.reverse/insn-reverse.exp: ... it.
4098
3263bceb
YQ
40992016-02-26 Yao Qi <yao.qi@linaro.org>
4100
4101 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4102 (testcase_ftype): New.
4103 (testcases): New array.
4104 (n_testcases): New.
4105 (main): Call each element in testcases.
4106 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4107 (read_testcase): New.
4108 Do the tests in a loop.
4109
6cb59ff1
YQ
41102016-02-25 Yao Qi <yao.qi@linaro.org>
4111
4112 * gdb.base/branches.c: Remove.
4113
ae91f625
MK
41142016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4115
4116 PR gdb/13808
4117 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4118
678b48b7
MK
41192016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4120
4121 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4122
7337a6f2
MK
41232016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4124
4125 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4126 change x86_64 call_insn to 'callq'.
4127
861ca91f
AT
41282016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4129
4130 * gdb.trace/tfile-avx.c: Move to...
4131 * gdb.trace/tracefile-pseudo-reg.c: Here.
4132 * gdb.trace/tfile-avx.exp: Move to...
4133 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4134
bf74e428
GB
41352016-02-24 Gary Benson <gbenson@redhat.com>
4136
4137 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4138 message on attach.
4139
cce0e923
DE
41402016-02-23 Doug Evans <dje@google.com>
4141
4142 * gdb.base/skip.c (test_skip): New function.
4143 (end_test_skip_file_and_function): New function.
4144 (test_skip_file_and_function): New function.
4145 * gdb.base/skip1.c (test_skip): New function.
4146 (skip1_test_skip_file_and_function): New function.
4147 * gdb.base/skip.exp: Add tests for new skip options.
4148 * gdb.base/skip-solib.exp: Update expected output.
4149 * gdb.perf/skip-command.cc: New file.
4150 * gdb.perf/skip-command.exp: New file.
4151 * gdb.perf/skip-command.py: New file.
4152
4000e47e
MK
41532016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4154
4155 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4156 info registers pattern.
4157
24f75ead
IB
41582016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4159
4160 * lib/future.exp: Add D support.
4161 (gdb_find_gdc): New proc.
4162 (gdb_default_target_compile): Add D support.
4163
fbb7bcbe
WW
41642016-02-18 Wei-cheng Wang <cole945@gmail.com>
4165
4166 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4167 user+system time.
4168 (trace_speed_test): Determine the iteration count for a time
4169 between 15..30 seconds.
4170
012b3a21
WT
41712016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4172
4173 * gdb.arch/i386-mpx-sigsegv.c: New file.
4174 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4175 * gdb.arch/i386-mpx-simple_segv.c: New file.
4176 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4177
2d5189bd
YQ
41782016-02-18 Yao Qi <yao.qi@linaro.org>
4179
4180 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4181 Don't call setup_kfail.
4182
40fb20d0
YQ
41832016-02-18 Yao Qi <yao.qi@linaro.org>
4184
4185 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4186 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4187
21b1f8d2
DE
41882016-02-16 Doug Evans <dje@google.com>
4189
4190 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4191 * gdb.base/skip1.c: Ditto.
4192 * gdb.base/skip.exp: Whitespace cleanup.
4193
4041ed77
DB
41942016-02-16 Don Breazeal <donb@codesourcery.com>
4195
4196 PR remote/19496
4197 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4198 Remove kfail for PR remote/19496.
4199
c4ef31bf
SM
42002016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4201
4202 * lib/gdb.exp (standard_temp_file): Return a path specific to
4203 the runtest invocation.
4204
266b65b3
SM
42052016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4206
4207 * gdb.trace/save-trace.exp: Change relative path to be in the
4208 standard output directory.
4209
a7a0a6a9
JK
42102016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4211
4212 * gdb.arch/i386-prologue.c: Add missing prototypes.
4213
c99dbb42
JK
42142016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4215
4216 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4217 * gdb.arch/i386-prologue.exp: Likewise.
4218 * gdb.arch/i386-size.exp: Likewise.
4219
aa480355
SM
42202016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4221
4222 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4223 define object file path.
4224 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4225 file path.
4226 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4227 standard_output_file to define binfile.
4228
ba881f50
JK
42292016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 Fix compatibility with recent gfortran-5.3.1.
4232 * gdb.fortran/vla-history.exp (print vla1 allocated)
4233 (print vla2 allocated, print $2, print $3): Remove
4234 (print $4): Rename to ...
4235 (print $2): ... here.
4236 (print $9): Rename to ...
4237 (print $5): ... here.
4238 (print $10): Rename to ...
4239 (print $6): ... here.
4240 * gdb.fortran/vla.f90: Add pvla initialization.
4241
e9fb005c
JK
42422016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4243
4244 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4245 New test.
4246 * gdb.fortran/vla-value-sub.exp: Likewise.
4247
e44e00ff
MK
42482016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4249
4250 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4251
97e94151
SM
42522016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4253
4254 * i386-biarch-core.exp: Define corefile using
4255 standard_output_file.
4256
01113bc1
YQ
42572016-02-12 Yao Qi <yao.qi@linaro.org>
4258
4259 * gdb.arch/arm-single-step-kernel-helper.c: New.
4260 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4261
33b4777c
MM
42622016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4263
4264 * gdb.btrace/tailcall-only.exp: New.
4265 * gdb.btrace/tailcall-only.c: New.
4266 * gdb.btrace/x86_64-tailcall-only.S: New.
4267 * gdb.btrace/i686-tailcall-only.S: New.
4268
acc23c11
PA
42692016-02-11 Pedro Alves <palves@redhat.com>
4270
4271 * README (Parallel testing): Add missing double quotes.
4272
e352bf0a
PA
42732016-02-11 Pedro Alves <palves@redhat.com>
4274
4275 * README (Parallel testing): New section.
4276 (GDB_PARALLEL): Rewrite.
4277 (FORCE_PARALLEL): Document.
4278
9f5fed78
MK
42792016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4280
4281 * gdb.trace/tfile-avx.c: New test.
4282 * gdb.trace/tfile-avx.exp: New test.
4283
9ef9e6a6
KS
42842016-02-09 Keith Seitz <keiths@redhat.com>
4285
4286 PR breakpoints/19546
4287 * gdb.base/infcall-exec.c: New file.
4288 * gdb.base/infcall-exec2.c: New file.
4289 * gdb.base/infcall-exec.exp: New file.
4290
a96e36da
KS
42912016-02-09 Keith Seitz <keiths@redhat.com>
4292
4293 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4294 (toplevel): Call test_bkpt_address.
4295
9f61929f
KS
42962016-02-09 Keith Seitz <keiths@redhat.com>
4297
4298 PR python/19506
4299 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4300 (toplevel): Call test_bkpt_address.
4301
1e94266c
SM
43022016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4303
4304 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4305 to AC_OUTPUT.
4306 * configure: Regenerate.
4307
2a7f3dff
PA
43082016-02-09 Pedro Alves <palves@redhat.com>
4309
4310 PR breakpoints/19548
4311 * gdb.base/execl-update-breakpoints.c (some_function): New
4312 function.
4313 (main): Call it.
4314 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4315 Tighten expected GDB output.
4316
2151ccc5
SM
43172016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4318
4319 * Makefile.in (ALL_SUBDIRS): Remove.
4320 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4321 (distclean maintainer-clean realclean): Likewise.
4322 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4323 * configure: Regenerate.
4324 * gdb.ada/Makefile.in: Delete.
4325 * gdb.arch/Makefile.in: Likewise.
4326 * gdb.asm/Makefile.in: Likewise.
4327 * gdb.base/Makefile.in: Likewise.
4328 * gdb.btrace/Makefile.in: Likewise.
4329 * gdb.cell/Makefile.in: Likewise.
4330 * gdb.compile/Makefile.in: Likewise.
4331 * gdb.cp/Makefile.in: Likewise.
4332 * gdb.disasm/Makefile.in: Likewise.
4333 * gdb.dlang/Makefile.in: Likewise.
4334 * gdb.dwarf2/Makefile.in: Likewise.
4335 * gdb.fortran/Makefile.in: Likewise.
4336 * gdb.gdb/Makefile.in: Likewise.
4337 * gdb.go/Makefile.in: Likewise.
4338 * gdb.guile/Makefile.in: Likewise.
4339 * gdb.java/Makefile.in: Likewise.
4340 * gdb.linespec/Makefile.in: Likewise.
4341 * gdb.mi/Makefile.in: Likewise.
4342 * gdb.modula2/Makefile.in: Likewise.
4343 * gdb.multi/Makefile.in: Likewise.
4344 * gdb.objc/Makefile.in: Likewise.
4345 * gdb.opencl/Makefile.in: Likewise.
4346 * gdb.opt/Makefile.in: Likewise.
4347 * gdb.pascal/Makefile.in: Likewise.
4348 * gdb.perf/Makefile.in: Likewise.
4349 * gdb.python/Makefile.in: Likewise.
4350 * gdb.reverse/Makefile.in: Likewise.
4351 * gdb.server/Makefile.in: Likewise.
4352 * gdb.stabs/Makefile.in: Likewise.
4353 * gdb.threads/Makefile.in: Likewise.
4354 * gdb.trace/Makefile.in: Likewise.
4355 * gdb.xml/Makefile.in: Likewise.
4356 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4357 GDB_PARALLEL.
4358 (standard_output_file): Remove check for GDB_PARALLEL, always
4359 return path in outputs/$subdir/$testname.
4360
437277d4
SM
43612016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4362
4363 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4364 (site.exp): Assign abs_srcdir to tcl's srcdir.
4365
31d913c7
YQ
43662016-02-04 Yao Qi <yao.qi@linaro.org>
4367
4368 * gdb.base/foll-exec-mode.c: Include limits.h.
4369 (main): Add parameters argc and argv. Get directory from
4370 argv[0].
4371 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4372 compilation.
4373 * gdb.base/foll-exec.c: Include limits.h.
4374 (main): Add parameters argc and argv.
4375 Get directory from argv[0].
4376 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4377 Adjust tests on the number of lines as source code changed.
4378 * gdb.base/foll-vfork-exit.c: Include limits.h.
4379 (main): Add one line of statement before vfork.
4380 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4381 (main): Add parameters argc and argv. Get directory from
4382 argv[0].
4383 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4384 (setup_gdb): Set tbreak to skip some source lines.
4385 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4386 (main): Add parameters argc and argv. Get directory from
4387 argv[0].
4388 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4389 compilation.
4390 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4391 (main): Add parameters argc and argv. Get directory from
4392 argv[0].
4393 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4394 compilation.
4395
9482b9fb
DE
43962016-02-01 Doug Evans <dje@google.com>
4397
4398 * gdb.base/skip.exp: Clean up multiple references to same test name.
4399
6b2e4f10
PA
44002016-02-01 Pedro Alves <palves@redhat.com>
4401
ccb6afd6 4402 PR remote/19496
6b2e4f10
PA
4403 * gdb.threads/forking-threads-plus-breakpoint.exp
4404 (displaced_stepping_supported): New global.
4405 (probe_displaced_stepping_support): New procedure.
4406 (do_test): Add 'displaced' parameter, and use it.
4407 (top level): Check for displaced stepping support. Add displaced
4408 stepping on/off testing axis.
4409
37a8db1a
AB
44102016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4411
4412 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4413 pointer. Don't perform further tests on the unassociated pointer
4414 if the first test fails.
4415
5fdf6324
AB
44162016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4417
4418 * gdb.base/max-value-size.c: New file.
4419 * gdb.base/max-value-size.exp: New file.
4420 * gdb.base/huge.exp: Disable max-value-size for this test.
4421
935c6144
IB
44222016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4423
4424 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4425
7fe8399d
YQ
44262016-01-28 Yao Qi <yao.qi@linaro.org>
4427
4428 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4429
a2077e25
PA
44302016-01-25 Pedro Alves <palves@redhat.com>
4431
4432 PR threads/19461
4433 * gdb.base/fork-running-state.c: New file.
4434 * gdb.base/fork-running-state.exp: New file.
4435
1d2736d4
PA
44362016-01-25 Pedro Alves <palves@redhat.com>
4437
4438 PR gdb/19494
4439 * gdb.base/catch-fork-kill.c: New file.
4440 * gdb.base/catch-fork-kill.exp: New file.
4441
f1da4b11
PA
44422016-01-25 Pedro Alves <palves@redhat.com>
4443
4444 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4445 Delete, moved to lib/gdb.exp.
4446 * gdb.threads/forking-threads-plus-breakpoint.exp
4447 (foreach_with_prefix): Likewise.
4448 * gdb.threads/process-dies-while-handling-bp.exp
4449 (foreach_with_prefix): Likewise.
4450 * lib/gdb.exp (foreach_with_prefix): New procedure.
4451
45f38546
MK
44522016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4453
4454 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4455 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4456
dc29a1ce
MK
44572016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4458
4459 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4460 endian targets.
4461
092127d7
JK
44622016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4463 Pedro Alves <palves@redhat.com>
4464
4465 Fix testsuite compatibility with Guile.
4466 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4467 number.
4468
31d765d3
JK
44692016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4470
4471 Fix testsuite compatibility with Guile.
4472 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4473 (thread 1): New test for backtrace through signal handler.
4474
1ac78c04
YQ
44752016-01-22 Yao Qi <yao.qi@linaro.org>
4476
4477 PR testsuite/19491
4478 * gdb.base/multi-forks.c: Include
4479 ../lib/unbuffer_output.c
4480 (main): Call gdb_unbuffer_output.
4481
4f5946a8
DE
44822016-01-21 Doug Evans <dje@google.com>
4483
4484 * lib/ada.exp (gdb_compile_ada): Fix typo.
4485
305e13e6
JB
44862016-01-21 Joel Brobecker <brobecker@adacore.com>
4487
4488 * gdb.base/break-fun-addr.exp: New file.
4489 * gdb.base/break-fun-addr1.c: New file.
4490 * gdb.base/break-fun-addr2.c: New file.
4491
5f5dfff6
SM
44922016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4493
4494 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4495 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4496 enum flag values.
4497
fd356fa2
AA
44982016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4499
4500 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4501 when GDB can not set the vector return value. Add more comments
4502 for clarification.
4503
9df22175
AT
45042016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4505
4506 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4507 command.
4508
41d1845e
SM
45092016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4510
4511 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4512
01ac6840
SM
45132016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4514
4515 * Makefile.in (check-single): Pass --status to runtest.
4516 (check/%.exp): Likewise.
4517
45182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4519
4520 * Makefile.in (check-parallel): Propagate return code from make
4521 do-check-parallel.
4522
bd0a71fa
MK
45232016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4524
4525 * gdb.trace/ftrace.exp: Fix expected message on continue.
4526 * gdb.trace/pending.exp: Fix expected message on continue.
4527 * gdb.trace/trace-break.exp: Fix expected message on continue.
4528
8bcbad33
SM
45292016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4530
4531 * lib/gdb.exp (gdb_test): Remove unused global references.
4532
f303dbd6
PA
45332016-01-18 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.base/async-shell.exp: Adjust expected output.
4536 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4537 * gdb.base/siginfo-thread.exp: Adjust expected output.
4538 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4539 * gdb.java/jnpe.exp: Adjust expected output.
4540 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4541 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4542 * gdb.threads/leader-exit.exp: Adjust expected output.
4543 * gdb.threads/manythreads.exp: Adjust expected output.
4544 * gdb.threads/pthreads.exp: Adjust expected output.
4545 * gdb.threads/schedlock.exp: Adjust expected output.
4546 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4547 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4548 expected output.
4549 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4550 output.
4551 * gdb.threads/sigthread.exp: Adjust expected output.
4552 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4553
b2789696
YQ
45542016-01-18 Yao Qi <yao.qi@linaro.org>
4555
4556 * gdb.guile/scm-section-script.c: Replace @progbits with
4557 %progbits.
4558 * gdb.python/py-section-script.c: Likewise.
4559
71ef29a8
PA
45602016-01-15 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.multi/tids.exp: Test star wildcard ranges.
4563
3f5b7598
PA
45642016-01-15 Pedro Alves <palves@redhat.com>
4565
4566 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4567 command from "thread apply" invocation.
4568 (thr_apply_info_thr_invalid): Default the expected output to the
4569 input tid list.
4570 (top level): Add tests that use convenience variables. Add tests
4571 for "thread apply" with a valid TID list, but missing the command.
4572
663f6d42
PA
45732016-01-13 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/default.exp: Expect $_gthread as well.
4576 * gdb.multi/tids.exp: Test $_gthread.
4577 * gdb.threads/thread-specific.exp: Test $_gthread.
4578
c84f6bbf
PA
45792016-01-13 Pedro Alves <palves@redhat.com>
4580
4581 * gdb.multi/tids.exp: Test "info threads -gid".
4582
22a02324
PA
45832016-01-13 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4586 Breakpoint.thread.
4587 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4588
5d5658a1
PA
45892016-01-07 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.base/break.exp: Adjust to output changes.
4592 * gdb.base/hbreak2.exp: Likewise.
4593 * gdb.base/sepdebug.exp: Likewise.
4594 * gdb.base/watch_thread_num.exp: Likewise.
4595 * gdb.linespec/keywords.exp: Likewise.
4596 * gdb.multi/info-threads.exp: Likewise.
4597 * gdb.threads/thread-find.exp: Likewise.
4598 * gdb.multi/tids.c: New file.
4599 * gdb.multi/tids.exp: New file.
4600
84654457
PA
46012016-01-13 Pedro Alves <palves@redhat.com>
4602
4603 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4604
e3940304
PA
46052016-01-13 Pedro Alves <palves@redhat.com>
4606
4607 * gdb.base/default.exp: Expect $_inferior as well.
4608 * gdb.multi/base.exp: Test $_inferior.
4609
a911d87a
PA
46102016-01-13 Pedro Alves <palves@redhat.com>
4611
4612 PR breakpoints/19388
4613 * gdb.base/catch-signal-siginfo-cond.c: New file.
4614 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4615
82075af2
JS
46162016-01-12 Josh Stone <jistone@redhat.com>
4617 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4618
4619 * gdb.base/catch-syscall.c (do_execve): New variable.
4620 (main): Conditionally trigger an execve.
4621 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4622 (test_catch_syscall_execve): New, check entry/return across execve.
4623 (do_syscall_tests): Call test_catch_syscall_execve.
4624
e46eeedd
PA
46252016-01-12 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.base/random-signal.exp (do_test): New procedure, with body
4628 of testcase moved in.
4629
01d8c27e
JK
46302016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4631 Pedro Alves <palves@redhat.com>
4632
4633 * gdb.base/funcargs.exp (finish from indirectly called function):
4634 Reintroduce the case for 'First'.
4635
9a706302
JK
46362016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4637 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4640 (tcatch_vfork_then_child_follow_exec)
4641 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4642 identification.
4643
c0ecb95f
JK
46442016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4645
4646 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4647 and repeats to unlimited.
4648 * gdb.python/py-value.exp: Likewise.
4649 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4650 and repeats to unlimited.
4651
6cfc1fcb
JK
46522016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4653
4654 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4655 and reordering the functions.
4656 * gdb.multi/hangout.c: Likewise.
4657 * gdb.multi/hello.c: Likewise.
4658
582a1b00
SM
46592016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4660
4661 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4662 absolute.
4663 (SingleStatisticTestResult.report): Use dict.keys instead of
4664 dict.iterkeys.
4665
79bc59cb
PA
46662016-01-06 Pedro Alves <palves@redhat.com>
4667
4668 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4669
43368e1d
MM
46702016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4671
4672 * gdb.btrace/dlopen.exp: New.
4673 * gdb.btrace/dlopen.c: New.
4674 * gdb.btrace/dlopen-dso.c: New.
4675
79fad5b8
SL
46762015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4677
4678 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4679 PATTERN argument is optional.
4680
ab8314b3
JB
46812015-12-24 Joel Brobecker <brobecker@adacore.com>
4682
4683 * lib/ada.exp (target_compile_ada_from_dir): New function.
4684 (gdb_compile_ada): Reimplement avoiding the use of project files.
4685 * gdb.ada/gnat_ada.gpr: Delete.
4686 * gdb.ada/cond_lang.exp: Adjust test to make path before
4687 filename optional.
4688 * gdb.ada/small_reg_param.exp: Likewise.
4689
fe33faff
SM
46902015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4691
4692 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4693
6d265cb4
TP
46942015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4695
4696 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4697 case.
4698
10125099
SM
46992015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4700
4701 * gdb.base/break.exp: Remove dead code.
4702 * gdb.base/sepdebug.exp: Likewise.
4703
3ca22649
SM
47042015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4705
4706 * gdb.asm/asm-source.exp: Remove HP-UX references.
4707 * gdb.base/annota1.exp: Likewise.
4708 * gdb.base/annota3.exp: Likewise.
4709 * gdb.base/attach.exp: Likewise.
4710 * gdb.base/bigcore.exp: Likewise.
4711 * gdb.base/break.exp: Likewise.
4712 * gdb.base/call-ar-st.exp: Likewise.
4713 * gdb.base/callfuncs.exp: Likewise.
4714 * gdb.base/catch-fork-static.exp: Likewise.
4715 * gdb.base/display.exp: Likewise.
4716 * gdb.base/foll-exec-mode.exp: Likewise.
4717 * gdb.base/foll-exec.exp: Likewise.
4718 * gdb.base/foll-fork.exp: Likewise.
4719 * gdb.base/foll-vfork.exp: Likewise.
4720 * gdb.base/funcargs.exp: Likewise.
4721 * gdb.base/hbreak2.exp: Likewise.
4722 * gdb.base/inferior-died.exp: Likewise.
4723 * gdb.base/interrupt.exp: Likewise.
4724 * gdb.base/multi-forks.exp: Likewise.
4725 * gdb.base/nodebug.exp: Likewise.
4726 * gdb.base/sepdebug.exp: Likewise.
4727 * gdb.base/solib1.c: Likewise.
4728 * gdb.base/step-test.exp: Likewise.
4729 * gdb.mi/non-stop.c: Likewise.
4730 * gdb.mi/pthreads.c: Likewise.
4731 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4732 * gdb.threads/pthreads.c: Likewise.
4733 * gdb.threads/staticthreads.exp: Likewise.
4734 * lib/future.exp: Likewise.
4735 * lib/gdb.exp: Likewise.
4736 * gdb.base/so-indr-cl.c: Remove.
4737 * gdb.base/so-indr-cl.exp: Likewise.
4738 * gdb.base/solib.c: Likewise.
4739 * gdb.base/solib.exp: Likewise.
4740 * gdb.base/solib2.c: Likewise.
4741
b6304613
SM
47422015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4743
4744 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4745 * gdb.base/call-ar-st.exp: Likewise.
4746 * gdb.base/callfuncs.exp: Likewise.
4747 * gdb.base/condbreak.exp: Likewise.
4748 * gdb.base/constvars.exp: Likewise.
4749 * gdb.base/hbreak2.exp: Likewise.
4750 * gdb.base/langs.exp: Likewise.
4751 * gdb.base/list.exp: Likewise.
4752 * gdb.base/long_long.exp: Likewise.
4753 * gdb.base/ptype.exp: Likewise.
4754 * gdb.base/scope.exp: Likewise.
4755 * gdb.base/signals.exp: Likewise.
4756 * gdb.base/so-impl-ld.exp: Likewise.
4757 * gdb.base/varargs.exp: Likewise.
4758 * gdb.base/volatile.exp: Likewise.
4759 * gdb.base/whatis.exp: Likewise.
4760 * gdb.cp/cplusfuncs.exp: Likewise.
4761 * gdb.cp/inherit.exp: Likewise.
4762 * gdb.cp/local.exp: Likewise.
4763 * gdb.cp/member-ptr.exp: Likewise.
4764 * gdb.cp/method.exp: Likewise.
4765 * gdb.cp/overload.exp: Likewise.
4766 * gdb.cp/templates.exp: Likewise.
4767 * gdb.stabs/weird.exp: Likewise.
4768 * lib/compiler.c: Likewise.
4769 * lib/compiler.cc: Likewise.
4770 * lib/cp-support.exp: Likewise.
4771 * lib/gdb.exp: Likewise.
4772
bf401b07
SM
47732015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4774
4775 * configure.ac: Remove HP-UX case.
4776 * configure: Regenerate.
4777
aff9c0f8
SM
47782015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4779
4780 * lib/gdb.exp (gdb_compile): Add function doc.
4781
a6904d5a
PA
47822015-12-17 Pedro Alves <palves@redhat.com>
4783
4784 PR threads/19354
4785 * gdb.multi/info-threads.exp: New file.
4786
a22279dd
YQ
47872015-12-15 Yao Qi <yao.qi@linaro.org>
4788
4789 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4790 is aarch64*-*-*.
4791
0588c796
SL
47922015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4793
4794 * gdb.base/history-duplicates.exp: Skip if no readline support.
4795
5d978e17
SL
47962015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4797
4798 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4799
7e763b86
SL
48002015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4801
4802 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4803
87a3a92c
SL
48042015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4805
4806 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4807 ctrl-C if nointerrupts target property is set.
4808 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4809 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4810 * gdb.base/paginate-bg-execution.exp: Likewise.
4811 * gdb.base/paginate-execution-startup.exp: Likewise.
4812 * gdb.base/random-signal.exp: Likewise.
4813 * gdb.base/range-stepping.exp: Likewise.
4814 * gdb.cp/annota2.exp: Likewise.
4815 * gdb.cp/annota3.exp: Likewise.
4816 * gdb.gdb/selftest.exp: Likewise.
4817 * gdb.threads/continue-pending-status.exp: Likewise.
4818 * gdb.threads/leader-exit.exp: Likewise.
4819 * gdb.threads/manythreads.exp: Likewise.
4820 * gdb.threads/pthreads.exp: Likewise.
4821 * gdb.threads/schedlock.exp: Likewise.
4822 * gdb.threads/sigthread.exp: Likewise.
4823
a8f077dc
DB
48242015-12-11 Don Breazeal <donb@codesourcery.com>
4825
4826 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4827 remote.
4828 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4829 * gdb.base/foll-exec.exp (main): Enable for target remote.
4830 * gdb.base/foll-fork.exp (main): Likewise.
4831 * gdb.base/foll-vfork.exp (main): Likewise.
4832 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4833 (proc continue_to_exit_bp_loc): Use clean_restart.
4834 * gdb.base/pie-execl.exp (main): Disable for target remote.
4835 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4836 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4837 * gdb.threads/execl.exp (main): Likewise.
4838 * gdb.threads/fork-child-threads.exp (main): Likewise.
4839 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4840 remote.
4841 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4842 remote.
4843 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4844 pid.tid style ptids, instead of just tid.
4845 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4846 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4847 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4848 ptids, instead of just tid.
4849
3b2464a8
AB
48502015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4851
4852 * gdb.base/list.exp (test_list_forward): Add end of file error
4853 test.
4854 (test_repeat_list_command): Add end of file error test.
4855 (test_list_backwards): Add beginning of file error test.
4856
a0def019
AB
48572015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4858
4859 * gdb.base/list.exp (test_list_invalid_args): New function,
4860 defined, and called.
4861
5c000dff
AB
48622015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4863
4864 * gdb.base/list.exp (test_list): Make test names unique.
4865
f1637ebe
YQ
48662015-12-11 Yao Qi <yao.qi@linaro.org>
4867
4868 * gdb.base/coremaker2.c: Remove.
4869
36d6fc0a
PA
48702015-12-10 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.multi/base.exp: Remove stale "spaces" references.
4873
762f7747
PA
48742015-12-10 Pedro Alves <palves@redhat.com>
4875
4876 * gdb.multi/base.exp: Don't use nowarnings.
4877 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4878 * gdb.multi/hangout.c: Include stdio.h.
4879 * gdb.multi/hello.c: Include stdlib.h.
4880 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4881 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4882 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4883
28d2bfb9
AB
48842015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4885
4886 * gdb.dwarf2/dw2-ranges-base.c: New file.
4887 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4888 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4889 support additional line table, and debug ranges generation.
4890 (Dwarf::ranges): New function, generate .debug_ranges.
4891 (Dwarf::lines): Support generating simple line table programs.
4892 (Dwarf::assemble): Initialise new namespace variables.
4893
5fc2beac
KB
48942015-12-09 Kevin Buettner <kevinb@redhat.com>
4895
4896 * gdb.base/async.exp (proc test_background): Add case for
4897 asynchronous execution not supported.
4898
1c35a88f
LM
48992015-12-09 Luis Machado <lgustavo@codesourcery.com>
4900
4901 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4902 format and change test names to make them unique.
4903
b593e3d9
RK
49042015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4905 Pedro Alves <pedro@redhat.com>
4906
4907 PR gdb/18702
4908 Add checking of floatformats setup on x86_64 hosts.
4909 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4910 (smallval, bigval): New labels/constants.
4911 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4912 float" after loading bigval and smallval.
4913
d72413e6
PMR
49142015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4915
4916 * gdb.ada/fun_overload_menu.exp: New testcase.
4917 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4918
ece66d65
JS
49192015-12-04 Josh Stone <jistone@redhat.com>
4920
4921 * gdb.base/catch-fork-static.exp: New.
4922
41d0efca
YQ
49232015-12-03 Yao Qi <yao.qi@linaro.org>
4924
4925 * gdb.base/sizeof.c: Don't include stdio.h and
4926 ../lib/unbuffer_output.c.
4927 (main): New variable 'size' and 'value'. Remove printf and
4928 gdb_unbuffer_output. Assign return value to size and value.
4929 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4930 at the beginning.
4931 (check_sizeof): Check the result by printing variable 'size'.
4932 (check_valueof): Check the result by printing variable 'value'.
4933
99fd02d9
YQ
49342015-12-01 Yao Qi <yao.qi@linaro.org>
4935
4936 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4937 for aarch64*-*-linux* target.
4938
f2faf941
PA
49392015-11-30 Pedro Alves <palves@redhat.com>
4940
4941 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4942
04bf20c5
PA
49432015-11-30 Pedro Alves <palves@redhat.com>
4944
4945 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4946 Handle non-stop mode vCont replies.
4947
09df4675
PA
49482015-11-30 Pedro Alves <palves@redhat.com>
4949
4950 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4951 prepare_for_testing. Start gdb with "set non-stop on" appended to
4952 GDBFLAGS. Lax expected stop output.
4953
58b584af
YQ
49542015-11-27 Yao Qi <yao.qi@linaro.org>
4955
4956 * gdb.arch/arm-neon.exp: New.
4957 * gdb.arch/arm-neon.c: New.
4958
dfcb77a8
YQ
49592015-11-27 Yao Qi <yao.qi@linaro.org>
4960
4961 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4962
88e8ec1b
YQ
49632015-11-27 Yao Qi <yao.qi@linaro.org>
4964
4965 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4966 frames-invalid annotation.
4967
bfde72c2
YQ
49682015-11-27 Yao Qi <yao.qi@linaro.org>
4969
4970 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4971
f6512a69
SM
49722015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4973
4974 * gdb.threads/names.exp: New file.
4975 * gdb.threads/names.c: New file.
4976 * README: Mention gdb,no_thread_names.
4977
46a3515b
MM
49782015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4979
4980 PR 19297
4981 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4982 support" error.
4983
62147a22
PA
49842015-11-24 Pedro Alves <palves@redhat.com>
4985
4986 PR 17539
4987 * gdb.base/display.exp: Expect displays to be sorted in ascending
4988 order. Use multi_line.
4989 * gdb.base/solib-display.exp: Likewise.
4990
2f341b6e
PA
49912015-11-24 Pedro Alves <palves@redhat.com>
4992
4993 PR 17539
25d49b86
PA
4994 * gdb.base/display.exp: Expect displays to be sorted in ascending
4995 order. Use multi_line.
4996 * gdb.base/solib-display.exp: Likewise.
2f341b6e 4997
7e0aa6aa
PA
49982015-11-24 Pedro Alves <palves@redhat.com>
4999
5000 PR 17539
5001 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5002 threads in ascending order.
5003 * gdb.base/foll-fork.exp: Likewise.
5004 * gdb.base/foll-vfork.exp: Likewise.
5005 * gdb.base/multi-forks.exp: Likewise.
5006 * gdb.mi/mi-nonstop.exp: Likewise.
5007 * gdb.mi/mi-nsintrall.exp: Likewise.
5008 * gdb.multi/base.exp: Likewise.
5009 * gdb.multi/multi-arch.exp: Likewise.
5010 * gdb.python/py-inferior.exp: Likewise.
5011 * gdb.threads/break-while-running.exp: Likewise.
5012 * gdb.threads/execl.exp: Likewise.
5013 * gdb.threads/gcore-thread.exp: Likewise.
5014 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5015 * gdb.threads/kill.exp: Likewise.
5016 * gdb.threads/linux-dp.exp: Likewise.
5017 * gdb.threads/multiple-step-overs.exp: Likewise.
5018 * gdb.threads/next-bp-other-thread.exp: Likewise.
5019 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5020 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5021 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5022 * gdb.threads/thread-find.exp: Likewise.
5023 * gdb.threads/tls.exp: Likewise.
5024 * lib/mi-support.exp (mi_reverse_list): Delete.
5025 (mi_check_thread_states): No longer reverse list.
5026
2cc57ad8
PA
50272015-11-24 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5030 use lowercase.
5031
c93e8391
SM
50322015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5033
5034 * gdb.trace/actions.c: Include trace-common.h.
5035 (main): Add a location for a fast tracepoint.
5036 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5037 the normal tracepoints.
5038 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5039
045ccf91
SM
50402015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5041
5042 * save-trace.exp: Factor out code to these...
5043 (gdb_save_tracepoints): New.
5044 (gdb_load_tracepoints): New.
5045 (do_save_load_test): New.
5046
5506f9f6
KB
50472015-11-23 Kevin Buettner <kevinb@redhat.com>
5048
5049 * gdb.base/asmlabel.exp: New test.
5050 * gdb.base/asmlabel.c: New test case.
5051
16c3b12f
JB
50522015-11-23 Joel Brobecker <brobecker@adacore.com>
5053
5054 * gdb.base/wrong_frame_bt_full-main.c: New file.
5055 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5056 * gdb.base/wrong_frame_bt_full.exp: New file.
5057
155bfbd3
JB
50582015-11-23 Joel Brobecker <brobecker@adacore.com>
5059
5060 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5061
bb097445
JM
50622015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5063
206853a0 5064 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
5065 pstate register when comparing registers values in
5066 sparc64-*-linux-gnu targets to avoid spurious differences.
5067
9c88ed8f
JM
50682015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5069
206853a0 5070 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 5071
96161e25
SL
50722015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5073
5074 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5075 as type argument to gdb_compile.
5076 * gdb.base/nested-subp2.exp: Likewise.
5077 * gdb.base/nested-subp3.exp: Likewise.
5078
340c2830
DV
50792015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5080
5081 * lib/dwarf.exp (_note): Fix left shift of negative value.
5082 * gdb.trace/trace-condition.exp: Likewise.
5083
c1862d0f
YQ
50842015-11-13 Yao Qi <yao.qi@linaro.org>
5085
5086 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5087 comments about d10v.
5088 (test_scalar_returns): Likewise.
5089 * gdb.base/d10v.ld: Remove.
5090 * gdb.base/overlays.exp: Remove the target triplet checking for
5091 d10v-*-*.
5092 * gdb.base/structs.exp (test_struct_returns): Remove the
5093 comments about d10v.
5094 (test_struct_calls): Likewise.
5095
77ae9c19
YQ
50962015-11-13 Yao Qi <yao.qi@linaro.org>
5097
5098 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5099 * gdb.base/gnu_vector.c: Don't include stdio.h.
5100 (main): Don't print res and call add_some_intvecs.
5101
430e004e
MK
51022015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5103
5104 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5105 macro.
5106 (func5): Removed.
5107 (func4): Use FAST_TRACEPOINT_LABEL.
5108 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5109 macro.
5110 (func): Removed.
5111 (thread_function): Use FAST_TRACEPOINT_LABEL.
5112 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5113 (func): Remove.
5114 (marker): Use FAST_TRACEPOINT_LABEL.
5115 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5116 (pendfunc1): Remove.
5117 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5118 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5119 (foo): Remove.
5120 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5121 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5122 macro.
5123 (func): Remove.
5124 (marker): Use FAST_TRACEPOINT_LABEL.
5125 * gdb.trace/trace-common.h: New header.
5126 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5127 macro.
5128 (func): Remove.
5129 (marker): Use FAST_TRACEPOINT_LABEL.
5130 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5131 (func): Remove.
5132 (thread_function): Use FAST_TRACEPOINT_LABEL.
5133
6e7675a7
MK
51342015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5135
5136 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5137 in front.
5138 * gdb.trace/change-loc.exp: Use global pcreg definition.
5139 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5140 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5141 in front.
5142 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5143 * gdb.trace/pending.exp: Likewise.
5144 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5145 * gdb.trace/trace-break.exp: Likewise.
5146 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5147 in front.
5148 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5149 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5150 in front.
5151 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5152
dddc0e16
JB
51532015-11-09 Joel Brobecker <brobecker@adacore.com>
5154
5155 * gdb.ada/fin_fun_out: New testcase.
5156
c6f0b406
KB
51572015-11-07 Kevin Buettner <kevinb@redhat.com>
5158
5159 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5160 value associated with DW_AT_byte_size.
5161 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5162 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5163 DW_AT_upper_bound.
5164
f01dcfd9
KB
51652015-11-07 Kevin Buettner <kevinb@redhat.com>
5166
5167 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5168 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5169 version.
5170 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5171 gdb.dwarf2/dw2-canonicalize-type.exp,
5172 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5173 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5174 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5175 provided by gdb_target_symbol_prefix_flags_asm.
5176 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5177 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5178 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5179 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5180 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5181 macros where needed). Use this macro for symbols which require
5182 the prefix provided by SYMBOL_PREFIX.
5183
2223449a
KB
51842015-11-05 Kevin Buettner <kevinb@redhat.com>
5185
5186 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5187 New procs.
5188 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5189 representing expressions, of more than one list element.
5190 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5191 to prepend linker symbol prefix to f.
5192 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5193 table_1 and table_2.
5194 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5195 Likewise, for f and g.
5196 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5197 for ptr.
5198 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5199 for main.
5200 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5201 table_1_ptr and table_2_ptr.
5202
6f2f1a3a
JK
52032015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5204 Joel Brobecker <brobecker@adacore.com>
5205
5206 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5207
566c56c9
MK
52082015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5209
5210 * gdb.reverse/s390-mvcle.c: New test.
5211 * gdb.reverse/s390-mvcle.exp: New file.
5212 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5213
d5f0636b
MK
52142015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5215
5216 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5217
7ad8b86c
MK
52182015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5219
5220 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5221 reaching marker2.
5222 * gdb.reverse/getresuid-reverse.exp: Likewise.
5223 * gdb.reverse/pipe-reverse.exp: Likewise.
5224 * gdb.reverse/readv-reverse.exp: Likewise.
5225 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5226 * gdb.reverse/time-reverse.exp: Likewise.
5227 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5228
4081c0f1
YQ
52292015-10-30 Yao Qi <yao.qi@linaro.org>
5230
5231 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5232 (empty_cycle): Remove.
5233 (main): Don't call empty_cycle. Don't use watch_count_done.
5234 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5235 empty_cycle. Rewrite the code counting HW watchpoints.
5236
452b4ba5
MK
52372015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5238
5239 * gdb.reverse/fstatat-reverse.c: New test.
5240 * gdb.reverse/fstatat-reverse.exp: New file.
5241 * gdb.reverse/getresuid-reverse.c: New test.
5242 * gdb.reverse/getresuid-reverse.exp: New file.
5243 * gdb.reverse/pipe-reverse.c: New test.
5244 * gdb.reverse/pipe-reverse.exp: New file.
5245 * gdb.reverse/readv-reverse.c: New test.
5246 * gdb.reverse/readv-reverse.exp: New file.
5247 * gdb.reverse/recvmsg-reverse.c: New test.
5248 * gdb.reverse/recvmsg-reverse.exp: New file.
5249 * gdb.reverse/time-reverse.c: New test.
5250 * gdb.reverse/time-reverse.exp: New file.
5251 * gdb.reverse/waitpid-reverse.c: New test.
5252 * gdb.reverse/waitpid-reverse.exp: New file.
5253
5e2e7507
JK
52542015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5255
5256 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5257
0fde2c53
DE
52582015-10-26 Doug Evans <dje@google.com>
5259
5260 PR symtab/17391
5261 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5262 * gdb.dwarf2/bad-regnum.c: New file.
5263 * gdb.dwarf2/bad-regnum.exp: New file.
5264
1a70ae97
DE
52652015-10-26 Doug Evans <dje@google.com>
5266
5267 PR python/18938
5268 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5269 file.
5270
27dc26ab
JK
52712015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5272
5273 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5274 for a change by "Mention language in compile error message".
5275
bed91f4d
SM
52762015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5277
5278 PR python/18073
5279 * gdb.python/py-type.c (C::a_method): New.
5280 (C::a_const_method): New.
5281 (C::a_static_method): New.
5282 (a_function): New.
5283 * gdb.python/py-type.exp (test_fields): Test getting fields
5284 from function and method.
5285
3f2f83dd
KB
52862015-10-21 Keven Boell <keven.boell@intel.com>
5287
5288 * gdb.fortran/vla-alloc-assoc.exp: New file.
5289 * gdb.fortran/vla-datatypes.exp: New file.
5290 * gdb.fortran/vla-datatypes.f90: New file.
5291 * gdb.fortran/vla-history.exp: New file.
5292 * gdb.fortran/vla-ptype-sub.exp: New file.
5293 * gdb.fortran/vla-ptype.exp: New file.
5294 * gdb.fortran/vla-sizeof.exp: New file.
5295 * gdb.fortran/vla-sub.f90: New file.
5296 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5297 * gdb.fortran/vla-value-sub-finish.exp: New file.
5298 * gdb.fortran/vla-value-sub.exp: New file.
5299 * gdb.fortran/vla-value.exp: New file.
5300 * gdb.fortran/vla-ptr-info.exp: New file.
5301 * gdb.mi/mi-vla-fortran.exp: New file.
5302 * gdb.mi/vla.f90: New file.
5303
27145d50
SL
53042015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5305
5306 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5307 of hardwired timeout value.
5308
5f3ff4f8
JK
53092015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5310 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5313 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5314
bfd09d20
JS
53152015-10-19 Josh Stone <jistone@redhat.com>
5316
5317 * gdb.base/catch-syscall.c: Include <sched.h>.
5318 (unknown_syscall): New variable.
5319 (main): Trigger a vfork and an unknown syscall.
5320 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5321 (unknown_syscall_number): Likewise.
5322 (check_call_to_syscall): Accept an optional syscall pattern.
5323 (check_return_from_syscall): Likewise.
5324 (check_continue): Likewise.
5325 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5326 (test_catch_syscall_skipping_return): New test toggling off 'catch
5327 syscall' to step over the syscall return, then toggling back on.
5328 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5329 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5330 (do_syscall_tests): Call test_catch_syscall_without_args and
5331 test_catch_syscall_mid_vfork.
5332 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5333 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5334
b32b93c6
AS
53352015-10-19 Andrew Stubbs <ams@codesourcery.com>
5336
5337 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5338 print g_vE): Add new pass patterns.
5339 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5340 print various symbol names for vptr fields.
5341
9d622bda
AB
53422015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5343
5344 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5345 results.
5346
0fd8ac1c
YQ
53472015-10-12 Yao Qi <yao.qi@linaro.org>
5348
5349 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5350
34240514
YQ
53512015-10-12 Yao Qi <yao.qi@linaro.org>
5352
5353 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5354 is aarch64*-*-linux*.
5355
8240f442
YQ
53562015-10-12 Yao Qi <yao.qi@linaro.org>
5357
5358 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5359 (can_relocate_bcond_true): ... it.
5360 (can_relocate_bcond_false): New function.
5361 (foo): Likewise.
5362 (can_relocate_bl): Likewise.
5363 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5364 can_relocate_bl.
5365
2520f728
PMR
53662015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5367
5368 * gdb.base/nested-addr.c: New file.
5369 * gdb.base/nested-addr.exp: New testcase.
5370
abcef95a
MM
53712015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5372
5373 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5374 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5375 its output. Ignore the output of "record goto begin" and instead
5376 check that GDB is replaying.
5377
145e3ddb
PA
53782015-10-09 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5381 (top level): Use it in the run with no args test.
5382
d5d8c4e1
IB
53832015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5384
5385 * gdb.dlang/properties.exp: New file.
5386
06e635ef
SL
53872015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5388
5389 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5390 whether or not address 0x1000 is mapped on the target.
5391
e019fd1d
SM
53922015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5393
5394 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5395 build.
5396
77ba2a67
MM
53972015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5398
5399 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5400 instruction-history test.
5401
c60eb31f
DE
54022015-09-28 Doug Evans <dje@google.com>
5403
5404 * gdb.base/gcore.c (array_func): Add reference to static_array.
5405
9a3c8263
SM
54062015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5407
5408 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5409 source line.
5410
9720e656
SL
54112015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5412
5413 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5414 short or char as base type.
5415
938d3bf2
SL
54162015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5417
5418 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5419 to allow any size enum.
5420
e6c2c623
PMR
54212015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5422
5423 * gdb.ada/array_ptr_renaming.exp: New testcase.
5424 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5425 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5426
06da0f77
PL
54272015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5428
5429 * gdb.trace/ftrace-lock.c: New file.
5430 * gdb.trace/ftrace-lock.exp: New file.
5431
4f51c22a
PL
54322015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5433
5434 * gdb.arch/insn-reloc.c: New file.
5435 * gdb.arch/ftrace-insn-reloc.exp: New file.
5436
7041adf4
PL
54372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5438
5439 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5440 instruction.
5441 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5442 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5443 * gdb.trace/range-stepping.c: Likewise.
5444 * gdb.trace/trace-break.c: Likewise.
5445 * gdb.trace/trace-mt.c (thread_function): Likewise.
5446 * gdb.trace/ftrace.c (marker): Likewise.
5447 * gdb.trace/trace-condition.c (marker): Likewise.
5448 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5449 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5450 is_aarch64_target.
5451
015d2e7e
DE
54522015-09-18 Doug Evans <xdje42@gmail.com>
5453
5454 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5455 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5456
26b188a2
SL
54572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5458
5459 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5460 the breakpoint.
5461
79dc332b
SL
54622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5463
5464 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5465 the pending breakpoint. Remove timeout override for "Run till
5466 MI pending breakpoint on pendfunc3 on thread 2" test.
5467
f57929f2
SL
54682015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5469
5470 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5471 filename pattern.
5472
3f469b17
SL
54732015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5474
5475 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5476 in breakpoint filename pattern.
5477
515b89b3
SL
54782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5479
7800dbe4
SL
5480 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5481
54822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5483
515b89b3
SL
5484 * gdb.linespec/explicit.exp: Check for readline support for
5485 tab-completion tests. Fix obvious typo.
5486
d2939ba2
MM
54872015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5488
5489 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5490 and replay.
5491
cbb55fa7
MM
54922015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5493
5494 * gdb.btrace/non-stop.c: New.
5495 * gdb.btrace/non-stop.exp: New.
5496
43691ca1
PL
54972015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5498 Yao Qi <yao.qi@linaro.org>
5499
5500 * gdb.trace/trace-condition.c: New file.
5501 * gdb.trace/trace-condition.exp: New file.
5502
d78908cf
WW
55032015-09-16 Wei-cheng Wang <cole945@gmail.com>
5504
5505 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5506 for testing bytecode compilation.
5507
1ed415e2
PA
55082015-09-16 Pedro Alves <palves@redhat.com>
5509 Sandra Loosemore <sandra@codesourcery.com>
5510
5511 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5512 (SECONDS): Redefine.
5513 (main): Call pthread_kill and alarm early.
5514 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5515 support.
5516 (test): If the target can't hardware step and doesn't support
5517 displaced stepping, increase the timeout.
5518
d136eff5
PA
55192015-09-16 Pedro Alves <palves@redhat.com>
5520
5521 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5522 (enable_debug): New procedures.
5523 (test): Use them. Bail out if waiting for threads fails.
5524 (top level): Bail out if a test fails.
5525
991f019c
YQ
55262015-09-16 Yao Qi <yao.qi@linaro.org>
5527
5528 * gdb.asm/asm-source.exp: Set asm-arch for
5529 aarch64*-*-* target.
5530 * gdb.asm/aarch64.inc: New file.
5531
bfca584f
PMR
55322015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5533
5534 * gdb.ada/array_of_variable_length.exp: New testcase.
5535 * gdb.ada/array_of_variable_length/foo.adb: New file.
5536 * gdb.ada/array_of_variable_length/pck.adb: New file.
5537 * gdb.ada/array_of_variable_length/pck.ads: New file.
5538
b326e587
DE
55392015-09-15 Doug Evans <dje@google.com>
5540
5541 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5542 of function static local variable.
5543
5382cfab
PW
55442015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5545
5546 * gdb.threads/tls-so_extern.exp: New test file.
5547 * gdb.threads/tls-so_extern.c: New test file.
5548 * gdb.threads/tls-so_extern_main.c: New test file.
5549
141c5cc4
JK
55502015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5551
5552 * gdb.opt/solib-intra-step-lib.c: New file.
5553 * gdb.opt/solib-intra-step-main.c: New file.
5554 * gdb.opt/solib-intra-step.exp: New file.
5555
d15dcecd
PA
55562015-09-15 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5559 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5560
4c2f2a79
PA
55612015-09-14 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.base/hook-stop-continue.c: Delete.
5564 * gdb.base/hook-stop-continue.exp: Delete.
5565 * gdb.base/hook-stop-frame.c: Delete.
5566 * gdb.base/hook-stop-frame.exp: Delete.
5567 * gdb.base/hook-stop.c: New file.
5568 * gdb.base/hook-stop.exp: New file.
5569
919e6dbe
PMR
55702015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5571
5572 * gdb.ada/access_to_packed_array.exp: New testcase.
5573 * gdb.ada/access_to_packed_array/foo.adb: New file.
5574 * gdb.ada/access_to_packed_array/pack.adb: New file.
5575 * gdb.ada/access_to_packed_array/pack.ads: New file.
5576
157280a4
MM
55772015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5578
5579 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5580 buffer size test.
5581
2fd33e94
DB
55822015-09-11 Don Breazeal <donb@codesourcery.com>
5583
5584 * gdb.base/foll-exec.c: Add copyright header. Fix
5585 formatting issues.
5586 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5587 (do_exec_tests): Use clean_restart in place of zap_session,
5588 and for test initialization. Fix formatting issues. Use
5589 fail in place of perror.
5590 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5591 an expect statement to match an expression with output from
5592 the program under debug.
5593 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5594 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5595 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5596 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5597 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5598
e70b6e8e
DE
55992015-09-09 Doug Evans <dje@google.com>
5600
5601 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5602
7a551a51
DE
56032015-09-09 Doug Evans <dje@google.com>
5604
5605 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5606
4c666f84
DE
56072015-09-09 Doug Evans <dje@google.com>
5608
5609 * gdb.base/savedregs.exp: Fix typo.
5610
243a9253
PA
56112015-09-09 Pedro Alves <palves@redhat.com>
5612
5613 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5614
c0fa8fbd
SL
56152015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5616
5617 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5618 command actually switches threads. Give up on remaining
5619 tests if target fails to stop at breakpoint.
5620
cd7c1778
PMR
56212015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5622
5623 * gdb.ada/funcall_char.exp: New testcase.
5624 * gdb.ada/funcall_char/foo.adb: New file.
5625
dc5c8746
PMR
56262015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5627
5628 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5629 expected outputs. Add two testcases for completing ambiguous
5630 functions.
5631 * gdb.ada/complete/aux_pck.adb: New file.
5632 * gdb.ada/complete/aux_pck.ads: New file.
5633 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5634 Ambiguous_Func functions.
5635 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5636 * gdb.ada/complete/pck.adb: Likewise.
5637
4e83a1e7
UW
56382015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5639
5640 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5641 failures to run the test program under GDB.
5642
8ce74153
LM
56432015-08-26 Luis Machado <lgustavo@codesourcery.com>
5644
5645 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5646 to C.
5647
e9756d52
PP
56482015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5649
5650 * gdb.base/run-after-attach.exp: New test file.
5651 * gdb.base/run-after-attach.c: New test file.
5652
8d37573b
DB
56532015-08-26 Don Breazeal <donb@codesourcery.com>
5654
5655 * gdb.base/foll-exec-2.c: New test program.
5656 * gdb.base/foll-exec-2.exp: New test.
5657
63e43d3a
PMR
56582015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5659
5660 * gdb.base/nested-subp1.exp: New file.
5661 * gdb.base/nested-subp1.c: New file.
5662 * gdb.base/nested-subp2.exp: New file.
5663 * gdb.base/nested-subp2.c: New file.
5664 * gdb.base/nested-subp3.exp: New file.
5665 * gdb.base/nested-subp3.c: New file.
5666
3d40fbb5
PA
56672015-08-24 Pedro Alves <palves@redhat.com>
5668
5669 * gdb.server/connect-without-multi-process.c: New file.
5670 * gdb.server/connect-without-multi-process.exp: New file.
5671
4422ac93
LM
56722015-08-24 Luis Machado <lgustavo@codesourcery.com>
5673
5674 * gdb.opt/inline-markers.c: Make z int.
5675
91dddb86
LM
56762015-08-24 Luis Machado <lgustavo@codesourcery.com>
5677
5678 * gdb.opt/inline-markers.c: Make z volatile.
5679
a48847ee
LM
56802015-08-24 Luis Machado <lgustavo@codesourcery.com>
5681
5682 * gdb.opt/inline-bt.c: New volatile global z.
5683 * gdb.opt/inline-cmds.c: Likewise.
5684 * gdb.opt/inline-locals.c: Likewise.
5685 * gdb.opt/inline-markers.c: New extern global z.
5686 (marker): Use z.
5687 (inline_fn): Likewise.
5688
0ebbc52b
PA
56892015-08-24 Pedro Alves <palves@redhat.com>
5690
5691 * config/m32r-stub.exp: Remove file.
5692 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5693 * gdb.base/call-rt-st.exp: Likewise.
5694 * gdb.base/call-strs.exp: Likewise.
5695 * gdb.base/default.exp: Remove references to h8300-*-hms and
5696 *-*-udi*.
5697 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5698
77c365df
AA
56992015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5700
5701 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5702 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5703 and "return" use KFAIL when GDB can not read/write the vector
5704 return value.
5705
4313b8c0
GB
57062015-08-21 Gary Benson <gbenson@redhat.com>
5707
5708 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5709
0e433b32
PA
57102015-08-20 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.server/solib-list.exp: No longer expect an interior stop in
5713 non-stop mode.
5714
221e1a37
PA
57152015-08-20 Pedro Alves <palves@redhat.com>
5716
5717 * gdb.server/connect-stopped-target.c: New file.
5718 * gdb.server/connect-stopped-target.exp: New file.
5719
40e3ad0e
PA
57202015-08-20 Pedro Alves <palves@redhat.com>
5721
5722 * gdb.dwarf2/comp-unit-lang.exp: New file.
5723 * gdb.dwarf2/comp-unit-lang.c: New file.
5724
af39b327
PMR
57252015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5726
5727 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5728 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5729
7d45c7c3 57302015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 5731
7d45c7c3
KB
5732 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5733 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5734
4d6cceb4
DE
57352015-08-18 Doug Evans <dje@google.com>
5736 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5737
5738 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5739 skip_python_tests. New arg prompt_regexp.
5740 (skip_python_tests): New function.
5741 * lib/mi-support.exp (mi_skip_python_tests): New function.
5742 * gdb.python/py-mi-objfile-gdb.py: New file.
5743 * gdb.python/py-mi-objfile.c: New file.
5744 * gdb.python/py-mi-objfile.exp: New file.
5745
ad89c2aa
KS
57462015-08-17 Keith Seitz <keiths@redhat.com>
5747
5748 * gdb.linespec/explicit.exp: Move strace test from here ...
5749 * gdb.trace/strace.exp: ... to here.
5750
e3ae3c43
PP
57512015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5752
5753 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5754 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5755
604b2636
DE
57562015-08-14 Doug Evans <xdje42@gmail.com>
5757
5758 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5759 inferior before selecting a new file.
5760
6ff0ba5f
DE
57612015-08-14 Doug Evans <xdje42@gmail.com>
5762
5763 * gdb.mi/mi-disassemble.exp: Update.
5764 * gdb.base/disasm-optim.S: New file.
5765 * gdb.base/disasm-optim.c: New file.
5766 * gdb.base/disasm-optim.h: New file.
5767 * gdb.base/disasm-optim.exp: New file.
5768
9ca98f92
KS
57692015-08-14 Keith Seitz <keiths@redhat.com>
5770
5771 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5772 "evaluated-by".
5773
52bbc560
JB
57742015-08-13 Joel Brobecker <brobecker@adacore.com>
5775
5776 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5777
5d8c3ed3
PMR
57782015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5779
5780 * gdb.ada/fun_renaming.exp: New testcase.
5781 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5782 * gdb.ada/fun_renaming/pack.adb: New file.
5783 * gdb.ada/fun_renaming/pack.ads: New file.
5784
ea8812bc
KS
57852015-08-12 Keith Seitz <keiths@redhat.com>
5786
5787 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5788 gdb_get_line_number.
5789
4dafcdeb
JB
57902015-08-12 Joel Brobecker <brobecker@adacore.com>
5791
5792 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5793 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5794 gdb.base/dso2dso.exp: New files.
5795
5ba32597
SDJ
57962015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5797 Pedro Alves <palves@redhat.com>
5798 Keith Seitz <keiths@redhat.com>
5799
5800 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5801 GDBFLAGS.
5802
b6dafabf
PP
58032015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5804
5805 * gdb.base/gdbhistsize-history.exp
5806 (test_histsize_history_setting): Use save_vars.
5807 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5808 Use save_vars.
5809 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5810 * gdb.base/readline.exp: Use save_vars.
5811
abe8e607
PP
58122015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5813
5814 * lib/gdb.exp (save_vars): New proc.
5815
629500fa
KS
58162015-08-11 Keith Seitz <keiths@redhat.com>
5817
5818 * gdb.base/help.exp: Update help_breakpoint_text.
5819
eb8c4e2e
KS
58202015-08-11 Keith Seitz <keiths@redhat.com>
5821
5822 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5823 (at toplevel): Call test_explicit_breakpoints.
5824 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5825 breakpoints.
5826 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5827 breakpoint conditions, "-cond".
5828
87f0e720
KS
58292015-08-11 Keith Seitz <keiths@redhat.com>
5830
5831 * gdb.linespec/3explicit.c: New file.
5832 * gdb.linespec/cpexplicit.cc: New file.
5833 * gdb.linespec/cpexplicit.exp: New file.
5834 * gdb.linespec/explicit.c: New file.
5835 * gdb.linespec/explicit.exp: New file.
5836 * gdb.linespec/explicit2.c: New file.
5837 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5838 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5839 before using in the matching pattern.
5840 Clarify that `prefix' is a regular expression.
5841
f00aae0f
KS
58422015-08-11 Keith Seitz <keiths@redhat.com>
5843
5844 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5845 test.
5846 Add tests for missing ",FMT" and ",".
5847
e27852be
DE
58482015-08-10 Doug Evans <dje@google.com>
5849 Keith Seitz <keiths@redhat.com>
5850
5851 PR gdb/17960
5852 * gdb.base/completion.exp: Add location completer tests.
5853
7f03bd92
PA
58542015-08-07 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5857 tests here.
5858 (top level): Run do_test with and without displaced stepping.
5859
3fc8eb30
PA
58602015-08-07 Pedro Alves <palves@redhat.com>
5861
5862 * gdb.base/valgrind-disp-step.c: New file.
5863 * gdb.base/valgrind-disp-step.exp: New file.
5864
d4569d7b
PA
58652015-08-07 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5868 Delete function.
5869 (main): Add alarm. Run an infinite loop instead of calling
5870 wait_threads.
5871 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5872 comment.
5873 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5874 Delete function.
5875 (main): Add alarm. Run an infinite loop instead of calling
5876 wait_threads.
5877 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5878 comment.
5879
e1316e60
PA
58802015-08-07 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.base/checkpoint-ns.exp: New file.
5883 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5884 standard_testfile.
5885
da8c46d2
MM
58862015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5887
5888 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5889 * gdb.btrace/instruction_history.exp: Update.
5890 * gdb.btrace/tsx.exp: New.
5891 * gdb.btrace/tsx.c: New.
5892
de1c2c52
PA
58932015-08-06 Pedro Alves <palves@redhat.com>
5894
5895 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5896 increase timeout.
5897 * gdb.reverse/until-precsave.exp: Bump timeouts.
5898
782e0bf4
PA
58992015-08-06 Pedro Alves <palves@redhat.com>
5900
5901 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5902
83e97ed0
PA
59032015-08-06 Pedro Alves <palves@redhat.com>
5904
5905 PR gdb/18749
5906 * gdb.threads/process-dies-while-handling-bp.c: New file.
5907 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5908
863d01bd
PA
59092015-08-06 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5912 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5913
0a39bb32
PA
59142015-08-05 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5917 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5918
ee2d2b10
SL
59192015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5920
5921 * gdb.base/bp-permanent.exp: Report test as unsupported if
5922 the target cannot stop at the permanent breakpoint.
5923
4e1bdb00
DE
59242015-08-03 Doug Evans <dje@google.com>
5925
5926 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5927 10000.
5928
3d338901
DE
59292015-08-03 Doug Evans <dje@google.com>
5930
5931 * Makefile.in (workers/%.worker, build-perf): New rule.
5932 (GDB_PERFTEST_MODE): New variable.
5933 (check-perf): Use it.
5934 (clean): Clean up gdb.perf parallel build subdirs.
5935 * lib/build-piece.exp: New file.
5936 * lib/gdb.exp (make_gdb_parallel_path): New function
5937 (standard_output_file, standard_temp_file): Call it.
5938 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5939 of $GDB_PARALLEL.
5940 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5941
af061d3e
DE
59422015-08-03 Doug Evans <dje@google.com>
5943
8e1afc81 5944 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
5945 (LOG_FILE_NAME): New global.
5946 (TextReporter.__init__): Initialize self.txt_sum.
5947 (TextReporter.report): Add support for multiple data-points.
5948 Move report to perftest.sum, put raw data in perftest.log.
5949 (TextReporter.start): Open sum and log files.
5950 (TextReporter.end): Close sum and log files.
8e1afc81
DE
5951 * gdb.perf/lib/perftest/testresult.py
5952 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 5953
2c8c5d37
PA
59542015-07-31 Pedro Alves <palves@redhat.com>
5955
5956 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5957 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5958 kill_wait_spawned_process instead of explicit "kill -9".
5959 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5960 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5961 kill_wait_spawned_process.
5962 * gdb.base/attach-twice.exp: Likewise.
5963 * gdb.base/attach.exp: Likewise.
5964 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5965 gdb_test_multiple.
5966 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5967 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5968 kill_wait_spawned_process.
5969 * gdb.base/valgrind-infcall.exp: Likewise.
5970 * gdb.multi/multi-attach.exp: Likewise.
5971 * gdb.python/py-prompt.exp: Likewise.
5972 * gdb.python/py-sync-interp.exp: Likewise.
5973 * gdb.server/ext-attach.exp: Likewise.
5974 * gdb.threads/attach-into-signal.exp (corefunc): Use
5975 spawn_wait_for_attach, spawn_id_get_pid and
5976 kill_wait_spawned_process.
5977 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5978 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5979 spawn_id_get_pid and kill_wait_spawned_process.
5980 * gdb.threads/attach-stopped.exp (corefunc): Use
5981 spawn_wait_for_attach, spawn_id_get_pid and
5982 kill_wait_spawned_process.
5983 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5984 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5985 kill_wait_spawned_process instead of explicit "kill -9".
5986 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5987 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5988 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5989 processes. Don't map cygwin/windows pids here. Now returns a
5990 spawn id list.
5991
032a0fca
SL
59922015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5993
5994 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5995 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5996 correct patch.
5997
61a934ca
SL
59982015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5999
6000 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6001
4bc4d428
SL
60022015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6003
6004 Reapply:
6005 2014-05-21 Mark Wielaard <mjw@redhat.com>
6006
6007 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6008
998d452a
PA
60092015-07-30 Pedro Alves <palves@redhat.com>
6010
6011 * linux-low.c (handle_extended_wait): Set the child's last
6012 reported status to TARGET_WAITKIND_STOPPED.
6013
69dde7dc
PA
60142015-07-30 Pedro Alves <palves@redhat.com>
6015
6016 PR threads/18600
6017 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6018 only shows inferior 1.
6019
4dd63d48
PA
60202015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6021 Pedro Alves <palves@redhat.com>
6022
6023 PR threads/18600
6024 * gdb.threads/fork-plus-threads.c: New file.
6025 * gdb.threads/fork-plus-threads.exp: New file.
6026
d618e4c5
PP
60272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6028
6029 * gdb.base/batch-preserve-term-settings.exp
6030 (test_terminal_settings_preserved_after_cli_exit): Use
6031 send_quit_command.
6032
1eef6428
PA
60332015-07-29 Pedro Alves <palves@redhat.com>
6034 Don Breazeal <donb@codesourcery.com>
6035
6036 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6037 output from both inferior_spawn_id and gdb_spawn_id.
6038
7da5b897
SDJ
60392015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6040
6041 * gdb.threads/attach-into-signal.exp (corefunc): Use
6042 with_test_prefix on nested loops, uniquefying the test messages.
6043
dac804df
SDJ
60442015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6045
6046 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6047 commit.
6048
06265e53
PP
60492015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6050
6051 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6052 New proc.
6053 (test_terminal_settings_preserved_after_sigterm): New test.
6054
18206ca3
PP
60552015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6056
6057 * gdb.base/batch-preserve-term-settings.exp
6058 (test_terminal_settings_preserved_after_cli_exit): New test.
6059
90074d11
PP
60602015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6061
6062 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6063 manipulation of saved_gdbflags.
6064 (test_terminal_settings_preserved): Remove global declaration of
6065 the unused variable pagination_prompt. Remove manipulation of
6066 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6067 GDBFLAGS.
6068
eb1a7902
PA
60692015-07-29 Pedro Alves <palves@redhat.com>
6070
6071 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6072
8b75dd3b
PA
60732015-07-29 Pedro Alves <palves@redhat.com>
6074
6075 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6076 at the top.
6077
dedad4e3
PA
60782015-07-29 Pedro Alves <palves@redhat.com>
6079
6080 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6081 (main): Call gdb_unbuffer_output.
6082 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6083 (main): Call gdb_unbuffer_output.
6084 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6085 (main): Call gdb_unbuffer_output.
6086 * gdb.base/call-strs.exp: Adjust to step over the
6087 gdb_unbuffer_output call.
6088 * gdb.base/catch-gdb-caused-signals.c: Include
6089 "../lib/unbuffer_output.c".
6090 (main): Call gdb_unbuffer_output.
6091 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6092 (main): Call gdb_unbuffer_output.
6093 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6094 (main): Call gdb_unbuffer_output.
6095 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6096 (main): Call gdb_unbuffer_output.
6097 * gdb.base/shlib-call.exp: Adjust to step over the
6098 gdb_unbuffer_output call.
6099 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6100 (main): Call gdb_unbuffer_output.
6101 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6102 (main): Call gdb_unbuffer_output.
6103 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6104 (main): Rename to ...
6105 (test): ... this.
6106 (main): Reimplement.
6107 * gdb.base/varargs.exp: Run to test instead of to main.
6108 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6109 (main): Call gdb_unbuffer_output.
6110
58789a91
PA
61112015-07-29 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6114 factore out from mi_continue_dprintf. For call-style dprintfs,
6115 expect dprintf output out of $inferior_spawn_id.
6116 (mi_continue_dprintf): Use mi_expect_dprintf.
6117 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6118 (main): Call gdb_unbuffer_output.
6119
e8376742
PA
61202015-07-29 Pedro Alves <palves@redhat.com>
6121
6122 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6123 (default_mi_gdb_start): Set inferior_spawn_id instead of
6124 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6125 gdb_spawn_id.
6126 (mi_gdb_test): Always expect inferior output from both
6127 $inferior_spawn_id and $gdb_spawn_id.
6128
08280010
PA
61292015-07-29 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6132 send_inferior and $inferior_spawn_id.
6133
4d30e432
PA
61342015-07-29 Pedro Alves <palves@redhat.com>
6135
6136 * gdb.gdb/complaints.exp (test_initial_complaints)
6137 (test_serial_complaints, test_short_complaints): Use
6138 gdb_test_stdio.
6139 (test_empty_complaint): Handle $inferior_spawn_id !=
6140 $gdb_spawn_id.
6141
0d30a335
PA
61422015-07-29 Pedro Alves <palves@redhat.com>
6143
6144 * gdb.base/varargs.exp: Use gdb_test_stdio.
6145
39413b29
PA
61462015-07-29 Pedro Alves <palves@redhat.com>
6147
6148 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6149
7cb000a9
PA
61502015-07-29 Pedro Alves <palves@redhat.com>
6151
6152 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6153
d7b8ac82
PA
61542015-07-29 Pedro Alves <palves@redhat.com>
6155
6156 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6157 parameter into two new parameters, "inf_result" and "gdb_result".
6158 Expect inferior output and gdb output from $inferior_spawn_id and
6159 $gdb_spawn_id, respectively. Adjust all callers.
6160
789c3a0c
PA
61612015-07-29 Pedro Alves <palves@redhat.com>
6162
6163 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6164 of gdb_test_sequence.
6165
77e760c3
PA
61662015-07-29 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6169 (saw_spurious_output): Expect inferior output from
6170 $inferior_spawn_id. Use gdb_test_stdio.
6171
8396d2cd
PA
61722015-07-29 Pedro Alves <palves@redhat.com>
6173
6174 * gdb.base/dprintf.exp: Use standard_testfile. Change
6175 prepare_for_testing call.
6176 (srcfile): Don't set.
6177 (restart): New procedure.
6178 (test_dprintf): New procecure, use to continue over dprintfs.
6179 (test_call, test_agent): New procedures, tests moved here.
6180 Restart gdb and recreate dprintfs. Adjust expected output.
6181
2051d61f
PA
61822015-07-29 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6185
452397af
PA
61862015-07-29 Pedro Alves <palves@redhat.com>
6187
6188 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6189
8aed9555
PA
61902015-07-29 Pedro Alves <palves@redhat.com>
6191
6192 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6193 gdb_test_stdio.
6194
188a61b4
PA
61952015-07-29 Pedro Alves <palves@redhat.com>
6196
6197 * lib/gdb.exp (gdb_test_stdio): New procedure.
6198
12264a45
PA
61992015-07-29 Pedro Alves <palves@redhat.com>
6200
6201 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6202
23ffc893
PA
62032015-07-29 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.base/call-signal-resume.exp: Remove check for
6206 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6207 * gdb.base/unwindonsignal.exp: Likewise.
6208 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6209 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6210
65566918
PA
62112015-07-29 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.base/siginfo-addr.c (pass): New function.
6214 (handler): Call it iff si_addr is correct.
6215 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6216 Set a breakpoint at "pass" and continue to it.
6217
d60a9221
SDJ
62182015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6219
6220 * gdb.python/py-objfile.exp: Make some tests have unique names.
6221 * gdb.python/py-pp-registration.exp: Likewise.
6222
bde40b8f
PA
62232015-07-28 Pedro Alves <palves@redhat.com>
6224
6225 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6226
13e1dec8
SM
62272015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6228
6229 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6230
da33c9a7
SM
62312015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6232
6233 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6234
077836f7
PP
62352015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6236
6237 * gdb.base/gdb-sigterm-2.exp: New test.
6238
b8cc7b2e
DE
62392015-07-25 Doug Evans <xdje42@gmail.com>
6240
6241 Revert:
6242 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6243 (workers/%.worker, build-perf): New rule.
6244 (GDB_PERFTEST_MODE): New variable.
6245 (check-perf): Use it.
6246 (clean): Clean up gdb.perf parallel build subdirs.
6247 * lib/build-piece.exp: New file.
6248 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6249 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6250 name.
6251 (standard_temp_file): Ditto.
6252 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6253 of $GDB_PARALLEL.
6254
c8bd4544
DE
62552015-07-24 Doug Evans <dje@google.com>
6256
6257 * gdb.perf/lib/perftest/utils.py: New file.
6258 * gdb.perf/gm-hello.cc: New file.
6259 * gdb.perf/gm-pervasive-typedef.cc: New file.
6260 * gdb.perf/gm-pervasive-typedef.h: New file.
6261 * gdb.perf/gm-std.cc: New file.
6262 * gdb.perf/gm-std.h: New file.
6263 * gdb.perf/gm-use-cerr.cc: New file.
6264 * gdb.perf/gm-utils.h: New file.
6265 * gdb.perf/gmonster-null-lookup.py: New file.
6266 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6267 * gdb.perf/gmonster-print-cerr.py: New file.
6268 * gdb.perf/gmonster-ptype-string.py: New file.
6269 * gdb.perf/gmonster-runto-main.py: New file.
6270 * gdb.perf/gmonster-select-file.py: New file.
6271 * gdb.perf/gmonster1-null-lookup.exp: New file.
6272 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6273 * gdb.perf/gmonster1-print-cerr.exp: New file.
6274 * gdb.perf/gmonster1-ptype-string.exp: New file.
6275 * gdb.perf/gmonster1-runto-main.exp: New file.
6276 * gdb.perf/gmonster1-select-file.exp: New file.
6277 * gdb.perf/gmonster1.cc: New file.
6278 * gdb.perf/gmonster1.exp: New file.
6279 * gdb.perf/gmonster2-null-lookup.exp: New file.
6280 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6281 * gdb.perf/gmonster2-print-cerr.exp: New file.
6282 * gdb.perf/gmonster2-ptype-string.exp: New file.
6283 * gdb.perf/gmonster2-runto-main.exp: New file.
6284 * gdb.perf/gmonster2-select-file.exp: New file.
6285 * gdb.perf/gmonster2.cc: New file.
6286 * gdb.perf/gmonster2.exp: New file.
6287
6eab34f3
DE
62882015-07-24 Doug Evans <dje@google.com>
6289
6290 * gdb.perf/README: New file.
6291 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6292 * lib/gen-perf-test.exp: New file.
6293
63738bfd
DE
62942015-07-24 Doug Evans <dje@google.com>
6295
6296 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6297 (PerfTest::startup): New function.
6298 (PerfTest::run): Return result of calling body.
6299 (PerfTest::assemble): Rewrite.
6300 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6301 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6302 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6303 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6304 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6305
7b606f95
DE
63062015-07-24 Doug Evans <dje@google.com>
6307
6308 * lib/gdb.exp (clean_restart): Make executable optional.
6309
a97b16b8
DE
63102015-07-24 Doug Evans <dje@google.com>
6311
6312 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6313 compiler_info references.
6314 * gdb.cp/temargs.exp: Ditto.
6315 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6316 (get_compiler_info): Early exit if already computed. Set compiler_info
6317 to "unknown" if there was a problem.
6318 (test_compiler_info): Add function comment. Call get_compiler_info.
6319
35baa57f
DE
63202015-07-24 Doug Evans <dje@google.com>
6321
6322 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6323 (workers/%.worker, build-perf): New rule.
6324 (GDB_PERFTEST_MODE): New variable.
6325 (check-perf): Use it.
6326 (clean): Clean up gdb.perf parallel build subdirs.
6327 * lib/build-piece.exp: New file.
6328 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6329 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6330 name.
6331 (standard_temp_file): Ditto.
6332 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6333 of $GDB_PARALLEL.
6334
6ebea266
DE
63352015-07-24 Doug Evans <dje@google.com>
6336
6337 * lib/future.exp (gdb_default_target_compile): New option
6338 "early_flags".
6339 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6340 --as-needed.
6341
1e76a7e9
SDJ
63422015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6343
6344 * gdb.base/catch-syscall.exp: Call gdb_exit before
6345 gdb_skip_xml_test.
6346
5068630a
PA
63472015-07-24 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.python/py-events.exp: Accept output between the stop event
6350 and the prompt.
6351 * gdb.python/py-evsignal.exp: Likewise.
6352 * gdb.python/py-evthreads.exp: Likewise.
6353
77598427
PA
63542015-07-24 Pedro Alves <palves@redhat.com>
6355
6356 PR gdb/18717
6357 * gdb.threads/non-ldr-exit.c: New file.
6358 * gdb.threads/non-ldr-exit.exp: New file.
6359
11e6c98f
YQ
63602015-07-24 Yao Qi <yao.qi@linaro.org>
6361
6362 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6363 restarting process.
6364
51aee833
YQ
63652015-07-24 Yao Qi <yao.qi@linaro.org>
6366
6367 * gdb.server/ext-restart.exp: New file.
6368
8cfe207c
YQ
63692015-07-24 Yao Qi <yao.qi@linaro.org>
6370
6371 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6372 argument options.
6373 * gdb.server/ext-wrapper.exp: New file.
6374
cc12ce38
DE
63752015-07-23 Doug Evans <dje@google.com>
6376
6377 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6378 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6379
d0d84780
PMR
63802015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6381
6382 * gdb.ada/var_arr_typedef.exp: New testcase.
6383 * gdb.ada/var_arr_typedef/pack.adb: New file.
6384 * gdb.ada/var_arr_typedef/pack.ads: New file.
6385 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6386
8b558f79
JB
63872015-07-20 Joel Brobecker <brobecker@adacore.com>
6388
6389 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6390
775a3298
JK
63912015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6392
6393 * gdb.arch/i386-biarch-core.exp: Replace istarget
6394 by "complete set gnutarget". Remove expectation for the "core-file"
6395 command.
6396
db1ff28b
JK
63972015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6398
6399 Revert the previous commit:
6400 Tests for validate symbol file using build-id.
6401
0a94970d
JK
64022015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6403
6404 Tests for validate symbol file using build-id.
6405 * gdb.base/solib-mismatch-lib.c: New file.
6406 * gdb.base/solib-mismatch-libmod.c: New file.
6407 * gdb.base/solib-mismatch.c: New file.
6408 * gdb.base/solib-mismatch.exp: New file.
6409
03346981
SL
64102015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6411
6412 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6413 nios2-*-linux*.
6414 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6415 * gdb.base/siginfo.exp: Likewise.
6416 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6417
42422cc7
PL
64182015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6419
6420 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6421 Move it to ...
6422 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6423 ... here.
6424 * gdb.trace/range-stepping.exp: Check that the target supports
6425 range stepping.
6426
cfa68bae
JK
64272015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6430
8ffdba26
PA
64312015-07-14 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.base/killed-outside.exp: New file.
6434 * gdb.base/killed-outside.c: New file.
6435
218a5a11
JK
64362015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6437
6438 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6439 (n at main): New.
6440 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6441
e03ed3c6
AA
64422015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6443
6444 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6445 infcall tests instead of setting up for KFAIL.
6446
485668e5
MM
64472015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6448
6449 * gdb.btrace/record_goto-step.exp: New.
6450
08464196
JK
64512015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6452
6453 PR compile/18484
6454 * gdb.compile/compile.c (struct struct_type): Add volatile to
6455 selffield's type.
6456 * gdb.compile/compile.exp
6457 (compile code struct_object.selffield = &struct_object): Skip further
6458 struct_object tests if this one xfails.
6459
bcf5c1d9
RC
64602015-07-08 Robert O'Callahan <robert@ocallahan.org>
6461
6462 PR exp/18617
6463 * gdb.trace/ax.exp: Add test.
6464
4931af25
YQ
64652015-07-07 Yao Qi <yao.qi@linaro.org>
6466
6467 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6468 instead of istarget "aarch64*-*-*".
6469 * gdb.arch/aarch64-fp.exp: Likewise.
6470 * gdb.base/float.exp: Likewise.
6471 * gdb.reverse/aarch64.exp: Likewise.
6472 * lib/gdb.exp (is_aarch64_target): New proc.
6473
9fcf688e
YQ
64742015-07-07 Yao Qi <yao.qi@linaro.org>
6475
6476 * lib/gdb.exp (is_aarch32_target): New proc.
6477 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6478 instead of "istarget "arm*-*-*"".
6479 * gdb.arch/arm-disp-step.exp: Likewise.
6480 * gdb.arch/thumb-bx-pc.exp: Likewise.
6481 * gdb.arch/thumb-prologue.exp: Likewise.
6482 * gdb.arch/thumb-singlestep.exp: Likewise.
6483 * gdb.base/disp-step-syscall.exp: Likewise.
6484 * gdb.base/float.exp: Likewise.
6485
fbd8d50d
YQ
64862015-07-07 Yao Qi <yao.qi@linaro.org>
6487
6488 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6489 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6490
71be1fdc
YQ
64912015-07-07 Yao Qi <yao.qi@linaro.org>
6492
6493 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6494 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6495 if it exists.
6496 * gdb.multi/multi-arch.exp: Likewise.
6497
3e221d36
SM
64982015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6499
6500 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6501 print.
6502
d441430b
YQ
65032015-07-07 Yao Qi <yao.qi@linaro.org>
6504
6505 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6506
06f810bd
MG
65072015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6508
6509 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6510 '[' and ']' characters.
6511
5e61e7c0
IB
65122015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6513
6514 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6515
28bf096c
PA
65162015-06-29 Pedro Alves <palves@redhat.com>
6517
6518 PR threads/18127
6519 * gdb.threads/hand-call-new-thread.c: New file.
6520 * gdb.threads/hand-call-new-thread.c: New file.
6521
ee93cd5e
KS
65222015-06-26 Keith Seitz <keiths@redhat.com>
6523 Doug Evans <dje@google.com>
6524
6525 PR 16253
6526 * gdb.cp/var-tag-2.cc: New file.
6527 * gdb.cp/var-tag-3.cc: New file.
6528 * gdb.cp/var-tag-4.cc: New file.
6529 * gdb.cp/var-tag.cc: New file.
6530 * gdb.cp/var-tag.exp: New file.
6531
fc637f04
PP
65322015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6533
6534 * gdb.base/history-duplicates.exp: New test.
6535
2e52ae68
PP
65362015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6537
6538 * gdb.base/completion.exp: Test the completion of the "focus"
6539 command.
6540
6e22494e
JK
65412015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6542
6543 * gdb.arch/amd64-prologue-skip.S: New file.
6544 * gdb.arch/amd64-prologue-skip.exp: New file.
6545
bf7b9cd9
SM
65462015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6547
6548 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6549 is_address_zero_readable check.
6550
201e8dfd
PB
65512015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6552
6553 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6554 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6555
5cd867b4
YQ
65562015-06-24 Yao Qi <yao.qi@linaro.org>
6557
6558 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6559 linux targets.
6560
4d7be007
YQ
65612015-06-24 Yao Qi <yao.qi@linaro.org>
6562
6563 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6564 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6565 * gdb.base/siginfo-thread.exp: Likewise.
6566
07fcd301
YQ
65672015-06-22 Yao Qi <yao.qi@linaro.org>
6568
6569 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6570
52042a00
YQ
65712015-06-22 Yao Qi <yao.qi@linaro.org>
6572
6573 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6574 aarch64*-*-*.
6575 (skip_hw_watchpoint_tests): Likewise.
6576
74bd41ce
PP
65772015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6578
6579 * gdb.base/gdbinit-history.exp: Test the interaction between
6580 setting GDBHISTSIZE and setting the history size via .gdbinit.
6581
bc460514
PP
65822015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6583
6584 PR gdb/16999
6585 * gdb.base/gdbhistsize-history.exp: New test.
6586
b58c513b
PP
65872015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6588
6589 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6590 with GDBHISTSIZE.
6591 * gdb.base/readline.exp: Likewise.
6592
92046791
YQ
65932015-06-17 Yao Qi <yao.qi@linaro.org>
6594
6595 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6596 line.
6597
2093d2d3
PP
65982015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6599
6600 * gdb.base/gdbinit-history.exp: Add test case to check that
6601 an unlimited history file does not get truncated on exit.
6602
e6c693af
AA
66032015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6604
6605 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6606 (VECTOR): New macro. Use it...
6607 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6608 ...for these typedefs.
6609 (int8, char1, int1, double1): New typedefs.
6610 (struct just_int2, struct two_int2): New structures.
6611 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6612 (add_structvecs, add_singlevecs): New functions.
6613 (main): Call add_some_intvecs twice.
6614 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6615 the compile and exit upon failure. Try compiling for the "native"
6616 architecture. Test inferior function calls with vector arguments
6617 and vector return value handling with "finish" and "return".
6618
c74f7d1c
JT
66192015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6620
6621 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6622 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6623 PE file.
6624 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6625
98aa42ee
AT
66262015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6627
6628 PR breakpoints/16465
6629 * gdb.mi/mi-dprintf-pending.c: New file.
6630 * gdb.mi/mi-dprintf-pending.exp: New test.
6631 * gdb.mi/mi-dprintf-pendshr.c: New file.
6632
7d73c23c 66332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 6634 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
6635
6636 * gdb.arch/i386-mpx-map.c: New file.
6637 * gdb.arch/i386-mpx-map.exp: New File.
6638
66392015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6640
6641 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6642 * gdb.arch/i386-mpx.exp: Indentation fixed.
6643
66442015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6645
6646 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6647 function and improved indentation.
6648 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6649 gdb_test_multiple. Added additional tests to skip the test.
6650
66512015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6652
6653 * gdb.arch/i386-avx512.c: Change path in include file.
6654 * gdb.arch/i386-avx512.exp: Change include dir path
6655 compilation flag.
6656 * gdb.arch/i386-mpx.c: Change path in include file.
6657 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6658 flag.
6659
d5eba19a
JK
66602015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6661
6662 * gdb.compile/compile-print.exp (compile print *vararray@3)
6663 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6664
7f361056
JK
66652015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6666
6667 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6668 (do not keep jit in memory): ... this.
6669 (expect 5): Change it to ...
6670 (expect no 5): ... this.
6671
3b462ec2
SM
66722015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6673
6674 PR gdb/15564
6675 * gdb.mi/mi-detach.exp: New file.
6676
e0619de6
JK
66772015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6678
6679 PR symtab/18392
6680 * gdb.arch/amd64-tailcall-self.S: New file.
6681 * gdb.arch/amd64-tailcall-self.c: New file.
6682 * gdb.arch/amd64-tailcall-self.exp: New file.
6683
e970cb34
DB
66842015-05-28 Don Breazeal <donb@codesourcery.com>
6685
6686 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6687 tests for remote targets by checking is_target_gdbserver.
6688
b2e2f908
DE
66892015-05-27 Doug Evans <dje@google.com>
6690
6691 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6692 * gdb.dwarf2/opaque-type-lookup.c: New file.
6693 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6694
82c7be31
DE
66952015-05-26 Doug Evans <dje@google.com>
6696
6697 * gdb.cp/iostream.cc: New file.
6698 * gdb.cp/iostream.exp: New file.
6699
b4f54984
DE
67002015-05-26 Doug Evans <dje@google.com>
6701
6702 * gdb.dwarf2/dw2-op-call.exp: Update.
6703 * gdb.dwarf2/dw4-sig-types.exp: Update.
6704 * gdb.dwarf2/implptr.exp: Update.
6705 * gdb.mi/mi-cmd-param-changed.exp: Update.
6706
4ea6efe9
DE
67072015-05-26 Doug Evans <dje@google.com>
6708
6709 * gdb.python/py-lazy-string.c: New file.
6710 * gdb.python/py-lazy-string.exp: New file.
6711 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6712 (main): Update. Add estring3.
6713 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6714 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6715
f6bb7db3
YQ
67162015-05-26 Omair Javaid <omair.javaid@linaro.org>
6717 Yao Qi <yao.qi@linaro.org>
6718
6719 * gdb.reverse/aarch64.c: New.
6720 * gdb.reverse/aarch64.exp: New.
6721
a81bfbd0
OJ
67222015-05-26 Omair Javaid <omair.javaid@linaro.org>
6723
25d49b86
PA
6724 * lib/gdb.exp (supports_process_record): Return true for
6725 aarch64*-linux*.
a81bfbd0
OJ
6726 (supports_reverse): Likewise.
6727
158bf1b4
PP
67282015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6729
6730 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6731 Use with_test_prefix.
6732
a0145030
AB
67332015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6734
6735 * gdb.base/completion.exp: Add test for completion of layout
6736 names.
6737
ebe3b578
AB
67382015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6739
6740 * lib/gdb.exp (skip_tui_tests): New proc.
6741 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6742
84204ed7
PA
67432015-05-19 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6746 Save the whole env array instead of just HOME. Unset HISTSIZE in
6747 the environment while testing. Restore whole environment
6748 afterwards.
6749
37442ce1
DE
67502015-05-16 Doug Evans <xdje42@gmail.com>
6751
6752 * gdb.guile/scm-ports.c: New file.
6753 * gdb.guile/scm-ports.exp: Add memory port tests.
6754
36de76f9
JK
67552015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6756
6757 * gdb.compile/compile-print.c: New file.
6758 * gdb.compile/compile-print.exp: New file.
6759
3a9558c4
JK
67602015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6761
6762 * gdb.compile/compile-ops.exp: Cast param to void.
6763 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6764 (compile code struct_object.selffield = &struct_object): Add xfail.
6765
aa715135
JG
67662015-05-15 Joel Brobecker <brobecker@adacore.com>
6767
6768 * gdb.ada/arr_enum_with_gap: New testcase.
6769
931e5bc3
JG
67702015-05-15 Joel Brobecker <brobecker@adacore.com>
6771
6772 * gdb.ada/byte_packed_arr: New testcase.
6773
9cd4d857
JB
67742015-05-15 Joel Brobecker <brobecker@adacore.com>
6775
6776 * gdb.ada/pckd_neg: New testcase.
6777
ebfd00d2
PP
67782015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6779
6780 PR gdb/17820
6781 * gdb.base/gdbinit-history.exp: New test.
6782 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6783 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6784
4c082a81
SC
67852015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6786
6787 * gdb.python/py-xmethods.cc: Enhance test case.
6788 * gdb.python/py-xmethods.exp: New tests.
6789 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6790 function.
6791 (B_indexoper): Likewise.
6792 (global_dm_list) : Add new xmethod worker functions.
6793
f7797074
SDJ
67942015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6795
6796 * gdb.base/coredump-filter.exp: Correctly unset
6797 "coredump_var_addr" array.
6798
a4674e4e
PA
67992015-05-08 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.server/non-existing-program.exp: Unset spawn_id.
6802
df2eb078
SC
68032015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6804
6805 PR python/18291
6806 * gdb.python/py-xmethods.exp: Add tests.
6807
422349a3
YQ
68082015-05-08 Yao Qi <yao.qi@linaro.org>
6809
6810 PR gdb/18208
6811 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6812 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6813 function set_coredump_filter, and remove remote_exec call.
6814 Remove argument ipid. Callers update.
6815 (top level): Don't get inferior's PID.
6816
63fc80ce
AA
68172015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6818
6819 * gdb.base/watch_thread_num.exp: Skip test on targets without
6820 access watchpoints.
6821
80ad801e
PA
68222015-05-06 Pedro Alves <palves@redhat.com>
6823
6824 PR server/18081
6825 * gdb.server/non-existing-program.exp: New file.
6826
0fa7fe50
JB
68272015-05-05 Joel Brobecker <brobecker@adacore.com>
6828
6829 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6830
3ea89b92
PMR
68312015-05-05 Joel Brobecker <brobecker@adacore.com>
6832
6833 * gdb.ada/out_of_line_in_inlined: New testcase.
6834
87b8eff0
JB
68352015-05-05 Joel Brobecker <brobecker@adacore.com>
6836
6837 * gdb.ada/var_rec_arr: New testcase.
6838
5fccc635
YQ
68392015-04-30 Yao Qi <yao.qi@linaro.org>
6840
6841 * gdb.base/break-idempotent.exp: If
6842 skip_hw_watchpoint_multi_tests returns true, skip the tests
6843 on "rwatch" and "awatch".
6844
42d38f42
YQ
68452015-04-30 Yao Qi <yao.qi@linaro.org>
6846
6847 * gdb.base/relativedebug.exp: Invoke gdb command
6848 "info sharedlibrary", and if libc.so doesn't have debug info,
6849 skip the test.
6850
2ce1cdbf
DE
68512015-04-29 Doug Evans <dje@google.com>
6852
6853 * gdb.python/py-xmethods.exp: Add ptype tests.
6854 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6855 get_result_type method.
6856
f24a38c5
LM
68572015-04-29 Luis Machado <lgustavo@codesourcery.com>
6858
6859 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6860 the target does not support hardware watchpoints.
6861
ecbf2b3c
LM
68622015-04-29 Luis Machado <lgustavo@codesourcery.com>
6863
6864 * gdb.base/break-always.exp: Abort testing if writing to memory
6865 causes an error.
6866
34f5f757
DE
68672015-04-28 Doug Evans <dje@google.com>
6868
6869 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6870 * gdb.python/py-pp-registration.exp: ... here. New file.
6871 * gdb.python/py-pp-registration.c: New file.
6872 * gdb.python/py-pp-registration.py: New file.
6873
69b4374a
DE
68742015-04-28 Doug Evans <dje@google.com>
6875
6876 * gdb.python/py-bad-printers.c: New file.
6877 * gdb.python/py-bad-printers.py: New file.
6878 * gdb.python/py-bad-printers.exp: New file.
6879
59fb7612
SS
68802015-04-28 Sasha Smundak <asmundak@google.com>
6881
6882 * gdb.python/py-type.exp: New test.
6883
2631b16a
AW
68842015-04-28 Andy Wingo <wingo@igalia.com>
6885
6886 * gdb.python/py-parameter.exp:
6887 * gdb.guile/scm-parameter.exp: Escape the path that we are
6888 matching against, as it might contain characters that are special
6889 to regular expressions.
6890
460efde1
JB
68912015-04-27 Joel Brobecker <brobecker@adacore.com>
6892
6893 * gdb.ada/rec_comp: New testcase.
6894
2d369d8e
SDJ
68952015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6896
6897 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6898 before using it.
6899
cf75d6c3
AB
69002015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6901
6902 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6903 new tests for verilog output.
6904
8dbe7ca5
YQ
69052015-04-24 Yao Qi <yao.qi@linaro.org>
6906
6907 * boards/remote-gdbserver-on-localhost.exp: New file.
6908
4ef9fb2f
PA
69092015-04-23 Pedro Alves <palves@redhat.com>
6910
6911 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6912 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6913 "end of file", remove $inferior_spawn_id from the indirect list.
6914
0a803169
PA
69152015-04-23 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6918
749ef8f8
PA
69192015-04-23 Pedro Alves <palves@redhat.com>
6920
6921 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6922 on $any_spawn_id instead of only on $gdb_spawn_id.
6923
8aae4344
PM
69242015-04-21 Pierre Muller <muller@sourceware.org>
6925
6926 PR pascal/17815
6927 * lib/pascal.exp (gpc_compile): Add new option "class".
6928 (fpc_compile): Likewise.
6929 * gdb.pascal/case-insensitive-symbols.pas: New file.
6930 * gdb.pascal/case-insensitive-symbols.exp: New file.
6931
1586c8fb
GB
69322015-04-20 Gary Benson <gbenson@redhat.com>
6933
6934 * gdb.base/attach.exp: Fix three extended remote failures.
6935
1b6e6f5c
GB
69362015-04-17 Gary Benson <gbenson@redhat.com>
6937
6938 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6939 the main executable over the remote protocol.
6940
e797481d
PA
69412015-04-16 Pedro Alves <palves@redhat.com>
6942
6943 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6944 a new gdbserver if gdbserver_reconnect_p is set.
6945
1ca99c42
PA
69462015-04-16 Pedro Alves <palves@redhat.com>
6947
6948 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6949 is set, don't exit gdbserver.
6950
af9fd6f8
AA
69512015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6952
6953 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6954 appropriate .insn, such that an older assembler can be used.
6955 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6956 the z/Architecture instruction set on 31-bit targets as well.
6957
04ff1e61
AA
69582015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6959
6960 * gdb.go/handcall.exp: Remove all logic related to the first
6961 breakpoint and rely on go_runto_main instead.
6962 * gdb.go/strings.exp: Likewise.
6963 * gdb.go/unsafe.exp: Likewise.
6964 * gdb.go/hello.exp: Likewise. Also rename the remaining
6965 breakpoint marker to "breakpoint 1".
6966 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6967 * gdb.go/strings.go: Likewise.
6968 * gdb.go/unsafe.go: Likewise.
6969 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6970 "set breakpoint 2 here" and rename the remaining breakpoint marker
6971 to "breakpoint 1".
6972
40d2f8d6
SM
69732015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6974
6975 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6976 if itertools.imap is not present.
6977 * gdb.python/py-objfile.exp: Add parentheses.
6978 * gdb.python/py-type.exp: Same.
6979 * gdb.python/py-unwind-maint.py: Same.
6980
8cbc97c6
YQ
69812015-04-15 Yao Qi <yao.qi@linaro.org>
6982
6983 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6984 of ":$ptr_size" and set its form explicitly.
6985
45fd756c
YQ
69862015-04-15 Pedro Alves <palves@redhat.com>
6987 Yao Qi <yao.qi@linaro.org>
6988
6989 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6990 timeout by factor of 4.
6991 (test_regular_watch): Likewise.
6992 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6993 * gdb.reverse/sigall-reverse.exp: Likewise.
6994 * gdb.reverse/until-precsave.exp: Likewise.
6995 * lib/gdb.exp (with_timeout_factor): New proc.
6996 (gdb_expect): Move some code to ...
6997 (get_largest_timeout): ... here. New procedure.
6998
9e811bc3
LM
69992015-04-14 Luis Machado <lgustavo@codesourcery.com>
7000
7001 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7002
0ff6fcb2
LM
70032015-04-13 Luis Machado <lgustavo@codesourcery.com>
7004
7005 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7006 to write to the .text section.
7007
7578d5f7
LM
70082015-04-13 Luis Machado <lgustavo@codesourcery.com>
7009
7010 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7011 Handle the case of targets that do not provide PID information.
7012
2efe15c4
YQ
70132015-04-13 Yao Qi <yao.qi@linaro.org>
7014
7015 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7016 and use expect instead of gdb_expect.
7017
8cd8f2f8
SDJ
70182015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7019
7020 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7021 "coredump_var_addr" to avoid naming conflict with other testcases.
7022
9ee41772
PA
70232015-04-10 Pedro Alves <palves@redhat.com>
7024
7025 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7026 gdb_test_sequence and gdb_assert.
7027
07473109
PA
70282015-04-10 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7031 test messages that don't include the breakpoint address.
7032
de3db44c
YQ
70332015-04-10 Yao Qi <yao.qi@linaro.org>
7034
7035 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7036 false for some offset and width combinations which aren't
7037 supported by linux kernel.
7038
c79d856c
PA
70392015-04-10 Pedro Alves <palves@redhat.com>
7040
7041 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7042 procedure, factored out from ...
7043 (top level): ... here. Add "set displaced-stepping" testing axis.
7044 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7045 parameter "displaced". Use it.
7046 (top level): Use foreach and add "set displaced-stepping" testing
7047 axis.
7048
ebc90b50
PA
70492015-04-10 Pedro Alves <palves@redhat.com>
7050
7051 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7052 Remove comment.
7053 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7054 both the address of the instruction that triggers the watchpoint
7055 and the address of the instruction immediately after, and use
7056 those addresses for the test. Fix comment.
7057
8f572e5c
PA
70582015-04-10 Pedro Alves <palves@redhat.com>
7059
7060 * gdb.base/sigstep.exp (breakpoint_to_handler)
7061 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7062 Test "backtrace" in handler.
7063 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7064 (top level): Add new "displaced" test axis to
7065 breakpoint_to_handler, breakpoint_to_handler_entry and
7066 breakpoint_over_handler.
7067
8d707a12
PA
70682015-04-10 Pedro Alves <palves@redhat.com>
7069
7070 PR gdb/18216
7071 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7072
ef713951
YQ
70732015-04-10 Yao Qi <yao.qi@linaro.org>
7074
7075 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7076 (test_add_rn_pc): New function.
7077 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7078 (top level): Invoke test_add_rn_pc.
7079
906d60cf
PA
70802015-04-10 Pedro Alves <palves@redhat.com>
7081
7082 PR gdb/13858
7083 * gdb.base/step-over-no-symbols.exp: New file.
7084
f2983cc3
AW
70852015-04-09 Andy Wingo <wingo@igalia.com>
7086
7087 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7088 after the Python tests.
7089
6d62641c
SDJ
70902015-04-08 Keith Seitz <keiths@redhat.com>
7091
7092 PR python/16699
7093 * gdb.python/py-completion.exp: New tests for completion.
7094 * gdb.python/py-completion.py (CompleteLimit1): New class.
7095 (CompleteLimit2): Likewise.
7096 (CompleteLimit3): Likewise.
7097 (CompleteLimit4): Likewise.
7098 (CompleteLimit5): Likewise.
7099 (CompleteLimit6): Likewise.
7100 (CompleteLimit7): Likewise.
7101
f3770638
PA
71022015-04-08 Pedro Alves <palves@redhat.com>
7103
7104 PR gdb/18214
7105 PR gdb/18216
7106 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7107 function.
7108 (main): Install it as SIGUSR1 handler.
7109 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7110 parameter. Always use "setup" as prefix. Toggle "set
7111 displaced-stepping" off/on depending on global. Don't switch to
7112 thread 1 here.
7113 (top level): Add displaced stepping "off/on" test axis. Update
7114 "setup" calls. Wrap each subtest with with_test_prefix. Test
7115 continuing with a queued signal in each thread.
7116
4496bed7
PA
71172015-04-08 Pedro Alves <palves@redhat.com>
7118
7119 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7120 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7121 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7122 Return early if running to main fails.
7123 * gdb.trace/while-stepping.exp: Likewise.
7124
b97fde92
PA
71252015-04-07 Pedro Alves <palves@redhat.com>
7126
7127 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7128 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7129 interact with inferior program.
7130
f71c18e7
PA
71312015-04-07 Pedro Alves <palves@redhat.com>
7132
7133 * lib/gdb.exp (inferior_spawn_id): New global.
7134 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7135 spawn id after processing the user code.
7136 (default_gdb_start): Set inferior_spawn_id.
7137 (send_inferior): New procedure.
7138 * lib/gdbserver-support.exp (gdbserver_start): Set
7139 inferior_spawn_id.
7140 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7141
6423214f
PA
71422015-04-07 Pedro Alves <palves@redhat.com>
7143
7144 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7145 * lib/gdbserver-support.exp (gdbserver_start): Make
7146 $server_spawn_id global.
7147 (gdbserver_start): Don't wait for gdbserver's spawn id with
7148 expect_background.
7149 (close_gdbserver): New procedure.
7150 (gdb_exit): Rename the default version and reimplement.
7151
71c0ee8c
PA
71522015-04-07 Pedro Alves <palves@redhat.com>
7153
72f4393d 7154 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
7155 append the substituted item, not the original item.
7156
203bc29b
PA
71572015-04-07 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7160 gdb_expect.
7161
508a3ddf
PA
71622015-04-07 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7165 output appearing once only.
7166
9f6dbe2b
PA
71672015-04-07 Pedro Alves <palves@redhat.com>
7168
7169 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7170 that doesn't expect anything. Return early if running to main
7171 fails.
7172
337532fa
YQ
71732015-04-07 Yao Qi <yao.qi@linaro.org>
7174
7175 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7176 (child_function): Call alarm.
7177 (main): Move call to alarm into the loop.
7178 * gdb.threads/non-stop-fair-events.exp: Build program with
7179 -DTIMEOUT=$timeout.
7180
01b622d4
DE
71812015-04-06 Doug Evans <xdje42@gmail.com>
7182
7183 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7184 Fix dest parameter to board_info.
7185 (fpc_compile): Ditto.
7186 (gdb_compile_pascal): Rename dest arg to destfile.
7187
961f4160
PMR
71882015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7189
7190 * gdb.ada/funcall_ref.exp: New file.
7191 * gdb.ada/funcall_ref/foo.adb: New file.
7192
cafda597
YQ
71932015-04-02 Yao Qi <yao.qi@linaro.org>
7194
7195 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7196 is remote.
7197
fed040c6
GB
71982015-04-02 Gary Benson <gbenson@redhat.com>
7199
7200 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7201
d11916aa
SS
72022015-04-01 Sasha Smundak <asmundak@google.com>
7203
7204 * gdb.python/py-unwind-maint.c: New file.
7205 * gdb.python/py-unwind-maint.exp: New test.
7206 * gdb.python/py-unwind-maint.py: New file.
7207 * gdb.python/py-unwind.c: New file.
7208 * gdb.python/py-unwind.exp: New test.
7209 * gdb.python/py-unwind.py: New test.
7210
a1471180
PA
72112015-04-01 Pedro Alves <palves@redhat.com>
7212
7213 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7214 to fail instead of non-existent $test.
7215
0bbeccb1
PA
72162015-04-01 Pedro Alves <palves@redhat.com>
7217
7218 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7219 GDBFLAGS if not empty.
7220
3c724c8c
PMR
72212015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7222
7223 * gdb.ada/complete.exp: Remove "multi_line".
7224 * gdb.ada/info_exc.exp: Remove "multi_line".
7225 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7226 * gdb.ada/ptype_field.exp: Remove "multi_line".
7227 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7228 * gdb.ada/tagged.exp: Remove "multi_line".
7229 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7230 [multi_line ...]
7231 * gdb.btrace/delta.exp: Likewise.
7232 * gdb.btrace/exception.exp: Likewise.
7233 * gdb.btrace/function_call_history.exp: Likewise.
7234 * gdb.btrace/instruction_history.exp: Likewise.
7235 * gdb.btrace/nohist.exp: Likewise.
7236 * gdb.btrace/record_goto.exp: Likewise.
7237 * gdb.btrace/segv.exp: Likewise.
7238 * gdb.btrace/stepi.exp: Likewise.
7239 * gdb.btrace/tailcall.exp: Likewise.
7240 * gdb.btrace/unknown_functions.exp: Likewise.
7241 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7242 * lib/gdb.exp: Add the "multi_line" helper.
7243
4eec2deb
PA
72442015-04-01 Pedro Alves <palves@redhat.com>
7245
7246 * gdb.threads/tid-reuse.c: New file.
7247 * gdb.threads/tid-reuse.exp: New file.
7248
df8411da
SDJ
72492015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7250
7251 PR corefiles/16092
7252 * gdb.base/coredump-filter.c: New file.
7253 * gdb.base/coredump-filter.exp: Likewise.
7254
6ef37366
PM
72552015-03-27 Petr Machata <pmachata@redhat.com>
7256
7257 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7258 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7259 (Dwarf::assemble): Initialize them.
7260 (Dwarf::lines): New function.
7261
7ec911b0
JT
72622015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7263
7264 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7265 SYMBOL_PREFIX for x86_64-*-cygwin.
7266
ff908ebf
AW
72672015-03-26 Andy Wingo <wingo@igalia.com>
7268
7269 PR symtab/18148
7270 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7271 const_value but not a location.
7272 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7273 location defined in non-main CUs are visible.
7274
6d5f0679
YQ
72752015-03-26 Yao Qi <yao.qi@linaro.org>
7276
7277 PR testsuite/18139
7278 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7279 Add a line number entry for the same line.
7280 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7281 Add a line number entry for the same line.
7282
2898689b
YQ
72832015-03-26 Yao Qi <yao.qi@linaro.org>
7284
7285 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7286 .int 0.
7287 (func): Likewise. Add .Lfunc_1 label.
7288 Use .Lfunc_1 label.
7289 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7290 .int 0.
7291 (func): Likewise.
7292 Use .Lfunc_1 label.
7293
85180498
YQ
72942015-03-26 Yao Qi <yao.qi@linaro.org>
7295
7296 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7297 Call gdb_compile instead to compile each .s files without debug
7298 information.
7299
8aa08a8d
YQ
73002015-03-26 Yao Qi <yao.qi@linaro.org>
7301
7302 * gdb.base/savedregs.exp (process_saved_regs): Make
7303 "Saved registers:" optional in the pattern.
7304
66849923
MM
73052015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7306
7307 * gdb.btrace/next.exp: Merged into step.exp.
7308 * gdb.btrace/finish.exp: Merged into step.exp.
7309 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7310 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7311 "record goto" and checking the exact replay position.
7312 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7313 check for "Recording format" in "info record" output.
7314 * gdb.btrace/record_goto.exp: Choose test file based on target.
7315 * gdb.btrace/x86-record_goto.S: Renamed into ...
7316 * gdb.btrace/x86_64-record_goto.S: ... this.
7317 * gdb.btrace/i686-record_goto.S: New.
7318 * gdb.btrace/x86-tailcall.S: Renamed into ...
7319 * gdb.btrace/x86_64-tailcall.S: ... this.
7320 * gdb.btrace/i686-tailcall.S: New.
7321 * gdb.btrace/x86-tailcall.c: Renamed into ...
7322 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7323 separate statements. Update test.
7324 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7325 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7326 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7327 * gdb.btrace/tailcall.exp: Choose test file based on target.
7328 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7329
11cc1b74
MM
73302015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7331
7332 * gdb.btrace/exception.exp: Increase BTS buffer size.
7333
a25d8bf9
PA
73342015-03-24 Pedro Alves <palves@redhat.com>
7335
7336 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7337
856e7dd6
PA
73382015-03-24 Pedro Alves <palves@redhat.com>
7339
7340 * gdb.threads/schedlock.exp (test_step): No longer expect that
7341 "set scheduler-locking step" with "next" over a function call runs
7342 threads unlocked.
7343
ad235a41
AT
73442015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7345
7346 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7347
15630549
AT
73482015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7349
7350 PR breakpoints/16466
7351 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7352 * gdb.mi/mi-pending.c (thread_func): New function.
7353 (int main): Add threading support required.
7354 * gdb.mi/mi-pending.exp: Add tests for this issue.
7355 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7356 (pendfunc2): Remove stdio dependency.
7357 * gdb.mi/mi-pendshr2.c: New file.
7358
693dca06
KS
73592015-03-23 Keith Seitz <keiths@redhat.com>
7360
7361 * gdb.linespec/keywords.c: New file.
7362 * gdb.linespec/keywords.exp: New file.
7363
7e993ebf
KS
73642015-03-23 Keith Seitz <keiths@redhat.com>
7365
7366 PR gdb/18021
7367 * gdb.dwarf2/staticvirtual.exp: New test.
7368
bc23328c
JK
73692015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7370
7371 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7372 * README: Remove HP-UX and gdb.hp.
7373 (configuration):
7374 * configure: Regenerate.
7375 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7376 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7377 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7378 gdb.hp/gdb.defects/Makefile.
7379 * gdb.hp/Makefile.in: File deleted.
7380 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7381 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7382 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7383 * gdb.hp/gdb.aCC/run.c: File deleted.
7384 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7385 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7386 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7387 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7388 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7389 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7390 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7391 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7392 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7393 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7394 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7395 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7396 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7397 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7398 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7399 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7400 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7401 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7402 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7403 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7404 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7405 * gdb.hp/gdb.compat/average.c: File deleted.
7406 * gdb.hp/gdb.compat/sum.c: File deleted.
7407 * gdb.hp/gdb.compat/xdb.c: File deleted.
7408 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7409 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7410 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7411 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7412 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7413 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7414 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7415 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7416 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7417 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7418 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7419 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7420 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7421 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7422 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7423 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7424 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7425 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7426 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7427 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7428 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7429 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7430 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7431 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7432 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7433 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7434 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7435 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7436 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7437 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7438 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7439 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7440 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7441 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7442 * gdb.hp/tools/odump: File deleted.
7443
8bf3b159
PA
74442015-03-19 Pedro Alves <palves@redhat.com>
7445
7446 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7447 (saw_thread_3): New globals.
7448 (top level): Increment them when an event for the corresponding
7449 thread is seen.
7450 (no thread starvation): New test.
7451
eb54c8bf
PA
74522015-03-19 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.threads/continue-pending-status.c: New file.
7455 * gdb.threads/continue-pending-status.exp: New file.
7456
32d2e5d6
PA
74572015-03-18 Pedro Alves <palves@redhat.com>
7458
7459 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7460 Use gdb_is_target_remote instead of is_remote. Use
7461 gdb_test_multiple instead of gdb_expect. Exit early if
7462 gdb_test_multiple hits its internal matches. Tighten stepi tests
7463 expected output. Fail on exit with any signal, instead of just
7464 SIGILL.
7465
f68f11b7
YQ
74662015-03-18 Yao Qi <yao.qi@linaro.org>
7467
7468 PR tdep/18107
7469 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7470 variable.
7471 * gdb.base/catch-syscall.exp: Don't skip it on
7472 aarch64*-*-linux* target. Remove elements in all_syscalls.
7473 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7474 target.
7475 (setup_all_syscalls): New proc.
7476
ca5fd19b
YQ
74772015-03-16 Yao Qi <yao.qi@linaro.org>
7478
7479 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7480 (top level): Skip tests if valid_addr_p returns false for
7481 $cmd1 or $cmd2.
7482
85642ba0
AW
74832015-03-11 Andy Wingo <wingo@igalia.com>
7484
7485 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7486
e03f9645
YQ
74872015-03-11 Yao Qi <yao.qi@linaro.org>
7488
7489 * gdb.base/catch-syscall.exp: Fix typo in comments.
7490
5d0962b2
YQ
74912015-03-11 Yao Qi <yao.qi@linaro.org>
7492
7493 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7494
b2df3cef
PA
74952015-03-09 Pedro Alves <palves@redhat.com>
7496
7497 * dg-extract-results.py: Delete.
7498
ef878e53
PA
74992015-03-09 Pedro Alves <palves@redhat.com>
7500
7501 Merge dg-extract-results.sh from GCC upstream (r218843).
7502
7503 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7504 * dg-extract-results.sh: Use --text with grep to avoid issues with
7505 binary files. Fall back to cat -v, if that doesn't work.
7506
9494d219
PA
75072015-03-05 Pedro Alves <palves@redhat.com>
7508
7509 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7510
a8d9763a
SM
75112015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7512
7513 * lib/mi-support.exp (mi_expect_interrupt): Accept
7514 alternative event for when in all-stop mode.
7515
be9957b8
PA
75162015-03-04 Pedro Alves <palves@redhat.com>
7517
7518 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7519
d57be0f4 75202015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
7521
7522 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7523
c214c7cf
AA
75242015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7525
7526 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7527 regexps for GDB's current line display, accept a hex address
7528 preceding the line number.
7529
6d74a497
AA
75302015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7531
7532 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7533 the 'arch1' variable for "s390*-linux*" targets.
7534
511aee7c
PA
75352015-03-04 Pedro Alves <palves@redhat.com>
7536
7537 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7538 (main): Pass missing retval argument to pthread_join call.
7539
95e50b27
PA
75402015-03-02 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7543 (top level): Call do_test with non-stop as well.
7544
28054d69
PA
75452015-03-02 Pedro Alves <palves@redhat.com>
7546
7547 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7548 -1.
7549
4fa5d7b4
AA
75502015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7551
7552 * gdb.arch/s390-vregs.exp: New test.
7553 * gdb.arch/s390-vregs.S: New file.
7554
97c18565
PA
75552015-02-27 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7558 call to catch_command_errors.
7559 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7560 catch_command_errors.
7561
a37bfa30
PA
75622015-02-27 Pedro Alves <palves@redhat.com>
7563
7564 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7565 "true" for boolean result.
7566 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7567 prototype of main.
7568
6f98576f
PA
75692015-02-27 Pedro Alves <palves@redhat.com>
7570
7571 * lib/unbuffer_output.c: New file.
7572 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7573 (main): Call gdb_unbuffer_output.
7574
eba5ab56
YQ
75752015-02-27 Yao Qi <yao.qi@linaro.org>
7576
7577 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7578 target.
7579
0def5aaa
DE
75802015-02-26 Doug Evans <dje@google.com>
7581
7582 * gdb.cp/class2.cc (Dbase, D): New classes.
7583 (main): New local delta.
7584 * gdb.cp/class2.exp: Test printing delta.
7585 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7586 (dynbar): New global.
7587 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7588
081a1c2c
JK
75892015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 * gdb.compile/compile-ifunc.c: New file.
7592 * gdb.compile/compile-ifunc.exp: New file.
7593
2f41223f
AT
75942015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7595
7596 * gdb.base/structs.exp: Check for correct struct on finish.
7597
03eddd80
YQ
75982015-02-26 Yao Qi <yao.qi@linaro.org>
7599
7600 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7601 is zero.
7602
80c57053
JK
76032015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7604
7605 * gdb.arch/cordic.ko.bz2: New file.
7606 * gdb.arch/cordic.ko.debug.bz2: New file.
7607 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7608
21613c12
YQ
76092015-02-25 Yao Qi <yao.qi@linaro.org>
7610
7611 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7612 aarch64*-*-* target.
7613
d8b901ed
PA
76142015-02-23 Pedro Alves <palves@redhat.com>
7615
7616 * lib/gdb.exp (delete_breakpoints): Rewrite using
7617 gdb_test_multiple.
7618
e5b85ead
PA
76192015-02-23 Pedro Alves <palves@redhat.com>
7620
7621 * gdb.base/info-os.c: Include stdlib.h.
7622
85c3a371
DE
76232015-02-22 Doug Evans <xdje42@gmail.com>
7624
7625 PR symtab/17855
7626 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7627 is read after symbols have been re-read.
7628 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7629 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7630
96553a0c
DE
76312015-02-21 Doug Evans <dje@google.com>
7632
7633 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7634
97a0c697
JK
76352015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7636
7637 PR corefiles/17808
7638 * gdb.arch/i386-biarch-core.core.bz2: New file.
7639 * gdb.arch/i386-biarch-core.exp: New file.
7640
a47cd6e9
PA
76412015-02-21 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7644 runto_main fails.
7645
c5facdc4
PA
76462015-02-20 Pedro Alves <palves@redhat.com>
7647
7648 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7649 info probes.
7650
2db9a427
PA
76512015-02-20 Pedro Alves <palves@redhat.com>
7652
7653 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7654
60fb7e9e
PA
76552015-02-20 Pedro Alves <palves@redhat.com>
7656
7657 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7658 clean_restart before gdb_target_supports_trace.
7659
5c5019c2
PA
76602015-02-20 Pedro Alves <palves@redhat.com>
7661
7662 PR threads/18006
7663 * gdb.threads/clone-thread_db.c: New file.
7664 * gdb.threads/clone-thread_db.exp: New file.
7665
c9587f88
AT
76662015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7667
7668 PR breakpoints/16812
7669 * gdb.base/catch-gdb-caused-signals.c: New file.
7670 * gdb.base/catch-gdb-caused-signals.exp: New file.
7671
f6a88844
JM
76722015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7673
7674 * configure: Regenerated.
7675 * configure.ac: Use GDB_AC_TRANSFORM.
7676 * aclocal.m4: sinclude ../transform.m4.
7677
497c491b
JM
76782015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7679
7680 * lib/dtrace.exp: New file.
7681 * gdb.base/dtrace-probe.exp: Likewise.
7682 * gdb.base/dtrace-probe.d: Likewise.
7683 * gdb.base/dtrace-probe.c: Likewise.
7684 * lib/pdtrace.in: Likewise.
7685 * configure.ac: Output variables with the transformed names of
7686 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7687 * configure: Regenerated.
7688
03e98035
JM
76892015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7690
7691 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7692 expected message when trying to access $_probe_* convenience
7693 variables while not on a probe.
7694
63cc30e9
JK
76952015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7696
7697 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7698
0703599a
PA
76992015-02-11 Pedro Alves <pedro@codesourcery.com>
7700
7701 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7702 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7703
7e60a48e
DE
77042015-02-10 Doug Evans <xdje42@gmail.com>
7705
7706 * lib/gdb.exp (gdb_load): Always return a result.
7707
01b088bc
PA
77082015-02-10 Pedro Alves <palves@redhat.com>
7709
7710 * gdb.threads/signal-sigtrap.c: New file.
7711 * gdb.threads/signal-sigtrap.exp: New file.
7712
b05ec7a5
AT
77132015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7714
7715 * gdb.trace/no-attach-trace.c: New file.
7716 * gdb.trace/no-attach-trace.exp: New file.
7717
a2c2acaf
MW
77182015-02-09 Mark Wielaard <mjw@redhat.com>
7719
7720 * gdb.dwarf2/atomic.c: New file.
7721 * gdb.dwarf2/atomic-type.exp: Likewise.
7722
31fd9caa
MM
77232015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7724
7725 * gdb.btrace/buffer-size.exp: Update "info record" output.
7726 * gdb.btrace/delta.exp: Update "info record" output.
7727 * gdb.btrace/enable.exp: Update "info record" output.
7728 * gdb.btrace/finish.exp: Update "info record" output.
7729 * gdb.btrace/instruction_history.exp: Update "info record" output.
7730 * gdb.btrace/next.exp: Update "info record" output.
7731 * gdb.btrace/nexti.exp: Update "info record" output.
7732 * gdb.btrace/step.exp: Update "info record" output.
7733 * gdb.btrace/stepi.exp: Update "info record" output.
7734 * gdb.btrace/nohist.exp: Update "info record" output.
7735
d33501a5
MM
77362015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7737
7738 * gdb.btrace/buffer-size: New.
7739
f4abbc16
MM
77402015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7741
7742 * gdb.btrace/delta.exp: Update "info record" output.
7743 * gdb.btrace/enable.exp: Update "info record" output.
7744 * gdb.btrace/finish.exp: Update "info record" output.
7745 * gdb.btrace/instruction_history.exp: Update "info record" output.
7746 * gdb.btrace/next.exp: Update "info record" output.
7747 * gdb.btrace/nexti.exp: Update "info record" output.
7748 * gdb.btrace/step.exp: Update "info record" output.
7749 * gdb.btrace/stepi.exp: Update "info record" output.
7750 * gdb.btrace/nohist.exp: Update "info record" output.
7751
b9d61307
SM
77522015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7753
7754 PR gdb/15678
7755 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7756
e584fdbc
PA
77572015-02-06 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7760 macro.
7761 (seconds_left, again): New globals.
7762 (main): Wait seconds_left in a 1-second sleep loop instead of
7763 sleeping 180 seconds. If 'again' is set, reset the seconds
7764 counter.
7765 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7766 'again' in the inferior before detaching. Print the seconds left.
7767 (options): New global.
7768 (top level): Build program with -DTIMEOUT=$timeout.
7769
77f41761
PA
77702015-02-06 Pedro Alves <palves@redhat.com>
7771
7772 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7773 determine how many seconds to pass to 'alarm'.
7774 * gdb.base/gdb-sigterm.exp (top level): Build program with
7775 -DTIMEOUT=$timeout.
7776 (do_test): Return success/failure indication. Add more verbose
7777 logging. Don't fail if 200 single steps are seen. Instead, fail
7778 when the test times out.
7779 (passes): New global.
7780 (top level): Break the testing loop if testing fails on any
7781 iteration. Use gdb_assert.
7782
b9394193
DB
77832015-02-04 Don Breazeal <donb@codesourcery.com>
7784
7785 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7786 and initialize them.
7787 (ipc_cleanup): New function.
7788 (main): Don't declare shmid, semid, and msqid. Add a call to
7789 atexit so that we call ipc_cleanup on exit.
7790
42d9e528
PA
77912015-02-04 Pedro Alves <palves@redhat.com>
7792
7793 * boards/native-extended-gdbserver.exp: Remove any target variant
7794 specifications from the board name before clearing the isremote
7795 flag from board_info.
7796
ae6ae975
DE
77972015-01-31 Doug Evans <xdje42@gmail.com>
7798
7799 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7800
cfb069a8
GB
78012015-01-31 Gary Benson <gbenson@redhat.com>
7802
7803 * gdb.base/completion.exp: Disable completion limiting for
7804 existing tests. Add new tests to check completion limiting.
7805 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7806
5dd31d79
DE
78072015-01-31 Doug Evans <xdje42@gmail.com>
7808
7809 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7810
9f050062
DE
78112015-01-31 Doug Evans <xdje42@gmail.com>
7812
7813 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7814 entries. Duplicate file section script entries.
7815 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7816 inlined entries. Add test for safe-path rejection.
7817 * gdb.python/py-section-script.c: Add duplicate inlined section script
7818 entries. Duplicate file section script entries.
7819 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7820 inlined entries. Add test for safe-path rejection.
7821
df25ebbd
JB
78222015-01-29 Joel Brobecker <brobecker@adacore.com>
7823
7824 * gdb.ada/disc_arr_bound: New testcase.
7825
4a0ca9ec
JB
78262015-01-29 Joel Brobecker <brobecker@adacore.com>
7827
7828 * gdb.ada/mi_var_array: New testcase.
7829
3a8b707a
DE
78302015-01-27 Doug Evans <dje@google.com>
7831
7832 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7833 Add test for objfile.filename, objfile.username after objfile
7834 has been unloaded.
7835
f8313f6e
JB
78362015-01-26 Joel Brobecker <brobecker@adacore.com>
7837
7838 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7839 the second test to print the name attribute of value
7840 returned by the call to gdb.lookup_type, and adjust
7841 the expected output accordingly.
7842
37bc665e
MW
78432015-01-25 Mark Wielaard <mjw@redhat.com>
7844
7845 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7846 * gdb.base/disp-step-fork.c: Include unistd.h.
7847 * gdb.base/siginfo-obj.c: Include stdio.h.
7848 * gdb.base/siginfo-thread.c: Likewise.
7849 * gdb.mi/non-stop.c: Include unistd.h.
7850 * gdb.mi/nsthrexec.c: Include stdio.h.
7851 * gdb.mi/pthreads.c: Include unistd.h.
7852 * gdb.modula2/unbounded1.c (main): Declare returns int.
7853 * gdb.reverse/consecutive-reverse.c: Likewise.
7854 * gdb.threads/create-fail.c: Include unistd.h.
7855 * gdb.threads/killed.c: Likewise.
7856 * gdb.threads/linux-dp.c: Likewise.
7857 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7858 * gdb.threads/non-ldr-exc-2.c: Likewise.
7859 * gdb.threads/non-ldr-exc-3.c: Likewise.
7860 * gdb.threads/non-ldr-exc-4.c: Likewise.
7861 * gdb.threads/pthreads.c: Include unistd.h.
7862 (main): Declare returns int.
7863 * gdb.threads/tls-main.c (foo): New declaration.
7864 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7865
f7e5394d
SM
78662015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7867
7868 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7869 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7870
743649fd
MW
78712015-01-15 Mark Wielaard <mjw@redhat.com>
7872
7873 * gdb.base/noreturn-return.c: New file.
7874 * gdb.base/noreturn-return.exp: New file.
7875 * gdb.base/noreturn-finish.c: New file.
7876 * gdb.base/noreturn-finish.exp: New file.
7877
198297aa
PA
78782015-01-23 Pedro Alves <palves@redhat.com>
7879
7880 * gdb.threads/continue-pending-after-query.c: New file.
7881 * gdb.threads/continue-pending-after-query.exp: New file.
7882
717cf30c
AG
78832015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7884 Simon Marchi <simon.marchi@ericsson.com>
7885
7886 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7887 * gdb.base/valgrind-db-attach.exp: Same.
7888 * gdb.base/valgrind-infcall.exp: Same.
7889 * lib/mi-support.exp (default_mi_gdb_start): Same.
7890 * lib/prompt.exp (default_prompt_gdb_start): Same.
7891 * lib/gdb.exp (default_gdb_spawn): Same.
7892 (gdb_interact): New.
7893
7894
4b62a76e
JK
78952015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7896
7897 * gdb.compile/compile.exp (pointer to jit function): New test.
7898
b4cdae6f
WW
78992015-01-17 Wei-cheng Wang <cole945@gmail.com>
7900
7901 * lib/gdb.exp (supports_process_record): Return true for
7902 powerpc*-*-linux*.
7903 (supports_reverse): Likewise.
7904
d221e7ef
DB
79052015-01-15 Don Breazeal <donb@codesourcery.com>
7906
7907 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7908 instead of checking whether the target board is remote and
7909 use spawn_wait_for_attach instead of exec/sleep.
7910 * gdb.base/attach-twice.exp: Likewise.
7911
bafffb51
JB
79122015-01-15 Joel Brobecker <brobecker@adacore.com>
7913
7914 * gdb.ada/var_arr_attrs: New testcase.
7915
5589af0e
PA
79162015-01-14 Pedro Alves <palves@redhat.com>
7917 Joel Brobecker <brobecker@adacore.com>
7918
7919 PR gdb/17525
7920 * gdb.base/bp-cmds-execution-x-script.c: New file.
7921 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7922 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7923
6c400b59
PA
79242015-01-14 Pedro Alves <palves@redhat.com>
7925
7926 PR cli/17828
7927 * gdb.base/batch-preserve-term-settings.c: New file.
7928 * gdb.base/batch-preserve-term-settings.exp: New file.
7929
e02c96a7
DE
79302015-01-13 Doug Evans <dje@google.com>
7931
7932 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7933 binary.
7934
576fd14c
JB
79352015-01-13 Joel Brobecker <brobecker@adacore.com>
7936
7937 * Makefile.in (clean mostlyclean): Do not delete *.py.
7938
04dccad0
JB
79392015-01-13 Joel Brobecker <brobecker@adacore.com>
7940
7941 * gdb.python/py-lookup-type.exp: New file.
7942
3d230f71
PA
79432015-01-12 Pedro Alves <palves@redhat.com>
7944
7945 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7946 restore GDBFLAGS before returning.
7947
7e67715d
JK
79482015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7949
7950 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7951 is_amd64_regs_target and is_x86_like_target.
7952
f2e0d4b4
DE
79532015-01-11 Doug Evans <xdje42@gmail.com>
7954
7955 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7956 is given without an explicit form.
7957 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7958 attributes.
7959 * gdb.dwarf/corrupt.exp: Ditto.
7960 * gdb.dwarf2/enum-type.exp: Ditto.
7961 * gdb.trace/entry-values.exp: Ditto.
7962 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7963
439250fb
DE
79642015-01-11 Doug Evans <xdje42@gmail.com>
7965
7966 PR gdb/15830
7967 * gdb.base/maint.exp: Remove references to "maint demangle".
7968 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7969 Add tests for explicitly specifying language to demangle.
7970 * gdb.dlang/demangle.exp: Ditto.
7971
ede9f622
PA
79722015-01-09 Pedro Alves <palves@redhat.com>
7973
7974 * gdb.threads/non-stop-fair-events.c: New file.
7975 * gdb.threads/non-stop-fair-events.exp: New file.
7976
a7b796db
PA
79772015-01-09 Pedro Alves <palves@redhat.com>
7978
7979 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7980 the global scope. Set a breakpoint after all threads are started
7981 rather than stepping over two source lines. Expect the prompt.
7982 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7983 global.
7984 (NUM): Now 15.
7985 (main): Use threads_started_barrier to wait for all threads to
7986 start. Main thread no longer calls thread_function. Exit after
7987 180 seconds.
7988 (loop): New function.
7989 (thread_function): Wait on threads_started_barrier barrier. Call
7990 'loop' at each iteration.
7991 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7992 threads have started, instead of hardcoding number of "next"
7993 steps. Use an access watchpoint instead of a write watchpoint.
7994
9665ffdd
PA
79952015-01-09 Pedro Alves <palves@redhat.com>
7996
7997 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7998 (thread_func): Wait on barrier.
7999 (main): Wait for all threads to start before stopping GDB.
8000 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8001 global.
8002 (thread1_func, thread2_func): Wait on barrier.
8003 (main): Wait for all threads to start before stopping GDB.
8004 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8005 New global.
8006 (thread1_func, thread2_func): Wait on barrier.
8007 (main): Wait for all threads to start before stopping GDB.
8008
c945a99f
PA
80092015-01-09 Pedro Alves <palves@redhat.com>
8010
8011 * gdb.threads/attach-many-short-lived-threads.c: New file.
8012 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8013
c1a747c1
PA
80142014-01-09 Pedro Alves <palves@redhat.com>
8015
8016 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8017 instead of to thread 2.
8018 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8019 Add barrier around each pthread_create call instead of around all
8020 calls.
8021 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8022 Set a break on thread_function and have the child threads hit it
8023 one at at a time.
8024
60b3033e
PA
80252015-01-09 Pedro Alves <palves@redhat.com>
8026
8027 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8028 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8029 false.
8030 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8031 checking whether the target board is remote.
8032 * gdb.multi/multi-attach.exp: Likewise.
8033 * gdb.python/py-sync-interp.exp: Likewise.
8034 * gdb.server/ext-attach.exp: Likewise.
8035 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8036 tests that need to attach, instead of checking whether the target
8037 board is remote at the top of the file.
8038
acc018ac
YQ
80392015-01-08 Yao Qi <yao@codesourcery.com>
8040
8041 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8042
50a18af8
JK
80432015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8044
8045 Fix testcase compilation.
8046 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8047
8503d6e1
JB
80482015-01-06 Joel Brobecker <brobecker@adacore.com>
8049
8050 * gdb.python/py-type.exp: Add a couple test about empty
8051 array creation, and negative-length array creation.
8052
cc73dbcc
DE
80532015-01-02 Doug Evans <xdje42@gmail.com>
8054
8055 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8056
0300bbc7
DE
80572015-01-02 Doug Evans <dje@google.com>
8058
8059 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8060
9d85a0ec
YQ
80612014-12-29 Yao Qi <yao@codesourcery.com>
8062
8063 * gdb.trace/entry-values.exp: Update comments. Rename variable
8064 bar_call_foo to returned_from_foo.
8065
87186c6a
MMN
80662014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8067
8068 PR gdb/17394
8069 * gdb.linespec/break-asm-file.c: New file.
8070 * gdb.linespec/break-asm-file.exp: New file.
8071 * gdb.linespec/break-asm-file0.s: New file.
8072 * gdb.linespec/break-asm-file1.s: New file.
8073
1bab7383
YQ
80742014-12-18 Nigel Stephens <nigel@mips.com>
8075 Maciej W. Rozycki <macro@codesourcery.com>
8076
8077 * gdb.base/float.exp: Handle the new output from "info float" on
8078 MIPS targets.
8079
1bc1068a
JK
80802014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8081
8082 Fix MinGW compilation.
8083 * gdb.compile/compile-ops.exp: Update untested message if
8084 !skip_compile_feature_tests.
8085 * gdb.compile/compile-setjmp.exp: Likewise.
8086 * gdb.compile/compile-tls.exp: Likewise.
8087 * gdb.compile/compile.exp: Likewise.
8088 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8089 supported on this host".
8090
b6615d10
DE
80912014-12-16 Doug Evans <xdje42@gmail.com>
8092
8093 * boards/stabs.exp: New file.
8094
25dda427
AA
80952014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8096
8097 * gdb.base/completion.exp: Adjust to format changes of "maint
8098 print user-registers".
8099
bf330350
CU
81002014-12-16 Catalin Udma <catalin.udma@freescale.com>
8101
8102 PR server/17457
8103 * gdb.arch/aarch64-fp.c: New file.
8104 * gdb.arch/aarch64-fp.exp: New file.
8105
395cf596
SDJ
81062014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8107
8108 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8109 r210637, r210913, r211666, r215400, r215817).
8110
8111 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8112 * dg-extract-results.py: New file.
8113 * dg-extract-results.sh: Use it if the environment seems
8114 suitable.
8115
8116 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8117
8118 * dg-extract-results.py (parse_run): Handle warnings that
8119 are printed before a test harness is run.
8120
8121 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8122
8123 * dg-extract-results.py (Named): Remove __cmp__ method.
8124 (output_variation): Use a key to sort variation.harnesses.
8125
8126 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8127
8128 * dg-extract-results.py: For Python 3, force sys.stdout to
8129 handle surrogate escape sequences.
8130 (safe_open): New function.
8131 (output_segment, main): Use it.
8132
8133 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8134
8135 * dg-extract-results.py (Prog.result_re): Include options
8136 in test name.
8137
8138 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8139
8140 * dg-extract-results.py (output_variation): Always sort if
8141 do_sum.
8142
e882ef3c
SM
81432014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8144
8145 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8146 as long as we get pagination notifications.
8147
4992aa20
JM
81482014-12-15 Jason Merrill <jason@redhat.com>
8149
8150 * Makefile.in (check-gdb.%): Restore.
8151 * README: Mention it.
8152
c1b5a1a6
JB
81532014-12-13 Joel Brobecker <brobecker@adacore.com>
8154
8155 * gdb.ada/str_uninit: New testcase.
8156
5537b577
JK
81572014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8158
8159 PR symtab/17642
8160 * gdb.base/vla-stub-define.c: New file.
8161 * gdb.base/vla-stub.c: New file.
8162 * gdb.base/vla-stub.exp: New file.
8163
bb2ec1b3
TT
81642014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8165 Jan Kratochvil <jan.kratochvil@redhat.com>
8166 Tom Tromey <tromey@redhat.com>
8167
8168 * configure.ac: Add gdb.compile/.
8169 * configure: Regenerate.
8170 * gdb.compile/Makefile.in: New file.
8171 * gdb.compile/compile-ops.exp: New file.
8172 * gdb.compile/compile-ops.c: New file.
8173 * gdb.compile/compile-tls.c: New file.
8174 * gdb.compile/compile-tls.exp: New file.
8175 * gdb.compile/compile-constvar.S: New file.
8176 * gdb.compile/compile-constvar.c: New file.
8177 * gdb.compile/compile-mod.c: New file.
8178 * gdb.compile/compile-nodebug.c: New file.
8179 * gdb.compile/compile-setjmp-mod.c: New file.
8180 * gdb.compile/compile-setjmp.c: New file.
8181 * gdb.compile/compile-setjmp.exp: New file.
8182 * gdb.compile/compile-shlib.c: New file.
8183 * gdb.compile/compile.c: New file.
8184 * gdb.compile/compile.exp: New file.
8185 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8186
4ff709eb
TT
81872014-12-12 Tom Tromey <tromey@redhat.com>
8188
8189 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8190 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8191
6dddd6a5
DE
81922014-12-12 Doug Evans <dje@google.com>
8193
8194 * lib/gdb-python.exp (get_python_valueof): New function.
8195 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8196
71c24708
AA
81972014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8198
8199 * gdb.base/completion.exp: Add test for completion of "info
8200 registers ".
8201
3e29f34a
MR
82022014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8203
8204 * gdb.base/func-ptrs.c: New file.
8205 * gdb.base/func-ptrs.exp: New file.
8206
fc126975
SM
82072014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8208
8209 PR breakpoints/17012
8210 * gdb.base/dprintf-detach.c: New file.
8211 * gdb.base/dprintf-detach.exp: New file.
8212
0a46d518
SM
82132014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8214
8215 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8216 * lib/gdb.exp (target_is_gdbserver): New procedure.
8217
a0be3e44
DE
82182014-12-08 Doug Evans <dje@google.com>
8219
8220 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8221
df1b803a
YQ
82222014-12-05 Yao Qi <yao@codesourcery.com>
8223
8224 * gdb.guile/scm-error.exp: Remove the third argument to
8225 gdb_remote_download.
8226 * gdb.guile/scm-frame-args.exp: Likewise.
8227 * gdb.guile/scm-section-script.exp: Likewise.
8228
ddb9f679
YQ
82292014-12-05 Yao Qi <yao@codesourcery.com>
8230
8231 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8232
86e4ed39
DE
82332014-12-04 Doug Evans <dje@google.com>
8234
8235 * gdb.python/py-objfile.exp: Add tests for
8236 objfile.add_separate_debug_file.
8237
7c50a931
DE
82382014-12-04 Doug Evans <dje@google.com>
8239
8240 * lib/gdb.exp (get_build_id): New function.
8241 (build_id_debug_filename_get): Rewrite to use it.
8242 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8243
621661e3
MR
82442014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8245
8246 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8247 `method(long)', not just 0x0.
8248 * gdb.cp/nsalias.exp: Align code labels to 4.
8249 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8250 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8251 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8252 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8253 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8254 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8255
29f0c3b7
DE
82562014-12-02 Doug Evans <dje@google.com>
8257
e1e061e7 8258 PR symtab/17602
29f0c3b7 8259 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 8260 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
8261 * gdb.cp/anon-ns.exp: Update.
8262
162078c8
NB
82632014-12-02 Nick Bull <nicholaspbull@gmail.com>
8264
8265 * gdb.python/py-events.py (inferior_call_handler): New.
8266 (register_changed_handler, memory_changed_handler): New.
8267 (test_events.invoke): Register new handlers.
8268 * gdb.python/py-events.exp: Add tests for inferior call,
8269 memory_changed and register_changed events.
8270
fdb09caf
AA
82712014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8272
8273 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8274 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8275 if the linker doesn't understand this.
8276
55cfb2c4
SM
82772014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8278
8279 * gdb.python/python.exp: Change expected reply to help().
8280
9e8cd6df
YQ
82812014-12-01 Yao Qi <yao@codesourcery.com>
8282
8283 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8284 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8285 * configure: Re-generated.
8286
6c659fc2
SC
82872014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8288
8289 * gdb.cp/chained-calls.cc: New file.
8290 * gdb.cp/chained-calls.exp: New file.
8291 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8292
d7fc3181
SM
82932014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8294
8295 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8296 * gdb.dwarf2/symtab-producer.exp: Same.
8297 * gdb.gdb/python-interrupts.exp: Same.
8298 * gdb.gdb/python-selftest.exp: Same.
8299 * gdb.python/py-linetable.exp: Same.
8300 * gdb.python/py-type.exp: Same.
8301 * gdb.python/py-value-cc.exp: Same.
8302 * gdb.python/py-value.exp: Same.
8303
10e79639
YQ
83042014-11-28 Yao Qi <yao@codesourcery.com>
8305
8306 * gdb.base/break-probes.exp: Match library name prefixed with
8307 sysroot.
8308
f28a0564
SM
83092014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8310
8311 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8312 test expected output. Add parentheses for the call to print.
8313 Remove L suffix from integers.
8314
3fe1ce1d
DE
83152014-11-26 Doug Evans <dje@google.com>
8316
8317 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8318
84429e27
YQ
83192014-11-22 Yao Qi <yao@codesourcery.com>
8320
8321 * gdb.trace/entry-values.c: Remove asms.
8322 (foo): Add foo_label.
8323 (bar): Add bar_label.
8324 * gdb.trace/entry-values.exp: Remove code computing foo's
8325 length and bar's length.
8326 (Dwarf::assemble): Invoke function_range for bar and use
8327 MACRO_AT_func for foo.
8328
26741859
YQ
83292014-11-22 Yao Qi <yao@codesourcery.com>
8330
8331 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8332 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8333 Use .Lgcc43_procstart instead of gcc43.
8334
45e44d27
JB
83352014-11-21 Joel Brobecker <brobecker@adacore.com>
8336
8337 * gdb.ada/n_arr_bound: New testcase.
8338
458c8db8
SDJ
83392014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8340
8341 PR breakpoints/10737
8342 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8343 test_catch_syscall_multi_arch.
8344 (test_catch_syscall_multi_arch): New function.
8345
43f3e411
DE
83462014-11-20 Doug Evans <xdje42@gmail.com>
8347
8348 * gdb.base/maint.exp: Update expected output.
8349
0d7b2549
AA
83502014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8351
8352 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8353 4-byte instruction on S390.
8354
8908fca5
JB
83552014-11-19 Joel Brobecker <brobecker@adacore.com>
8356
8357 * gdb.ada/arr_arr: New testcase.
8358
4a46959e
JB
83592014-11-19 Joel Brobecker <brobecker@adacore.com>
8360
8361 * gdb.ada/pkd_arr_elem: New Testcase.
8362
470e2f4e
LM
83632014-11-18 Luis Machado <lgustavo@codesourcery.com>
8364
8365 * gdb.reverse/break-precsave: Expect completion message for
8366 core file reads.
8367 * gdb.reverse/consecutive-precsave.exp: Likewise.
8368 * gdb.reverse/finish-precsave.exp: Likewise.
8369 * gdb.reverse/i386-precsave.exp: Likewise.
8370 * gdb.reverse/machinestate-precsave.exp: Likewise.
8371 * gdb.reverse/sigall-precsave.exp: Likewise.
8372 * gdb.reverse/solib-precsave.exp: Likewise.
8373 * gdb.reverse/step-precsave.exp: Likewise.
8374 * gdb.reverse/until-precsave.exp: Likewise.
8375 * gdb.reverse/watch-precsave.exp: Likewise.
8376
a267f3ad
AA
83772014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8378
8379 * gdb.base/bp-permanent.c: Include unistd.h.
8380 * gdb.python/py-framefilter-mi.c (main): Add return type.
8381 * gdb.python/py-framefilter.c (main): Likewise.
8382 * gdb.trace/actions-changed.c (main): Likewise.
8383
12084a9a
AA
83842014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8385
8386 * gdb.mi/until.c: Add eye-catchers.
8387 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8388 line numbers.
8389
dc7e1a77
AA
83902014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8391
8392 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8393 function header variants in break1.c.
8394 * gdb.base/ena-dis-br.exp: Likewise.
8395 * gdb.base/hbreak2.exp: Likewise.
8396 * gdb.reverse/until-precsave.exp: Drop references to removed
8397 non-prototype function header variants in ur1.c.
8398 * gdb.reverse/until-reverse.exp: Likewise.
8399
41c77605
PM
84002014-11-17 Petr Machata <pmachata@redhat.com>
8401
8402 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8403 ${_cu_offset_size} bytes abbrev offset.
8404
34248c3a
DE
84052014-11-15 Doug Evans <xdje42@gmail.com>
8406
8407 PR symtab/17559
8408 * gdb.base/line-symtabs.exp: New file.
8409 * gdb.base/line-symtabs.c: New file.
8410 * gdb.base/line-symtabs.h: New file.
8411
646da059
YQ
84122014-11-14 Yao Qi <yao@codesourcery.com>
8413
8414 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8415 (func): Add label func_label.
8416 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8417 Replace low_pc and high_pc with MACRO_AT_range.
8418 Replace name, low_pc and high_pc with MACRO_AT_func.
8419
9301ebe6
YQ
84202014-11-14 Yao Qi <yao@codesourcery.com>
8421
8422 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8423 Replace name, low_pc and high_pc with MACRO_AT_func.
8424
f166b542
YQ
84252014-11-14 Yao Qi <yao@codesourcery.com>
8426
8427 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8428 produce debug information.
8429 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8430
0f6e71e3
YQ
84312014-11-14 Yao Qi <yao@codesourcery.com>
8432
8433 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8434 object and get function length.
8435 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8436 with MACRO_AT_func.
8437 (top-level): Replace gdb_compile and clean_restart with
8438 prepare_for_testing.
8439 * gdb.dwarf2/main.c (main): Add label main_label.
8440
876c4df9
YQ
84412014-11-14 Yao Qi <yao@codesourcery.com>
8442
8443 * lib/dwarf.exp (function_range): New procedure.
8444 (Dwarf::_handle_macro_at_func): New procedure.
8445 (Dwarf::_handle_macro_at_range): New procedure.
8446 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8447
02ad9cf1
YQ
84482014-11-14 Yao Qi <yao@codesourcery.com>
8449
8450 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8451 (_handle_attribute): New procedure.
8452
a59add0c
AA
84532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8454
8455 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8456 * gdb.base/call-sc.c (zed): Likewise.
8457 * gdb.base/checkpoint.c (main): Likewise.
8458 * gdb.base/dump.c (main): Likewise.
8459 * gdb.base/gcore.c (main): Likewise.
8460 * gdb.base/huge.c (main): Likewise.
8461 * gdb.base/multi-forks.c (main): Likewise.
8462 * gdb.base/pr10179-a.c (main): Likewise.
8463 * gdb.base/savedregs.c (main): Likewise.
8464 * gdb.base/sigaltstack.c (main): Likewise.
8465 * gdb.base/siginfo.c (main): Likewise.
8466 * gdb.base/structs.c (zed): Likewise.
8467 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8468 * gdb.mi/mi-syn-frame.c (main): Likewise.
8469 * gdb.mi/until.c (foo, main): Likewise.
8470 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8471 * gdb.base/solib-weak.c (foo): Declare.
8472 * gdb.base/attach-twice.c: Include stdio.h.
8473 * gdb.base/weaklib1.c: Likewise.
8474 * gdb.base/weaklib2.c: Likewise.
8475 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8476 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8477 unistd.h.
8478 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8479 * gdb.mi/mi-exit-code.c: Likewise.
8480 * gdb.base/break-interp-lib.c: Include string.h.
8481 * gdb.base/coremaker.c: Likewise.
8482 * gdb.base/testenv.c: Likewise.
8483 * gdb.python/py-finish-breakpoint.c: Likewise.
8484 * gdb.base/inferior-died.c: Include sys/wait.h.
8485 * gdb.base/fileio.c: Include time.h.
8486 * gdb.base/async-shell.c: Include unistd.h.
8487 * gdb.base/dprintf-non-stop.c: Likewise.
8488 * gdb.base/info-os.c: Likewise.
8489 * gdb.mi/mi-console.c: Likewise.
8490 * gdb.mi/watch-nonstop.c: Likewise.
8491 * gdb.python/py-events.c: Likewise.
8492 * gdb.base/async.c (baz): Move up before its invocation.
8493 * gdb.base/code_elim2.c (my_global_func): Likewise.
8494 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8495 * gdb.base/advance.c (func2): Likewise.
8496
3b5d5997
AA
84972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8498
8499 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8500 variant.
8501 * gdb.base/annota3.c: Likewise.
8502 * gdb.base/async.c: Likewise.
8503 * gdb.base/average.c: Likewise.
8504 * gdb.base/call-ar-st.c: Likewise.
8505 * gdb.base/call-rt-st.c: Likewise.
8506 * gdb.base/call-sc.c: Likewise.
8507 * gdb.base/call-strs.c: Likewise.
8508 * gdb.base/ending-run.c: Likewise.
8509 * gdb.base/execd-prog.c: Likewise.
8510 * gdb.base/exprs.c: Likewise.
8511 * gdb.base/foll-exec.c: Likewise.
8512 * gdb.base/foll-fork.c: Likewise.
8513 * gdb.base/foll-vfork.c: Likewise.
8514 * gdb.base/funcargs.c: Likewise.
8515 * gdb.base/gcore.c: Likewise.
8516 * gdb.base/jump.c: Likewise.
8517 * gdb.base/langs0.c: Likewise.
8518 * gdb.base/langs1.c: Likewise.
8519 * gdb.base/langs2.c: Likewise.
8520 * gdb.base/mips_pro.c: Likewise.
8521 * gdb.base/nodebug.c: Likewise.
8522 * gdb.base/opaque0.c: Likewise.
8523 * gdb.base/opaque1.c: Likewise.
8524 * gdb.base/recurse.c: Likewise.
8525 * gdb.base/run.c: Likewise.
8526 * gdb.base/scope0.c: Likewise.
8527 * gdb.base/scope1.c: Likewise.
8528 * gdb.base/setshow.c: Likewise.
8529 * gdb.base/setvar.c: Likewise.
8530 * gdb.base/shmain.c: Likewise.
8531 * gdb.base/shr1.c: Likewise.
8532 * gdb.base/shr2.c: Likewise.
8533 * gdb.base/sigall.c: Likewise.
8534 * gdb.base/signals.c: Likewise.
8535 * gdb.base/so-indr-cl.c: Likewise.
8536 * gdb.base/solib2.c: Likewise.
8537 * gdb.base/structs.c: Likewise.
8538 * gdb.base/sum.c: Likewise.
8539 * gdb.base/vforked-prog.c: Likewise.
8540 * gdb.base/watchpoint.c: Likewise.
8541 * gdb.reverse/shr2.c: Likewise.
8542 * gdb.reverse/until-reverse.c: Likewise.
8543 * gdb.reverse/ur1.c: Likewise.
8544 * gdb.reverse/watch-reverse.c: Likewise.
8545
066a77c5
AA
85462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8547
8548 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8549 variant.
8550 * gdb.base/sepdebug.exp: Drop references to removed code.
8551
4f204ea5
AA
85522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8553
8554 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8555 variant. Preserve original line numbering.
8556 * gdb.base/list1.c: Likewise.
8557
3b377a3a
AA
85582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8559
8560 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8561 variant.
8562 * gdb.base/break1.c: Likewise.
8563 * gdb.base/break.exp: Drop references to removed code.
8564
e444df73
AA
85652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8566
8567 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8568 variant.
8569
8008f2a7
AA
85702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8571
8572 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8573
a5a06887
AA
85742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8575
8576 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8577 logic into perform_all_tests() and invoke it with and without
8578 function header prototypes.
8579 (do_function_calls): Remove conditional XFAIL for PR 5318.
8580 (rerun_and_prepare): Remove duplicate code.
8581 (perform_all_tests): New. Main logic moved here.
8582
44dba9b9
AA
85832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8584
8585 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8586 code guarded by #ifdef NO_PROTOTYPES.
8587 (t_double_many_args): Likewise.
8588 (DEF_FUNC_MANY_ARGS_1): Likewise.
8589 (DEF_FUNC_VALUES_1): Likewise.
8590 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8591 guarded by #ifdef PROTOTYPES.
8592
d1fbcd56
AA
85932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8594
8595 * gdb.mi/mi-console.c: Add eye-catcher.
8596 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8597 instead of literal line number.
8598
b0e59b8f
AA
85992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8600
8601 * gdb.base/shr2.c: Add eye-catcher.
8602 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8603 line number.
8604
78f98cca
AA
86052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8606
8607 * gdb.base/jump.c: Add eye-catchers.
8608 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8609 numbers.
8610
58fa2af0
AA
86112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8612
8613 * gdb.base/execd-prog.c: Add eye-catchers.
8614 * gdb.base/foll-exec.c: Likewise.
8615 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8616 line numbers.
8617
04e5059b
AA
86182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8619
8620 * gdb.base/ending-run.c: Add eye-catchers.
8621 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8622 literal line numbers.
8623
dbfdb174
AA
86242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8625
8626 * gdb.base/call-rt-st.c: Add eye-catchers.
8627 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8628 literal line numbers.
8629
888a2ade
AA
86302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8631
8632 * gdb.base/call-ar-st.c: Add eye-catchers.
8633 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8634 literal line numbers.
8635
6acc2dde
AA
86362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8637
8638 * gdb.base/average.c: Add eye-catchers.
8639 * gdb.base/sum.c: Likewise.
8640 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8641 regexps dynamically.
8642
9ecfcd1d
AA
86432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8644
8645 * gdb.base/solib1.c: Add eye-catchers.
8646 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8647 literal line numbers.
8648
78708b7c
PA
86492014-11-12 Pedro Alves <palves@redhat.com>
8650
8651 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8652 leader has exited.
8653
af48d08f
PA
86542014-11-12 Pedro Alves <palves@redhat.com>
8655
8656 * gdb.arch/i386-bp_permanent.c: New file.
8657 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8658 (srcfile): Set to i386-bp_permanent.c.
8659 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8660 that stepi does not execute the 'leave' instruction, instead of
8661 testing it does execute.
8662 * gdb.base/bp-permanent.c: New file.
8663 * gdb.base/bp-permanent.exp: New file.
8664
af3768e9
DE
86652014-11-10 Doug Evans <xdje42@gmail.com>
8666
8667 PR symtab/17564
8668 * gdb.base/symtab-search-order.exp: New file.
8669 * gdb.base/symtab-search-order.c: New file.
8670 * gdb.base/symtab-search-order-1.c: New file.
8671 * gdb.base/symtab-search-order-shlib-1.c: New file.
8672
9de00a4a
PA
86732014-11-07 Pedro Alves <palves@redhat.com>
8674
8675 PR gdb/17511
8676 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8677 i?86-*-linux*.
8678
e0f52461
SC
86792014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8680
8681 PR c++/17494
8682 * gdb.cp/pr17494.cc: New file.
8683 * gdb.cp/pr17494.exp: New file.
8684
6ce8c980
YQ
86852014-11-02 Yao Qi <yao@codesourcery.com>
8686
8687 * gdb.python/python.exp: Get working directory and match the
8688 output of "set extended-prompt \\w " with it.
8689
02be9a71
DE
86902014-10-30 Doug Evans <dje@google.com>
8691
8692 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8693 in objfiles.
8694 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8695 in progspaces.
8696
3bdff46b
LM
86972014-10-30 Janis Johnson <janisjo@codesourcery.com>
8698
8699 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8700 * gdb.base/realname-expand.exp: Likewise.
8701 * gdb.linespec/macro-relative.exp: Likewise.
8702
ab917dfb
PA
87032014-10-29 Pedro Alves <palves@redhat.com>
8704
8705 PR gdb/17408
8706 * gdb.threads/schedlock.c (some_function): New function.
8707 (call_function): New global.
8708 (MAYBE_CALL_SOME_FUNCTION): New macro.
8709 (thread_function): Call it.
8710 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8711 and use it instead of a global counter. Adjust all callers.
8712 (get_current_thread): Use "find current thread" for test message
8713 here rather than having all callers pass down the same string.
8714 (goto_loop): New procedure, factored out from ...
8715 (my_continue): ... this.
8716 (step_ten_loops): Change parameter from test message to command to
8717 use. Adjust.
8718 (list_count): Delete global.
8719 (check_result): New procedure, factored out from duplicate top
8720 level code.
8721 (continue tests): Wrap in with_test_prefix.
8722 (test_step): New procedure, factored out from duplicate top level
8723 code.
8724 (top level): Test "step" in combination with all scheduler-locking
8725 modes. Test "next" in combination with all scheduler-locking
8726 modes, and in combination with stepping over a function call or
8727 not.
8728 * gdb.threads/next-bp-other-thread.c: New file.
8729 * gdb.threads/next-bp-other-thread.exp: New file.
8730
d3d4baed
PA
87312014-10-29 Pedro Alves <palves@redhat.com>
8732
8733 PR python/17372
8734 * gdb.python/python.exp: Test a multi-line command that spawns
8735 interactive Python.
8736 * gdb.base/multi-line-starts-subshell.exp: New file.
8737
563e8d85
YQ
87382014-10-29 Yao Qi <yao@codesourcery.com>
8739
8740 * gdb.base/fileio.exp: Make directories on host.
8741
0ea4d52e
YQ
87422014-10-29 Yao Qi <yao@codesourcery.com>
8743
8744 * gdb.base/fileio.c (test_write): Close the file.
8745
7f5ef605
PA
87462014-10-28 Pedro Alves <palves@redhat.com>
8747
8748 PR gdb/12623
8749 * gdb.base/sigstep.c (no_handler): New global.
8750 (main): If 'no_handler is true, set the signal handlers to
8751 SIG_IGN.
8752 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8753 with_sw_watch and no_handler parameters. Handle them.
8754 (top level) <stepping over handler when stopped at a breakpoint
8755 test>: Add a test axis for testing with a software watchpoint, and
8756 another for testing with the signal handler set to SIG_IGN.
8757 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8758 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8759
abbdbd03
PA
87602014-10-28 Pedro Alves <palves@redhat.com>
8761
8762 PR gdb/17511
8763 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8764 * gdb.base/sigstep.exp (other_handler_location): New global.
8765 (advance): Support stepping into the signal handler, and running
8766 commands while in the handler.
8767 (in_handler_map): New global.
8768 (top level): In the advance test, add combinations for getting
8769 into the handler with stepping commands, and for running commands
8770 in the handler. Add comment descripting the advancei tests.
8771
1df4399f
PA
87722014-10-28 Pedro Alves <palves@redhat.com>
8773
8774 * gdb.base/sigstep.exp: Use build_executable instead of
8775 prepare_for_testing.
8776 (top level): Move code that starts GDB, runs to main and creates a
8777 display to ...
8778 (restart): ... this new procedure.
8779 (top level): Move backtrace from signal handler test to ...
8780 (validate_backtrace): ... this new procedure.
8781 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8782 with_test_prefix. Always restart GDB.
8783 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8784 with_test_prefix. Always restart GDB. No need to delete
8785 breakpoints after the test.
8786 (test_skip_handler): Remove prefix parameter.
8787 (skip_over_handler, breakpoint_to_handler)
8788 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8789 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8790 restart GDB. No need to delete breakpoints after the test.
8791 (top level): Use foreach to call the test procedures with
8792 different commands.
8793
a5b6e449
PA
87942014-10-28 Pedro Alves <palves@redhat.com>
8795
8796 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8797 instead of GNATS numbers.
8798 * gdb.base/sigbpt.exp: Likewise.
8799 * gdb.base/siginfo.exp: Likewise.
8800 * gdb.base/sigstep.exp: Likewise.
8801
e5f8a7cc
PA
88022014-10-27 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.base/sigstep.c (dummy): New global.
8805 (main): Issue a couple writes to the new global.
8806 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8807 procedures.
8808 (skip_over_handler): Use test_skip_handler.
8809 (top level): Call skip_over_handler for stepi and nexti too.
8810 (breakpoint_over_handler): Use test_skip_handler.
8811 (top level): Call breakpoint_over_handler for stepi and nexti too.
8812
763905a3
YQ
88132014-10-27 Yao Qi <yao@codesourcery.com>
8814
8815 * gdb.trace/tfile.c (adjust_function_address)
8816 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8817 function descriptor.
8818
6f259a23
DB
88192014-10-24 Don Breazeal <donb@codesourcery.com>
8820
8821 * gdb.base/foll-fork.exp (test_follow_fork,
8822 catch_fork_child_follow): Check for updated fork messages emitted
8823 from infrun.c.
8824 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8825 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8826 vfork_and_exec_child_follow_through_step): Check for updated vfork
8827 messages emitted from infrun.c.
8828
09dd9a69
PA
88292014-10-24 Pedro Alves <palves@redhat.com>
8830
8831 * gdb.base/corefile.exp: Remove references to ultrix.
8832 * gdb.base/interrupt.exp: Likewise.
8833 * gdb.base/whatis.exp: Likewise.
8834 * gdb.gdb/selftest.exp: Likewise.
8835 * gdb.threads/manythreads.exp: Likewise.
8836 * gdb.threads/print-threads.exp: Likewise.
8837 * gdb.threads/pthreads.exp:: Likewise.
8838 * gdb.threads/schedlock.exp: Likewise.
8839
3433cfa5
SC
88402014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8841
8842 * gdb.cp/non-trivial-retval.cc: Add a test case.
8843 * gdb.cp/non-trivial-retval.exp: Add a test.
8844
092f880b
YQ
88452014-10-20 Yao Qi <yao@codesourcery.com>
8846
8847 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8848 * gdb.python/py-objfile-script-gdb.py: New file.
8849 * gdb.python/py-objfile-script.exp: Update reference to
8850 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8851 of remote_download. Remove the dest file.
8852
acbdb7f3
YQ
88532014-10-20 Yao Qi <yao@codesourcery.com>
8854
8855 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8856 * gdb.base/step-line.exp: Likewise.
8857 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8858 * gdb.dwarf2/dw2-basic.exp: Likewise.
8859 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8860 * gdb.dwarf2/dw2-filename.exp: Likewise.
8861 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8862 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8863 * gdb.dwarf2/dw2-producer.exp: Likewise.
8864 * gdb.dwarf2/mac-fileno.exp: Likewise.
8865 * gdb.python/py-frame-args.exp: Likewise.
8866 * gdb.python/py-framefilter.exp: Likewise.
8867 * gdb.python/py-mi.exp: Likewise.
8868 * gdb.python/py-objfile-script.exp: Likewise
8869 * gdb.python/py-pp-integral.exp: Likewise.
8870 * gdb.python/py-pp-re-notag.exp: Likewise.
8871 * gdb.python/py-prettyprint.exp: Likewise.
8872 * gdb.python/py-section-script.exp: Likewise.
8873 * gdb.python/py-typeprint.exp: Likewise.
8874 * gdb.python/py-xmethods.exp: Likewise.
8875 * gdb.stabs/weird.exp: Likewise.
8876 * gdb.xml/tdesc-regs.exp: Likewise.
8877
bd286a29
KCY
88782014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8879
8880 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8881 (out_cu): Use addr_len for the size of addresses.
8882 (out_line): Likewise. Size DW_LNE_set_address instruction
8883 according to addr_len.
8884 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8885 (FUNC): Add START_INSNS to definition.
8886
673dc4a0
YQ
88872014-10-18 Yao Qi <yao@codesourcery.com>
8888
8889 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8890 gdb_has_argv0 return true.
8891 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8892 check [target_info exists noargs], check [gdb_has_argv0]
8893 instead.
8894 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8895 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8896 procedures.
8897
4ffbba72
DE
88982014-10-17 Doug Evans <dje@google.com>
8899
8900 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8901 event.
8902 * gdb.python/py-events.py: Add clear_objfiles event.
8903
d096d8c1
DE
89042014-10-17 Doug Evans <dje@google.com>
8905
8906 * gdb.python/py-objfile.exp: Test progspace attribute.
8907
a80db015
LM
89082014-10-17 Luis Machado <lgustavo@codesourcery.com>
8909
8910 * gdb.guile/scm-breakpoint.exp: Do not assume any
8911 directory separators when matching source file paths.
8912 * gdb.python/py-breakpoint.exp: Likewise.
8913 * gdb.reverse/break-precsave.exp: Likewise.
8914 * gdb.reverse/break-reverse.exp: Likewise.
8915 * gdb.reverse/consecutive-precsave.exp: Likewise.
8916 * gdb.reverse/finish-precsave.exp: Likewise.
8917 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8918 * gdb.reverse/finish-reverse.exp: Likewise.
8919 * gdb.reverse/i386-precsave.exp: Likewise.
8920 * gdb.reverse/i387-env-reverse.exp: Likewise.
8921 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8922 * gdb.reverse/machinestate-precsave.exp: Likewise.
8923 * gdb.reverse/machinestate.exp: Likewise.
8924 * gdb.reverse/sigall-precsave.exp: Likewise.
8925 * gdb.reverse/solib-precsave.exp: Likewise.
8926 * gdb.reverse/step-precsave.exp: Likewise.
8927 * gdb.reverse/until-precsave.exp: Likewise.
8928 * gdb.reverse/watch-precsave.exp: Likewise.
8929 * gdb.reverse/watch-reverse.exp: Likewise.
8930
b22089ab
YQ
89312014-10-17 Yao Qi <yao@codesourcery.com>
8932
8933 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8934 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8935
6c4486e6
PA
89362014-10-17 Pedro Alves <palves@redhat.com>
8937
8938 PR gdb/17471
8939 * gdb.base/bg-execution-repeat.c: New file.
8940 * gdb.base/bg-execution-repeat.exp: New file.
8941
0ff33695
PA
89422014-10-17 Pedro Alves <palves@redhat.com>
8943
8944 PR gdb/17300
8945 * gdb.base/continue-all-already-running.c: New file.
8946 * gdb.base/continue-all-already-running.exp: New file.
8947
6fdebc3d
PA
89482014-10-17 Pedro Alves <palves@redhat.com>
8949
8950 PR gdb/17472
8951 * gdb.base/annota-input-while-running.c: New file.
8952 * gdb.base/annota-input-while-running.exp: New file.
8953
32a8097b
PA
89542014-10-17 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.base/callfuncs.exp: emove references to osf.
8957 * gdb.base/sigall.exp: Likewise.
8958 * gdb.gdb/selftest.exp: Likewise.
8959 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8960 * gdb.mi/non-stop.c: Likewise.
8961 * gdb.mi/pthreads.c: Likewise.
8962 * gdb.reverse/sigall-precsave.exp: Likewise.
8963 * gdb.reverse/sigall-reverse.exp: Likewise.
8964 * gdb.threads/pthreads.c: Likewise.
8965 * gdb.threads/pthreads.exp: Likewise.
8966
7a3517ff
YQ
89672014-10-17 Yao Qi <yao@codesourcery.com>
8968
8969 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8970 check 'target_info exists noargs'.
8971 (test_command_prompt_position): Likewise.
8972 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8973 Remove "set args".
8974 (progvar_simple_while_test): Likewise.
8975 (progvar_complex_if_while_test): Likewise.
8976 (if_while_breakpoint_command_test): Likewise.
8977 (infrun_breakpoint_command_test): Likewise.
8978 (breakpoint_command_test): Likewise.
8979 (watchpoint_command_test): Likewise.
8980 (bp_deleted_in_command_test): Likewise.
8981 (temporary_breakpoint_commands): Likewise.
8982
bb99c472
YQ
89832014-10-16 Yao Qi <yao@codesourcery.com>
8984
8985 * gdb.base/remotetimeout.exp: Remove noargs checking.
8986
7c16b83e
PA
89872014-10-15 Pedro Alves <palves@redhat.com>
8988
8989 PR breakpoints/9649
8990 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8991 * gdb.base/breakpoint-in-ro-region.exp
8992 (probe_target_hardware_step): New procedure.
8993 (top level): Probe hardware stepping and hardware breakpoint
8994 support. Test stepping through a read-only region, with both
8995 "breakpoint auto-hw" on and off and both "always-inserted" on and
8996 off.
8997
35a49624
IB
89982014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8999
9000 * gdb.dlang/demangle.exp: Update for demangling changes.
9001
2d1c107c
SC
90022014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9003
9004 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9005 * gdb.cp/non-trivial-retval.exp: Add new tests.
9006
778811d5
SC
90072014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9008
9009 PR c++/13403
9010 PR c++/15154
9011 * gdb.cp/non-trivial-retval.cc: New file.
9012 * gdb.cp/non-trivial-retval.exp: New file.
9013
10c5f0a8
YQ
90142014-10-15 Yao Qi <yao@codesourcery.com>
9015
9016 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9017 remote host.
9018
65d7b369
YQ
90192014-10-15 Yao Qi <yao@codesourcery.com>
9020
9021 * gdb.python/py-symbol.exp: Match file base name if host is
9022 remote, otherwise match file name with dir name.
9023 * gdb.python/py-symtab.exp: Likewise.
9024 * gdb.python/python.exp: Likewise.
9025
46dc1394
YQ
90262014-10-15 Yao Qi <yao@codesourcery.com>
9027
9028 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9029 pattern.
9030 * gdb.python/py-symtab.exp: Likewise.
9031 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9032 locationn.
9033
c40cc657
JB
90342014-10-14 Joel Brobecker <brobecker@adacore.com>
9035
9036 * gdb.ada/addr_arith: New testcase.
9037
2abf49e1
MR
90382014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9039
9040 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9041 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9042 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9043 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9044
f7088df3
SDJ
90452014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9046
9047 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9048 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9049 * gdb.arch/stap-eval-lang-ada.exp: New file.
9050
4dc06805
YQ
90512014-10-14 Yao Qi <yao@codesourcery.com>
9052
9053 * gdb.mi/mi-var-child.c (nothing1): New function.
9054 (nothing2): New function.
9055 (do_children_tests): Set function pointers by nothing1 and
9056 nothing2.
9057 * gdb.mi/mi-var-child.exp: Step over new added statements.
9058 Update test to match the new output.
9059 * gdb.mi/var-cmd.c (nothing1): New function.
9060 (nothing2): New function.
9061 (do_children_tests): Set function pointers by nothing1 and
9062 nothing2.
9063 * gdb.mi/mi-var-display.exp: Update test to match output.
9064 Step to the line specified by $line_dct_nothing.
9065 Increase the number of lines to step.
9066
46a93de2
YQ
90672014-10-14 Yao Qi <yao@codesourcery.com>
9068
9069 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9070 tests.
9071 * gdb.mi/mi2-var-child.exp: Likewise.
9072
14ea52ee
DE
90732014-10-13 Doug Evans <dje@google.com>
9074
9075 * gdb.python/py-objfile.exp: Change name of file name test.
9076
e5c6e92b
DE
90772014-10-13 Doug Evans <dje@google.com>
9078
9079 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9080 from the start of the CU.
9081
c780cc2f
JK
90822014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9083 Yao Qi <yao@codesourcery.com>
9084
9085 Fix "save breakpoints" for "catch" command.
9086 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9087 Remove -nonewline. Match also the added "main" line.
9088
99894e11
JK
90892014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9090
9091 Fix "save breakpoints" for "disable $bpnum" command.
9092 * gdb.base/save-bp.c (main): Add label.
9093 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9094
6e1ac5a3
JK
90952014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9096
9097 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9098
754dd2b0
YQ
90992014-10-11 Yao Qi <yao@codesourcery.com>
9100
9101 * gdb.server/server-kill.exp: Execute command
9102 "set remote trace-status-packet on" before "tstatus".
9103
f90183d7
YQ
91042014-10-11 Yao Qi <yao@codesourcery.com>
9105
9106 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9107 (main): Call getppid.
9108 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9109 and continue to it. Read variable "server_pid".
9110
bf40a607
YQ
91112014-10-11 Yao Qi <yao@codesourcery.com>
9112
9113 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9114
052ca370
YQ
91152014-10-11 Yao Qi <yao@codesourcery.com>
9116
9117 * gdb.threads/thread-find.exp: Don't execute command
9118 "info threads".
9119 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9120 * gdb.threads/linux-dp.exp: Don't check the condition
9121 $threads_created equals to zero.
9122
3831839c
PA
91232014-10-10 Pedro Alves <palves@redhat.com>
9124
9125 * gdb.base/bigcore.exp: Remove references to IRIX.
9126 * gdb.base/funcargs.exp: Likewise.
9127 * gdb.base/interrupt.exp: Likewise.
9128 * gdb.base/mips_pro.exp: Likewise.
9129 * gdb.base/nodebug.exp: Likewise.
9130 * gdb.base/setvar.exp: Likewise.
9131 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9132
8b9a549d
PA
91332014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9134 Pedro Alves <palves@redhat.com>
9135
9136 PR symtab/14466
9137 * gdb.base/vdso-warning.c: New file.
9138 * gdb.base/vdso-warning.exp: New file.
9139
d48ba5e8
DE
91402014-10-02 Doug Evans <dje@google.com>
9141
9142 * gdb.base/structs.c (main): Don't run forever.
9143
2278c276
PA
91442014-10-02 Pedro Alves <palves@redhat.com>
9145
9146 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9147 (top level) <stop threads 1, stop threads 2>: Use it.
9148
b57bacec
PA
91492014-10-02 Pedro Alves <palves@redhat.com>
9150
9151 * gdb.threads/break-while-running.exp (test): Add new
9152 'update_thread_list' argument. Skip "info threads" if false.
9153 (top level): Add new 'update_thread_list' axis.
9154
13fd3ff3
PA
91552014-10-02 Pedro Alves <palves@redhat.com>
9156
9157 PR breakpoints/17431
9158 * gdb.base/execl-update-breakpoints.c: New file.
9159 * gdb.base/execl-update-breakpoints.exp: New file.
9160
0fec99e8
PA
91612014-10-01 Pedro Alves <palves@redhat.com>
9162
9163 * gdb.base/breakpoint-in-ro-region.c: New file.
9164 * gdb.base/breakpoint-in-ro-region.exp: New file.
9165
2ddf4301
SM
91662014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9167
9168 * gdb.mi/mi-exit-code.exp: New file.
9169 * gdb.mi/mi-exit-code.c: New file.
9170
6a5f3f43
YQ
91712014-09-30 Yao Qi <yao@codesourcery.com>
9172
9173 * lib/prelink-support.exp (build_executable_own_libs): Error if
9174 the target isn't native.
9175
345bcc73
YQ
91762014-09-30 Yao Qi <yao@codesourcery.com>
9177
9178 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9179 false.
9180
a25a5a45
PA
91812014-09-22 Pedro Alves <palves@redhat.com>
9182
9183 * gdb.threads/break-while-running.exp: New file.
9184 * gdb.threads/break-while-running.c: New file.
9185
00ba3162
YQ
91862014-09-19 Yao Qi <yao@codesourcery.com>
9187
9188 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9189 Invoke test. Restart GDB with --readnow and invoke test again.
9190
c3b7b696
YQ
91912014-09-19 Yao Qi <yao@codesourcery.com>
9192
9193 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9194 proc set_breakpoint_on_gcd_function. Invoke
9195 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9196 invoke set_breakpoint_on_gcd_function again.
9197
2b4fd423
DE
91982014-09-18 Doug Evans <dje@google.com>
9199
9200 * gdb.dwarf2/symtab-producer.exp: New file.
9201
a5947601
SDJ
92022014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9203
9204 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9205 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9206 * gdb.base/global-var-nested-by-dso.c: Likewise.
9207 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9208
91c19059
SDJ
92092014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9210 Pedro Alves <palves@redhat.com>
9211
9212 * gdb.base/watch-bitfields.exp: Pass string other than test file
9213 name to prepare_for_testing.
9214 (watch): New procedure.
9215 (expect_watchpoint): Use with_test_prefix.
9216 (top level): Factor out tests to ...
9217 (test_watch_location, test_regular_watch): ... these new
9218 procedures, and use with_test_prefix and gdb_continue_to_end.
9219
bb9d5f81
PP
92202014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9221
9222 PR breakpoints/12526
9223 * gdb.base/watch-bitfields.exp: New file.
9224 * gdb.base/watch-bitfields.c: New file.
9225
635856f5
PA
92262014-09-16 Pedro Alves <palves@redhat.com>
9227
9228 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9229 software and hardware addresses, not software address against
9230 itself.
9231
7280ceea
PA
92322014-09-16 Pedro Alves <palves@redhat.com>
9233
9234 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9235 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9236
428b16bd
PA
92372014-09-16 Pedro Alves <palves@redhat.com>
9238
9239 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9240 files.
9241 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9242 "*-*-vxworks*" throughout.
9243 * gdb.base/break.exp: Likewise.
9244 * gdb.base/default.exp: Likewise.
9245 * gdb.base/scope.exp: Likewise.
9246 * gdb.base/sepdebug.exp: Likewise.
9247 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9248 throughout.
9249 * gdb.base/run.c: Likewise.
9250 * gdb.base/sepdebug.c: Likewise.
9251 * gdb.hp/gdb.aCC/run.c: Likewise.
9252 * gdb.reverse/until-reverse.c: Likewise.
9253 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9254
666d413c
YQ
92552014-09-16 Yao Qi <yao@codesourcery.com>
9256
9257 * boards/local-remote-host-native.exp: New file.
9258
57cbd724
DE
92592014-09-14 Doug Evans <xdje42@gmail.com>
9260
9261 * gdb.threads/queue-signal.c (thread_count): New variable.
9262 (thread_count_mutex, thread_count_condvar): New variables.
9263 (incr_thread_count, wait_all_threads_running): New functions.
9264 (main): Wait for all threads to be in their thread functions.
9265
81219e53
DE
92662014-09-13 Doug Evans <xdje42@gmail.com>
9267
9268 * gdb.threads/queue-signal.c: New file.
9269 * gdb.threads/queue-signal.exp: New file.
9270
3714cea7
DE
92712014-09-13 Doug Evans <xdje42@gmail.com>
9272
9273 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9274 be consistent with what default_gdb_init uses.
9275 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9276 the plain text of the prompt. Add some logging printfs.
9277 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9278
fa43b1d7
PA
92792014-09-12 Pedro Alves <palves@redhat.com>
9280
9281 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9282 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9283 * gdb.arch/i386-size-overlap.exp: Likewise.
9284 * gdb.arch/i386-size.exp: Likewise.
9285 * gdb.arch/i386-unwind.exp: Likewise.
9286 * gdb.base/a2-run.exp: Likewise.
9287 * gdb.base/break.exp: Likewise.
9288 * gdb.base/charset.exp: Likewise.
9289 * gdb.base/chng-syms.exp: Likewise.
9290 * gdb.base/commands.exp: Likewise.
9291 * gdb.base/dbx.exp: Likewise.
9292 * gdb.base/find.exp: Likewise.
9293 * gdb.base/funcargs.exp: Likewise.
9294 * gdb.base/jit-simple.exp: Likewise.
9295 * gdb.base/reread.exp: Likewise.
9296 * gdb.base/sepdebug.exp: Likewise.
9297 * gdb.base/step-bt.exp: Likewise.
9298 * gdb.cp/mb-inline.exp: Likewise.
9299 * gdb.cp/mb-templates.exp: Likewise.
9300 * gdb.objc/basicclass.exp: Likewise.
9301 * gdb.threads/killed.exp: Likewise.
9302
9d9bf2df
EBM
93032014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9304
9305 PR tdep/17379
9306 * gdb.arch/powerpc-stackless.S: New file.
9307 * gdb.arch/powerpc-stackless.exp: New file.
9308
1cf2f1b0
JK
93092014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9310
9311 * gdb.base/attach.c: Include unistd.h.
9312 (main): Call alarm. Add label postloop.
9313 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9314 gdb_breakpoint, gdb_continue_to_breakpoint.
9315 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9316
98880d46
PA
93172014-09-11 Pedro Alves <palves@redhat.com>
9318
9319 PR gdb/17347
9320 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9321 * gdb.base/attach.exp (test_command_line_attach_run): New
9322 procedure.
9323 (top level): Call it.
9324
4c92ff2c
PA
93252014-09-11 Pedro Alves <palves@redhat.com>
9326
9327 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9328 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9329 (do_command_attach_tests): Use spawn_wait_for_attach.
9330 * gdb.base/solib-overlap.exp: Likewise.
9331 * gdb.multi/multi-attach.exp: Likewise.
9332 * gdb.python/py-prompt.exp: Likewise.
9333 * gdb.python/py-sync-interp.exp: Likewise.
9334 * gdb.server/ext-attach.exp: Likewise.
9335
3adc1a7d
GKB
93362014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9337
9338 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9339 command in testcase. Simplify testcase.
9340
96334934
JB
93412014-09-10 Joel Brobecker <brobecker@adacore.com>
9342
9343 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9344
eb479039
JB
93452014-09-10 Joel Brobecker <brobecker@adacore.com>
9346
9347 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9348
deede10c
JB
93492014-09-10 Joel Brobecker <brobecker@adacore.com>
9350
9351 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9352
7828a5f5
JB
93532014-09-10 Joel Brobecker <brobecker@adacore.com>
9354
9355 * gdb.dwarf2/dynarr-ptr.c: New file.
9356 * gdb.dwarf2/dynarr-ptr.exp: New file.
9357
33aeebcf
MR
93582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9359
9360 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9361 of 30 rather than hardcoding 120 for a slow test case. Take the
9362 `gdb,timeout' target setting into account for this calculation.
9363 Don't extend the timeout for the test cases that don't need it.
9364
7b415901
MR
93652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9366
9367 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9368 a factor of 2 for a slow test case. Take the `gdb,timeout'
9369 target setting into account for this calculation.
9370 * gdb.reverse/until-precsave.exp: Increase the timeout by
9371 a factor of 15 and 3 respectively rather than adding 120
9372 for a pair of slow test cases. Take the `gdb,timeout'
9373 target setting into account for this calculation.
9374
4a40f85a
MR
93752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9376
9377 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9378 timeout, don't pass one down to gdb_expect.
9379 (gdb_expect): Rework timeout selection.
9380
09635af7
MR
93812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9382
9383 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9384 exception on timeout.
9385 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9386 (gdbserver_start_extended): Catch any `gdbserver_start' error
9387 exceptions.
9388 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9389 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9390 `gdbserver_gdb_load' error exceptions.
9391
2bdd10b7
MR
93922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9393
9394 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9395 120 on waiting for the TCP socket to open.
9396
316935f0
DE
93972014-09-09 Doug Evans <xdje42@gmail.com>
9398
9399 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9400 _caller_matches, _any_caller_is, _any_caller_matches.
9401
83740597
DE
94022014-09-09 Doug Evans <xdje42@gmail.com>
9403
9404 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9405
4c122fc3
YQ
94062014-09-09 Yao Qi <yao@codesourcery.com>
9407
9408 * gdb.mi/mi-var-display.exp: Set print symbol off.
9409
a9f116cb
GKB
94102014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9411
9412 PR gdb/17035
9413 * gdb.base/commands.exp: Add tests to verify user-defined
9414 commands with empty bodies.
9415 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9416 python commands in `show user command`.
9417 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9418 scheme commands in `show user command`.
9419
c75bd3a2
JK
94202014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9421
9422 PR python/17355
9423 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9424 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9425 * gdb.python/py-framefilter-invalidarg.exp: New file.
9426 * gdb.python/py-framefilter-invalidarg.py: New file.
9427
faa42425
DE
94282014-09-06 Doug Evans <xdje42@gmail.com>
9429
9430 PR 15276
9431 * gdb.python/py-caller-is.c: New file.
9432 * gdb.python/py-caller-is.exp: New file.
9433
474ca4f6
SDJ
94342014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9435
9436 PR gdb/17235
9437 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9438 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9439
eb0b0463
SDJ
94402014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9441
9442 PR fortran/17237
9443 * gdb.fortran/print-formatted.exp: New file.
9444 * gdb.fortran/print-formatted.f90: Likewise.
9445
5f3b99cf
SS
94462014-09-03 Sasha Smundak <asmundak@google.com>
9447
9448 * gdb.python/py-frame.exp: Test Frame.read_register.
9449
7d793aa9
SDJ
94502014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9451
9452 PR python/16699
9453 * gdb.python/py-completion.exp: New file.
9454 * gdb.python/py-completion.py: Likewise.
9455
fb0576e9
DE
94562014-08-28 Doug Evans <dje@google.com>
9457
9458 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9459 eax,etc. are live with values set by gdb and thus the compiler can't
9460 use them.
9461 * gdb.arch/i386-pseudo.c (main): Ditto.
9462
ee92b0dd
DE
94632014-08-27 Doug Evans <dje@google.com>
9464
9465 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9466
6649db35
DE
94672014-08-25 Doug Evans <dje@google.com>
9468
9469 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9470 (main): Ditto.
9471
564b7600
DE
94722014-08-25 Doug Evans <dje@google.com>
9473
9474 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9475
3881fb67
YQ
94762014-08-24 Yao Qi <yao@codesourcery.com>
9477
9478 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9479 symbol off.
9480 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9481
a05a36a5
DE
94822014-08-22 Doug Evans <dje@google.com>
9483
9484 PR 17276
9485 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9486 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9487 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9488
7c343b48
YQ
94892014-08-22 Yao Qi <yao@codesourcery.com>
9490
9491 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9492 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9493 * gdb.python/python.exp: Likewise. Use .py file on the host
9494 instead of the build.
9495
22fd09ae
JK
94962014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9497
9498 * gdb.threads/gcore-stale-thread.c: New file.
9499 * gdb.threads/gcore-stale-thread.exp: New file.
9500
a8454a7c
PA
95012014-08-21 Pedro Alves <palves@redhat.com>
9502
9503 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9504 * gdb.base/gcore-relro-pie.exp: Likewise.
9505 * gdb.base/gcore-relro.exp: Likewise.
9506 * gdb.base/gcore.exp: Likewise.
9507 * gdb.base/print-symbol-loading.exp: Likewise.
9508 * gdb.threads/gcore-thread.exp: Likewise.
9509 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9510
2a31c623
PA
95112014-08-20 Pedro Alves <palves@redhat.com>
9512 Jan Kratochvil <jan.kratochvil@redhat.com>
9513
9514 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9515 configure.
9516 (EXPECT): Handle READ1 being set.
9517 (all): Depend on EXTRA_RULES.
9518 (check-read1, expect-read1, read1.so, read1): New rules.
9519 * README (Testsuite Parameters): Document the READ1 make variable.
9520 (Race detection): New section.
9521 * configure: Regenerate.
9522 * configure.ac: If build==host==target, and running under a
9523 GNU/glibc system, add read1 to the extra Makefile rules.
9524 (EXTRA_RULES): AC_SUBST it.
9525 * lib/read1.c: New file.
9526
d36430db
JB
95272014-08-20 Joel Brobecker <brobecker@adacore.com>
9528
9529 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9530 the handling of variables declared as a typedef to an array
9531 which a DW_AT_data_location attribute.
9532
9a0dc9e3
PA
95332014-08-19 Andrew Burgess <aburgess@broadcom.com>
9534 Pedro Alves <palves@redhat.com>
9535
9536 PR symtab/14604
9537 PR symtab/14605
9538 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9539 gdb_test.
9540
0718a8da
PA
95412014-08-19 Pedro Alves <palves@redhat.com>
9542
9543 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9544
13b448cd
YQ
95452014-08-19 Yao Qi <yao@codesourcery.com>
9546
9547 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9548 right line.
9549
1cbf5077
DB
95502014-08-18 David Blaikie <dblaikie@gmail.com>
9551
9552 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9553
bf0fae19
JB
95542014-08-18 Joel Brobecker <brobecker@adacore.com>
9555
9556 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9557 attribute in array range.
9558
3c8c5dcc
JB
95592014-08-18 Joel Brobecker <brobecker@adacore.com>
9560
9561 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9562
e66d4446
SC
95632014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9564
9565 PR c++/17132
9566 * gdb.cp/pr17132.cc: New file.
9567 * gdb.cp/pr17132.exp: New file.
9568
940df408
SC
95692014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9570
9571 * gdb.python/py-xmethods.py (A_getarrayind)
9572 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9573 Use 'print' with function call syntax.
9574 (E_method_matcher.match): Fix tab vs space indentation mixup.
9575
ebcc6c3a
YQ
95762014-08-15 Yao Qi <yao@codesourcery.com>
9577
9578 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9579 false.
9580
775e0f04
YQ
95812014-08-15 Yao Qi <yao@codesourcery.com>
9582
9583 * gdb.cp/casts.exp: Set print symbol off.
9584 * gdb.cp/class2.exp: Likewise.
9585 * gdb.cp/overload.exp: Likewise.
9586 * gdb.cp/templates.exp: Likewise.
9587
d769e349
DE
95882014-08-11 Doug Evans <dje@google.com>
9589
9590 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9591 (test_load_shlib): Update.
9592
20c6f1e1
YQ
95932014-08-09 Yao Qi <yao@codesourcery.com>
9594
9595 * gdb.base/display.exp: Invoke is_address_zero_readable.
9596 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9597 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9598 * gdb.base/hbreak-unmapped.exp: Return if
9599 is_address_zero_readable returns true.
9600 * gdb.base/signest.exp: Likewise.
9601 * gdb.base/signull.exp: Likewise.
9602 * gdb.base/sigbpt.exp: Likewise.
9603 * gdb.guile/scm-disasm.exp: Do the test if
9604 is_address_zero_readable returns false.
9605 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9606 * gdb.python/py-arch.exp: Likewise.
9607 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9608 * lib/gdb.exp (is_address_zero_readable): New proc.
9609
5792e8e3
YQ
96102014-08-09 Yao Qi <yao@codesourcery.com>
9611
9612 PR testsuite/13443
9613 * gdb.mi/mi-var-display.exp: Make test messages unique.
9614
3cecbbbe
TT
96152014-08-04 Tom Tromey <tromey@redhat.com>
9616
9617 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9618 target 0".
9619
00b51ff5
TT
96202014-08-04 Tom Tromey <tromey@redhat.com>
9621
9622 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9623 "target_resume".
9624
6908c509
JB
96252014-08-01 Joel Brobecker <brobecker@adacore.com>
9626
9627 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9628 inner_vla_struct_object_size.
9629 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9630 as xfail.
9631
cc6563d2
PA
96322014-07-30 Pedro Alves <palves@redhat.com>
9633
9634 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9635 comment.
9636
7e09a223
YQ
96372014-07-29 Yao Qi <yao@codesourcery.com>
9638
9639 PR gdb/17206
9640 * gdb.base/until-nodebug.exp: New.
9641
7ebdbe92
DE
96422014-07-28 Doug Evans <xdje42@gmail.com>
9643
9644 PR guile/17203
9645 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9646 previously existing parameter, and previously ambiguously spelled
9647 parameter.
9648
fdb1adc6
WN
96492014-07-28 Will Newton <will.newton@linaro.org>
9650
9651 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9652
186fcde0
DE
96532014-07-26 Ludovic Courtès <ludo@gnu.org>
9654 Doug Evans <xdje42@gmail.com>
9655
9656 PR guile/17146
9657 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9658
70509625
PA
96592014-07-25 Pedro Alves <palves@redhat.com>
9660
9661 * gdb.threads/signal-command-handle-nopass.c: New file.
9662 * gdb.threads/signal-command-handle-nopass.exp: New file.
9663 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9664 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9665 * gdb.threads/signal-delivered-right-thread.c: New file.
9666 * gdb.threads/signal-delivered-right-thread.exp: New file.
9667
c3f814a1
PA
96682014-07-25 Pedro Alves <palves@redhat.com>
9669
9670 * gdb.base/double-prompt-target-event-error.exp
9671 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9672 match.
9673 (cancel_pagination_in_target_event): Rework double prompt
9674 detection.
9675 * gdb.base/paginate-after-ctrl-c-running.exp
9676 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9677 <return>' match.
9678 * gdb.base/paginate-bg-execution.exp
9679 (test_bg_execution_pagination_return)
9680 (test_bg_execution_pagination_cancel): Remove '-notransfer
9681 <return>' matches.
9682 * gdb.base/paginate-execution-startup.exp
9683 (test_fg_execution_pagination_return)
9684 (test_fg_execution_pagination_cancel): Remove '-notransfer
9685 <return>' matches.
9686 * gdb.base/paginate-inferior-exit.exp
9687 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9688 match.
9689 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9690 * lib/gdb.exp (pagination_prompt): Run text through
9691 string_to_regexp.
9692 (gdb_test_multiple): Match $pagination_prompt instead of
9693 "<return>".
9694 (string_to_regexp): Move to lib/gdb-utils.exp.
9695
e214cf6c
JK
96962014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9697
9698 * gdb.arch/amd64-entry-value-paramref.S: New file.
9699 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9700 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9701 * gdb.arch/amd64-optimout-repeat.S: New file.
9702 * gdb.arch/amd64-optimout-repeat.c: New file.
9703 * gdb.arch/amd64-optimout-repeat.exp: New file.
9704
17d0c5c8
JK
97052014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9706
9707 PR gdb/17170
9708 * gdb.base/statistics.exp: New file.
9709
b8b8facf
DE
97102014-07-17 Doug Evans <dje@google.com>
9711
74b49205 9712 PR gdb/17170
b8b8facf
DE
9713 * gdb.base/maint.exp: Update testing of per-command stats.
9714
1b5d0ab3
PA
97152014-07-16 Pedro Alves <palves@redhat.com>
9716
9717 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9718 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9719 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9720 (tfile_write_buf): New functions.
9721 (add_memory_block): Rewrite using the above.
9722 (adjust_function_address): New function.
9723 (FUNCTION_ADDRESS): New macro.
9724 (write_basic_trace_file): Remove short_x local, and use
9725 tfile_write_16. Change type of func_addr local to unsigned long
9726 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9727 here. Cast argument of add_memory_block to char pointer.
9728 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9729 (main): Remove parameters.
9730 * gdb.trace/tfile.exp: Remove nowarnings.
9731
4d974e88
SM
97322014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9733
9734 * gdb.base/debug-expr.exp: Test string evaluation with
9735 "debug expression" on.
9736
41e99568
PA
97372014-07-15 Pedro Alves <palves@redhat.com>
9738
9739 * gdb.base/reread.exp: Use clean_restart.
9740
487d9753
PL
97412014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9742
9743 * gdb.arch/avr-flash-qualifer.c: New.
9744 * gdb.arch/avr-flash-qualifer.exp: New.
9745
cc1c52ad
PA
97462014-07-14 Pedro Alves <palves@redhat.com>
9747
9748 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9749 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9750
1e973570
PA
97512014-07-14 Pedro Alves <palves@redhat.com>
9752
9753 * gdb.base/double-prompt-target-event-error.c: New file.
9754 * gdb.base/double-prompt-target-event-error.exp: New file.
9755
93d6eb10
PA
97562014-07-14 Pedro Alves <palves@redhat.com>
9757
9758 PR gdb/17072
9759 * gdb.base/paginate-inferior-exit.c: New file.
9760 * gdb.base/paginate-inferior-exit.exp: New file.
9761
0017922d
PA
97622014-07-14 Pedro Alves <palves@redhat.com>
9763
9764 PR gdb/17072
9765 * gdb.base/paginate-bg-execution.c: New file.
9766 * gdb.base/paginate-bg-execution.exp: New file.
9767
94696ad3
PA
97682014-07-14 Pedro Alves <palves@redhat.com>
9769
9770 PR gdb/17072
9771 * gdb.base/paginate-execution-startup.c: New file.
9772 * gdb.base/paginate-execution-startup.exp: New file.
9773 * lib/gdb.exp (pagination_prompt): New global.
9774 (default_gdb_spawn): New procedure, factored out from
9775 default_gdb_spawn.
9776 (default_gdb_start): Adjust to call default_gdb_spawn.
9777 (gdb_spawn): New procedure.
9778
bd293940
PA
97792014-07-14 Pedro Alves <palves@redhat.com>
9780
9781 * lib/gdb.exp (gdb_assert): New procedure.
9782 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9783
c933f875
PA
97842014-07-14 Pedro Alves <palves@redhat.com>
9785
9786 * gdb.base/execution-termios.c: New file.
9787 * gdb.base/execution-termios.exp: New file.
9788
d98b7a16
TT
97892014-07-14 Tom Tromey <tromey@redhat.com>
9790
9791 * gdb.cp/vla-cxx.cc: New file.
9792 * gdb.cp/vla-cxx.exp: New file.
9793
548740d6
TT
97942014-07-14 Tom Tromey <tromey@redhat.com>
9795
9796 * gdb.reverse/rerun-prec.c: New file.
9797 * gdb.reverse/rerun-prec.exp: New file.
9798
a25eb028
MR
97992014-07-12 Maciej W. Rozycki <macro@mips.com>
9800 Maciej W. Rozycki <macro@codesourcery.com>
9801
9802 * lib/gdb-utils.exp: New file.
9803 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9804 inline `gdb_init_command' processing.
9805 (gdb_start_cmd): Likewise.
9806 * lib/mi-support.exp (mi_run_cmd): Likewise.
9807 * README: Document `gdb_init_command' and `gdb_init_commands'.
9808
218c2655
JK
98092014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9810
9811 Fix false FAIL running under a very long directory name.
9812 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9813 and "set print elements 10000". Twice.
9814
5401fde3
YQ
98152014-07-11 Yao Qi <yao@codesourcery.com>
9816
9817 * gdb.base/exprs.exp: "set print symbol off".
9818
e76126e8
PA
98192014-07-11 Pedro Alves <palves@redhat.com>
9820
9821 * gdb.threads/kill.c: New file.
9822 * gdb.threads/kill.exp: New file.
9823
2d6f0de6
YQ
98242014-07-10 Yao Qi <yao@codesourcery.com>
9825
9826 * gdb.trace/tfile.c (write_basic_trace_file)
9827 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9828 address written to trace file.
9829
7180e04a
PA
98302014-07-09 Pedro Alves <palves@redhat.com>
9831
9832 * gdb.base/attach-wait-input.exp: New file.
9833 * gdb.base/attach-wait-input.c: New file.
9834
9a9a7608
AB
98352014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9836
9837 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9838 setting up test structures.
9839 (main): Call new test function.
9840 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9841 test function, continue into test function and walk test
9842 structures.
9843
161ac41e
YQ
98442014-07-02 Yao Qi <yao@codesourcery.com>
9845
9846 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9847 'bar_start' at the beginning of functions 'foo' and 'bar'
9848 respectively.
9849 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9850 instead of 'foo' and 'bar'.
9851
1f267ae3
MM
98522014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9853
9854 * gdb.btrace/segv.exp: New.
9855 * gdb.btrace/segv.c: New.
9856
2b239efb
LM
98572014-07-02 Luis Machado <lgustavo@codesourcery.com>
9858
9859 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9860 instruction.
9861
cf363f18
MW
98622014-06-30 Mark Wielaard <mjw@redhat.com>
9863
9864 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9865 vulture, vilify, villar): New volatile array constants.
9866 (vindictive, vegetation): New const volatile array constants.
9867 * gdb.base/volatile.exp: Test volatile and const volatile array
9868 types.
9869
aebf9d24
AA
98702014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9871
9872 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9873 target lacks support for awatch, rwatch, or hbreak.
9874
b67a2c6f
YQ
98752014-06-27 Yao Qi <yao@codesourcery.com>
9876
9877 * gdb.multi/dummy-frame-restore.exp: New.
9878 * gdb.multi/dummy-frame-restore.c: New.
9879
aef92902
MM
98802014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9881
9882 * gdb.btrace/gcore.exp: New.
9883
8e9db26e
PA
98842014-06-23 Pedro Alves <palves@redhat.com>
9885
9886 * gdb.base/watchpoint-reuse-slot.c: New file.
9887 * gdb.base/watchpoint-reuse-slot.exp: New file.
9888
70afc5b7
SC
98892014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9890
9891 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9892 progspace's filename in 'info', 'enable' and 'disable' command
9893 tests.
9894
b972bd9c
JK
98952014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9896
9897 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9898 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9899 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9900
125f8a3d
GB
99012014-06-20 Gary Benson <gbenson@redhat.com>
9902
9903 * gdb.arch/i386-avx.exp: Fix include file location.
9904 * gdb.arch/i386-sse.exp: Likewise.
9905
3ed9baed
IB
99062014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9907
9908 * gdb.dlang/expression.exp: New file.
9909
034f788c
PA
99102014-06-19 Pedro Alves <palves@redhat.com>
9911
9912 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9913 out from ...
9914 (top level): ... here. Iterate running tests under different
9915 scheduler-locking settings.
9916
45371d0c
LM
99172014-06-18 Luis Machado <lgustavo@codesourcery.com>
9918
9919 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9920 to DW_FORM_addr and use non-zero addresses.
9921
5d376983
SC
99222014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9923
9924 PR gdb/17017
9925 * gdb.python/py-xmethods.cc: Add global function call counters and
9926 increment them in their respective functions. Remove "cout"
9927 statements.
9928 * gdb.python/py-xmethods.exp: Make tests check the global function
9929 call counters instead of depending on inferior IO.
9930
a1aa2221
LM
99312014-06-18 Don Breazeal <donb@codesourcery.com>
9932
9933 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9934 Deleted procedure.
9935 (explicit_fork_parent_follow): Deleted procedure.
9936 (explicit_fork_child_follow): Deleted procedure.
9937 (test_follow_fork): New procedure.
9938 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 9939 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
9940 procedure calls.
9941
0fc05997
YQ
99422014-06-17 Yao Qi <yao@codesourcery.com>
9943
9944 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9945 CP1252.
9946
70795c52
LM
99472014-06-17 Luis Machado <lgustavo@codesourcery.com>
9948
9949 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9950 Initialize ptr and S explicitly.
9951 (skip_type_update_when_not_use_rtti_test): Likewise.
9952
6be47f0c
KS
99532014-06-16 Keith Seitz <keiths@redhat.com>
9954
9955 PR mi/15863
9956 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9957 the inferior is started.
9958
d03de421
PA
99592014-06-16 Pedro Alves <palves@redhat.com>
9960
9961 * gdb.base/break-main-file-remove-fail.c: New file.
9962 * gdb.base/break-main-file-remove-fail.exp: New file.
9963 * gdb.base/break-unload-file.exp: Use build_executable instead of
9964 prepare_for_testing.
9965 (test_break): New parameter "initial_load". Handle it.
9966 (top level): Add initial_load cmdline/file axis.
9967
f9579b99
TT
99682014-06-12 Tom Tromey <tromey@redhat.com>
9969
9970 * gdb.base/completion.exp: Don't use directory name in test.
9971
3657956b
GB
99722014-06-09 Gary Benson <gbenson@redhat.com>
9973
9974 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9975 separate the always-available ANSI-standard signals from the
9976 signals that require checking.
9977 (main): Likewise.
9978 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9979 Likewise.
9980 (main): Likewise.
9981
4186eb54
KS
99822014-06-07 Keith Seitz <keiths@redhat.com>
9983
9984 Revert:
9985 PR c++/16253
9986 * gdb.cp/var-tag.cc: New file.
9987 * gdb.cp/var-tag.exp: New file.
9988 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9989 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9990 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9991 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9992
25326a28 99932014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
9994
9995 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9996
829155c9
PA
99972014-06-06 Pedro Alves <palves@redhat.com>
9998
9999 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10000 in target debug output instead of looking at RSP packets,
10001 disabling the test on any target that uses hardware stepping.
10002 Update comments.
10003
61c8d22e
PA
100042014-06-06 Pedro Alves <palves@redhat.com>
10005
10006 * gdb.base/break-unload-file.exp: Fix typo.
10007
d9a47287
YQ
100082014-06-06 Yao Qi <yao@codesourcery.com>
10009
10010 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10011 from "jit_function" to "^jit_function".
10012
e5e01dbf
YQ
100132014-06-06 Yao Qi <yao@codesourcery.com>
10014
10015 * gdb.base/async.c (foo): Add one statement.
10016 * gdb.base/async.exp: Get the next instruction address and
10017 match the output of "nexti" by instruction address. Match
10018 the hex address in the output of "finish".
10019
73ba372c
GB
100202014-06-06 Gary Benson <gbenson@redhat.com>
10021
10022 * gdb.base/call-signals.c: Remove preprocessor conditionals
10023 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10024 SIGSEGV and SIGTERM.
10025 * gdb.base/sigall.c: Likewise.
10026 * gdb.base/unwindonsignal.c: Likewise.
10027 * gdb.reverse/sigall-reverse.c: Likewise.
10028
831517df
YQ
100292014-06-06 Yao Qi <yao@codesourcery.com>
10030
10031 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10032 readable, skip the test.
10033
b8b91e98
YQ
100342014-06-06 Yao Qi <yao@codesourcery.com>
10035
10036 * gdb.threads/staticthreads.c (thread_function): Move the line
10037 setting breakpoint on forward.
10038 * gdb.threads/staticthreads.exp: Update comments.
10039
fb934770
LC
100402014-06-05 Ludovic Courtès <ludo@gnu.org>
10041
10042 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10043 "history-append! type error".
10044
6ef284bd
SM
100452014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10046
10047 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10048 erroneous dprintf expected input.
10049
a872e241
DE
100502014-06-04 Doug Evans <xdje42@gmail.com>
10051
10052 * gdb.guile/scm-generics.exp: Delete.
10053
16f691fb
DE
100542014-06-04 Doug Evans <xdje42@gmail.com>
10055
10056 * gdb.guile/scm-breakpoint.exp: Update.
10057 Add tests for breakpoint registration.
10058
012370f6
TT
100592014-06-04 Tom Tromey <tromey@redhat.com>
10060
10061 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10062 VLA-in-union.
10063 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10064 inner_vla_struct, vla_union types. Initialize objects of those
10065 types and compute their sizes.
10066
9f5a4cef
HZ
100672014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10068 Hui Zhu <hui@codesourcery.com>
10069
10070 * gdb.base/fileio.exp: Add test for shell not available as well as
10071 available.
10072 * gdb.base/fileio.c (test_system): Check for shell twice.
10073
90a45c4d
YQ
100742014-06-04 Yao Qi <yao@codesourcery.com>
10075
10076 * gdb.base/auto-connect-native-target.exp: Remove redundant
10077 space from the regexp pattern.
10078
70017e41
YQ
100792014-06-04 Yao Qi <yao@codesourcery.com>
10080
10081 * gdb.base/default.exp: Replace "child" with "native" in
10082 regexp pattern.
10083
883964a7
SC
100842014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10085
10086 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10087 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10088 * gdb.python/py-xmethods.py: Python script supporting the
10089 new testcase and tests.
10090
ef370185
JB
100912014-06-03 Joel Brobecker <brobecker@adacore.com>
10092 Pedro Alves <palves@redhat.com>
10093
10094 PR breakpoints/17000
10095 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10096 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10097
1e2ccb61
BM
100982014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10099
10100 * gdb.base/subst.exp: Add tests to verify partial path matching
10101 output.
10102
c6ec5ab2
PA
101032014-06-03 Pedro Alves <palves@redhat.com>
10104
10105 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10106 target that doesn't use software single-stepping.
10107
835c559f
PA
101082014-06-03 Pedro Alves <palves@redhat.com>
10109
10110 PR breakpoints/17000
10111 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10112 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10113
06eb1586
DE
101142014-06-02 Doug Evans <xdje42@gmail.com>
10115
10116 * gdb.guile/scm-parameter.exp: New file.
10117
e698b8c4
DE
101182014-06-02 Doug Evans <xdje42@gmail.com>
10119
10120 * gdb.guile/scm-cmd.c: New file.
10121 * gdb.guile/scm-cmd.exp: New file.
10122
ded03782
DE
101232014-06-02 Doug Evans <xdje42@gmail.com>
10124
10125 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10126 pretty-printer lookup.
10127 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10128 (make-pp_s-printer): Call it.
10129 (make-pretty-printer-from-dict): New function.
10130 (lookup-pretty-printer-maker-from-dict): New function.
10131 (*pretty-printer*): Simplify.
10132 (make-objfile-pp_s-printer): New function.
10133 (install-objfile-pretty-printers!): New function.
10134 (make-progspace-pp_s-printer): New function.
10135 (install-progspace-pretty-printers!): New function.
10136 * gdb.guile/scm-progspace.c: New file.
10137 * gdb.guile/scm-progspace.exp: New file.
10138
41fac0cf
PA
101392014-06-02 Pedro Alves <palves@redhat.com>
10140
10141 * gdb.base/dprintf-bp-same-addr.c: New file.
10142 * gdb.base/dprintf-bp-same-addr.exp: New file.
10143
96ae5695
EBM
101442014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10145
10146 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10147 * gdb.arch/powerpc-power.s: Likewise.
10148
da02b3a8
JB
101492014-06-02 Joel Brobecker <brobecker@adacore.com>
10150
10151 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10152
c72b2e7b
YQ
101532014-06-01 Yao Qi <yao@codesourcery.com>
10154
10155 * gdb.base/watchpoint.exp (test_watch_location): Check null
10156 pointer can be dereferenced. If not, do the test, otherwise
10157 skip it.
10158
53e8a631
AB
101592014-05-30 Andrew Burgess <aburgess@broadcom.com>
10160
10161 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10162 results.
10163 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10164
938f0e2f
AB
101652014-05-30 Andrew Burgess <aburgess@broadcom.com>
10166
10167 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10168 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10169 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10170 * gdb.arch/amd64-invalid-stack-top.c: New file.
10171 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10172
9ba6657a
PA
101732014-05-30 Pedro Alves <palves@redhat.com>
10174
10175 PR breakpoints/17000
10176 * gdb.base/sss-bp-on-user-bp.c: New file.
10177 * gdb.base/sss-bp-on-user-bp.exp: New file.
10178
522c09bf
DB
101792014-05-30 David Blaikie <dblaikie@gmail.com>
10180
10181 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10182 gnu_inline semantics via attribute.
10183 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10184 source explicitly specifies the required semantics.
10185
bf4ef81e
MR
101862014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10187
10188 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10189
329ea579
PA
101902014-05-29 Pedro Alves <palves@redhat.com>
10191 Tom Tromey <tromey@redhat.com>
10192
10193 * gdb.base/async-shell.exp: Don't enable target-async.
10194 * gdb.base/async.exp
10195 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10196 parameter. Adjust.
10197 (top level): Don't test with "target-async".
10198 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10199 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10200 * gdb.base/inferior-died.exp: Don't enable target-async.
10201 * gdb.base/interrupt-noterm.exp: Likewise.
10202 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10203 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10204 * gdb.mi/mi-nonstop.exp: Likewise.
10205 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10206 * gdb.mi/mi-nsintrall.exp: Likewise.
10207 * gdb.mi/mi-nsmoribund.exp: Likewise.
10208 * gdb.mi/mi-nsthrexec.exp: Likewise.
10209 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10210 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10211 * gdb.python/py-evsignal.exp: Don't enable target-async.
10212 * gdb.python/py-evthreads.exp: Likewise.
10213 * gdb.python/py-prompt.exp: Likewise.
10214 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10215 * gdb.server/solib-list.exp: Don't enable target-async.
10216 * gdb.threads/thread-specific-bp.exp: Likewise.
10217 * lib/mi-support.exp: Adjust to use mi-async.
10218
fd664c91
PA
102192014-05-29 Pedro Alves <palves@redhat.com>
10220
10221 PR gdb/13860
10222 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10223 reason, even in sync mode.
10224
251bde03
PA
102252014-05-29 Pedro Alves <palves@redhat.com>
10226 Hui Zhu <hui@codesourcery.com>
10227
10228 PR PR15693
10229 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10230 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10231 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10232 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10233
7f3c0343
JB
102342014-05-28 Joel Brobecker <brobecker@adacore.com>
10235
10236 * config/monitor.exp (gdb_target_monitor): Replace use of
10237 "set remotebaud" by "set serial baud".
10238
b2715b27
AW
102392014-05-26 Andy Wingo <wingo@igalia.com>
10240
10241 * gdb.guile/scm-breakpoint.exp:
10242 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10243 properties instead of gdb-object-properties.
10244
498a4489
YQ
102452014-05-26 Yao Qi <yao@codesourcery.com>
10246
10247 * gdb.server/no-thread-db.exp: Specify source file name
10248 explicitly when setting a breakpoint.
10249
589fdceb
MM
102502014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10251
10252 * gdb.btrace/vdso.c: New.
10253 * gdb.btrace/vdso.exp: New.
10254
e9089e05
MM
102552014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10256
10257 * gdb.base/gcore.exp (capture_command_output): Move ...
10258 * lib/gdb.exp (capture_command_output): ... here.
10259
67b5c0c1
MM
102602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10261
10262 * gdb.btrace/data.exp: Test memory access during btrace replay.
10263
a2199296
SM
102642014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10265
10266 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10267
17b2616c
PA
102682014-05-21 Pedro Alves <palves@redhat.com>
10269
10270 PR gdb/13860
10271 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10272 (top level): Test that output related to execution commands is
10273 sent to the console with CLI commands, but not with MI commands.
10274 Test that breakpoint events are always mirrored to the console.
10275 Also expect the new source line to be output after a "next" in
10276 async mode too. Make it a pass/fail test.
10277 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10278 output.
10279 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10280
5166082f
PA
102812014-05-21 Pedro Alves <palves@redhat.com>
10282
10283 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10284 Use them to test variations of "list" after reaching a breakpoint.
10285 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10286 Test "list" with listsize 10 after reaching a breakpoint.
10287 * gdb.python/python.exp (decode_line current location line
10288 number): Adjust expected line number.
10289
2f25d70f
SM
102902014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10291
10292 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10293 behavior for $args, pass it directly to "run".
10294
ff604a67
MR
102952014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10296
10297 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10298 30000 to 65536.
10299
6a3cb8e8
PA
103002014-05-21 Pedro Alves <palves@redhat.com>
10301
10302 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10303 auto-connect-native-target off".
10304 * gdb.base/auto-connect-native-target.c: New file.
10305 * gdb.base/auto-connect-native-target.exp: New file.
10306
4ebfc96e
PA
103072014-05-21 Pedro Alves <palves@redhat.com>
10308
10309 * gdb.base/default.exp: Test "target native" instead of "target
10310 child".
10311
36d46afb
MW
103122014-05-21 Mark Wielaard <mjw@redhat.com>
10313
10314 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10315
5876f503
JK
103162014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10317
10318 Fix TLS access for -static -pthread.
10319 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10320 <HAVE_TLS> (thread_function, main): Initialize it.
10321 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10322 Add clean_restart.
10323 <$have_tls != "">: Check TLSVAR.
10324
0256a6ac
PA
103252014-05-21 Pedro Alves <palves@redhat.com>
10326
10327 * gdb.base/dcache-line-read-error.c: New.
10328 * gdb.base/dcache-line-read-error.exp: New.
10329
936d2992
PA
103302014-05-20 Pedro Alves <palves@redhat.com>
10331
10332 * gdb.base/compare-sections.c: New file.
10333 * gdb.base/compare-sections.exp: New file.
10334
802e8e6d
PA
103352014-05-20 Pedro Alves <palves@redhat.com>
10336
10337 * gdb.base/break-idempotent.c: New file.
10338 * gdb.base/break-idempotent.exp: New file.
10339
e59fa00f
MM
103402014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10341
10342 * gdb.btrace/nohist.exp: New.
10343
8b696e31
YQ
103442014-05-20 Yao Qi <yao@codesourcery.com>
10345
10346 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10347 gdb.reverse directory and gdb_reverse_timeout exists in board
10348 setting.
10349 * README: Document gdb_reverse_timeout.
10350
73c9764f
YQ
103512014-05-20 Yao Qi <yao@codesourcery.com>
10352
10353 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10354 'test_file_name'. Treat args as a string instead of a list.
10355 (gdb_init): Rename argument 'args' by 'test_file_name'.
10356
f1f4348a
JK
103572014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10358
10359 * gdb.arch/powerpc-power.exp: New file.
10360 * gdb.arch/powerpc-power.s: New file.
10361
0dbe70ce
DE
103622014-05-16 Doug Evans <dje@google.com>
10363
10364 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
10365 * gdb.base/completion.exp: Check that all expected files exist
10366 before doing file completion.
0dbe70ce 10367
8d551b02
DE
103682014-05-16 Doug Evans <dje@google.com>
10369
10370 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10371 Update.
10372 (do_syscall_tests_without_xml): Update.
10373
73eb7709
PA
103742014-05-16 Pedro Alves <palves@redhat.com>
10375
10376 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10377 instead of "unknown output after running".
10378
3fae92fc
YQ
103792014-05-16 Yao Qi <yao@codesourcery.com>
10380
10381 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10382 file1.txt from host at the end.
10383 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10384
c2b2ccc5
DE
103852014-05-15 Doug Evans <dje@google.com>
10386
10387 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10388 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10389 loading file. Add test for TU lookup.
10390
8c217a4b
SM
103912014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10392
10393 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10394 calling "-exec-arguments" or "set args" before running the
10395 inferior.
10396
3deb39c6
SM
103972014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10398
10399 * lib/mi-support.exp (mi_expect_stop): Expect message for
10400 inferiors that exit with non-zero exit code.
10401
71a79f8c
YQ
104022014-05-14 Yao Qi <yao@codesourcery.com>
10403
10404 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10405 match absolute path on remote host.
10406 (test_file_list_exec_source_files): Remove "/" from the
10407 pattern.
10408
f23fcd46
YQ
104092014-05-14 Yao Qi <yao@codesourcery.com>
10410
10411 * boards/local-remote-host-notty.exp (${board}_file): New
10412 proc.
10413
9404b58f
KM
104142014-05-07 Kyle McMartin <kyle@redhat.com>
10415
10416 Pushed by Joel Brobecker <brobecker@adacore.com>.
10417 * gdb.arch/aarch64-atomic-inst.c: New file.
10418 * gdb.arch/aarch64-atomic-inst.exp: New file.
10419
5e45f04c
YQ
104202014-05-07 Yao Qi <yao@codesourcery.com>
10421
10422 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10423 in current context" too.
10424
c888a17d
KS
104252014-05-05 Keith Seitz <keiths@redhat.com>
10426
10427 * gdb.linespec/ls-dollar.exp: Add test for linespec
10428 file:convenience_variable.
10429
290a839c
YQ
104302014-05-05 Yao Qi <yao@codesourcery.com>
10431
10432 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10433 traceframes into tfile and ctf trace files. Read data from
10434 trace file and test collected data.
10435 (gdb_collect_locals_test): Likewise.
10436 (gdb_unavailable_registers_test): Likewise.
10437 (gdb_unavailable_floats): Likewise.
10438 (gdb_collect_globals_test): Likewise.
10439 (top-level): Append "ctf" to trace_file_targets if GDB
10440 supports.
10441
b5262cd0
YQ
104422014-05-05 Yao Qi <yao@codesourcery.com>
10443
10444 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10445 code to ...
10446 (gdb_collect_args_test_1): ... it. New proc.
10447 (gdb_collect_locals_test): Move some code to ...
10448 (gdb_collect_locals_test_1): ... it. New proc.
10449 (gdb_unavailable_registers_test): Move some code to ...
10450 (gdb_unavailable_registers_test_1): ... it. New proc.
10451 (gdb_unavailable_floats): Move some code to ...
10452 (gdb_unavailable_floats_1): ... it. New proc.
10453
30a1e6cc
SDJ
104542014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10455
10456 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10457 probes to test for bitness recognition.
10458 * gdb.arch/amd64-stap-optional-prefix.exp
10459 (test_probe_value_without_reg): New procedure.
10460 Add code to test for different kinds of bitness.
10461
f33da99a
SDJ
104622014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10463
10464 PR breakpoints/16889
10465 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10466 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10467
5b80f00d
PA
104682014-05-01 Pedro Alves <palves@redhat.com>
10469
10470 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10471 gdb_file_cmd if no file is specified.
10472 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10473 last_loaded_file to set the remote exec-file.
10474
f8c2a73c
PA
104752014-05-01 Pedro Alves <palves@redhat.com>
10476
10477 * boards/local-remote-host.exp: New file.
10478
be6e8ac7
PA
104792014-05-01 Pedro Alves <palves@redhat.com>
10480
10481 * boards/local-remote-host.exp: Rename to ...
10482 * boards/local-remote-host-notty.exp: ... this.
10483
cac0dc8f
JB
104842014-04-28 Joel Brobecker <brobecker@adacore.com>
10485
10486 * gdb.ada/dyn_arrayidx: New testcase.
10487
9730e6cc
YQ
104882014-04-26 Yao Qi <yao@codesourcery.com>
10489
10490 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10491 and compute the length of function main. Save it in
10492 $main_length.
10493 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10494 (top-level): Use gdb_compile to compile objects into
10495 executable and restart GDB. Remove invocation to
10496 prepare_for_testing.
10497
7ae1a6a6
PA
104982014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10499 Pedro Alves <palves@redhat.com>
10500
10501 PR server/16255
10502 * gdb.multi/multi-attach.c: New file.
10503 * gdb.multi/multi-attach.exp: New file.
10504
4082afcc
PA
105052014-04-25 Pedro Alves <palves@redhat.com>
10506
10507 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10508 user.
10509 (top level): Test that "set remote conditional-breakpoints-packet
10510 off" works as intended.
10511 * gdb.base/dprintf.exp: Test that "set remote
10512 breakpoint-commands-packet off" works as intended.
10513 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10514 New function.
10515 (top level): Call it.
10516 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10517 remote fast-tracepoints-packet off" works as intended.
10518 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10519 * lib/gdb.exp (gdb_is_target_remote): ... here.
10520
2abc3f8d
DB
105212014-04-24 David Blaikie <dblaikie@gmail.com>
10522
10523 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10524 ensure clang would not discard them.
10525 * gdb.base/gdbvars.c: Ditto.
10526 * gdb.base/memattr.c: Ditto.
10527 * gdb.base/whatis.c: Ditto.
10528 * gdb.python/py-prettyprint.c: Ditto.
10529 * gdb.trace/actions.c: Ditto.
10530 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10531 ensure clang would not discard it.
10532
bfd39632
DB
105332014-04-24 David Blaikie <dblaikie@gmail.com>
10534
10535 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10536 clang to emit the full definition of type required by the test
10537 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10538
22842ff6
DB
105392014-04-24 David Blaikie <dblaikie@gmail.com>
10540
10541 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10542 coax Clang into emitting the definition of the type.
10543 * gdb.cp/pr10728-x.h (y): Ditto.
10544 * gdb.cp/pr10728-y.cc (y): Ditto.
10545
c2e827ad
DB
105462014-04-24 David Blaikie <dblaikie@gmail.com>
10547
10548 * gdb.base/label.exp: XFAIL label related tests under Clang.
10549 * gdb.cp/cplabel.exp: Ditto.
10550 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10551 under Clang those using labels.
10552
4c2d33e7
YQ
105532014-04-25 Yao Qi <yao@codesourcery.com>
10554
10555 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10556 double_label.
10557 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10558 partial_label and double_label.
10559
56083b99
DB
105602014-04-24 David Blaikie <dblaikie@gmail.com>
10561
10562 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10563
25d4e99d
DB
105642014-04-24 David Blaikie <dblaikie@gmail.com>
10565
10566 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10567 of the function to work across GCC and Clang.
10568 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10569 pointer types (const void ** const V void **).
10570
01f9f808
MS
105712014-04-24 Michael Sturm <michael.sturm@mintel.com>
10572 Walfred Tedeschi <walfred.tedeschi@intel.com>
10573
10574 * Makefile.in (EXECUTABLES): Added i386-avx512.
10575 * gdb.arch/i386-avx512.c: New file.
10576 * gdb.arch/i386-avx512.exp: Likewise.
10577
4b48d439
KS
105782014-04-23 Keith Seitz <keiths@redhat.com>
10579
10580 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10581 (mi_make_breakpoint_table): New procedure.
10582 (mi_create_breakpoint): Use mi_make_breakpoint
10583 and return the result.
10584 (mi_make_breakpoint): New procedure.
10585 (mi_build_kv_pairs): New procedure.
10586
10587 * gdb.mi/mi-break.exp: Remove unused globals,
10588 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10589 All callers updated.
10590 * gdb.mi/mi-dprintf.exp: Use variable to track command
10591 number.
10592 Update all callers of mi_create_breakpoint and use
10593 mi_make_breakpoint_table.
10594 Remove any unused global variables.
10595 * gdb.mi/mi-nonstop.exp: Likewise.
10596 * gdb.mi/mi-nsintrall.exp: Likewise.
10597 * gdb.mi/mi-nsmoribund.exp: Likewise.
10598 * gdb.mi/mi-nsthrexec.exp: Likewise.
10599 * gdb.mi/mi-reverse.exp: Likewise.
10600 * gdb.mi/mi-simplerun.exp: Likewise.
10601 * gdb.mi/mi-stepn.exp: Likewise.
10602 * gdb.mi/mi-syn-frame.exp: Likewise.
10603 * gdb.mi/mi-until.exp: Likewise.
10604 * gdb.mi/mi-var-cp.exp: Likewise.
10605 * gdb.mi/mi-var-display.exp: Likewise.
10606 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10607 * gdb.mi/mi2-var-child.exp: Likewise.
10608 * gdb.mi/mi-vla-c99.exp: Likewise.
10609 * lib/mi-support.exp: Likewise.
10610
10611 From Ian Lance Taylor <iant@cygnus.com>:
10612 * lib/gdb.exp (parse_args): New procedure.
10613
08351840
PA
106142014-04-23 Pedro Alves <palves@redhat.com>
10615
10616 * gdb.base/break-unload-file.c: New file.
10617 * gdb.base/break-unload-file.exp: New file.
10618 * gdb.base/sym-file-lib.c (baz): New function.
10619 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10620 field.
10621 (load): Store the segment's mapped size.
10622 (unload): New function.
10623 (unload_shlib): New function.
10624 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10625 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10626 set a breakpoint at baz, and call it.
10627 * gdb.base/sym-file.exp: New tests for stale breakpoint
10628 instructions.
10629
076855f9
PA
106302014-04-23 Pedro Alves <palves@redhat.com>
10631
10632 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10633 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10634 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10635 * gdb.base/hbreak-unmapped.c: New file.
10636 * gdb.base/hbreak-unmapped.exp: New file.
10637 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10638 * lib/gdb.exp (gdb_is_target_remote): ... here.
10639
483805cf
PA
106402014-04-22 Pedro Alves <palves@redhat.com>
10641
10642 * gdb.base/consecutive-step-over.c: New file.
10643 * gdb.base/consecutive-step-over.exp: New file.
10644
06d97543
PA
106452014-04-22 Pedro Alves <palves@redhat.com>
10646
10647 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10648 instead of send_gdb/gdb_expect.
10649
b4429ea2
YQ
106502014-04-22 Yao Qi <yao@codesourcery.com>
10651
10652 * lib/trace-support.exp (generate_tracefile): New procedure.
10653 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10654 return 0.
10655 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10656 if generate_tracefile returns 1.
10657
51d48146
PA
106582014-04-18 Tom Tromey <palves@redhat.com>
10659 Pedro alves <tromey@redhat.com>
10660
10661 PR backtrace/15558
10662 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10663 with a backtrace limit.
10664 * gdb.python/py-frame-inline.exp: Test running to an inline
10665 function with a backtrace limit, and printing the newest frame.
10666 * gdb.python/py-frame-inline.c (main): Call f.
10667
bd1dce5f
MS
106682014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10669
10670 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10671
40d1a503
MS
106722014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10673
10674 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10675 Drop prefix from unsupported source file path.
10676
389b98f7
YQ
106772014-04-17 Yao Qi <yao@codesourcery.com>
10678
10679 * lib/gdb.exp (with_target_charset): New proc.
10680 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10681 with_target_charset.
10682 (test_print_strings): Likewise.
10683 (test_repeat_bytes): Likewise.
10684 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10685 for some tests.
10686
22869d73
KS
106872014-04-16 Keith Seitz <keiths@redhat.com>
10688
10689 PR gdb/15827
10690 * gdb.dwarf2/corrupt.c: New file.
10691 * gdb.dwarf2/corrupt.exp: New file.
10692
c4f87ca6
KS
106932014-04-16 Keith Seitz <keiths@redhat.com>
10694
10695 PR c++/16597
10696 * gdb.cp/namelessclass.cc: New file.
10697 * gdb.cp/namelessclass.exp: New file.
10698 * gdb.cp/namelessclass.S: New file.
10699
ab19de87
DE
107002014-04-16 Doug Evans <dje@google.com>
10701
10702 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10703 Add comment.
10704 (gdbserver_default_get_comm_port): New function.
10705 (gdbserver_start): Check if board file provided
10706 "gdbserver,get_comm_port" and use it if so.
10707 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10708 (gdb,socketport): Set to "stdio".
10709 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10710 (stdio_gdbserver_template): Delete.
10711 (${board}_get_remote_address): Update.
10712 (${board}_build_remote_cmd): Delete.
10713 (${board}_get_comm_port): New function.
10714 (${board}_spawn): Update.
10715 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10716 Delete.
10717 (${board}_get_remote_address): Update.
10718 (${board}_get_comm_port): New function.
10719
fc98a809
AB
107202014-04-16 Andrew Burgess <aburgess@broadcom.com>
10721
10722 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10723 appearing in any order.
10724
87fd9e6e
DE
107252014-04-15 Doug Evans <dje@google.com>
10726
10727 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10728 uninitialized value of "description".
10729
099fc3ea
KS
107302014-04-15 Keith Seitz <keiths@redhat.com>
10731
10732 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10733 Remove unused globals.
10734 (test_running_the_program): Likewise.
10735 (test_controlled_execution): Likewise.
10736 (test_controlling_breakpoints): Likewise.
10737 (test_program_termination): Likewise.
10738
5da151d4
KS
107392014-04-15 Keith Seitz <keiths@redhat.com>
10740
10741 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10742 unused globals.
10743 (test_rbreak_creation_and_listing): Likewise.
10744 (test_ignore_count): Likewise.
10745 (test_error): Likewise.
10746
35e5d2f0
PA
107472014-04-15 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10750 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10751 sym-file-loader.c.
10752 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10753 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10754 to sym-file-loader.c.
10755 (struct library): Forward declare.
10756 (load_shlib, lookup_function): Change prototypes.
10757 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10758 (translate_offset): Remove declarations.
10759 (get_text_addr): New declaration.
10760 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10761 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10762 sym-file-loader.h.
10763 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10764 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10765 here from sym-file-loader.h.
10766 (struct library): New structure.
10767 (load_shlib, lookup_function): Change prototypes and adjust to
10768 work with a struct library.
10769 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10770 (translate_offset): Make static.
10771 (get_text_addr): New function.
10772 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10773
eb4c1710
PA
107742014-04-15 Pedro Alves <palves@redhat.com>
10775
10776 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10777
2d1baf52
PA
107782014-04-15 Pedro Alves <palves@redhat.com>
10779
10780 * gdb.base/sym-file-loader.c: Include <limits.h>.
10781 (SELF_LINK): New define.
10782 (get_origin): New function.
10783 (load_shlib): Use it.
10784 * gdb.base/sym-file.exp: Don't early return if the target is
10785 remote. Use runto_main, and issue fail is that fails. Use
10786 gdb_load_shlibs.
10787 (shlib_name): Delete.
10788 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10789
7dd6df01
PA
107902014-04-15 Pedro Alves <palves@redhat.com>
10791
10792 * gdb.base/sym-file.exp: Remove regex characters from test
10793 message. Don't refer to breakpoint numbers in test messages.
10794
b50c8614
KS
107952014-04-14 Keith Seitz <keiths@redhat.com>
10796
10797 PR c++/16253
10798 * gdb.cp/var-tag.cc: New file.
10799 * gdb.cp/var-tag.exp: New file.
10800 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10801 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10802 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10803 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10804
3d567982
TT
108052014-04-14 Tom Tromey <tromey@redhat.com>
10806
10807 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10808 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10809 type.
10810 * gdb.cp/enum-class.exp: New file.
10811 * gdb.cp/enum-class.cc: New file.
10812
0626fc76
TT
108132014-04-14 Tom Tromey <tromey@redhat.com>
10814
10815 * gdb.dwarf2/enum-type.exp: New file.
10816
dca325b3
SA
108172014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10818
10819 * gdb.mi/mi-vla-c99.exp: New file.
10820 * gdb.mi/vla.c: New file.
10821
5854b38a
SA
108222014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10823
10824 * gdb.base/vla-datatypes.c: New file.
10825 * gdb.base/vla-datatypes.exp: New file.
10826
463bb957
SA
108272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10828
10829 * gdb.base/vla-ptr.c: New file.
10830 * gdb.base/vla-ptr.exp: New file.
10831
3dd170be
SA
108322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10833
10834 * gdb.dwarf2/count.exp: New file.
10835
5ecaaa66
SA
108362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10837
10838 * gdb.base/vla-sideeffect.c: New file.
10839 * gdb.base/vla-sideeffect.exp: New file.
10840
41f1ada5
DB
108412014-04-14 David Blaikie <dblaikie@gmail.com>
10842
10843 * gdb.mi/non-stop.c: Add return value for non-void function return
10844 statement.
10845 * gdb.threads/staticthreads.c: Ditto.
10846
0be03e84
DE
108472014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10848 Doug Evans <xdje42@gmail.com>
10849
10850 * gdb.guile/scm-value.c: Improve test case.
10851 * gdb.guile/scm-value.exp: Add new test.
10852
f180a1fb
DB
108532014-04-11 David Blaikie <dblaikie@gmail.com>
10854
10855 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10856 override Clang's default.
10857
6b662e19
JB
108582014-04-11 Joel Brobecker <brobecker@adacore.com>
10859
10860 Revert the following changes (regressions):
10861
10862 * gdb.base/vla-sideeffect.c: New file.
10863 * gdb.base/vla-sideeffect.exp: New file.
10864
10865 * gdb.dwarf2/count.exp: New file.
10866
10867 * gdb.base/vla-multi.c: New file.
10868 * gdb.base/vla-multi.exp: New file.
10869
10870 * gdb.base/vla-ptr.c: New file.
10871 * gdb.base/vla-ptr.exp: New file.
10872
10873 * gdb.base/vla-datatypes.c: New file.
10874 * gdb.base/vla-datatypes.exp: New file.
10875
10876 * gdb.mi/mi-vla-c99.exp: New file.
10877 * gdb.mi/vla.c: New file.
10878
245a5f0b
KS
108792014-04-11 Keith Seitz <keiths@redhat.com>
10880
10881 PR c++/16675
10882 * gdb.cp/cpsizeof.exp: New file.
10883 * gdb.cp/cpsizeof.cc: New file.
10884
58a84dcf
SA
108852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10886
191a8a90
JB
10887 * gdb.mi/mi-vla-c99.exp: New file.
10888 * gdb.mi/vla.c: New file.
58a84dcf 10889
c8655f75
SA
108902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10891
10892 * gdb.base/vla-datatypes.c: New file.
10893 * gdb.base/vla-datatypes.exp: New file.
10894
024e13b4
SA
108952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10896
10897 * gdb.base/vla-ptr.c: New file.
10898 * gdb.base/vla-ptr.exp: New file.
10899
1a237e0e
SA
109002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10901
10902 * gdb.base/vla-multi.c: New file.
10903 * gdb.base/vla-multi.exp: New file.
10904
504f3432
SA
109052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10906
10907 * gdb.dwarf2/count.exp: New file.
10908
3bce8237
SA
109092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10910
191a8a90
JB
10911 * gdb.base/vla-sideeffect.c: New file.
10912 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 10913
322f9c21
YQ
109142014-04-11 Yao Qi <yao@codesourcery.com>
10915
10916 * gdb.base/completion.exp: Check file exists before running tests
10917 on file completion.
10918
d708bcd1
PA
109192014-04-10 Pedro Alves <palves@redhat.com>
10920
10921 * gdb.base/cond-eval-mode.c: New file.
10922 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10923 prepare_for_testing to build the new file. Check result of
10924 runto_main.
10925 (test_break, test_watch): New procedures.
10926 (top level): Use them.
10927
ae1d2761
PM
109282014-04-08 Pierre Muller <muller@sourceware.org>
10929
10930 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10931 Ctrl-V use for mingw hosts.
10932
7af389b8
SC
109332014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10934
10935 * gdb.python/py-value.c: Improve test case.
10936 * gdb.python/py-value.exp: Add new test.
10937
5e703181
DE
109382014-04-07 David Blaikie <dblaikie@gmail.com>
10939
10940 * lib/compiler.c: Identify the clang compiler.
10941 * lib/compiler.cc: Ditto.
10942
9810b410
YQ
109432014-04-03 Yao Qi <yao@codesourcery.com>
10944
10945 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10946
98d1b8dc
AB
109472014-04-01 Anton Blanchard <anton@samba.org>
10948
10949 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10950 messages unique.
10951
3114cea1
AB
109522014-04-01 Anton Blanchard <anton@samba.org>
10953
10954 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10955 prepare_for_testing.
10956
62f7182c
AB
109572014-04-01 Anton Blanchard <anton@samba.org>
10958
10959 * gdb.arch/ppc64-atomic-inst.c: Remove.
10960 * gdb.arch/ppc64-atomic-inst.S: New file.
10961 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10962
770e7fc7
DE
109632014-03-31 Doug Evans <dje@google.com>
10964
10965 * gdb.base/print-symbol-loading-lib.c: New file.
10966 * gdb.base/print-symbol-loading-main.c: New file.
10967 * gdb.base/print-symbol-loading.exp: New file.
10968
46e2bafa
YQ
109692014-03-31 Yao Qi <yao@codesourcery.com>
10970
10971 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10972
8776cfe9
JB
109732014-03-28 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.ada/mi_dyn_arr: New testcase.
10976
5d1ef361
DE
109772014-03-27 Doug Evans <dje@google.com>
10978
10979 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10980
b5bee914
YQ
109812014-03-27 Yao Qi <yao@codesourcery.com>
10982
10983 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10984 if target is nios2-*-*.
10985
0d4d0e77
YQ
109862014-03-26 Yao Qi <yao@codesourcery.com>
10987
10988 * lib/gdb.exp (readline_is_used): New proc.
10989 * gdb.base/completion.exp: Move tests on command complete up.
10990 Skip the rest of tests if readline is not used.
10991 * gdb.ada/complete.exp: Skp the test if readline is not
10992 used.
10993 * gdb.base/filesym.exp: Likewise.
10994 * gdb.base/macscp.exp: Likewise.
10995 * gdb.base/readline-ask.exp: Likewise.
10996 * gdb.base/readline.exp: Likewise.
10997 * gdb.python/py-cmd.exp: Likewise.
10998 * gdb.trace/tfile.exp: Likewise.
10999
29361eee
YQ
110002014-03-26 Yao Qi <yao@codesourcery.com>
11001
11002 * gdb.base/macscp.exp: Fix code format issues.
11003
bc9a5525
UW
110042014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11005
11006 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11007 * gdb.asm/powerpc64le.inc: New file.
11008
d3839ede
PA
110092014-03-25 Pedro Alves <palves@redhat.com>
11010 Doug Evans <dje@google.com>
11011
11012 * gdb.base/source-execution.c: New file.
11013 * gdb.base/source-execution.exp: New file.
11014 * gdb.base/source-execution.gdb: New file.
11015
01672a57
DE
110162014-03-24 Doug Evans <dje@google.com>
11017
11018 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11019 using fission.
11020
88bbeca9
HZ
110212014-03-24 Hui Zhu <hui@codesourcery.com>
11022 Pedro Alves <palves@redhat.com>
11023
11024 PR breakpoints/16101
11025 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11026 test pass/fail messages. Detect missing support for dprintf when
11027 breakpoints are actually inserted.
11028 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11029 breakpoints are actually inserted.
11030 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11031 fails.
11032
d2348791
JK
110332014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11034
11035 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11036
feef67ab
DE
110372014-03-22 Doug Evans <xdje42@gmail.com>
11038
11039 * gdb.python/python.exp (python not supported): Verify multi-line
11040 python command issues an error.
25d743f9 11041 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 11042 guile command issues an error.
feef67ab 11043
ecebef6a
MR
110442014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11045
11046 * gdb.threads/thread-specific.exp: Handle the lack of usable
11047 $this_breakpoint and $this_thread.
11048
ccdd1909
HZ
110492014-03-21 Hui Zhu <hui@codesourcery.com>
11050
11051 * gdb.base/attach.exp (do_command_attach_tests): New.
11052
beb460e8
PA
110532014-03-20 Tom Tromey <tromey@redhat.com>
11054 Pedro Alves <palves@redhat.com>
11055
11056 PR cli/15718
11057 * gdb.base/condbreak-call-false.c: New file.
11058 * gdb.base/condbreak-call-false.exp: New file.
11059
40acf43a
PA
110602014-03-20 Pedro Alves <palves@redhat.com>
11061
11062 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11063 Delete.
11064 (block_signals, unblock_signals): Delete.
11065 (child_function_2, main): Remove references to deleted variable
11066 and functions.
11067
9f5e1e02
PA
110682014-03-20 Pedro Alves <palves@redhat.com>
11069
11070 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11071 Use pthread_kill to signal thread 2.
11072 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11073 Adjust to make the test send itself a signal rather than using the
11074 host's "kill" command.
11075
99619bea
PA
110762014-03-20 Pedro Alves <palves@redhat.com>
11077
11078 * gdb.threads/multiple-step-overs.c: New file.
11079 * gdb.threads/multiple-step-overs.exp: New file.
11080 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11081 Adjust expected infrun debug output.
11082
2adfaa28
PA
110832014-03-20 Pedro Alves <palves@redhat.com>
11084
11085 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11086 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11087
31e77af2
PA
110882014-03-20 Pedro Alves <palves@redhat.com>
11089
11090 PR breakpoints/7143
11091 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11092 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11093 of gdb_test_multiple.
11094 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11095 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11096
b9f437de
PA
110972014-03-20 Pedro Alves <palves@redhat.com>
11098
11099 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11100 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11101
05adc73e
PA
111022014-03-19 Pedro Alves <palves@redhat.com>
11103
11104 * gdb.base/async.exp: Remove early return.
11105
6048b950
PA
111062014-03-19 Pedro Alves <palves@redhat.com>
11107
11108 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11109
8bcfb00a
PA
111102014-03-19 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.base/async.exp (test_background): Expect \r\n after
11113 "completed." in the fail pattern.
11114
884e37dc
PA
111152014-03-19 Pedro Alves <palves@redhat.com>
11116
11117 * gdb.base/async.exp (test_background): New procedure.
11118 Use it for all background execution command tests.
11119
148e57e2
PA
111202014-03-19 Pedro Alves <palves@redhat.com>
11121
11122 * gdb.base/async.exp: Use prepare_for_testing.
11123
f48088c7
PA
111242014-03-19 Pedro Alves <palves@redhat.com>
11125
11126 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11127 the same line.
11128
e2f6c966
PA
111292014-03-19 Pedro Alves <palves@redhat.com>
11130
11131 * gdb.base/async.c (main): Add "jump here" and "until here" line
11132 marker comments.
11133 * gdb.base/async.exp (jump_here): New global.
11134 (jump& test): Use it.
11135 (until_here): New global.
11136 (until& test): Use it.
11137
c30568d4
PA
111382014-03-19 Pedro Alves <palves@redhat.com>
11139
11140 * gdb.base/async.exp: Don't frob gdb_protocol.
11141
0172b6a7
DE
111422014-03-18 Doug Evans <xdje42@gmail.com>
11143
11144 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11145 Fix spelling of exec-done-display.
11146
06c868a8
JK
111472014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11148
11149 PR gdb/15358
11150 * gdb.base/gdb-sigterm.c: New file.
11151 * gdb.base/gdb-sigterm.exp: New file.
11152
0c7e1a46
PA
111532014-03-18 Pedro Alves <palves@redhat.com>
11154
11155 PR gdb/13860
11156 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11157 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11158 solib-event.
11159
f7c77d93
JB
111602014-03-17 Joel Brobecker <brobecker@adacore.com>
11161
11162 * gdb.ada/pckd_arr_ren: New testcase.
11163
5a1e8c7a
DE
111642014-03-13 Doug Evans <xdje42@gmail.com>
11165
11166 PR guile/16612
11167 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11168 collect after discarding symbols.
11169
350e1a76
DE
111702014-03-13 Ludovic Courtès <ludo@gnu.org>
11171 Doug Evans <xdje42@gmail.com>
11172
11173 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11174 to history survives a gc.
11175
a69900ae
PA
111762014-03-13 Pedro Alves <palves@redhat.com>
11177
11178 * gdb.base/default.exp: Don't test "target procfs".
11179
5db9f0bd
PA
111802014-03-13 Pedro Alves <palves@redhat.com>
11181
11182 * gdb.base/default.exp: Update "target child" and "target procfs"
11183 tests to not expect "Unix".
11184
b3ccfe11
TT
111852014-03-12 Tom Tromey <tromey@redhat.com>
11186
11187 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11188 New procs. Add target-async tests.
11189 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11190 Add target-async tests.
11191
646f4417
AA
111922014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11193
11194 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11195 'func_start' and 'func_end' for the beginning and end of the
11196 function code, respectively.
11197 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11198 'func_end' instead of 'func' and 'main'.
11199
288c211f
AA
112002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11201
11202 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11203 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11204 generate the debug info assembler source.
11205
e0c0f156
AA
112062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11207
11208 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11209 * gdb.dwarf2/arr-subrange.exp: Likewise.
11210 * gdb.dwarf2/dwz.exp: Likewise.
11211 * gdb.dwarf2/method-ptr.exp: Likewise.
11212 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11213 * gdb.dwarf2/subrange.exp: Likewise.
11214 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11215 * gdb.dwarf2/implptrpiece.exp: Likewise.
11216 * gdb.dwarf2/nostaticblock.exp: Likewise.
11217
0e5c4555
AA
112182014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11219
11220 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11221 directory to absolute path name arguments.
11222
5ec18f2b
JG
112232014-03-10 Joel Brobecker <brobecker@adacore.com>
11224
11225 * gdb.ada/tagged_access: New testcase.
11226
847fc4f2
MM
112272014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11228
11229 * gdb.btrace/data.exp: Update expected output.
11230
cc3da688
YQ
112312014-03-06 Yao Qi <yao@codesourcery.com>
11232
11233 * gdb.trace/pr16508.exp: New file.
11234
0f26cec1
PA
112352014-03-05 Pedro Alves <palves@redhat.com>
11236
11237 PR gdb/16575
11238 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11239 procedure.
11240 (top level): Adjust to use it. Add tests that exercise breakpoint
11241 interaction with the code-cache.
11242
7a5a839f
LC
112432014-02-26 Ludovic Courtès <ludo@gnu.org>
11244
11245 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11246 test for 'history-append!'.
11247
31aa7e4e
JB
112482014-02-26 Joel Brobecker <brobecker@adacore.com>
11249
11250 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11251 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11252 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11253 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11254 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11255 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11256
1b588015
JB
112572014-02-26 Joel Brobecker <brobecker@adacore.com>
11258
11259 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11260 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11261 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11262
55426c9d
JB
112632014-02-26 Joel Brobecker <brobecker@adacore.com>
11264
11265 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11266
dc53a7ad
JB
112672014-02-26 Joel Brobecker <brobecker@adacore.com>
11268
11269 * gdb.dwarf2/arr-stride.c: New file.
11270 * gdb.dwarf2/arr-stride.exp: New file.
11271
12ab52e9
PA
112722014-02-26 Pedro Alves <palves@redhat.com>
11273
11274 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11275 that won't ever trigger. Make sure that GDB reports the correct
11276 breakpoint that caused the stop.
11277
849c862e
JK
112782014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11279
11280 PR gdb/16626
11281 * gdb.base/auto-load-script: New file.
11282 * gdb.base/auto-load.c: New file.
11283 * gdb.base/auto-load.exp: New file.
11284
71b7d793
JK
11285 PR gdb/16626
11286 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11287
e2f0d509
JK
112882014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11289
11290 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11291 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11292
50cc37c8
DE
112932014-02-24 Doug Evans <dje@google.com>
11294
11295 * lib/gdb.exp (run_on_host): Log error output if program fails.
11296
ea4758f2
PA
112972014-02-21 Pedro Alves <palves@redhat.com>
11298
11299 * gdb.threads/step-after-sr-lock.c: Rename to ...
11300 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11301 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11302 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11303 ... this.
11304
d7b30f67
SDJ
113052014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11306
11307 PR tdep/16397
11308 * gdb.arch/amd64-stap-special-operands.exp: New file.
11309 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11310 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11311 * gdb.arch/amd64-stap-triplet.S: Likewise.
11312 * gdb.arch/amd64-stap-triplet.c: Likewise.
11313
83deb43f
JB
113142014-02-20 Joel Brobecker <brobecker@adacore.com>
11315
11316 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11317 in .section pseudo-op.
11318
adde2bff
DE
113192014-02-20 lin zuojian <manjian2006@gmail.com>
11320 Joel Brobecker <brobecker@adacore.com>
11321 Doug Evans <xdje42@gmail.com>
11322
11323 PR symtab/16581
11324 * gdb.dwarf2/dw2-icycle.S: New file.
11325 * gdb.dwarf2/dw2-icycle.c: New file.
11326 * gdb.dwarf2/dw2-icycle.exp: New file.
11327
f7bd0f78
SC
113282014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11329
11330 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11331 operations on gdb.Value objects.
11332 * gdb.python/py-value-cc.exp: Add new test to test operations on
11333 gdb.Value objects.
11334
c17ef0d5
DE
113352014-02-18 Doug Evans <dje@google.com>
11336
11337 * Makefile.in (TESTS): New variable.
11338 (expanded_tests, expanded_tests_or_none): New variables
11339 (check-single): Pass $(expanded_tests_or_none) to runtest.
11340 (check-parallel): Only run tests in $(TESTS) if non-empty.
11341 (check/no-matching-tests-found): New rule.
11342 * README: Document TESTS makefile variable.
11343
5dd3176f
DE
113442014-02-18 Doug Evans <dje@google.com>
11345
11346 * Makefile.in (check-parallel): rm -rf outputs temp.
11347
0b10be4f
JK
113482014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11349
11350 Fix "ERROR: no fileid for" in the testsuite.
11351 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11352
85f224e7
DE
113532014-02-12 Doug Evans <dje@google.com>
11354
11355 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11356 (MISCELLANEOUS): New variable.
11357 (clean): rm -rf $(MISCELLANEOUS).
11358 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11359 dwp live in the same directory as symlinks, with each symlink pointed
11360 to a differently named file in a different directory.
11361
149b30ff
DE
113622014-02-11 Doug Evans <dje@google.com>
11363
11364 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11365 of Tcl file commands.
11366
1dfdac32
MK
113672014-02-10 Mark Kettenis <kettenis@gnu.org>
11368
11369 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11370 "kill -SIGUSR1 -1".
11371
aa4fb036
JB
113722014-02-10 Joel Brobecker <brobecker@adacore.com>
11373
11374 * gdb.ada/tick_length_array_enum_idx: New testcase.
11375
ed3ef339
DE
113762014-02-10 Doug Evans <xdje42@gmail.com>
11377
11378 * configure.ac (AC_OUTPUT): Add gdb.guile.
11379 * configure: Regenerate.
11380 * lib/gdb-guile.exp: New file.
11381 * lib/gdb.exp (get_target_charset): New function.
11382 * gdb.base/help.exp: Update expected output from "apropos apropos".
11383 * gdb.guile/Makefile.in: New file.
11384 * gdb.guile/guile.exp: New file.
11385 * gdb.guile/scm-arch.c: New file.
11386 * gdb.guile/scm-arch.exp: New file.
11387 * gdb.guile/scm-block.c: New file.
11388 * gdb.guile/scm-block.exp: New file.
11389 * gdb.guile/scm-breakpoint.c: New file.
11390 * gdb.guile/scm-breakpoint.exp: New file.
11391 * gdb.guile/scm-disasm.c: New file.
11392 * gdb.guile/scm-disasm.exp: New file.
11393 * gdb.guile/scm-equal.c: New file.
11394 * gdb.guile/scm-equal.exp: New file.
11395 * gdb.guile/scm-error.exp: New file.
11396 * gdb.guile/scm-error.scm: New file.
11397 * gdb.guile/scm-frame-args.c: New file.
11398 * gdb.guile/scm-frame-args.exp: New file.
11399 * gdb.guile/scm-frame-args.scm: New file.
11400 * gdb.guile/scm-frame-inline.c: New file.
11401 * gdb.guile/scm-frame-inline.exp: New file.
11402 * gdb.guile/scm-frame.c: New file.
11403 * gdb.guile/scm-frame.exp: New file.
11404 * gdb.guile/scm-generics.exp: New file.
11405 * gdb.guile/scm-gsmob.exp: New file.
11406 * gdb.guile/scm-iterator.c: New file.
11407 * gdb.guile/scm-iterator.exp: New file.
11408 * gdb.guile/scm-math.c: New file.
11409 * gdb.guile/scm-math.exp: New file.
11410 * gdb.guile/scm-objfile-script-gdb.in: New file.
11411 * gdb.guile/scm-objfile-script.c: New file.
11412 * gdb.guile/scm-objfile-script.exp: New file.
11413 * gdb.guile/scm-objfile.c: New file.
11414 * gdb.guile/scm-objfile.exp: New file.
11415 * gdb.guile/scm-ports.exp: New file.
11416 * gdb.guile/scm-pretty-print.c: New file.
11417 * gdb.guile/scm-pretty-print.exp: New file.
11418 * gdb.guile/scm-pretty-print.scm: New file.
11419 * gdb.guile/scm-section-script.c: New file.
11420 * gdb.guile/scm-section-script.exp: New file.
11421 * gdb.guile/scm-section-script.scm: New file.
11422 * gdb.guile/scm-symbol.c: New file.
11423 * gdb.guile/scm-symbol.exp: New file.
11424 * gdb.guile/scm-symtab-2.c: New file.
11425 * gdb.guile/scm-symtab.c: New file.
11426 * gdb.guile/scm-symtab.exp: New file.
11427 * gdb.guile/scm-type.c: New file.
11428 * gdb.guile/scm-type.exp: New file.
11429 * gdb.guile/scm-value-cc.cc: New file.
11430 * gdb.guile/scm-value-cc.exp: New file.
11431 * gdb.guile/scm-value.c: New file.
11432 * gdb.guile/scm-value.exp: New file.
11433 * gdb.guile/source2.scm: New file.
11434 * gdb.guile/types-module.cc: New file.
11435 * gdb.guile/types-module.exp: New file.
11436
7026a7c1
YQ
114372014-02-10 Yao Qi <yao@codesourcery.com>
11438
11439 PR testsuite/16543
11440 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11441 * configure: Regenerated.
11442 * Makefile.in: New file.
11443
6c466447
AS
114442014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11445
11446 * gdb.python/py-framefilter.exp: Fix typo.
11447
6e854735
YQ
114482014-02-08 Yao Qi <yao@codesourcery.com>
11449
11450 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11451 that no =breakpoint-modified is emitted when breakpoints are
11452 modified through MI commands.
11453
d137e6dc
PA
114542014-02-07 Pedro Alves <pedro@codesourcery.com>
11455 Pedro Alves <palves@redhat.com>
11456
11457 * gdb.threads/step-after-sr-lock.c: New file.
11458 * gdb.threads/step-after-sr-lock.exp: New file.
11459
b5ee5a50
PA
114602014-02-07 Pedro Alves <palves@redhat.com>
11461
11462 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11463
3c77faf3
JK
114642014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11465
11466 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11467 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11468
6dddc817
DE
114692014-02-06 Doug Evans <xdje42@gmail.com>
11470
11471 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11472 output.
11473
11474 * gdb.gdb/python-interrupts.exp: New file.
11475
de7b2893
YQ
114762014-02-05 Yao Qi <yao@codesourcery.com>
11477
11478 * gdb.trace/report.exp (use_collected_data): Test the output
11479 of "info threads" and "info inferiors".
11480
66d032ac
YQ
114812014-02-05 Yao Qi <yao@codesourcery.com>
11482
11483 Revert this patch:
11484
11485 2013-05-24 Yao Qi <yao@codesourcery.com>
11486
11487 * gdb.trace/tfile.exp: Test inferior and thread.
11488
591a12a1
UW
114892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11490
11491 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11492 on a function.
11493 * gdb.base/step-bt.c: Call hello via function pointer to make
11494 sure its first instruction is executed on powerpc64le-linux.
11495
0ff3e01f
UW
114962014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11497
11498 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11499
084ee545
UW
115002014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11501
11502 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11503 of the test patterns for use on little-endian systems.
11504
6ed14ff3
UW
115052014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11506
11507 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11508 (decimal_vector): Fix for little-endian.
11509
401e27fd
JM
115102014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11511
11512 * gdb.arch/sparc-sysstep.exp: New file.
11513 * gdb.arch/sparc-sysstep.c: Likewise.
11514
11515 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11516
8b924729
EBM
115172014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11518
11519 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11520
fb151210
JB
115212014-01-23 Tom Tromey <tromey@redhat.com>
11522
11523 * gdb.ada/array_char_idx: New testcase.
11524
0740f8d8
TT
115252014-01-23 Tom Tromey <tromey@redhat.com>
11526
11527 PR python/16487:
11528 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11529 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11530 classes.
11531
21909fa1
TT
115322014-01-23 Tom Tromey <tromey@redhat.com>
11533
11534 PR python/16491:
11535 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11536 string from an inferior frame.
11537 * gdb.python/py-framefilter-mi.exp: Update.
11538
87ce2a04
DE
115392014-01-22 Doug Evans <dje@google.com>
11540
11541 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11542
237b092b
AA
115432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11544
11545 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11546
d674a709
AA
115472014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11548
11549 * gdb.trace/entry-values.exp: Remove excess space character from
11550 regex patterns. Handle s390 call instruction.
11551
20fa3390
AA
115522014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11553
11554 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11555 define "*_start" label. Make "name" static.
11556 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11557 ${name} by references to ${name}_start.
11558
78466714
AA
115592014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11560
11561 * gdb.base/info-macros.exp: Remove "debug" from the compile
11562 options.
11563
ec9f644a
IB
115642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11565
11566 * gdb.dlang/demangle.exp: New file.
11567
94b1b47e
IB
115682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11569
11570 * gdb.dlang/primitive-types.exp: New file.
11571
7f420862
IB
115722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11573
11574 * configure.ac: Create gdb.dlang/Makefile.
11575 * configure: Regenerate.
11576 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11577 * gdb.dlang/Makefile.in: New file.
11578 * lib/d-support.exp: New file.
11579 * lib/gdb.exp (skip_d_tests): New proc.
11580
52834460
MM
115812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11582
11583 * gdb.btrace/delta.exp: Check reverse stepi.
11584 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11585 * gdb.btrace/finish.exp: New.
11586 * gdb.btrace/next.exp: New.
11587 * gdb.btrace/nexti.exp: New.
11588 * gdb.btrace/record_goto.c: Add comments.
11589 * gdb.btrace/step.exp: New.
11590 * gdb.btrace/stepi.exp: New.
11591 * gdb.btrace/multi-thread-step.c: New.
11592 * gdb.btrace/multi-thread-step.exp: New.
11593 * gdb.btrace/rn-dl-bind.c: New.
11594 * gdb.btrace/rn-dl-bind.exp: New.
11595 * gdb.btrace/data.c: New.
11596 * gdb.btrace/data.exp: New.
11597 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11598
6e07b1d2
MM
115992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11600
11601 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11602 * gdb.btrace/exception.exp: Update.
11603 * gdb.btrace/instruction_history.exp: Update.
11604 * gdb.btrace/record_goto.exp: Update.
11605 * gdb.btrace/tailcall.exp: Update.
11606 * gdb.btrace/unknown_functions.exp: Update.
11607 * gdb.btrace/delta.exp: New.
11608
0b722aec
MM
116092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11610
11611 * gdb.btrace/record_goto.exp: Add backtrace test.
11612 * gdb.btrace/tailcall.exp: Add backtrace test.
11613
066ce621
MM
116142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11615
11616 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11617 * gdb.btrace/record_goto.c: New.
11618 * gdb.btrace/record_goto.exp: New.
11619 * gdb.btrace/x86-record_goto.S: New.
11620
0688d04e
MM
116212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11622
11623 * gdb.btrace/function_call_history.exp: Update tests.
11624 * gdb.btrace/instruction_history.exp: Update tests.
11625
8710b709
MM
116262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11627
11628 * gdb.btrace/function_call_history.exp: Fix expected field
11629 order for "record function-call-history".
11630 Add new tests for "record function-call-history /c".
11631 * gdb.btrace/exception.cc: New.
11632 * gdb.btrace/exception.exp: New.
11633 * gdb.btrace/tailcall.exp: New.
11634 * gdb.btrace/x86-tailcall.S: New.
11635 * gdb.btrace/x86-tailcall.c: New.
11636 * gdb.btrace/unknown_functions.c: New.
11637 * gdb.btrace/unknown_functions.exp: New.
11638 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11639
5de9129b
MM
116402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11641
11642 * gdb.btrace/instruction_history.exp: Update.
11643 * gdb.btrace/function_call_history.exp: Update.
11644
23a7fe75
MM
116452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11646
11647 * gdb.btrace/function_call_history.exp: Fix expected function
11648 trace.
11649 * gdb.btrace/instruction_history.exp: Initialize traced.
11650 Remove traced_functions.
11651
724c7dd8
MM
116522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11653
11654 * gdb.btrace/function_call_history.exp: Update
11655 * gdb.btrace/instruction_history.exp: Update.
11656
6d78d93b
MM
116572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11658
11659 * gdb.btrace/enable.exp: Update expected text.
11660
93a360cc
OJ
116612014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11662
11663 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11664 bytes.
11665
3772b53f
MR
116662014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11667
11668 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11669
596662fa
OJ
116702014-01-15 Omair Javaid <omair.javaid@linaro.org>
11671
11672 * lib/gdb.exp (supports_process_record): Return true for
11673 arm*-linux*. (supports_reverse): Likewise.
11674
b5b08fb4
SC
116752014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11676
11677 PR python/15464
11678 PR python/16113
11679 * gdb.python/py-type.c: Enhance test case.
11680 * gdb.python/py-value-cc.cc: Likewise
11681 * gdb.python/py-type.exp: Add new tests.
11682 * gdb.python/py-value-cc.exp: Likewise
11683
52d7fb13
AA
116842014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11685 Pedro Alves <palves@redhat.com>
11686
11687 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11688 Make "name" extern.
11689 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11690 references to ${name}_start by references to ${name}.
11691
a2cd8cfe
JB
116922014-01-10 Joel Brobecker <brobecker@adacore.com>
11693
11694 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11695
4e23fced
JB
116962014-01-10 Joel Brobecker <brobecker@adacore.com>
11697
11698 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11699
c6a9e42c
PA
117002014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11701 Pedro Alves <palves@redhat.com>
11702
11703 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 11704 mi_gdb_target_load.
c6a9e42c 11705
b7ea362b
PA
117062014-01-08 Pedro Alves <palves@redhat.com>
11707
11708 * gdb.threads/reconnect-signal.c: New file.
11709 * gdb.threads/reconnect-signal.exp: New file.
11710
5e3f4fab
EBM
117112014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11712
11713 * gdb.base/source-dir.exp: New file.
11714
79301218
JB
117152014-01-07 Joel Brobecker <brobecker@adacore.com>
11716
11717 * gdb.ada/mi_interface: New testcase.
11718
8e355c5d
JB
117192014-01-07 Joel Brobecker <brobecker@adacore.com>
11720
11721 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11722 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11723 gdb.ada/pp-rec-component/pck.ads: New files.
11724
c0d48811
JB
117252014-01-07 Joel Brobecker <brobecker@adacore.com>
11726
11727 * gdb.python/py-pp-integral.c: New file.
11728 * gdb.python/py-pp-integral.py: New file.
11729 * gdb.python/py-pp-integral.exp: New file.
11730
17b609c3 11731For older changes see ChangeLog-1993-2013.
c906108c 11732\f
8d8cb839
EZ
11733;; Local Variables:
11734;; mode: change-log
11735;; left-margin: 8
11736;; fill-column: 74
11737;; version-control: never
11738;; End:
902f2ccb 11739
61baf725 11740 Copyright 2014-2017 Free Software Foundation, Inc.
902f2ccb
MC
11741 Copying and distribution of this file, with or without modification,
11742 are permitted provided the copyright notice and this notice are preserved.
This page took 2.897527 seconds and 4 git commands to generate.