]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix compile-cplus-types.c build errors
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
078a0207
KS
12018-08-29 Keith Seitz <keiths@redhat.com>
2
3 * gdb.compile/compile-cplus-anonymous.cc: New file.
4 * gdb.compile/compile-cplus-anonymous.exp: New file.
5 * gdb.compile/compile-cplus-array-decay.cc: New file.
6 * gdb.compile/compile-cplus-array-decay.exp: New file.
7 * gdb.compile/compile-cplus-inherit.cc: New file.
8 * gdb.compile/compile-cplus-inherit.exp: New file.
9 * gdb.compile/compile-cplus-member.cc: New file.
10 * gdb.compile/compile-cplus-member.exp: New file.
11 * gdb.compile/compile-cplus-method.cc: New file.
12 * gdb.compile/compile-cplus-method.exp: New file.
13 * gdb.compile/compile-cplus-mod.c: "New" file.
14 * gdb.compile/compile-cplus-namespace.cc: New file.
15 * gdb.compile/compile-cplus-namespace.exp: New file.
16 * gdb.compile/compile-cplus-nested.cc: New file.
17 * gdb.compile/compile-cplus-nested.exp: New file.
18 * gdb.compile/compile-cplus-print.c: "New" file.
19 * gdb.compile/compile-cplus-print.exp: "New" file.
20 * gdb.compile/compile-cplus-virtual.cc: New file.
21 * gdb.compile/compile-cplus-virtual.exp: New file.
22 * gdb.compile/compile-cplus.c: "New" file.
23 * gdb.compile/compile-cplus.exp: "New" file.
24 * lib/compile-support.exp: New file.
25
b0f492b9
GB
262018-08-16 Gary Benson <gbenson@redhat.com>
27
28 PR gdb/13000:
29 * gdb.base/batch-exit-status.exp: New file.
30 * gdb.base/batch-exit-status.good-commands: Likewise.
31 * gdb.base/batch-exit-status.bad-commands: Likewise.
32
36eb4c5f
AH
332018-08-29 Alan Hayward <alan.hayward@arm.com>
34
35 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
36 (struct struct02): Likewise.
37 (struct struct03): Likewise.
38 (struct struct04): Likewise.
39 (struct struct_01_01): New struct.
40 (struct struct_01_02): Likewise.
41 (struct struct_01_03): Likewise.
42 (struct struct_01_04): Likewise.
43 (struct struct_02_01): Likewise.
44 (struct struct_02_02): Likewise.
45 (struct struct_02_03): Likewise.
46 (struct struct_02_04): Likewise.
47 (struct struct_04_01): Likewise.
48 (struct struct_04_02): Likewise.
49 (struct struct_04_03): Likewise.
50 (struct struct_04_04): Likewise.
51 (struct struct_05_01): Likewise.
52 (struct struct_05_02): Likewise.
53 (struct struct_05_03): Likewise.
54 (struct struct_05_04): Likewise.
55 (cmp_struct01): Remove function.
56 (cmp_struct02): Likewise.
57 (cmp_struct03): Likewise.
58 (cmp_struct04): Likewise.
59 (cmp_struct_01_01): Add Function.
60 (cmp_struct_01_02): Likewise.
61 (cmp_struct_01_03): Likewise.
62 (cmp_struct_01_04): Likewise.
63 (cmp_struct_02_01): Likewise.
64 (cmp_struct_02_02): Likewise.
65 (cmp_struct_02_03): Likewise.
66 (cmp_struct_02_04): Likewise.
67 (cmp_struct_04_01): Likewise.
68 (cmp_struct_04_02): Likewise.
69 (cmp_struct_04_03): Likewise.
70 (cmp_struct_04_04): Likewise.
71 (cmp_struct_05_01): Likewise.
72 (cmp_struct_05_02): Likewise.
73 (cmp_struct_05_03): Likewise.
74 (cmp_struct_05_04): Likewise.
75 (call_all): Add new structs.
76 * gdb.base/infcall-nested-structs.exp: Likewise.
77
3bf9c013
JV
782018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
79
80 * gdb.python/py-framefilter-mi.exp: Update regexp to
81 check for "arch" field in frame output.
82
450d1e88
KB
832018-08-23 Kevin Buettner <kevinb@redhat.com>
84
85 * gdb.dwarf2/dw2-ranges-func.c: New file.
86 * gdb.dwarf2/dw2-ranges-func.exp: New file.
87
ae739fe7
SM
882018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
89
90 * gdb.base/term.exp: Compare terminal settings with values from
91 the inferior.
92 * gdb.base/term.c: Get and set terminal settings.
93
6d52907e
JV
942018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
95
96 * lib/mi-support.exp (mi_expect_stop): Update regexp to
97 accommodate new "arch" field in frame output.
98 * gdb.mi/mi-return.exp: Likewise.
99 * gdb.mi/mi-stack.exp: Likewise.
100 * gdb.mi/mi-syn-frame.exp: Likewise.
101 * gdb.mi/user-selected-context-sync.exp: Likewise.
102
be2d111a
MS
1032018-08-19 Michael Spang <spang@google.com>
104
105 PR gdb/11786
106 * gdb.base/gcore-tls-pie.c: New file.
107 * gdb.base/gcore-tls-pie.exp: New file.
108
ae3a7c47
KB
1092018-08-18 Kevin Buettner <kevinb@redhat.com>
110
111 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
112 * gdb.dwarf2/varval.c: New file.
113 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 114
2ecae92e
AH
1152018-08-17 Alan Hayward <alan.hayward@arm.com>
116
117 PR gdb/18931
118 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
119
c1854f1d
KS
1202018-08-16 Keith Seitz <keiths@redhat.com>
121
122 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
123 tests expected to pass.
124
26fb3983
JV
1252018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
126
127 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
128 -data-disassemble -a.
129 (test_disassembly_bogus_args): Likewise.
130
67943c00
AB
1312018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
134
5ff2bbae
AB
1352018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.base/vla-optimized-out.exp: Add new test.
138
e5bbcd0f
AB
1392018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
140
141 * gdb.base/vla-optimized-out-o3.exp: Delete.
142 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
143 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
144 deleted tests.
145
9d4a934c
AB
1462018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
147
148 PR gdb/18050:
149 * gdb.server/extended-remote-restart.c: New file.
150 * gdb.server/extended-remote-restart.exp: New file.
151
045cf012
SM
1522018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
153
154 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
155 "set variable index = 42".
156
87d6a7aa
SM
1572018-08-07 Simon Marchi <simon.marchi@ericsson.com>
158
159 * boards/index-cache-gdb.exp: New file.
160 * gdb.dwarf2/index-cache.exp: New file.
161 * gdb.dwarf2/index-cache.c: New file.
162 * gdb.base/maint.exp: Check if we are using the index cache.
163
96d68bd4
RO
1642018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
165
166 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
167 MAKEFLAGS.
168
5a699617
RO
1692018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
170
171 * dg-extract-results.sh: Move to toplevel contrib.
172 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
173 * Makefile.in (check-parallel-racy): Likewise.
174
5bd18990
AB
1752018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
178 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
179 tests if the target supports scheduler locking.
180
3fbbcf47
TV
1812018-08-04 Tom de Vries <tdevries@suse.de>
182
183 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
184
3e1d3d8c
TT
1852018-08-02 Tom Tromey <tom@tromey.com>
186
187 PR symtab/16842.
188 * gdb.cp/temargs.exp: Test "info address" of a template
189 parameter.
190
5abe0f0c
JV
1912018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
192
193 * gdb.python/py-mi-var-info-path-expression.c: New file.
194 * gdb.python/py-mi-var-info-path-expression.py: New file.
195 * gdb.python/py-mi-var-info-path-expression.exp: New file.
196
fb66cde8
SDJ
1972018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
198
199 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
200 error after "cannot resolve name" string.
201
c708f4d2
AB
2022018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
203
204 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
205 started.
206 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
207
37cc0cae
TV
2082018-07-28 Tom de Vries <tdevries@suse.de>
209
210 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
211
63b4ecf7
TV
2122018-07-26 Tom de Vries <tdevries@suse.de>
213
214 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
215
3c3bb058
AB
2162018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
219 is visible.
220
9e7f3bbb
TV
2212018-07-26 Tom de Vries <tdevries@suse.de>
222
223 PR breakpoints/23366
224 * gdb.base/catch-follow-exec.c: New test.
225 * gdb.base/catch-follow-exec.exp: New file.
226
16f808ec
TV
2272018-07-25 Tom de Vries <tdevries@suse.de>
228
229 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
230 vla-optimized-out.c.
231
d7154a8d
JV
2322018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
233
234 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
235 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
236
232a0032
TV
2372018-07-20 Tom de Vries <tdevries@suse.de>
238
239 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
240 NOCLONE macro.
241 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
242
fbb1d502
TV
2432018-07-19 Tom de Vries <tdevries@suse.de>
244
245 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
246 regular expression.
247
42dc7699
TV
2482018-07-18 Tom de Vries <tdevries@suse.de>
249
250 * gdb.base/vla-optimized-out.c: New test.
251 * gdb.base/vla-optimized-out.exp: New file.
252
7f1f7e23
SDJ
2532018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
254
255 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
256 message "No address associated with hostname" when gdbserver
257 cannot resolve the hostname.
258
5759ebb3
PW
2592018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
260
261 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
262 Add some test prefixes to make tests unique.
263
3606ccab
PW
2642018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
265
266 * gdb.base/frameapply.c: New file.
267 * gdb.base/frameapply.exp: New file.
268
529c08b2
PW
2692018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
270
271 * gdb.base/skip.exp: Update expected error message.
272
c7ab0aef
SDJ
2732018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
274 Jan Kratochvil <jan.kratochvil@redhat.com>
275 Paul Fertser <fercerpav@gmail.com>
276 Tsutomu Seki <sekiriki@gmail.com>
277
278 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
279 parameter.
280 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
281 by default.
282 * boards/native-gdbserver.exp: Likewise.
283 * gdb.server/run-without-local-binary.exp: Improve regexp used
284 for detecting when a remote debugging connection succeeds.
285 * gdb.server/server-connect.exp: New file.
286 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
287 Do not prefix the port number with ":".
288 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
289 support for detecting and using it. Add '$debughost_gdbserver'
290 to the list of arguments used to start gdbserver. Handle case
291 when gdbserver cannot resolve a network name.
292
16ff70dd
SDJ
2932018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
294
295 PR c++/23373
296 * gdb.base/ptype-offsets.cc (struct static_member): New
297 struct.
298 (main) <stmember>: New variable.
299 * gdb.base/ptype-offsets.exp: Add test for printing a struct
300 with a static member in it.
301
3541979f
AB
3022018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
303
304 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
305 watchpoints enabled and disabled.
306
c8ad9b9a
AB
3072018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
308
309 * gdb.base/examine-backward.exp: Still run tests around address
310 0x0, even if address 0x0 is not readable. Update the pattern for
311 matching address 0x0 in expected output.
312
e0e5e971
AB
3132018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
314
315 * gdb.base/share-env-with-gdbserver.c (main): Add call to
316 malloc/free.
317
1ea5da02
TV
3182018-07-04 Tom de Vries <tdevries@suse.de>
319
320 * gdb.dwarf2/dw2-error.exp: Update expected error message.
321
471b9d15
MR
3222018-07-02 Maciej W. Rozycki <macro@mips.com>
323
324 PR tdep/8282
325 * gdb.arch/mips-disassembler-options.exp: New test.
326 * gdb.arch/mips-disassembler-options.s: New test source.
327
75acb486
PA
3282018-06-29 Pedro Alves <palves@redhat.com>
329
330 * gdb.threads/names.exp: Adjust expected "info threads" output.
331
cd2bb709
PA
3322018-06-29 Pedro Alves <palves@redhat.com>
333
334 * gdb.opt/inline-break.exp (line number, address): Add "info
335 break" tests.
336
991ff292
PA
3372018-06-29 Pedro Alves <palves@redhat.com>
338
339 * gdb.opt/inline-break.c (func1): Add "break here" marker.
340 * gdb.opt/inline-break.exp: Test setting breakpoints by line
341 number and address and running to them.
342
356819b6 3432018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
344
345 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
346
2512d7ef
JK
3472018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
348
349 * lib/compiler.c: Remove executable permission flag.
350
be1b6474
RB
3512018-06-28 Richard Bunt <richard.bunt@arm.com>
352
353 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
354 code.
355 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
356
291f9a96
PT
3572018-06-28 Petr Tesarik <ptesarik@suse.cz>
358
359 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
360
ed6dfe51
PT
3612018-06-28 Petr Tesarik <ptesarik@suse.cz>
362
363 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
364 address argument is omitted.
365
d4d429d5
PT
3662018-06-28 Petr Tesarik <ptesarik@suse.cz>
367
368 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
369
7ab6656f
OJ
3702018-06-27 Omair Javaid <omair.javaid@linaro.org>
371
372 PR gdb/21695
373 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
374 * gdb.base/infoline-reloc-main-from-zero.c: New file.
375
a33ccfc7
TT
3762018-06-26 Tom Tromey <tom@tromey.com>
377
378 PR rust/22574:
379 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
380 * gdb.rust/simple.rs (struct SimpleLayout): New.
381
6d72d289
SM
3822018-06-22 Simon Marchi <simon.marchi@ericsson.com>
383
384 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
385 "info registers" output.
386
8363f9d5
RB
3872018-06-21 Richard Bunt <richard.bunt@arm.com>
388
389 * gdb.base/watchpoint-hw-attach.c: New test.
390 * gdb.base/watchpoint-hw-attach.exp: New file.
391
f00674fe
SM
3922018-06-20 Simon Marchi <simon.marchi@ericsson.com>
393
394 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
395 through /bin/sh.
396 * boards/dwarf4-gdb-index.exp: Likewise.
397 * boards/fission-dwp.exp: Likewise.
398
1d554008
UW
3992018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
400
401 * gdb.base/float128.exp: Add comment and improved fail message
402 to the failure case of "print large128" test.
403
d0ac1c44
SM
4042018-06-19 Simon Marchi <simon.marchi@ericsson.com>
405
406 * configure.ac: Remove AC_PREREQ.
407 * configure: Re-generate.
408
61b04dd0
PA
4092018-06-19 Pedro Alves <palves@redhat.com>
410
411 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
412 (func_extern_caller): New.
413 (main): Call func_extern_caller.
414 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
415 logic change.
416
f63b508a
SM
4172018-06-18 Weimin Pan <weimin.pan@oracle.com>
418
419 PR gdb/16841
420 * gdb.cp/typedef-base.cc: New file.
421 * gdb.cp/typedef-base.exp: New file.
422
0fe3a558
TV
4232018-06-18 Tom de Vries <tdevries@suse.de>
424
425 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
426
7010835a
AB
4272018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
428 Richard Bunt <Richard.Bunt@arm.com>
429
430 * gdb.threads/attach-slow-waitpid.c: New file.
431 * gdb.threads/attach-slow-waitpid.exp: New file.
432 * gdb.threads/slow-waitpid.c: New file.
433
14897d65
PA
4342018-06-14 Pedro Alves <palves@redhat.com>
435
436 * gdb.base/fork-running-state.c: Include <errno.h>.
437 (exit_if_relative_exits): New.
438 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
439 exits.
440 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
441 child exits.
442
5d9a0608
TV
4432018-06-14 Tom de Vries <tdevries@suse.de>
444
445 PR cli/22573
446 * gdb.base/finish-pretty.c: New test.
447 * gdb.base/finish-pretty.exp: New file.
448
11ae5818
PA
4492018-06-14 Pedro Alves <palves@redhat.com>
450
451 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
452 gdb's expected startup output.
453
1d39de44
PA
4542018-06-14 Pedro Alves <palves@redhat.com>
455
456 * lib/selftest-support.exp (selftest_setup): Remove inlined
457 function handling.
458
70ee0000
TV
4592018-06-14 Tom de Vries <tdevries@suse.de>
460
461 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
462 matching of breakpoint printing.
463
11f4b608
TV
4642018-06-13 Tom de Vries <tdevries@suse.de>
465
466 PR testsuite/23269
467 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
468 (fork_child): ... here, and ...
469 (fork_parent): ... here.
470
4712018-06-12 Tom de Vries <tdevries@suse.de>
472
473 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
474
9516f85a
AB
4752018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
476 Stephen Roberts <stephen.roberts@arm.com>
477
478 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
479 rewrite test to describe action performed, rather than possible
480 failure.
481
5045b3d7
GB
4822018-06-08 Gary Benson <gbenson@redhat.com>
483
484 * gdb.threads/check-libthread-db.exp: New file.
485 * gdb.threads/check-libthread-db.c: Likewise.
486
c61b06a1
TT
4872018-06-05 Tom Tromey <tom@tromey.com>
488
489 * gdb.base/default.exp: Update expected "show version" output.
490
eb6af809
TT
4912018-06-05 Tom Tromey <tom@tromey.com>
492
493 PR cli/12326:
494 * gdb.cp/static-print-quit.exp: Update.
495 * lib/gdb.exp (pagination_prompt): Update.
496 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
497 * gdb.python/python.exp: Update.
498
178d6a63
JB
4992018-06-04 Joel Brobecker <brobecker@adacore.com>
500
501 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
502
8e817061
JB
5032018-06-01 Joel Brobecker <brobecker@adacore.com>
504
505 * gdb.ada/bp_fun_addr: New testcase.
506
e86ca25f
TT
5072018-06-01 Tom Tromey <tom@tromey.com>
508
509 * gdb.xml/tdesc-regs.exp (load_description): Update expected
510 results.
511 * gdb.dwarf2/method-ptr.exp: Set language to C++.
512 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
513 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
514 * gdb.base/maint.exp (maint_pass_if): Update.
515
4b2dfa9d
MR
5162018-05-31 Maciej W. Rozycki <macro@mips.com>
517
518 * gdb.base/endian.exp: New test.
519 * gdb.base/endian.c: New test source.
520
45f25d6c
AB
5212018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
522
523 PR gdb/23203
524 * gdb.base/bt-selected-frame.c: New file.
525 * gdb.base/bt-selected-frame.exp: New file.
526 * lib/gdb.exp (get_current_frame_number): New function.
527
d9f6d7f8
MR
5282018-05-24 Maciej W. Rozycki <macro@mips.com>
529 Pedro Alves <palves@redhat.com>
530
531 * gdb.threads/tls-core.c: Include <stdlib.h>
532 (thread_proc): Call `abort'.
533 * gdb.threads/tls-core.exp: Generate a core with core_find too.
534 (tls_core_test): New procedure, bits factored out from ...
535 (top level): ... here. Test both native cores and gcore cores.
536
ff1cf532
TT
5372018-05-23 Tom Tromey <tom@tromey.com>
538
539 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
540
b98664d3
TT
5412018-05-23 Tom Tromey <tom@tromey.com>
542
543 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
544 symfile_complaints.
545 (test_short_complaints): Likewise.
546 (test_empty_complaints): Likewise.
547 (test_initial_complaints): Update.
548
4e9668d0
TT
5492018-05-23 Tom Tromey <tom@tromey.com>
550
551 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
552
43ba33c7
TT
5532018-05-23 Tom Tromey <tom@tromey.com>
554
555 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
556 (test_short_complaints): Update.
557
035522c0
PA
5582018-05-22 Pedro Alves <palves@redhat.com>
559
560 * gdb.base/remote.exp: Only gdb_start after compiling the
561 testcase. Issue "disconnect" before testing "set remote" command
562 defaults. Issue clean_restart before running to main.
563
cc0be08f
PA
5642018-05-22 Pedro Alves <palves@redhat.com>
565
566 * gdb.base/remote.exp: Adjust expected output of "show remote
567 memory-write-packet-size". Add tests for "set remote
568 memory-write-packet-size 0" and "set remote
569 memory-write-packet-size fixed/limit".
570
b1b60145
PA
5712018-05-22 Pedro Alves <palves@redhat.com>
572
573 PR gdb/22973
574 * gdb.base/utf8-identifiers.c: New file.
575 * gdb.base/utf8-identifiers.exp: New file.
576
0ec848ad
PFC
5772018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
578
579 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
580
2c3305f6
PFC
5812018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
582
583 * gdb.arch/powerpc-vsx-gcore.exp: New file.
584
ce1e8424
TT
5852018-05-18 Tom Tromey <tom@tromey.com>
586
587 * gdb.base/ptype-offsets.exp: Update.
588
ddfe970e
KS
5892018-05-17 Keith Seitz <keiths@redhat.com>
590
591 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
592 in expected breakpoint stop locations.
593 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
594 move to proper scope to test variable values.
595 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
596 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
597 New functions.
598 (main): Call not_inline_func3.
599 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
600 inline_func1, inline_func2, and inline_func3. Test that when each
601 breakpoint is hit, GDB properly reports both the stop location
602 and the backtrace. Repeat tests for temporary breakpoints.
603
0726fcc6
MR
6042018-05-15 Maciej W. Rozycki <macro@mips.com>
605
606 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
607 rather then trying to access it in determining whether the PID
608 of `gdbserver' could have been retrieved.
609
8ee22052
AB
6102018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
611
612 * gdb.arch/amd64-init-x87-values.S: New file.
613 * gdb.arch/amd64-init-x87-values.exp: New file.
614
7785df48
JK
6152018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
616
617 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
618
56bcdbea
TT
6192018-05-04 Tom Tromey <tom@tromey.com>
620
621 PR python/22730:
622 * gdb.python/python.exp: Test multi-line execute.
623
a913fffb
TT
6242018-05-04 Tom Tromey <tom@tromey.com>
625
626 PR python/22731:
627 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
628
7a2c85f2
TT
6292018-05-04 Tom Tromey <tom@tromey.com>
630
631 PR gdb/11750:
632 * gdb.base/define.exp: Test defining a user command inside a user
633 command.
634 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
635
a3b60e45
JK
6362018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
637 Pedro Alves <palves@redhat.com>
638
639 PR breakpoints/19806 and support for PR external/20207.
640 * gdb.base/watchpoint-unaligned.c: New file.
641 * gdb.base/watchpoint-unaligned.exp: New file.
642
45fe4a03
AB
6432018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
644
645 * gdb.base/maint.exp: Make test names unique, use
646 test_prefix_command_help to test 'help maint info', and remove
647 repeated test of 'help maint'.
648
9be2ae8f
TT
6492018-05-04 Tom Tromey <tom@tromey.com>
650
651 PR gdb/22619:
652 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
653 behavior.
654
11859c31
AB
6552018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * gdb.base/maint.exp: Process output from 'maint print registers'
658 line at a time.
659
089a9490
AB
6602018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
663 timeout.
664
9b0797e2
AB
6652018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
668 filter pattern.
669
f6ac5f3d
PA
6702018-05-02 Pedro Alves <palves@redhat.com>
671
672 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
673 to_log_command renames.
674 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
675
77d3c63b
TT
6762018-05-02 Tom Tromey <tom@tromey.com>
677
678 * gdb.python/py-parameter.exp: Set test message.
679
0489430a
TT
6802018-05-02 Tom Tromey <tom@tromey.com>
681
682 PR python/20084:
683 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
684 PARAM_ZUINTEGER_UNLIMITED tests.
685
1632f8ba
DR
6862018-04-28 Dan Robertson <danlrobertson89@gmail.com>
687
688 PR rust/23124
689 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
690 when casting.
691
6d7bb824
TT
6922018-04-30 Tom Tromey <tom@tromey.com>
693
694 * gdb.python/py-type.exp: Check align attribute.
695 * gdb.python/py-type.c: New "aligncheck" global.
696
007e1530
TT
6972018-04-30 Tom Tromey <tom@tromey.com>
698
699 PR exp/17095:
700 * gdb.dwarf2/dw2-align.exp: New file.
701 * gdb.cp/align.exp: New file.
702 * gdb.base/align.exp: New file.
703 * lib/gdb.exp (gdb_int128_helper): New proc.
704 (has_int128_c, has_int128_cxx): New caching procs.
705
6873858b
TT
7062018-04-27 Tom Tromey <tom@tromey.com>
707
708 PR rust/22545:
709 * gdb.rust/simple.exp: Add inclusive range tests.
710
79188d8d
PA
7112018-04-26 Pedro Alves <palves@redhat.com>
712
713 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
714 ifunc breakpoint locations correctly of ifunc breakpoints set
715 while the program resolves the ifunc.
716
c7075ad5
PA
7172018-04-26 Pedro Alves <palves@redhat.com>
718
719 * gdb.base/gnu-ifunc-final.c: New file.
720 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
721 * gdb.base/gnu-ifunc.exp (executable): Delete.
722 (staticexecutable): Adjust.
723 (lib_opts, exec_opts): Delete.
724 (make_binsuffix, build, set-break): New procedures.
725 (misc_tests): New, with tests factored out from the top level.
726 (top level): Test different combinations of ifunc resolver name,
727 resolver with and with debug info, and ifunc target with and
728 without debug info. Wrap static tests with with_target_prefix.
729
8388016d
PA
7302018-04-26 Pedro Alves <palves@redhat.com>
731
732 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
733 return type" warnings.
734
249b5733
PA
7352018-04-25 Pedro Alves <palves@redhat.com>
736
737 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
738 killed".
739 * gdb.base/kill-after-signal.exp: Likewise.
740 * gdb.threads/kill.exp: Likewise.
741
f67c0c91
SDJ
7422018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
743 Sergio Durigan Junior <sergiodj@redhat.com>
744 Pedro Alves <palves@redhat.com>
745
746 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
747 regexps to expect for '[Inferior ... detached]' as well.
748 * gdb.base/attach.exp: Likewise.
749 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
750 "gdb_continue_to_end".
751 (test_catch_syscall_with_wrong_args): Likewise.
752 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
753 ']'. Don't set 'verbose' on.
754 * gdb.base/foll-vfork.exp: Likewise.
755 * gdb.base/fork-print-inferior-events.c: New file.
756 * gdb.base/fork-print-inferior-events.exp: New file.
757 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
758 '[Inferior ... has been killed]' message.
759 * gdb.base/kill-after-signal.exp: Likewise.
760 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
761 detach message.
762 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
763 message.
764 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
765 regexps to expect for '[Inferior ... detached]' as well.
766 * gdb.threads/process-dies-while-detaching.exp: Likewise.
767
0a8ddac4
SM
7682018-04-24 Simon Marchi <simon.marchi@ericsson.com>
769
770 PR gdb/23104
771 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
772
d27d16bf
RB
7732018-04-19 Richard Bunt <richard.bunt@arm.com>
774
775 * gdb.threads/multiple-successive-infcall.c: New test.
776 * gdb.threads/multiple-successive-infcall.exp: New file.
777
a037790e
TT
7782018-04-17 Tom Tromey <tom@tromey.com>
779
780 * gdb.rust/simple.rs (Union): New type.
781 (main): New local "u".
782 * gdb.rust/simple.exp (test_one_slice): Add new test case.
783
e3a91079
AA
7842018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
785
786 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
787 number information in output of "whereis" command.
788 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
789
b744723f
AA
7902018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
791
792 * gdb.ada/info_types.exp: Adjust expected output to the line
793 numbers now printed by "info var/func/type".
794 * gdb.base/completion.exp: Likewise.
795 * gdb.base/included.exp: Likewise.
796 * gdb.cp/cp-relocate.exp: Likewise.
797 * gdb.cp/cplusfuncs.exp: Likewise.
798 * gdb.cp/namespace.exp: Likewise.
799 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
800
4a4495d6
MM
8012018-04-13 Markus Metzger <markus.t.metzger@intel.com>
802
803 * gdb.btrace/cpu.exp: New.
804
1d509aa6
MM
8052018-04-13 Markus Metzger <markus.t.metzger@intel.com>
806
807 * gdb.base/step-indirect-call-thunk.exp: New.
808 * gdb.base/step-indirect-call-thunk.c: New.
809 * gdb.reverse/step-indirect-call-thunk.exp: New.
810 * gdb.reverse/step-indirect-call-thunk.c: New.
811
6295b6da
SM
8122018-04-11 Simon Marchi <simon.marchi@ericsson.com>
813
814 * gdb.base/pie-fork.c: New file.
815 * gdb.base/pie-fork.exp: New file.
816
50146e70
TT
8172018-04-11 Tom Tromey <tom@tromey.com>
818
819 * gdb.rust/simple.exp: Add test for ".." struct initializer.
820
f50d8a2e
PA
8212018-04-10 Pedro Alves <palves@redhat.com>
822
823 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
824 exits. Instead loop running forever.
825 (fork_parent): Run forever too.
826
a0be7a36
SM
8272018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
828
829 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
830 mi_continue_to_line.
831 * gdb.mi/mi-stack.c (callee4): Add comment.
832
9b73db36
SM
8332018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
834
835 * gdb.mi/mi-stack.exp: Fix indentation.
836
c912f608
SM
8372018-04-07 Simon Marchi <simon.marchi@ericsson.com>
838
839 PR gdb/22979
840 * gdb.arch/amd64-osabi.exp: New file.
841
26540402
SM
8422018-04-07 Simon Marchi <simon.marchi@ericsson.com>
843
844 PR gdb/22980
845 * gdb.base/osabi.exp: New file.
846
121ad66c 8472018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
848
849 * gdb.cp/static-typedef-print.exp: New file.
850 * gdb.cp/static-typedef-print.cc: New file.
851
3fcded8f
JB
8522018-03-27 Joel Brobecker <brobecker@adacore.com>
853
854 * gdb.ada/varsize_limit: New testcase.
855
59cc4834
JB
8562018-03-27 Joel Brobecker <brobecker@adacore.com>
857
858 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
859
860 * gdb.ada/notcplusplus: New testcase.
861
862 * gdb.base/c-linkage-name.c: New file.
863 * gdb.base/c-linkage-name.exp: New testcase.
864
4ca59a9f
TT
8652018-03-26 Tom Tromey <tom@tromey.com>
866
867 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
868 * gdb.python/py-framefilter.py (name_error): New global.
869 (ErrorInName.function): Use name_error.
870
978d6c75
TT
8712018-03-26 Tom Tromey <tom@tromey.com>
872
873 PR backtrace/15582:
874 * gdb.python/py-framefilter.exp: Add "bt hide" test.
875
b7fee5a3
KS
8762018-03-23 Keith Seitz <keiths@redhat.com>
877
878 PR c++/22968
879 * gdb.cp/subtypes.exp: New file.
880 * gdb.cp/subtypes.h: New file.
881 * gdb.cp/subtypes.cc: New file.
882 * gdb.cp/subtypes-2.cc: New file.
883
376be529
AB
8842018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
885
886 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
887 (done): Call '_exit' not 'exit' to avoid atexit handlers.
888 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
889 -nostartfiles when compiling the test. Confirm that all registers
890 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
891
066cfa98
AB
8922018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
895 option, syntax was wrong anyway.
896 * gdb.arch/arm-disp-step.exp: Likewise.
897 * gdb.arch/sparc64-regs.exp: Likewise.
898 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
899 option, syntax was wrong anyway, switch to use
900 prepare_for_testing.
901 * gdb.arch/i386-disp-step.exp: Likewise.
902
079670b9
AA
9032018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
904
905 * gdb.ada/exec_changed.exp: Replace "target_info exists
906 use_gdb_stub" by "use_gdb_stub".
907 * gdb.ada/start.exp: Likewise.
908 * gdb.base/async-shell.exp: Likewise.
909 * gdb.base/attach-pie-misread.exp: Likewise.
910 * gdb.base/attach-wait-input.exp: Likewise.
911 * gdb.base/break-entry.exp: Likewise.
912 * gdb.base/break-interp.exp: Likewise.
913 * gdb.base/dprintf-detach.exp: Likewise.
914 * gdb.base/nostdlib.exp: Likewise.
915 * gdb.base/solib-nodir.exp: Likewise.
916 * gdb.base/statistics.exp: Likewise.
917 * gdb.base/testenv.exp: Likewise.
918 * gdb.mi/mi-exec-run.exp: Likewise.
919 * gdb.mi/mi-start.exp: Likewise.
920 * gdb.multi/dummy-frame-restore.exp: Likewise.
921 * gdb.multi/multi-arch-exec.exp: Likewise.
922 * gdb.multi/multi-arch.exp: Likewise.
923 * gdb.multi/tids.exp: Likewise.
924 * gdb.multi/watchpoint-multi.exp: Likewise.
925 * gdb.python/py-events.exp: Likewise.
926 * gdb.threads/attach-into-signal.exp: Likewise.
927 * gdb.threads/attach-stopped.exp: Likewise.
928 * gdb.threads/threadapply.exp: Likewise.
929 * lib/selftest-support.exp: Likewise.
930
26d6cec4
AA
9312018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
932
933 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
934
4ee89e90
SR
9352018-03-20 Stephen Roberts <stephen.roberts@arm.com>
936
937 * gdb.perf/template-breakpoints.cc: New file.
938 * gdb.perf/template-breakpoints.exp: New file.
939 * gdb.perf/template-breakpoints.py: New file.
940
92630041
TT
9412018-03-19 Tom Tromey <tom@tromey.com>
942
943 * gdb.rust/simple.rs (main): Add local variables field1, field2,
944 y0.
945 * gdb.rust/simple.exp: Test bare identifier form of struct
946 initializer.
947
76727919
TT
9482018-03-19 Tom Tromey <tom@tromey.com>
949
950 * gdb.gdb/observer.exp: Remove.
951
194ed413
AA
9522018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
953
954 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
955 "qualified" option when setting breakpoints.
956 * gdb.trace/backtrace.exp: Likewise.
957 * gdb.trace/circ.exp: Likewise.
958 * gdb.trace/collection.exp: Likewise.
959 * gdb.trace/disconnected-tracing.exp: Likewise.
960 * gdb.trace/ftrace-lock.exp: Likewise.
961 * gdb.trace/ftrace.exp: Likewise.
962 * gdb.trace/infotrace.exp: Likewise.
963 * gdb.trace/packetlen.exp: Likewise.
964 * gdb.trace/passc-dyn.exp: Likewise.
965 * gdb.trace/qtro.exp: Likewise.
966 * gdb.trace/read-memory.exp: Likewise.
967 * gdb.trace/report.exp: Likewise.
968 * gdb.trace/signal.exp: Likewise.
969 * gdb.trace/status-stop.exp: Likewise.
970 * gdb.trace/strace.exp: Likewise.
971 * gdb.trace/tfind.exp: Likewise.
972 * gdb.trace/trace-break.exp: Likewise.
973 * gdb.trace/trace-condition.exp: Likewise.
974 * gdb.trace/trace-mt.exp: Likewise.
975 * gdb.trace/tstatus.exp: Likewise.
976 * gdb.trace/tsv.exp: Likewise.
977 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
978 * gdb.trace/unavailable.exp: Likewise.
979 * gdb.trace/while-dyn.exp: Likewise.
980
8b067d2c
AA
9812018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
982
983 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
984 that libinproctrace is copied to the target.
985
3ae9ce5d
TT
9862018-03-14 Tom Tromey <tom@tromey.com>
987
988 PR cli/14977:
989 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
990 a null pointer.
991 * gdb.base/wchar.exp: Likewise.
992
b8c2339b
TT
9932018-03-14 Tom Tromey <tom@tromey.com>
994
995 PR cli/19918:
996 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
997 flag.
998
4872dc46
SM
9992018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1000
1001 PR gdb/22841
1002 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1003 "target" to remote_exec.
1004
e4fe3756
SM
10052018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1006
1007 PR gdb/22841
1008 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1009 ${board}_upload): Remove.
1010
e95a97d4
AA
10112018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1012
1013 * gdb.cp/watch-cp.cc: New test.
1014 * gdb.cp/watch-cp.exp: New file.
1015
dbbb1059
AB
10162018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1017
1018 * gdb.base/infcall-nested-structs.exp: New file.
1019 * gdb.base/infcall-nested-structs.c: New file.
1020 * gdb.base/float.exp: Add riscv support.
1021
ecc054c0
TP
10222018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1023
1024 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1025 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1026
25e3c82c
SDJ
10272018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1028
1029 * gdb.server/abspath.exp: New file.
1030 * lib/gdb.exp (with_cwd): New procedure.
1031
3083294d
SM
10322018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1033
1034 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1035 use it.
1036 (gdb_is_target_remote_prompt): New proc.
1037 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1038 (gdb_is_target_native): Pass prompt parameter to
1039 gdb_is_target_1.
1040
3275ef47
SM
10412018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1042
1043 * gdb.base/load-command.c: New file.
1044 * gdb.base/load-command.exp: New file.
1045 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1046 (gdb_is_target_1): ...this, and generalize for other targets
1047 than just remote.
1048 (gdb_is_target_remote): Use gdb_is_target_1.
1049 (gdb_is_target_native): use gdb_is_target_1.
1050
6893c19a
TT
10512018-02-26 Tom Tromey <tom@tromey.com>
1052
1053 PR python/16497:
1054 * gdb.python/py-framefilter.exp: Update test.
1055
2ddeaf8a
TT
10562018-02-26 Tom Tromey <tom@tromey.com>
1057
1058 * gdb.dwarf2/variant.c: New file.
1059 * gdb.dwarf2/variant.exp: New file.
1060
c9317f21
TT
10612018-02-26 Tom Tromey <tom@tromey.com>
1062
1063 * gdb.rust/simple.exp: Accept more possible results in enum test.
1064
6f6d0c26
SM
10652018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1066
1067 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1068 parentheses.
1069
11b03145
MR
10702018-02-23 Maciej W. Rozycki <macro@mips.com>
1071
1072 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1073 name of a variable: $actual_linejj -> $actual_line.
1074
54a27fe5
JB
10752018-02-21 John Baldwin <jhb@FreeBSD.org>
1076
1077 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1078
de65820c
MM
10792018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1080
1081 * gdb.btrace/buffer-size.exp: Do not force BTS.
1082
980548fd
PA
10832018-02-14 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1086 getting a "Quit".
1087
c4e12631
MM
10882018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1089
1090 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1091 Fix test name.
1092
c2e0e465
SM
10932018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1094
1095 * gdb.cp/m-static.exp: Check type of optimized out static
1096 member.
1097
f7216783
AB
10982018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1099
1100 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1101 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1102
0625771b
LS
11032018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1104 Leszek Swirski <leszeks@google.com>
1105
1106 * gdb.python/py-prettyprint.c
1107 (struct to_string_returns_value_inner,
1108 struct to_string_returns_value_wrapper): New.
1109 (main): Add tsrvw variable.
1110 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1111 ToStringReturnsValueWrapper): New classes.
1112 (register_pretty_printers): Register new pretty-printers.
1113 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1114 recursive pretty printer.
1115 * gdb.python/py-mi.exp: Likewise.
1116
59498c30
LS
11172018-02-01 Leszek Swirski <leszeks@google.com>
1118
1119 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1120 functions with the same name as an include file are parsed
1121 correctly.
1122
d4d38844
YQ
11232018-02-01 Yao Qi <yao.qi@linaro.org>
1124
1125 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1126 "\[^\r\n\]*".
1127
07e5f5cf
NP
11282018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1129
1130 * gdb.arch/powerpc-prologue-frame.s: New file.
1131 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1132 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1133
929b5ad4
JB
11342018-01-31 Joel Brobecker <brobecker@adacore.com>
1135
1136 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1137
e671cd59
PA
11382018-01-30 Pedro Alves <palves@redhat.com>
1139
1140 PR gdb/13211
1141 * gdb.base/interrupt-daemon.c: New.
1142 * gdb.base/interrupt-daemon.exp: New.
1143 * gdb.multi/multi-term-settings.c: New.
1144 * gdb.multi/multi-term-settings.exp: New.
1145
fc413dc4
JB
11462018-01-30 Joel Brobecker <brobecker@adacore.com>
1147
1148 * gdb.base/break.exp: Save the location where the breakpoint
1149 on break.c:47 was actually inserted when debugging the version
1150 compiled at -O2 and use it in the expected output of the "info
1151 break" test performed soon after.
1152
5c319bb2
PA
11532018-01-22 Pedro Alves <palves@redhat.com>
1154 Sergio Durigan Junior <sergiodj@redhat.com>
1155
1156 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1157 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1158
a9e40818
JB
11592018-01-22 Joel Brobecker <brobecker@adacore.com>
1160
1161 * gdb.base/break-include.c, gdb.base/break-include.inc,
1162 gdb.base/break-include.exp: New files.
1163 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1164 line number now being the actual line number where the breakpoint
1165 was inserted.
1166 * gdb.mi/mi-break.exp: Likewise.
1167 * gdb.mi/mi-reverse.exp: Likewise.
1168 * gdb.mi/mi-simplerun.exp: Ditto.
1169
e707fc44
AB
11702018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1171
1172 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1173 varobj.
1174 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1175
ae451627
AB
11762018-01-21 Don Breazeal <donb@codesourcery.com>
1177 Andrew Burgess <andrew.burgess@embecosm.com>
1178
1179 * gdb.mi/basics.c: Add new global.
1180 * gdb.mi/mi-frame-regs.exp: New file.
1181 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1182 case.
1183
b1b189e0
AB
11842018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1185
1186 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1187 non-parameter, and on an unknown symbol.
1188
fcfcc376
TT
11892018-01-19 Tom Tromey <tom@tromey.com>
1190
1191 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1192 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1193
634c1c31
AA
11942018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1195
1196 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1197 setrlimit and chdir to int.
1198
d6ad07fd
AA
11992018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1200
1201 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1202 function.
1203 (my_tend): Likewise.
1204 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1205 rationale of avoiding FP- and vector instructions.
1206
adf8243b
RK
12072018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1208
1209 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1210 "info reg" with "\[ \t\]*".
1211 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1212 "\[ \t\]+".
1213 * gdb.arch/s390-multiarch.exp: Ditto.
1214 * gdb.base/pc-fp.exp: Ditto.
1215 * gdb.reverse/i386-precsave.exp: Ditto.
1216 * gdb.reverse/i386-reverse.exp: Ditto.
1217 * gdb.reverse/i387-env-reverse.exp: Ditto.
1218 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1219
dcc06925
AA
12202018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1221
1222 * lib/gdb.exp (gdb_compile): Re-enable use of
1223 universal_compile_options for languages other than Rust.
1224
25d4fd80
AA
12252018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1226
1227 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1228
ee7f689e 12292018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
1230
1231 PR gdb/16577
1232 * gdb.base/solib-vanish.exp: New.
1233 * gdb.base/solib-vanish-main.c: New.
1234 * gdb.base/solib-vanish-lib1.c: New.
1235 * gdb.base/solib-vanish-lib2.c: New.
1236
d8447b6b
YQ
12372018-01-17 Yao Qi <yao.qi@linaro.org>
1238
1239 * gdb.compile/compile.exp: Match the address printed for
1240 frame in the output of command "bt".
1241
86d6a90c
TT
12422018-01-15 Tom Tromey <tom@tromey.com>
1243
1244 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1245 compute sp_reg.
1246
cbcdb1aa
AB
12472018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1248
1249 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1250 to prepare.
1251 (prepare): Return 0 on error, 1 on success.
1252
eea61984
PA
12532018-01-12 Pedro Alves <palves@redhat.com>
1254
1255 * gdb.base/continue-after-aborted-step-over.c: New.
1256 * gdb.base/continue-after-aborted-step-over.exp: New.
1257
6181e9c2
SM
12582018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1259
1260 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1261 options when not creating an executable.
1262
3cada740
PA
12632018-01-11 Pedro Alves <palves@redhat.com>
1264
1265 PR remote/22597
1266 * gdb.server/stop-reply-no-thread.c: New file.
1267 * gdb.server/stop-reply-no-thread.exp: New file.
1268
c63d3e8d
PA
12692018-01-10 Pedro Alves <palves@redhat.com>
1270
1271 PR gdb/22670
1272 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1273 functions too. Test setting breakpoints and printing C functions
1274 with no debug info too.
1275 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1276
d4c2a405
PA
12772018-01-10 Pedro Alves <palves@redhat.com>
1278
1279 PR gdb/22670
1280 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1281 a fail.
1282
8825213e
PA
12832018-01-10 Pedro Alves <palves@redhat.com>
1284
1285 PR gdb/22670
1286 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1287
605fd3c6
YQ
12882018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1289
1290 * gdb.server/unittest.exp: Match the output in non-development
1291 mode.
1292
1e5ded6c
YQ
12932018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1294
1295 * gdb.gdb/unittest.exp: Match output in non-development mode.
1296
30066b0b
JB
12972018-01-08 Joel Brobecker <brobecker@adacore.com>
1298
1299 * gdb.ada/access_tagged_param.exp: Relax expected output
1300 for value of "ObjL" in "continue" to pck.inspect breakpoint
1301 test.
1302
04bafb1e
XR
13032018-01-08 Joel Brobecker <brobecker@adacore.com>
1304
9f86398b
JB
1305 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1306 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 1307
e379cee6
PA
13082018-01-05 Pedro Alves <palves@redhat.com>
1309
1310 PR gdb/18653
1311 * gdb.base/libsegfault.exp: New.
1312
de63c46b
PA
13132018-01-05 Joel Brobecker <brobecker@adacore.com>
1314
1315 PR gdb/22670
1316 * gdb.ada/access_tagged_param.exp: New file.
1317 * gdb.ada/access_tagged_param/foo.adb: New file.
1318
f98fc17b
PA
13192018-01-05 Pedro Alves <palves@redhat.com>
1320
1321 PR gdb/22670
1322 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1323 exercise lower case too, and to exercise both full matching and
1324 wild matching.
1325
342f8240
JB
13262018-01-05 Joel Brobecker <brobecker@adacore.com>
1327
1328 * gdb.ada/rename_subscript_param: New testcase.
1329
7150d33c
JG
13302018-01-05 Jerome Guitton <guitton@adacore.com>
1331
1332 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1333
cc0e770c
JB
13342018-01-05 Joel Brobecker <brobecker@adacore.com>
1335
1336 * gdb.ada/convvar_comp: New testcase.
1337
672a41aa 13382018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
1339
1340 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1341 (My_Table): New global variable.
1342 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1343
7365ec2f
JB
13442018-01-04 Joel Brobecker <brobecker@adacore.com>
1345
1346 PR gdb/22670
1347 * gdb.ada/maint_with_ada: New testcase.
1348
289483b6
JB
13492018-01-04 Joel Brobecker <brobecker@adacore.com>
1350
1351 PR gdb/22670
1352 * gdb.ada/bp_c_mixed_case: New testcase.
1353
344420da
JB
13542018-01-04 Joel Brobecker <brobecker@adacore.com>
1355
1356 PR gdb/22670
1357 * gdb.ada/complete.exp: Add "complete break ada" test.
1358
66fc87a0
JB
13592018-01-04 Joel Brobecker <brobecker@adacore.com>
1360
1361 PR gdb/22670
1362 * gdb.ada/info_addr_mixed_case: New testcase.
1363
9f757bf7
XR
13642018-01-03 Xavier Roirand <roirand@adacore.com>
1365
1366 * gdb.ada/excep_handle.exp: New testcase.
1367 * gdb.ada/excep_handle/foo.adb: New file.
1368 * gdb.ada/excep_handle/pck.ads: New file.
1369
bd570f80
JB
13702018-01-03 Joel Brobecker <brobecker@adacore.com>
1371
1372 * gdb.base/step-line.c: Add extra empty line in copyright header.
1373 * gdb.base/step-line.inp: Likewise.
1374
9fe561ab
JB
13752018-01-02 Joel Brobecker <brobecker@adacore.com>
1376
1377 * gdb.ada/dyn_stride.exp: Add slice test.
1378
a405673c
JB
13792018-01-02 Joel Brobecker <brobecker@adacore.com>
1380
1381 * gdb.ada/dyn_stride: New testcase.
1382
cef0f868
SH
13832017-12-27 Stafford Horne <shorne@gmail.com>
1384
1385 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1386 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1387
b67d92b0
SH
13882017-12-27 Stafford Horne <shorne@gmail.com>
1389
1390 * gdb.base/reggroups.c: New file.
1391 * gdb.base/reggroups.exp: New file.
1392
eccab96d
JB
13932017-12-18 Joel Brobecker <brobecker@adacore.com>
1394
1395 * gdb.dwarf2/ada-valprint-error.c: New file.
1396 * gdb.dwarf2/ada-valprint-error.exp: New file.
1397
0e2da9f0
JB
13982017-12-18 Joel Brobecker <brobecker@adacore.com>
1399
1400 * gdb.ada/assign_arr: New testcase.
1401
cb923fcc
XR
14022017-12-18 Xavier Roirand <roirand@adacore.com>
1403
1404 * gdb.ada/funcall_ptr: New testcase.
1405
7c161838
SDJ
14062017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1407
1408 PR cli/16224
1409 * gdb.base/ptype-offsets.cc: New file.
1410 * gdb.base/ptype-offsets.exp: New file.
1411
1af17fd9
YQ
14122017-12-15 Yao Qi <yao.qi@linaro.org>
1413
1414 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1415 if XML is disabled.
1416
828d5846
XR
14172017-12-15 Xavier Roirand <roirand@adacore.com>
1418
1419 * gdb.ada/same_component_name: New testcase.
1420
79e8fcaa
JB
14212017-12-14 Joel Brobecker <brobecker@adacore.com>
1422
1423 * gdb.ada/str_binop_equal: New testcase.
1424
e05fa6f9
JB
14252017-12-14 Joel Brobecker <brobecker@adacore.com>
1426
1427 * gdb.ada/task_switch_in_core: New testcase.
1428
b89641ba
SM
14292017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1430
1431 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1432 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1433 call test_bkpt_qualified.
1434 (test_bkpt_qualified): New proc.
1435
6892d2e4
PA
14362017-12-13 Pedro Alves <palves@redhat.com>
1437
1438 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1439 Tighten regexp by matching with an anchor.
1440
a22ecf70
PA
14412017-12-13 Pedro Alves <palves@redhat.com>
1442
1443 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1444 ("expression with namespace"): New set of tests.
1445 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1446 (Nested::Test_NS::qux): New.
1447 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1448 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1449
9937536c
JB
14502017-12-13 Joel Brobecker <brobecker@adacore.com>
1451
1452 * gdb.base/server-del-break.c: New file.
1453 * gdb.base/server-del-break.exp: New file.
1454
fe49c6f5
SH
14552017-12-12 Stafford Horne <shorne@gmail.com>
1456
1457 * gdb.xml/tdesc-regs.exp: Add or1k support.
1458
c3d18620
SH
14592017-12-12 Stafford Horne <shorne@gmail.com>
1460
1461 * gdb.base/bp-permanent.c: Define nop of or1k.
1462
c5f9cfc8
JB
14632017-12-11 Joel Brobecker <brobecker@adacore.com>
1464
1465 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1466 output with components being reordered.
1467
a9c135fc
JB
14682017-12-11 Joel Brobecker <brobecker@adacore.com>
1469
1470 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1471 output with components being reordered.
1472
927aa2e7
JK
14732017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1474 Pedro Alves <palves@redhat.com>
1475
1476 * gdb.base/maint.exp (check for .gdb_index): Check also for
1477 .debug_names.
1478 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1479 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1480 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1481 (.gdb_index used after symbol reloading): Support also .debug_names.
1482 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1483
f17d9474
YQ
14842017-12-08 Yao Qi <yao.qi@linaro.org>
1485
1486 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1487 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1488
a0de8c21
YQ
14892017-12-08 Yao Qi <yao.qi@linaro.org>
1490
1491 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1492 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1493
a738ea1d
YQ
14942017-12-08 Yao Qi <yao.qi@linaro.org>
1495
1496 * gdb.arch/aarch64-tagged-pointer.c: New file.
1497 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1498
1cd9a73b
SDJ
14992017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1500
1501 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1502 "int".
1503
fa6eb693
KS
15042017-12-07 Keith Seitz <keiths@redhat.com>
1505
1506 PR breakpoints/22569
1507 * gdb.linespec/ls-errs.exp: Change expected result of "break
1508 -source this file has spaces.c -line 3".
1509 Check that an explicit source file followed by whitespace is
1510 identified as an invalid explicit location.
1511
883fd55a
KS
15122017-12-07 Keith Seitz <keiths@redhat.com>
1513
1514 * gdb.cp/nested-types.cc: New file.
1515 * gdb.cp/nested-types.exp: New file.
1516 * lib/cp-support.exp: Load data-structures.exp library.
1517 (debug_cp_test_ptype_class): New global.
1518 (cp_ptype_class_verbose, next_line): New procedures.
1519 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1520 Add and document new return value.
1521 Switch the list of lines to a queue.
1522 Add support for new `type' key for nested type definitions.
1523 Add debugging/troubleshooting messages.
1524 * lib/data-structures.exp: New file.
1525
ec72db3e
SM
15262017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1527
1528 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1529 with proc_with_prefix, don't use with_test_prefix.
1530
99598d71
TT
15312017-12-07 Tom Tromey <tom@tromey.com>
1532
1533 * gdb.base/break.exp: Add test for empty "commands".
1534
a8806230
YQ
15352017-12-07 Yao Qi <yao.qi@linaro.org>
1536
1537 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1538 malloc and catch syscall.
1539
824cc835
PM
15402017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1541
1542 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1543 tests for explicit locations.
1544
7cc244de
PA
15452017-12-06 Pedro Alves <palves@redhat.com>
1546
1547 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1548 force-disabling XML descriptions.
1549
50a1fdd5
PA
15502017-12-04 Pedro Alves <palves@redhat.com>
1551
1552 PR gdb/22499
1553 * gdb.arch/amd64-disp-step-avx.S: New file.
1554 * gdb.arch/amd64-disp-step-avx.exp: New file.
1555
f0fb2488
PA
15562017-12-03 Pedro Alves <palves@redhat.com>
1557
1558 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1559 and <string.h>.
1560 (parent_function): Print distinct messages when waitpid fails, or
1561 the child exits with a signal, or the child exits for an unhandled
1562 reason.
1563 * gdb.threads/process-dies-while-detaching.exp
1564 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1565 it. Wait for both inferior output and GDB's prompt. Use an
1566 indirect spawn id list.
1567 (do_detach): New parameter 'child_exit'. Use it to compute
1568 expected inferior output.
1569 (test_detach, test_detach_watch, test_detach_killed_outside):
1570 Adjust to pass down the expected child exit kind.
1571
97cbe998
SDJ
15722017-12-01 Joel Brobecker <brobecker@adacore.com>
1573 Sergio Durigan Junior <sergiodj@redhat.com>
1574 Pedro Alves <palves@redhat.com>
1575
1576 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1577
40fc416f
SDJ
15782017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1579
1580 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1581 to 'symbol-file' and 'add-symbol-file' can be
1582 position-independent.
1583
1cc75e92
YQ
15842017-12-01 Yao Qi <yao.qi@linaro.org>
1585
1586 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1587 the URL in copyright header.
1588 * gdb.arch/aarch64-fp.exp: Likewise.
1589 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1590 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1591 * gdb.base/expand-psymtabs.exp: Likewise.
1592 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1593 * gdb.fortran/common-block.exp: Likewise.
1594 * gdb.fortran/common-block.f90: Likewise.
1595 * gdb.fortran/logical.exp: Likewise.
1596 * gdb.fortran/vla-datatypes.f90: Likewise.
1597 * gdb.fortran/vla-sub.f90: Likewise.
1598
875fb7a7
JB
15992017-11-30 Joel Brobecker <brobecker@adacore.com>
1600
1601 * gdb.ada/repeat_dyn: New testcase.
1602
6f14765f
UW
16032017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1604
1605 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1606 Update for changed thread numbering.
1607 * gdb.cell/bt.exp: Update for changed GDB output.
1608
f1af7b94
SM
16092017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1610
1611 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1612 setting isremote by hand.
1613 * boards/dwarf4-gdb-index.exp: Likewise.
1614 * boards/fission.exp: Likewise.
1615 * boards/stabs.exp: Likewise.
1616
e3919f3e
PA
16172017-11-30 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.linespec/cpls-ops.exp
1620 (check_explicit_skips_function_argument): Extract the underlying
1621 type of size_t instead of hardcoding it.
1622
bd69330d
PA
16232017-11-29 Pedro Alves <palves@redhat.com>
1624
1625 PR c++/19436
1626 * gdb.linespec/cpls-abi-tag.cc: New file.
1627 * gdb.linespec/cpls-abi-tag.exp: New file.
1628
a20714ff
PA
16292017-11-29 Pedro Alves <palves@redhat.com>
1630
1631 * gdb.base/langs.exp: Use -qualified.
1632 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1633 it.
1634 * gdb.cp/namespace.exp: Use -qualified.
1635 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1636 (overload-3, template-overload, template-ret-type, const-overload)
1637 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1638 procedures.
1639 (test_driver): Call them.
1640 * gdb.cp/save-bp-qualified.cc: New.
1641 * gdb.cp/save-bp-qualified.exp: New.
1642 * gdb.linespec/explicit.exp: Test -qualified.
1643 * lib/completion-support.exp (completion::explicit_opts_list): Add
1644 "-qualified".
1645 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1646
f6f1d339
PM
16472017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1648
1649 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1650
02ca603a
TT
16512017-11-29 Tom Tromey <tom@tromey.com>
1652
1653 * gdb.base/relocate.exp: Update invalid argument test.
1654 Add new tests for invalid arguments.
1655
ed6c0bfb
TP
16562017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1657
1658 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1659 Return 0 as a long.
1660 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1661
f106e10e
TP
16622017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1663
1664 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1665 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1666 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1667 func ().
1668 * gdb.cp/shadow.cc (B.func): Return 0.
1669
10329bb2
JB
16702017-11-27 Joel Brobecker <brobecker@adacore.com>
1671
1672 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1673 expected output in gdb_expect call to allow the exception
1674 message to be present as well. Fix syntax confusion to avoid
1675 TCL thinking that exception_name is an array.
1676
617cd4bc
UW
16772017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1678
1679 * gdb.arch/spu-info.c: Include <unistd.h>.
1680 (do_signal_test): Fix broken calls to write.
1681 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1682 Fix checks for empty mailboxes. Update signal tests for corrected
1683 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
1684 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1685 * gdb.cell/arch.exp: Use standard_output_file.
1686 * gdb.cell/break.exp: Likewise.
1687 * gdb.cell/bt.exp: Likewise.
1688 * gdb.cell/core.exp: Likewise.
1689 * gdb.cell/dwarfaddr.exp: Likewise.
1690 * gdb.cell/ea-cache.exp: Likewise.
1691 * gdb.cell/ea-standalone.exp: Likewise.
1692 * gdb.cell/f-regs.exp: Likewise.
1693 * gdb.cell/fork.exp: Likewise.
1694 * gdb.cell/gcore.exp: Likewise.
1695 * gdb.cell/mem-access.exp: Likewise.
1696 * gdb.cell/ptype.exp: Likewise.
1697 * gdb.cell/registers.exp: Likewise.
1698 * gdb.cell/sizeof.exp: Likewise.
1699 * gdb.cell/solib-symbol.exp: Likewise.
1700 * gdb.cell/solib.exp: Likewise.
617cd4bc 1701
a81aaca0
PA
17022017-11-25 Pedro Alves <palves@redhat.com>
1703
1704 * gdb.base/complete-empty.exp: New file.
1705 * gdb.base/completion.exp: Adjust.
1706
6a3c6ee4
PA
17072017-11-25 Pedro Alves <palves@redhat.com>
1708
1709 * gdb.linespec/cpls-ops.cc: New file.
1710 * gdb.linespec/cpls-ops.exp: New file.
1711 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1712 factored out from ...
1713 (test_complete_prefix_range): ... this.
1714
8955eb2d
PA
17152017-11-24 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.linespec/cpcompletion.exp: New file.
1718 * gdb.linespec/cpls-hyphen.cc: New file.
1719 * gdb.linespec/cpls.cc: New file.
1720 * gdb.linespec/cpls2.cc: New file.
1721 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1722 test to use test_gdb_complete_unique. Add label completion,
1723 keyword completion and explicit location completion tests.
1724 * lib/completion-support.exp: New file.
1725
e547c119
JB
17262017-11-24 Joel Brobecker <brobecker@adacore.com>
1727
1728 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1729 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1730 when hitting an exception catchpoint.
1731
7c3c1aa8
YQ
17322017-11-22 Yao Qi <yao.qi@linaro.org>
1733
1734 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1735
41bd68f5
SM
17362017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1737
1738 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1739 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1740 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1741
1daad298
YQ
17422017-11-22 Yao Qi <yao.qi@linaro.org>
1743
1744 * gdb.base/info-os.exp: Pass pthreads.
1745 * gdb.multi/multi-attach.exp: Likewise.
1746
88465e87
YQ
17472017-11-22 Yao Qi <yao.qi@linaro.org>
1748
1749 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1750 compiler.
1751
dc196b23
YQ
17522017-11-22 Yao Qi <yao.qi@linaro.org>
1753
1754 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1755 * gdb.base/break-interp.exp: Likewise.
1756 * gdb.base/jit-attach-pie.exp: Likewise.
1757
2400729e
UW
17582017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1759
1760 * gdb.base/float128.c (large128): New variable.
1761 * gdb.base/float128.exp: Add test to print largest __float128 value.
1762
7a26362d
UW
17632017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1764
1765 * gdb.arch/vsx-regs.exp: Update register content checks.
1766
ed0f4273
UW
17672017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1768
1769 * gdb.arch/ppc-longdouble.exp: New file.
1770 * gdb.arch/ppc-longdouble.c: Likewise.
1771
a25d69c6
PA
17722017-11-21 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1775
73fcf641
PA
17762017-11-20 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1779 (long_double_typedef): New typedefs.
1780 Use DEF on double and long double.
1781 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1782 cases.
1783 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1784 and 'long_double_ptr_same_size' locals. Use them to decide
1785 whether cast from array/function to float is valid/invalid.
1786
71a3c369
TT
17872017-11-17 Tom Tromey <tom@tromey.com>
1788
1789 * gdb.rust/traits.rs: New file.
1790 * gdb.rust/traits.exp: New file.
1791
ced9779b
JB
17922017-11-17 Joel Brobecker <brobecker@adacore.com>
1793
1794 * gdb.ada/minsyms: New testcase.
1795
a0922d80
PA
17962017-11-16 Pedro Alves <palves@redhat.com>
1797
1798 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1799 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1800
ea04e54c
PA
18012017-11-16 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1804 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1805
e849ea89
PA
18062017-11-16 Pedro Alves <palves@redhat.com>
1807
1808 * gdb.server/reconnect-ctrl-c.c: New file.
1809 * gdb.server/reconnect-ctrl-c.exp: New file.
1810
d8ae99a7
PM
18112017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1812
1813 * gdb.python/py-rbreak.exp: New file.
1814 * gdb.python/py-rbreak.c: New file.
1815 * gdb.python/py-rbreak-func2.c: New file.
1816
968a13f8
PA
18172017-11-16 Pedro Alves <palves@redhat.com>
1818
1819 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1820 pattern.
1821 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1822 GDB.
1823
71774bc9
SM
18242017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1825
1826 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1827 regex.
1828
ddbb44cf
SM
18292017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1830
1831 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1832 test names.
1833
584a564f
PA
18342017-11-09 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1837 factored out from ...
1838 (top level): ... here, and adjusted to avoid expecting beyond the
1839 prompt in a single gdb_test_multiple.
1840
5ed7a928
PA
18412017-11-09 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1844 output.
1845 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1846 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1847 * gdb.server/ext-run.exp ("kill" test): Likewise.
1848 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1849
a60e0738
PA
18502017-11-09 Pedro Alves <palves@redhat.com>
1851
1852 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1853 match till end of line.
1854
2c88253f
PA
18552017-11-09 Pedro Alves <palves@redhat.com>
1856
1857 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1858
c7a38517
PA
18592017-11-09 Pedro Alves <palves@redhat.com>
1860
1861 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1862 New procedures, factored out from ...
1863 (top level): ... here, and adjusted to avoid expecting beyond the
1864 prompt in one go.
1865
f29f4b6b
PA
18662017-11-09 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1869 output. Fix '?' match.
1870
286acbb5
JB
18712017-11-08 Joel Brobecker <brobecker@adacore.com>
1872
1873 * gdb.ada/scoped_watch: New testcase.
1874 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1875 which is actually correct.
1876 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1877 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1878
62d7ae92
PA
18792017-11-08 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.gdb/complaints.exp (test_initial_complaints)
1882 (test_serial_complaints, test_short_complaints): Call
1883 complaint_internal instead of complaint.
1884
280ca31f
DT
18852017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1886
1887 * gdb.threads/tls-core.c: New file.
1888 * gdb.threads/tls-core.exp: Likewise.
1889
b5ec771e
PA
18902017-11-08 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1893 (p Exported_Capitalized): New test.
1894 (p exported_capitalized): New test.
1895
a02b41a7
PA
18962017-11-07 Pedro Alves <palves@redhat.com>
1897
1898 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1899
95e95a6d
PA
19002017-11-07 Pedro Alves <palves@redhat.com>
1901
1902 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1903 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1904 (disable_invalid, disable_inverted, disable_negative): New
1905 procedures.
1906 ("bad numbers"): New set of tests.
1907
cee62dbd
PA
19082017-11-07 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.cp/ena-dis-br-range.exp: Add tests.
1911
cc638e86
PA
19122017-11-07 Pedro Alves <palves@redhat.com>
1913
1914 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1915
d0fe4701
XR
19162017-11-07 Xavier Roirand <roirand@adacore.com>
1917 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.base/ena-dis-br.exp: Add reference to
1920 gdb.cp/ena-dis-br-range.exp.
1921 * gdb.cp/ena-dis-br-range.exp: New file.
1922 * gdb.cp/ena-dis-br-range.cc: New file.
1923
46f67f80
PA
19242017-11-06 Pedro Alves <palves@redhat.com>
1925
1926 * gdb.base/attach-non-pgrp-leader.c: New.
1927 * gdb.base/attach-non-pgrp-leader.exp: New.
1928
726e1356
PA
19292017-11-06 Pedro Alves <palves@redhat.com>
1930
1931 * configure.ac: No longer check for termio.h and sgtty.h.
1932 * configure: Regenerate.
1933 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1934 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1935 Remove termio and sgtty code.
1936
50ab6ace
YQ
19372017-11-03 Yao Qi <yao.qi@linaro.org>
1938
1939 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1940 in GDB is disabled.
1941
8e68731c
YQ
19422017-11-03 Yao Qi <yao.qi@linaro.org>
1943
1944 * gdb.python/py-thrhandle.exp: Skip it if python is not
1945 enabled.
1946
3a87ae65
SM
19472017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1948
1949 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1950 as a breakpoint command.
1951
484d8d36
MD
19522017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1953
1954 PR python/21213
1955 * gdb.python/py-infthread.exp: Test calling
1956 InferiorThread.inferior () multiple times in a row.
1957
4a27f119
KS
19582017-10-27 Keith Seitz <keiths@redhat.com>
1959
1960 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1961 Test "info break" for every inlined function breakpoint.
1962
bb11dd58
YQ
19632017-10-27 Yao Qi <yao.qi@linaro.org>
1964
1965 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1966
a43f3893
PF
19672017-10-26 Patrick Frants <osscontribute@gmail.com>
1968
1969 * gdb.cp/classes.exp (test_static_members): Test printing
1970 Outer::instance.
1971 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1972 (Inner::instance, Outer::instance): New.
1973
792ccf00
PA
19742017-10-24 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1977 extra console" test in two stages.
1978
eb2bfbad
PA
19792017-10-24 Pedro Alves <palves@redhat.com>
1980
1981 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1982
1f75a651
PA
19832017-10-24 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1986 loop.
1987
779990d9
PA
19882017-10-24 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1991 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1992
ad9b8f5d
PA
19932017-10-24 Pedro Alves <palves@redhat.com>
1994
1995 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1996 parameter and handle it. Don't output read value in test name.
1997
fee6da6e
PA
19982017-10-24 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2001 custom test name.
2002
10389c2c
PA
20032017-10-24 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2006 include the unstable output directory name in the test's name.
2007 (initial_setup_simple) <'set args'>: Use custom test name.
2008
a80e65a9
PA
20092017-10-24 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2012 with explicit test name.
2013
15763a09
PA
20142017-10-20 Pedro Alves <palves@redhat.com>
2015
2016 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2017 'wait -i'. Use gdb_assert and remote_close.
2018
49a4ce2e
AB
20192017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2020
2021 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2022 number from variable rather than hard-coded.
2023
a75868f5
PA
20242017-10-19 Pedro Alves <palves@redhat.com>
2025
2026 * gdb.base/long-inferior-output.c: New file.
2027 * gdb.base/long-inferior-output.exp: New file.
2028
c8ba13ad
KS
20292017-11-18 Keith Seitz <keiths@redhat.com>
2030
2031 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2032 method.
2033 (main): Call it.
2034 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2035 Add additional user-defined conversion operator tests.
2036
b27de576
PA
20372017-10-17 Pedro Alves <palves@redhat.com>
2038
2039 * boards/native-stdio-gdbserver.exp: Load "local-board".
2040
8484c955
PA
20412017-10-17 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.base/quit-live.c: New file.
2044 * gdb.base/quit-live.exp: New file.
2045
83d5a34d
KS
20462017-10-16 Keith Seitz <keiths@redhat.com>
2047
2048 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2049 (class_with_protected_typedef, class_with_private_typedef)
2050 (struct_with_public_typedef, struct_with_protected_typedef)
2051 (struct_with_private_typedef): New classes/structs.
2052 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2053 typedefs and access specifiers.
2054
739b3f1d
PA
20552017-10-16 Pedro Alves <palves@redhat.com>
2056 Simon Marchi <simon.marchi@polymtl.ca>
2057
2058 * README (Local vs Remote vs Native): New section.
2059 * boards/local-board.exp: New file, with bits factored out from
2060 ...
2061 * boards/native-extended-gdbserver.exp: ... here. Load
2062 "local-board".
2063 * boards/native-gdbserver.exp: Load "local-board".
2064 (${board}_spawn, ${board}_exec): Delete.
2065 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2066 ...
2067 * boards/stdio-gdbserver-base.exp: ... this new file.
2068 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2069 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2070 procedure.
2071 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2072 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2073 stdio_gdbserver_command.
2074 (${board}_get_remote_address, ${board}_get_comm_port)
2075 (${board}_download, ${board}_upload): Delete.
2076 (get_target_remote_pipe_cmd): New.
2077
fe68b953
SM
20782017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2079
2080 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2081 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2082 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2083 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2084 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2085 remove with_test_prefix.
2086
300b6685
PA
20872017-10-13 Pedro Alves <palves@redhat.com>
2088
2089 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2090 * gdb.base/annota1.exp: Use it instead of is_remote.
2091 * gdb.base/annota3.exp: Use it instead of is_remote.
2092 * gdb.cp/annota2.exp: Use it instead of is_remote.
2093 * gdb.cp/annota3.exp: Use it instead of is_remote.
2094 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2095
50500caf
PA
20962017-10-13 Pedro Alves <palves@redhat.com>
2097
2098 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2099 (test_num_test_vars, run_and_count_vars, find_env)
2100 (test_set_unset_env, test_inherit_env_var): New procedures.
2101 (top level): Use them.
2102
dad0c6d2
PA
21032017-10-13 Pedro Alves <palves@redhat.com>
2104
2105 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2106 also skip on stub-like targets.
2107
8b0553c1
PA
21082017-10-13 Pedro Alves <palves@redhat.com>
2109
2110 PR gdb/22293
2111 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2112 (top level): Move some tests to ...
2113 (test_not_found): ... this new procedure.
2114 (top level): Call it.
2115
7594f623
PA
21162017-10-13 Pedro Alves <palves@redhat.com>
2117
2118 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2119 expect different "info terminal" output if testing with a
2120 non-native target.
2121
ebe3b402
PA
21222017-10-13 Pedro Alves <palves@redhat.com>
2123 Simon Marchi <simon.marchi@polymtl.ca>
2124
2125 PR python/12966
2126 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2127
42f1b161
PA
21282017-10-13 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2131 already.
2132
8d6ef72b
PA
21332017-10-13 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2136 is_remote.
2137
d7bcd5b8
PA
21382017-10-13 Pedro Alves <palves@redhat.com>
2139
2140 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2141 is_remote.
2142
df479dc6
PA
21432017-10-13 Pedro Alves <palves@redhat.com>
2144
2145 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2146 is set.
2147 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2148 instead of is_remote.
2149
23fb630a
PA
21502017-10-13 Pedro Alves <palves@redhat.com>
2151
2152 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2153 (top level): Add comment.
2154
cc77b1dc
PA
21552017-10-13 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/remote.exp (top level): Fix comment typo and add
2158 missing return.
2159
27c9e813
PA
21602017-10-13 Pedro Alves <palves@redhat.com>
2161 Simon Marchi <simon.marchi@polymtl.ca>
2162
2163 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2164 calls and add comments. Skip test if use_gdb_stub is set.
2165 (top level): Use "set cwd" command instead of "cd" command.
2166
5e830d98
PA
21672017-10-13 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2170 is_remote target check.
2171
f5ca0032
PA
21722017-10-13 Pedro Alves <palves@redhat.com>
2173
2174 * gdb.base/scope.exp: Use build_executable + clean_restart +
2175 gdb_file_cmd instead of prepare_for_testing and no longer skip
2176 "before run" tests on is_remote target boards. Update comments.
2177 * boards/native-extended-gdbserver.exp
2178 (extended_gdbserver_load_last_file): New, factored out from ...
2179 (gdb_load): ... this. Move further below and add comment.
2180 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2181
8aed1c0d
PA
21822017-10-12 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.base/attach.exp: Remove references to gdb64.
2185 * gdb.base/dbx.exp: Remove references to gdb64.
2186
cfa34c87
SM
21872017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2188 Pedro Alves <palves@redhat.com>
2189
2190 * gdb.base/label.exp: Remove is_remote target check.
2191
9192b7de
PA
21922017-10-12 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.base/auvx.exp (coredir): Update comment.
2195 (top level) <core_works>: Use "set cwd" command instead of "cd"
2196 command.
2197
6bf0052d
PA
21982017-10-12 Pedro Alves <palves@redhat.com>
2199 Simon Marchi <simon.marchi@polymtl.ca>
2200
2201 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2202 target boards.
2203
e48ef82d
PA
22042017-10-12 Pedro Alves <palves@redhat.com>
2205 Simon Marchi <simon.marchi@polymtl.ca>
2206
2207 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2208 Instead skip if there's any gdb_protocol set.
2209
8d7aea57
SM
22102017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2211 Pedro Alves <palves@redhat.com>
2212
2213 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2214
30440677
PA
22152017-10-12 Pedro Alves <palves@redhat.com>
2216 Simon Marchi <simon.marchi@polymtl.ca>
2217
2218 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2219 instead of on dejagnu remote boards.
2220
4e04f045 22212017-10-12 Pedro Alves <palves@redhat.com>
175654b9 2222 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
2223
2224 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2225 checks. Use build_executable + clean_restart instead of
2226 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2227 of enabling non-stop after starting gdb.
2228
871a186e
PA
22292017-10-12 Pedro Alves <palves@redhat.com>
2230
2231 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2232 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2233 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2234 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2235
56d704da
AK
22362017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2237
2238 * gdb.arch/arc-tdesc-cpu.exp: New file.
2239 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2240
2f20e312
SM
22412017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2242
2243 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2244
65630365
PA
22452017-10-10 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2248 expect CLI output.
2249
bf469271
PA
22502017-10-10 Pedro Alves <palves@redhat.com>
2251
2252 * lib/selftest-support.exp (selftest_setup): Update for
2253 captured_command_loop's prototype change.
2254
777a42f1
PA
22552017-10-09 Pedro Alves <palves@redhat.com>
2256
2257 Test both arch1=>arch2 and arch2=>arch1.
2258
2259 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2260 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2261 factored out to...
2262 (append_arch1_options, append_arch2_options, append_arch_options)
2263 (build_executables): New procedures.
2264 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2265 local.
2266 (top level): Add new 'first_arch' testing axis.
2267
cbd2b4e3
PA
22682017-10-09 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2271 (barrier): New.
2272 (thread_start, all_started): New functions.
2273 (main): Spawn new thread and wait until it is scheduled.
2274 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2275 option.
2276 (do_test): Add 'selected_thread' parameter. Run to all_started
2277 instead of main. Explicitly set the breakpoint at main. Switch
2278 to the SELECTED_THREAD thread.
2279 (top level): Test handling the exec event with either the main
2280 thread or the second thread selected.
2281
5c9e4427
PA
22822017-10-09 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2285 logic. Move STOP marker after the value checks.
2286 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2287 regexp.
2288
b3b7c423
SL
22892017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2290
2291 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2292
3b4b2f16
UW
22932017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2294
2295 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2296 integer-to-dfp conversion.
2297 * gdb.base/dfp-test.exp: Likewise.
2298
5cd63fda
PA
22992017-10-04 Pedro Alves <palves@redhat.com>
2300
2301 * gdb.multi/hangout.c: Include <unistd.h>.
2302 (hangout_loop): New function.
2303 (main): Call alarm. Call hangout_loop in a loop.
2304 * gdb.multi/hello.c: Include <unistd.h>.
2305 (hello_loop): New function.
2306 (main): Call alarm. Call hangout_loop in a loop.
2307 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2308 inferior with the other selected.
2309
4c71c105
SM
23102017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2311
2312 * gdb.mi/list-thread-groups-available.exp: New file.
2313 * gdb.mi/list-thread-groups-available.c: New file.
2314
bc3b087d
SDJ
23152017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2316
2317 * gdb.base/set-cwd.exp: Make it available on
2318 native-extended-gdbserver.
2319
d092c5a2
SDJ
23202017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2321
2322 * gdb.base/set-cwd.c: New file.
2323 * gdb.base/set-cwd.exp: Likewise.
2324
45320ffa
TT
23252017-10-02 Tom Tromey <tom@tromey.com>
2326
2327 PR rust/22236:
2328 * gdb.rust/simple.rs (main): New variable "fslice".
2329 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2330
b3e3859b
TT
23312017-10-02 Tom Tromey <tom@tromey.com>
2332
2333 * gdb.rust/simple.exp: Test ptype of a slice.
2334
01af5e0d
TT
23352017-10-02 Tom Tromey <tom@tromey.com>
2336
2337 * gdb.rust/simple.exp: Test index of slice.
2338
a9bbfbd8
TT
23392017-09-27 Tom Tromey <tom@tromey.com>
2340
2341 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2342
df8899e5
TP
23432017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2344 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.base/compare-sections.exp (get value of read-only section): Read
2347 as unsigned value.
2348 (corrupt read-only section): Likewise and don't set written if patching
2349 failed.
2350
757bf54b
KB
23512017-09-21 Kevin Buettner <kevinb@redhat.com>
2352
2353 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2354 files.
2355
06871ae8
PA
23562017-09-20 Pedro Alves <palves@redhat.com>
2357
2358 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2359 symbol names in gdb's output.
2360 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2361
e5f25bc5
PA
23622017-09-20 Pedro Alves <palves@redhat.com>
2363
2364 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2365 Rename to ...
2366 (test_list_ambiguous_symbol): ... this and add a symbol name
2367 parameter. Adjust.
2368 (test_list_ambiguous_function): Reimplement on top of
2369 test_list_ambiguous_symbol and also test listing ambiguous
2370 variables.
2371 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2372 (ambiguous_fun): ... this.
2373 (ambiguous_var): New.
2374 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2375 (ambiguous_fun): ... this.
2376 (ambiguous_var): New.
2377
4e5a4f58
JB
23782017-09-19 John Baldwin <jhb@FreeBSD.org>
2379
2380 * gdb.base/starti.c: New file.
2381 * gdb.base/starti.exp: New file.
2382 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2383
26e53f3e
PA
23842017-09-14 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2387 (top level): Use it instead of runto.
2388
cb791d59
TT
23892017-09-11 Tom Tromey <tom@tromey.com>
2390
2391 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2392
7c96f8c1
TT
23932017-09-11 Tom Tromey <tom@tromey.com>
2394
2395 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2396 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2397
469412dd
CW
23982017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2399
2400 * gdb.fortran/printing-types.exp: New file.
2401 * gdb.fortran/printing-types.exp: New file.
2402
e0f86435
BH
24032017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2404
2405 * gdb.fortran/vla-ptype.exp: Fix typos.
2406 * gdb.fortran/vla-value.exp: Same.
2407
9e9af4be
BH
24082017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2409
2410 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2411 * gdb.mi/mi-var-child-f.exp: Likewise.
2412 * gdb.mi/mi-vla-fortran.exp: Likewise.
2413
a5ad232b
FP
24142017-09-08 Frank Penczek <frank.penczek@intel.com>
2415 Christoph Weinmann <christoph.t.weinmann@intel.com>
2416 Bernhard Heckel <bernhard.heckel@intel.com>
2417
2418 * gdb.fortran/ptr-indentation.f90: New file.
2419 * gdb.fortran/ptr-indentation.exp: New file.
2420
5aec60eb
TT
24212017-09-05 Tom Tromey <tom@tromey.com>
2422
2423 PR gdb/22010:
2424 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2425
8f8f8152
TP
24262017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2427
2428 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2429
fbd1b771
JK
24302017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2431
2432 * gdb.threads/tls-nodebug-pie.c: New file.
2433 * gdb.threads/tls-nodebug-pie.exp: New file.
2434
5eb5f850
TT
24352017-09-05 Tom Tromey <tom@tromey.com>
2436
2437 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2438 for rust.
2439
ae780a21
SM
24402017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2441
2442 * gdb.multi/multi-arch-exec.exp: Test with different
2443 "follow-exec-mode" settings.
2444 (do_test): New procedure.
2445
3693fdb3
PA
24462017-09-04 Pedro Alves <palves@redhat.com>
2447
2448 * gdb.base/func-static.c (S::method const, S::method volatile)
2449 (S::method volatile const): New methods.
2450 (c_s, v_s, cv_s): New instances.
2451 (main): Call method() on them.
2452 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2453 (cannot_resolve): New procedure.
2454 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2455 print-quote-unquoted columns.
2456 (do_test): Test printing each scope too.
2457
e68cb8e0
PA
24582017-09-04 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.base/local-static.exp: Also test with
2461 class::method::variable wholly quoted.
2462 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2463
858be34c
PA
24642017-09-04 Pedro Alves <palves@redhat.com>
2465
2466 * gdb.base/local-static.c: New.
2467 * gdb.base/local-static.cc: New.
2468 * gdb.base/local-static.exp: New.
2469
46a4882b
PA
24702017-09-04 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.asm/asm-source.exp: Add casts to int.
2473 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2474 (dataglobal64_1, dataglobal64_2): New globals.
2475 * gdb.base/nodebug.exp: Test different expressions involving the
2476 new globals, with print, whatis and ptype. Add casts to int.
2477 * gdb.base/solib-display.exp: Add casts to int.
2478 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2479 * gdb.cp/m-static.exp: Add cast to int.
2480 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2481 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2482 tls variable with no debug info without a cast. Test with a cast
2483 to int too.
2484 * gdb.trace/entry-values.exp: Add casts.
2485
2c5a2be1
PA
24862017-09-04 Pedro Alves <palves@redhat.com>
2487
2488 * gdb.base/nodebug.exp: Test that ptype's error about functions
2489 with unknown return type includes the function name too.
2490
7022349d
PA
24912017-09-04 Pedro Alves <palves@redhat.com>
2492
2493 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2494 return type of munmap in infcall.
2495 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2496 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2497 type of ftell in infcall.
2498 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2499 type of getpid in infcall.
2500 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2501 infcall.
2502 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2503 Bail on failure to extract the pid.
2504 * gdb.base/nodebug.c: #include <stdint.h>.
2505 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2506 New functions.
2507 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2508 Change expected output of print/whatis/ptype with functions with
2509 no debug info. Test all supported languages. Call
2510 test_call_promotion.
2511 * gdb.compile/compile.exp: Adjust expected output to expect
2512 warning.
2513 * gdb.threads/siginfo-threads.exp: Likewise.
2514
54990598
PA
25152017-09-04 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2518 "prototypes". Test calling float functions via prototyped and
2519 unprototyped function pointers.
2520 (perform_all_tests): New parameter "prototypes". Pass it down.
2521 (top level): Pass down "prototypes" parameter to
2522 perform_all_tests.
2523
34d16ea2
SM
25242017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2525
2526 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2527 Test with nested loops.
2528
9521ecda
SM
25292017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2530
2531 * gdb.base/commands.exp: Call the new procedures.
2532 (loop_break_test, loop_continue_test): New procedures.
2533
80a65e9b
SM
25342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2535
2536 * gdb.base/commands.exp: Call new procedure.
2537 (define_if_without_arg_test): New procedure.
2538
e439fa14
PA
25392017-09-04 Pedro Alves <palves@redhat.com>
2540
2541 * gdb.base/list-ambiguous.exp: New file.
2542 * gdb.base/list-ambiguous0.c: New file.
2543 * gdb.base/list-ambiguous1.c: New file.
2544 * gdb.base/list.exp (test_list_range): Adjust expected output.
2545
0a2dde4a
SDJ
25462017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2547
2548 * gdb.base/share-env-with-gdbserver.c: New file.
2549 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2550
5e89eb3a
SM
25512017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2552
2553 * gdb.base/commands.exp (gdbvar_simple_if_test,
2554 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2555 progvar_simple_if_test, progvar_simple_while_test,
2556 progvar_complex_if_while_test, user_defined_command_test,
2557 user_defined_command_args_eval,
2558 user_defined_command_args_stack_test,
2559 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2560 temporary_breakpoint_commands,
2561 gdb_test_no_prompt, redefine_hook_test,
2562 redefine_backtrace_test): Remove "global gdb_prompt".
2563
fd437cbc
SM
25642017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2565
2566 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2567 New proc, call it from toplevel.
2568
87215ad1
SDJ
25692017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2570
2571 PR remote/21852
2572 * gdb.server/normal.c: New file, copied from gdb.base.
2573 * gdb.server/run-without-local-binary.exp: New file.
2574
58afddc6
WP
25752017-08-07 Weimin Pan <weimin.pan@oracle.com>
2576
2577 * gdb.arch/sparc64-adi.exp: New file.
2578 * gdb.arch/sparc64-adi.c: New file.
2579
5277199a
PA
25802017-08-22 Pedro Alves <palves@redhat.com>
2581
2582 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2583 (top level): Add "list all overloads" tests.
2584
14278e1f
TT
25852017-08-22 Tom Tromey <tom@tromey.com>
2586
2587 * gdb.gdb/xfullpath.exp: Remove.
2588
bf223d3e
PA
25892017-08-21 Pedro Alves <palves@redhat.com>
2590
2591 PR gdb/19487
2592 * gdb.base/symbol-alias.c: New.
2593 * gdb.base/symbol-alias2.c: New.
2594 * gdb.base/symbol-alias.exp: New.
2595
c973d0aa
PA
25962017-08-21 Pedro Alves <palves@redhat.com>
2597
2598 * gdb.base/dfp-test.c
2599 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2600 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2601 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2602 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2603 * gdb.base/whatis-ptype-typedefs.c: New.
2604 * gdb.base/whatis-ptype-typedefs.exp: New.
2605 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2606 (an_int, an_int_type, an_int_type2): New globals.
2607 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2608 involving typedefs and cast expressions.
2609 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2610 (lookup_typedefs_function): New.
2611 (typedefs_pretty_printers_dict): New.
2612 (top level): Register lookup_typedefs_function in
2613 gdb.pretty_printers.
2614
6d580b63
YQ
26152017-08-18 Yao Qi <yao.qi@linaro.org>
2616
2617 * gdb.server/unittest.exp: New.
2618
206726fb
SDJ
26192017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2620
2621 PR gdb/21954
2622 * gdb.base/environ.exp: Add test to check if 'unset environment'
2623 works.
2624
bf0ec4c2
AA
26252017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2626
2627 * lib/gdb.exp (universal_compile_options): New caching proc.
2628 (gdb_compile): Suppress GCC's coloring of messages.
2629
d6382fff
TT
26302017-08-14 Tom Tromey <tom@tromey.com>
2631
2632 PR gdb/21675:
2633 * gdb.base/printcmds.exp (test_radices): New function.
2634 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2635 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2636 * lib/gdb.exp (get_integer_valueof): Use p/d.
2637
c2c2dd9f
SM
26382017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2639
2640 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2641 characters.
2642
fdffd6f4
TT
26432017-08-05 Tom Tromey <tom@tromey.com>
2644
2645 * gdb.rust/simple.exp: Allow String to appear in a different
2646 namespace.
2647
27d41eac
YQ
26482017-07-26 Yao Qi <yao.qi@linaro.org>
2649
2650 * gdb.gdb/unittest.exp: Invoke command
2651 "maintenance check xml-descriptions".
2652
031ed05d
AA
26532017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2654
2655 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2656 calling context.
2657 (hex128): Drop erroneous calculation of parameters.
2658
dcd27ddf
SM
26592017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2660
2661 * gdb.python/py-unwind.exp: Disable stack protection when
2662 building test file.
2663
47e77640
PA
26642017-07-20 Pedro Alves <palves@redhat.com>
2665
2666 * gdb.base/default.exp (set language): Adjust expected output.
2667
62d2a18a
PA
26682017-07-20 Pedro Alves <palves@redhat.com>
2669
2670 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2671 (test_minsym): ... this, and make static.
2672 (get_pck__foo__bar__minsym): Rename to ...
2673 (get_test_minsym): ... this.
2674 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2675 symbol names and comments.
2676 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2677 (get_test_minsym): ... this.
2678 (pck__foo__bar__minsym__2): Rename to ...
2679 (test_minsym): ... this.
2680 (main): Adjust.
2681
c45ec17c
PA
26822017-07-17 Pedro Alves <palves@redhat.com>
2683
2684 * gdb.base/completion.exp: Adjust expected output.
2685 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2686 the completer works.
2687
c6756f62
PA
26882017-07-17 Pedro Alves <palves@redhat.com>
2689
2690 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2691
5bd68487
AB
26922017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2693
2694 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2695
8880f2a9
TT
26962017-07-14 Tom Tromey <tom@tromey.com>
2697
2698 PR rust/21764:
2699 * gdb.rust/simple.exp: Add tests.
2700
65547233
TT
27012017-07-14 Tom Tromey <tom@tromey.com>
2702
2703 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2704
8f14146e
PA
27052017-07-14 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.linespec/base/one/thefile.cc (z1): New function.
2708 * gdb.linespec/base/two/thefile.cc (z2): New function.
2709 * gdb.linespec/linespec.exp: Add tests.
2710
b4365d02
AB
27112017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2712
2713 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2714 to mi_create_breakpoint.
2715
5d2cbaa5
AB
27162017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2717
2718 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2719 mi_create_breakpoint.
2720
11cb5716
IB
27212017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2722
2723 * gdb.dlang/demangle.exp: Update for demangling changes.
2724
03278692
TT
27252017-07-09 Tom Tromey <tom@tromey.com>
2726
2727 * gdb.dwarf2/shortpiece.exp: New file.
2728
33c5cd75
DB
27292017-07-06 David Blaikie <dblaikie@gmail.com>
2730
2731 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2732 built from fissiont-multi-cu{1,2}.c.
2733 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2734 except putting 'main' and 'func' in separate CUs in the same DWO file.
2735 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2736 test.
2737 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2738 test.
2739
8455d262
PA
27402017-07-06 Pedro Alves <palves@redhat.com>
2741
2742 * gdb.python/py-unwind.exp: Test flushregs.
2743
dc4bde35
SDJ
27442017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2745
2746 PR cli/21688
2747 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2748 tests for alias commands and trailing whitespace.
2749
51ed89aa
SDJ
27502017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2751
2752 PR cli/21688
2753 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2754 procedure. Call it.
2755
eb17d413
PA
27562017-06-29 Pedro Alves <palves@redhat.com>
2757
2758 * gdb.base/printcmds.exp: Add tests.
2759
41664b45
DG
27602017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2761
2762 PR gdb/21337
2763 * gdb.base/reread-readsym.exp: New file.
2764 * gdb.base/reread-readsym.c: New file.
2765
75312ae3
KB
27662017-06-21 Kevin Buettner <kevinb@redhat.com>
2767
2768 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2769 subpattern.
2770
66953522
PB
27712017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2772
2773 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2774 extended mnemonic.
2775 * gdb.arch/powerpc-power9.s: Likewise.
2776
5524b525
AA
27772017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2778
2779 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2780 on 32-bit x86 targets. Exploit is_*_target macros where
2781 appropriate.
2782
03c8af18
AA
27832017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2784
2785 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2786 register pieces.
2787
3bf31011
AA
27882017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2789
2790 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2791 located in one or more DWARF pieces.
2792
805acca0
AA
27932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2794
2795 * lib/gdb.exp (get_endianness): New proc.
2796 * gdb.arch/aarch64-fp.exp: Use it.
2797 * gdb.arch/altivec-regs.exp: Likewise.
2798 * gdb.arch/e500-regs.exp: Likewise.
2799 * gdb.arch/vsx-regs.exp: Likewise.
2800 * gdb.base/dump.exp: Likewise.
2801 * gdb.base/funcargs.exp: Likewise.
2802 * gdb.base/gnu_vector.exp: Likewise.
2803 * gdb.dwarf2/formdata16.exp: Likewise.
2804 * gdb.dwarf2/implptrpiece.exp: Likewise.
2805 * gdb.dwarf2/nonvar-access.exp: Likewise.
2806 * gdb.python/py-inferior.exp: Likewise.
2807 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2808
e9352324
AA
28092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2810
2811 PR gdb/21226
2812 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2813 stack value pieces are taken from the LSB end.
2814
d5d1163e
AA
28152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2816
2817 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2818 variable at nonzero offset.
2819
0567c986
AA
28202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2821
2822 * gdb.dwarf2/var-access.c: New file.
2823 * gdb.dwarf2/var-access.exp: New test.
2824 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2825
973e9aab
TT
28262017-06-12 Tom Tromey <tom@tromey.com>
2827
2828 * gdb.dwarf2/formdata16.exp: Add tests.
2829
d9109c80
TT
28302017-06-12 Tom Tromey <tom@tromey.com>
2831
2832 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2833
30a25466
TT
28342017-06-12 Tom Tromey <tom@tromey.com>
2835
2836 PR exp/16225:
2837 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2838 * gdb.arch/vsx-regs.exp: Update tests.
2839 * gdb.arch/s390-vregs.exp (hex128): New proc.
2840 Update test.
2841 * gdb.arch/altivec-regs.exp: Update tests.
2842
aefd8b33
SDJ
28432017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2844
2845 * gdb.base/startup-with-shell.c: New file.
2846 * gdb.base/startup-with-shell.exp: Likewise.
2847
2090129c
SDJ
28482017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2849
2850 * gdb.server/non-existing-program.exp: Update regex in order to
2851 reflect the fact that gdbserver is now using fork_inferior (with a
2852 shell) to startup the inferior.
2853
8e86a419
SM
28542017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2855
2856 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2857 support function calls from GDB.
2858
e6cf65f2
TT
28592017-05-21 Tom Tromey <tom@tromey.com>
2860
2861 PR rust/21466:
2862 * gdb.rust/unsized.exp: New file.
2863 * gdb.rust/unsized.rs: New file.
2864
43cc5389
TT
28652017-05-19 Tom Tromey <tom@tromey.com>
2866
2867 PR rust/21484:
2868 * gdb.rust/watch.exp: New file.
2869 * gdb.rust/watch.rs: New file.
2870
ec8df234
TT
28712017-05-18 Tom Tromey <tom@tromey.com>
2872
2873 * gdb.rust/simple.exp: Allow Box to be qualified.
2874
3e3e7fae
TP
28752017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2876
2877 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2878
59cc050d
PA
28792017-05-18 Pedro Alves <palves@redhat.com>
2880
2881 * gdb.base/fileio.c (test_write, test_read, test_close)
2882 (test_fstat): Don't print 'ret' in the fail path.
2883
c8f6abd1
PA
28842017-05-18 Pedro Alves <palves@redhat.com>
2885
2886 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2887 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2888 (test_system, test_rename, test_unlink, test_time): Change
2889 prototypes.
2890 * gdb.base/fileio.exp (stop_msg): Adjust.
2891
d2a03b77
PA
28922017-05-18 Pedro Alves <palves@redhat.com>
2893
2894 * gdb.base/fileio.c (null_str): New global.
2895 (test_stat): Use it.
2896 * gdb.base/fileio.exp: Remove nowarnings.
2897
0d5c6999
YQ
28982017-05-17 Yao Qi <yao.qi@linaro.org>
2899
2900 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2901
21873064
YQ
29022017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2903
2904 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2905 argument command.
2906 (top-level): Invoke test_set_inferior_tty.
2907
d512d31c
PA
29082017-05-04 Pedro Alves <palves@redhat.com>
2909
2910 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2911 Add parens to print call for Python 3.
2912
90cef2ed
KS
29132017-05-03 Keith Seitz <keiths@redhat.com>
2914
2915 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2916 (main): Call it.
2917
14f819c8
TW
29182017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2919
2920 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2921 to prev and next.
2922
913aeadd
TW
29232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2924
2925 * gdb.python/py-record-btrace.exp: Remove test for
2926 gdb.BtraceInstruction.error.
2927
a3be24ad
TW
29282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2929
2930 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2931
ae20e79a
TW
29322017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2933
2934 * gdb.python/py-record-btrace-threads.c: New file.
2935 * gdb.python/py-record-btrace-threads.exp: New file.
2936
45ce1b47
SDJ
29372017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2938
2939 PR testsuite/8595
2940 * gdb.base/environ.exp: Make test available in all architectures.
2941 Move bits related to "info program" testing to
2942 gdb.base/info-program.exp. Rewrite tests to use the two new
2943 procedures mentione below.
2944 (test_set_show_env_var) New procedure.
2945 (test_set_show_env_var_equal): Likewise.
2946 * gdb.base/info-program.exp: New file.
2947
e15c3eb4
KS
29482017-04-27 Keith Seitz <keiths@redhat.com>
2949
2950 * gdb.cp/oranking.cc (test15): New function.
2951 (main): Call test15 and declare additional variables for testing.
2952 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2953 "p foo101('abc')" tests.
2954 Add tests for cv qualifier overloads.
2955 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2956 "lvalue reference overload" test.
2957 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2958 "print value of f1 on Child&& in f2" test.
2959
3a3fd0fd
PA
29602017-04-19 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2963 procedure.
2964 (top level): Call it.
2965 * lib/gdb.exp (gdb_define_cmd): New procedure.
2966
53375380
PA
29672017-04-12 Pedro Alves <palves@redhat.com>
2968
2969 PR gdb/21323
2970 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2971 (wchar): New global.
2972 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2973 (do_test_wide_char, wide_char_types_no_program, top level): Add
2974 wchar_t testing.
2975
53e710ac
PA
29762017-04-12 Pedro Alves <palves@redhat.com>
2977
2978 PR c++/21323
2979 * gdb.cp/wide_char_types.c: New file.
2980 * gdb.cp/wide_char_types.exp: New file.
2981
0ad9d8c7
SDJ
29822017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2983
2984 PR gdb/21352
2985 * gdb.trace/tsv.exp: Add test for "tsave -r".
2986
b1b45502
IB
29872017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2988
2989 * gdb.dlang/watch-loc.c: New file.
2990 * gdb.dlang/watch-loc.exp: New file.
2991
ec13808e
JK
29922017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2993
2994 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2995
fe5f7374
AK
29962017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2997
2998 * gdb.arch/arc-analyze-prologue.S: New file.
2999 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3000
eea78757
AK
30012017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3002
3003 * gdb.arch/arc-decode-insn.S: New file.
3004 * gdb.arch/arc-decode-insn.exp: Likewise.
3005
5badf10a
IR
30062017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3007
3008 PR tdep/20928
3009 * gdb.arch/sparc64-regs.exp: New file.
3010 * gdb.arch/sparc64-regs.S: Likewise.
3011
cee59b3f
TW
30122017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3013
3014 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3015 and memory view on Python 3.
3016
c0f55cc6
AV
30172017-03-20 Artemiy Volkov <artemiyv@acm.org>
3018 Keith Seitz <keiths@redhat.com>
3019
3020 PR gdb/14441
3021 * gdb.cp/demangle.exp: Add rvalue reference tests.
3022 * gdb.cp/rvalue-ref-casts.cc: New file.
3023 * gdb.cp/rvalue-ref-casts.exp: New file.
3024 * gdb.cp/rvalue-ref-overload.cc: New file.
3025 * gdb.cp/rvalue-ref-overload.exp: New file.
3026 * gdb.cp/rvalue-ref-params.cc: New file.
3027 * gdb.cp/rvalue-ref-params.exp: New file.
3028 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3029 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3030 * gdb.cp/rvalue-ref-types.cc: New file.
3031 * gdb.cp/rvalue-ref-types.exp: New file.
3032 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3033 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3034
51457a05
MAL
30352017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3036
3037 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3038 New procedure.
3039
5b291c04
MAL
30402017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3041
3042 * lib/mi-support.exp (mi_gdb_test): Add additional message
3043 for unexpected output.
3044
59a56148
AA
30452017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3046
3047 * gdb.base/examine-backward.c (Barrier): New character array
3048 constant, to ensure that TestStrings is preceded by a string
3049 terminator.
3050
7942e96e
AA
30512017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3052
3053 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3054 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3055 and implicit pointer into such a location.
3056
6ebac3fb
DE
30572017-03-16 Doug Evans <dje@google.com>
3058
3059 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3060
ec3b243d
TP
30612017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3062
3063 * gdb.cp/m-static.exp: Fix expectation for prototype of
3064 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
3065
30662017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
3067
3068 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3069 * gdb.guile/scm-lazy-string.c: New file.
3070 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3071 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3072 for pointer, array, typedef lazy strings.
3073
2cc36e25 30742017-03-16 Doug Evans <dje@google.com>
34b43320
DE
3075
3076 PR python/17728, python/18439, python/18779
3077 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3078 * gdb.python/py-lazy-string.c (pointer): New typedef.
3079 (main): New locals ptr, array, typedef_ptr.
3080 * gdb.python/py-value.exp: Move lazy string tests to ...
3081 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3082 array, typedef lazy strings.
ec3b243d 3083
0efcde63
AK
30842017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3085
3086 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3087 Add optional 'test' parameter.
3088
7978d7c3
SM
30892017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3090
3091 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3092 Skip for versions of DejaGnu < 1.5.
3093
896c0c1e
SM
30942017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3095
3096 * lib/gdb.exp (dejagnu_version): New proc.
3097 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3098 Use dejagnu_version.
3099
5f4d1085
KS
31002017-03-10 Keith Seitz <keiths@redhat.com>
3101
3102 PR c++/8128
3103 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3104 type from destructor regexps.
3105 Add a branch which actually passes the test.
3106 Adjust "ptype t5i" test names.
3107
1de05205
PA
31082017-03-08 Pedro Alves <palves@redhat.com>
3109
3110 * gdb.base/step-over-exit.exp: Add explicit test message.
3111
c65d6b55
PA
31122017-03-08 Pedro Alves <palves@redhat.com>
3113
3114 PR gdb/18360
3115 * gdb.threads/interrupt-while-step-over.c: New file.
3116 * gdb.threads/interrupt-while-step-over.exp: New file.
3117
2e86a283
PA
31182017-03-08 Pedro Alves <palves@redhat.com>
3119
3120 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3121 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3122
25dcbff6
PA
31232017-03-08 Pedro Alves <palves@redhat.com>
3124
3125 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3126 PKRU as not supported as a PASS.
3127
dc9366eb
PA
31282017-03-08 Pedro Alves <palves@redhat.com>
3129
3130 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3131 prefix instead of $binfile1/$binfile2.
3132 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3133 in test message.
3134 * gdb.python/py-completion.exp: Use "load python file" as test
3135 messages instead of unstable path names.
3136
6e5d74e7
PA
31372017-03-08 Pedro Alves <palves@redhat.com>
3138 Jan Kratochvil <jan.kratochvil@redhat.com>
3139
3140 PR cli/21218
3141 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3142 New proc.
3143 (top level): Call it.
3144
9753a2f6
PA
31452017-03-08 Pedro Alves <palves@redhat.com>
3146
3147 PR tui/21216
3148 * gdb.tui/tui-nl-filtered-output.exp: New file.
3149
1a4dd9dd
PA
31502017-03-08 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/completion.exp: Move TUI completion tests to ...
3153 * gdb.tui/completion.exp: ... this new file.
3154
7cbbff33
PA
31552017-03-08 Pedro Alves <palves@redhat.com>
3156
3157 * gdb.base/tui-disasm-long-lines.c,
3158 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3159 gdb.base/tui-layout.exp: Move to ...
3160 * gdb.tui/: ... this new directory.
3161
5f6fd321
PA
31622017-03-07 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.base/tui-layout.c: New file.
3165 * gdb.base/tui-layout.exp: New file.
3166
44959fa8
PA
31672017-03-07 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.base/tui-layout.c: Rename to ...
3170 * gdb.base/tui-disasm-long-lines.c: ... this.
3171 * gdb.base/tui-layout.exp: Rename to ...
3172 * gdb.base/tui-disasm-long-lines.exp: ... this.
3173
f8c4e718
PA
31742017-03-07 Pedro Alves <palves@redhat.com>
3175
3176 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3177
6dbb839a 31782017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
3179
3180 * i386-mpx-call.c: New file.
3181 * i386-mpx-call.exp: New file.
3182
65b48a81
PB
31832017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3184
3185 * gdb.arch/powerpc-power.exp: Delete test.
3186 * gdb.arch/powerpc-power.s: Likewise.
3187 * gdb.disasm/disassembler-options.exp: New test.
3188 * gdb.arch/powerpc-altivec.exp: Likewise.
3189 * gdb.arch/powerpc-altivec.s: Likewise.
3190 * gdb.arch/powerpc-altivec2.exp: Likewise.
3191 * gdb.arch/powerpc-altivec2.s: Likewise.
3192 * gdb.arch/powerpc-altivec3.exp: Likewise.
3193 * gdb.arch/powerpc-altivec3.s: Likewise.
3194 * gdb.arch/powerpc-power7.exp: Likewise.
3195 * gdb.arch/powerpc-power7.s: Likewise.
3196 * gdb.arch/powerpc-power8.exp: Likewise.
3197 * gdb.arch/powerpc-power8.s: Likewise.
3198 * gdb.arch/powerpc-power9.exp: Likewise.
3199 * gdb.arch/powerpc-power9.s: Likewise.
3200 * gdb.arch/powerpc-vsx.exp: Likewise.
3201 * gdb.arch/powerpc-vsx.s: Likewise.
3202 * gdb.arch/powerpc-vsx2.exp: Likewise.
3203 * gdb.arch/powerpc-vsx2.s: Likewise.
3204 * gdb.arch/powerpc-vsx3.exp: Likewise.
3205 * gdb.arch/powerpc-vsx3.s: Likewise.
3206 * gdb.arch/arm-disassembler-options.exp: Likewise.
3207 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3208 * gdb.arch/s390-disassembler-options.exp: Likewise.
3209
17cd4947
LM
32102017-02-23 Luis Machado <lgustavo@codesourcery.com>
3211
3212 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3213 (check_supported_features): ... this. Changed return type to void.
3214 (supports_rdseed): New static global.
3215 (rdseed): Check supports_rdseed.
3216 (initialize): Call check_supported_features.
3217
2039d74e
EBM
32182017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3219
3220 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3221 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3222 and lqarx/stqcx.
3223 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3224 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3225
a51d7ecf
EBM
32262017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3227
3228 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3229 uppercase.
3230
0224619f
JK
32312017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3232
3233 * gdb.dwarf2/formdata16.c: New file.
3234 * gdb.dwarf2/formdata16.exp: New file.
3235 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3236
216f72a1
JK
32372017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3238
3239 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3240 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3241 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3242 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3243 DW_AT_GNU_*.
3244
43988095
JK
32452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3246
3247 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3248
99e8a4f9
SDJ
32492017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3250
3251 PR gdb/21164
3252 * gdb.base/maint.exp: Add testcases for when the commands do
3253 not have arguments.
3254
b58a8c0c
TP
32552017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3256
3257 * gdb.cp/chained-calls.exp: Use p instead of P.
3258
4e746bb6
TW
32592017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3260
3261 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3262 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3263
3f77c769
TT
32642017-02-14 Tom Tromey <tom@tromey.com>
3265
3266 PR python/13598:
3267 * gdb.python/py-events.exp: Add before_prompt event tests.
3268
075beec0
AA
32692017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3270
3271 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3272
bf5f525c
LM
32732017-02-13 Luis Machado <lgustavo@codesourcery.com>
3274
3275 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3276 (main): Call my_unique_function_name.
3277 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3278 completion of patterns with a single match.
3279 Add missing -re switches to gdb_test_multiple calls.
3280
13a66184
LM
32812017-02-13 Luis Machado <lgustavo@codesourcery.com>
3282
3283 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3284 return if core file is not recognized.
3285
26a06916
SM
32862017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3287
3288 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3289 and extra UIs.
3290
b761ca9e
SM
32912017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3292
3293 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3294 proc_with_prefix.
3295
b964bee0
TT
32962017-02-10 Tom Tromey <tom@tromey.com>
3297
3298 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3299
18da0c51
MG
33002017-02-10 Martin Galvan <martingalvan@sourceware.org>
3301
3302 PR gdb/21122
3303 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3304
604c4576
JG
33052017-02-08 Jerome Guitton <guitton@adacore.com>
3306
3307 * gdb.base/define.exp: Add test for command abbreviations
3308 in define.
3309
20b477a7
LM
33102017-02-06 Luis Machado <lgustavo@codesourcery.com>
3311
3312 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3313 * gdb.reverse/insn-reverse-x86.c: New file.
3314
3f7b46f2
IR
33152017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3316
3317 PR tdep/20936
3318 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3319
f0fd41c1
TT
33202017-02-03 Tom Tromey <tom@tromey.com>
3321
3322 PR rust/21097:
3323 * gdb.rust/simple.exp: Add new tests.
3324
5be5dbf0
PA
33252017-02-02 Pedro Alves <palves@redhat.com>
3326
3327 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3328 tests.
3329
7346ef59
AA
33302017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3331
3332 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3333 taking a 2-byte value out of a 4-byte DWARF implicit value on
3334 big-endian targets.
3335 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3336 logic. Add test cases for DW_OP_implicit.
3337
787f0025
MM
33382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3339
3340 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3341
68777c29
MM
33422017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3343
3344 * gdb.btrace/enable.exp: Call gdb_exit before
3345 skip_gdbserver_tests.
3346
0a1c7e28
MM
33472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3348
3349 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3350 GDBFLAGS.
3351
b5ac99b0
MM
33522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3353
3354 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3355 the test is skipped.
3356 * gdb.btrace/data.exp: Likewise.
3357 * gdb.btrace/delta.exp: Likewise.
3358 * gdb.btrace/dlopen.exp: Likewise.
3359 * gdb.btrace/enable-running.exp: Likewise.
3360 * gdb.btrace/enable.exp: Likewise.
3361 * gdb.btrace/exception.exp: Likewise.
3362 * gdb.btrace/function_call_history.exp: Likewise.
3363 * gdb.btrace/gcore.exp: Likewise.
3364 * gdb.btrace/instruction_history.exp: Likewise.
3365 * gdb.btrace/multi-thread-step.exp: Likewise.
3366 * gdb.btrace/nohist.exp: Likewise.
3367 * gdb.btrace/non-stop.exp: Likewise.
3368 * gdb.btrace/reconnect.exp: Likewise.
3369 * gdb.btrace/record_goto-step.exp: Likewise.
3370 * gdb.btrace/record_goto.exp: Likewise.
3371 * gdb.btrace/rn-dl-bind.exp: Likewise.
3372 * gdb.btrace/segv.exp: Likewise.
3373 * gdb.btrace/step.exp: Likewise.
3374 * gdb.btrace/stepi.exp: Likewise.
3375 * gdb.btrace/tailcall-only.exp: Likewise.
3376 * gdb.btrace/tailcall.exp: Likewise.
3377 * gdb.btrace/tsx.exp: Likewise.
3378 * gdb.btrace/unknown_functions.exp: Likewise.
3379 * gdb.btrace/vdso.exp: Likewise.
3380
cd4007e4
MM
33812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3382
3383 * gdb.btrace/enable-running.c: New.
3384 * gdb.btrace/enable-running.exp: New.
3385
2735833d
WT
33862017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3387
3388 * gdb.arch/amd64-gs_base.c: New file.
3389 * gdb.arch/amd64-gs_base.exp: New file.
3390
b51e1e94
LM
33912017-01-26 Luis Machado <lgustavo@codesourcery.com>
3392
3393 * lib/memory.exp: Remove spurious empty newlines.
3394
72ca0410
SM
33952017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3396
3397 * gdb.python/py-bad-printers.exp: Load python file using "source".
3398 * gdb.python/py-events.exp: Likewise.
3399 * gdb.python/py-evsignal.exp: Likewise.
3400 * gdb.python/py-evthreads.exp: Likewise.
3401 * gdb.python/py-frame-args.exp: Likewise.
3402 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3403 * gdb.python/py-framefilter-mi.exp: Likewise.
3404 * gdb.python/py-framefilter.exp: Likewise.
3405 * gdb.python/py-mi.exp: Likewise.
3406 * gdb.python/py-pp-maint.exp: Likewise.
3407 * gdb.python/py-pp-registration.exp: Likewise.
3408 * gdb.python/py-prettyprint.exp: Likewise.
3409 (run_lang_tests): Likewise.
3410 * gdb.python/py-typeprint.exp: Likewise.
3411
e309aa65
LM
34122017-01-26 Luis Machado <lgustavo@codesourcery.com>
3413
3414 * lib/memory.exp: New file.
3415 * lib/gdb.exp: Load memory.exp.
3416 * gdb.base/memattr.exp (delete_memory): Move proc to
3417 lib/memory.exp and rename to delete_memory_regions.
3418 Replace delete_memory with delete_memory_regions.
3419 Cleanup memory regions before tests.
3420 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3421 before tests.
3422
515aff23
LM
34232017-01-26 Luis Machado <lgustavo@codesourcery.com>
3424
3425 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3426 files.
3427 (initialize): New function conditionally defined.
3428 (testcases): Move within conditional block.
3429 (main): Call initialize.
3430 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3431 of gdb.reverse/insn-reverse.c.
3432 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3433 gdb.reverse/insn-reverse.c.
3434
d8b49cf0
YQ
34352017-01-26 Yao Qi <yao.qi@linaro.org>
3436
3437 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3438 disassemble on address 0.
3439
f13a9a0c
YQ
34402017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3441 Yao Qi <yao.qi@linaro.org>
3442
3443 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3444 * gdb.dwarf2/implptr-64bit.S: Remove.
3445 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3446 variables in caller's context. Add DW_OP_implicit_value.
3447
5ac95241
YQ
34482017-01-25 Yao Qi <yao.qi@linaro.org>
3449
3450 * lib/dwarf.exp (Dwarf::_location): Handle
3451 DW_OP_GNU_implicit_pointer with proper size.
3452
23e82930
LM
34532017-01-20 Luis Machado <lgustavo@codesourcery.com>
3454
3455 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3456 and add untested calls.
3457
d334ae25
LM
34582017-01-20 Luis Machado <lgustavo@codesourcery.com>
3459
3460 * gdb.python/python.exp: Check line number against what GDB thinks
3461 the line number is for func1.
3462
f5e6296e
IB
34632017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3464
3465 * gdb.dlang/debug-expr.exp: New file.
3466
5b362f04
LM
34672016-12-23 Luis Machado <lgustavo@codesourcery.com>
3468
3469 Fix test names for the following files:
3470
3471 * gdb.ada/exec_changed.exp
3472 * gdb.ada/info_types.exp
3473 * gdb.arch/aarch64-atomic-inst.exp
3474 * gdb.arch/aarch64-fp.exp
3475 * gdb.arch/altivec-abi.exp
3476 * gdb.arch/altivec-regs.exp
3477 * gdb.arch/amd64-byte.exp
3478 * gdb.arch/amd64-disp-step.exp
3479 * gdb.arch/amd64-dword.exp
3480 * gdb.arch/amd64-entry-value-inline.exp
3481 * gdb.arch/amd64-entry-value-param.exp
3482 * gdb.arch/amd64-entry-value-paramref.exp
3483 * gdb.arch/amd64-entry-value.exp
3484 * gdb.arch/amd64-i386-address.exp
3485 * gdb.arch/amd64-invalid-stack-middle.exp
3486 * gdb.arch/amd64-invalid-stack-top.exp
3487 * gdb.arch/amd64-optimout-repeat.exp
3488 * gdb.arch/amd64-prologue-skip.exp
3489 * gdb.arch/amd64-prologue-xmm.exp
3490 * gdb.arch/amd64-stap-special-operands.exp
3491 * gdb.arch/amd64-stap-wrong-subexp.exp
3492 * gdb.arch/amd64-tailcall-cxx.exp
3493 * gdb.arch/amd64-tailcall-noret.exp
3494 * gdb.arch/amd64-tailcall-ret.exp
3495 * gdb.arch/amd64-tailcall-self.exp
3496 * gdb.arch/amd64-word.exp
3497 * gdb.arch/arm-bl-branch-dest.exp
3498 * gdb.arch/arm-disp-step.exp
3499 * gdb.arch/arm-neon.exp
3500 * gdb.arch/arm-single-step-kernel-helper.exp
3501 * gdb.arch/avr-flash-qualifier.exp
3502 * gdb.arch/disp-step-insn-reloc.exp
3503 * gdb.arch/e500-abi.exp
3504 * gdb.arch/e500-regs.exp
3505 * gdb.arch/ftrace-insn-reloc.exp
3506 * gdb.arch/i386-avx512.exp
3507 * gdb.arch/i386-bp_permanent.exp
3508 * gdb.arch/i386-byte.exp
3509 * gdb.arch/i386-cfi-notcurrent.exp
3510 * gdb.arch/i386-disp-step.exp
3511 * gdb.arch/i386-dr3-watch.exp
3512 * gdb.arch/i386-float.exp
3513 * gdb.arch/i386-gnu-cfi.exp
3514 * gdb.arch/i386-mpx-map.exp
3515 * gdb.arch/i386-mpx-sigsegv.exp
3516 * gdb.arch/i386-mpx-simple_segv.exp
3517 * gdb.arch/i386-mpx.exp
3518 * gdb.arch/i386-permbkpt.exp
3519 * gdb.arch/i386-prologue.exp
3520 * gdb.arch/i386-signal.exp
3521 * gdb.arch/i386-size-overlap.exp
3522 * gdb.arch/i386-unwind.exp
3523 * gdb.arch/i386-word.exp
3524 * gdb.arch/mips-fcr.exp
3525 * gdb.arch/powerpc-d128-regs.exp
3526 * gdb.arch/powerpc-stackless.exp
3527 * gdb.arch/ppc64-atomic-inst.exp
3528 * gdb.arch/s390-stackless.exp
3529 * gdb.arch/s390-tdbregs.exp
3530 * gdb.arch/s390-vregs.exp
3531 * gdb.arch/sparc-sysstep.exp
3532 * gdb.arch/thumb-bx-pc.exp
3533 * gdb.arch/thumb-singlestep.exp
3534 * gdb.arch/thumb2-it.exp
3535 * gdb.arch/vsx-regs.exp
3536 * gdb.asm/asm-source.exp
3537 * gdb.base/a2-run.exp
3538 * gdb.base/advance.exp
3539 * gdb.base/all-bin.exp
3540 * gdb.base/anon.exp
3541 * gdb.base/args.exp
3542 * gdb.base/arithmet.exp
3543 * gdb.base/async-shell.exp
3544 * gdb.base/async.exp
3545 * gdb.base/attach-pie-noexec.exp
3546 * gdb.base/attach-twice.exp
3547 * gdb.base/auto-load.exp
3548 * gdb.base/bang.exp
3549 * gdb.base/bitfields.exp
3550 * gdb.base/break-always.exp
3551 * gdb.base/break-caller-line.exp
3552 * gdb.base/break-entry.exp
3553 * gdb.base/break-inline.exp
3554 * gdb.base/break-on-linker-gcd-function.exp
3555 * gdb.base/break-probes.exp
3556 * gdb.base/break.exp
3557 * gdb.base/breakpoint-shadow.exp
3558 * gdb.base/call-ar-st.exp
3559 * gdb.base/call-sc.exp
3560 * gdb.base/call-signal-resume.exp
3561 * gdb.base/call-strs.exp
3562 * gdb.base/callfuncs.exp
3563 * gdb.base/catch-fork-static.exp
3564 * gdb.base/catch-gdb-caused-signals.exp
3565 * gdb.base/catch-load.exp
3566 * gdb.base/catch-signal-fork.exp
3567 * gdb.base/catch-signal.exp
3568 * gdb.base/catch-syscall.exp
3569 * gdb.base/charset.exp
3570 * gdb.base/checkpoint.exp
3571 * gdb.base/chng-syms.exp
3572 * gdb.base/code-expr.exp
3573 * gdb.base/code_elim.exp
3574 * gdb.base/commands.exp
3575 * gdb.base/completion.exp
3576 * gdb.base/complex.exp
3577 * gdb.base/cond-expr.exp
3578 * gdb.base/condbreak.exp
3579 * gdb.base/consecutive.exp
3580 * gdb.base/continue-all-already-running.exp
3581 * gdb.base/coredump-filter.exp
3582 * gdb.base/corefile.exp
3583 * gdb.base/dbx.exp
3584 * gdb.base/debug-expr.exp
3585 * gdb.base/define.exp
3586 * gdb.base/del.exp
3587 * gdb.base/disabled-location.exp
3588 * gdb.base/disasm-end-cu.exp
3589 * gdb.base/disasm-optim.exp
3590 * gdb.base/display.exp
3591 * gdb.base/duplicate-bp.exp
3592 * gdb.base/ena-dis-br.exp
3593 * gdb.base/ending-run.exp
3594 * gdb.base/enumval.exp
3595 * gdb.base/environ.exp
3596 * gdb.base/eu-strip-infcall.exp
3597 * gdb.base/eval-avoid-side-effects.exp
3598 * gdb.base/eval-skip.exp
3599 * gdb.base/exitsignal.exp
3600 * gdb.base/expand-psymtabs.exp
3601 * gdb.base/filesym.exp
3602 * gdb.base/find-unmapped.exp
3603 * gdb.base/finish.exp
3604 * gdb.base/float.exp
3605 * gdb.base/foll-exec-mode.exp
3606 * gdb.base/foll-exec.exp
3607 * gdb.base/foll-fork.exp
3608 * gdb.base/fortran-sym-case.exp
3609 * gdb.base/freebpcmd.exp
3610 * gdb.base/func-ptr.exp
3611 * gdb.base/func-ptrs.exp
3612 * gdb.base/funcargs.exp
3613 * gdb.base/gcore-buffer-overflow.exp
3614 * gdb.base/gcore-relro-pie.exp
3615 * gdb.base/gcore-relro.exp
3616 * gdb.base/gcore.exp
3617 * gdb.base/gdb1090.exp
3618 * gdb.base/gdb11530.exp
3619 * gdb.base/gdb11531.exp
3620 * gdb.base/gdb1821.exp
3621 * gdb.base/gdbindex-stabs.exp
3622 * gdb.base/gdbvars.exp
3623 * gdb.base/hbreak.exp
3624 * gdb.base/hbreak2.exp
3625 * gdb.base/included.exp
3626 * gdb.base/infcall-input.exp
3627 * gdb.base/inferior-died.exp
3628 * gdb.base/infnan.exp
3629 * gdb.base/info-macros.exp
3630 * gdb.base/info-os.exp
3631 * gdb.base/info-proc.exp
3632 * gdb.base/info-shared.exp
3633 * gdb.base/info-target.exp
3634 * gdb.base/infoline.exp
3635 * gdb.base/interp.exp
3636 * gdb.base/interrupt.exp
3637 * gdb.base/jit-reader.exp
3638 * gdb.base/jit-simple.exp
3639 * gdb.base/kill-after-signal.exp
3640 * gdb.base/kill-detach-inferiors-cmd.exp
3641 * gdb.base/label.exp
3642 * gdb.base/langs.exp
3643 * gdb.base/ldbl_e308.exp
3644 * gdb.base/line-symtabs.exp
3645 * gdb.base/linespecs.exp
3646 * gdb.base/list.exp
3647 * gdb.base/long_long.exp
3648 * gdb.base/longest-types.exp
3649 * gdb.base/maint.exp
3650 * gdb.base/max-value-size.exp
3651 * gdb.base/memattr.exp
3652 * gdb.base/mips_pro.exp
3653 * gdb.base/morestack.exp
3654 * gdb.base/moribund-step.exp
3655 * gdb.base/multi-forks.exp
3656 * gdb.base/nested-addr.exp
3657 * gdb.base/nextoverexit.exp
3658 * gdb.base/noreturn-finish.exp
3659 * gdb.base/noreturn-return.exp
3660 * gdb.base/nostdlib.exp
3661 * gdb.base/offsets.exp
3662 * gdb.base/opaque.exp
3663 * gdb.base/pc-fp.exp
3664 * gdb.base/permissions.exp
3665 * gdb.base/print-symbol-loading.exp
3666 * gdb.base/prologue-include.exp
3667 * gdb.base/psymtab.exp
3668 * gdb.base/ptype.exp
3669 * gdb.base/random-signal.exp
3670 * gdb.base/randomize.exp
3671 * gdb.base/range-stepping.exp
3672 * gdb.base/readline-ask.exp
3673 * gdb.base/recpar.exp
3674 * gdb.base/recurse.exp
3675 * gdb.base/relational.exp
3676 * gdb.base/restore.exp
3677 * gdb.base/return-nodebug.exp
3678 * gdb.base/return.exp
3679 * gdb.base/run-after-attach.exp
3680 * gdb.base/save-bp.exp
3681 * gdb.base/scope.exp
3682 * gdb.base/sect-cmd.exp
3683 * gdb.base/set-lang-auto.exp
3684 * gdb.base/set-noassign.exp
3685 * gdb.base/setvar.exp
3686 * gdb.base/sigall.exp
3687 * gdb.base/sigbpt.exp
3688 * gdb.base/siginfo-addr.exp
3689 * gdb.base/siginfo-infcall.exp
3690 * gdb.base/siginfo-obj.exp
3691 * gdb.base/siginfo.exp
3692 * gdb.base/signals-state-child.exp
3693 * gdb.base/signest.exp
3694 * gdb.base/sigstep.exp
3695 * gdb.base/sizeof.exp
3696 * gdb.base/skip.exp
3697 * gdb.base/solib-corrupted.exp
3698 * gdb.base/solib-nodir.exp
3699 * gdb.base/solib-search.exp
3700 * gdb.base/stack-checking.exp
3701 * gdb.base/stale-infcall.exp
3702 * gdb.base/stap-probe.exp
3703 * gdb.base/start.exp
3704 * gdb.base/step-break.exp
3705 * gdb.base/step-bt.exp
3706 * gdb.base/step-line.exp
3707 * gdb.base/step-over-exit.exp
3708 * gdb.base/step-over-syscall.exp
3709 * gdb.base/step-resume-infcall.exp
3710 * gdb.base/step-test.exp
3711 * gdb.base/store.exp
3712 * gdb.base/structs3.exp
3713 * gdb.base/sym-file.exp
3714 * gdb.base/symbol-without-target_section.exp
3715 * gdb.base/term.exp
3716 * gdb.base/testenv.exp
3717 * gdb.base/ui-redirect.exp
3718 * gdb.base/until.exp
3719 * gdb.base/unwindonsignal.exp
3720 * gdb.base/value-double-free.exp
3721 * gdb.base/vla-datatypes.exp
3722 * gdb.base/vla-ptr.exp
3723 * gdb.base/vla-sideeffect.exp
3724 * gdb.base/volatile.exp
3725 * gdb.base/watch-cond-infcall.exp
3726 * gdb.base/watch-cond.exp
3727 * gdb.base/watch-non-mem.exp
3728 * gdb.base/watch-read.exp
3729 * gdb.base/watch-vfork.exp
3730 * gdb.base/watchpoint-cond-gone.exp
3731 * gdb.base/watchpoint-delete.exp
3732 * gdb.base/watchpoint-hw-hit-once.exp
3733 * gdb.base/watchpoint-hw.exp
3734 * gdb.base/watchpoint-stops-at-right-insn.exp
3735 * gdb.base/watchpoints.exp
3736 * gdb.base/wchar.exp
3737 * gdb.base/whatis-exp.exp
3738 * gdb.btrace/buffer-size.exp
3739 * gdb.btrace/data.exp
3740 * gdb.btrace/delta.exp
3741 * gdb.btrace/dlopen.exp
3742 * gdb.btrace/enable.exp
3743 * gdb.btrace/exception.exp
3744 * gdb.btrace/function_call_history.exp
3745 * gdb.btrace/gcore.exp
3746 * gdb.btrace/instruction_history.exp
3747 * gdb.btrace/nohist.exp
3748 * gdb.btrace/reconnect.exp
3749 * gdb.btrace/record_goto-step.exp
3750 * gdb.btrace/record_goto.exp
3751 * gdb.btrace/rn-dl-bind.exp
3752 * gdb.btrace/segv.exp
3753 * gdb.btrace/step.exp
3754 * gdb.btrace/stepi.exp
3755 * gdb.btrace/tailcall-only.exp
3756 * gdb.btrace/tailcall.exp
3757 * gdb.btrace/tsx.exp
3758 * gdb.btrace/unknown_functions.exp
3759 * gdb.btrace/vdso.exp
3760 * gdb.compile/compile-ifunc.exp
3761 * gdb.compile/compile-ops.exp
3762 * gdb.compile/compile-print.exp
3763 * gdb.compile/compile-setjmp.exp
3764 * gdb.cp/abstract-origin.exp
3765 * gdb.cp/ambiguous.exp
3766 * gdb.cp/annota2.exp
3767 * gdb.cp/annota3.exp
3768 * gdb.cp/anon-ns.exp
3769 * gdb.cp/anon-struct.exp
3770 * gdb.cp/anon-union.exp
3771 * gdb.cp/arg-reference.exp
3772 * gdb.cp/baseenum.exp
3773 * gdb.cp/bool.exp
3774 * gdb.cp/breakpoint.exp
3775 * gdb.cp/bs15503.exp
3776 * gdb.cp/call-c.exp
3777 * gdb.cp/casts.exp
3778 * gdb.cp/chained-calls.exp
3779 * gdb.cp/class2.exp
3780 * gdb.cp/classes.exp
3781 * gdb.cp/cmpd-minsyms.exp
3782 * gdb.cp/converts.exp
3783 * gdb.cp/cp-relocate.exp
3784 * gdb.cp/cpcompletion.exp
3785 * gdb.cp/cpexprs.exp
3786 * gdb.cp/cplabel.exp
3787 * gdb.cp/cplusfuncs.exp
3788 * gdb.cp/cpsizeof.exp
3789 * gdb.cp/ctti.exp
3790 * gdb.cp/derivation.exp
3791 * gdb.cp/destrprint.exp
3792 * gdb.cp/dispcxx.exp
3793 * gdb.cp/enum-class.exp
3794 * gdb.cp/exception.exp
3795 * gdb.cp/exceptprint.exp
3796 * gdb.cp/expand-psymtabs-cxx.exp
3797 * gdb.cp/expand-sals.exp
3798 * gdb.cp/extern-c.exp
3799 * gdb.cp/filename.exp
3800 * gdb.cp/formatted-ref.exp
3801 * gdb.cp/fpointer.exp
3802 * gdb.cp/gdb1355.exp
3803 * gdb.cp/gdb2495.exp
3804 * gdb.cp/hang.exp
3805 * gdb.cp/impl-this.exp
3806 * gdb.cp/infcall-dlopen.exp
3807 * gdb.cp/inherit.exp
3808 * gdb.cp/iostream.exp
3809 * gdb.cp/koenig.exp
3810 * gdb.cp/local.exp
3811 * gdb.cp/m-data.exp
3812 * gdb.cp/m-static.exp
3813 * gdb.cp/mb-ctor.exp
3814 * gdb.cp/mb-inline.exp
3815 * gdb.cp/mb-templates.exp
3816 * gdb.cp/member-name.exp
3817 * gdb.cp/member-ptr.exp
3818 * gdb.cp/meth-typedefs.exp
3819 * gdb.cp/method.exp
3820 * gdb.cp/method2.exp
3821 * gdb.cp/minsym-fallback.exp
3822 * gdb.cp/misc.exp
3823 * gdb.cp/namelessclass.exp
3824 * gdb.cp/namespace-enum.exp
3825 * gdb.cp/namespace-nested-import.exp
3826 * gdb.cp/namespace.exp
3827 * gdb.cp/nextoverthrow.exp
3828 * gdb.cp/no-dmgl-verbose.exp
3829 * gdb.cp/non-trivial-retval.exp
3830 * gdb.cp/noparam.exp
3831 * gdb.cp/nsdecl.exp
3832 * gdb.cp/nsimport.exp
3833 * gdb.cp/nsnested.exp
3834 * gdb.cp/nsnoimports.exp
3835 * gdb.cp/nsrecurs.exp
3836 * gdb.cp/nsstress.exp
3837 * gdb.cp/nsusing.exp
3838 * gdb.cp/operator.exp
3839 * gdb.cp/oranking.exp
3840 * gdb.cp/overload-const.exp
3841 * gdb.cp/overload.exp
3842 * gdb.cp/ovldbreak.exp
3843 * gdb.cp/ovsrch.exp
3844 * gdb.cp/paren-type.exp
3845 * gdb.cp/parse-lang.exp
3846 * gdb.cp/pass-by-ref.exp
3847 * gdb.cp/pr-1023.exp
3848 * gdb.cp/pr-1210.exp
3849 * gdb.cp/pr-574.exp
3850 * gdb.cp/pr10687.exp
3851 * gdb.cp/pr12028.exp
3852 * gdb.cp/pr17132.exp
3853 * gdb.cp/pr17494.exp
3854 * gdb.cp/pr9067.exp
3855 * gdb.cp/pr9167.exp
3856 * gdb.cp/pr9631.exp
3857 * gdb.cp/printmethod.exp
3858 * gdb.cp/psmang.exp
3859 * gdb.cp/psymtab-parameter.exp
3860 * gdb.cp/ptype-cv-cp.exp
3861 * gdb.cp/ptype-flags.exp
3862 * gdb.cp/re-set-overloaded.exp
3863 * gdb.cp/ref-types.exp
3864 * gdb.cp/rtti.exp
3865 * gdb.cp/scope-err.exp
3866 * gdb.cp/shadow.exp
3867 * gdb.cp/smartp.exp
3868 * gdb.cp/static-method.exp
3869 * gdb.cp/static-print-quit.exp
3870 * gdb.cp/temargs.exp
3871 * gdb.cp/templates.exp
3872 * gdb.cp/try_catch.exp
3873 * gdb.cp/typedef-operator.exp
3874 * gdb.cp/typeid.exp
3875 * gdb.cp/userdef.exp
3876 * gdb.cp/using-crash.exp
3877 * gdb.cp/var-tag.exp
3878 * gdb.cp/virtbase.exp
3879 * gdb.cp/virtfunc.exp
3880 * gdb.cp/virtfunc2.exp
3881 * gdb.cp/vla-cxx.exp
3882 * gdb.disasm/t01_mov.exp
3883 * gdb.disasm/t02_mova.exp
3884 * gdb.disasm/t03_add.exp
3885 * gdb.disasm/t04_sub.exp
3886 * gdb.disasm/t05_cmp.exp
3887 * gdb.disasm/t06_ari2.exp
3888 * gdb.disasm/t07_ari3.exp
3889 * gdb.disasm/t08_or.exp
3890 * gdb.disasm/t09_xor.exp
3891 * gdb.disasm/t10_and.exp
3892 * gdb.disasm/t11_logs.exp
3893 * gdb.disasm/t12_bit.exp
3894 * gdb.disasm/t13_otr.exp
3895 * gdb.dlang/circular.exp
3896 * gdb.dwarf2/arr-stride.exp
3897 * gdb.dwarf2/arr-subrange.exp
3898 * gdb.dwarf2/atomic-type.exp
3899 * gdb.dwarf2/bad-regnum.exp
3900 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3901 * gdb.dwarf2/callframecfa.exp
3902 * gdb.dwarf2/clztest.exp
3903 * gdb.dwarf2/corrupt.exp
3904 * gdb.dwarf2/data-loc.exp
3905 * gdb.dwarf2/dup-psym.exp
3906 * gdb.dwarf2/dw2-anon-mptr.exp
3907 * gdb.dwarf2/dw2-anonymous-func.exp
3908 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3909 * gdb.dwarf2/dw2-bad-unresolved.exp
3910 * gdb.dwarf2/dw2-basic.exp
3911 * gdb.dwarf2/dw2-canonicalize-type.exp
3912 * gdb.dwarf2/dw2-case-insensitive.exp
3913 * gdb.dwarf2/dw2-common-block.exp
3914 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3915 * gdb.dwarf2/dw2-compressed.exp
3916 * gdb.dwarf2/dw2-const.exp
3917 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3918 * gdb.dwarf2/dw2-cu-size.exp
3919 * gdb.dwarf2/dw2-dup-frame.exp
3920 * gdb.dwarf2/dw2-entry-value.exp
3921 * gdb.dwarf2/dw2-icycle.exp
3922 * gdb.dwarf2/dw2-ifort-parameter.exp
3923 * gdb.dwarf2/dw2-inline-break.exp
3924 * gdb.dwarf2/dw2-inline-param.exp
3925 * gdb.dwarf2/dw2-intercu.exp
3926 * gdb.dwarf2/dw2-intermix.exp
3927 * gdb.dwarf2/dw2-lexical-block-bare.exp
3928 * gdb.dwarf2/dw2-linkage-name-trust.exp
3929 * gdb.dwarf2/dw2-minsym-in-cu.exp
3930 * gdb.dwarf2/dw2-noloc.exp
3931 * gdb.dwarf2/dw2-op-call.exp
3932 * gdb.dwarf2/dw2-op-out-param.exp
3933 * gdb.dwarf2/dw2-opt-structptr.exp
3934 * gdb.dwarf2/dw2-param-error.exp
3935 * gdb.dwarf2/dw2-producer.exp
3936 * gdb.dwarf2/dw2-ranges-base.exp
3937 * gdb.dwarf2/dw2-ref-missing-frame.exp
3938 * gdb.dwarf2/dw2-reg-undefined.exp
3939 * gdb.dwarf2/dw2-regno-invalid.exp
3940 * gdb.dwarf2/dw2-restore.exp
3941 * gdb.dwarf2/dw2-restrict.exp
3942 * gdb.dwarf2/dw2-single-line-discriminators.exp
3943 * gdb.dwarf2/dw2-strp.exp
3944 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3945 * gdb.dwarf2/dw2-unresolved.exp
3946 * gdb.dwarf2/dw2-var-zero-addr.exp
3947 * gdb.dwarf2/dw4-sig-types.exp
3948 * gdb.dwarf2/dwz.exp
3949 * gdb.dwarf2/dynarr-ptr.exp
3950 * gdb.dwarf2/enum-type.exp
3951 * gdb.dwarf2/gdb-index.exp
3952 * gdb.dwarf2/implptr-64bit.exp
3953 * gdb.dwarf2/implptr-optimized-out.exp
3954 * gdb.dwarf2/implptr.exp
3955 * gdb.dwarf2/implref-array.exp
3956 * gdb.dwarf2/implref-const.exp
3957 * gdb.dwarf2/implref-global.exp
3958 * gdb.dwarf2/implref-struct.exp
3959 * gdb.dwarf2/mac-fileno.exp
3960 * gdb.dwarf2/main-subprogram.exp
3961 * gdb.dwarf2/member-ptr-forwardref.exp
3962 * gdb.dwarf2/method-ptr.exp
3963 * gdb.dwarf2/missing-sig-type.exp
3964 * gdb.dwarf2/nonvar-access.exp
3965 * gdb.dwarf2/opaque-type-lookup.exp
3966 * gdb.dwarf2/pieces-optimized-out.exp
3967 * gdb.dwarf2/pieces.exp
3968 * gdb.dwarf2/pr10770.exp
3969 * gdb.dwarf2/pr13961.exp
3970 * gdb.dwarf2/staticvirtual.exp
3971 * gdb.dwarf2/subrange.exp
3972 * gdb.dwarf2/symtab-producer.exp
3973 * gdb.dwarf2/trace-crash.exp
3974 * gdb.dwarf2/typeddwarf.exp
3975 * gdb.dwarf2/valop.exp
3976 * gdb.dwarf2/watch-notconst.exp
3977 * gdb.fortran/array-element.exp
3978 * gdb.fortran/charset.exp
3979 * gdb.fortran/common-block.exp
3980 * gdb.fortran/complex.exp
3981 * gdb.fortran/derived-type-function.exp
3982 * gdb.fortran/derived-type.exp
3983 * gdb.fortran/logical.exp
3984 * gdb.fortran/module.exp
3985 * gdb.fortran/multi-dim.exp
3986 * gdb.fortran/nested-funcs.exp
3987 * gdb.fortran/print-formatted.exp
3988 * gdb.fortran/subarray.exp
3989 * gdb.fortran/vla-alloc-assoc.exp
3990 * gdb.fortran/vla-datatypes.exp
3991 * gdb.fortran/vla-history.exp
3992 * gdb.fortran/vla-ptr-info.exp
3993 * gdb.fortran/vla-ptype-sub.exp
3994 * gdb.fortran/vla-ptype.exp
3995 * gdb.fortran/vla-sizeof.exp
3996 * gdb.fortran/vla-type.exp
3997 * gdb.fortran/vla-value-sub-arbitrary.exp
3998 * gdb.fortran/vla-value-sub-finish.exp
3999 * gdb.fortran/vla-value-sub.exp
4000 * gdb.fortran/vla-value.exp
4001 * gdb.fortran/whatis_type.exp
4002 * gdb.go/chan.exp
4003 * gdb.go/handcall.exp
4004 * gdb.go/hello.exp
4005 * gdb.go/integers.exp
4006 * gdb.go/methods.exp
4007 * gdb.go/package.exp
4008 * gdb.go/strings.exp
4009 * gdb.go/types.exp
4010 * gdb.go/unsafe.exp
4011 * gdb.guile/scm-arch.exp
4012 * gdb.guile/scm-block.exp
4013 * gdb.guile/scm-breakpoint.exp
4014 * gdb.guile/scm-cmd.exp
4015 * gdb.guile/scm-disasm.exp
4016 * gdb.guile/scm-equal.exp
4017 * gdb.guile/scm-frame-args.exp
4018 * gdb.guile/scm-frame-inline.exp
4019 * gdb.guile/scm-frame.exp
4020 * gdb.guile/scm-iterator.exp
4021 * gdb.guile/scm-math.exp
4022 * gdb.guile/scm-objfile.exp
4023 * gdb.guile/scm-ports.exp
4024 * gdb.guile/scm-symbol.exp
4025 * gdb.guile/scm-symtab.exp
4026 * gdb.guile/scm-value-cc.exp
4027 * gdb.guile/types-module.exp
4028 * gdb.linespec/break-ask.exp
4029 * gdb.linespec/cpexplicit.exp
4030 * gdb.linespec/explicit.exp
4031 * gdb.linespec/keywords.exp
4032 * gdb.linespec/linespec.exp
4033 * gdb.linespec/ls-dollar.exp
4034 * gdb.linespec/ls-errs.exp
4035 * gdb.linespec/skip-two.exp
4036 * gdb.linespec/thread.exp
4037 * gdb.mi/mi-async.exp
4038 * gdb.mi/mi-basics.exp
4039 * gdb.mi/mi-break.exp
4040 * gdb.mi/mi-catch-load.exp
4041 * gdb.mi/mi-cli.exp
4042 * gdb.mi/mi-cmd-param-changed.exp
4043 * gdb.mi/mi-console.exp
4044 * gdb.mi/mi-detach.exp
4045 * gdb.mi/mi-disassemble.exp
4046 * gdb.mi/mi-eval.exp
4047 * gdb.mi/mi-file-transfer.exp
4048 * gdb.mi/mi-file.exp
4049 * gdb.mi/mi-fill-memory.exp
4050 * gdb.mi/mi-inheritance-syntax-error.exp
4051 * gdb.mi/mi-linespec-err-cp.exp
4052 * gdb.mi/mi-logging.exp
4053 * gdb.mi/mi-memory-changed.exp
4054 * gdb.mi/mi-read-memory.exp
4055 * gdb.mi/mi-record-changed.exp
4056 * gdb.mi/mi-reg-undefined.exp
4057 * gdb.mi/mi-regs.exp
4058 * gdb.mi/mi-return.exp
4059 * gdb.mi/mi-reverse.exp
4060 * gdb.mi/mi-simplerun.exp
4061 * gdb.mi/mi-solib.exp
4062 * gdb.mi/mi-stack.exp
4063 * gdb.mi/mi-stepi.exp
4064 * gdb.mi/mi-syn-frame.exp
4065 * gdb.mi/mi-until.exp
4066 * gdb.mi/mi-var-block.exp
4067 * gdb.mi/mi-var-child.exp
4068 * gdb.mi/mi-var-cmd.exp
4069 * gdb.mi/mi-var-cp.exp
4070 * gdb.mi/mi-var-display.exp
4071 * gdb.mi/mi-var-invalidate.exp
4072 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4073 * gdb.mi/mi-vla-fortran.exp
4074 * gdb.mi/mi-watch.exp
4075 * gdb.mi/mi2-var-child.exp
4076 * gdb.mi/user-selected-context-sync.exp
4077 * gdb.modula2/unbounded-array.exp
4078 * gdb.multi/dummy-frame-restore.exp
4079 * gdb.multi/multi-arch-exec.exp
4080 * gdb.multi/multi-arch.exp
4081 * gdb.multi/tids.exp
4082 * gdb.multi/watchpoint-multi.exp
4083 * gdb.opencl/callfuncs.exp
4084 * gdb.opencl/convs_casts.exp
4085 * gdb.opencl/datatypes.exp
4086 * gdb.opencl/operators.exp
4087 * gdb.opencl/vec_comps.exp
4088 * gdb.opt/clobbered-registers-O2.exp
4089 * gdb.opt/inline-break.exp
4090 * gdb.opt/inline-bt.exp
4091 * gdb.opt/inline-cmds.exp
4092 * gdb.opt/inline-locals.exp
4093 * gdb.pascal/case-insensitive-symbols.exp
4094 * gdb.pascal/floats.exp
4095 * gdb.pascal/gdb11492.exp
4096 * gdb.python/lib-types.exp
4097 * gdb.python/py-arch.exp
4098 * gdb.python/py-as-string.exp
4099 * gdb.python/py-bad-printers.exp
4100 * gdb.python/py-block.exp
4101 * gdb.python/py-breakpoint-create-fail.exp
4102 * gdb.python/py-breakpoint.exp
4103 * gdb.python/py-caller-is.exp
4104 * gdb.python/py-cmd.exp
4105 * gdb.python/py-explore-cc.exp
4106 * gdb.python/py-explore.exp
4107 * gdb.python/py-finish-breakpoint.exp
4108 * gdb.python/py-finish-breakpoint2.exp
4109 * gdb.python/py-frame-args.exp
4110 * gdb.python/py-frame-inline.exp
4111 * gdb.python/py-frame.exp
4112 * gdb.python/py-framefilter-mi.exp
4113 * gdb.python/py-infthread.exp
4114 * gdb.python/py-lazy-string.exp
4115 * gdb.python/py-linetable.exp
4116 * gdb.python/py-mi-events.exp
4117 * gdb.python/py-mi-objfile.exp
4118 * gdb.python/py-mi.exp
4119 * gdb.python/py-objfile.exp
4120 * gdb.python/py-pp-integral.exp
4121 * gdb.python/py-pp-maint.exp
4122 * gdb.python/py-pp-re-notag.exp
4123 * gdb.python/py-pp-registration.exp
4124 * gdb.python/py-recurse-unwind.exp
4125 * gdb.python/py-strfns.exp
4126 * gdb.python/py-symbol.exp
4127 * gdb.python/py-symtab.exp
4128 * gdb.python/py-sync-interp.exp
4129 * gdb.python/py-typeprint.exp
4130 * gdb.python/py-unwind-maint.exp
4131 * gdb.python/py-unwind.exp
4132 * gdb.python/py-value-cc.exp
4133 * gdb.python/py-xmethods.exp
4134 * gdb.reverse/amd64-tailcall-reverse.exp
4135 * gdb.reverse/break-precsave.exp
4136 * gdb.reverse/break-reverse.exp
4137 * gdb.reverse/consecutive-precsave.exp
4138 * gdb.reverse/consecutive-reverse.exp
4139 * gdb.reverse/finish-precsave.exp
4140 * gdb.reverse/finish-reverse-bkpt.exp
4141 * gdb.reverse/finish-reverse.exp
4142 * gdb.reverse/fstatat-reverse.exp
4143 * gdb.reverse/getresuid-reverse.exp
4144 * gdb.reverse/i386-precsave.exp
4145 * gdb.reverse/i386-reverse.exp
4146 * gdb.reverse/i386-sse-reverse.exp
4147 * gdb.reverse/i387-env-reverse.exp
4148 * gdb.reverse/i387-stack-reverse.exp
4149 * gdb.reverse/insn-reverse.exp
4150 * gdb.reverse/machinestate-precsave.exp
4151 * gdb.reverse/machinestate.exp
4152 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4153 * gdb.reverse/pipe-reverse.exp
4154 * gdb.reverse/readv-reverse.exp
4155 * gdb.reverse/recvmsg-reverse.exp
4156 * gdb.reverse/rerun-prec.exp
4157 * gdb.reverse/s390-mvcle.exp
4158 * gdb.reverse/step-precsave.exp
4159 * gdb.reverse/step-reverse.exp
4160 * gdb.reverse/time-reverse.exp
4161 * gdb.reverse/until-precsave.exp
4162 * gdb.reverse/until-reverse.exp
4163 * gdb.reverse/waitpid-reverse.exp
4164 * gdb.reverse/watch-precsave.exp
4165 * gdb.reverse/watch-reverse.exp
4166 * gdb.rust/generics.exp
4167 * gdb.rust/methods.exp
4168 * gdb.rust/modules.exp
4169 * gdb.rust/simple.exp
4170 * gdb.server/connect-with-no-symbol-file.exp
4171 * gdb.server/ext-attach.exp
4172 * gdb.server/ext-restart.exp
4173 * gdb.server/ext-wrapper.exp
4174 * gdb.server/file-transfer.exp
4175 * gdb.server/server-exec-info.exp
4176 * gdb.server/server-kill.exp
4177 * gdb.server/server-mon.exp
4178 * gdb.server/wrapper.exp
4179 * gdb.stabs/exclfwd.exp
4180 * gdb.stabs/gdb11479.exp
4181 * gdb.threads/clone-new-thread-event.exp
4182 * gdb.threads/corethreads.exp
4183 * gdb.threads/current-lwp-dead.exp
4184 * gdb.threads/dlopen-libpthread.exp
4185 * gdb.threads/gcore-thread.exp
4186 * gdb.threads/sigstep-threads.exp
4187 * gdb.threads/watchpoint-fork.exp
4188 * gdb.trace/actions-changed.exp
4189 * gdb.trace/backtrace.exp
4190 * gdb.trace/change-loc.exp
4191 * gdb.trace/circ.exp
4192 * gdb.trace/collection.exp
4193 * gdb.trace/disconnected-tracing.exp
4194 * gdb.trace/ftrace.exp
4195 * gdb.trace/mi-trace-frame-collected.exp
4196 * gdb.trace/mi-trace-unavailable.exp
4197 * gdb.trace/mi-traceframe-changed.exp
4198 * gdb.trace/mi-tsv-changed.exp
4199 * gdb.trace/no-attach-trace.exp
4200 * gdb.trace/passc-dyn.exp
4201 * gdb.trace/qtro.exp
4202 * gdb.trace/range-stepping.exp
4203 * gdb.trace/read-memory.exp
4204 * gdb.trace/save-trace.exp
4205 * gdb.trace/signal.exp
4206 * gdb.trace/status-stop.exp
4207 * gdb.trace/tfile.exp
4208 * gdb.trace/trace-break.exp
4209 * gdb.trace/trace-buffer-size.exp
4210 * gdb.trace/trace-condition.exp
4211 * gdb.trace/tracefile-pseudo-reg.exp
4212 * gdb.trace/tstatus.exp
4213 * gdb.trace/unavailable.exp
4214 * gdb.trace/while-dyn.exp
4215 * gdb.trace/while-stepping.exp
4216
34c41c68
DE
42172016-12-22 Doug Evans <xdje42@gmail.com>
4218
4219 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4220 and msymbols.
4221
16e69324
YQ
42222016-12-19 Yao Qi <yao.qi@linaro.org>
4223
4224 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4225 (test_with_self): Don't call do_steps_and_nexts, and remove
4226 code about stepping into xmalloc.
4227
f94f411b
YQ
42282016-12-09 Yao Qi <yao.qi@linaro.org>
4229
4230 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4231
42322016-12-09 Yao Qi <yao.qi@linaro.org>
4233
4234 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4235
f1b5deee
PA
42362016-12-09 Pedro Alves <palves@redhat.com>
4237
4238 * gdb.base/all-architectures-0.exp: New file.
4239 * gdb.base/all-architectures-1.exp: New file.
4240 * gdb.base/all-architectures-2.exp: New file.
4241 * gdb.base/all-architectures-3.exp: New file.
4242 * gdb.base/all-architectures-4.exp: New file.
4243 * gdb.base/all-architectures-5.exp: New file.
4244 * gdb.base/all-architectures-6.exp: New file.
4245 * gdb.base/all-architectures-7.exp: New file.
4246 * gdb.base/all-architectures.exp.in: New file.
4247
364ca42e
YQ
42482016-12-09 Yao Qi <yao.qi@linaro.org>
4249
4250 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4251
107c2d62
LM
42522016-12-02 Luis Machado <lgustavo@codesourcery.com>
4253
4254 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4255 possible.
4256 Remove useless pattern-matching code.
4257
df3ee9ca
PA
42582016-12-02 Pedro Alves <palves@redhat.com>
4259
4260 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4261 procedure.
4262 (top level): Call it.
4263
ec835369
PA
42642016-12-02 Pedro Alves <palves@redhat.com>
4265
4266 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4267 New procedure.
4268 (top level): Call it.
4269
01770bbd
PA
42702016-12-02 Pedro Alves <palves@redhat.com>
4271
4272 PR cli/20559
4273 * gdb.base/commands.exp (user_defined_command_args_eval): New
4274 procedure.
4275 (top level): Call it.
4276
008459ea
LM
42772016-12-02 Luis Machado <lgustavo@codesourcery.com>
4278
4279 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4280 timeout handling.
4281
0c1b455e
TT
42822016-12-02 Tom Tromey <tom@tromey.com>
4283
4284 * gdb.dwarf2/main-subprogram.c: New file.
4285 * gdb.dwarf2/main-subprogram.exp: New file.
4286
018572b8
LM
42872016-12-01 Luis Machado <lgustavo@codesourcery.com>
4288
4289 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4290 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4291 gdb_test_no_output for a couple of cases.
4292 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4293
84c93cd5
LM
42942016-12-01 Luis Machado <lgustavo@codesourcery.com>
4295
4296 Fix test names and standardize compilation error messages throughout
4297 the following files:
4298
4299 * gdb.ada/start.exp
4300 * gdb.arch/alpha-step.exp
4301 * gdb.arch/e500-prologue.exp
4302 * gdb.arch/ftrace-insn-reloc.exp
4303 * gdb.arch/gdb1291.exp
4304 * gdb.arch/gdb1431.exp
4305 * gdb.arch/gdb1558.exp
4306 * gdb.arch/i386-dr3-watch.exp
4307 * gdb.arch/i386-sse-stack-align.exp
4308 * gdb.arch/ia64-breakpoint-shadow.exp
4309 * gdb.arch/pa-nullify.exp
4310 * gdb.arch/powerpc-aix-prologue.exp
4311 * gdb.arch/thumb-bx-pc.exp
4312 * gdb.base/annota1.exp
4313 * gdb.base/annota3.exp
4314 * gdb.base/arrayidx.exp
4315 * gdb.base/assign.exp
4316 * gdb.base/attach.exp
4317 * gdb.base/auxv.exp
4318 * gdb.base/bang.exp
4319 * gdb.base/bfp-test.exp
4320 * gdb.base/bigcore.exp
4321 * gdb.base/bitfields2.exp
4322 * gdb.base/break-fun-addr.exp
4323 * gdb.base/break-probes.exp
4324 * gdb.base/call-rt-st.exp
4325 * gdb.base/callexit.exp
4326 * gdb.base/catch-fork-kill.exp
4327 * gdb.base/charset.exp
4328 * gdb.base/checkpoint.exp
4329 * gdb.base/comprdebug.exp
4330 * gdb.base/constvars.exp
4331 * gdb.base/coredump-filter.exp
4332 * gdb.base/cursal.exp
4333 * gdb.base/cvexpr.exp
4334 * gdb.base/detach.exp
4335 * gdb.base/display.exp
4336 * gdb.base/dmsym.exp
4337 * gdb.base/dprintf-pending.exp
4338 * gdb.base/dso2dso.exp
4339 * gdb.base/dtrace-probe.exp
4340 * gdb.base/dump.exp
4341 * gdb.base/enum_cond.exp
4342 * gdb.base/exe-lock.exp
4343 * gdb.base/exec-invalid-sysroot.exp
4344 * gdb.base/execl-update-breakpoints.exp
4345 * gdb.base/exprs.exp
4346 * gdb.base/fileio.exp
4347 * gdb.base/find.exp
4348 * gdb.base/finish.exp
4349 * gdb.base/fixsection.exp
4350 * gdb.base/foll-vfork.exp
4351 * gdb.base/frame-args.exp
4352 * gdb.base/gcore.exp
4353 * gdb.base/gdb1250.exp
4354 * gdb.base/global-var-nested-by-dso.exp
4355 * gdb.base/gnu-ifunc.exp
4356 * gdb.base/hashline1.exp
4357 * gdb.base/hashline2.exp
4358 * gdb.base/hashline3.exp
4359 * gdb.base/hbreak-in-shr-unsupported.exp
4360 * gdb.base/huge.exp
4361 * gdb.base/infcall-input.exp
4362 * gdb.base/info-fun.exp
4363 * gdb.base/info-shared.exp
4364 * gdb.base/jit-simple.exp
4365 * gdb.base/jit-so.exp
4366 * gdb.base/jit.exp
4367 * gdb.base/jump.exp
4368 * gdb.base/label.exp
4369 * gdb.base/lineinc.exp
4370 * gdb.base/logical.exp
4371 * gdb.base/longjmp.exp
4372 * gdb.base/macscp.exp
4373 * gdb.base/miscexprs.exp
4374 * gdb.base/new-ui-echo.exp
4375 * gdb.base/new-ui-pending-input.exp
4376 * gdb.base/new-ui.exp
4377 * gdb.base/nodebug.exp
4378 * gdb.base/nofield.exp
4379 * gdb.base/offsets.exp
4380 * gdb.base/overlays.exp
4381 * gdb.base/pending.exp
4382 * gdb.base/pointers.exp
4383 * gdb.base/pr11022.exp
4384 * gdb.base/printcmds.exp
4385 * gdb.base/prologue.exp
4386 * gdb.base/ptr-typedef.exp
4387 * gdb.base/realname-expand.exp
4388 * gdb.base/relativedebug.exp
4389 * gdb.base/relocate.exp
4390 * gdb.base/remote.exp
4391 * gdb.base/reread.exp
4392 * gdb.base/return2.exp
4393 * gdb.base/savedregs.exp
4394 * gdb.base/sep.exp
4395 * gdb.base/sepdebug.exp
4396 * gdb.base/sepsymtab.exp
4397 * gdb.base/set-inferior-tty.exp
4398 * gdb.base/setshow.exp
4399 * gdb.base/shlib-call.exp
4400 * gdb.base/sigaltstack.exp
4401 * gdb.base/siginfo-addr.exp
4402 * gdb.base/signals.exp
4403 * gdb.base/signull.exp
4404 * gdb.base/sigrepeat.exp
4405 * gdb.base/so-impl-ld.exp
4406 * gdb.base/solib-display.exp
4407 * gdb.base/solib-overlap.exp
4408 * gdb.base/solib-search.exp
4409 * gdb.base/solib-symbol.exp
4410 * gdb.base/structs.exp
4411 * gdb.base/structs2.exp
4412 * gdb.base/symtab-search-order.exp
4413 * gdb.base/twice.exp
4414 * gdb.base/unload.exp
4415 * gdb.base/varargs.exp
4416 * gdb.base/watchpoint-solib.exp
4417 * gdb.base/watchpoint.exp
4418 * gdb.base/whatis.exp
4419 * gdb.base/wrong_frame_bt_full.exp
4420 * gdb.btrace/dlopen.exp
4421 * gdb.cell/ea-standalone.exp
4422 * gdb.cell/ea-test.exp
4423 * gdb.cp/dispcxx.exp
4424 * gdb.cp/gdb2384.exp
4425 * gdb.cp/method2.exp
4426 * gdb.cp/nextoverthrow.exp
4427 * gdb.cp/pr10728.exp
4428 * gdb.disasm/am33.exp
4429 * gdb.disasm/h8300s.exp
4430 * gdb.disasm/mn10300.exp
4431 * gdb.disasm/sh3.exp
4432 * gdb.dwarf2/dw2-dir-file-name.exp
4433 * gdb.fortran/complex.exp
4434 * gdb.fortran/library-module.exp
4435 * gdb.guile/scm-pretty-print.exp
4436 * gdb.guile/scm-symbol.exp
4437 * gdb.guile/scm-type.exp
4438 * gdb.guile/scm-value.exp
4439 * gdb.linespec/linespec.exp
4440 * gdb.mi/gdb701.exp
4441 * gdb.mi/gdb792.exp
4442 * gdb.mi/mi-breakpoint-changed.exp
4443 * gdb.mi/mi-dprintf-pending.exp
4444 * gdb.mi/mi-dprintf.exp
4445 * gdb.mi/mi-exit-code.exp
4446 * gdb.mi/mi-pending.exp
4447 * gdb.mi/mi-solib.exp
4448 * gdb.mi/new-ui-mi-sync.exp
4449 * gdb.mi/pr11022.exp
4450 * gdb.mi/user-selected-context-sync.exp
4451 * gdb.opt/solib-intra-step.exp
4452 * gdb.python/py-events.exp
4453 * gdb.python/py-finish-breakpoint.exp
4454 * gdb.python/py-mi.exp
4455 * gdb.python/py-prettyprint.exp
4456 * gdb.python/py-shared.exp
4457 * gdb.python/py-symbol.exp
4458 * gdb.python/py-template.exp
4459 * gdb.python/py-type.exp
4460 * gdb.python/py-value.exp
4461 * gdb.reverse/solib-precsave.exp
4462 * gdb.reverse/solib-reverse.exp
4463 * gdb.server/solib-list.exp
4464 * gdb.stabs/weird.exp
4465 * gdb.threads/reconnect-signal.exp
4466 * gdb.threads/stepi-random-signal.exp
4467 * gdb.trace/actions.exp
4468 * gdb.trace/ax.exp
4469 * gdb.trace/backtrace.exp
4470 * gdb.trace/change-loc.exp
4471 * gdb.trace/deltrace.exp
4472 * gdb.trace/ftrace-lock.exp
4473 * gdb.trace/ftrace.exp
4474 * gdb.trace/infotrace.exp
4475 * gdb.trace/mi-tracepoint-changed.exp
4476 * gdb.trace/packetlen.exp
4477 * gdb.trace/passcount.exp
4478 * gdb.trace/pending.exp
4479 * gdb.trace/range-stepping.exp
4480 * gdb.trace/report.exp
4481 * gdb.trace/stap-trace.exp
4482 * gdb.trace/tfind.exp
4483 * gdb.trace/trace-break.exp
4484 * gdb.trace/trace-condition.exp
4485 * gdb.trace/trace-enable-disable.exp
4486 * gdb.trace/trace-mt.exp
4487 * gdb.trace/tracecmd.exp
4488 * gdb.trace/tspeed.exp
4489 * gdb.trace/tsv.exp
4490 * lib/perftest.exp
4491
fb9feb35
LM
44922016-12-01 Luis Machado <lgustavo@codesourcery.com>
4493
4494 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4495 with gdb_test_no_output.
4496 Use command as test name.
4497
cd2ddb6c
LM
44982016-12-01 Luis Machado <lgustavo@codesourcery.com>
4499
4500 Fix test names starting with uppercase throughout the files.
4501
4502 * gdb.ada/assign_1.exp
4503 * gdb.ada/boolean_expr.exp
4504 * gdb.base/arrayidx.exp
4505 * gdb.base/del.exp
4506 * gdb.base/gcore-buffer-overflow.exp
4507 * gdb.base/testenv.exp
4508 * gdb.compile/compile.exp
4509 * gdb.python/py-framefilter-invalidarg.exp
4510 * gdb.python/py-framefilter.exp
4511
bb95117e
LM
45122016-12-01 Luis Machado <lgustavo@codesourcery.com>
4513
4514 Fix test names starting with uppercase throughout the files.
4515
4516 * gdb.ada/array_return.exp
4517 * gdb.ada/expr_delims.exp
4518 * gdb.ada/mi_dyn_arr.exp
4519 * gdb.ada/mi_interface.exp
4520 * gdb.ada/mi_var_array.exp
4521 * gdb.ada/watch_arg.exp
4522 * gdb.arch/alpha-step.exp
4523 * gdb.arch/altivec-regs.exp
4524 * gdb.arch/e500-regs.exp
4525 * gdb.arch/powerpc-d128-regs.exp
4526 * gdb.base/arrayidx.exp
4527 * gdb.base/break.exp
4528 * gdb.base/checkpoint.exp
4529 * gdb.base/debug-expr.exp
4530 * gdb.base/dmsym.exp
4531 * gdb.base/radix.exp
4532 * gdb.base/sepdebug.exp
4533 * gdb.base/testenv.exp
4534 * gdb.base/watch_thread_num.exp
4535 * gdb.base/watchpoint-cond-gone.exp
4536 * gdb.cell/break.exp
4537 * gdb.cell/ea-cache.exp
4538 * gdb.compile/compile.exp
4539 * gdb.cp/gdb2495.exp
4540 * gdb.gdb/selftest.exp
4541 * gdb.gdb/xfullpath.exp
4542 * gdb.go/hello.exp
4543 * gdb.go/integers.exp
4544 * gdb.objc/basicclass.exp
4545 * gdb.pascal/hello.exp
4546 * gdb.pascal/integers.exp
4547 * gdb.python/py-breakpoint.exp
4548 * gdb.python/py-cmd.exp
4549 * gdb.python/py-linetable.exp
4550 * gdb.python/py-xmethods.exp
4551 * gdb.python/python.exp
4552 * gdb.reverse/consecutive-precsave.exp
4553 * gdb.reverse/finish-precsave.exp
4554 * gdb.reverse/i386-precsave.exp
4555 * gdb.reverse/machinestate-precsave.exp
4556 * gdb.reverse/sigall-precsave.exp
4557 * gdb.reverse/solib-precsave.exp
4558 * gdb.reverse/step-precsave.exp
4559 * gdb.reverse/until-precsave.exp
4560 * gdb.reverse/watch-precsave.exp
4561 * gdb.threads/leader-exit.exp
4562 * gdb.threads/pthreads.exp
4563 * gdb.threads/wp-replication.exp
4564 * gdb.trace/actions.exp
4565 * gdb.trace/mi-tsv-changed.exp
4566 * gdb.trace/tsv.exp
4567
de97fdd4
LM
45682016-12-01 Luis Machado <lgustavo@codesourcery.com>
4569
4570 Fix test names starting with uppercase throughout the files.
4571
4572 * gdb.arch/i386-bp_permanent.exp
4573 * gdb.arch/i386-gnu-cfi.exp
4574 * gdb.base/disasm-end-cu.exp
4575 * gdb.base/macscp.exp
4576 * gdb.base/pending.exp
4577 * gdb.base/watch_thread_num.exp
4578 * gdb.cp/exception.exp
4579 * gdb.cp/gdb2495.exp
4580 * gdb.cp/local.exp
4581 * gdb.python/py-evsignal.exp
4582 * gdb.python/python.exp
4583 * gdb.trace/tracecmd.exp
4584
9f058c10
LM
45852016-12-01 Luis Machado <lgustavo@codesourcery.com>
4586
4587 Fix test names starting with uppercase throughout the files.
4588
4589 * gdb.base/charset.exp
4590 * gdb.base/eval.exp
4591 * gdb.base/multi-forks.exp
4592 * gdb.guile/scm-progspace.exp
4593 * gdb.opencl/datatypes.exp
4594 * gdb.python/py-block.exp
4595 * gdb.python/py-function.exp
4596 * gdb.python/py-symbol.exp
4597 * gdb.python/py-symtab.exp
4598 * gdb.python/py-xmethods.exp
4599 * gdb.reverse/break-precsave.exp
4600 * gdb.reverse/break-reverse.exp
4601 * gdb.reverse/consecutive-precsave.exp
4602 * gdb.reverse/consecutive-reverse.exp
4603 * gdb.reverse/finish-precsave.exp
4604 * gdb.reverse/finish-reverse-bkpt.exp
4605 * gdb.reverse/finish-reverse.exp
4606 * gdb.reverse/fstatat-reverse.exp
4607 * gdb.reverse/getresuid-reverse.exp
4608 * gdb.reverse/i386-precsave.exp
4609 * gdb.reverse/i386-reverse.exp
4610 * gdb.reverse/i386-sse-reverse.exp
4611 * gdb.reverse/i387-stack-reverse.exp
4612 * gdb.reverse/insn-reverse.exp
4613 * gdb.reverse/machinestate-precsave.exp
4614 * gdb.reverse/machinestate.exp
4615 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4616 * gdb.reverse/pipe-reverse.exp
4617 * gdb.reverse/readv-reverse.exp
4618 * gdb.reverse/recvmsg-reverse.exp
4619 * gdb.reverse/rerun-prec.exp
4620 * gdb.reverse/s390-mvcle.exp
4621 * gdb.reverse/sigall-precsave.exp
4622 * gdb.reverse/sigall-reverse.exp
4623 * gdb.reverse/solib-precsave.exp
4624 * gdb.reverse/solib-reverse.exp
4625 * gdb.reverse/step-precsave.exp
4626 * gdb.reverse/step-reverse.exp
4627 * gdb.reverse/time-reverse.exp
4628 * gdb.reverse/until-precsave.exp
4629 * gdb.reverse/until-reverse.exp
4630 * gdb.reverse/waitpid-reverse.exp
4631 * gdb.reverse/watch-precsave.exp
4632 * gdb.reverse/watch-reverse.exp
4633
cdc7edd7
LM
46342016-12-01 Luis Machado <lgustavo@codesourcery.com>
4635
4636 Fix test names starting with uppercase throughout the files.
4637
4638 * gdb.arch/i386-mpx-simple_segv.exp
4639 * gdb.arch/i386-mpx.exp
4640 * gdb.arch/i386-permbkpt.exp
4641 * gdb.arch/pa-nullify.exp
4642 * gdb.arch/powerpc-d128-regs.exp
4643 * gdb.arch/vsx-regs.exp
4644 * gdb.base/bfp-test.exp
4645 * gdb.base/break.exp
4646 * gdb.base/breakpoint-shadow.exp
4647 * gdb.base/callfuncs.exp
4648 * gdb.base/charset.exp
4649 * gdb.base/commands.exp
4650 * gdb.base/completion.exp
4651 * gdb.base/dfp-test.exp
4652 * gdb.base/echo.exp
4653 * gdb.base/ending-run.exp
4654 * gdb.base/eval.exp
4655 * gdb.base/expand-psymtabs.exp
4656 * gdb.base/float128.exp
4657 * gdb.base/floatn.exp
4658 * gdb.base/foll-exec-mode.exp
4659 * gdb.base/gdb1056.exp
4660 * gdb.base/gdb11531.exp
4661 * gdb.base/kill-after-signal.exp
4662 * gdb.base/multi-forks.exp
4663 * gdb.base/overlays.exp
4664 * gdb.base/pending.exp
4665 * gdb.base/sepdebug.exp
4666 * gdb.base/testenv.exp
4667 * gdb.base/valgrind-db-attach.exp
4668 * gdb.base/watch_thread_num.exp
4669 * gdb.base/watchpoint-cond-gone.exp
4670 * gdb.base/watchpoint.exp
4671 * gdb.base/watchpoints.exp
4672 * gdb.cp/arg-reference.exp
4673 * gdb.cp/baseenum.exp
4674 * gdb.cp/operator.exp
4675 * gdb.cp/shadow.exp
4676 * gdb.dwarf2/dw2-op-out-param.exp
4677 * gdb.dwarf2/dw2-reg-undefined.exp
4678 * gdb.go/chan.exp
4679 * gdb.go/hello.exp
4680 * gdb.go/integers.exp
4681 * gdb.go/methods.exp
4682 * gdb.go/package.exp
4683 * gdb.guile/scm-parameter.exp
4684 * gdb.guile/scm-progspace.exp
4685 * gdb.guile/scm-value.exp
4686 * gdb.mi/mi-pending.exp
4687 * gdb.mi/user-selected-context-sync.exp
4688 * gdb.multi/multi-attach.exp
4689 * gdb.multi/tids.exp
4690 * gdb.opt/clobbered-registers-O2.exp
4691 * gdb.pascal/floats.exp
4692 * gdb.pascal/integers.exp
4693 * gdb.python/py-block.exp
4694 * gdb.python/py-events.exp
4695 * gdb.python/py-parameter.exp
4696 * gdb.python/py-symbol.exp
4697 * gdb.python/py-symtab.exp
4698 * gdb.python/py-type.exp
4699 * gdb.python/py-value.exp
4700 * gdb.python/py-xmethods.exp
4701 * gdb.python/python.exp
4702 * gdb.reverse/break-precsave.exp
4703 * gdb.reverse/consecutive-precsave.exp
4704 * gdb.reverse/finish-precsave.exp
4705 * gdb.reverse/i386-precsave.exp
4706 * gdb.reverse/machinestate-precsave.exp
4707 * gdb.reverse/sigall-precsave.exp
4708 * gdb.reverse/solib-precsave.exp
4709 * gdb.reverse/step-precsave.exp
4710 * gdb.reverse/until-precsave.exp
4711 * gdb.reverse/watch-precsave.exp
4712 * gdb.server/ext-attach.exp
4713 * gdb.server/ext-restart.exp
4714 * gdb.server/ext-run.exp
4715 * gdb.server/ext-wrapper.exp
4716 * gdb.stabs/gdb11479.exp
4717 * gdb.stabs/weird.exp
4718 * gdb.threads/attach-many-short-lived-threads.exp
4719 * gdb.threads/kill.exp
4720 * gdb.threads/watchpoint-fork.exp
4721
bc6c7af4
LM
47222016-12-01 Luis Machado <lgustavo@codesourcery.com>
4723
4724 Fix test names starting with uppercase throughout all the files below.
4725
4726 * gdb.ada/array_return.exp
4727 * gdb.ada/catch_ex.exp
4728 * gdb.ada/info_exc.exp
4729 * gdb.ada/mi_catch_ex.exp
4730 * gdb.ada/mi_dyn_arr.exp
4731 * gdb.ada/mi_ex_cond.exp
4732 * gdb.ada/mi_exc_info.exp
4733 * gdb.ada/mi_interface.exp
4734 * gdb.ada/mi_task_arg.exp
4735 * gdb.ada/mi_task_info.exp
4736 * gdb.ada/mi_var_array.exp
4737 * gdb.arch/alpha-step.exp
4738 * gdb.arch/amd64-disp-step.exp
4739 * gdb.arch/arm-disp-step.exp
4740 * gdb.arch/disp-step-insn-reloc.exp
4741 * gdb.arch/e500-prologue.exp
4742 * gdb.arch/ftrace-insn-reloc.exp
4743 * gdb.arch/gdb1558.exp
4744 * gdb.arch/i386-bp_permanent.exp
4745 * gdb.arch/i386-disp-step.exp
4746 * gdb.arch/i386-float.exp
4747 * gdb.arch/i386-gnu-cfi.exp
4748 * gdb.arch/ia64-breakpoint-shadow.exp
4749 * gdb.arch/mips16-thunks.exp
4750 * gdb.arch/pa-nullify.exp
4751 * gdb.arch/powerpc-aix-prologue.exp
4752 * gdb.arch/powerpc-power.exp
4753 * gdb.arch/ppc-dfp.exp
4754 * gdb.arch/s390-tdbregs.exp
4755 * gdb.arch/spu-info.exp
4756 * gdb.arch/spu-ls.exp
4757 * gdb.arch/thumb-bx-pc.exp
4758 * gdb.base/advance.exp
4759 * gdb.base/annota-input-while-running.exp
4760 * gdb.base/arrayidx.exp
4761 * gdb.base/asmlabel.exp
4762 * gdb.base/async.exp
4763 * gdb.base/attach-wait-input.exp
4764 * gdb.base/auto-connect-native-target.exp
4765 * gdb.base/batch-preserve-term-settings.exp
4766 * gdb.base/bfp-test.exp
4767 * gdb.base/bigcore.exp
4768 * gdb.base/bp-permanent.exp
4769 * gdb.base/break-always.exp
4770 * gdb.base/break-fun-addr.exp
4771 * gdb.base/break-idempotent.exp
4772 * gdb.base/break-main-file-remove-fail.exp
4773 * gdb.base/break-probes.exp
4774 * gdb.base/break-unload-file.exp
4775 * gdb.base/break.exp
4776 * gdb.base/call-ar-st.exp
4777 * gdb.base/call-rt-st.exp
4778 * gdb.base/call-sc.exp
4779 * gdb.base/call-signal-resume.exp
4780 * gdb.base/call-strs.exp
4781 * gdb.base/callexit.exp
4782 * gdb.base/callfuncs.exp
4783 * gdb.base/catch-gdb-caused-signals.exp
4784 * gdb.base/catch-signal-siginfo-cond.exp
4785 * gdb.base/catch-syscall.exp
4786 * gdb.base/compare-sections.exp
4787 * gdb.base/cond-eval-mode.exp
4788 * gdb.base/condbreak-call-false.exp
4789 * gdb.base/consecutive-step-over.exp
4790 * gdb.base/cursal.exp
4791 * gdb.base/disabled-location.exp
4792 * gdb.base/disasm-end-cu.exp
4793 * gdb.base/display.exp
4794 * gdb.base/double-prompt-target-event-error.exp
4795 * gdb.base/dprintf-bp-same-addr.exp
4796 * gdb.base/dprintf-detach.exp
4797 * gdb.base/dprintf-next.exp
4798 * gdb.base/dprintf-non-stop.exp
4799 * gdb.base/dprintf-pending.exp
4800 * gdb.base/dso2dso.exp
4801 * gdb.base/ending-run.exp
4802 * gdb.base/enum_cond.exp
4803 * gdb.base/examine-backward.exp
4804 * gdb.base/exe-lock.exp
4805 * gdb.base/exec-invalid-sysroot.exp
4806 * gdb.base/execl-update-breakpoints.exp
4807 * gdb.base/execution-termios.exp
4808 * gdb.base/fileio.exp
4809 * gdb.base/fixsection.exp
4810 * gdb.base/foll-exec-mode.exp
4811 * gdb.base/foll-exec.exp
4812 * gdb.base/fork-running-state.exp
4813 * gdb.base/frame-args.exp
4814 * gdb.base/fullpath-expand.exp
4815 * gdb.base/func-ptr.exp
4816 * gdb.base/gcore-relro-pie.exp
4817 * gdb.base/gdb1090.exp
4818 * gdb.base/gdb1555.exp
4819 * gdb.base/global-var-nested-by-dso.exp
4820 * gdb.base/gnu-ifunc.exp
4821 * gdb.base/hbreak-in-shr-unsupported.exp
4822 * gdb.base/hbreak-unmapped.exp
4823 * gdb.base/hook-stop.exp
4824 * gdb.base/infcall-input.exp
4825 * gdb.base/info-fun.exp
4826 * gdb.base/info-shared.exp
4827 * gdb.base/interrupt-noterm.exp
4828 * gdb.base/jit-so.exp
4829 * gdb.base/jit.exp
4830 * gdb.base/line-symtabs.exp
4831 * gdb.base/list.exp
4832 * gdb.base/longjmp.exp
4833 * gdb.base/macscp.exp
4834 * gdb.base/max-value-size.exp
4835 * gdb.base/nodebug.exp
4836 * gdb.base/nofield.exp
4837 * gdb.base/overlays.exp
4838 * gdb.base/paginate-after-ctrl-c-running.exp
4839 * gdb.base/paginate-bg-execution.exp
4840 * gdb.base/paginate-inferior-exit.exp
4841 * gdb.base/pending.exp
4842 * gdb.base/pr11022.exp
4843 * gdb.base/printcmds.exp
4844 * gdb.base/ptr-typedef.exp
4845 * gdb.base/ptype.exp
4846 * gdb.base/randomize.exp
4847 * gdb.base/range-stepping.exp
4848 * gdb.base/realname-expand.exp
4849 * gdb.base/relativedebug.exp
4850 * gdb.base/remote.exp
4851 * gdb.base/savedregs.exp
4852 * gdb.base/sepdebug.exp
4853 * gdb.base/set-noassign.exp
4854 * gdb.base/shlib-call.exp
4855 * gdb.base/shreloc.exp
4856 * gdb.base/sigaltstack.exp
4857 * gdb.base/sigbpt.exp
4858 * gdb.base/siginfo-addr.exp
4859 * gdb.base/siginfo-obj.exp
4860 * gdb.base/siginfo-thread.exp
4861 * gdb.base/signest.exp
4862 * gdb.base/signull.exp
4863 * gdb.base/sigrepeat.exp
4864 * gdb.base/skip.exp
4865 * gdb.base/so-impl-ld.exp
4866 * gdb.base/solib-corrupted.exp
4867 * gdb.base/solib-disc.exp
4868 * gdb.base/solib-display.exp
4869 * gdb.base/solib-overlap.exp
4870 * gdb.base/solib-search.exp
4871 * gdb.base/solib-symbol.exp
4872 * gdb.base/source-execution.exp
4873 * gdb.base/sss-bp-on-user-bp-2.exp
4874 * gdb.base/sss-bp-on-user-bp.exp
4875 * gdb.base/stack-checking.exp
4876 * gdb.base/stale-infcall.exp
4877 * gdb.base/step-break.exp
4878 * gdb.base/step-line.exp
4879 * gdb.base/step-over-exit.exp
4880 * gdb.base/step-test.exp
4881 * gdb.base/structs.exp
4882 * gdb.base/sym-file.exp
4883 * gdb.base/symtab-search-order.exp
4884 * gdb.base/term.exp
4885 * gdb.base/type-opaque.exp
4886 * gdb.base/unload.exp
4887 * gdb.base/until-nodebug.exp
4888 * gdb.base/until.exp
4889 * gdb.base/unwindonsignal.exp
4890 * gdb.base/watch-cond.exp
4891 * gdb.base/watch-non-mem.exp
4892 * gdb.base/watch_thread_num.exp
4893 * gdb.base/watchpoint-reuse-slot.exp
4894 * gdb.base/watchpoint-solib.exp
4895 * gdb.base/watchpoint.exp
4896 * gdb.btrace/dlopen.exp
4897 * gdb.cell/arch.exp
4898 * gdb.cell/break.exp
4899 * gdb.cell/bt.exp
4900 * gdb.cell/core.exp
4901 * gdb.cell/data.exp
4902 * gdb.cell/dwarfaddr.exp
4903 * gdb.cell/ea-cache.exp
4904 * gdb.cell/ea-standalone.exp
4905 * gdb.cell/ea-test.exp
4906 * gdb.cell/f-regs.exp
4907 * gdb.cell/fork.exp
4908 * gdb.cell/gcore.exp
4909 * gdb.cell/mem-access.exp
4910 * gdb.cell/ptype.exp
4911 * gdb.cell/registers.exp
4912 * gdb.cell/sizeof.exp
4913 * gdb.cell/solib-symbol.exp
4914 * gdb.cell/solib.exp
4915 * gdb.compile/compile-tls.exp
4916 * gdb.cp/exception.exp
4917 * gdb.cp/gdb2495.exp
4918 * gdb.cp/local.exp
4919 * gdb.cp/mb-inline.exp
4920 * gdb.cp/mb-templates.exp
4921 * gdb.cp/pr10687.exp
4922 * gdb.cp/pr9167.exp
4923 * gdb.cp/scope-err.exp
4924 * gdb.cp/templates.exp
4925 * gdb.cp/virtfunc.exp
4926 * gdb.dwarf2/dw2-dir-file-name.exp
4927 * gdb.dwarf2/dw2-single-line-discriminators.exp
4928 * gdb.fortran/complex.exp
4929 * gdb.fortran/library-module.exp
4930 * gdb.guile/guile.exp
4931 * gdb.guile/scm-cmd.exp
4932 * gdb.guile/scm-frame-inline.exp
4933 * gdb.guile/scm-objfile.exp
4934 * gdb.guile/scm-pretty-print.exp
4935 * gdb.guile/scm-symbol.exp
4936 * gdb.guile/scm-type.exp
4937 * gdb.guile/scm-value.exp
4938 * gdb.linespec/keywords.exp
4939 * gdb.linespec/ls-errs.exp
4940 * gdb.linespec/macro-relative.exp
4941 * gdb.linespec/thread.exp
4942 * gdb.mi/mi-breakpoint-changed.exp
4943 * gdb.mi/mi-dprintf-pending.exp
4944 * gdb.mi/mi-fullname-deleted.exp
4945 * gdb.mi/mi-logging.exp
4946 * gdb.mi/mi-pending.exp
4947 * gdb.mi/mi-solib.exp
4948 * gdb.mi/new-ui-mi-sync.exp
4949 * gdb.mi/user-selected-context-sync.exp
4950 * gdb.multi/dummy-frame-restore.exp
4951 * gdb.multi/multi-arch-exec.exp
4952 * gdb.multi/remove-inferiors.exp
4953 * gdb.multi/watchpoint-multi-exit.exp
4954 * gdb.opt/solib-intra-step.exp
4955 * gdb.perf/backtrace.exp
4956 * gdb.perf/single-step.exp
4957 * gdb.perf/skip-command.exp
4958 * gdb.perf/skip-prologue.exp
4959 * gdb.perf/solib.exp
4960 * gdb.python/lib-types.exp
4961 * gdb.python/py-as-string.exp
4962 * gdb.python/py-bad-printers.exp
4963 * gdb.python/py-block.exp
4964 * gdb.python/py-breakpoint.exp
4965 * gdb.python/py-cmd.exp
4966 * gdb.python/py-events.exp
4967 * gdb.python/py-evthreads.exp
4968 * gdb.python/py-finish-breakpoint.exp
4969 * gdb.python/py-finish-breakpoint2.exp
4970 * gdb.python/py-frame-inline.exp
4971 * gdb.python/py-frame.exp
4972 * gdb.python/py-inferior.exp
4973 * gdb.python/py-infthread.exp
4974 * gdb.python/py-mi.exp
4975 * gdb.python/py-objfile.exp
4976 * gdb.python/py-pp-maint.exp
4977 * gdb.python/py-pp-registration.exp
4978 * gdb.python/py-prettyprint.exp
4979 * gdb.python/py-recurse-unwind.exp
4980 * gdb.python/py-shared.exp
4981 * gdb.python/py-symbol.exp
4982 * gdb.python/py-symtab.exp
4983 * gdb.python/py-template.exp
4984 * gdb.python/py-type.exp
4985 * gdb.python/py-unwind-maint.exp
4986 * gdb.python/py-unwind.exp
4987 * gdb.python/py-value.exp
4988 * gdb.python/python.exp
4989 * gdb.reverse/finish-reverse-bkpt.exp
4990 * gdb.reverse/insn-reverse.exp
4991 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4992 * gdb.reverse/solib-precsave.exp
4993 * gdb.reverse/solib-reverse.exp
4994 * gdb.stabs/gdb11479.exp
4995 * gdb.stabs/weird.exp
4996 * gdb.threads/fork-child-threads.exp
4997 * gdb.threads/fork-plus-threads.exp
4998 * gdb.threads/fork-thread-pending.exp
4999 * gdb.threads/forking-threads-plus-breakpoint.exp
5000 * gdb.threads/hand-call-in-threads.exp
5001 * gdb.threads/interrupted-hand-call.exp
5002 * gdb.threads/linux-dp.exp
5003 * gdb.threads/local-watch-wrong-thread.exp
5004 * gdb.threads/next-while-other-thread-longjmps.exp
5005 * gdb.threads/non-ldr-exit.exp
5006 * gdb.threads/pending-step.exp
5007 * gdb.threads/print-threads.exp
5008 * gdb.threads/process-dies-while-detaching.exp
5009 * gdb.threads/process-dies-while-handling-bp.exp
5010 * gdb.threads/pthreads.exp
5011 * gdb.threads/queue-signal.exp
5012 * gdb.threads/reconnect-signal.exp
5013 * gdb.threads/signal-command-handle-nopass.exp
5014 * gdb.threads/signal-command-multiple-signals-pending.exp
5015 * gdb.threads/signal-delivered-right-thread.exp
5016 * gdb.threads/signal-sigtrap.exp
5017 * gdb.threads/sigthread.exp
5018 * gdb.threads/staticthreads.exp
5019 * gdb.threads/stepi-random-signal.exp
5020 * gdb.threads/thread-unwindonsignal.exp
5021 * gdb.threads/thread_check.exp
5022 * gdb.threads/thread_events.exp
5023 * gdb.threads/tid-reuse.exp
5024 * gdb.threads/tls-nodebug.exp
5025 * gdb.threads/tls-shared.exp
5026 * gdb.threads/tls-so_extern.exp
5027 * gdb.threads/tls.exp
5028 * gdb.threads/wp-replication.exp
5029 * gdb.trace/actions-changed.exp
5030 * gdb.trace/actions.exp
5031 * gdb.trace/backtrace.exp
5032 * gdb.trace/change-loc.exp
5033 * gdb.trace/collection.exp
5034 * gdb.trace/deltrace.exp
5035 * gdb.trace/disconnected-tracing.exp
5036 * gdb.trace/entry-values.exp
5037 * gdb.trace/ftrace-lock.exp
5038 * gdb.trace/ftrace.exp
5039 * gdb.trace/infotrace.exp
5040 * gdb.trace/mi-trace-frame-collected.exp
5041 * gdb.trace/mi-trace-unavailable.exp
5042 * gdb.trace/mi-traceframe-changed.exp
5043 * gdb.trace/mi-tracepoint-changed.exp
5044 * gdb.trace/mi-tsv-changed.exp
5045 * gdb.trace/no-attach-trace.exp
5046 * gdb.trace/packetlen.exp
5047 * gdb.trace/passc-dyn.exp
5048 * gdb.trace/passcount.exp
5049 * gdb.trace/pending.exp
5050 * gdb.trace/pr16508.exp
5051 * gdb.trace/qtro.exp
5052 * gdb.trace/range-stepping.exp
5053 * gdb.trace/read-memory.exp
5054 * gdb.trace/report.exp
5055 * gdb.trace/save-trace.exp
5056 * gdb.trace/signal.exp
5057 * gdb.trace/stap-trace.exp
5058 * gdb.trace/status-stop.exp
5059 * gdb.trace/strace.exp
5060 * gdb.trace/tfile.exp
5061 * gdb.trace/tfind.exp
5062 * gdb.trace/trace-break.exp
5063 * gdb.trace/trace-condition.exp
5064 * gdb.trace/trace-enable-disable.exp
5065 * gdb.trace/trace-mt.exp
5066 * gdb.trace/tracecmd.exp
5067 * gdb.trace/tracefile-pseudo-reg.exp
5068 * gdb.trace/tspeed.exp
5069 * gdb.trace/tstatus.exp
5070 * gdb.trace/tsv.exp
5071 * gdb.trace/unavailable.exp
5072 * gdb.trace/while-dyn.exp
5073 * gdb.trace/while-stepping.exp
5074 * lib/gdb-guile.exp
5075 * lib/gdb.exp
5076 * lib/mi-support.exp
5077 * lib/pascal.exp
5078 * lib/perftest.exp
5079 * lib/prelink-support.exp
5080 * lib/selftest-support.exp
5081
ad02e4fe
SM
50822016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5083
5084 * Makefile.in: Include disable-implicit-rules.mk.
5085
22347e55
AA
50862016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5087
5088 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5089 non-byte-aligned bit fields.
5090
da5b30da
AA
50912016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5092
5093 PR gdb/12616
5094 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5095 respects the DW_AT_data_bit_offset attribute.
5096
b593ecca
SM
50972016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5098
5099 * gdb.base/default.exp: Fix output of "set language".
5100
3b165252
SM
51012016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5102
5103 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5104 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5105 make.
5106 * configure.ac: Remove checks for the make program.
5107 * configure: Re-generate.
5108
1a2f3d7f
KB
51092016-11-16 Kevin Buettner <kevinb@redhat.com>
5110
5111 * gdb.python/py-recurse-unwind.c (main): Add loop.
5112 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5113 to read_register() and gdb.parse_and_eval(). Make each code
5114 call a separate case that can be individually tested.
5115 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5116 proc. Call cont_and_backtrace for each of the code paths that
5117 we want to test in the unwinder.
5118
b7f38fda
AA
51192016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5120
5121 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5122 the definition of struct S.
5123
1f8db343
CM
51242016-11-11 Catherine Moore <clm@codesourcery.com>
5125
5126 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5127
fad0c9fb
PA
51282016-11-09 Pedro Alves <palves@redhat.com>
5129
5130 * gdb.base/commands.exp (runto_or_return): New procedure.
5131 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5132 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5133 (progvar_simple_while_test, progvar_complex_if_while_test)
5134 (if_while_breakpoint_command_test)
5135 (infrun_breakpoint_command_test, breakpoint_command_test)
5136 (user_defined_command_test, watchpoint_command_test)
5137 (test_command_prompt_position, redefine_hook_test)
5138 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5139 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5140 multi_line_input and multi_line. Remove gdb_expect and
5141 gdb_stop_suppressing_tests uses.
5142 * lib/gdb.exp (valnum_re): New global.
5143 (multi_line_input): New procedure.
5144
8354c62c
SM
51452016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5146
5147 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5148 Remove.
5149 (test_setup): Define with proc_with_prefix.
5150 (test_cli_inferior): Likewise.
5151 (test_cli_thread): Likewise.
5152 (test_cli_frame): Likewise.
5153 (test_cli_select_frame): Likewise.
5154 (test_cli_up_down): Likewise.
5155 (test_mi_thread_select): Likewise.
5156 (test_mi_stack_select_frame): Likewise.
5157 (test_cli_in_mi_inferior): Likewise.
5158 (test_cli_in_mi_thread): Likewise.
5159 (test_cli_in_mi_frame): Likewise.
5160 (top level): Do not use with_test_prefix_procname.
5161
64f367a2
PA
51622016-11-09 Pedro Alves <palves@redhat.com>
5163
5164 * gdb.base/commands.exp (gdbvar_simple_if_test)
5165 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5166 (progvar_simple_if_test, progvar_simple_while_test)
5167 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5168 (infrun_breakpoint_command_test, breakpoint_command_test)
5169 (user_defined_command_test, watchpoint_command_test)
5170 (test_command_prompt_position, deprecated_command_test)
5171 (bp_deleted_in_command, temporary_breakpoint_commands)
5172 (stray_arg0_test, source_file_with_indented_comment)
5173 (recursive_source_test, if_commands_test)
5174 (error_clears_commands_left, redefine_hook_test)
5175 (redefine_backtrace_test): Use proc_with_prefix.
5176 * lib/gdb.exp (proc_with_prefix): New proc.
5177
0bb65f1e
AA
51782016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5179
5180 * gdb.base/tui-layout.c: New file.
5181 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5182 disassembly window contains very long lines.
5183
7353f247
TT
51842016-11-08 Tom Tromey <tom@tromey.com>
5185
5186 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5187 depend on Python 2.
5188
30a7bb83
TT
51892016-11-08 Tom Tromey <tom@tromey.com>
5190
5191 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5192 New method.
5193
cdf5a07c
MG
51942016-10-29 Manish Goregaokar <manish@mozilla.com>
5195
2806dc7e 5196 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 5197
51a789c3
MG
51982016-10-27 Manish Goregaokar <manish@mozilla.com>
5199
2806dc7e
PA
5200 * gdb.rust/simple.rs: Add test for univariant enums without
5201 discriminants and for encoded struct-like enums.
51a789c3 5202
f610ab6d
PA
52032016-10-28 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5206 gdb_test_multiple, tighten regexps and match symtabs and line
5207 tables incrementally.
5208
b129b0ca
LM
52092016-10-28 Luis Machado <lgustavo@codesourcery.com>
5210
5211 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5212 general.
5213
ecf45d2c
SL
52142016-10-25 Luis Machado <lgustavo@codesourcery.com>
5215
5216 * gdb.base/exec-invalid-sysroot.exp: New file.
5217
b8d38ee4
JK
52182016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5219
5220 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5221
f90fd8c2
JK
52222016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5223
5224 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5225
2d2476aa
MR
52262016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5227
2806dc7e
PA
5228 * gdb.base/killed-outside.exp: Remove $options from a call to
5229 `prepare_for_testing'.
2d2476aa 5230
e42b25a0
SM
52312016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5232
5233 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5234 Change test message.
5235
3ccdb432
SM
52362016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5237
5238 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5239 Update comment.
5240
5bad3170
SM
52412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5242
5243 * gdb.trace/mi-trace-save.exp: New file.
5244
5ad9dba7
YQ
52452016-10-13 Yao Qi <yao.qi@linaro.org>
5246
5247 * gdb.base/code_elim.exp (get_var_address): Remove.
5248 * gdb.base/relocate.exp: Likewise.
5249 * gdb.base/shreloc.exp: Likewise.
5250 * lib/gdb.exp (get_var_address): New.
5251
62df7e21
YQ
52522016-10-13 Yao Qi <yao.qi@linaro.org>
5253
5254 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5255 floating point tests if $skip_float_test is false.
5256
4dac951e
LM
52572016-10-12 Luis Machado <lgustavo@codesourcery.com>
5258
5259 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5260 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5261 argc values.
5262 Add 1 to argc so we guarantee distinct initial/modified argc values.
5263
8f1a8fc4
JK
52642016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5267
16c85b5d
JK
52682016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5269
5270 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5271 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5272 * gdb.arch/vsx-regs.exp: Likewise.
5273
1d0e042a
YQ
52742016-10-07 Yao Qi <yao.qi@linaro.org>
5275
5276 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5277
68dadef5
MM
52782016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5279
5280 * gdb.python/python.exp: Test decode_line("*0").
5281
33fa2c6e
DE
52822016-10-06 Doug Evans <dje@google.com>
5283
5284 * gdb.python/py-value.exp (test_value_creation): Add test for large
5285 unsigned 64-bit value.
5286
9c37b5ae
TT
52872016-10-06 Tom Tromey <tom@tromey.com>
5288
5289 * gdb.compile/compile.exp: Change java tests to rust.
5290 * gdb.base/setshow.exp: Change java tests to rust.
5291 * gdb.base/default.exp: Remove java from language list.
5292 * README (Examples): Update language example.
5293 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5294 test.
5295 * lib/gdb.exp (skip_java_tests): Remove.
5296 * lib/java.exp: Remove.
5297 * gdb.java: Remove.
5298
78b86327
MR
52992016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5300
5301 * gdb.arch/mips-fcr.exp: New test.
5302 * gdb.arch/mips-fcr.c: Source for the new test.
5303
7470adbb
MR
53042016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5305
5306 * gdb.base/solib-disc.exp: Use `standard_output_file'
5307 throughout.
5308
4a556533
PA
53092016-10-06 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.base/jit-simple-dl.c: New file.
5312 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5313 * gdb.base/jit-simple.c: ... this.
5314 * gdb.base/jit-simple.exp (jit_run): Delete.
5315 (build_jit): New proc.
5316 (jit_test_reread): Recompile either the main program or the shared
5317 library, depending on what is being tested. Skip changing address
5318 if caller wants to. Compare before/after addresses. If testing
5319 standalone, explicitly load the binary. Test "maint info
5320 breakpoints".
5321 (top level): Add "standalone vs shared lib" and "change address"
5322 vs "same address" axes.
5323
5a122fbc
PA
53242016-10-06 Pedro Alves <palves@redhat.com>
5325
5326 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5327 call.
5328 (jit_run): Delete.
5329 (jit_test_reread): Use with_test_prefix. Reload the main binary
5330 explicitly. Compare the before/after addresses of the JIT
5331 descriptor.
5332
ee8da4b8
DE
53332016-08-15 Doug Evans <dje@google.com>
5334
5335 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5336 for single bitfields is bool.
5337 * gdb.xml/tdesc-regs.exp: Ditto.
5338
f389f6fe
JK
53392016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5340
5341 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5342
fdebf1a4
YQ
53432016-10-05 Yao Qi <yao.qi@linaro.org>
5344
5345 * lib/gdb.exp (support_complex_tests): Return zero if
5346 gdb_skip_float_test return true.
5347
9c36d954 53482016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 5349 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
5350
5351 PR gdb/20487
5352 * gdb.mi/user-selected-context-sync.exp: New file.
5353 * gdb.mi/user-selected-context-sync.c: New file.
5354
4034d0ff 53552016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 5356 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
5357
5358 PR gdb/20487
5359 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5360 =thread-select-event check.
5361
a4297203
PB
53622016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5363
5364 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5365 the compulsory L operand changes.
5366 * gdb.arch/powerpc-power.s: Likewise.
5367
bb805577
JK
53682016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5369
5370 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5371 * gdb.base/jit-attach-pie.c: New file.
5372 * gdb.base/jit-attach-pie.exp: New file.
5373
6d61dee5
PA
53742016-09-28 Pedro Alves <palves@redhat.com>
5375
5376 * gdb.base/infcall-input.c: New file.
5377 * gdb.base/infcall-input.exp: New file.
5378
f73842fc
YQ
53792016-09-22 Yao Qi <yao.qi@linaro.org>
5380
5381 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5382 (gdb_exit): Rename it to ...
5383 (gdbserver_gdb_exit): ... Close GDBserver.
5384 (gdb_exit): New proc, call gdbserver_gdb_exit.
5385 (mi_gdb_exit): Likewise.
5386
90681dab
YQ
53872016-09-22 Yao Qi <yao.qi@linaro.org>
5388
5389 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5390 path.
5391 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5392 Remove duplication.
5393
9c211fd8
YQ
53942016-09-22 Yao Qi <yao.qi@linaro.org>
5395
5396 * lib/gdbserver-support.exp: Check the existence of
5397 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5398
ad0a504f
AK
53992016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5400
5401 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5402
36cf1806
TT
54032016-09-21 Tom Tromey <tom@tromey.com>
5404
5405 PR gdb/20604:
5406 * gdb.base/quit.exp: New file.
5407
74172ecf
SM
54082016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5409
5410 * .gitignore: New file.
5411
3d0ec882
MR
54122016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5413
5414 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5415 throughout.
5416
8193adea
AA
54172016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5418
5419 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5420
d41a5c09
JK
54212016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5422
5423 * gdb.cp/casts.cc (decltype): Move it ...
5424 (main): ... with its call to ...
5425 * gdb.cp/casts03.cc: ... a new file.
5426 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5427
d2dfe700
JK
54282016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5429
5430 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5431
e2a92b16
PB
54322016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5433
5434 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5435 and sync up the test with tests in gas/testsuite/gas/ppc.
5436 * gdb.arch/powerpc-power.exp: Likewise.
5437
49b4de64
JK
54382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5439
5440 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5441
2c29df25
SDJ
54422016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5443 Jan Kratochvil <jan.kratochvil@redhat.com>
5444
5445 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5446 make m1's definition to be different from m2's. Use 'dummy' as an
5447 argument for probe 'two'.
5448
cc3c2846
JB
54492016-09-10 Jon Beniston <jon@beniston.com>
5450
5451 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5452 for sim target.
5453
e1b2624a
AA
54542016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5455
5456 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5457 variable declaration.
5458 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5459 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5460 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5461 received HWCAP as its argument.
5462
4295e285
PA
54632016-09-06 Pedro Alves <palves@redhat.com>
5464
5465 * gdb.base/new-ui-pending-input.c: New file.
5466 * gdb.base/new-ui-pending-input.exp: New file.
5467 * gdb.exp (clear_gdb_spawn_id): New procedure.
5468 (with_spawn_id): Check whether gdb_spawn_id exists before
5469 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5470 on exit.
5471
00d5215e
UW
54722016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5473
5474 * gdb.base/float128.c: New file.
5475 * gdb.base/float128.exp: Likewise.
5476 * gdb.base/floatn.c: Likewise.
5477 * gdb.base/floatn.exp: Likewise.
5478
a9ff5f12
UW
54792016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5480
5481 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5482
f245535c
PA
54832016-09-05 Pedro Alves <palves@redhat.com>
5484
5485 PR backtrace/19927
5486 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5487 unwinders are immediately called as side effect of "source" or
5488 "disable unwinder" commands.
5489 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5490
ae9cf263
YQ
54912016-09-02 Yao Qi <yao.qi@linaro.org>
5492
5493 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5494 is true and $type is "float" or "double".
5495
27aba047
YQ
54962016-09-02 Yao Qi <yao.qi@linaro.org>
5497
5498 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5499 true.
5500 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5501 * gdb.base/call-rt-st.exp: Likewise.
5502 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5503 return value instead of gdb,skip_float_test.
5504 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5505 (do_function_calls): Use its return value instead of
5506 gdb,skip_float_test.
5507 * gdb.base/finish.exp: Likewise.
5508 * gdb.base/funcargs.exp: Likewise.
5509 * gdb.base/return.exp: Likewise.
5510 * gdb.base/return2.exp: Likewise.
5511 * gdb.base/varargs.exp: Likewise.
5512 * lib/gdb.exp (gdb_skip_float_test): Change it to
5513 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5514
5af962df
AA
55152016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5516
5517 * gdb.multi/tids.exp: Test "thread apply all".
5518
7fac6910
JK
55192016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5520
5521 * gdb.base/default.exp (tty): Remove.
5522
bb1fe4ac
KB
55232016-08-24 Kevin Buettner <kevinb@redhat.com>
5524
2806dc7e
PA
5525 * gdb.python/py-recurse-unwind.c: New file.
5526 * gdb.python/py-recurse-unwind.py: New file.
5527 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 5528
0a1ddfa6
SM
55292016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5530
5531 * gdb.base/set-inferior-tty.exp: New file.
5532 * gdb.base/set-inferior-tty.c: New file.
5533
d9de1fe3
PA
55342016-08-23 Pedro Alves <palves@redhat.com>
5535
5536 PR gdb/20494
5537 * gdb.base/new-ui-echo.c: New file.
5538 * gdb.base/new-ui-echo.exp: New file.
5539
e9d9abd7
YQ
55402016-08-23 Yao Qi <yao.qi@linaro.org>
5541
5542 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5543 gdbserver_spawn.
5544 * gdb.server/connect-without-multi-process.exp (do_test):
5545 Likewise.
5546
3589529e
YQ
55472016-08-23 Yao Qi <yao.qi@linaro.org>
5548
5549 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5550 standalone_txt. Delete gdb_txt and standalone_txt on host
5551 and target. Spawn the binary on target. Copy files from
5552 target to host.
5553
6bb90213
PA
55542016-08-22 Pedro Alves <palves@redhat.com>
5555
5556 PR gdb/20505
5557 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5558 with_test_prefix. Factor out bits to ...
5559 (test_no_vdso): ... this new procedure.
5560
20c2c024
CL
55612016-08-19 Carl Love <cel@us.ibm.com>
5562
5563 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5564 maintaining separate logic for constructing the output path.
5565 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5566 * gdb.arch/ppc-dfp.exp: Likewise.
5567 * gdb.arch/ppc-fp.exp: Likewise.
5568 * gdb.arch/vsx-regs.exp: Likewise.
5569 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5570 binprefix for generating the additional binary files.
5571
0646e07d
PA
55722016-08-19 Pedro Alves <palves@redhat.com>
5573
5574 * gdb.trace/mi-trace-frame-collected.exp
5575 (test_trace_frame_collected): On x32, expect two registers.
5576
46da9242
CL
55772016-08-18 Carl Love <cel@us.ibm.com>
5578
5579 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5580 and sync up the test with tests in gas/testsuite/gas/ppc.
5581 * gdb.arch/powerpc-power.exp: Likewise.
5582
eb2332d7
SM
55832016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5584
5585 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5586 expected error message.
5587
63c61e04
SM
55882016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5589
5590 * gdb.multi/remove-inferiors.exp: New file.
5591 * gdb.multi/remove-inferiors.c: New file.
5592
7b17065f
YQ
55932016-08-12 Yao Qi <yao.qi@linaro.org>
5594
5595 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5596 argument list.
5597
01d3dedf
PA
55982016-08-10 Pedro Alves <palves@redhat.com>
5599
5600 PR gdb/19187
5601 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5602 setup_kfails.
5603
3eb7562a
PA
56042016-08-09 Pedro Alves <palves@redhat.com>
5605 Simon Marchi <simon.marchi@ericsson.com>
5606
5607 PR gdb/20418
5608 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5609 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5610
80614914
PA
56112016-08-09 Pedro Alves <palves@redhat.com>
5612
5613 PR mi/20431
5614 * gdb.mi/mi-cmd-error.exp: New file.
5615
f348d89a
PA
56162016-08-09 Pedro Alves <palves@redhat.com>
5617
5618 PR gdb/18653
5619 * gdb.base/signals-state-child.c: New file.
5620 * gdb.base/signals-state-child.exp: New file.
5621 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5622
e5ca03b4
PA
56232016-08-09 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5626
282a0691
TT
56272016-08-03 Tom Tromey <tom@tromey.com>
5628
5629 PR python/18565:
5630 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5631
41bfcd63
YQ
56322016-08-01 Yao Qi <yao.qi@linaro.org>
5633
5634 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5635 variable mode to "multi-process" if $multi_process is 1, otherwise
5636 set it to "single-process".
5637
e3465b24
YQ
56382016-08-01 Yao Qi <yao.qi@linaro.org>
5639
5640 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5641 * gdb.cp/cpexprs.exp: Likewise.
5642 * gdb.cp/m-static.exp: Likewise.
5643
0b31a4bc
TT
56442016-07-26 Tom Tromey <tom@tromey.com>
5645
5646 PR python/20190:
5647 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5648 test.
5649
e0461dbb
MM
56502016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5651
5652 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5653 selecting assembly source files.
5654 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5655 assembly source files.
5656 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5657 assembly source files.
5658 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5659 selecting assembly source files.
5660
8194e927
SM
56612016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5662
5663 * gdb.base/new-ui.exp (do_test_invalid_args): New
5664 procedure.
5665
c0272db5
TW
56662016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5667
5668 * gdb.btrace/reconnect.c: New file.
5669 * gdb.btrace/reconnect.exp: New file.
5670
e3487908
GKB
56712016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5672
5673 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5674 to test_catch_syscall_group.
5675 (test_catch_syscall_group): New.
5676
12df5c00
TT
56772016-07-21 Tom Tromey <tom@tromey.com>
5678
5679 * gdb.rust/simple.rs (main): Use empty struct expression.
5680 * gdb.rust/simple.exp: Add tests for empty struct expression.
5681
bae62ee2
YQ
56822016-07-21 Yao Qi <yao.qi@linaro.org>
5683
5684 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5685 if gdb_skip_xml_test is true on some targets.
5686
b1b53fb3
YQ
56872016-07-21 Yao Qi <yao.qi@linaro.org>
5688
5689 * gdb.server/solib-list.exp: Unset last_loaded_file.
5690
027d97f8
JK
56912016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5692
5693 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5694 "step into captured_main (args)".
5695
7674d381
JK
56962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5697
5698 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5699
72b5d099
JK
57002016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5701
5702 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5703
1f960ced
PA
57042016-07-19 Pedro Alves <palves@redhat.com>
5705
5706 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5707 * gdb.opt/inline-bt.exp: Likewise.
5708 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5709 additional_flags=-Winline.
5710 * gdb.opt/inline-locals.exp: Likewise.
5711 * gdb.opt/inline-markers.c (ATTR): Define.
5712 (inlined_fn): Use it.
5713
f25827c1
YQ
57142016-07-19 Yao Qi <yao.qi@linaro.org>
5715
5716 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5717 (test_with_self): Remove some code. Remove argument executable.
5718 (top-level): Use do_self_tests.
5719
37539ebe
DB
57202016-07-15 Zachary Welch <zwelch@codesourcery.com>
5721 Don Breazeal <donb@codesourcery.com>
5722
5723 * gdb.base/maint.exp: Escape paths used in regular expressions.
5724 * gdb.stabs/weird.exp: Likewise.
5725
dac790e1
TT
57262016-07-13 Tom Tromey <tom@tromey.com>
5727
5728 PR python/15620, PR python/18620:
5729 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5730 (test_bkpt_events): New procs.
5731
93daf339
TT
57322016-07-13 Tom Tromey <tom@tromey.com>
5733
5734 PR python/17698:
5735 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5736 test.
5737 (test_watchpoints): Likewise.
5738 (test_bkpt_pending): New proc.
5739
6571a381
TT
57402016-07-13 Tom Tromey <tom@tromey.com>
5741
5742 PR cli/18053:
5743 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5744 completion test.
5745
e8732474
JK
57462016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5747
5748 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5749 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5750 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5751 f_label.
5752 (g): Rename g_end_lbl to g_label.
5753 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5754 low_pc and high_pc.
5755 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5756
e0f3fd7c
TT
57572016-07-12 Tom Tromey <tom@tromey.com>
5758
5759 PR python/19293:
5760 * gdb.python/py-unwind-maint.exp: Update tests.
5761
3cfe46b6
YQ
57622016-07-12 Yao Qi <yao.qi@linaro.org>
5763
5764 * lib/selftest-support.exp (selftest_setup): Match the output
5765 when captured_main is inlined.
5766
4f19a0e6
WT
57672016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5768
5769 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5770 New variables.
5771 (print this%a, print this%b, print this): New tests.
5772 * gdb.fortran/derived-types.f90 (this): New object and
5773 initialization.
5774
986cf455
SM
57752016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5776
5777 * gdb.ada/arraydim.exp: Remove extra directory level in build
5778 directory.
5779
f0464b23
SM
57802016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5781
5782 * lib/ada.exp: Remove extra directory level in build directory.
5783 * gdb.ada/cond_lang.exp: Likewise.
5784 * gdb.ada/exec_changed.exp: Likewise.
5785 * gdb.ada/lang_switch.exp: Likewise.
5786
42d94011
MG
57872016-07-06 Manish Goregaokar <manish@mozilla.com>
5788
2806dc7e
PA
5789 * simple.rs: Add test for raw pointer subscripting.
5790 * simple.exp: Add test expectations.
42d94011 5791
647c264c
YQ
57922016-07-05 Yao Qi <yao.qi@linaro.org>
5793
5794 * gdb.mi/mi-reverse.exp: Match =record-started output.
5795
20aa2c60
PA
57962016-07-01 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5799 procedure.
5800 (jit_reader_test): Test the jit reader's unwinder.
5801 * gdb.base/jithost.c (jit_function_00_code): New global.
5802 (main): Use memcpy to fill in the mmapped code, instead of poking
5803 bytes manually here.
5804 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5805 value.
5806 (read_debug_info): Save the function's range.
5807 (read_sp): New function.
5808 (unwind_frame): Use it. Also unwind RBP.
5809 (get_frame_id): Use read_sp.
5810 (gdb_init_reader): Use calloc instead of malloc.
5811 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5812 parameter. Use gdb_test_multiple.
5813
ced2dffb
PA
58142016-07-01 Pedro Alves <palves@redhat.com>
5815 Antoine Tremblay <antoine.tremblay@ericsson.com>
5816
5817 * gdb.threads/process-dies-while-detaching.c: New file.
5818 * gdb.threads/process-dies-while-detaching.exp: New file.
5819
63000888
PA
58202016-07-01 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.multi/watchpoint-multi-exit.c: New file.
5823 * gdb.multi/watchpoint-multi-exit.exp: New file.
5824
038d4868
PA
58252016-06-30 Pedro Alves <palves@redhat.com>
5826
5827 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5828 unset inferior_spawn_id.
5829
994e9c83
PA
58302016-06-30 Pedro Alves <palves@redhat.com>
5831
5832 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5833 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5834
e5653468
YQ
58352016-06-29 Yao Qi <yao.qi@linaro.org>
5836
5837 * gdb.base/return.c: Add copyright header.
5838
803b47e5
TT
58392016-06-29 Tom Tromey <tom@tromey.com>
5840
5841 PR python/20129:
5842 * gdb.python/py-framefilter.exp: Add tests for setting priority
5843 and disabling of non-existent frame filter.
5844
28244707
YQ
58452016-06-29 Yao Qi <yao.qi@linaro.org>
5846
5847 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5848 0x0f07ff.
5849
a31d2f06
YQ
58502016-06-28 Yao Qi <yao.qi@linaro.org>
5851
5852 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5853 triplets. Start gdb, execute catch syscall, and continue. Check
5854 gdb's output to determine catch syscall is supported.
5855
921d8f54
MG
58562016-06-27 Manish Goregaokar <manish@mozilla.com>
5857
25d49b86
PA
5858 * gdb.rust/simple.rs: Add test for returning unit in a function.
5859 * gdb.rust/simple.exp: Add expectation for functions returning
5860 unit.
921d8f54 5861
f4952523
PMR
58622016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5863
5864 * gdb.python/py-breakpoint-create-fail.c,
5865 gdb.python/py-breakpoint-create-fail.exp,
5866 gdb.python/py-breakpoint-create-fail.py: New testcase.
5867
fccb08f8
MG
58682016-06-25 Manish Goregaokar <manish@mozilla.com>
5869
5870 PR gdb/20239
5871 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
5872 * gdb.rust/simple.exp: Add test expectations for new NonZero
5873 tests.
fccb08f8 5874
6b850546
DT
58752016-06-24 David Taylor <dtaylor@emc.com>
5876
5877 * gdb.base/offsets.exp: New file.
5878 * gdb.base/offsets.c: New file.
5879
17621150
TT
58802016-06-23 Tom Tromey <tom@tromey.com>
5881
5882 PR gdb/16483:
5883 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5884 before any filters are loaded.
5885
04d59df6
WT
58862016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5887
5888 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5889 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5890 structs.
5891 * gdb.fortran/derived-type-function.exp: New file.
5892 * gdb.fortran/derived-type-function.f90: New file.
5893
5894
ac69f786
PA
58952016-06-21 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.base/new-ui.exp: New file.
5898 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5899 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5900 (with_spawn_id): New procedure.
5901
49940788
PA
59022016-06-21 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.mi/mi-exec-run.exp: New file.
5905
ef274d26
PA
59062016-06-21 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5909 breakpoint command's output on the main UI.
5910 (test_break): New procedure, factored out from calls in the top
5911 level.
5912 (top level): Use foreach_with_prefix to test MI as main UI and as
5913 separate UI.
5914
468afe6c
PA
59152016-06-21 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5918 (test_awatch_creation_and_listing)
5919 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5920 Remove 'type' parameter.
5921 (test_watchpoint_all): New parameter mi_mode. Remove
5922 with_test_prefix.
5923 (top level): Use foreach_with_prefix, and add main/separate UI MI
5924 testing axis.
5925
51f77c37
PA
59262016-06-21 Pedro Alves <palves@redhat.com>
5927
5928 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5929 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5930 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5931 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5932 (gdb_main_spawn_id, mi_spawn_id): Declare and
5933 comment.
5934 (mi_create_inferior_pty): New procedure,
5935 factored out from default_mi_gdb_start.
5936 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5937 procedures.
5938 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5939 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5940 Use mi_create_inferior_pty.
5941 (mi_gdb_start): Use eval to pass down args list.
5942
8980e177
PA
59432016-06-21 Pedro Alves <palves@redhat.com>
5944
5945 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5946 * gdb.opt/inline-cmds.exp: Add MI tests.
5947
f38d3ad1
PA
59482016-06-21 Pedro Alves <palves@redhat.com>
5949
5950 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5951
45db7c09
PA
59522016-06-21 Pedro Alves <palves@redhat.com>
5953
5954 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5955 (top level): Use it instead of mi_execute_to.
5956
5a069ab3
PA
59572016-06-21 Pedro Alves <palves@redhat.com>
5958
5959 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5960 (cont_handler_str): New.
5961 (signal_stop_handler): Set stop_handler_str instead of printing to
5962 stdout.
5963 (continue_handler): Set cont_handler_str instead of printing to
5964 stdout.
5965 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5966 mi_send_resuming_command. Print stop_handler_str and
5967 cont_handler_str instead of expecting the python events print
5968 directly.
5969
2838cc1d
SD
59702016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5971
5972 * gdb.base/jit-reader.exp: New file.
5973 * gdb.base/jithost.c: New file.
5974 * gdb.base/jithost.h: New file.
5975 * gdb.base/jitreader.c : New file.
5976 * gdb.base/jit-protocol.h: New file.
5977
21a77091
YQ
59782016-06-17 Yao Qi <yao.qi@linaro.org>
5979
5980 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5981 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5982 and detach-on-fork. Adjust tests.
5983 (top level): Invoke break_cond_on_syscall with combinations of
5984 syscall, follow-fork-mode and detach-on-fork.
5985
f50bf8e5
YQ
59862016-06-17 Yao Qi <yao.qi@linaro.org>
5987
5988 * gdb.base/step-over-exit.c: New.
5989 * gdb.base/step-over-exit.exp: New.
5990
a28d8e50
YTL
59912016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5992
5993 * gdb.base/float.exp: Add target check for nds32*-*-*.
5994 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5995
cad8e26d
AB
59962016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5997
5998 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5999 for unsupported target features.
6000 * gdb.base/call-rt-st.exp: Likewise.
6001 * gdb.base/call-sc.exp: Likewise.
6002 * gdb.base/call-signal-resume.exp: Likewise.
6003 * gdb.base/call-strs.exp: Likewise.
6004 * gdb.base/callexit.exp: Likewise.
6005 * gdb.base/callfuncs.exp: Likewise.
6006 * gdb.base/nodebug.exp: Likewise.
6007 * gdb.base/printcmds.exp: Likewise.
6008 * gdb.base/ptype.exp: Likewise.
6009 * gdb.base/structs.exp: Likewise.
6010 * gdb.base/unwindonsignal.exp: Likewise.
6011 * gdb.cp/gdb2495.exp: Likewise.
6012 * gdb.cp/templates.exp: Likewise.
6013 * gdb.cp/virtfunc.exp: Likewise.
6014 * gdb.threads/hand-call-in-threads.exp: Likewise.
6015 * gdb.threads/interrupted-hand-call.exp: Likewise.
6016 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6017
347dc102
TT
60182016-06-10 Tom Tromey <tom@tromey.com>
6019
6020 PR rust/20110:
6021 * gdb.rust/expr.exp: Add test for integer constant larger than
6022 i32.
6023
5e13cf25
BH
60242016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6025
6026 * gdb.fortran/nested-funcs.exp: New.
6027 * gdb.fortran/nested-funcs.f90: New.
6028
bb556f1f
TK
60292016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6030
6031 * gdb.base/examine-backward.c: New file.
6032 * gdb.base/examine-backward.exp: New file.
6033
38b022b4
SM
60342016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6035
6036 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6037 matching.
6038
1b40ec05
TT
60392016-06-02 Tom Tromey <tom@tromey.com>
6040
6041 PR python/18984:
6042 * gdb.python/py-shared.exp: Add solib_name test.
6043
193bd378
SM
60442016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6045
6046 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6047
3326303b
MG
60482016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6049
6050 PR c++/19893
6051 * gdb.dwarf2/implref.exp: Rename to...
6052 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6053 * gdb.dwarf2/implref-array.c: New file.
6054 * gdb.dwarf2/implref-array.exp: Likewise.
6055 * gdb.dwarf2/implref-global.c: Likewise.
6056 * gdb.dwarf2/implref-global.exp: Likewise.
6057 * gdb.dwarf2/implref-struct.c: Likewise.
6058 * gdb.dwarf2/implref-struct.exp: Likewise.
6059
825c8ef2
AT
60602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6061
6062 * gdb.trace/trace-condition.exp: Add 64bit tests.
6063
2320162a
AT
60642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6065
6066 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6067 bits types.
6068 (main): Adapt to 8 to 64 bits types.
6069 * gdb.trace/trace-condition.exp: Add new tests.
6070
a7818233
AT
60712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6072
6073 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6074
0d336466
AT
60752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6076
6077 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6078 Move condition tests...
6079 * gdb.trace/trace-condition.exp: Here.
6080
7faeb45a
AT
60812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6082
6083 * gdb.trace/trace-condition.exp: Add counter-case tests.
6084
e385593e
JK
60852016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6086
6087 PR c++/15231
6088 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6089 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6090
744608cc
PA
60912016-05-27 Pedro Alves <palves@redhat.com>
6092
6093 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6094 New procedure.
6095 (top level): Call it, and bail out of DejaGnu is known to be bad.
6096
ac775bf4
AB
60972016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6098
6099 * gdb.base/whatis.c: Extend the test case.
6100 * gdb.base/whatis.exp: Add additional tests.
6101
2bbad2ea
BH
61022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6103
6104* gdb.fortran/type.f90: Add pointer variable.
6105* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6106
8b70175d
BH
61072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6108
6109 * gdb.fortran/vla-type.exp: Fix testcase name.
6110
86d8a848
BH
61112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6112
6113 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6114
e188eb36
BH
61152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6116
6117 * gdb.fortran/type.f90: Add nested structures.
6118 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6119 * gdb.fortran/derived-type.exp: Adapt expected output.
6120 * gdb.fortran/vla-type.exp: Adapt expected output.
6121
9b2db1fd
BH
61222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6123
6124 * gdb.fortran/whatis_type.exp: Adapt expected output.
6125
72b17055
BH
61262016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6127
6128 * gdb.fortran/print_type.exp: Fix expected output.
6129 * gdb.fortran/whatis_type.exp: Fix expected output.
6130
3cd81d8d
BH
61312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6132
6133 * gdb.fortran/whatis_type.exp: Use multi_line.
6134
ddae9462
TT
61352016-05-24 Tom Tromey <tom@tromey.com>
6136
6137 PR python/17386:
6138 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6139 use value as an index.
6140
1957f6b8
TT
61412016-05-23 Tom Tromey <tom@tromey.com>
6142
6143 PR python/17981:
6144 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6145 no-breakpoint case.
6146
026a9174
PA
61472016-05-24 Pedro Alves <palves@redhat.com>
6148
6149 PR gdb/19828
6150 * gdb.threads/clone-attach-detach.c: New file.
6151 * gdb.threads/clone-attach-detach.exp: New file.
6152
e70a7231
FR
61532016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6154
6155 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6156
0f6ed0e0
TT
61572016-05-23 Tom Tromey <tom@tromey.com>
6158
6159 PR python/19438, PR python/18393:
6160 * gdb.python/py-progspace.exp: Add "dir" test.
6161 * gdb.python/py-objfile.exp: Add "dir" test.
6162
ffd19d61
YQ
61632016-05-23 Yao Qi <yao.qi@linaro.org>
6164
6165 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6166 * gdb.arch/thumb2-it.exp: Likewise.
6167
9e8f9b05
SM
61682016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6169
6170 * gdb.mi/mi-threads-interrupt.c: New file.
6171 * gdb.mi/mi-threads-interrupt.exp: New file.
6172
61c6156d
SM
61732016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6174
6175 PR gdb/18077
6176 * gdb.mi/mi-async-run.exp: New file.
6177 * gdb.mi/mi-async-run.c: New file.
6178
67218854
TT
61792016-05-17 Tom Tromey <tom@tromey.com>
6180 Manish Goregaokar <manishsmail@gmail.com>
6181
6182 * lib/rust-support.exp: New file.
6183 * lib/gdb.exp (skip_rust_tests): New proc.
6184 (build_executable_from_specs): Handle rust.
6185 * lib/future.exp (gdb_find_rustc): New proc.
6186 (gdb_default_target_compile): Handle rust.
6187 * gdb.rust/expr.exp: New file.
6188 * gdb.rust/generics.exp: New file.
6189 * gdb.rust/generics.rs: New file.
6190 * gdb.rust/methods.exp: New file.
6191 * gdb.rust/methods.rs: New file.
6192 * gdb.rust/modules.exp: New file.
6193 * gdb.rust/modules.rs: New file.
6194 * gdb.rust/simple.exp: New file.
6195 * gdb.rust/simple.rs: New file.
6196
c44af4eb
TT
61972016-05-17 Tom Tromey <tom@tromey.com>
6198
6199 * gdb.base/default.exp (set language): Add rust.
6200
dcd1f979
TT
62012016-05-17 Tom Tromey <tom@tromey.com>
6202
6203 * gdb.gdb/unittest.exp: New file.
6204
155b7f57
YQ
62052016-05-16 Yao Qi <yao.qi@linaro.org>
6206
6207 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6208 shell_prompt. Update shell_prompt_re.
6209
8ddd5a6c
DE
62102016-05-12 Doug Evans <dje@google.com>
6211
6212 PR symtab/19999
6213 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6214 $options when building executable.
6215 * gdb.dwarf2/fission-loclists-pie.S: New file.
6216 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6217
02e370d9
SM
62182016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6219
6220 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6221 of [is_remote target],
6222
8929ad8b
SM
62232016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6224
6225 * lib/gdb.exp (use_gdb_stub): New procedure.
6226
6c447423
DE
62272016-05-03 Yunlian Jiang <yunlian@google.com>
6228 Doug Evans <dje@google.com>
6229
6230 PR symtab/19914
6231 * gdb.dwarf2/dwp-sepdebug.c: New file.
6232 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6233
444e826c
SM
62342016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6235
6236 * gdb.base/detach.exp: Remove is_remote check.
6237
740feeaa
SM
62382016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6239
6240 * gdb.base/annota-input-while-running.exp: Don't check for
6241 [is_remote target]. Enable annotations after running to main.
6242 Remove unused "set test..." line.
6243
9080ac9d
SM
62442016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6245
6246 * gdb.trace/trace-enable-disable.exp: New file.
6247 * gdb.trace/trace-enable-disable.c: New file.
6248
952ebca5
SM
62492016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6250
6251 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6252 use it in info sharedlibrary test.
6253 * gdb.trace/ftrace-lock.exp: Likewise.
6254 * gdb.trace/ftrace.exp: Likewise.
6255 * gdb.trace/range-stepping.exp: Likewise.
6256 * gdb.trace/trace-break.exp: Likewise.
6257 * gdb.trace/trace-condition.exp: Likewise.
6258 * gdb.trace/trace-mt.exp: Likewise.
6259
d9019901
SM
62602016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6261
6262 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6263 (gdb_load_shlib): ... this.
6264 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6265 gdb_load_shlib.
6266 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6267 * gdb.base/ctxobj.exp: Likewise.
6268 * gdb.base/dprintf-pending.exp: Likewise.
6269 * gdb.base/dso2dso.exp: Likewise.
6270 * gdb.base/fixsection.exp: Likewise.
6271 * gdb.base/gcore-relro.exp: Likewise.
6272 * gdb.base/gdb1555.exp: Likewise.
6273 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6274 * gdb.base/gnu-ifunc.exp: Likewise.
6275 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6276 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6277 * gdb.base/pending.exp: Likewise.
6278 * gdb.base/print-file-var.exp: Likewise.
6279 * gdb.base/print-symbol-loading.exp: Likewise.
6280 * gdb.base/shlib-call.exp: Likewise.
6281 * gdb.base/shreloc.exp: Likewise.
6282 * gdb.base/so-impl-ld.exp: Likewise.
6283 * gdb.base/solib-disc.exp: Likewise.
6284 * gdb.base/solib-nodir.exp: Likewise.
6285 * gdb.base/solib-overlap.exp: Likewise.
6286 * gdb.base/solib-symbol.exp: Likewise.
6287 * gdb.base/solib-weak.exp (do_test): Likewise.
6288 * gdb.base/sym-file.exp: Likewise.
6289 * gdb.base/symtab-search-order.exp: Likewise.
6290 * gdb.base/type-opaque.exp: Likewise.
6291 * gdb.base/unload.exp: Likewise.
6292 * gdb.base/watchpoint-solib.exp: Likewise.
6293 * gdb.compile/compile.exp: Likewise.
6294 * gdb.cp/gdb2384.exp: Likewise.
6295 * gdb.cp/infcall-dlopen.exp: Likewise.
6296 * gdb.cp/re-set-overloaded.exp: Likewise.
6297 * gdb.fortran/library-module.exp: Likewise.
6298 * gdb.opt/solib-intra-step.exp: Likewise.
6299 * gdb.python/py-finish-breakpoint.exp: Likewise.
6300 * gdb.python/py-shared.exp: Likewise.
6301 * gdb.reverse/solib-precsave.exp: Likewise.
6302 * gdb.reverse/solib-reverse.exp: Likewise.
6303 * gdb.server/solib-list.exp: Likewise.
6304 * gdb.threads/dlopen-libpthread.exp: Likewise.
6305 * gdb.threads/tls-shared.exp: Likewise.
6306 * gdb.threads/tls-so_extern.exp: Likewise.
6307 * gdb.trace/change-loc.exp: Likewise.
6308 * gdb.trace/ftrace-lock.exp: Likewise.
6309 * gdb.trace/ftrace.exp: Likewise.
6310 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6311 * gdb.trace/pending.exp: Likewise.
6312 * gdb.trace/range-stepping.exp: Likewise.
6313 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6314 (strace_info_marker): Likewise.
6315 (strace_probe_marker): Likewise.
6316 (strace_trace_on_same_addr): Likewise.
6317 (strace_trace_on_diff_addr): Likewise.
6318 * gdb.trace/trace-break.exp: Likewise.
6319 * gdb.trace/trace-condition.exp: Likewise.
6320 * gdb.trace/trace-mt.exp: Likewise.
6321
fca4cfd9
SM
63222016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6323
6324 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6325 result of gdb_remote_download.
6326 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6327 * gdb.base/dso2dso.exp: Likewise.
6328 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6329 * gdb.base/print-file-var.exp: Likewise.
6330 * gdb.base/shlib-call.exp: Likewise.
6331 * gdb.base/shreloc.exp: Likewise.
6332 * gdb.base/solib-overlap.exp: Likewise.
6333 * gdb.base/solib-weak.exp (do_test): Likewise.
6334 * gdb.base/unload.exp: Likewise.
6335
11cf4ffb
YQ
63362016-04-27 Yao Qi <yao.qi@linaro.org>
6337
6338 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6339 exists.
6340
3e2e34f8
KB
63412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6342
6343 * vla-type.exp: Print structure from toplevel.
6344
8f07e298
BH
63452016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6346
6347 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6348 of dynamic types.
6349 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6350 of dynamic types.
6351
9920b434
BH
63522016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6353
6354 * gdb.fortran/vla-type.f90: New file.
6355 * gdb.fortran/vla-type.exp: New file.
6356
f3abeff5
YQ
63572016-04-25 Yao Qi <yao.qi@linaro.org>
6358
6359 * gdb.base/branch-to-self.c: New file.
6360 * gdb.base/branch-to-self.exp: New file.
6361
0a5d52f0
YQ
63622016-04-22 Yao Qi <yao.qi@linaro.org>
6363
6364 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6365 more after $hex.
6366
495346f6
YQ
63672016-04-22 Yao Qi <yao.qi@linaro.org>
6368
6369 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6370 * gdb.base/annota3.exp: Likewise.
6371
4a7e075c
YQ
63722016-04-22 Yao Qi <yao.qi@linaro.org>
6373
6374 * gdb.reverse/step-precsave.exp: Do one step and test program
6375 stops in "callee" and do multiple steps until program goes out
6376 of "callee".
6377 * gdb.reverse/step-reverse.exp: Likewise.
6378
5b061e98
YQ
63792016-04-22 Yao Qi <yao.qi@linaro.org>
6380
6381 * gdb.trace/signal.exp: Also pass if
6382 $tracepoint_hits($i) > $iterations.
6383
5c5dc57f
YQ
63842016-04-22 Yao Qi <yao.qi@linaro.org>
6385
6386 * gdb.trace/signal.c: New file.
6387 * gdb.trace/signal.exp: New file.
6388
a55411b9
DE
63892016-04-19 Doug Evans <xdje42@gmail.com>
6390
6391 * gdb.base/bad-file.exp: New file.
6392
a22df60a
MG
63932016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6394
6395 * gdb.dwarf2/implref.exp: New file.
6396
0c13f7e5
BH
63972016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6398
6399 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6400 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6401 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6402 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6403 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6404 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6405 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6406 * lib/fortran.exp (fortran_int4): New procedure.
6407 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6408 (fortran_logical4): Likewise.
6409
9b9b09e9
BH
64102016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6411
6412 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6413
a14d1f4d
BH
64142016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6415
6416 * lib/compiler.c: Add Intel specific preprocessor macros.
6417 * lib/compiler.cc: Likewise.
25d49b86 6418
7d49b1d0
LM
64192016-04-13 Luis Machado <lgustavo@codesourcery.com>
6420
6421 * gdb.server/connect-with-no-symbol-file.c: New file.
6422 * gdb.server/connect-with-no-symbol-file.exp: New file.
6423
8392fa22
SM
64242016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6425
6426 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6427
8c4c4aeb
SM
64282016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6429
6430 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6431 standard output directory.
6432
45e3745e
AT
64332016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6434
6435 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6436
e26b7e41
MM
64372016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6438
6439 * gdb.btrace/instruction_history.c (loop): Add declaration.
6440
8ce09462
AT
64412016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6442
6443 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6444
2e88a1ea
SM
64452016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6446
6447 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6448 parentheses to print.
6449 (continue_handler): Likewise.
6450
f48e22e3
SM
64512016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6452
6453 * gdb.server/solib-list.exp: Remove is_remote check.
6454 Pass shlib= to gdb_compile. Don't link shared library with
6455 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6456 Run binary filename through "readlink -f" on the target.
6457
096be756
PA
64582016-04-08 Pedro Alves <palves@redhat.com>
6459
6460 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6461 interpreter filename as argument to gdbserver_spawn.
6462 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6463 Return empty if $last_loaded_file does not exist.
6464
06500533
JK
64652016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6466
6467 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6468 * gdb.base/jit-main.c: Use exit after usage.
6469
2d35e871
JK
64702016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6471
6472 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6473 GDBHISTSIZE prior to the tests.
6474 * gdb.base/gdbinit-history.exp: Likewise.
6475
64762016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
6477
6478 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6479 instead of build_executable. Use gdb_load_shlibs.
6480
c8064e7e
YQ
64812016-04-07 Yao Qi <yao.qi@linaro.org>
6482
6483 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6484 Execute "si" command.
6485
bde47561
YQ
64862016-04-07 Yao Qi <yao.qi@linaro.org>
6487
6488 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6489 number instead of the comments on some line.
6490
b16f8a3b
DB
64912016-04-06 Don Breazeal <donb@codesourcery.com>
6492
6493 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6494 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6495
c2f901df
SM
64962016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6497
6498 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6499 standard_output_file. Remove unused binfile variable.
6500
ac17fda0
CU
65012016-04-05 Catalin Udma <catalin.udma@freescale.com>
6502
6503 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6504 * gdb.python/py-mi-objfile.exp: Match "list main" output
6505 in console format.
6506
03a8c4df
SM
65072016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6508
6509 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6510 absolute.
6511
6e774b13
SM
65122016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6513
6514 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6515 absolute.
6516 * gdb.trace/ftrace.exp: Likewise.
6517 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6518 targets as well.
6519 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6520 (gdb_load_shlibs): Copy libraries to test directory when testing
6521 natively. Only set solib-search-path if testing remotely.
6522 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6523
7817ea46
SM
65242016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6525
6526 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6527 gdb_download. Use it even if the target is not remote.
6528 * gdb.base/jit.exp (compile_jit_test): Likewise.
6529 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6530 output directory if the destination board is local, otherwise use
6531 the standard remote_download from DejaGnu.
6532 (gdb_download): Remove.
6533 (gdb_load_shlibs): Use gdb_remote_download instead of
6534 gdb_download.
6535 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6536 Use gdb_remote_download instead of gdb_download. Use it even if
6537 the target is not remote.
6538 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6539 instead of gdb_download.
6540
7beb7f68
SM
65412016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6542
6543 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6544 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6545 run.
6546
cc63428a
AV
65472016-04-01 Artemiy Volkov <artemiyv@acm.org>
6548
6549 PR gdb/19820
6550 * gdb.base/printcmds.exp: Add artificial arrays tests.
6551
64cdf930
PA
65522016-03-31 Pedro Alves <palves@redhat.com>
6553
6554 PR gdb/19858
6555 * gdb.base/jit-main.c: Include unistd.h.
6556 (ATTACH): Define to 0 if not already defined.
6557 (wait_for_gdb, mypid): New globals.
6558 (WAIT_FOR_GDB): New macro.
6559 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6560 some breakpoint locations.
6561 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6562 New procedures.
6563 (one_jit_test): Add REATTACH parameter, and handle it. Use
6564 continue_to_test_location.
6565 (top level): Test attach, and adjusts calls to one_jit_test.
6566
40dea8cb
PA
65672016-03-31 Pedro Alves <palves@redhat.com>
6568
6569 PR gdb/19858
6570 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6571 BINSUFFIX parameter, and handle it.
6572 (top level): Adjust calls compile_jit_test.
6573
e7ea3ec7
CU
65742016-03-31 Catalin Udma <catalin.udma@freescale.com>
6575
6576 PR python/19743
6577 * gdb.python/py-mi-events-gdb.py: New file.
6578 * gdb.python/py-mi-events.c: New file.
6579 * gdb.python/py-mi-events.exp: New file.
6580
e6359af3
YQ
65812016-03-30 Yao Qi <yao.qi@linaro.org>
6582
6583 * gdb.reverse/until-precsave.exp: Match function name only.
6584 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6585 Move malloc to a condition block.
6586 * gdb.reverse/until-reverse.exp: Match function name only.
6587
a4105d04
MK
65882016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6589
6590 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6591 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6592 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6593 variable for GPR 0 instead of assuming it is register 0.
6594 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6595 * lib/trace-support.exp: Add s390 registers.
6596
bfa6adb9
YQ
65972016-03-29 Yao Qi <yao.qi@linaro.org>
6598
6599 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6600
1e6697ea
YQ
66012016-03-24 Yao Qi <yao.qi@linaro.org>
6602
6603 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6604 test message.
6605
64bcd522
AA
66062016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6607
6608 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6609 maintaining separate logic for constructing the output path.
6610
7868401b
DB
66112016-03-16 Don Breazeal <donb@codesourcery.com>
6612
6613 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6614 Retry fork and waitpid on interrupted system call errors.
6615 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6616 Use with_timeout_factor to increase timeout by factor of 10.
6617
1cafadb4
DB
66182016-03-15 Don Breazeal <donb@codesourcery.com>
6619
6620 * gdb.cp/scope-err.cc: New test program.
6621 * gdb.cp/scope-err.exp: New test script.
6622 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6623 lines and "set breakpoint here" comment.
6624 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6625 Fixed some whitespace and format issues.
6626 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6627 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6628
81516450
DE
66292016-03-15 Doug Evans <dje@google.com>
6630
6631 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6632 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6633 All callers updated. Add tests for enums, mixed flags register.
6634
aa52b601
DE
66352016-03-15 Doug Evans <dje@google.com>
6636
6637 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6638 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6639
fa4ff313
SM
66402016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6641
6642 * gdb.base/default.exp: Add $_as_string to the list of expected
6643 convenience functions.
6644
f2403c39
AB
66452016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6646
6647 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6648
f2f3ccb9
SM
66492016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6650
6651 * gdb.python/py-as-string.exp: New file.
6652 * gdb.python/py-as-string.c: New file.
6653
00dbd492
PA
66542016-03-09 Pedro Alves <palves@redhat.com>
6655
6656 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6657 signal" -> "Thread NN received signal" output change.
6658 * gdb.threads/ia64-sigill.exp: Likewise.
6659 * gdb.threads/linux-dp.exp: Likewise.
6660 * gdb.threads/manythreads.exp: Likewise.
6661 * gdb.threads/pending-step.exp: Likewise.
6662 * gdb.threads/print-threads.exp: Likewise.
6663 * gdb.threads/sigstep-threads.exp: Likewise.
6664 * gdb.threads/staticthreads.exp: Likewise.
6665 * gdb.threads/tls.exp: Likewise.
6666
1e6697ea
YQ
66672016-03-09 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/command-line-input.exp: New file.
6670
b04fd3be
MK
66712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6672
6673 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6674 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6675 * gdb.trace/pending.exp: Accept leading dot before function name.
6676 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6677 * lib/trace-support.exp: Set registers for ppc.
6678
98fa59e9
MK
66792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6680
6681 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6682 use it for disassembly; accept .main in addition to main in backtrace.
6683
f77198c8
MK
66842016-03-09 Wei-cheng Wang <cole945@gmail.com>
6685 Marcin Kościelnicki <koriakin@0x04.net>
6686
6687 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6688 (gdb_recursion_test_ptr): New global variable.
6689 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6690 gdb_recursion_test.
6691 (gdb_c_test): Ditto.
6692
ba84e0da
MK
66932016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6694
6695 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6696 ordering.
6697
4366d36e
MK
66982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6699
6700 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6701 (bar): Add bar_start_lbl label.
6702 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6703 of foo/bar for emitting DWARF and tracing.
6704
5eb264df
SDJ
67052016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6706
6707 * analyze-racy-logs.py: Set executable bit.
6708
fb6a751f
SDJ
67092016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6710
6711 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6712 (CHECK_TARGET_TMP): Likewise.
6713 (check-single-racy): New rule.
6714 (check-parallel-racy): Likewise.
6715 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6716 (do-check-parallel-racy): New rule.
6717 (check-racy/%.exp): Likewise.
6718 * README (Racy testcases): New section.
6719 * analyze-racy-logs.py: New file.
6720
bdf7e230
DE
67212016-03-03 Doug Evans <dje@google.com>
6722
6723 * gdb.base/skip.exp: Use with_test_prefix.
6724
4719d415
YQ
67252016-03-03 Yao Qi <yao.qi@linaro.org>
6726
6727 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6728 Invoke step_over_syscall "clone" and break_cond_on_syscall
6729 "clone".
6730 * gdb.base/step-over-clone.c: New file.
6731
ea507862
YQ
67322016-03-03 Yao Qi <yao.qi@linaro.org>
6733
6734 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6735 code format.
6736
8fc8cbda
YQ
67372016-03-03 Yao Qi <yao.qi@linaro.org>
6738
6739 * gdb.base/disp-step-fork.c: Rename to ...
6740 * gdb.base/step-over-fork.c: ... it. New file.
6741 * gdb.base/disp-step-vfork.c: Rename to ...
6742 * gdb.base/step-over-vfork.c: ... it. New file.
6743 * gdb.base/disp-step-syscall.exp: Rename to ...
6744 * gdb.base/step-over-syscall.exp: ... it. New file.
6745 (disp_step_cross_syscall): Rename to ...
6746 (step_over_syscall): ... it.
6747
92fa70b0
YQ
67482016-03-03 Yao Qi <yao.qi@linaro.org>
6749
6750 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6751 If target supports condition evaluation on target, invoke
6752 break_cond_on_syscall for fork and vfork.
6753
e197ad3c
YQ
67542016-03-03 Yao Qi <yao.qi@linaro.org>
6755
6756 * gdb.base/disp-step-syscall.exp: Don't invoke
6757 support_displaced_stepping.
6758 (disp_step_cross_syscall): Test with displaced stepping off and
6759 on if supported.
6760
0b47da9f
YQ
67612016-03-03 Yao Qi <yao.qi@linaro.org>
6762
6763 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6764 proc.
6765 (setup): New proc.
6766 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6767 and setup.
6768
065ab6dc
BH
67692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6770
6771 * gdb.fortran/vla-history.exp: Remove breakpoint.
6772
07e448ad 67732016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6774
25d49b86
PA
6775 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6776 exceeds timeout.
07e448ad 6777
9ac2d526 67782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6779
25d49b86
PA
6780 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6781 breakpoint.
9ac2d526 6782
17807369
BH
67832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6784
6785 * gdb.mi/vla.f90: Nullify pointer after declaration.
6786
86e501af
PA
67872016-03-01 Pedro Alves <palves@redhat.com>
6788
6789 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6790
1e903e32
PA
67912016-03-01 Pedro Alves <palves@redhat.com>
6792
6793 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6794 before anything else.
6795 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6796 _GNU_SOURCE here.
6797 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6798 before anything else.
6799 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6800
6ccb54e2
PA
68012016-03-01 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6804
30ca9da1
YQ
68052016-03-01 Yao Qi <yao.qi@linaro.org>
6806
6807 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6808 prepare_for_testing.
6809
dc856b38
YQ
68102016-03-01 Yao Qi <yao.qi@linaro.org>
6811
6812 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6813
4a932159
AA
68142016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6815
6816 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6817 manually constructing the output path.
6818
f2489477
AA
68192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6820
6821 * gdb.arch/s390-stackless.S: New.
6822 * gdb.arch/s390-stackless.exp: New.
6823
38899f16
IB
68242016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6825
6826 * gdb.dlang/circular.c: New file.
6827 * gdb.dlang/circular.exp: New file.
6828
9fde51ed
YQ
68292016-02-26 Yao Qi <yao.qi@linaro.org>
6830
6831 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6832 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6833 (testcases): Update.
6834
ce90fefe
YQ
68352016-02-26 Yao Qi <yao.qi@linaro.org>
6836
6837 * gdb.reverse/aarch64.c: Rename to ...
6838 * gdb.reverse/insn-reverse.c: ... it.
6839 * gdb.reverse/aarch64.exp: Rename to ...
6840 * gdb.reverse/insn-reverse.exp: ... it.
6841
3263bceb
YQ
68422016-02-26 Yao Qi <yao.qi@linaro.org>
6843
6844 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6845 (testcase_ftype): New.
6846 (testcases): New array.
6847 (n_testcases): New.
6848 (main): Call each element in testcases.
6849 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6850 (read_testcase): New.
6851 Do the tests in a loop.
6852
6cb59ff1
YQ
68532016-02-25 Yao Qi <yao.qi@linaro.org>
6854
6855 * gdb.base/branches.c: Remove.
6856
ae91f625
MK
68572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6858
6859 PR gdb/13808
6860 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6861
678b48b7
MK
68622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6863
6864 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6865
7337a6f2
MK
68662016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6867
6868 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6869 change x86_64 call_insn to 'callq'.
6870
861ca91f
AT
68712016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6872
6873 * gdb.trace/tfile-avx.c: Move to...
6874 * gdb.trace/tracefile-pseudo-reg.c: Here.
6875 * gdb.trace/tfile-avx.exp: Move to...
6876 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6877
bf74e428
GB
68782016-02-24 Gary Benson <gbenson@redhat.com>
6879
6880 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6881 message on attach.
6882
cce0e923
DE
68832016-02-23 Doug Evans <dje@google.com>
6884
6885 * gdb.base/skip.c (test_skip): New function.
6886 (end_test_skip_file_and_function): New function.
6887 (test_skip_file_and_function): New function.
6888 * gdb.base/skip1.c (test_skip): New function.
6889 (skip1_test_skip_file_and_function): New function.
6890 * gdb.base/skip.exp: Add tests for new skip options.
6891 * gdb.base/skip-solib.exp: Update expected output.
6892 * gdb.perf/skip-command.cc: New file.
6893 * gdb.perf/skip-command.exp: New file.
6894 * gdb.perf/skip-command.py: New file.
6895
4000e47e
MK
68962016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6897
6898 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6899 info registers pattern.
6900
24f75ead
IB
69012016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6902
6903 * lib/future.exp: Add D support.
6904 (gdb_find_gdc): New proc.
6905 (gdb_default_target_compile): Add D support.
6906
fbb7bcbe
WW
69072016-02-18 Wei-cheng Wang <cole945@gmail.com>
6908
6909 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6910 user+system time.
6911 (trace_speed_test): Determine the iteration count for a time
6912 between 15..30 seconds.
6913
012b3a21
WT
69142016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6915
6916 * gdb.arch/i386-mpx-sigsegv.c: New file.
6917 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6918 * gdb.arch/i386-mpx-simple_segv.c: New file.
6919 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6920
2d5189bd
YQ
69212016-02-18 Yao Qi <yao.qi@linaro.org>
6922
6923 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6924 Don't call setup_kfail.
6925
40fb20d0
YQ
69262016-02-18 Yao Qi <yao.qi@linaro.org>
6927
6928 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6929 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6930
21b1f8d2
DE
69312016-02-16 Doug Evans <dje@google.com>
6932
6933 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6934 * gdb.base/skip1.c: Ditto.
6935 * gdb.base/skip.exp: Whitespace cleanup.
6936
4041ed77
DB
69372016-02-16 Don Breazeal <donb@codesourcery.com>
6938
6939 PR remote/19496
6940 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6941 Remove kfail for PR remote/19496.
6942
c4ef31bf
SM
69432016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6944
6945 * lib/gdb.exp (standard_temp_file): Return a path specific to
6946 the runtest invocation.
6947
266b65b3
SM
69482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6949
6950 * gdb.trace/save-trace.exp: Change relative path to be in the
6951 standard output directory.
6952
a7a0a6a9
JK
69532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6954
6955 * gdb.arch/i386-prologue.c: Add missing prototypes.
6956
c99dbb42
JK
69572016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6958
6959 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6960 * gdb.arch/i386-prologue.exp: Likewise.
6961 * gdb.arch/i386-size.exp: Likewise.
6962
aa480355
SM
69632016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6964
6965 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6966 define object file path.
6967 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6968 file path.
6969 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6970 standard_output_file to define binfile.
6971
ba881f50
JK
69722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6973
6974 Fix compatibility with recent gfortran-5.3.1.
6975 * gdb.fortran/vla-history.exp (print vla1 allocated)
6976 (print vla2 allocated, print $2, print $3): Remove
6977 (print $4): Rename to ...
6978 (print $2): ... here.
6979 (print $9): Rename to ...
6980 (print $5): ... here.
6981 (print $10): Rename to ...
6982 (print $6): ... here.
6983 * gdb.fortran/vla.f90: Add pvla initialization.
6984
e9fb005c
JK
69852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6986
6987 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6988 New test.
6989 * gdb.fortran/vla-value-sub.exp: Likewise.
6990
e44e00ff
MK
69912016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6992
6993 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6994
97e94151
SM
69952016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6996
6997 * i386-biarch-core.exp: Define corefile using
6998 standard_output_file.
6999
01113bc1
YQ
70002016-02-12 Yao Qi <yao.qi@linaro.org>
7001
7002 * gdb.arch/arm-single-step-kernel-helper.c: New.
7003 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7004
33b4777c
MM
70052016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7006
7007 * gdb.btrace/tailcall-only.exp: New.
7008 * gdb.btrace/tailcall-only.c: New.
7009 * gdb.btrace/x86_64-tailcall-only.S: New.
7010 * gdb.btrace/i686-tailcall-only.S: New.
7011
acc23c11
PA
70122016-02-11 Pedro Alves <palves@redhat.com>
7013
7014 * README (Parallel testing): Add missing double quotes.
7015
e352bf0a
PA
70162016-02-11 Pedro Alves <palves@redhat.com>
7017
7018 * README (Parallel testing): New section.
7019 (GDB_PARALLEL): Rewrite.
7020 (FORCE_PARALLEL): Document.
7021
9f5fed78
MK
70222016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7023
7024 * gdb.trace/tfile-avx.c: New test.
7025 * gdb.trace/tfile-avx.exp: New test.
7026
9ef9e6a6
KS
70272016-02-09 Keith Seitz <keiths@redhat.com>
7028
7029 PR breakpoints/19546
7030 * gdb.base/infcall-exec.c: New file.
7031 * gdb.base/infcall-exec2.c: New file.
7032 * gdb.base/infcall-exec.exp: New file.
7033
a96e36da
KS
70342016-02-09 Keith Seitz <keiths@redhat.com>
7035
7036 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7037 (toplevel): Call test_bkpt_address.
7038
9f61929f
KS
70392016-02-09 Keith Seitz <keiths@redhat.com>
7040
7041 PR python/19506
7042 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7043 (toplevel): Call test_bkpt_address.
7044
1e94266c
SM
70452016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7046
7047 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7048 to AC_OUTPUT.
7049 * configure: Regenerate.
7050
2a7f3dff
PA
70512016-02-09 Pedro Alves <palves@redhat.com>
7052
7053 PR breakpoints/19548
7054 * gdb.base/execl-update-breakpoints.c (some_function): New
7055 function.
7056 (main): Call it.
7057 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7058 Tighten expected GDB output.
7059
2151ccc5
SM
70602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7061
7062 * Makefile.in (ALL_SUBDIRS): Remove.
7063 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7064 (distclean maintainer-clean realclean): Likewise.
7065 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7066 * configure: Regenerate.
7067 * gdb.ada/Makefile.in: Delete.
7068 * gdb.arch/Makefile.in: Likewise.
7069 * gdb.asm/Makefile.in: Likewise.
7070 * gdb.base/Makefile.in: Likewise.
7071 * gdb.btrace/Makefile.in: Likewise.
7072 * gdb.cell/Makefile.in: Likewise.
7073 * gdb.compile/Makefile.in: Likewise.
7074 * gdb.cp/Makefile.in: Likewise.
7075 * gdb.disasm/Makefile.in: Likewise.
7076 * gdb.dlang/Makefile.in: Likewise.
7077 * gdb.dwarf2/Makefile.in: Likewise.
7078 * gdb.fortran/Makefile.in: Likewise.
7079 * gdb.gdb/Makefile.in: Likewise.
7080 * gdb.go/Makefile.in: Likewise.
7081 * gdb.guile/Makefile.in: Likewise.
7082 * gdb.java/Makefile.in: Likewise.
7083 * gdb.linespec/Makefile.in: Likewise.
7084 * gdb.mi/Makefile.in: Likewise.
7085 * gdb.modula2/Makefile.in: Likewise.
7086 * gdb.multi/Makefile.in: Likewise.
7087 * gdb.objc/Makefile.in: Likewise.
7088 * gdb.opencl/Makefile.in: Likewise.
7089 * gdb.opt/Makefile.in: Likewise.
7090 * gdb.pascal/Makefile.in: Likewise.
7091 * gdb.perf/Makefile.in: Likewise.
7092 * gdb.python/Makefile.in: Likewise.
7093 * gdb.reverse/Makefile.in: Likewise.
7094 * gdb.server/Makefile.in: Likewise.
7095 * gdb.stabs/Makefile.in: Likewise.
7096 * gdb.threads/Makefile.in: Likewise.
7097 * gdb.trace/Makefile.in: Likewise.
7098 * gdb.xml/Makefile.in: Likewise.
7099 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7100 GDB_PARALLEL.
7101 (standard_output_file): Remove check for GDB_PARALLEL, always
7102 return path in outputs/$subdir/$testname.
7103
437277d4
SM
71042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7105
7106 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7107 (site.exp): Assign abs_srcdir to tcl's srcdir.
7108
31d913c7
YQ
71092016-02-04 Yao Qi <yao.qi@linaro.org>
7110
7111 * gdb.base/foll-exec-mode.c: Include limits.h.
7112 (main): Add parameters argc and argv. Get directory from
7113 argv[0].
7114 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7115 compilation.
7116 * gdb.base/foll-exec.c: Include limits.h.
7117 (main): Add parameters argc and argv.
7118 Get directory from argv[0].
7119 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7120 Adjust tests on the number of lines as source code changed.
7121 * gdb.base/foll-vfork-exit.c: Include limits.h.
7122 (main): Add one line of statement before vfork.
7123 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7124 (main): Add parameters argc and argv. Get directory from
7125 argv[0].
7126 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7127 (setup_gdb): Set tbreak to skip some source lines.
7128 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7129 (main): Add parameters argc and argv. Get directory from
7130 argv[0].
7131 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7132 compilation.
7133 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7134 (main): Add parameters argc and argv. Get directory from
7135 argv[0].
7136 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7137 compilation.
7138
9482b9fb
DE
71392016-02-01 Doug Evans <dje@google.com>
7140
7141 * gdb.base/skip.exp: Clean up multiple references to same test name.
7142
6b2e4f10
PA
71432016-02-01 Pedro Alves <palves@redhat.com>
7144
ccb6afd6 7145 PR remote/19496
6b2e4f10
PA
7146 * gdb.threads/forking-threads-plus-breakpoint.exp
7147 (displaced_stepping_supported): New global.
7148 (probe_displaced_stepping_support): New procedure.
7149 (do_test): Add 'displaced' parameter, and use it.
7150 (top level): Check for displaced stepping support. Add displaced
7151 stepping on/off testing axis.
7152
37a8db1a
AB
71532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7154
7155 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7156 pointer. Don't perform further tests on the unassociated pointer
7157 if the first test fails.
7158
5fdf6324
AB
71592016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7160
7161 * gdb.base/max-value-size.c: New file.
7162 * gdb.base/max-value-size.exp: New file.
7163 * gdb.base/huge.exp: Disable max-value-size for this test.
7164
935c6144
IB
71652016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7166
7167 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7168
7fe8399d
YQ
71692016-01-28 Yao Qi <yao.qi@linaro.org>
7170
7171 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7172
a2077e25
PA
71732016-01-25 Pedro Alves <palves@redhat.com>
7174
7175 PR threads/19461
7176 * gdb.base/fork-running-state.c: New file.
7177 * gdb.base/fork-running-state.exp: New file.
7178
1d2736d4
PA
71792016-01-25 Pedro Alves <palves@redhat.com>
7180
7181 PR gdb/19494
7182 * gdb.base/catch-fork-kill.c: New file.
7183 * gdb.base/catch-fork-kill.exp: New file.
7184
f1da4b11
PA
71852016-01-25 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7188 Delete, moved to lib/gdb.exp.
7189 * gdb.threads/forking-threads-plus-breakpoint.exp
7190 (foreach_with_prefix): Likewise.
7191 * gdb.threads/process-dies-while-handling-bp.exp
7192 (foreach_with_prefix): Likewise.
7193 * lib/gdb.exp (foreach_with_prefix): New procedure.
7194
45f38546
MK
71952016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7196
7197 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7198 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7199
dc29a1ce
MK
72002016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7201
7202 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7203 endian targets.
7204
092127d7
JK
72052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7206 Pedro Alves <palves@redhat.com>
7207
7208 Fix testsuite compatibility with Guile.
7209 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7210 number.
7211
31d765d3
JK
72122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7213
7214 Fix testsuite compatibility with Guile.
7215 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7216 (thread 1): New test for backtrace through signal handler.
7217
1ac78c04
YQ
72182016-01-22 Yao Qi <yao.qi@linaro.org>
7219
7220 PR testsuite/19491
7221 * gdb.base/multi-forks.c: Include
7222 ../lib/unbuffer_output.c
7223 (main): Call gdb_unbuffer_output.
7224
4f5946a8
DE
72252016-01-21 Doug Evans <dje@google.com>
7226
7227 * lib/ada.exp (gdb_compile_ada): Fix typo.
7228
305e13e6
JB
72292016-01-21 Joel Brobecker <brobecker@adacore.com>
7230
7231 * gdb.base/break-fun-addr.exp: New file.
7232 * gdb.base/break-fun-addr1.c: New file.
7233 * gdb.base/break-fun-addr2.c: New file.
7234
5f5dfff6
SM
72352016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7236
7237 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7238 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7239 enum flag values.
7240
fd356fa2
AA
72412016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7242
7243 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7244 when GDB can not set the vector return value. Add more comments
7245 for clarification.
7246
9df22175
AT
72472016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7248
7249 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7250 command.
7251
41d1845e
SM
72522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7253
7254 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7255
01ac6840
SM
72562016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7257
7258 * Makefile.in (check-single): Pass --status to runtest.
7259 (check/%.exp): Likewise.
7260
72612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7262
7263 * Makefile.in (check-parallel): Propagate return code from make
7264 do-check-parallel.
7265
bd0a71fa
MK
72662016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7267
7268 * gdb.trace/ftrace.exp: Fix expected message on continue.
7269 * gdb.trace/pending.exp: Fix expected message on continue.
7270 * gdb.trace/trace-break.exp: Fix expected message on continue.
7271
8bcbad33
SM
72722016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7273
7274 * lib/gdb.exp (gdb_test): Remove unused global references.
7275
f303dbd6
PA
72762016-01-18 Pedro Alves <palves@redhat.com>
7277
7278 * gdb.base/async-shell.exp: Adjust expected output.
7279 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7280 * gdb.base/siginfo-thread.exp: Adjust expected output.
7281 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7282 * gdb.java/jnpe.exp: Adjust expected output.
7283 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7284 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7285 * gdb.threads/leader-exit.exp: Adjust expected output.
7286 * gdb.threads/manythreads.exp: Adjust expected output.
7287 * gdb.threads/pthreads.exp: Adjust expected output.
7288 * gdb.threads/schedlock.exp: Adjust expected output.
7289 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7290 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7291 expected output.
7292 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7293 output.
7294 * gdb.threads/sigthread.exp: Adjust expected output.
7295 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7296
b2789696
YQ
72972016-01-18 Yao Qi <yao.qi@linaro.org>
7298
7299 * gdb.guile/scm-section-script.c: Replace @progbits with
7300 %progbits.
7301 * gdb.python/py-section-script.c: Likewise.
7302
71ef29a8
PA
73032016-01-15 Pedro Alves <palves@redhat.com>
7304
7305 * gdb.multi/tids.exp: Test star wildcard ranges.
7306
3f5b7598
PA
73072016-01-15 Pedro Alves <palves@redhat.com>
7308
7309 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7310 command from "thread apply" invocation.
7311 (thr_apply_info_thr_invalid): Default the expected output to the
7312 input tid list.
7313 (top level): Add tests that use convenience variables. Add tests
7314 for "thread apply" with a valid TID list, but missing the command.
7315
663f6d42
PA
73162016-01-13 Pedro Alves <palves@redhat.com>
7317
7318 * gdb.base/default.exp: Expect $_gthread as well.
7319 * gdb.multi/tids.exp: Test $_gthread.
7320 * gdb.threads/thread-specific.exp: Test $_gthread.
7321
c84f6bbf
PA
73222016-01-13 Pedro Alves <palves@redhat.com>
7323
7324 * gdb.multi/tids.exp: Test "info threads -gid".
7325
22a02324
PA
73262016-01-13 Pedro Alves <palves@redhat.com>
7327
7328 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7329 Breakpoint.thread.
7330 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7331
5d5658a1
PA
73322016-01-07 Pedro Alves <palves@redhat.com>
7333
7334 * gdb.base/break.exp: Adjust to output changes.
7335 * gdb.base/hbreak2.exp: Likewise.
7336 * gdb.base/sepdebug.exp: Likewise.
7337 * gdb.base/watch_thread_num.exp: Likewise.
7338 * gdb.linespec/keywords.exp: Likewise.
7339 * gdb.multi/info-threads.exp: Likewise.
7340 * gdb.threads/thread-find.exp: Likewise.
7341 * gdb.multi/tids.c: New file.
7342 * gdb.multi/tids.exp: New file.
7343
84654457
PA
73442016-01-13 Pedro Alves <palves@redhat.com>
7345
7346 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7347
e3940304
PA
73482016-01-13 Pedro Alves <palves@redhat.com>
7349
7350 * gdb.base/default.exp: Expect $_inferior as well.
7351 * gdb.multi/base.exp: Test $_inferior.
7352
a911d87a
PA
73532016-01-13 Pedro Alves <palves@redhat.com>
7354
7355 PR breakpoints/19388
7356 * gdb.base/catch-signal-siginfo-cond.c: New file.
7357 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7358
82075af2
JS
73592016-01-12 Josh Stone <jistone@redhat.com>
7360 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7361
7362 * gdb.base/catch-syscall.c (do_execve): New variable.
7363 (main): Conditionally trigger an execve.
7364 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7365 (test_catch_syscall_execve): New, check entry/return across execve.
7366 (do_syscall_tests): Call test_catch_syscall_execve.
7367
e46eeedd
PA
73682016-01-12 Pedro Alves <palves@redhat.com>
7369
7370 * gdb.base/random-signal.exp (do_test): New procedure, with body
7371 of testcase moved in.
7372
01d8c27e
JK
73732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7374 Pedro Alves <palves@redhat.com>
7375
7376 * gdb.base/funcargs.exp (finish from indirectly called function):
7377 Reintroduce the case for 'First'.
7378
9a706302
JK
73792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7380 Pedro Alves <palves@redhat.com>
7381
7382 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7383 (tcatch_vfork_then_child_follow_exec)
7384 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7385 identification.
7386
c0ecb95f
JK
73872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7390 and repeats to unlimited.
7391 * gdb.python/py-value.exp: Likewise.
7392 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7393 and repeats to unlimited.
7394
6cfc1fcb
JK
73952016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7398 and reordering the functions.
7399 * gdb.multi/hangout.c: Likewise.
7400 * gdb.multi/hello.c: Likewise.
7401
582a1b00
SM
74022016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7403
7404 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7405 absolute.
7406 (SingleStatisticTestResult.report): Use dict.keys instead of
7407 dict.iterkeys.
7408
79bc59cb
PA
74092016-01-06 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7412
43368e1d
MM
74132016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7414
7415 * gdb.btrace/dlopen.exp: New.
7416 * gdb.btrace/dlopen.c: New.
7417 * gdb.btrace/dlopen-dso.c: New.
7418
79fad5b8
SL
74192015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7420
7421 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7422 PATTERN argument is optional.
7423
ab8314b3
JB
74242015-12-24 Joel Brobecker <brobecker@adacore.com>
7425
7426 * lib/ada.exp (target_compile_ada_from_dir): New function.
7427 (gdb_compile_ada): Reimplement avoiding the use of project files.
7428 * gdb.ada/gnat_ada.gpr: Delete.
7429 * gdb.ada/cond_lang.exp: Adjust test to make path before
7430 filename optional.
7431 * gdb.ada/small_reg_param.exp: Likewise.
7432
fe33faff
SM
74332015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7434
7435 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7436
6d265cb4
TP
74372015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7438
7439 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7440 case.
7441
10125099
SM
74422015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7443
7444 * gdb.base/break.exp: Remove dead code.
7445 * gdb.base/sepdebug.exp: Likewise.
7446
3ca22649
SM
74472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7448
7449 * gdb.asm/asm-source.exp: Remove HP-UX references.
7450 * gdb.base/annota1.exp: Likewise.
7451 * gdb.base/annota3.exp: Likewise.
7452 * gdb.base/attach.exp: Likewise.
7453 * gdb.base/bigcore.exp: Likewise.
7454 * gdb.base/break.exp: Likewise.
7455 * gdb.base/call-ar-st.exp: Likewise.
7456 * gdb.base/callfuncs.exp: Likewise.
7457 * gdb.base/catch-fork-static.exp: Likewise.
7458 * gdb.base/display.exp: Likewise.
7459 * gdb.base/foll-exec-mode.exp: Likewise.
7460 * gdb.base/foll-exec.exp: Likewise.
7461 * gdb.base/foll-fork.exp: Likewise.
7462 * gdb.base/foll-vfork.exp: Likewise.
7463 * gdb.base/funcargs.exp: Likewise.
7464 * gdb.base/hbreak2.exp: Likewise.
7465 * gdb.base/inferior-died.exp: Likewise.
7466 * gdb.base/interrupt.exp: Likewise.
7467 * gdb.base/multi-forks.exp: Likewise.
7468 * gdb.base/nodebug.exp: Likewise.
7469 * gdb.base/sepdebug.exp: Likewise.
7470 * gdb.base/solib1.c: Likewise.
7471 * gdb.base/step-test.exp: Likewise.
7472 * gdb.mi/non-stop.c: Likewise.
7473 * gdb.mi/pthreads.c: Likewise.
7474 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7475 * gdb.threads/pthreads.c: Likewise.
7476 * gdb.threads/staticthreads.exp: Likewise.
7477 * lib/future.exp: Likewise.
7478 * lib/gdb.exp: Likewise.
7479 * gdb.base/so-indr-cl.c: Remove.
7480 * gdb.base/so-indr-cl.exp: Likewise.
7481 * gdb.base/solib.c: Likewise.
7482 * gdb.base/solib.exp: Likewise.
7483 * gdb.base/solib2.c: Likewise.
7484
b6304613
SM
74852015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7486
7487 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7488 * gdb.base/call-ar-st.exp: Likewise.
7489 * gdb.base/callfuncs.exp: Likewise.
7490 * gdb.base/condbreak.exp: Likewise.
7491 * gdb.base/constvars.exp: Likewise.
7492 * gdb.base/hbreak2.exp: Likewise.
7493 * gdb.base/langs.exp: Likewise.
7494 * gdb.base/list.exp: Likewise.
7495 * gdb.base/long_long.exp: Likewise.
7496 * gdb.base/ptype.exp: Likewise.
7497 * gdb.base/scope.exp: Likewise.
7498 * gdb.base/signals.exp: Likewise.
7499 * gdb.base/so-impl-ld.exp: Likewise.
7500 * gdb.base/varargs.exp: Likewise.
7501 * gdb.base/volatile.exp: Likewise.
7502 * gdb.base/whatis.exp: Likewise.
7503 * gdb.cp/cplusfuncs.exp: Likewise.
7504 * gdb.cp/inherit.exp: Likewise.
7505 * gdb.cp/local.exp: Likewise.
7506 * gdb.cp/member-ptr.exp: Likewise.
7507 * gdb.cp/method.exp: Likewise.
7508 * gdb.cp/overload.exp: Likewise.
7509 * gdb.cp/templates.exp: Likewise.
7510 * gdb.stabs/weird.exp: Likewise.
7511 * lib/compiler.c: Likewise.
7512 * lib/compiler.cc: Likewise.
7513 * lib/cp-support.exp: Likewise.
7514 * lib/gdb.exp: Likewise.
7515
bf401b07
SM
75162015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7517
7518 * configure.ac: Remove HP-UX case.
7519 * configure: Regenerate.
7520
aff9c0f8
SM
75212015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7522
7523 * lib/gdb.exp (gdb_compile): Add function doc.
7524
a6904d5a
PA
75252015-12-17 Pedro Alves <palves@redhat.com>
7526
7527 PR threads/19354
7528 * gdb.multi/info-threads.exp: New file.
7529
a22279dd
YQ
75302015-12-15 Yao Qi <yao.qi@linaro.org>
7531
7532 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7533 is aarch64*-*-*.
7534
0588c796
SL
75352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7536
7537 * gdb.base/history-duplicates.exp: Skip if no readline support.
7538
5d978e17
SL
75392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7540
7541 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7542
7e763b86
SL
75432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7544
7545 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7546
87a3a92c
SL
75472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7548
7549 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7550 ctrl-C if nointerrupts target property is set.
7551 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7552 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7553 * gdb.base/paginate-bg-execution.exp: Likewise.
7554 * gdb.base/paginate-execution-startup.exp: Likewise.
7555 * gdb.base/random-signal.exp: Likewise.
7556 * gdb.base/range-stepping.exp: Likewise.
7557 * gdb.cp/annota2.exp: Likewise.
7558 * gdb.cp/annota3.exp: Likewise.
7559 * gdb.gdb/selftest.exp: Likewise.
7560 * gdb.threads/continue-pending-status.exp: Likewise.
7561 * gdb.threads/leader-exit.exp: Likewise.
7562 * gdb.threads/manythreads.exp: Likewise.
7563 * gdb.threads/pthreads.exp: Likewise.
7564 * gdb.threads/schedlock.exp: Likewise.
7565 * gdb.threads/sigthread.exp: Likewise.
7566
a8f077dc
DB
75672015-12-11 Don Breazeal <donb@codesourcery.com>
7568
7569 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7570 remote.
7571 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7572 * gdb.base/foll-exec.exp (main): Enable for target remote.
7573 * gdb.base/foll-fork.exp (main): Likewise.
7574 * gdb.base/foll-vfork.exp (main): Likewise.
7575 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7576 (proc continue_to_exit_bp_loc): Use clean_restart.
7577 * gdb.base/pie-execl.exp (main): Disable for target remote.
7578 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7579 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7580 * gdb.threads/execl.exp (main): Likewise.
7581 * gdb.threads/fork-child-threads.exp (main): Likewise.
7582 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7583 remote.
7584 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7585 remote.
7586 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7587 pid.tid style ptids, instead of just tid.
7588 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7589 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7590 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7591 ptids, instead of just tid.
7592
3b2464a8
AB
75932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7594
7595 * gdb.base/list.exp (test_list_forward): Add end of file error
7596 test.
7597 (test_repeat_list_command): Add end of file error test.
7598 (test_list_backwards): Add beginning of file error test.
7599
a0def019
AB
76002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7601
7602 * gdb.base/list.exp (test_list_invalid_args): New function,
7603 defined, and called.
7604
5c000dff
AB
76052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7606
7607 * gdb.base/list.exp (test_list): Make test names unique.
7608
f1637ebe
YQ
76092015-12-11 Yao Qi <yao.qi@linaro.org>
7610
7611 * gdb.base/coremaker2.c: Remove.
7612
36d6fc0a
PA
76132015-12-10 Pedro Alves <palves@redhat.com>
7614
7615 * gdb.multi/base.exp: Remove stale "spaces" references.
7616
762f7747
PA
76172015-12-10 Pedro Alves <palves@redhat.com>
7618
7619 * gdb.multi/base.exp: Don't use nowarnings.
7620 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7621 * gdb.multi/hangout.c: Include stdio.h.
7622 * gdb.multi/hello.c: Include stdlib.h.
7623 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7624 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7625 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7626
28d2bfb9
AB
76272015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7628
7629 * gdb.dwarf2/dw2-ranges-base.c: New file.
7630 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7631 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7632 support additional line table, and debug ranges generation.
7633 (Dwarf::ranges): New function, generate .debug_ranges.
7634 (Dwarf::lines): Support generating simple line table programs.
7635 (Dwarf::assemble): Initialise new namespace variables.
7636
5fc2beac
KB
76372015-12-09 Kevin Buettner <kevinb@redhat.com>
7638
7639 * gdb.base/async.exp (proc test_background): Add case for
7640 asynchronous execution not supported.
7641
1c35a88f
LM
76422015-12-09 Luis Machado <lgustavo@codesourcery.com>
7643
7644 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7645 format and change test names to make them unique.
7646
b593e3d9
RK
76472015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7648 Pedro Alves <pedro@redhat.com>
7649
7650 PR gdb/18702
7651 Add checking of floatformats setup on x86_64 hosts.
7652 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7653 (smallval, bigval): New labels/constants.
7654 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7655 float" after loading bigval and smallval.
7656
d72413e6
PMR
76572015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7658
7659 * gdb.ada/fun_overload_menu.exp: New testcase.
7660 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7661
ece66d65
JS
76622015-12-04 Josh Stone <jistone@redhat.com>
7663
7664 * gdb.base/catch-fork-static.exp: New.
7665
41d0efca
YQ
76662015-12-03 Yao Qi <yao.qi@linaro.org>
7667
7668 * gdb.base/sizeof.c: Don't include stdio.h and
7669 ../lib/unbuffer_output.c.
7670 (main): New variable 'size' and 'value'. Remove printf and
7671 gdb_unbuffer_output. Assign return value to size and value.
7672 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7673 at the beginning.
7674 (check_sizeof): Check the result by printing variable 'size'.
7675 (check_valueof): Check the result by printing variable 'value'.
7676
99fd02d9
YQ
76772015-12-01 Yao Qi <yao.qi@linaro.org>
7678
7679 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7680 for aarch64*-*-linux* target.
7681
f2faf941
PA
76822015-11-30 Pedro Alves <palves@redhat.com>
7683
7684 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7685
04bf20c5
PA
76862015-11-30 Pedro Alves <palves@redhat.com>
7687
7688 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7689 Handle non-stop mode vCont replies.
7690
09df4675
PA
76912015-11-30 Pedro Alves <palves@redhat.com>
7692
7693 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7694 prepare_for_testing. Start gdb with "set non-stop on" appended to
7695 GDBFLAGS. Lax expected stop output.
7696
58b584af
YQ
76972015-11-27 Yao Qi <yao.qi@linaro.org>
7698
7699 * gdb.arch/arm-neon.exp: New.
7700 * gdb.arch/arm-neon.c: New.
7701
dfcb77a8
YQ
77022015-11-27 Yao Qi <yao.qi@linaro.org>
7703
7704 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7705
88e8ec1b
YQ
77062015-11-27 Yao Qi <yao.qi@linaro.org>
7707
7708 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7709 frames-invalid annotation.
7710
bfde72c2
YQ
77112015-11-27 Yao Qi <yao.qi@linaro.org>
7712
7713 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7714
f6512a69
SM
77152015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7716
7717 * gdb.threads/names.exp: New file.
7718 * gdb.threads/names.c: New file.
7719 * README: Mention gdb,no_thread_names.
7720
46a3515b
MM
77212015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7722
7723 PR 19297
7724 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7725 support" error.
7726
62147a22
PA
77272015-11-24 Pedro Alves <palves@redhat.com>
7728
7729 PR 17539
7730 * gdb.base/display.exp: Expect displays to be sorted in ascending
7731 order. Use multi_line.
7732 * gdb.base/solib-display.exp: Likewise.
7733
2f341b6e
PA
77342015-11-24 Pedro Alves <palves@redhat.com>
7735
7736 PR 17539
25d49b86
PA
7737 * gdb.base/display.exp: Expect displays to be sorted in ascending
7738 order. Use multi_line.
7739 * gdb.base/solib-display.exp: Likewise.
2f341b6e 7740
7e0aa6aa
PA
77412015-11-24 Pedro Alves <palves@redhat.com>
7742
7743 PR 17539
7744 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7745 threads in ascending order.
7746 * gdb.base/foll-fork.exp: Likewise.
7747 * gdb.base/foll-vfork.exp: Likewise.
7748 * gdb.base/multi-forks.exp: Likewise.
7749 * gdb.mi/mi-nonstop.exp: Likewise.
7750 * gdb.mi/mi-nsintrall.exp: Likewise.
7751 * gdb.multi/base.exp: Likewise.
7752 * gdb.multi/multi-arch.exp: Likewise.
7753 * gdb.python/py-inferior.exp: Likewise.
7754 * gdb.threads/break-while-running.exp: Likewise.
7755 * gdb.threads/execl.exp: Likewise.
7756 * gdb.threads/gcore-thread.exp: Likewise.
7757 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7758 * gdb.threads/kill.exp: Likewise.
7759 * gdb.threads/linux-dp.exp: Likewise.
7760 * gdb.threads/multiple-step-overs.exp: Likewise.
7761 * gdb.threads/next-bp-other-thread.exp: Likewise.
7762 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7763 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7764 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7765 * gdb.threads/thread-find.exp: Likewise.
7766 * gdb.threads/tls.exp: Likewise.
7767 * lib/mi-support.exp (mi_reverse_list): Delete.
7768 (mi_check_thread_states): No longer reverse list.
7769
2cc57ad8
PA
77702015-11-24 Pedro Alves <palves@redhat.com>
7771
7772 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7773 use lowercase.
7774
c93e8391
SM
77752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7776
7777 * gdb.trace/actions.c: Include trace-common.h.
7778 (main): Add a location for a fast tracepoint.
7779 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7780 the normal tracepoints.
7781 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7782
045ccf91
SM
77832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7784
7785 * save-trace.exp: Factor out code to these...
7786 (gdb_save_tracepoints): New.
7787 (gdb_load_tracepoints): New.
7788 (do_save_load_test): New.
7789
5506f9f6
KB
77902015-11-23 Kevin Buettner <kevinb@redhat.com>
7791
7792 * gdb.base/asmlabel.exp: New test.
7793 * gdb.base/asmlabel.c: New test case.
7794
16c3b12f
JB
77952015-11-23 Joel Brobecker <brobecker@adacore.com>
7796
7797 * gdb.base/wrong_frame_bt_full-main.c: New file.
7798 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7799 * gdb.base/wrong_frame_bt_full.exp: New file.
7800
155bfbd3
JB
78012015-11-23 Joel Brobecker <brobecker@adacore.com>
7802
7803 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7804
bb097445
JM
78052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7806
206853a0 7807 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
7808 pstate register when comparing registers values in
7809 sparc64-*-linux-gnu targets to avoid spurious differences.
7810
9c88ed8f
JM
78112015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7812
206853a0 7813 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 7814
96161e25
SL
78152015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7816
7817 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7818 as type argument to gdb_compile.
7819 * gdb.base/nested-subp2.exp: Likewise.
7820 * gdb.base/nested-subp3.exp: Likewise.
7821
340c2830
DV
78222015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7823
7824 * lib/dwarf.exp (_note): Fix left shift of negative value.
7825 * gdb.trace/trace-condition.exp: Likewise.
7826
c1862d0f
YQ
78272015-11-13 Yao Qi <yao.qi@linaro.org>
7828
7829 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7830 comments about d10v.
7831 (test_scalar_returns): Likewise.
7832 * gdb.base/d10v.ld: Remove.
7833 * gdb.base/overlays.exp: Remove the target triplet checking for
7834 d10v-*-*.
7835 * gdb.base/structs.exp (test_struct_returns): Remove the
7836 comments about d10v.
7837 (test_struct_calls): Likewise.
7838
77ae9c19
YQ
78392015-11-13 Yao Qi <yao.qi@linaro.org>
7840
7841 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7842 * gdb.base/gnu_vector.c: Don't include stdio.h.
7843 (main): Don't print res and call add_some_intvecs.
7844
430e004e
MK
78452015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7846
7847 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7848 macro.
7849 (func5): Removed.
7850 (func4): Use FAST_TRACEPOINT_LABEL.
7851 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7852 macro.
7853 (func): Removed.
7854 (thread_function): Use FAST_TRACEPOINT_LABEL.
7855 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7856 (func): Remove.
7857 (marker): Use FAST_TRACEPOINT_LABEL.
7858 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7859 (pendfunc1): Remove.
7860 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7861 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7862 (foo): Remove.
7863 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7864 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7865 macro.
7866 (func): Remove.
7867 (marker): Use FAST_TRACEPOINT_LABEL.
7868 * gdb.trace/trace-common.h: New header.
7869 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7870 macro.
7871 (func): Remove.
7872 (marker): Use FAST_TRACEPOINT_LABEL.
7873 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7874 (func): Remove.
7875 (thread_function): Use FAST_TRACEPOINT_LABEL.
7876
6e7675a7
MK
78772015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7878
7879 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7880 in front.
7881 * gdb.trace/change-loc.exp: Use global pcreg definition.
7882 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7883 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7884 in front.
7885 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7886 * gdb.trace/pending.exp: Likewise.
7887 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7888 * gdb.trace/trace-break.exp: Likewise.
7889 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7890 in front.
7891 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7892 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7893 in front.
7894 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7895
dddc0e16
JB
78962015-11-09 Joel Brobecker <brobecker@adacore.com>
7897
7898 * gdb.ada/fin_fun_out: New testcase.
7899
c6f0b406
KB
79002015-11-07 Kevin Buettner <kevinb@redhat.com>
7901
7902 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7903 value associated with DW_AT_byte_size.
7904 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7905 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7906 DW_AT_upper_bound.
7907
f01dcfd9
KB
79082015-11-07 Kevin Buettner <kevinb@redhat.com>
7909
7910 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7911 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7912 version.
7913 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7914 gdb.dwarf2/dw2-canonicalize-type.exp,
7915 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7916 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7917 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7918 provided by gdb_target_symbol_prefix_flags_asm.
7919 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7920 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7921 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7922 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7923 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7924 macros where needed). Use this macro for symbols which require
7925 the prefix provided by SYMBOL_PREFIX.
7926
2223449a
KB
79272015-11-05 Kevin Buettner <kevinb@redhat.com>
7928
7929 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7930 New procs.
7931 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7932 representing expressions, of more than one list element.
7933 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7934 to prepend linker symbol prefix to f.
7935 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7936 table_1 and table_2.
7937 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7938 Likewise, for f and g.
7939 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7940 for ptr.
7941 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7942 for main.
7943 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7944 table_1_ptr and table_2_ptr.
7945
6f2f1a3a
JK
79462015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7947 Joel Brobecker <brobecker@adacore.com>
7948
7949 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7950
566c56c9
MK
79512015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7952
7953 * gdb.reverse/s390-mvcle.c: New test.
7954 * gdb.reverse/s390-mvcle.exp: New file.
7955 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7956
d5f0636b
MK
79572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7958
7959 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7960
7ad8b86c
MK
79612015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7962
7963 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7964 reaching marker2.
7965 * gdb.reverse/getresuid-reverse.exp: Likewise.
7966 * gdb.reverse/pipe-reverse.exp: Likewise.
7967 * gdb.reverse/readv-reverse.exp: Likewise.
7968 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7969 * gdb.reverse/time-reverse.exp: Likewise.
7970 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7971
4081c0f1
YQ
79722015-10-30 Yao Qi <yao.qi@linaro.org>
7973
7974 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7975 (empty_cycle): Remove.
7976 (main): Don't call empty_cycle. Don't use watch_count_done.
7977 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7978 empty_cycle. Rewrite the code counting HW watchpoints.
7979
452b4ba5
MK
79802015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7981
7982 * gdb.reverse/fstatat-reverse.c: New test.
7983 * gdb.reverse/fstatat-reverse.exp: New file.
7984 * gdb.reverse/getresuid-reverse.c: New test.
7985 * gdb.reverse/getresuid-reverse.exp: New file.
7986 * gdb.reverse/pipe-reverse.c: New test.
7987 * gdb.reverse/pipe-reverse.exp: New file.
7988 * gdb.reverse/readv-reverse.c: New test.
7989 * gdb.reverse/readv-reverse.exp: New file.
7990 * gdb.reverse/recvmsg-reverse.c: New test.
7991 * gdb.reverse/recvmsg-reverse.exp: New file.
7992 * gdb.reverse/time-reverse.c: New test.
7993 * gdb.reverse/time-reverse.exp: New file.
7994 * gdb.reverse/waitpid-reverse.c: New test.
7995 * gdb.reverse/waitpid-reverse.exp: New file.
7996
5e2e7507
JK
79972015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7998
7999 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8000
0fde2c53
DE
80012015-10-26 Doug Evans <dje@google.com>
8002
8003 PR symtab/17391
8004 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8005 * gdb.dwarf2/bad-regnum.c: New file.
8006 * gdb.dwarf2/bad-regnum.exp: New file.
8007
1a70ae97
DE
80082015-10-26 Doug Evans <dje@google.com>
8009
8010 PR python/18938
8011 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8012 file.
8013
27dc26ab
JK
80142015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8015
8016 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8017 for a change by "Mention language in compile error message".
8018
bed91f4d
SM
80192015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8020
8021 PR python/18073
8022 * gdb.python/py-type.c (C::a_method): New.
8023 (C::a_const_method): New.
8024 (C::a_static_method): New.
8025 (a_function): New.
8026 * gdb.python/py-type.exp (test_fields): Test getting fields
8027 from function and method.
8028
3f2f83dd
KB
80292015-10-21 Keven Boell <keven.boell@intel.com>
8030
8031 * gdb.fortran/vla-alloc-assoc.exp: New file.
8032 * gdb.fortran/vla-datatypes.exp: New file.
8033 * gdb.fortran/vla-datatypes.f90: New file.
8034 * gdb.fortran/vla-history.exp: New file.
8035 * gdb.fortran/vla-ptype-sub.exp: New file.
8036 * gdb.fortran/vla-ptype.exp: New file.
8037 * gdb.fortran/vla-sizeof.exp: New file.
8038 * gdb.fortran/vla-sub.f90: New file.
8039 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8040 * gdb.fortran/vla-value-sub-finish.exp: New file.
8041 * gdb.fortran/vla-value-sub.exp: New file.
8042 * gdb.fortran/vla-value.exp: New file.
8043 * gdb.fortran/vla-ptr-info.exp: New file.
8044 * gdb.mi/mi-vla-fortran.exp: New file.
8045 * gdb.mi/vla.f90: New file.
8046
27145d50
SL
80472015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8048
8049 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8050 of hardwired timeout value.
8051
5f3ff4f8
JK
80522015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8053 Pedro Alves <palves@redhat.com>
8054
8055 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8056 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8057
bfd09d20
JS
80582015-10-19 Josh Stone <jistone@redhat.com>
8059
8060 * gdb.base/catch-syscall.c: Include <sched.h>.
8061 (unknown_syscall): New variable.
8062 (main): Trigger a vfork and an unknown syscall.
8063 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8064 (unknown_syscall_number): Likewise.
8065 (check_call_to_syscall): Accept an optional syscall pattern.
8066 (check_return_from_syscall): Likewise.
8067 (check_continue): Likewise.
8068 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8069 (test_catch_syscall_skipping_return): New test toggling off 'catch
8070 syscall' to step over the syscall return, then toggling back on.
8071 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8072 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8073 (do_syscall_tests): Call test_catch_syscall_without_args and
8074 test_catch_syscall_mid_vfork.
8075 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8076 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8077
b32b93c6
AS
80782015-10-19 Andrew Stubbs <ams@codesourcery.com>
8079
8080 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8081 print g_vE): Add new pass patterns.
8082 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8083 print various symbol names for vptr fields.
8084
9d622bda
AB
80852015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8086
8087 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8088 results.
8089
0fd8ac1c
YQ
80902015-10-12 Yao Qi <yao.qi@linaro.org>
8091
8092 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8093
34240514
YQ
80942015-10-12 Yao Qi <yao.qi@linaro.org>
8095
8096 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8097 is aarch64*-*-linux*.
8098
8240f442
YQ
80992015-10-12 Yao Qi <yao.qi@linaro.org>
8100
8101 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8102 (can_relocate_bcond_true): ... it.
8103 (can_relocate_bcond_false): New function.
8104 (foo): Likewise.
8105 (can_relocate_bl): Likewise.
8106 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8107 can_relocate_bl.
8108
2520f728
PMR
81092015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8110
8111 * gdb.base/nested-addr.c: New file.
8112 * gdb.base/nested-addr.exp: New testcase.
8113
abcef95a
MM
81142015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8115
8116 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8117 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8118 its output. Ignore the output of "record goto begin" and instead
8119 check that GDB is replaying.
8120
145e3ddb
PA
81212015-10-09 Pedro Alves <palves@redhat.com>
8122
8123 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8124 (top level): Use it in the run with no args test.
8125
d5d8c4e1
IB
81262015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8127
8128 * gdb.dlang/properties.exp: New file.
8129
06e635ef
SL
81302015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8131
8132 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8133 whether or not address 0x1000 is mapped on the target.
8134
e019fd1d
SM
81352015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8136
8137 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8138 build.
8139
77ba2a67
MM
81402015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8141
8142 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8143 instruction-history test.
8144
c60eb31f
DE
81452015-09-28 Doug Evans <dje@google.com>
8146
8147 * gdb.base/gcore.c (array_func): Add reference to static_array.
8148
9a3c8263
SM
81492015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8150
8151 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8152 source line.
8153
9720e656
SL
81542015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8155
8156 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8157 short or char as base type.
8158
938d3bf2
SL
81592015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8160
8161 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8162 to allow any size enum.
8163
e6c2c623
PMR
81642015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8165
8166 * gdb.ada/array_ptr_renaming.exp: New testcase.
8167 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8168 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8169
06da0f77
PL
81702015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8171
8172 * gdb.trace/ftrace-lock.c: New file.
8173 * gdb.trace/ftrace-lock.exp: New file.
8174
4f51c22a
PL
81752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8176
8177 * gdb.arch/insn-reloc.c: New file.
8178 * gdb.arch/ftrace-insn-reloc.exp: New file.
8179
7041adf4
PL
81802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8181
8182 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8183 instruction.
8184 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8185 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8186 * gdb.trace/range-stepping.c: Likewise.
8187 * gdb.trace/trace-break.c: Likewise.
8188 * gdb.trace/trace-mt.c (thread_function): Likewise.
8189 * gdb.trace/ftrace.c (marker): Likewise.
8190 * gdb.trace/trace-condition.c (marker): Likewise.
8191 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8192 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8193 is_aarch64_target.
8194
015d2e7e
DE
81952015-09-18 Doug Evans <xdje42@gmail.com>
8196
8197 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8198 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8199
26b188a2
SL
82002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8201
8202 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8203 the breakpoint.
8204
79dc332b
SL
82052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8206
8207 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8208 the pending breakpoint. Remove timeout override for "Run till
8209 MI pending breakpoint on pendfunc3 on thread 2" test.
8210
f57929f2
SL
82112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8212
8213 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8214 filename pattern.
8215
3f469b17
SL
82162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8217
8218 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8219 in breakpoint filename pattern.
8220
515b89b3
SL
82212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8222
7800dbe4
SL
8223 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8224
82252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8226
515b89b3
SL
8227 * gdb.linespec/explicit.exp: Check for readline support for
8228 tab-completion tests. Fix obvious typo.
8229
d2939ba2
MM
82302015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8231
8232 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8233 and replay.
8234
cbb55fa7
MM
82352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8236
8237 * gdb.btrace/non-stop.c: New.
8238 * gdb.btrace/non-stop.exp: New.
8239
43691ca1
PL
82402015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8241 Yao Qi <yao.qi@linaro.org>
8242
8243 * gdb.trace/trace-condition.c: New file.
8244 * gdb.trace/trace-condition.exp: New file.
8245
d78908cf
WW
82462015-09-16 Wei-cheng Wang <cole945@gmail.com>
8247
8248 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8249 for testing bytecode compilation.
8250
1ed415e2
PA
82512015-09-16 Pedro Alves <palves@redhat.com>
8252 Sandra Loosemore <sandra@codesourcery.com>
8253
8254 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8255 (SECONDS): Redefine.
8256 (main): Call pthread_kill and alarm early.
8257 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8258 support.
8259 (test): If the target can't hardware step and doesn't support
8260 displaced stepping, increase the timeout.
8261
d136eff5
PA
82622015-09-16 Pedro Alves <palves@redhat.com>
8263
8264 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8265 (enable_debug): New procedures.
8266 (test): Use them. Bail out if waiting for threads fails.
8267 (top level): Bail out if a test fails.
8268
991f019c
YQ
82692015-09-16 Yao Qi <yao.qi@linaro.org>
8270
8271 * gdb.asm/asm-source.exp: Set asm-arch for
8272 aarch64*-*-* target.
8273 * gdb.asm/aarch64.inc: New file.
8274
bfca584f
PMR
82752015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8276
8277 * gdb.ada/array_of_variable_length.exp: New testcase.
8278 * gdb.ada/array_of_variable_length/foo.adb: New file.
8279 * gdb.ada/array_of_variable_length/pck.adb: New file.
8280 * gdb.ada/array_of_variable_length/pck.ads: New file.
8281
b326e587
DE
82822015-09-15 Doug Evans <dje@google.com>
8283
8284 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8285 of function static local variable.
8286
5382cfab
PW
82872015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8288
8289 * gdb.threads/tls-so_extern.exp: New test file.
8290 * gdb.threads/tls-so_extern.c: New test file.
8291 * gdb.threads/tls-so_extern_main.c: New test file.
8292
141c5cc4
JK
82932015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8294
8295 * gdb.opt/solib-intra-step-lib.c: New file.
8296 * gdb.opt/solib-intra-step-main.c: New file.
8297 * gdb.opt/solib-intra-step.exp: New file.
8298
d15dcecd
PA
82992015-09-15 Pedro Alves <palves@redhat.com>
8300
8301 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8302 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8303
4c2f2a79
PA
83042015-09-14 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.base/hook-stop-continue.c: Delete.
8307 * gdb.base/hook-stop-continue.exp: Delete.
8308 * gdb.base/hook-stop-frame.c: Delete.
8309 * gdb.base/hook-stop-frame.exp: Delete.
8310 * gdb.base/hook-stop.c: New file.
8311 * gdb.base/hook-stop.exp: New file.
8312
919e6dbe
PMR
83132015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8314
8315 * gdb.ada/access_to_packed_array.exp: New testcase.
8316 * gdb.ada/access_to_packed_array/foo.adb: New file.
8317 * gdb.ada/access_to_packed_array/pack.adb: New file.
8318 * gdb.ada/access_to_packed_array/pack.ads: New file.
8319
157280a4
MM
83202015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8321
8322 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8323 buffer size test.
8324
2fd33e94
DB
83252015-09-11 Don Breazeal <donb@codesourcery.com>
8326
8327 * gdb.base/foll-exec.c: Add copyright header. Fix
8328 formatting issues.
8329 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8330 (do_exec_tests): Use clean_restart in place of zap_session,
8331 and for test initialization. Fix formatting issues. Use
8332 fail in place of perror.
8333 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8334 an expect statement to match an expression with output from
8335 the program under debug.
8336 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8337 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8338 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8339 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8340 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8341
e70b6e8e
DE
83422015-09-09 Doug Evans <dje@google.com>
8343
8344 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8345
7a551a51
DE
83462015-09-09 Doug Evans <dje@google.com>
8347
8348 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8349
4c666f84
DE
83502015-09-09 Doug Evans <dje@google.com>
8351
8352 * gdb.base/savedregs.exp: Fix typo.
8353
243a9253
PA
83542015-09-09 Pedro Alves <palves@redhat.com>
8355
8356 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8357
c0fa8fbd
SL
83582015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8359
8360 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8361 command actually switches threads. Give up on remaining
8362 tests if target fails to stop at breakpoint.
8363
cd7c1778
PMR
83642015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8365
8366 * gdb.ada/funcall_char.exp: New testcase.
8367 * gdb.ada/funcall_char/foo.adb: New file.
8368
dc5c8746
PMR
83692015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8370
8371 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8372 expected outputs. Add two testcases for completing ambiguous
8373 functions.
8374 * gdb.ada/complete/aux_pck.adb: New file.
8375 * gdb.ada/complete/aux_pck.ads: New file.
8376 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8377 Ambiguous_Func functions.
8378 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8379 * gdb.ada/complete/pck.adb: Likewise.
8380
4e83a1e7
UW
83812015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8382
8383 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8384 failures to run the test program under GDB.
8385
8ce74153
LM
83862015-08-26 Luis Machado <lgustavo@codesourcery.com>
8387
8388 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8389 to C.
8390
e9756d52
PP
83912015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8392
8393 * gdb.base/run-after-attach.exp: New test file.
8394 * gdb.base/run-after-attach.c: New test file.
8395
8d37573b
DB
83962015-08-26 Don Breazeal <donb@codesourcery.com>
8397
8398 * gdb.base/foll-exec-2.c: New test program.
8399 * gdb.base/foll-exec-2.exp: New test.
8400
63e43d3a
PMR
84012015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8402
8403 * gdb.base/nested-subp1.exp: New file.
8404 * gdb.base/nested-subp1.c: New file.
8405 * gdb.base/nested-subp2.exp: New file.
8406 * gdb.base/nested-subp2.c: New file.
8407 * gdb.base/nested-subp3.exp: New file.
8408 * gdb.base/nested-subp3.c: New file.
8409
3d40fbb5
PA
84102015-08-24 Pedro Alves <palves@redhat.com>
8411
8412 * gdb.server/connect-without-multi-process.c: New file.
8413 * gdb.server/connect-without-multi-process.exp: New file.
8414
4422ac93
LM
84152015-08-24 Luis Machado <lgustavo@codesourcery.com>
8416
8417 * gdb.opt/inline-markers.c: Make z int.
8418
91dddb86
LM
84192015-08-24 Luis Machado <lgustavo@codesourcery.com>
8420
8421 * gdb.opt/inline-markers.c: Make z volatile.
8422
a48847ee
LM
84232015-08-24 Luis Machado <lgustavo@codesourcery.com>
8424
8425 * gdb.opt/inline-bt.c: New volatile global z.
8426 * gdb.opt/inline-cmds.c: Likewise.
8427 * gdb.opt/inline-locals.c: Likewise.
8428 * gdb.opt/inline-markers.c: New extern global z.
8429 (marker): Use z.
8430 (inline_fn): Likewise.
8431
0ebbc52b
PA
84322015-08-24 Pedro Alves <palves@redhat.com>
8433
8434 * config/m32r-stub.exp: Remove file.
8435 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8436 * gdb.base/call-rt-st.exp: Likewise.
8437 * gdb.base/call-strs.exp: Likewise.
8438 * gdb.base/default.exp: Remove references to h8300-*-hms and
8439 *-*-udi*.
8440 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8441
77c365df
AA
84422015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8443
8444 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8445 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8446 and "return" use KFAIL when GDB can not read/write the vector
8447 return value.
8448
4313b8c0
GB
84492015-08-21 Gary Benson <gbenson@redhat.com>
8450
8451 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8452
0e433b32
PA
84532015-08-20 Pedro Alves <palves@redhat.com>
8454
8455 * gdb.server/solib-list.exp: No longer expect an interior stop in
8456 non-stop mode.
8457
221e1a37
PA
84582015-08-20 Pedro Alves <palves@redhat.com>
8459
8460 * gdb.server/connect-stopped-target.c: New file.
8461 * gdb.server/connect-stopped-target.exp: New file.
8462
40e3ad0e
PA
84632015-08-20 Pedro Alves <palves@redhat.com>
8464
8465 * gdb.dwarf2/comp-unit-lang.exp: New file.
8466 * gdb.dwarf2/comp-unit-lang.c: New file.
8467
af39b327
PMR
84682015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8469
8470 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8471 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8472
7d45c7c3 84732015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 8474
7d45c7c3
KB
8475 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8476 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8477
4d6cceb4
DE
84782015-08-18 Doug Evans <dje@google.com>
8479 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8480
8481 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8482 skip_python_tests. New arg prompt_regexp.
8483 (skip_python_tests): New function.
8484 * lib/mi-support.exp (mi_skip_python_tests): New function.
8485 * gdb.python/py-mi-objfile-gdb.py: New file.
8486 * gdb.python/py-mi-objfile.c: New file.
8487 * gdb.python/py-mi-objfile.exp: New file.
8488
ad89c2aa
KS
84892015-08-17 Keith Seitz <keiths@redhat.com>
8490
8491 * gdb.linespec/explicit.exp: Move strace test from here ...
8492 * gdb.trace/strace.exp: ... to here.
8493
e3ae3c43
PP
84942015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8495
8496 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8497 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8498
604b2636
DE
84992015-08-14 Doug Evans <xdje42@gmail.com>
8500
8501 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8502 inferior before selecting a new file.
8503
6ff0ba5f
DE
85042015-08-14 Doug Evans <xdje42@gmail.com>
8505
8506 * gdb.mi/mi-disassemble.exp: Update.
8507 * gdb.base/disasm-optim.S: New file.
8508 * gdb.base/disasm-optim.c: New file.
8509 * gdb.base/disasm-optim.h: New file.
8510 * gdb.base/disasm-optim.exp: New file.
8511
9ca98f92
KS
85122015-08-14 Keith Seitz <keiths@redhat.com>
8513
8514 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8515 "evaluated-by".
8516
52bbc560
JB
85172015-08-13 Joel Brobecker <brobecker@adacore.com>
8518
8519 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8520
5d8c3ed3
PMR
85212015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8522
8523 * gdb.ada/fun_renaming.exp: New testcase.
8524 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8525 * gdb.ada/fun_renaming/pack.adb: New file.
8526 * gdb.ada/fun_renaming/pack.ads: New file.
8527
ea8812bc
KS
85282015-08-12 Keith Seitz <keiths@redhat.com>
8529
8530 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8531 gdb_get_line_number.
8532
4dafcdeb
JB
85332015-08-12 Joel Brobecker <brobecker@adacore.com>
8534
8535 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8536 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8537 gdb.base/dso2dso.exp: New files.
8538
5ba32597
SDJ
85392015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8540 Pedro Alves <palves@redhat.com>
8541 Keith Seitz <keiths@redhat.com>
8542
8543 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8544 GDBFLAGS.
8545
b6dafabf
PP
85462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8547
8548 * gdb.base/gdbhistsize-history.exp
8549 (test_histsize_history_setting): Use save_vars.
8550 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8551 Use save_vars.
8552 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8553 * gdb.base/readline.exp: Use save_vars.
8554
abe8e607
PP
85552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8556
8557 * lib/gdb.exp (save_vars): New proc.
8558
629500fa
KS
85592015-08-11 Keith Seitz <keiths@redhat.com>
8560
8561 * gdb.base/help.exp: Update help_breakpoint_text.
8562
eb8c4e2e
KS
85632015-08-11 Keith Seitz <keiths@redhat.com>
8564
8565 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8566 (at toplevel): Call test_explicit_breakpoints.
8567 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8568 breakpoints.
8569 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8570 breakpoint conditions, "-cond".
8571
87f0e720
KS
85722015-08-11 Keith Seitz <keiths@redhat.com>
8573
8574 * gdb.linespec/3explicit.c: New file.
8575 * gdb.linespec/cpexplicit.cc: New file.
8576 * gdb.linespec/cpexplicit.exp: New file.
8577 * gdb.linespec/explicit.c: New file.
8578 * gdb.linespec/explicit.exp: New file.
8579 * gdb.linespec/explicit2.c: New file.
8580 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8581 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8582 before using in the matching pattern.
8583 Clarify that `prefix' is a regular expression.
8584
f00aae0f
KS
85852015-08-11 Keith Seitz <keiths@redhat.com>
8586
8587 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8588 test.
8589 Add tests for missing ",FMT" and ",".
8590
e27852be
DE
85912015-08-10 Doug Evans <dje@google.com>
8592 Keith Seitz <keiths@redhat.com>
8593
8594 PR gdb/17960
8595 * gdb.base/completion.exp: Add location completer tests.
8596
7f03bd92
PA
85972015-08-07 Pedro Alves <palves@redhat.com>
8598
8599 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8600 tests here.
8601 (top level): Run do_test with and without displaced stepping.
8602
3fc8eb30
PA
86032015-08-07 Pedro Alves <palves@redhat.com>
8604
8605 * gdb.base/valgrind-disp-step.c: New file.
8606 * gdb.base/valgrind-disp-step.exp: New file.
8607
d4569d7b
PA
86082015-08-07 Pedro Alves <palves@redhat.com>
8609
8610 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8611 Delete function.
8612 (main): Add alarm. Run an infinite loop instead of calling
8613 wait_threads.
8614 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8615 comment.
8616 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8617 Delete function.
8618 (main): Add alarm. Run an infinite loop instead of calling
8619 wait_threads.
8620 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8621 comment.
8622
e1316e60
PA
86232015-08-07 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.base/checkpoint-ns.exp: New file.
8626 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8627 standard_testfile.
8628
da8c46d2
MM
86292015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8630
8631 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8632 * gdb.btrace/instruction_history.exp: Update.
8633 * gdb.btrace/tsx.exp: New.
8634 * gdb.btrace/tsx.c: New.
8635
de1c2c52
PA
86362015-08-06 Pedro Alves <palves@redhat.com>
8637
8638 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8639 increase timeout.
8640 * gdb.reverse/until-precsave.exp: Bump timeouts.
8641
782e0bf4
PA
86422015-08-06 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8645
83e97ed0
PA
86462015-08-06 Pedro Alves <palves@redhat.com>
8647
8648 PR gdb/18749
8649 * gdb.threads/process-dies-while-handling-bp.c: New file.
8650 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8651
863d01bd
PA
86522015-08-06 Pedro Alves <palves@redhat.com>
8653
8654 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8655 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8656
0a39bb32
PA
86572015-08-05 Pedro Alves <palves@redhat.com>
8658
8659 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8660 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8661
ee2d2b10
SL
86622015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8663
8664 * gdb.base/bp-permanent.exp: Report test as unsupported if
8665 the target cannot stop at the permanent breakpoint.
8666
4e1bdb00
DE
86672015-08-03 Doug Evans <dje@google.com>
8668
8669 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8670 10000.
8671
3d338901
DE
86722015-08-03 Doug Evans <dje@google.com>
8673
8674 * Makefile.in (workers/%.worker, build-perf): New rule.
8675 (GDB_PERFTEST_MODE): New variable.
8676 (check-perf): Use it.
8677 (clean): Clean up gdb.perf parallel build subdirs.
8678 * lib/build-piece.exp: New file.
8679 * lib/gdb.exp (make_gdb_parallel_path): New function
8680 (standard_output_file, standard_temp_file): Call it.
8681 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8682 of $GDB_PARALLEL.
8683 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8684
af061d3e
DE
86852015-08-03 Doug Evans <dje@google.com>
8686
8e1afc81 8687 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
8688 (LOG_FILE_NAME): New global.
8689 (TextReporter.__init__): Initialize self.txt_sum.
8690 (TextReporter.report): Add support for multiple data-points.
8691 Move report to perftest.sum, put raw data in perftest.log.
8692 (TextReporter.start): Open sum and log files.
8693 (TextReporter.end): Close sum and log files.
8e1afc81
DE
8694 * gdb.perf/lib/perftest/testresult.py
8695 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 8696
2c8c5d37
PA
86972015-07-31 Pedro Alves <palves@redhat.com>
8698
8699 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8700 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8701 kill_wait_spawned_process instead of explicit "kill -9".
8702 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8703 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8704 kill_wait_spawned_process.
8705 * gdb.base/attach-twice.exp: Likewise.
8706 * gdb.base/attach.exp: Likewise.
8707 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8708 gdb_test_multiple.
8709 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8710 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8711 kill_wait_spawned_process.
8712 * gdb.base/valgrind-infcall.exp: Likewise.
8713 * gdb.multi/multi-attach.exp: Likewise.
8714 * gdb.python/py-prompt.exp: Likewise.
8715 * gdb.python/py-sync-interp.exp: Likewise.
8716 * gdb.server/ext-attach.exp: Likewise.
8717 * gdb.threads/attach-into-signal.exp (corefunc): Use
8718 spawn_wait_for_attach, spawn_id_get_pid and
8719 kill_wait_spawned_process.
8720 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8721 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8722 spawn_id_get_pid and kill_wait_spawned_process.
8723 * gdb.threads/attach-stopped.exp (corefunc): Use
8724 spawn_wait_for_attach, spawn_id_get_pid and
8725 kill_wait_spawned_process.
8726 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8727 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8728 kill_wait_spawned_process instead of explicit "kill -9".
8729 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8730 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8731 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8732 processes. Don't map cygwin/windows pids here. Now returns a
8733 spawn id list.
8734
032a0fca
SL
87352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8736
8737 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8738 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8739 correct patch.
8740
61a934ca
SL
87412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8742
8743 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8744
4bc4d428
SL
87452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8746
8747 Reapply:
8748 2014-05-21 Mark Wielaard <mjw@redhat.com>
8749
8750 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8751
998d452a
PA
87522015-07-30 Pedro Alves <palves@redhat.com>
8753
8754 * linux-low.c (handle_extended_wait): Set the child's last
8755 reported status to TARGET_WAITKIND_STOPPED.
8756
69dde7dc
PA
87572015-07-30 Pedro Alves <palves@redhat.com>
8758
8759 PR threads/18600
8760 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8761 only shows inferior 1.
8762
4dd63d48
PA
87632015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8764 Pedro Alves <palves@redhat.com>
8765
8766 PR threads/18600
8767 * gdb.threads/fork-plus-threads.c: New file.
8768 * gdb.threads/fork-plus-threads.exp: New file.
8769
d618e4c5
PP
87702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8771
8772 * gdb.base/batch-preserve-term-settings.exp
8773 (test_terminal_settings_preserved_after_cli_exit): Use
8774 send_quit_command.
8775
1eef6428
PA
87762015-07-29 Pedro Alves <palves@redhat.com>
8777 Don Breazeal <donb@codesourcery.com>
8778
8779 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8780 output from both inferior_spawn_id and gdb_spawn_id.
8781
7da5b897
SDJ
87822015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8783
8784 * gdb.threads/attach-into-signal.exp (corefunc): Use
8785 with_test_prefix on nested loops, uniquefying the test messages.
8786
dac804df
SDJ
87872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8788
8789 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8790 commit.
8791
06265e53
PP
87922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8793
8794 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8795 New proc.
8796 (test_terminal_settings_preserved_after_sigterm): New test.
8797
18206ca3
PP
87982015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8799
8800 * gdb.base/batch-preserve-term-settings.exp
8801 (test_terminal_settings_preserved_after_cli_exit): New test.
8802
90074d11
PP
88032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8804
8805 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8806 manipulation of saved_gdbflags.
8807 (test_terminal_settings_preserved): Remove global declaration of
8808 the unused variable pagination_prompt. Remove manipulation of
8809 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8810 GDBFLAGS.
8811
eb1a7902
PA
88122015-07-29 Pedro Alves <palves@redhat.com>
8813
8814 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8815
8b75dd3b
PA
88162015-07-29 Pedro Alves <palves@redhat.com>
8817
8818 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8819 at the top.
8820
dedad4e3
PA
88212015-07-29 Pedro Alves <palves@redhat.com>
8822
8823 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8824 (main): Call gdb_unbuffer_output.
8825 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8826 (main): Call gdb_unbuffer_output.
8827 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8828 (main): Call gdb_unbuffer_output.
8829 * gdb.base/call-strs.exp: Adjust to step over the
8830 gdb_unbuffer_output call.
8831 * gdb.base/catch-gdb-caused-signals.c: Include
8832 "../lib/unbuffer_output.c".
8833 (main): Call gdb_unbuffer_output.
8834 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8835 (main): Call gdb_unbuffer_output.
8836 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8837 (main): Call gdb_unbuffer_output.
8838 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8839 (main): Call gdb_unbuffer_output.
8840 * gdb.base/shlib-call.exp: Adjust to step over the
8841 gdb_unbuffer_output call.
8842 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8843 (main): Call gdb_unbuffer_output.
8844 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8845 (main): Call gdb_unbuffer_output.
8846 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8847 (main): Rename to ...
8848 (test): ... this.
8849 (main): Reimplement.
8850 * gdb.base/varargs.exp: Run to test instead of to main.
8851 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8852 (main): Call gdb_unbuffer_output.
8853
58789a91
PA
88542015-07-29 Pedro Alves <palves@redhat.com>
8855
8856 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8857 factore out from mi_continue_dprintf. For call-style dprintfs,
8858 expect dprintf output out of $inferior_spawn_id.
8859 (mi_continue_dprintf): Use mi_expect_dprintf.
8860 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8861 (main): Call gdb_unbuffer_output.
8862
e8376742
PA
88632015-07-29 Pedro Alves <palves@redhat.com>
8864
8865 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8866 (default_mi_gdb_start): Set inferior_spawn_id instead of
8867 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8868 gdb_spawn_id.
8869 (mi_gdb_test): Always expect inferior output from both
8870 $inferior_spawn_id and $gdb_spawn_id.
8871
08280010
PA
88722015-07-29 Pedro Alves <palves@redhat.com>
8873
8874 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8875 send_inferior and $inferior_spawn_id.
8876
4d30e432
PA
88772015-07-29 Pedro Alves <palves@redhat.com>
8878
8879 * gdb.gdb/complaints.exp (test_initial_complaints)
8880 (test_serial_complaints, test_short_complaints): Use
8881 gdb_test_stdio.
8882 (test_empty_complaint): Handle $inferior_spawn_id !=
8883 $gdb_spawn_id.
8884
0d30a335
PA
88852015-07-29 Pedro Alves <palves@redhat.com>
8886
8887 * gdb.base/varargs.exp: Use gdb_test_stdio.
8888
39413b29
PA
88892015-07-29 Pedro Alves <palves@redhat.com>
8890
8891 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8892
7cb000a9
PA
88932015-07-29 Pedro Alves <palves@redhat.com>
8894
8895 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8896
d7b8ac82
PA
88972015-07-29 Pedro Alves <palves@redhat.com>
8898
8899 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8900 parameter into two new parameters, "inf_result" and "gdb_result".
8901 Expect inferior output and gdb output from $inferior_spawn_id and
8902 $gdb_spawn_id, respectively. Adjust all callers.
8903
789c3a0c
PA
89042015-07-29 Pedro Alves <palves@redhat.com>
8905
8906 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8907 of gdb_test_sequence.
8908
77e760c3
PA
89092015-07-29 Pedro Alves <palves@redhat.com>
8910
8911 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8912 (saw_spurious_output): Expect inferior output from
8913 $inferior_spawn_id. Use gdb_test_stdio.
8914
8396d2cd
PA
89152015-07-29 Pedro Alves <palves@redhat.com>
8916
8917 * gdb.base/dprintf.exp: Use standard_testfile. Change
8918 prepare_for_testing call.
8919 (srcfile): Don't set.
8920 (restart): New procedure.
8921 (test_dprintf): New procecure, use to continue over dprintfs.
8922 (test_call, test_agent): New procedures, tests moved here.
8923 Restart gdb and recreate dprintfs. Adjust expected output.
8924
2051d61f
PA
89252015-07-29 Pedro Alves <palves@redhat.com>
8926
8927 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8928
452397af
PA
89292015-07-29 Pedro Alves <palves@redhat.com>
8930
8931 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8932
8aed9555
PA
89332015-07-29 Pedro Alves <palves@redhat.com>
8934
8935 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8936 gdb_test_stdio.
8937
188a61b4
PA
89382015-07-29 Pedro Alves <palves@redhat.com>
8939
8940 * lib/gdb.exp (gdb_test_stdio): New procedure.
8941
12264a45
PA
89422015-07-29 Pedro Alves <palves@redhat.com>
8943
8944 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8945
23ffc893
PA
89462015-07-29 Pedro Alves <palves@redhat.com>
8947
8948 * gdb.base/call-signal-resume.exp: Remove check for
8949 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8950 * gdb.base/unwindonsignal.exp: Likewise.
8951 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8952 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8953
65566918
PA
89542015-07-29 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.base/siginfo-addr.c (pass): New function.
8957 (handler): Call it iff si_addr is correct.
8958 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8959 Set a breakpoint at "pass" and continue to it.
8960
d60a9221
SDJ
89612015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8962
8963 * gdb.python/py-objfile.exp: Make some tests have unique names.
8964 * gdb.python/py-pp-registration.exp: Likewise.
8965
bde40b8f
PA
89662015-07-28 Pedro Alves <palves@redhat.com>
8967
8968 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8969
13e1dec8
SM
89702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8971
8972 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8973
da33c9a7
SM
89742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8975
8976 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8977
077836f7
PP
89782015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8979
8980 * gdb.base/gdb-sigterm-2.exp: New test.
8981
b8cc7b2e
DE
89822015-07-25 Doug Evans <xdje42@gmail.com>
8983
8984 Revert:
8985 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8986 (workers/%.worker, build-perf): New rule.
8987 (GDB_PERFTEST_MODE): New variable.
8988 (check-perf): Use it.
8989 (clean): Clean up gdb.perf parallel build subdirs.
8990 * lib/build-piece.exp: New file.
8991 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8992 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8993 name.
8994 (standard_temp_file): Ditto.
8995 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8996 of $GDB_PARALLEL.
8997
c8bd4544
DE
89982015-07-24 Doug Evans <dje@google.com>
8999
9000 * gdb.perf/lib/perftest/utils.py: New file.
9001 * gdb.perf/gm-hello.cc: New file.
9002 * gdb.perf/gm-pervasive-typedef.cc: New file.
9003 * gdb.perf/gm-pervasive-typedef.h: New file.
9004 * gdb.perf/gm-std.cc: New file.
9005 * gdb.perf/gm-std.h: New file.
9006 * gdb.perf/gm-use-cerr.cc: New file.
9007 * gdb.perf/gm-utils.h: New file.
9008 * gdb.perf/gmonster-null-lookup.py: New file.
9009 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9010 * gdb.perf/gmonster-print-cerr.py: New file.
9011 * gdb.perf/gmonster-ptype-string.py: New file.
9012 * gdb.perf/gmonster-runto-main.py: New file.
9013 * gdb.perf/gmonster-select-file.py: New file.
9014 * gdb.perf/gmonster1-null-lookup.exp: New file.
9015 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9016 * gdb.perf/gmonster1-print-cerr.exp: New file.
9017 * gdb.perf/gmonster1-ptype-string.exp: New file.
9018 * gdb.perf/gmonster1-runto-main.exp: New file.
9019 * gdb.perf/gmonster1-select-file.exp: New file.
9020 * gdb.perf/gmonster1.cc: New file.
9021 * gdb.perf/gmonster1.exp: New file.
9022 * gdb.perf/gmonster2-null-lookup.exp: New file.
9023 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9024 * gdb.perf/gmonster2-print-cerr.exp: New file.
9025 * gdb.perf/gmonster2-ptype-string.exp: New file.
9026 * gdb.perf/gmonster2-runto-main.exp: New file.
9027 * gdb.perf/gmonster2-select-file.exp: New file.
9028 * gdb.perf/gmonster2.cc: New file.
9029 * gdb.perf/gmonster2.exp: New file.
9030
6eab34f3
DE
90312015-07-24 Doug Evans <dje@google.com>
9032
9033 * gdb.perf/README: New file.
9034 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9035 * lib/gen-perf-test.exp: New file.
9036
63738bfd
DE
90372015-07-24 Doug Evans <dje@google.com>
9038
9039 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9040 (PerfTest::startup): New function.
9041 (PerfTest::run): Return result of calling body.
9042 (PerfTest::assemble): Rewrite.
9043 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9044 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9045 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9046 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9047 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9048
7b606f95
DE
90492015-07-24 Doug Evans <dje@google.com>
9050
9051 * lib/gdb.exp (clean_restart): Make executable optional.
9052
a97b16b8
DE
90532015-07-24 Doug Evans <dje@google.com>
9054
9055 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9056 compiler_info references.
9057 * gdb.cp/temargs.exp: Ditto.
9058 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9059 (get_compiler_info): Early exit if already computed. Set compiler_info
9060 to "unknown" if there was a problem.
9061 (test_compiler_info): Add function comment. Call get_compiler_info.
9062
35baa57f
DE
90632015-07-24 Doug Evans <dje@google.com>
9064
9065 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9066 (workers/%.worker, build-perf): New rule.
9067 (GDB_PERFTEST_MODE): New variable.
9068 (check-perf): Use it.
9069 (clean): Clean up gdb.perf parallel build subdirs.
9070 * lib/build-piece.exp: New file.
9071 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9072 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9073 name.
9074 (standard_temp_file): Ditto.
9075 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9076 of $GDB_PARALLEL.
9077
6ebea266
DE
90782015-07-24 Doug Evans <dje@google.com>
9079
9080 * lib/future.exp (gdb_default_target_compile): New option
9081 "early_flags".
9082 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9083 --as-needed.
9084
1e76a7e9
SDJ
90852015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9086
9087 * gdb.base/catch-syscall.exp: Call gdb_exit before
9088 gdb_skip_xml_test.
9089
5068630a
PA
90902015-07-24 Pedro Alves <palves@redhat.com>
9091
9092 * gdb.python/py-events.exp: Accept output between the stop event
9093 and the prompt.
9094 * gdb.python/py-evsignal.exp: Likewise.
9095 * gdb.python/py-evthreads.exp: Likewise.
9096
77598427
PA
90972015-07-24 Pedro Alves <palves@redhat.com>
9098
9099 PR gdb/18717
9100 * gdb.threads/non-ldr-exit.c: New file.
9101 * gdb.threads/non-ldr-exit.exp: New file.
9102
11e6c98f
YQ
91032015-07-24 Yao Qi <yao.qi@linaro.org>
9104
9105 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9106 restarting process.
9107
51aee833
YQ
91082015-07-24 Yao Qi <yao.qi@linaro.org>
9109
9110 * gdb.server/ext-restart.exp: New file.
9111
8cfe207c
YQ
91122015-07-24 Yao Qi <yao.qi@linaro.org>
9113
9114 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9115 argument options.
9116 * gdb.server/ext-wrapper.exp: New file.
9117
cc12ce38
DE
91182015-07-23 Doug Evans <dje@google.com>
9119
9120 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9121 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9122
d0d84780
PMR
91232015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9124
9125 * gdb.ada/var_arr_typedef.exp: New testcase.
9126 * gdb.ada/var_arr_typedef/pack.adb: New file.
9127 * gdb.ada/var_arr_typedef/pack.ads: New file.
9128 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9129
8b558f79
JB
91302015-07-20 Joel Brobecker <brobecker@adacore.com>
9131
9132 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9133
775a3298
JK
91342015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9135
9136 * gdb.arch/i386-biarch-core.exp: Replace istarget
9137 by "complete set gnutarget". Remove expectation for the "core-file"
9138 command.
9139
db1ff28b
JK
91402015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9141
9142 Revert the previous commit:
9143 Tests for validate symbol file using build-id.
9144
0a94970d
JK
91452015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9146
9147 Tests for validate symbol file using build-id.
9148 * gdb.base/solib-mismatch-lib.c: New file.
9149 * gdb.base/solib-mismatch-libmod.c: New file.
9150 * gdb.base/solib-mismatch.c: New file.
9151 * gdb.base/solib-mismatch.exp: New file.
9152
03346981
SL
91532015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9154
9155 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9156 nios2-*-linux*.
9157 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9158 * gdb.base/siginfo.exp: Likewise.
9159 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9160
42422cc7
PL
91612015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9162
9163 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9164 Move it to ...
9165 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9166 ... here.
9167 * gdb.trace/range-stepping.exp: Check that the target supports
9168 range stepping.
9169
cfa68bae
JK
91702015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9171
9172 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9173
8ffdba26
PA
91742015-07-14 Pedro Alves <palves@redhat.com>
9175
9176 * gdb.base/killed-outside.exp: New file.
9177 * gdb.base/killed-outside.c: New file.
9178
218a5a11
JK
91792015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9180
9181 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9182 (n at main): New.
9183 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9184
e03ed3c6
AA
91852015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9186
9187 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9188 infcall tests instead of setting up for KFAIL.
9189
485668e5
MM
91902015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9191
9192 * gdb.btrace/record_goto-step.exp: New.
9193
08464196
JK
91942015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9195
9196 PR compile/18484
9197 * gdb.compile/compile.c (struct struct_type): Add volatile to
9198 selffield's type.
9199 * gdb.compile/compile.exp
9200 (compile code struct_object.selffield = &struct_object): Skip further
9201 struct_object tests if this one xfails.
9202
bcf5c1d9
RC
92032015-07-08 Robert O'Callahan <robert@ocallahan.org>
9204
9205 PR exp/18617
9206 * gdb.trace/ax.exp: Add test.
9207
4931af25
YQ
92082015-07-07 Yao Qi <yao.qi@linaro.org>
9209
9210 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9211 instead of istarget "aarch64*-*-*".
9212 * gdb.arch/aarch64-fp.exp: Likewise.
9213 * gdb.base/float.exp: Likewise.
9214 * gdb.reverse/aarch64.exp: Likewise.
9215 * lib/gdb.exp (is_aarch64_target): New proc.
9216
9fcf688e
YQ
92172015-07-07 Yao Qi <yao.qi@linaro.org>
9218
9219 * lib/gdb.exp (is_aarch32_target): New proc.
9220 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9221 instead of "istarget "arm*-*-*"".
9222 * gdb.arch/arm-disp-step.exp: Likewise.
9223 * gdb.arch/thumb-bx-pc.exp: Likewise.
9224 * gdb.arch/thumb-prologue.exp: Likewise.
9225 * gdb.arch/thumb-singlestep.exp: Likewise.
9226 * gdb.base/disp-step-syscall.exp: Likewise.
9227 * gdb.base/float.exp: Likewise.
9228
fbd8d50d
YQ
92292015-07-07 Yao Qi <yao.qi@linaro.org>
9230
9231 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9232 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9233
71be1fdc
YQ
92342015-07-07 Yao Qi <yao.qi@linaro.org>
9235
9236 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9237 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9238 if it exists.
9239 * gdb.multi/multi-arch.exp: Likewise.
9240
3e221d36
SM
92412015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9242
9243 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9244 print.
9245
d441430b
YQ
92462015-07-07 Yao Qi <yao.qi@linaro.org>
9247
9248 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9249
06f810bd
MG
92502015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9251
9252 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9253 '[' and ']' characters.
9254
5e61e7c0
IB
92552015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9256
9257 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9258
28bf096c
PA
92592015-06-29 Pedro Alves <palves@redhat.com>
9260
9261 PR threads/18127
9262 * gdb.threads/hand-call-new-thread.c: New file.
9263 * gdb.threads/hand-call-new-thread.c: New file.
9264
ee93cd5e
KS
92652015-06-26 Keith Seitz <keiths@redhat.com>
9266 Doug Evans <dje@google.com>
9267
9268 PR 16253
9269 * gdb.cp/var-tag-2.cc: New file.
9270 * gdb.cp/var-tag-3.cc: New file.
9271 * gdb.cp/var-tag-4.cc: New file.
9272 * gdb.cp/var-tag.cc: New file.
9273 * gdb.cp/var-tag.exp: New file.
9274
fc637f04
PP
92752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9276
9277 * gdb.base/history-duplicates.exp: New test.
9278
2e52ae68
PP
92792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9280
9281 * gdb.base/completion.exp: Test the completion of the "focus"
9282 command.
9283
6e22494e
JK
92842015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9285
9286 * gdb.arch/amd64-prologue-skip.S: New file.
9287 * gdb.arch/amd64-prologue-skip.exp: New file.
9288
bf7b9cd9
SM
92892015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9290
9291 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9292 is_address_zero_readable check.
9293
201e8dfd
PB
92942015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9295
9296 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9297 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9298
5cd867b4
YQ
92992015-06-24 Yao Qi <yao.qi@linaro.org>
9300
9301 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9302 linux targets.
9303
4d7be007
YQ
93042015-06-24 Yao Qi <yao.qi@linaro.org>
9305
9306 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9307 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9308 * gdb.base/siginfo-thread.exp: Likewise.
9309
07fcd301
YQ
93102015-06-22 Yao Qi <yao.qi@linaro.org>
9311
9312 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9313
52042a00
YQ
93142015-06-22 Yao Qi <yao.qi@linaro.org>
9315
9316 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9317 aarch64*-*-*.
9318 (skip_hw_watchpoint_tests): Likewise.
9319
74bd41ce
PP
93202015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9321
9322 * gdb.base/gdbinit-history.exp: Test the interaction between
9323 setting GDBHISTSIZE and setting the history size via .gdbinit.
9324
bc460514
PP
93252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9326
9327 PR gdb/16999
9328 * gdb.base/gdbhistsize-history.exp: New test.
9329
b58c513b
PP
93302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9331
9332 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9333 with GDBHISTSIZE.
9334 * gdb.base/readline.exp: Likewise.
9335
92046791
YQ
93362015-06-17 Yao Qi <yao.qi@linaro.org>
9337
9338 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9339 line.
9340
2093d2d3
PP
93412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9342
9343 * gdb.base/gdbinit-history.exp: Add test case to check that
9344 an unlimited history file does not get truncated on exit.
9345
e6c693af
AA
93462015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9347
9348 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9349 (VECTOR): New macro. Use it...
9350 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9351 ...for these typedefs.
9352 (int8, char1, int1, double1): New typedefs.
9353 (struct just_int2, struct two_int2): New structures.
9354 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9355 (add_structvecs, add_singlevecs): New functions.
9356 (main): Call add_some_intvecs twice.
9357 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9358 the compile and exit upon failure. Try compiling for the "native"
9359 architecture. Test inferior function calls with vector arguments
9360 and vector return value handling with "finish" and "return".
9361
c74f7d1c
JT
93622015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9363
9364 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9365 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9366 PE file.
9367 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9368
98aa42ee
AT
93692015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9370
9371 PR breakpoints/16465
9372 * gdb.mi/mi-dprintf-pending.c: New file.
9373 * gdb.mi/mi-dprintf-pending.exp: New test.
9374 * gdb.mi/mi-dprintf-pendshr.c: New file.
9375
7d73c23c 93762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 9377 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
9378
9379 * gdb.arch/i386-mpx-map.c: New file.
9380 * gdb.arch/i386-mpx-map.exp: New File.
9381
93822015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9383
9384 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9385 * gdb.arch/i386-mpx.exp: Indentation fixed.
9386
93872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9388
9389 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9390 function and improved indentation.
9391 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9392 gdb_test_multiple. Added additional tests to skip the test.
9393
93942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9395
9396 * gdb.arch/i386-avx512.c: Change path in include file.
9397 * gdb.arch/i386-avx512.exp: Change include dir path
9398 compilation flag.
9399 * gdb.arch/i386-mpx.c: Change path in include file.
9400 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9401 flag.
9402
d5eba19a
JK
94032015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9404
9405 * gdb.compile/compile-print.exp (compile print *vararray@3)
9406 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9407
7f361056
JK
94082015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9409
9410 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9411 (do not keep jit in memory): ... this.
9412 (expect 5): Change it to ...
9413 (expect no 5): ... this.
9414
3b462ec2
SM
94152015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9416
9417 PR gdb/15564
9418 * gdb.mi/mi-detach.exp: New file.
9419
e0619de6
JK
94202015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9421
9422 PR symtab/18392
9423 * gdb.arch/amd64-tailcall-self.S: New file.
9424 * gdb.arch/amd64-tailcall-self.c: New file.
9425 * gdb.arch/amd64-tailcall-self.exp: New file.
9426
e970cb34
DB
94272015-05-28 Don Breazeal <donb@codesourcery.com>
9428
9429 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9430 tests for remote targets by checking is_target_gdbserver.
9431
b2e2f908
DE
94322015-05-27 Doug Evans <dje@google.com>
9433
9434 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9435 * gdb.dwarf2/opaque-type-lookup.c: New file.
9436 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9437
82c7be31
DE
94382015-05-26 Doug Evans <dje@google.com>
9439
9440 * gdb.cp/iostream.cc: New file.
9441 * gdb.cp/iostream.exp: New file.
9442
b4f54984
DE
94432015-05-26 Doug Evans <dje@google.com>
9444
9445 * gdb.dwarf2/dw2-op-call.exp: Update.
9446 * gdb.dwarf2/dw4-sig-types.exp: Update.
9447 * gdb.dwarf2/implptr.exp: Update.
9448 * gdb.mi/mi-cmd-param-changed.exp: Update.
9449
4ea6efe9
DE
94502015-05-26 Doug Evans <dje@google.com>
9451
9452 * gdb.python/py-lazy-string.c: New file.
9453 * gdb.python/py-lazy-string.exp: New file.
9454 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9455 (main): Update. Add estring3.
9456 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9457 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9458
f6bb7db3
YQ
94592015-05-26 Omair Javaid <omair.javaid@linaro.org>
9460 Yao Qi <yao.qi@linaro.org>
9461
9462 * gdb.reverse/aarch64.c: New.
9463 * gdb.reverse/aarch64.exp: New.
9464
a81bfbd0
OJ
94652015-05-26 Omair Javaid <omair.javaid@linaro.org>
9466
25d49b86
PA
9467 * lib/gdb.exp (supports_process_record): Return true for
9468 aarch64*-linux*.
a81bfbd0
OJ
9469 (supports_reverse): Likewise.
9470
158bf1b4
PP
94712015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9472
9473 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9474 Use with_test_prefix.
9475
a0145030
AB
94762015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9477
9478 * gdb.base/completion.exp: Add test for completion of layout
9479 names.
9480
ebe3b578
AB
94812015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9482
9483 * lib/gdb.exp (skip_tui_tests): New proc.
9484 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9485
84204ed7
PA
94862015-05-19 Pedro Alves <palves@redhat.com>
9487
9488 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9489 Save the whole env array instead of just HOME. Unset HISTSIZE in
9490 the environment while testing. Restore whole environment
9491 afterwards.
9492
37442ce1
DE
94932015-05-16 Doug Evans <xdje42@gmail.com>
9494
9495 * gdb.guile/scm-ports.c: New file.
9496 * gdb.guile/scm-ports.exp: Add memory port tests.
9497
36de76f9
JK
94982015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9499
9500 * gdb.compile/compile-print.c: New file.
9501 * gdb.compile/compile-print.exp: New file.
9502
3a9558c4
JK
95032015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9504
9505 * gdb.compile/compile-ops.exp: Cast param to void.
9506 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9507 (compile code struct_object.selffield = &struct_object): Add xfail.
9508
aa715135
JG
95092015-05-15 Joel Brobecker <brobecker@adacore.com>
9510
9511 * gdb.ada/arr_enum_with_gap: New testcase.
9512
931e5bc3
JG
95132015-05-15 Joel Brobecker <brobecker@adacore.com>
9514
9515 * gdb.ada/byte_packed_arr: New testcase.
9516
9cd4d857
JB
95172015-05-15 Joel Brobecker <brobecker@adacore.com>
9518
9519 * gdb.ada/pckd_neg: New testcase.
9520
ebfd00d2
PP
95212015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9522
9523 PR gdb/17820
9524 * gdb.base/gdbinit-history.exp: New test.
9525 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9526 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9527
4c082a81
SC
95282015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9529
9530 * gdb.python/py-xmethods.cc: Enhance test case.
9531 * gdb.python/py-xmethods.exp: New tests.
9532 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9533 function.
9534 (B_indexoper): Likewise.
9535 (global_dm_list) : Add new xmethod worker functions.
9536
f7797074
SDJ
95372015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9538
9539 * gdb.base/coredump-filter.exp: Correctly unset
9540 "coredump_var_addr" array.
9541
a4674e4e
PA
95422015-05-08 Pedro Alves <palves@redhat.com>
9543
9544 * gdb.server/non-existing-program.exp: Unset spawn_id.
9545
df2eb078
SC
95462015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9547
9548 PR python/18291
9549 * gdb.python/py-xmethods.exp: Add tests.
9550
422349a3
YQ
95512015-05-08 Yao Qi <yao.qi@linaro.org>
9552
9553 PR gdb/18208
9554 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9555 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9556 function set_coredump_filter, and remove remote_exec call.
9557 Remove argument ipid. Callers update.
9558 (top level): Don't get inferior's PID.
9559
63fc80ce
AA
95602015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9561
9562 * gdb.base/watch_thread_num.exp: Skip test on targets without
9563 access watchpoints.
9564
80ad801e
PA
95652015-05-06 Pedro Alves <palves@redhat.com>
9566
9567 PR server/18081
9568 * gdb.server/non-existing-program.exp: New file.
9569
0fa7fe50
JB
95702015-05-05 Joel Brobecker <brobecker@adacore.com>
9571
9572 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9573
3ea89b92
PMR
95742015-05-05 Joel Brobecker <brobecker@adacore.com>
9575
9576 * gdb.ada/out_of_line_in_inlined: New testcase.
9577
87b8eff0
JB
95782015-05-05 Joel Brobecker <brobecker@adacore.com>
9579
9580 * gdb.ada/var_rec_arr: New testcase.
9581
5fccc635
YQ
95822015-04-30 Yao Qi <yao.qi@linaro.org>
9583
9584 * gdb.base/break-idempotent.exp: If
9585 skip_hw_watchpoint_multi_tests returns true, skip the tests
9586 on "rwatch" and "awatch".
9587
42d38f42
YQ
95882015-04-30 Yao Qi <yao.qi@linaro.org>
9589
9590 * gdb.base/relativedebug.exp: Invoke gdb command
9591 "info sharedlibrary", and if libc.so doesn't have debug info,
9592 skip the test.
9593
2ce1cdbf
DE
95942015-04-29 Doug Evans <dje@google.com>
9595
9596 * gdb.python/py-xmethods.exp: Add ptype tests.
9597 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9598 get_result_type method.
9599
f24a38c5
LM
96002015-04-29 Luis Machado <lgustavo@codesourcery.com>
9601
9602 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9603 the target does not support hardware watchpoints.
9604
ecbf2b3c
LM
96052015-04-29 Luis Machado <lgustavo@codesourcery.com>
9606
9607 * gdb.base/break-always.exp: Abort testing if writing to memory
9608 causes an error.
9609
34f5f757
DE
96102015-04-28 Doug Evans <dje@google.com>
9611
9612 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9613 * gdb.python/py-pp-registration.exp: ... here. New file.
9614 * gdb.python/py-pp-registration.c: New file.
9615 * gdb.python/py-pp-registration.py: New file.
9616
69b4374a
DE
96172015-04-28 Doug Evans <dje@google.com>
9618
9619 * gdb.python/py-bad-printers.c: New file.
9620 * gdb.python/py-bad-printers.py: New file.
9621 * gdb.python/py-bad-printers.exp: New file.
9622
59fb7612
SS
96232015-04-28 Sasha Smundak <asmundak@google.com>
9624
9625 * gdb.python/py-type.exp: New test.
9626
2631b16a
AW
96272015-04-28 Andy Wingo <wingo@igalia.com>
9628
9629 * gdb.python/py-parameter.exp:
9630 * gdb.guile/scm-parameter.exp: Escape the path that we are
9631 matching against, as it might contain characters that are special
9632 to regular expressions.
9633
460efde1
JB
96342015-04-27 Joel Brobecker <brobecker@adacore.com>
9635
9636 * gdb.ada/rec_comp: New testcase.
9637
2d369d8e
SDJ
96382015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9639
9640 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9641 before using it.
9642
cf75d6c3
AB
96432015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9644
9645 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9646 new tests for verilog output.
9647
8dbe7ca5
YQ
96482015-04-24 Yao Qi <yao.qi@linaro.org>
9649
9650 * boards/remote-gdbserver-on-localhost.exp: New file.
9651
4ef9fb2f
PA
96522015-04-23 Pedro Alves <palves@redhat.com>
9653
9654 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9655 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9656 "end of file", remove $inferior_spawn_id from the indirect list.
9657
0a803169
PA
96582015-04-23 Pedro Alves <palves@redhat.com>
9659
9660 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9661
749ef8f8
PA
96622015-04-23 Pedro Alves <palves@redhat.com>
9663
9664 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9665 on $any_spawn_id instead of only on $gdb_spawn_id.
9666
8aae4344
PM
96672015-04-21 Pierre Muller <muller@sourceware.org>
9668
9669 PR pascal/17815
9670 * lib/pascal.exp (gpc_compile): Add new option "class".
9671 (fpc_compile): Likewise.
9672 * gdb.pascal/case-insensitive-symbols.pas: New file.
9673 * gdb.pascal/case-insensitive-symbols.exp: New file.
9674
1586c8fb
GB
96752015-04-20 Gary Benson <gbenson@redhat.com>
9676
9677 * gdb.base/attach.exp: Fix three extended remote failures.
9678
1b6e6f5c
GB
96792015-04-17 Gary Benson <gbenson@redhat.com>
9680
9681 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9682 the main executable over the remote protocol.
9683
e797481d
PA
96842015-04-16 Pedro Alves <palves@redhat.com>
9685
9686 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9687 a new gdbserver if gdbserver_reconnect_p is set.
9688
1ca99c42
PA
96892015-04-16 Pedro Alves <palves@redhat.com>
9690
9691 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9692 is set, don't exit gdbserver.
9693
af9fd6f8
AA
96942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9695
9696 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9697 appropriate .insn, such that an older assembler can be used.
9698 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9699 the z/Architecture instruction set on 31-bit targets as well.
9700
04ff1e61
AA
97012015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9702
9703 * gdb.go/handcall.exp: Remove all logic related to the first
9704 breakpoint and rely on go_runto_main instead.
9705 * gdb.go/strings.exp: Likewise.
9706 * gdb.go/unsafe.exp: Likewise.
9707 * gdb.go/hello.exp: Likewise. Also rename the remaining
9708 breakpoint marker to "breakpoint 1".
9709 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9710 * gdb.go/strings.go: Likewise.
9711 * gdb.go/unsafe.go: Likewise.
9712 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9713 "set breakpoint 2 here" and rename the remaining breakpoint marker
9714 to "breakpoint 1".
9715
40d2f8d6
SM
97162015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9717
9718 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9719 if itertools.imap is not present.
9720 * gdb.python/py-objfile.exp: Add parentheses.
9721 * gdb.python/py-type.exp: Same.
9722 * gdb.python/py-unwind-maint.py: Same.
9723
8cbc97c6
YQ
97242015-04-15 Yao Qi <yao.qi@linaro.org>
9725
9726 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9727 of ":$ptr_size" and set its form explicitly.
9728
45fd756c
YQ
97292015-04-15 Pedro Alves <palves@redhat.com>
9730 Yao Qi <yao.qi@linaro.org>
9731
9732 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9733 timeout by factor of 4.
9734 (test_regular_watch): Likewise.
9735 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9736 * gdb.reverse/sigall-reverse.exp: Likewise.
9737 * gdb.reverse/until-precsave.exp: Likewise.
9738 * lib/gdb.exp (with_timeout_factor): New proc.
9739 (gdb_expect): Move some code to ...
9740 (get_largest_timeout): ... here. New procedure.
9741
9e811bc3
LM
97422015-04-14 Luis Machado <lgustavo@codesourcery.com>
9743
9744 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9745
0ff6fcb2
LM
97462015-04-13 Luis Machado <lgustavo@codesourcery.com>
9747
9748 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9749 to write to the .text section.
9750
7578d5f7
LM
97512015-04-13 Luis Machado <lgustavo@codesourcery.com>
9752
9753 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9754 Handle the case of targets that do not provide PID information.
9755
2efe15c4
YQ
97562015-04-13 Yao Qi <yao.qi@linaro.org>
9757
9758 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9759 and use expect instead of gdb_expect.
9760
8cd8f2f8
SDJ
97612015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9762
9763 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9764 "coredump_var_addr" to avoid naming conflict with other testcases.
9765
9ee41772
PA
97662015-04-10 Pedro Alves <palves@redhat.com>
9767
9768 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9769 gdb_test_sequence and gdb_assert.
9770
07473109
PA
97712015-04-10 Pedro Alves <palves@redhat.com>
9772
9773 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9774 test messages that don't include the breakpoint address.
9775
de3db44c
YQ
97762015-04-10 Yao Qi <yao.qi@linaro.org>
9777
9778 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9779 false for some offset and width combinations which aren't
9780 supported by linux kernel.
9781
c79d856c
PA
97822015-04-10 Pedro Alves <palves@redhat.com>
9783
9784 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9785 procedure, factored out from ...
9786 (top level): ... here. Add "set displaced-stepping" testing axis.
9787 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9788 parameter "displaced". Use it.
9789 (top level): Use foreach and add "set displaced-stepping" testing
9790 axis.
9791
ebc90b50
PA
97922015-04-10 Pedro Alves <palves@redhat.com>
9793
9794 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9795 Remove comment.
9796 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9797 both the address of the instruction that triggers the watchpoint
9798 and the address of the instruction immediately after, and use
9799 those addresses for the test. Fix comment.
9800
8f572e5c
PA
98012015-04-10 Pedro Alves <palves@redhat.com>
9802
9803 * gdb.base/sigstep.exp (breakpoint_to_handler)
9804 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9805 Test "backtrace" in handler.
9806 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9807 (top level): Add new "displaced" test axis to
9808 breakpoint_to_handler, breakpoint_to_handler_entry and
9809 breakpoint_over_handler.
9810
8d707a12
PA
98112015-04-10 Pedro Alves <palves@redhat.com>
9812
9813 PR gdb/18216
9814 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9815
ef713951
YQ
98162015-04-10 Yao Qi <yao.qi@linaro.org>
9817
9818 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9819 (test_add_rn_pc): New function.
9820 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9821 (top level): Invoke test_add_rn_pc.
9822
906d60cf
PA
98232015-04-10 Pedro Alves <palves@redhat.com>
9824
9825 PR gdb/13858
9826 * gdb.base/step-over-no-symbols.exp: New file.
9827
f2983cc3
AW
98282015-04-09 Andy Wingo <wingo@igalia.com>
9829
9830 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9831 after the Python tests.
9832
6d62641c
SDJ
98332015-04-08 Keith Seitz <keiths@redhat.com>
9834
9835 PR python/16699
9836 * gdb.python/py-completion.exp: New tests for completion.
9837 * gdb.python/py-completion.py (CompleteLimit1): New class.
9838 (CompleteLimit2): Likewise.
9839 (CompleteLimit3): Likewise.
9840 (CompleteLimit4): Likewise.
9841 (CompleteLimit5): Likewise.
9842 (CompleteLimit6): Likewise.
9843 (CompleteLimit7): Likewise.
9844
f3770638
PA
98452015-04-08 Pedro Alves <palves@redhat.com>
9846
9847 PR gdb/18214
9848 PR gdb/18216
9849 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9850 function.
9851 (main): Install it as SIGUSR1 handler.
9852 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9853 parameter. Always use "setup" as prefix. Toggle "set
9854 displaced-stepping" off/on depending on global. Don't switch to
9855 thread 1 here.
9856 (top level): Add displaced stepping "off/on" test axis. Update
9857 "setup" calls. Wrap each subtest with with_test_prefix. Test
9858 continuing with a queued signal in each thread.
9859
4496bed7
PA
98602015-04-08 Pedro Alves <palves@redhat.com>
9861
9862 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9863 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9864 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9865 Return early if running to main fails.
9866 * gdb.trace/while-stepping.exp: Likewise.
9867
b97fde92
PA
98682015-04-07 Pedro Alves <palves@redhat.com>
9869
9870 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9871 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9872 interact with inferior program.
9873
f71c18e7
PA
98742015-04-07 Pedro Alves <palves@redhat.com>
9875
9876 * lib/gdb.exp (inferior_spawn_id): New global.
9877 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9878 spawn id after processing the user code.
9879 (default_gdb_start): Set inferior_spawn_id.
9880 (send_inferior): New procedure.
9881 * lib/gdbserver-support.exp (gdbserver_start): Set
9882 inferior_spawn_id.
9883 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9884
6423214f
PA
98852015-04-07 Pedro Alves <palves@redhat.com>
9886
9887 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9888 * lib/gdbserver-support.exp (gdbserver_start): Make
9889 $server_spawn_id global.
9890 (gdbserver_start): Don't wait for gdbserver's spawn id with
9891 expect_background.
9892 (close_gdbserver): New procedure.
9893 (gdb_exit): Rename the default version and reimplement.
9894
71c0ee8c
PA
98952015-04-07 Pedro Alves <palves@redhat.com>
9896
72f4393d 9897 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
9898 append the substituted item, not the original item.
9899
203bc29b
PA
99002015-04-07 Pedro Alves <palves@redhat.com>
9901
9902 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9903 gdb_expect.
9904
508a3ddf
PA
99052015-04-07 Pedro Alves <palves@redhat.com>
9906
9907 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9908 output appearing once only.
9909
9f6dbe2b
PA
99102015-04-07 Pedro Alves <palves@redhat.com>
9911
9912 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9913 that doesn't expect anything. Return early if running to main
9914 fails.
9915
337532fa
YQ
99162015-04-07 Yao Qi <yao.qi@linaro.org>
9917
9918 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9919 (child_function): Call alarm.
9920 (main): Move call to alarm into the loop.
9921 * gdb.threads/non-stop-fair-events.exp: Build program with
9922 -DTIMEOUT=$timeout.
9923
01b622d4
DE
99242015-04-06 Doug Evans <xdje42@gmail.com>
9925
9926 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9927 Fix dest parameter to board_info.
9928 (fpc_compile): Ditto.
9929 (gdb_compile_pascal): Rename dest arg to destfile.
9930
961f4160
PMR
99312015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9932
9933 * gdb.ada/funcall_ref.exp: New file.
9934 * gdb.ada/funcall_ref/foo.adb: New file.
9935
cafda597
YQ
99362015-04-02 Yao Qi <yao.qi@linaro.org>
9937
9938 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9939 is remote.
9940
fed040c6
GB
99412015-04-02 Gary Benson <gbenson@redhat.com>
9942
9943 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9944
d11916aa
SS
99452015-04-01 Sasha Smundak <asmundak@google.com>
9946
9947 * gdb.python/py-unwind-maint.c: New file.
9948 * gdb.python/py-unwind-maint.exp: New test.
9949 * gdb.python/py-unwind-maint.py: New file.
9950 * gdb.python/py-unwind.c: New file.
9951 * gdb.python/py-unwind.exp: New test.
9952 * gdb.python/py-unwind.py: New test.
9953
a1471180
PA
99542015-04-01 Pedro Alves <palves@redhat.com>
9955
9956 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9957 to fail instead of non-existent $test.
9958
0bbeccb1
PA
99592015-04-01 Pedro Alves <palves@redhat.com>
9960
9961 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9962 GDBFLAGS if not empty.
9963
3c724c8c
PMR
99642015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9965
9966 * gdb.ada/complete.exp: Remove "multi_line".
9967 * gdb.ada/info_exc.exp: Remove "multi_line".
9968 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9969 * gdb.ada/ptype_field.exp: Remove "multi_line".
9970 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9971 * gdb.ada/tagged.exp: Remove "multi_line".
9972 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9973 [multi_line ...]
9974 * gdb.btrace/delta.exp: Likewise.
9975 * gdb.btrace/exception.exp: Likewise.
9976 * gdb.btrace/function_call_history.exp: Likewise.
9977 * gdb.btrace/instruction_history.exp: Likewise.
9978 * gdb.btrace/nohist.exp: Likewise.
9979 * gdb.btrace/record_goto.exp: Likewise.
9980 * gdb.btrace/segv.exp: Likewise.
9981 * gdb.btrace/stepi.exp: Likewise.
9982 * gdb.btrace/tailcall.exp: Likewise.
9983 * gdb.btrace/unknown_functions.exp: Likewise.
9984 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9985 * lib/gdb.exp: Add the "multi_line" helper.
9986
4eec2deb
PA
99872015-04-01 Pedro Alves <palves@redhat.com>
9988
9989 * gdb.threads/tid-reuse.c: New file.
9990 * gdb.threads/tid-reuse.exp: New file.
9991
df8411da
SDJ
99922015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9993
9994 PR corefiles/16092
9995 * gdb.base/coredump-filter.c: New file.
9996 * gdb.base/coredump-filter.exp: Likewise.
9997
6ef37366
PM
99982015-03-27 Petr Machata <pmachata@redhat.com>
9999
10000 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10001 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10002 (Dwarf::assemble): Initialize them.
10003 (Dwarf::lines): New function.
10004
7ec911b0
JT
100052015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10006
10007 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10008 SYMBOL_PREFIX for x86_64-*-cygwin.
10009
ff908ebf
AW
100102015-03-26 Andy Wingo <wingo@igalia.com>
10011
10012 PR symtab/18148
10013 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10014 const_value but not a location.
10015 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10016 location defined in non-main CUs are visible.
10017
6d5f0679
YQ
100182015-03-26 Yao Qi <yao.qi@linaro.org>
10019
10020 PR testsuite/18139
10021 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10022 Add a line number entry for the same line.
10023 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10024 Add a line number entry for the same line.
10025
2898689b
YQ
100262015-03-26 Yao Qi <yao.qi@linaro.org>
10027
10028 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10029 .int 0.
10030 (func): Likewise. Add .Lfunc_1 label.
10031 Use .Lfunc_1 label.
10032 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10033 .int 0.
10034 (func): Likewise.
10035 Use .Lfunc_1 label.
10036
85180498
YQ
100372015-03-26 Yao Qi <yao.qi@linaro.org>
10038
10039 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10040 Call gdb_compile instead to compile each .s files without debug
10041 information.
10042
8aa08a8d
YQ
100432015-03-26 Yao Qi <yao.qi@linaro.org>
10044
10045 * gdb.base/savedregs.exp (process_saved_regs): Make
10046 "Saved registers:" optional in the pattern.
10047
66849923
MM
100482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10049
10050 * gdb.btrace/next.exp: Merged into step.exp.
10051 * gdb.btrace/finish.exp: Merged into step.exp.
10052 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10053 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10054 "record goto" and checking the exact replay position.
10055 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10056 check for "Recording format" in "info record" output.
10057 * gdb.btrace/record_goto.exp: Choose test file based on target.
10058 * gdb.btrace/x86-record_goto.S: Renamed into ...
10059 * gdb.btrace/x86_64-record_goto.S: ... this.
10060 * gdb.btrace/i686-record_goto.S: New.
10061 * gdb.btrace/x86-tailcall.S: Renamed into ...
10062 * gdb.btrace/x86_64-tailcall.S: ... this.
10063 * gdb.btrace/i686-tailcall.S: New.
10064 * gdb.btrace/x86-tailcall.c: Renamed into ...
10065 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10066 separate statements. Update test.
10067 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10068 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10069 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10070 * gdb.btrace/tailcall.exp: Choose test file based on target.
10071 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10072
11cc1b74
MM
100732015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10074
10075 * gdb.btrace/exception.exp: Increase BTS buffer size.
10076
a25d8bf9
PA
100772015-03-24 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10080
856e7dd6
PA
100812015-03-24 Pedro Alves <palves@redhat.com>
10082
10083 * gdb.threads/schedlock.exp (test_step): No longer expect that
10084 "set scheduler-locking step" with "next" over a function call runs
10085 threads unlocked.
10086
ad235a41
AT
100872015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10088
10089 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10090
15630549
AT
100912015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10092
10093 PR breakpoints/16466
10094 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10095 * gdb.mi/mi-pending.c (thread_func): New function.
10096 (int main): Add threading support required.
10097 * gdb.mi/mi-pending.exp: Add tests for this issue.
10098 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10099 (pendfunc2): Remove stdio dependency.
10100 * gdb.mi/mi-pendshr2.c: New file.
10101
693dca06
KS
101022015-03-23 Keith Seitz <keiths@redhat.com>
10103
10104 * gdb.linespec/keywords.c: New file.
10105 * gdb.linespec/keywords.exp: New file.
10106
7e993ebf
KS
101072015-03-23 Keith Seitz <keiths@redhat.com>
10108
10109 PR gdb/18021
10110 * gdb.dwarf2/staticvirtual.exp: New test.
10111
bc23328c
JK
101122015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10113
10114 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10115 * README: Remove HP-UX and gdb.hp.
10116 (configuration):
10117 * configure: Regenerate.
10118 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10119 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10120 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10121 gdb.hp/gdb.defects/Makefile.
10122 * gdb.hp/Makefile.in: File deleted.
10123 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10124 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10125 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10126 * gdb.hp/gdb.aCC/run.c: File deleted.
10127 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10128 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10129 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10130 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10131 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10132 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10133 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10134 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10135 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10136 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10137 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10138 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10139 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10140 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10141 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10142 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10143 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10144 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10145 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10146 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10147 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10148 * gdb.hp/gdb.compat/average.c: File deleted.
10149 * gdb.hp/gdb.compat/sum.c: File deleted.
10150 * gdb.hp/gdb.compat/xdb.c: File deleted.
10151 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10152 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10153 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10154 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10155 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10156 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10157 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10158 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10159 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10160 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10161 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10162 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10163 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10164 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10165 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10166 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10167 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10168 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10169 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10170 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10171 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10172 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10173 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10174 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10175 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10176 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10177 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10178 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10179 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10180 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10181 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10182 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10183 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10184 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10185 * gdb.hp/tools/odump: File deleted.
10186
8bf3b159
PA
101872015-03-19 Pedro Alves <palves@redhat.com>
10188
10189 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10190 (saw_thread_3): New globals.
10191 (top level): Increment them when an event for the corresponding
10192 thread is seen.
10193 (no thread starvation): New test.
10194
eb54c8bf
PA
101952015-03-19 Pedro Alves <palves@redhat.com>
10196
10197 * gdb.threads/continue-pending-status.c: New file.
10198 * gdb.threads/continue-pending-status.exp: New file.
10199
32d2e5d6
PA
102002015-03-18 Pedro Alves <palves@redhat.com>
10201
10202 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10203 Use gdb_is_target_remote instead of is_remote. Use
10204 gdb_test_multiple instead of gdb_expect. Exit early if
10205 gdb_test_multiple hits its internal matches. Tighten stepi tests
10206 expected output. Fail on exit with any signal, instead of just
10207 SIGILL.
10208
f68f11b7
YQ
102092015-03-18 Yao Qi <yao.qi@linaro.org>
10210
10211 PR tdep/18107
10212 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10213 variable.
10214 * gdb.base/catch-syscall.exp: Don't skip it on
10215 aarch64*-*-linux* target. Remove elements in all_syscalls.
10216 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10217 target.
10218 (setup_all_syscalls): New proc.
10219
ca5fd19b
YQ
102202015-03-16 Yao Qi <yao.qi@linaro.org>
10221
10222 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10223 (top level): Skip tests if valid_addr_p returns false for
10224 $cmd1 or $cmd2.
10225
85642ba0
AW
102262015-03-11 Andy Wingo <wingo@igalia.com>
10227
10228 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10229
e03f9645
YQ
102302015-03-11 Yao Qi <yao.qi@linaro.org>
10231
10232 * gdb.base/catch-syscall.exp: Fix typo in comments.
10233
5d0962b2
YQ
102342015-03-11 Yao Qi <yao.qi@linaro.org>
10235
10236 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10237
b2df3cef
PA
102382015-03-09 Pedro Alves <palves@redhat.com>
10239
10240 * dg-extract-results.py: Delete.
10241
ef878e53
PA
102422015-03-09 Pedro Alves <palves@redhat.com>
10243
10244 Merge dg-extract-results.sh from GCC upstream (r218843).
10245
10246 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10247 * dg-extract-results.sh: Use --text with grep to avoid issues with
10248 binary files. Fall back to cat -v, if that doesn't work.
10249
9494d219
PA
102502015-03-05 Pedro Alves <palves@redhat.com>
10251
10252 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10253
a8d9763a
SM
102542015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 * lib/mi-support.exp (mi_expect_interrupt): Accept
10257 alternative event for when in all-stop mode.
10258
be9957b8
PA
102592015-03-04 Pedro Alves <palves@redhat.com>
10260
10261 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10262
d57be0f4 102632015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
10264
10265 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10266
c214c7cf
AA
102672015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10268
10269 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10270 regexps for GDB's current line display, accept a hex address
10271 preceding the line number.
10272
6d74a497
AA
102732015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10274
10275 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10276 the 'arch1' variable for "s390*-linux*" targets.
10277
511aee7c
PA
102782015-03-04 Pedro Alves <palves@redhat.com>
10279
10280 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10281 (main): Pass missing retval argument to pthread_join call.
10282
95e50b27
PA
102832015-03-02 Pedro Alves <palves@redhat.com>
10284
10285 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10286 (top level): Call do_test with non-stop as well.
10287
28054d69
PA
102882015-03-02 Pedro Alves <palves@redhat.com>
10289
10290 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10291 -1.
10292
4fa5d7b4
AA
102932015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10294
10295 * gdb.arch/s390-vregs.exp: New test.
10296 * gdb.arch/s390-vregs.S: New file.
10297
97c18565
PA
102982015-02-27 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10301 call to catch_command_errors.
10302 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10303 catch_command_errors.
10304
a37bfa30
PA
103052015-02-27 Pedro Alves <palves@redhat.com>
10306
10307 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10308 "true" for boolean result.
10309 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10310 prototype of main.
10311
6f98576f
PA
103122015-02-27 Pedro Alves <palves@redhat.com>
10313
10314 * lib/unbuffer_output.c: New file.
10315 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10316 (main): Call gdb_unbuffer_output.
10317
eba5ab56
YQ
103182015-02-27 Yao Qi <yao.qi@linaro.org>
10319
10320 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10321 target.
10322
0def5aaa
DE
103232015-02-26 Doug Evans <dje@google.com>
10324
10325 * gdb.cp/class2.cc (Dbase, D): New classes.
10326 (main): New local delta.
10327 * gdb.cp/class2.exp: Test printing delta.
10328 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10329 (dynbar): New global.
10330 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10331
081a1c2c
JK
103322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10333
10334 * gdb.compile/compile-ifunc.c: New file.
10335 * gdb.compile/compile-ifunc.exp: New file.
10336
2f41223f
AT
103372015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10338
10339 * gdb.base/structs.exp: Check for correct struct on finish.
10340
03eddd80
YQ
103412015-02-26 Yao Qi <yao.qi@linaro.org>
10342
10343 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10344 is zero.
10345
80c57053
JK
103462015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10347
10348 * gdb.arch/cordic.ko.bz2: New file.
10349 * gdb.arch/cordic.ko.debug.bz2: New file.
10350 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10351
21613c12
YQ
103522015-02-25 Yao Qi <yao.qi@linaro.org>
10353
10354 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10355 aarch64*-*-* target.
10356
d8b901ed
PA
103572015-02-23 Pedro Alves <palves@redhat.com>
10358
10359 * lib/gdb.exp (delete_breakpoints): Rewrite using
10360 gdb_test_multiple.
10361
e5b85ead
PA
103622015-02-23 Pedro Alves <palves@redhat.com>
10363
10364 * gdb.base/info-os.c: Include stdlib.h.
10365
85c3a371
DE
103662015-02-22 Doug Evans <xdje42@gmail.com>
10367
10368 PR symtab/17855
10369 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10370 is read after symbols have been re-read.
10371 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10372 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10373
96553a0c
DE
103742015-02-21 Doug Evans <dje@google.com>
10375
10376 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10377
97a0c697
JK
103782015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10379
10380 PR corefiles/17808
10381 * gdb.arch/i386-biarch-core.core.bz2: New file.
10382 * gdb.arch/i386-biarch-core.exp: New file.
10383
a47cd6e9
PA
103842015-02-21 Pedro Alves <palves@redhat.com>
10385
10386 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10387 runto_main fails.
10388
c5facdc4
PA
103892015-02-20 Pedro Alves <palves@redhat.com>
10390
10391 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10392 info probes.
10393
2db9a427
PA
103942015-02-20 Pedro Alves <palves@redhat.com>
10395
10396 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10397
60fb7e9e
PA
103982015-02-20 Pedro Alves <palves@redhat.com>
10399
10400 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10401 clean_restart before gdb_target_supports_trace.
10402
5c5019c2
PA
104032015-02-20 Pedro Alves <palves@redhat.com>
10404
10405 PR threads/18006
10406 * gdb.threads/clone-thread_db.c: New file.
10407 * gdb.threads/clone-thread_db.exp: New file.
10408
c9587f88
AT
104092015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10410
10411 PR breakpoints/16812
10412 * gdb.base/catch-gdb-caused-signals.c: New file.
10413 * gdb.base/catch-gdb-caused-signals.exp: New file.
10414
f6a88844
JM
104152015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10416
10417 * configure: Regenerated.
10418 * configure.ac: Use GDB_AC_TRANSFORM.
10419 * aclocal.m4: sinclude ../transform.m4.
10420
497c491b
JM
104212015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10422
10423 * lib/dtrace.exp: New file.
10424 * gdb.base/dtrace-probe.exp: Likewise.
10425 * gdb.base/dtrace-probe.d: Likewise.
10426 * gdb.base/dtrace-probe.c: Likewise.
10427 * lib/pdtrace.in: Likewise.
10428 * configure.ac: Output variables with the transformed names of
10429 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10430 * configure: Regenerated.
10431
03e98035
JM
104322015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10433
10434 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10435 expected message when trying to access $_probe_* convenience
10436 variables while not on a probe.
10437
63cc30e9
JK
104382015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10439
10440 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10441
0703599a
PA
104422015-02-11 Pedro Alves <pedro@codesourcery.com>
10443
10444 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10445 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10446
7e60a48e
DE
104472015-02-10 Doug Evans <xdje42@gmail.com>
10448
10449 * lib/gdb.exp (gdb_load): Always return a result.
10450
01b088bc
PA
104512015-02-10 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.threads/signal-sigtrap.c: New file.
10454 * gdb.threads/signal-sigtrap.exp: New file.
10455
b05ec7a5
AT
104562015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10457
10458 * gdb.trace/no-attach-trace.c: New file.
10459 * gdb.trace/no-attach-trace.exp: New file.
10460
a2c2acaf
MW
104612015-02-09 Mark Wielaard <mjw@redhat.com>
10462
10463 * gdb.dwarf2/atomic.c: New file.
10464 * gdb.dwarf2/atomic-type.exp: Likewise.
10465
31fd9caa
MM
104662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10467
10468 * gdb.btrace/buffer-size.exp: Update "info record" output.
10469 * gdb.btrace/delta.exp: Update "info record" output.
10470 * gdb.btrace/enable.exp: Update "info record" output.
10471 * gdb.btrace/finish.exp: Update "info record" output.
10472 * gdb.btrace/instruction_history.exp: Update "info record" output.
10473 * gdb.btrace/next.exp: Update "info record" output.
10474 * gdb.btrace/nexti.exp: Update "info record" output.
10475 * gdb.btrace/step.exp: Update "info record" output.
10476 * gdb.btrace/stepi.exp: Update "info record" output.
10477 * gdb.btrace/nohist.exp: Update "info record" output.
10478
d33501a5
MM
104792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10480
10481 * gdb.btrace/buffer-size: New.
10482
f4abbc16
MM
104832015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10484
10485 * gdb.btrace/delta.exp: Update "info record" output.
10486 * gdb.btrace/enable.exp: Update "info record" output.
10487 * gdb.btrace/finish.exp: Update "info record" output.
10488 * gdb.btrace/instruction_history.exp: Update "info record" output.
10489 * gdb.btrace/next.exp: Update "info record" output.
10490 * gdb.btrace/nexti.exp: Update "info record" output.
10491 * gdb.btrace/step.exp: Update "info record" output.
10492 * gdb.btrace/stepi.exp: Update "info record" output.
10493 * gdb.btrace/nohist.exp: Update "info record" output.
10494
b9d61307
SM
104952015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10496
10497 PR gdb/15678
10498 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10499
e584fdbc
PA
105002015-02-06 Pedro Alves <palves@redhat.com>
10501
10502 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10503 macro.
10504 (seconds_left, again): New globals.
10505 (main): Wait seconds_left in a 1-second sleep loop instead of
10506 sleeping 180 seconds. If 'again' is set, reset the seconds
10507 counter.
10508 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10509 'again' in the inferior before detaching. Print the seconds left.
10510 (options): New global.
10511 (top level): Build program with -DTIMEOUT=$timeout.
10512
77f41761
PA
105132015-02-06 Pedro Alves <palves@redhat.com>
10514
10515 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10516 determine how many seconds to pass to 'alarm'.
10517 * gdb.base/gdb-sigterm.exp (top level): Build program with
10518 -DTIMEOUT=$timeout.
10519 (do_test): Return success/failure indication. Add more verbose
10520 logging. Don't fail if 200 single steps are seen. Instead, fail
10521 when the test times out.
10522 (passes): New global.
10523 (top level): Break the testing loop if testing fails on any
10524 iteration. Use gdb_assert.
10525
b9394193
DB
105262015-02-04 Don Breazeal <donb@codesourcery.com>
10527
10528 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10529 and initialize them.
10530 (ipc_cleanup): New function.
10531 (main): Don't declare shmid, semid, and msqid. Add a call to
10532 atexit so that we call ipc_cleanup on exit.
10533
42d9e528
PA
105342015-02-04 Pedro Alves <palves@redhat.com>
10535
10536 * boards/native-extended-gdbserver.exp: Remove any target variant
10537 specifications from the board name before clearing the isremote
10538 flag from board_info.
10539
ae6ae975
DE
105402015-01-31 Doug Evans <xdje42@gmail.com>
10541
10542 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10543
cfb069a8
GB
105442015-01-31 Gary Benson <gbenson@redhat.com>
10545
10546 * gdb.base/completion.exp: Disable completion limiting for
10547 existing tests. Add new tests to check completion limiting.
10548 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10549
5dd31d79
DE
105502015-01-31 Doug Evans <xdje42@gmail.com>
10551
10552 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10553
9f050062
DE
105542015-01-31 Doug Evans <xdje42@gmail.com>
10555
10556 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10557 entries. Duplicate file section script entries.
10558 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10559 inlined entries. Add test for safe-path rejection.
10560 * gdb.python/py-section-script.c: Add duplicate inlined section script
10561 entries. Duplicate file section script entries.
10562 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10563 inlined entries. Add test for safe-path rejection.
10564
df25ebbd
JB
105652015-01-29 Joel Brobecker <brobecker@adacore.com>
10566
10567 * gdb.ada/disc_arr_bound: New testcase.
10568
4a0ca9ec
JB
105692015-01-29 Joel Brobecker <brobecker@adacore.com>
10570
10571 * gdb.ada/mi_var_array: New testcase.
10572
3a8b707a
DE
105732015-01-27 Doug Evans <dje@google.com>
10574
10575 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10576 Add test for objfile.filename, objfile.username after objfile
10577 has been unloaded.
10578
f8313f6e
JB
105792015-01-26 Joel Brobecker <brobecker@adacore.com>
10580
10581 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10582 the second test to print the name attribute of value
10583 returned by the call to gdb.lookup_type, and adjust
10584 the expected output accordingly.
10585
37bc665e
MW
105862015-01-25 Mark Wielaard <mjw@redhat.com>
10587
10588 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10589 * gdb.base/disp-step-fork.c: Include unistd.h.
10590 * gdb.base/siginfo-obj.c: Include stdio.h.
10591 * gdb.base/siginfo-thread.c: Likewise.
10592 * gdb.mi/non-stop.c: Include unistd.h.
10593 * gdb.mi/nsthrexec.c: Include stdio.h.
10594 * gdb.mi/pthreads.c: Include unistd.h.
10595 * gdb.modula2/unbounded1.c (main): Declare returns int.
10596 * gdb.reverse/consecutive-reverse.c: Likewise.
10597 * gdb.threads/create-fail.c: Include unistd.h.
10598 * gdb.threads/killed.c: Likewise.
10599 * gdb.threads/linux-dp.c: Likewise.
10600 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10601 * gdb.threads/non-ldr-exc-2.c: Likewise.
10602 * gdb.threads/non-ldr-exc-3.c: Likewise.
10603 * gdb.threads/non-ldr-exc-4.c: Likewise.
10604 * gdb.threads/pthreads.c: Include unistd.h.
10605 (main): Declare returns int.
10606 * gdb.threads/tls-main.c (foo): New declaration.
10607 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10608
f7e5394d
SM
106092015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10610
10611 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10612 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10613
743649fd
MW
106142015-01-15 Mark Wielaard <mjw@redhat.com>
10615
10616 * gdb.base/noreturn-return.c: New file.
10617 * gdb.base/noreturn-return.exp: New file.
10618 * gdb.base/noreturn-finish.c: New file.
10619 * gdb.base/noreturn-finish.exp: New file.
10620
198297aa
PA
106212015-01-23 Pedro Alves <palves@redhat.com>
10622
10623 * gdb.threads/continue-pending-after-query.c: New file.
10624 * gdb.threads/continue-pending-after-query.exp: New file.
10625
717cf30c
AG
106262015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10627 Simon Marchi <simon.marchi@ericsson.com>
10628
10629 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10630 * gdb.base/valgrind-db-attach.exp: Same.
10631 * gdb.base/valgrind-infcall.exp: Same.
10632 * lib/mi-support.exp (default_mi_gdb_start): Same.
10633 * lib/prompt.exp (default_prompt_gdb_start): Same.
10634 * lib/gdb.exp (default_gdb_spawn): Same.
10635 (gdb_interact): New.
10636
10637
4b62a76e
JK
106382015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10639
10640 * gdb.compile/compile.exp (pointer to jit function): New test.
10641
b4cdae6f
WW
106422015-01-17 Wei-cheng Wang <cole945@gmail.com>
10643
10644 * lib/gdb.exp (supports_process_record): Return true for
10645 powerpc*-*-linux*.
10646 (supports_reverse): Likewise.
10647
d221e7ef
DB
106482015-01-15 Don Breazeal <donb@codesourcery.com>
10649
10650 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10651 instead of checking whether the target board is remote and
10652 use spawn_wait_for_attach instead of exec/sleep.
10653 * gdb.base/attach-twice.exp: Likewise.
10654
bafffb51
JB
106552015-01-15 Joel Brobecker <brobecker@adacore.com>
10656
10657 * gdb.ada/var_arr_attrs: New testcase.
10658
5589af0e
PA
106592015-01-14 Pedro Alves <palves@redhat.com>
10660 Joel Brobecker <brobecker@adacore.com>
10661
10662 PR gdb/17525
10663 * gdb.base/bp-cmds-execution-x-script.c: New file.
10664 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10665 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10666
6c400b59
PA
106672015-01-14 Pedro Alves <palves@redhat.com>
10668
10669 PR cli/17828
10670 * gdb.base/batch-preserve-term-settings.c: New file.
10671 * gdb.base/batch-preserve-term-settings.exp: New file.
10672
e02c96a7
DE
106732015-01-13 Doug Evans <dje@google.com>
10674
10675 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10676 binary.
10677
576fd14c
JB
106782015-01-13 Joel Brobecker <brobecker@adacore.com>
10679
10680 * Makefile.in (clean mostlyclean): Do not delete *.py.
10681
04dccad0
JB
106822015-01-13 Joel Brobecker <brobecker@adacore.com>
10683
10684 * gdb.python/py-lookup-type.exp: New file.
10685
3d230f71
PA
106862015-01-12 Pedro Alves <palves@redhat.com>
10687
10688 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10689 restore GDBFLAGS before returning.
10690
7e67715d
JK
106912015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10692
10693 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10694 is_amd64_regs_target and is_x86_like_target.
10695
f2e0d4b4
DE
106962015-01-11 Doug Evans <xdje42@gmail.com>
10697
10698 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10699 is given without an explicit form.
10700 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10701 attributes.
10702 * gdb.dwarf/corrupt.exp: Ditto.
10703 * gdb.dwarf2/enum-type.exp: Ditto.
10704 * gdb.trace/entry-values.exp: Ditto.
10705 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10706
439250fb
DE
107072015-01-11 Doug Evans <xdje42@gmail.com>
10708
10709 PR gdb/15830
10710 * gdb.base/maint.exp: Remove references to "maint demangle".
10711 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10712 Add tests for explicitly specifying language to demangle.
10713 * gdb.dlang/demangle.exp: Ditto.
10714
ede9f622
PA
107152015-01-09 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.threads/non-stop-fair-events.c: New file.
10718 * gdb.threads/non-stop-fair-events.exp: New file.
10719
a7b796db
PA
107202015-01-09 Pedro Alves <palves@redhat.com>
10721
10722 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10723 the global scope. Set a breakpoint after all threads are started
10724 rather than stepping over two source lines. Expect the prompt.
10725 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10726 global.
10727 (NUM): Now 15.
10728 (main): Use threads_started_barrier to wait for all threads to
10729 start. Main thread no longer calls thread_function. Exit after
10730 180 seconds.
10731 (loop): New function.
10732 (thread_function): Wait on threads_started_barrier barrier. Call
10733 'loop' at each iteration.
10734 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10735 threads have started, instead of hardcoding number of "next"
10736 steps. Use an access watchpoint instead of a write watchpoint.
10737
9665ffdd
PA
107382015-01-09 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10741 (thread_func): Wait on barrier.
10742 (main): Wait for all threads to start before stopping GDB.
10743 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10744 global.
10745 (thread1_func, thread2_func): Wait on barrier.
10746 (main): Wait for all threads to start before stopping GDB.
10747 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10748 New global.
10749 (thread1_func, thread2_func): Wait on barrier.
10750 (main): Wait for all threads to start before stopping GDB.
10751
c945a99f
PA
107522015-01-09 Pedro Alves <palves@redhat.com>
10753
10754 * gdb.threads/attach-many-short-lived-threads.c: New file.
10755 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10756
c1a747c1
PA
107572014-01-09 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10760 instead of to thread 2.
10761 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10762 Add barrier around each pthread_create call instead of around all
10763 calls.
10764 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10765 Set a break on thread_function and have the child threads hit it
10766 one at at a time.
10767
60b3033e
PA
107682015-01-09 Pedro Alves <palves@redhat.com>
10769
10770 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10771 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10772 false.
10773 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10774 checking whether the target board is remote.
10775 * gdb.multi/multi-attach.exp: Likewise.
10776 * gdb.python/py-sync-interp.exp: Likewise.
10777 * gdb.server/ext-attach.exp: Likewise.
10778 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10779 tests that need to attach, instead of checking whether the target
10780 board is remote at the top of the file.
10781
acc018ac
YQ
107822015-01-08 Yao Qi <yao@codesourcery.com>
10783
10784 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10785
50a18af8
JK
107862015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10787
10788 Fix testcase compilation.
10789 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10790
8503d6e1
JB
107912015-01-06 Joel Brobecker <brobecker@adacore.com>
10792
10793 * gdb.python/py-type.exp: Add a couple test about empty
10794 array creation, and negative-length array creation.
10795
cc73dbcc
DE
107962015-01-02 Doug Evans <xdje42@gmail.com>
10797
10798 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10799
0300bbc7
DE
108002015-01-02 Doug Evans <dje@google.com>
10801
10802 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10803
9d85a0ec
YQ
108042014-12-29 Yao Qi <yao@codesourcery.com>
10805
10806 * gdb.trace/entry-values.exp: Update comments. Rename variable
10807 bar_call_foo to returned_from_foo.
10808
87186c6a
MMN
108092014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10810
10811 PR gdb/17394
10812 * gdb.linespec/break-asm-file.c: New file.
10813 * gdb.linespec/break-asm-file.exp: New file.
10814 * gdb.linespec/break-asm-file0.s: New file.
10815 * gdb.linespec/break-asm-file1.s: New file.
10816
1bab7383
YQ
108172014-12-18 Nigel Stephens <nigel@mips.com>
10818 Maciej W. Rozycki <macro@codesourcery.com>
10819
10820 * gdb.base/float.exp: Handle the new output from "info float" on
10821 MIPS targets.
10822
1bc1068a
JK
108232014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10824
10825 Fix MinGW compilation.
10826 * gdb.compile/compile-ops.exp: Update untested message if
10827 !skip_compile_feature_tests.
10828 * gdb.compile/compile-setjmp.exp: Likewise.
10829 * gdb.compile/compile-tls.exp: Likewise.
10830 * gdb.compile/compile.exp: Likewise.
10831 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10832 supported on this host".
10833
b6615d10
DE
108342014-12-16 Doug Evans <xdje42@gmail.com>
10835
10836 * boards/stabs.exp: New file.
10837
25dda427
AA
108382014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10839
10840 * gdb.base/completion.exp: Adjust to format changes of "maint
10841 print user-registers".
10842
bf330350
CU
108432014-12-16 Catalin Udma <catalin.udma@freescale.com>
10844
10845 PR server/17457
10846 * gdb.arch/aarch64-fp.c: New file.
10847 * gdb.arch/aarch64-fp.exp: New file.
10848
395cf596
SDJ
108492014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10850
10851 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10852 r210637, r210913, r211666, r215400, r215817).
10853
10854 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10855 * dg-extract-results.py: New file.
10856 * dg-extract-results.sh: Use it if the environment seems
10857 suitable.
10858
10859 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10860
10861 * dg-extract-results.py (parse_run): Handle warnings that
10862 are printed before a test harness is run.
10863
10864 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10865
10866 * dg-extract-results.py (Named): Remove __cmp__ method.
10867 (output_variation): Use a key to sort variation.harnesses.
10868
10869 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10870
10871 * dg-extract-results.py: For Python 3, force sys.stdout to
10872 handle surrogate escape sequences.
10873 (safe_open): New function.
10874 (output_segment, main): Use it.
10875
10876 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10877
10878 * dg-extract-results.py (Prog.result_re): Include options
10879 in test name.
10880
10881 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10882
10883 * dg-extract-results.py (output_variation): Always sort if
10884 do_sum.
10885
e882ef3c
SM
108862014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10887
10888 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10889 as long as we get pagination notifications.
10890
4992aa20
JM
108912014-12-15 Jason Merrill <jason@redhat.com>
10892
10893 * Makefile.in (check-gdb.%): Restore.
10894 * README: Mention it.
10895
c1b5a1a6
JB
108962014-12-13 Joel Brobecker <brobecker@adacore.com>
10897
10898 * gdb.ada/str_uninit: New testcase.
10899
5537b577
JK
109002014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10901
10902 PR symtab/17642
10903 * gdb.base/vla-stub-define.c: New file.
10904 * gdb.base/vla-stub.c: New file.
10905 * gdb.base/vla-stub.exp: New file.
10906
bb2ec1b3
TT
109072014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10908 Jan Kratochvil <jan.kratochvil@redhat.com>
10909 Tom Tromey <tromey@redhat.com>
10910
10911 * configure.ac: Add gdb.compile/.
10912 * configure: Regenerate.
10913 * gdb.compile/Makefile.in: New file.
10914 * gdb.compile/compile-ops.exp: New file.
10915 * gdb.compile/compile-ops.c: New file.
10916 * gdb.compile/compile-tls.c: New file.
10917 * gdb.compile/compile-tls.exp: New file.
10918 * gdb.compile/compile-constvar.S: New file.
10919 * gdb.compile/compile-constvar.c: New file.
10920 * gdb.compile/compile-mod.c: New file.
10921 * gdb.compile/compile-nodebug.c: New file.
10922 * gdb.compile/compile-setjmp-mod.c: New file.
10923 * gdb.compile/compile-setjmp.c: New file.
10924 * gdb.compile/compile-setjmp.exp: New file.
10925 * gdb.compile/compile-shlib.c: New file.
10926 * gdb.compile/compile.c: New file.
10927 * gdb.compile/compile.exp: New file.
10928 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10929
4ff709eb
TT
109302014-12-12 Tom Tromey <tromey@redhat.com>
10931
10932 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10933 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10934
6dddd6a5
DE
109352014-12-12 Doug Evans <dje@google.com>
10936
10937 * lib/gdb-python.exp (get_python_valueof): New function.
10938 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10939
71c24708
AA
109402014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10941
10942 * gdb.base/completion.exp: Add test for completion of "info
10943 registers ".
10944
3e29f34a
MR
109452014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10946
10947 * gdb.base/func-ptrs.c: New file.
10948 * gdb.base/func-ptrs.exp: New file.
10949
fc126975
SM
109502014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10951
10952 PR breakpoints/17012
10953 * gdb.base/dprintf-detach.c: New file.
10954 * gdb.base/dprintf-detach.exp: New file.
10955
0a46d518
SM
109562014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10957
10958 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10959 * lib/gdb.exp (target_is_gdbserver): New procedure.
10960
a0be3e44
DE
109612014-12-08 Doug Evans <dje@google.com>
10962
10963 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10964
df1b803a
YQ
109652014-12-05 Yao Qi <yao@codesourcery.com>
10966
10967 * gdb.guile/scm-error.exp: Remove the third argument to
10968 gdb_remote_download.
10969 * gdb.guile/scm-frame-args.exp: Likewise.
10970 * gdb.guile/scm-section-script.exp: Likewise.
10971
ddb9f679
YQ
109722014-12-05 Yao Qi <yao@codesourcery.com>
10973
10974 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10975
86e4ed39
DE
109762014-12-04 Doug Evans <dje@google.com>
10977
10978 * gdb.python/py-objfile.exp: Add tests for
10979 objfile.add_separate_debug_file.
10980
7c50a931
DE
109812014-12-04 Doug Evans <dje@google.com>
10982
10983 * lib/gdb.exp (get_build_id): New function.
10984 (build_id_debug_filename_get): Rewrite to use it.
10985 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10986
621661e3
MR
109872014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10988
10989 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10990 `method(long)', not just 0x0.
10991 * gdb.cp/nsalias.exp: Align code labels to 4.
10992 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10993 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10994 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10995 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10996 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10997 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10998
29f0c3b7
DE
109992014-12-02 Doug Evans <dje@google.com>
11000
e1e061e7 11001 PR symtab/17602
29f0c3b7 11002 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 11003 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
11004 * gdb.cp/anon-ns.exp: Update.
11005
162078c8
NB
110062014-12-02 Nick Bull <nicholaspbull@gmail.com>
11007
11008 * gdb.python/py-events.py (inferior_call_handler): New.
11009 (register_changed_handler, memory_changed_handler): New.
11010 (test_events.invoke): Register new handlers.
11011 * gdb.python/py-events.exp: Add tests for inferior call,
11012 memory_changed and register_changed events.
11013
fdb09caf
AA
110142014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11015
11016 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11017 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11018 if the linker doesn't understand this.
11019
55cfb2c4
SM
110202014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11021
11022 * gdb.python/python.exp: Change expected reply to help().
11023
9e8cd6df
YQ
110242014-12-01 Yao Qi <yao@codesourcery.com>
11025
11026 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11027 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11028 * configure: Re-generated.
11029
6c659fc2
SC
110302014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11031
11032 * gdb.cp/chained-calls.cc: New file.
11033 * gdb.cp/chained-calls.exp: New file.
11034 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11035
d7fc3181
SM
110362014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11037
11038 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11039 * gdb.dwarf2/symtab-producer.exp: Same.
11040 * gdb.gdb/python-interrupts.exp: Same.
11041 * gdb.gdb/python-selftest.exp: Same.
11042 * gdb.python/py-linetable.exp: Same.
11043 * gdb.python/py-type.exp: Same.
11044 * gdb.python/py-value-cc.exp: Same.
11045 * gdb.python/py-value.exp: Same.
11046
10e79639
YQ
110472014-11-28 Yao Qi <yao@codesourcery.com>
11048
11049 * gdb.base/break-probes.exp: Match library name prefixed with
11050 sysroot.
11051
f28a0564
SM
110522014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11053
11054 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11055 test expected output. Add parentheses for the call to print.
11056 Remove L suffix from integers.
11057
3fe1ce1d
DE
110582014-11-26 Doug Evans <dje@google.com>
11059
11060 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11061
84429e27
YQ
110622014-11-22 Yao Qi <yao@codesourcery.com>
11063
11064 * gdb.trace/entry-values.c: Remove asms.
11065 (foo): Add foo_label.
11066 (bar): Add bar_label.
11067 * gdb.trace/entry-values.exp: Remove code computing foo's
11068 length and bar's length.
11069 (Dwarf::assemble): Invoke function_range for bar and use
11070 MACRO_AT_func for foo.
11071
26741859
YQ
110722014-11-22 Yao Qi <yao@codesourcery.com>
11073
11074 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11075 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11076 Use .Lgcc43_procstart instead of gcc43.
11077
45e44d27
JB
110782014-11-21 Joel Brobecker <brobecker@adacore.com>
11079
11080 * gdb.ada/n_arr_bound: New testcase.
11081
458c8db8
SDJ
110822014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11083
11084 PR breakpoints/10737
11085 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11086 test_catch_syscall_multi_arch.
11087 (test_catch_syscall_multi_arch): New function.
11088
43f3e411
DE
110892014-11-20 Doug Evans <xdje42@gmail.com>
11090
11091 * gdb.base/maint.exp: Update expected output.
11092
0d7b2549
AA
110932014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11094
11095 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11096 4-byte instruction on S390.
11097
8908fca5
JB
110982014-11-19 Joel Brobecker <brobecker@adacore.com>
11099
11100 * gdb.ada/arr_arr: New testcase.
11101
4a46959e
JB
111022014-11-19 Joel Brobecker <brobecker@adacore.com>
11103
11104 * gdb.ada/pkd_arr_elem: New Testcase.
11105
470e2f4e
LM
111062014-11-18 Luis Machado <lgustavo@codesourcery.com>
11107
11108 * gdb.reverse/break-precsave: Expect completion message for
11109 core file reads.
11110 * gdb.reverse/consecutive-precsave.exp: Likewise.
11111 * gdb.reverse/finish-precsave.exp: Likewise.
11112 * gdb.reverse/i386-precsave.exp: Likewise.
11113 * gdb.reverse/machinestate-precsave.exp: Likewise.
11114 * gdb.reverse/sigall-precsave.exp: Likewise.
11115 * gdb.reverse/solib-precsave.exp: Likewise.
11116 * gdb.reverse/step-precsave.exp: Likewise.
11117 * gdb.reverse/until-precsave.exp: Likewise.
11118 * gdb.reverse/watch-precsave.exp: Likewise.
11119
a267f3ad
AA
111202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11121
11122 * gdb.base/bp-permanent.c: Include unistd.h.
11123 * gdb.python/py-framefilter-mi.c (main): Add return type.
11124 * gdb.python/py-framefilter.c (main): Likewise.
11125 * gdb.trace/actions-changed.c (main): Likewise.
11126
12084a9a
AA
111272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11128
11129 * gdb.mi/until.c: Add eye-catchers.
11130 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11131 line numbers.
11132
dc7e1a77
AA
111332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11134
11135 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11136 function header variants in break1.c.
11137 * gdb.base/ena-dis-br.exp: Likewise.
11138 * gdb.base/hbreak2.exp: Likewise.
11139 * gdb.reverse/until-precsave.exp: Drop references to removed
11140 non-prototype function header variants in ur1.c.
11141 * gdb.reverse/until-reverse.exp: Likewise.
11142
41c77605
PM
111432014-11-17 Petr Machata <pmachata@redhat.com>
11144
11145 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11146 ${_cu_offset_size} bytes abbrev offset.
11147
34248c3a
DE
111482014-11-15 Doug Evans <xdje42@gmail.com>
11149
11150 PR symtab/17559
11151 * gdb.base/line-symtabs.exp: New file.
11152 * gdb.base/line-symtabs.c: New file.
11153 * gdb.base/line-symtabs.h: New file.
11154
646da059
YQ
111552014-11-14 Yao Qi <yao@codesourcery.com>
11156
11157 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11158 (func): Add label func_label.
11159 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11160 Replace low_pc and high_pc with MACRO_AT_range.
11161 Replace name, low_pc and high_pc with MACRO_AT_func.
11162
9301ebe6
YQ
111632014-11-14 Yao Qi <yao@codesourcery.com>
11164
11165 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11166 Replace name, low_pc and high_pc with MACRO_AT_func.
11167
f166b542
YQ
111682014-11-14 Yao Qi <yao@codesourcery.com>
11169
11170 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11171 produce debug information.
11172 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11173
0f6e71e3
YQ
111742014-11-14 Yao Qi <yao@codesourcery.com>
11175
11176 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11177 object and get function length.
11178 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11179 with MACRO_AT_func.
11180 (top-level): Replace gdb_compile and clean_restart with
11181 prepare_for_testing.
11182 * gdb.dwarf2/main.c (main): Add label main_label.
11183
876c4df9
YQ
111842014-11-14 Yao Qi <yao@codesourcery.com>
11185
11186 * lib/dwarf.exp (function_range): New procedure.
11187 (Dwarf::_handle_macro_at_func): New procedure.
11188 (Dwarf::_handle_macro_at_range): New procedure.
11189 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11190
02ad9cf1
YQ
111912014-11-14 Yao Qi <yao@codesourcery.com>
11192
11193 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11194 (_handle_attribute): New procedure.
11195
a59add0c
AA
111962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11197
11198 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11199 * gdb.base/call-sc.c (zed): Likewise.
11200 * gdb.base/checkpoint.c (main): Likewise.
11201 * gdb.base/dump.c (main): Likewise.
11202 * gdb.base/gcore.c (main): Likewise.
11203 * gdb.base/huge.c (main): Likewise.
11204 * gdb.base/multi-forks.c (main): Likewise.
11205 * gdb.base/pr10179-a.c (main): Likewise.
11206 * gdb.base/savedregs.c (main): Likewise.
11207 * gdb.base/sigaltstack.c (main): Likewise.
11208 * gdb.base/siginfo.c (main): Likewise.
11209 * gdb.base/structs.c (zed): Likewise.
11210 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11211 * gdb.mi/mi-syn-frame.c (main): Likewise.
11212 * gdb.mi/until.c (foo, main): Likewise.
11213 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11214 * gdb.base/solib-weak.c (foo): Declare.
11215 * gdb.base/attach-twice.c: Include stdio.h.
11216 * gdb.base/weaklib1.c: Likewise.
11217 * gdb.base/weaklib2.c: Likewise.
11218 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11219 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11220 unistd.h.
11221 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11222 * gdb.mi/mi-exit-code.c: Likewise.
11223 * gdb.base/break-interp-lib.c: Include string.h.
11224 * gdb.base/coremaker.c: Likewise.
11225 * gdb.base/testenv.c: Likewise.
11226 * gdb.python/py-finish-breakpoint.c: Likewise.
11227 * gdb.base/inferior-died.c: Include sys/wait.h.
11228 * gdb.base/fileio.c: Include time.h.
11229 * gdb.base/async-shell.c: Include unistd.h.
11230 * gdb.base/dprintf-non-stop.c: Likewise.
11231 * gdb.base/info-os.c: Likewise.
11232 * gdb.mi/mi-console.c: Likewise.
11233 * gdb.mi/watch-nonstop.c: Likewise.
11234 * gdb.python/py-events.c: Likewise.
11235 * gdb.base/async.c (baz): Move up before its invocation.
11236 * gdb.base/code_elim2.c (my_global_func): Likewise.
11237 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11238 * gdb.base/advance.c (func2): Likewise.
11239
3b5d5997
AA
112402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11241
11242 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11243 variant.
11244 * gdb.base/annota3.c: Likewise.
11245 * gdb.base/async.c: Likewise.
11246 * gdb.base/average.c: Likewise.
11247 * gdb.base/call-ar-st.c: Likewise.
11248 * gdb.base/call-rt-st.c: Likewise.
11249 * gdb.base/call-sc.c: Likewise.
11250 * gdb.base/call-strs.c: Likewise.
11251 * gdb.base/ending-run.c: Likewise.
11252 * gdb.base/execd-prog.c: Likewise.
11253 * gdb.base/exprs.c: Likewise.
11254 * gdb.base/foll-exec.c: Likewise.
11255 * gdb.base/foll-fork.c: Likewise.
11256 * gdb.base/foll-vfork.c: Likewise.
11257 * gdb.base/funcargs.c: Likewise.
11258 * gdb.base/gcore.c: Likewise.
11259 * gdb.base/jump.c: Likewise.
11260 * gdb.base/langs0.c: Likewise.
11261 * gdb.base/langs1.c: Likewise.
11262 * gdb.base/langs2.c: Likewise.
11263 * gdb.base/mips_pro.c: Likewise.
11264 * gdb.base/nodebug.c: Likewise.
11265 * gdb.base/opaque0.c: Likewise.
11266 * gdb.base/opaque1.c: Likewise.
11267 * gdb.base/recurse.c: Likewise.
11268 * gdb.base/run.c: Likewise.
11269 * gdb.base/scope0.c: Likewise.
11270 * gdb.base/scope1.c: Likewise.
11271 * gdb.base/setshow.c: Likewise.
11272 * gdb.base/setvar.c: Likewise.
11273 * gdb.base/shmain.c: Likewise.
11274 * gdb.base/shr1.c: Likewise.
11275 * gdb.base/shr2.c: Likewise.
11276 * gdb.base/sigall.c: Likewise.
11277 * gdb.base/signals.c: Likewise.
11278 * gdb.base/so-indr-cl.c: Likewise.
11279 * gdb.base/solib2.c: Likewise.
11280 * gdb.base/structs.c: Likewise.
11281 * gdb.base/sum.c: Likewise.
11282 * gdb.base/vforked-prog.c: Likewise.
11283 * gdb.base/watchpoint.c: Likewise.
11284 * gdb.reverse/shr2.c: Likewise.
11285 * gdb.reverse/until-reverse.c: Likewise.
11286 * gdb.reverse/ur1.c: Likewise.
11287 * gdb.reverse/watch-reverse.c: Likewise.
11288
066a77c5
AA
112892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11290
11291 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11292 variant.
11293 * gdb.base/sepdebug.exp: Drop references to removed code.
11294
4f204ea5
AA
112952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11296
11297 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11298 variant. Preserve original line numbering.
11299 * gdb.base/list1.c: Likewise.
11300
3b377a3a
AA
113012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11302
11303 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11304 variant.
11305 * gdb.base/break1.c: Likewise.
11306 * gdb.base/break.exp: Drop references to removed code.
11307
e444df73
AA
113082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11309
11310 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11311 variant.
11312
8008f2a7
AA
113132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11314
11315 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11316
a5a06887
AA
113172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11318
11319 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11320 logic into perform_all_tests() and invoke it with and without
11321 function header prototypes.
11322 (do_function_calls): Remove conditional XFAIL for PR 5318.
11323 (rerun_and_prepare): Remove duplicate code.
11324 (perform_all_tests): New. Main logic moved here.
11325
44dba9b9
AA
113262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11327
11328 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11329 code guarded by #ifdef NO_PROTOTYPES.
11330 (t_double_many_args): Likewise.
11331 (DEF_FUNC_MANY_ARGS_1): Likewise.
11332 (DEF_FUNC_VALUES_1): Likewise.
11333 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11334 guarded by #ifdef PROTOTYPES.
11335
d1fbcd56
AA
113362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11337
11338 * gdb.mi/mi-console.c: Add eye-catcher.
11339 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11340 instead of literal line number.
11341
b0e59b8f
AA
113422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11343
11344 * gdb.base/shr2.c: Add eye-catcher.
11345 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11346 line number.
11347
78f98cca
AA
113482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11349
11350 * gdb.base/jump.c: Add eye-catchers.
11351 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11352 numbers.
11353
58fa2af0
AA
113542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11355
11356 * gdb.base/execd-prog.c: Add eye-catchers.
11357 * gdb.base/foll-exec.c: Likewise.
11358 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11359 line numbers.
11360
04e5059b
AA
113612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11362
11363 * gdb.base/ending-run.c: Add eye-catchers.
11364 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11365 literal line numbers.
11366
dbfdb174
AA
113672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11368
11369 * gdb.base/call-rt-st.c: Add eye-catchers.
11370 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11371 literal line numbers.
11372
888a2ade
AA
113732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11374
11375 * gdb.base/call-ar-st.c: Add eye-catchers.
11376 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11377 literal line numbers.
11378
6acc2dde
AA
113792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11380
11381 * gdb.base/average.c: Add eye-catchers.
11382 * gdb.base/sum.c: Likewise.
11383 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11384 regexps dynamically.
11385
9ecfcd1d
AA
113862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11387
11388 * gdb.base/solib1.c: Add eye-catchers.
11389 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11390 literal line numbers.
11391
78708b7c
PA
113922014-11-12 Pedro Alves <palves@redhat.com>
11393
11394 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11395 leader has exited.
11396
af48d08f
PA
113972014-11-12 Pedro Alves <palves@redhat.com>
11398
11399 * gdb.arch/i386-bp_permanent.c: New file.
11400 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11401 (srcfile): Set to i386-bp_permanent.c.
11402 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11403 that stepi does not execute the 'leave' instruction, instead of
11404 testing it does execute.
11405 * gdb.base/bp-permanent.c: New file.
11406 * gdb.base/bp-permanent.exp: New file.
11407
af3768e9
DE
114082014-11-10 Doug Evans <xdje42@gmail.com>
11409
11410 PR symtab/17564
11411 * gdb.base/symtab-search-order.exp: New file.
11412 * gdb.base/symtab-search-order.c: New file.
11413 * gdb.base/symtab-search-order-1.c: New file.
11414 * gdb.base/symtab-search-order-shlib-1.c: New file.
11415
9de00a4a
PA
114162014-11-07 Pedro Alves <palves@redhat.com>
11417
11418 PR gdb/17511
11419 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11420 i?86-*-linux*.
11421
e0f52461
SC
114222014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11423
11424 PR c++/17494
11425 * gdb.cp/pr17494.cc: New file.
11426 * gdb.cp/pr17494.exp: New file.
11427
6ce8c980
YQ
114282014-11-02 Yao Qi <yao@codesourcery.com>
11429
11430 * gdb.python/python.exp: Get working directory and match the
11431 output of "set extended-prompt \\w " with it.
11432
02be9a71
DE
114332014-10-30 Doug Evans <dje@google.com>
11434
11435 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11436 in objfiles.
11437 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11438 in progspaces.
11439
3bdff46b
LM
114402014-10-30 Janis Johnson <janisjo@codesourcery.com>
11441
11442 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11443 * gdb.base/realname-expand.exp: Likewise.
11444 * gdb.linespec/macro-relative.exp: Likewise.
11445
ab917dfb
PA
114462014-10-29 Pedro Alves <palves@redhat.com>
11447
11448 PR gdb/17408
11449 * gdb.threads/schedlock.c (some_function): New function.
11450 (call_function): New global.
11451 (MAYBE_CALL_SOME_FUNCTION): New macro.
11452 (thread_function): Call it.
11453 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11454 and use it instead of a global counter. Adjust all callers.
11455 (get_current_thread): Use "find current thread" for test message
11456 here rather than having all callers pass down the same string.
11457 (goto_loop): New procedure, factored out from ...
11458 (my_continue): ... this.
11459 (step_ten_loops): Change parameter from test message to command to
11460 use. Adjust.
11461 (list_count): Delete global.
11462 (check_result): New procedure, factored out from duplicate top
11463 level code.
11464 (continue tests): Wrap in with_test_prefix.
11465 (test_step): New procedure, factored out from duplicate top level
11466 code.
11467 (top level): Test "step" in combination with all scheduler-locking
11468 modes. Test "next" in combination with all scheduler-locking
11469 modes, and in combination with stepping over a function call or
11470 not.
11471 * gdb.threads/next-bp-other-thread.c: New file.
11472 * gdb.threads/next-bp-other-thread.exp: New file.
11473
d3d4baed
PA
114742014-10-29 Pedro Alves <palves@redhat.com>
11475
11476 PR python/17372
11477 * gdb.python/python.exp: Test a multi-line command that spawns
11478 interactive Python.
11479 * gdb.base/multi-line-starts-subshell.exp: New file.
11480
563e8d85
YQ
114812014-10-29 Yao Qi <yao@codesourcery.com>
11482
11483 * gdb.base/fileio.exp: Make directories on host.
11484
0ea4d52e
YQ
114852014-10-29 Yao Qi <yao@codesourcery.com>
11486
11487 * gdb.base/fileio.c (test_write): Close the file.
11488
7f5ef605
PA
114892014-10-28 Pedro Alves <palves@redhat.com>
11490
11491 PR gdb/12623
11492 * gdb.base/sigstep.c (no_handler): New global.
11493 (main): If 'no_handler is true, set the signal handlers to
11494 SIG_IGN.
11495 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11496 with_sw_watch and no_handler parameters. Handle them.
11497 (top level) <stepping over handler when stopped at a breakpoint
11498 test>: Add a test axis for testing with a software watchpoint, and
11499 another for testing with the signal handler set to SIG_IGN.
11500 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11501 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11502
abbdbd03
PA
115032014-10-28 Pedro Alves <palves@redhat.com>
11504
11505 PR gdb/17511
11506 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11507 * gdb.base/sigstep.exp (other_handler_location): New global.
11508 (advance): Support stepping into the signal handler, and running
11509 commands while in the handler.
11510 (in_handler_map): New global.
11511 (top level): In the advance test, add combinations for getting
11512 into the handler with stepping commands, and for running commands
11513 in the handler. Add comment descripting the advancei tests.
11514
1df4399f
PA
115152014-10-28 Pedro Alves <palves@redhat.com>
11516
11517 * gdb.base/sigstep.exp: Use build_executable instead of
11518 prepare_for_testing.
11519 (top level): Move code that starts GDB, runs to main and creates a
11520 display to ...
11521 (restart): ... this new procedure.
11522 (top level): Move backtrace from signal handler test to ...
11523 (validate_backtrace): ... this new procedure.
11524 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11525 with_test_prefix. Always restart GDB.
11526 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11527 with_test_prefix. Always restart GDB. No need to delete
11528 breakpoints after the test.
11529 (test_skip_handler): Remove prefix parameter.
11530 (skip_over_handler, breakpoint_to_handler)
11531 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11532 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11533 restart GDB. No need to delete breakpoints after the test.
11534 (top level): Use foreach to call the test procedures with
11535 different commands.
11536
a5b6e449
PA
115372014-10-28 Pedro Alves <palves@redhat.com>
11538
11539 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11540 instead of GNATS numbers.
11541 * gdb.base/sigbpt.exp: Likewise.
11542 * gdb.base/siginfo.exp: Likewise.
11543 * gdb.base/sigstep.exp: Likewise.
11544
e5f8a7cc
PA
115452014-10-27 Pedro Alves <palves@redhat.com>
11546
11547 * gdb.base/sigstep.c (dummy): New global.
11548 (main): Issue a couple writes to the new global.
11549 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11550 procedures.
11551 (skip_over_handler): Use test_skip_handler.
11552 (top level): Call skip_over_handler for stepi and nexti too.
11553 (breakpoint_over_handler): Use test_skip_handler.
11554 (top level): Call breakpoint_over_handler for stepi and nexti too.
11555
763905a3
YQ
115562014-10-27 Yao Qi <yao@codesourcery.com>
11557
11558 * gdb.trace/tfile.c (adjust_function_address)
11559 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11560 function descriptor.
11561
6f259a23
DB
115622014-10-24 Don Breazeal <donb@codesourcery.com>
11563
11564 * gdb.base/foll-fork.exp (test_follow_fork,
11565 catch_fork_child_follow): Check for updated fork messages emitted
11566 from infrun.c.
11567 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11568 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11569 vfork_and_exec_child_follow_through_step): Check for updated vfork
11570 messages emitted from infrun.c.
11571
09dd9a69
PA
115722014-10-24 Pedro Alves <palves@redhat.com>
11573
11574 * gdb.base/corefile.exp: Remove references to ultrix.
11575 * gdb.base/interrupt.exp: Likewise.
11576 * gdb.base/whatis.exp: Likewise.
11577 * gdb.gdb/selftest.exp: Likewise.
11578 * gdb.threads/manythreads.exp: Likewise.
11579 * gdb.threads/print-threads.exp: Likewise.
11580 * gdb.threads/pthreads.exp:: Likewise.
11581 * gdb.threads/schedlock.exp: Likewise.
11582
3433cfa5
SC
115832014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11584
11585 * gdb.cp/non-trivial-retval.cc: Add a test case.
11586 * gdb.cp/non-trivial-retval.exp: Add a test.
11587
092f880b
YQ
115882014-10-20 Yao Qi <yao@codesourcery.com>
11589
11590 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11591 * gdb.python/py-objfile-script-gdb.py: New file.
11592 * gdb.python/py-objfile-script.exp: Update reference to
11593 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11594 of remote_download. Remove the dest file.
11595
acbdb7f3
YQ
115962014-10-20 Yao Qi <yao@codesourcery.com>
11597
11598 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11599 * gdb.base/step-line.exp: Likewise.
11600 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11601 * gdb.dwarf2/dw2-basic.exp: Likewise.
11602 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11603 * gdb.dwarf2/dw2-filename.exp: Likewise.
11604 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11605 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11606 * gdb.dwarf2/dw2-producer.exp: Likewise.
11607 * gdb.dwarf2/mac-fileno.exp: Likewise.
11608 * gdb.python/py-frame-args.exp: Likewise.
11609 * gdb.python/py-framefilter.exp: Likewise.
11610 * gdb.python/py-mi.exp: Likewise.
11611 * gdb.python/py-objfile-script.exp: Likewise
11612 * gdb.python/py-pp-integral.exp: Likewise.
11613 * gdb.python/py-pp-re-notag.exp: Likewise.
11614 * gdb.python/py-prettyprint.exp: Likewise.
11615 * gdb.python/py-section-script.exp: Likewise.
11616 * gdb.python/py-typeprint.exp: Likewise.
11617 * gdb.python/py-xmethods.exp: Likewise.
11618 * gdb.stabs/weird.exp: Likewise.
11619 * gdb.xml/tdesc-regs.exp: Likewise.
11620
bd286a29
KCY
116212014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11622
11623 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11624 (out_cu): Use addr_len for the size of addresses.
11625 (out_line): Likewise. Size DW_LNE_set_address instruction
11626 according to addr_len.
11627 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11628 (FUNC): Add START_INSNS to definition.
11629
673dc4a0
YQ
116302014-10-18 Yao Qi <yao@codesourcery.com>
11631
11632 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11633 gdb_has_argv0 return true.
11634 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11635 check [target_info exists noargs], check [gdb_has_argv0]
11636 instead.
11637 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11638 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11639 procedures.
11640
4ffbba72
DE
116412014-10-17 Doug Evans <dje@google.com>
11642
11643 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11644 event.
11645 * gdb.python/py-events.py: Add clear_objfiles event.
11646
d096d8c1
DE
116472014-10-17 Doug Evans <dje@google.com>
11648
11649 * gdb.python/py-objfile.exp: Test progspace attribute.
11650
a80db015
LM
116512014-10-17 Luis Machado <lgustavo@codesourcery.com>
11652
11653 * gdb.guile/scm-breakpoint.exp: Do not assume any
11654 directory separators when matching source file paths.
11655 * gdb.python/py-breakpoint.exp: Likewise.
11656 * gdb.reverse/break-precsave.exp: Likewise.
11657 * gdb.reverse/break-reverse.exp: Likewise.
11658 * gdb.reverse/consecutive-precsave.exp: Likewise.
11659 * gdb.reverse/finish-precsave.exp: Likewise.
11660 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11661 * gdb.reverse/finish-reverse.exp: Likewise.
11662 * gdb.reverse/i386-precsave.exp: Likewise.
11663 * gdb.reverse/i387-env-reverse.exp: Likewise.
11664 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11665 * gdb.reverse/machinestate-precsave.exp: Likewise.
11666 * gdb.reverse/machinestate.exp: Likewise.
11667 * gdb.reverse/sigall-precsave.exp: Likewise.
11668 * gdb.reverse/solib-precsave.exp: Likewise.
11669 * gdb.reverse/step-precsave.exp: Likewise.
11670 * gdb.reverse/until-precsave.exp: Likewise.
11671 * gdb.reverse/watch-precsave.exp: Likewise.
11672 * gdb.reverse/watch-reverse.exp: Likewise.
11673
b22089ab
YQ
116742014-10-17 Yao Qi <yao@codesourcery.com>
11675
11676 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11677 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11678
6c4486e6
PA
116792014-10-17 Pedro Alves <palves@redhat.com>
11680
11681 PR gdb/17471
11682 * gdb.base/bg-execution-repeat.c: New file.
11683 * gdb.base/bg-execution-repeat.exp: New file.
11684
0ff33695
PA
116852014-10-17 Pedro Alves <palves@redhat.com>
11686
11687 PR gdb/17300
11688 * gdb.base/continue-all-already-running.c: New file.
11689 * gdb.base/continue-all-already-running.exp: New file.
11690
6fdebc3d
PA
116912014-10-17 Pedro Alves <palves@redhat.com>
11692
11693 PR gdb/17472
11694 * gdb.base/annota-input-while-running.c: New file.
11695 * gdb.base/annota-input-while-running.exp: New file.
11696
32a8097b
PA
116972014-10-17 Pedro Alves <palves@redhat.com>
11698
11699 * gdb.base/callfuncs.exp: emove references to osf.
11700 * gdb.base/sigall.exp: Likewise.
11701 * gdb.gdb/selftest.exp: Likewise.
11702 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11703 * gdb.mi/non-stop.c: Likewise.
11704 * gdb.mi/pthreads.c: Likewise.
11705 * gdb.reverse/sigall-precsave.exp: Likewise.
11706 * gdb.reverse/sigall-reverse.exp: Likewise.
11707 * gdb.threads/pthreads.c: Likewise.
11708 * gdb.threads/pthreads.exp: Likewise.
11709
7a3517ff
YQ
117102014-10-17 Yao Qi <yao@codesourcery.com>
11711
11712 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11713 check 'target_info exists noargs'.
11714 (test_command_prompt_position): Likewise.
11715 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11716 Remove "set args".
11717 (progvar_simple_while_test): Likewise.
11718 (progvar_complex_if_while_test): Likewise.
11719 (if_while_breakpoint_command_test): Likewise.
11720 (infrun_breakpoint_command_test): Likewise.
11721 (breakpoint_command_test): Likewise.
11722 (watchpoint_command_test): Likewise.
11723 (bp_deleted_in_command_test): Likewise.
11724 (temporary_breakpoint_commands): Likewise.
11725
bb99c472
YQ
117262014-10-16 Yao Qi <yao@codesourcery.com>
11727
11728 * gdb.base/remotetimeout.exp: Remove noargs checking.
11729
7c16b83e
PA
117302014-10-15 Pedro Alves <palves@redhat.com>
11731
11732 PR breakpoints/9649
11733 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11734 * gdb.base/breakpoint-in-ro-region.exp
11735 (probe_target_hardware_step): New procedure.
11736 (top level): Probe hardware stepping and hardware breakpoint
11737 support. Test stepping through a read-only region, with both
11738 "breakpoint auto-hw" on and off and both "always-inserted" on and
11739 off.
11740
35a49624
IB
117412014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11742
11743 * gdb.dlang/demangle.exp: Update for demangling changes.
11744
2d1c107c
SC
117452014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11746
11747 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11748 * gdb.cp/non-trivial-retval.exp: Add new tests.
11749
778811d5
SC
117502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11751
11752 PR c++/13403
11753 PR c++/15154
11754 * gdb.cp/non-trivial-retval.cc: New file.
11755 * gdb.cp/non-trivial-retval.exp: New file.
11756
10c5f0a8
YQ
117572014-10-15 Yao Qi <yao@codesourcery.com>
11758
11759 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11760 remote host.
11761
65d7b369
YQ
117622014-10-15 Yao Qi <yao@codesourcery.com>
11763
11764 * gdb.python/py-symbol.exp: Match file base name if host is
11765 remote, otherwise match file name with dir name.
11766 * gdb.python/py-symtab.exp: Likewise.
11767 * gdb.python/python.exp: Likewise.
11768
46dc1394
YQ
117692014-10-15 Yao Qi <yao@codesourcery.com>
11770
11771 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11772 pattern.
11773 * gdb.python/py-symtab.exp: Likewise.
11774 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11775 locationn.
11776
c40cc657
JB
117772014-10-14 Joel Brobecker <brobecker@adacore.com>
11778
11779 * gdb.ada/addr_arith: New testcase.
11780
2abf49e1
MR
117812014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11782
11783 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11784 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11785 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11786 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11787
f7088df3
SDJ
117882014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11789
11790 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11791 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11792 * gdb.arch/stap-eval-lang-ada.exp: New file.
11793
4dc06805
YQ
117942014-10-14 Yao Qi <yao@codesourcery.com>
11795
11796 * gdb.mi/mi-var-child.c (nothing1): New function.
11797 (nothing2): New function.
11798 (do_children_tests): Set function pointers by nothing1 and
11799 nothing2.
11800 * gdb.mi/mi-var-child.exp: Step over new added statements.
11801 Update test to match the new output.
11802 * gdb.mi/var-cmd.c (nothing1): New function.
11803 (nothing2): New function.
11804 (do_children_tests): Set function pointers by nothing1 and
11805 nothing2.
11806 * gdb.mi/mi-var-display.exp: Update test to match output.
11807 Step to the line specified by $line_dct_nothing.
11808 Increase the number of lines to step.
11809
46a93de2
YQ
118102014-10-14 Yao Qi <yao@codesourcery.com>
11811
11812 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11813 tests.
11814 * gdb.mi/mi2-var-child.exp: Likewise.
11815
14ea52ee
DE
118162014-10-13 Doug Evans <dje@google.com>
11817
11818 * gdb.python/py-objfile.exp: Change name of file name test.
11819
e5c6e92b
DE
118202014-10-13 Doug Evans <dje@google.com>
11821
11822 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11823 from the start of the CU.
11824
c780cc2f
JK
118252014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11826 Yao Qi <yao@codesourcery.com>
11827
11828 Fix "save breakpoints" for "catch" command.
11829 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11830 Remove -nonewline. Match also the added "main" line.
11831
99894e11
JK
118322014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11833
11834 Fix "save breakpoints" for "disable $bpnum" command.
11835 * gdb.base/save-bp.c (main): Add label.
11836 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11837
6e1ac5a3
JK
118382014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11839
11840 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11841
754dd2b0
YQ
118422014-10-11 Yao Qi <yao@codesourcery.com>
11843
11844 * gdb.server/server-kill.exp: Execute command
11845 "set remote trace-status-packet on" before "tstatus".
11846
f90183d7
YQ
118472014-10-11 Yao Qi <yao@codesourcery.com>
11848
11849 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11850 (main): Call getppid.
11851 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11852 and continue to it. Read variable "server_pid".
11853
bf40a607
YQ
118542014-10-11 Yao Qi <yao@codesourcery.com>
11855
11856 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11857
052ca370
YQ
118582014-10-11 Yao Qi <yao@codesourcery.com>
11859
11860 * gdb.threads/thread-find.exp: Don't execute command
11861 "info threads".
11862 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11863 * gdb.threads/linux-dp.exp: Don't check the condition
11864 $threads_created equals to zero.
11865
3831839c
PA
118662014-10-10 Pedro Alves <palves@redhat.com>
11867
11868 * gdb.base/bigcore.exp: Remove references to IRIX.
11869 * gdb.base/funcargs.exp: Likewise.
11870 * gdb.base/interrupt.exp: Likewise.
11871 * gdb.base/mips_pro.exp: Likewise.
11872 * gdb.base/nodebug.exp: Likewise.
11873 * gdb.base/setvar.exp: Likewise.
11874 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11875
8b9a549d
PA
118762014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11877 Pedro Alves <palves@redhat.com>
11878
11879 PR symtab/14466
11880 * gdb.base/vdso-warning.c: New file.
11881 * gdb.base/vdso-warning.exp: New file.
11882
d48ba5e8
DE
118832014-10-02 Doug Evans <dje@google.com>
11884
11885 * gdb.base/structs.c (main): Don't run forever.
11886
2278c276
PA
118872014-10-02 Pedro Alves <palves@redhat.com>
11888
11889 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11890 (top level) <stop threads 1, stop threads 2>: Use it.
11891
b57bacec
PA
118922014-10-02 Pedro Alves <palves@redhat.com>
11893
11894 * gdb.threads/break-while-running.exp (test): Add new
11895 'update_thread_list' argument. Skip "info threads" if false.
11896 (top level): Add new 'update_thread_list' axis.
11897
13fd3ff3
PA
118982014-10-02 Pedro Alves <palves@redhat.com>
11899
11900 PR breakpoints/17431
11901 * gdb.base/execl-update-breakpoints.c: New file.
11902 * gdb.base/execl-update-breakpoints.exp: New file.
11903
0fec99e8
PA
119042014-10-01 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.base/breakpoint-in-ro-region.c: New file.
11907 * gdb.base/breakpoint-in-ro-region.exp: New file.
11908
2ddf4301
SM
119092014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11910
11911 * gdb.mi/mi-exit-code.exp: New file.
11912 * gdb.mi/mi-exit-code.c: New file.
11913
6a5f3f43
YQ
119142014-09-30 Yao Qi <yao@codesourcery.com>
11915
11916 * lib/prelink-support.exp (build_executable_own_libs): Error if
11917 the target isn't native.
11918
345bcc73
YQ
119192014-09-30 Yao Qi <yao@codesourcery.com>
11920
11921 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11922 false.
11923
a25a5a45
PA
119242014-09-22 Pedro Alves <palves@redhat.com>
11925
11926 * gdb.threads/break-while-running.exp: New file.
11927 * gdb.threads/break-while-running.c: New file.
11928
00ba3162
YQ
119292014-09-19 Yao Qi <yao@codesourcery.com>
11930
11931 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11932 Invoke test. Restart GDB with --readnow and invoke test again.
11933
c3b7b696
YQ
119342014-09-19 Yao Qi <yao@codesourcery.com>
11935
11936 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11937 proc set_breakpoint_on_gcd_function. Invoke
11938 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11939 invoke set_breakpoint_on_gcd_function again.
11940
2b4fd423
DE
119412014-09-18 Doug Evans <dje@google.com>
11942
11943 * gdb.dwarf2/symtab-producer.exp: New file.
11944
a5947601
SDJ
119452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11946
11947 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11948 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11949 * gdb.base/global-var-nested-by-dso.c: Likewise.
11950 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11951
91c19059
SDJ
119522014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11953 Pedro Alves <palves@redhat.com>
11954
11955 * gdb.base/watch-bitfields.exp: Pass string other than test file
11956 name to prepare_for_testing.
11957 (watch): New procedure.
11958 (expect_watchpoint): Use with_test_prefix.
11959 (top level): Factor out tests to ...
11960 (test_watch_location, test_regular_watch): ... these new
11961 procedures, and use with_test_prefix and gdb_continue_to_end.
11962
bb9d5f81
PP
119632014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11964
11965 PR breakpoints/12526
11966 * gdb.base/watch-bitfields.exp: New file.
11967 * gdb.base/watch-bitfields.c: New file.
11968
635856f5
PA
119692014-09-16 Pedro Alves <palves@redhat.com>
11970
11971 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11972 software and hardware addresses, not software address against
11973 itself.
11974
7280ceea
PA
119752014-09-16 Pedro Alves <palves@redhat.com>
11976
11977 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11978 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11979
428b16bd
PA
119802014-09-16 Pedro Alves <palves@redhat.com>
11981
11982 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11983 files.
11984 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11985 "*-*-vxworks*" throughout.
11986 * gdb.base/break.exp: Likewise.
11987 * gdb.base/default.exp: Likewise.
11988 * gdb.base/scope.exp: Likewise.
11989 * gdb.base/sepdebug.exp: Likewise.
11990 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11991 throughout.
11992 * gdb.base/run.c: Likewise.
11993 * gdb.base/sepdebug.c: Likewise.
11994 * gdb.hp/gdb.aCC/run.c: Likewise.
11995 * gdb.reverse/until-reverse.c: Likewise.
11996 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11997
666d413c
YQ
119982014-09-16 Yao Qi <yao@codesourcery.com>
11999
12000 * boards/local-remote-host-native.exp: New file.
12001
57cbd724
DE
120022014-09-14 Doug Evans <xdje42@gmail.com>
12003
12004 * gdb.threads/queue-signal.c (thread_count): New variable.
12005 (thread_count_mutex, thread_count_condvar): New variables.
12006 (incr_thread_count, wait_all_threads_running): New functions.
12007 (main): Wait for all threads to be in their thread functions.
12008
81219e53
DE
120092014-09-13 Doug Evans <xdje42@gmail.com>
12010
12011 * gdb.threads/queue-signal.c: New file.
12012 * gdb.threads/queue-signal.exp: New file.
12013
3714cea7
DE
120142014-09-13 Doug Evans <xdje42@gmail.com>
12015
12016 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12017 be consistent with what default_gdb_init uses.
12018 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12019 the plain text of the prompt. Add some logging printfs.
12020 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12021
fa43b1d7
PA
120222014-09-12 Pedro Alves <palves@redhat.com>
12023
12024 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12025 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12026 * gdb.arch/i386-size-overlap.exp: Likewise.
12027 * gdb.arch/i386-size.exp: Likewise.
12028 * gdb.arch/i386-unwind.exp: Likewise.
12029 * gdb.base/a2-run.exp: Likewise.
12030 * gdb.base/break.exp: Likewise.
12031 * gdb.base/charset.exp: Likewise.
12032 * gdb.base/chng-syms.exp: Likewise.
12033 * gdb.base/commands.exp: Likewise.
12034 * gdb.base/dbx.exp: Likewise.
12035 * gdb.base/find.exp: Likewise.
12036 * gdb.base/funcargs.exp: Likewise.
12037 * gdb.base/jit-simple.exp: Likewise.
12038 * gdb.base/reread.exp: Likewise.
12039 * gdb.base/sepdebug.exp: Likewise.
12040 * gdb.base/step-bt.exp: Likewise.
12041 * gdb.cp/mb-inline.exp: Likewise.
12042 * gdb.cp/mb-templates.exp: Likewise.
12043 * gdb.objc/basicclass.exp: Likewise.
12044 * gdb.threads/killed.exp: Likewise.
12045
9d9bf2df
EBM
120462014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12047
12048 PR tdep/17379
12049 * gdb.arch/powerpc-stackless.S: New file.
12050 * gdb.arch/powerpc-stackless.exp: New file.
12051
1cf2f1b0
JK
120522014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12053
12054 * gdb.base/attach.c: Include unistd.h.
12055 (main): Call alarm. Add label postloop.
12056 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12057 gdb_breakpoint, gdb_continue_to_breakpoint.
12058 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12059
98880d46
PA
120602014-09-11 Pedro Alves <palves@redhat.com>
12061
12062 PR gdb/17347
12063 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12064 * gdb.base/attach.exp (test_command_line_attach_run): New
12065 procedure.
12066 (top level): Call it.
12067
4c92ff2c
PA
120682014-09-11 Pedro Alves <palves@redhat.com>
12069
12070 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12071 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12072 (do_command_attach_tests): Use spawn_wait_for_attach.
12073 * gdb.base/solib-overlap.exp: Likewise.
12074 * gdb.multi/multi-attach.exp: Likewise.
12075 * gdb.python/py-prompt.exp: Likewise.
12076 * gdb.python/py-sync-interp.exp: Likewise.
12077 * gdb.server/ext-attach.exp: Likewise.
12078
3adc1a7d
GKB
120792014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12080
12081 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12082 command in testcase. Simplify testcase.
12083
96334934
JB
120842014-09-10 Joel Brobecker <brobecker@adacore.com>
12085
12086 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12087
eb479039
JB
120882014-09-10 Joel Brobecker <brobecker@adacore.com>
12089
12090 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12091
deede10c
JB
120922014-09-10 Joel Brobecker <brobecker@adacore.com>
12093
12094 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12095
7828a5f5
JB
120962014-09-10 Joel Brobecker <brobecker@adacore.com>
12097
12098 * gdb.dwarf2/dynarr-ptr.c: New file.
12099 * gdb.dwarf2/dynarr-ptr.exp: New file.
12100
33aeebcf
MR
121012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12102
12103 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12104 of 30 rather than hardcoding 120 for a slow test case. Take the
12105 `gdb,timeout' target setting into account for this calculation.
12106 Don't extend the timeout for the test cases that don't need it.
12107
7b415901
MR
121082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12109
12110 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12111 a factor of 2 for a slow test case. Take the `gdb,timeout'
12112 target setting into account for this calculation.
12113 * gdb.reverse/until-precsave.exp: Increase the timeout by
12114 a factor of 15 and 3 respectively rather than adding 120
12115 for a pair of slow test cases. Take the `gdb,timeout'
12116 target setting into account for this calculation.
12117
4a40f85a
MR
121182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12119
12120 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12121 timeout, don't pass one down to gdb_expect.
12122 (gdb_expect): Rework timeout selection.
12123
09635af7
MR
121242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12125
12126 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12127 exception on timeout.
12128 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12129 (gdbserver_start_extended): Catch any `gdbserver_start' error
12130 exceptions.
12131 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12132 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12133 `gdbserver_gdb_load' error exceptions.
12134
2bdd10b7
MR
121352014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12136
12137 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12138 120 on waiting for the TCP socket to open.
12139
316935f0
DE
121402014-09-09 Doug Evans <xdje42@gmail.com>
12141
12142 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12143 _caller_matches, _any_caller_is, _any_caller_matches.
12144
83740597
DE
121452014-09-09 Doug Evans <xdje42@gmail.com>
12146
12147 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12148
4c122fc3
YQ
121492014-09-09 Yao Qi <yao@codesourcery.com>
12150
12151 * gdb.mi/mi-var-display.exp: Set print symbol off.
12152
a9f116cb
GKB
121532014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12154
12155 PR gdb/17035
12156 * gdb.base/commands.exp: Add tests to verify user-defined
12157 commands with empty bodies.
12158 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12159 python commands in `show user command`.
12160 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12161 scheme commands in `show user command`.
12162
c75bd3a2
JK
121632014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12164
12165 PR python/17355
12166 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12167 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12168 * gdb.python/py-framefilter-invalidarg.exp: New file.
12169 * gdb.python/py-framefilter-invalidarg.py: New file.
12170
faa42425
DE
121712014-09-06 Doug Evans <xdje42@gmail.com>
12172
12173 PR 15276
12174 * gdb.python/py-caller-is.c: New file.
12175 * gdb.python/py-caller-is.exp: New file.
12176
474ca4f6
SDJ
121772014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12178
12179 PR gdb/17235
12180 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12181 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12182
eb0b0463
SDJ
121832014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12184
12185 PR fortran/17237
12186 * gdb.fortran/print-formatted.exp: New file.
12187 * gdb.fortran/print-formatted.f90: Likewise.
12188
5f3b99cf
SS
121892014-09-03 Sasha Smundak <asmundak@google.com>
12190
12191 * gdb.python/py-frame.exp: Test Frame.read_register.
12192
7d793aa9
SDJ
121932014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12194
12195 PR python/16699
12196 * gdb.python/py-completion.exp: New file.
12197 * gdb.python/py-completion.py: Likewise.
12198
fb0576e9
DE
121992014-08-28 Doug Evans <dje@google.com>
12200
12201 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12202 eax,etc. are live with values set by gdb and thus the compiler can't
12203 use them.
12204 * gdb.arch/i386-pseudo.c (main): Ditto.
12205
ee92b0dd
DE
122062014-08-27 Doug Evans <dje@google.com>
12207
12208 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12209
6649db35
DE
122102014-08-25 Doug Evans <dje@google.com>
12211
12212 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12213 (main): Ditto.
12214
564b7600
DE
122152014-08-25 Doug Evans <dje@google.com>
12216
12217 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12218
3881fb67
YQ
122192014-08-24 Yao Qi <yao@codesourcery.com>
12220
12221 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12222 symbol off.
12223 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12224
a05a36a5
DE
122252014-08-22 Doug Evans <dje@google.com>
12226
12227 PR 17276
12228 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12229 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12230 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12231
7c343b48
YQ
122322014-08-22 Yao Qi <yao@codesourcery.com>
12233
12234 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12235 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12236 * gdb.python/python.exp: Likewise. Use .py file on the host
12237 instead of the build.
12238
22fd09ae
JK
122392014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12240
12241 * gdb.threads/gcore-stale-thread.c: New file.
12242 * gdb.threads/gcore-stale-thread.exp: New file.
12243
a8454a7c
PA
122442014-08-21 Pedro Alves <palves@redhat.com>
12245
12246 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12247 * gdb.base/gcore-relro-pie.exp: Likewise.
12248 * gdb.base/gcore-relro.exp: Likewise.
12249 * gdb.base/gcore.exp: Likewise.
12250 * gdb.base/print-symbol-loading.exp: Likewise.
12251 * gdb.threads/gcore-thread.exp: Likewise.
12252 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12253
2a31c623
PA
122542014-08-20 Pedro Alves <palves@redhat.com>
12255 Jan Kratochvil <jan.kratochvil@redhat.com>
12256
12257 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12258 configure.
12259 (EXPECT): Handle READ1 being set.
12260 (all): Depend on EXTRA_RULES.
12261 (check-read1, expect-read1, read1.so, read1): New rules.
12262 * README (Testsuite Parameters): Document the READ1 make variable.
12263 (Race detection): New section.
12264 * configure: Regenerate.
12265 * configure.ac: If build==host==target, and running under a
12266 GNU/glibc system, add read1 to the extra Makefile rules.
12267 (EXTRA_RULES): AC_SUBST it.
12268 * lib/read1.c: New file.
12269
d36430db
JB
122702014-08-20 Joel Brobecker <brobecker@adacore.com>
12271
12272 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12273 the handling of variables declared as a typedef to an array
12274 which a DW_AT_data_location attribute.
12275
9a0dc9e3
PA
122762014-08-19 Andrew Burgess <aburgess@broadcom.com>
12277 Pedro Alves <palves@redhat.com>
12278
12279 PR symtab/14604
12280 PR symtab/14605
12281 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12282 gdb_test.
12283
0718a8da
PA
122842014-08-19 Pedro Alves <palves@redhat.com>
12285
12286 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12287
13b448cd
YQ
122882014-08-19 Yao Qi <yao@codesourcery.com>
12289
12290 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12291 right line.
12292
1cbf5077
DB
122932014-08-18 David Blaikie <dblaikie@gmail.com>
12294
12295 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12296
bf0fae19
JB
122972014-08-18 Joel Brobecker <brobecker@adacore.com>
12298
12299 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12300 attribute in array range.
12301
3c8c5dcc
JB
123022014-08-18 Joel Brobecker <brobecker@adacore.com>
12303
12304 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12305
e66d4446
SC
123062014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12307
12308 PR c++/17132
12309 * gdb.cp/pr17132.cc: New file.
12310 * gdb.cp/pr17132.exp: New file.
12311
940df408
SC
123122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12313
12314 * gdb.python/py-xmethods.py (A_getarrayind)
12315 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12316 Use 'print' with function call syntax.
12317 (E_method_matcher.match): Fix tab vs space indentation mixup.
12318
ebcc6c3a
YQ
123192014-08-15 Yao Qi <yao@codesourcery.com>
12320
12321 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12322 false.
12323
775e0f04
YQ
123242014-08-15 Yao Qi <yao@codesourcery.com>
12325
12326 * gdb.cp/casts.exp: Set print symbol off.
12327 * gdb.cp/class2.exp: Likewise.
12328 * gdb.cp/overload.exp: Likewise.
12329 * gdb.cp/templates.exp: Likewise.
12330
d769e349
DE
123312014-08-11 Doug Evans <dje@google.com>
12332
12333 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12334 (test_load_shlib): Update.
12335
20c6f1e1
YQ
123362014-08-09 Yao Qi <yao@codesourcery.com>
12337
12338 * gdb.base/display.exp: Invoke is_address_zero_readable.
12339 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12340 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12341 * gdb.base/hbreak-unmapped.exp: Return if
12342 is_address_zero_readable returns true.
12343 * gdb.base/signest.exp: Likewise.
12344 * gdb.base/signull.exp: Likewise.
12345 * gdb.base/sigbpt.exp: Likewise.
12346 * gdb.guile/scm-disasm.exp: Do the test if
12347 is_address_zero_readable returns false.
12348 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12349 * gdb.python/py-arch.exp: Likewise.
12350 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12351 * lib/gdb.exp (is_address_zero_readable): New proc.
12352
5792e8e3
YQ
123532014-08-09 Yao Qi <yao@codesourcery.com>
12354
12355 PR testsuite/13443
12356 * gdb.mi/mi-var-display.exp: Make test messages unique.
12357
3cecbbbe
TT
123582014-08-04 Tom Tromey <tromey@redhat.com>
12359
12360 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12361 target 0".
12362
00b51ff5
TT
123632014-08-04 Tom Tromey <tromey@redhat.com>
12364
12365 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12366 "target_resume".
12367
6908c509
JB
123682014-08-01 Joel Brobecker <brobecker@adacore.com>
12369
12370 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12371 inner_vla_struct_object_size.
12372 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12373 as xfail.
12374
cc6563d2
PA
123752014-07-30 Pedro Alves <palves@redhat.com>
12376
12377 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12378 comment.
12379
7e09a223
YQ
123802014-07-29 Yao Qi <yao@codesourcery.com>
12381
12382 PR gdb/17206
12383 * gdb.base/until-nodebug.exp: New.
12384
7ebdbe92
DE
123852014-07-28 Doug Evans <xdje42@gmail.com>
12386
12387 PR guile/17203
12388 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12389 previously existing parameter, and previously ambiguously spelled
12390 parameter.
12391
fdb1adc6
WN
123922014-07-28 Will Newton <will.newton@linaro.org>
12393
12394 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12395
186fcde0
DE
123962014-07-26 Ludovic Courtès <ludo@gnu.org>
12397 Doug Evans <xdje42@gmail.com>
12398
12399 PR guile/17146
12400 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12401
70509625
PA
124022014-07-25 Pedro Alves <palves@redhat.com>
12403
12404 * gdb.threads/signal-command-handle-nopass.c: New file.
12405 * gdb.threads/signal-command-handle-nopass.exp: New file.
12406 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12407 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12408 * gdb.threads/signal-delivered-right-thread.c: New file.
12409 * gdb.threads/signal-delivered-right-thread.exp: New file.
12410
c3f814a1
PA
124112014-07-25 Pedro Alves <palves@redhat.com>
12412
12413 * gdb.base/double-prompt-target-event-error.exp
12414 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12415 match.
12416 (cancel_pagination_in_target_event): Rework double prompt
12417 detection.
12418 * gdb.base/paginate-after-ctrl-c-running.exp
12419 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12420 <return>' match.
12421 * gdb.base/paginate-bg-execution.exp
12422 (test_bg_execution_pagination_return)
12423 (test_bg_execution_pagination_cancel): Remove '-notransfer
12424 <return>' matches.
12425 * gdb.base/paginate-execution-startup.exp
12426 (test_fg_execution_pagination_return)
12427 (test_fg_execution_pagination_cancel): Remove '-notransfer
12428 <return>' matches.
12429 * gdb.base/paginate-inferior-exit.exp
12430 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12431 match.
12432 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12433 * lib/gdb.exp (pagination_prompt): Run text through
12434 string_to_regexp.
12435 (gdb_test_multiple): Match $pagination_prompt instead of
12436 "<return>".
12437 (string_to_regexp): Move to lib/gdb-utils.exp.
12438
e214cf6c
JK
124392014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12440
12441 * gdb.arch/amd64-entry-value-paramref.S: New file.
12442 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12443 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12444 * gdb.arch/amd64-optimout-repeat.S: New file.
12445 * gdb.arch/amd64-optimout-repeat.c: New file.
12446 * gdb.arch/amd64-optimout-repeat.exp: New file.
12447
17d0c5c8
JK
124482014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12449
12450 PR gdb/17170
12451 * gdb.base/statistics.exp: New file.
12452
b8b8facf
DE
124532014-07-17 Doug Evans <dje@google.com>
12454
74b49205 12455 PR gdb/17170
b8b8facf
DE
12456 * gdb.base/maint.exp: Update testing of per-command stats.
12457
1b5d0ab3
PA
124582014-07-16 Pedro Alves <palves@redhat.com>
12459
12460 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12461 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12462 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12463 (tfile_write_buf): New functions.
12464 (add_memory_block): Rewrite using the above.
12465 (adjust_function_address): New function.
12466 (FUNCTION_ADDRESS): New macro.
12467 (write_basic_trace_file): Remove short_x local, and use
12468 tfile_write_16. Change type of func_addr local to unsigned long
12469 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12470 here. Cast argument of add_memory_block to char pointer.
12471 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12472 (main): Remove parameters.
12473 * gdb.trace/tfile.exp: Remove nowarnings.
12474
4d974e88
SM
124752014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12476
12477 * gdb.base/debug-expr.exp: Test string evaluation with
12478 "debug expression" on.
12479
41e99568
PA
124802014-07-15 Pedro Alves <palves@redhat.com>
12481
12482 * gdb.base/reread.exp: Use clean_restart.
12483
487d9753
PL
124842014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12485
12486 * gdb.arch/avr-flash-qualifer.c: New.
12487 * gdb.arch/avr-flash-qualifer.exp: New.
12488
cc1c52ad
PA
124892014-07-14 Pedro Alves <palves@redhat.com>
12490
12491 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12492 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12493
1e973570
PA
124942014-07-14 Pedro Alves <palves@redhat.com>
12495
12496 * gdb.base/double-prompt-target-event-error.c: New file.
12497 * gdb.base/double-prompt-target-event-error.exp: New file.
12498
93d6eb10
PA
124992014-07-14 Pedro Alves <palves@redhat.com>
12500
12501 PR gdb/17072
12502 * gdb.base/paginate-inferior-exit.c: New file.
12503 * gdb.base/paginate-inferior-exit.exp: New file.
12504
0017922d
PA
125052014-07-14 Pedro Alves <palves@redhat.com>
12506
12507 PR gdb/17072
12508 * gdb.base/paginate-bg-execution.c: New file.
12509 * gdb.base/paginate-bg-execution.exp: New file.
12510
94696ad3
PA
125112014-07-14 Pedro Alves <palves@redhat.com>
12512
12513 PR gdb/17072
12514 * gdb.base/paginate-execution-startup.c: New file.
12515 * gdb.base/paginate-execution-startup.exp: New file.
12516 * lib/gdb.exp (pagination_prompt): New global.
12517 (default_gdb_spawn): New procedure, factored out from
12518 default_gdb_spawn.
12519 (default_gdb_start): Adjust to call default_gdb_spawn.
12520 (gdb_spawn): New procedure.
12521
bd293940
PA
125222014-07-14 Pedro Alves <palves@redhat.com>
12523
12524 * lib/gdb.exp (gdb_assert): New procedure.
12525 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12526
c933f875
PA
125272014-07-14 Pedro Alves <palves@redhat.com>
12528
12529 * gdb.base/execution-termios.c: New file.
12530 * gdb.base/execution-termios.exp: New file.
12531
d98b7a16
TT
125322014-07-14 Tom Tromey <tromey@redhat.com>
12533
12534 * gdb.cp/vla-cxx.cc: New file.
12535 * gdb.cp/vla-cxx.exp: New file.
12536
548740d6
TT
125372014-07-14 Tom Tromey <tromey@redhat.com>
12538
12539 * gdb.reverse/rerun-prec.c: New file.
12540 * gdb.reverse/rerun-prec.exp: New file.
12541
a25eb028
MR
125422014-07-12 Maciej W. Rozycki <macro@mips.com>
12543 Maciej W. Rozycki <macro@codesourcery.com>
12544
12545 * lib/gdb-utils.exp: New file.
12546 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12547 inline `gdb_init_command' processing.
12548 (gdb_start_cmd): Likewise.
12549 * lib/mi-support.exp (mi_run_cmd): Likewise.
12550 * README: Document `gdb_init_command' and `gdb_init_commands'.
12551
218c2655
JK
125522014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12553
12554 Fix false FAIL running under a very long directory name.
12555 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12556 and "set print elements 10000". Twice.
12557
5401fde3
YQ
125582014-07-11 Yao Qi <yao@codesourcery.com>
12559
12560 * gdb.base/exprs.exp: "set print symbol off".
12561
e76126e8
PA
125622014-07-11 Pedro Alves <palves@redhat.com>
12563
12564 * gdb.threads/kill.c: New file.
12565 * gdb.threads/kill.exp: New file.
12566
2d6f0de6
YQ
125672014-07-10 Yao Qi <yao@codesourcery.com>
12568
12569 * gdb.trace/tfile.c (write_basic_trace_file)
12570 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12571 address written to trace file.
12572
7180e04a
PA
125732014-07-09 Pedro Alves <palves@redhat.com>
12574
12575 * gdb.base/attach-wait-input.exp: New file.
12576 * gdb.base/attach-wait-input.c: New file.
12577
9a9a7608
AB
125782014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12579
12580 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12581 setting up test structures.
12582 (main): Call new test function.
12583 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12584 test function, continue into test function and walk test
12585 structures.
12586
161ac41e
YQ
125872014-07-02 Yao Qi <yao@codesourcery.com>
12588
12589 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12590 'bar_start' at the beginning of functions 'foo' and 'bar'
12591 respectively.
12592 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12593 instead of 'foo' and 'bar'.
12594
1f267ae3
MM
125952014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12596
12597 * gdb.btrace/segv.exp: New.
12598 * gdb.btrace/segv.c: New.
12599
2b239efb
LM
126002014-07-02 Luis Machado <lgustavo@codesourcery.com>
12601
12602 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12603 instruction.
12604
cf363f18
MW
126052014-06-30 Mark Wielaard <mjw@redhat.com>
12606
12607 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12608 vulture, vilify, villar): New volatile array constants.
12609 (vindictive, vegetation): New const volatile array constants.
12610 * gdb.base/volatile.exp: Test volatile and const volatile array
12611 types.
12612
aebf9d24
AA
126132014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12614
12615 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12616 target lacks support for awatch, rwatch, or hbreak.
12617
b67a2c6f
YQ
126182014-06-27 Yao Qi <yao@codesourcery.com>
12619
12620 * gdb.multi/dummy-frame-restore.exp: New.
12621 * gdb.multi/dummy-frame-restore.c: New.
12622
aef92902
MM
126232014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12624
12625 * gdb.btrace/gcore.exp: New.
12626
8e9db26e
PA
126272014-06-23 Pedro Alves <palves@redhat.com>
12628
12629 * gdb.base/watchpoint-reuse-slot.c: New file.
12630 * gdb.base/watchpoint-reuse-slot.exp: New file.
12631
70afc5b7
SC
126322014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12633
12634 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12635 progspace's filename in 'info', 'enable' and 'disable' command
12636 tests.
12637
b972bd9c
JK
126382014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12639
12640 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12641 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12642 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12643
125f8a3d
GB
126442014-06-20 Gary Benson <gbenson@redhat.com>
12645
12646 * gdb.arch/i386-avx.exp: Fix include file location.
12647 * gdb.arch/i386-sse.exp: Likewise.
12648
3ed9baed
IB
126492014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12650
12651 * gdb.dlang/expression.exp: New file.
12652
034f788c
PA
126532014-06-19 Pedro Alves <palves@redhat.com>
12654
12655 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12656 out from ...
12657 (top level): ... here. Iterate running tests under different
12658 scheduler-locking settings.
12659
45371d0c
LM
126602014-06-18 Luis Machado <lgustavo@codesourcery.com>
12661
12662 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12663 to DW_FORM_addr and use non-zero addresses.
12664
5d376983
SC
126652014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12666
12667 PR gdb/17017
12668 * gdb.python/py-xmethods.cc: Add global function call counters and
12669 increment them in their respective functions. Remove "cout"
12670 statements.
12671 * gdb.python/py-xmethods.exp: Make tests check the global function
12672 call counters instead of depending on inferior IO.
12673
a1aa2221
LM
126742014-06-18 Don Breazeal <donb@codesourcery.com>
12675
12676 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12677 Deleted procedure.
12678 (explicit_fork_parent_follow): Deleted procedure.
12679 (explicit_fork_child_follow): Deleted procedure.
12680 (test_follow_fork): New procedure.
12681 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 12682 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
12683 procedure calls.
12684
0fc05997
YQ
126852014-06-17 Yao Qi <yao@codesourcery.com>
12686
12687 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12688 CP1252.
12689
70795c52
LM
126902014-06-17 Luis Machado <lgustavo@codesourcery.com>
12691
12692 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12693 Initialize ptr and S explicitly.
12694 (skip_type_update_when_not_use_rtti_test): Likewise.
12695
6be47f0c
KS
126962014-06-16 Keith Seitz <keiths@redhat.com>
12697
12698 PR mi/15863
12699 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12700 the inferior is started.
12701
d03de421
PA
127022014-06-16 Pedro Alves <palves@redhat.com>
12703
12704 * gdb.base/break-main-file-remove-fail.c: New file.
12705 * gdb.base/break-main-file-remove-fail.exp: New file.
12706 * gdb.base/break-unload-file.exp: Use build_executable instead of
12707 prepare_for_testing.
12708 (test_break): New parameter "initial_load". Handle it.
12709 (top level): Add initial_load cmdline/file axis.
12710
f9579b99
TT
127112014-06-12 Tom Tromey <tromey@redhat.com>
12712
12713 * gdb.base/completion.exp: Don't use directory name in test.
12714
3657956b
GB
127152014-06-09 Gary Benson <gbenson@redhat.com>
12716
12717 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12718 separate the always-available ANSI-standard signals from the
12719 signals that require checking.
12720 (main): Likewise.
12721 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12722 Likewise.
12723 (main): Likewise.
12724
4186eb54
KS
127252014-06-07 Keith Seitz <keiths@redhat.com>
12726
12727 Revert:
12728 PR c++/16253
12729 * gdb.cp/var-tag.cc: New file.
12730 * gdb.cp/var-tag.exp: New file.
12731 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12732 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12733 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12734 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12735
25326a28 127362014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
12737
12738 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12739
829155c9
PA
127402014-06-06 Pedro Alves <palves@redhat.com>
12741
12742 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12743 in target debug output instead of looking at RSP packets,
12744 disabling the test on any target that uses hardware stepping.
12745 Update comments.
12746
61c8d22e
PA
127472014-06-06 Pedro Alves <palves@redhat.com>
12748
12749 * gdb.base/break-unload-file.exp: Fix typo.
12750
d9a47287
YQ
127512014-06-06 Yao Qi <yao@codesourcery.com>
12752
12753 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12754 from "jit_function" to "^jit_function".
12755
e5e01dbf
YQ
127562014-06-06 Yao Qi <yao@codesourcery.com>
12757
12758 * gdb.base/async.c (foo): Add one statement.
12759 * gdb.base/async.exp: Get the next instruction address and
12760 match the output of "nexti" by instruction address. Match
12761 the hex address in the output of "finish".
12762
73ba372c
GB
127632014-06-06 Gary Benson <gbenson@redhat.com>
12764
12765 * gdb.base/call-signals.c: Remove preprocessor conditionals
12766 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12767 SIGSEGV and SIGTERM.
12768 * gdb.base/sigall.c: Likewise.
12769 * gdb.base/unwindonsignal.c: Likewise.
12770 * gdb.reverse/sigall-reverse.c: Likewise.
12771
831517df
YQ
127722014-06-06 Yao Qi <yao@codesourcery.com>
12773
12774 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12775 readable, skip the test.
12776
b8b91e98
YQ
127772014-06-06 Yao Qi <yao@codesourcery.com>
12778
12779 * gdb.threads/staticthreads.c (thread_function): Move the line
12780 setting breakpoint on forward.
12781 * gdb.threads/staticthreads.exp: Update comments.
12782
fb934770
LC
127832014-06-05 Ludovic Courtès <ludo@gnu.org>
12784
12785 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12786 "history-append! type error".
12787
6ef284bd
SM
127882014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12789
12790 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12791 erroneous dprintf expected input.
12792
a872e241
DE
127932014-06-04 Doug Evans <xdje42@gmail.com>
12794
12795 * gdb.guile/scm-generics.exp: Delete.
12796
16f691fb
DE
127972014-06-04 Doug Evans <xdje42@gmail.com>
12798
12799 * gdb.guile/scm-breakpoint.exp: Update.
12800 Add tests for breakpoint registration.
12801
012370f6
TT
128022014-06-04 Tom Tromey <tromey@redhat.com>
12803
12804 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12805 VLA-in-union.
12806 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12807 inner_vla_struct, vla_union types. Initialize objects of those
12808 types and compute their sizes.
12809
9f5a4cef
HZ
128102014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12811 Hui Zhu <hui@codesourcery.com>
12812
12813 * gdb.base/fileio.exp: Add test for shell not available as well as
12814 available.
12815 * gdb.base/fileio.c (test_system): Check for shell twice.
12816
90a45c4d
YQ
128172014-06-04 Yao Qi <yao@codesourcery.com>
12818
12819 * gdb.base/auto-connect-native-target.exp: Remove redundant
12820 space from the regexp pattern.
12821
70017e41
YQ
128222014-06-04 Yao Qi <yao@codesourcery.com>
12823
12824 * gdb.base/default.exp: Replace "child" with "native" in
12825 regexp pattern.
12826
883964a7
SC
128272014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12828
12829 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12830 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12831 * gdb.python/py-xmethods.py: Python script supporting the
12832 new testcase and tests.
12833
ef370185
JB
128342014-06-03 Joel Brobecker <brobecker@adacore.com>
12835 Pedro Alves <palves@redhat.com>
12836
12837 PR breakpoints/17000
12838 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12839 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12840
1e2ccb61
BM
128412014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12842
12843 * gdb.base/subst.exp: Add tests to verify partial path matching
12844 output.
12845
c6ec5ab2
PA
128462014-06-03 Pedro Alves <palves@redhat.com>
12847
12848 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12849 target that doesn't use software single-stepping.
12850
835c559f
PA
128512014-06-03 Pedro Alves <palves@redhat.com>
12852
12853 PR breakpoints/17000
12854 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12855 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12856
06eb1586
DE
128572014-06-02 Doug Evans <xdje42@gmail.com>
12858
12859 * gdb.guile/scm-parameter.exp: New file.
12860
e698b8c4
DE
128612014-06-02 Doug Evans <xdje42@gmail.com>
12862
12863 * gdb.guile/scm-cmd.c: New file.
12864 * gdb.guile/scm-cmd.exp: New file.
12865
ded03782
DE
128662014-06-02 Doug Evans <xdje42@gmail.com>
12867
12868 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12869 pretty-printer lookup.
12870 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12871 (make-pp_s-printer): Call it.
12872 (make-pretty-printer-from-dict): New function.
12873 (lookup-pretty-printer-maker-from-dict): New function.
12874 (*pretty-printer*): Simplify.
12875 (make-objfile-pp_s-printer): New function.
12876 (install-objfile-pretty-printers!): New function.
12877 (make-progspace-pp_s-printer): New function.
12878 (install-progspace-pretty-printers!): New function.
12879 * gdb.guile/scm-progspace.c: New file.
12880 * gdb.guile/scm-progspace.exp: New file.
12881
41fac0cf
PA
128822014-06-02 Pedro Alves <palves@redhat.com>
12883
12884 * gdb.base/dprintf-bp-same-addr.c: New file.
12885 * gdb.base/dprintf-bp-same-addr.exp: New file.
12886
96ae5695
EBM
128872014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12888
12889 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12890 * gdb.arch/powerpc-power.s: Likewise.
12891
da02b3a8
JB
128922014-06-02 Joel Brobecker <brobecker@adacore.com>
12893
12894 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12895
c72b2e7b
YQ
128962014-06-01 Yao Qi <yao@codesourcery.com>
12897
12898 * gdb.base/watchpoint.exp (test_watch_location): Check null
12899 pointer can be dereferenced. If not, do the test, otherwise
12900 skip it.
12901
53e8a631
AB
129022014-05-30 Andrew Burgess <aburgess@broadcom.com>
12903
12904 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12905 results.
12906 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12907
938f0e2f
AB
129082014-05-30 Andrew Burgess <aburgess@broadcom.com>
12909
12910 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12911 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12912 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12913 * gdb.arch/amd64-invalid-stack-top.c: New file.
12914 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12915
9ba6657a
PA
129162014-05-30 Pedro Alves <palves@redhat.com>
12917
12918 PR breakpoints/17000
12919 * gdb.base/sss-bp-on-user-bp.c: New file.
12920 * gdb.base/sss-bp-on-user-bp.exp: New file.
12921
522c09bf
DB
129222014-05-30 David Blaikie <dblaikie@gmail.com>
12923
12924 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12925 gnu_inline semantics via attribute.
12926 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12927 source explicitly specifies the required semantics.
12928
bf4ef81e
MR
129292014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12930
12931 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12932
329ea579
PA
129332014-05-29 Pedro Alves <palves@redhat.com>
12934 Tom Tromey <tromey@redhat.com>
12935
12936 * gdb.base/async-shell.exp: Don't enable target-async.
12937 * gdb.base/async.exp
12938 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12939 parameter. Adjust.
12940 (top level): Don't test with "target-async".
12941 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12942 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12943 * gdb.base/inferior-died.exp: Don't enable target-async.
12944 * gdb.base/interrupt-noterm.exp: Likewise.
12945 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12946 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12947 * gdb.mi/mi-nonstop.exp: Likewise.
12948 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12949 * gdb.mi/mi-nsintrall.exp: Likewise.
12950 * gdb.mi/mi-nsmoribund.exp: Likewise.
12951 * gdb.mi/mi-nsthrexec.exp: Likewise.
12952 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12953 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12954 * gdb.python/py-evsignal.exp: Don't enable target-async.
12955 * gdb.python/py-evthreads.exp: Likewise.
12956 * gdb.python/py-prompt.exp: Likewise.
12957 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12958 * gdb.server/solib-list.exp: Don't enable target-async.
12959 * gdb.threads/thread-specific-bp.exp: Likewise.
12960 * lib/mi-support.exp: Adjust to use mi-async.
12961
fd664c91
PA
129622014-05-29 Pedro Alves <palves@redhat.com>
12963
12964 PR gdb/13860
12965 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12966 reason, even in sync mode.
12967
251bde03
PA
129682014-05-29 Pedro Alves <palves@redhat.com>
12969 Hui Zhu <hui@codesourcery.com>
12970
12971 PR PR15693
12972 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12973 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12974 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12975 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12976
7f3c0343
JB
129772014-05-28 Joel Brobecker <brobecker@adacore.com>
12978
12979 * config/monitor.exp (gdb_target_monitor): Replace use of
12980 "set remotebaud" by "set serial baud".
12981
b2715b27
AW
129822014-05-26 Andy Wingo <wingo@igalia.com>
12983
12984 * gdb.guile/scm-breakpoint.exp:
12985 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12986 properties instead of gdb-object-properties.
12987
498a4489
YQ
129882014-05-26 Yao Qi <yao@codesourcery.com>
12989
12990 * gdb.server/no-thread-db.exp: Specify source file name
12991 explicitly when setting a breakpoint.
12992
589fdceb
MM
129932014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12994
12995 * gdb.btrace/vdso.c: New.
12996 * gdb.btrace/vdso.exp: New.
12997
e9089e05
MM
129982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12999
13000 * gdb.base/gcore.exp (capture_command_output): Move ...
13001 * lib/gdb.exp (capture_command_output): ... here.
13002
67b5c0c1
MM
130032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13004
13005 * gdb.btrace/data.exp: Test memory access during btrace replay.
13006
a2199296
SM
130072014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13008
13009 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13010
17b2616c
PA
130112014-05-21 Pedro Alves <palves@redhat.com>
13012
13013 PR gdb/13860
13014 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13015 (top level): Test that output related to execution commands is
13016 sent to the console with CLI commands, but not with MI commands.
13017 Test that breakpoint events are always mirrored to the console.
13018 Also expect the new source line to be output after a "next" in
13019 async mode too. Make it a pass/fail test.
13020 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13021 output.
13022 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13023
5166082f
PA
130242014-05-21 Pedro Alves <palves@redhat.com>
13025
13026 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13027 Use them to test variations of "list" after reaching a breakpoint.
13028 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13029 Test "list" with listsize 10 after reaching a breakpoint.
13030 * gdb.python/python.exp (decode_line current location line
13031 number): Adjust expected line number.
13032
2f25d70f
SM
130332014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13034
13035 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13036 behavior for $args, pass it directly to "run".
13037
ff604a67
MR
130382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13039
13040 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13041 30000 to 65536.
13042
6a3cb8e8
PA
130432014-05-21 Pedro Alves <palves@redhat.com>
13044
13045 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13046 auto-connect-native-target off".
13047 * gdb.base/auto-connect-native-target.c: New file.
13048 * gdb.base/auto-connect-native-target.exp: New file.
13049
4ebfc96e
PA
130502014-05-21 Pedro Alves <palves@redhat.com>
13051
13052 * gdb.base/default.exp: Test "target native" instead of "target
13053 child".
13054
36d46afb
MW
130552014-05-21 Mark Wielaard <mjw@redhat.com>
13056
13057 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13058
5876f503
JK
130592014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13060
13061 Fix TLS access for -static -pthread.
13062 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13063 <HAVE_TLS> (thread_function, main): Initialize it.
13064 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13065 Add clean_restart.
13066 <$have_tls != "">: Check TLSVAR.
13067
0256a6ac
PA
130682014-05-21 Pedro Alves <palves@redhat.com>
13069
13070 * gdb.base/dcache-line-read-error.c: New.
13071 * gdb.base/dcache-line-read-error.exp: New.
13072
936d2992
PA
130732014-05-20 Pedro Alves <palves@redhat.com>
13074
13075 * gdb.base/compare-sections.c: New file.
13076 * gdb.base/compare-sections.exp: New file.
13077
802e8e6d
PA
130782014-05-20 Pedro Alves <palves@redhat.com>
13079
13080 * gdb.base/break-idempotent.c: New file.
13081 * gdb.base/break-idempotent.exp: New file.
13082
e59fa00f
MM
130832014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13084
13085 * gdb.btrace/nohist.exp: New.
13086
8b696e31
YQ
130872014-05-20 Yao Qi <yao@codesourcery.com>
13088
13089 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13090 gdb.reverse directory and gdb_reverse_timeout exists in board
13091 setting.
13092 * README: Document gdb_reverse_timeout.
13093
73c9764f
YQ
130942014-05-20 Yao Qi <yao@codesourcery.com>
13095
13096 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13097 'test_file_name'. Treat args as a string instead of a list.
13098 (gdb_init): Rename argument 'args' by 'test_file_name'.
13099
f1f4348a
JK
131002014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13101
13102 * gdb.arch/powerpc-power.exp: New file.
13103 * gdb.arch/powerpc-power.s: New file.
13104
0dbe70ce
DE
131052014-05-16 Doug Evans <dje@google.com>
13106
13107 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
13108 * gdb.base/completion.exp: Check that all expected files exist
13109 before doing file completion.
0dbe70ce 13110
8d551b02
DE
131112014-05-16 Doug Evans <dje@google.com>
13112
13113 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13114 Update.
13115 (do_syscall_tests_without_xml): Update.
13116
73eb7709
PA
131172014-05-16 Pedro Alves <palves@redhat.com>
13118
13119 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13120 instead of "unknown output after running".
13121
3fae92fc
YQ
131222014-05-16 Yao Qi <yao@codesourcery.com>
13123
13124 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13125 file1.txt from host at the end.
13126 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13127
c2b2ccc5
DE
131282014-05-15 Doug Evans <dje@google.com>
13129
13130 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13131 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13132 loading file. Add test for TU lookup.
13133
8c217a4b
SM
131342014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13135
13136 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13137 calling "-exec-arguments" or "set args" before running the
13138 inferior.
13139
3deb39c6
SM
131402014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13141
13142 * lib/mi-support.exp (mi_expect_stop): Expect message for
13143 inferiors that exit with non-zero exit code.
13144
71a79f8c
YQ
131452014-05-14 Yao Qi <yao@codesourcery.com>
13146
13147 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13148 match absolute path on remote host.
13149 (test_file_list_exec_source_files): Remove "/" from the
13150 pattern.
13151
f23fcd46
YQ
131522014-05-14 Yao Qi <yao@codesourcery.com>
13153
13154 * boards/local-remote-host-notty.exp (${board}_file): New
13155 proc.
13156
9404b58f
KM
131572014-05-07 Kyle McMartin <kyle@redhat.com>
13158
13159 Pushed by Joel Brobecker <brobecker@adacore.com>.
13160 * gdb.arch/aarch64-atomic-inst.c: New file.
13161 * gdb.arch/aarch64-atomic-inst.exp: New file.
13162
5e45f04c
YQ
131632014-05-07 Yao Qi <yao@codesourcery.com>
13164
13165 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13166 in current context" too.
13167
c888a17d
KS
131682014-05-05 Keith Seitz <keiths@redhat.com>
13169
13170 * gdb.linespec/ls-dollar.exp: Add test for linespec
13171 file:convenience_variable.
13172
290a839c
YQ
131732014-05-05 Yao Qi <yao@codesourcery.com>
13174
13175 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13176 traceframes into tfile and ctf trace files. Read data from
13177 trace file and test collected data.
13178 (gdb_collect_locals_test): Likewise.
13179 (gdb_unavailable_registers_test): Likewise.
13180 (gdb_unavailable_floats): Likewise.
13181 (gdb_collect_globals_test): Likewise.
13182 (top-level): Append "ctf" to trace_file_targets if GDB
13183 supports.
13184
b5262cd0
YQ
131852014-05-05 Yao Qi <yao@codesourcery.com>
13186
13187 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13188 code to ...
13189 (gdb_collect_args_test_1): ... it. New proc.
13190 (gdb_collect_locals_test): Move some code to ...
13191 (gdb_collect_locals_test_1): ... it. New proc.
13192 (gdb_unavailable_registers_test): Move some code to ...
13193 (gdb_unavailable_registers_test_1): ... it. New proc.
13194 (gdb_unavailable_floats): Move some code to ...
13195 (gdb_unavailable_floats_1): ... it. New proc.
13196
30a1e6cc
SDJ
131972014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13198
13199 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13200 probes to test for bitness recognition.
13201 * gdb.arch/amd64-stap-optional-prefix.exp
13202 (test_probe_value_without_reg): New procedure.
13203 Add code to test for different kinds of bitness.
13204
f33da99a
SDJ
132052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13206
13207 PR breakpoints/16889
13208 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13209 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13210
5b80f00d
PA
132112014-05-01 Pedro Alves <palves@redhat.com>
13212
13213 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13214 gdb_file_cmd if no file is specified.
13215 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13216 last_loaded_file to set the remote exec-file.
13217
f8c2a73c
PA
132182014-05-01 Pedro Alves <palves@redhat.com>
13219
13220 * boards/local-remote-host.exp: New file.
13221
be6e8ac7
PA
132222014-05-01 Pedro Alves <palves@redhat.com>
13223
13224 * boards/local-remote-host.exp: Rename to ...
13225 * boards/local-remote-host-notty.exp: ... this.
13226
cac0dc8f
JB
132272014-04-28 Joel Brobecker <brobecker@adacore.com>
13228
13229 * gdb.ada/dyn_arrayidx: New testcase.
13230
9730e6cc
YQ
132312014-04-26 Yao Qi <yao@codesourcery.com>
13232
13233 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13234 and compute the length of function main. Save it in
13235 $main_length.
13236 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13237 (top-level): Use gdb_compile to compile objects into
13238 executable and restart GDB. Remove invocation to
13239 prepare_for_testing.
13240
7ae1a6a6
PA
132412014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13242 Pedro Alves <palves@redhat.com>
13243
13244 PR server/16255
13245 * gdb.multi/multi-attach.c: New file.
13246 * gdb.multi/multi-attach.exp: New file.
13247
4082afcc
PA
132482014-04-25 Pedro Alves <palves@redhat.com>
13249
13250 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13251 user.
13252 (top level): Test that "set remote conditional-breakpoints-packet
13253 off" works as intended.
13254 * gdb.base/dprintf.exp: Test that "set remote
13255 breakpoint-commands-packet off" works as intended.
13256 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13257 New function.
13258 (top level): Call it.
13259 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13260 remote fast-tracepoints-packet off" works as intended.
13261 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13262 * lib/gdb.exp (gdb_is_target_remote): ... here.
13263
2abc3f8d
DB
132642014-04-24 David Blaikie <dblaikie@gmail.com>
13265
13266 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13267 ensure clang would not discard them.
13268 * gdb.base/gdbvars.c: Ditto.
13269 * gdb.base/memattr.c: Ditto.
13270 * gdb.base/whatis.c: Ditto.
13271 * gdb.python/py-prettyprint.c: Ditto.
13272 * gdb.trace/actions.c: Ditto.
13273 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13274 ensure clang would not discard it.
13275
bfd39632
DB
132762014-04-24 David Blaikie <dblaikie@gmail.com>
13277
13278 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13279 clang to emit the full definition of type required by the test
13280 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13281
22842ff6
DB
132822014-04-24 David Blaikie <dblaikie@gmail.com>
13283
13284 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13285 coax Clang into emitting the definition of the type.
13286 * gdb.cp/pr10728-x.h (y): Ditto.
13287 * gdb.cp/pr10728-y.cc (y): Ditto.
13288
c2e827ad
DB
132892014-04-24 David Blaikie <dblaikie@gmail.com>
13290
13291 * gdb.base/label.exp: XFAIL label related tests under Clang.
13292 * gdb.cp/cplabel.exp: Ditto.
13293 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13294 under Clang those using labels.
13295
4c2d33e7
YQ
132962014-04-25 Yao Qi <yao@codesourcery.com>
13297
13298 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13299 double_label.
13300 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13301 partial_label and double_label.
13302
56083b99
DB
133032014-04-24 David Blaikie <dblaikie@gmail.com>
13304
13305 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13306
25d4e99d
DB
133072014-04-24 David Blaikie <dblaikie@gmail.com>
13308
13309 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13310 of the function to work across GCC and Clang.
13311 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13312 pointer types (const void ** const V void **).
13313
01f9f808
MS
133142014-04-24 Michael Sturm <michael.sturm@mintel.com>
13315 Walfred Tedeschi <walfred.tedeschi@intel.com>
13316
13317 * Makefile.in (EXECUTABLES): Added i386-avx512.
13318 * gdb.arch/i386-avx512.c: New file.
13319 * gdb.arch/i386-avx512.exp: Likewise.
13320
4b48d439
KS
133212014-04-23 Keith Seitz <keiths@redhat.com>
13322
13323 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13324 (mi_make_breakpoint_table): New procedure.
13325 (mi_create_breakpoint): Use mi_make_breakpoint
13326 and return the result.
13327 (mi_make_breakpoint): New procedure.
13328 (mi_build_kv_pairs): New procedure.
13329
13330 * gdb.mi/mi-break.exp: Remove unused globals,
13331 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13332 All callers updated.
13333 * gdb.mi/mi-dprintf.exp: Use variable to track command
13334 number.
13335 Update all callers of mi_create_breakpoint and use
13336 mi_make_breakpoint_table.
13337 Remove any unused global variables.
13338 * gdb.mi/mi-nonstop.exp: Likewise.
13339 * gdb.mi/mi-nsintrall.exp: Likewise.
13340 * gdb.mi/mi-nsmoribund.exp: Likewise.
13341 * gdb.mi/mi-nsthrexec.exp: Likewise.
13342 * gdb.mi/mi-reverse.exp: Likewise.
13343 * gdb.mi/mi-simplerun.exp: Likewise.
13344 * gdb.mi/mi-stepn.exp: Likewise.
13345 * gdb.mi/mi-syn-frame.exp: Likewise.
13346 * gdb.mi/mi-until.exp: Likewise.
13347 * gdb.mi/mi-var-cp.exp: Likewise.
13348 * gdb.mi/mi-var-display.exp: Likewise.
13349 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13350 * gdb.mi/mi2-var-child.exp: Likewise.
13351 * gdb.mi/mi-vla-c99.exp: Likewise.
13352 * lib/mi-support.exp: Likewise.
13353
13354 From Ian Lance Taylor <iant@cygnus.com>:
13355 * lib/gdb.exp (parse_args): New procedure.
13356
08351840
PA
133572014-04-23 Pedro Alves <palves@redhat.com>
13358
13359 * gdb.base/break-unload-file.c: New file.
13360 * gdb.base/break-unload-file.exp: New file.
13361 * gdb.base/sym-file-lib.c (baz): New function.
13362 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13363 field.
13364 (load): Store the segment's mapped size.
13365 (unload): New function.
13366 (unload_shlib): New function.
13367 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13368 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13369 set a breakpoint at baz, and call it.
13370 * gdb.base/sym-file.exp: New tests for stale breakpoint
13371 instructions.
13372
076855f9
PA
133732014-04-23 Pedro Alves <palves@redhat.com>
13374
13375 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13376 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13377 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13378 * gdb.base/hbreak-unmapped.c: New file.
13379 * gdb.base/hbreak-unmapped.exp: New file.
13380 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13381 * lib/gdb.exp (gdb_is_target_remote): ... here.
13382
483805cf
PA
133832014-04-22 Pedro Alves <palves@redhat.com>
13384
13385 * gdb.base/consecutive-step-over.c: New file.
13386 * gdb.base/consecutive-step-over.exp: New file.
13387
06d97543
PA
133882014-04-22 Pedro Alves <palves@redhat.com>
13389
13390 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13391 instead of send_gdb/gdb_expect.
13392
b4429ea2
YQ
133932014-04-22 Yao Qi <yao@codesourcery.com>
13394
13395 * lib/trace-support.exp (generate_tracefile): New procedure.
13396 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13397 return 0.
13398 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13399 if generate_tracefile returns 1.
13400
51d48146
PA
134012014-04-18 Tom Tromey <palves@redhat.com>
13402 Pedro alves <tromey@redhat.com>
13403
13404 PR backtrace/15558
13405 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13406 with a backtrace limit.
13407 * gdb.python/py-frame-inline.exp: Test running to an inline
13408 function with a backtrace limit, and printing the newest frame.
13409 * gdb.python/py-frame-inline.c (main): Call f.
13410
bd1dce5f
MS
134112014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13412
13413 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13414
40d1a503
MS
134152014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13416
13417 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13418 Drop prefix from unsupported source file path.
13419
389b98f7
YQ
134202014-04-17 Yao Qi <yao@codesourcery.com>
13421
13422 * lib/gdb.exp (with_target_charset): New proc.
13423 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13424 with_target_charset.
13425 (test_print_strings): Likewise.
13426 (test_repeat_bytes): Likewise.
13427 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13428 for some tests.
13429
22869d73
KS
134302014-04-16 Keith Seitz <keiths@redhat.com>
13431
13432 PR gdb/15827
13433 * gdb.dwarf2/corrupt.c: New file.
13434 * gdb.dwarf2/corrupt.exp: New file.
13435
c4f87ca6
KS
134362014-04-16 Keith Seitz <keiths@redhat.com>
13437
13438 PR c++/16597
13439 * gdb.cp/namelessclass.cc: New file.
13440 * gdb.cp/namelessclass.exp: New file.
13441 * gdb.cp/namelessclass.S: New file.
13442
ab19de87
DE
134432014-04-16 Doug Evans <dje@google.com>
13444
13445 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13446 Add comment.
13447 (gdbserver_default_get_comm_port): New function.
13448 (gdbserver_start): Check if board file provided
13449 "gdbserver,get_comm_port" and use it if so.
13450 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13451 (gdb,socketport): Set to "stdio".
13452 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13453 (stdio_gdbserver_template): Delete.
13454 (${board}_get_remote_address): Update.
13455 (${board}_build_remote_cmd): Delete.
13456 (${board}_get_comm_port): New function.
13457 (${board}_spawn): Update.
13458 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13459 Delete.
13460 (${board}_get_remote_address): Update.
13461 (${board}_get_comm_port): New function.
13462
fc98a809
AB
134632014-04-16 Andrew Burgess <aburgess@broadcom.com>
13464
13465 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13466 appearing in any order.
13467
87fd9e6e
DE
134682014-04-15 Doug Evans <dje@google.com>
13469
13470 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13471 uninitialized value of "description".
13472
099fc3ea
KS
134732014-04-15 Keith Seitz <keiths@redhat.com>
13474
13475 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13476 Remove unused globals.
13477 (test_running_the_program): Likewise.
13478 (test_controlled_execution): Likewise.
13479 (test_controlling_breakpoints): Likewise.
13480 (test_program_termination): Likewise.
13481
5da151d4
KS
134822014-04-15 Keith Seitz <keiths@redhat.com>
13483
13484 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13485 unused globals.
13486 (test_rbreak_creation_and_listing): Likewise.
13487 (test_ignore_count): Likewise.
13488 (test_error): Likewise.
13489
35e5d2f0
PA
134902014-04-15 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13493 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13494 sym-file-loader.c.
13495 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13496 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13497 to sym-file-loader.c.
13498 (struct library): Forward declare.
13499 (load_shlib, lookup_function): Change prototypes.
13500 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13501 (translate_offset): Remove declarations.
13502 (get_text_addr): New declaration.
13503 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13504 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13505 sym-file-loader.h.
13506 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13507 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13508 here from sym-file-loader.h.
13509 (struct library): New structure.
13510 (load_shlib, lookup_function): Change prototypes and adjust to
13511 work with a struct library.
13512 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13513 (translate_offset): Make static.
13514 (get_text_addr): New function.
13515 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13516
eb4c1710
PA
135172014-04-15 Pedro Alves <palves@redhat.com>
13518
13519 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13520
2d1baf52
PA
135212014-04-15 Pedro Alves <palves@redhat.com>
13522
13523 * gdb.base/sym-file-loader.c: Include <limits.h>.
13524 (SELF_LINK): New define.
13525 (get_origin): New function.
13526 (load_shlib): Use it.
13527 * gdb.base/sym-file.exp: Don't early return if the target is
13528 remote. Use runto_main, and issue fail is that fails. Use
13529 gdb_load_shlibs.
13530 (shlib_name): Delete.
13531 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13532
7dd6df01
PA
135332014-04-15 Pedro Alves <palves@redhat.com>
13534
13535 * gdb.base/sym-file.exp: Remove regex characters from test
13536 message. Don't refer to breakpoint numbers in test messages.
13537
b50c8614
KS
135382014-04-14 Keith Seitz <keiths@redhat.com>
13539
13540 PR c++/16253
13541 * gdb.cp/var-tag.cc: New file.
13542 * gdb.cp/var-tag.exp: New file.
13543 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13544 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13545 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13546 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13547
3d567982
TT
135482014-04-14 Tom Tromey <tromey@redhat.com>
13549
13550 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13551 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13552 type.
13553 * gdb.cp/enum-class.exp: New file.
13554 * gdb.cp/enum-class.cc: New file.
13555
0626fc76
TT
135562014-04-14 Tom Tromey <tromey@redhat.com>
13557
13558 * gdb.dwarf2/enum-type.exp: New file.
13559
dca325b3
SA
135602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13561
13562 * gdb.mi/mi-vla-c99.exp: New file.
13563 * gdb.mi/vla.c: New file.
13564
5854b38a
SA
135652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13566
13567 * gdb.base/vla-datatypes.c: New file.
13568 * gdb.base/vla-datatypes.exp: New file.
13569
463bb957
SA
135702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13571
13572 * gdb.base/vla-ptr.c: New file.
13573 * gdb.base/vla-ptr.exp: New file.
13574
3dd170be
SA
135752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13576
13577 * gdb.dwarf2/count.exp: New file.
13578
5ecaaa66
SA
135792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13580
13581 * gdb.base/vla-sideeffect.c: New file.
13582 * gdb.base/vla-sideeffect.exp: New file.
13583
41f1ada5
DB
135842014-04-14 David Blaikie <dblaikie@gmail.com>
13585
13586 * gdb.mi/non-stop.c: Add return value for non-void function return
13587 statement.
13588 * gdb.threads/staticthreads.c: Ditto.
13589
0be03e84
DE
135902014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13591 Doug Evans <xdje42@gmail.com>
13592
13593 * gdb.guile/scm-value.c: Improve test case.
13594 * gdb.guile/scm-value.exp: Add new test.
13595
f180a1fb
DB
135962014-04-11 David Blaikie <dblaikie@gmail.com>
13597
13598 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13599 override Clang's default.
13600
6b662e19
JB
136012014-04-11 Joel Brobecker <brobecker@adacore.com>
13602
13603 Revert the following changes (regressions):
13604
13605 * gdb.base/vla-sideeffect.c: New file.
13606 * gdb.base/vla-sideeffect.exp: New file.
13607
13608 * gdb.dwarf2/count.exp: New file.
13609
13610 * gdb.base/vla-multi.c: New file.
13611 * gdb.base/vla-multi.exp: New file.
13612
13613 * gdb.base/vla-ptr.c: New file.
13614 * gdb.base/vla-ptr.exp: New file.
13615
13616 * gdb.base/vla-datatypes.c: New file.
13617 * gdb.base/vla-datatypes.exp: New file.
13618
13619 * gdb.mi/mi-vla-c99.exp: New file.
13620 * gdb.mi/vla.c: New file.
13621
245a5f0b
KS
136222014-04-11 Keith Seitz <keiths@redhat.com>
13623
13624 PR c++/16675
13625 * gdb.cp/cpsizeof.exp: New file.
13626 * gdb.cp/cpsizeof.cc: New file.
13627
58a84dcf
SA
136282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13629
191a8a90
JB
13630 * gdb.mi/mi-vla-c99.exp: New file.
13631 * gdb.mi/vla.c: New file.
58a84dcf 13632
c8655f75
SA
136332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13634
13635 * gdb.base/vla-datatypes.c: New file.
13636 * gdb.base/vla-datatypes.exp: New file.
13637
024e13b4
SA
136382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13639
13640 * gdb.base/vla-ptr.c: New file.
13641 * gdb.base/vla-ptr.exp: New file.
13642
1a237e0e
SA
136432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13644
13645 * gdb.base/vla-multi.c: New file.
13646 * gdb.base/vla-multi.exp: New file.
13647
504f3432
SA
136482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13649
13650 * gdb.dwarf2/count.exp: New file.
13651
3bce8237
SA
136522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13653
191a8a90
JB
13654 * gdb.base/vla-sideeffect.c: New file.
13655 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 13656
322f9c21
YQ
136572014-04-11 Yao Qi <yao@codesourcery.com>
13658
13659 * gdb.base/completion.exp: Check file exists before running tests
13660 on file completion.
13661
d708bcd1
PA
136622014-04-10 Pedro Alves <palves@redhat.com>
13663
13664 * gdb.base/cond-eval-mode.c: New file.
13665 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13666 prepare_for_testing to build the new file. Check result of
13667 runto_main.
13668 (test_break, test_watch): New procedures.
13669 (top level): Use them.
13670
ae1d2761
PM
136712014-04-08 Pierre Muller <muller@sourceware.org>
13672
13673 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13674 Ctrl-V use for mingw hosts.
13675
7af389b8
SC
136762014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13677
13678 * gdb.python/py-value.c: Improve test case.
13679 * gdb.python/py-value.exp: Add new test.
13680
5e703181
DE
136812014-04-07 David Blaikie <dblaikie@gmail.com>
13682
13683 * lib/compiler.c: Identify the clang compiler.
13684 * lib/compiler.cc: Ditto.
13685
9810b410
YQ
136862014-04-03 Yao Qi <yao@codesourcery.com>
13687
13688 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13689
98d1b8dc
AB
136902014-04-01 Anton Blanchard <anton@samba.org>
13691
13692 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13693 messages unique.
13694
3114cea1
AB
136952014-04-01 Anton Blanchard <anton@samba.org>
13696
13697 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13698 prepare_for_testing.
13699
62f7182c
AB
137002014-04-01 Anton Blanchard <anton@samba.org>
13701
13702 * gdb.arch/ppc64-atomic-inst.c: Remove.
13703 * gdb.arch/ppc64-atomic-inst.S: New file.
13704 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13705
770e7fc7
DE
137062014-03-31 Doug Evans <dje@google.com>
13707
13708 * gdb.base/print-symbol-loading-lib.c: New file.
13709 * gdb.base/print-symbol-loading-main.c: New file.
13710 * gdb.base/print-symbol-loading.exp: New file.
13711
46e2bafa
YQ
137122014-03-31 Yao Qi <yao@codesourcery.com>
13713
13714 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13715
8776cfe9
JB
137162014-03-28 Joel Brobecker <brobecker@adacore.com>
13717
13718 * gdb.ada/mi_dyn_arr: New testcase.
13719
5d1ef361
DE
137202014-03-27 Doug Evans <dje@google.com>
13721
13722 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13723
b5bee914
YQ
137242014-03-27 Yao Qi <yao@codesourcery.com>
13725
13726 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13727 if target is nios2-*-*.
13728
0d4d0e77
YQ
137292014-03-26 Yao Qi <yao@codesourcery.com>
13730
13731 * lib/gdb.exp (readline_is_used): New proc.
13732 * gdb.base/completion.exp: Move tests on command complete up.
13733 Skip the rest of tests if readline is not used.
13734 * gdb.ada/complete.exp: Skp the test if readline is not
13735 used.
13736 * gdb.base/filesym.exp: Likewise.
13737 * gdb.base/macscp.exp: Likewise.
13738 * gdb.base/readline-ask.exp: Likewise.
13739 * gdb.base/readline.exp: Likewise.
13740 * gdb.python/py-cmd.exp: Likewise.
13741 * gdb.trace/tfile.exp: Likewise.
13742
29361eee
YQ
137432014-03-26 Yao Qi <yao@codesourcery.com>
13744
13745 * gdb.base/macscp.exp: Fix code format issues.
13746
bc9a5525
UW
137472014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13748
13749 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13750 * gdb.asm/powerpc64le.inc: New file.
13751
d3839ede
PA
137522014-03-25 Pedro Alves <palves@redhat.com>
13753 Doug Evans <dje@google.com>
13754
13755 * gdb.base/source-execution.c: New file.
13756 * gdb.base/source-execution.exp: New file.
13757 * gdb.base/source-execution.gdb: New file.
13758
01672a57
DE
137592014-03-24 Doug Evans <dje@google.com>
13760
13761 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13762 using fission.
13763
88bbeca9
HZ
137642014-03-24 Hui Zhu <hui@codesourcery.com>
13765 Pedro Alves <palves@redhat.com>
13766
13767 PR breakpoints/16101
13768 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13769 test pass/fail messages. Detect missing support for dprintf when
13770 breakpoints are actually inserted.
13771 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13772 breakpoints are actually inserted.
13773 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13774 fails.
13775
d2348791
JK
137762014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13777
13778 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13779
feef67ab
DE
137802014-03-22 Doug Evans <xdje42@gmail.com>
13781
13782 * gdb.python/python.exp (python not supported): Verify multi-line
13783 python command issues an error.
25d743f9 13784 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 13785 guile command issues an error.
feef67ab 13786
ecebef6a
MR
137872014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13788
13789 * gdb.threads/thread-specific.exp: Handle the lack of usable
13790 $this_breakpoint and $this_thread.
13791
ccdd1909
HZ
137922014-03-21 Hui Zhu <hui@codesourcery.com>
13793
13794 * gdb.base/attach.exp (do_command_attach_tests): New.
13795
beb460e8
PA
137962014-03-20 Tom Tromey <tromey@redhat.com>
13797 Pedro Alves <palves@redhat.com>
13798
13799 PR cli/15718
13800 * gdb.base/condbreak-call-false.c: New file.
13801 * gdb.base/condbreak-call-false.exp: New file.
13802
40acf43a
PA
138032014-03-20 Pedro Alves <palves@redhat.com>
13804
13805 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13806 Delete.
13807 (block_signals, unblock_signals): Delete.
13808 (child_function_2, main): Remove references to deleted variable
13809 and functions.
13810
9f5e1e02
PA
138112014-03-20 Pedro Alves <palves@redhat.com>
13812
13813 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13814 Use pthread_kill to signal thread 2.
13815 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13816 Adjust to make the test send itself a signal rather than using the
13817 host's "kill" command.
13818
99619bea
PA
138192014-03-20 Pedro Alves <palves@redhat.com>
13820
13821 * gdb.threads/multiple-step-overs.c: New file.
13822 * gdb.threads/multiple-step-overs.exp: New file.
13823 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13824 Adjust expected infrun debug output.
13825
2adfaa28
PA
138262014-03-20 Pedro Alves <palves@redhat.com>
13827
13828 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13829 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13830
31e77af2
PA
138312014-03-20 Pedro Alves <palves@redhat.com>
13832
13833 PR breakpoints/7143
13834 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13835 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13836 of gdb_test_multiple.
13837 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13838 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13839
b9f437de
PA
138402014-03-20 Pedro Alves <palves@redhat.com>
13841
13842 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13843 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13844
05adc73e
PA
138452014-03-19 Pedro Alves <palves@redhat.com>
13846
13847 * gdb.base/async.exp: Remove early return.
13848
6048b950
PA
138492014-03-19 Pedro Alves <palves@redhat.com>
13850
13851 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13852
8bcfb00a
PA
138532014-03-19 Pedro Alves <palves@redhat.com>
13854
13855 * gdb.base/async.exp (test_background): Expect \r\n after
13856 "completed." in the fail pattern.
13857
884e37dc
PA
138582014-03-19 Pedro Alves <palves@redhat.com>
13859
13860 * gdb.base/async.exp (test_background): New procedure.
13861 Use it for all background execution command tests.
13862
148e57e2
PA
138632014-03-19 Pedro Alves <palves@redhat.com>
13864
13865 * gdb.base/async.exp: Use prepare_for_testing.
13866
f48088c7
PA
138672014-03-19 Pedro Alves <palves@redhat.com>
13868
13869 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13870 the same line.
13871
e2f6c966
PA
138722014-03-19 Pedro Alves <palves@redhat.com>
13873
13874 * gdb.base/async.c (main): Add "jump here" and "until here" line
13875 marker comments.
13876 * gdb.base/async.exp (jump_here): New global.
13877 (jump& test): Use it.
13878 (until_here): New global.
13879 (until& test): Use it.
13880
c30568d4
PA
138812014-03-19 Pedro Alves <palves@redhat.com>
13882
13883 * gdb.base/async.exp: Don't frob gdb_protocol.
13884
0172b6a7
DE
138852014-03-18 Doug Evans <xdje42@gmail.com>
13886
13887 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13888 Fix spelling of exec-done-display.
13889
06c868a8
JK
138902014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13891
13892 PR gdb/15358
13893 * gdb.base/gdb-sigterm.c: New file.
13894 * gdb.base/gdb-sigterm.exp: New file.
13895
0c7e1a46
PA
138962014-03-18 Pedro Alves <palves@redhat.com>
13897
13898 PR gdb/13860
13899 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13900 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13901 solib-event.
13902
f7c77d93
JB
139032014-03-17 Joel Brobecker <brobecker@adacore.com>
13904
13905 * gdb.ada/pckd_arr_ren: New testcase.
13906
5a1e8c7a
DE
139072014-03-13 Doug Evans <xdje42@gmail.com>
13908
13909 PR guile/16612
13910 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13911 collect after discarding symbols.
13912
350e1a76
DE
139132014-03-13 Ludovic Courtès <ludo@gnu.org>
13914 Doug Evans <xdje42@gmail.com>
13915
13916 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13917 to history survives a gc.
13918
a69900ae
PA
139192014-03-13 Pedro Alves <palves@redhat.com>
13920
13921 * gdb.base/default.exp: Don't test "target procfs".
13922
5db9f0bd
PA
139232014-03-13 Pedro Alves <palves@redhat.com>
13924
13925 * gdb.base/default.exp: Update "target child" and "target procfs"
13926 tests to not expect "Unix".
13927
b3ccfe11
TT
139282014-03-12 Tom Tromey <tromey@redhat.com>
13929
13930 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13931 New procs. Add target-async tests.
13932 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13933 Add target-async tests.
13934
646f4417
AA
139352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13936
13937 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13938 'func_start' and 'func_end' for the beginning and end of the
13939 function code, respectively.
13940 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13941 'func_end' instead of 'func' and 'main'.
13942
288c211f
AA
139432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13944
13945 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13946 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13947 generate the debug info assembler source.
13948
e0c0f156
AA
139492014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13950
13951 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13952 * gdb.dwarf2/arr-subrange.exp: Likewise.
13953 * gdb.dwarf2/dwz.exp: Likewise.
13954 * gdb.dwarf2/method-ptr.exp: Likewise.
13955 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13956 * gdb.dwarf2/subrange.exp: Likewise.
13957 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13958 * gdb.dwarf2/implptrpiece.exp: Likewise.
13959 * gdb.dwarf2/nostaticblock.exp: Likewise.
13960
0e5c4555
AA
139612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13962
13963 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13964 directory to absolute path name arguments.
13965
5ec18f2b
JG
139662014-03-10 Joel Brobecker <brobecker@adacore.com>
13967
13968 * gdb.ada/tagged_access: New testcase.
13969
847fc4f2
MM
139702014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13971
13972 * gdb.btrace/data.exp: Update expected output.
13973
cc3da688
YQ
139742014-03-06 Yao Qi <yao@codesourcery.com>
13975
13976 * gdb.trace/pr16508.exp: New file.
13977
0f26cec1
PA
139782014-03-05 Pedro Alves <palves@redhat.com>
13979
13980 PR gdb/16575
13981 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13982 procedure.
13983 (top level): Adjust to use it. Add tests that exercise breakpoint
13984 interaction with the code-cache.
13985
7a5a839f
LC
139862014-02-26 Ludovic Courtès <ludo@gnu.org>
13987
13988 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13989 test for 'history-append!'.
13990
31aa7e4e
JB
139912014-02-26 Joel Brobecker <brobecker@adacore.com>
13992
13993 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13994 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13995 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13996 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13997 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13998 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13999
1b588015
JB
140002014-02-26 Joel Brobecker <brobecker@adacore.com>
14001
14002 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14003 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14004 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14005
55426c9d
JB
140062014-02-26 Joel Brobecker <brobecker@adacore.com>
14007
14008 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14009
dc53a7ad
JB
140102014-02-26 Joel Brobecker <brobecker@adacore.com>
14011
14012 * gdb.dwarf2/arr-stride.c: New file.
14013 * gdb.dwarf2/arr-stride.exp: New file.
14014
12ab52e9
PA
140152014-02-26 Pedro Alves <palves@redhat.com>
14016
14017 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14018 that won't ever trigger. Make sure that GDB reports the correct
14019 breakpoint that caused the stop.
14020
849c862e
JK
140212014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14022
14023 PR gdb/16626
14024 * gdb.base/auto-load-script: New file.
14025 * gdb.base/auto-load.c: New file.
14026 * gdb.base/auto-load.exp: New file.
14027
71b7d793
JK
14028 PR gdb/16626
14029 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14030
e2f0d509
JK
140312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14032
14033 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14034 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14035
50cc37c8
DE
140362014-02-24 Doug Evans <dje@google.com>
14037
14038 * lib/gdb.exp (run_on_host): Log error output if program fails.
14039
ea4758f2
PA
140402014-02-21 Pedro Alves <palves@redhat.com>
14041
14042 * gdb.threads/step-after-sr-lock.c: Rename to ...
14043 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14044 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14045 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14046 ... this.
14047
d7b30f67
SDJ
140482014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14049
14050 PR tdep/16397
14051 * gdb.arch/amd64-stap-special-operands.exp: New file.
14052 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14053 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14054 * gdb.arch/amd64-stap-triplet.S: Likewise.
14055 * gdb.arch/amd64-stap-triplet.c: Likewise.
14056
83deb43f
JB
140572014-02-20 Joel Brobecker <brobecker@adacore.com>
14058
14059 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14060 in .section pseudo-op.
14061
adde2bff
DE
140622014-02-20 lin zuojian <manjian2006@gmail.com>
14063 Joel Brobecker <brobecker@adacore.com>
14064 Doug Evans <xdje42@gmail.com>
14065
14066 PR symtab/16581
14067 * gdb.dwarf2/dw2-icycle.S: New file.
14068 * gdb.dwarf2/dw2-icycle.c: New file.
14069 * gdb.dwarf2/dw2-icycle.exp: New file.
14070
f7bd0f78
SC
140712014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14072
14073 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14074 operations on gdb.Value objects.
14075 * gdb.python/py-value-cc.exp: Add new test to test operations on
14076 gdb.Value objects.
14077
c17ef0d5
DE
140782014-02-18 Doug Evans <dje@google.com>
14079
14080 * Makefile.in (TESTS): New variable.
14081 (expanded_tests, expanded_tests_or_none): New variables
14082 (check-single): Pass $(expanded_tests_or_none) to runtest.
14083 (check-parallel): Only run tests in $(TESTS) if non-empty.
14084 (check/no-matching-tests-found): New rule.
14085 * README: Document TESTS makefile variable.
14086
5dd3176f
DE
140872014-02-18 Doug Evans <dje@google.com>
14088
14089 * Makefile.in (check-parallel): rm -rf outputs temp.
14090
0b10be4f
JK
140912014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14092
14093 Fix "ERROR: no fileid for" in the testsuite.
14094 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14095
85f224e7
DE
140962014-02-12 Doug Evans <dje@google.com>
14097
14098 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14099 (MISCELLANEOUS): New variable.
14100 (clean): rm -rf $(MISCELLANEOUS).
14101 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14102 dwp live in the same directory as symlinks, with each symlink pointed
14103 to a differently named file in a different directory.
14104
149b30ff
DE
141052014-02-11 Doug Evans <dje@google.com>
14106
14107 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14108 of Tcl file commands.
14109
1dfdac32
MK
141102014-02-10 Mark Kettenis <kettenis@gnu.org>
14111
14112 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14113 "kill -SIGUSR1 -1".
14114
aa4fb036
JB
141152014-02-10 Joel Brobecker <brobecker@adacore.com>
14116
14117 * gdb.ada/tick_length_array_enum_idx: New testcase.
14118
ed3ef339
DE
141192014-02-10 Doug Evans <xdje42@gmail.com>
14120
14121 * configure.ac (AC_OUTPUT): Add gdb.guile.
14122 * configure: Regenerate.
14123 * lib/gdb-guile.exp: New file.
14124 * lib/gdb.exp (get_target_charset): New function.
14125 * gdb.base/help.exp: Update expected output from "apropos apropos".
14126 * gdb.guile/Makefile.in: New file.
14127 * gdb.guile/guile.exp: New file.
14128 * gdb.guile/scm-arch.c: New file.
14129 * gdb.guile/scm-arch.exp: New file.
14130 * gdb.guile/scm-block.c: New file.
14131 * gdb.guile/scm-block.exp: New file.
14132 * gdb.guile/scm-breakpoint.c: New file.
14133 * gdb.guile/scm-breakpoint.exp: New file.
14134 * gdb.guile/scm-disasm.c: New file.
14135 * gdb.guile/scm-disasm.exp: New file.
14136 * gdb.guile/scm-equal.c: New file.
14137 * gdb.guile/scm-equal.exp: New file.
14138 * gdb.guile/scm-error.exp: New file.
14139 * gdb.guile/scm-error.scm: New file.
14140 * gdb.guile/scm-frame-args.c: New file.
14141 * gdb.guile/scm-frame-args.exp: New file.
14142 * gdb.guile/scm-frame-args.scm: New file.
14143 * gdb.guile/scm-frame-inline.c: New file.
14144 * gdb.guile/scm-frame-inline.exp: New file.
14145 * gdb.guile/scm-frame.c: New file.
14146 * gdb.guile/scm-frame.exp: New file.
14147 * gdb.guile/scm-generics.exp: New file.
14148 * gdb.guile/scm-gsmob.exp: New file.
14149 * gdb.guile/scm-iterator.c: New file.
14150 * gdb.guile/scm-iterator.exp: New file.
14151 * gdb.guile/scm-math.c: New file.
14152 * gdb.guile/scm-math.exp: New file.
14153 * gdb.guile/scm-objfile-script-gdb.in: New file.
14154 * gdb.guile/scm-objfile-script.c: New file.
14155 * gdb.guile/scm-objfile-script.exp: New file.
14156 * gdb.guile/scm-objfile.c: New file.
14157 * gdb.guile/scm-objfile.exp: New file.
14158 * gdb.guile/scm-ports.exp: New file.
14159 * gdb.guile/scm-pretty-print.c: New file.
14160 * gdb.guile/scm-pretty-print.exp: New file.
14161 * gdb.guile/scm-pretty-print.scm: New file.
14162 * gdb.guile/scm-section-script.c: New file.
14163 * gdb.guile/scm-section-script.exp: New file.
14164 * gdb.guile/scm-section-script.scm: New file.
14165 * gdb.guile/scm-symbol.c: New file.
14166 * gdb.guile/scm-symbol.exp: New file.
14167 * gdb.guile/scm-symtab-2.c: New file.
14168 * gdb.guile/scm-symtab.c: New file.
14169 * gdb.guile/scm-symtab.exp: New file.
14170 * gdb.guile/scm-type.c: New file.
14171 * gdb.guile/scm-type.exp: New file.
14172 * gdb.guile/scm-value-cc.cc: New file.
14173 * gdb.guile/scm-value-cc.exp: New file.
14174 * gdb.guile/scm-value.c: New file.
14175 * gdb.guile/scm-value.exp: New file.
14176 * gdb.guile/source2.scm: New file.
14177 * gdb.guile/types-module.cc: New file.
14178 * gdb.guile/types-module.exp: New file.
14179
7026a7c1
YQ
141802014-02-10 Yao Qi <yao@codesourcery.com>
14181
14182 PR testsuite/16543
14183 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14184 * configure: Regenerated.
14185 * Makefile.in: New file.
14186
6c466447
AS
141872014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14188
14189 * gdb.python/py-framefilter.exp: Fix typo.
14190
6e854735
YQ
141912014-02-08 Yao Qi <yao@codesourcery.com>
14192
14193 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14194 that no =breakpoint-modified is emitted when breakpoints are
14195 modified through MI commands.
14196
d137e6dc
PA
141972014-02-07 Pedro Alves <pedro@codesourcery.com>
14198 Pedro Alves <palves@redhat.com>
14199
14200 * gdb.threads/step-after-sr-lock.c: New file.
14201 * gdb.threads/step-after-sr-lock.exp: New file.
14202
b5ee5a50
PA
142032014-02-07 Pedro Alves <palves@redhat.com>
14204
14205 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14206
3c77faf3
JK
142072014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14208
14209 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14210 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14211
6dddc817
DE
142122014-02-06 Doug Evans <xdje42@gmail.com>
14213
14214 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14215 output.
14216
14217 * gdb.gdb/python-interrupts.exp: New file.
14218
de7b2893
YQ
142192014-02-05 Yao Qi <yao@codesourcery.com>
14220
14221 * gdb.trace/report.exp (use_collected_data): Test the output
14222 of "info threads" and "info inferiors".
14223
66d032ac
YQ
142242014-02-05 Yao Qi <yao@codesourcery.com>
14225
14226 Revert this patch:
14227
14228 2013-05-24 Yao Qi <yao@codesourcery.com>
14229
14230 * gdb.trace/tfile.exp: Test inferior and thread.
14231
591a12a1
UW
142322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14233
14234 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14235 on a function.
14236 * gdb.base/step-bt.c: Call hello via function pointer to make
14237 sure its first instruction is executed on powerpc64le-linux.
14238
0ff3e01f
UW
142392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14240
14241 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14242
084ee545
UW
142432014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14244
14245 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14246 of the test patterns for use on little-endian systems.
14247
6ed14ff3
UW
142482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14249
14250 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14251 (decimal_vector): Fix for little-endian.
14252
401e27fd
JM
142532014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14254
14255 * gdb.arch/sparc-sysstep.exp: New file.
14256 * gdb.arch/sparc-sysstep.c: Likewise.
14257
14258 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14259
8b924729
EBM
142602014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14261
14262 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14263
fb151210
JB
142642014-01-23 Tom Tromey <tromey@redhat.com>
14265
14266 * gdb.ada/array_char_idx: New testcase.
14267
0740f8d8
TT
142682014-01-23 Tom Tromey <tromey@redhat.com>
14269
14270 PR python/16487:
14271 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14272 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14273 classes.
14274
21909fa1
TT
142752014-01-23 Tom Tromey <tromey@redhat.com>
14276
14277 PR python/16491:
14278 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14279 string from an inferior frame.
14280 * gdb.python/py-framefilter-mi.exp: Update.
14281
87ce2a04
DE
142822014-01-22 Doug Evans <dje@google.com>
14283
14284 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14285
237b092b
AA
142862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14287
14288 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14289
d674a709
AA
142902014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14291
14292 * gdb.trace/entry-values.exp: Remove excess space character from
14293 regex patterns. Handle s390 call instruction.
14294
20fa3390
AA
142952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14296
14297 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14298 define "*_start" label. Make "name" static.
14299 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14300 ${name} by references to ${name}_start.
14301
78466714
AA
143022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14303
14304 * gdb.base/info-macros.exp: Remove "debug" from the compile
14305 options.
14306
ec9f644a
IB
143072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14308
14309 * gdb.dlang/demangle.exp: New file.
14310
94b1b47e
IB
143112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14312
14313 * gdb.dlang/primitive-types.exp: New file.
14314
7f420862
IB
143152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14316
14317 * configure.ac: Create gdb.dlang/Makefile.
14318 * configure: Regenerate.
14319 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14320 * gdb.dlang/Makefile.in: New file.
14321 * lib/d-support.exp: New file.
14322 * lib/gdb.exp (skip_d_tests): New proc.
14323
52834460
MM
143242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14325
14326 * gdb.btrace/delta.exp: Check reverse stepi.
14327 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14328 * gdb.btrace/finish.exp: New.
14329 * gdb.btrace/next.exp: New.
14330 * gdb.btrace/nexti.exp: New.
14331 * gdb.btrace/record_goto.c: Add comments.
14332 * gdb.btrace/step.exp: New.
14333 * gdb.btrace/stepi.exp: New.
14334 * gdb.btrace/multi-thread-step.c: New.
14335 * gdb.btrace/multi-thread-step.exp: New.
14336 * gdb.btrace/rn-dl-bind.c: New.
14337 * gdb.btrace/rn-dl-bind.exp: New.
14338 * gdb.btrace/data.c: New.
14339 * gdb.btrace/data.exp: New.
14340 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14341
6e07b1d2
MM
143422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14343
14344 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14345 * gdb.btrace/exception.exp: Update.
14346 * gdb.btrace/instruction_history.exp: Update.
14347 * gdb.btrace/record_goto.exp: Update.
14348 * gdb.btrace/tailcall.exp: Update.
14349 * gdb.btrace/unknown_functions.exp: Update.
14350 * gdb.btrace/delta.exp: New.
14351
0b722aec
MM
143522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14353
14354 * gdb.btrace/record_goto.exp: Add backtrace test.
14355 * gdb.btrace/tailcall.exp: Add backtrace test.
14356
066ce621
MM
143572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14358
14359 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14360 * gdb.btrace/record_goto.c: New.
14361 * gdb.btrace/record_goto.exp: New.
14362 * gdb.btrace/x86-record_goto.S: New.
14363
0688d04e
MM
143642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14365
14366 * gdb.btrace/function_call_history.exp: Update tests.
14367 * gdb.btrace/instruction_history.exp: Update tests.
14368
8710b709
MM
143692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14370
14371 * gdb.btrace/function_call_history.exp: Fix expected field
14372 order for "record function-call-history".
14373 Add new tests for "record function-call-history /c".
14374 * gdb.btrace/exception.cc: New.
14375 * gdb.btrace/exception.exp: New.
14376 * gdb.btrace/tailcall.exp: New.
14377 * gdb.btrace/x86-tailcall.S: New.
14378 * gdb.btrace/x86-tailcall.c: New.
14379 * gdb.btrace/unknown_functions.c: New.
14380 * gdb.btrace/unknown_functions.exp: New.
14381 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14382
5de9129b
MM
143832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14384
14385 * gdb.btrace/instruction_history.exp: Update.
14386 * gdb.btrace/function_call_history.exp: Update.
14387
23a7fe75
MM
143882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14389
14390 * gdb.btrace/function_call_history.exp: Fix expected function
14391 trace.
14392 * gdb.btrace/instruction_history.exp: Initialize traced.
14393 Remove traced_functions.
14394
724c7dd8
MM
143952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14396
14397 * gdb.btrace/function_call_history.exp: Update
14398 * gdb.btrace/instruction_history.exp: Update.
14399
6d78d93b
MM
144002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14401
14402 * gdb.btrace/enable.exp: Update expected text.
14403
93a360cc
OJ
144042014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14405
14406 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14407 bytes.
14408
3772b53f
MR
144092014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14410
14411 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14412
596662fa
OJ
144132014-01-15 Omair Javaid <omair.javaid@linaro.org>
14414
14415 * lib/gdb.exp (supports_process_record): Return true for
14416 arm*-linux*. (supports_reverse): Likewise.
14417
b5b08fb4
SC
144182014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14419
14420 PR python/15464
14421 PR python/16113
14422 * gdb.python/py-type.c: Enhance test case.
14423 * gdb.python/py-value-cc.cc: Likewise
14424 * gdb.python/py-type.exp: Add new tests.
14425 * gdb.python/py-value-cc.exp: Likewise
14426
52d7fb13
AA
144272014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14428 Pedro Alves <palves@redhat.com>
14429
14430 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14431 Make "name" extern.
14432 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14433 references to ${name}_start by references to ${name}.
14434
a2cd8cfe
JB
144352014-01-10 Joel Brobecker <brobecker@adacore.com>
14436
14437 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14438
4e23fced
JB
144392014-01-10 Joel Brobecker <brobecker@adacore.com>
14440
14441 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14442
c6a9e42c
PA
144432014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14444 Pedro Alves <palves@redhat.com>
14445
14446 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 14447 mi_gdb_target_load.
c6a9e42c 14448
b7ea362b
PA
144492014-01-08 Pedro Alves <palves@redhat.com>
14450
14451 * gdb.threads/reconnect-signal.c: New file.
14452 * gdb.threads/reconnect-signal.exp: New file.
14453
5e3f4fab
EBM
144542014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14455
14456 * gdb.base/source-dir.exp: New file.
14457
79301218
JB
144582014-01-07 Joel Brobecker <brobecker@adacore.com>
14459
14460 * gdb.ada/mi_interface: New testcase.
14461
8e355c5d
JB
144622014-01-07 Joel Brobecker <brobecker@adacore.com>
14463
14464 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14465 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14466 gdb.ada/pp-rec-component/pck.ads: New files.
14467
c0d48811
JB
144682014-01-07 Joel Brobecker <brobecker@adacore.com>
14469
14470 * gdb.python/py-pp-integral.c: New file.
14471 * gdb.python/py-pp-integral.py: New file.
14472 * gdb.python/py-pp-integral.exp: New file.
14473
17b609c3 14474For older changes see ChangeLog-1993-2013.
c906108c 14475\f
8d8cb839
EZ
14476;; Local Variables:
14477;; mode: change-log
14478;; left-margin: 8
14479;; fill-column: 74
14480;; version-control: never
14481;; End:
902f2ccb 14482
e2882c85 14483 Copyright 2014-2018 Free Software Foundation, Inc.
902f2ccb
MC
14484 Copying and distribution of this file, with or without modification,
14485 are permitted provided the copyright notice and this notice are preserved.