]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Recognize more program breakpoint patterns
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5f440116
TBA
12020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2
3 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4 GCC/Clang version.
5 * gdb.cp/pass-by-ref.exp: Ditto.
6
ee2a6fc6
TV
72020-01-29 Tom de Vries <tdevries@suse.de>
8
9 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
10 * gdb.threads/watchpoint-fork-mt.c: Same.
11 * gdb.threads/watchpoint-fork-parent.c: Same.
12 * gdb.threads/watchpoint-fork-st.c: Same.
13 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
14
16b10d6e
LM
152020-01-27 Luis Machado <luis.machado@linaro.org>
16
17 * gdb.base/step-over-syscall.exp (setup): Check if we're already
18 sitting at a syscall instruction when we hit the syscall function's
19 breakpoint.
20 Check PC against one obtained with the x command.
21 Validate syscall number.
22 (step_over_syscall): Don't continue to the syscall instruction if
23 we're already there.
24
b1468492
PW
252020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
26
27 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
28
7ffa82e1
AB
292020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
30
31 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
32 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
33
3d92a3e3
AB
342020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.dwarf2/dw2-inline-stepping.c: New file.
37 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
38
94a72be7
AB
392020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
40
41 * gdb.base/maint.exp: Update line table parsing test.
42 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
43
53af73bf
PA
442020-01-24 Pedro Alves <palves@redhat.com>
45
46 PR gdb/25410
47 * gdb.multi/multi-re-run-1.c: New.
48 * gdb.multi/multi-re-run-2.c: New.
49 * gdb.multi/multi-re-run.exp: New.
50
1ba1ac88
AB
512020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 PR gdb/23718
54 * gdb.server/server-kill-python.exp: New file.
55
f3364a6d
AB
562020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
57
58 * gdb.server/multi-ui-errors.c: New file.
59 * gdb.server/multi-ui-errors.exp: New file.
60
733d0a67
AB
612020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 PR tui/9765
64 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
65
4f13c1c0
TT
662020-01-19 Tom Tromey <tom@tromey.com>
67
68 * gdb.tui/main.exp: Add check for plain "file".
69
40c94099
CB
702020-01-16 Christian Biesinger <cbiesinger@google.com>
71
72 * lib/gdb.exp: Fix spelling error (seperatelly).
73
ff47f4f0
TT
742020-01-14 Tom Tromey <tom@tromey.com>
75
76 PR symtab/12535:
77 * gdb.python/python.exp: Test decode_line with empty string
78 argument.
79
717c684d
BE
802020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
81
82 * gdb.base/skip-inline.exp: Extend test.
83
44e4c775
AB
842020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
85
86 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
87 * gdb.dwarf2/dw2-bad-elf.c: New file.
88 * gdb.dwarf2/dw2-bad-elf.exp: New file.
89
d93c6db7
AB
902020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
91
92 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
93 _line_saw_file.
94
9a6d629c
AB
952020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
96
97 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
98 border.
99
d9ebdab7
TBA
1002020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
101
102 * gdb.multi/multi-target.exp (setup): Factor out "info
103 connections" and "info inferiors" tests to ...
104 (test_info_inferiors): ... this new procedure.
105 (top level): Run new "info-inferiors" tests.
106
f3c469b9
PA
1072020-01-10 Pedro Alves <palves@redhat.com>
108
109 * gdb.server/bkpt-other-inferior.exp: New file.
110
121b3efd
PA
1112020-01-10 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
114 of "add-inferior".
115 * gdb.base/quit-live.exp: Likewise.
116 * gdb.base/remote-exec-file.exp: Likewise.
117 * gdb.guile/scm-progspace.exp: Likewise.
118 * gdb.linespec/linespec.exp: Likewise.
119 * gdb.mi/new-ui-mi-sync.exp: Likewise.
120 * gdb.mi/user-selected-context-sync.exp: Likewise.
121 * gdb.multi/multi-target.exp (setup): Add "info connection" and
122 "info inferiors" tests.
123 * gdb.multi/remove-inferiors.exp: Adjust expected output of
124 "add-inferior".
125 * gdb.multi/watchpoint-multi.exp: Likewise.
126 * gdb.python/py-inferior.exp: Likewise.
127 * gdb.server/extended-remote-restart.exp: Likewise.
128 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
129 "info inferiors".
130 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
131 * gdb.trace/report.exp: Likewise.
132
1dadb1dd
PA
1332020-01-10 Pedro Alves <palves@redhat.com>
134
135 * gdb.multi/multi-target.c: New file.
136 * gdb.multi/multi-target.exp: New file.
137 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
138 mode requested, but remote does not support non-stop".
139
78f2c40a
PA
1402020-01-10 Pedro Alves <palves@redhat.com>
141
142 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
143 disconnect before reconnecting.
144
e7af6c70
TBA
1452020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
146 Pedro Alves <palves@redhat.com>
147
148 * gdb.server/connect-without-multi-process.exp: Also test
149 continuing to end.
150
acdf84a6
PA
1512020-01-10 Pedro Alves <palves@redhat.com>
152
153 * gdb.base/remote-exec-file.exp: New file.
154
873657b9
PA
1552020-01-10 Pedro Alves <palves@redhat.com>
156
157 * gdb.base/fork-running-state.exp (do_test): Adjust expected
158 output.
159 * gdb.threads/async.c: New.
160 * gdb.threads/async.exp: New.
161 * gdb.multi/tids-gid-reset.c: New.
162 * gdb.multi/tids-gid-reset.exp: New.
163
7f0ae84c
GB
1642020-01-10 George Barrett <bob@bob131.so>
165
166 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
167 to help in finding the image relocation offset.
168 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
169 options in arguments.
170 (stap_test_no_debuginfo): Likewise.
171 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
172 test variants.
173 (stap_test): Add null semaphore relocation test.
174
47e9d49d
GB
1752020-01-10 George Barrett <bob@bob131.so>
176
177 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
178 * gdb.base/stap-probe.exp: Likewise.
179 (stap_test): Pass argument as an additional flag.
180 (stap_test_no_debuginfo): Likewise.
181 (stap_test): Check `info probes stap' output for semaphore
182 addresses if the test binary is supposed to have them.
183
f5a7c406
AB
1842020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.tui/basic.exp: Add more scrolling tests.
187
9ae6bf64
TT
1882020-01-09 Tom Tromey <tom@tromey.com>
189
190 PR tui/18932:
191 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
192 meangingful value.
193 (Term::command, Term::resize): Update.
194 * gdb.tui/basic.exp: Add scrolling test.
195
b2efe70c
AB
1962020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * gdb.tui/tui-layout-asm.exp: New file.
199
3804da7e
AB
2002020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
201
202 * lib/tuiterm.exp (Term::check_box_contents): New proc.
203
b40aa28f
AB
2042020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
205
206 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
207 (Term::enter_tui): Use Term::prepare_for_tui.
208
63ffd7c9
AB
2092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
210
211 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
212 called.
213
3be966f6
AB
2142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * gdb.base/skip.exp: Fix race condition in test.
217
153d79c4
AB
2182020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.base/backtrace.c: New file.
221 * gdb.base/backtrace.exp: New file.
222
f2302a34
AB
2232020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
224
225 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
226
6ec1d75e
PW
2272020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
228
229 * gdb.base/style.exp: Test that warnings are styled.
230
c296cbe6
BE
2312019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
232
233 * gdb.base/line65535.exp: New file.
234 * gdb.base/line65535.c: New file.
235
b28a729d
SM
2362019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
237
238 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
239 * lib/gnat_debug_info_test.adb: New file.
240 * gdb.ada/ptype_tagged_param.exp: Use
241 gnat_runtime_has_debug_info, expect a different output if
242 runtime does not have debug info.
243
7f2d7a0d
SM
2442019-12-20 Simon Marchi <simon.marchi@efficios.com>
245
246 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
247 (another) quote in test name.
248
f3bce483
SM
2492019-12-20 Simon Marchi <simon.marchi@efficios.com>
250
251 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
252 Add quote in test name.
253
c855a912
TBA
2542019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
255
256 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
257 directory instead.
258 * gdb.cp/pass-by-ref.exp: Extend with more cases.
259 * gdb.cp/pass-by-ref-2.cc: New file.
260 * gdb.cp/pass-by-ref-2.exp: New file.
261
fc9d2d72
TT
2622019-12-20 Tom Tromey <tom@tromey.com>
263
264 * gdb.tui/list-before.exp: New file.
265
77b97e00
TT
2662019-12-20 Tom Tromey <tom@tromey.com>
267
268 * gdb.tui/list.exp: Check for source on initial listing.
269
f69656d0
TT
2702019-12-11 Tom Tromey <tromey@adacore.com>
271
272 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
273 Add crlf test.
274
99a55965
SM
2752019-12-18 Simon Marchi <simon.marchi@efficios.com>
276
277 * gdb.base/default.exp: Update value of $_gdb_major.
278
5024637f
BE
2792019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
280
281 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
282
b63634be
BE
2832019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
284
285 * gdb.base/skip.exp: Whitespace fix.
286
45d73523
BE
2872019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
288
289 * gdb.base/skip-inline.c: New file.
290 * gdb.base/skip-inline.exp: New file.
291
d043f8c8
SM
2922019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
293
294 * gdb.base/jit-reader.exp (jit_reader_test): Rename
295 jit_function_00 to jit_function_stack_mangle.
296 * gdb.base/jithost.c (jit_function_t): Rename to...
297 (jit_function_stack_mangle_t): ... this.
298 (jit_function_add_t): New typedef.
299 (jit_function_00_code): Rename to...
300 (jit_function_stack_mangle_code): ... this, make static.
301 (jit_function_add_code): New.
302 (main): Generate "add" function and call it. Adjust to changes
303 in jithost_abi.
304 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
305 (struct jithost_abi) <begin, end>: Remove fields.
306 <object, function_stack_mangle, function_add>: New fields.
307 * gdb.base/jitreader.c (struct reader_state) <code_begin,
308 code_end>: Remove fields.
309 <func_stack_mangle>: New field.
310 (read_debug_info): Adjust to renaming, create block for "add"
311 function.
312 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
313
873de05c
TT
3142019-12-11 Tom Tromey <tom@tromey.com>
315
316 * gdb.tui/resize.exp: Fix regexp.
317 * gdb.tui/regs.exp: Fix regexps.
318 * gdb.tui/main.exp: Fix regexp.
319
3d979945
TT
3202019-12-11 Tom Tromey <tom@tromey.com>
321
322 * gdb.tui/resize.exp: Update.
323 * gdb.tui/empty.exp (layouts): Update.
324
2192a9d3
TT
3252019-12-11 Tom Tromey <tom@tromey.com>
326
327 * gdb.tui/regs.exp: Update.
328 * gdb.tui/empty.exp (layouts): Update.
329 * gdb.tui/basic.exp: Update.
330 * lib/tuiterm.exp (_check_box): Don't check bottom border.
331
d8edc8b7
PW
3322019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
333
334 * gdb.base/options.exp: Add -raw-values in the print completion list.
335 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
336
4c12d936
KB
3372019-12-10 Kevin Buettner <kevinb@redhat.com>
338
339 * gdb.threads/omp-par-scope.c: New file.
340 * gdb/threads/omp-par-scope.exp: New file.
341
26b911fb
KB
3422019-12-10 Kevin Buettner <kevinb@redhat.com>
343
bb47f919
KB
344 * lib/gdb.exp (support_nested_function_tests): New proc.
345
3462019-12-10 Kevin Buettner <kevinb@redhat.com>
347
348 * lib/gdb.exp (gdb_compile_openmp): New proc.
349 (build_executable_from_specs): Add an "openmp" option.
350 (gdb_compile_pthreads): Add non-executable case.
26b911fb 351
6c71eb7d
TT
3522019-12-10 Tom Tromey <tromey@adacore.com>
353
354 * gdb.ada/unchecked_union.exp: New file.
355 * gdb.ada/unchecked_union/pck.adb: New file.
356 * gdb.ada/unchecked_union/pck.ads: New file.
357 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
358 * gdb-utils.exp (string_to_regexp): Also quote "?".
359
bac7c5cf
GB
3602019-12-10 George Barrett <bob@bob131.so>
361
362 Test scripted probe breakpoints.
363 * gdb.guile/scm-breakpoint.c (main): Add probe point.
364 * gdb.python/py-breakpoint.c (main): Likewise.
365 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
366 specifier test.
367 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
368
330f1d38
TBA
3692019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
370
371 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
372 an rvalue parameter.
373 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
374 parameter.
375
b43315e2
AB
3762019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
377
378 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
379 modules.
380
54f73dad
AB
3812019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
384 broken version of GCC.
385
d57cbee9
AB
3862019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * gdb.fortran/info-modules.exp: Rewrite to make use of new
389 sym-info-cmds library.
390 * gdb.fortran/info-types.exp: Likewise.
391 * lib/sym-info-cmds.exp: New file.
392
c14aab8c
TV
3932019-12-08 Tom de Vries <tdevries@suse.de>
394
395 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
396
aa2d5a42
KS
3972019-12-07 Keith Seitz <keiths@redhat.com>
398
399 * gdb.base/corefile-buildid-shlib-shr.c: New file.
400 * gdb.base/corefile-buildid-shlib.c: New file.
401 * gdb.base/corefile-buildid.c: New file.
402 * gdb.base/corefile-buildid.exp: New file.
403
93e55f0a
TV
4042019-12-06 Tom de Vries <tdevries@suse.de>
405
406 * gdb.dwarf2/varval.exp: Add decl before def test.
407
c7d12402
TBA
4082019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
409
410 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
411
06acc08f
TBA
4122019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
413
414 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
415 CV and reference conversion for overload resolution.
416 * gdb.cp/rvalue-ref-overload.exp: Test it.
417
e0fad1ea
PW
4182019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
419
420 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
421 * gdb.base/frameapply.exp: Test faas without command.
422
8d70a9f0
AB
4232019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
424
425 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
426 Fortran tests.
427 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
428 order.
429
36c8fb93
AB
4302019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
431
432 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
433 casting to type with no kind specified.
434 (test_basic_parsing_of_type_kinds): Additional tests for types
435 with no kind specified, and add tests for single/double
436 precision/complex types.
437
4139ff00
TT
4382019-12-04 Tom Tromey <tromey@adacore.com>
439
440 * gdb.base/endianity.c (struct other) <x>: New field.
441 (main): Initialize it.
442 * gdb.base/endianity.exp: Update.
443
a05cf17a
TT
4442019-12-04 Tom Tromey <tromey@adacore.com>
445
446 * gdb.ada/scalar_storage/storage.adb: New file.
447 * gdb.ada/scalar_storage/pck.adb: New file.
448 * gdb.ada/scalar_storage/pck.ads: New file.
449 * gdb.ada/scalar_storage.exp: New file.
450
103a685e
TT
4512019-12-04 Tom Tromey <tromey@adacore.com>
452
453 * gdb.base/endianity.c (struct otherendian) <f>: New field.
454 (main): Initialize it.
455 * gdb.base/endianity.exp: Update.
456
c2512106
AB
4572019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
460
293b38d6
AB
4612019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
464 -symbol-info-module-functions and -symbol-info-module-variables.
465
216a7e6b
AB
4662019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
467
468 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
469
5bbd8269
AB
4702019-12-01 Richard Bunt <richard.bunt@arm.com>
471 Andrew Burgess <andrew.burgess@embecosm.com>
472
473 * gdb.fortran/derived-type-striding.exp: New file.
474 * gdb.fortran/derived-type-striding.f90: New file.
475 * gdb.fortran/array-slices.exp: New file.
476 * gdb.fortran/array-slices.f90: New file.
477
be09caf1
PW
4782019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
479
480 * gdb.base/define.exp: Test . in command names.
481 * gdb.base/setshow.exp: Update test, as . is now part of
482 command name.
483
643c0cbe
PW
4842019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
485
486 * gdb.base/define-prefix.exp: New file.
487
dcdec678
AB
4882019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
489
490 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
491 compile.
492 (skip_btrace_pt_tests): Likewise.
493
640ab947
AB
4942019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
495
496 * gdb.fortran/info-modules.exp: Compile source files in correct
497 order.
498
d22670f0
KB
4992019-11-27 Kevin Buettner <kevinb@redhat.com>
500
501 * gdb.dwarf2/imported-unit.exp: New file.
502 * gdb.dwarf2/imported-unit.c: New file.
503
db5960b4
AB
5042019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * gdb.mi/mi-fortran-modules-2.f90: New file.
507 * gdb.mi/mi-fortran-modules.exp: New file.
508 * gdb.mi/mi-fortran-modules.f90: New file.
509
7dc42066
AB
5102019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
511
512 * gdb.mi/mi-sym-info-1.c: New file.
513 * gdb.mi/mi-sym-info-2.c: New file.
514 * gdb.mi/mi-sym-info.exp: New file.
515
0dfeecca
TT
5162019-11-22 Tom Tromey <tromey@adacore.com>
517
518 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
519 * gdb.ada/tasks/foo.adb: Add another stopping location.
520
34877895
PJ
5212019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
522
523 * gdb.base/endianity.c: New test.
524 * gdb.base/endianity.exp: New file.
525
2e84f897
LD
5262019-11-21 Lukas Durfina <ldurfina@tachyum.com>
527
528 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
529
65d1cd5f
TV
5302019-11-21 Tom de Vries <tdevries@suse.de>
531
532 PR gdb/24956
533 * gdb.base/ui-redirect.exp: Test output of user-defined command.
534
4f22c3f4
SDJ
5352019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
536
537 * gdb.python/py-progspace.exp: Add missing parentheses on some
538 'print' commands.
539
9f6ad286
TT
5402019-11-19 Tom Tromey <tom@tromey.com>
541
542 * gdb.tui/winheight.exp: New file.
543
0b8dbf3f
AB
5442019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
545
546 * gdb.base/ctf-whatis.c: Delete.
547 * gdb.base/ctf-whatis.exp: Delete.
548 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
549
f833b7a7
AB
5502019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
551
552 * gdb.base/ctf-cvexpr.exp: Delete.
553 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
554
30d0a636
AB
5552019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
558 the compiler. Clean up header comment a little.
559 * gdb.base/ctf-ptype.exp: Likewise.
560 * gdb.base/ctf-whatis.exp: Likewise.
561 * lib/gdb.exp (skip_ctf_tests): New proc.
562
494409bb
SDJ
5632019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
564
565 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
566 * gdb.tui/corefile-run.exp: New file.
567
55708e99
TT
5682019-11-14 Tom Tromey <tromey@adacore.com>
569
570 * gdb.base/gdbvars.exp (test_convenience_variables): Add
571 regression tests.
572
45e42163
TT
5732019-11-12 Tom Tromey <tom@tromey.com>
574
575 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
576 after any command. Expect prompt after WAIT_FOR is seen.
577 (enter_tui): Enable resize messages.
578 (command): Expect command in output.
579 (get_line): Avoid error when cursor appears to be off-screen.
580 (dump_screen): Include screen size in title.
581 (_do_resize): New proc, from "resize".
582 (resize): Rewrite. Do resize in two steps.
583 * gdb.tui/empty.exp (layouts): Fix entries.
584 (check_boxes): Remove xfail.
585 (check_text): Dump screen on failure.
586
086baaf1
AB
5872019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
588
589 * gdb.python/py-symbol.exp: Add test for
590 gdb.lookup_static_symbols.
591
09ff83af
AB
5922019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
593
594 * gdb.python/py-symbol.c: Declare and call function from new
595 py-symbol-2.c file.
596 * gdb.python/py-symbol.exp: Compile both source files, and add new
597 tests for gdb.lookup_static_symbol.
598 * gdb.python/py-symbol-2.c: New file.
599
11af934b
TV
6002019-11-02 Tom de Vries <tdevries@suse.de>
601
602 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
603 * gdb.base/anon.exp: Same.
604 * gdb.base/auto-connect-native-target.exp: Same.
605 * gdb.base/call-ar-st.exp: Same.
606 * gdb.base/catch-syscall.exp: Same.
607 * gdb.base/commands.exp: Same.
608 * gdb.base/default.exp: Same.
609 * gdb.base/display.exp: Same.
610 * gdb.base/float.exp: Same.
611 * gdb.base/foll-fork.exp: Same.
612 * gdb.base/help.exp: Same.
613 * gdb.base/info-macros.exp: Same.
614 * gdb.base/info-proc.exp: Same.
615 * gdb.base/info-target.exp: Same.
616 * gdb.base/long_long.exp: Same.
617 * gdb.base/macscp.exp: Same.
618 * gdb.base/memattr.exp: Same.
619 * gdb.base/nofield.exp: Same.
620 * gdb.base/pointers.exp: Same.
621 * gdb.base/printcmds.exp: Same.
622 * gdb.base/ptype.exp: Same.
623 * gdb.base/restore.exp: Same.
624 * gdb.base/return.exp: Same.
625 * gdb.base/scope.exp: Same.
626 * gdb.base/set-noassign.exp: Same.
627 * gdb.base/setshow.exp: Same.
628 * gdb.base/shlib-call.exp: Same.
629 * gdb.base/signals.exp: Same.
630 * gdb.base/sigstep.exp: Same.
631 * gdb.base/skip.exp: Same.
632 * gdb.base/solib-symbol.exp: Same.
633 * gdb.base/stap-probe.exp: Same.
634 * gdb.base/step-line.exp: Same.
635 * gdb.base/step-test.exp: Same.
636 * gdb.base/style.exp: Same.
637 * gdb.base/varargs.exp: Same.
638 * gdb.base/vla-datatypes.exp: Same.
639 * gdb.base/vla-ptr.exp: Same.
640 * gdb.base/vla-sideeffect.exp: Same.
641 * gdb.base/volatile.exp: Same.
642 * gdb.base/watch-cond-infcall.exp: Same.
643 * gdb.base/watchpoint.exp: Same.
644
e96ec2ba
TV
6452019-11-02 Tom de Vries <tdevries@suse.de>
646
647 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
648 * gdb.cp/cpexprs.exp: Same.
649 * gdb.cp/except-multi-location.exp: Same.
650 * gdb.cp/exceptprint.exp: Same.
651 * gdb.cp/gdb2384.exp: Same.
652 * gdb.cp/inherit.exp: Same.
653 * gdb.cp/m-static.exp: Same.
654 * gdb.cp/meth-typedefs.exp: Same.
655 * gdb.cp/misc.exp: Same.
656 * gdb.cp/namespace.exp: Same.
657 * gdb.cp/non-trivial-retval.exp: Same.
658 * gdb.cp/overload.exp: Same.
659 * gdb.cp/pr17132.exp: Same.
660 * gdb.cp/re-set-overloaded.exp: Same.
661 * gdb.cp/rvalue-ref-types.exp: Same.
662 * gdb.cp/templates.exp: Same.
663
bd5766ec
LM
6642019-11-01 Luis Machado <luis.machado@linaro.org>
665
666 PR gdb/25124
667
668 * gdb.arch/pr25124.S: New file.
669 * gdb.arch/pr25124.exp: New file.
670
165f8965
AB
6712019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
672
673 * gdb.fortran/info-modules.exp: Update expected results, and add
674 additional tests for 'info module functinos', and 'info module
675 variables'.
676 * gdb.fortran/info-types.exp: Update expected results.
677 * gdb.fortran/info-types.f90: Extend testcase with additional
678 module variables and functions.
679
59c35742
AB
6802019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.fortran/info-modules.exp: New file.
683 * gdb.fortran/info-types.exp: Build with new file.
684 * gdb.fortran/info-types.f90: Include and use new module.
685 * gdb.fortran/info-types-2.f90: New file.
686
f3fb2519
PW
6872019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
688
689 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
690 * gdb.base/settings.exp: Test all settings types using
691 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
692 that now verifies that the value of "maint show" is the same as
693 returned by the settings functions. Test the type of the
694 maintenance settings.
695 * gdb.base/default.exp: Update show_conv_list.
696
d1e36019
TV
6972019-10-31 Tom de Vries <tdevries@suse.de>
698
699 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
700 gdb_test.
701 * gdb.arch/amd64-disp-step.exp: Same.
702 * gdb.asm/asm-source.exp: Same.
703 * gdb.btrace/buffer-size.exp: Same.
704 * gdb.btrace/cpu.exp: Same.
705 * gdb.btrace/enable.exp: Same.
706 * gdb.dwarf2/count.exp: Same.
707 * gdb.dwarf2/dw2-ranges-func.exp: Same.
708 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
709 * gdb.fortran/vla-datatypes.exp: Same.
710 * gdb.fortran/vla-history.exp: Same.
711 * gdb.fortran/vla-ptype.exp: Same.
712 * gdb.fortran/vla-value.exp: Same.
713 * gdb.fortran/whatis_type.exp: Same.
714 * gdb.guile/guile.exp: Same.
715 * gdb.multi/tids.exp: Same.
716 * gdb.python/py-finish-breakpoint.exp: Same.
717 * gdb.python/py-framefilter.exp: Same.
718 * gdb.python/py-pp-registration.exp: Same.
719 * gdb.python/py-xmethods.exp: Same.
720 * gdb.python/python.exp: Same.
721 * gdb.server/connect-with-no-symbol-file.exp: Same.
722 * gdb.server/no-thread-db.exp: Same.
723 * gdb.server/run-without-local-binary.exp: Same.
724 * gdb.stabs/weird.exp: Same.
725 * gdb.threads/attach-many-short-lived-threads.exp: Same.
726 * gdb.threads/thread-find.exp: Same.
727 * gdb.threads/tls-shared.exp: Same.
728 * gdb.threads/tls.exp: Same.
729 * gdb.threads/wp-replication.exp: Same.
730 * gdb.trace/ax.exp: Same.
731 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
732
3d11e68e
TV
7332019-10-31 Tom de Vries <tdevries@suse.de>
734
735 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
736 * gdb.ada/array_subscript_addr.exp: Same.
737 * gdb.ada/arrayidx.exp: Same.
738 * gdb.ada/arrayparam.exp: Same.
739 * gdb.ada/arrayptr.exp: Same.
740 * gdb.ada/boolean_expr.exp: Same.
741 * gdb.ada/call_pn.exp: Same.
742 * gdb.ada/complete.exp: Same.
743 * gdb.ada/fixed_cmp.exp: Same.
744 * gdb.ada/fun_addr.exp: Same.
745 * gdb.ada/funcall_param.exp: Same.
746 * gdb.ada/interface.exp: Same.
747 * gdb.ada/mod_from_name.exp: Same.
748 * gdb.ada/null_array.exp: Same.
749 * gdb.ada/packed_array.exp: Same.
750 * gdb.ada/packed_tagged.exp: Same.
751 * gdb.ada/print_chars.exp: Same.
752 * gdb.ada/print_pc.exp: Same.
753 * gdb.ada/ptype_arith_binop.exp: Same.
754 * gdb.ada/ptype_field.exp: Same.
755 * gdb.ada/ptype_tagged_param.exp: Same.
756 * gdb.ada/rec_return.exp: Same.
757 * gdb.ada/ref_tick_size.exp: Same.
758 * gdb.ada/str_ref_cmp.exp: Same.
759 * gdb.ada/taft_type.exp: Same.
760 * gdb.ada/tagged.exp: Same.
761 * gdb.ada/type_coercion.exp: Same.
762 * gdb.ada/uninitialized_vars.exp: Same.
763
60b6ede8
TV
7642019-10-30 Tom de Vries <tdevries@suse.de>
765
766 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
767
30baf67b
TV
7682019-10-26 Tom de Vries <tdevries@suse.de>
769
770 * gdb.base/bigcore.c: Fix typos in comments.
771 * gdb.base/ctf-ptype.c: Same.
772 * gdb.base/long_long.c: Same.
773 * gdb.dwarf2/dw2-op-out-param.S: Same.
774 * gdb.python/py-evthreads.c: Same.
775 * gdb.reverse/i387-stack-reverse.c: Same.
776 * gdb.trace/tfile.c: Same.
777 * lib/compiler.c: Same.
778 * lib/compiler.cc: Same.
779
158da0d1
TV
7802019-10-25 Tom de Vries <tdevries@suse.de>
781
782 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
783 gdb_test_multiple calls.
784 * gdb.reverse/sigall-reverse.exp: Same.
785 * gdb.reverse/solib-precsave.exp: Same.
786 * gdb.reverse/solib-reverse.exp: Same.
787 * gdb.reverse/until-precsave.exp: Same.
788 * gdb.reverse/until-reverse.exp: Same.
789
4ccdfbec
TV
7902019-10-24 Tom de Vries <tdevries@suse.de>
791
792 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
793 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
794 kfail using -wrap pattern flag and convenience variable
795 gdb_test_name.
796
33d569b7
AB
7972019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.python/py-progspace.exp: Add tests for the
800 Progspace.block_for_pc method.
801
4d0b984b
TT
8022019-10-23 Tom Tromey <tom@tromey.com>
803
804 * configure: Rebuild.
805 * aclocal.m4: Use m4_include, not sinclude.
806
94cb3754
TV
8072019-10-21 Tom de Vries <tdevries@suse.de>
808
809 * gdb.base/infcall-nested-structs.c: Add
810 __attribute__((noinline,noclone)) to all functions.
811 (call_all): Add missing variable initialization. Simplify return value.
812 (breakpt): Increment volatile variable, to prevent call from being
813 optimized out.
814 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
815
062f1fc1
TV
8162019-10-17 Tom de Vries <tdevries@suse.de>
817
818 * gdb.fortran/module.exp: Allow info variables to print info for files
819 other than module.f90.
820
0b54364d
AB
8212019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 * gdb.fortran/module.exp: Extend with 'info variables' test.
824
7ff5fae7
AB
8252019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
826
827 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
828 F77_FOR_TARGET.
829
d10eccaa
TV
8302019-10-16 Tom de Vries <tdevries@suse.de>
831
832 PR tdep/25096
833 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
834
745ff14e
TV
8352019-10-16 Tom de Vries <tdevries@suse.de>
836
837 PR tdep/24104
838 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
839 Add KFAIL for PR tdep/25096.
840
03e1ab94
TV
8412019-10-16 Tom de Vries <tdevries@suse.de>
842
843 PR testsuite/25059
844 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
845
b17fcc10
TV
8462019-10-16 Tom de Vries <tdevries@suse.de>
847
848 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
849 as signed.
850
9223170f
SM
8512019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
852
853 * gdb.mi/list-thread-groups-available.exp: Read entries one by
854 one instead of increasing timeout.
855
d6e76313
TV
8562019-10-13 Tom de Vries <tdevries@suse.de>
857
858 PR record/25038
859 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
860 * gdb.reverse/sigall-reverse.exp: Same.
861 * gdb.reverse/solib-precsave.exp: Same.
862 * gdb.reverse/solib-reverse.exp: Same.
863 * gdb.reverse/step-precsave.exp: Same.
864 * gdb.reverse/until-precsave.exp: Same.
865 * gdb.reverse/until-reverse.exp: Same.
866 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
867
6dfc0041
AA
8682019-10-10 Andreas Arnez <arnez@linux.ibm.com>
869
870 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
871 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
872 (cmp_struct_05_01, cmp_struct_static_02_01)
873 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
874 comparisons.
875
abcf2cc8
TV
8762019-10-10 Tom de Vries <tdevries@suse.de>
877
878 PR testsuite/24888
879 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
880 gnatlink.
881
a50faaf6
TV
8822019-10-09 Tom de Vries <tdevries@suse.de>
883
884 PR testsuite/25048
885 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
886
60ff3cd7
AB
8872019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
890 exceptions due to missing debug information.
891
dfee8566
TV
8922019-10-07 Tom de Vries <tdevries@suse.de>
893
894 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
895
3d63690a
AB
8962019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
899 * gdb.base/annota1.exp: Update to use gdb_test_name.
900
30d1f018
WP
9012019-10-07 Weimin Pan <weimin.pan@oracle.com>
902
903 * gdb.base/ctf-whatis.exp: New file.
904 * gdb.base/ctf-whatis.c: New file.
905 * gdb.base/ctf-ptype.exp: New file.
906 * gdb.base/ctf-ptype.c: New file.
907 * gdb.base/ctf-constvars.exp: New file.
908 * gdb.base/ctf-constvars.c: New file.
909 * gdb.base/ctf-cvexpr.exp: New file.
910
4dbbb47c
TV
9112019-10-04 Tom de Vries <tdevries@suse.de>
912
913 * gdb.cp/local-static.c (main): Move declaration of int i out of the
914 for loop.
915
77c2dba3
TT
9162019-10-03 Tom Tromey <tom@tromey.com>
917
918 PR rust/24976:
919 * gdb.rust/simple.rs (Union2): New type.
920 (main): Use Union2.
921 * gdb.rust/simple.exp: Add test.
922
179aed7f
AB
9232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
924
925 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
926 nested function prefix.
927
0a4b0913
AB
9282019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
929 Richard Bunt <richard.bunt@arm.com>
930 Andrew Burgess <andrew.burgess@embecosm.com>
931
932 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
933 nested functions.
934 * gdb.fortran/nested-funcs.f90: Update expected results.
935 * gdb.fortran/nested-funcs-2.exp: New file.
936 * gdb.fortran/nested-funcs-2.f90: New file.
937
082cce05
AB
9382019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
939
940 * gdb.python/py-parameter.exp: Make test names unique.
941 * gdb.python/py-template.exp: Likewise.
942 * gdb.python/py-value.exp: Likewise.
943
2b74ba5a
AB
9442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
945
946 * gdb.base/break-interp.exp: Reduce test name duplication.
947 * gdb.base/call-sc.exp: Likewise.
948 * gdb.base/callfuncs.exp: Likewise.
949 * gdb.base/charset.exp: Likewise.
950 * gdb.base/dump.exp: Likewise.
951 * gdb.base/ena-dis-br.exp: Likewise.
952 * gdb.base/relational.exp: Likewise.
953 * gdb.base/step-over-syscall.exp: Likewise.
954 * gdb.base/structs.exp: Likewise.
955
58eb20d5
AB
9562019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
957
958 * gdb.linespec/explicit.exp: Make test names unique.
959 * gdb.linespec/ls-errs.exp: Likewise.
960
4d421147
AB
9612019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
962
963 * gdb.reverse/break-precsave.exp: Make test names unique.
964 * gdb.reverse/break-reverse.exp: Likewise.
965 * gdb.reverse/finish-precsave.exp: Likewise.
966 * gdb.reverse/finish-reverse.exp: Likewise.
967 * gdb.reverse/machinestate-precsave.exp: Likewise.
968 * gdb.reverse/machinestate.exp: Likewise.
969 * gdb.reverse/readv-reverse.exp: Likewise.
970 * gdb.reverse/recvmsg-reverse.exp: Likewise.
971 * gdb.reverse/sigall-precsave.exp: Likewise.
972 * gdb.reverse/sigall-reverse.exp: Likewise.
973 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
974 * gdb.reverse/watch-precsave.exp: Likewise.
975 * gdb.reverse/watch-reverse.exp: Likewise.
976
d8c06f22
AB
9772019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
978
979 * gdb.threads/stop-with-handle.c: New file.
980 * gdb.threads/stop-with-handle.exp: New file.
981
3a56ed86
TV
9822019-10-03 Tom de Vries <tdevries@suse.de>
983
984 PR testsuite/25059
985 * gdb.base/list-missing-source.exp: Allowing the "Compilation
986 directory" line to be missing.
987
42275044
TV
9882019-10-03 Tom de Vries <tdevries@suse.de>
989
990 PR testsuite/25059
991 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
992 type optional.
993
9ef62df0
AA
9942019-10-02 Andreas Arnez <arnez@linux.ibm.com>
995
996 * gdb.python/py-format-string.c (string.h): New include.
997 (main): Fill a_struct_with_union.the_union.an_int with bytes of
998 the same value, for endianness-independence.
999 * gdb.python/py-format-string.exp (default_regexp_dict)
1000 (test_pretty_structs, test_format): Adjust expected output to the
1001 changed initialization.
1002
37f6a7f4
TT
10032019-10-02 Tom Tromey <tromey@adacore.com>
1004
1005 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1006
1d58d6a2
PA
10072019-10-02 Pedro Alves <palves@redhat.com>
1008 Andrew Burgess <andrew.burgess@embecosm.com>
1009
1010 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1011 "print-file-var.h".
1012 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1013 (get_version_1): Print this_version_id and its address.
1014 Add extern "C" wrappers around interface functions.
1015 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1016 "print-file-var.h".
1017 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1018 (get_version_2): Print this_version_id and its address.
1019 Add extern "C" wrappers around interface functions.
1020 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1021 <stddef.h> and "print-file-var.h".
1022 Add extern "C" wrappers around interface functions.
1023 [VERSION_ID_MAIN] (this_version_id): Define.
1024 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1025 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1026 up extern "C" blocks.
1027 * gdb.base/print-file-var.exp (test): New, factored out from top
1028 level.
1029 (top level): Test all combinations of attribute hidden or not,
1030 dlopen or not, and this_version_id symbol in main file or not.
1031 Compile tests as both C++ and C, make test names unique.
1032
d770d56f
TT
10332019-10-01 Tom Tromey <tom@tromey.com>
1034
1035 * gdb.base/style.exp: Test "show logging filename".
1036
7f6aba03
TT
10372019-10-01 Tom Tromey <tom@tromey.com>
1038
1039 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1040 * gdb.base/style.exp: Add metadata style test.
1041
14309bb6
TT
10422019-10-01 Tom Tromey <tom@tromey.com>
1043
1044 * gdb.base/style.exp: Test "pwd".
1045
2a3c1174
PA
10462019-10-01 Tom Tromey <tom@tromey.com>
1047
1048 * gdb.base/style.exp: Update tests.
1049
53d666ec
AA
10502019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1051
1052 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1053 'six' to unsigned.
1054 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1055 'five'. Use an all-ones bit pattern for each.
1056 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1057 to its changed values.
1058
4a56a520
TT
10592019-09-30 Tom Tromey <tromey@adacore.com>
1060
1061 * gdb.rust/traits.rs: Disable all warnings.
1062
0df0352a
TV
10632019-09-29 Tom de Vries <tdevries@suse.de>
1064
1065 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1066
73d9a918
TV
10672019-09-29 Tom de Vries <tdevries@suse.de>
1068
1069 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1070
060b3ab4
TV
10712019-09-27 Tom de Vries <tdevries@suse.de>
1072
1073 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1074
68f7d34d
TV
10752019-09-27 Tom de Vries <tdevries@suse.de>
1076
1077 PR record/23188
1078 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1079
5d63b30a
TT
10802019-09-26 Tom Tromey <tromey@adacore.com>
1081
1082 * gdb.ada/py_taft.exp: New file.
1083 * gdb.ada/py_taft/main.adb: New file.
1084 * gdb.ada/py_taft/pkg.adb: New file.
1085 * gdb.ada/py_taft/pkg.ads: New file.
1086
3d435220
TV
10872019-09-24 Tom de Vries <tdevries@suse.de>
1088
1089 PR gdb/24598
1090 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1091
77d03678
TV
10922019-09-22 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.base/restore.exp: Allow register variables to be optimized out at
1095 -O0.
1096
abf516c6
UW
10972019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1098
1099 * gdb.arch/spu-info.exp: Remove file.
1100 * gdb.arch/spu-info.c: Remove file.
1101 * gdb.arch/spu-ls.exp: Remove file.
1102 * gdb.arch/spu-ls.c: Remove file.
1103
1104 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1105 * gdb.asm/spu.inc: Remove file.
1106
1107 * gdb.base/dump.exp: Remove support for spu*-*-*.
1108 * gdb.base/stack-checking.exp: Likewise.
1109 * gdb.base/overlays.exp: Likewise.
1110 * gdb.base/ovlymgr.c: Likewise.
1111 * gdb.base/spu.ld: Remove file.
1112
1113 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1114 * gdb.cp/cpexprs.exp: Likewise.
1115 * gdb.cp/exception.exp: Likewise.
1116 * gdb.cp/gdb2495.exp: Likewise.
1117 * gdb.cp/mb-templates.exp: Likewise.
1118 * gdb.cp/pr9167.exp: Likewise.
1119 * gdb.cp/userdef.exp: Likewise.
1120
1121 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1122
1123 * gdb.cell: Remove directory.
1124 * lib/cell.exp: Remove file.
1125
e452e88f
TV
11262019-09-19 Tom de Vries <tdevries@suse.de>
1127
1128 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1129
8a625130
TV
11302019-09-19 Tom de Vries <tdevries@suse.de>
1131
1132 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1133
81dc3ab5
TV
11342019-09-19 Tom de Vries <tdevries@suse.de>
1135
1136 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1137 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1138 (gdb_target_cmd): ... here.
1139 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1140 value 2.
1141
b078f3ac
AB
11422019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1143
1144 * gdb.base/source-dir.exp: Avoid having directory names in test
1145 names.
1146
f1b620e9
MG
11472019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1148
1149 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1150 directory.
1151
67f3ed6a
AB
11522019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1153
1154 * gdb.base/list-missing-source.exp: New file.
1155
d1b70248
TV
11562019-09-14 Tom de Vries <tdevries@suse.de>
1157
1158 PR teststuite/24599
1159 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1160 * lib/ada.exp (gnatmake_version_at_least): New proc.
1161
5fabdcd6
AB
11622019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1163
1164 * gdb.base/maint.exp: Use exec_has_index_section.
1165
aa17805f
AB
11662019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1167
1168 * gdb.base/maint.exp: Add test for 'maint info sections'.
1169
25e5c209
TV
11702019-09-12 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.base/store.exp: Allow register variables to be optimized out at
1173 -O0.
1174
4993045d
PW
11752019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1176
1177 * gdb.ada/rdv_wait.exp: Update to new task names.
1178 * gdb.base/task_switch_in_core.exp: Likewise.
1179 * gdb.base/info_sources_base.c: Likewise.
1180
8a516164
TT
11812019-09-10 Tom Tromey <tromey@adacore.com>
1182
1183 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1184
aa391654
TT
11852019-09-10 Tom Tromey <tromey@adacore.com>
1186
1187 * gdb.ada/dgopt.exp: New file.
1188 * gdb.ada/dgopt/x.adb: New file.
1189
8634b462
TT
11902019-09-08 Tom Tromey <tom@tromey.com>
1191
1192 * gdb.tui/resize.exp: Remove setup_xfail.
1193 * gdb.tui/regs.exp: Remove setup_xfail.
1194 * gdb.tui/basic.exp: Remove setup_xfail.
1195
736b0f76
DB
11962019-09-06 David Blaikie <dblaikie@gmail.com>
1197
1198 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1199 * gdb.cp/cplabel.exp: Ditto.
1200 * gdb.linespec/ls-errs.exp: Ditto.
1201
30331a6c
TV
12022019-09-05 Tom de Vries <tdevries@suse.de>
1203
1204 * lib/gdb.exp (cmp_file_string): New proc.
1205 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1206 runto_main. Verify save breakpoints output.
1207
98b0ebab
PW
12082019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1209
1210 * gdb.base/info-var.exp: Test info variables without running
1211 to main, to avoid expect's buffer overflow.
1212
4e962e74
TT
12132019-09-03 Tom Tromey <tromey@adacore.com>
1214
1215 * gdb.ada/bias.exp: New file.
1216 * gdb.ada/bias/bias.adb: New file.
1217 * gdb.ada/print_chars.exp: Add regression test.
1218 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1219 (MC): New variable.
1220
2ea1a07a
SL
12212019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1222
1223 * gdb.base/argv0-symlink.exp: Run only on native target
1224 and local host.
1225
8077c50d
TV
12262019-08-29 Tom de Vries <tdevries@suse.de>
1227
1228 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1229 diverse debug info.
1230 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1231
48352473
TV
12322019-08-28 Tom de Vries <tdevries@suse.de>
1233
1234 * gdb.base/info-var.exp: Allow info variables to print info for files
1235 other than info-var-f1.c and info-var-f2.c.
1236
d8f27c60
AB
12372019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.fortran/info-types.exp: Add module.
1240 * gdb.fortran/info-types.f90: Update expected results.
1241
1f20c35e
AB
12422019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 * gdb.fortran/info-types.exp: New file.
1245 * gdb.fortran/info-types.f90: New file.
1246 * lib/fortran.exp (fortran_character1): New proc.
1247
4acfdd20
AB
12482019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1249
1250 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1251 functions'. Reindent as needed.
1252 * gdb.base/info-var-f1.c: New file.
1253 * gdb.base/info-var-f2.c: New file.
1254 * gdb.base/info-var.exp: New file.
1255 * gdb.base/info-var.h: New file.
1256
5c31b358
TV
12572019-08-26 Tom de Vries <tdevries@suse.de>
1258
1259 PR c++/24852
1260 * gdb.cp/no-libstdcxx-probe.exp: New test.
1261
b694989f
TV
12622019-08-26 Tom de Vries <tdevries@suse.de>
1263
1264 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1265 * tests need to be skipped.
1266 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1267 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1268 mi_skip_libstdcxx_probe_tests.
1269
d9c4ba53
SDJ
12702019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1271
1272 * gdb.python/py-xmethods.exp: Use raw strings when passing
1273 arguments to SimpleXMethodMatcher.
1274
395fad09
TV
12752019-08-22 Tom de Vries <tdevries@suse.de>
1276
1277 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1278 more informative.
1279
26c957f1
PA
12802019-08-21 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.base/with.exp: Test "with" with no arguments.
1283
61f80d5d
TV
12842019-08-21 Tom de Vries <tdevries@suse.de>
1285
1286 * gdb.base/gdb-caching-proc.exp: Sort files.
1287
d7a11d13
TV
12882019-08-20 Tom de Vries <tdevries@suse.de>
1289
1290 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1291 compilation.
1292
34dafe9f
TV
12932019-08-16 Tom de Vries <tdevries@suse.de>
1294
1295 * gdb.base/compare-sections.exp ("after run to main"): Allow
1296 mismatched read-only sections for PIE executables.
1297
398fdd60
TT
12982019-08-16 Tom Tromey <tom@tromey.com>
1299
1300 * lib/tuiterm.exp (_csi_Z): New proc.
1301 * gdb.tui/basic.exp: Update window positions.
1302 * gdb.tui/empty.exp: Update window positions.
1303
d8f9e51c
SL
13042019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1305
1306 * gdb.base/examine-backward.exp: Correct regexp for
1307 "examine 3 bytes backward from ${address_zero}".
1308
3df505f6
TT
13092019-08-15 Tom Tromey <tom@tromey.com>
1310
1311 * gdb.tui/empty.exp: Enable resizing tests.
1312
272560b5
TT
13132019-08-15 Tom Tromey <tromey@adacore.com>
1314
1315 * gdb.ada/char_enum.exp: Add regression tests.
1316 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1317 and '0'.
1318 (Char, Gchar): Update.
1319 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1320
08235187
CB
13212019-08-15 Christian Biesinger <cbiesinger@google.com>
1322
1323 * gdb.python/python.exp: Expect a leading underscore on
1324 GdbOutput{,Error}File.
1325
22a2ab04
SL
13262019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1327
1328 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1329 Windows host.
1330
835b995b
SL
13312019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1332
1333 * gdb.base/batch-preserve-term-settings.exp
1334 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1335
97dd8e07
CB
13362019-08-15 Christian Biesinger <cbiesinger@google.com>
1337
1338 * lib/gdb.exp: When running on a mingw target, replace
1339 /x/ with x:/.
1340
75faf5c4
AH
13412019-08-14 Alan Hayward <alan.hayward@arm.com>
1342
1343 * gdb.arch/aarch64-prologue.c: New test.
1344 * gdb.arch/aarch64-prologue.exp: New file.
1345
abc6c00f
TV
13462019-08-13 Tom de Vries <tdevries@suse.de>
1347
1348 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1349 Thread.
1350
74c2c1f4
SL
13512019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1352
1353 * gdb.python/py-completion.exp: Download the .py file to the host
1354 and use its host pathname. Conditionalize tests that use
1355 tab completion and manipulate files on the build machine.
1356 * gdb.python/py-events.exp: Download the .py file to the host
1357 and use its host pathname.
1358 * gdb.python/py-evsignal.exp: Likewise.
1359 * gdb.python/py-evthreads.exp: Likewise.
1360 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1361 pathname syntax.
1362 * gdb.python/py-framefilter.exp: Download the .py file to the right
1363 place on the host. Match Windows pathname syntax.
1364 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1365 .py file to the host and use its host pathname.
1366 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1367 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1368 build pathname. Skip symlink test on Windows host. Add missing
1369 newline at end of file.
1370 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1371 and use its host pathname.
1372 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1373 * gdb.python/py-section-script.exp: Use host location of binfile
1374 on safe-path. Use correct path separator on Windows host.
1375 Reorder alternatives in gdb_test_multiple to prevent matching
1376 the wrong alternative on success.
1377 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1378
ca2589f3
PP
13792019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1380
1381 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1382 expect the GDB inferior to no longer immediately stop after
1383 being resumed with "signal SIGINT".
1384
020a839d
SL
13852019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1386
1387 * gdb.linespec/break-ask.exp: Generalize regexps to match
1388 Windows pathnames too.
1389
128d6509
TV
13902019-08-08 Tom de Vries <tdevries@suse.de>
1391
1392 PR testsuite/24862
1393 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1394
590042fc
PW
13952019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1396
1397 * gdb.base/style.exp: Update tests for help doc new invariants.
1398 * gdb.base/help.exp: Likewise.
1399
046bebe1
TT
14002019-08-06 Tom Tromey <tom@tromey.com>
1401
1402 * gdb.base/style.exp: Add disassemble test.
1403 * gdb.base/style.c (some_called_function): New function.
1404 (main): Use it.
1405
0b27c27d
CB
14062019-08-05 Christian Biesinger <cbiesinger@google.com>
1407
1408 * gdb.python/py-block.exp: Test dictionary access on blocks.
1409
580f1034
SM
14102019-08-05 Simon Marchi <simon.marchi@efficios.com>
1411
1412 PR gdb/24863
1413 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1414 -list-thread-groups --available test when running under
1415 check-read1.
1416
d86bd7cb
TV
14172019-08-05 Tom de Vries <tdevries@suse.de>
1418
1419 PR testsuite/24863
1420 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1421 * gdb.base/help.exp: Use with_read1_timeout_factor.
1422 * gdb.base/info-macros.exp: Same.
1423 * gdb.cp/nested-types.exp: Same.
1424
a80cf5d8
TV
14252019-08-05 Tom de Vries <tdevries@suse.de>
1426
1427 * lib/gdb.exp (version_at_least): Factor out of ...
1428 (tcl_version_at_least): ... here.
1429 (gdb_compile): Fail if pie results in non-PIE executable.
1430 (readelf_version, readelf_prints_pie): New proc.
1431 (exec_is_pie): Return -1 if unknown.
1432
d0962838
TV
14332019-08-05 Tom de Vries <tdevries@suse.de>
1434
1435 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1436
2252ff3d
SL
14372019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1438
1439 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1440
26655f53
SL
14412019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1442
1443 * lib/completion-support.exp (test_gdb_complete_none): Skip
1444 tab completion tests if no readline support.
1445 (test_gdb_complete_unique_re): Likewise.
1446 (test_gdb_complete_multiple): Likewise.
1447
db4dc13e
PW
14482019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1449
1450 * gdb.base/info_sources.exp: New file.
1451 * gdb.base/info_sources.c: New file.
1452 * gdb.base/info_sources_base.c: New file.
1453
0eba165a
PFC
14542019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1455
1456 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1457 prefix argument.
1458 (test_exit_status): Add prefix argument.
1459
59bd512b
TV
14602019-08-01 Tom de Vries <tdevries@suse.de>
1461
1462 PR testsuite/24863
1463 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1464 calling exp_continue for new thread and thread exited messages.
1465
2a3ad588
TV
14662019-08-01 Tom de Vries <tdevries@suse.de>
1467
1468 PR testsuite/24863
1469 * gdb.base/structs.exp: Fix check-read1 timeout using
1470 gdb_test_sequence.
1471 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1472
117eb594
TV
14732019-08-01 Tom de Vries <tdevries@suse.de>
1474
1475 PR testsuite/24863
1476 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1477 line.
1478
ed591340
TV
14792019-08-01 Tom de Vries <tdevries@suse.de>
1480
1481 PR testsuite/24863
1482 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1483
aa3b6533
TT
14842019-07-30 Tom Tromey <tromey@adacore.com>
1485
1486 * gdb.ada/display_nested.exp: New file.
1487 * gdb.ada/display_nested/foo.adb: New file.
1488 * gdb.ada/display_nested/pack.adb: New file.
1489 * gdb.ada/display_nested/pack.ads: New file.
1490
2906593f
CB
14912019-07-30 Christian Biesinger <cbiesinger@google.com>
1492
1493 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1494 namespace.
1495 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1496
0f575925
TV
14972019-07-30 Tom de Vries <tdevries@suse.de>
1498
1499 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1500 instead.
1501
b13057d9
TV
15022019-07-30 Tom de Vries <tdevries@suse.de>
1503
1504 PR testsuite/24834
1505 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1506 (exec_is_pie): New proc.
1507
5c4dde85
CB
15082019-07-29 Christian Biesinger <cbiesinger@google.com>
1509
1510 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1511
c620ed88
CB
15122019-07-29 Christian Biesinger <cbiesinger@google.com>
1513
1514 * gdb.python/py-objfile.c: Add global and static vars.
1515 * gdb.python/py-objfile.exp: Test new functions Objfile.
1516 lookup_global_symbol and lookup_static_symbol.
1517
3d235706
TT
15182019-07-29 Tom Tromey <tom@tromey.com>
1519
1520 * lib/tuiterm.exp (Term::_csi_@): New proc.
1521 (Term::_csi_X): Don't move cursor.
1522
c7e4c0a6
PW
15232019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1524
1525 * gdb.base/options.exp: Update backtrace - completion to
1526 new option -frame-info.
1527 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1528 Test new 'set print frame-info'. Test backtrace -frame-info
1529 overriding 'set print frame-info'.
1530 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1531 Test new 'set print frame-info'.
1532 Verify consistency of backtrace with and without filters, with and
1533 without -no-filters.
1534 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1535 default.
1536
de28a3b7
TV
15372019-07-29 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1540 no arguments".
1541
507dd60e
TV
15422019-07-29 Tom de Vries <tdevries@suse.de>
1543
1544 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1545 is a substring of the first for "complete non-unique file name".
1546
5beafce9
TV
15472019-07-29 Tom de Vries <tdevries@suse.de>
1548
1549 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1550 with ".*".
1551
2d274232
TV
15522019-07-29 Tom de Vries <tdevries@suse.de>
1553
1554 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1555 Pass prompt_regexp parameter to gdb_test_multiple calls.
1556
9197cd8b
TV
15572019-07-29 Tom de Vries <tdevries@suse.de>
1558
1559 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1560 print registers" regexps.
1561
b528dae0
TV
15622019-07-29 Tom de Vries <tdevries@suse.de>
1563
1564 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1565
d17725d7
TV
15662019-07-29 Tom de Vries <tdevries@suse.de>
1567
1568 PR gdb/24855
1569 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1570 (skip_python_tests_prompt): Add prompt_regexp argument to
1571 gdb_test_multiple calls.
1572
52b75bf1
TT
15732019-07-27 Tom Tromey <tom@tromey.com>
1574
1575 * gdb.tui/main.exp: New file.
1576
2b1d00c2
TT
15772019-07-27 Tom Tromey <tom@tromey.com>
1578
1579 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1580 optional.
1581 * gdb.tui/empty.exp: New file.
1582
ded631d5
TT
15832019-07-27 Tom Tromey <tom@tromey.com>
1584
1585 * lib/tuiterm.exp (spawn): New proc.
1586 (Term::resize): New proc.
1587 * gdb.tui/resize.exp: New file.
1588
58ac439d
TT
15892019-07-27 Tom Tromey <tom@tromey.com>
1590
1591 * gdb.tui/list.exp: New file.
1592
fe1f56ee
TT
15932019-07-27 Tom Tromey <tom@tromey.com>
1594
1595 * gdb.tui/regs.exp: New file.
1596
f790b310
TT
15972019-07-27 Tom Tromey <tom@tromey.com>
1598
1599 * gdb.tui/basic.exp: Add "layout split" test.
1600
d95fc6ee
TT
16012019-07-27 Tom Tromey <tom@tromey.com>
1602
1603 * gdb.tui/basic.exp: Add "layout asm" test.
1604
c3786b3a
TT
16052019-07-27 Tom Tromey <tom@tromey.com>
1606
1607 * lib/tuiterm.exp: New file.
1608 * gdb.tui/basic.exp: New file.
1609
98a617f8
KB
16102019-07-27 Kevin Buettner <kevinb@redhat.com>
1611
1612 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1613 Enable tests associated with this flag. Adjust regex
1614 referencing "foo_low" to now refer to "foo_cold" instead.
1615
5c076da4
KB
16162019-07-27 Kevin Buettner <kevinb@redhat.com>
1617
1618 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1619 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1620 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1621 foo_cold. Revise comments to match.
1622 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1623 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1624 were wrapped into this proc; Call do_test in loop from outermost
1625 level.
1626 (foo_low): Rename all occurrences to "foo_cold".
1627 (backtrace from baz): New test.
1628 (x2/i foo_cold): New test.
1629 (info line *foo_cold): New test.
1630
1512d3b7
TV
16312019-07-26 Tom de Vries <tdevries@suse.de>
1632
1633 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1634
297989a1
TV
16352019-07-25 Tom de Vries <tdevries@suse.de>
1636
1637 PR testsuite/24830
1638 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1639 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1640 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1641 (skip_libstdcxx_probe_tests): ... here.
1642 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1643
b3b965fb
TV
16442019-07-24 Tom de Vries <tdevries@suse.de>
1645
1646 PR testsuite/24807
1647 * gdb.objc/basicclass.m: Include stdio.h.
1648 * gdb.objc/nondebug.m: Same.
1649 * gdb.objc/objcdecode.m: Same.
1650
4625b4d0
TV
16512019-07-24 Tom de Vries <tdevries@suse.de>
1652
1653 PR testsuite/24612
1654 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1655 additional_flags.
1656
024a5840
TV
16572019-07-24 Tom de Vries <tdevries@suse.de>
1658
1659 PR testsuite/24831
1660 * gdb.multi/tids.exp: Update error messages for info threads.
1661
c76ddaa3
TV
16622019-07-24 Tom de Vries <tdevries@suse.de>
1663
1664 * gdb.base/info-types.exp: Allow info types to print info for more than
1665 one file.
1666
9a618ef6
TV
16672019-07-23 Tom de Vries <tdevries@suse.de>
1668
1669 PR testsuite/24842
1670 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1671 gdb_spawn_with_cmdline_opts.
1672
40eadf04
SP
16732019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1674
1675 * gdb.arch/arm-cmse-sgstubs.c: New test.
1676 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1677
5ba29434
TV
16782019-07-23 Tom de Vries <tdevries@suse.de>
1679
1680 PR testsuite/24711
1681 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1682 issuing next command.
1683
a8e9d247
AB
16842019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1685
1686 * gdb.ada/info_auto_lang.exp: Update expected results.
1687 * gdb.base/info-types.c: Add additional types to check.
1688 * gdb.base/info-types.exp: Update expected results.
1689
eb86c5e2
AB
16902019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1691
1692 * gdb.base/info-types.c: New file.
1693 * gdb.base/info-types.exp: New file.
1694
01e175fe
AB
16952019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1696
1697 * gdb.arch/riscv-bp-infcall.c: New file.
1698 * gdb.arch/riscv-bp-infcall.exp: New file.
1699
6b78c3f8
AB
17002019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 PR breakpoints/24541
1703 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1704
da738167
TV
17052019-07-14 Tom de Vries <tdevries@suse.de>
1706
1707 PR testsuite/24760
1708 * gdb.objc/basicclass.exp: Fix unterminated string.
1709
0d4e84ed
AB
17102019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1711 Andrew Burgess <andrew.burgess@embecosm.com>
1712
1713 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1714 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1715 negative bounds.
1716 * gdb.fortran/vla-value.exp: Print elements of an array with
1717 negative bounds.
1718 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1719 testing.
1720
021d8588
AB
17212019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1722
1723 * gdb.base/options.exp (expect_string): Dequote strings in
1724 results.
1725 (test-string): Test strings with different quoting and reindent.
1726
f06f1252
TT
17272019-07-10 Tom Tromey <tromey@adacore.com>
1728
1729 * gdb.ada/mi_ex_cond.exp: Update expected results.
1730 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1731 * gdb.ada/mi_catch_ex.exp: Update expected results.
1732 * gdb.ada/mi_catch_assert.exp: Update expected results.
1733 * gdb.ada/catch_ex.exp (catch_exception_info)
1734 (catch_exception_entry, catch_assert_entry)
1735 (catch_unhandled_entry): Update.
1736 * gdb.ada/catch_assert_if.exp: Update expected results.
1737
b863685d
RB
17382019-07-10 Richard Bunt <richard.bunt@arm.com>
1739 Stephen Roberts <stephen.roberts@arm.com>
1740
1741 * gdb.base/define.exp: Restore original prompt.
1742
cb1e4e32
PA
17432019-07-09 Pedro Alves <palves@redhat.com>
1744
1745 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1746 breakpoints" output.
1747 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1748 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1749 throw" creates breakpoint.
1750 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1751 'type="catchpoint"'.
1752
b58a68fe
PA
17532019-07-09 Pedro Alves <palves@redhat.com>
1754
1755 PR c++/15468
1756 * gdb.cp/except-multi-location-lib.cc: New.
1757 * gdb.cp/except-multi-location-main.cc: New.
1758 * gdb.cp/except-multi-location.exp: New.
1759
0826779b
PW
17602019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1761
1762 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1763 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1764 argument and update callers.
1765
5b0e2db4
AB
17662019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1767
1768 * gdb.arch/amd64-break-on-asm-line.S: New file.
1769 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1770
1f6f6e21
PW
17712019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1772
1773 * gdb.base/printcmds.exp: Test printing C string and
1774 C wide string convenience vars without transiting via the inferior.
1775 Also make test names unique.
1776
ea142fbf
AH
17772019-07-08 Alan Hayward <alan.hayward@arm.com>
1778
5862c886 1779 PR breakpoints/25011
ea142fbf
AH
1780 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1781
213fd9fa
PA
17822019-07-04 Pedro Alves <palves@redhat.com>
1783
1784 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1785 body returned ok(0), break(3) or continue(4).
1786 * gdb.testsuite/foreach_with_prefix.exp: New file.
1787
2b40fda7
AH
17882019-07-04 Alan Hayward <alan.hayward@arm.com>
1789
1790 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1791
a26c8de0
PA
17922019-07-03 Pedro Alves <palves@redhat.com>
1793
1794 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1795 "return -code".
1796
5f4ba3e7
PA
17972019-07-03 Pedro Alves <palves@redhat.com>
1798
1799 PR cli/24732
1800 * gdb.base/shell.exp: Load completion-support.exp.
1801 Adjust expected error output. Add completion tests.
1802
a994424f
PA
18032019-07-03 Pedro Alves <palves@redhat.com>
1804
1805 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1806 string_to_regexp.
1807
3d9be6f5
PA
18082019-07-03 Pedro Alves <palves@redhat.com>
1809
1810 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1811 (expect_integer): Adjust to expect "-string".
1812 (expect_string): New.
1813 (all_options): Expect "-string".
1814 (test-flag, test-boolean): Adjust to expect "-string".
1815 (test-string): New proc.
1816 (top level): Call it.
1817
41fc454c
PA
18182019-07-03 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1821 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1822 the expected output in the success.
1823
b2b2a215
PA
18242019-07-03 Pedro Alves <palves@redhat.com>
1825
1826 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1827 Split one gdb_test_multiple call in two to avoid a race.
1828
fdbc9870
PA
18292019-07-03 Pedro Alves <palves@redhat.com>
1830
1831 * gdb.base/with.c: New file.
1832 * gdb.base/with.exp: New file.
1833
c6ac8931
PA
18342019-07-03 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.base/settings.exp: Replace all references to "maint
1837 test-settings set" with references to "maint set test-settings",
1838 and all references to "maint test-settings show" with references
1839 to "maint show test-settings".
1840
970f9d09
PA
18412019-07-03 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.base/settings.exp (test-string): Adjust expected out when
1844 testing "maint test-settings show filename"
1845
54d66006
PA
18462019-07-02 Pedro Alves <palves@redhat.com>
1847
1848 * gdb.base/options.exp (test-info-threads): New procedure.
1849 (top level): Call it.
1850
10d06d82
TT
18512019-06-28 Tom Tromey <tromey@adacore.com>
1852
1853 * gdb.dwarf2/ada-linkage-name.c: New file.
1854 * gdb.dwarf2/ada-linkage-name.exp: New file.
1855
3d507ff2
TT
18562019-06-27 Tom Tromey <tromey@adacore.com>
1857
d039f014 1858 PR c++/20020:
3d507ff2
TT
1859 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1860
8af58ffe
TV
18612019-06-26 Tom de Vries <tdevries@suse.de>
1862
1863 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1864
22e21752
TV
18652019-06-26 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.base/index-cache.exp: Add back missing debug option.
1868
b65b566c
PW
18692019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1870
1871 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1872
5c2c8c69
TV
18732019-06-25 Tom de Vries <tdevries@suse.de>
1874
1875 PR testsuite/24727
1876 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1877
164e3873
TV
18782019-06-24 Tom de Vries <tdevries@suse.de>
1879
1880 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1881
824eacee
TV
18822019-06-24 Tom de Vries <tdevries@suse.de>
1883
1884 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1885 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1886 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1887
385b97d3
TV
18882019-06-24 Tom de Vries <tdevries@suse.de>
1889
1890 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1891
c596f180
TV
18922019-06-21 Tom de Vries <tdevries@suse.de>
1893
1894 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1895
b13a7d03
TV
18962019-06-21 Tom de Vries <tdevries@suse.de>
1897
1898 PR testsuite/24518
1899 PR ada/24713
1900 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1901 index.
1902
899277ae
TT
19032019-06-19 Tom Tromey <tromey@adacore.com>
1904
1905 * gdb.ada/length_cond.exp: Add intro comment.
1906
680e1bee
TT
19072019-06-19 Tom Tromey <tromey@adacore.com>
1908
1909 * gdb.ada/length_cond.exp: New file.
1910 * gdb.ada/length_cond/length_cond.adb: New file.
1911 * gdb.ada/length_cond/pck.adb: New file.
1912 * gdb.ada/length_cond/pck.ads: New file.
1913
0ed4690a
TV
19142019-06-18 Tom de Vries <tdevries@suse.de>
1915
1916 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1917
d20ed5fd
TT
19182019-06-18 Tom Tromey <tromey@adacore.com>
1919
1920 * gdb.base/list0.h: Add comment explaining control character.
1921
86e04673
TV
19222019-06-18 Tom de Vries <tdevries@suse.de>
1923
1924 * boards/fission.exp: Break up long debug_flags line.
1925
c4973306
SM
19262019-06-16 Tom de Vries <tdevries@suse.de>
1927
1928 PR gdb/24445
1929 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1930 generated index.
1931
93cb9841
AB
19322019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1933
1934 PR gdb/24686
1935 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1936 improve detection of bug gdb/24541.
1937
399aaebd
SM
19382019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1939
1940 PR gdb/24669
1941 * gdb.base/index-cache.exp (uses_readnow,
1942 expecting_index_cache_use): Define global variable.
1943 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1944 expecting_index_cache_use.
1945
584a927c
AB
19462019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1947 Andrew Burgess <andrew.burgess@embecosm.com>
1948
1949 * gdb.fortran/pointers.f90: New file.
1950 * gdb.fortran/print_type.exp: New file.
1951 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1952 * gdb.fortran/vla-type.exp: Likewise.
1953 * gdb.fortran/vla-value.exp: Likewise.
1954 * gdb.mi/mi-vla-fortran.exp: Likewise.
1955
30056ea0
AB
19562019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1959 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1960 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1961 as a stop reason.
1962
ec8e2b6d
AB
19632019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1964
1965 * gdb.base/annota1.exp: Update expected results.
1966 * gdb.cp/annota2.exp: Likewise.
1967 * gdb.cp/annota3.exp: Likewise.
1968
09e4c4e1
AB
19692019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1970
1971 * gdb.base/style-logging.exp: Remove path from test name.
1972
0735b091
TT
19732019-06-14 Tom Tromey <tromey@adacore.com>
1974
1975 PR gdb/24502:
1976 * gdb.base/style-logging.exp: New file.
1977
f5686554
TT
19782019-06-14 Tom Tromey <tromey@adacore.com>
1979
1980 * gdb.base/symfile-warn.exp: New file.
1981 * gdb.base/symfile-warn.c: New file.
1982
a0c1ffed
TT
19832019-06-14 Tom Tromey <tromey@adacore.com>
1984
1985 * gdb.base/annotate-symlink.exp: New file.
1986
f411722c
TT
19872019-06-14 Tom Tromey <tromey@adacore.com>
1988
1989 * gdb.ada/set_wstr.exp: Add reassignment test.
1990
4268ec18
TT
19912019-06-14 Tom Tromey <tromey@adacore.com>
1992
1993 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1994 'unchecked_access and 'unrestricted_access as well.
1995
9a9e394b
TT
19962019-06-14 Tom Tromey <tromey@adacore.com>
1997
1998 PR ada/24539:
1999 * gdb.ada/vla.exp: Update tests.
2000 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2001 pragma.
2002
4c048731
PA
20032019-06-13 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/settings.exp (test-integer): Test junk after
2006 "unlimited".
2007
6665660a
PA
20082019-06-13 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/options.exp (test-thread-apply): New.
2011 (top level): Call it.
2012
5d707134
PA
20132019-06-13 Pedro Alves <palves@redhat.com>
2014
2015 * gdb.base/options.exp (test-frame-apply): New.
2016 (top level): Test print commands with different "frame apply"
2017 prefixes.
2018
e2a689da
PA
20192019-06-13 Pedro Alves <palves@redhat.com>
2020
e79be6e5 2021 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2022 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2023 'max_completions' parameter and handle it.
2024 (test_gdb_completion_offers_commands): New.
2025
90a1ef87
PA
20262019-06-13 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2029
d4c16835
PA
20302019-06-13 Pedro Alves <palves@redhat.com>
2031
2032 * gdb.base/options.exp (test-backtrace): New.
2033 (top level): Call it.
2034
2daf894e
PA
20352019-06-13 Pedro Alves <palves@redhat.com>
2036
2037 * gdb.guile/scm-frame-args.exp: Use "set print
2038 raw-frame-arguments" instead of "set print raw frame-arguments".
2039 * gdb.python/py-frame-args.exp: Likewise.
2040
e6ed716c
PA
20412019-06-13 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.compile/compile.exp: Adjust expected output to option
2044 processing changes.
2045
7d8062de
PA
20462019-06-13 Pedro Alves <palves@redhat.com>
2047
2048 * gdb.base/options.exp: Build executable.
2049 (test-print): New procedure.
2050 (top level): Call it, once for "print" and another for "compile
2051 print".
2052
9d0faba9
PA
20532019-06-13 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.base/options.c: New file.
2056 * gdb.base/options.exp: New file.
2057
dee7b4c8
PA
20582019-06-13 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2061 that "o" is ambiguous.
2062
dca0f6c0
PA
20632019-06-13 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/settings.c: New file.
2066 * gdb.base/settings.exp: New file.
2067
ccf46844
PA
20682019-06-13 Pedro Alves <palves@redhat.com>
2069
2070 * gdb.base/completion.exp: Fix comment typo.
2071
b9a3f842
PA
20722019-06-13 Pedro Alves <palves@redhat.com>
2073
2074 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2075 foo --1" test.
2076
d106773e
PA
20772019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2078
2079 * gdb.fortran/block-data.f: New.
2080 * gdb.fortran/block-data.exp: New.
2081
fea82da0
TV
20822019-06-11 Tom de Vries <tdevries@suse.de>
2083
2084 PR testsuite/24521
2085 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2086 message.
2087
8c2e74f1
TV
20882019-06-11 Tom de Vries <tdevries@suse.de>
2089
2090 PR testsuite/24521
2091 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2092
b49851c8
TV
20932019-06-11 Tom de Vries <tdevries@suse.de>
2094
2095 * boards/readnow.exp: New file.
2096
a7067863
AB
20972019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2098
2099 * gdb.fortran/vla-sizeof.exp: Update expected results.
2100
1a3da2cd
AB
21012019-06-06 Amos Bird <amosbird@gmail.com>
2102
2103 * gdb.base/annota1.exp (thread_switch): Add test for
2104 thread-exited annotation.
2105
3847a7bf
TT
21062019-06-06 Tom Tromey <tromey@adacore.com>
2107
2108 * gdb.base/maint.exp: Expect command started/finished output.
2109
0088ba59
AB
21102019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2111
2112 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2113 comment.
2114 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2115
312617a3
AB
21162019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2117
2118 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2119 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2120 * gdb.arch/riscv-unwind-long-insn.c: New file.
2121 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2122
e1f2e1a2
CB
21232019-06-04 Christian Biesinger <cbiesinger@google.com>
2124
d3238f7d 2125 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2126
206584bd
PW
21272019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2128
2129 * lib/gdb.exp (help_list_trailer): New regexp variable
2130 factorizing the help trailer message.
2131 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2132 arg to allow to better factorize various tests.
2133 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2134 (test_prefix_command_help): Use help_list_trailer.
2135 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2136 * gdb.guile/scm-cmd.exp: Likewise.
2137 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2138 * gdb.base/help.exp: Use test_user_defined_class_help.
2139 * gdb.base/style.exp: Add tests for styling of help and apropos.
2140 * lib/gdb-utils.exp (style): Add title and highlight styles.
2141
708dc93e
PW
21422019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2143
2144 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2145 $_shell_exitsignal.
2146 * gdb.base/default.exp: Update for new convenience variables.
2147
f49055a5
TT
21482019-05-29 Tom Tromey <tromey@adacore.com>
2149
2150 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2151 to "break complete ada" test case's regexp.
2152
4330d61d
TT
21532019-05-29 Tom Tromey <tromey@adacore.com>
2154
2155 PR c++/20020:
2156 * gdb.cp/constexpr-field.exp: New file.
2157 * gdb.cp/constexpr-field.cc: New file.
2158
000439d5
TT
21592019-05-29 Tom Tromey <tromey@adacore.com>
2160
2161 * gdb.base/finish.exp (finish_no_print): New proc.
2162 (finish_tests): Call it.
2163
5a01c34c
TV
21642019-05-24 Tom de Vries <tdevries@suse.de>
2165
2166 * gdb.dwarf2/gdb-add-index.exp: New file.
2167
18125b16
TT
21682019-05-22 Tom Tromey <tromey@adacore.com>
2169
2170 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2171 * gdb.base/style.exp: Use "style".
2172 * lib/gdb-utils.exp (style): New proc.
2173
af1a8d03
TV
21742019-05-22 Tom de Vries <tdevries@suse.de>
2175
2176 * gdb.base/align.exp: Require c++11.
2177
e7fe496b
TV
21782019-05-22 Tom de Vries <tdevries@suse.de>
2179
2180 PR testsuite/24586
2181 * gdb.python/py-mi-var-info-path-expression.exp: Call
2182 mi_skip_python_tests to check if python is supported.
2183
8fca4da0
AH
21842019-05-22 Alan Hayward <alan.hayward@arm.com>
2185
2186 * gdb.arch/aarch64-pauth.c: New test.
2187 * gdb.arch/aarch64-pauth.exp: New file.
2188
b7060614
AH
21892019-05-22 Alan Hayward <alan.hayward@arm.com>
2190
2191 * README (Re-running Tests Outside The Testsuite): New section.
2192
669d0468
TV
21932019-05-21 Tom de Vries <tdevries@suse.de>
2194
2195 * gdb.arch/amd64-eval.exp: Require c++11.
2196 * gdb.base/max-depth.exp: Same.
2197 * gdb.compile/compile-cplus-array-decay.exp: Same.
2198 * gdb.cp/meth-typedefs.exp: Same.
2199 * gdb.cp/subtypes.exp: Same.
2200 * gdb.cp/temargs.exp: Same.
2201
ce3ebcaa
AH
22022019-05-21 Alan Hayward <alan.hayward@arm.com>
2203
2204 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2205
34d11c68
AB
22062019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2207
2208 PR gdb/18644
2209 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2210 * gdb.fortran/printing-types.exp: Add new test.
2211 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2212 testing.
2213 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2214 setup_kfail call.
2215
87781e84
AH
22162019-05-17 Alan Hayward <alan.hayward@arm.com>
2217
2218 * README (Running the Testsuite): Change example.
2219 (Testsuite Parameters): Remove TRANSCRIPT.
2220 * lib/gdb.exp: Remove TRANSCRIPT check.
2221
b420b89e
AH
22222019-05-17 Alan Hayward <alan.hayward@arm.com>
2223
2224 * README (Testsuite Parameters): Add replay logging to
2225 GDBSERVER_DEBUG.
2226 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2227 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2228 as a comma separated list.
2229 (gdb_debug_init): Override procedure.
2230
408e9b8b
AH
22312019-05-17 Alan Hayward <alan.hayward@arm.com>
2232
2233 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2234 (gdb_write_cmd_file): New procedure.
2235 * lib/gdbserver-support.exp (gdbserver_start): Call
2236 gdbserver_write_cmd_file.
2237 (gdbserver_write_cmd_file): New procedure.
2238
f9e2e39d
AH
22392019-05-17 Alan Hayward <alan.hayward@arm.com>
2240
2241 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2242 (delete_breakpoints): Likewise.
2243 (gdb_run_cmd): Likewise.
2244 (gdb_start_cmd): Likewise.
2245 (gdb_starti_cmd): Likewise.
2246 (gdb_internal_error_resync): Likewise.
2247 (gdb_test_multiple): Likewise.
2248 (gdb_reinitialize_dir): Likewise.
2249 (default_gdb_exit): Likewise.
2250 (gdb_file_cmd): Mark kill as optional.
2251 (default_gdb_start): Call gdb_stdin_log_init.
2252 (send_gdb): Call gdb_stdin_log_write.
2253 (rerun_to_main): Mark Y as an answer.
2254 (gdb_stdin_log_init): New function.
2255 (gdb_stdin_log_write): Likewise.
2256
81f47ac2
AH
22572019-05-17 Alan Hayward <alan.hayward@arm.com>
2258
2259 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2260 * gdb.base/debug-expr.exp: Likewise.
2261 * gdb.base/foll-fork.exp: Likewise.
2262 * gdb.base/foll-vfork.exp: Likewise.
2263 * gdb.base/fork-print-inferior-events.exp: Likewise.
2264 * gdb.base/gdb-sigterm.exp: Likewise.
2265 * gdb.base/gdbinit-history.exp: Likewise.
2266 * gdb.base/osabi.exp: Likewise.
2267 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2268 * gdb.base/ui-redirect.exp: Likewise.
2269 * gdb.gdb/unittest.exp: Likewise.
2270 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2271 * gdb.mi/mi-watch.exp: Likewise.
2272 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2273 * gdb.mi/user-selected-context-sync.exp: Likewise.
2274 * gdb.python/python.exp: Disable debug test when debugging.
2275 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2276 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2277 Likewise.
2278 * gdb.threads/stepi-random-signal.exp: Likewise.
2279
29b52314
AH
22802019-05-17 Alan Hayward <alan.hayward@arm.com>
2281
2282 * Makefile.in: Pass through GDB_DEBUG.
2283 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2284 (gdb,debug): Add board setting.
2285 * lib/gdb.exp (default_gdb_start): Start debugging.
2286 (gdb_debug_enabled): New procedure.
2287 (gdb_debug_init): Likewise.
29b52314
AH
2288
22892019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2290
29b52314
AH
2291 * Makefile.in: Pass through GDB_DEBUG.
2292 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2293 (gdb,debug): Add board setting.
2294 * lib/gdb.exp (default_gdb_start): Start debugging.
2295 (gdb_debug_enabled): New procedure.
2296 (gdb_debug_init): Likewise.
29b52314 2297
ca1285d1
AH
22982019-05-17 Alan Hayward <alan.hayward@arm.com>
2299
2300 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2301
f3a09c80
AH
23022019-05-17 Alan Hayward <alan.hayward@arm.com>
2303
2304 * gdb.base/ui-redirect.exp: Test redirection.
2305
26648588
JV
23062019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2307
2308 * gdb.mi/mi-complete.exp: New file.
2309 * gdb.mi/mi-complete.cc: Likewise.
2310
14237686
AB
23112019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2312
2313 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2314 indexed and sliced arrays, and pointers to arrays.
2315
e7bd7fba
TT
23162019-05-14 Tom Tromey <tromey@adacore.com>
2317
2318 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2319 styling test.
2320
2764128d
TV
23212019-05-14 Tom de Vries <tdevries@suse.de>
2322
2323 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2324 selection entry encoding.
2325
71bed2db
TT
23262019-05-10 Tom Tromey <tromey@adacore.com>
2327
2328 * gdb.ada/info_exc.exp: Add "complete" test.
2329
63b667ad
TV
23302019-05-09 Tom de Vries <tdevries@suse.de>
2331
2332 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2333 CU-relative.
2334
9cfd2b89
TV
23352019-05-09 Tom de Vries <tdevries@suse.de>
2336
2337 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2338 CU-relative.
2339
2228ef77
XR
23402019-05-08 Joel Brobecker <brobecker@adacore.com>
2341
2342 * gdb.ada/frame_arg_lang.exp: New testcase.
2343 * gdb.ada/frame_arg_lang/bla.adb: New file.
2344 * gdb.ada/frame_arg_lang/pck.ads: New file.
2345 * gdb.ada/frame_arg_lang/pck.adb: New file.
2346 * gdb.ada/frame_arg_lang/foo.c: New file.
2347
80e55b13
TT
23482019-05-08 Tom Tromey <tromey@adacore.com>
2349
2350 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2351
9d3421af
TT
23522019-05-08 Tom Tromey <tromey@adacore.com>
2353
2354 * gdb.base/ptype-offsets.exp: Update tests.
2355
844333e2
TT
23562019-05-08 Tom Tromey <tromey@adacore.com>
2357
2358 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2359 cases.
2360 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2361 "short".
2362
988915ee
TT
23632019-05-08 Tom Tromey <tromey@adacore.com>
2364
2365 * gdb.ada/vla.exp: New file.
2366 * gdb.ada/vla/vla.adb: New file.
2367
7bd55dac
TV
23682019-05-07 Tom de Vries <tdevries@suse.de>
2369
2370 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2371
75f06e9d
TV
23722019-05-07 Tom de Vries <tdevries@suse.de>
2373
2374 PR testsuite/24522
2375 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2376 section.
2377
77e7aaa4
TV
23782019-05-07 Tom de Vries <tdevries@suse.de>
2379
2380 PR testsuite/24522
2381 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2382 .debug_aranges section.
2383
456ba0fa
TV
23842019-05-07 Tom de Vries <tdevries@suse.de>
2385
2386 PR testsuite/24159
2387 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2388
5a56d6a6
TV
23892019-05-06 Tom de Vries <tdevries@suse.de>
2390
2391 * lib/gdb.exp (exec_has_index_section): New proc.
2392 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2393 section.
2394
9d6d4be8
TV
23952019-05-04 Tom de Vries <tdevries@suse.de>
2396
2397 * boards/cc-with-debug-names.exp: New file.
2398
222a8d25
TT
23992019-05-03 Tom Tromey <tromey@adacore.com>
2400
2401 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2402 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2403 * gdb.ada/char_enum.exp: Add test.
2404
0fdfd794
TV
24052019-05-03 Tom de Vries <tdevries@suse.de>
2406
2407 * boards/cc-with-gdb-index.exp: New file.
2408
80062eb9
AB
24092019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2410
2411 * gdb.rust/simple.exp: Add new test case.
2412 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2413 (main): Initialise an instance of the new struct.
2414
4504bbde
TT
24152019-05-01 Tom Tromey <tromey@adacore.com>
2416
2417 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2418 record.
2419 (NPR): New variable.
2420 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2421 test.
2422
d48e62f4
TT
24232019-05-01 Tom Tromey <tromey@adacore.com>
2424
2425 * gdb.ada/packed_array_assign.exp: Add packed assignment
2426 regression test.
2427
f59f30f5
TV
24282019-05-01 Tom de Vries <tdevries@suse.de>
2429
2430 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2431
b70bfc54
TV
24322019-05-01 Tom de Vries <tdevries@suse.de>
2433
2434 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2435
15f18d14
AT
24362019-04-30 Ali Tamur <tamur@google.com>
2437
2438 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2439
2ff0a947
TT
24402019-04-30 Tom Tromey <tromey@adacore.com>
2441
2442 * lib/ada.exp (find_ada_tool): New proc.
2443 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2444 * gdb.ada/catch_ex_std.exp: New file.
2445 * gdb.ada/catch_ex_std/foo.adb: New file.
2446 * gdb.ada/catch_ex_std/some_package.adb: New file.
2447 * gdb.ada/catch_ex_std/some_package.ads: New file.
2448
a776957c
TT
24492019-04-30 Tom Tromey <tromey@adacore.com>
2450
2451 PR c++/24470:
2452 * gdb.cp/temargs.cc: Add test code from PR.
2453
bc68014d
AB
24542019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2455
2456 * gdb.fortran/vla-datatypes.exp: Update expected results.
2457 * gdb.fortran/vla-ptype.exp: Likewise.
2458 * gdb.fortran/vla-type.exp: Likewise.
2459 * gdb.fortran/vla-value.exp: Likewise.
2460
f1fdc960
AB
24612019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2462
2463 * gdb.fortran/ptr-indentation.exp: Update expected results.
2464 * gdb.fortran/ptype-on-functions.exp: Likewise.
2465 * gdb.fortran/vla-ptr-info.exp: Likewise.
2466 * gdb.fortran/vla-value.exp: Likewise.
2467
bf7a4de1
AB
24682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2469
2470 * gdb.fortran/ptype-on-functions.exp: New file.
2471 * gdb.fortran/ptype-on-functions.f90: New file.
2472
bbe75b9d
AB
24732019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2474
2475 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2476 case void string.
2477
1db455a7
AB
24782019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2479
2480 * gdb.fortran/complex.exp: Expand.
2481 * gdb.fortran/complex.f: Renamed to...
2482 * gdb.fortran/complex.f90: ...this, and extended to add more
2483 complex values.
2484
b6d03bb2
AB
24852019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2486
2487 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2488 MODULO, CMPLX.
2489
2e62ab40
AB
24902019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2491 Richard Bunt <richard.bunt@arm.com>
2492
2493 * gdb.base/max-depth.c: New file.
2494 * gdb.base/max-depth.exp: New file.
2495 * gdb.python/py-nested-maps.c: New file.
2496 * gdb.python/py-nested-maps.exp: New file.
2497 * gdb.python/py-nested-maps.py: New file.
2498 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2499 (test_all_common): Call test_max_depth.
2500 * gdb.fortran/max-depth.exp: New file.
2501 * gdb.fortran/max-depth.f90: New file.
2502 * gdb.go/max-depth.exp: New file.
2503 * gdb.go/max-depth.go: New file.
2504 * gdb.modula2/max-depth.exp: New file.
2505 * gdb.modula2/max-depth.c: New file.
2506 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2507
d2b584a5
TV
25082019-04-29 Tom de Vries <tdevries@suse.de>
2509
2510 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2511
136afab8
PW
25122019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2513
2514 * gdb.base/callexit.exp: Test may-call-functions off.
2515
725cbb63
KS
25162019-04-25 Keith Seitz <keiths@redhat.com>
2517
2518 PR c++/24367
2519 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2520 (another_incomplete_struct, test_incomplete): New definitions.
2521 (main): Use new definitions.
2522 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2523 functions.
2524
701adfb0
PA
25252019-04-25 Ali Tamur <tamur@google.com>
2526
2527 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2528
82433e3e
SDJ
25292019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2530
2531 PR corefiles/11608
2532 PR corefiles/18187
2533 * gdb.base/coredump-filter-build-id.exp: New file.
2534
dd06d4d6
AH
25352019-04-25 Alan Hayward <alan.hayward@arm.com>
2536
e79be6e5
SM
2537 * Makefile.in: Pass through GDBSERVER_DEBUG.
2538 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2539 (gdbserver,debug): Add board setting.
2540 * gdb.trace/tspeed.exp: Skip when debugging.
2541 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2542 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2543
1670072e
TT
25442019-04-24 Tom Tromey <tromey@adacore.com>
2545
2546 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2547 Rust.
2548
a59240a4
TT
25492019-04-24 Tom Tromey <tromey@adacore.com>
2550
2551 * gdb.arch/amd64-eval.exp: Test bitfield return.
2552 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2553 (class Foo) <return_bitfields>: New method.
2554 (main): Call it.
2555
b907456c
AB
25562019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2557
2558 * gdb.cp/many-args.cc: New file.
2559 * gdb.cp/many-args.exp: New file.
2560
5c565afd
TV
25612019-04-23 Tom de Vries <tdevries@suse.de>
2562
2563 PR gdb/24433
2564 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2565
ba22ff86
AH
25662019-04-23 Alan Hayward <alan.hayward@arm.com>
2567
2568 * gdb.trace/backtrace.exp: Use nopie flag.
2569 * gdb.trace/circ.exp: Likewise.
2570 * gdb.trace/collection.exp: Likewise.
2571 * gdb.trace/ftrace.exp: Likewise.
2572 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2573 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2574 * gdb.trace/qtro.exp: Likewise.
2575 * gdb.trace/read-memory.exp: Likewise.
2576 * gdb.trace/report.exp: Likewise.
2577 * gdb.trace/tfile.exp: Likewise.
2578 * gdb.trace/tfind.exp: Likewise.
2579 * gdb.trace/unavailable.exp: Likewise.
2580
7905fc35
PA
25812019-04-22 Pedro Alves <palves@redhat.com>
2582
2583 * gdb.base/solib-probes-nosharedlibrary.c,
2584 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2585
8ecb59f8
TT
25862019-04-19 Tom Tromey <tromey@adacore.com>
2587
2588 * gdb.ada/ptype_union.c: New file.
2589 * gdb.ada/ptype_union.exp: New file.
2590
62160ec9
TT
25912019-04-19 Tom Tromey <tromey@adacore.com>
2592
2593 PR symtab/24423:
2594 * gdb.base/list0.h (foo): Add a control-l character.
2595
36cd4ba5
TV
25962019-04-18 Tom de Vries <tdevries@suse.de>
2597
2598 PR gdb/24433
2599 * boards/local-board.exp: Set sysroot to "".
2600
b73715df
TV
26012019-04-18 Tom de Vries <tdevries@suse.de>
2602 Pedro Alves <palves@redhat.com>
2603
2604 PR gdb/24454
2605 * gdb.threads/vfork-follow-child-exec.c: New file.
2606 * gdb.threads/vfork-follow-child-exec.exp: New file.
2607 * gdb.threads/vfork-follow-child-exit.c: New file.
2608 * gdb.threads/vfork-follow-child-exit.exp: New file.
2609
4aa866af
LS
26102019-04-15 Leszek Swirski <leszeks@google.com>
2611
2612 * gdb.arch/amd64-eval.cc: New file.
2613 * gdb.arch/amd64-eval.exp: New file.
2614
e5a1a79a
AH
26152019-04-11 Alan Hayward <alan.hayward@arm.com>
2616
2617 * gdb.server/sysroot.c: New test.
2618 * gdb.server/sysroot.exp: New file.
2619 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2620 matching param.
2621
41077b66
AB
26222019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2623
2624 * gdb.base/align.exp: Extend test to cover structures containing
2625 only static fields.
2626
c30391f8
TV
26272019-04-11 Tom de Vries <tdevries@suse.de>
2628
2629 * boards/cc-with-dwz-m.exp: New file.
2630 * boards/cc-with-dwz.exp: New file.
2631 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2632
e242fd12
SM
26332019-04-09 Simon Marchi <simon.marchi@efficios.com>
2634
2635 * gdb.base/start-cpp.exp: New file.
2636 * gdb.base/start-cpp.cc: New file.
2637
2b0c8b01
KB
26382019-04-08 Kevin Buettner <kevinb@redhat.com>
2639
2640 * gdb.python/py-thrhandle.exp: Adjust tests to call
2641 thread_from_handle instead of thread_from_thread_handle.
2642
947210e5
KB
26432019-04-08 Kevin Buettner <kevinb@redhat.com>
2644
2645 * gdb.python/py-thrhandle.exp: Add tests for
2646 gdb.InferiorThread.handle.
2647
d7df6549
AB
26482019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2649
2650 * gdb.python/py-function.exp: Check calling helper function from
2651 all languages.
2652 * lib/gdb.exp (gdb_supported_languages): New proc.
2653
8bdc1658
AB
26542019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2655
2656 * gdb.base/complex-parts.c: New file.
2657 * gdb.base/complex-parts.exp: New file.
2658
05caa1d2
TT
26592019-04-01 Tom Tromey <tromey@adacore.com>
2660
2661 PR symtab/23331:
2662 * gdb.dwarf2/dw2-ranges-main.c: New file.
2663 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2664 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2665
7734102d
EZ
26662019-03-30 Simon Marchi <simark@simark.ca>
2667
2668 * gdb.base/default.exp: Add values for $_gdb_major and
2669 $_gdb_minor.
2670
188e1fa9
TT
26712019-03-29 Tom Tromey <tromey@adacore.com>
2672
2673 * gdb.base/help.exp: Tighten apropos regexp.
2674
2880242d
KS
26752019-03-29 Keith Seitz <keiths@redhat.com>
2676
2677 * gdb.fortran/array-bounds.exp: New file.
2678 * gdb.fortran/array-bounds.f90: New file.
2679
077cad8e
PW
26802019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2681
2682 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2683
80047cfc
PW
26842019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2685
2686 * gdb.multi/hello.c (main): Increase alarm timer.
2687
f489207e
SL
26882019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2689
2690 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2691 factor when no hardware watchpoint support.
2692
c92df149
AH
26932019-03-28 Alan Hayward <alan.hayward@arm.com>
2694 Pedro Alves <palves@redhat.com>
2695
2696 * boards/local-board.exp: set sysroot to /.
2697
933aebfa
AH
26982019-03-27 Alan Hayward <alan.hayward@arm.com>
2699
2700 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2701 in child.
2702
9f9aa852
AB
27032019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2704
2705 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2706 field.
2707 (make_container): Initialise new field.
2708 * gdb.python/py-prettyprint.exp: Add new tests.
2709 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2710 <display_hint>: New method.
2711
3714a195
AB
27122019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2713
2714 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2715 gdb_continue_to_breakpoint more throughout this test.
2716 (run_lang_tests) Supply unique test names, and use
2717 gdb_test_no_output.
2718
18c77628
AB
27192019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2720
2721 * gdb.base/finish-pretty.exp: Update expected results.
2722 * gdb.base/pretty-print.c: New file.
2723 * gdb.base/pretty-print.exp: New file.
2724
9a93502f
PA
27252019-03-25 Pedro Alves <palves@redhat.com>
2726
2727 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2728 move comments outside list. Append '-i "" eof' section.
2729
968aa7ae
AH
27302019-03-22 Alan Hayward <alan.hayward@arm.com>
2731
34a7f2a4 2732 PR testsuite/25016
968aa7ae
AH
2733 * README: Add pie options.
2734 * gdb.base/break-interp.exp: Ensure pie is disabled.
2735 * gdb.base/dump.exp: Likewise.
2736 * lib/gdb.exp (gdb_compile): Add pie option.
2737
4c7d57e7
TT
27382019-03-19 Tom Tromey <tromey@adacore.com>
2739
2740 * gdb.mi/mi2-cli-display.c: New file.
2741 * gdb.mi/mi2-cli-display.exp: New file.
2742
bff8c71f
TT
27432019-03-18 Joel Brobecker <brobecker@adacore.com>
2744 Tom Tromey <tromey@adacore.com>
2745
2746 * gdb.ada/ptype_array/pck.adb: New file.
2747 * gdb.ada/ptype_array/pck.ads: New file.
2748 * gdb.ada/ptype_array/foo.adb: New file.
2749 * gdb.ada/ptype_array.exp: New file.
2750
d085f989
TT
27512019-03-14 Tom Tromey <tromey@adacore.com>
2752
2753 * gdb.base/style.exp: Add "set style sources" test.
2754
b4be1b06
SM
27552019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2756
2757 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2758 * mi-breakpoint-multiple-locations.exp: ... this.
2759 (make_breakpoints_pattern): New proc.
2760 (do_test): Add mi_version parameter, test -break-insert,
2761 -break-info and =breakpoint-created.
2762
7cde5fc2
AB
27632019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * config/default.exp: Remove 'load_lib gdb.exp'.
2766 * config/monitor.exp: Likewise.
2767 * config/sid.exp: Likewise.
2768 * config/sim.exp: Likewise.
2769 * config/slite.exp: Likewise.
2770 * config/unix.exp: Likewise.
2771 * gdb.base/default.exp: Remove unhelpful comment.
2772
efbecbc1
AB
27732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2774
2775 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2776
0841c79a
AB
27772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2780
4a270568
AB
27812019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2782
2783 * gdb.fortran/type-kinds.exp: Update expected results.
2784
067630bd
AB
27852019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2788
3be47f7a
AB
27892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2790
2791 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2792 function.
2793 (test_basic_parsing_of_type_kinds): Expand types tested.
2794 (test_parsing_invalid_type_kinds): New function.
2795
4d00f5d8
AB
27962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2797
2798 * gdb.fortran/intrinsics.exp: New file.
2799 * gdb.fortran/intrinsics.f90: New file.
2800 * gdb.fortran/type-kinds.exp: New file.
2801
c8f91604
AB
28022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2803
2804 * gdb.fortran/dot-ops.exp: New file.
2805
dd9f2c76
AB
28062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2807
2808 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2809 Check upper and lower case logical literals.
2810
84ec9724
AB
28112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2812
2813 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2814 Remove duplicate tests.
2815
c3734e09
AH
28162019-03-06 Alan Hayward <alan.hayward@arm.com>
2817
2818 * lib/gdb.exp (builtin_cd): rename of cd.
2819 (cd): Override builtin.
2820
aa3cfbda
RB
28212019-03-06 Richard Bunt <richard.bunt@arm.com>
2822
2823 * gdb.fortran/function-calls.exp: New file.
2824 * gdb.fortran/function-calls.f90: New test.
2825
7b63ad86
RB
28262019-03-04 Richard Bunt <richard.bunt@arm.com>
2827
2828 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2829 on user program standard output.
2830 * gdb.fortran/short-circuit-argument-list.f90: Record function
2831 calls.
2832
01abb042
AH
28332019-02-28 Alan Hayward <alan.hayward@arm.com>
2834
c3734e09
AH
2835 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2836 failure.
01abb042 2837
92137da0
RO
28382019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2839
2840 PR gdb/8527
2841 * gdb.base/interrupt-daemon-attach.c,
2842 gdb.base/interrupt-daemon-attach.exp: New test.
2843
5862844d
PA
28442019-02-27 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/page.exp: Add tests for "set width/height -1".
2847
8ed25214
PA
28482019-02-27 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.base/page.exp: Add tests for "set/show width/height" with
2851 "infinite" values.
2852
6c28e44a
TT
28532019-02-27 Tom Tromey <tromey@adacore.com>
2854
2855 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2856 2.4.
2857 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2858 workaround.
2859
bf9a735e
AB
28602019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2861
2862 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2863 tests for structs with static members.
2864
8791793c
TT
28652019-02-26 Tom Tromey <tromey@adacore.com>
2866
2867 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2868 ValueError, not TypeError.
2869
bc2a507e
KB
28702019-02-26 Kevin Buettner <kevinb@redhat.com>
2871
2872 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2873 call from main program.
2874
e0e7d3bd
JB
28752019-02-23 Joel Brobecker <brobecker@adacore.com>
2876
2877 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2878 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2879 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2880 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2881 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2882
9600246d
KS
28832019-02-22 Keith Seitz <keiths@redhat.com>
2884
2885 PR symtab/23853
2886 * gdb.base/symlink-sourcefile.c: New file.
2887 * gdb.base/symlink-sourcefile.exp: New file.
2888
0c95f9ed
TT
28892019-02-20 Tom Tromey <tom@tromey.com>
2890
2891 * gdb.base/info_qt.exp: Update.
2892
6caa91b6
SM
28932019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2894
2895 * gdb.base/source.exp: Move "error in sourced script" code to
2896 the end.
2897 * gdb.base/source-error.gdb: Move contents to
2898 source-error-1.gdb. Add new code to source source-error-1.gdb.
2899 * gdb.base/source-error-1.gdb: New file, from previous
2900 source-error.gdb.
2901
6506371f
TT
29022019-02-17 Tom Tromey <tom@tromey.com>
2903
2904 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2905 for macro styling.
2906 * gdb.base/style.c (SOME_MACRO): New macro.
2907
a0087920
TT
29082019-02-17 Tom Tromey <tom@tromey.com>
2909
2910 * gdb.base/style.exp: Add line-wrapping tests.
2911 * gdb.base/page.exp: Add test for quitting during pagination.
2912
a2cd4f14
JB
29132019-02-17 Joel Brobecker <brobecker@adacore.com>
2914
2915 * gdb.ada/big_packed_array: New testcase.
2916 * gdb.ada/homonym.exp: Fix incorrect expected output for
2917 "break <homonym__get_value>" test.
2918
9d70ffbc
WP
29192019-02-13 Weimin Pan <weimin.pan@oracle.com>
2920
2921 PR breakpoints/21870
2922 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2923 and prepare_for_testing. Add comment.
2924 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2925 redundant cleanup call. Clean up comment.
2926
01c7ae81
WP
29272019-02-12 Weimin Pan <weimin.pan@oracle.com>
2928
2929 PR breakpoints/21870
2930 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2931 * gdb.arch/aarch64-dbreg-contents.c: New file.
2932
aff29d1c
JB
29332019-02-10 Joel Brobecker <brobecker@adacore.com>
2934
2935 * gdb.ada/mi_ref_changeable: New testcase.
2936
df0da8a2
AH
29372019-02-07 Alan Hayward <alan.hayward@arm.com>
2938
2939 * gdb.base/attach.exp: Add double attach test.
2940
bd447abb
SM
29412019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2942
2943 * lib/gdb.exp (default_gdb_start): Don't match pagination
2944 prompt.
2945 (gdb_init): Set stty_init.
2946
1dbc40b9
TT
29472019-01-27 Tom Tromey <tom@tromey.com>
2948
2949 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2950 skip_python_tests.
2951
353229bf
AH
29522019-01-24 Alan Hayward <alan.hayward@arm.com>
2953
2954 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2955 New structure.
2956 (struct struct_static_02_02): Likewise.
2957 (struct struct_static_02_03): Likewise.
2958 (struct struct_static_02_04): Likewise.
2959 (struct struct_static_04_01): Likewise.
2960 (struct struct_static_04_02): Likewise.
2961 (struct struct_static_04_03): Likewise.
2962 (struct struct_static_04_04): Likewise.
2963 (struct struct_static_06_01): Likewise.
2964 (struct struct_static_06_02): Likewise.
2965 (struct struct_static_06_03): Likewise.
2966 (struct struct_static_06_04): Likewise.
2967 (cmp_struct_static_02_01): Likewise.
2968 (cmp_struct_static_02_02): Likewise.
2969 (cmp_struct_static_02_03): Likewise.
2970 (cmp_struct_static_02_04): Likewise.
2971 (cmp_struct_static_04_01): Likewise.
2972 (cmp_struct_static_04_02): Likewise.
2973 (cmp_struct_static_04_03): Likewise.
2974 (cmp_struct_static_04_04): Likewise.
2975 (cmp_struct_static_06_01): Likewise.
2976 (cmp_struct_static_06_02): Likewise.
2977 (cmp_struct_static_06_03): Likewise.
2978 (cmp_struct_static_06_04): Likewise.
2979 (call_all): Test new structs.
2980 * gdb.base/infcall-nested-structs.exp: Likewise.
2981
73021deb
AH
29822019-01-21 Alan Hayward <alan.hayward@arm.com>
2983 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2984
fc65c7db
AH
29852019-01-21 Alan Hayward <alan.hayward@arm.com>
2986 * gdb.base/stack-protector.c: New test.
2987 * gdb.base/stack-protector.exp: New file.
2988 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2989 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2990 option.
2991 (gdb_compile): Remove stack protector for GCC and prevent
2992 recursion.
2993
c24bdb02
KS
29942019-01-16 Keith Seitz <keiths@redhat.com>
2995
2996 PR gdb/23773
2997 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2998
6f072a10
PFC
29992019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3000
3001 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3002 aliases.
3003 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3004 tests.
3005 * gdb.arch/powerpc-vector-regs.c: New file.
3006 * gdb.arch/powerpc-vector-regs.exp: New file.
3007
a7b8d682
PFC
30082019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3009
3010 * gdb.arch/altivec-regs.exp: Fix the list passed to
3011 gdb_expect_list when testing "info vector".
3012
6eb6fb67
AB
30132019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3014
3015 * gdb.base/style.exp: Don't include path in testname.
3016
b56f80d8
KS
30172019-01-10 Keith Seitz <keiths@redhat.com>
3018
3019 PR gdb/23712
3020 PR symtab/23010
3021 * gdb.dwarf2/multidictionary.exp: New file.
3022
041be526
SM
30232019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3024
3025 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3026 (test_gnuv3_style_demangling): ... this.
3027 (test_lucid_style_demangling): Remove.
3028 (test_arm_style_demangling): Remove.
3029 (test_hp_style_demangling): Remove.
3030 (do_tests): Remove calls to the above.
3031
d820d0c3
AB
30322019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3035 case.
3036
f097f5ad
TT
30372019-01-06 Tom Tromey <tom@tromey.com>
3038
3039 PR gdb/28155:
3040 * gdb.dwarf2/typedef-void-finish.exp: New file.
3041
2cd8cc0b
TT
30422018-12-28 Tom Tromey <tom@tromey.com>
3043 Simon Marchi <simark@simark.ca>
3044
3045 * gdb.base/jit-exec.exp: New file.
3046 * gdb.base/jit-exec.c: New file.
3047 * gdb.base/jit-execd.c: New file.
3048
35fb8261
TT
30492018-12-28 Tom Tromey <tom@tromey.com>
3050
3051 * gdb.base/style.exp: Update test to check for address styling.
3052
47fd17cd
TT
30532018-12-28 Tom Tromey <tom@tromey.com>
3054
3055 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3056 message.
3057
d47032b7
TT
30582018-12-28 Tom Tromey <tom@tromey.com>
3059
3060 * gdb.base/style.exp: Add test for version number styling.
3061
af79b68d
TT
30622018-12-28 Tom Tromey <tom@tromey.com>
3063
3064 * gdb.base/style.exp: Add test for print_address_symbolic.
3065
0bb296cb
TT
30662018-12-28 Tom Tromey <tom@tromey.com>
3067
3068 * gdb.base/style.exp: Add test for breakpoint setting.
3069
80ae2043
TT
30702018-12-28 Tom Tromey <tom@tromey.com>
3071
3072 * gdb.base/style.exp: Add test for variable names.
3073
cbe56571
TT
30742018-12-28 Tom Tromey <tom@tromey.com>
3075
3076 * gdb.base/style.exp: New file.
3077 * gdb.base/style.c: New file.
3078
9162a27c
TT
30792018-12-28 Tom Tromey <tom@tromey.com>
3080
3081 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3082 "dumb".
3083 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3084 the TERM environment variable.
3085
bc543c90
TT
30862018-12-27 Tom Tromey <tom@tromey.com>
3087
3088 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3089 pagination test.
3090
6f0ffe50
AB
30912018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3092
3093 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3094 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3095
b5a1e557
PW
30962018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3097
3098 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3099 Filename a.adb changed to bp_fun_addr.adb.
3100 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3101
6e8b1ab2
JV
31022018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3103
3104 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3105 non-PIE executables.
3106 * README: Mention the gdb,nopie_flag board setting.
3107 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3108 non-PIE executable.
3109 * gdb.arch/amd64-entry-value.exp: Likewise.
3110 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3111 * gdb.arch/i386-float.exp: Likewise.
3112 * gdb.arch/i386-signal.exp: Likewise.
3113 * gdb.mi/mi-reg-undefined.exp: Likewise.
3114
d00a27c5
PM
31152018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3116
3117 PR gdb/23974
3118 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3119
161d081c
PW
31202018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3121
3122 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3123 Update order of results accordingly.
3124
b001de23
AB
31252018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3126
3127 * gdb.base/annota1.exp: Update a test regexp.
3128
99e1a184
AB
31292018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3130
3131 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3132
7a81c1e2
PW
31332018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3134
3135 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3136 (reuse_time): Initialize to REUSE_TIME_CAP.
3137 (check_rc): New function.
3138 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3139 Check pthread_create rc.
3140 (spawner_thread_func): Check pthread_create and pthread_join rc.
3141
73e8dc90
PA
31422018-12-08 Pedro Alves <palves@redhat.com>
3143
3144 * gdb.base/list.exp (test_forward_search): Rename to ...
3145 (test_forward_reverse_search): ... this. Also test reverse-search
3146 and the forward-search alias.
3147
13f2ed32
AB
31482018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3149
3150 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3151 local timeout variable before return, and remove all local timeout
3152 variable entirely.
3153 (gdb_load): Likewise.
3154
64d27cfc
TV
31552018-12-01 Tom de Vries <tdevries@suse.de>
3156
3157 * gdb.base/gdb-caching-proc.exp: New file.
3158
f63c03b4
SDJ
31592018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3160
3161 * Makefile.in (TIMESTAMP): New variable.
3162 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3163 command.
3164 (check-single-racy): Likewise.
3165 (check/%.exp): Likewise.
3166 (check-racy/%.exp): Likewise.
3167 (workers/%.worker): Likewise.
3168 (build-perf): Likewise.
3169 (check-perf): Likewise.
3170 * README: Describe new "TS" and "TS_FORMAT" variables.
3171 * print-ts.py: New file.
3172
1c97054b
BF
31732018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3174
3175 PR python/23714
3176 * gdb.python/python.exp: Test command repetition after
3177 gdb.execute.
3178
1871a62d
AB
31792018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3182 is correctly aligned.
3183
fb5e1ed9
PW
31842018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3185
3186 * gdb.ada/info_auto_lang.exp: New testcase.
3187 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3188 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3189 * gdb.ada/info_auto_lang/some_c.c: New file.
3190
43d397ca
PW
31912018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3192
3193 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3194 FUNC_lang language syntax.
3195
beddd671
PW
31962018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3197
3198 * gdb.base/info_minsym.c: New file.
3199 * gdb.base/info_minsym.exp: New file.
3200
73fc52c4
TT
32012018-11-19 Tom Tromey <tom@tromey.com>
3202
3203 PR rust/23625:
3204 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3205 * gdb.rust/expr.exp: Update expected output. Change one test.
3206
994b876a
TT
32072018-11-19 Tom Tromey <tom@tromey.com>
3208
3209 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3210
6769f276
PA
32112018-11-19 Pedro Alves <palves@redhat.com>
3212
3213 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3214 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3215 see the expected warning.
3216
38a72da0
AH
32172018-11-16 Alan Hayward <alan.hayward@arm.com>
3218
3219 PR gdb/22736:
3220 * gdb.cp/infcall-nodebug-lib.c: New test.
3221 * gdb.cp/infcall-nodebug-main.c: New test.
3222 * gdb.cp/infcall-nodebug.exp: New file.
3223
53a89d6e
SM
32242018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3225
3226 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3227 completer tests.
3228
9325300d
TV
32292018-11-09 Tom de Vries <tdevries@suse.de>
3230
3231 * gdb.base/msym-lang.c: New test.
3232 * gdb.base/msym-lang.exp: New file.
3233 * gdb.base/msym-lang-main.c: New test.
3234
20f0d60d
TT
32352018-11-08 Tom Tromey <tom@tromey.com>
3236
3237 PR gdb/23555:
3238 PR gdb/23838:
3239 * gdb.base/warning.exp: New file.
3240
b5420128
JB
32412018-11-08 Jan Beulich <jbeulich@suse.com>
3242
3243 * testsuite/gdb.arch/i386-avx512.c,
3244 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3245
cd115d61
AB
32462018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3247
3248 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3249 point hardware.
3250
35ee2dc2
AB
32512018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3252
3253 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3254 * gdb.dwarf2/missing-type-name.exp: New file.
3255
31aceee8
TV
32562018-11-06 Tom de Vries <tdevries@suse.de>
3257
3258 * gdb.base/many-headers.c: New test.
3259 * gdb.base/many-headers.exp: New file.
3260
109be305
JW
32612018-11-06 Jim Wilson <jimw@sifive.com>
3262
3263 * gdb.base/code_elim.exp: For riscv, set additional_flags
3264 to include -msmall-data-limit=0.
3265
e2b7af72
JB
32662018-11-01 Joel Brobecker <brobecker@adacore.com>
3267
3268 * gdb.ada/watch_minus_l: New testcase.
3269
cdcda965
SM
32702018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3271
3272 * gdb.arch/aix-sighandle.c: New file.
3273 * gdb.arch/aix-sighandle.exp: New file.
3274
92dcebf3
AB
32752018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3278 registers being unions.
3279
68b9ac18
TV
32802018-10-31 Tom de Vries <tdevries@suse.de>
3281
3282 * lib/valgrind.exp: New file.
3283 (vgdb_start, vgdb_stop): New procs, factored out of ...
3284 * gdb.base/valgrind-bt.exp: ... here, ...
3285 * gdb.base/valgrind-disp-step.exp: ... here and ...
3286 * gdb.base/valgrind-infcall.exp: ... here.
3287
1443936e
TV
32882018-10-31 Tom de Vries <tdevries@suse.de>
3289
3290 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3291
eb77c9df
AB
32922018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3293
3294 * gdb.dwarf2/void-type.c: New file.
3295 * gdb.dwarf2/void-type.exp: New file.
3296
82b5e646
PW
32972018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3298
3299 * gdb.base/info_qt.c: New file.
3300 * gdb.base/info_qt.exp: New file.
3301
8d619c01
EBM
33022018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3303
3304 * gdb.arch/powerpc-htm-regs.c: New file.
3305 * gdb.arch/powerpc-htm-regs.exp: New file.
3306
f2cf6173
EBM
33072018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3308
3309 * gdb.arch/powerpc-tar.c: New file.
3310 * gdb.arch/powerpc-tar.exp: New file.
3311
7ca18ed6
EBM
33122018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3313
3314 * gdb.arch/powerpc-ppr-dscr.c: New file.
3315 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3316
bfcc0eba
TV
33172018-10-25 Tom de Vries <tdevries@suse.de>
3318
3319 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3320
fe1a5cad
TV
33212018-10-24 Tom de Vries <tdevries@suse.de>
3322
3323 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3324 longer exists error.
3325
a76dc3b7
TV
33262018-10-24 Tom de Vries <tdevries@suse.de>
3327
3328 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3329
4df46df7
TV
33302018-10-24 Tom de Vries <tdevries@suse.de>
3331
3332 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3333 --db-attach in valgrind.
3334
0dbfcfff
AB
33352018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3336
3337 * gdb.arch/riscv-reg-aliases.c: New file.
3338 * gdb.arch/riscv-reg-aliases.exp: New file.
3339
b04480b1
AH
33402018-10-19 Alan Hayward <alan.hayward@arm.com>
3341
3342 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3343
2c6ac8d7
AH
33442018-10-19 Alan Hayward <alan.hayward@arm.com>
3345
3346 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3347
2bc69f25
AH
33482018-10-19 Alan Hayward <alan.hayward@arm.com>
3349
3350 * gdb.cp/ovldbreak.exp: Fix regexps.
3351
1f1ae3a3
AH
33522018-10-19 Alan Hayward <alan.hayward@arm.com>
3353
3354 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3355
94c18618
SDJ
33562018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3357
3358 PR cli/23785
3359 * gdb.base/restore.exp: New test to check if "restore" with an
3360 invalid file doesn't segfault.
3361
812cd6eb
TV
33622018-10-18 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3365 * gdb.ada/excep_handle.exp: Same.
3366 * gdb.ada/mi_string_access.exp: Same.
3367 * gdb.ada/mi_var_union.exp: Same.
3368 * gdb.arch/arc-analyze-prologue.exp: Same.
3369 * gdb.arch/arc-decode-insn.exp: Same.
3370 * gdb.base/readnever.exp: Same.
3371 * gdb.fortran/printing-types.exp: Same.
3372 * gdb.guile/scm-lazy-string.exp: Same.
3373
c4b90788
TV
33742018-10-16 Tom de Vries <tdevries@suse.de>
3375
3376 PR gdb/23730
3377 * gdb.base/catch-follow-exec.c: Add copyright notice.
3378 * gdb.base/catch-follow-exec.exp: Rewrite to use
3379 gdb_spawn_with_cmdline_opts. Require gdb-native.
3380
8bca2978
SL
33812018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3382
3383 * gdb.trace/actions-changed.exp: Check for arch support.
3384 * gdb.trace/actions.exp: Likewise.
3385 * gdb.trace/ax.exp: Likewise.
3386 * gdb.trace/backtrace.exp: Likewise.
3387 * gdb.trace/change-loc.exp: Likewise.
3388 * gdb.trace/deltrace.exp: Likewise.
3389 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3390 * gdb.trace/ftrace.exp: Likewise.
3391 * gdb.trace/infotrace.exp: Check for arch support.
3392 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3393 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3394 * gdb.trace/mi-tsv-changed.exp: Likewise.
3395 * gdb.trace/packetlen.exp: Likewise.
3396 * gdb.trace/passc-dyn.exp: Likewise.
3397 * gdb.trace/passcount.exp: Likewise.
3398 * gdb.trace/pending.exp: Likewise.
3399 * gdb.trace/range-stepping.exp: Check for shlib support.
3400 * gdb.trace/report.exp: Check for arch support.
3401 * gdb.trace/save-trace.exp: Likewise.
3402 * gdb.trace/signal.exp: Check for signal support.
3403 * gdb.trace/tfind.exp: Check for arch support.
3404 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3405 * gdb.trace/trace-common.h: Add comment.
3406 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3407 * gdb.trace/trace-enable-disable.exp: Likewise.
3408 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3409 * gdb.trace/tracecmd.exp: Check for arch support.
3410 * gdb.trace/tspeed.exp: Check for shlib and target support.
3411 * gdb.trace/tstatus.exp: Check for arch support.
3412 * gdb.trace/tsv.exp: Likewise.
3413 * gdb.trace/while-dyn.exp: Likewise.
3414 * gdb.trace/while-stepping.exp: Likewise.
3415 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3416
f9c49bff
SM
34172018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3418
3419 * gdb.trace/tspeed.exp: Remove nowarnings.
3420 (prepare_for_trace_test): Declare "global ipalib".
3421 * gdb.trace/tspeed.c: Include unistd.h.
3422 (main): Remove superfluous printf argument.
3423
d4330bde
SL
34242018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3425
3426 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3427 directory prefix on the filename.
3428
8ecfd7bd
SDJ
34292018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3430
3431 * gdb.gdb/unittest.exp: Update expected message informing that
3432 selftests have been disabled.
3433 * gdb.server/unittest.exp: Likewise.
3434
58bbcd02
TV
34352018-10-09 Tom de Vries <tdevries@suse.de>
3436
3437 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3438 with runto_main.
3439
9f6b697b
WP
34402018-10-08 Weimin Pan <weimin.pan@oracle.com>
3441
3442 PR c++/16841
3443 * gdb.cp/virtbase2.cc: New file.
3444 * gdb.cp/virtbase2.exp: New file.
3445
add5ded5
TT
34462018-10-06 Tom Tromey <tom@tromey.com>
3447
3448 PR python/19399:
3449 * gdb.python/py-inferior.exp: Add architecture test.
3450
f9e48344
TT
34512018-10-06 Tom Tromey <tom@tromey.com>
3452
3453 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3454 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3455
2a8be203
TT
34562018-10-06 Tom Tromey <tom@tromey.com>
3457
3458 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3459 of a "throw" catchpoint.
3460
e04caa70
SDJ
34612018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3462
3463 * gdb.base/info-proc.exp: Update string expected from "help info
3464 proc".
3465
5ca8c39f
TT
34662018-10-04 Tom Tromey <tom@tromey.com>
3467
3468 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3469 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3470 (test_initial_complaints, test_empty_complaints): Update.
3471 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3472
3453e7e4
TT
34732018-10-04 Tom Tromey <tom@tromey.com>
3474
3475 PR cli/19551:
3476 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3477 * lib/gdb.exp (gdb_file_cmd): Update.
3478 * gdb.stabs/weird.exp (print_weird_var): Update.
3479 * gdb.server/solib-list.exp: Update.
3480 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3481 * gdb.mi/mi-cli.exp: Update.
3482 * gdb.linespec/linespec.exp: Update.
3483 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3484 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3485 * gdb.cp/cp-relocate.exp: Update.
3486 * gdb.base/sym-file.exp: Update.
3487 * gdb.base/relocate.exp: Update.
3488 * gdb.base/readnever.exp: Update.
3489 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3490 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3491 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3492 * gdb.base/code_elim.exp: Update.
3493 * gdb.base/break-unload-file.exp (test_break): Update.
3494 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3495 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3496 Update.
3497 * gdb.base/attach.exp (do_attach_tests): Update.
3498 * gdb.base/sepdebug.exp: Update.
3499 * gdb.python/py-section-script.exp: Update.
3500
6afcf761
TT
35012018-10-04 Tom Tromey <tom@tromey.com>
3502
3503 PR cli/22234:
3504 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3505 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3506 output.
3507
fef1b293
TT
35082018-10-04 Tom Tromey <tom@tromey.com>
3509
3510 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3511 set width and height to 0.
3512 (test_command_line_attach_run): Use -quiet.
3513
ca98345e
SL
35142018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3515
3516 * lib/gdb.exp (skip_ifunc_tests): New.
3517 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3518 other compile failures.
3519 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3520
ff34e6ae
SM
35212018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3522
3523 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3524 is_amd64_regs_target.
3525
6bb8890e
AH
35262018-10-01 Alan Hayward <alan.hayward@arm.com>
3527
3528 * gdb.arch/aarch64-sighandler-regs.c: New test.
3529 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3530 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3531
224d30d3
MM
35322018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3533
3534 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3535 assembly.
3536
f67ffa6a
AB
35372018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3538
3539 * gdb.base/frame-selection.exp: New file.
3540 * gdb.base/frame-selection.c: New file.
3541
9fc3183f
AH
35422018-09-27 Alan Hayward <alan.hayward@arm.com>
3543
3544 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3545 pthread barrier.
3546 (main): Likewise.
3547
d354055e
AB
35482018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3549
3550 * gdb.base/large-frame-1.c: New file.
3551 * gdb.base/large-frame-2.c: New file.
3552 * gdb.base/large-frame.exp: New file.
3553 * gdb.base/large-frame.h: New file.
3554
db727370
JL
35552018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3556
3557 PR gdb/20948
3558 * gdb.base/write_mem.exp: New test.
3559 * gdb.base/write_mem.c: Likewise.
3560
ae778caf
TT
35612018-09-23 Tom Tromey <tom@tromey.com>
3562
3563 PR python/18852:
3564 * gdb.python/py-parameter.exp: Add test for parameter that throws
3565 on "set".
3566
fd3ba736
TT
35672018-09-23 Tom Tromey <tom@tromey.com>
3568
3569 PR python/17284:
3570 * gdb.python/py-template.exp (test_template_arg): Add test for
3571 negative template argument number.
3572
39a24317
TT
35732018-09-23 Tom Tromey <tom@tromey.com>
3574
3575 PR python/14062:
3576 * gdb.python/python.exp: Add test for post_event error.
3577
f5769a2c
TT
35782018-09-23 Tom Tromey <tom@tromey.com>
3579
3580 PR python/18170:
3581 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3582 convert pointers to int and long.
3583
1c1e54f6
TT
35842018-09-23 Tom Tromey <tom@tromey.com>
3585
3586 PR python/20126:
3587 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3588 signed-ness conversion tests.
3589
fb4fa946
TT
35902018-09-23 Tom Tromey <tom@tromey.com>
3591
3592 PR python/18352;
3593 * gdb.python/py-value.exp (test_float_conversion): New proc.
3594 Use it.
3595
a466edac
HAQ
35962018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3597
3598 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3599
4ee9b0c5
SL
36002018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3601
3602 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3603 no readline.
3604 * gdb.base/utf8-identifiers.exp: Likewise.
3605 * gdb.cp/cpcompletion.exp: Likewise.
3606 * gdb.linespec/cpcompletion.exp: Likewise.
3607 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3608 * gdb.linespec/cpls-ops.exp: Likewise.
3609
23be8da7
RB
36102018-09-19 Richard Bunt <richard.bunt@arm.com>
3611 Chris January <chris.january@arm.com>
3612
3613 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3614 * gdb.fortran/short-circuit-argument-list.exp: New file.
3615 * gdb.fortran/short-circuit-argument-list.f90: New test.
3616
5031d0ae
SDJ
36172018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3618
3619 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3620 "arch=" keyword when executing "-stack-list-frames".
3621
b4c0d1a4
SDJ
36222018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3623
3624 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3625 "arch=" keyword when executing "-stack-list-frames".
3626
7a6d2b45
SDJ
36272018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3628
3629 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3630 break ada".
3631
8588b356
SM
36322018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3633
3634 PR python/23669
3635 * gdb.python/python.exp: Test gdb.execute("show commands").
3636
65e65158
TT
36372018-09-16 Tom Tromey <tom@tromey.com>
3638
3639 * gdb.base/new-ui.exp (do_execution_tests): Update.
3640 * gdb.base/dbx.exp (test_breakpoints): Update.
3641
bf326452
AH
36422018-09-14 Alan Hayward <alan.hayward@arm.com>
3643
3644 * lib/gdb.exp (gdb_simple_compile): Add proc.
3645 (is_elf_target): Use gdb_simple_compile.
3646 (skip_altivec_tests): Likewise.
3647 (skip_vsx_tests): Likewise.
3648 (skip_tsx_tests): Likewise.
3649 (skip_btrace_tests): Likewise.
3650 (skip_btrace_pt_tests): Likewise.
3651 (gdb_can_simple_compile): Likewise.
3652 (gdb_has_argv0): Likewise.
3653 (gdb_target_symbol_prefix): Likewise.
3654 (target_supports_scheduler_locking): Likewise.
3655
2361b0fb
TT
36562018-09-13 Tom Tromey <tom@tromey.com>
3657
3658 * Makefile.in (TAGS): Recognize proc_with_prefix and
3659 gdb_caching_proc.
3660
0ae1a321
SM
36612018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3662
3663 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3664 method.
3665
a40bf0c2
SM
36662018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3667
3668 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3669 and a few other Inferior properties when the Inferior is no
3670 longer valid.
3671
4a3fe98f
TT
36722018-09-13 Tom Tromey <tom@tromey.com>
3673
3674 PR rust/23650:
3675 * gdb.rust/simple.exp: Add test for enum field access error.
3676
098b2108
TT
36772018-09-13 Tom Tromey <tom@tromey.com>
3678
3679 PR rust/23626:
3680 * gdb.rust/simple.rs (EmptyEnum): New type.
3681 (main): Use it.
3682 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3683
1256af7d
SM
36842018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3685
3686 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3687 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3688 * gdb.python/py-symtab.exp: Update test printing an objfile.
3689
4aa8e6c2
SM
36902018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3691
3692 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3693 object.
3694
c221b2f7
AH
36952018-09-12 Alan Hayward <alan.hayward@arm.com>
3696
3697 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3698 (support_complex_tests): Use gdb_can_simple_compile.
3699 (is_ilp32_target): Likewise.
3700 (is_lp64_target): Likewise.
3701 (is_64_target): Likewise.
3702 (is_amd64_regs_target): Likewise.
3703 (is_aarch32_target): Likewise.
3704 (gdb_int128_helper): Likewise.
3705
6f1107b5
JK
37062018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3707
3708 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3709
1f5d1570
JG
37102018-09-10 Jerome Guitton <guitton@adacore.com>
3711
3712 * gdb.ada/same_component_name: Add test for case of tagged record
3713 with variable-length fields.
3714
cc330e39
XR
37152018-09-10 Xavier Roirand <roirand@adacore.com>
3716
3717 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3718 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3719 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3720 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3721
b9c50e9a
XR
37222018-09-10 Xavier Roirand <roirand@adacore.com>
3723
3724 * gdb.ada/mi_string_access.exp: New testcase.
3725 * gdb.ada/mi_string_access/bar.adb: New file.
3726 * gdb.ada/mi_string_access/pck.adb: New file.
3727 * gdb.ada/mi_string_access/pck.asd: New file.
3728
2963898f
XR
37292018-09-10 Xavier Roirand <roirand@adacore.com>
3730
3731 * gdb.ada/mi_var_union.exp: New testcase.
3732 * gdb.ada/mi_var_union/bar.adb: New file.
3733 * gdb.ada/mi_var_union/pck.adb: New file.
3734 * gdb.ada/mi_var_union/pck.asd: New file.
3735
1aac008f
TT
37362018-09-08 Tom Tromey <tom@tromey.com>
3737
3738 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3739
332cf4c9
TT
37402018-09-08 Tom Tromey <tom@tromey.com>
3741
3742 PR python/16047:
3743 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3744 (register_pretty_printers): Register new printer.
3745 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3746 test.
3747 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3748 (an_int_type3): New global.
3749
424da6cf
JB
37502018-09-08 Joel Brobecker <brobecker@adacore.com>
3751
3752 * gdb.ada/expr_with_funcall: New testcase.
3753
2a62dfa9
JB
37542018-09-08 Joel Brobecker <brobecker@adacore.com>
3755
3756 * gdb.ada/packed_array_assign: New testcase.
3757
96b6697f
AB
37582018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3759
3760 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3761 names, and add test prefixes to make test names unique.
3762
e4a62c65
TV
37632018-09-05 Tom de Vries <tdevries@suse.de>
3764
3765 * gdb.dwarf2/varval.exp: Add test.
3766
dd083ee2
GB
37672018-09-04 Gary Benson <gbenson@redhat.com>
3768
3769 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3770 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3771
aef9346c
TT
37722018-08-31 Tom Tromey <tom@tromey.com>
3773
3774 * gdb.rust/simple.rs: Rename second variable "v".
3775
c67f2e15
AB
37762018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3777
3778 * gdb.base/funcargs.c (use_a): New function.
3779 (recurse): Call use_a.
3780
078a0207
KS
37812018-08-29 Keith Seitz <keiths@redhat.com>
3782
3783 * gdb.compile/compile-cplus-anonymous.cc: New file.
3784 * gdb.compile/compile-cplus-anonymous.exp: New file.
3785 * gdb.compile/compile-cplus-array-decay.cc: New file.
3786 * gdb.compile/compile-cplus-array-decay.exp: New file.
3787 * gdb.compile/compile-cplus-inherit.cc: New file.
3788 * gdb.compile/compile-cplus-inherit.exp: New file.
3789 * gdb.compile/compile-cplus-member.cc: New file.
3790 * gdb.compile/compile-cplus-member.exp: New file.
3791 * gdb.compile/compile-cplus-method.cc: New file.
3792 * gdb.compile/compile-cplus-method.exp: New file.
3793 * gdb.compile/compile-cplus-mod.c: "New" file.
3794 * gdb.compile/compile-cplus-namespace.cc: New file.
3795 * gdb.compile/compile-cplus-namespace.exp: New file.
3796 * gdb.compile/compile-cplus-nested.cc: New file.
3797 * gdb.compile/compile-cplus-nested.exp: New file.
3798 * gdb.compile/compile-cplus-print.c: "New" file.
3799 * gdb.compile/compile-cplus-print.exp: "New" file.
3800 * gdb.compile/compile-cplus-virtual.cc: New file.
3801 * gdb.compile/compile-cplus-virtual.exp: New file.
3802 * gdb.compile/compile-cplus.c: "New" file.
3803 * gdb.compile/compile-cplus.exp: "New" file.
3804 * lib/compile-support.exp: New file.
3805
b0f492b9
GB
38062018-08-16 Gary Benson <gbenson@redhat.com>
3807
3808 PR gdb/13000:
3809 * gdb.base/batch-exit-status.exp: New file.
3810 * gdb.base/batch-exit-status.good-commands: Likewise.
3811 * gdb.base/batch-exit-status.bad-commands: Likewise.
3812
36eb4c5f
AH
38132018-08-29 Alan Hayward <alan.hayward@arm.com>
3814
3815 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3816 (struct struct02): Likewise.
3817 (struct struct03): Likewise.
3818 (struct struct04): Likewise.
3819 (struct struct_01_01): New struct.
3820 (struct struct_01_02): Likewise.
3821 (struct struct_01_03): Likewise.
3822 (struct struct_01_04): Likewise.
3823 (struct struct_02_01): Likewise.
3824 (struct struct_02_02): Likewise.
3825 (struct struct_02_03): Likewise.
3826 (struct struct_02_04): Likewise.
3827 (struct struct_04_01): Likewise.
3828 (struct struct_04_02): Likewise.
3829 (struct struct_04_03): Likewise.
3830 (struct struct_04_04): Likewise.
3831 (struct struct_05_01): Likewise.
3832 (struct struct_05_02): Likewise.
3833 (struct struct_05_03): Likewise.
3834 (struct struct_05_04): Likewise.
3835 (cmp_struct01): Remove function.
3836 (cmp_struct02): Likewise.
3837 (cmp_struct03): Likewise.
3838 (cmp_struct04): Likewise.
3839 (cmp_struct_01_01): Add Function.
3840 (cmp_struct_01_02): Likewise.
3841 (cmp_struct_01_03): Likewise.
3842 (cmp_struct_01_04): Likewise.
3843 (cmp_struct_02_01): Likewise.
3844 (cmp_struct_02_02): Likewise.
3845 (cmp_struct_02_03): Likewise.
3846 (cmp_struct_02_04): Likewise.
3847 (cmp_struct_04_01): Likewise.
3848 (cmp_struct_04_02): Likewise.
3849 (cmp_struct_04_03): Likewise.
3850 (cmp_struct_04_04): Likewise.
3851 (cmp_struct_05_01): Likewise.
3852 (cmp_struct_05_02): Likewise.
3853 (cmp_struct_05_03): Likewise.
3854 (cmp_struct_05_04): Likewise.
3855 (call_all): Add new structs.
3856 * gdb.base/infcall-nested-structs.exp: Likewise.
3857
3bf9c013
JV
38582018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3859
3860 * gdb.python/py-framefilter-mi.exp: Update regexp to
3861 check for "arch" field in frame output.
3862
450d1e88
KB
38632018-08-23 Kevin Buettner <kevinb@redhat.com>
3864
3865 * gdb.dwarf2/dw2-ranges-func.c: New file.
3866 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3867
ae739fe7
SM
38682018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3869
3870 * gdb.base/term.exp: Compare terminal settings with values from
3871 the inferior.
3872 * gdb.base/term.c: Get and set terminal settings.
3873
6d52907e
JV
38742018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3875
3876 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3877 accommodate new "arch" field in frame output.
3878 * gdb.mi/mi-return.exp: Likewise.
3879 * gdb.mi/mi-stack.exp: Likewise.
3880 * gdb.mi/mi-syn-frame.exp: Likewise.
3881 * gdb.mi/user-selected-context-sync.exp: Likewise.
3882
be2d111a
MS
38832018-08-19 Michael Spang <spang@google.com>
3884
3885 PR gdb/11786
3886 * gdb.base/gcore-tls-pie.c: New file.
3887 * gdb.base/gcore-tls-pie.exp: New file.
3888
ae3a7c47
KB
38892018-08-18 Kevin Buettner <kevinb@redhat.com>
3890
3891 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
3892 * gdb.dwarf2/varval.c: New file.
3893 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 3894
2ecae92e
AH
38952018-08-17 Alan Hayward <alan.hayward@arm.com>
3896
3897 PR gdb/18931
3898 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3899
c1854f1d
KS
39002018-08-16 Keith Seitz <keiths@redhat.com>
3901
3902 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3903 tests expected to pass.
3904
26fb3983
JV
39052018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3906
3907 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3908 -data-disassemble -a.
3909 (test_disassembly_bogus_args): Likewise.
3910
67943c00
AB
39112018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3912
3913 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3914
5ff2bbae
AB
39152018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3916
3917 * gdb.base/vla-optimized-out.exp: Add new test.
3918
e5bbcd0f
AB
39192018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3920
3921 * gdb.base/vla-optimized-out-o3.exp: Delete.
3922 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3923 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3924 deleted tests.
3925
9d4a934c
AB
39262018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3927
3928 PR gdb/18050:
3929 * gdb.server/extended-remote-restart.c: New file.
3930 * gdb.server/extended-remote-restart.exp: New file.
3931
045cf012
SM
39322018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3933
3934 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3935 "set variable index = 42".
3936
87d6a7aa
SM
39372018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3938
3939 * boards/index-cache-gdb.exp: New file.
3940 * gdb.dwarf2/index-cache.exp: New file.
3941 * gdb.dwarf2/index-cache.c: New file.
3942 * gdb.base/maint.exp: Check if we are using the index cache.
3943
96d68bd4
RO
39442018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3945
3946 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3947 MAKEFLAGS.
3948
5a699617
RO
39492018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3950
3951 * dg-extract-results.sh: Move to toplevel contrib.
3952 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3953 * Makefile.in (check-parallel-racy): Likewise.
3954
5bd18990
AB
39552018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3956
3957 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3958 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3959 tests if the target supports scheduler locking.
3960
3fbbcf47
TV
39612018-08-04 Tom de Vries <tdevries@suse.de>
3962
3963 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3964
3e1d3d8c
TT
39652018-08-02 Tom Tromey <tom@tromey.com>
3966
3967 PR symtab/16842.
3968 * gdb.cp/temargs.exp: Test "info address" of a template
3969 parameter.
3970
5abe0f0c
JV
39712018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3972
3973 * gdb.python/py-mi-var-info-path-expression.c: New file.
3974 * gdb.python/py-mi-var-info-path-expression.py: New file.
3975 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3976
fb66cde8
SDJ
39772018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3978
3979 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3980 error after "cannot resolve name" string.
3981
c708f4d2
AB
39822018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3983
3984 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3985 started.
3986 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3987
37cc0cae
TV
39882018-07-28 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3991
63b4ecf7
TV
39922018-07-26 Tom de Vries <tdevries@suse.de>
3993
3994 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3995
3c3bb058
AB
39962018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3997
3998 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3999 is visible.
4000
9e7f3bbb
TV
40012018-07-26 Tom de Vries <tdevries@suse.de>
4002
4003 PR breakpoints/23366
4004 * gdb.base/catch-follow-exec.c: New test.
4005 * gdb.base/catch-follow-exec.exp: New file.
4006
16f808ec
TV
40072018-07-25 Tom de Vries <tdevries@suse.de>
4008
4009 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4010 vla-optimized-out.c.
4011
d7154a8d
JV
40122018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4013
4014 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4015 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4016
232a0032
TV
40172018-07-20 Tom de Vries <tdevries@suse.de>
4018
4019 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4020 NOCLONE macro.
4021 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4022
fbb1d502
TV
40232018-07-19 Tom de Vries <tdevries@suse.de>
4024
4025 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4026 regular expression.
4027
42dc7699
TV
40282018-07-18 Tom de Vries <tdevries@suse.de>
4029
4030 * gdb.base/vla-optimized-out.c: New test.
4031 * gdb.base/vla-optimized-out.exp: New file.
4032
7f1f7e23
SDJ
40332018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4034
4035 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4036 message "No address associated with hostname" when gdbserver
4037 cannot resolve the hostname.
4038
5759ebb3
PW
40392018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4040
4041 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4042 Add some test prefixes to make tests unique.
4043
3606ccab
PW
40442018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4045
4046 * gdb.base/frameapply.c: New file.
4047 * gdb.base/frameapply.exp: New file.
4048
529c08b2
PW
40492018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4050
4051 * gdb.base/skip.exp: Update expected error message.
4052
c7ab0aef
SDJ
40532018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4054 Jan Kratochvil <jan.kratochvil@redhat.com>
4055 Paul Fertser <fercerpav@gmail.com>
4056 Tsutomu Seki <sekiriki@gmail.com>
4057
4058 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4059 parameter.
4060 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4061 by default.
4062 * boards/native-gdbserver.exp: Likewise.
4063 * gdb.server/run-without-local-binary.exp: Improve regexp used
4064 for detecting when a remote debugging connection succeeds.
4065 * gdb.server/server-connect.exp: New file.
4066 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4067 Do not prefix the port number with ":".
4068 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4069 support for detecting and using it. Add '$debughost_gdbserver'
4070 to the list of arguments used to start gdbserver. Handle case
4071 when gdbserver cannot resolve a network name.
4072
16ff70dd
SDJ
40732018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4074
4075 PR c++/23373
4076 * gdb.base/ptype-offsets.cc (struct static_member): New
4077 struct.
4078 (main) <stmember>: New variable.
4079 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4080 with a static member in it.
4081
3541979f
AB
40822018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4083
4084 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4085 watchpoints enabled and disabled.
4086
c8ad9b9a
AB
40872018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4088
4089 * gdb.base/examine-backward.exp: Still run tests around address
4090 0x0, even if address 0x0 is not readable. Update the pattern for
4091 matching address 0x0 in expected output.
4092
e0e5e971
AB
40932018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4094
4095 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4096 malloc/free.
4097
1ea5da02
TV
40982018-07-04 Tom de Vries <tdevries@suse.de>
4099
4100 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4101
471b9d15
MR
41022018-07-02 Maciej W. Rozycki <macro@mips.com>
4103
4104 PR tdep/8282
4105 * gdb.arch/mips-disassembler-options.exp: New test.
4106 * gdb.arch/mips-disassembler-options.s: New test source.
4107
75acb486
PA
41082018-06-29 Pedro Alves <palves@redhat.com>
4109
4110 * gdb.threads/names.exp: Adjust expected "info threads" output.
4111
cd2bb709
PA
41122018-06-29 Pedro Alves <palves@redhat.com>
4113
4114 * gdb.opt/inline-break.exp (line number, address): Add "info
4115 break" tests.
4116
991ff292
PA
41172018-06-29 Pedro Alves <palves@redhat.com>
4118
4119 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4120 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4121 number and address and running to them.
4122
356819b6 41232018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4124
4125 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4126
2512d7ef
JK
41272018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4128
4129 * lib/compiler.c: Remove executable permission flag.
4130
be1b6474
RB
41312018-06-28 Richard Bunt <richard.bunt@arm.com>
4132
4133 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4134 code.
4135 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4136
291f9a96
PT
41372018-06-28 Petr Tesarik <ptesarik@suse.cz>
4138
4139 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4140
ed6dfe51
PT
41412018-06-28 Petr Tesarik <ptesarik@suse.cz>
4142
4143 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4144 address argument is omitted.
4145
d4d429d5
PT
41462018-06-28 Petr Tesarik <ptesarik@suse.cz>
4147
4148 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4149
7ab6656f
OJ
41502018-06-27 Omair Javaid <omair.javaid@linaro.org>
4151
4152 PR gdb/21695
4153 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4154 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4155
a33ccfc7
TT
41562018-06-26 Tom Tromey <tom@tromey.com>
4157
4158 PR rust/22574:
4159 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4160 * gdb.rust/simple.rs (struct SimpleLayout): New.
4161
6d72d289
SM
41622018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4163
4164 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4165 "info registers" output.
4166
8363f9d5
RB
41672018-06-21 Richard Bunt <richard.bunt@arm.com>
4168
4169 * gdb.base/watchpoint-hw-attach.c: New test.
4170 * gdb.base/watchpoint-hw-attach.exp: New file.
4171
f00674fe
SM
41722018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4173
4174 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4175 through /bin/sh.
4176 * boards/dwarf4-gdb-index.exp: Likewise.
4177 * boards/fission-dwp.exp: Likewise.
4178
1d554008
UW
41792018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4180
4181 * gdb.base/float128.exp: Add comment and improved fail message
4182 to the failure case of "print large128" test.
4183
d0ac1c44
SM
41842018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 * configure.ac: Remove AC_PREREQ.
4187 * configure: Re-generate.
4188
61b04dd0
PA
41892018-06-19 Pedro Alves <palves@redhat.com>
4190
4191 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4192 (func_extern_caller): New.
4193 (main): Call func_extern_caller.
4194 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4195 logic change.
4196
f63b508a
SM
41972018-06-18 Weimin Pan <weimin.pan@oracle.com>
4198
4199 PR gdb/16841
4200 * gdb.cp/typedef-base.cc: New file.
4201 * gdb.cp/typedef-base.exp: New file.
4202
0fe3a558
TV
42032018-06-18 Tom de Vries <tdevries@suse.de>
4204
4205 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4206
7010835a
AB
42072018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4208 Richard Bunt <Richard.Bunt@arm.com>
4209
4210 * gdb.threads/attach-slow-waitpid.c: New file.
4211 * gdb.threads/attach-slow-waitpid.exp: New file.
4212 * gdb.threads/slow-waitpid.c: New file.
4213
14897d65
PA
42142018-06-14 Pedro Alves <palves@redhat.com>
4215
4216 * gdb.base/fork-running-state.c: Include <errno.h>.
4217 (exit_if_relative_exits): New.
4218 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4219 exits.
4220 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4221 child exits.
4222
5d9a0608
TV
42232018-06-14 Tom de Vries <tdevries@suse.de>
4224
4225 PR cli/22573
4226 * gdb.base/finish-pretty.c: New test.
4227 * gdb.base/finish-pretty.exp: New file.
4228
11ae5818
PA
42292018-06-14 Pedro Alves <palves@redhat.com>
4230
4231 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4232 gdb's expected startup output.
4233
1d39de44
PA
42342018-06-14 Pedro Alves <palves@redhat.com>
4235
4236 * lib/selftest-support.exp (selftest_setup): Remove inlined
4237 function handling.
4238
70ee0000
TV
42392018-06-14 Tom de Vries <tdevries@suse.de>
4240
4241 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4242 matching of breakpoint printing.
4243
11f4b608
TV
42442018-06-13 Tom de Vries <tdevries@suse.de>
4245
4246 PR testsuite/23269
4247 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4248 (fork_child): ... here, and ...
4249 (fork_parent): ... here.
4250
42512018-06-12 Tom de Vries <tdevries@suse.de>
4252
4253 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4254
9516f85a
AB
42552018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4256 Stephen Roberts <stephen.roberts@arm.com>
4257
4258 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4259 rewrite test to describe action performed, rather than possible
4260 failure.
4261
5045b3d7
GB
42622018-06-08 Gary Benson <gbenson@redhat.com>
4263
4264 * gdb.threads/check-libthread-db.exp: New file.
4265 * gdb.threads/check-libthread-db.c: Likewise.
4266
c61b06a1
TT
42672018-06-05 Tom Tromey <tom@tromey.com>
4268
4269 * gdb.base/default.exp: Update expected "show version" output.
4270
eb6af809
TT
42712018-06-05 Tom Tromey <tom@tromey.com>
4272
4273 PR cli/12326:
4274 * gdb.cp/static-print-quit.exp: Update.
4275 * lib/gdb.exp (pagination_prompt): Update.
4276 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4277 * gdb.python/python.exp: Update.
4278
178d6a63
JB
42792018-06-04 Joel Brobecker <brobecker@adacore.com>
4280
4281 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4282
8e817061
JB
42832018-06-01 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.ada/bp_fun_addr: New testcase.
4286
e86ca25f
TT
42872018-06-01 Tom Tromey <tom@tromey.com>
4288
4289 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4290 results.
4291 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4292 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4293 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4294 * gdb.base/maint.exp (maint_pass_if): Update.
4295
4b2dfa9d
MR
42962018-05-31 Maciej W. Rozycki <macro@mips.com>
4297
4298 * gdb.base/endian.exp: New test.
4299 * gdb.base/endian.c: New test source.
4300
45f25d6c
AB
43012018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4302
4303 PR gdb/23203
4304 * gdb.base/bt-selected-frame.c: New file.
4305 * gdb.base/bt-selected-frame.exp: New file.
4306 * lib/gdb.exp (get_current_frame_number): New function.
4307
d9f6d7f8
MR
43082018-05-24 Maciej W. Rozycki <macro@mips.com>
4309 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.threads/tls-core.c: Include <stdlib.h>
4312 (thread_proc): Call `abort'.
4313 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4314 (tls_core_test): New procedure, bits factored out from ...
4315 (top level): ... here. Test both native cores and gcore cores.
4316
ff1cf532
TT
43172018-05-23 Tom Tromey <tom@tromey.com>
4318
4319 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4320
b98664d3
TT
43212018-05-23 Tom Tromey <tom@tromey.com>
4322
4323 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4324 symfile_complaints.
4325 (test_short_complaints): Likewise.
4326 (test_empty_complaints): Likewise.
4327 (test_initial_complaints): Update.
4328
4e9668d0
TT
43292018-05-23 Tom Tromey <tom@tromey.com>
4330
4331 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4332
43ba33c7
TT
43332018-05-23 Tom Tromey <tom@tromey.com>
4334
4335 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4336 (test_short_complaints): Update.
4337
035522c0
PA
43382018-05-22 Pedro Alves <palves@redhat.com>
4339
4340 * gdb.base/remote.exp: Only gdb_start after compiling the
4341 testcase. Issue "disconnect" before testing "set remote" command
4342 defaults. Issue clean_restart before running to main.
4343
cc0be08f
PA
43442018-05-22 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.base/remote.exp: Adjust expected output of "show remote
4347 memory-write-packet-size". Add tests for "set remote
4348 memory-write-packet-size 0" and "set remote
4349 memory-write-packet-size fixed/limit".
4350
b1b60145
PA
43512018-05-22 Pedro Alves <palves@redhat.com>
4352
4353 PR gdb/22973
4354 * gdb.base/utf8-identifiers.c: New file.
4355 * gdb.base/utf8-identifiers.exp: New file.
4356
0ec848ad
PFC
43572018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4358
4359 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4360
2c3305f6
PFC
43612018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4362
4363 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4364
ce1e8424
TT
43652018-05-18 Tom Tromey <tom@tromey.com>
4366
4367 * gdb.base/ptype-offsets.exp: Update.
4368
ddfe970e
KS
43692018-05-17 Keith Seitz <keiths@redhat.com>
4370
4371 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4372 in expected breakpoint stop locations.
4373 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4374 move to proper scope to test variable values.
4375 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4376 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4377 New functions.
4378 (main): Call not_inline_func3.
4379 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4380 inline_func1, inline_func2, and inline_func3. Test that when each
4381 breakpoint is hit, GDB properly reports both the stop location
4382 and the backtrace. Repeat tests for temporary breakpoints.
4383
0726fcc6
MR
43842018-05-15 Maciej W. Rozycki <macro@mips.com>
4385
4386 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4387 rather then trying to access it in determining whether the PID
4388 of `gdbserver' could have been retrieved.
4389
8ee22052
AB
43902018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4391
4392 * gdb.arch/amd64-init-x87-values.S: New file.
4393 * gdb.arch/amd64-init-x87-values.exp: New file.
4394
7785df48
JK
43952018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4396
4397 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4398
56bcdbea
TT
43992018-05-04 Tom Tromey <tom@tromey.com>
4400
4401 PR python/22730:
4402 * gdb.python/python.exp: Test multi-line execute.
4403
a913fffb
TT
44042018-05-04 Tom Tromey <tom@tromey.com>
4405
4406 PR python/22731:
4407 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4408
7a2c85f2
TT
44092018-05-04 Tom Tromey <tom@tromey.com>
4410
4411 PR gdb/11750:
4412 * gdb.base/define.exp: Test defining a user command inside a user
4413 command.
4414 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4415
a3b60e45
JK
44162018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4417 Pedro Alves <palves@redhat.com>
4418
4419 PR breakpoints/19806 and support for PR external/20207.
4420 * gdb.base/watchpoint-unaligned.c: New file.
4421 * gdb.base/watchpoint-unaligned.exp: New file.
4422
45fe4a03
AB
44232018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4424
4425 * gdb.base/maint.exp: Make test names unique, use
4426 test_prefix_command_help to test 'help maint info', and remove
4427 repeated test of 'help maint'.
4428
9be2ae8f
TT
44292018-05-04 Tom Tromey <tom@tromey.com>
4430
4431 PR gdb/22619:
4432 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4433 behavior.
4434
11859c31
AB
44352018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4436
4437 * gdb.base/maint.exp: Process output from 'maint print registers'
4438 line at a time.
4439
089a9490
AB
44402018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4441
4442 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4443 timeout.
4444
9b0797e2
AB
44452018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4446
4447 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4448 filter pattern.
4449
f6ac5f3d
PA
44502018-05-02 Pedro Alves <palves@redhat.com>
4451
4452 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4453 to_log_command renames.
4454 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4455
77d3c63b
TT
44562018-05-02 Tom Tromey <tom@tromey.com>
4457
4458 * gdb.python/py-parameter.exp: Set test message.
4459
0489430a
TT
44602018-05-02 Tom Tromey <tom@tromey.com>
4461
4462 PR python/20084:
4463 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4464 PARAM_ZUINTEGER_UNLIMITED tests.
4465
1632f8ba
DR
44662018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4467
4468 PR rust/23124
4469 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4470 when casting.
4471
6d7bb824
TT
44722018-04-30 Tom Tromey <tom@tromey.com>
4473
4474 * gdb.python/py-type.exp: Check align attribute.
4475 * gdb.python/py-type.c: New "aligncheck" global.
4476
007e1530
TT
44772018-04-30 Tom Tromey <tom@tromey.com>
4478
4479 PR exp/17095:
4480 * gdb.dwarf2/dw2-align.exp: New file.
4481 * gdb.cp/align.exp: New file.
4482 * gdb.base/align.exp: New file.
4483 * lib/gdb.exp (gdb_int128_helper): New proc.
4484 (has_int128_c, has_int128_cxx): New caching procs.
4485
6873858b
TT
44862018-04-27 Tom Tromey <tom@tromey.com>
4487
4488 PR rust/22545:
4489 * gdb.rust/simple.exp: Add inclusive range tests.
4490
79188d8d
PA
44912018-04-26 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4494 ifunc breakpoint locations correctly of ifunc breakpoints set
4495 while the program resolves the ifunc.
4496
c7075ad5
PA
44972018-04-26 Pedro Alves <palves@redhat.com>
4498
4499 * gdb.base/gnu-ifunc-final.c: New file.
4500 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4501 * gdb.base/gnu-ifunc.exp (executable): Delete.
4502 (staticexecutable): Adjust.
4503 (lib_opts, exec_opts): Delete.
4504 (make_binsuffix, build, set-break): New procedures.
4505 (misc_tests): New, with tests factored out from the top level.
4506 (top level): Test different combinations of ifunc resolver name,
4507 resolver with and with debug info, and ifunc target with and
4508 without debug info. Wrap static tests with with_target_prefix.
4509
8388016d
PA
45102018-04-26 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4513 return type" warnings.
4514
249b5733
PA
45152018-04-25 Pedro Alves <palves@redhat.com>
4516
4517 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4518 killed".
4519 * gdb.base/kill-after-signal.exp: Likewise.
4520 * gdb.threads/kill.exp: Likewise.
4521
f67c0c91
SDJ
45222018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4523 Sergio Durigan Junior <sergiodj@redhat.com>
4524 Pedro Alves <palves@redhat.com>
4525
4526 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4527 regexps to expect for '[Inferior ... detached]' as well.
4528 * gdb.base/attach.exp: Likewise.
4529 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4530 "gdb_continue_to_end".
4531 (test_catch_syscall_with_wrong_args): Likewise.
4532 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4533 ']'. Don't set 'verbose' on.
4534 * gdb.base/foll-vfork.exp: Likewise.
4535 * gdb.base/fork-print-inferior-events.c: New file.
4536 * gdb.base/fork-print-inferior-events.exp: New file.
4537 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4538 '[Inferior ... has been killed]' message.
4539 * gdb.base/kill-after-signal.exp: Likewise.
4540 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4541 detach message.
4542 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4543 message.
4544 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4545 regexps to expect for '[Inferior ... detached]' as well.
4546 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4547
0a8ddac4
SM
45482018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4549
4550 PR gdb/23104
4551 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4552
701adfb0
PA
45532018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4554
4555 PR gdb/23095
4556 * gdb.base/break-probes.exp: Pass shlib_load to
4557 prepare_for_testing. Set normal_bp to r_debug_state if target is
4558 bsd.
4559
d27d16bf
RB
45602018-04-19 Richard Bunt <richard.bunt@arm.com>
4561
4562 * gdb.threads/multiple-successive-infcall.c: New test.
4563 * gdb.threads/multiple-successive-infcall.exp: New file.
4564
a037790e
TT
45652018-04-17 Tom Tromey <tom@tromey.com>
4566
4567 * gdb.rust/simple.rs (Union): New type.
4568 (main): New local "u".
4569 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4570
e3a91079
AA
45712018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4572
4573 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4574 number information in output of "whereis" command.
4575 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4576
b744723f
AA
45772018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4578
4579 * gdb.ada/info_types.exp: Adjust expected output to the line
4580 numbers now printed by "info var/func/type".
4581 * gdb.base/completion.exp: Likewise.
4582 * gdb.base/included.exp: Likewise.
4583 * gdb.cp/cp-relocate.exp: Likewise.
4584 * gdb.cp/cplusfuncs.exp: Likewise.
4585 * gdb.cp/namespace.exp: Likewise.
4586 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4587
4a4495d6
MM
45882018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4589
4590 * gdb.btrace/cpu.exp: New.
4591
1d509aa6
MM
45922018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4593
4594 * gdb.base/step-indirect-call-thunk.exp: New.
4595 * gdb.base/step-indirect-call-thunk.c: New.
4596 * gdb.reverse/step-indirect-call-thunk.exp: New.
4597 * gdb.reverse/step-indirect-call-thunk.c: New.
4598
6295b6da
SM
45992018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4600
4601 * gdb.base/pie-fork.c: New file.
4602 * gdb.base/pie-fork.exp: New file.
4603
50146e70
TT
46042018-04-11 Tom Tromey <tom@tromey.com>
4605
4606 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4607
f50d8a2e
PA
46082018-04-10 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4611 exits. Instead loop running forever.
4612 (fork_parent): Run forever too.
4613
a0be7a36
SM
46142018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4615
4616 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4617 mi_continue_to_line.
4618 * gdb.mi/mi-stack.c (callee4): Add comment.
4619
9b73db36
SM
46202018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4621
4622 * gdb.mi/mi-stack.exp: Fix indentation.
4623
c912f608
SM
46242018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4625
4626 PR gdb/22979
4627 * gdb.arch/amd64-osabi.exp: New file.
4628
26540402
SM
46292018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4630
4631 PR gdb/22980
4632 * gdb.base/osabi.exp: New file.
4633
121ad66c 46342018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4635
4636 * gdb.cp/static-typedef-print.exp: New file.
4637 * gdb.cp/static-typedef-print.cc: New file.
4638
3fcded8f
JB
46392018-03-27 Joel Brobecker <brobecker@adacore.com>
4640
4641 * gdb.ada/varsize_limit: New testcase.
4642
59cc4834
JB
46432018-03-27 Joel Brobecker <brobecker@adacore.com>
4644
4645 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4646
4647 * gdb.ada/notcplusplus: New testcase.
4648
4649 * gdb.base/c-linkage-name.c: New file.
4650 * gdb.base/c-linkage-name.exp: New testcase.
4651
4ca59a9f
TT
46522018-03-26 Tom Tromey <tom@tromey.com>
4653
4654 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4655 * gdb.python/py-framefilter.py (name_error): New global.
4656 (ErrorInName.function): Use name_error.
4657
978d6c75
TT
46582018-03-26 Tom Tromey <tom@tromey.com>
4659
4660 PR backtrace/15582:
4661 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4662
b7fee5a3
KS
46632018-03-23 Keith Seitz <keiths@redhat.com>
4664
4665 PR c++/22968
4666 * gdb.cp/subtypes.exp: New file.
4667 * gdb.cp/subtypes.h: New file.
4668 * gdb.cp/subtypes.cc: New file.
4669 * gdb.cp/subtypes-2.cc: New file.
4670
376be529
AB
46712018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4672
4673 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4674 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4675 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4676 -nostartfiles when compiling the test. Confirm that all registers
4677 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4678
066cfa98
AB
46792018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4680
4681 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4682 option, syntax was wrong anyway.
4683 * gdb.arch/arm-disp-step.exp: Likewise.
4684 * gdb.arch/sparc64-regs.exp: Likewise.
4685 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4686 option, syntax was wrong anyway, switch to use
4687 prepare_for_testing.
4688 * gdb.arch/i386-disp-step.exp: Likewise.
4689
079670b9
AA
46902018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4691
4692 * gdb.ada/exec_changed.exp: Replace "target_info exists
4693 use_gdb_stub" by "use_gdb_stub".
4694 * gdb.ada/start.exp: Likewise.
4695 * gdb.base/async-shell.exp: Likewise.
4696 * gdb.base/attach-pie-misread.exp: Likewise.
4697 * gdb.base/attach-wait-input.exp: Likewise.
4698 * gdb.base/break-entry.exp: Likewise.
4699 * gdb.base/break-interp.exp: Likewise.
4700 * gdb.base/dprintf-detach.exp: Likewise.
4701 * gdb.base/nostdlib.exp: Likewise.
4702 * gdb.base/solib-nodir.exp: Likewise.
4703 * gdb.base/statistics.exp: Likewise.
4704 * gdb.base/testenv.exp: Likewise.
4705 * gdb.mi/mi-exec-run.exp: Likewise.
4706 * gdb.mi/mi-start.exp: Likewise.
4707 * gdb.multi/dummy-frame-restore.exp: Likewise.
4708 * gdb.multi/multi-arch-exec.exp: Likewise.
4709 * gdb.multi/multi-arch.exp: Likewise.
4710 * gdb.multi/tids.exp: Likewise.
4711 * gdb.multi/watchpoint-multi.exp: Likewise.
4712 * gdb.python/py-events.exp: Likewise.
4713 * gdb.threads/attach-into-signal.exp: Likewise.
4714 * gdb.threads/attach-stopped.exp: Likewise.
4715 * gdb.threads/threadapply.exp: Likewise.
4716 * lib/selftest-support.exp: Likewise.
4717
26d6cec4
AA
47182018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4719
4720 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4721
4ee89e90
SR
47222018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4723
4724 * gdb.perf/template-breakpoints.cc: New file.
4725 * gdb.perf/template-breakpoints.exp: New file.
4726 * gdb.perf/template-breakpoints.py: New file.
4727
92630041
TT
47282018-03-19 Tom Tromey <tom@tromey.com>
4729
4730 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4731 y0.
4732 * gdb.rust/simple.exp: Test bare identifier form of struct
4733 initializer.
4734
76727919
TT
47352018-03-19 Tom Tromey <tom@tromey.com>
4736
4737 * gdb.gdb/observer.exp: Remove.
4738
194ed413
AA
47392018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4740
4741 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4742 "qualified" option when setting breakpoints.
4743 * gdb.trace/backtrace.exp: Likewise.
4744 * gdb.trace/circ.exp: Likewise.
4745 * gdb.trace/collection.exp: Likewise.
4746 * gdb.trace/disconnected-tracing.exp: Likewise.
4747 * gdb.trace/ftrace-lock.exp: Likewise.
4748 * gdb.trace/ftrace.exp: Likewise.
4749 * gdb.trace/infotrace.exp: Likewise.
4750 * gdb.trace/packetlen.exp: Likewise.
4751 * gdb.trace/passc-dyn.exp: Likewise.
4752 * gdb.trace/qtro.exp: Likewise.
4753 * gdb.trace/read-memory.exp: Likewise.
4754 * gdb.trace/report.exp: Likewise.
4755 * gdb.trace/signal.exp: Likewise.
4756 * gdb.trace/status-stop.exp: Likewise.
4757 * gdb.trace/strace.exp: Likewise.
4758 * gdb.trace/tfind.exp: Likewise.
4759 * gdb.trace/trace-break.exp: Likewise.
4760 * gdb.trace/trace-condition.exp: Likewise.
4761 * gdb.trace/trace-mt.exp: Likewise.
4762 * gdb.trace/tstatus.exp: Likewise.
4763 * gdb.trace/tsv.exp: Likewise.
4764 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4765 * gdb.trace/unavailable.exp: Likewise.
4766 * gdb.trace/while-dyn.exp: Likewise.
4767
8b067d2c
AA
47682018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4769
4770 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4771 that libinproctrace is copied to the target.
4772
3ae9ce5d
TT
47732018-03-14 Tom Tromey <tom@tromey.com>
4774
4775 PR cli/14977:
4776 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4777 a null pointer.
4778 * gdb.base/wchar.exp: Likewise.
4779
b8c2339b
TT
47802018-03-14 Tom Tromey <tom@tromey.com>
4781
4782 PR cli/19918:
4783 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4784 flag.
4785
4872dc46
SM
47862018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4787
4788 PR gdb/22841
4789 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4790 "target" to remote_exec.
4791
e4fe3756
SM
47922018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4793
4794 PR gdb/22841
4795 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4796 ${board}_upload): Remove.
4797
e95a97d4
AA
47982018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4799
4800 * gdb.cp/watch-cp.cc: New test.
4801 * gdb.cp/watch-cp.exp: New file.
4802
dbbb1059
AB
48032018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4804
4805 * gdb.base/infcall-nested-structs.exp: New file.
4806 * gdb.base/infcall-nested-structs.c: New file.
4807 * gdb.base/float.exp: Add riscv support.
4808
ecc054c0
TP
48092018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4810
4811 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4812 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4813
25e3c82c
SDJ
48142018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4815
4816 * gdb.server/abspath.exp: New file.
4817 * lib/gdb.exp (with_cwd): New procedure.
4818
3083294d
SM
48192018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4820
4821 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4822 use it.
4823 (gdb_is_target_remote_prompt): New proc.
4824 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4825 (gdb_is_target_native): Pass prompt parameter to
4826 gdb_is_target_1.
4827
3275ef47
SM
48282018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4829
4830 * gdb.base/load-command.c: New file.
4831 * gdb.base/load-command.exp: New file.
4832 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4833 (gdb_is_target_1): ...this, and generalize for other targets
4834 than just remote.
4835 (gdb_is_target_remote): Use gdb_is_target_1.
4836 (gdb_is_target_native): use gdb_is_target_1.
4837
6893c19a
TT
48382018-02-26 Tom Tromey <tom@tromey.com>
4839
4840 PR python/16497:
4841 * gdb.python/py-framefilter.exp: Update test.
4842
2ddeaf8a
TT
48432018-02-26 Tom Tromey <tom@tromey.com>
4844
4845 * gdb.dwarf2/variant.c: New file.
4846 * gdb.dwarf2/variant.exp: New file.
4847
c9317f21
TT
48482018-02-26 Tom Tromey <tom@tromey.com>
4849
4850 * gdb.rust/simple.exp: Accept more possible results in enum test.
4851
6f6d0c26
SM
48522018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4853
4854 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4855 parentheses.
4856
11b03145
MR
48572018-02-23 Maciej W. Rozycki <macro@mips.com>
4858
4859 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4860 name of a variable: $actual_linejj -> $actual_line.
4861
54a27fe5
JB
48622018-02-21 John Baldwin <jhb@FreeBSD.org>
4863
4864 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4865
de65820c
MM
48662018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4867
4868 * gdb.btrace/buffer-size.exp: Do not force BTS.
4869
980548fd
PA
48702018-02-14 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4873 getting a "Quit".
4874
c4e12631
MM
48752018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4876
4877 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4878 Fix test name.
4879
c2e0e465
SM
48802018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4881
4882 * gdb.cp/m-static.exp: Check type of optimized out static
4883 member.
4884
f7216783
AB
48852018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4886
4887 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4888 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4889
0625771b
LS
48902018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4891 Leszek Swirski <leszeks@google.com>
4892
4893 * gdb.python/py-prettyprint.c
4894 (struct to_string_returns_value_inner,
4895 struct to_string_returns_value_wrapper): New.
4896 (main): Add tsrvw variable.
4897 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4898 ToStringReturnsValueWrapper): New classes.
4899 (register_pretty_printers): Register new pretty-printers.
4900 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4901 recursive pretty printer.
4902 * gdb.python/py-mi.exp: Likewise.
4903
59498c30
LS
49042018-02-01 Leszek Swirski <leszeks@google.com>
4905
4906 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4907 functions with the same name as an include file are parsed
4908 correctly.
4909
d4d38844
YQ
49102018-02-01 Yao Qi <yao.qi@linaro.org>
4911
4912 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4913 "\[^\r\n\]*".
4914
07e5f5cf
NP
49152018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4916
4917 * gdb.arch/powerpc-prologue-frame.s: New file.
4918 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4919 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4920
929b5ad4
JB
49212018-01-31 Joel Brobecker <brobecker@adacore.com>
4922
4923 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4924
e671cd59
PA
49252018-01-30 Pedro Alves <palves@redhat.com>
4926
4927 PR gdb/13211
4928 * gdb.base/interrupt-daemon.c: New.
4929 * gdb.base/interrupt-daemon.exp: New.
4930 * gdb.multi/multi-term-settings.c: New.
4931 * gdb.multi/multi-term-settings.exp: New.
4932
fc413dc4
JB
49332018-01-30 Joel Brobecker <brobecker@adacore.com>
4934
4935 * gdb.base/break.exp: Save the location where the breakpoint
4936 on break.c:47 was actually inserted when debugging the version
4937 compiled at -O2 and use it in the expected output of the "info
4938 break" test performed soon after.
4939
5c319bb2
PA
49402018-01-22 Pedro Alves <palves@redhat.com>
4941 Sergio Durigan Junior <sergiodj@redhat.com>
4942
4943 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4944 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4945
a9e40818
JB
49462018-01-22 Joel Brobecker <brobecker@adacore.com>
4947
4948 * gdb.base/break-include.c, gdb.base/break-include.inc,
4949 gdb.base/break-include.exp: New files.
4950 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4951 line number now being the actual line number where the breakpoint
4952 was inserted.
4953 * gdb.mi/mi-break.exp: Likewise.
4954 * gdb.mi/mi-reverse.exp: Likewise.
4955 * gdb.mi/mi-simplerun.exp: Ditto.
4956
e707fc44
AB
49572018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4958
4959 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4960 varobj.
4961 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4962
ae451627
AB
49632018-01-21 Don Breazeal <donb@codesourcery.com>
4964 Andrew Burgess <andrew.burgess@embecosm.com>
4965
4966 * gdb.mi/basics.c: Add new global.
4967 * gdb.mi/mi-frame-regs.exp: New file.
4968 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4969 case.
4970
b1b189e0
AB
49712018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4972
4973 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4974 non-parameter, and on an unknown symbol.
4975
fcfcc376
TT
49762018-01-19 Tom Tromey <tom@tromey.com>
4977
4978 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4979 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4980
634c1c31
AA
49812018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4982
4983 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4984 setrlimit and chdir to int.
4985
d6ad07fd
AA
49862018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4987
4988 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4989 function.
4990 (my_tend): Likewise.
4991 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4992 rationale of avoiding FP- and vector instructions.
4993
adf8243b
RK
49942018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4995
4996 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4997 "info reg" with "\[ \t\]*".
4998 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4999 "\[ \t\]+".
5000 * gdb.arch/s390-multiarch.exp: Ditto.
5001 * gdb.base/pc-fp.exp: Ditto.
5002 * gdb.reverse/i386-precsave.exp: Ditto.
5003 * gdb.reverse/i386-reverse.exp: Ditto.
5004 * gdb.reverse/i387-env-reverse.exp: Ditto.
5005 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5006
dcc06925
AA
50072018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5008
5009 * lib/gdb.exp (gdb_compile): Re-enable use of
5010 universal_compile_options for languages other than Rust.
5011
25d4fd80
AA
50122018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5013
5014 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5015
ee7f689e 50162018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5017
5018 PR gdb/16577
5019 * gdb.base/solib-vanish.exp: New.
5020 * gdb.base/solib-vanish-main.c: New.
5021 * gdb.base/solib-vanish-lib1.c: New.
5022 * gdb.base/solib-vanish-lib2.c: New.
5023
d8447b6b
YQ
50242018-01-17 Yao Qi <yao.qi@linaro.org>
5025
5026 * gdb.compile/compile.exp: Match the address printed for
5027 frame in the output of command "bt".
5028
86d6a90c
TT
50292018-01-15 Tom Tromey <tom@tromey.com>
5030
5031 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5032 compute sp_reg.
5033
cbcdb1aa
AB
50342018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5035
5036 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5037 to prepare.
5038 (prepare): Return 0 on error, 1 on success.
5039
eea61984
PA
50402018-01-12 Pedro Alves <palves@redhat.com>
5041
5042 * gdb.base/continue-after-aborted-step-over.c: New.
5043 * gdb.base/continue-after-aborted-step-over.exp: New.
5044
6181e9c2
SM
50452018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5046
5047 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5048 options when not creating an executable.
5049
3cada740
PA
50502018-01-11 Pedro Alves <palves@redhat.com>
5051
5052 PR remote/22597
5053 * gdb.server/stop-reply-no-thread.c: New file.
5054 * gdb.server/stop-reply-no-thread.exp: New file.
5055
c63d3e8d
PA
50562018-01-10 Pedro Alves <palves@redhat.com>
5057
5058 PR gdb/22670
5059 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5060 functions too. Test setting breakpoints and printing C functions
5061 with no debug info too.
5062 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5063
d4c2a405
PA
50642018-01-10 Pedro Alves <palves@redhat.com>
5065
5066 PR gdb/22670
5067 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5068 a fail.
5069
8825213e
PA
50702018-01-10 Pedro Alves <palves@redhat.com>
5071
5072 PR gdb/22670
5073 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5074
605fd3c6
YQ
50752018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5076
5077 * gdb.server/unittest.exp: Match the output in non-development
5078 mode.
5079
1e5ded6c
YQ
50802018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5081
5082 * gdb.gdb/unittest.exp: Match output in non-development mode.
5083
30066b0b
JB
50842018-01-08 Joel Brobecker <brobecker@adacore.com>
5085
5086 * gdb.ada/access_tagged_param.exp: Relax expected output
5087 for value of "ObjL" in "continue" to pck.inspect breakpoint
5088 test.
5089
04bafb1e
XR
50902018-01-08 Joel Brobecker <brobecker@adacore.com>
5091
9f86398b
JB
5092 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5093 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5094
e379cee6
PA
50952018-01-05 Pedro Alves <palves@redhat.com>
5096
5097 PR gdb/18653
5098 * gdb.base/libsegfault.exp: New.
5099
de63c46b
PA
51002018-01-05 Joel Brobecker <brobecker@adacore.com>
5101
5102 PR gdb/22670
5103 * gdb.ada/access_tagged_param.exp: New file.
5104 * gdb.ada/access_tagged_param/foo.adb: New file.
5105
f98fc17b
PA
51062018-01-05 Pedro Alves <palves@redhat.com>
5107
5108 PR gdb/22670
5109 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5110 exercise lower case too, and to exercise both full matching and
5111 wild matching.
5112
342f8240
JB
51132018-01-05 Joel Brobecker <brobecker@adacore.com>
5114
5115 * gdb.ada/rename_subscript_param: New testcase.
5116
7150d33c
JG
51172018-01-05 Jerome Guitton <guitton@adacore.com>
5118
5119 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5120
cc0e770c
JB
51212018-01-05 Joel Brobecker <brobecker@adacore.com>
5122
5123 * gdb.ada/convvar_comp: New testcase.
5124
672a41aa 51252018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5126
5127 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5128 (My_Table): New global variable.
5129 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5130
7365ec2f
JB
51312018-01-04 Joel Brobecker <brobecker@adacore.com>
5132
5133 PR gdb/22670
5134 * gdb.ada/maint_with_ada: New testcase.
5135
289483b6
JB
51362018-01-04 Joel Brobecker <brobecker@adacore.com>
5137
5138 PR gdb/22670
5139 * gdb.ada/bp_c_mixed_case: New testcase.
5140
344420da
JB
51412018-01-04 Joel Brobecker <brobecker@adacore.com>
5142
5143 PR gdb/22670
5144 * gdb.ada/complete.exp: Add "complete break ada" test.
5145
66fc87a0
JB
51462018-01-04 Joel Brobecker <brobecker@adacore.com>
5147
5148 PR gdb/22670
5149 * gdb.ada/info_addr_mixed_case: New testcase.
5150
9f757bf7
XR
51512018-01-03 Xavier Roirand <roirand@adacore.com>
5152
5153 * gdb.ada/excep_handle.exp: New testcase.
5154 * gdb.ada/excep_handle/foo.adb: New file.
5155 * gdb.ada/excep_handle/pck.ads: New file.
5156
bd570f80
JB
51572018-01-03 Joel Brobecker <brobecker@adacore.com>
5158
5159 * gdb.base/step-line.c: Add extra empty line in copyright header.
5160 * gdb.base/step-line.inp: Likewise.
5161
9fe561ab
JB
51622018-01-02 Joel Brobecker <brobecker@adacore.com>
5163
5164 * gdb.ada/dyn_stride.exp: Add slice test.
5165
a405673c
JB
51662018-01-02 Joel Brobecker <brobecker@adacore.com>
5167
5168 * gdb.ada/dyn_stride: New testcase.
5169
cef0f868
SH
51702017-12-27 Stafford Horne <shorne@gmail.com>
5171
5172 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5173 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5174
b67d92b0
SH
51752017-12-27 Stafford Horne <shorne@gmail.com>
5176
5177 * gdb.base/reggroups.c: New file.
5178 * gdb.base/reggroups.exp: New file.
5179
eccab96d
JB
51802017-12-18 Joel Brobecker <brobecker@adacore.com>
5181
5182 * gdb.dwarf2/ada-valprint-error.c: New file.
5183 * gdb.dwarf2/ada-valprint-error.exp: New file.
5184
0e2da9f0
JB
51852017-12-18 Joel Brobecker <brobecker@adacore.com>
5186
5187 * gdb.ada/assign_arr: New testcase.
5188
cb923fcc
XR
51892017-12-18 Xavier Roirand <roirand@adacore.com>
5190
5191 * gdb.ada/funcall_ptr: New testcase.
5192
7c161838
SDJ
51932017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5194
5195 PR cli/16224
5196 * gdb.base/ptype-offsets.cc: New file.
5197 * gdb.base/ptype-offsets.exp: New file.
5198
1af17fd9
YQ
51992017-12-15 Yao Qi <yao.qi@linaro.org>
5200
5201 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5202 if XML is disabled.
5203
828d5846
XR
52042017-12-15 Xavier Roirand <roirand@adacore.com>
5205
5206 * gdb.ada/same_component_name: New testcase.
5207
79e8fcaa
JB
52082017-12-14 Joel Brobecker <brobecker@adacore.com>
5209
5210 * gdb.ada/str_binop_equal: New testcase.
5211
e05fa6f9
JB
52122017-12-14 Joel Brobecker <brobecker@adacore.com>
5213
5214 * gdb.ada/task_switch_in_core: New testcase.
5215
b89641ba
SM
52162017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5217
5218 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5219 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5220 call test_bkpt_qualified.
5221 (test_bkpt_qualified): New proc.
5222
6892d2e4
PA
52232017-12-13 Pedro Alves <palves@redhat.com>
5224
5225 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5226 Tighten regexp by matching with an anchor.
5227
a22ecf70
PA
52282017-12-13 Pedro Alves <palves@redhat.com>
5229
5230 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5231 ("expression with namespace"): New set of tests.
5232 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5233 (Nested::Test_NS::qux): New.
5234 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5235 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5236
9937536c
JB
52372017-12-13 Joel Brobecker <brobecker@adacore.com>
5238
5239 * gdb.base/server-del-break.c: New file.
5240 * gdb.base/server-del-break.exp: New file.
5241
fe49c6f5
SH
52422017-12-12 Stafford Horne <shorne@gmail.com>
5243
5244 * gdb.xml/tdesc-regs.exp: Add or1k support.
5245
c3d18620
SH
52462017-12-12 Stafford Horne <shorne@gmail.com>
5247
5248 * gdb.base/bp-permanent.c: Define nop of or1k.
5249
c5f9cfc8
JB
52502017-12-11 Joel Brobecker <brobecker@adacore.com>
5251
5252 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5253 output with components being reordered.
5254
a9c135fc
JB
52552017-12-11 Joel Brobecker <brobecker@adacore.com>
5256
5257 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5258 output with components being reordered.
5259
927aa2e7
JK
52602017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5261 Pedro Alves <palves@redhat.com>
5262
5263 * gdb.base/maint.exp (check for .gdb_index): Check also for
5264 .debug_names.
5265 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5266 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5267 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5268 (.gdb_index used after symbol reloading): Support also .debug_names.
5269 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5270
f17d9474
YQ
52712017-12-08 Yao Qi <yao.qi@linaro.org>
5272
5273 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5274 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5275
a0de8c21
YQ
52762017-12-08 Yao Qi <yao.qi@linaro.org>
5277
5278 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5279 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5280
a738ea1d
YQ
52812017-12-08 Yao Qi <yao.qi@linaro.org>
5282
5283 * gdb.arch/aarch64-tagged-pointer.c: New file.
5284 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5285
1cd9a73b
SDJ
52862017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5287
5288 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5289 "int".
5290
fa6eb693
KS
52912017-12-07 Keith Seitz <keiths@redhat.com>
5292
5293 PR breakpoints/22569
5294 * gdb.linespec/ls-errs.exp: Change expected result of "break
5295 -source this file has spaces.c -line 3".
5296 Check that an explicit source file followed by whitespace is
5297 identified as an invalid explicit location.
5298
883fd55a
KS
52992017-12-07 Keith Seitz <keiths@redhat.com>
5300
5301 * gdb.cp/nested-types.cc: New file.
5302 * gdb.cp/nested-types.exp: New file.
5303 * lib/cp-support.exp: Load data-structures.exp library.
5304 (debug_cp_test_ptype_class): New global.
5305 (cp_ptype_class_verbose, next_line): New procedures.
5306 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5307 Add and document new return value.
5308 Switch the list of lines to a queue.
5309 Add support for new `type' key for nested type definitions.
5310 Add debugging/troubleshooting messages.
5311 * lib/data-structures.exp: New file.
5312
ec72db3e
SM
53132017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5314
5315 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5316 with proc_with_prefix, don't use with_test_prefix.
5317
99598d71
TT
53182017-12-07 Tom Tromey <tom@tromey.com>
5319
5320 * gdb.base/break.exp: Add test for empty "commands".
5321
a8806230
YQ
53222017-12-07 Yao Qi <yao.qi@linaro.org>
5323
5324 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5325 malloc and catch syscall.
5326
824cc835
PM
53272017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5328
e79be6e5 5329 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5330 tests for explicit locations.
5331
7cc244de
PA
53322017-12-06 Pedro Alves <palves@redhat.com>
5333
5334 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5335 force-disabling XML descriptions.
5336
50a1fdd5
PA
53372017-12-04 Pedro Alves <palves@redhat.com>
5338
5339 PR gdb/22499
5340 * gdb.arch/amd64-disp-step-avx.S: New file.
5341 * gdb.arch/amd64-disp-step-avx.exp: New file.
5342
f0fb2488
PA
53432017-12-03 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5346 and <string.h>.
5347 (parent_function): Print distinct messages when waitpid fails, or
5348 the child exits with a signal, or the child exits for an unhandled
5349 reason.
5350 * gdb.threads/process-dies-while-detaching.exp
5351 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5352 it. Wait for both inferior output and GDB's prompt. Use an
5353 indirect spawn id list.
5354 (do_detach): New parameter 'child_exit'. Use it to compute
5355 expected inferior output.
5356 (test_detach, test_detach_watch, test_detach_killed_outside):
5357 Adjust to pass down the expected child exit kind.
5358
97cbe998
SDJ
53592017-12-01 Joel Brobecker <brobecker@adacore.com>
5360 Sergio Durigan Junior <sergiodj@redhat.com>
5361 Pedro Alves <palves@redhat.com>
5362
5363 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5364
40fc416f
SDJ
53652017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5366
5367 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5368 to 'symbol-file' and 'add-symbol-file' can be
5369 position-independent.
5370
1cc75e92
YQ
53712017-12-01 Yao Qi <yao.qi@linaro.org>
5372
5373 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5374 the URL in copyright header.
5375 * gdb.arch/aarch64-fp.exp: Likewise.
5376 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5377 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5378 * gdb.base/expand-psymtabs.exp: Likewise.
5379 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5380 * gdb.fortran/common-block.exp: Likewise.
5381 * gdb.fortran/common-block.f90: Likewise.
5382 * gdb.fortran/logical.exp: Likewise.
5383 * gdb.fortran/vla-datatypes.f90: Likewise.
5384 * gdb.fortran/vla-sub.f90: Likewise.
5385
875fb7a7
JB
53862017-11-30 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.ada/repeat_dyn: New testcase.
5389
6f14765f
UW
53902017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5391
5392 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5393 Update for changed thread numbering.
5394 * gdb.cell/bt.exp: Update for changed GDB output.
5395
f1af7b94
SM
53962017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5397
5398 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5399 setting isremote by hand.
5400 * boards/dwarf4-gdb-index.exp: Likewise.
5401 * boards/fission.exp: Likewise.
5402 * boards/stabs.exp: Likewise.
5403
e3919f3e
PA
54042017-11-30 Pedro Alves <palves@redhat.com>
5405
5406 * gdb.linespec/cpls-ops.exp
5407 (check_explicit_skips_function_argument): Extract the underlying
5408 type of size_t instead of hardcoding it.
5409
bd69330d
PA
54102017-11-29 Pedro Alves <palves@redhat.com>
5411
5412 PR c++/19436
5413 * gdb.linespec/cpls-abi-tag.cc: New file.
5414 * gdb.linespec/cpls-abi-tag.exp: New file.
5415
a20714ff
PA
54162017-11-29 Pedro Alves <palves@redhat.com>
5417
5418 * gdb.base/langs.exp: Use -qualified.
5419 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5420 it.
5421 * gdb.cp/namespace.exp: Use -qualified.
5422 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5423 (overload-3, template-overload, template-ret-type, const-overload)
5424 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5425 procedures.
5426 (test_driver): Call them.
5427 * gdb.cp/save-bp-qualified.cc: New.
5428 * gdb.cp/save-bp-qualified.exp: New.
5429 * gdb.linespec/explicit.exp: Test -qualified.
5430 * lib/completion-support.exp (completion::explicit_opts_list): Add
5431 "-qualified".
5432 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5433
f6f1d339
PM
54342017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5435
5436 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5437
02ca603a
TT
54382017-11-29 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.base/relocate.exp: Update invalid argument test.
5441 Add new tests for invalid arguments.
5442
ed6c0bfb
TP
54432017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5444
5445 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5446 Return 0 as a long.
5447 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5448
f106e10e
TP
54492017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5450
5451 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5452 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5453 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5454 func ().
5455 * gdb.cp/shadow.cc (B.func): Return 0.
5456
10329bb2
JB
54572017-11-27 Joel Brobecker <brobecker@adacore.com>
5458
5459 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5460 expected output in gdb_expect call to allow the exception
5461 message to be present as well. Fix syntax confusion to avoid
5462 TCL thinking that exception_name is an array.
5463
617cd4bc
UW
54642017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5465
5466 * gdb.arch/spu-info.c: Include <unistd.h>.
5467 (do_signal_test): Fix broken calls to write.
5468 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5469 Fix checks for empty mailboxes. Update signal tests for corrected
5470 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5471 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5472 * gdb.cell/arch.exp: Use standard_output_file.
5473 * gdb.cell/break.exp: Likewise.
5474 * gdb.cell/bt.exp: Likewise.
5475 * gdb.cell/core.exp: Likewise.
5476 * gdb.cell/dwarfaddr.exp: Likewise.
5477 * gdb.cell/ea-cache.exp: Likewise.
5478 * gdb.cell/ea-standalone.exp: Likewise.
5479 * gdb.cell/f-regs.exp: Likewise.
5480 * gdb.cell/fork.exp: Likewise.
5481 * gdb.cell/gcore.exp: Likewise.
5482 * gdb.cell/mem-access.exp: Likewise.
5483 * gdb.cell/ptype.exp: Likewise.
5484 * gdb.cell/registers.exp: Likewise.
5485 * gdb.cell/sizeof.exp: Likewise.
5486 * gdb.cell/solib-symbol.exp: Likewise.
5487 * gdb.cell/solib.exp: Likewise.
617cd4bc 5488
a81aaca0
PA
54892017-11-25 Pedro Alves <palves@redhat.com>
5490
5491 * gdb.base/complete-empty.exp: New file.
5492 * gdb.base/completion.exp: Adjust.
5493
6a3c6ee4
PA
54942017-11-25 Pedro Alves <palves@redhat.com>
5495
5496 * gdb.linespec/cpls-ops.cc: New file.
5497 * gdb.linespec/cpls-ops.exp: New file.
5498 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5499 factored out from ...
5500 (test_complete_prefix_range): ... this.
5501
8955eb2d
PA
55022017-11-24 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.linespec/cpcompletion.exp: New file.
5505 * gdb.linespec/cpls-hyphen.cc: New file.
5506 * gdb.linespec/cpls.cc: New file.
5507 * gdb.linespec/cpls2.cc: New file.
5508 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5509 test to use test_gdb_complete_unique. Add label completion,
5510 keyword completion and explicit location completion tests.
5511 * lib/completion-support.exp: New file.
5512
e547c119
JB
55132017-11-24 Joel Brobecker <brobecker@adacore.com>
5514
5515 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5516 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5517 when hitting an exception catchpoint.
5518
7c3c1aa8
YQ
55192017-11-22 Yao Qi <yao.qi@linaro.org>
5520
5521 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5522
41bd68f5
SM
55232017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5524
5525 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5526 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5527 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5528
1daad298
YQ
55292017-11-22 Yao Qi <yao.qi@linaro.org>
5530
5531 * gdb.base/info-os.exp: Pass pthreads.
5532 * gdb.multi/multi-attach.exp: Likewise.
5533
88465e87
YQ
55342017-11-22 Yao Qi <yao.qi@linaro.org>
5535
5536 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5537 compiler.
5538
dc196b23
YQ
55392017-11-22 Yao Qi <yao.qi@linaro.org>
5540
5541 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5542 * gdb.base/break-interp.exp: Likewise.
5543 * gdb.base/jit-attach-pie.exp: Likewise.
5544
2400729e
UW
55452017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5546
5547 * gdb.base/float128.c (large128): New variable.
5548 * gdb.base/float128.exp: Add test to print largest __float128 value.
5549
7a26362d
UW
55502017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5551
5552 * gdb.arch/vsx-regs.exp: Update register content checks.
5553
ed0f4273
UW
55542017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5555
5556 * gdb.arch/ppc-longdouble.exp: New file.
5557 * gdb.arch/ppc-longdouble.c: Likewise.
5558
a25d69c6
PA
55592017-11-21 Pedro Alves <palves@redhat.com>
5560
5561 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5562
73fcf641
PA
55632017-11-20 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5566 (long_double_typedef): New typedefs.
5567 Use DEF on double and long double.
5568 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5569 cases.
5570 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5571 and 'long_double_ptr_same_size' locals. Use them to decide
5572 whether cast from array/function to float is valid/invalid.
5573
71a3c369
TT
55742017-11-17 Tom Tromey <tom@tromey.com>
5575
5576 * gdb.rust/traits.rs: New file.
5577 * gdb.rust/traits.exp: New file.
5578
ced9779b
JB
55792017-11-17 Joel Brobecker <brobecker@adacore.com>
5580
5581 * gdb.ada/minsyms: New testcase.
5582
a0922d80
PA
55832017-11-16 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5586 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5587
ea04e54c
PA
55882017-11-16 Pedro Alves <palves@redhat.com>
5589
5590 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5591 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5592
e849ea89
PA
55932017-11-16 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.server/reconnect-ctrl-c.c: New file.
5596 * gdb.server/reconnect-ctrl-c.exp: New file.
5597
d8ae99a7
PM
55982017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5599
5600 * gdb.python/py-rbreak.exp: New file.
5601 * gdb.python/py-rbreak.c: New file.
5602 * gdb.python/py-rbreak-func2.c: New file.
5603
968a13f8
PA
56042017-11-16 Pedro Alves <palves@redhat.com>
5605
5606 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5607 pattern.
5608 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5609 GDB.
5610
71774bc9
SM
56112017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5612
5613 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5614 regex.
5615
ddbb44cf
SM
56162017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5617
5618 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5619 test names.
5620
584a564f
PA
56212017-11-09 Pedro Alves <palves@redhat.com>
5622
5623 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5624 factored out from ...
5625 (top level): ... here, and adjusted to avoid expecting beyond the
5626 prompt in a single gdb_test_multiple.
5627
5ed7a928
PA
56282017-11-09 Pedro Alves <palves@redhat.com>
5629
5630 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5631 output.
5632 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5633 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5634 * gdb.server/ext-run.exp ("kill" test): Likewise.
5635 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5636
a60e0738
PA
56372017-11-09 Pedro Alves <palves@redhat.com>
5638
5639 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5640 match till end of line.
5641
2c88253f
PA
56422017-11-09 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5645
c7a38517
PA
56462017-11-09 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5649 New procedures, factored out from ...
5650 (top level): ... here, and adjusted to avoid expecting beyond the
5651 prompt in one go.
5652
f29f4b6b
PA
56532017-11-09 Pedro Alves <palves@redhat.com>
5654
5655 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5656 output. Fix '?' match.
5657
286acbb5
JB
56582017-11-08 Joel Brobecker <brobecker@adacore.com>
5659
5660 * gdb.ada/scoped_watch: New testcase.
5661 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5662 which is actually correct.
5663 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5664 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5665
62d7ae92
PA
56662017-11-08 Pedro Alves <palves@redhat.com>
5667
5668 * gdb.gdb/complaints.exp (test_initial_complaints)
5669 (test_serial_complaints, test_short_complaints): Call
5670 complaint_internal instead of complaint.
5671
280ca31f
DT
56722017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5673
5674 * gdb.threads/tls-core.c: New file.
5675 * gdb.threads/tls-core.exp: Likewise.
5676
b5ec771e
PA
56772017-11-08 Pedro Alves <palves@redhat.com>
5678
5679 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5680 (p Exported_Capitalized): New test.
5681 (p exported_capitalized): New test.
5682
a02b41a7
PA
56832017-11-07 Pedro Alves <palves@redhat.com>
5684
5685 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5686
95e95a6d
PA
56872017-11-07 Pedro Alves <palves@redhat.com>
5688
5689 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5690 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5691 (disable_invalid, disable_inverted, disable_negative): New
5692 procedures.
5693 ("bad numbers"): New set of tests.
5694
cee62dbd
PA
56952017-11-07 Pedro Alves <palves@redhat.com>
5696
5697 * gdb.cp/ena-dis-br-range.exp: Add tests.
5698
cc638e86
PA
56992017-11-07 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5702
d0fe4701
XR
57032017-11-07 Xavier Roirand <roirand@adacore.com>
5704 Pedro Alves <palves@redhat.com>
5705
5706 * gdb.base/ena-dis-br.exp: Add reference to
5707 gdb.cp/ena-dis-br-range.exp.
5708 * gdb.cp/ena-dis-br-range.exp: New file.
5709 * gdb.cp/ena-dis-br-range.cc: New file.
5710
46f67f80
PA
57112017-11-06 Pedro Alves <palves@redhat.com>
5712
5713 * gdb.base/attach-non-pgrp-leader.c: New.
5714 * gdb.base/attach-non-pgrp-leader.exp: New.
5715
726e1356
PA
57162017-11-06 Pedro Alves <palves@redhat.com>
5717
5718 * configure.ac: No longer check for termio.h and sgtty.h.
5719 * configure: Regenerate.
5720 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5721 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5722 Remove termio and sgtty code.
5723
50ab6ace
YQ
57242017-11-03 Yao Qi <yao.qi@linaro.org>
5725
5726 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5727 in GDB is disabled.
5728
8e68731c
YQ
57292017-11-03 Yao Qi <yao.qi@linaro.org>
5730
5731 * gdb.python/py-thrhandle.exp: Skip it if python is not
5732 enabled.
5733
3a87ae65
SM
57342017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5735
5736 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5737 as a breakpoint command.
5738
484d8d36
MD
57392017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5740
5741 PR python/21213
5742 * gdb.python/py-infthread.exp: Test calling
5743 InferiorThread.inferior () multiple times in a row.
5744
4a27f119
KS
57452017-10-27 Keith Seitz <keiths@redhat.com>
5746
5747 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5748 Test "info break" for every inlined function breakpoint.
5749
bb11dd58
YQ
57502017-10-27 Yao Qi <yao.qi@linaro.org>
5751
5752 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5753
a43f3893
PF
57542017-10-26 Patrick Frants <osscontribute@gmail.com>
5755
5756 * gdb.cp/classes.exp (test_static_members): Test printing
5757 Outer::instance.
5758 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5759 (Inner::instance, Outer::instance): New.
5760
792ccf00
PA
57612017-10-24 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5764 extra console" test in two stages.
5765
eb2bfbad
PA
57662017-10-24 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5769
1f75a651
PA
57702017-10-24 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5773 loop.
5774
779990d9
PA
57752017-10-24 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5778 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5779
ad9b8f5d
PA
57802017-10-24 Pedro Alves <palves@redhat.com>
5781
5782 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5783 parameter and handle it. Don't output read value in test name.
5784
fee6da6e
PA
57852017-10-24 Pedro Alves <palves@redhat.com>
5786
5787 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5788 custom test name.
5789
10389c2c
PA
57902017-10-24 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5793 include the unstable output directory name in the test's name.
5794 (initial_setup_simple) <'set args'>: Use custom test name.
5795
a80e65a9
PA
57962017-10-24 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5799 with explicit test name.
5800
15763a09
PA
58012017-10-20 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5804 'wait -i'. Use gdb_assert and remote_close.
5805
49a4ce2e
AB
58062017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5807
5808 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5809 number from variable rather than hard-coded.
5810
a75868f5
PA
58112017-10-19 Pedro Alves <palves@redhat.com>
5812
5813 * gdb.base/long-inferior-output.c: New file.
5814 * gdb.base/long-inferior-output.exp: New file.
5815
c8ba13ad
KS
58162017-11-18 Keith Seitz <keiths@redhat.com>
5817
5818 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5819 method.
5820 (main): Call it.
5821 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5822 Add additional user-defined conversion operator tests.
5823
b27de576
PA
58242017-10-17 Pedro Alves <palves@redhat.com>
5825
5826 * boards/native-stdio-gdbserver.exp: Load "local-board".
5827
8484c955
PA
58282017-10-17 Pedro Alves <palves@redhat.com>
5829
5830 * gdb.base/quit-live.c: New file.
5831 * gdb.base/quit-live.exp: New file.
5832
83d5a34d
KS
58332017-10-16 Keith Seitz <keiths@redhat.com>
5834
5835 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5836 (class_with_protected_typedef, class_with_private_typedef)
5837 (struct_with_public_typedef, struct_with_protected_typedef)
5838 (struct_with_private_typedef): New classes/structs.
5839 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5840 typedefs and access specifiers.
5841
739b3f1d
PA
58422017-10-16 Pedro Alves <palves@redhat.com>
5843 Simon Marchi <simon.marchi@polymtl.ca>
5844
5845 * README (Local vs Remote vs Native): New section.
5846 * boards/local-board.exp: New file, with bits factored out from
5847 ...
5848 * boards/native-extended-gdbserver.exp: ... here. Load
5849 "local-board".
5850 * boards/native-gdbserver.exp: Load "local-board".
5851 (${board}_spawn, ${board}_exec): Delete.
5852 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5853 ...
5854 * boards/stdio-gdbserver-base.exp: ... this new file.
5855 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5856 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5857 procedure.
5858 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5859 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5860 stdio_gdbserver_command.
5861 (${board}_get_remote_address, ${board}_get_comm_port)
5862 (${board}_download, ${board}_upload): Delete.
5863 (get_target_remote_pipe_cmd): New.
5864
fe68b953
SM
58652017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5866
5867 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5868 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5869 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5870 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5871 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5872 remove with_test_prefix.
5873
300b6685
PA
58742017-10-13 Pedro Alves <palves@redhat.com>
5875
5876 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5877 * gdb.base/annota1.exp: Use it instead of is_remote.
5878 * gdb.base/annota3.exp: Use it instead of is_remote.
5879 * gdb.cp/annota2.exp: Use it instead of is_remote.
5880 * gdb.cp/annota3.exp: Use it instead of is_remote.
5881 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5882
50500caf
PA
58832017-10-13 Pedro Alves <palves@redhat.com>
5884
5885 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5886 (test_num_test_vars, run_and_count_vars, find_env)
5887 (test_set_unset_env, test_inherit_env_var): New procedures.
5888 (top level): Use them.
5889
dad0c6d2
PA
58902017-10-13 Pedro Alves <palves@redhat.com>
5891
5892 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5893 also skip on stub-like targets.
5894
8b0553c1
PA
58952017-10-13 Pedro Alves <palves@redhat.com>
5896
5897 PR gdb/22293
5898 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5899 (top level): Move some tests to ...
5900 (test_not_found): ... this new procedure.
5901 (top level): Call it.
5902
7594f623
PA
59032017-10-13 Pedro Alves <palves@redhat.com>
5904
5905 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5906 expect different "info terminal" output if testing with a
5907 non-native target.
5908
ebe3b402
PA
59092017-10-13 Pedro Alves <palves@redhat.com>
5910 Simon Marchi <simon.marchi@polymtl.ca>
5911
5912 PR python/12966
5913 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5914
42f1b161
PA
59152017-10-13 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5918 already.
5919
8d6ef72b
PA
59202017-10-13 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5923 is_remote.
5924
d7bcd5b8
PA
59252017-10-13 Pedro Alves <palves@redhat.com>
5926
5927 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5928 is_remote.
5929
df479dc6
PA
59302017-10-13 Pedro Alves <palves@redhat.com>
5931
5932 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5933 is set.
5934 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5935 instead of is_remote.
5936
23fb630a
PA
59372017-10-13 Pedro Alves <palves@redhat.com>
5938
5939 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5940 (top level): Add comment.
5941
cc77b1dc
PA
59422017-10-13 Pedro Alves <palves@redhat.com>
5943
5944 * gdb.base/remote.exp (top level): Fix comment typo and add
5945 missing return.
5946
27c9e813
PA
59472017-10-13 Pedro Alves <palves@redhat.com>
5948 Simon Marchi <simon.marchi@polymtl.ca>
5949
5950 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5951 calls and add comments. Skip test if use_gdb_stub is set.
5952 (top level): Use "set cwd" command instead of "cd" command.
5953
5e830d98
PA
59542017-10-13 Pedro Alves <palves@redhat.com>
5955
5956 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5957 is_remote target check.
5958
f5ca0032
PA
59592017-10-13 Pedro Alves <palves@redhat.com>
5960
5961 * gdb.base/scope.exp: Use build_executable + clean_restart +
5962 gdb_file_cmd instead of prepare_for_testing and no longer skip
5963 "before run" tests on is_remote target boards. Update comments.
5964 * boards/native-extended-gdbserver.exp
5965 (extended_gdbserver_load_last_file): New, factored out from ...
5966 (gdb_load): ... this. Move further below and add comment.
5967 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5968
8aed1c0d
PA
59692017-10-12 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.base/attach.exp: Remove references to gdb64.
5972 * gdb.base/dbx.exp: Remove references to gdb64.
5973
cfa34c87
SM
59742017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5975 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/label.exp: Remove is_remote target check.
5978
9192b7de
PA
59792017-10-12 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/auvx.exp (coredir): Update comment.
5982 (top level) <core_works>: Use "set cwd" command instead of "cd"
5983 command.
5984
6bf0052d
PA
59852017-10-12 Pedro Alves <palves@redhat.com>
5986 Simon Marchi <simon.marchi@polymtl.ca>
5987
5988 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5989 target boards.
5990
e48ef82d
PA
59912017-10-12 Pedro Alves <palves@redhat.com>
5992 Simon Marchi <simon.marchi@polymtl.ca>
5993
5994 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5995 Instead skip if there's any gdb_protocol set.
5996
8d7aea57
SM
59972017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5998 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6001
30440677
PA
60022017-10-12 Pedro Alves <palves@redhat.com>
6003 Simon Marchi <simon.marchi@polymtl.ca>
6004
6005 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6006 instead of on dejagnu remote boards.
6007
4e04f045 60082017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6009 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6010
6011 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6012 checks. Use build_executable + clean_restart instead of
6013 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6014 of enabling non-stop after starting gdb.
6015
871a186e
PA
60162017-10-12 Pedro Alves <palves@redhat.com>
6017
6018 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6019 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6020 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6021 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6022
56d704da
AK
60232017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6024
6025 * gdb.arch/arc-tdesc-cpu.exp: New file.
6026 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6027
2f20e312
SM
60282017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6029
6030 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6031
65630365
PA
60322017-10-10 Pedro Alves <palves@redhat.com>
6033
6034 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6035 expect CLI output.
6036
bf469271
PA
60372017-10-10 Pedro Alves <palves@redhat.com>
6038
6039 * lib/selftest-support.exp (selftest_setup): Update for
6040 captured_command_loop's prototype change.
6041
777a42f1
PA
60422017-10-09 Pedro Alves <palves@redhat.com>
6043
6044 Test both arch1=>arch2 and arch2=>arch1.
6045
6046 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6047 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6048 factored out to...
6049 (append_arch1_options, append_arch2_options, append_arch_options)
6050 (build_executables): New procedures.
6051 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6052 local.
6053 (top level): Add new 'first_arch' testing axis.
6054
cbd2b4e3
PA
60552017-10-09 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6058 (barrier): New.
6059 (thread_start, all_started): New functions.
6060 (main): Spawn new thread and wait until it is scheduled.
6061 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6062 option.
6063 (do_test): Add 'selected_thread' parameter. Run to all_started
6064 instead of main. Explicitly set the breakpoint at main. Switch
6065 to the SELECTED_THREAD thread.
6066 (top level): Test handling the exec event with either the main
6067 thread or the second thread selected.
6068
5c9e4427
PA
60692017-10-09 Pedro Alves <palves@redhat.com>
6070
6071 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6072 logic. Move STOP marker after the value checks.
6073 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6074 regexp.
6075
b3b7c423
SL
60762017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6077
6078 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6079
3b4b2f16
UW
60802017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6081
6082 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6083 integer-to-dfp conversion.
6084 * gdb.base/dfp-test.exp: Likewise.
6085
5cd63fda
PA
60862017-10-04 Pedro Alves <palves@redhat.com>
6087
6088 * gdb.multi/hangout.c: Include <unistd.h>.
6089 (hangout_loop): New function.
6090 (main): Call alarm. Call hangout_loop in a loop.
6091 * gdb.multi/hello.c: Include <unistd.h>.
6092 (hello_loop): New function.
6093 (main): Call alarm. Call hangout_loop in a loop.
6094 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6095 inferior with the other selected.
6096
4c71c105
SM
60972017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6098
6099 * gdb.mi/list-thread-groups-available.exp: New file.
6100 * gdb.mi/list-thread-groups-available.c: New file.
6101
bc3b087d
SDJ
61022017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6103
6104 * gdb.base/set-cwd.exp: Make it available on
6105 native-extended-gdbserver.
6106
d092c5a2
SDJ
61072017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6108
6109 * gdb.base/set-cwd.c: New file.
6110 * gdb.base/set-cwd.exp: Likewise.
6111
45320ffa
TT
61122017-10-02 Tom Tromey <tom@tromey.com>
6113
6114 PR rust/22236:
6115 * gdb.rust/simple.rs (main): New variable "fslice".
6116 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6117
b3e3859b
TT
61182017-10-02 Tom Tromey <tom@tromey.com>
6119
6120 * gdb.rust/simple.exp: Test ptype of a slice.
6121
01af5e0d
TT
61222017-10-02 Tom Tromey <tom@tromey.com>
6123
6124 * gdb.rust/simple.exp: Test index of slice.
6125
a9bbfbd8
TT
61262017-09-27 Tom Tromey <tom@tromey.com>
6127
6128 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6129
df8899e5
TP
61302017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6131 Pedro Alves <palves@redhat.com>
6132
6133 * gdb.base/compare-sections.exp (get value of read-only section): Read
6134 as unsigned value.
6135 (corrupt read-only section): Likewise and don't set written if patching
6136 failed.
6137
757bf54b
KB
61382017-09-21 Kevin Buettner <kevinb@redhat.com>
6139
6140 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6141 files.
6142
06871ae8
PA
61432017-09-20 Pedro Alves <palves@redhat.com>
6144
6145 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6146 symbol names in gdb's output.
6147 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6148
e5f25bc5
PA
61492017-09-20 Pedro Alves <palves@redhat.com>
6150
6151 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6152 Rename to ...
6153 (test_list_ambiguous_symbol): ... this and add a symbol name
6154 parameter. Adjust.
6155 (test_list_ambiguous_function): Reimplement on top of
6156 test_list_ambiguous_symbol and also test listing ambiguous
6157 variables.
6158 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6159 (ambiguous_fun): ... this.
6160 (ambiguous_var): New.
6161 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6162 (ambiguous_fun): ... this.
6163 (ambiguous_var): New.
6164
4e5a4f58
JB
61652017-09-19 John Baldwin <jhb@FreeBSD.org>
6166
6167 * gdb.base/starti.c: New file.
6168 * gdb.base/starti.exp: New file.
6169 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6170
26e53f3e
PA
61712017-09-14 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6174 (top level): Use it instead of runto.
6175
cb791d59
TT
61762017-09-11 Tom Tromey <tom@tromey.com>
6177
6178 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6179
7c96f8c1
TT
61802017-09-11 Tom Tromey <tom@tromey.com>
6181
6182 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6183 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6184
469412dd
CW
61852017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6186
6187 * gdb.fortran/printing-types.exp: New file.
6188 * gdb.fortran/printing-types.exp: New file.
6189
e0f86435
BH
61902017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6191
6192 * gdb.fortran/vla-ptype.exp: Fix typos.
6193 * gdb.fortran/vla-value.exp: Same.
6194
9e9af4be
BH
61952017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6196
6197 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6198 * gdb.mi/mi-var-child-f.exp: Likewise.
6199 * gdb.mi/mi-vla-fortran.exp: Likewise.
6200
a5ad232b 62012017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6202 Christoph Weinmann <christoph.t.weinmann@intel.com>
6203 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6204
6205 * gdb.fortran/ptr-indentation.f90: New file.
6206 * gdb.fortran/ptr-indentation.exp: New file.
6207
5aec60eb
TT
62082017-09-05 Tom Tromey <tom@tromey.com>
6209
6210 PR gdb/22010:
6211 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6212
8f8f8152
TP
62132017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6214
6215 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6216
fbd1b771
JK
62172017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6218
6219 * gdb.threads/tls-nodebug-pie.c: New file.
6220 * gdb.threads/tls-nodebug-pie.exp: New file.
6221
5eb5f850
TT
62222017-09-05 Tom Tromey <tom@tromey.com>
6223
6224 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6225 for rust.
6226
ae780a21
SM
62272017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6228
6229 * gdb.multi/multi-arch-exec.exp: Test with different
6230 "follow-exec-mode" settings.
6231 (do_test): New procedure.
6232
3693fdb3
PA
62332017-09-04 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.base/func-static.c (S::method const, S::method volatile)
6236 (S::method volatile const): New methods.
6237 (c_s, v_s, cv_s): New instances.
6238 (main): Call method() on them.
6239 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6240 (cannot_resolve): New procedure.
6241 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6242 print-quote-unquoted columns.
6243 (do_test): Test printing each scope too.
6244
e68cb8e0
PA
62452017-09-04 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.base/local-static.exp: Also test with
6248 class::method::variable wholly quoted.
6249 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6250
858be34c
PA
62512017-09-04 Pedro Alves <palves@redhat.com>
6252
6253 * gdb.base/local-static.c: New.
6254 * gdb.base/local-static.cc: New.
6255 * gdb.base/local-static.exp: New.
6256
46a4882b
PA
62572017-09-04 Pedro Alves <palves@redhat.com>
6258
6259 * gdb.asm/asm-source.exp: Add casts to int.
6260 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6261 (dataglobal64_1, dataglobal64_2): New globals.
6262 * gdb.base/nodebug.exp: Test different expressions involving the
6263 new globals, with print, whatis and ptype. Add casts to int.
6264 * gdb.base/solib-display.exp: Add casts to int.
6265 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6266 * gdb.cp/m-static.exp: Add cast to int.
6267 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6268 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6269 tls variable with no debug info without a cast. Test with a cast
6270 to int too.
6271 * gdb.trace/entry-values.exp: Add casts.
6272
2c5a2be1
PA
62732017-09-04 Pedro Alves <palves@redhat.com>
6274
6275 * gdb.base/nodebug.exp: Test that ptype's error about functions
6276 with unknown return type includes the function name too.
6277
7022349d
PA
62782017-09-04 Pedro Alves <palves@redhat.com>
6279
6280 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6281 return type of munmap in infcall.
6282 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6283 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6284 type of ftell in infcall.
6285 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6286 type of getpid in infcall.
6287 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6288 infcall.
6289 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6290 Bail on failure to extract the pid.
6291 * gdb.base/nodebug.c: #include <stdint.h>.
6292 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6293 New functions.
6294 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6295 Change expected output of print/whatis/ptype with functions with
6296 no debug info. Test all supported languages. Call
6297 test_call_promotion.
6298 * gdb.compile/compile.exp: Adjust expected output to expect
6299 warning.
6300 * gdb.threads/siginfo-threads.exp: Likewise.
6301
54990598
PA
63022017-09-04 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6305 "prototypes". Test calling float functions via prototyped and
6306 unprototyped function pointers.
6307 (perform_all_tests): New parameter "prototypes". Pass it down.
6308 (top level): Pass down "prototypes" parameter to
6309 perform_all_tests.
6310
34d16ea2
SM
63112017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6312
6313 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6314 Test with nested loops.
6315
9521ecda
SM
63162017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6317
6318 * gdb.base/commands.exp: Call the new procedures.
6319 (loop_break_test, loop_continue_test): New procedures.
6320
80a65e9b
SM
63212017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6322
6323 * gdb.base/commands.exp: Call new procedure.
6324 (define_if_without_arg_test): New procedure.
6325
e439fa14
PA
63262017-09-04 Pedro Alves <palves@redhat.com>
6327
6328 * gdb.base/list-ambiguous.exp: New file.
6329 * gdb.base/list-ambiguous0.c: New file.
6330 * gdb.base/list-ambiguous1.c: New file.
6331 * gdb.base/list.exp (test_list_range): Adjust expected output.
6332
0a2dde4a
SDJ
63332017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6334
6335 * gdb.base/share-env-with-gdbserver.c: New file.
6336 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6337
5e89eb3a
SM
63382017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6339
6340 * gdb.base/commands.exp (gdbvar_simple_if_test,
6341 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6342 progvar_simple_if_test, progvar_simple_while_test,
6343 progvar_complex_if_while_test, user_defined_command_test,
6344 user_defined_command_args_eval,
6345 user_defined_command_args_stack_test,
6346 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6347 temporary_breakpoint_commands,
6348 gdb_test_no_prompt, redefine_hook_test,
6349 redefine_backtrace_test): Remove "global gdb_prompt".
6350
fd437cbc
SM
63512017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6352
6353 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6354 New proc, call it from toplevel.
6355
87215ad1
SDJ
63562017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6357
6358 PR remote/21852
6359 * gdb.server/normal.c: New file, copied from gdb.base.
6360 * gdb.server/run-without-local-binary.exp: New file.
6361
58afddc6
WP
63622017-08-07 Weimin Pan <weimin.pan@oracle.com>
6363
6364 * gdb.arch/sparc64-adi.exp: New file.
6365 * gdb.arch/sparc64-adi.c: New file.
6366
5277199a
PA
63672017-08-22 Pedro Alves <palves@redhat.com>
6368
6369 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6370 (top level): Add "list all overloads" tests.
6371
14278e1f
TT
63722017-08-22 Tom Tromey <tom@tromey.com>
6373
6374 * gdb.gdb/xfullpath.exp: Remove.
6375
bf223d3e
PA
63762017-08-21 Pedro Alves <palves@redhat.com>
6377
6378 PR gdb/19487
6379 * gdb.base/symbol-alias.c: New.
6380 * gdb.base/symbol-alias2.c: New.
6381 * gdb.base/symbol-alias.exp: New.
6382
c973d0aa
PA
63832017-08-21 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/dfp-test.c
6386 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6387 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6388 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6389 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6390 * gdb.base/whatis-ptype-typedefs.c: New.
6391 * gdb.base/whatis-ptype-typedefs.exp: New.
6392 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6393 (an_int, an_int_type, an_int_type2): New globals.
6394 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6395 involving typedefs and cast expressions.
6396 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6397 (lookup_typedefs_function): New.
6398 (typedefs_pretty_printers_dict): New.
6399 (top level): Register lookup_typedefs_function in
6400 gdb.pretty_printers.
6401
6d580b63
YQ
64022017-08-18 Yao Qi <yao.qi@linaro.org>
6403
6404 * gdb.server/unittest.exp: New.
6405
206726fb
SDJ
64062017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6407
6408 PR gdb/21954
6409 * gdb.base/environ.exp: Add test to check if 'unset environment'
6410 works.
6411
bf0ec4c2
AA
64122017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6413
6414 * lib/gdb.exp (universal_compile_options): New caching proc.
6415 (gdb_compile): Suppress GCC's coloring of messages.
6416
d6382fff
TT
64172017-08-14 Tom Tromey <tom@tromey.com>
6418
6419 PR gdb/21675:
6420 * gdb.base/printcmds.exp (test_radices): New function.
6421 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6422 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6423 * lib/gdb.exp (get_integer_valueof): Use p/d.
6424
c2c2dd9f
SM
64252017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6426
6427 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6428 characters.
6429
fdffd6f4
TT
64302017-08-05 Tom Tromey <tom@tromey.com>
6431
6432 * gdb.rust/simple.exp: Allow String to appear in a different
6433 namespace.
6434
27d41eac
YQ
64352017-07-26 Yao Qi <yao.qi@linaro.org>
6436
6437 * gdb.gdb/unittest.exp: Invoke command
6438 "maintenance check xml-descriptions".
6439
031ed05d
AA
64402017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6441
6442 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6443 calling context.
6444 (hex128): Drop erroneous calculation of parameters.
6445
dcd27ddf
SM
64462017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6447
6448 * gdb.python/py-unwind.exp: Disable stack protection when
6449 building test file.
6450
47e77640
PA
64512017-07-20 Pedro Alves <palves@redhat.com>
6452
6453 * gdb.base/default.exp (set language): Adjust expected output.
6454
62d2a18a
PA
64552017-07-20 Pedro Alves <palves@redhat.com>
6456
6457 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6458 (test_minsym): ... this, and make static.
6459 (get_pck__foo__bar__minsym): Rename to ...
6460 (get_test_minsym): ... this.
6461 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6462 symbol names and comments.
6463 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6464 (get_test_minsym): ... this.
6465 (pck__foo__bar__minsym__2): Rename to ...
6466 (test_minsym): ... this.
6467 (main): Adjust.
6468
c45ec17c
PA
64692017-07-17 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/completion.exp: Adjust expected output.
6472 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6473 the completer works.
6474
c6756f62
PA
64752017-07-17 Pedro Alves <palves@redhat.com>
6476
6477 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6478
5bd68487
AB
64792017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6480
6481 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6482
8880f2a9
TT
64832017-07-14 Tom Tromey <tom@tromey.com>
6484
6485 PR rust/21764:
6486 * gdb.rust/simple.exp: Add tests.
6487
65547233
TT
64882017-07-14 Tom Tromey <tom@tromey.com>
6489
6490 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6491
8f14146e
PA
64922017-07-14 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.linespec/base/one/thefile.cc (z1): New function.
6495 * gdb.linespec/base/two/thefile.cc (z2): New function.
6496 * gdb.linespec/linespec.exp: Add tests.
6497
b4365d02
AB
64982017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6499
6500 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6501 to mi_create_breakpoint.
6502
5d2cbaa5
AB
65032017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6504
6505 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6506 mi_create_breakpoint.
6507
11cb5716
IB
65082017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6509
6510 * gdb.dlang/demangle.exp: Update for demangling changes.
6511
03278692
TT
65122017-07-09 Tom Tromey <tom@tromey.com>
6513
6514 * gdb.dwarf2/shortpiece.exp: New file.
6515
33c5cd75
DB
65162017-07-06 David Blaikie <dblaikie@gmail.com>
6517
6518 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6519 built from fissiont-multi-cu{1,2}.c.
6520 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6521 except putting 'main' and 'func' in separate CUs in the same DWO file.
6522 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6523 test.
6524 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6525 test.
6526
8455d262
PA
65272017-07-06 Pedro Alves <palves@redhat.com>
6528
6529 * gdb.python/py-unwind.exp: Test flushregs.
6530
dc4bde35
SDJ
65312017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6532
6533 PR cli/21688
6534 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6535 tests for alias commands and trailing whitespace.
6536
51ed89aa
SDJ
65372017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6538
6539 PR cli/21688
6540 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6541 procedure. Call it.
6542
eb17d413
PA
65432017-06-29 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.base/printcmds.exp: Add tests.
6546
41664b45
DG
65472017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6548
6549 PR gdb/21337
6550 * gdb.base/reread-readsym.exp: New file.
6551 * gdb.base/reread-readsym.c: New file.
6552
75312ae3
KB
65532017-06-21 Kevin Buettner <kevinb@redhat.com>
6554
6555 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6556 subpattern.
6557
66953522
PB
65582017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6559
6560 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6561 extended mnemonic.
6562 * gdb.arch/powerpc-power9.s: Likewise.
6563
5524b525
AA
65642017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6565
6566 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6567 on 32-bit x86 targets. Exploit is_*_target macros where
6568 appropriate.
6569
03c8af18
AA
65702017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6571
6572 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6573 register pieces.
6574
3bf31011
AA
65752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6576
6577 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6578 located in one or more DWARF pieces.
6579
805acca0
AA
65802017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6581
6582 * lib/gdb.exp (get_endianness): New proc.
6583 * gdb.arch/aarch64-fp.exp: Use it.
6584 * gdb.arch/altivec-regs.exp: Likewise.
6585 * gdb.arch/e500-regs.exp: Likewise.
6586 * gdb.arch/vsx-regs.exp: Likewise.
6587 * gdb.base/dump.exp: Likewise.
6588 * gdb.base/funcargs.exp: Likewise.
6589 * gdb.base/gnu_vector.exp: Likewise.
6590 * gdb.dwarf2/formdata16.exp: Likewise.
6591 * gdb.dwarf2/implptrpiece.exp: Likewise.
6592 * gdb.dwarf2/nonvar-access.exp: Likewise.
6593 * gdb.python/py-inferior.exp: Likewise.
6594 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6595
e9352324
AA
65962017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6597
6598 PR gdb/21226
6599 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6600 stack value pieces are taken from the LSB end.
6601
d5d1163e
AA
66022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6603
6604 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6605 variable at nonzero offset.
6606
0567c986
AA
66072017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6608
6609 * gdb.dwarf2/var-access.c: New file.
6610 * gdb.dwarf2/var-access.exp: New test.
6611 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6612
973e9aab
TT
66132017-06-12 Tom Tromey <tom@tromey.com>
6614
6615 * gdb.dwarf2/formdata16.exp: Add tests.
6616
d9109c80
TT
66172017-06-12 Tom Tromey <tom@tromey.com>
6618
6619 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6620
30a25466
TT
66212017-06-12 Tom Tromey <tom@tromey.com>
6622
6623 PR exp/16225:
6624 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6625 * gdb.arch/vsx-regs.exp: Update tests.
6626 * gdb.arch/s390-vregs.exp (hex128): New proc.
6627 Update test.
6628 * gdb.arch/altivec-regs.exp: Update tests.
6629
aefd8b33
SDJ
66302017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6631
6632 * gdb.base/startup-with-shell.c: New file.
6633 * gdb.base/startup-with-shell.exp: Likewise.
6634
2090129c
SDJ
66352017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6636
6637 * gdb.server/non-existing-program.exp: Update regex in order to
6638 reflect the fact that gdbserver is now using fork_inferior (with a
6639 shell) to startup the inferior.
6640
8e86a419
SM
66412017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6642
6643 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6644 support function calls from GDB.
6645
e6cf65f2
TT
66462017-05-21 Tom Tromey <tom@tromey.com>
6647
6648 PR rust/21466:
6649 * gdb.rust/unsized.exp: New file.
6650 * gdb.rust/unsized.rs: New file.
6651
43cc5389
TT
66522017-05-19 Tom Tromey <tom@tromey.com>
6653
6654 PR rust/21484:
6655 * gdb.rust/watch.exp: New file.
6656 * gdb.rust/watch.rs: New file.
6657
ec8df234
TT
66582017-05-18 Tom Tromey <tom@tromey.com>
6659
6660 * gdb.rust/simple.exp: Allow Box to be qualified.
6661
3e3e7fae
TP
66622017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6663
6664 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6665
59cc050d
PA
66662017-05-18 Pedro Alves <palves@redhat.com>
6667
6668 * gdb.base/fileio.c (test_write, test_read, test_close)
6669 (test_fstat): Don't print 'ret' in the fail path.
6670
c8f6abd1
PA
66712017-05-18 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6674 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6675 (test_system, test_rename, test_unlink, test_time): Change
6676 prototypes.
6677 * gdb.base/fileio.exp (stop_msg): Adjust.
6678
d2a03b77
PA
66792017-05-18 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.base/fileio.c (null_str): New global.
6682 (test_stat): Use it.
6683 * gdb.base/fileio.exp: Remove nowarnings.
6684
0d5c6999
YQ
66852017-05-17 Yao Qi <yao.qi@linaro.org>
6686
6687 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6688
21873064
YQ
66892017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6690
6691 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6692 argument command.
6693 (top-level): Invoke test_set_inferior_tty.
6694
d512d31c
PA
66952017-05-04 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6698 Add parens to print call for Python 3.
6699
90cef2ed
KS
67002017-05-03 Keith Seitz <keiths@redhat.com>
6701
6702 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6703 (main): Call it.
6704
14f819c8
TW
67052017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6706
6707 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6708 to prev and next.
6709
913aeadd
TW
67102017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6711
6712 * gdb.python/py-record-btrace.exp: Remove test for
6713 gdb.BtraceInstruction.error.
6714
a3be24ad
TW
67152017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6716
6717 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6718
ae20e79a
TW
67192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6720
6721 * gdb.python/py-record-btrace-threads.c: New file.
6722 * gdb.python/py-record-btrace-threads.exp: New file.
6723
45ce1b47
SDJ
67242017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6725
6726 PR testsuite/8595
6727 * gdb.base/environ.exp: Make test available in all architectures.
6728 Move bits related to "info program" testing to
6729 gdb.base/info-program.exp. Rewrite tests to use the two new
6730 procedures mentione below.
6731 (test_set_show_env_var) New procedure.
6732 (test_set_show_env_var_equal): Likewise.
6733 * gdb.base/info-program.exp: New file.
6734
e15c3eb4
KS
67352017-04-27 Keith Seitz <keiths@redhat.com>
6736
6737 * gdb.cp/oranking.cc (test15): New function.
6738 (main): Call test15 and declare additional variables for testing.
6739 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6740 "p foo101('abc')" tests.
6741 Add tests for cv qualifier overloads.
6742 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6743 "lvalue reference overload" test.
6744 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6745 "print value of f1 on Child&& in f2" test.
6746
3a3fd0fd
PA
67472017-04-19 Pedro Alves <palves@redhat.com>
6748
6749 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6750 procedure.
6751 (top level): Call it.
6752 * lib/gdb.exp (gdb_define_cmd): New procedure.
6753
53375380
PA
67542017-04-12 Pedro Alves <palves@redhat.com>
6755
6756 PR gdb/21323
6757 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6758 (wchar): New global.
6759 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6760 (do_test_wide_char, wide_char_types_no_program, top level): Add
6761 wchar_t testing.
6762
53e710ac
PA
67632017-04-12 Pedro Alves <palves@redhat.com>
6764
6765 PR c++/21323
6766 * gdb.cp/wide_char_types.c: New file.
6767 * gdb.cp/wide_char_types.exp: New file.
6768
0ad9d8c7
SDJ
67692017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6770
6771 PR gdb/21352
6772 * gdb.trace/tsv.exp: Add test for "tsave -r".
6773
b1b45502
IB
67742017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6775
6776 * gdb.dlang/watch-loc.c: New file.
6777 * gdb.dlang/watch-loc.exp: New file.
6778
ec13808e
JK
67792017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6780
6781 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6782
fe5f7374
AK
67832017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6784
6785 * gdb.arch/arc-analyze-prologue.S: New file.
6786 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6787
eea78757
AK
67882017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6789
6790 * gdb.arch/arc-decode-insn.S: New file.
6791 * gdb.arch/arc-decode-insn.exp: Likewise.
6792
5badf10a
IR
67932017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6794
6795 PR tdep/20928
6796 * gdb.arch/sparc64-regs.exp: New file.
6797 * gdb.arch/sparc64-regs.S: Likewise.
6798
cee59b3f
TW
67992017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6800
6801 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6802 and memory view on Python 3.
6803
c0f55cc6
AV
68042017-03-20 Artemiy Volkov <artemiyv@acm.org>
6805 Keith Seitz <keiths@redhat.com>
6806
6807 PR gdb/14441
6808 * gdb.cp/demangle.exp: Add rvalue reference tests.
6809 * gdb.cp/rvalue-ref-casts.cc: New file.
6810 * gdb.cp/rvalue-ref-casts.exp: New file.
6811 * gdb.cp/rvalue-ref-overload.cc: New file.
6812 * gdb.cp/rvalue-ref-overload.exp: New file.
6813 * gdb.cp/rvalue-ref-params.cc: New file.
6814 * gdb.cp/rvalue-ref-params.exp: New file.
6815 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6816 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6817 * gdb.cp/rvalue-ref-types.cc: New file.
6818 * gdb.cp/rvalue-ref-types.exp: New file.
6819 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6820 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6821
51457a05
MAL
68222017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6823
6824 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6825 New procedure.
6826
5b291c04
MAL
68272017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6828
6829 * lib/mi-support.exp (mi_gdb_test): Add additional message
6830 for unexpected output.
6831
59a56148
AA
68322017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6833
6834 * gdb.base/examine-backward.c (Barrier): New character array
6835 constant, to ensure that TestStrings is preceded by a string
6836 terminator.
6837
7942e96e
AA
68382017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6839
6840 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6841 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6842 and implicit pointer into such a location.
6843
6ebac3fb
DE
68442017-03-16 Doug Evans <dje@google.com>
6845
6846 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6847
ec3b243d
TP
68482017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6849
6850 * gdb.cp/m-static.exp: Fix expectation for prototype of
6851 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
6852
68532017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
6854
6855 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6856 * gdb.guile/scm-lazy-string.c: New file.
6857 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6858 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6859 for pointer, array, typedef lazy strings.
6860
2cc36e25 68612017-03-16 Doug Evans <dje@google.com>
34b43320
DE
6862
6863 PR python/17728, python/18439, python/18779
6864 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6865 * gdb.python/py-lazy-string.c (pointer): New typedef.
6866 (main): New locals ptr, array, typedef_ptr.
6867 * gdb.python/py-value.exp: Move lazy string tests to ...
6868 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6869 array, typedef lazy strings.
ec3b243d 6870
0efcde63
AK
68712017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6872
6873 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6874 Add optional 'test' parameter.
6875
7978d7c3
SM
68762017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6877
6878 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6879 Skip for versions of DejaGnu < 1.5.
6880
896c0c1e
SM
68812017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6882
6883 * lib/gdb.exp (dejagnu_version): New proc.
6884 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6885 Use dejagnu_version.
6886
5f4d1085
KS
68872017-03-10 Keith Seitz <keiths@redhat.com>
6888
6889 PR c++/8128
6890 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6891 type from destructor regexps.
6892 Add a branch which actually passes the test.
6893 Adjust "ptype t5i" test names.
6894
1de05205
PA
68952017-03-08 Pedro Alves <palves@redhat.com>
6896
6897 * gdb.base/step-over-exit.exp: Add explicit test message.
6898
c65d6b55
PA
68992017-03-08 Pedro Alves <palves@redhat.com>
6900
6901 PR gdb/18360
6902 * gdb.threads/interrupt-while-step-over.c: New file.
6903 * gdb.threads/interrupt-while-step-over.exp: New file.
6904
2e86a283
PA
69052017-03-08 Pedro Alves <palves@redhat.com>
6906
6907 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6908 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6909
25dcbff6
PA
69102017-03-08 Pedro Alves <palves@redhat.com>
6911
6912 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6913 PKRU as not supported as a PASS.
6914
dc9366eb
PA
69152017-03-08 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6918 prefix instead of $binfile1/$binfile2.
6919 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6920 in test message.
6921 * gdb.python/py-completion.exp: Use "load python file" as test
6922 messages instead of unstable path names.
6923
6e5d74e7
PA
69242017-03-08 Pedro Alves <palves@redhat.com>
6925 Jan Kratochvil <jan.kratochvil@redhat.com>
6926
6927 PR cli/21218
6928 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6929 New proc.
6930 (top level): Call it.
6931
9753a2f6
PA
69322017-03-08 Pedro Alves <palves@redhat.com>
6933
6934 PR tui/21216
6935 * gdb.tui/tui-nl-filtered-output.exp: New file.
6936
1a4dd9dd
PA
69372017-03-08 Pedro Alves <palves@redhat.com>
6938
6939 * gdb.base/completion.exp: Move TUI completion tests to ...
6940 * gdb.tui/completion.exp: ... this new file.
6941
7cbbff33
PA
69422017-03-08 Pedro Alves <palves@redhat.com>
6943
6944 * gdb.base/tui-disasm-long-lines.c,
6945 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6946 gdb.base/tui-layout.exp: Move to ...
6947 * gdb.tui/: ... this new directory.
6948
5f6fd321
PA
69492017-03-07 Pedro Alves <palves@redhat.com>
6950
6951 * gdb.base/tui-layout.c: New file.
6952 * gdb.base/tui-layout.exp: New file.
6953
44959fa8
PA
69542017-03-07 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.base/tui-layout.c: Rename to ...
6957 * gdb.base/tui-disasm-long-lines.c: ... this.
6958 * gdb.base/tui-layout.exp: Rename to ...
6959 * gdb.base/tui-disasm-long-lines.exp: ... this.
6960
f8c4e718
PA
69612017-03-07 Pedro Alves <palves@redhat.com>
6962
6963 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6964
6dbb839a 69652017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
6966
6967 * i386-mpx-call.c: New file.
6968 * i386-mpx-call.exp: New file.
6969
65b48a81
PB
69702017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6971
6972 * gdb.arch/powerpc-power.exp: Delete test.
6973 * gdb.arch/powerpc-power.s: Likewise.
6974 * gdb.disasm/disassembler-options.exp: New test.
6975 * gdb.arch/powerpc-altivec.exp: Likewise.
6976 * gdb.arch/powerpc-altivec.s: Likewise.
6977 * gdb.arch/powerpc-altivec2.exp: Likewise.
6978 * gdb.arch/powerpc-altivec2.s: Likewise.
6979 * gdb.arch/powerpc-altivec3.exp: Likewise.
6980 * gdb.arch/powerpc-altivec3.s: Likewise.
6981 * gdb.arch/powerpc-power7.exp: Likewise.
6982 * gdb.arch/powerpc-power7.s: Likewise.
6983 * gdb.arch/powerpc-power8.exp: Likewise.
6984 * gdb.arch/powerpc-power8.s: Likewise.
6985 * gdb.arch/powerpc-power9.exp: Likewise.
6986 * gdb.arch/powerpc-power9.s: Likewise.
6987 * gdb.arch/powerpc-vsx.exp: Likewise.
6988 * gdb.arch/powerpc-vsx.s: Likewise.
6989 * gdb.arch/powerpc-vsx2.exp: Likewise.
6990 * gdb.arch/powerpc-vsx2.s: Likewise.
6991 * gdb.arch/powerpc-vsx3.exp: Likewise.
6992 * gdb.arch/powerpc-vsx3.s: Likewise.
6993 * gdb.arch/arm-disassembler-options.exp: Likewise.
6994 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6995 * gdb.arch/s390-disassembler-options.exp: Likewise.
6996
17cd4947
LM
69972017-02-23 Luis Machado <lgustavo@codesourcery.com>
6998
6999 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7000 (check_supported_features): ... this. Changed return type to void.
7001 (supports_rdseed): New static global.
7002 (rdseed): Check supports_rdseed.
7003 (initialize): Call check_supported_features.
7004
2039d74e
EBM
70052017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7006
7007 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7008 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7009 and lqarx/stqcx.
7010 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7011 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7012
a51d7ecf
EBM
70132017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7014
7015 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7016 uppercase.
7017
0224619f
JK
70182017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7019
7020 * gdb.dwarf2/formdata16.c: New file.
7021 * gdb.dwarf2/formdata16.exp: New file.
7022 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7023
216f72a1
JK
70242017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7027 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7028 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7029 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7030 DW_AT_GNU_*.
7031
43988095
JK
70322017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7033
7034 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7035
99e8a4f9
SDJ
70362017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7037
7038 PR gdb/21164
7039 * gdb.base/maint.exp: Add testcases for when the commands do
7040 not have arguments.
7041
b58a8c0c
TP
70422017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7043
7044 * gdb.cp/chained-calls.exp: Use p instead of P.
7045
4e746bb6
TW
70462017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7047
7048 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7049 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7050
3f77c769
TT
70512017-02-14 Tom Tromey <tom@tromey.com>
7052
7053 PR python/13598:
7054 * gdb.python/py-events.exp: Add before_prompt event tests.
7055
075beec0
AA
70562017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057
7058 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7059
bf5f525c
LM
70602017-02-13 Luis Machado <lgustavo@codesourcery.com>
7061
7062 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7063 (main): Call my_unique_function_name.
7064 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7065 completion of patterns with a single match.
7066 Add missing -re switches to gdb_test_multiple calls.
7067
13a66184
LM
70682017-02-13 Luis Machado <lgustavo@codesourcery.com>
7069
7070 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7071 return if core file is not recognized.
7072
26a06916
SM
70732017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7074
7075 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7076 and extra UIs.
7077
b761ca9e
SM
70782017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7079
7080 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7081 proc_with_prefix.
7082
b964bee0
TT
70832017-02-10 Tom Tromey <tom@tromey.com>
7084
7085 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7086
18da0c51
MG
70872017-02-10 Martin Galvan <martingalvan@sourceware.org>
7088
7089 PR gdb/21122
7090 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7091
604c4576
JG
70922017-02-08 Jerome Guitton <guitton@adacore.com>
7093
7094 * gdb.base/define.exp: Add test for command abbreviations
7095 in define.
7096
20b477a7
LM
70972017-02-06 Luis Machado <lgustavo@codesourcery.com>
7098
7099 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7100 * gdb.reverse/insn-reverse-x86.c: New file.
7101
3f7b46f2
IR
71022017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7103
7104 PR tdep/20936
7105 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7106
f0fd41c1
TT
71072017-02-03 Tom Tromey <tom@tromey.com>
7108
7109 PR rust/21097:
7110 * gdb.rust/simple.exp: Add new tests.
7111
5be5dbf0
PA
71122017-02-02 Pedro Alves <palves@redhat.com>
7113
7114 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7115 tests.
7116
7346ef59
AA
71172017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7118
7119 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7120 taking a 2-byte value out of a 4-byte DWARF implicit value on
7121 big-endian targets.
7122 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7123 logic. Add test cases for DW_OP_implicit.
7124
787f0025
MM
71252017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7126
7127 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7128
68777c29
MM
71292017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7130
7131 * gdb.btrace/enable.exp: Call gdb_exit before
7132 skip_gdbserver_tests.
7133
0a1c7e28
MM
71342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7135
7136 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7137 GDBFLAGS.
7138
b5ac99b0
MM
71392017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7140
7141 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7142 the test is skipped.
7143 * gdb.btrace/data.exp: Likewise.
7144 * gdb.btrace/delta.exp: Likewise.
7145 * gdb.btrace/dlopen.exp: Likewise.
7146 * gdb.btrace/enable-running.exp: Likewise.
7147 * gdb.btrace/enable.exp: Likewise.
7148 * gdb.btrace/exception.exp: Likewise.
7149 * gdb.btrace/function_call_history.exp: Likewise.
7150 * gdb.btrace/gcore.exp: Likewise.
7151 * gdb.btrace/instruction_history.exp: Likewise.
7152 * gdb.btrace/multi-thread-step.exp: Likewise.
7153 * gdb.btrace/nohist.exp: Likewise.
7154 * gdb.btrace/non-stop.exp: Likewise.
7155 * gdb.btrace/reconnect.exp: Likewise.
7156 * gdb.btrace/record_goto-step.exp: Likewise.
7157 * gdb.btrace/record_goto.exp: Likewise.
7158 * gdb.btrace/rn-dl-bind.exp: Likewise.
7159 * gdb.btrace/segv.exp: Likewise.
7160 * gdb.btrace/step.exp: Likewise.
7161 * gdb.btrace/stepi.exp: Likewise.
7162 * gdb.btrace/tailcall-only.exp: Likewise.
7163 * gdb.btrace/tailcall.exp: Likewise.
7164 * gdb.btrace/tsx.exp: Likewise.
7165 * gdb.btrace/unknown_functions.exp: Likewise.
7166 * gdb.btrace/vdso.exp: Likewise.
7167
cd4007e4
MM
71682017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7169
7170 * gdb.btrace/enable-running.c: New.
7171 * gdb.btrace/enable-running.exp: New.
7172
2735833d
WT
71732017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7174
7175 * gdb.arch/amd64-gs_base.c: New file.
7176 * gdb.arch/amd64-gs_base.exp: New file.
7177
b51e1e94
LM
71782017-01-26 Luis Machado <lgustavo@codesourcery.com>
7179
7180 * lib/memory.exp: Remove spurious empty newlines.
7181
72ca0410
SM
71822017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7183
7184 * gdb.python/py-bad-printers.exp: Load python file using "source".
7185 * gdb.python/py-events.exp: Likewise.
7186 * gdb.python/py-evsignal.exp: Likewise.
7187 * gdb.python/py-evthreads.exp: Likewise.
7188 * gdb.python/py-frame-args.exp: Likewise.
7189 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7190 * gdb.python/py-framefilter-mi.exp: Likewise.
7191 * gdb.python/py-framefilter.exp: Likewise.
7192 * gdb.python/py-mi.exp: Likewise.
7193 * gdb.python/py-pp-maint.exp: Likewise.
7194 * gdb.python/py-pp-registration.exp: Likewise.
7195 * gdb.python/py-prettyprint.exp: Likewise.
7196 (run_lang_tests): Likewise.
7197 * gdb.python/py-typeprint.exp: Likewise.
7198
e309aa65
LM
71992017-01-26 Luis Machado <lgustavo@codesourcery.com>
7200
7201 * lib/memory.exp: New file.
7202 * lib/gdb.exp: Load memory.exp.
7203 * gdb.base/memattr.exp (delete_memory): Move proc to
7204 lib/memory.exp and rename to delete_memory_regions.
7205 Replace delete_memory with delete_memory_regions.
7206 Cleanup memory regions before tests.
7207 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7208 before tests.
7209
515aff23
LM
72102017-01-26 Luis Machado <lgustavo@codesourcery.com>
7211
7212 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7213 files.
7214 (initialize): New function conditionally defined.
7215 (testcases): Move within conditional block.
7216 (main): Call initialize.
7217 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7218 of gdb.reverse/insn-reverse.c.
7219 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7220 gdb.reverse/insn-reverse.c.
7221
d8b49cf0
YQ
72222017-01-26 Yao Qi <yao.qi@linaro.org>
7223
7224 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7225 disassemble on address 0.
7226
f13a9a0c
YQ
72272017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7228 Yao Qi <yao.qi@linaro.org>
7229
7230 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7231 * gdb.dwarf2/implptr-64bit.S: Remove.
7232 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7233 variables in caller's context. Add DW_OP_implicit_value.
7234
5ac95241
YQ
72352017-01-25 Yao Qi <yao.qi@linaro.org>
7236
7237 * lib/dwarf.exp (Dwarf::_location): Handle
7238 DW_OP_GNU_implicit_pointer with proper size.
7239
23e82930
LM
72402017-01-20 Luis Machado <lgustavo@codesourcery.com>
7241
7242 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7243 and add untested calls.
7244
d334ae25
LM
72452017-01-20 Luis Machado <lgustavo@codesourcery.com>
7246
7247 * gdb.python/python.exp: Check line number against what GDB thinks
7248 the line number is for func1.
7249
f5e6296e
IB
72502017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7251
7252 * gdb.dlang/debug-expr.exp: New file.
7253
5b362f04
LM
72542016-12-23 Luis Machado <lgustavo@codesourcery.com>
7255
7256 Fix test names for the following files:
7257
7258 * gdb.ada/exec_changed.exp
7259 * gdb.ada/info_types.exp
7260 * gdb.arch/aarch64-atomic-inst.exp
7261 * gdb.arch/aarch64-fp.exp
7262 * gdb.arch/altivec-abi.exp
7263 * gdb.arch/altivec-regs.exp
7264 * gdb.arch/amd64-byte.exp
7265 * gdb.arch/amd64-disp-step.exp
7266 * gdb.arch/amd64-dword.exp
7267 * gdb.arch/amd64-entry-value-inline.exp
7268 * gdb.arch/amd64-entry-value-param.exp
7269 * gdb.arch/amd64-entry-value-paramref.exp
7270 * gdb.arch/amd64-entry-value.exp
7271 * gdb.arch/amd64-i386-address.exp
7272 * gdb.arch/amd64-invalid-stack-middle.exp
7273 * gdb.arch/amd64-invalid-stack-top.exp
7274 * gdb.arch/amd64-optimout-repeat.exp
7275 * gdb.arch/amd64-prologue-skip.exp
7276 * gdb.arch/amd64-prologue-xmm.exp
7277 * gdb.arch/amd64-stap-special-operands.exp
7278 * gdb.arch/amd64-stap-wrong-subexp.exp
7279 * gdb.arch/amd64-tailcall-cxx.exp
7280 * gdb.arch/amd64-tailcall-noret.exp
7281 * gdb.arch/amd64-tailcall-ret.exp
7282 * gdb.arch/amd64-tailcall-self.exp
7283 * gdb.arch/amd64-word.exp
7284 * gdb.arch/arm-bl-branch-dest.exp
7285 * gdb.arch/arm-disp-step.exp
7286 * gdb.arch/arm-neon.exp
7287 * gdb.arch/arm-single-step-kernel-helper.exp
7288 * gdb.arch/avr-flash-qualifier.exp
7289 * gdb.arch/disp-step-insn-reloc.exp
7290 * gdb.arch/e500-abi.exp
7291 * gdb.arch/e500-regs.exp
7292 * gdb.arch/ftrace-insn-reloc.exp
7293 * gdb.arch/i386-avx512.exp
7294 * gdb.arch/i386-bp_permanent.exp
7295 * gdb.arch/i386-byte.exp
7296 * gdb.arch/i386-cfi-notcurrent.exp
7297 * gdb.arch/i386-disp-step.exp
7298 * gdb.arch/i386-dr3-watch.exp
7299 * gdb.arch/i386-float.exp
7300 * gdb.arch/i386-gnu-cfi.exp
7301 * gdb.arch/i386-mpx-map.exp
7302 * gdb.arch/i386-mpx-sigsegv.exp
7303 * gdb.arch/i386-mpx-simple_segv.exp
7304 * gdb.arch/i386-mpx.exp
7305 * gdb.arch/i386-permbkpt.exp
7306 * gdb.arch/i386-prologue.exp
7307 * gdb.arch/i386-signal.exp
7308 * gdb.arch/i386-size-overlap.exp
7309 * gdb.arch/i386-unwind.exp
7310 * gdb.arch/i386-word.exp
7311 * gdb.arch/mips-fcr.exp
7312 * gdb.arch/powerpc-d128-regs.exp
7313 * gdb.arch/powerpc-stackless.exp
7314 * gdb.arch/ppc64-atomic-inst.exp
7315 * gdb.arch/s390-stackless.exp
7316 * gdb.arch/s390-tdbregs.exp
7317 * gdb.arch/s390-vregs.exp
7318 * gdb.arch/sparc-sysstep.exp
7319 * gdb.arch/thumb-bx-pc.exp
7320 * gdb.arch/thumb-singlestep.exp
7321 * gdb.arch/thumb2-it.exp
7322 * gdb.arch/vsx-regs.exp
7323 * gdb.asm/asm-source.exp
7324 * gdb.base/a2-run.exp
7325 * gdb.base/advance.exp
7326 * gdb.base/all-bin.exp
7327 * gdb.base/anon.exp
7328 * gdb.base/args.exp
7329 * gdb.base/arithmet.exp
7330 * gdb.base/async-shell.exp
7331 * gdb.base/async.exp
7332 * gdb.base/attach-pie-noexec.exp
7333 * gdb.base/attach-twice.exp
7334 * gdb.base/auto-load.exp
7335 * gdb.base/bang.exp
7336 * gdb.base/bitfields.exp
7337 * gdb.base/break-always.exp
7338 * gdb.base/break-caller-line.exp
7339 * gdb.base/break-entry.exp
7340 * gdb.base/break-inline.exp
7341 * gdb.base/break-on-linker-gcd-function.exp
7342 * gdb.base/break-probes.exp
7343 * gdb.base/break.exp
7344 * gdb.base/breakpoint-shadow.exp
7345 * gdb.base/call-ar-st.exp
7346 * gdb.base/call-sc.exp
7347 * gdb.base/call-signal-resume.exp
7348 * gdb.base/call-strs.exp
7349 * gdb.base/callfuncs.exp
7350 * gdb.base/catch-fork-static.exp
7351 * gdb.base/catch-gdb-caused-signals.exp
7352 * gdb.base/catch-load.exp
7353 * gdb.base/catch-signal-fork.exp
7354 * gdb.base/catch-signal.exp
7355 * gdb.base/catch-syscall.exp
7356 * gdb.base/charset.exp
7357 * gdb.base/checkpoint.exp
7358 * gdb.base/chng-syms.exp
7359 * gdb.base/code-expr.exp
7360 * gdb.base/code_elim.exp
7361 * gdb.base/commands.exp
7362 * gdb.base/completion.exp
7363 * gdb.base/complex.exp
7364 * gdb.base/cond-expr.exp
7365 * gdb.base/condbreak.exp
7366 * gdb.base/consecutive.exp
7367 * gdb.base/continue-all-already-running.exp
7368 * gdb.base/coredump-filter.exp
7369 * gdb.base/corefile.exp
7370 * gdb.base/dbx.exp
7371 * gdb.base/debug-expr.exp
7372 * gdb.base/define.exp
7373 * gdb.base/del.exp
7374 * gdb.base/disabled-location.exp
7375 * gdb.base/disasm-end-cu.exp
7376 * gdb.base/disasm-optim.exp
7377 * gdb.base/display.exp
7378 * gdb.base/duplicate-bp.exp
7379 * gdb.base/ena-dis-br.exp
7380 * gdb.base/ending-run.exp
7381 * gdb.base/enumval.exp
7382 * gdb.base/environ.exp
7383 * gdb.base/eu-strip-infcall.exp
7384 * gdb.base/eval-avoid-side-effects.exp
7385 * gdb.base/eval-skip.exp
7386 * gdb.base/exitsignal.exp
7387 * gdb.base/expand-psymtabs.exp
7388 * gdb.base/filesym.exp
7389 * gdb.base/find-unmapped.exp
7390 * gdb.base/finish.exp
7391 * gdb.base/float.exp
7392 * gdb.base/foll-exec-mode.exp
7393 * gdb.base/foll-exec.exp
7394 * gdb.base/foll-fork.exp
7395 * gdb.base/fortran-sym-case.exp
7396 * gdb.base/freebpcmd.exp
7397 * gdb.base/func-ptr.exp
7398 * gdb.base/func-ptrs.exp
7399 * gdb.base/funcargs.exp
7400 * gdb.base/gcore-buffer-overflow.exp
7401 * gdb.base/gcore-relro-pie.exp
7402 * gdb.base/gcore-relro.exp
7403 * gdb.base/gcore.exp
7404 * gdb.base/gdb1090.exp
7405 * gdb.base/gdb11530.exp
7406 * gdb.base/gdb11531.exp
7407 * gdb.base/gdb1821.exp
7408 * gdb.base/gdbindex-stabs.exp
7409 * gdb.base/gdbvars.exp
7410 * gdb.base/hbreak.exp
7411 * gdb.base/hbreak2.exp
7412 * gdb.base/included.exp
7413 * gdb.base/infcall-input.exp
7414 * gdb.base/inferior-died.exp
7415 * gdb.base/infnan.exp
7416 * gdb.base/info-macros.exp
7417 * gdb.base/info-os.exp
7418 * gdb.base/info-proc.exp
7419 * gdb.base/info-shared.exp
7420 * gdb.base/info-target.exp
7421 * gdb.base/infoline.exp
7422 * gdb.base/interp.exp
7423 * gdb.base/interrupt.exp
7424 * gdb.base/jit-reader.exp
7425 * gdb.base/jit-simple.exp
7426 * gdb.base/kill-after-signal.exp
7427 * gdb.base/kill-detach-inferiors-cmd.exp
7428 * gdb.base/label.exp
7429 * gdb.base/langs.exp
7430 * gdb.base/ldbl_e308.exp
7431 * gdb.base/line-symtabs.exp
7432 * gdb.base/linespecs.exp
7433 * gdb.base/list.exp
7434 * gdb.base/long_long.exp
7435 * gdb.base/longest-types.exp
7436 * gdb.base/maint.exp
7437 * gdb.base/max-value-size.exp
7438 * gdb.base/memattr.exp
7439 * gdb.base/mips_pro.exp
7440 * gdb.base/morestack.exp
7441 * gdb.base/moribund-step.exp
7442 * gdb.base/multi-forks.exp
7443 * gdb.base/nested-addr.exp
7444 * gdb.base/nextoverexit.exp
7445 * gdb.base/noreturn-finish.exp
7446 * gdb.base/noreturn-return.exp
7447 * gdb.base/nostdlib.exp
7448 * gdb.base/offsets.exp
7449 * gdb.base/opaque.exp
7450 * gdb.base/pc-fp.exp
7451 * gdb.base/permissions.exp
7452 * gdb.base/print-symbol-loading.exp
7453 * gdb.base/prologue-include.exp
7454 * gdb.base/psymtab.exp
7455 * gdb.base/ptype.exp
7456 * gdb.base/random-signal.exp
7457 * gdb.base/randomize.exp
7458 * gdb.base/range-stepping.exp
7459 * gdb.base/readline-ask.exp
7460 * gdb.base/recpar.exp
7461 * gdb.base/recurse.exp
7462 * gdb.base/relational.exp
7463 * gdb.base/restore.exp
7464 * gdb.base/return-nodebug.exp
7465 * gdb.base/return.exp
7466 * gdb.base/run-after-attach.exp
7467 * gdb.base/save-bp.exp
7468 * gdb.base/scope.exp
7469 * gdb.base/sect-cmd.exp
7470 * gdb.base/set-lang-auto.exp
7471 * gdb.base/set-noassign.exp
7472 * gdb.base/setvar.exp
7473 * gdb.base/sigall.exp
7474 * gdb.base/sigbpt.exp
7475 * gdb.base/siginfo-addr.exp
7476 * gdb.base/siginfo-infcall.exp
7477 * gdb.base/siginfo-obj.exp
7478 * gdb.base/siginfo.exp
7479 * gdb.base/signals-state-child.exp
7480 * gdb.base/signest.exp
7481 * gdb.base/sigstep.exp
7482 * gdb.base/sizeof.exp
7483 * gdb.base/skip.exp
7484 * gdb.base/solib-corrupted.exp
7485 * gdb.base/solib-nodir.exp
7486 * gdb.base/solib-search.exp
7487 * gdb.base/stack-checking.exp
7488 * gdb.base/stale-infcall.exp
7489 * gdb.base/stap-probe.exp
7490 * gdb.base/start.exp
7491 * gdb.base/step-break.exp
7492 * gdb.base/step-bt.exp
7493 * gdb.base/step-line.exp
7494 * gdb.base/step-over-exit.exp
7495 * gdb.base/step-over-syscall.exp
7496 * gdb.base/step-resume-infcall.exp
7497 * gdb.base/step-test.exp
7498 * gdb.base/store.exp
7499 * gdb.base/structs3.exp
7500 * gdb.base/sym-file.exp
7501 * gdb.base/symbol-without-target_section.exp
7502 * gdb.base/term.exp
7503 * gdb.base/testenv.exp
7504 * gdb.base/ui-redirect.exp
7505 * gdb.base/until.exp
7506 * gdb.base/unwindonsignal.exp
7507 * gdb.base/value-double-free.exp
7508 * gdb.base/vla-datatypes.exp
7509 * gdb.base/vla-ptr.exp
7510 * gdb.base/vla-sideeffect.exp
7511 * gdb.base/volatile.exp
7512 * gdb.base/watch-cond-infcall.exp
7513 * gdb.base/watch-cond.exp
7514 * gdb.base/watch-non-mem.exp
7515 * gdb.base/watch-read.exp
7516 * gdb.base/watch-vfork.exp
7517 * gdb.base/watchpoint-cond-gone.exp
7518 * gdb.base/watchpoint-delete.exp
7519 * gdb.base/watchpoint-hw-hit-once.exp
7520 * gdb.base/watchpoint-hw.exp
7521 * gdb.base/watchpoint-stops-at-right-insn.exp
7522 * gdb.base/watchpoints.exp
7523 * gdb.base/wchar.exp
7524 * gdb.base/whatis-exp.exp
7525 * gdb.btrace/buffer-size.exp
7526 * gdb.btrace/data.exp
7527 * gdb.btrace/delta.exp
7528 * gdb.btrace/dlopen.exp
7529 * gdb.btrace/enable.exp
7530 * gdb.btrace/exception.exp
7531 * gdb.btrace/function_call_history.exp
7532 * gdb.btrace/gcore.exp
7533 * gdb.btrace/instruction_history.exp
7534 * gdb.btrace/nohist.exp
7535 * gdb.btrace/reconnect.exp
7536 * gdb.btrace/record_goto-step.exp
7537 * gdb.btrace/record_goto.exp
7538 * gdb.btrace/rn-dl-bind.exp
7539 * gdb.btrace/segv.exp
7540 * gdb.btrace/step.exp
7541 * gdb.btrace/stepi.exp
7542 * gdb.btrace/tailcall-only.exp
7543 * gdb.btrace/tailcall.exp
7544 * gdb.btrace/tsx.exp
7545 * gdb.btrace/unknown_functions.exp
7546 * gdb.btrace/vdso.exp
7547 * gdb.compile/compile-ifunc.exp
7548 * gdb.compile/compile-ops.exp
7549 * gdb.compile/compile-print.exp
7550 * gdb.compile/compile-setjmp.exp
7551 * gdb.cp/abstract-origin.exp
7552 * gdb.cp/ambiguous.exp
7553 * gdb.cp/annota2.exp
7554 * gdb.cp/annota3.exp
7555 * gdb.cp/anon-ns.exp
7556 * gdb.cp/anon-struct.exp
7557 * gdb.cp/anon-union.exp
7558 * gdb.cp/arg-reference.exp
7559 * gdb.cp/baseenum.exp
7560 * gdb.cp/bool.exp
7561 * gdb.cp/breakpoint.exp
7562 * gdb.cp/bs15503.exp
7563 * gdb.cp/call-c.exp
7564 * gdb.cp/casts.exp
7565 * gdb.cp/chained-calls.exp
7566 * gdb.cp/class2.exp
7567 * gdb.cp/classes.exp
7568 * gdb.cp/cmpd-minsyms.exp
7569 * gdb.cp/converts.exp
7570 * gdb.cp/cp-relocate.exp
7571 * gdb.cp/cpcompletion.exp
7572 * gdb.cp/cpexprs.exp
7573 * gdb.cp/cplabel.exp
7574 * gdb.cp/cplusfuncs.exp
7575 * gdb.cp/cpsizeof.exp
7576 * gdb.cp/ctti.exp
7577 * gdb.cp/derivation.exp
7578 * gdb.cp/destrprint.exp
7579 * gdb.cp/dispcxx.exp
7580 * gdb.cp/enum-class.exp
7581 * gdb.cp/exception.exp
7582 * gdb.cp/exceptprint.exp
7583 * gdb.cp/expand-psymtabs-cxx.exp
7584 * gdb.cp/expand-sals.exp
7585 * gdb.cp/extern-c.exp
7586 * gdb.cp/filename.exp
7587 * gdb.cp/formatted-ref.exp
7588 * gdb.cp/fpointer.exp
7589 * gdb.cp/gdb1355.exp
7590 * gdb.cp/gdb2495.exp
7591 * gdb.cp/hang.exp
7592 * gdb.cp/impl-this.exp
7593 * gdb.cp/infcall-dlopen.exp
7594 * gdb.cp/inherit.exp
7595 * gdb.cp/iostream.exp
7596 * gdb.cp/koenig.exp
7597 * gdb.cp/local.exp
7598 * gdb.cp/m-data.exp
7599 * gdb.cp/m-static.exp
7600 * gdb.cp/mb-ctor.exp
7601 * gdb.cp/mb-inline.exp
7602 * gdb.cp/mb-templates.exp
7603 * gdb.cp/member-name.exp
7604 * gdb.cp/member-ptr.exp
7605 * gdb.cp/meth-typedefs.exp
7606 * gdb.cp/method.exp
7607 * gdb.cp/method2.exp
7608 * gdb.cp/minsym-fallback.exp
7609 * gdb.cp/misc.exp
7610 * gdb.cp/namelessclass.exp
7611 * gdb.cp/namespace-enum.exp
7612 * gdb.cp/namespace-nested-import.exp
7613 * gdb.cp/namespace.exp
7614 * gdb.cp/nextoverthrow.exp
7615 * gdb.cp/no-dmgl-verbose.exp
7616 * gdb.cp/non-trivial-retval.exp
7617 * gdb.cp/noparam.exp
7618 * gdb.cp/nsdecl.exp
7619 * gdb.cp/nsimport.exp
7620 * gdb.cp/nsnested.exp
7621 * gdb.cp/nsnoimports.exp
7622 * gdb.cp/nsrecurs.exp
7623 * gdb.cp/nsstress.exp
7624 * gdb.cp/nsusing.exp
7625 * gdb.cp/operator.exp
7626 * gdb.cp/oranking.exp
7627 * gdb.cp/overload-const.exp
7628 * gdb.cp/overload.exp
7629 * gdb.cp/ovldbreak.exp
7630 * gdb.cp/ovsrch.exp
7631 * gdb.cp/paren-type.exp
7632 * gdb.cp/parse-lang.exp
7633 * gdb.cp/pass-by-ref.exp
7634 * gdb.cp/pr-1023.exp
7635 * gdb.cp/pr-1210.exp
7636 * gdb.cp/pr-574.exp
7637 * gdb.cp/pr10687.exp
7638 * gdb.cp/pr12028.exp
7639 * gdb.cp/pr17132.exp
7640 * gdb.cp/pr17494.exp
7641 * gdb.cp/pr9067.exp
7642 * gdb.cp/pr9167.exp
7643 * gdb.cp/pr9631.exp
7644 * gdb.cp/printmethod.exp
7645 * gdb.cp/psmang.exp
7646 * gdb.cp/psymtab-parameter.exp
7647 * gdb.cp/ptype-cv-cp.exp
7648 * gdb.cp/ptype-flags.exp
7649 * gdb.cp/re-set-overloaded.exp
7650 * gdb.cp/ref-types.exp
7651 * gdb.cp/rtti.exp
7652 * gdb.cp/scope-err.exp
7653 * gdb.cp/shadow.exp
7654 * gdb.cp/smartp.exp
7655 * gdb.cp/static-method.exp
7656 * gdb.cp/static-print-quit.exp
7657 * gdb.cp/temargs.exp
7658 * gdb.cp/templates.exp
7659 * gdb.cp/try_catch.exp
7660 * gdb.cp/typedef-operator.exp
7661 * gdb.cp/typeid.exp
7662 * gdb.cp/userdef.exp
7663 * gdb.cp/using-crash.exp
7664 * gdb.cp/var-tag.exp
7665 * gdb.cp/virtbase.exp
7666 * gdb.cp/virtfunc.exp
7667 * gdb.cp/virtfunc2.exp
7668 * gdb.cp/vla-cxx.exp
7669 * gdb.disasm/t01_mov.exp
7670 * gdb.disasm/t02_mova.exp
7671 * gdb.disasm/t03_add.exp
7672 * gdb.disasm/t04_sub.exp
7673 * gdb.disasm/t05_cmp.exp
7674 * gdb.disasm/t06_ari2.exp
7675 * gdb.disasm/t07_ari3.exp
7676 * gdb.disasm/t08_or.exp
7677 * gdb.disasm/t09_xor.exp
7678 * gdb.disasm/t10_and.exp
7679 * gdb.disasm/t11_logs.exp
7680 * gdb.disasm/t12_bit.exp
7681 * gdb.disasm/t13_otr.exp
7682 * gdb.dlang/circular.exp
7683 * gdb.dwarf2/arr-stride.exp
7684 * gdb.dwarf2/arr-subrange.exp
7685 * gdb.dwarf2/atomic-type.exp
7686 * gdb.dwarf2/bad-regnum.exp
7687 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7688 * gdb.dwarf2/callframecfa.exp
7689 * gdb.dwarf2/clztest.exp
7690 * gdb.dwarf2/corrupt.exp
7691 * gdb.dwarf2/data-loc.exp
7692 * gdb.dwarf2/dup-psym.exp
7693 * gdb.dwarf2/dw2-anon-mptr.exp
7694 * gdb.dwarf2/dw2-anonymous-func.exp
7695 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7696 * gdb.dwarf2/dw2-bad-unresolved.exp
7697 * gdb.dwarf2/dw2-basic.exp
7698 * gdb.dwarf2/dw2-canonicalize-type.exp
7699 * gdb.dwarf2/dw2-case-insensitive.exp
7700 * gdb.dwarf2/dw2-common-block.exp
7701 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7702 * gdb.dwarf2/dw2-compressed.exp
7703 * gdb.dwarf2/dw2-const.exp
7704 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7705 * gdb.dwarf2/dw2-cu-size.exp
7706 * gdb.dwarf2/dw2-dup-frame.exp
7707 * gdb.dwarf2/dw2-entry-value.exp
7708 * gdb.dwarf2/dw2-icycle.exp
7709 * gdb.dwarf2/dw2-ifort-parameter.exp
7710 * gdb.dwarf2/dw2-inline-break.exp
7711 * gdb.dwarf2/dw2-inline-param.exp
7712 * gdb.dwarf2/dw2-intercu.exp
7713 * gdb.dwarf2/dw2-intermix.exp
7714 * gdb.dwarf2/dw2-lexical-block-bare.exp
7715 * gdb.dwarf2/dw2-linkage-name-trust.exp
7716 * gdb.dwarf2/dw2-minsym-in-cu.exp
7717 * gdb.dwarf2/dw2-noloc.exp
7718 * gdb.dwarf2/dw2-op-call.exp
7719 * gdb.dwarf2/dw2-op-out-param.exp
7720 * gdb.dwarf2/dw2-opt-structptr.exp
7721 * gdb.dwarf2/dw2-param-error.exp
7722 * gdb.dwarf2/dw2-producer.exp
7723 * gdb.dwarf2/dw2-ranges-base.exp
7724 * gdb.dwarf2/dw2-ref-missing-frame.exp
7725 * gdb.dwarf2/dw2-reg-undefined.exp
7726 * gdb.dwarf2/dw2-regno-invalid.exp
7727 * gdb.dwarf2/dw2-restore.exp
7728 * gdb.dwarf2/dw2-restrict.exp
7729 * gdb.dwarf2/dw2-single-line-discriminators.exp
7730 * gdb.dwarf2/dw2-strp.exp
7731 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7732 * gdb.dwarf2/dw2-unresolved.exp
7733 * gdb.dwarf2/dw2-var-zero-addr.exp
7734 * gdb.dwarf2/dw4-sig-types.exp
7735 * gdb.dwarf2/dwz.exp
7736 * gdb.dwarf2/dynarr-ptr.exp
7737 * gdb.dwarf2/enum-type.exp
7738 * gdb.dwarf2/gdb-index.exp
7739 * gdb.dwarf2/implptr-64bit.exp
7740 * gdb.dwarf2/implptr-optimized-out.exp
7741 * gdb.dwarf2/implptr.exp
7742 * gdb.dwarf2/implref-array.exp
7743 * gdb.dwarf2/implref-const.exp
7744 * gdb.dwarf2/implref-global.exp
7745 * gdb.dwarf2/implref-struct.exp
7746 * gdb.dwarf2/mac-fileno.exp
7747 * gdb.dwarf2/main-subprogram.exp
7748 * gdb.dwarf2/member-ptr-forwardref.exp
7749 * gdb.dwarf2/method-ptr.exp
7750 * gdb.dwarf2/missing-sig-type.exp
7751 * gdb.dwarf2/nonvar-access.exp
7752 * gdb.dwarf2/opaque-type-lookup.exp
7753 * gdb.dwarf2/pieces-optimized-out.exp
7754 * gdb.dwarf2/pieces.exp
7755 * gdb.dwarf2/pr10770.exp
7756 * gdb.dwarf2/pr13961.exp
7757 * gdb.dwarf2/staticvirtual.exp
7758 * gdb.dwarf2/subrange.exp
7759 * gdb.dwarf2/symtab-producer.exp
7760 * gdb.dwarf2/trace-crash.exp
7761 * gdb.dwarf2/typeddwarf.exp
7762 * gdb.dwarf2/valop.exp
7763 * gdb.dwarf2/watch-notconst.exp
7764 * gdb.fortran/array-element.exp
7765 * gdb.fortran/charset.exp
7766 * gdb.fortran/common-block.exp
7767 * gdb.fortran/complex.exp
7768 * gdb.fortran/derived-type-function.exp
7769 * gdb.fortran/derived-type.exp
7770 * gdb.fortran/logical.exp
7771 * gdb.fortran/module.exp
7772 * gdb.fortran/multi-dim.exp
7773 * gdb.fortran/nested-funcs.exp
7774 * gdb.fortran/print-formatted.exp
7775 * gdb.fortran/subarray.exp
7776 * gdb.fortran/vla-alloc-assoc.exp
7777 * gdb.fortran/vla-datatypes.exp
7778 * gdb.fortran/vla-history.exp
7779 * gdb.fortran/vla-ptr-info.exp
7780 * gdb.fortran/vla-ptype-sub.exp
7781 * gdb.fortran/vla-ptype.exp
7782 * gdb.fortran/vla-sizeof.exp
7783 * gdb.fortran/vla-type.exp
7784 * gdb.fortran/vla-value-sub-arbitrary.exp
7785 * gdb.fortran/vla-value-sub-finish.exp
7786 * gdb.fortran/vla-value-sub.exp
7787 * gdb.fortran/vla-value.exp
7788 * gdb.fortran/whatis_type.exp
7789 * gdb.go/chan.exp
7790 * gdb.go/handcall.exp
7791 * gdb.go/hello.exp
7792 * gdb.go/integers.exp
7793 * gdb.go/methods.exp
7794 * gdb.go/package.exp
7795 * gdb.go/strings.exp
7796 * gdb.go/types.exp
7797 * gdb.go/unsafe.exp
7798 * gdb.guile/scm-arch.exp
7799 * gdb.guile/scm-block.exp
7800 * gdb.guile/scm-breakpoint.exp
7801 * gdb.guile/scm-cmd.exp
7802 * gdb.guile/scm-disasm.exp
7803 * gdb.guile/scm-equal.exp
7804 * gdb.guile/scm-frame-args.exp
7805 * gdb.guile/scm-frame-inline.exp
7806 * gdb.guile/scm-frame.exp
7807 * gdb.guile/scm-iterator.exp
7808 * gdb.guile/scm-math.exp
7809 * gdb.guile/scm-objfile.exp
7810 * gdb.guile/scm-ports.exp
7811 * gdb.guile/scm-symbol.exp
7812 * gdb.guile/scm-symtab.exp
7813 * gdb.guile/scm-value-cc.exp
7814 * gdb.guile/types-module.exp
7815 * gdb.linespec/break-ask.exp
7816 * gdb.linespec/cpexplicit.exp
7817 * gdb.linespec/explicit.exp
7818 * gdb.linespec/keywords.exp
7819 * gdb.linespec/linespec.exp
7820 * gdb.linespec/ls-dollar.exp
7821 * gdb.linespec/ls-errs.exp
7822 * gdb.linespec/skip-two.exp
7823 * gdb.linespec/thread.exp
7824 * gdb.mi/mi-async.exp
7825 * gdb.mi/mi-basics.exp
7826 * gdb.mi/mi-break.exp
7827 * gdb.mi/mi-catch-load.exp
7828 * gdb.mi/mi-cli.exp
7829 * gdb.mi/mi-cmd-param-changed.exp
7830 * gdb.mi/mi-console.exp
7831 * gdb.mi/mi-detach.exp
7832 * gdb.mi/mi-disassemble.exp
7833 * gdb.mi/mi-eval.exp
7834 * gdb.mi/mi-file-transfer.exp
7835 * gdb.mi/mi-file.exp
7836 * gdb.mi/mi-fill-memory.exp
7837 * gdb.mi/mi-inheritance-syntax-error.exp
7838 * gdb.mi/mi-linespec-err-cp.exp
7839 * gdb.mi/mi-logging.exp
7840 * gdb.mi/mi-memory-changed.exp
7841 * gdb.mi/mi-read-memory.exp
7842 * gdb.mi/mi-record-changed.exp
7843 * gdb.mi/mi-reg-undefined.exp
7844 * gdb.mi/mi-regs.exp
7845 * gdb.mi/mi-return.exp
7846 * gdb.mi/mi-reverse.exp
7847 * gdb.mi/mi-simplerun.exp
7848 * gdb.mi/mi-solib.exp
7849 * gdb.mi/mi-stack.exp
7850 * gdb.mi/mi-stepi.exp
7851 * gdb.mi/mi-syn-frame.exp
7852 * gdb.mi/mi-until.exp
7853 * gdb.mi/mi-var-block.exp
7854 * gdb.mi/mi-var-child.exp
7855 * gdb.mi/mi-var-cmd.exp
7856 * gdb.mi/mi-var-cp.exp
7857 * gdb.mi/mi-var-display.exp
7858 * gdb.mi/mi-var-invalidate.exp
7859 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7860 * gdb.mi/mi-vla-fortran.exp
7861 * gdb.mi/mi-watch.exp
7862 * gdb.mi/mi2-var-child.exp
7863 * gdb.mi/user-selected-context-sync.exp
7864 * gdb.modula2/unbounded-array.exp
7865 * gdb.multi/dummy-frame-restore.exp
7866 * gdb.multi/multi-arch-exec.exp
7867 * gdb.multi/multi-arch.exp
7868 * gdb.multi/tids.exp
7869 * gdb.multi/watchpoint-multi.exp
7870 * gdb.opencl/callfuncs.exp
7871 * gdb.opencl/convs_casts.exp
7872 * gdb.opencl/datatypes.exp
7873 * gdb.opencl/operators.exp
7874 * gdb.opencl/vec_comps.exp
7875 * gdb.opt/clobbered-registers-O2.exp
7876 * gdb.opt/inline-break.exp
7877 * gdb.opt/inline-bt.exp
7878 * gdb.opt/inline-cmds.exp
7879 * gdb.opt/inline-locals.exp
7880 * gdb.pascal/case-insensitive-symbols.exp
7881 * gdb.pascal/floats.exp
7882 * gdb.pascal/gdb11492.exp
7883 * gdb.python/lib-types.exp
7884 * gdb.python/py-arch.exp
7885 * gdb.python/py-as-string.exp
7886 * gdb.python/py-bad-printers.exp
7887 * gdb.python/py-block.exp
7888 * gdb.python/py-breakpoint-create-fail.exp
7889 * gdb.python/py-breakpoint.exp
7890 * gdb.python/py-caller-is.exp
7891 * gdb.python/py-cmd.exp
7892 * gdb.python/py-explore-cc.exp
7893 * gdb.python/py-explore.exp
7894 * gdb.python/py-finish-breakpoint.exp
7895 * gdb.python/py-finish-breakpoint2.exp
7896 * gdb.python/py-frame-args.exp
7897 * gdb.python/py-frame-inline.exp
7898 * gdb.python/py-frame.exp
7899 * gdb.python/py-framefilter-mi.exp
7900 * gdb.python/py-infthread.exp
7901 * gdb.python/py-lazy-string.exp
7902 * gdb.python/py-linetable.exp
7903 * gdb.python/py-mi-events.exp
7904 * gdb.python/py-mi-objfile.exp
7905 * gdb.python/py-mi.exp
7906 * gdb.python/py-objfile.exp
7907 * gdb.python/py-pp-integral.exp
7908 * gdb.python/py-pp-maint.exp
7909 * gdb.python/py-pp-re-notag.exp
7910 * gdb.python/py-pp-registration.exp
7911 * gdb.python/py-recurse-unwind.exp
7912 * gdb.python/py-strfns.exp
7913 * gdb.python/py-symbol.exp
7914 * gdb.python/py-symtab.exp
7915 * gdb.python/py-sync-interp.exp
7916 * gdb.python/py-typeprint.exp
7917 * gdb.python/py-unwind-maint.exp
7918 * gdb.python/py-unwind.exp
7919 * gdb.python/py-value-cc.exp
7920 * gdb.python/py-xmethods.exp
7921 * gdb.reverse/amd64-tailcall-reverse.exp
7922 * gdb.reverse/break-precsave.exp
7923 * gdb.reverse/break-reverse.exp
7924 * gdb.reverse/consecutive-precsave.exp
7925 * gdb.reverse/consecutive-reverse.exp
7926 * gdb.reverse/finish-precsave.exp
7927 * gdb.reverse/finish-reverse-bkpt.exp
7928 * gdb.reverse/finish-reverse.exp
7929 * gdb.reverse/fstatat-reverse.exp
7930 * gdb.reverse/getresuid-reverse.exp
7931 * gdb.reverse/i386-precsave.exp
7932 * gdb.reverse/i386-reverse.exp
7933 * gdb.reverse/i386-sse-reverse.exp
7934 * gdb.reverse/i387-env-reverse.exp
7935 * gdb.reverse/i387-stack-reverse.exp
7936 * gdb.reverse/insn-reverse.exp
7937 * gdb.reverse/machinestate-precsave.exp
7938 * gdb.reverse/machinestate.exp
7939 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7940 * gdb.reverse/pipe-reverse.exp
7941 * gdb.reverse/readv-reverse.exp
7942 * gdb.reverse/recvmsg-reverse.exp
7943 * gdb.reverse/rerun-prec.exp
7944 * gdb.reverse/s390-mvcle.exp
7945 * gdb.reverse/step-precsave.exp
7946 * gdb.reverse/step-reverse.exp
7947 * gdb.reverse/time-reverse.exp
7948 * gdb.reverse/until-precsave.exp
7949 * gdb.reverse/until-reverse.exp
7950 * gdb.reverse/waitpid-reverse.exp
7951 * gdb.reverse/watch-precsave.exp
7952 * gdb.reverse/watch-reverse.exp
7953 * gdb.rust/generics.exp
7954 * gdb.rust/methods.exp
7955 * gdb.rust/modules.exp
7956 * gdb.rust/simple.exp
7957 * gdb.server/connect-with-no-symbol-file.exp
7958 * gdb.server/ext-attach.exp
7959 * gdb.server/ext-restart.exp
7960 * gdb.server/ext-wrapper.exp
7961 * gdb.server/file-transfer.exp
7962 * gdb.server/server-exec-info.exp
7963 * gdb.server/server-kill.exp
7964 * gdb.server/server-mon.exp
7965 * gdb.server/wrapper.exp
7966 * gdb.stabs/exclfwd.exp
7967 * gdb.stabs/gdb11479.exp
7968 * gdb.threads/clone-new-thread-event.exp
7969 * gdb.threads/corethreads.exp
7970 * gdb.threads/current-lwp-dead.exp
7971 * gdb.threads/dlopen-libpthread.exp
7972 * gdb.threads/gcore-thread.exp
7973 * gdb.threads/sigstep-threads.exp
7974 * gdb.threads/watchpoint-fork.exp
7975 * gdb.trace/actions-changed.exp
7976 * gdb.trace/backtrace.exp
7977 * gdb.trace/change-loc.exp
7978 * gdb.trace/circ.exp
7979 * gdb.trace/collection.exp
7980 * gdb.trace/disconnected-tracing.exp
7981 * gdb.trace/ftrace.exp
7982 * gdb.trace/mi-trace-frame-collected.exp
7983 * gdb.trace/mi-trace-unavailable.exp
7984 * gdb.trace/mi-traceframe-changed.exp
7985 * gdb.trace/mi-tsv-changed.exp
7986 * gdb.trace/no-attach-trace.exp
7987 * gdb.trace/passc-dyn.exp
7988 * gdb.trace/qtro.exp
7989 * gdb.trace/range-stepping.exp
7990 * gdb.trace/read-memory.exp
7991 * gdb.trace/save-trace.exp
7992 * gdb.trace/signal.exp
7993 * gdb.trace/status-stop.exp
7994 * gdb.trace/tfile.exp
7995 * gdb.trace/trace-break.exp
7996 * gdb.trace/trace-buffer-size.exp
7997 * gdb.trace/trace-condition.exp
7998 * gdb.trace/tracefile-pseudo-reg.exp
7999 * gdb.trace/tstatus.exp
8000 * gdb.trace/unavailable.exp
8001 * gdb.trace/while-dyn.exp
8002 * gdb.trace/while-stepping.exp
8003
34c41c68
DE
80042016-12-22 Doug Evans <xdje42@gmail.com>
8005
8006 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8007 and msymbols.
8008
16e69324
YQ
80092016-12-19 Yao Qi <yao.qi@linaro.org>
8010
8011 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8012 (test_with_self): Don't call do_steps_and_nexts, and remove
8013 code about stepping into xmalloc.
8014
f94f411b
YQ
80152016-12-09 Yao Qi <yao.qi@linaro.org>
8016
8017 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8018
80192016-12-09 Yao Qi <yao.qi@linaro.org>
8020
8021 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8022
f1b5deee
PA
80232016-12-09 Pedro Alves <palves@redhat.com>
8024
8025 * gdb.base/all-architectures-0.exp: New file.
8026 * gdb.base/all-architectures-1.exp: New file.
8027 * gdb.base/all-architectures-2.exp: New file.
8028 * gdb.base/all-architectures-3.exp: New file.
8029 * gdb.base/all-architectures-4.exp: New file.
8030 * gdb.base/all-architectures-5.exp: New file.
8031 * gdb.base/all-architectures-6.exp: New file.
8032 * gdb.base/all-architectures-7.exp: New file.
8033 * gdb.base/all-architectures.exp.in: New file.
8034
364ca42e
YQ
80352016-12-09 Yao Qi <yao.qi@linaro.org>
8036
8037 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8038
107c2d62
LM
80392016-12-02 Luis Machado <lgustavo@codesourcery.com>
8040
8041 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8042 possible.
8043 Remove useless pattern-matching code.
8044
df3ee9ca
PA
80452016-12-02 Pedro Alves <palves@redhat.com>
8046
8047 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8048 procedure.
8049 (top level): Call it.
8050
ec835369
PA
80512016-12-02 Pedro Alves <palves@redhat.com>
8052
8053 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8054 New procedure.
8055 (top level): Call it.
8056
01770bbd
PA
80572016-12-02 Pedro Alves <palves@redhat.com>
8058
8059 PR cli/20559
8060 * gdb.base/commands.exp (user_defined_command_args_eval): New
8061 procedure.
8062 (top level): Call it.
8063
008459ea
LM
80642016-12-02 Luis Machado <lgustavo@codesourcery.com>
8065
8066 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8067 timeout handling.
8068
0c1b455e
TT
80692016-12-02 Tom Tromey <tom@tromey.com>
8070
8071 * gdb.dwarf2/main-subprogram.c: New file.
8072 * gdb.dwarf2/main-subprogram.exp: New file.
8073
018572b8
LM
80742016-12-01 Luis Machado <lgustavo@codesourcery.com>
8075
8076 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8077 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8078 gdb_test_no_output for a couple of cases.
8079 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8080
84c93cd5
LM
80812016-12-01 Luis Machado <lgustavo@codesourcery.com>
8082
8083 Fix test names and standardize compilation error messages throughout
8084 the following files:
8085
8086 * gdb.ada/start.exp
8087 * gdb.arch/alpha-step.exp
8088 * gdb.arch/e500-prologue.exp
8089 * gdb.arch/ftrace-insn-reloc.exp
8090 * gdb.arch/gdb1291.exp
8091 * gdb.arch/gdb1431.exp
8092 * gdb.arch/gdb1558.exp
8093 * gdb.arch/i386-dr3-watch.exp
8094 * gdb.arch/i386-sse-stack-align.exp
8095 * gdb.arch/ia64-breakpoint-shadow.exp
8096 * gdb.arch/pa-nullify.exp
8097 * gdb.arch/powerpc-aix-prologue.exp
8098 * gdb.arch/thumb-bx-pc.exp
8099 * gdb.base/annota1.exp
8100 * gdb.base/annota3.exp
8101 * gdb.base/arrayidx.exp
8102 * gdb.base/assign.exp
8103 * gdb.base/attach.exp
8104 * gdb.base/auxv.exp
8105 * gdb.base/bang.exp
8106 * gdb.base/bfp-test.exp
8107 * gdb.base/bigcore.exp
8108 * gdb.base/bitfields2.exp
8109 * gdb.base/break-fun-addr.exp
8110 * gdb.base/break-probes.exp
8111 * gdb.base/call-rt-st.exp
8112 * gdb.base/callexit.exp
8113 * gdb.base/catch-fork-kill.exp
8114 * gdb.base/charset.exp
8115 * gdb.base/checkpoint.exp
8116 * gdb.base/comprdebug.exp
8117 * gdb.base/constvars.exp
8118 * gdb.base/coredump-filter.exp
8119 * gdb.base/cursal.exp
8120 * gdb.base/cvexpr.exp
8121 * gdb.base/detach.exp
8122 * gdb.base/display.exp
8123 * gdb.base/dmsym.exp
8124 * gdb.base/dprintf-pending.exp
8125 * gdb.base/dso2dso.exp
8126 * gdb.base/dtrace-probe.exp
8127 * gdb.base/dump.exp
8128 * gdb.base/enum_cond.exp
8129 * gdb.base/exe-lock.exp
8130 * gdb.base/exec-invalid-sysroot.exp
8131 * gdb.base/execl-update-breakpoints.exp
8132 * gdb.base/exprs.exp
8133 * gdb.base/fileio.exp
8134 * gdb.base/find.exp
8135 * gdb.base/finish.exp
8136 * gdb.base/fixsection.exp
8137 * gdb.base/foll-vfork.exp
8138 * gdb.base/frame-args.exp
8139 * gdb.base/gcore.exp
8140 * gdb.base/gdb1250.exp
8141 * gdb.base/global-var-nested-by-dso.exp
8142 * gdb.base/gnu-ifunc.exp
8143 * gdb.base/hashline1.exp
8144 * gdb.base/hashline2.exp
8145 * gdb.base/hashline3.exp
8146 * gdb.base/hbreak-in-shr-unsupported.exp
8147 * gdb.base/huge.exp
8148 * gdb.base/infcall-input.exp
8149 * gdb.base/info-fun.exp
8150 * gdb.base/info-shared.exp
8151 * gdb.base/jit-simple.exp
8152 * gdb.base/jit-so.exp
8153 * gdb.base/jit.exp
8154 * gdb.base/jump.exp
8155 * gdb.base/label.exp
8156 * gdb.base/lineinc.exp
8157 * gdb.base/logical.exp
8158 * gdb.base/longjmp.exp
8159 * gdb.base/macscp.exp
8160 * gdb.base/miscexprs.exp
8161 * gdb.base/new-ui-echo.exp
8162 * gdb.base/new-ui-pending-input.exp
8163 * gdb.base/new-ui.exp
8164 * gdb.base/nodebug.exp
8165 * gdb.base/nofield.exp
8166 * gdb.base/offsets.exp
8167 * gdb.base/overlays.exp
8168 * gdb.base/pending.exp
8169 * gdb.base/pointers.exp
8170 * gdb.base/pr11022.exp
8171 * gdb.base/printcmds.exp
8172 * gdb.base/prologue.exp
8173 * gdb.base/ptr-typedef.exp
8174 * gdb.base/realname-expand.exp
8175 * gdb.base/relativedebug.exp
8176 * gdb.base/relocate.exp
8177 * gdb.base/remote.exp
8178 * gdb.base/reread.exp
8179 * gdb.base/return2.exp
8180 * gdb.base/savedregs.exp
8181 * gdb.base/sep.exp
8182 * gdb.base/sepdebug.exp
8183 * gdb.base/sepsymtab.exp
8184 * gdb.base/set-inferior-tty.exp
8185 * gdb.base/setshow.exp
8186 * gdb.base/shlib-call.exp
8187 * gdb.base/sigaltstack.exp
8188 * gdb.base/siginfo-addr.exp
8189 * gdb.base/signals.exp
8190 * gdb.base/signull.exp
8191 * gdb.base/sigrepeat.exp
8192 * gdb.base/so-impl-ld.exp
8193 * gdb.base/solib-display.exp
8194 * gdb.base/solib-overlap.exp
8195 * gdb.base/solib-search.exp
8196 * gdb.base/solib-symbol.exp
8197 * gdb.base/structs.exp
8198 * gdb.base/structs2.exp
8199 * gdb.base/symtab-search-order.exp
8200 * gdb.base/twice.exp
8201 * gdb.base/unload.exp
8202 * gdb.base/varargs.exp
8203 * gdb.base/watchpoint-solib.exp
8204 * gdb.base/watchpoint.exp
8205 * gdb.base/whatis.exp
8206 * gdb.base/wrong_frame_bt_full.exp
8207 * gdb.btrace/dlopen.exp
8208 * gdb.cell/ea-standalone.exp
8209 * gdb.cell/ea-test.exp
8210 * gdb.cp/dispcxx.exp
8211 * gdb.cp/gdb2384.exp
8212 * gdb.cp/method2.exp
8213 * gdb.cp/nextoverthrow.exp
8214 * gdb.cp/pr10728.exp
8215 * gdb.disasm/am33.exp
8216 * gdb.disasm/h8300s.exp
8217 * gdb.disasm/mn10300.exp
8218 * gdb.disasm/sh3.exp
8219 * gdb.dwarf2/dw2-dir-file-name.exp
8220 * gdb.fortran/complex.exp
8221 * gdb.fortran/library-module.exp
8222 * gdb.guile/scm-pretty-print.exp
8223 * gdb.guile/scm-symbol.exp
8224 * gdb.guile/scm-type.exp
8225 * gdb.guile/scm-value.exp
8226 * gdb.linespec/linespec.exp
8227 * gdb.mi/gdb701.exp
8228 * gdb.mi/gdb792.exp
8229 * gdb.mi/mi-breakpoint-changed.exp
8230 * gdb.mi/mi-dprintf-pending.exp
8231 * gdb.mi/mi-dprintf.exp
8232 * gdb.mi/mi-exit-code.exp
8233 * gdb.mi/mi-pending.exp
8234 * gdb.mi/mi-solib.exp
8235 * gdb.mi/new-ui-mi-sync.exp
8236 * gdb.mi/pr11022.exp
8237 * gdb.mi/user-selected-context-sync.exp
8238 * gdb.opt/solib-intra-step.exp
8239 * gdb.python/py-events.exp
8240 * gdb.python/py-finish-breakpoint.exp
8241 * gdb.python/py-mi.exp
8242 * gdb.python/py-prettyprint.exp
8243 * gdb.python/py-shared.exp
8244 * gdb.python/py-symbol.exp
8245 * gdb.python/py-template.exp
8246 * gdb.python/py-type.exp
8247 * gdb.python/py-value.exp
8248 * gdb.reverse/solib-precsave.exp
8249 * gdb.reverse/solib-reverse.exp
8250 * gdb.server/solib-list.exp
8251 * gdb.stabs/weird.exp
8252 * gdb.threads/reconnect-signal.exp
8253 * gdb.threads/stepi-random-signal.exp
8254 * gdb.trace/actions.exp
8255 * gdb.trace/ax.exp
8256 * gdb.trace/backtrace.exp
8257 * gdb.trace/change-loc.exp
8258 * gdb.trace/deltrace.exp
8259 * gdb.trace/ftrace-lock.exp
8260 * gdb.trace/ftrace.exp
8261 * gdb.trace/infotrace.exp
8262 * gdb.trace/mi-tracepoint-changed.exp
8263 * gdb.trace/packetlen.exp
8264 * gdb.trace/passcount.exp
8265 * gdb.trace/pending.exp
8266 * gdb.trace/range-stepping.exp
8267 * gdb.trace/report.exp
8268 * gdb.trace/stap-trace.exp
8269 * gdb.trace/tfind.exp
8270 * gdb.trace/trace-break.exp
8271 * gdb.trace/trace-condition.exp
8272 * gdb.trace/trace-enable-disable.exp
8273 * gdb.trace/trace-mt.exp
8274 * gdb.trace/tracecmd.exp
8275 * gdb.trace/tspeed.exp
8276 * gdb.trace/tsv.exp
8277 * lib/perftest.exp
8278
fb9feb35
LM
82792016-12-01 Luis Machado <lgustavo@codesourcery.com>
8280
8281 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8282 with gdb_test_no_output.
8283 Use command as test name.
8284
cd2ddb6c
LM
82852016-12-01 Luis Machado <lgustavo@codesourcery.com>
8286
8287 Fix test names starting with uppercase throughout the files.
8288
8289 * gdb.ada/assign_1.exp
8290 * gdb.ada/boolean_expr.exp
8291 * gdb.base/arrayidx.exp
8292 * gdb.base/del.exp
8293 * gdb.base/gcore-buffer-overflow.exp
8294 * gdb.base/testenv.exp
8295 * gdb.compile/compile.exp
8296 * gdb.python/py-framefilter-invalidarg.exp
8297 * gdb.python/py-framefilter.exp
8298
bb95117e
LM
82992016-12-01 Luis Machado <lgustavo@codesourcery.com>
8300
8301 Fix test names starting with uppercase throughout the files.
8302
8303 * gdb.ada/array_return.exp
8304 * gdb.ada/expr_delims.exp
8305 * gdb.ada/mi_dyn_arr.exp
8306 * gdb.ada/mi_interface.exp
8307 * gdb.ada/mi_var_array.exp
8308 * gdb.ada/watch_arg.exp
8309 * gdb.arch/alpha-step.exp
8310 * gdb.arch/altivec-regs.exp
8311 * gdb.arch/e500-regs.exp
8312 * gdb.arch/powerpc-d128-regs.exp
8313 * gdb.base/arrayidx.exp
8314 * gdb.base/break.exp
8315 * gdb.base/checkpoint.exp
8316 * gdb.base/debug-expr.exp
8317 * gdb.base/dmsym.exp
8318 * gdb.base/radix.exp
8319 * gdb.base/sepdebug.exp
8320 * gdb.base/testenv.exp
8321 * gdb.base/watch_thread_num.exp
8322 * gdb.base/watchpoint-cond-gone.exp
8323 * gdb.cell/break.exp
8324 * gdb.cell/ea-cache.exp
8325 * gdb.compile/compile.exp
8326 * gdb.cp/gdb2495.exp
8327 * gdb.gdb/selftest.exp
8328 * gdb.gdb/xfullpath.exp
8329 * gdb.go/hello.exp
8330 * gdb.go/integers.exp
8331 * gdb.objc/basicclass.exp
8332 * gdb.pascal/hello.exp
8333 * gdb.pascal/integers.exp
8334 * gdb.python/py-breakpoint.exp
8335 * gdb.python/py-cmd.exp
8336 * gdb.python/py-linetable.exp
8337 * gdb.python/py-xmethods.exp
8338 * gdb.python/python.exp
8339 * gdb.reverse/consecutive-precsave.exp
8340 * gdb.reverse/finish-precsave.exp
8341 * gdb.reverse/i386-precsave.exp
8342 * gdb.reverse/machinestate-precsave.exp
8343 * gdb.reverse/sigall-precsave.exp
8344 * gdb.reverse/solib-precsave.exp
8345 * gdb.reverse/step-precsave.exp
8346 * gdb.reverse/until-precsave.exp
8347 * gdb.reverse/watch-precsave.exp
8348 * gdb.threads/leader-exit.exp
8349 * gdb.threads/pthreads.exp
8350 * gdb.threads/wp-replication.exp
8351 * gdb.trace/actions.exp
8352 * gdb.trace/mi-tsv-changed.exp
8353 * gdb.trace/tsv.exp
8354
de97fdd4
LM
83552016-12-01 Luis Machado <lgustavo@codesourcery.com>
8356
8357 Fix test names starting with uppercase throughout the files.
8358
8359 * gdb.arch/i386-bp_permanent.exp
8360 * gdb.arch/i386-gnu-cfi.exp
8361 * gdb.base/disasm-end-cu.exp
8362 * gdb.base/macscp.exp
8363 * gdb.base/pending.exp
8364 * gdb.base/watch_thread_num.exp
8365 * gdb.cp/exception.exp
8366 * gdb.cp/gdb2495.exp
8367 * gdb.cp/local.exp
8368 * gdb.python/py-evsignal.exp
8369 * gdb.python/python.exp
8370 * gdb.trace/tracecmd.exp
8371
9f058c10
LM
83722016-12-01 Luis Machado <lgustavo@codesourcery.com>
8373
8374 Fix test names starting with uppercase throughout the files.
8375
8376 * gdb.base/charset.exp
8377 * gdb.base/eval.exp
8378 * gdb.base/multi-forks.exp
8379 * gdb.guile/scm-progspace.exp
8380 * gdb.opencl/datatypes.exp
8381 * gdb.python/py-block.exp
8382 * gdb.python/py-function.exp
8383 * gdb.python/py-symbol.exp
8384 * gdb.python/py-symtab.exp
8385 * gdb.python/py-xmethods.exp
8386 * gdb.reverse/break-precsave.exp
8387 * gdb.reverse/break-reverse.exp
8388 * gdb.reverse/consecutive-precsave.exp
8389 * gdb.reverse/consecutive-reverse.exp
8390 * gdb.reverse/finish-precsave.exp
8391 * gdb.reverse/finish-reverse-bkpt.exp
8392 * gdb.reverse/finish-reverse.exp
8393 * gdb.reverse/fstatat-reverse.exp
8394 * gdb.reverse/getresuid-reverse.exp
8395 * gdb.reverse/i386-precsave.exp
8396 * gdb.reverse/i386-reverse.exp
8397 * gdb.reverse/i386-sse-reverse.exp
8398 * gdb.reverse/i387-stack-reverse.exp
8399 * gdb.reverse/insn-reverse.exp
8400 * gdb.reverse/machinestate-precsave.exp
8401 * gdb.reverse/machinestate.exp
8402 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8403 * gdb.reverse/pipe-reverse.exp
8404 * gdb.reverse/readv-reverse.exp
8405 * gdb.reverse/recvmsg-reverse.exp
8406 * gdb.reverse/rerun-prec.exp
8407 * gdb.reverse/s390-mvcle.exp
8408 * gdb.reverse/sigall-precsave.exp
8409 * gdb.reverse/sigall-reverse.exp
8410 * gdb.reverse/solib-precsave.exp
8411 * gdb.reverse/solib-reverse.exp
8412 * gdb.reverse/step-precsave.exp
8413 * gdb.reverse/step-reverse.exp
8414 * gdb.reverse/time-reverse.exp
8415 * gdb.reverse/until-precsave.exp
8416 * gdb.reverse/until-reverse.exp
8417 * gdb.reverse/waitpid-reverse.exp
8418 * gdb.reverse/watch-precsave.exp
8419 * gdb.reverse/watch-reverse.exp
8420
cdc7edd7
LM
84212016-12-01 Luis Machado <lgustavo@codesourcery.com>
8422
8423 Fix test names starting with uppercase throughout the files.
8424
8425 * gdb.arch/i386-mpx-simple_segv.exp
8426 * gdb.arch/i386-mpx.exp
8427 * gdb.arch/i386-permbkpt.exp
8428 * gdb.arch/pa-nullify.exp
8429 * gdb.arch/powerpc-d128-regs.exp
8430 * gdb.arch/vsx-regs.exp
8431 * gdb.base/bfp-test.exp
8432 * gdb.base/break.exp
8433 * gdb.base/breakpoint-shadow.exp
8434 * gdb.base/callfuncs.exp
8435 * gdb.base/charset.exp
8436 * gdb.base/commands.exp
8437 * gdb.base/completion.exp
8438 * gdb.base/dfp-test.exp
8439 * gdb.base/echo.exp
8440 * gdb.base/ending-run.exp
8441 * gdb.base/eval.exp
8442 * gdb.base/expand-psymtabs.exp
8443 * gdb.base/float128.exp
8444 * gdb.base/floatn.exp
8445 * gdb.base/foll-exec-mode.exp
8446 * gdb.base/gdb1056.exp
8447 * gdb.base/gdb11531.exp
8448 * gdb.base/kill-after-signal.exp
8449 * gdb.base/multi-forks.exp
8450 * gdb.base/overlays.exp
8451 * gdb.base/pending.exp
8452 * gdb.base/sepdebug.exp
8453 * gdb.base/testenv.exp
8454 * gdb.base/valgrind-db-attach.exp
8455 * gdb.base/watch_thread_num.exp
8456 * gdb.base/watchpoint-cond-gone.exp
8457 * gdb.base/watchpoint.exp
8458 * gdb.base/watchpoints.exp
8459 * gdb.cp/arg-reference.exp
8460 * gdb.cp/baseenum.exp
8461 * gdb.cp/operator.exp
8462 * gdb.cp/shadow.exp
8463 * gdb.dwarf2/dw2-op-out-param.exp
8464 * gdb.dwarf2/dw2-reg-undefined.exp
8465 * gdb.go/chan.exp
8466 * gdb.go/hello.exp
8467 * gdb.go/integers.exp
8468 * gdb.go/methods.exp
8469 * gdb.go/package.exp
8470 * gdb.guile/scm-parameter.exp
8471 * gdb.guile/scm-progspace.exp
8472 * gdb.guile/scm-value.exp
8473 * gdb.mi/mi-pending.exp
8474 * gdb.mi/user-selected-context-sync.exp
8475 * gdb.multi/multi-attach.exp
8476 * gdb.multi/tids.exp
8477 * gdb.opt/clobbered-registers-O2.exp
8478 * gdb.pascal/floats.exp
8479 * gdb.pascal/integers.exp
8480 * gdb.python/py-block.exp
8481 * gdb.python/py-events.exp
8482 * gdb.python/py-parameter.exp
8483 * gdb.python/py-symbol.exp
8484 * gdb.python/py-symtab.exp
8485 * gdb.python/py-type.exp
8486 * gdb.python/py-value.exp
8487 * gdb.python/py-xmethods.exp
8488 * gdb.python/python.exp
8489 * gdb.reverse/break-precsave.exp
8490 * gdb.reverse/consecutive-precsave.exp
8491 * gdb.reverse/finish-precsave.exp
8492 * gdb.reverse/i386-precsave.exp
8493 * gdb.reverse/machinestate-precsave.exp
8494 * gdb.reverse/sigall-precsave.exp
8495 * gdb.reverse/solib-precsave.exp
8496 * gdb.reverse/step-precsave.exp
8497 * gdb.reverse/until-precsave.exp
8498 * gdb.reverse/watch-precsave.exp
8499 * gdb.server/ext-attach.exp
8500 * gdb.server/ext-restart.exp
8501 * gdb.server/ext-run.exp
8502 * gdb.server/ext-wrapper.exp
8503 * gdb.stabs/gdb11479.exp
8504 * gdb.stabs/weird.exp
8505 * gdb.threads/attach-many-short-lived-threads.exp
8506 * gdb.threads/kill.exp
8507 * gdb.threads/watchpoint-fork.exp
8508
bc6c7af4
LM
85092016-12-01 Luis Machado <lgustavo@codesourcery.com>
8510
8511 Fix test names starting with uppercase throughout all the files below.
8512
8513 * gdb.ada/array_return.exp
8514 * gdb.ada/catch_ex.exp
8515 * gdb.ada/info_exc.exp
8516 * gdb.ada/mi_catch_ex.exp
8517 * gdb.ada/mi_dyn_arr.exp
8518 * gdb.ada/mi_ex_cond.exp
8519 * gdb.ada/mi_exc_info.exp
8520 * gdb.ada/mi_interface.exp
8521 * gdb.ada/mi_task_arg.exp
8522 * gdb.ada/mi_task_info.exp
8523 * gdb.ada/mi_var_array.exp
8524 * gdb.arch/alpha-step.exp
8525 * gdb.arch/amd64-disp-step.exp
8526 * gdb.arch/arm-disp-step.exp
8527 * gdb.arch/disp-step-insn-reloc.exp
8528 * gdb.arch/e500-prologue.exp
8529 * gdb.arch/ftrace-insn-reloc.exp
8530 * gdb.arch/gdb1558.exp
8531 * gdb.arch/i386-bp_permanent.exp
8532 * gdb.arch/i386-disp-step.exp
8533 * gdb.arch/i386-float.exp
8534 * gdb.arch/i386-gnu-cfi.exp
8535 * gdb.arch/ia64-breakpoint-shadow.exp
8536 * gdb.arch/mips16-thunks.exp
8537 * gdb.arch/pa-nullify.exp
8538 * gdb.arch/powerpc-aix-prologue.exp
8539 * gdb.arch/powerpc-power.exp
8540 * gdb.arch/ppc-dfp.exp
8541 * gdb.arch/s390-tdbregs.exp
8542 * gdb.arch/spu-info.exp
8543 * gdb.arch/spu-ls.exp
8544 * gdb.arch/thumb-bx-pc.exp
8545 * gdb.base/advance.exp
8546 * gdb.base/annota-input-while-running.exp
8547 * gdb.base/arrayidx.exp
8548 * gdb.base/asmlabel.exp
8549 * gdb.base/async.exp
8550 * gdb.base/attach-wait-input.exp
8551 * gdb.base/auto-connect-native-target.exp
8552 * gdb.base/batch-preserve-term-settings.exp
8553 * gdb.base/bfp-test.exp
8554 * gdb.base/bigcore.exp
8555 * gdb.base/bp-permanent.exp
8556 * gdb.base/break-always.exp
8557 * gdb.base/break-fun-addr.exp
8558 * gdb.base/break-idempotent.exp
8559 * gdb.base/break-main-file-remove-fail.exp
8560 * gdb.base/break-probes.exp
8561 * gdb.base/break-unload-file.exp
8562 * gdb.base/break.exp
8563 * gdb.base/call-ar-st.exp
8564 * gdb.base/call-rt-st.exp
8565 * gdb.base/call-sc.exp
8566 * gdb.base/call-signal-resume.exp
8567 * gdb.base/call-strs.exp
8568 * gdb.base/callexit.exp
8569 * gdb.base/callfuncs.exp
8570 * gdb.base/catch-gdb-caused-signals.exp
8571 * gdb.base/catch-signal-siginfo-cond.exp
8572 * gdb.base/catch-syscall.exp
8573 * gdb.base/compare-sections.exp
8574 * gdb.base/cond-eval-mode.exp
8575 * gdb.base/condbreak-call-false.exp
8576 * gdb.base/consecutive-step-over.exp
8577 * gdb.base/cursal.exp
8578 * gdb.base/disabled-location.exp
8579 * gdb.base/disasm-end-cu.exp
8580 * gdb.base/display.exp
8581 * gdb.base/double-prompt-target-event-error.exp
8582 * gdb.base/dprintf-bp-same-addr.exp
8583 * gdb.base/dprintf-detach.exp
8584 * gdb.base/dprintf-next.exp
8585 * gdb.base/dprintf-non-stop.exp
8586 * gdb.base/dprintf-pending.exp
8587 * gdb.base/dso2dso.exp
8588 * gdb.base/ending-run.exp
8589 * gdb.base/enum_cond.exp
8590 * gdb.base/examine-backward.exp
8591 * gdb.base/exe-lock.exp
8592 * gdb.base/exec-invalid-sysroot.exp
8593 * gdb.base/execl-update-breakpoints.exp
8594 * gdb.base/execution-termios.exp
8595 * gdb.base/fileio.exp
8596 * gdb.base/fixsection.exp
8597 * gdb.base/foll-exec-mode.exp
8598 * gdb.base/foll-exec.exp
8599 * gdb.base/fork-running-state.exp
8600 * gdb.base/frame-args.exp
8601 * gdb.base/fullpath-expand.exp
8602 * gdb.base/func-ptr.exp
8603 * gdb.base/gcore-relro-pie.exp
8604 * gdb.base/gdb1090.exp
8605 * gdb.base/gdb1555.exp
8606 * gdb.base/global-var-nested-by-dso.exp
8607 * gdb.base/gnu-ifunc.exp
8608 * gdb.base/hbreak-in-shr-unsupported.exp
8609 * gdb.base/hbreak-unmapped.exp
8610 * gdb.base/hook-stop.exp
8611 * gdb.base/infcall-input.exp
8612 * gdb.base/info-fun.exp
8613 * gdb.base/info-shared.exp
8614 * gdb.base/interrupt-noterm.exp
8615 * gdb.base/jit-so.exp
8616 * gdb.base/jit.exp
8617 * gdb.base/line-symtabs.exp
8618 * gdb.base/list.exp
8619 * gdb.base/longjmp.exp
8620 * gdb.base/macscp.exp
8621 * gdb.base/max-value-size.exp
8622 * gdb.base/nodebug.exp
8623 * gdb.base/nofield.exp
8624 * gdb.base/overlays.exp
8625 * gdb.base/paginate-after-ctrl-c-running.exp
8626 * gdb.base/paginate-bg-execution.exp
8627 * gdb.base/paginate-inferior-exit.exp
8628 * gdb.base/pending.exp
8629 * gdb.base/pr11022.exp
8630 * gdb.base/printcmds.exp
8631 * gdb.base/ptr-typedef.exp
8632 * gdb.base/ptype.exp
8633 * gdb.base/randomize.exp
8634 * gdb.base/range-stepping.exp
8635 * gdb.base/realname-expand.exp
8636 * gdb.base/relativedebug.exp
8637 * gdb.base/remote.exp
8638 * gdb.base/savedregs.exp
8639 * gdb.base/sepdebug.exp
8640 * gdb.base/set-noassign.exp
8641 * gdb.base/shlib-call.exp
8642 * gdb.base/shreloc.exp
8643 * gdb.base/sigaltstack.exp
8644 * gdb.base/sigbpt.exp
8645 * gdb.base/siginfo-addr.exp
8646 * gdb.base/siginfo-obj.exp
8647 * gdb.base/siginfo-thread.exp
8648 * gdb.base/signest.exp
8649 * gdb.base/signull.exp
8650 * gdb.base/sigrepeat.exp
8651 * gdb.base/skip.exp
8652 * gdb.base/so-impl-ld.exp
8653 * gdb.base/solib-corrupted.exp
8654 * gdb.base/solib-disc.exp
8655 * gdb.base/solib-display.exp
8656 * gdb.base/solib-overlap.exp
8657 * gdb.base/solib-search.exp
8658 * gdb.base/solib-symbol.exp
8659 * gdb.base/source-execution.exp
8660 * gdb.base/sss-bp-on-user-bp-2.exp
8661 * gdb.base/sss-bp-on-user-bp.exp
8662 * gdb.base/stack-checking.exp
8663 * gdb.base/stale-infcall.exp
8664 * gdb.base/step-break.exp
8665 * gdb.base/step-line.exp
8666 * gdb.base/step-over-exit.exp
8667 * gdb.base/step-test.exp
8668 * gdb.base/structs.exp
8669 * gdb.base/sym-file.exp
8670 * gdb.base/symtab-search-order.exp
8671 * gdb.base/term.exp
8672 * gdb.base/type-opaque.exp
8673 * gdb.base/unload.exp
8674 * gdb.base/until-nodebug.exp
8675 * gdb.base/until.exp
8676 * gdb.base/unwindonsignal.exp
8677 * gdb.base/watch-cond.exp
8678 * gdb.base/watch-non-mem.exp
8679 * gdb.base/watch_thread_num.exp
8680 * gdb.base/watchpoint-reuse-slot.exp
8681 * gdb.base/watchpoint-solib.exp
8682 * gdb.base/watchpoint.exp
8683 * gdb.btrace/dlopen.exp
8684 * gdb.cell/arch.exp
8685 * gdb.cell/break.exp
8686 * gdb.cell/bt.exp
8687 * gdb.cell/core.exp
8688 * gdb.cell/data.exp
8689 * gdb.cell/dwarfaddr.exp
8690 * gdb.cell/ea-cache.exp
8691 * gdb.cell/ea-standalone.exp
8692 * gdb.cell/ea-test.exp
8693 * gdb.cell/f-regs.exp
8694 * gdb.cell/fork.exp
8695 * gdb.cell/gcore.exp
8696 * gdb.cell/mem-access.exp
8697 * gdb.cell/ptype.exp
8698 * gdb.cell/registers.exp
8699 * gdb.cell/sizeof.exp
8700 * gdb.cell/solib-symbol.exp
8701 * gdb.cell/solib.exp
8702 * gdb.compile/compile-tls.exp
8703 * gdb.cp/exception.exp
8704 * gdb.cp/gdb2495.exp
8705 * gdb.cp/local.exp
8706 * gdb.cp/mb-inline.exp
8707 * gdb.cp/mb-templates.exp
8708 * gdb.cp/pr10687.exp
8709 * gdb.cp/pr9167.exp
8710 * gdb.cp/scope-err.exp
8711 * gdb.cp/templates.exp
8712 * gdb.cp/virtfunc.exp
8713 * gdb.dwarf2/dw2-dir-file-name.exp
8714 * gdb.dwarf2/dw2-single-line-discriminators.exp
8715 * gdb.fortran/complex.exp
8716 * gdb.fortran/library-module.exp
8717 * gdb.guile/guile.exp
8718 * gdb.guile/scm-cmd.exp
8719 * gdb.guile/scm-frame-inline.exp
8720 * gdb.guile/scm-objfile.exp
8721 * gdb.guile/scm-pretty-print.exp
8722 * gdb.guile/scm-symbol.exp
8723 * gdb.guile/scm-type.exp
8724 * gdb.guile/scm-value.exp
8725 * gdb.linespec/keywords.exp
8726 * gdb.linespec/ls-errs.exp
8727 * gdb.linespec/macro-relative.exp
8728 * gdb.linespec/thread.exp
8729 * gdb.mi/mi-breakpoint-changed.exp
8730 * gdb.mi/mi-dprintf-pending.exp
8731 * gdb.mi/mi-fullname-deleted.exp
8732 * gdb.mi/mi-logging.exp
8733 * gdb.mi/mi-pending.exp
8734 * gdb.mi/mi-solib.exp
8735 * gdb.mi/new-ui-mi-sync.exp
8736 * gdb.mi/user-selected-context-sync.exp
8737 * gdb.multi/dummy-frame-restore.exp
8738 * gdb.multi/multi-arch-exec.exp
8739 * gdb.multi/remove-inferiors.exp
8740 * gdb.multi/watchpoint-multi-exit.exp
8741 * gdb.opt/solib-intra-step.exp
8742 * gdb.perf/backtrace.exp
8743 * gdb.perf/single-step.exp
8744 * gdb.perf/skip-command.exp
8745 * gdb.perf/skip-prologue.exp
8746 * gdb.perf/solib.exp
8747 * gdb.python/lib-types.exp
8748 * gdb.python/py-as-string.exp
8749 * gdb.python/py-bad-printers.exp
8750 * gdb.python/py-block.exp
8751 * gdb.python/py-breakpoint.exp
8752 * gdb.python/py-cmd.exp
8753 * gdb.python/py-events.exp
8754 * gdb.python/py-evthreads.exp
8755 * gdb.python/py-finish-breakpoint.exp
8756 * gdb.python/py-finish-breakpoint2.exp
8757 * gdb.python/py-frame-inline.exp
8758 * gdb.python/py-frame.exp
8759 * gdb.python/py-inferior.exp
8760 * gdb.python/py-infthread.exp
8761 * gdb.python/py-mi.exp
8762 * gdb.python/py-objfile.exp
8763 * gdb.python/py-pp-maint.exp
8764 * gdb.python/py-pp-registration.exp
8765 * gdb.python/py-prettyprint.exp
8766 * gdb.python/py-recurse-unwind.exp
8767 * gdb.python/py-shared.exp
8768 * gdb.python/py-symbol.exp
8769 * gdb.python/py-symtab.exp
8770 * gdb.python/py-template.exp
8771 * gdb.python/py-type.exp
8772 * gdb.python/py-unwind-maint.exp
8773 * gdb.python/py-unwind.exp
8774 * gdb.python/py-value.exp
8775 * gdb.python/python.exp
8776 * gdb.reverse/finish-reverse-bkpt.exp
8777 * gdb.reverse/insn-reverse.exp
8778 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8779 * gdb.reverse/solib-precsave.exp
8780 * gdb.reverse/solib-reverse.exp
8781 * gdb.stabs/gdb11479.exp
8782 * gdb.stabs/weird.exp
8783 * gdb.threads/fork-child-threads.exp
8784 * gdb.threads/fork-plus-threads.exp
8785 * gdb.threads/fork-thread-pending.exp
8786 * gdb.threads/forking-threads-plus-breakpoint.exp
8787 * gdb.threads/hand-call-in-threads.exp
8788 * gdb.threads/interrupted-hand-call.exp
8789 * gdb.threads/linux-dp.exp
8790 * gdb.threads/local-watch-wrong-thread.exp
8791 * gdb.threads/next-while-other-thread-longjmps.exp
8792 * gdb.threads/non-ldr-exit.exp
8793 * gdb.threads/pending-step.exp
8794 * gdb.threads/print-threads.exp
8795 * gdb.threads/process-dies-while-detaching.exp
8796 * gdb.threads/process-dies-while-handling-bp.exp
8797 * gdb.threads/pthreads.exp
8798 * gdb.threads/queue-signal.exp
8799 * gdb.threads/reconnect-signal.exp
8800 * gdb.threads/signal-command-handle-nopass.exp
8801 * gdb.threads/signal-command-multiple-signals-pending.exp
8802 * gdb.threads/signal-delivered-right-thread.exp
8803 * gdb.threads/signal-sigtrap.exp
8804 * gdb.threads/sigthread.exp
8805 * gdb.threads/staticthreads.exp
8806 * gdb.threads/stepi-random-signal.exp
8807 * gdb.threads/thread-unwindonsignal.exp
8808 * gdb.threads/thread_check.exp
8809 * gdb.threads/thread_events.exp
8810 * gdb.threads/tid-reuse.exp
8811 * gdb.threads/tls-nodebug.exp
8812 * gdb.threads/tls-shared.exp
8813 * gdb.threads/tls-so_extern.exp
8814 * gdb.threads/tls.exp
8815 * gdb.threads/wp-replication.exp
8816 * gdb.trace/actions-changed.exp
8817 * gdb.trace/actions.exp
8818 * gdb.trace/backtrace.exp
8819 * gdb.trace/change-loc.exp
8820 * gdb.trace/collection.exp
8821 * gdb.trace/deltrace.exp
8822 * gdb.trace/disconnected-tracing.exp
8823 * gdb.trace/entry-values.exp
8824 * gdb.trace/ftrace-lock.exp
8825 * gdb.trace/ftrace.exp
8826 * gdb.trace/infotrace.exp
8827 * gdb.trace/mi-trace-frame-collected.exp
8828 * gdb.trace/mi-trace-unavailable.exp
8829 * gdb.trace/mi-traceframe-changed.exp
8830 * gdb.trace/mi-tracepoint-changed.exp
8831 * gdb.trace/mi-tsv-changed.exp
8832 * gdb.trace/no-attach-trace.exp
8833 * gdb.trace/packetlen.exp
8834 * gdb.trace/passc-dyn.exp
8835 * gdb.trace/passcount.exp
8836 * gdb.trace/pending.exp
8837 * gdb.trace/pr16508.exp
8838 * gdb.trace/qtro.exp
8839 * gdb.trace/range-stepping.exp
8840 * gdb.trace/read-memory.exp
8841 * gdb.trace/report.exp
8842 * gdb.trace/save-trace.exp
8843 * gdb.trace/signal.exp
8844 * gdb.trace/stap-trace.exp
8845 * gdb.trace/status-stop.exp
8846 * gdb.trace/strace.exp
8847 * gdb.trace/tfile.exp
8848 * gdb.trace/tfind.exp
8849 * gdb.trace/trace-break.exp
8850 * gdb.trace/trace-condition.exp
8851 * gdb.trace/trace-enable-disable.exp
8852 * gdb.trace/trace-mt.exp
8853 * gdb.trace/tracecmd.exp
8854 * gdb.trace/tracefile-pseudo-reg.exp
8855 * gdb.trace/tspeed.exp
8856 * gdb.trace/tstatus.exp
8857 * gdb.trace/tsv.exp
8858 * gdb.trace/unavailable.exp
8859 * gdb.trace/while-dyn.exp
8860 * gdb.trace/while-stepping.exp
8861 * lib/gdb-guile.exp
8862 * lib/gdb.exp
8863 * lib/mi-support.exp
8864 * lib/pascal.exp
8865 * lib/perftest.exp
8866 * lib/prelink-support.exp
8867 * lib/selftest-support.exp
8868
ad02e4fe
SM
88692016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8870
8871 * Makefile.in: Include disable-implicit-rules.mk.
8872
22347e55
AA
88732016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8874
8875 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8876 non-byte-aligned bit fields.
8877
da5b30da
AA
88782016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8879
8880 PR gdb/12616
8881 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8882 respects the DW_AT_data_bit_offset attribute.
8883
b593ecca
SM
88842016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8885
8886 * gdb.base/default.exp: Fix output of "set language".
8887
3b165252
SM
88882016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8889
8890 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8891 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8892 make.
8893 * configure.ac: Remove checks for the make program.
8894 * configure: Re-generate.
8895
1a2f3d7f
KB
88962016-11-16 Kevin Buettner <kevinb@redhat.com>
8897
8898 * gdb.python/py-recurse-unwind.c (main): Add loop.
8899 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8900 to read_register() and gdb.parse_and_eval(). Make each code
8901 call a separate case that can be individually tested.
8902 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8903 proc. Call cont_and_backtrace for each of the code paths that
8904 we want to test in the unwinder.
8905
b7f38fda
AA
89062016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8907
8908 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8909 the definition of struct S.
8910
1f8db343
CM
89112016-11-11 Catherine Moore <clm@codesourcery.com>
8912
8913 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8914
fad0c9fb
PA
89152016-11-09 Pedro Alves <palves@redhat.com>
8916
8917 * gdb.base/commands.exp (runto_or_return): New procedure.
8918 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8919 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8920 (progvar_simple_while_test, progvar_complex_if_while_test)
8921 (if_while_breakpoint_command_test)
8922 (infrun_breakpoint_command_test, breakpoint_command_test)
8923 (user_defined_command_test, watchpoint_command_test)
8924 (test_command_prompt_position, redefine_hook_test)
8925 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8926 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8927 multi_line_input and multi_line. Remove gdb_expect and
8928 gdb_stop_suppressing_tests uses.
8929 * lib/gdb.exp (valnum_re): New global.
8930 (multi_line_input): New procedure.
8931
8354c62c
SM
89322016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8933
8934 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8935 Remove.
8936 (test_setup): Define with proc_with_prefix.
8937 (test_cli_inferior): Likewise.
8938 (test_cli_thread): Likewise.
8939 (test_cli_frame): Likewise.
8940 (test_cli_select_frame): Likewise.
8941 (test_cli_up_down): Likewise.
8942 (test_mi_thread_select): Likewise.
8943 (test_mi_stack_select_frame): Likewise.
8944 (test_cli_in_mi_inferior): Likewise.
8945 (test_cli_in_mi_thread): Likewise.
8946 (test_cli_in_mi_frame): Likewise.
8947 (top level): Do not use with_test_prefix_procname.
8948
64f367a2
PA
89492016-11-09 Pedro Alves <palves@redhat.com>
8950
8951 * gdb.base/commands.exp (gdbvar_simple_if_test)
8952 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8953 (progvar_simple_if_test, progvar_simple_while_test)
8954 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8955 (infrun_breakpoint_command_test, breakpoint_command_test)
8956 (user_defined_command_test, watchpoint_command_test)
8957 (test_command_prompt_position, deprecated_command_test)
8958 (bp_deleted_in_command, temporary_breakpoint_commands)
8959 (stray_arg0_test, source_file_with_indented_comment)
8960 (recursive_source_test, if_commands_test)
8961 (error_clears_commands_left, redefine_hook_test)
8962 (redefine_backtrace_test): Use proc_with_prefix.
8963 * lib/gdb.exp (proc_with_prefix): New proc.
8964
0bb65f1e
AA
89652016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8966
8967 * gdb.base/tui-layout.c: New file.
8968 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8969 disassembly window contains very long lines.
8970
7353f247
TT
89712016-11-08 Tom Tromey <tom@tromey.com>
8972
8973 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8974 depend on Python 2.
8975
30a7bb83
TT
89762016-11-08 Tom Tromey <tom@tromey.com>
8977
8978 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8979 New method.
8980
cdf5a07c
MG
89812016-10-29 Manish Goregaokar <manish@mozilla.com>
8982
2806dc7e 8983 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 8984
51a789c3
MG
89852016-10-27 Manish Goregaokar <manish@mozilla.com>
8986
2806dc7e
PA
8987 * gdb.rust/simple.rs: Add test for univariant enums without
8988 discriminants and for encoded struct-like enums.
51a789c3 8989
f610ab6d
PA
89902016-10-28 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8993 gdb_test_multiple, tighten regexps and match symtabs and line
8994 tables incrementally.
8995
b129b0ca
LM
89962016-10-28 Luis Machado <lgustavo@codesourcery.com>
8997
8998 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8999 general.
9000
ecf45d2c
SL
90012016-10-25 Luis Machado <lgustavo@codesourcery.com>
9002
9003 * gdb.base/exec-invalid-sysroot.exp: New file.
9004
b8d38ee4
JK
90052016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9006
9007 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9008
f90fd8c2
JK
90092016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9012
2d2476aa
MR
90132016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9014
2806dc7e
PA
9015 * gdb.base/killed-outside.exp: Remove $options from a call to
9016 `prepare_for_testing'.
2d2476aa 9017
e42b25a0
SM
90182016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9019
9020 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9021 Change test message.
9022
3ccdb432
SM
90232016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9024
9025 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9026 Update comment.
9027
5bad3170
SM
90282016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9029
9030 * gdb.trace/mi-trace-save.exp: New file.
9031
5ad9dba7
YQ
90322016-10-13 Yao Qi <yao.qi@linaro.org>
9033
9034 * gdb.base/code_elim.exp (get_var_address): Remove.
9035 * gdb.base/relocate.exp: Likewise.
9036 * gdb.base/shreloc.exp: Likewise.
9037 * lib/gdb.exp (get_var_address): New.
9038
62df7e21
YQ
90392016-10-13 Yao Qi <yao.qi@linaro.org>
9040
9041 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9042 floating point tests if $skip_float_test is false.
9043
4dac951e
LM
90442016-10-12 Luis Machado <lgustavo@codesourcery.com>
9045
9046 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9047 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9048 argc values.
9049 Add 1 to argc so we guarantee distinct initial/modified argc values.
9050
8f1a8fc4
JK
90512016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9052
9053 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9054
16c85b5d
JK
90552016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9056
9057 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9058 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9059 * gdb.arch/vsx-regs.exp: Likewise.
9060
1d0e042a
YQ
90612016-10-07 Yao Qi <yao.qi@linaro.org>
9062
9063 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9064
68dadef5
MM
90652016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9066
9067 * gdb.python/python.exp: Test decode_line("*0").
9068
33fa2c6e
DE
90692016-10-06 Doug Evans <dje@google.com>
9070
9071 * gdb.python/py-value.exp (test_value_creation): Add test for large
9072 unsigned 64-bit value.
9073
9c37b5ae
TT
90742016-10-06 Tom Tromey <tom@tromey.com>
9075
9076 * gdb.compile/compile.exp: Change java tests to rust.
9077 * gdb.base/setshow.exp: Change java tests to rust.
9078 * gdb.base/default.exp: Remove java from language list.
9079 * README (Examples): Update language example.
9080 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9081 test.
9082 * lib/gdb.exp (skip_java_tests): Remove.
9083 * lib/java.exp: Remove.
9084 * gdb.java: Remove.
9085
78b86327
MR
90862016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9087
9088 * gdb.arch/mips-fcr.exp: New test.
9089 * gdb.arch/mips-fcr.c: Source for the new test.
9090
7470adbb
MR
90912016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9092
9093 * gdb.base/solib-disc.exp: Use `standard_output_file'
9094 throughout.
9095
4a556533
PA
90962016-10-06 Pedro Alves <palves@redhat.com>
9097
9098 * gdb.base/jit-simple-dl.c: New file.
9099 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9100 * gdb.base/jit-simple.c: ... this.
9101 * gdb.base/jit-simple.exp (jit_run): Delete.
9102 (build_jit): New proc.
9103 (jit_test_reread): Recompile either the main program or the shared
9104 library, depending on what is being tested. Skip changing address
9105 if caller wants to. Compare before/after addresses. If testing
9106 standalone, explicitly load the binary. Test "maint info
9107 breakpoints".
9108 (top level): Add "standalone vs shared lib" and "change address"
9109 vs "same address" axes.
9110
5a122fbc
PA
91112016-10-06 Pedro Alves <palves@redhat.com>
9112
9113 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9114 call.
9115 (jit_run): Delete.
9116 (jit_test_reread): Use with_test_prefix. Reload the main binary
9117 explicitly. Compare the before/after addresses of the JIT
9118 descriptor.
9119
ee8da4b8
DE
91202016-08-15 Doug Evans <dje@google.com>
9121
9122 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9123 for single bitfields is bool.
9124 * gdb.xml/tdesc-regs.exp: Ditto.
9125
f389f6fe
JK
91262016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9127
9128 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9129
fdebf1a4
YQ
91302016-10-05 Yao Qi <yao.qi@linaro.org>
9131
9132 * lib/gdb.exp (support_complex_tests): Return zero if
9133 gdb_skip_float_test return true.
9134
9c36d954 91352016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9136 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9137
9138 PR gdb/20487
9139 * gdb.mi/user-selected-context-sync.exp: New file.
9140 * gdb.mi/user-selected-context-sync.c: New file.
9141
4034d0ff 91422016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9143 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9144
9145 PR gdb/20487
9146 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9147 =thread-select-event check.
9148
a4297203
PB
91492016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9150
9151 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9152 the compulsory L operand changes.
9153 * gdb.arch/powerpc-power.s: Likewise.
9154
bb805577
JK
91552016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9156
9157 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9158 * gdb.base/jit-attach-pie.c: New file.
9159 * gdb.base/jit-attach-pie.exp: New file.
9160
6d61dee5
PA
91612016-09-28 Pedro Alves <palves@redhat.com>
9162
9163 * gdb.base/infcall-input.c: New file.
9164 * gdb.base/infcall-input.exp: New file.
9165
f73842fc
YQ
91662016-09-22 Yao Qi <yao.qi@linaro.org>
9167
9168 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9169 (gdb_exit): Rename it to ...
9170 (gdbserver_gdb_exit): ... Close GDBserver.
9171 (gdb_exit): New proc, call gdbserver_gdb_exit.
9172 (mi_gdb_exit): Likewise.
9173
90681dab
YQ
91742016-09-22 Yao Qi <yao.qi@linaro.org>
9175
9176 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9177 path.
9178 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9179 Remove duplication.
9180
9c211fd8
YQ
91812016-09-22 Yao Qi <yao.qi@linaro.org>
9182
9183 * lib/gdbserver-support.exp: Check the existence of
9184 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9185
ad0a504f
AK
91862016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9187
9188 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9189
36cf1806
TT
91902016-09-21 Tom Tromey <tom@tromey.com>
9191
9192 PR gdb/20604:
9193 * gdb.base/quit.exp: New file.
9194
74172ecf
SM
91952016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9196
9197 * .gitignore: New file.
9198
3d0ec882
MR
91992016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9200
9201 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9202 throughout.
9203
8193adea
AA
92042016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9205
9206 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9207
d41a5c09
JK
92082016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9209
9210 * gdb.cp/casts.cc (decltype): Move it ...
9211 (main): ... with its call to ...
9212 * gdb.cp/casts03.cc: ... a new file.
9213 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9214
d2dfe700
JK
92152016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9216
9217 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9218
e2a92b16
PB
92192016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9220
9221 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9222 and sync up the test with tests in gas/testsuite/gas/ppc.
9223 * gdb.arch/powerpc-power.exp: Likewise.
9224
49b4de64
JK
92252016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9226
9227 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9228
2c29df25
SDJ
92292016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9230 Jan Kratochvil <jan.kratochvil@redhat.com>
9231
9232 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9233 make m1's definition to be different from m2's. Use 'dummy' as an
9234 argument for probe 'two'.
9235
cc3c2846
JB
92362016-09-10 Jon Beniston <jon@beniston.com>
9237
9238 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9239 for sim target.
9240
e1b2624a
AA
92412016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9242
9243 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9244 variable declaration.
9245 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9246 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9247 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9248 received HWCAP as its argument.
9249
4295e285
PA
92502016-09-06 Pedro Alves <palves@redhat.com>
9251
9252 * gdb.base/new-ui-pending-input.c: New file.
9253 * gdb.base/new-ui-pending-input.exp: New file.
9254 * gdb.exp (clear_gdb_spawn_id): New procedure.
9255 (with_spawn_id): Check whether gdb_spawn_id exists before
9256 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9257 on exit.
9258
00d5215e
UW
92592016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9260
9261 * gdb.base/float128.c: New file.
9262 * gdb.base/float128.exp: Likewise.
9263 * gdb.base/floatn.c: Likewise.
9264 * gdb.base/floatn.exp: Likewise.
9265
a9ff5f12
UW
92662016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9267
9268 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9269
f245535c
PA
92702016-09-05 Pedro Alves <palves@redhat.com>
9271
9272 PR backtrace/19927
9273 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9274 unwinders are immediately called as side effect of "source" or
9275 "disable unwinder" commands.
9276 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9277
ae9cf263
YQ
92782016-09-02 Yao Qi <yao.qi@linaro.org>
9279
9280 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9281 is true and $type is "float" or "double".
9282
27aba047
YQ
92832016-09-02 Yao Qi <yao.qi@linaro.org>
9284
9285 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9286 true.
9287 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9288 * gdb.base/call-rt-st.exp: Likewise.
9289 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9290 return value instead of gdb,skip_float_test.
9291 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9292 (do_function_calls): Use its return value instead of
9293 gdb,skip_float_test.
9294 * gdb.base/finish.exp: Likewise.
9295 * gdb.base/funcargs.exp: Likewise.
9296 * gdb.base/return.exp: Likewise.
9297 * gdb.base/return2.exp: Likewise.
9298 * gdb.base/varargs.exp: Likewise.
9299 * lib/gdb.exp (gdb_skip_float_test): Change it to
9300 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9301
5af962df
AA
93022016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9303
9304 * gdb.multi/tids.exp: Test "thread apply all".
9305
7fac6910
JK
93062016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9307
9308 * gdb.base/default.exp (tty): Remove.
9309
bb1fe4ac
KB
93102016-08-24 Kevin Buettner <kevinb@redhat.com>
9311
2806dc7e
PA
9312 * gdb.python/py-recurse-unwind.c: New file.
9313 * gdb.python/py-recurse-unwind.py: New file.
9314 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9315
0a1ddfa6
SM
93162016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * gdb.base/set-inferior-tty.exp: New file.
9319 * gdb.base/set-inferior-tty.c: New file.
9320
d9de1fe3
PA
93212016-08-23 Pedro Alves <palves@redhat.com>
9322
9323 PR gdb/20494
9324 * gdb.base/new-ui-echo.c: New file.
9325 * gdb.base/new-ui-echo.exp: New file.
9326
e9d9abd7
YQ
93272016-08-23 Yao Qi <yao.qi@linaro.org>
9328
9329 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9330 gdbserver_spawn.
9331 * gdb.server/connect-without-multi-process.exp (do_test):
9332 Likewise.
9333
3589529e
YQ
93342016-08-23 Yao Qi <yao.qi@linaro.org>
9335
9336 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9337 standalone_txt. Delete gdb_txt and standalone_txt on host
9338 and target. Spawn the binary on target. Copy files from
9339 target to host.
9340
6bb90213
PA
93412016-08-22 Pedro Alves <palves@redhat.com>
9342
9343 PR gdb/20505
9344 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9345 with_test_prefix. Factor out bits to ...
9346 (test_no_vdso): ... this new procedure.
9347
20c2c024
CL
93482016-08-19 Carl Love <cel@us.ibm.com>
9349
9350 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9351 maintaining separate logic for constructing the output path.
9352 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9353 * gdb.arch/ppc-dfp.exp: Likewise.
9354 * gdb.arch/ppc-fp.exp: Likewise.
9355 * gdb.arch/vsx-regs.exp: Likewise.
9356 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9357 binprefix for generating the additional binary files.
9358
0646e07d
PA
93592016-08-19 Pedro Alves <palves@redhat.com>
9360
9361 * gdb.trace/mi-trace-frame-collected.exp
9362 (test_trace_frame_collected): On x32, expect two registers.
9363
46da9242
CL
93642016-08-18 Carl Love <cel@us.ibm.com>
9365
9366 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9367 and sync up the test with tests in gas/testsuite/gas/ppc.
9368 * gdb.arch/powerpc-power.exp: Likewise.
9369
eb2332d7
SM
93702016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9371
9372 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9373 expected error message.
9374
63c61e04
SM
93752016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9376
9377 * gdb.multi/remove-inferiors.exp: New file.
9378 * gdb.multi/remove-inferiors.c: New file.
9379
7b17065f
YQ
93802016-08-12 Yao Qi <yao.qi@linaro.org>
9381
9382 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9383 argument list.
9384
01d3dedf
PA
93852016-08-10 Pedro Alves <palves@redhat.com>
9386
9387 PR gdb/19187
9388 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9389 setup_kfails.
9390
3eb7562a
PA
93912016-08-09 Pedro Alves <palves@redhat.com>
9392 Simon Marchi <simon.marchi@ericsson.com>
9393
9394 PR gdb/20418
9395 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9396 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9397
80614914
PA
93982016-08-09 Pedro Alves <palves@redhat.com>
9399
9400 PR mi/20431
9401 * gdb.mi/mi-cmd-error.exp: New file.
9402
f348d89a
PA
94032016-08-09 Pedro Alves <palves@redhat.com>
9404
9405 PR gdb/18653
9406 * gdb.base/signals-state-child.c: New file.
9407 * gdb.base/signals-state-child.exp: New file.
9408 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9409
e5ca03b4
PA
94102016-08-09 Pedro Alves <palves@redhat.com>
9411
9412 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9413
282a0691
TT
94142016-08-03 Tom Tromey <tom@tromey.com>
9415
9416 PR python/18565:
9417 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9418
41bfcd63
YQ
94192016-08-01 Yao Qi <yao.qi@linaro.org>
9420
9421 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9422 variable mode to "multi-process" if $multi_process is 1, otherwise
9423 set it to "single-process".
9424
e3465b24
YQ
94252016-08-01 Yao Qi <yao.qi@linaro.org>
9426
9427 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9428 * gdb.cp/cpexprs.exp: Likewise.
9429 * gdb.cp/m-static.exp: Likewise.
9430
0b31a4bc
TT
94312016-07-26 Tom Tromey <tom@tromey.com>
9432
9433 PR python/20190:
9434 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9435 test.
9436
e0461dbb
MM
94372016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9438
9439 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9440 selecting assembly source files.
9441 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9442 assembly source files.
9443 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9444 assembly source files.
9445 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9446 selecting assembly source files.
9447
8194e927
SM
94482016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9449
9450 * gdb.base/new-ui.exp (do_test_invalid_args): New
9451 procedure.
9452
c0272db5
TW
94532016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9454
9455 * gdb.btrace/reconnect.c: New file.
9456 * gdb.btrace/reconnect.exp: New file.
9457
e3487908
GKB
94582016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9459
9460 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9461 to test_catch_syscall_group.
9462 (test_catch_syscall_group): New.
9463
12df5c00
TT
94642016-07-21 Tom Tromey <tom@tromey.com>
9465
9466 * gdb.rust/simple.rs (main): Use empty struct expression.
9467 * gdb.rust/simple.exp: Add tests for empty struct expression.
9468
bae62ee2
YQ
94692016-07-21 Yao Qi <yao.qi@linaro.org>
9470
9471 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9472 if gdb_skip_xml_test is true on some targets.
9473
b1b53fb3
YQ
94742016-07-21 Yao Qi <yao.qi@linaro.org>
9475
9476 * gdb.server/solib-list.exp: Unset last_loaded_file.
9477
027d97f8
JK
94782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9481 "step into captured_main (args)".
9482
7674d381
JK
94832016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9484
9485 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9486
72b5d099
JK
94872016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9488
9489 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9490
1f960ced
PA
94912016-07-19 Pedro Alves <palves@redhat.com>
9492
9493 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9494 * gdb.opt/inline-bt.exp: Likewise.
9495 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9496 additional_flags=-Winline.
9497 * gdb.opt/inline-locals.exp: Likewise.
9498 * gdb.opt/inline-markers.c (ATTR): Define.
9499 (inlined_fn): Use it.
9500
f25827c1
YQ
95012016-07-19 Yao Qi <yao.qi@linaro.org>
9502
9503 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9504 (test_with_self): Remove some code. Remove argument executable.
9505 (top-level): Use do_self_tests.
9506
37539ebe
DB
95072016-07-15 Zachary Welch <zwelch@codesourcery.com>
9508 Don Breazeal <donb@codesourcery.com>
9509
9510 * gdb.base/maint.exp: Escape paths used in regular expressions.
9511 * gdb.stabs/weird.exp: Likewise.
9512
dac790e1
TT
95132016-07-13 Tom Tromey <tom@tromey.com>
9514
9515 PR python/15620, PR python/18620:
9516 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9517 (test_bkpt_events): New procs.
9518
93daf339
TT
95192016-07-13 Tom Tromey <tom@tromey.com>
9520
9521 PR python/17698:
9522 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9523 test.
9524 (test_watchpoints): Likewise.
9525 (test_bkpt_pending): New proc.
9526
6571a381
TT
95272016-07-13 Tom Tromey <tom@tromey.com>
9528
9529 PR cli/18053:
9530 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9531 completion test.
9532
e8732474
JK
95332016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9534
9535 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9536 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9537 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9538 f_label.
9539 (g): Rename g_end_lbl to g_label.
9540 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9541 low_pc and high_pc.
9542 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9543
e0f3fd7c
TT
95442016-07-12 Tom Tromey <tom@tromey.com>
9545
9546 PR python/19293:
9547 * gdb.python/py-unwind-maint.exp: Update tests.
9548
3cfe46b6
YQ
95492016-07-12 Yao Qi <yao.qi@linaro.org>
9550
9551 * lib/selftest-support.exp (selftest_setup): Match the output
9552 when captured_main is inlined.
9553
4f19a0e6
WT
95542016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9555
9556 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9557 New variables.
9558 (print this%a, print this%b, print this): New tests.
9559 * gdb.fortran/derived-types.f90 (this): New object and
9560 initialization.
9561
986cf455
SM
95622016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9563
9564 * gdb.ada/arraydim.exp: Remove extra directory level in build
9565 directory.
9566
f0464b23
SM
95672016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9568
9569 * lib/ada.exp: Remove extra directory level in build directory.
9570 * gdb.ada/cond_lang.exp: Likewise.
9571 * gdb.ada/exec_changed.exp: Likewise.
9572 * gdb.ada/lang_switch.exp: Likewise.
9573
42d94011
MG
95742016-07-06 Manish Goregaokar <manish@mozilla.com>
9575
2806dc7e
PA
9576 * simple.rs: Add test for raw pointer subscripting.
9577 * simple.exp: Add test expectations.
42d94011 9578
647c264c
YQ
95792016-07-05 Yao Qi <yao.qi@linaro.org>
9580
9581 * gdb.mi/mi-reverse.exp: Match =record-started output.
9582
20aa2c60
PA
95832016-07-01 Pedro Alves <palves@redhat.com>
9584
9585 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9586 procedure.
9587 (jit_reader_test): Test the jit reader's unwinder.
9588 * gdb.base/jithost.c (jit_function_00_code): New global.
9589 (main): Use memcpy to fill in the mmapped code, instead of poking
9590 bytes manually here.
9591 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9592 value.
9593 (read_debug_info): Save the function's range.
9594 (read_sp): New function.
9595 (unwind_frame): Use it. Also unwind RBP.
9596 (get_frame_id): Use read_sp.
9597 (gdb_init_reader): Use calloc instead of malloc.
9598 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9599 parameter. Use gdb_test_multiple.
9600
ced2dffb
PA
96012016-07-01 Pedro Alves <palves@redhat.com>
9602 Antoine Tremblay <antoine.tremblay@ericsson.com>
9603
9604 * gdb.threads/process-dies-while-detaching.c: New file.
9605 * gdb.threads/process-dies-while-detaching.exp: New file.
9606
63000888
PA
96072016-07-01 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.multi/watchpoint-multi-exit.c: New file.
9610 * gdb.multi/watchpoint-multi-exit.exp: New file.
9611
038d4868
PA
96122016-06-30 Pedro Alves <palves@redhat.com>
9613
9614 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9615 unset inferior_spawn_id.
9616
994e9c83
PA
96172016-06-30 Pedro Alves <palves@redhat.com>
9618
9619 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9620 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9621
e5653468
YQ
96222016-06-29 Yao Qi <yao.qi@linaro.org>
9623
9624 * gdb.base/return.c: Add copyright header.
9625
803b47e5
TT
96262016-06-29 Tom Tromey <tom@tromey.com>
9627
9628 PR python/20129:
9629 * gdb.python/py-framefilter.exp: Add tests for setting priority
9630 and disabling of non-existent frame filter.
9631
28244707
YQ
96322016-06-29 Yao Qi <yao.qi@linaro.org>
9633
9634 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9635 0x0f07ff.
9636
a31d2f06
YQ
96372016-06-28 Yao Qi <yao.qi@linaro.org>
9638
9639 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9640 triplets. Start gdb, execute catch syscall, and continue. Check
9641 gdb's output to determine catch syscall is supported.
9642
921d8f54
MG
96432016-06-27 Manish Goregaokar <manish@mozilla.com>
9644
25d49b86
PA
9645 * gdb.rust/simple.rs: Add test for returning unit in a function.
9646 * gdb.rust/simple.exp: Add expectation for functions returning
9647 unit.
921d8f54 9648
f4952523
PMR
96492016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9650
9651 * gdb.python/py-breakpoint-create-fail.c,
9652 gdb.python/py-breakpoint-create-fail.exp,
9653 gdb.python/py-breakpoint-create-fail.py: New testcase.
9654
fccb08f8
MG
96552016-06-25 Manish Goregaokar <manish@mozilla.com>
9656
9657 PR gdb/20239
9658 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9659 * gdb.rust/simple.exp: Add test expectations for new NonZero
9660 tests.
fccb08f8 9661
6b850546
DT
96622016-06-24 David Taylor <dtaylor@emc.com>
9663
9664 * gdb.base/offsets.exp: New file.
9665 * gdb.base/offsets.c: New file.
9666
17621150
TT
96672016-06-23 Tom Tromey <tom@tromey.com>
9668
9669 PR gdb/16483:
9670 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9671 before any filters are loaded.
9672
04d59df6
WT
96732016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9674
9675 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9676 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9677 structs.
9678 * gdb.fortran/derived-type-function.exp: New file.
9679 * gdb.fortran/derived-type-function.f90: New file.
9680
9681
ac69f786
PA
96822016-06-21 Pedro Alves <palves@redhat.com>
9683
9684 * gdb.base/new-ui.exp: New file.
9685 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9686 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9687 (with_spawn_id): New procedure.
9688
49940788
PA
96892016-06-21 Pedro Alves <palves@redhat.com>
9690
9691 * gdb.mi/mi-exec-run.exp: New file.
9692
ef274d26
PA
96932016-06-21 Pedro Alves <palves@redhat.com>
9694
9695 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9696 breakpoint command's output on the main UI.
9697 (test_break): New procedure, factored out from calls in the top
9698 level.
9699 (top level): Use foreach_with_prefix to test MI as main UI and as
9700 separate UI.
9701
468afe6c
PA
97022016-06-21 Pedro Alves <palves@redhat.com>
9703
9704 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9705 (test_awatch_creation_and_listing)
9706 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9707 Remove 'type' parameter.
9708 (test_watchpoint_all): New parameter mi_mode. Remove
9709 with_test_prefix.
9710 (top level): Use foreach_with_prefix, and add main/separate UI MI
9711 testing axis.
9712
51f77c37
PA
97132016-06-21 Pedro Alves <palves@redhat.com>
9714
9715 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9716 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9717 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9718 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9719 (gdb_main_spawn_id, mi_spawn_id): Declare and
9720 comment.
9721 (mi_create_inferior_pty): New procedure,
9722 factored out from default_mi_gdb_start.
9723 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9724 procedures.
9725 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9726 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9727 Use mi_create_inferior_pty.
9728 (mi_gdb_start): Use eval to pass down args list.
9729
8980e177
PA
97302016-06-21 Pedro Alves <palves@redhat.com>
9731
9732 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9733 * gdb.opt/inline-cmds.exp: Add MI tests.
9734
f38d3ad1
PA
97352016-06-21 Pedro Alves <palves@redhat.com>
9736
9737 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9738
45db7c09
PA
97392016-06-21 Pedro Alves <palves@redhat.com>
9740
9741 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9742 (top level): Use it instead of mi_execute_to.
9743
5a069ab3
PA
97442016-06-21 Pedro Alves <palves@redhat.com>
9745
9746 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9747 (cont_handler_str): New.
9748 (signal_stop_handler): Set stop_handler_str instead of printing to
9749 stdout.
9750 (continue_handler): Set cont_handler_str instead of printing to
9751 stdout.
9752 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9753 mi_send_resuming_command. Print stop_handler_str and
9754 cont_handler_str instead of expecting the python events print
9755 directly.
9756
2838cc1d
SD
97572016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9758
9759 * gdb.base/jit-reader.exp: New file.
9760 * gdb.base/jithost.c: New file.
9761 * gdb.base/jithost.h: New file.
9762 * gdb.base/jitreader.c : New file.
9763 * gdb.base/jit-protocol.h: New file.
9764
21a77091
YQ
97652016-06-17 Yao Qi <yao.qi@linaro.org>
9766
9767 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9768 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9769 and detach-on-fork. Adjust tests.
9770 (top level): Invoke break_cond_on_syscall with combinations of
9771 syscall, follow-fork-mode and detach-on-fork.
9772
f50bf8e5
YQ
97732016-06-17 Yao Qi <yao.qi@linaro.org>
9774
9775 * gdb.base/step-over-exit.c: New.
9776 * gdb.base/step-over-exit.exp: New.
9777
a28d8e50
YTL
97782016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9779
9780 * gdb.base/float.exp: Add target check for nds32*-*-*.
9781 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9782
cad8e26d
AB
97832016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9784
9785 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9786 for unsupported target features.
9787 * gdb.base/call-rt-st.exp: Likewise.
9788 * gdb.base/call-sc.exp: Likewise.
9789 * gdb.base/call-signal-resume.exp: Likewise.
9790 * gdb.base/call-strs.exp: Likewise.
9791 * gdb.base/callexit.exp: Likewise.
9792 * gdb.base/callfuncs.exp: Likewise.
9793 * gdb.base/nodebug.exp: Likewise.
9794 * gdb.base/printcmds.exp: Likewise.
9795 * gdb.base/ptype.exp: Likewise.
9796 * gdb.base/structs.exp: Likewise.
9797 * gdb.base/unwindonsignal.exp: Likewise.
9798 * gdb.cp/gdb2495.exp: Likewise.
9799 * gdb.cp/templates.exp: Likewise.
9800 * gdb.cp/virtfunc.exp: Likewise.
9801 * gdb.threads/hand-call-in-threads.exp: Likewise.
9802 * gdb.threads/interrupted-hand-call.exp: Likewise.
9803 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9804
347dc102
TT
98052016-06-10 Tom Tromey <tom@tromey.com>
9806
9807 PR rust/20110:
9808 * gdb.rust/expr.exp: Add test for integer constant larger than
9809 i32.
9810
5e13cf25
BH
98112016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9812
9813 * gdb.fortran/nested-funcs.exp: New.
9814 * gdb.fortran/nested-funcs.f90: New.
9815
bb556f1f
TK
98162016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9817
9818 * gdb.base/examine-backward.c: New file.
9819 * gdb.base/examine-backward.exp: New file.
9820
38b022b4
SM
98212016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9822
9823 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9824 matching.
9825
1b40ec05
TT
98262016-06-02 Tom Tromey <tom@tromey.com>
9827
9828 PR python/18984:
9829 * gdb.python/py-shared.exp: Add solib_name test.
9830
193bd378
SM
98312016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9832
9833 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9834
3326303b
MG
98352016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9836
9837 PR c++/19893
9838 * gdb.dwarf2/implref.exp: Rename to...
9839 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9840 * gdb.dwarf2/implref-array.c: New file.
9841 * gdb.dwarf2/implref-array.exp: Likewise.
9842 * gdb.dwarf2/implref-global.c: Likewise.
9843 * gdb.dwarf2/implref-global.exp: Likewise.
9844 * gdb.dwarf2/implref-struct.c: Likewise.
9845 * gdb.dwarf2/implref-struct.exp: Likewise.
9846
825c8ef2
AT
98472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9848
9849 * gdb.trace/trace-condition.exp: Add 64bit tests.
9850
2320162a
AT
98512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9852
9853 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9854 bits types.
9855 (main): Adapt to 8 to 64 bits types.
9856 * gdb.trace/trace-condition.exp: Add new tests.
9857
a7818233
AT
98582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9859
9860 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9861
0d336466
AT
98622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9863
9864 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9865 Move condition tests...
9866 * gdb.trace/trace-condition.exp: Here.
9867
7faeb45a
AT
98682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9869
9870 * gdb.trace/trace-condition.exp: Add counter-case tests.
9871
e385593e
JK
98722016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9873
9874 PR c++/15231
9875 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9876 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9877
744608cc
PA
98782016-05-27 Pedro Alves <palves@redhat.com>
9879
9880 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9881 New procedure.
9882 (top level): Call it, and bail out of DejaGnu is known to be bad.
9883
ac775bf4
AB
98842016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9885
9886 * gdb.base/whatis.c: Extend the test case.
9887 * gdb.base/whatis.exp: Add additional tests.
9888
2bbad2ea
BH
98892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9890
9891* gdb.fortran/type.f90: Add pointer variable.
9892* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9893
8b70175d
BH
98942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9895
9896 * gdb.fortran/vla-type.exp: Fix testcase name.
9897
86d8a848
BH
98982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9899
9900 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9901
e188eb36
BH
99022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9903
9904 * gdb.fortran/type.f90: Add nested structures.
9905 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9906 * gdb.fortran/derived-type.exp: Adapt expected output.
9907 * gdb.fortran/vla-type.exp: Adapt expected output.
9908
9b2db1fd
BH
99092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9910
9911 * gdb.fortran/whatis_type.exp: Adapt expected output.
9912
72b17055
BH
99132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9914
9915 * gdb.fortran/print_type.exp: Fix expected output.
9916 * gdb.fortran/whatis_type.exp: Fix expected output.
9917
3cd81d8d
BH
99182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9919
9920 * gdb.fortran/whatis_type.exp: Use multi_line.
9921
ddae9462
TT
99222016-05-24 Tom Tromey <tom@tromey.com>
9923
9924 PR python/17386:
9925 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9926 use value as an index.
9927
1957f6b8
TT
99282016-05-23 Tom Tromey <tom@tromey.com>
9929
9930 PR python/17981:
9931 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9932 no-breakpoint case.
9933
026a9174
PA
99342016-05-24 Pedro Alves <palves@redhat.com>
9935
9936 PR gdb/19828
9937 * gdb.threads/clone-attach-detach.c: New file.
9938 * gdb.threads/clone-attach-detach.exp: New file.
9939
e70a7231
FR
99402016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9941
9942 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9943
0f6ed0e0
TT
99442016-05-23 Tom Tromey <tom@tromey.com>
9945
9946 PR python/19438, PR python/18393:
9947 * gdb.python/py-progspace.exp: Add "dir" test.
9948 * gdb.python/py-objfile.exp: Add "dir" test.
9949
ffd19d61
YQ
99502016-05-23 Yao Qi <yao.qi@linaro.org>
9951
9952 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9953 * gdb.arch/thumb2-it.exp: Likewise.
9954
9e8f9b05
SM
99552016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9956
9957 * gdb.mi/mi-threads-interrupt.c: New file.
9958 * gdb.mi/mi-threads-interrupt.exp: New file.
9959
61c6156d
SM
99602016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9961
9962 PR gdb/18077
9963 * gdb.mi/mi-async-run.exp: New file.
9964 * gdb.mi/mi-async-run.c: New file.
9965
67218854
TT
99662016-05-17 Tom Tromey <tom@tromey.com>
9967 Manish Goregaokar <manishsmail@gmail.com>
9968
9969 * lib/rust-support.exp: New file.
9970 * lib/gdb.exp (skip_rust_tests): New proc.
9971 (build_executable_from_specs): Handle rust.
9972 * lib/future.exp (gdb_find_rustc): New proc.
9973 (gdb_default_target_compile): Handle rust.
9974 * gdb.rust/expr.exp: New file.
9975 * gdb.rust/generics.exp: New file.
9976 * gdb.rust/generics.rs: New file.
9977 * gdb.rust/methods.exp: New file.
9978 * gdb.rust/methods.rs: New file.
9979 * gdb.rust/modules.exp: New file.
9980 * gdb.rust/modules.rs: New file.
9981 * gdb.rust/simple.exp: New file.
9982 * gdb.rust/simple.rs: New file.
9983
c44af4eb
TT
99842016-05-17 Tom Tromey <tom@tromey.com>
9985
9986 * gdb.base/default.exp (set language): Add rust.
9987
dcd1f979
TT
99882016-05-17 Tom Tromey <tom@tromey.com>
9989
9990 * gdb.gdb/unittest.exp: New file.
9991
155b7f57
YQ
99922016-05-16 Yao Qi <yao.qi@linaro.org>
9993
9994 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9995 shell_prompt. Update shell_prompt_re.
9996
8ddd5a6c
DE
99972016-05-12 Doug Evans <dje@google.com>
9998
9999 PR symtab/19999
10000 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10001 $options when building executable.
10002 * gdb.dwarf2/fission-loclists-pie.S: New file.
10003 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10004
02e370d9
SM
100052016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10006
10007 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10008 of [is_remote target],
10009
8929ad8b
SM
100102016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10011
10012 * lib/gdb.exp (use_gdb_stub): New procedure.
10013
6c447423
DE
100142016-05-03 Yunlian Jiang <yunlian@google.com>
10015 Doug Evans <dje@google.com>
10016
10017 PR symtab/19914
10018 * gdb.dwarf2/dwp-sepdebug.c: New file.
10019 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10020
444e826c
SM
100212016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10022
10023 * gdb.base/detach.exp: Remove is_remote check.
10024
740feeaa
SM
100252016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10026
10027 * gdb.base/annota-input-while-running.exp: Don't check for
10028 [is_remote target]. Enable annotations after running to main.
10029 Remove unused "set test..." line.
10030
9080ac9d
SM
100312016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10032
10033 * gdb.trace/trace-enable-disable.exp: New file.
10034 * gdb.trace/trace-enable-disable.c: New file.
10035
952ebca5
SM
100362016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10037
10038 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10039 use it in info sharedlibrary test.
10040 * gdb.trace/ftrace-lock.exp: Likewise.
10041 * gdb.trace/ftrace.exp: Likewise.
10042 * gdb.trace/range-stepping.exp: Likewise.
10043 * gdb.trace/trace-break.exp: Likewise.
10044 * gdb.trace/trace-condition.exp: Likewise.
10045 * gdb.trace/trace-mt.exp: Likewise.
10046
d9019901
SM
100472016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10048
10049 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10050 (gdb_load_shlib): ... this.
10051 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10052 gdb_load_shlib.
10053 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10054 * gdb.base/ctxobj.exp: Likewise.
10055 * gdb.base/dprintf-pending.exp: Likewise.
10056 * gdb.base/dso2dso.exp: Likewise.
10057 * gdb.base/fixsection.exp: Likewise.
10058 * gdb.base/gcore-relro.exp: Likewise.
10059 * gdb.base/gdb1555.exp: Likewise.
10060 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10061 * gdb.base/gnu-ifunc.exp: Likewise.
10062 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10063 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10064 * gdb.base/pending.exp: Likewise.
10065 * gdb.base/print-file-var.exp: Likewise.
10066 * gdb.base/print-symbol-loading.exp: Likewise.
10067 * gdb.base/shlib-call.exp: Likewise.
10068 * gdb.base/shreloc.exp: Likewise.
10069 * gdb.base/so-impl-ld.exp: Likewise.
10070 * gdb.base/solib-disc.exp: Likewise.
10071 * gdb.base/solib-nodir.exp: Likewise.
10072 * gdb.base/solib-overlap.exp: Likewise.
10073 * gdb.base/solib-symbol.exp: Likewise.
10074 * gdb.base/solib-weak.exp (do_test): Likewise.
10075 * gdb.base/sym-file.exp: Likewise.
10076 * gdb.base/symtab-search-order.exp: Likewise.
10077 * gdb.base/type-opaque.exp: Likewise.
10078 * gdb.base/unload.exp: Likewise.
10079 * gdb.base/watchpoint-solib.exp: Likewise.
10080 * gdb.compile/compile.exp: Likewise.
10081 * gdb.cp/gdb2384.exp: Likewise.
10082 * gdb.cp/infcall-dlopen.exp: Likewise.
10083 * gdb.cp/re-set-overloaded.exp: Likewise.
10084 * gdb.fortran/library-module.exp: Likewise.
10085 * gdb.opt/solib-intra-step.exp: Likewise.
10086 * gdb.python/py-finish-breakpoint.exp: Likewise.
10087 * gdb.python/py-shared.exp: Likewise.
10088 * gdb.reverse/solib-precsave.exp: Likewise.
10089 * gdb.reverse/solib-reverse.exp: Likewise.
10090 * gdb.server/solib-list.exp: Likewise.
10091 * gdb.threads/dlopen-libpthread.exp: Likewise.
10092 * gdb.threads/tls-shared.exp: Likewise.
10093 * gdb.threads/tls-so_extern.exp: Likewise.
10094 * gdb.trace/change-loc.exp: Likewise.
10095 * gdb.trace/ftrace-lock.exp: Likewise.
10096 * gdb.trace/ftrace.exp: Likewise.
10097 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10098 * gdb.trace/pending.exp: Likewise.
10099 * gdb.trace/range-stepping.exp: Likewise.
10100 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10101 (strace_info_marker): Likewise.
10102 (strace_probe_marker): Likewise.
10103 (strace_trace_on_same_addr): Likewise.
10104 (strace_trace_on_diff_addr): Likewise.
10105 * gdb.trace/trace-break.exp: Likewise.
10106 * gdb.trace/trace-condition.exp: Likewise.
10107 * gdb.trace/trace-mt.exp: Likewise.
10108
fca4cfd9
SM
101092016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10110
10111 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10112 result of gdb_remote_download.
10113 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10114 * gdb.base/dso2dso.exp: Likewise.
10115 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10116 * gdb.base/print-file-var.exp: Likewise.
10117 * gdb.base/shlib-call.exp: Likewise.
10118 * gdb.base/shreloc.exp: Likewise.
10119 * gdb.base/solib-overlap.exp: Likewise.
10120 * gdb.base/solib-weak.exp (do_test): Likewise.
10121 * gdb.base/unload.exp: Likewise.
10122
11cf4ffb
YQ
101232016-04-27 Yao Qi <yao.qi@linaro.org>
10124
10125 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10126 exists.
10127
3e2e34f8
KB
101282016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10129
10130 * vla-type.exp: Print structure from toplevel.
10131
8f07e298
BH
101322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10133
10134 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10135 of dynamic types.
10136 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10137 of dynamic types.
10138
9920b434
BH
101392016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10140
10141 * gdb.fortran/vla-type.f90: New file.
10142 * gdb.fortran/vla-type.exp: New file.
10143
f3abeff5
YQ
101442016-04-25 Yao Qi <yao.qi@linaro.org>
10145
10146 * gdb.base/branch-to-self.c: New file.
10147 * gdb.base/branch-to-self.exp: New file.
10148
0a5d52f0
YQ
101492016-04-22 Yao Qi <yao.qi@linaro.org>
10150
10151 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10152 more after $hex.
10153
495346f6
YQ
101542016-04-22 Yao Qi <yao.qi@linaro.org>
10155
10156 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10157 * gdb.base/annota3.exp: Likewise.
10158
4a7e075c
YQ
101592016-04-22 Yao Qi <yao.qi@linaro.org>
10160
10161 * gdb.reverse/step-precsave.exp: Do one step and test program
10162 stops in "callee" and do multiple steps until program goes out
10163 of "callee".
10164 * gdb.reverse/step-reverse.exp: Likewise.
10165
5b061e98
YQ
101662016-04-22 Yao Qi <yao.qi@linaro.org>
10167
10168 * gdb.trace/signal.exp: Also pass if
10169 $tracepoint_hits($i) > $iterations.
10170
5c5dc57f
YQ
101712016-04-22 Yao Qi <yao.qi@linaro.org>
10172
10173 * gdb.trace/signal.c: New file.
10174 * gdb.trace/signal.exp: New file.
10175
a55411b9
DE
101762016-04-19 Doug Evans <xdje42@gmail.com>
10177
10178 * gdb.base/bad-file.exp: New file.
10179
a22df60a
MG
101802016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10181
10182 * gdb.dwarf2/implref.exp: New file.
10183
0c13f7e5
BH
101842016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10185
10186 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10187 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10188 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10189 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10190 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10191 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10192 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10193 * lib/fortran.exp (fortran_int4): New procedure.
10194 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10195 (fortran_logical4): Likewise.
10196
9b9b09e9
BH
101972016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10198
10199 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10200
a14d1f4d
BH
102012016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10202
10203 * lib/compiler.c: Add Intel specific preprocessor macros.
10204 * lib/compiler.cc: Likewise.
25d49b86 10205
7d49b1d0
LM
102062016-04-13 Luis Machado <lgustavo@codesourcery.com>
10207
10208 * gdb.server/connect-with-no-symbol-file.c: New file.
10209 * gdb.server/connect-with-no-symbol-file.exp: New file.
10210
8392fa22
SM
102112016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10212
10213 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10214
8c4c4aeb
SM
102152016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10216
10217 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10218 standard output directory.
10219
45e3745e
AT
102202016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10221
10222 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10223
e26b7e41
MM
102242016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10225
10226 * gdb.btrace/instruction_history.c (loop): Add declaration.
10227
8ce09462
AT
102282016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10229
10230 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10231
2e88a1ea
SM
102322016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10233
10234 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10235 parentheses to print.
10236 (continue_handler): Likewise.
10237
f48e22e3
SM
102382016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10239
10240 * gdb.server/solib-list.exp: Remove is_remote check.
10241 Pass shlib= to gdb_compile. Don't link shared library with
10242 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10243 Run binary filename through "readlink -f" on the target.
10244
096be756
PA
102452016-04-08 Pedro Alves <palves@redhat.com>
10246
10247 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10248 interpreter filename as argument to gdbserver_spawn.
10249 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10250 Return empty if $last_loaded_file does not exist.
10251
06500533
JK
102522016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10253
10254 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10255 * gdb.base/jit-main.c: Use exit after usage.
10256
2d35e871
JK
102572016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10258
10259 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10260 GDBHISTSIZE prior to the tests.
10261 * gdb.base/gdbinit-history.exp: Likewise.
10262
102632016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10264
10265 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10266 instead of build_executable. Use gdb_load_shlibs.
10267
c8064e7e
YQ
102682016-04-07 Yao Qi <yao.qi@linaro.org>
10269
10270 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10271 Execute "si" command.
10272
bde47561
YQ
102732016-04-07 Yao Qi <yao.qi@linaro.org>
10274
10275 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10276 number instead of the comments on some line.
10277
b16f8a3b
DB
102782016-04-06 Don Breazeal <donb@codesourcery.com>
10279
10280 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10281 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10282
c2f901df
SM
102832016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10284
10285 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10286 standard_output_file. Remove unused binfile variable.
10287
ac17fda0
CU
102882016-04-05 Catalin Udma <catalin.udma@freescale.com>
10289
10290 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10291 * gdb.python/py-mi-objfile.exp: Match "list main" output
10292 in console format.
10293
03a8c4df
SM
102942016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10295
10296 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10297 absolute.
10298
6e774b13
SM
102992016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10300
10301 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10302 absolute.
10303 * gdb.trace/ftrace.exp: Likewise.
10304 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10305 targets as well.
10306 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10307 (gdb_load_shlibs): Copy libraries to test directory when testing
10308 natively. Only set solib-search-path if testing remotely.
10309 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10310
7817ea46
SM
103112016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10312
10313 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10314 gdb_download. Use it even if the target is not remote.
10315 * gdb.base/jit.exp (compile_jit_test): Likewise.
10316 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10317 output directory if the destination board is local, otherwise use
10318 the standard remote_download from DejaGnu.
10319 (gdb_download): Remove.
10320 (gdb_load_shlibs): Use gdb_remote_download instead of
10321 gdb_download.
10322 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10323 Use gdb_remote_download instead of gdb_download. Use it even if
10324 the target is not remote.
10325 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10326 instead of gdb_download.
10327
7beb7f68
SM
103282016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10329
10330 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10331 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10332 run.
10333
cc63428a
AV
103342016-04-01 Artemiy Volkov <artemiyv@acm.org>
10335
10336 PR gdb/19820
10337 * gdb.base/printcmds.exp: Add artificial arrays tests.
10338
64cdf930
PA
103392016-03-31 Pedro Alves <palves@redhat.com>
10340
10341 PR gdb/19858
10342 * gdb.base/jit-main.c: Include unistd.h.
10343 (ATTACH): Define to 0 if not already defined.
10344 (wait_for_gdb, mypid): New globals.
10345 (WAIT_FOR_GDB): New macro.
10346 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10347 some breakpoint locations.
10348 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10349 New procedures.
10350 (one_jit_test): Add REATTACH parameter, and handle it. Use
10351 continue_to_test_location.
10352 (top level): Test attach, and adjusts calls to one_jit_test.
10353
40dea8cb
PA
103542016-03-31 Pedro Alves <palves@redhat.com>
10355
10356 PR gdb/19858
10357 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10358 BINSUFFIX parameter, and handle it.
10359 (top level): Adjust calls compile_jit_test.
10360
e7ea3ec7
CU
103612016-03-31 Catalin Udma <catalin.udma@freescale.com>
10362
10363 PR python/19743
10364 * gdb.python/py-mi-events-gdb.py: New file.
10365 * gdb.python/py-mi-events.c: New file.
10366 * gdb.python/py-mi-events.exp: New file.
10367
e6359af3
YQ
103682016-03-30 Yao Qi <yao.qi@linaro.org>
10369
10370 * gdb.reverse/until-precsave.exp: Match function name only.
10371 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10372 Move malloc to a condition block.
10373 * gdb.reverse/until-reverse.exp: Match function name only.
10374
a4105d04
MK
103752016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10376
10377 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10378 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10379 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10380 variable for GPR 0 instead of assuming it is register 0.
10381 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10382 * lib/trace-support.exp: Add s390 registers.
10383
bfa6adb9
YQ
103842016-03-29 Yao Qi <yao.qi@linaro.org>
10385
10386 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10387
1e6697ea
YQ
103882016-03-24 Yao Qi <yao.qi@linaro.org>
10389
10390 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10391 test message.
10392
64bcd522
AA
103932016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10394
10395 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10396 maintaining separate logic for constructing the output path.
10397
7868401b
DB
103982016-03-16 Don Breazeal <donb@codesourcery.com>
10399
10400 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10401 Retry fork and waitpid on interrupted system call errors.
10402 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10403 Use with_timeout_factor to increase timeout by factor of 10.
10404
1cafadb4
DB
104052016-03-15 Don Breazeal <donb@codesourcery.com>
10406
10407 * gdb.cp/scope-err.cc: New test program.
10408 * gdb.cp/scope-err.exp: New test script.
10409 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10410 lines and "set breakpoint here" comment.
10411 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10412 Fixed some whitespace and format issues.
10413 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10414 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10415
81516450
DE
104162016-03-15 Doug Evans <dje@google.com>
10417
10418 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10419 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10420 All callers updated. Add tests for enums, mixed flags register.
10421
aa52b601
DE
104222016-03-15 Doug Evans <dje@google.com>
10423
10424 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10425 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10426
fa4ff313
SM
104272016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10428
10429 * gdb.base/default.exp: Add $_as_string to the list of expected
10430 convenience functions.
10431
f2403c39
AB
104322016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10433
10434 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10435
f2f3ccb9
SM
104362016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10437
10438 * gdb.python/py-as-string.exp: New file.
10439 * gdb.python/py-as-string.c: New file.
10440
00dbd492
PA
104412016-03-09 Pedro Alves <palves@redhat.com>
10442
10443 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10444 signal" -> "Thread NN received signal" output change.
10445 * gdb.threads/ia64-sigill.exp: Likewise.
10446 * gdb.threads/linux-dp.exp: Likewise.
10447 * gdb.threads/manythreads.exp: Likewise.
10448 * gdb.threads/pending-step.exp: Likewise.
10449 * gdb.threads/print-threads.exp: Likewise.
10450 * gdb.threads/sigstep-threads.exp: Likewise.
10451 * gdb.threads/staticthreads.exp: Likewise.
10452 * gdb.threads/tls.exp: Likewise.
10453
1e6697ea
YQ
104542016-03-09 Pedro Alves <palves@redhat.com>
10455
10456 * gdb.base/command-line-input.exp: New file.
10457
b04fd3be
MK
104582016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10459
10460 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10461 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10462 * gdb.trace/pending.exp: Accept leading dot before function name.
10463 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10464 * lib/trace-support.exp: Set registers for ppc.
10465
98fa59e9
MK
104662016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10467
10468 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10469 use it for disassembly; accept .main in addition to main in backtrace.
10470
f77198c8
MK
104712016-03-09 Wei-cheng Wang <cole945@gmail.com>
10472 Marcin Kościelnicki <koriakin@0x04.net>
10473
10474 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10475 (gdb_recursion_test_ptr): New global variable.
10476 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10477 gdb_recursion_test.
10478 (gdb_c_test): Ditto.
10479
ba84e0da
MK
104802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10481
10482 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10483 ordering.
10484
4366d36e
MK
104852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10486
10487 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10488 (bar): Add bar_start_lbl label.
10489 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10490 of foo/bar for emitting DWARF and tracing.
10491
5eb264df
SDJ
104922016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10493
10494 * analyze-racy-logs.py: Set executable bit.
10495
fb6a751f
SDJ
104962016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10497
10498 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10499 (CHECK_TARGET_TMP): Likewise.
10500 (check-single-racy): New rule.
10501 (check-parallel-racy): Likewise.
10502 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10503 (do-check-parallel-racy): New rule.
10504 (check-racy/%.exp): Likewise.
10505 * README (Racy testcases): New section.
10506 * analyze-racy-logs.py: New file.
10507
bdf7e230
DE
105082016-03-03 Doug Evans <dje@google.com>
10509
10510 * gdb.base/skip.exp: Use with_test_prefix.
10511
4719d415
YQ
105122016-03-03 Yao Qi <yao.qi@linaro.org>
10513
10514 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10515 Invoke step_over_syscall "clone" and break_cond_on_syscall
10516 "clone".
10517 * gdb.base/step-over-clone.c: New file.
10518
ea507862
YQ
105192016-03-03 Yao Qi <yao.qi@linaro.org>
10520
10521 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10522 code format.
10523
8fc8cbda
YQ
105242016-03-03 Yao Qi <yao.qi@linaro.org>
10525
10526 * gdb.base/disp-step-fork.c: Rename to ...
10527 * gdb.base/step-over-fork.c: ... it. New file.
10528 * gdb.base/disp-step-vfork.c: Rename to ...
10529 * gdb.base/step-over-vfork.c: ... it. New file.
10530 * gdb.base/disp-step-syscall.exp: Rename to ...
10531 * gdb.base/step-over-syscall.exp: ... it. New file.
10532 (disp_step_cross_syscall): Rename to ...
10533 (step_over_syscall): ... it.
10534
92fa70b0
YQ
105352016-03-03 Yao Qi <yao.qi@linaro.org>
10536
10537 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10538 If target supports condition evaluation on target, invoke
10539 break_cond_on_syscall for fork and vfork.
10540
e197ad3c
YQ
105412016-03-03 Yao Qi <yao.qi@linaro.org>
10542
10543 * gdb.base/disp-step-syscall.exp: Don't invoke
10544 support_displaced_stepping.
10545 (disp_step_cross_syscall): Test with displaced stepping off and
10546 on if supported.
10547
0b47da9f
YQ
105482016-03-03 Yao Qi <yao.qi@linaro.org>
10549
10550 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10551 proc.
10552 (setup): New proc.
10553 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10554 and setup.
10555
065ab6dc
BH
105562016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10557
10558 * gdb.fortran/vla-history.exp: Remove breakpoint.
10559
07e448ad 105602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10561
25d49b86
PA
10562 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10563 exceeds timeout.
07e448ad 10564
9ac2d526 105652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10566
25d49b86
PA
10567 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10568 breakpoint.
9ac2d526 10569
17807369
BH
105702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10571
10572 * gdb.mi/vla.f90: Nullify pointer after declaration.
10573
86e501af
PA
105742016-03-01 Pedro Alves <palves@redhat.com>
10575
10576 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10577
1e903e32
PA
105782016-03-01 Pedro Alves <palves@redhat.com>
10579
10580 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10581 before anything else.
10582 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10583 _GNU_SOURCE here.
10584 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10585 before anything else.
10586 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10587
6ccb54e2
PA
105882016-03-01 Pedro Alves <palves@redhat.com>
10589
10590 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10591
30ca9da1
YQ
105922016-03-01 Yao Qi <yao.qi@linaro.org>
10593
10594 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10595 prepare_for_testing.
10596
dc856b38
YQ
105972016-03-01 Yao Qi <yao.qi@linaro.org>
10598
10599 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10600
4a932159
AA
106012016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10602
10603 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10604 manually constructing the output path.
10605
f2489477
AA
106062016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10607
10608 * gdb.arch/s390-stackless.S: New.
10609 * gdb.arch/s390-stackless.exp: New.
10610
38899f16
IB
106112016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10612
10613 * gdb.dlang/circular.c: New file.
10614 * gdb.dlang/circular.exp: New file.
10615
9fde51ed
YQ
106162016-02-26 Yao Qi <yao.qi@linaro.org>
10617
10618 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10619 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10620 (testcases): Update.
10621
ce90fefe
YQ
106222016-02-26 Yao Qi <yao.qi@linaro.org>
10623
10624 * gdb.reverse/aarch64.c: Rename to ...
10625 * gdb.reverse/insn-reverse.c: ... it.
10626 * gdb.reverse/aarch64.exp: Rename to ...
10627 * gdb.reverse/insn-reverse.exp: ... it.
10628
3263bceb
YQ
106292016-02-26 Yao Qi <yao.qi@linaro.org>
10630
10631 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10632 (testcase_ftype): New.
10633 (testcases): New array.
10634 (n_testcases): New.
10635 (main): Call each element in testcases.
10636 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10637 (read_testcase): New.
10638 Do the tests in a loop.
10639
6cb59ff1
YQ
106402016-02-25 Yao Qi <yao.qi@linaro.org>
10641
10642 * gdb.base/branches.c: Remove.
10643
ae91f625
MK
106442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10645
10646 PR gdb/13808
10647 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10648
678b48b7
MK
106492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10650
10651 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10652
7337a6f2
MK
106532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10654
10655 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10656 change x86_64 call_insn to 'callq'.
10657
861ca91f
AT
106582016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10659
10660 * gdb.trace/tfile-avx.c: Move to...
10661 * gdb.trace/tracefile-pseudo-reg.c: Here.
10662 * gdb.trace/tfile-avx.exp: Move to...
10663 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10664
bf74e428
GB
106652016-02-24 Gary Benson <gbenson@redhat.com>
10666
10667 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10668 message on attach.
10669
cce0e923
DE
106702016-02-23 Doug Evans <dje@google.com>
10671
10672 * gdb.base/skip.c (test_skip): New function.
10673 (end_test_skip_file_and_function): New function.
10674 (test_skip_file_and_function): New function.
10675 * gdb.base/skip1.c (test_skip): New function.
10676 (skip1_test_skip_file_and_function): New function.
10677 * gdb.base/skip.exp: Add tests for new skip options.
10678 * gdb.base/skip-solib.exp: Update expected output.
10679 * gdb.perf/skip-command.cc: New file.
10680 * gdb.perf/skip-command.exp: New file.
10681 * gdb.perf/skip-command.py: New file.
10682
4000e47e
MK
106832016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10684
10685 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10686 info registers pattern.
10687
24f75ead
IB
106882016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10689
10690 * lib/future.exp: Add D support.
10691 (gdb_find_gdc): New proc.
10692 (gdb_default_target_compile): Add D support.
10693
fbb7bcbe
WW
106942016-02-18 Wei-cheng Wang <cole945@gmail.com>
10695
10696 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10697 user+system time.
10698 (trace_speed_test): Determine the iteration count for a time
10699 between 15..30 seconds.
10700
012b3a21
WT
107012016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10702
10703 * gdb.arch/i386-mpx-sigsegv.c: New file.
10704 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10705 * gdb.arch/i386-mpx-simple_segv.c: New file.
10706 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10707
2d5189bd
YQ
107082016-02-18 Yao Qi <yao.qi@linaro.org>
10709
10710 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10711 Don't call setup_kfail.
10712
40fb20d0
YQ
107132016-02-18 Yao Qi <yao.qi@linaro.org>
10714
10715 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10716 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10717
21b1f8d2
DE
107182016-02-16 Doug Evans <dje@google.com>
10719
10720 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10721 * gdb.base/skip1.c: Ditto.
10722 * gdb.base/skip.exp: Whitespace cleanup.
10723
4041ed77
DB
107242016-02-16 Don Breazeal <donb@codesourcery.com>
10725
10726 PR remote/19496
10727 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10728 Remove kfail for PR remote/19496.
10729
c4ef31bf
SM
107302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10731
10732 * lib/gdb.exp (standard_temp_file): Return a path specific to
10733 the runtest invocation.
10734
266b65b3
SM
107352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10736
10737 * gdb.trace/save-trace.exp: Change relative path to be in the
10738 standard output directory.
10739
a7a0a6a9
JK
107402016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10741
10742 * gdb.arch/i386-prologue.c: Add missing prototypes.
10743
c99dbb42
JK
107442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10745
10746 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10747 * gdb.arch/i386-prologue.exp: Likewise.
10748 * gdb.arch/i386-size.exp: Likewise.
10749
aa480355
SM
107502016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10751
10752 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10753 define object file path.
10754 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10755 file path.
10756 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10757 standard_output_file to define binfile.
10758
ba881f50
JK
107592016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10760
10761 Fix compatibility with recent gfortran-5.3.1.
10762 * gdb.fortran/vla-history.exp (print vla1 allocated)
10763 (print vla2 allocated, print $2, print $3): Remove
10764 (print $4): Rename to ...
10765 (print $2): ... here.
10766 (print $9): Rename to ...
10767 (print $5): ... here.
10768 (print $10): Rename to ...
10769 (print $6): ... here.
10770 * gdb.fortran/vla.f90: Add pvla initialization.
10771
e9fb005c
JK
107722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10773
10774 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10775 New test.
10776 * gdb.fortran/vla-value-sub.exp: Likewise.
10777
e44e00ff
MK
107782016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10779
10780 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10781
97e94151
SM
107822016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10783
10784 * i386-biarch-core.exp: Define corefile using
10785 standard_output_file.
10786
01113bc1
YQ
107872016-02-12 Yao Qi <yao.qi@linaro.org>
10788
10789 * gdb.arch/arm-single-step-kernel-helper.c: New.
10790 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10791
33b4777c
MM
107922016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10793
10794 * gdb.btrace/tailcall-only.exp: New.
10795 * gdb.btrace/tailcall-only.c: New.
10796 * gdb.btrace/x86_64-tailcall-only.S: New.
10797 * gdb.btrace/i686-tailcall-only.S: New.
10798
acc23c11
PA
107992016-02-11 Pedro Alves <palves@redhat.com>
10800
10801 * README (Parallel testing): Add missing double quotes.
10802
e352bf0a
PA
108032016-02-11 Pedro Alves <palves@redhat.com>
10804
10805 * README (Parallel testing): New section.
10806 (GDB_PARALLEL): Rewrite.
10807 (FORCE_PARALLEL): Document.
10808
9f5fed78
MK
108092016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10810
10811 * gdb.trace/tfile-avx.c: New test.
10812 * gdb.trace/tfile-avx.exp: New test.
10813
9ef9e6a6
KS
108142016-02-09 Keith Seitz <keiths@redhat.com>
10815
10816 PR breakpoints/19546
10817 * gdb.base/infcall-exec.c: New file.
10818 * gdb.base/infcall-exec2.c: New file.
10819 * gdb.base/infcall-exec.exp: New file.
10820
a96e36da
KS
108212016-02-09 Keith Seitz <keiths@redhat.com>
10822
10823 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10824 (toplevel): Call test_bkpt_address.
10825
9f61929f
KS
108262016-02-09 Keith Seitz <keiths@redhat.com>
10827
10828 PR python/19506
10829 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10830 (toplevel): Call test_bkpt_address.
10831
1e94266c
SM
108322016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10833
10834 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10835 to AC_OUTPUT.
10836 * configure: Regenerate.
10837
2a7f3dff
PA
108382016-02-09 Pedro Alves <palves@redhat.com>
10839
10840 PR breakpoints/19548
10841 * gdb.base/execl-update-breakpoints.c (some_function): New
10842 function.
10843 (main): Call it.
10844 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10845 Tighten expected GDB output.
10846
2151ccc5
SM
108472016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10848
10849 * Makefile.in (ALL_SUBDIRS): Remove.
10850 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10851 (distclean maintainer-clean realclean): Likewise.
10852 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10853 * configure: Regenerate.
10854 * gdb.ada/Makefile.in: Delete.
10855 * gdb.arch/Makefile.in: Likewise.
10856 * gdb.asm/Makefile.in: Likewise.
10857 * gdb.base/Makefile.in: Likewise.
10858 * gdb.btrace/Makefile.in: Likewise.
10859 * gdb.cell/Makefile.in: Likewise.
10860 * gdb.compile/Makefile.in: Likewise.
10861 * gdb.cp/Makefile.in: Likewise.
10862 * gdb.disasm/Makefile.in: Likewise.
10863 * gdb.dlang/Makefile.in: Likewise.
10864 * gdb.dwarf2/Makefile.in: Likewise.
10865 * gdb.fortran/Makefile.in: Likewise.
10866 * gdb.gdb/Makefile.in: Likewise.
10867 * gdb.go/Makefile.in: Likewise.
10868 * gdb.guile/Makefile.in: Likewise.
10869 * gdb.java/Makefile.in: Likewise.
10870 * gdb.linespec/Makefile.in: Likewise.
10871 * gdb.mi/Makefile.in: Likewise.
10872 * gdb.modula2/Makefile.in: Likewise.
10873 * gdb.multi/Makefile.in: Likewise.
10874 * gdb.objc/Makefile.in: Likewise.
10875 * gdb.opencl/Makefile.in: Likewise.
10876 * gdb.opt/Makefile.in: Likewise.
10877 * gdb.pascal/Makefile.in: Likewise.
10878 * gdb.perf/Makefile.in: Likewise.
10879 * gdb.python/Makefile.in: Likewise.
10880 * gdb.reverse/Makefile.in: Likewise.
10881 * gdb.server/Makefile.in: Likewise.
10882 * gdb.stabs/Makefile.in: Likewise.
10883 * gdb.threads/Makefile.in: Likewise.
10884 * gdb.trace/Makefile.in: Likewise.
10885 * gdb.xml/Makefile.in: Likewise.
10886 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10887 GDB_PARALLEL.
10888 (standard_output_file): Remove check for GDB_PARALLEL, always
10889 return path in outputs/$subdir/$testname.
10890
437277d4
SM
108912016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10892
10893 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10894 (site.exp): Assign abs_srcdir to tcl's srcdir.
10895
31d913c7
YQ
108962016-02-04 Yao Qi <yao.qi@linaro.org>
10897
10898 * gdb.base/foll-exec-mode.c: Include limits.h.
10899 (main): Add parameters argc and argv. Get directory from
10900 argv[0].
10901 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10902 compilation.
10903 * gdb.base/foll-exec.c: Include limits.h.
10904 (main): Add parameters argc and argv.
10905 Get directory from argv[0].
10906 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10907 Adjust tests on the number of lines as source code changed.
10908 * gdb.base/foll-vfork-exit.c: Include limits.h.
10909 (main): Add one line of statement before vfork.
10910 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10911 (main): Add parameters argc and argv. Get directory from
10912 argv[0].
10913 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10914 (setup_gdb): Set tbreak to skip some source lines.
10915 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10916 (main): Add parameters argc and argv. Get directory from
10917 argv[0].
10918 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10919 compilation.
10920 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10921 (main): Add parameters argc and argv. Get directory from
10922 argv[0].
10923 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10924 compilation.
10925
9482b9fb
DE
109262016-02-01 Doug Evans <dje@google.com>
10927
10928 * gdb.base/skip.exp: Clean up multiple references to same test name.
10929
6b2e4f10
PA
109302016-02-01 Pedro Alves <palves@redhat.com>
10931
ccb6afd6 10932 PR remote/19496
6b2e4f10
PA
10933 * gdb.threads/forking-threads-plus-breakpoint.exp
10934 (displaced_stepping_supported): New global.
10935 (probe_displaced_stepping_support): New procedure.
10936 (do_test): Add 'displaced' parameter, and use it.
10937 (top level): Check for displaced stepping support. Add displaced
10938 stepping on/off testing axis.
10939
37a8db1a
AB
109402016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10941
10942 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10943 pointer. Don't perform further tests on the unassociated pointer
10944 if the first test fails.
10945
5fdf6324
AB
109462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10947
10948 * gdb.base/max-value-size.c: New file.
10949 * gdb.base/max-value-size.exp: New file.
10950 * gdb.base/huge.exp: Disable max-value-size for this test.
10951
935c6144
IB
109522016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10953
10954 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10955
7fe8399d
YQ
109562016-01-28 Yao Qi <yao.qi@linaro.org>
10957
10958 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10959
a2077e25
PA
109602016-01-25 Pedro Alves <palves@redhat.com>
10961
10962 PR threads/19461
10963 * gdb.base/fork-running-state.c: New file.
10964 * gdb.base/fork-running-state.exp: New file.
10965
1d2736d4
PA
109662016-01-25 Pedro Alves <palves@redhat.com>
10967
10968 PR gdb/19494
10969 * gdb.base/catch-fork-kill.c: New file.
10970 * gdb.base/catch-fork-kill.exp: New file.
10971
f1da4b11
PA
109722016-01-25 Pedro Alves <palves@redhat.com>
10973
10974 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10975 Delete, moved to lib/gdb.exp.
10976 * gdb.threads/forking-threads-plus-breakpoint.exp
10977 (foreach_with_prefix): Likewise.
10978 * gdb.threads/process-dies-while-handling-bp.exp
10979 (foreach_with_prefix): Likewise.
10980 * lib/gdb.exp (foreach_with_prefix): New procedure.
10981
45f38546
MK
109822016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10983
10984 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10985 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10986
dc29a1ce
MK
109872016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10988
10989 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10990 endian targets.
10991
092127d7
JK
109922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10993 Pedro Alves <palves@redhat.com>
10994
10995 Fix testsuite compatibility with Guile.
10996 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10997 number.
10998
31d765d3
JK
109992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11000
11001 Fix testsuite compatibility with Guile.
11002 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11003 (thread 1): New test for backtrace through signal handler.
11004
1ac78c04
YQ
110052016-01-22 Yao Qi <yao.qi@linaro.org>
11006
11007 PR testsuite/19491
11008 * gdb.base/multi-forks.c: Include
11009 ../lib/unbuffer_output.c
11010 (main): Call gdb_unbuffer_output.
11011
4f5946a8
DE
110122016-01-21 Doug Evans <dje@google.com>
11013
11014 * lib/ada.exp (gdb_compile_ada): Fix typo.
11015
305e13e6
JB
110162016-01-21 Joel Brobecker <brobecker@adacore.com>
11017
11018 * gdb.base/break-fun-addr.exp: New file.
11019 * gdb.base/break-fun-addr1.c: New file.
11020 * gdb.base/break-fun-addr2.c: New file.
11021
5f5dfff6
SM
110222016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11023
11024 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11025 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11026 enum flag values.
11027
fd356fa2
AA
110282016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11029
11030 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11031 when GDB can not set the vector return value. Add more comments
11032 for clarification.
11033
9df22175
AT
110342016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11035
11036 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11037 command.
11038
41d1845e
SM
110392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11040
11041 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11042
01ac6840
SM
110432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11044
11045 * Makefile.in (check-single): Pass --status to runtest.
11046 (check/%.exp): Likewise.
11047
110482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11049
11050 * Makefile.in (check-parallel): Propagate return code from make
11051 do-check-parallel.
11052
bd0a71fa
MK
110532016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11054
11055 * gdb.trace/ftrace.exp: Fix expected message on continue.
11056 * gdb.trace/pending.exp: Fix expected message on continue.
11057 * gdb.trace/trace-break.exp: Fix expected message on continue.
11058
8bcbad33
SM
110592016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11060
11061 * lib/gdb.exp (gdb_test): Remove unused global references.
11062
f303dbd6
PA
110632016-01-18 Pedro Alves <palves@redhat.com>
11064
11065 * gdb.base/async-shell.exp: Adjust expected output.
11066 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11067 * gdb.base/siginfo-thread.exp: Adjust expected output.
11068 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11069 * gdb.java/jnpe.exp: Adjust expected output.
11070 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11071 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11072 * gdb.threads/leader-exit.exp: Adjust expected output.
11073 * gdb.threads/manythreads.exp: Adjust expected output.
11074 * gdb.threads/pthreads.exp: Adjust expected output.
11075 * gdb.threads/schedlock.exp: Adjust expected output.
11076 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11077 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11078 expected output.
11079 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11080 output.
11081 * gdb.threads/sigthread.exp: Adjust expected output.
11082 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11083
b2789696
YQ
110842016-01-18 Yao Qi <yao.qi@linaro.org>
11085
11086 * gdb.guile/scm-section-script.c: Replace @progbits with
11087 %progbits.
11088 * gdb.python/py-section-script.c: Likewise.
11089
71ef29a8
PA
110902016-01-15 Pedro Alves <palves@redhat.com>
11091
11092 * gdb.multi/tids.exp: Test star wildcard ranges.
11093
3f5b7598
PA
110942016-01-15 Pedro Alves <palves@redhat.com>
11095
11096 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11097 command from "thread apply" invocation.
11098 (thr_apply_info_thr_invalid): Default the expected output to the
11099 input tid list.
11100 (top level): Add tests that use convenience variables. Add tests
11101 for "thread apply" with a valid TID list, but missing the command.
11102
663f6d42
PA
111032016-01-13 Pedro Alves <palves@redhat.com>
11104
11105 * gdb.base/default.exp: Expect $_gthread as well.
11106 * gdb.multi/tids.exp: Test $_gthread.
11107 * gdb.threads/thread-specific.exp: Test $_gthread.
11108
c84f6bbf
PA
111092016-01-13 Pedro Alves <palves@redhat.com>
11110
11111 * gdb.multi/tids.exp: Test "info threads -gid".
11112
22a02324
PA
111132016-01-13 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11116 Breakpoint.thread.
11117 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11118
5d5658a1
PA
111192016-01-07 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.base/break.exp: Adjust to output changes.
11122 * gdb.base/hbreak2.exp: Likewise.
11123 * gdb.base/sepdebug.exp: Likewise.
11124 * gdb.base/watch_thread_num.exp: Likewise.
11125 * gdb.linespec/keywords.exp: Likewise.
11126 * gdb.multi/info-threads.exp: Likewise.
11127 * gdb.threads/thread-find.exp: Likewise.
11128 * gdb.multi/tids.c: New file.
11129 * gdb.multi/tids.exp: New file.
11130
84654457
PA
111312016-01-13 Pedro Alves <palves@redhat.com>
11132
11133 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11134
e3940304
PA
111352016-01-13 Pedro Alves <palves@redhat.com>
11136
11137 * gdb.base/default.exp: Expect $_inferior as well.
11138 * gdb.multi/base.exp: Test $_inferior.
11139
a911d87a
PA
111402016-01-13 Pedro Alves <palves@redhat.com>
11141
11142 PR breakpoints/19388
11143 * gdb.base/catch-signal-siginfo-cond.c: New file.
11144 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11145
82075af2
JS
111462016-01-12 Josh Stone <jistone@redhat.com>
11147 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11148
11149 * gdb.base/catch-syscall.c (do_execve): New variable.
11150 (main): Conditionally trigger an execve.
11151 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11152 (test_catch_syscall_execve): New, check entry/return across execve.
11153 (do_syscall_tests): Call test_catch_syscall_execve.
11154
e46eeedd
PA
111552016-01-12 Pedro Alves <palves@redhat.com>
11156
11157 * gdb.base/random-signal.exp (do_test): New procedure, with body
11158 of testcase moved in.
11159
01d8c27e
JK
111602016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11161 Pedro Alves <palves@redhat.com>
11162
11163 * gdb.base/funcargs.exp (finish from indirectly called function):
11164 Reintroduce the case for 'First'.
11165
9a706302
JK
111662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11167 Pedro Alves <palves@redhat.com>
11168
11169 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11170 (tcatch_vfork_then_child_follow_exec)
11171 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11172 identification.
11173
c0ecb95f
JK
111742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11175
11176 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11177 and repeats to unlimited.
11178 * gdb.python/py-value.exp: Likewise.
11179 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11180 and repeats to unlimited.
11181
6cfc1fcb
JK
111822016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11183
11184 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11185 and reordering the functions.
11186 * gdb.multi/hangout.c: Likewise.
11187 * gdb.multi/hello.c: Likewise.
11188
582a1b00
SM
111892016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11190
11191 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11192 absolute.
11193 (SingleStatisticTestResult.report): Use dict.keys instead of
11194 dict.iterkeys.
11195
79bc59cb
PA
111962016-01-06 Pedro Alves <palves@redhat.com>
11197
11198 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11199
43368e1d
MM
112002016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11201
11202 * gdb.btrace/dlopen.exp: New.
11203 * gdb.btrace/dlopen.c: New.
11204 * gdb.btrace/dlopen-dso.c: New.
11205
79fad5b8
SL
112062015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11207
11208 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11209 PATTERN argument is optional.
11210
ab8314b3
JB
112112015-12-24 Joel Brobecker <brobecker@adacore.com>
11212
11213 * lib/ada.exp (target_compile_ada_from_dir): New function.
11214 (gdb_compile_ada): Reimplement avoiding the use of project files.
11215 * gdb.ada/gnat_ada.gpr: Delete.
11216 * gdb.ada/cond_lang.exp: Adjust test to make path before
11217 filename optional.
11218 * gdb.ada/small_reg_param.exp: Likewise.
11219
fe33faff
SM
112202015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11221
11222 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11223
6d265cb4
TP
112242015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11225
11226 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11227 case.
11228
10125099
SM
112292015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11230
11231 * gdb.base/break.exp: Remove dead code.
11232 * gdb.base/sepdebug.exp: Likewise.
11233
3ca22649
SM
112342015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11235
11236 * gdb.asm/asm-source.exp: Remove HP-UX references.
11237 * gdb.base/annota1.exp: Likewise.
11238 * gdb.base/annota3.exp: Likewise.
11239 * gdb.base/attach.exp: Likewise.
11240 * gdb.base/bigcore.exp: Likewise.
11241 * gdb.base/break.exp: Likewise.
11242 * gdb.base/call-ar-st.exp: Likewise.
11243 * gdb.base/callfuncs.exp: Likewise.
11244 * gdb.base/catch-fork-static.exp: Likewise.
11245 * gdb.base/display.exp: Likewise.
11246 * gdb.base/foll-exec-mode.exp: Likewise.
11247 * gdb.base/foll-exec.exp: Likewise.
11248 * gdb.base/foll-fork.exp: Likewise.
11249 * gdb.base/foll-vfork.exp: Likewise.
11250 * gdb.base/funcargs.exp: Likewise.
11251 * gdb.base/hbreak2.exp: Likewise.
11252 * gdb.base/inferior-died.exp: Likewise.
11253 * gdb.base/interrupt.exp: Likewise.
11254 * gdb.base/multi-forks.exp: Likewise.
11255 * gdb.base/nodebug.exp: Likewise.
11256 * gdb.base/sepdebug.exp: Likewise.
11257 * gdb.base/solib1.c: Likewise.
11258 * gdb.base/step-test.exp: Likewise.
11259 * gdb.mi/non-stop.c: Likewise.
11260 * gdb.mi/pthreads.c: Likewise.
11261 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11262 * gdb.threads/pthreads.c: Likewise.
11263 * gdb.threads/staticthreads.exp: Likewise.
11264 * lib/future.exp: Likewise.
11265 * lib/gdb.exp: Likewise.
11266 * gdb.base/so-indr-cl.c: Remove.
11267 * gdb.base/so-indr-cl.exp: Likewise.
11268 * gdb.base/solib.c: Likewise.
11269 * gdb.base/solib.exp: Likewise.
11270 * gdb.base/solib2.c: Likewise.
11271
b6304613
SM
112722015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11273
11274 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11275 * gdb.base/call-ar-st.exp: Likewise.
11276 * gdb.base/callfuncs.exp: Likewise.
11277 * gdb.base/condbreak.exp: Likewise.
11278 * gdb.base/constvars.exp: Likewise.
11279 * gdb.base/hbreak2.exp: Likewise.
11280 * gdb.base/langs.exp: Likewise.
11281 * gdb.base/list.exp: Likewise.
11282 * gdb.base/long_long.exp: Likewise.
11283 * gdb.base/ptype.exp: Likewise.
11284 * gdb.base/scope.exp: Likewise.
11285 * gdb.base/signals.exp: Likewise.
11286 * gdb.base/so-impl-ld.exp: Likewise.
11287 * gdb.base/varargs.exp: Likewise.
11288 * gdb.base/volatile.exp: Likewise.
11289 * gdb.base/whatis.exp: Likewise.
11290 * gdb.cp/cplusfuncs.exp: Likewise.
11291 * gdb.cp/inherit.exp: Likewise.
11292 * gdb.cp/local.exp: Likewise.
11293 * gdb.cp/member-ptr.exp: Likewise.
11294 * gdb.cp/method.exp: Likewise.
11295 * gdb.cp/overload.exp: Likewise.
11296 * gdb.cp/templates.exp: Likewise.
11297 * gdb.stabs/weird.exp: Likewise.
11298 * lib/compiler.c: Likewise.
11299 * lib/compiler.cc: Likewise.
11300 * lib/cp-support.exp: Likewise.
11301 * lib/gdb.exp: Likewise.
11302
bf401b07
SM
113032015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11304
11305 * configure.ac: Remove HP-UX case.
11306 * configure: Regenerate.
11307
aff9c0f8
SM
113082015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11309
11310 * lib/gdb.exp (gdb_compile): Add function doc.
11311
a6904d5a
PA
113122015-12-17 Pedro Alves <palves@redhat.com>
11313
11314 PR threads/19354
11315 * gdb.multi/info-threads.exp: New file.
11316
a22279dd
YQ
113172015-12-15 Yao Qi <yao.qi@linaro.org>
11318
11319 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11320 is aarch64*-*-*.
11321
0588c796
SL
113222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11323
11324 * gdb.base/history-duplicates.exp: Skip if no readline support.
11325
5d978e17
SL
113262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11327
11328 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11329
7e763b86
SL
113302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11331
11332 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11333
87a3a92c
SL
113342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11335
11336 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11337 ctrl-C if nointerrupts target property is set.
11338 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11339 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11340 * gdb.base/paginate-bg-execution.exp: Likewise.
11341 * gdb.base/paginate-execution-startup.exp: Likewise.
11342 * gdb.base/random-signal.exp: Likewise.
11343 * gdb.base/range-stepping.exp: Likewise.
11344 * gdb.cp/annota2.exp: Likewise.
11345 * gdb.cp/annota3.exp: Likewise.
11346 * gdb.gdb/selftest.exp: Likewise.
11347 * gdb.threads/continue-pending-status.exp: Likewise.
11348 * gdb.threads/leader-exit.exp: Likewise.
11349 * gdb.threads/manythreads.exp: Likewise.
11350 * gdb.threads/pthreads.exp: Likewise.
11351 * gdb.threads/schedlock.exp: Likewise.
11352 * gdb.threads/sigthread.exp: Likewise.
11353
a8f077dc
DB
113542015-12-11 Don Breazeal <donb@codesourcery.com>
11355
11356 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11357 remote.
11358 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11359 * gdb.base/foll-exec.exp (main): Enable for target remote.
11360 * gdb.base/foll-fork.exp (main): Likewise.
11361 * gdb.base/foll-vfork.exp (main): Likewise.
11362 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11363 (proc continue_to_exit_bp_loc): Use clean_restart.
11364 * gdb.base/pie-execl.exp (main): Disable for target remote.
11365 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11366 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11367 * gdb.threads/execl.exp (main): Likewise.
11368 * gdb.threads/fork-child-threads.exp (main): Likewise.
11369 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11370 remote.
11371 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11372 remote.
11373 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11374 pid.tid style ptids, instead of just tid.
11375 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11376 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11377 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11378 ptids, instead of just tid.
11379
3b2464a8
AB
113802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11381
11382 * gdb.base/list.exp (test_list_forward): Add end of file error
11383 test.
11384 (test_repeat_list_command): Add end of file error test.
11385 (test_list_backwards): Add beginning of file error test.
11386
a0def019
AB
113872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11388
11389 * gdb.base/list.exp (test_list_invalid_args): New function,
11390 defined, and called.
11391
5c000dff
AB
113922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11393
11394 * gdb.base/list.exp (test_list): Make test names unique.
11395
f1637ebe
YQ
113962015-12-11 Yao Qi <yao.qi@linaro.org>
11397
11398 * gdb.base/coremaker2.c: Remove.
11399
36d6fc0a
PA
114002015-12-10 Pedro Alves <palves@redhat.com>
11401
11402 * gdb.multi/base.exp: Remove stale "spaces" references.
11403
762f7747
PA
114042015-12-10 Pedro Alves <palves@redhat.com>
11405
11406 * gdb.multi/base.exp: Don't use nowarnings.
11407 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11408 * gdb.multi/hangout.c: Include stdio.h.
11409 * gdb.multi/hello.c: Include stdlib.h.
11410 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11411 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11412 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11413
28d2bfb9
AB
114142015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11415
11416 * gdb.dwarf2/dw2-ranges-base.c: New file.
11417 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11418 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11419 support additional line table, and debug ranges generation.
11420 (Dwarf::ranges): New function, generate .debug_ranges.
11421 (Dwarf::lines): Support generating simple line table programs.
11422 (Dwarf::assemble): Initialise new namespace variables.
11423
5fc2beac
KB
114242015-12-09 Kevin Buettner <kevinb@redhat.com>
11425
11426 * gdb.base/async.exp (proc test_background): Add case for
11427 asynchronous execution not supported.
11428
1c35a88f
LM
114292015-12-09 Luis Machado <lgustavo@codesourcery.com>
11430
11431 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11432 format and change test names to make them unique.
11433
b593e3d9
RK
114342015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11435 Pedro Alves <pedro@redhat.com>
11436
11437 PR gdb/18702
11438 Add checking of floatformats setup on x86_64 hosts.
11439 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11440 (smallval, bigval): New labels/constants.
11441 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11442 float" after loading bigval and smallval.
11443
d72413e6
PMR
114442015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11445
11446 * gdb.ada/fun_overload_menu.exp: New testcase.
11447 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11448
ece66d65
JS
114492015-12-04 Josh Stone <jistone@redhat.com>
11450
11451 * gdb.base/catch-fork-static.exp: New.
11452
41d0efca
YQ
114532015-12-03 Yao Qi <yao.qi@linaro.org>
11454
11455 * gdb.base/sizeof.c: Don't include stdio.h and
11456 ../lib/unbuffer_output.c.
11457 (main): New variable 'size' and 'value'. Remove printf and
11458 gdb_unbuffer_output. Assign return value to size and value.
11459 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11460 at the beginning.
11461 (check_sizeof): Check the result by printing variable 'size'.
11462 (check_valueof): Check the result by printing variable 'value'.
11463
99fd02d9
YQ
114642015-12-01 Yao Qi <yao.qi@linaro.org>
11465
11466 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11467 for aarch64*-*-linux* target.
11468
f2faf941
PA
114692015-11-30 Pedro Alves <palves@redhat.com>
11470
11471 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11472
04bf20c5
PA
114732015-11-30 Pedro Alves <palves@redhat.com>
11474
11475 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11476 Handle non-stop mode vCont replies.
11477
09df4675
PA
114782015-11-30 Pedro Alves <palves@redhat.com>
11479
11480 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11481 prepare_for_testing. Start gdb with "set non-stop on" appended to
11482 GDBFLAGS. Lax expected stop output.
11483
58b584af
YQ
114842015-11-27 Yao Qi <yao.qi@linaro.org>
11485
11486 * gdb.arch/arm-neon.exp: New.
11487 * gdb.arch/arm-neon.c: New.
11488
dfcb77a8
YQ
114892015-11-27 Yao Qi <yao.qi@linaro.org>
11490
11491 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11492
88e8ec1b
YQ
114932015-11-27 Yao Qi <yao.qi@linaro.org>
11494
11495 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11496 frames-invalid annotation.
11497
bfde72c2
YQ
114982015-11-27 Yao Qi <yao.qi@linaro.org>
11499
11500 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11501
f6512a69
SM
115022015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11503
11504 * gdb.threads/names.exp: New file.
11505 * gdb.threads/names.c: New file.
11506 * README: Mention gdb,no_thread_names.
11507
46a3515b
MM
115082015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11509
11510 PR 19297
11511 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11512 support" error.
11513
62147a22
PA
115142015-11-24 Pedro Alves <palves@redhat.com>
11515
11516 PR 17539
11517 * gdb.base/display.exp: Expect displays to be sorted in ascending
11518 order. Use multi_line.
11519 * gdb.base/solib-display.exp: Likewise.
11520
2f341b6e
PA
115212015-11-24 Pedro Alves <palves@redhat.com>
11522
11523 PR 17539
25d49b86
PA
11524 * gdb.base/display.exp: Expect displays to be sorted in ascending
11525 order. Use multi_line.
11526 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11527
7e0aa6aa
PA
115282015-11-24 Pedro Alves <palves@redhat.com>
11529
11530 PR 17539
11531 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11532 threads in ascending order.
11533 * gdb.base/foll-fork.exp: Likewise.
11534 * gdb.base/foll-vfork.exp: Likewise.
11535 * gdb.base/multi-forks.exp: Likewise.
11536 * gdb.mi/mi-nonstop.exp: Likewise.
11537 * gdb.mi/mi-nsintrall.exp: Likewise.
11538 * gdb.multi/base.exp: Likewise.
11539 * gdb.multi/multi-arch.exp: Likewise.
11540 * gdb.python/py-inferior.exp: Likewise.
11541 * gdb.threads/break-while-running.exp: Likewise.
11542 * gdb.threads/execl.exp: Likewise.
11543 * gdb.threads/gcore-thread.exp: Likewise.
11544 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11545 * gdb.threads/kill.exp: Likewise.
11546 * gdb.threads/linux-dp.exp: Likewise.
11547 * gdb.threads/multiple-step-overs.exp: Likewise.
11548 * gdb.threads/next-bp-other-thread.exp: Likewise.
11549 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11550 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11551 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11552 * gdb.threads/thread-find.exp: Likewise.
11553 * gdb.threads/tls.exp: Likewise.
11554 * lib/mi-support.exp (mi_reverse_list): Delete.
11555 (mi_check_thread_states): No longer reverse list.
11556
2cc57ad8
PA
115572015-11-24 Pedro Alves <palves@redhat.com>
11558
11559 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11560 use lowercase.
11561
c93e8391
SM
115622015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11563
11564 * gdb.trace/actions.c: Include trace-common.h.
11565 (main): Add a location for a fast tracepoint.
11566 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11567 the normal tracepoints.
11568 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11569
045ccf91
SM
115702015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11571
11572 * save-trace.exp: Factor out code to these...
11573 (gdb_save_tracepoints): New.
11574 (gdb_load_tracepoints): New.
11575 (do_save_load_test): New.
11576
5506f9f6
KB
115772015-11-23 Kevin Buettner <kevinb@redhat.com>
11578
11579 * gdb.base/asmlabel.exp: New test.
11580 * gdb.base/asmlabel.c: New test case.
11581
16c3b12f
JB
115822015-11-23 Joel Brobecker <brobecker@adacore.com>
11583
11584 * gdb.base/wrong_frame_bt_full-main.c: New file.
11585 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11586 * gdb.base/wrong_frame_bt_full.exp: New file.
11587
155bfbd3
JB
115882015-11-23 Joel Brobecker <brobecker@adacore.com>
11589
11590 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11591
bb097445
JM
115922015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11593
206853a0 11594 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11595 pstate register when comparing registers values in
11596 sparc64-*-linux-gnu targets to avoid spurious differences.
11597
9c88ed8f
JM
115982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11599
206853a0 11600 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11601
96161e25
SL
116022015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11603
11604 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11605 as type argument to gdb_compile.
11606 * gdb.base/nested-subp2.exp: Likewise.
11607 * gdb.base/nested-subp3.exp: Likewise.
11608
340c2830
DV
116092015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11610
11611 * lib/dwarf.exp (_note): Fix left shift of negative value.
11612 * gdb.trace/trace-condition.exp: Likewise.
11613
c1862d0f
YQ
116142015-11-13 Yao Qi <yao.qi@linaro.org>
11615
11616 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11617 comments about d10v.
11618 (test_scalar_returns): Likewise.
11619 * gdb.base/d10v.ld: Remove.
11620 * gdb.base/overlays.exp: Remove the target triplet checking for
11621 d10v-*-*.
11622 * gdb.base/structs.exp (test_struct_returns): Remove the
11623 comments about d10v.
11624 (test_struct_calls): Likewise.
11625
77ae9c19
YQ
116262015-11-13 Yao Qi <yao.qi@linaro.org>
11627
11628 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11629 * gdb.base/gnu_vector.c: Don't include stdio.h.
11630 (main): Don't print res and call add_some_intvecs.
11631
430e004e
MK
116322015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11633
11634 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11635 macro.
11636 (func5): Removed.
11637 (func4): Use FAST_TRACEPOINT_LABEL.
11638 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11639 macro.
11640 (func): Removed.
11641 (thread_function): Use FAST_TRACEPOINT_LABEL.
11642 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11643 (func): Remove.
11644 (marker): Use FAST_TRACEPOINT_LABEL.
11645 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11646 (pendfunc1): Remove.
11647 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11648 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11649 (foo): Remove.
11650 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11651 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11652 macro.
11653 (func): Remove.
11654 (marker): Use FAST_TRACEPOINT_LABEL.
11655 * gdb.trace/trace-common.h: New header.
11656 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11657 macro.
11658 (func): Remove.
11659 (marker): Use FAST_TRACEPOINT_LABEL.
11660 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11661 (func): Remove.
11662 (thread_function): Use FAST_TRACEPOINT_LABEL.
11663
6e7675a7
MK
116642015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11665
11666 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11667 in front.
11668 * gdb.trace/change-loc.exp: Use global pcreg definition.
11669 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11670 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11671 in front.
11672 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11673 * gdb.trace/pending.exp: Likewise.
11674 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11675 * gdb.trace/trace-break.exp: Likewise.
11676 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11677 in front.
11678 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11679 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11680 in front.
11681 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11682
dddc0e16
JB
116832015-11-09 Joel Brobecker <brobecker@adacore.com>
11684
11685 * gdb.ada/fin_fun_out: New testcase.
11686
c6f0b406
KB
116872015-11-07 Kevin Buettner <kevinb@redhat.com>
11688
11689 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11690 value associated with DW_AT_byte_size.
11691 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11692 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11693 DW_AT_upper_bound.
11694
f01dcfd9
KB
116952015-11-07 Kevin Buettner <kevinb@redhat.com>
11696
11697 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11698 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11699 version.
11700 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11701 gdb.dwarf2/dw2-canonicalize-type.exp,
11702 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11703 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11704 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11705 provided by gdb_target_symbol_prefix_flags_asm.
11706 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11707 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11708 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11709 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11710 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11711 macros where needed). Use this macro for symbols which require
11712 the prefix provided by SYMBOL_PREFIX.
11713
2223449a
KB
117142015-11-05 Kevin Buettner <kevinb@redhat.com>
11715
11716 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11717 New procs.
11718 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11719 representing expressions, of more than one list element.
11720 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11721 to prepend linker symbol prefix to f.
11722 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11723 table_1 and table_2.
11724 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11725 Likewise, for f and g.
11726 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11727 for ptr.
11728 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11729 for main.
11730 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11731 table_1_ptr and table_2_ptr.
11732
6f2f1a3a
JK
117332015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11734 Joel Brobecker <brobecker@adacore.com>
11735
11736 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11737
566c56c9
MK
117382015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11739
11740 * gdb.reverse/s390-mvcle.c: New test.
11741 * gdb.reverse/s390-mvcle.exp: New file.
11742 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11743
d5f0636b
MK
117442015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11745
11746 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11747
7ad8b86c
MK
117482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11749
11750 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11751 reaching marker2.
11752 * gdb.reverse/getresuid-reverse.exp: Likewise.
11753 * gdb.reverse/pipe-reverse.exp: Likewise.
11754 * gdb.reverse/readv-reverse.exp: Likewise.
11755 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11756 * gdb.reverse/time-reverse.exp: Likewise.
11757 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11758
4081c0f1
YQ
117592015-10-30 Yao Qi <yao.qi@linaro.org>
11760
11761 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11762 (empty_cycle): Remove.
11763 (main): Don't call empty_cycle. Don't use watch_count_done.
11764 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11765 empty_cycle. Rewrite the code counting HW watchpoints.
11766
452b4ba5
MK
117672015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11768
11769 * gdb.reverse/fstatat-reverse.c: New test.
11770 * gdb.reverse/fstatat-reverse.exp: New file.
11771 * gdb.reverse/getresuid-reverse.c: New test.
11772 * gdb.reverse/getresuid-reverse.exp: New file.
11773 * gdb.reverse/pipe-reverse.c: New test.
11774 * gdb.reverse/pipe-reverse.exp: New file.
11775 * gdb.reverse/readv-reverse.c: New test.
11776 * gdb.reverse/readv-reverse.exp: New file.
11777 * gdb.reverse/recvmsg-reverse.c: New test.
11778 * gdb.reverse/recvmsg-reverse.exp: New file.
11779 * gdb.reverse/time-reverse.c: New test.
11780 * gdb.reverse/time-reverse.exp: New file.
11781 * gdb.reverse/waitpid-reverse.c: New test.
11782 * gdb.reverse/waitpid-reverse.exp: New file.
11783
5e2e7507
JK
117842015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11785
11786 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11787
0fde2c53
DE
117882015-10-26 Doug Evans <dje@google.com>
11789
11790 PR symtab/17391
11791 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11792 * gdb.dwarf2/bad-regnum.c: New file.
11793 * gdb.dwarf2/bad-regnum.exp: New file.
11794
1a70ae97
DE
117952015-10-26 Doug Evans <dje@google.com>
11796
11797 PR python/18938
11798 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11799 file.
11800
27dc26ab
JK
118012015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11802
11803 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11804 for a change by "Mention language in compile error message".
11805
bed91f4d
SM
118062015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11807
11808 PR python/18073
11809 * gdb.python/py-type.c (C::a_method): New.
11810 (C::a_const_method): New.
11811 (C::a_static_method): New.
11812 (a_function): New.
11813 * gdb.python/py-type.exp (test_fields): Test getting fields
11814 from function and method.
11815
3f2f83dd
KB
118162015-10-21 Keven Boell <keven.boell@intel.com>
11817
11818 * gdb.fortran/vla-alloc-assoc.exp: New file.
11819 * gdb.fortran/vla-datatypes.exp: New file.
11820 * gdb.fortran/vla-datatypes.f90: New file.
11821 * gdb.fortran/vla-history.exp: New file.
11822 * gdb.fortran/vla-ptype-sub.exp: New file.
11823 * gdb.fortran/vla-ptype.exp: New file.
11824 * gdb.fortran/vla-sizeof.exp: New file.
11825 * gdb.fortran/vla-sub.f90: New file.
11826 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11827 * gdb.fortran/vla-value-sub-finish.exp: New file.
11828 * gdb.fortran/vla-value-sub.exp: New file.
11829 * gdb.fortran/vla-value.exp: New file.
11830 * gdb.fortran/vla-ptr-info.exp: New file.
11831 * gdb.mi/mi-vla-fortran.exp: New file.
11832 * gdb.mi/vla.f90: New file.
11833
27145d50
SL
118342015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11835
11836 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11837 of hardwired timeout value.
11838
5f3ff4f8
JK
118392015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11840 Pedro Alves <palves@redhat.com>
11841
11842 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11843 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11844
bfd09d20
JS
118452015-10-19 Josh Stone <jistone@redhat.com>
11846
11847 * gdb.base/catch-syscall.c: Include <sched.h>.
11848 (unknown_syscall): New variable.
11849 (main): Trigger a vfork and an unknown syscall.
11850 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11851 (unknown_syscall_number): Likewise.
11852 (check_call_to_syscall): Accept an optional syscall pattern.
11853 (check_return_from_syscall): Likewise.
11854 (check_continue): Likewise.
11855 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11856 (test_catch_syscall_skipping_return): New test toggling off 'catch
11857 syscall' to step over the syscall return, then toggling back on.
11858 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11859 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11860 (do_syscall_tests): Call test_catch_syscall_without_args and
11861 test_catch_syscall_mid_vfork.
11862 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11863 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11864
b32b93c6
AS
118652015-10-19 Andrew Stubbs <ams@codesourcery.com>
11866
11867 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11868 print g_vE): Add new pass patterns.
11869 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11870 print various symbol names for vptr fields.
11871
9d622bda
AB
118722015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11873
11874 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11875 results.
11876
0fd8ac1c
YQ
118772015-10-12 Yao Qi <yao.qi@linaro.org>
11878
11879 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11880
34240514
YQ
118812015-10-12 Yao Qi <yao.qi@linaro.org>
11882
11883 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11884 is aarch64*-*-linux*.
11885
8240f442
YQ
118862015-10-12 Yao Qi <yao.qi@linaro.org>
11887
11888 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11889 (can_relocate_bcond_true): ... it.
11890 (can_relocate_bcond_false): New function.
11891 (foo): Likewise.
11892 (can_relocate_bl): Likewise.
11893 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11894 can_relocate_bl.
11895
2520f728
PMR
118962015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11897
11898 * gdb.base/nested-addr.c: New file.
11899 * gdb.base/nested-addr.exp: New testcase.
11900
abcef95a
MM
119012015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11902
11903 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11904 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11905 its output. Ignore the output of "record goto begin" and instead
11906 check that GDB is replaying.
11907
145e3ddb
PA
119082015-10-09 Pedro Alves <palves@redhat.com>
11909
11910 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11911 (top level): Use it in the run with no args test.
11912
d5d8c4e1
IB
119132015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11914
11915 * gdb.dlang/properties.exp: New file.
11916
06e635ef
SL
119172015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11918
11919 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11920 whether or not address 0x1000 is mapped on the target.
11921
e019fd1d
SM
119222015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11923
11924 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11925 build.
11926
77ba2a67
MM
119272015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11928
11929 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11930 instruction-history test.
11931
c60eb31f
DE
119322015-09-28 Doug Evans <dje@google.com>
11933
11934 * gdb.base/gcore.c (array_func): Add reference to static_array.
11935
9a3c8263
SM
119362015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11937
11938 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11939 source line.
11940
9720e656
SL
119412015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11942
11943 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11944 short or char as base type.
11945
938d3bf2
SL
119462015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11947
11948 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11949 to allow any size enum.
11950
e6c2c623
PMR
119512015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11952
11953 * gdb.ada/array_ptr_renaming.exp: New testcase.
11954 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11955 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11956
06da0f77
PL
119572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11958
11959 * gdb.trace/ftrace-lock.c: New file.
11960 * gdb.trace/ftrace-lock.exp: New file.
11961
4f51c22a
PL
119622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11963
11964 * gdb.arch/insn-reloc.c: New file.
11965 * gdb.arch/ftrace-insn-reloc.exp: New file.
11966
7041adf4
PL
119672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11968
11969 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11970 instruction.
11971 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11972 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11973 * gdb.trace/range-stepping.c: Likewise.
11974 * gdb.trace/trace-break.c: Likewise.
11975 * gdb.trace/trace-mt.c (thread_function): Likewise.
11976 * gdb.trace/ftrace.c (marker): Likewise.
11977 * gdb.trace/trace-condition.c (marker): Likewise.
11978 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11979 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11980 is_aarch64_target.
11981
015d2e7e
DE
119822015-09-18 Doug Evans <xdje42@gmail.com>
11983
11984 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11985 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11986
26b188a2
SL
119872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11988
11989 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11990 the breakpoint.
11991
79dc332b
SL
119922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11993
11994 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11995 the pending breakpoint. Remove timeout override for "Run till
11996 MI pending breakpoint on pendfunc3 on thread 2" test.
11997
f57929f2
SL
119982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11999
12000 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12001 filename pattern.
12002
3f469b17
SL
120032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12004
12005 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12006 in breakpoint filename pattern.
12007
515b89b3
SL
120082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12009
7800dbe4
SL
12010 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12011
120122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12013
515b89b3
SL
12014 * gdb.linespec/explicit.exp: Check for readline support for
12015 tab-completion tests. Fix obvious typo.
12016
d2939ba2
MM
120172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12018
12019 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12020 and replay.
12021
cbb55fa7
MM
120222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12023
12024 * gdb.btrace/non-stop.c: New.
12025 * gdb.btrace/non-stop.exp: New.
12026
43691ca1
PL
120272015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12028 Yao Qi <yao.qi@linaro.org>
12029
12030 * gdb.trace/trace-condition.c: New file.
12031 * gdb.trace/trace-condition.exp: New file.
12032
d78908cf
WW
120332015-09-16 Wei-cheng Wang <cole945@gmail.com>
12034
12035 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12036 for testing bytecode compilation.
12037
1ed415e2
PA
120382015-09-16 Pedro Alves <palves@redhat.com>
12039 Sandra Loosemore <sandra@codesourcery.com>
12040
12041 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12042 (SECONDS): Redefine.
12043 (main): Call pthread_kill and alarm early.
12044 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12045 support.
12046 (test): If the target can't hardware step and doesn't support
12047 displaced stepping, increase the timeout.
12048
d136eff5
PA
120492015-09-16 Pedro Alves <palves@redhat.com>
12050
12051 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12052 (enable_debug): New procedures.
12053 (test): Use them. Bail out if waiting for threads fails.
12054 (top level): Bail out if a test fails.
12055
991f019c
YQ
120562015-09-16 Yao Qi <yao.qi@linaro.org>
12057
12058 * gdb.asm/asm-source.exp: Set asm-arch for
12059 aarch64*-*-* target.
12060 * gdb.asm/aarch64.inc: New file.
12061
bfca584f
PMR
120622015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12063
12064 * gdb.ada/array_of_variable_length.exp: New testcase.
12065 * gdb.ada/array_of_variable_length/foo.adb: New file.
12066 * gdb.ada/array_of_variable_length/pck.adb: New file.
12067 * gdb.ada/array_of_variable_length/pck.ads: New file.
12068
b326e587
DE
120692015-09-15 Doug Evans <dje@google.com>
12070
12071 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12072 of function static local variable.
12073
5382cfab
PW
120742015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12075
12076 * gdb.threads/tls-so_extern.exp: New test file.
12077 * gdb.threads/tls-so_extern.c: New test file.
12078 * gdb.threads/tls-so_extern_main.c: New test file.
12079
141c5cc4
JK
120802015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12081
12082 * gdb.opt/solib-intra-step-lib.c: New file.
12083 * gdb.opt/solib-intra-step-main.c: New file.
12084 * gdb.opt/solib-intra-step.exp: New file.
12085
d15dcecd
PA
120862015-09-15 Pedro Alves <palves@redhat.com>
12087
12088 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12089 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12090
4c2f2a79
PA
120912015-09-14 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.base/hook-stop-continue.c: Delete.
12094 * gdb.base/hook-stop-continue.exp: Delete.
12095 * gdb.base/hook-stop-frame.c: Delete.
12096 * gdb.base/hook-stop-frame.exp: Delete.
12097 * gdb.base/hook-stop.c: New file.
12098 * gdb.base/hook-stop.exp: New file.
12099
919e6dbe
PMR
121002015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12101
12102 * gdb.ada/access_to_packed_array.exp: New testcase.
12103 * gdb.ada/access_to_packed_array/foo.adb: New file.
12104 * gdb.ada/access_to_packed_array/pack.adb: New file.
12105 * gdb.ada/access_to_packed_array/pack.ads: New file.
12106
157280a4
MM
121072015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12108
12109 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12110 buffer size test.
12111
2fd33e94
DB
121122015-09-11 Don Breazeal <donb@codesourcery.com>
12113
12114 * gdb.base/foll-exec.c: Add copyright header. Fix
12115 formatting issues.
12116 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12117 (do_exec_tests): Use clean_restart in place of zap_session,
12118 and for test initialization. Fix formatting issues. Use
12119 fail in place of perror.
12120 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12121 an expect statement to match an expression with output from
12122 the program under debug.
12123 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12124 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12125 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12126 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12127 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12128
e70b6e8e
DE
121292015-09-09 Doug Evans <dje@google.com>
12130
12131 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12132
7a551a51
DE
121332015-09-09 Doug Evans <dje@google.com>
12134
12135 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12136
4c666f84
DE
121372015-09-09 Doug Evans <dje@google.com>
12138
12139 * gdb.base/savedregs.exp: Fix typo.
12140
243a9253
PA
121412015-09-09 Pedro Alves <palves@redhat.com>
12142
12143 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12144
c0fa8fbd
SL
121452015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12146
12147 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12148 command actually switches threads. Give up on remaining
12149 tests if target fails to stop at breakpoint.
12150
cd7c1778
PMR
121512015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12152
12153 * gdb.ada/funcall_char.exp: New testcase.
12154 * gdb.ada/funcall_char/foo.adb: New file.
12155
dc5c8746
PMR
121562015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12157
12158 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12159 expected outputs. Add two testcases for completing ambiguous
12160 functions.
12161 * gdb.ada/complete/aux_pck.adb: New file.
12162 * gdb.ada/complete/aux_pck.ads: New file.
12163 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12164 Ambiguous_Func functions.
12165 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12166 * gdb.ada/complete/pck.adb: Likewise.
12167
4e83a1e7
UW
121682015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12169
12170 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12171 failures to run the test program under GDB.
12172
8ce74153
LM
121732015-08-26 Luis Machado <lgustavo@codesourcery.com>
12174
12175 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12176 to C.
12177
e9756d52
PP
121782015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12179
12180 * gdb.base/run-after-attach.exp: New test file.
12181 * gdb.base/run-after-attach.c: New test file.
12182
8d37573b
DB
121832015-08-26 Don Breazeal <donb@codesourcery.com>
12184
12185 * gdb.base/foll-exec-2.c: New test program.
12186 * gdb.base/foll-exec-2.exp: New test.
12187
63e43d3a
PMR
121882015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12189
12190 * gdb.base/nested-subp1.exp: New file.
12191 * gdb.base/nested-subp1.c: New file.
12192 * gdb.base/nested-subp2.exp: New file.
12193 * gdb.base/nested-subp2.c: New file.
12194 * gdb.base/nested-subp3.exp: New file.
12195 * gdb.base/nested-subp3.c: New file.
12196
3d40fbb5
PA
121972015-08-24 Pedro Alves <palves@redhat.com>
12198
12199 * gdb.server/connect-without-multi-process.c: New file.
12200 * gdb.server/connect-without-multi-process.exp: New file.
12201
4422ac93
LM
122022015-08-24 Luis Machado <lgustavo@codesourcery.com>
12203
12204 * gdb.opt/inline-markers.c: Make z int.
12205
91dddb86
LM
122062015-08-24 Luis Machado <lgustavo@codesourcery.com>
12207
12208 * gdb.opt/inline-markers.c: Make z volatile.
12209
a48847ee
LM
122102015-08-24 Luis Machado <lgustavo@codesourcery.com>
12211
12212 * gdb.opt/inline-bt.c: New volatile global z.
12213 * gdb.opt/inline-cmds.c: Likewise.
12214 * gdb.opt/inline-locals.c: Likewise.
12215 * gdb.opt/inline-markers.c: New extern global z.
12216 (marker): Use z.
12217 (inline_fn): Likewise.
12218
0ebbc52b
PA
122192015-08-24 Pedro Alves <palves@redhat.com>
12220
12221 * config/m32r-stub.exp: Remove file.
12222 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12223 * gdb.base/call-rt-st.exp: Likewise.
12224 * gdb.base/call-strs.exp: Likewise.
12225 * gdb.base/default.exp: Remove references to h8300-*-hms and
12226 *-*-udi*.
12227 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12228
77c365df
AA
122292015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12230
12231 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12232 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12233 and "return" use KFAIL when GDB can not read/write the vector
12234 return value.
12235
4313b8c0
GB
122362015-08-21 Gary Benson <gbenson@redhat.com>
12237
12238 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12239
0e433b32
PA
122402015-08-20 Pedro Alves <palves@redhat.com>
12241
12242 * gdb.server/solib-list.exp: No longer expect an interior stop in
12243 non-stop mode.
12244
221e1a37
PA
122452015-08-20 Pedro Alves <palves@redhat.com>
12246
12247 * gdb.server/connect-stopped-target.c: New file.
12248 * gdb.server/connect-stopped-target.exp: New file.
12249
40e3ad0e
PA
122502015-08-20 Pedro Alves <palves@redhat.com>
12251
12252 * gdb.dwarf2/comp-unit-lang.exp: New file.
12253 * gdb.dwarf2/comp-unit-lang.c: New file.
12254
af39b327
PMR
122552015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12256
12257 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12258 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12259
7d45c7c3 122602015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12261
7d45c7c3
KB
12262 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12263 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12264
4d6cceb4
DE
122652015-08-18 Doug Evans <dje@google.com>
12266 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12267
12268 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12269 skip_python_tests. New arg prompt_regexp.
12270 (skip_python_tests): New function.
12271 * lib/mi-support.exp (mi_skip_python_tests): New function.
12272 * gdb.python/py-mi-objfile-gdb.py: New file.
12273 * gdb.python/py-mi-objfile.c: New file.
12274 * gdb.python/py-mi-objfile.exp: New file.
12275
ad89c2aa
KS
122762015-08-17 Keith Seitz <keiths@redhat.com>
12277
12278 * gdb.linespec/explicit.exp: Move strace test from here ...
12279 * gdb.trace/strace.exp: ... to here.
12280
e3ae3c43
PP
122812015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12282
12283 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12284 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12285
604b2636
DE
122862015-08-14 Doug Evans <xdje42@gmail.com>
12287
12288 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12289 inferior before selecting a new file.
12290
6ff0ba5f
DE
122912015-08-14 Doug Evans <xdje42@gmail.com>
12292
12293 * gdb.mi/mi-disassemble.exp: Update.
12294 * gdb.base/disasm-optim.S: New file.
12295 * gdb.base/disasm-optim.c: New file.
12296 * gdb.base/disasm-optim.h: New file.
12297 * gdb.base/disasm-optim.exp: New file.
12298
9ca98f92
KS
122992015-08-14 Keith Seitz <keiths@redhat.com>
12300
12301 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12302 "evaluated-by".
12303
52bbc560
JB
123042015-08-13 Joel Brobecker <brobecker@adacore.com>
12305
12306 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12307
5d8c3ed3
PMR
123082015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12309
12310 * gdb.ada/fun_renaming.exp: New testcase.
12311 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12312 * gdb.ada/fun_renaming/pack.adb: New file.
12313 * gdb.ada/fun_renaming/pack.ads: New file.
12314
ea8812bc
KS
123152015-08-12 Keith Seitz <keiths@redhat.com>
12316
12317 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12318 gdb_get_line_number.
12319
4dafcdeb
JB
123202015-08-12 Joel Brobecker <brobecker@adacore.com>
12321
12322 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12323 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12324 gdb.base/dso2dso.exp: New files.
12325
5ba32597
SDJ
123262015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12327 Pedro Alves <palves@redhat.com>
12328 Keith Seitz <keiths@redhat.com>
12329
12330 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12331 GDBFLAGS.
12332
b6dafabf
PP
123332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12334
12335 * gdb.base/gdbhistsize-history.exp
12336 (test_histsize_history_setting): Use save_vars.
12337 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12338 Use save_vars.
12339 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12340 * gdb.base/readline.exp: Use save_vars.
12341
abe8e607
PP
123422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12343
12344 * lib/gdb.exp (save_vars): New proc.
12345
629500fa
KS
123462015-08-11 Keith Seitz <keiths@redhat.com>
12347
12348 * gdb.base/help.exp: Update help_breakpoint_text.
12349
eb8c4e2e
KS
123502015-08-11 Keith Seitz <keiths@redhat.com>
12351
12352 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12353 (at toplevel): Call test_explicit_breakpoints.
12354 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12355 breakpoints.
12356 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12357 breakpoint conditions, "-cond".
12358
87f0e720
KS
123592015-08-11 Keith Seitz <keiths@redhat.com>
12360
12361 * gdb.linespec/3explicit.c: New file.
12362 * gdb.linespec/cpexplicit.cc: New file.
12363 * gdb.linespec/cpexplicit.exp: New file.
12364 * gdb.linespec/explicit.c: New file.
12365 * gdb.linespec/explicit.exp: New file.
12366 * gdb.linespec/explicit2.c: New file.
12367 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12368 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12369 before using in the matching pattern.
12370 Clarify that `prefix' is a regular expression.
12371
f00aae0f
KS
123722015-08-11 Keith Seitz <keiths@redhat.com>
12373
12374 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12375 test.
12376 Add tests for missing ",FMT" and ",".
12377
e27852be
DE
123782015-08-10 Doug Evans <dje@google.com>
12379 Keith Seitz <keiths@redhat.com>
12380
12381 PR gdb/17960
12382 * gdb.base/completion.exp: Add location completer tests.
12383
7f03bd92
PA
123842015-08-07 Pedro Alves <palves@redhat.com>
12385
12386 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12387 tests here.
12388 (top level): Run do_test with and without displaced stepping.
12389
3fc8eb30
PA
123902015-08-07 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.base/valgrind-disp-step.c: New file.
12393 * gdb.base/valgrind-disp-step.exp: New file.
12394
d4569d7b
PA
123952015-08-07 Pedro Alves <palves@redhat.com>
12396
12397 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12398 Delete function.
12399 (main): Add alarm. Run an infinite loop instead of calling
12400 wait_threads.
12401 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12402 comment.
12403 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12404 Delete function.
12405 (main): Add alarm. Run an infinite loop instead of calling
12406 wait_threads.
12407 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12408 comment.
12409
e1316e60
PA
124102015-08-07 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.base/checkpoint-ns.exp: New file.
12413 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12414 standard_testfile.
12415
da8c46d2
MM
124162015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12417
12418 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12419 * gdb.btrace/instruction_history.exp: Update.
12420 * gdb.btrace/tsx.exp: New.
12421 * gdb.btrace/tsx.c: New.
12422
de1c2c52
PA
124232015-08-06 Pedro Alves <palves@redhat.com>
12424
12425 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12426 increase timeout.
12427 * gdb.reverse/until-precsave.exp: Bump timeouts.
12428
782e0bf4
PA
124292015-08-06 Pedro Alves <palves@redhat.com>
12430
12431 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12432
83e97ed0
PA
124332015-08-06 Pedro Alves <palves@redhat.com>
12434
12435 PR gdb/18749
12436 * gdb.threads/process-dies-while-handling-bp.c: New file.
12437 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12438
863d01bd
PA
124392015-08-06 Pedro Alves <palves@redhat.com>
12440
12441 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12442 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12443
0a39bb32
PA
124442015-08-05 Pedro Alves <palves@redhat.com>
12445
12446 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12447 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12448
ee2d2b10
SL
124492015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12450
12451 * gdb.base/bp-permanent.exp: Report test as unsupported if
12452 the target cannot stop at the permanent breakpoint.
12453
4e1bdb00
DE
124542015-08-03 Doug Evans <dje@google.com>
12455
12456 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12457 10000.
12458
3d338901
DE
124592015-08-03 Doug Evans <dje@google.com>
12460
12461 * Makefile.in (workers/%.worker, build-perf): New rule.
12462 (GDB_PERFTEST_MODE): New variable.
12463 (check-perf): Use it.
12464 (clean): Clean up gdb.perf parallel build subdirs.
12465 * lib/build-piece.exp: New file.
12466 * lib/gdb.exp (make_gdb_parallel_path): New function
12467 (standard_output_file, standard_temp_file): Call it.
12468 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12469 of $GDB_PARALLEL.
12470 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12471
af061d3e
DE
124722015-08-03 Doug Evans <dje@google.com>
12473
8e1afc81 12474 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12475 (LOG_FILE_NAME): New global.
12476 (TextReporter.__init__): Initialize self.txt_sum.
12477 (TextReporter.report): Add support for multiple data-points.
12478 Move report to perftest.sum, put raw data in perftest.log.
12479 (TextReporter.start): Open sum and log files.
12480 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12481 * gdb.perf/lib/perftest/testresult.py
12482 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 12483
2c8c5d37
PA
124842015-07-31 Pedro Alves <palves@redhat.com>
12485
12486 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12487 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12488 kill_wait_spawned_process instead of explicit "kill -9".
12489 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12490 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12491 kill_wait_spawned_process.
12492 * gdb.base/attach-twice.exp: Likewise.
12493 * gdb.base/attach.exp: Likewise.
12494 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12495 gdb_test_multiple.
12496 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12497 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12498 kill_wait_spawned_process.
12499 * gdb.base/valgrind-infcall.exp: Likewise.
12500 * gdb.multi/multi-attach.exp: Likewise.
12501 * gdb.python/py-prompt.exp: Likewise.
12502 * gdb.python/py-sync-interp.exp: Likewise.
12503 * gdb.server/ext-attach.exp: Likewise.
12504 * gdb.threads/attach-into-signal.exp (corefunc): Use
12505 spawn_wait_for_attach, spawn_id_get_pid and
12506 kill_wait_spawned_process.
12507 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12508 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12509 spawn_id_get_pid and kill_wait_spawned_process.
12510 * gdb.threads/attach-stopped.exp (corefunc): Use
12511 spawn_wait_for_attach, spawn_id_get_pid and
12512 kill_wait_spawned_process.
12513 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12514 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12515 kill_wait_spawned_process instead of explicit "kill -9".
12516 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12517 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12518 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12519 processes. Don't map cygwin/windows pids here. Now returns a
12520 spawn id list.
12521
032a0fca
SL
125222015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12523
12524 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12525 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12526 correct patch.
12527
61a934ca
SL
125282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12529
12530 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12531
4bc4d428
SL
125322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12533
12534 Reapply:
12535 2014-05-21 Mark Wielaard <mjw@redhat.com>
12536
12537 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12538
998d452a
PA
125392015-07-30 Pedro Alves <palves@redhat.com>
12540
12541 * linux-low.c (handle_extended_wait): Set the child's last
12542 reported status to TARGET_WAITKIND_STOPPED.
12543
69dde7dc
PA
125442015-07-30 Pedro Alves <palves@redhat.com>
12545
12546 PR threads/18600
12547 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12548 only shows inferior 1.
12549
4dd63d48
PA
125502015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12551 Pedro Alves <palves@redhat.com>
12552
12553 PR threads/18600
12554 * gdb.threads/fork-plus-threads.c: New file.
12555 * gdb.threads/fork-plus-threads.exp: New file.
12556
d618e4c5
PP
125572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12558
12559 * gdb.base/batch-preserve-term-settings.exp
12560 (test_terminal_settings_preserved_after_cli_exit): Use
12561 send_quit_command.
12562
1eef6428
PA
125632015-07-29 Pedro Alves <palves@redhat.com>
12564 Don Breazeal <donb@codesourcery.com>
12565
12566 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12567 output from both inferior_spawn_id and gdb_spawn_id.
12568
7da5b897
SDJ
125692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12570
12571 * gdb.threads/attach-into-signal.exp (corefunc): Use
12572 with_test_prefix on nested loops, uniquefying the test messages.
12573
dac804df
SDJ
125742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12575
12576 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12577 commit.
12578
06265e53
PP
125792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12580
12581 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12582 New proc.
12583 (test_terminal_settings_preserved_after_sigterm): New test.
12584
18206ca3
PP
125852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12586
12587 * gdb.base/batch-preserve-term-settings.exp
12588 (test_terminal_settings_preserved_after_cli_exit): New test.
12589
90074d11
PP
125902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12591
12592 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12593 manipulation of saved_gdbflags.
12594 (test_terminal_settings_preserved): Remove global declaration of
12595 the unused variable pagination_prompt. Remove manipulation of
12596 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12597 GDBFLAGS.
12598
eb1a7902
PA
125992015-07-29 Pedro Alves <palves@redhat.com>
12600
12601 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12602
8b75dd3b
PA
126032015-07-29 Pedro Alves <palves@redhat.com>
12604
12605 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12606 at the top.
12607
dedad4e3
PA
126082015-07-29 Pedro Alves <palves@redhat.com>
12609
12610 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12611 (main): Call gdb_unbuffer_output.
12612 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12613 (main): Call gdb_unbuffer_output.
12614 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12615 (main): Call gdb_unbuffer_output.
12616 * gdb.base/call-strs.exp: Adjust to step over the
12617 gdb_unbuffer_output call.
12618 * gdb.base/catch-gdb-caused-signals.c: Include
12619 "../lib/unbuffer_output.c".
12620 (main): Call gdb_unbuffer_output.
12621 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12622 (main): Call gdb_unbuffer_output.
12623 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12624 (main): Call gdb_unbuffer_output.
12625 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12626 (main): Call gdb_unbuffer_output.
12627 * gdb.base/shlib-call.exp: Adjust to step over the
12628 gdb_unbuffer_output call.
12629 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12630 (main): Call gdb_unbuffer_output.
12631 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12632 (main): Call gdb_unbuffer_output.
12633 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12634 (main): Rename to ...
12635 (test): ... this.
12636 (main): Reimplement.
12637 * gdb.base/varargs.exp: Run to test instead of to main.
12638 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12639 (main): Call gdb_unbuffer_output.
12640
58789a91
PA
126412015-07-29 Pedro Alves <palves@redhat.com>
12642
12643 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12644 factore out from mi_continue_dprintf. For call-style dprintfs,
12645 expect dprintf output out of $inferior_spawn_id.
12646 (mi_continue_dprintf): Use mi_expect_dprintf.
12647 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12648 (main): Call gdb_unbuffer_output.
12649
e8376742
PA
126502015-07-29 Pedro Alves <palves@redhat.com>
12651
12652 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12653 (default_mi_gdb_start): Set inferior_spawn_id instead of
12654 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12655 gdb_spawn_id.
12656 (mi_gdb_test): Always expect inferior output from both
12657 $inferior_spawn_id and $gdb_spawn_id.
12658
08280010
PA
126592015-07-29 Pedro Alves <palves@redhat.com>
12660
12661 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12662 send_inferior and $inferior_spawn_id.
12663
4d30e432
PA
126642015-07-29 Pedro Alves <palves@redhat.com>
12665
12666 * gdb.gdb/complaints.exp (test_initial_complaints)
12667 (test_serial_complaints, test_short_complaints): Use
12668 gdb_test_stdio.
12669 (test_empty_complaint): Handle $inferior_spawn_id !=
12670 $gdb_spawn_id.
12671
0d30a335
PA
126722015-07-29 Pedro Alves <palves@redhat.com>
12673
12674 * gdb.base/varargs.exp: Use gdb_test_stdio.
12675
39413b29
PA
126762015-07-29 Pedro Alves <palves@redhat.com>
12677
12678 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12679
7cb000a9
PA
126802015-07-29 Pedro Alves <palves@redhat.com>
12681
12682 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12683
d7b8ac82
PA
126842015-07-29 Pedro Alves <palves@redhat.com>
12685
12686 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12687 parameter into two new parameters, "inf_result" and "gdb_result".
12688 Expect inferior output and gdb output from $inferior_spawn_id and
12689 $gdb_spawn_id, respectively. Adjust all callers.
12690
789c3a0c
PA
126912015-07-29 Pedro Alves <palves@redhat.com>
12692
12693 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12694 of gdb_test_sequence.
12695
77e760c3
PA
126962015-07-29 Pedro Alves <palves@redhat.com>
12697
12698 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12699 (saw_spurious_output): Expect inferior output from
12700 $inferior_spawn_id. Use gdb_test_stdio.
12701
8396d2cd
PA
127022015-07-29 Pedro Alves <palves@redhat.com>
12703
12704 * gdb.base/dprintf.exp: Use standard_testfile. Change
12705 prepare_for_testing call.
12706 (srcfile): Don't set.
12707 (restart): New procedure.
12708 (test_dprintf): New procecure, use to continue over dprintfs.
12709 (test_call, test_agent): New procedures, tests moved here.
12710 Restart gdb and recreate dprintfs. Adjust expected output.
12711
2051d61f
PA
127122015-07-29 Pedro Alves <palves@redhat.com>
12713
12714 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12715
452397af
PA
127162015-07-29 Pedro Alves <palves@redhat.com>
12717
12718 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12719
8aed9555
PA
127202015-07-29 Pedro Alves <palves@redhat.com>
12721
12722 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12723 gdb_test_stdio.
12724
188a61b4
PA
127252015-07-29 Pedro Alves <palves@redhat.com>
12726
12727 * lib/gdb.exp (gdb_test_stdio): New procedure.
12728
12264a45
PA
127292015-07-29 Pedro Alves <palves@redhat.com>
12730
12731 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12732
23ffc893
PA
127332015-07-29 Pedro Alves <palves@redhat.com>
12734
12735 * gdb.base/call-signal-resume.exp: Remove check for
12736 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12737 * gdb.base/unwindonsignal.exp: Likewise.
12738 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12739 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12740
65566918
PA
127412015-07-29 Pedro Alves <palves@redhat.com>
12742
12743 * gdb.base/siginfo-addr.c (pass): New function.
12744 (handler): Call it iff si_addr is correct.
12745 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12746 Set a breakpoint at "pass" and continue to it.
12747
d60a9221
SDJ
127482015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12749
12750 * gdb.python/py-objfile.exp: Make some tests have unique names.
12751 * gdb.python/py-pp-registration.exp: Likewise.
12752
bde40b8f
PA
127532015-07-28 Pedro Alves <palves@redhat.com>
12754
12755 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12756
13e1dec8
SM
127572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12758
12759 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12760
da33c9a7
SM
127612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12762
12763 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12764
077836f7
PP
127652015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12766
12767 * gdb.base/gdb-sigterm-2.exp: New test.
12768
b8cc7b2e
DE
127692015-07-25 Doug Evans <xdje42@gmail.com>
12770
12771 Revert:
12772 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12773 (workers/%.worker, build-perf): New rule.
12774 (GDB_PERFTEST_MODE): New variable.
12775 (check-perf): Use it.
12776 (clean): Clean up gdb.perf parallel build subdirs.
12777 * lib/build-piece.exp: New file.
12778 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12779 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12780 name.
12781 (standard_temp_file): Ditto.
12782 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12783 of $GDB_PARALLEL.
12784
c8bd4544
DE
127852015-07-24 Doug Evans <dje@google.com>
12786
12787 * gdb.perf/lib/perftest/utils.py: New file.
12788 * gdb.perf/gm-hello.cc: New file.
12789 * gdb.perf/gm-pervasive-typedef.cc: New file.
12790 * gdb.perf/gm-pervasive-typedef.h: New file.
12791 * gdb.perf/gm-std.cc: New file.
12792 * gdb.perf/gm-std.h: New file.
12793 * gdb.perf/gm-use-cerr.cc: New file.
12794 * gdb.perf/gm-utils.h: New file.
12795 * gdb.perf/gmonster-null-lookup.py: New file.
12796 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12797 * gdb.perf/gmonster-print-cerr.py: New file.
12798 * gdb.perf/gmonster-ptype-string.py: New file.
12799 * gdb.perf/gmonster-runto-main.py: New file.
12800 * gdb.perf/gmonster-select-file.py: New file.
12801 * gdb.perf/gmonster1-null-lookup.exp: New file.
12802 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12803 * gdb.perf/gmonster1-print-cerr.exp: New file.
12804 * gdb.perf/gmonster1-ptype-string.exp: New file.
12805 * gdb.perf/gmonster1-runto-main.exp: New file.
12806 * gdb.perf/gmonster1-select-file.exp: New file.
12807 * gdb.perf/gmonster1.cc: New file.
12808 * gdb.perf/gmonster1.exp: New file.
12809 * gdb.perf/gmonster2-null-lookup.exp: New file.
12810 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12811 * gdb.perf/gmonster2-print-cerr.exp: New file.
12812 * gdb.perf/gmonster2-ptype-string.exp: New file.
12813 * gdb.perf/gmonster2-runto-main.exp: New file.
12814 * gdb.perf/gmonster2-select-file.exp: New file.
12815 * gdb.perf/gmonster2.cc: New file.
12816 * gdb.perf/gmonster2.exp: New file.
12817
6eab34f3
DE
128182015-07-24 Doug Evans <dje@google.com>
12819
12820 * gdb.perf/README: New file.
12821 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12822 * lib/gen-perf-test.exp: New file.
12823
63738bfd
DE
128242015-07-24 Doug Evans <dje@google.com>
12825
12826 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12827 (PerfTest::startup): New function.
12828 (PerfTest::run): Return result of calling body.
12829 (PerfTest::assemble): Rewrite.
12830 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12831 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12832 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12833 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12834 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12835
7b606f95
DE
128362015-07-24 Doug Evans <dje@google.com>
12837
12838 * lib/gdb.exp (clean_restart): Make executable optional.
12839
a97b16b8
DE
128402015-07-24 Doug Evans <dje@google.com>
12841
12842 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12843 compiler_info references.
12844 * gdb.cp/temargs.exp: Ditto.
12845 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12846 (get_compiler_info): Early exit if already computed. Set compiler_info
12847 to "unknown" if there was a problem.
12848 (test_compiler_info): Add function comment. Call get_compiler_info.
12849
35baa57f
DE
128502015-07-24 Doug Evans <dje@google.com>
12851
12852 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12853 (workers/%.worker, build-perf): New rule.
12854 (GDB_PERFTEST_MODE): New variable.
12855 (check-perf): Use it.
12856 (clean): Clean up gdb.perf parallel build subdirs.
12857 * lib/build-piece.exp: New file.
12858 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12859 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12860 name.
12861 (standard_temp_file): Ditto.
12862 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12863 of $GDB_PARALLEL.
12864
6ebea266
DE
128652015-07-24 Doug Evans <dje@google.com>
12866
12867 * lib/future.exp (gdb_default_target_compile): New option
12868 "early_flags".
12869 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12870 --as-needed.
12871
1e76a7e9
SDJ
128722015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12873
12874 * gdb.base/catch-syscall.exp: Call gdb_exit before
12875 gdb_skip_xml_test.
12876
5068630a
PA
128772015-07-24 Pedro Alves <palves@redhat.com>
12878
12879 * gdb.python/py-events.exp: Accept output between the stop event
12880 and the prompt.
12881 * gdb.python/py-evsignal.exp: Likewise.
12882 * gdb.python/py-evthreads.exp: Likewise.
12883
77598427
PA
128842015-07-24 Pedro Alves <palves@redhat.com>
12885
12886 PR gdb/18717
12887 * gdb.threads/non-ldr-exit.c: New file.
12888 * gdb.threads/non-ldr-exit.exp: New file.
12889
11e6c98f
YQ
128902015-07-24 Yao Qi <yao.qi@linaro.org>
12891
12892 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12893 restarting process.
12894
51aee833
YQ
128952015-07-24 Yao Qi <yao.qi@linaro.org>
12896
12897 * gdb.server/ext-restart.exp: New file.
12898
8cfe207c
YQ
128992015-07-24 Yao Qi <yao.qi@linaro.org>
12900
12901 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12902 argument options.
12903 * gdb.server/ext-wrapper.exp: New file.
12904
cc12ce38
DE
129052015-07-23 Doug Evans <dje@google.com>
12906
12907 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12908 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12909
d0d84780
PMR
129102015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12911
12912 * gdb.ada/var_arr_typedef.exp: New testcase.
12913 * gdb.ada/var_arr_typedef/pack.adb: New file.
12914 * gdb.ada/var_arr_typedef/pack.ads: New file.
12915 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12916
8b558f79
JB
129172015-07-20 Joel Brobecker <brobecker@adacore.com>
12918
12919 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12920
775a3298
JK
129212015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12922
12923 * gdb.arch/i386-biarch-core.exp: Replace istarget
12924 by "complete set gnutarget". Remove expectation for the "core-file"
12925 command.
12926
db1ff28b
JK
129272015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12928
12929 Revert the previous commit:
12930 Tests for validate symbol file using build-id.
12931
0a94970d
JK
129322015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12933
12934 Tests for validate symbol file using build-id.
12935 * gdb.base/solib-mismatch-lib.c: New file.
12936 * gdb.base/solib-mismatch-libmod.c: New file.
12937 * gdb.base/solib-mismatch.c: New file.
12938 * gdb.base/solib-mismatch.exp: New file.
12939
03346981
SL
129402015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12941
12942 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12943 nios2-*-linux*.
12944 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12945 * gdb.base/siginfo.exp: Likewise.
12946 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12947
42422cc7
PL
129482015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12949
12950 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12951 Move it to ...
12952 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12953 ... here.
12954 * gdb.trace/range-stepping.exp: Check that the target supports
12955 range stepping.
12956
cfa68bae
JK
129572015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12958
12959 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12960
8ffdba26
PA
129612015-07-14 Pedro Alves <palves@redhat.com>
12962
12963 * gdb.base/killed-outside.exp: New file.
12964 * gdb.base/killed-outside.c: New file.
12965
218a5a11
JK
129662015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12967
12968 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12969 (n at main): New.
12970 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12971
e03ed3c6
AA
129722015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12973
12974 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12975 infcall tests instead of setting up for KFAIL.
12976
485668e5
MM
129772015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12978
12979 * gdb.btrace/record_goto-step.exp: New.
12980
08464196
JK
129812015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12982
12983 PR compile/18484
12984 * gdb.compile/compile.c (struct struct_type): Add volatile to
12985 selffield's type.
12986 * gdb.compile/compile.exp
12987 (compile code struct_object.selffield = &struct_object): Skip further
12988 struct_object tests if this one xfails.
12989
bcf5c1d9
RC
129902015-07-08 Robert O'Callahan <robert@ocallahan.org>
12991
12992 PR exp/18617
12993 * gdb.trace/ax.exp: Add test.
12994
4931af25
YQ
129952015-07-07 Yao Qi <yao.qi@linaro.org>
12996
12997 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12998 instead of istarget "aarch64*-*-*".
12999 * gdb.arch/aarch64-fp.exp: Likewise.
13000 * gdb.base/float.exp: Likewise.
13001 * gdb.reverse/aarch64.exp: Likewise.
13002 * lib/gdb.exp (is_aarch64_target): New proc.
13003
9fcf688e
YQ
130042015-07-07 Yao Qi <yao.qi@linaro.org>
13005
13006 * lib/gdb.exp (is_aarch32_target): New proc.
13007 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13008 instead of "istarget "arm*-*-*"".
13009 * gdb.arch/arm-disp-step.exp: Likewise.
13010 * gdb.arch/thumb-bx-pc.exp: Likewise.
13011 * gdb.arch/thumb-prologue.exp: Likewise.
13012 * gdb.arch/thumb-singlestep.exp: Likewise.
13013 * gdb.base/disp-step-syscall.exp: Likewise.
13014 * gdb.base/float.exp: Likewise.
13015
fbd8d50d
YQ
130162015-07-07 Yao Qi <yao.qi@linaro.org>
13017
13018 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13019 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13020
71be1fdc
YQ
130212015-07-07 Yao Qi <yao.qi@linaro.org>
13022
13023 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13024 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13025 if it exists.
13026 * gdb.multi/multi-arch.exp: Likewise.
13027
3e221d36
SM
130282015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13029
13030 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13031 print.
13032
d441430b
YQ
130332015-07-07 Yao Qi <yao.qi@linaro.org>
13034
13035 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13036
06f810bd
MG
130372015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13038
13039 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13040 '[' and ']' characters.
13041
5e61e7c0
IB
130422015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13043
13044 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13045
28bf096c
PA
130462015-06-29 Pedro Alves <palves@redhat.com>
13047
13048 PR threads/18127
13049 * gdb.threads/hand-call-new-thread.c: New file.
13050 * gdb.threads/hand-call-new-thread.c: New file.
13051
ee93cd5e
KS
130522015-06-26 Keith Seitz <keiths@redhat.com>
13053 Doug Evans <dje@google.com>
13054
13055 PR 16253
13056 * gdb.cp/var-tag-2.cc: New file.
13057 * gdb.cp/var-tag-3.cc: New file.
13058 * gdb.cp/var-tag-4.cc: New file.
13059 * gdb.cp/var-tag.cc: New file.
13060 * gdb.cp/var-tag.exp: New file.
13061
fc637f04
PP
130622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13063
13064 * gdb.base/history-duplicates.exp: New test.
13065
2e52ae68
PP
130662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13067
13068 * gdb.base/completion.exp: Test the completion of the "focus"
13069 command.
13070
6e22494e
JK
130712015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13072
13073 * gdb.arch/amd64-prologue-skip.S: New file.
13074 * gdb.arch/amd64-prologue-skip.exp: New file.
13075
bf7b9cd9
SM
130762015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13077
13078 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13079 is_address_zero_readable check.
13080
201e8dfd
PB
130812015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13082
13083 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13084 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13085
5cd867b4
YQ
130862015-06-24 Yao Qi <yao.qi@linaro.org>
13087
13088 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13089 linux targets.
13090
4d7be007
YQ
130912015-06-24 Yao Qi <yao.qi@linaro.org>
13092
13093 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13094 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13095 * gdb.base/siginfo-thread.exp: Likewise.
13096
07fcd301
YQ
130972015-06-22 Yao Qi <yao.qi@linaro.org>
13098
13099 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13100
52042a00
YQ
131012015-06-22 Yao Qi <yao.qi@linaro.org>
13102
13103 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13104 aarch64*-*-*.
13105 (skip_hw_watchpoint_tests): Likewise.
13106
74bd41ce
PP
131072015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13108
13109 * gdb.base/gdbinit-history.exp: Test the interaction between
13110 setting GDBHISTSIZE and setting the history size via .gdbinit.
13111
bc460514
PP
131122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13113
13114 PR gdb/16999
13115 * gdb.base/gdbhistsize-history.exp: New test.
13116
b58c513b
PP
131172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13118
13119 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13120 with GDBHISTSIZE.
13121 * gdb.base/readline.exp: Likewise.
13122
92046791
YQ
131232015-06-17 Yao Qi <yao.qi@linaro.org>
13124
13125 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13126 line.
13127
2093d2d3
PP
131282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13129
13130 * gdb.base/gdbinit-history.exp: Add test case to check that
13131 an unlimited history file does not get truncated on exit.
13132
e6c693af
AA
131332015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13134
13135 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13136 (VECTOR): New macro. Use it...
13137 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13138 ...for these typedefs.
13139 (int8, char1, int1, double1): New typedefs.
13140 (struct just_int2, struct two_int2): New structures.
13141 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13142 (add_structvecs, add_singlevecs): New functions.
13143 (main): Call add_some_intvecs twice.
13144 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13145 the compile and exit upon failure. Try compiling for the "native"
13146 architecture. Test inferior function calls with vector arguments
13147 and vector return value handling with "finish" and "return".
13148
c74f7d1c
JT
131492015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13150
13151 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13152 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13153 PE file.
13154 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13155
98aa42ee
AT
131562015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13157
13158 PR breakpoints/16465
13159 * gdb.mi/mi-dprintf-pending.c: New file.
13160 * gdb.mi/mi-dprintf-pending.exp: New test.
13161 * gdb.mi/mi-dprintf-pendshr.c: New file.
13162
7d73c23c 131632015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13164 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13165
13166 * gdb.arch/i386-mpx-map.c: New file.
13167 * gdb.arch/i386-mpx-map.exp: New File.
13168
131692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13170
13171 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13172 * gdb.arch/i386-mpx.exp: Indentation fixed.
13173
131742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13175
13176 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13177 function and improved indentation.
13178 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13179 gdb_test_multiple. Added additional tests to skip the test.
13180
131812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13182
13183 * gdb.arch/i386-avx512.c: Change path in include file.
13184 * gdb.arch/i386-avx512.exp: Change include dir path
13185 compilation flag.
13186 * gdb.arch/i386-mpx.c: Change path in include file.
13187 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13188 flag.
13189
d5eba19a
JK
131902015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13191
13192 * gdb.compile/compile-print.exp (compile print *vararray@3)
13193 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13194
7f361056
JK
131952015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13196
13197 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13198 (do not keep jit in memory): ... this.
13199 (expect 5): Change it to ...
13200 (expect no 5): ... this.
13201
3b462ec2
SM
132022015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13203
13204 PR gdb/15564
13205 * gdb.mi/mi-detach.exp: New file.
13206
e0619de6
JK
132072015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13208
13209 PR symtab/18392
13210 * gdb.arch/amd64-tailcall-self.S: New file.
13211 * gdb.arch/amd64-tailcall-self.c: New file.
13212 * gdb.arch/amd64-tailcall-self.exp: New file.
13213
e970cb34
DB
132142015-05-28 Don Breazeal <donb@codesourcery.com>
13215
13216 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13217 tests for remote targets by checking is_target_gdbserver.
13218
b2e2f908
DE
132192015-05-27 Doug Evans <dje@google.com>
13220
13221 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13222 * gdb.dwarf2/opaque-type-lookup.c: New file.
13223 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13224
82c7be31
DE
132252015-05-26 Doug Evans <dje@google.com>
13226
13227 * gdb.cp/iostream.cc: New file.
13228 * gdb.cp/iostream.exp: New file.
13229
b4f54984
DE
132302015-05-26 Doug Evans <dje@google.com>
13231
13232 * gdb.dwarf2/dw2-op-call.exp: Update.
13233 * gdb.dwarf2/dw4-sig-types.exp: Update.
13234 * gdb.dwarf2/implptr.exp: Update.
13235 * gdb.mi/mi-cmd-param-changed.exp: Update.
13236
4ea6efe9
DE
132372015-05-26 Doug Evans <dje@google.com>
13238
13239 * gdb.python/py-lazy-string.c: New file.
13240 * gdb.python/py-lazy-string.exp: New file.
13241 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13242 (main): Update. Add estring3.
13243 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13244 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13245
f6bb7db3
YQ
132462015-05-26 Omair Javaid <omair.javaid@linaro.org>
13247 Yao Qi <yao.qi@linaro.org>
13248
13249 * gdb.reverse/aarch64.c: New.
13250 * gdb.reverse/aarch64.exp: New.
13251
a81bfbd0
OJ
132522015-05-26 Omair Javaid <omair.javaid@linaro.org>
13253
25d49b86
PA
13254 * lib/gdb.exp (supports_process_record): Return true for
13255 aarch64*-linux*.
a81bfbd0
OJ
13256 (supports_reverse): Likewise.
13257
158bf1b4
PP
132582015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13259
13260 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13261 Use with_test_prefix.
13262
a0145030
AB
132632015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13264
13265 * gdb.base/completion.exp: Add test for completion of layout
13266 names.
13267
ebe3b578
AB
132682015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13269
13270 * lib/gdb.exp (skip_tui_tests): New proc.
13271 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13272
84204ed7
PA
132732015-05-19 Pedro Alves <palves@redhat.com>
13274
13275 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13276 Save the whole env array instead of just HOME. Unset HISTSIZE in
13277 the environment while testing. Restore whole environment
13278 afterwards.
13279
37442ce1
DE
132802015-05-16 Doug Evans <xdje42@gmail.com>
13281
13282 * gdb.guile/scm-ports.c: New file.
13283 * gdb.guile/scm-ports.exp: Add memory port tests.
13284
36de76f9
JK
132852015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13286
13287 * gdb.compile/compile-print.c: New file.
13288 * gdb.compile/compile-print.exp: New file.
13289
3a9558c4
JK
132902015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13291
13292 * gdb.compile/compile-ops.exp: Cast param to void.
13293 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13294 (compile code struct_object.selffield = &struct_object): Add xfail.
13295
aa715135
JG
132962015-05-15 Joel Brobecker <brobecker@adacore.com>
13297
13298 * gdb.ada/arr_enum_with_gap: New testcase.
13299
931e5bc3
JG
133002015-05-15 Joel Brobecker <brobecker@adacore.com>
13301
13302 * gdb.ada/byte_packed_arr: New testcase.
13303
9cd4d857
JB
133042015-05-15 Joel Brobecker <brobecker@adacore.com>
13305
13306 * gdb.ada/pckd_neg: New testcase.
13307
ebfd00d2
PP
133082015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13309
13310 PR gdb/17820
13311 * gdb.base/gdbinit-history.exp: New test.
13312 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13313 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13314
4c082a81
SC
133152015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13316
13317 * gdb.python/py-xmethods.cc: Enhance test case.
13318 * gdb.python/py-xmethods.exp: New tests.
13319 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13320 function.
13321 (B_indexoper): Likewise.
13322 (global_dm_list) : Add new xmethod worker functions.
13323
f7797074
SDJ
133242015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13325
13326 * gdb.base/coredump-filter.exp: Correctly unset
13327 "coredump_var_addr" array.
13328
a4674e4e
PA
133292015-05-08 Pedro Alves <palves@redhat.com>
13330
13331 * gdb.server/non-existing-program.exp: Unset spawn_id.
13332
df2eb078
SC
133332015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13334
13335 PR python/18291
13336 * gdb.python/py-xmethods.exp: Add tests.
13337
422349a3
YQ
133382015-05-08 Yao Qi <yao.qi@linaro.org>
13339
13340 PR gdb/18208
13341 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13342 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13343 function set_coredump_filter, and remove remote_exec call.
13344 Remove argument ipid. Callers update.
13345 (top level): Don't get inferior's PID.
13346
63fc80ce
AA
133472015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13348
13349 * gdb.base/watch_thread_num.exp: Skip test on targets without
13350 access watchpoints.
13351
80ad801e
PA
133522015-05-06 Pedro Alves <palves@redhat.com>
13353
13354 PR server/18081
13355 * gdb.server/non-existing-program.exp: New file.
13356
0fa7fe50
JB
133572015-05-05 Joel Brobecker <brobecker@adacore.com>
13358
13359 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13360
3ea89b92
PMR
133612015-05-05 Joel Brobecker <brobecker@adacore.com>
13362
13363 * gdb.ada/out_of_line_in_inlined: New testcase.
13364
87b8eff0
JB
133652015-05-05 Joel Brobecker <brobecker@adacore.com>
13366
13367 * gdb.ada/var_rec_arr: New testcase.
13368
5fccc635
YQ
133692015-04-30 Yao Qi <yao.qi@linaro.org>
13370
13371 * gdb.base/break-idempotent.exp: If
13372 skip_hw_watchpoint_multi_tests returns true, skip the tests
13373 on "rwatch" and "awatch".
13374
42d38f42
YQ
133752015-04-30 Yao Qi <yao.qi@linaro.org>
13376
13377 * gdb.base/relativedebug.exp: Invoke gdb command
13378 "info sharedlibrary", and if libc.so doesn't have debug info,
13379 skip the test.
13380
2ce1cdbf
DE
133812015-04-29 Doug Evans <dje@google.com>
13382
13383 * gdb.python/py-xmethods.exp: Add ptype tests.
13384 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13385 get_result_type method.
13386
f24a38c5
LM
133872015-04-29 Luis Machado <lgustavo@codesourcery.com>
13388
13389 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13390 the target does not support hardware watchpoints.
13391
ecbf2b3c
LM
133922015-04-29 Luis Machado <lgustavo@codesourcery.com>
13393
13394 * gdb.base/break-always.exp: Abort testing if writing to memory
13395 causes an error.
13396
34f5f757
DE
133972015-04-28 Doug Evans <dje@google.com>
13398
13399 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13400 * gdb.python/py-pp-registration.exp: ... here. New file.
13401 * gdb.python/py-pp-registration.c: New file.
13402 * gdb.python/py-pp-registration.py: New file.
13403
69b4374a
DE
134042015-04-28 Doug Evans <dje@google.com>
13405
13406 * gdb.python/py-bad-printers.c: New file.
13407 * gdb.python/py-bad-printers.py: New file.
13408 * gdb.python/py-bad-printers.exp: New file.
13409
59fb7612
SS
134102015-04-28 Sasha Smundak <asmundak@google.com>
13411
13412 * gdb.python/py-type.exp: New test.
13413
2631b16a
AW
134142015-04-28 Andy Wingo <wingo@igalia.com>
13415
13416 * gdb.python/py-parameter.exp:
13417 * gdb.guile/scm-parameter.exp: Escape the path that we are
13418 matching against, as it might contain characters that are special
13419 to regular expressions.
13420
460efde1
JB
134212015-04-27 Joel Brobecker <brobecker@adacore.com>
13422
13423 * gdb.ada/rec_comp: New testcase.
13424
2d369d8e
SDJ
134252015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13426
13427 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13428 before using it.
13429
cf75d6c3
AB
134302015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13431
13432 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13433 new tests for verilog output.
13434
8dbe7ca5
YQ
134352015-04-24 Yao Qi <yao.qi@linaro.org>
13436
13437 * boards/remote-gdbserver-on-localhost.exp: New file.
13438
4ef9fb2f
PA
134392015-04-23 Pedro Alves <palves@redhat.com>
13440
13441 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13442 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13443 "end of file", remove $inferior_spawn_id from the indirect list.
13444
0a803169
PA
134452015-04-23 Pedro Alves <palves@redhat.com>
13446
13447 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13448
749ef8f8
PA
134492015-04-23 Pedro Alves <palves@redhat.com>
13450
13451 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13452 on $any_spawn_id instead of only on $gdb_spawn_id.
13453
8aae4344
PM
134542015-04-21 Pierre Muller <muller@sourceware.org>
13455
13456 PR pascal/17815
13457 * lib/pascal.exp (gpc_compile): Add new option "class".
13458 (fpc_compile): Likewise.
13459 * gdb.pascal/case-insensitive-symbols.pas: New file.
13460 * gdb.pascal/case-insensitive-symbols.exp: New file.
13461
1586c8fb
GB
134622015-04-20 Gary Benson <gbenson@redhat.com>
13463
13464 * gdb.base/attach.exp: Fix three extended remote failures.
13465
1b6e6f5c
GB
134662015-04-17 Gary Benson <gbenson@redhat.com>
13467
13468 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13469 the main executable over the remote protocol.
13470
e797481d
PA
134712015-04-16 Pedro Alves <palves@redhat.com>
13472
13473 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13474 a new gdbserver if gdbserver_reconnect_p is set.
13475
1ca99c42
PA
134762015-04-16 Pedro Alves <palves@redhat.com>
13477
13478 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13479 is set, don't exit gdbserver.
13480
af9fd6f8
AA
134812015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13482
13483 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13484 appropriate .insn, such that an older assembler can be used.
13485 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13486 the z/Architecture instruction set on 31-bit targets as well.
13487
04ff1e61
AA
134882015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13489
13490 * gdb.go/handcall.exp: Remove all logic related to the first
13491 breakpoint and rely on go_runto_main instead.
13492 * gdb.go/strings.exp: Likewise.
13493 * gdb.go/unsafe.exp: Likewise.
13494 * gdb.go/hello.exp: Likewise. Also rename the remaining
13495 breakpoint marker to "breakpoint 1".
13496 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13497 * gdb.go/strings.go: Likewise.
13498 * gdb.go/unsafe.go: Likewise.
13499 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13500 "set breakpoint 2 here" and rename the remaining breakpoint marker
13501 to "breakpoint 1".
13502
40d2f8d6
SM
135032015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13504
13505 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13506 if itertools.imap is not present.
13507 * gdb.python/py-objfile.exp: Add parentheses.
13508 * gdb.python/py-type.exp: Same.
13509 * gdb.python/py-unwind-maint.py: Same.
13510
8cbc97c6
YQ
135112015-04-15 Yao Qi <yao.qi@linaro.org>
13512
13513 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13514 of ":$ptr_size" and set its form explicitly.
13515
45fd756c
YQ
135162015-04-15 Pedro Alves <palves@redhat.com>
13517 Yao Qi <yao.qi@linaro.org>
13518
13519 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13520 timeout by factor of 4.
13521 (test_regular_watch): Likewise.
13522 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13523 * gdb.reverse/sigall-reverse.exp: Likewise.
13524 * gdb.reverse/until-precsave.exp: Likewise.
13525 * lib/gdb.exp (with_timeout_factor): New proc.
13526 (gdb_expect): Move some code to ...
13527 (get_largest_timeout): ... here. New procedure.
13528
9e811bc3
LM
135292015-04-14 Luis Machado <lgustavo@codesourcery.com>
13530
13531 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13532
0ff6fcb2
LM
135332015-04-13 Luis Machado <lgustavo@codesourcery.com>
13534
13535 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13536 to write to the .text section.
13537
7578d5f7
LM
135382015-04-13 Luis Machado <lgustavo@codesourcery.com>
13539
13540 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13541 Handle the case of targets that do not provide PID information.
13542
2efe15c4
YQ
135432015-04-13 Yao Qi <yao.qi@linaro.org>
13544
13545 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13546 and use expect instead of gdb_expect.
13547
8cd8f2f8
SDJ
135482015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13549
13550 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13551 "coredump_var_addr" to avoid naming conflict with other testcases.
13552
9ee41772
PA
135532015-04-10 Pedro Alves <palves@redhat.com>
13554
13555 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13556 gdb_test_sequence and gdb_assert.
13557
07473109
PA
135582015-04-10 Pedro Alves <palves@redhat.com>
13559
13560 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13561 test messages that don't include the breakpoint address.
13562
de3db44c
YQ
135632015-04-10 Yao Qi <yao.qi@linaro.org>
13564
13565 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13566 false for some offset and width combinations which aren't
13567 supported by linux kernel.
13568
c79d856c
PA
135692015-04-10 Pedro Alves <palves@redhat.com>
13570
13571 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13572 procedure, factored out from ...
13573 (top level): ... here. Add "set displaced-stepping" testing axis.
13574 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13575 parameter "displaced". Use it.
13576 (top level): Use foreach and add "set displaced-stepping" testing
13577 axis.
13578
ebc90b50
PA
135792015-04-10 Pedro Alves <palves@redhat.com>
13580
13581 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13582 Remove comment.
13583 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13584 both the address of the instruction that triggers the watchpoint
13585 and the address of the instruction immediately after, and use
13586 those addresses for the test. Fix comment.
13587
8f572e5c
PA
135882015-04-10 Pedro Alves <palves@redhat.com>
13589
13590 * gdb.base/sigstep.exp (breakpoint_to_handler)
13591 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13592 Test "backtrace" in handler.
13593 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13594 (top level): Add new "displaced" test axis to
13595 breakpoint_to_handler, breakpoint_to_handler_entry and
13596 breakpoint_over_handler.
13597
8d707a12
PA
135982015-04-10 Pedro Alves <palves@redhat.com>
13599
13600 PR gdb/18216
13601 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13602
ef713951
YQ
136032015-04-10 Yao Qi <yao.qi@linaro.org>
13604
13605 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13606 (test_add_rn_pc): New function.
13607 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13608 (top level): Invoke test_add_rn_pc.
13609
906d60cf
PA
136102015-04-10 Pedro Alves <palves@redhat.com>
13611
13612 PR gdb/13858
13613 * gdb.base/step-over-no-symbols.exp: New file.
13614
f2983cc3
AW
136152015-04-09 Andy Wingo <wingo@igalia.com>
13616
13617 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13618 after the Python tests.
13619
6d62641c
SDJ
136202015-04-08 Keith Seitz <keiths@redhat.com>
13621
13622 PR python/16699
13623 * gdb.python/py-completion.exp: New tests for completion.
13624 * gdb.python/py-completion.py (CompleteLimit1): New class.
13625 (CompleteLimit2): Likewise.
13626 (CompleteLimit3): Likewise.
13627 (CompleteLimit4): Likewise.
13628 (CompleteLimit5): Likewise.
13629 (CompleteLimit6): Likewise.
13630 (CompleteLimit7): Likewise.
13631
f3770638
PA
136322015-04-08 Pedro Alves <palves@redhat.com>
13633
13634 PR gdb/18214
13635 PR gdb/18216
13636 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13637 function.
13638 (main): Install it as SIGUSR1 handler.
13639 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13640 parameter. Always use "setup" as prefix. Toggle "set
13641 displaced-stepping" off/on depending on global. Don't switch to
13642 thread 1 here.
13643 (top level): Add displaced stepping "off/on" test axis. Update
13644 "setup" calls. Wrap each subtest with with_test_prefix. Test
13645 continuing with a queued signal in each thread.
13646
4496bed7
PA
136472015-04-08 Pedro Alves <palves@redhat.com>
13648
13649 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13650 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13651 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13652 Return early if running to main fails.
13653 * gdb.trace/while-stepping.exp: Likewise.
13654
b97fde92
PA
136552015-04-07 Pedro Alves <palves@redhat.com>
13656
13657 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13658 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13659 interact with inferior program.
13660
f71c18e7
PA
136612015-04-07 Pedro Alves <palves@redhat.com>
13662
13663 * lib/gdb.exp (inferior_spawn_id): New global.
13664 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13665 spawn id after processing the user code.
13666 (default_gdb_start): Set inferior_spawn_id.
13667 (send_inferior): New procedure.
13668 * lib/gdbserver-support.exp (gdbserver_start): Set
13669 inferior_spawn_id.
13670 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13671
6423214f
PA
136722015-04-07 Pedro Alves <palves@redhat.com>
13673
13674 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13675 * lib/gdbserver-support.exp (gdbserver_start): Make
13676 $server_spawn_id global.
13677 (gdbserver_start): Don't wait for gdbserver's spawn id with
13678 expect_background.
13679 (close_gdbserver): New procedure.
13680 (gdb_exit): Rename the default version and reimplement.
13681
71c0ee8c
PA
136822015-04-07 Pedro Alves <palves@redhat.com>
13683
72f4393d 13684 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13685 append the substituted item, not the original item.
13686
203bc29b
PA
136872015-04-07 Pedro Alves <palves@redhat.com>
13688
13689 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13690 gdb_expect.
13691
508a3ddf
PA
136922015-04-07 Pedro Alves <palves@redhat.com>
13693
13694 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13695 output appearing once only.
13696
9f6dbe2b
PA
136972015-04-07 Pedro Alves <palves@redhat.com>
13698
13699 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13700 that doesn't expect anything. Return early if running to main
13701 fails.
13702
337532fa
YQ
137032015-04-07 Yao Qi <yao.qi@linaro.org>
13704
13705 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13706 (child_function): Call alarm.
13707 (main): Move call to alarm into the loop.
13708 * gdb.threads/non-stop-fair-events.exp: Build program with
13709 -DTIMEOUT=$timeout.
13710
01b622d4
DE
137112015-04-06 Doug Evans <xdje42@gmail.com>
13712
13713 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13714 Fix dest parameter to board_info.
13715 (fpc_compile): Ditto.
13716 (gdb_compile_pascal): Rename dest arg to destfile.
13717
961f4160
PMR
137182015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13719
13720 * gdb.ada/funcall_ref.exp: New file.
13721 * gdb.ada/funcall_ref/foo.adb: New file.
13722
cafda597
YQ
137232015-04-02 Yao Qi <yao.qi@linaro.org>
13724
13725 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13726 is remote.
13727
fed040c6
GB
137282015-04-02 Gary Benson <gbenson@redhat.com>
13729
13730 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13731
d11916aa
SS
137322015-04-01 Sasha Smundak <asmundak@google.com>
13733
13734 * gdb.python/py-unwind-maint.c: New file.
13735 * gdb.python/py-unwind-maint.exp: New test.
13736 * gdb.python/py-unwind-maint.py: New file.
13737 * gdb.python/py-unwind.c: New file.
13738 * gdb.python/py-unwind.exp: New test.
13739 * gdb.python/py-unwind.py: New test.
13740
a1471180
PA
137412015-04-01 Pedro Alves <palves@redhat.com>
13742
13743 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13744 to fail instead of non-existent $test.
13745
0bbeccb1
PA
137462015-04-01 Pedro Alves <palves@redhat.com>
13747
13748 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13749 GDBFLAGS if not empty.
13750
3c724c8c
PMR
137512015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13752
13753 * gdb.ada/complete.exp: Remove "multi_line".
13754 * gdb.ada/info_exc.exp: Remove "multi_line".
13755 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13756 * gdb.ada/ptype_field.exp: Remove "multi_line".
13757 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13758 * gdb.ada/tagged.exp: Remove "multi_line".
13759 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13760 [multi_line ...]
13761 * gdb.btrace/delta.exp: Likewise.
13762 * gdb.btrace/exception.exp: Likewise.
13763 * gdb.btrace/function_call_history.exp: Likewise.
13764 * gdb.btrace/instruction_history.exp: Likewise.
13765 * gdb.btrace/nohist.exp: Likewise.
13766 * gdb.btrace/record_goto.exp: Likewise.
13767 * gdb.btrace/segv.exp: Likewise.
13768 * gdb.btrace/stepi.exp: Likewise.
13769 * gdb.btrace/tailcall.exp: Likewise.
13770 * gdb.btrace/unknown_functions.exp: Likewise.
13771 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13772 * lib/gdb.exp: Add the "multi_line" helper.
13773
4eec2deb
PA
137742015-04-01 Pedro Alves <palves@redhat.com>
13775
13776 * gdb.threads/tid-reuse.c: New file.
13777 * gdb.threads/tid-reuse.exp: New file.
13778
df8411da
SDJ
137792015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13780
13781 PR corefiles/16092
13782 * gdb.base/coredump-filter.c: New file.
13783 * gdb.base/coredump-filter.exp: Likewise.
13784
6ef37366
PM
137852015-03-27 Petr Machata <pmachata@redhat.com>
13786
13787 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13788 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13789 (Dwarf::assemble): Initialize them.
13790 (Dwarf::lines): New function.
13791
7ec911b0
JT
137922015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13793
13794 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13795 SYMBOL_PREFIX for x86_64-*-cygwin.
13796
ff908ebf
AW
137972015-03-26 Andy Wingo <wingo@igalia.com>
13798
13799 PR symtab/18148
13800 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13801 const_value but not a location.
13802 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13803 location defined in non-main CUs are visible.
13804
6d5f0679
YQ
138052015-03-26 Yao Qi <yao.qi@linaro.org>
13806
13807 PR testsuite/18139
13808 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13809 Add a line number entry for the same line.
13810 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13811 Add a line number entry for the same line.
13812
2898689b
YQ
138132015-03-26 Yao Qi <yao.qi@linaro.org>
13814
13815 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13816 .int 0.
13817 (func): Likewise. Add .Lfunc_1 label.
13818 Use .Lfunc_1 label.
13819 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13820 .int 0.
13821 (func): Likewise.
13822 Use .Lfunc_1 label.
13823
85180498
YQ
138242015-03-26 Yao Qi <yao.qi@linaro.org>
13825
13826 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13827 Call gdb_compile instead to compile each .s files without debug
13828 information.
13829
8aa08a8d
YQ
138302015-03-26 Yao Qi <yao.qi@linaro.org>
13831
13832 * gdb.base/savedregs.exp (process_saved_regs): Make
13833 "Saved registers:" optional in the pattern.
13834
66849923
MM
138352015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13836
13837 * gdb.btrace/next.exp: Merged into step.exp.
13838 * gdb.btrace/finish.exp: Merged into step.exp.
13839 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13840 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13841 "record goto" and checking the exact replay position.
13842 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13843 check for "Recording format" in "info record" output.
13844 * gdb.btrace/record_goto.exp: Choose test file based on target.
13845 * gdb.btrace/x86-record_goto.S: Renamed into ...
13846 * gdb.btrace/x86_64-record_goto.S: ... this.
13847 * gdb.btrace/i686-record_goto.S: New.
13848 * gdb.btrace/x86-tailcall.S: Renamed into ...
13849 * gdb.btrace/x86_64-tailcall.S: ... this.
13850 * gdb.btrace/i686-tailcall.S: New.
13851 * gdb.btrace/x86-tailcall.c: Renamed into ...
13852 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13853 separate statements. Update test.
13854 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13855 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13856 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13857 * gdb.btrace/tailcall.exp: Choose test file based on target.
13858 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13859
11cc1b74
MM
138602015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13861
13862 * gdb.btrace/exception.exp: Increase BTS buffer size.
13863
a25d8bf9
PA
138642015-03-24 Pedro Alves <palves@redhat.com>
13865
13866 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13867
856e7dd6
PA
138682015-03-24 Pedro Alves <palves@redhat.com>
13869
13870 * gdb.threads/schedlock.exp (test_step): No longer expect that
13871 "set scheduler-locking step" with "next" over a function call runs
13872 threads unlocked.
13873
ad235a41
AT
138742015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13875
13876 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13877
15630549
AT
138782015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13879
13880 PR breakpoints/16466
13881 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13882 * gdb.mi/mi-pending.c (thread_func): New function.
13883 (int main): Add threading support required.
13884 * gdb.mi/mi-pending.exp: Add tests for this issue.
13885 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13886 (pendfunc2): Remove stdio dependency.
13887 * gdb.mi/mi-pendshr2.c: New file.
13888
693dca06
KS
138892015-03-23 Keith Seitz <keiths@redhat.com>
13890
13891 * gdb.linespec/keywords.c: New file.
13892 * gdb.linespec/keywords.exp: New file.
13893
7e993ebf
KS
138942015-03-23 Keith Seitz <keiths@redhat.com>
13895
13896 PR gdb/18021
13897 * gdb.dwarf2/staticvirtual.exp: New test.
13898
bc23328c
JK
138992015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13900
13901 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13902 * README: Remove HP-UX and gdb.hp.
13903 (configuration):
13904 * configure: Regenerate.
13905 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13906 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13907 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13908 gdb.hp/gdb.defects/Makefile.
13909 * gdb.hp/Makefile.in: File deleted.
13910 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13911 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13912 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13913 * gdb.hp/gdb.aCC/run.c: File deleted.
13914 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13915 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13916 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13917 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13918 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13919 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13920 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13921 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13922 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13923 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13924 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13925 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13926 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13927 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13928 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13929 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13930 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13931 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13932 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13933 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13934 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13935 * gdb.hp/gdb.compat/average.c: File deleted.
13936 * gdb.hp/gdb.compat/sum.c: File deleted.
13937 * gdb.hp/gdb.compat/xdb.c: File deleted.
13938 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13939 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13940 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13941 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13942 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13943 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13944 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13945 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13946 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13947 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13948 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13949 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13950 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13951 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13952 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13953 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13954 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13955 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13956 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13957 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13958 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13959 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13960 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13961 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13962 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13963 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13964 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13965 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13966 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13967 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13968 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13969 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13970 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13971 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13972 * gdb.hp/tools/odump: File deleted.
13973
8bf3b159
PA
139742015-03-19 Pedro Alves <palves@redhat.com>
13975
13976 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13977 (saw_thread_3): New globals.
13978 (top level): Increment them when an event for the corresponding
13979 thread is seen.
13980 (no thread starvation): New test.
13981
eb54c8bf
PA
139822015-03-19 Pedro Alves <palves@redhat.com>
13983
13984 * gdb.threads/continue-pending-status.c: New file.
13985 * gdb.threads/continue-pending-status.exp: New file.
13986
32d2e5d6
PA
139872015-03-18 Pedro Alves <palves@redhat.com>
13988
13989 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13990 Use gdb_is_target_remote instead of is_remote. Use
13991 gdb_test_multiple instead of gdb_expect. Exit early if
13992 gdb_test_multiple hits its internal matches. Tighten stepi tests
13993 expected output. Fail on exit with any signal, instead of just
13994 SIGILL.
13995
f68f11b7
YQ
139962015-03-18 Yao Qi <yao.qi@linaro.org>
13997
13998 PR tdep/18107
13999 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14000 variable.
14001 * gdb.base/catch-syscall.exp: Don't skip it on
14002 aarch64*-*-linux* target. Remove elements in all_syscalls.
14003 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14004 target.
14005 (setup_all_syscalls): New proc.
14006
ca5fd19b
YQ
140072015-03-16 Yao Qi <yao.qi@linaro.org>
14008
14009 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14010 (top level): Skip tests if valid_addr_p returns false for
14011 $cmd1 or $cmd2.
14012
85642ba0
AW
140132015-03-11 Andy Wingo <wingo@igalia.com>
14014
14015 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14016
e03f9645
YQ
140172015-03-11 Yao Qi <yao.qi@linaro.org>
14018
14019 * gdb.base/catch-syscall.exp: Fix typo in comments.
14020
5d0962b2
YQ
140212015-03-11 Yao Qi <yao.qi@linaro.org>
14022
14023 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14024
b2df3cef
PA
140252015-03-09 Pedro Alves <palves@redhat.com>
14026
14027 * dg-extract-results.py: Delete.
14028
ef878e53
PA
140292015-03-09 Pedro Alves <palves@redhat.com>
14030
14031 Merge dg-extract-results.sh from GCC upstream (r218843).
14032
14033 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14034 * dg-extract-results.sh: Use --text with grep to avoid issues with
14035 binary files. Fall back to cat -v, if that doesn't work.
14036
9494d219
PA
140372015-03-05 Pedro Alves <palves@redhat.com>
14038
14039 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14040
a8d9763a
SM
140412015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14042
14043 * lib/mi-support.exp (mi_expect_interrupt): Accept
14044 alternative event for when in all-stop mode.
14045
be9957b8
PA
140462015-03-04 Pedro Alves <palves@redhat.com>
14047
14048 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14049
d57be0f4 140502015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14051
14052 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14053
c214c7cf
AA
140542015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14055
14056 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14057 regexps for GDB's current line display, accept a hex address
14058 preceding the line number.
14059
6d74a497
AA
140602015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14061
14062 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14063 the 'arch1' variable for "s390*-linux*" targets.
14064
511aee7c
PA
140652015-03-04 Pedro Alves <palves@redhat.com>
14066
14067 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14068 (main): Pass missing retval argument to pthread_join call.
14069
95e50b27
PA
140702015-03-02 Pedro Alves <palves@redhat.com>
14071
14072 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14073 (top level): Call do_test with non-stop as well.
14074
28054d69
PA
140752015-03-02 Pedro Alves <palves@redhat.com>
14076
14077 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14078 -1.
14079
4fa5d7b4
AA
140802015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14081
14082 * gdb.arch/s390-vregs.exp: New test.
14083 * gdb.arch/s390-vregs.S: New file.
14084
97c18565
PA
140852015-02-27 Pedro Alves <palves@redhat.com>
14086
14087 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14088 call to catch_command_errors.
14089 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14090 catch_command_errors.
14091
a37bfa30
PA
140922015-02-27 Pedro Alves <palves@redhat.com>
14093
14094 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14095 "true" for boolean result.
14096 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14097 prototype of main.
14098
6f98576f
PA
140992015-02-27 Pedro Alves <palves@redhat.com>
14100
14101 * lib/unbuffer_output.c: New file.
14102 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14103 (main): Call gdb_unbuffer_output.
14104
eba5ab56
YQ
141052015-02-27 Yao Qi <yao.qi@linaro.org>
14106
14107 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14108 target.
14109
0def5aaa
DE
141102015-02-26 Doug Evans <dje@google.com>
14111
14112 * gdb.cp/class2.cc (Dbase, D): New classes.
14113 (main): New local delta.
14114 * gdb.cp/class2.exp: Test printing delta.
14115 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14116 (dynbar): New global.
14117 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14118
081a1c2c
JK
141192015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14120
14121 * gdb.compile/compile-ifunc.c: New file.
14122 * gdb.compile/compile-ifunc.exp: New file.
14123
2f41223f
AT
141242015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14125
14126 * gdb.base/structs.exp: Check for correct struct on finish.
14127
03eddd80
YQ
141282015-02-26 Yao Qi <yao.qi@linaro.org>
14129
14130 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14131 is zero.
14132
80c57053
JK
141332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14134
14135 * gdb.arch/cordic.ko.bz2: New file.
14136 * gdb.arch/cordic.ko.debug.bz2: New file.
14137 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14138
21613c12
YQ
141392015-02-25 Yao Qi <yao.qi@linaro.org>
14140
14141 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14142 aarch64*-*-* target.
14143
d8b901ed
PA
141442015-02-23 Pedro Alves <palves@redhat.com>
14145
14146 * lib/gdb.exp (delete_breakpoints): Rewrite using
14147 gdb_test_multiple.
14148
e5b85ead
PA
141492015-02-23 Pedro Alves <palves@redhat.com>
14150
14151 * gdb.base/info-os.c: Include stdlib.h.
14152
85c3a371
DE
141532015-02-22 Doug Evans <xdje42@gmail.com>
14154
14155 PR symtab/17855
14156 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14157 is read after symbols have been re-read.
14158 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14159 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14160
96553a0c
DE
141612015-02-21 Doug Evans <dje@google.com>
14162
14163 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14164
97a0c697
JK
141652015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14166
14167 PR corefiles/17808
14168 * gdb.arch/i386-biarch-core.core.bz2: New file.
14169 * gdb.arch/i386-biarch-core.exp: New file.
14170
a47cd6e9
PA
141712015-02-21 Pedro Alves <palves@redhat.com>
14172
14173 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14174 runto_main fails.
14175
c5facdc4
PA
141762015-02-20 Pedro Alves <palves@redhat.com>
14177
14178 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14179 info probes.
14180
2db9a427
PA
141812015-02-20 Pedro Alves <palves@redhat.com>
14182
14183 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14184
60fb7e9e
PA
141852015-02-20 Pedro Alves <palves@redhat.com>
14186
14187 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14188 clean_restart before gdb_target_supports_trace.
14189
5c5019c2
PA
141902015-02-20 Pedro Alves <palves@redhat.com>
14191
14192 PR threads/18006
14193 * gdb.threads/clone-thread_db.c: New file.
14194 * gdb.threads/clone-thread_db.exp: New file.
14195
c9587f88
AT
141962015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14197
14198 PR breakpoints/16812
14199 * gdb.base/catch-gdb-caused-signals.c: New file.
14200 * gdb.base/catch-gdb-caused-signals.exp: New file.
14201
f6a88844
JM
142022015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14203
14204 * configure: Regenerated.
14205 * configure.ac: Use GDB_AC_TRANSFORM.
14206 * aclocal.m4: sinclude ../transform.m4.
14207
497c491b
JM
142082015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14209
14210 * lib/dtrace.exp: New file.
14211 * gdb.base/dtrace-probe.exp: Likewise.
14212 * gdb.base/dtrace-probe.d: Likewise.
14213 * gdb.base/dtrace-probe.c: Likewise.
14214 * lib/pdtrace.in: Likewise.
14215 * configure.ac: Output variables with the transformed names of
14216 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14217 * configure: Regenerated.
14218
03e98035
JM
142192015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14220
14221 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14222 expected message when trying to access $_probe_* convenience
14223 variables while not on a probe.
14224
63cc30e9
JK
142252015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14226
14227 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14228
0703599a
PA
142292015-02-11 Pedro Alves <pedro@codesourcery.com>
14230
14231 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14232 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14233
7e60a48e
DE
142342015-02-10 Doug Evans <xdje42@gmail.com>
14235
14236 * lib/gdb.exp (gdb_load): Always return a result.
14237
01b088bc
PA
142382015-02-10 Pedro Alves <palves@redhat.com>
14239
14240 * gdb.threads/signal-sigtrap.c: New file.
14241 * gdb.threads/signal-sigtrap.exp: New file.
14242
b05ec7a5
AT
142432015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14244
14245 * gdb.trace/no-attach-trace.c: New file.
14246 * gdb.trace/no-attach-trace.exp: New file.
14247
a2c2acaf
MW
142482015-02-09 Mark Wielaard <mjw@redhat.com>
14249
14250 * gdb.dwarf2/atomic.c: New file.
14251 * gdb.dwarf2/atomic-type.exp: Likewise.
14252
31fd9caa
MM
142532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14254
14255 * gdb.btrace/buffer-size.exp: Update "info record" output.
14256 * gdb.btrace/delta.exp: Update "info record" output.
14257 * gdb.btrace/enable.exp: Update "info record" output.
14258 * gdb.btrace/finish.exp: Update "info record" output.
14259 * gdb.btrace/instruction_history.exp: Update "info record" output.
14260 * gdb.btrace/next.exp: Update "info record" output.
14261 * gdb.btrace/nexti.exp: Update "info record" output.
14262 * gdb.btrace/step.exp: Update "info record" output.
14263 * gdb.btrace/stepi.exp: Update "info record" output.
14264 * gdb.btrace/nohist.exp: Update "info record" output.
14265
d33501a5
MM
142662015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14267
14268 * gdb.btrace/buffer-size: New.
14269
f4abbc16
MM
142702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14271
14272 * gdb.btrace/delta.exp: Update "info record" output.
14273 * gdb.btrace/enable.exp: Update "info record" output.
14274 * gdb.btrace/finish.exp: Update "info record" output.
14275 * gdb.btrace/instruction_history.exp: Update "info record" output.
14276 * gdb.btrace/next.exp: Update "info record" output.
14277 * gdb.btrace/nexti.exp: Update "info record" output.
14278 * gdb.btrace/step.exp: Update "info record" output.
14279 * gdb.btrace/stepi.exp: Update "info record" output.
14280 * gdb.btrace/nohist.exp: Update "info record" output.
14281
b9d61307
SM
142822015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14283
14284 PR gdb/15678
14285 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14286
e584fdbc
PA
142872015-02-06 Pedro Alves <palves@redhat.com>
14288
14289 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14290 macro.
14291 (seconds_left, again): New globals.
14292 (main): Wait seconds_left in a 1-second sleep loop instead of
14293 sleeping 180 seconds. If 'again' is set, reset the seconds
14294 counter.
14295 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14296 'again' in the inferior before detaching. Print the seconds left.
14297 (options): New global.
14298 (top level): Build program with -DTIMEOUT=$timeout.
14299
77f41761
PA
143002015-02-06 Pedro Alves <palves@redhat.com>
14301
14302 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14303 determine how many seconds to pass to 'alarm'.
14304 * gdb.base/gdb-sigterm.exp (top level): Build program with
14305 -DTIMEOUT=$timeout.
14306 (do_test): Return success/failure indication. Add more verbose
14307 logging. Don't fail if 200 single steps are seen. Instead, fail
14308 when the test times out.
14309 (passes): New global.
14310 (top level): Break the testing loop if testing fails on any
14311 iteration. Use gdb_assert.
14312
b9394193
DB
143132015-02-04 Don Breazeal <donb@codesourcery.com>
14314
14315 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14316 and initialize them.
14317 (ipc_cleanup): New function.
14318 (main): Don't declare shmid, semid, and msqid. Add a call to
14319 atexit so that we call ipc_cleanup on exit.
14320
42d9e528
PA
143212015-02-04 Pedro Alves <palves@redhat.com>
14322
14323 * boards/native-extended-gdbserver.exp: Remove any target variant
14324 specifications from the board name before clearing the isremote
14325 flag from board_info.
14326
ae6ae975
DE
143272015-01-31 Doug Evans <xdje42@gmail.com>
14328
14329 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14330
cfb069a8
GB
143312015-01-31 Gary Benson <gbenson@redhat.com>
14332
14333 * gdb.base/completion.exp: Disable completion limiting for
14334 existing tests. Add new tests to check completion limiting.
14335 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14336
5dd31d79
DE
143372015-01-31 Doug Evans <xdje42@gmail.com>
14338
14339 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14340
9f050062
DE
143412015-01-31 Doug Evans <xdje42@gmail.com>
14342
14343 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14344 entries. Duplicate file section script entries.
14345 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14346 inlined entries. Add test for safe-path rejection.
14347 * gdb.python/py-section-script.c: Add duplicate inlined section script
14348 entries. Duplicate file section script entries.
14349 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14350 inlined entries. Add test for safe-path rejection.
14351
df25ebbd
JB
143522015-01-29 Joel Brobecker <brobecker@adacore.com>
14353
14354 * gdb.ada/disc_arr_bound: New testcase.
14355
4a0ca9ec
JB
143562015-01-29 Joel Brobecker <brobecker@adacore.com>
14357
14358 * gdb.ada/mi_var_array: New testcase.
14359
3a8b707a
DE
143602015-01-27 Doug Evans <dje@google.com>
14361
14362 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14363 Add test for objfile.filename, objfile.username after objfile
14364 has been unloaded.
14365
f8313f6e
JB
143662015-01-26 Joel Brobecker <brobecker@adacore.com>
14367
14368 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14369 the second test to print the name attribute of value
14370 returned by the call to gdb.lookup_type, and adjust
14371 the expected output accordingly.
14372
37bc665e
MW
143732015-01-25 Mark Wielaard <mjw@redhat.com>
14374
14375 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14376 * gdb.base/disp-step-fork.c: Include unistd.h.
14377 * gdb.base/siginfo-obj.c: Include stdio.h.
14378 * gdb.base/siginfo-thread.c: Likewise.
14379 * gdb.mi/non-stop.c: Include unistd.h.
14380 * gdb.mi/nsthrexec.c: Include stdio.h.
14381 * gdb.mi/pthreads.c: Include unistd.h.
14382 * gdb.modula2/unbounded1.c (main): Declare returns int.
14383 * gdb.reverse/consecutive-reverse.c: Likewise.
14384 * gdb.threads/create-fail.c: Include unistd.h.
14385 * gdb.threads/killed.c: Likewise.
14386 * gdb.threads/linux-dp.c: Likewise.
14387 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14388 * gdb.threads/non-ldr-exc-2.c: Likewise.
14389 * gdb.threads/non-ldr-exc-3.c: Likewise.
14390 * gdb.threads/non-ldr-exc-4.c: Likewise.
14391 * gdb.threads/pthreads.c: Include unistd.h.
14392 (main): Declare returns int.
14393 * gdb.threads/tls-main.c (foo): New declaration.
14394 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14395
f7e5394d
SM
143962015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14397
14398 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14399 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14400
743649fd
MW
144012015-01-15 Mark Wielaard <mjw@redhat.com>
14402
14403 * gdb.base/noreturn-return.c: New file.
14404 * gdb.base/noreturn-return.exp: New file.
14405 * gdb.base/noreturn-finish.c: New file.
14406 * gdb.base/noreturn-finish.exp: New file.
14407
198297aa
PA
144082015-01-23 Pedro Alves <palves@redhat.com>
14409
14410 * gdb.threads/continue-pending-after-query.c: New file.
14411 * gdb.threads/continue-pending-after-query.exp: New file.
14412
717cf30c
AG
144132015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14414 Simon Marchi <simon.marchi@ericsson.com>
14415
14416 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14417 * gdb.base/valgrind-db-attach.exp: Same.
14418 * gdb.base/valgrind-infcall.exp: Same.
14419 * lib/mi-support.exp (default_mi_gdb_start): Same.
14420 * lib/prompt.exp (default_prompt_gdb_start): Same.
14421 * lib/gdb.exp (default_gdb_spawn): Same.
14422 (gdb_interact): New.
14423
14424
4b62a76e
JK
144252015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14426
14427 * gdb.compile/compile.exp (pointer to jit function): New test.
14428
b4cdae6f
WW
144292015-01-17 Wei-cheng Wang <cole945@gmail.com>
14430
14431 * lib/gdb.exp (supports_process_record): Return true for
14432 powerpc*-*-linux*.
14433 (supports_reverse): Likewise.
14434
d221e7ef
DB
144352015-01-15 Don Breazeal <donb@codesourcery.com>
14436
14437 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14438 instead of checking whether the target board is remote and
14439 use spawn_wait_for_attach instead of exec/sleep.
14440 * gdb.base/attach-twice.exp: Likewise.
14441
bafffb51
JB
144422015-01-15 Joel Brobecker <brobecker@adacore.com>
14443
14444 * gdb.ada/var_arr_attrs: New testcase.
14445
5589af0e
PA
144462015-01-14 Pedro Alves <palves@redhat.com>
14447 Joel Brobecker <brobecker@adacore.com>
14448
14449 PR gdb/17525
14450 * gdb.base/bp-cmds-execution-x-script.c: New file.
14451 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14452 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14453
6c400b59
PA
144542015-01-14 Pedro Alves <palves@redhat.com>
14455
14456 PR cli/17828
14457 * gdb.base/batch-preserve-term-settings.c: New file.
14458 * gdb.base/batch-preserve-term-settings.exp: New file.
14459
e02c96a7
DE
144602015-01-13 Doug Evans <dje@google.com>
14461
14462 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14463 binary.
14464
576fd14c
JB
144652015-01-13 Joel Brobecker <brobecker@adacore.com>
14466
14467 * Makefile.in (clean mostlyclean): Do not delete *.py.
14468
04dccad0
JB
144692015-01-13 Joel Brobecker <brobecker@adacore.com>
14470
14471 * gdb.python/py-lookup-type.exp: New file.
14472
3d230f71
PA
144732015-01-12 Pedro Alves <palves@redhat.com>
14474
14475 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14476 restore GDBFLAGS before returning.
14477
7e67715d
JK
144782015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14479
14480 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14481 is_amd64_regs_target and is_x86_like_target.
14482
f2e0d4b4
DE
144832015-01-11 Doug Evans <xdje42@gmail.com>
14484
14485 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14486 is given without an explicit form.
14487 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14488 attributes.
14489 * gdb.dwarf/corrupt.exp: Ditto.
14490 * gdb.dwarf2/enum-type.exp: Ditto.
14491 * gdb.trace/entry-values.exp: Ditto.
14492 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14493
439250fb
DE
144942015-01-11 Doug Evans <xdje42@gmail.com>
14495
14496 PR gdb/15830
14497 * gdb.base/maint.exp: Remove references to "maint demangle".
14498 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14499 Add tests for explicitly specifying language to demangle.
14500 * gdb.dlang/demangle.exp: Ditto.
14501
ede9f622
PA
145022015-01-09 Pedro Alves <palves@redhat.com>
14503
14504 * gdb.threads/non-stop-fair-events.c: New file.
14505 * gdb.threads/non-stop-fair-events.exp: New file.
14506
a7b796db
PA
145072015-01-09 Pedro Alves <palves@redhat.com>
14508
14509 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14510 the global scope. Set a breakpoint after all threads are started
14511 rather than stepping over two source lines. Expect the prompt.
14512 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14513 global.
14514 (NUM): Now 15.
14515 (main): Use threads_started_barrier to wait for all threads to
14516 start. Main thread no longer calls thread_function. Exit after
14517 180 seconds.
14518 (loop): New function.
14519 (thread_function): Wait on threads_started_barrier barrier. Call
14520 'loop' at each iteration.
14521 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14522 threads have started, instead of hardcoding number of "next"
14523 steps. Use an access watchpoint instead of a write watchpoint.
14524
9665ffdd
PA
145252015-01-09 Pedro Alves <palves@redhat.com>
14526
14527 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14528 (thread_func): Wait on barrier.
14529 (main): Wait for all threads to start before stopping GDB.
14530 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14531 global.
14532 (thread1_func, thread2_func): Wait on barrier.
14533 (main): Wait for all threads to start before stopping GDB.
14534 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14535 New global.
14536 (thread1_func, thread2_func): Wait on barrier.
14537 (main): Wait for all threads to start before stopping GDB.
14538
c945a99f
PA
145392015-01-09 Pedro Alves <palves@redhat.com>
14540
14541 * gdb.threads/attach-many-short-lived-threads.c: New file.
14542 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14543
c1a747c1
PA
145442014-01-09 Pedro Alves <palves@redhat.com>
14545
14546 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14547 instead of to thread 2.
14548 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14549 Add barrier around each pthread_create call instead of around all
14550 calls.
14551 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14552 Set a break on thread_function and have the child threads hit it
14553 one at at a time.
14554
60b3033e
PA
145552015-01-09 Pedro Alves <palves@redhat.com>
14556
14557 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14558 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14559 false.
14560 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14561 checking whether the target board is remote.
14562 * gdb.multi/multi-attach.exp: Likewise.
14563 * gdb.python/py-sync-interp.exp: Likewise.
14564 * gdb.server/ext-attach.exp: Likewise.
14565 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14566 tests that need to attach, instead of checking whether the target
14567 board is remote at the top of the file.
14568
acc018ac
YQ
145692015-01-08 Yao Qi <yao@codesourcery.com>
14570
14571 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14572
50a18af8
JK
145732015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14574
14575 Fix testcase compilation.
14576 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14577
8503d6e1
JB
145782015-01-06 Joel Brobecker <brobecker@adacore.com>
14579
14580 * gdb.python/py-type.exp: Add a couple test about empty
14581 array creation, and negative-length array creation.
14582
cc73dbcc
DE
145832015-01-02 Doug Evans <xdje42@gmail.com>
14584
14585 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14586
0300bbc7
DE
145872015-01-02 Doug Evans <dje@google.com>
14588
14589 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14590
9d85a0ec
YQ
145912014-12-29 Yao Qi <yao@codesourcery.com>
14592
14593 * gdb.trace/entry-values.exp: Update comments. Rename variable
14594 bar_call_foo to returned_from_foo.
14595
87186c6a
MMN
145962014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14597
14598 PR gdb/17394
14599 * gdb.linespec/break-asm-file.c: New file.
14600 * gdb.linespec/break-asm-file.exp: New file.
14601 * gdb.linespec/break-asm-file0.s: New file.
14602 * gdb.linespec/break-asm-file1.s: New file.
14603
1bab7383
YQ
146042014-12-18 Nigel Stephens <nigel@mips.com>
14605 Maciej W. Rozycki <macro@codesourcery.com>
14606
14607 * gdb.base/float.exp: Handle the new output from "info float" on
14608 MIPS targets.
14609
1bc1068a
JK
146102014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14611
14612 Fix MinGW compilation.
14613 * gdb.compile/compile-ops.exp: Update untested message if
14614 !skip_compile_feature_tests.
14615 * gdb.compile/compile-setjmp.exp: Likewise.
14616 * gdb.compile/compile-tls.exp: Likewise.
14617 * gdb.compile/compile.exp: Likewise.
14618 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14619 supported on this host".
14620
b6615d10
DE
146212014-12-16 Doug Evans <xdje42@gmail.com>
14622
14623 * boards/stabs.exp: New file.
14624
25dda427
AA
146252014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14626
14627 * gdb.base/completion.exp: Adjust to format changes of "maint
14628 print user-registers".
14629
bf330350
CU
146302014-12-16 Catalin Udma <catalin.udma@freescale.com>
14631
14632 PR server/17457
14633 * gdb.arch/aarch64-fp.c: New file.
14634 * gdb.arch/aarch64-fp.exp: New file.
14635
395cf596
SDJ
146362014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14637
14638 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14639 r210637, r210913, r211666, r215400, r215817).
14640
14641 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14642 * dg-extract-results.py: New file.
14643 * dg-extract-results.sh: Use it if the environment seems
14644 suitable.
14645
14646 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14647
14648 * dg-extract-results.py (parse_run): Handle warnings that
14649 are printed before a test harness is run.
14650
14651 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14652
14653 * dg-extract-results.py (Named): Remove __cmp__ method.
14654 (output_variation): Use a key to sort variation.harnesses.
14655
14656 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14657
14658 * dg-extract-results.py: For Python 3, force sys.stdout to
14659 handle surrogate escape sequences.
14660 (safe_open): New function.
14661 (output_segment, main): Use it.
14662
14663 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14664
14665 * dg-extract-results.py (Prog.result_re): Include options
14666 in test name.
14667
14668 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14669
14670 * dg-extract-results.py (output_variation): Always sort if
14671 do_sum.
14672
e882ef3c
SM
146732014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14674
14675 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14676 as long as we get pagination notifications.
14677
4992aa20
JM
146782014-12-15 Jason Merrill <jason@redhat.com>
14679
14680 * Makefile.in (check-gdb.%): Restore.
14681 * README: Mention it.
14682
c1b5a1a6
JB
146832014-12-13 Joel Brobecker <brobecker@adacore.com>
14684
14685 * gdb.ada/str_uninit: New testcase.
14686
5537b577
JK
146872014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14688
14689 PR symtab/17642
14690 * gdb.base/vla-stub-define.c: New file.
14691 * gdb.base/vla-stub.c: New file.
14692 * gdb.base/vla-stub.exp: New file.
14693
bb2ec1b3
TT
146942014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14695 Jan Kratochvil <jan.kratochvil@redhat.com>
14696 Tom Tromey <tromey@redhat.com>
14697
14698 * configure.ac: Add gdb.compile/.
14699 * configure: Regenerate.
14700 * gdb.compile/Makefile.in: New file.
14701 * gdb.compile/compile-ops.exp: New file.
14702 * gdb.compile/compile-ops.c: New file.
14703 * gdb.compile/compile-tls.c: New file.
14704 * gdb.compile/compile-tls.exp: New file.
14705 * gdb.compile/compile-constvar.S: New file.
14706 * gdb.compile/compile-constvar.c: New file.
14707 * gdb.compile/compile-mod.c: New file.
14708 * gdb.compile/compile-nodebug.c: New file.
14709 * gdb.compile/compile-setjmp-mod.c: New file.
14710 * gdb.compile/compile-setjmp.c: New file.
14711 * gdb.compile/compile-setjmp.exp: New file.
14712 * gdb.compile/compile-shlib.c: New file.
14713 * gdb.compile/compile.c: New file.
14714 * gdb.compile/compile.exp: New file.
14715 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14716
4ff709eb
TT
147172014-12-12 Tom Tromey <tromey@redhat.com>
14718
14719 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14720 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14721
6dddd6a5
DE
147222014-12-12 Doug Evans <dje@google.com>
14723
14724 * lib/gdb-python.exp (get_python_valueof): New function.
14725 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14726
71c24708
AA
147272014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14728
14729 * gdb.base/completion.exp: Add test for completion of "info
14730 registers ".
14731
3e29f34a
MR
147322014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14733
14734 * gdb.base/func-ptrs.c: New file.
14735 * gdb.base/func-ptrs.exp: New file.
14736
fc126975
SM
147372014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14738
14739 PR breakpoints/17012
14740 * gdb.base/dprintf-detach.c: New file.
14741 * gdb.base/dprintf-detach.exp: New file.
14742
0a46d518
SM
147432014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14744
14745 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14746 * lib/gdb.exp (target_is_gdbserver): New procedure.
14747
a0be3e44
DE
147482014-12-08 Doug Evans <dje@google.com>
14749
14750 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14751
df1b803a
YQ
147522014-12-05 Yao Qi <yao@codesourcery.com>
14753
14754 * gdb.guile/scm-error.exp: Remove the third argument to
14755 gdb_remote_download.
14756 * gdb.guile/scm-frame-args.exp: Likewise.
14757 * gdb.guile/scm-section-script.exp: Likewise.
14758
ddb9f679
YQ
147592014-12-05 Yao Qi <yao@codesourcery.com>
14760
14761 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14762
86e4ed39
DE
147632014-12-04 Doug Evans <dje@google.com>
14764
14765 * gdb.python/py-objfile.exp: Add tests for
14766 objfile.add_separate_debug_file.
14767
7c50a931
DE
147682014-12-04 Doug Evans <dje@google.com>
14769
14770 * lib/gdb.exp (get_build_id): New function.
14771 (build_id_debug_filename_get): Rewrite to use it.
14772 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14773
621661e3
MR
147742014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14775
14776 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14777 `method(long)', not just 0x0.
14778 * gdb.cp/nsalias.exp: Align code labels to 4.
14779 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14780 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14781 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14782 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14783 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14784 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14785
29f0c3b7
DE
147862014-12-02 Doug Evans <dje@google.com>
14787
e1e061e7 14788 PR symtab/17602
29f0c3b7 14789 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 14790 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
14791 * gdb.cp/anon-ns.exp: Update.
14792
162078c8
NB
147932014-12-02 Nick Bull <nicholaspbull@gmail.com>
14794
14795 * gdb.python/py-events.py (inferior_call_handler): New.
14796 (register_changed_handler, memory_changed_handler): New.
14797 (test_events.invoke): Register new handlers.
14798 * gdb.python/py-events.exp: Add tests for inferior call,
14799 memory_changed and register_changed events.
14800
fdb09caf
AA
148012014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14802
14803 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14804 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14805 if the linker doesn't understand this.
14806
55cfb2c4
SM
148072014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14808
14809 * gdb.python/python.exp: Change expected reply to help().
14810
9e8cd6df
YQ
148112014-12-01 Yao Qi <yao@codesourcery.com>
14812
14813 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14814 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14815 * configure: Re-generated.
14816
6c659fc2
SC
148172014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14818
14819 * gdb.cp/chained-calls.cc: New file.
14820 * gdb.cp/chained-calls.exp: New file.
14821 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14822
d7fc3181
SM
148232014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14824
14825 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14826 * gdb.dwarf2/symtab-producer.exp: Same.
14827 * gdb.gdb/python-interrupts.exp: Same.
14828 * gdb.gdb/python-selftest.exp: Same.
14829 * gdb.python/py-linetable.exp: Same.
14830 * gdb.python/py-type.exp: Same.
14831 * gdb.python/py-value-cc.exp: Same.
14832 * gdb.python/py-value.exp: Same.
14833
10e79639
YQ
148342014-11-28 Yao Qi <yao@codesourcery.com>
14835
14836 * gdb.base/break-probes.exp: Match library name prefixed with
14837 sysroot.
14838
f28a0564
SM
148392014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14840
14841 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14842 test expected output. Add parentheses for the call to print.
14843 Remove L suffix from integers.
14844
3fe1ce1d
DE
148452014-11-26 Doug Evans <dje@google.com>
14846
14847 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14848
84429e27
YQ
148492014-11-22 Yao Qi <yao@codesourcery.com>
14850
14851 * gdb.trace/entry-values.c: Remove asms.
14852 (foo): Add foo_label.
14853 (bar): Add bar_label.
14854 * gdb.trace/entry-values.exp: Remove code computing foo's
14855 length and bar's length.
14856 (Dwarf::assemble): Invoke function_range for bar and use
14857 MACRO_AT_func for foo.
14858
26741859
YQ
148592014-11-22 Yao Qi <yao@codesourcery.com>
14860
14861 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14862 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14863 Use .Lgcc43_procstart instead of gcc43.
14864
45e44d27
JB
148652014-11-21 Joel Brobecker <brobecker@adacore.com>
14866
14867 * gdb.ada/n_arr_bound: New testcase.
14868
458c8db8
SDJ
148692014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14870
14871 PR breakpoints/10737
14872 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14873 test_catch_syscall_multi_arch.
14874 (test_catch_syscall_multi_arch): New function.
14875
43f3e411
DE
148762014-11-20 Doug Evans <xdje42@gmail.com>
14877
14878 * gdb.base/maint.exp: Update expected output.
14879
0d7b2549
AA
148802014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14881
14882 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14883 4-byte instruction on S390.
14884
8908fca5
JB
148852014-11-19 Joel Brobecker <brobecker@adacore.com>
14886
14887 * gdb.ada/arr_arr: New testcase.
14888
4a46959e
JB
148892014-11-19 Joel Brobecker <brobecker@adacore.com>
14890
14891 * gdb.ada/pkd_arr_elem: New Testcase.
14892
470e2f4e
LM
148932014-11-18 Luis Machado <lgustavo@codesourcery.com>
14894
14895 * gdb.reverse/break-precsave: Expect completion message for
14896 core file reads.
14897 * gdb.reverse/consecutive-precsave.exp: Likewise.
14898 * gdb.reverse/finish-precsave.exp: Likewise.
14899 * gdb.reverse/i386-precsave.exp: Likewise.
14900 * gdb.reverse/machinestate-precsave.exp: Likewise.
14901 * gdb.reverse/sigall-precsave.exp: Likewise.
14902 * gdb.reverse/solib-precsave.exp: Likewise.
14903 * gdb.reverse/step-precsave.exp: Likewise.
14904 * gdb.reverse/until-precsave.exp: Likewise.
14905 * gdb.reverse/watch-precsave.exp: Likewise.
14906
a267f3ad
AA
149072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14908
14909 * gdb.base/bp-permanent.c: Include unistd.h.
14910 * gdb.python/py-framefilter-mi.c (main): Add return type.
14911 * gdb.python/py-framefilter.c (main): Likewise.
14912 * gdb.trace/actions-changed.c (main): Likewise.
14913
12084a9a
AA
149142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14915
14916 * gdb.mi/until.c: Add eye-catchers.
14917 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14918 line numbers.
14919
dc7e1a77
AA
149202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14921
14922 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14923 function header variants in break1.c.
14924 * gdb.base/ena-dis-br.exp: Likewise.
14925 * gdb.base/hbreak2.exp: Likewise.
14926 * gdb.reverse/until-precsave.exp: Drop references to removed
14927 non-prototype function header variants in ur1.c.
14928 * gdb.reverse/until-reverse.exp: Likewise.
14929
41c77605
PM
149302014-11-17 Petr Machata <pmachata@redhat.com>
14931
14932 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14933 ${_cu_offset_size} bytes abbrev offset.
14934
34248c3a
DE
149352014-11-15 Doug Evans <xdje42@gmail.com>
14936
14937 PR symtab/17559
14938 * gdb.base/line-symtabs.exp: New file.
14939 * gdb.base/line-symtabs.c: New file.
14940 * gdb.base/line-symtabs.h: New file.
14941
646da059
YQ
149422014-11-14 Yao Qi <yao@codesourcery.com>
14943
14944 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14945 (func): Add label func_label.
14946 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14947 Replace low_pc and high_pc with MACRO_AT_range.
14948 Replace name, low_pc and high_pc with MACRO_AT_func.
14949
9301ebe6
YQ
149502014-11-14 Yao Qi <yao@codesourcery.com>
14951
14952 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14953 Replace name, low_pc and high_pc with MACRO_AT_func.
14954
f166b542
YQ
149552014-11-14 Yao Qi <yao@codesourcery.com>
14956
14957 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14958 produce debug information.
14959 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14960
0f6e71e3
YQ
149612014-11-14 Yao Qi <yao@codesourcery.com>
14962
14963 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14964 object and get function length.
14965 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14966 with MACRO_AT_func.
14967 (top-level): Replace gdb_compile and clean_restart with
14968 prepare_for_testing.
14969 * gdb.dwarf2/main.c (main): Add label main_label.
14970
876c4df9
YQ
149712014-11-14 Yao Qi <yao@codesourcery.com>
14972
14973 * lib/dwarf.exp (function_range): New procedure.
14974 (Dwarf::_handle_macro_at_func): New procedure.
14975 (Dwarf::_handle_macro_at_range): New procedure.
14976 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14977
02ad9cf1
YQ
149782014-11-14 Yao Qi <yao@codesourcery.com>
14979
14980 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14981 (_handle_attribute): New procedure.
14982
a59add0c
AA
149832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14984
14985 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14986 * gdb.base/call-sc.c (zed): Likewise.
14987 * gdb.base/checkpoint.c (main): Likewise.
14988 * gdb.base/dump.c (main): Likewise.
14989 * gdb.base/gcore.c (main): Likewise.
14990 * gdb.base/huge.c (main): Likewise.
14991 * gdb.base/multi-forks.c (main): Likewise.
14992 * gdb.base/pr10179-a.c (main): Likewise.
14993 * gdb.base/savedregs.c (main): Likewise.
14994 * gdb.base/sigaltstack.c (main): Likewise.
14995 * gdb.base/siginfo.c (main): Likewise.
14996 * gdb.base/structs.c (zed): Likewise.
14997 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14998 * gdb.mi/mi-syn-frame.c (main): Likewise.
14999 * gdb.mi/until.c (foo, main): Likewise.
15000 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15001 * gdb.base/solib-weak.c (foo): Declare.
15002 * gdb.base/attach-twice.c: Include stdio.h.
15003 * gdb.base/weaklib1.c: Likewise.
15004 * gdb.base/weaklib2.c: Likewise.
15005 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15006 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15007 unistd.h.
15008 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15009 * gdb.mi/mi-exit-code.c: Likewise.
15010 * gdb.base/break-interp-lib.c: Include string.h.
15011 * gdb.base/coremaker.c: Likewise.
15012 * gdb.base/testenv.c: Likewise.
15013 * gdb.python/py-finish-breakpoint.c: Likewise.
15014 * gdb.base/inferior-died.c: Include sys/wait.h.
15015 * gdb.base/fileio.c: Include time.h.
15016 * gdb.base/async-shell.c: Include unistd.h.
15017 * gdb.base/dprintf-non-stop.c: Likewise.
15018 * gdb.base/info-os.c: Likewise.
15019 * gdb.mi/mi-console.c: Likewise.
15020 * gdb.mi/watch-nonstop.c: Likewise.
15021 * gdb.python/py-events.c: Likewise.
15022 * gdb.base/async.c (baz): Move up before its invocation.
15023 * gdb.base/code_elim2.c (my_global_func): Likewise.
15024 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15025 * gdb.base/advance.c (func2): Likewise.
15026
3b5d5997
AA
150272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15028
15029 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15030 variant.
15031 * gdb.base/annota3.c: Likewise.
15032 * gdb.base/async.c: Likewise.
15033 * gdb.base/average.c: Likewise.
15034 * gdb.base/call-ar-st.c: Likewise.
15035 * gdb.base/call-rt-st.c: Likewise.
15036 * gdb.base/call-sc.c: Likewise.
15037 * gdb.base/call-strs.c: Likewise.
15038 * gdb.base/ending-run.c: Likewise.
15039 * gdb.base/execd-prog.c: Likewise.
15040 * gdb.base/exprs.c: Likewise.
15041 * gdb.base/foll-exec.c: Likewise.
15042 * gdb.base/foll-fork.c: Likewise.
15043 * gdb.base/foll-vfork.c: Likewise.
15044 * gdb.base/funcargs.c: Likewise.
15045 * gdb.base/gcore.c: Likewise.
15046 * gdb.base/jump.c: Likewise.
15047 * gdb.base/langs0.c: Likewise.
15048 * gdb.base/langs1.c: Likewise.
15049 * gdb.base/langs2.c: Likewise.
15050 * gdb.base/mips_pro.c: Likewise.
15051 * gdb.base/nodebug.c: Likewise.
15052 * gdb.base/opaque0.c: Likewise.
15053 * gdb.base/opaque1.c: Likewise.
15054 * gdb.base/recurse.c: Likewise.
15055 * gdb.base/run.c: Likewise.
15056 * gdb.base/scope0.c: Likewise.
15057 * gdb.base/scope1.c: Likewise.
15058 * gdb.base/setshow.c: Likewise.
15059 * gdb.base/setvar.c: Likewise.
15060 * gdb.base/shmain.c: Likewise.
15061 * gdb.base/shr1.c: Likewise.
15062 * gdb.base/shr2.c: Likewise.
15063 * gdb.base/sigall.c: Likewise.
15064 * gdb.base/signals.c: Likewise.
15065 * gdb.base/so-indr-cl.c: Likewise.
15066 * gdb.base/solib2.c: Likewise.
15067 * gdb.base/structs.c: Likewise.
15068 * gdb.base/sum.c: Likewise.
15069 * gdb.base/vforked-prog.c: Likewise.
15070 * gdb.base/watchpoint.c: Likewise.
15071 * gdb.reverse/shr2.c: Likewise.
15072 * gdb.reverse/until-reverse.c: Likewise.
15073 * gdb.reverse/ur1.c: Likewise.
15074 * gdb.reverse/watch-reverse.c: Likewise.
15075
066a77c5
AA
150762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15077
15078 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15079 variant.
15080 * gdb.base/sepdebug.exp: Drop references to removed code.
15081
4f204ea5
AA
150822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15083
15084 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15085 variant. Preserve original line numbering.
15086 * gdb.base/list1.c: Likewise.
15087
3b377a3a
AA
150882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15089
15090 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15091 variant.
15092 * gdb.base/break1.c: Likewise.
15093 * gdb.base/break.exp: Drop references to removed code.
15094
e444df73
AA
150952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15096
15097 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15098 variant.
15099
8008f2a7
AA
151002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15101
15102 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15103
a5a06887
AA
151042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15105
15106 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15107 logic into perform_all_tests() and invoke it with and without
15108 function header prototypes.
15109 (do_function_calls): Remove conditional XFAIL for PR 5318.
15110 (rerun_and_prepare): Remove duplicate code.
15111 (perform_all_tests): New. Main logic moved here.
15112
44dba9b9
AA
151132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15114
15115 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15116 code guarded by #ifdef NO_PROTOTYPES.
15117 (t_double_many_args): Likewise.
15118 (DEF_FUNC_MANY_ARGS_1): Likewise.
15119 (DEF_FUNC_VALUES_1): Likewise.
15120 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15121 guarded by #ifdef PROTOTYPES.
15122
d1fbcd56
AA
151232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15124
15125 * gdb.mi/mi-console.c: Add eye-catcher.
15126 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15127 instead of literal line number.
15128
b0e59b8f
AA
151292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15130
15131 * gdb.base/shr2.c: Add eye-catcher.
15132 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15133 line number.
15134
78f98cca
AA
151352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15136
15137 * gdb.base/jump.c: Add eye-catchers.
15138 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15139 numbers.
15140
58fa2af0
AA
151412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15142
15143 * gdb.base/execd-prog.c: Add eye-catchers.
15144 * gdb.base/foll-exec.c: Likewise.
15145 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15146 line numbers.
15147
04e5059b
AA
151482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15149
15150 * gdb.base/ending-run.c: Add eye-catchers.
15151 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15152 literal line numbers.
15153
dbfdb174
AA
151542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15155
15156 * gdb.base/call-rt-st.c: Add eye-catchers.
15157 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15158 literal line numbers.
15159
888a2ade
AA
151602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15161
15162 * gdb.base/call-ar-st.c: Add eye-catchers.
15163 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15164 literal line numbers.
15165
6acc2dde
AA
151662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15167
15168 * gdb.base/average.c: Add eye-catchers.
15169 * gdb.base/sum.c: Likewise.
15170 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15171 regexps dynamically.
15172
9ecfcd1d
AA
151732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15174
15175 * gdb.base/solib1.c: Add eye-catchers.
15176 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15177 literal line numbers.
15178
78708b7c
PA
151792014-11-12 Pedro Alves <palves@redhat.com>
15180
15181 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15182 leader has exited.
15183
af48d08f
PA
151842014-11-12 Pedro Alves <palves@redhat.com>
15185
15186 * gdb.arch/i386-bp_permanent.c: New file.
15187 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15188 (srcfile): Set to i386-bp_permanent.c.
15189 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15190 that stepi does not execute the 'leave' instruction, instead of
15191 testing it does execute.
15192 * gdb.base/bp-permanent.c: New file.
15193 * gdb.base/bp-permanent.exp: New file.
15194
af3768e9
DE
151952014-11-10 Doug Evans <xdje42@gmail.com>
15196
15197 PR symtab/17564
15198 * gdb.base/symtab-search-order.exp: New file.
15199 * gdb.base/symtab-search-order.c: New file.
15200 * gdb.base/symtab-search-order-1.c: New file.
15201 * gdb.base/symtab-search-order-shlib-1.c: New file.
15202
9de00a4a
PA
152032014-11-07 Pedro Alves <palves@redhat.com>
15204
15205 PR gdb/17511
15206 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15207 i?86-*-linux*.
15208
e0f52461
SC
152092014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15210
15211 PR c++/17494
15212 * gdb.cp/pr17494.cc: New file.
15213 * gdb.cp/pr17494.exp: New file.
15214
6ce8c980
YQ
152152014-11-02 Yao Qi <yao@codesourcery.com>
15216
15217 * gdb.python/python.exp: Get working directory and match the
15218 output of "set extended-prompt \\w " with it.
15219
02be9a71
DE
152202014-10-30 Doug Evans <dje@google.com>
15221
15222 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15223 in objfiles.
15224 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15225 in progspaces.
15226
3bdff46b
LM
152272014-10-30 Janis Johnson <janisjo@codesourcery.com>
15228
15229 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15230 * gdb.base/realname-expand.exp: Likewise.
15231 * gdb.linespec/macro-relative.exp: Likewise.
15232
ab917dfb
PA
152332014-10-29 Pedro Alves <palves@redhat.com>
15234
15235 PR gdb/17408
15236 * gdb.threads/schedlock.c (some_function): New function.
15237 (call_function): New global.
15238 (MAYBE_CALL_SOME_FUNCTION): New macro.
15239 (thread_function): Call it.
15240 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15241 and use it instead of a global counter. Adjust all callers.
15242 (get_current_thread): Use "find current thread" for test message
15243 here rather than having all callers pass down the same string.
15244 (goto_loop): New procedure, factored out from ...
15245 (my_continue): ... this.
15246 (step_ten_loops): Change parameter from test message to command to
15247 use. Adjust.
15248 (list_count): Delete global.
15249 (check_result): New procedure, factored out from duplicate top
15250 level code.
15251 (continue tests): Wrap in with_test_prefix.
15252 (test_step): New procedure, factored out from duplicate top level
15253 code.
15254 (top level): Test "step" in combination with all scheduler-locking
15255 modes. Test "next" in combination with all scheduler-locking
15256 modes, and in combination with stepping over a function call or
15257 not.
15258 * gdb.threads/next-bp-other-thread.c: New file.
15259 * gdb.threads/next-bp-other-thread.exp: New file.
15260
d3d4baed
PA
152612014-10-29 Pedro Alves <palves@redhat.com>
15262
15263 PR python/17372
15264 * gdb.python/python.exp: Test a multi-line command that spawns
15265 interactive Python.
15266 * gdb.base/multi-line-starts-subshell.exp: New file.
15267
563e8d85
YQ
152682014-10-29 Yao Qi <yao@codesourcery.com>
15269
15270 * gdb.base/fileio.exp: Make directories on host.
15271
0ea4d52e
YQ
152722014-10-29 Yao Qi <yao@codesourcery.com>
15273
15274 * gdb.base/fileio.c (test_write): Close the file.
15275
7f5ef605
PA
152762014-10-28 Pedro Alves <palves@redhat.com>
15277
15278 PR gdb/12623
15279 * gdb.base/sigstep.c (no_handler): New global.
15280 (main): If 'no_handler is true, set the signal handlers to
15281 SIG_IGN.
15282 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15283 with_sw_watch and no_handler parameters. Handle them.
15284 (top level) <stepping over handler when stopped at a breakpoint
15285 test>: Add a test axis for testing with a software watchpoint, and
15286 another for testing with the signal handler set to SIG_IGN.
15287 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15288 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15289
abbdbd03
PA
152902014-10-28 Pedro Alves <palves@redhat.com>
15291
15292 PR gdb/17511
15293 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15294 * gdb.base/sigstep.exp (other_handler_location): New global.
15295 (advance): Support stepping into the signal handler, and running
15296 commands while in the handler.
15297 (in_handler_map): New global.
15298 (top level): In the advance test, add combinations for getting
15299 into the handler with stepping commands, and for running commands
15300 in the handler. Add comment descripting the advancei tests.
15301
1df4399f
PA
153022014-10-28 Pedro Alves <palves@redhat.com>
15303
15304 * gdb.base/sigstep.exp: Use build_executable instead of
15305 prepare_for_testing.
15306 (top level): Move code that starts GDB, runs to main and creates a
15307 display to ...
15308 (restart): ... this new procedure.
15309 (top level): Move backtrace from signal handler test to ...
15310 (validate_backtrace): ... this new procedure.
15311 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15312 with_test_prefix. Always restart GDB.
15313 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15314 with_test_prefix. Always restart GDB. No need to delete
15315 breakpoints after the test.
15316 (test_skip_handler): Remove prefix parameter.
15317 (skip_over_handler, breakpoint_to_handler)
15318 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15319 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15320 restart GDB. No need to delete breakpoints after the test.
15321 (top level): Use foreach to call the test procedures with
15322 different commands.
15323
a5b6e449
PA
153242014-10-28 Pedro Alves <palves@redhat.com>
15325
15326 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15327 instead of GNATS numbers.
15328 * gdb.base/sigbpt.exp: Likewise.
15329 * gdb.base/siginfo.exp: Likewise.
15330 * gdb.base/sigstep.exp: Likewise.
15331
e5f8a7cc
PA
153322014-10-27 Pedro Alves <palves@redhat.com>
15333
15334 * gdb.base/sigstep.c (dummy): New global.
15335 (main): Issue a couple writes to the new global.
15336 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15337 procedures.
15338 (skip_over_handler): Use test_skip_handler.
15339 (top level): Call skip_over_handler for stepi and nexti too.
15340 (breakpoint_over_handler): Use test_skip_handler.
15341 (top level): Call breakpoint_over_handler for stepi and nexti too.
15342
763905a3
YQ
153432014-10-27 Yao Qi <yao@codesourcery.com>
15344
15345 * gdb.trace/tfile.c (adjust_function_address)
15346 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15347 function descriptor.
15348
6f259a23
DB
153492014-10-24 Don Breazeal <donb@codesourcery.com>
15350
15351 * gdb.base/foll-fork.exp (test_follow_fork,
15352 catch_fork_child_follow): Check for updated fork messages emitted
15353 from infrun.c.
15354 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15355 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15356 vfork_and_exec_child_follow_through_step): Check for updated vfork
15357 messages emitted from infrun.c.
15358
09dd9a69
PA
153592014-10-24 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.base/corefile.exp: Remove references to ultrix.
15362 * gdb.base/interrupt.exp: Likewise.
15363 * gdb.base/whatis.exp: Likewise.
15364 * gdb.gdb/selftest.exp: Likewise.
15365 * gdb.threads/manythreads.exp: Likewise.
15366 * gdb.threads/print-threads.exp: Likewise.
15367 * gdb.threads/pthreads.exp:: Likewise.
15368 * gdb.threads/schedlock.exp: Likewise.
15369
3433cfa5
SC
153702014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15371
15372 * gdb.cp/non-trivial-retval.cc: Add a test case.
15373 * gdb.cp/non-trivial-retval.exp: Add a test.
15374
092f880b
YQ
153752014-10-20 Yao Qi <yao@codesourcery.com>
15376
15377 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15378 * gdb.python/py-objfile-script-gdb.py: New file.
15379 * gdb.python/py-objfile-script.exp: Update reference to
15380 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15381 of remote_download. Remove the dest file.
15382
acbdb7f3
YQ
153832014-10-20 Yao Qi <yao@codesourcery.com>
15384
15385 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15386 * gdb.base/step-line.exp: Likewise.
15387 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15388 * gdb.dwarf2/dw2-basic.exp: Likewise.
15389 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15390 * gdb.dwarf2/dw2-filename.exp: Likewise.
15391 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15392 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15393 * gdb.dwarf2/dw2-producer.exp: Likewise.
15394 * gdb.dwarf2/mac-fileno.exp: Likewise.
15395 * gdb.python/py-frame-args.exp: Likewise.
15396 * gdb.python/py-framefilter.exp: Likewise.
15397 * gdb.python/py-mi.exp: Likewise.
15398 * gdb.python/py-objfile-script.exp: Likewise
15399 * gdb.python/py-pp-integral.exp: Likewise.
15400 * gdb.python/py-pp-re-notag.exp: Likewise.
15401 * gdb.python/py-prettyprint.exp: Likewise.
15402 * gdb.python/py-section-script.exp: Likewise.
15403 * gdb.python/py-typeprint.exp: Likewise.
15404 * gdb.python/py-xmethods.exp: Likewise.
15405 * gdb.stabs/weird.exp: Likewise.
15406 * gdb.xml/tdesc-regs.exp: Likewise.
15407
bd286a29
KCY
154082014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15409
15410 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15411 (out_cu): Use addr_len for the size of addresses.
15412 (out_line): Likewise. Size DW_LNE_set_address instruction
15413 according to addr_len.
15414 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15415 (FUNC): Add START_INSNS to definition.
15416
673dc4a0
YQ
154172014-10-18 Yao Qi <yao@codesourcery.com>
15418
15419 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15420 gdb_has_argv0 return true.
15421 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15422 check [target_info exists noargs], check [gdb_has_argv0]
15423 instead.
15424 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15425 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15426 procedures.
15427
4ffbba72
DE
154282014-10-17 Doug Evans <dje@google.com>
15429
15430 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15431 event.
15432 * gdb.python/py-events.py: Add clear_objfiles event.
15433
d096d8c1
DE
154342014-10-17 Doug Evans <dje@google.com>
15435
15436 * gdb.python/py-objfile.exp: Test progspace attribute.
15437
a80db015
LM
154382014-10-17 Luis Machado <lgustavo@codesourcery.com>
15439
15440 * gdb.guile/scm-breakpoint.exp: Do not assume any
15441 directory separators when matching source file paths.
15442 * gdb.python/py-breakpoint.exp: Likewise.
15443 * gdb.reverse/break-precsave.exp: Likewise.
15444 * gdb.reverse/break-reverse.exp: Likewise.
15445 * gdb.reverse/consecutive-precsave.exp: Likewise.
15446 * gdb.reverse/finish-precsave.exp: Likewise.
15447 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15448 * gdb.reverse/finish-reverse.exp: Likewise.
15449 * gdb.reverse/i386-precsave.exp: Likewise.
15450 * gdb.reverse/i387-env-reverse.exp: Likewise.
15451 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15452 * gdb.reverse/machinestate-precsave.exp: Likewise.
15453 * gdb.reverse/machinestate.exp: Likewise.
15454 * gdb.reverse/sigall-precsave.exp: Likewise.
15455 * gdb.reverse/solib-precsave.exp: Likewise.
15456 * gdb.reverse/step-precsave.exp: Likewise.
15457 * gdb.reverse/until-precsave.exp: Likewise.
15458 * gdb.reverse/watch-precsave.exp: Likewise.
15459 * gdb.reverse/watch-reverse.exp: Likewise.
15460
b22089ab
YQ
154612014-10-17 Yao Qi <yao@codesourcery.com>
15462
15463 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15464 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15465
6c4486e6
PA
154662014-10-17 Pedro Alves <palves@redhat.com>
15467
15468 PR gdb/17471
15469 * gdb.base/bg-execution-repeat.c: New file.
15470 * gdb.base/bg-execution-repeat.exp: New file.
15471
0ff33695
PA
154722014-10-17 Pedro Alves <palves@redhat.com>
15473
15474 PR gdb/17300
15475 * gdb.base/continue-all-already-running.c: New file.
15476 * gdb.base/continue-all-already-running.exp: New file.
15477
6fdebc3d
PA
154782014-10-17 Pedro Alves <palves@redhat.com>
15479
15480 PR gdb/17472
15481 * gdb.base/annota-input-while-running.c: New file.
15482 * gdb.base/annota-input-while-running.exp: New file.
15483
32a8097b
PA
154842014-10-17 Pedro Alves <palves@redhat.com>
15485
15486 * gdb.base/callfuncs.exp: emove references to osf.
15487 * gdb.base/sigall.exp: Likewise.
15488 * gdb.gdb/selftest.exp: Likewise.
15489 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15490 * gdb.mi/non-stop.c: Likewise.
15491 * gdb.mi/pthreads.c: Likewise.
15492 * gdb.reverse/sigall-precsave.exp: Likewise.
15493 * gdb.reverse/sigall-reverse.exp: Likewise.
15494 * gdb.threads/pthreads.c: Likewise.
15495 * gdb.threads/pthreads.exp: Likewise.
15496
7a3517ff
YQ
154972014-10-17 Yao Qi <yao@codesourcery.com>
15498
15499 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15500 check 'target_info exists noargs'.
15501 (test_command_prompt_position): Likewise.
15502 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15503 Remove "set args".
15504 (progvar_simple_while_test): Likewise.
15505 (progvar_complex_if_while_test): Likewise.
15506 (if_while_breakpoint_command_test): Likewise.
15507 (infrun_breakpoint_command_test): Likewise.
15508 (breakpoint_command_test): Likewise.
15509 (watchpoint_command_test): Likewise.
15510 (bp_deleted_in_command_test): Likewise.
15511 (temporary_breakpoint_commands): Likewise.
15512
bb99c472
YQ
155132014-10-16 Yao Qi <yao@codesourcery.com>
15514
15515 * gdb.base/remotetimeout.exp: Remove noargs checking.
15516
7c16b83e
PA
155172014-10-15 Pedro Alves <palves@redhat.com>
15518
15519 PR breakpoints/9649
15520 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15521 * gdb.base/breakpoint-in-ro-region.exp
15522 (probe_target_hardware_step): New procedure.
15523 (top level): Probe hardware stepping and hardware breakpoint
15524 support. Test stepping through a read-only region, with both
15525 "breakpoint auto-hw" on and off and both "always-inserted" on and
15526 off.
15527
35a49624
IB
155282014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15529
15530 * gdb.dlang/demangle.exp: Update for demangling changes.
15531
2d1c107c
SC
155322014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15533
15534 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15535 * gdb.cp/non-trivial-retval.exp: Add new tests.
15536
778811d5
SC
155372014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15538
15539 PR c++/13403
15540 PR c++/15154
15541 * gdb.cp/non-trivial-retval.cc: New file.
15542 * gdb.cp/non-trivial-retval.exp: New file.
15543
10c5f0a8
YQ
155442014-10-15 Yao Qi <yao@codesourcery.com>
15545
15546 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15547 remote host.
15548
65d7b369
YQ
155492014-10-15 Yao Qi <yao@codesourcery.com>
15550
15551 * gdb.python/py-symbol.exp: Match file base name if host is
15552 remote, otherwise match file name with dir name.
15553 * gdb.python/py-symtab.exp: Likewise.
15554 * gdb.python/python.exp: Likewise.
15555
46dc1394
YQ
155562014-10-15 Yao Qi <yao@codesourcery.com>
15557
15558 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15559 pattern.
15560 * gdb.python/py-symtab.exp: Likewise.
15561 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15562 locationn.
15563
c40cc657
JB
155642014-10-14 Joel Brobecker <brobecker@adacore.com>
15565
15566 * gdb.ada/addr_arith: New testcase.
15567
2abf49e1
MR
155682014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15569
15570 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15571 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15572 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15573 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15574
f7088df3
SDJ
155752014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15576
15577 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15578 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15579 * gdb.arch/stap-eval-lang-ada.exp: New file.
15580
4dc06805
YQ
155812014-10-14 Yao Qi <yao@codesourcery.com>
15582
15583 * gdb.mi/mi-var-child.c (nothing1): New function.
15584 (nothing2): New function.
15585 (do_children_tests): Set function pointers by nothing1 and
15586 nothing2.
15587 * gdb.mi/mi-var-child.exp: Step over new added statements.
15588 Update test to match the new output.
15589 * gdb.mi/var-cmd.c (nothing1): New function.
15590 (nothing2): New function.
15591 (do_children_tests): Set function pointers by nothing1 and
15592 nothing2.
15593 * gdb.mi/mi-var-display.exp: Update test to match output.
15594 Step to the line specified by $line_dct_nothing.
15595 Increase the number of lines to step.
15596
46a93de2
YQ
155972014-10-14 Yao Qi <yao@codesourcery.com>
15598
15599 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15600 tests.
15601 * gdb.mi/mi2-var-child.exp: Likewise.
15602
14ea52ee
DE
156032014-10-13 Doug Evans <dje@google.com>
15604
15605 * gdb.python/py-objfile.exp: Change name of file name test.
15606
e5c6e92b
DE
156072014-10-13 Doug Evans <dje@google.com>
15608
15609 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15610 from the start of the CU.
15611
c780cc2f
JK
156122014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15613 Yao Qi <yao@codesourcery.com>
15614
15615 Fix "save breakpoints" for "catch" command.
15616 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15617 Remove -nonewline. Match also the added "main" line.
15618
99894e11
JK
156192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15620
15621 Fix "save breakpoints" for "disable $bpnum" command.
15622 * gdb.base/save-bp.c (main): Add label.
15623 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15624
6e1ac5a3
JK
156252014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15626
15627 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15628
754dd2b0
YQ
156292014-10-11 Yao Qi <yao@codesourcery.com>
15630
15631 * gdb.server/server-kill.exp: Execute command
15632 "set remote trace-status-packet on" before "tstatus".
15633
f90183d7
YQ
156342014-10-11 Yao Qi <yao@codesourcery.com>
15635
15636 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15637 (main): Call getppid.
15638 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15639 and continue to it. Read variable "server_pid".
15640
bf40a607
YQ
156412014-10-11 Yao Qi <yao@codesourcery.com>
15642
15643 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15644
052ca370
YQ
156452014-10-11 Yao Qi <yao@codesourcery.com>
15646
15647 * gdb.threads/thread-find.exp: Don't execute command
15648 "info threads".
15649 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15650 * gdb.threads/linux-dp.exp: Don't check the condition
15651 $threads_created equals to zero.
15652
3831839c
PA
156532014-10-10 Pedro Alves <palves@redhat.com>
15654
15655 * gdb.base/bigcore.exp: Remove references to IRIX.
15656 * gdb.base/funcargs.exp: Likewise.
15657 * gdb.base/interrupt.exp: Likewise.
15658 * gdb.base/mips_pro.exp: Likewise.
15659 * gdb.base/nodebug.exp: Likewise.
15660 * gdb.base/setvar.exp: Likewise.
15661 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15662
8b9a549d
PA
156632014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15664 Pedro Alves <palves@redhat.com>
15665
15666 PR symtab/14466
15667 * gdb.base/vdso-warning.c: New file.
15668 * gdb.base/vdso-warning.exp: New file.
15669
d48ba5e8
DE
156702014-10-02 Doug Evans <dje@google.com>
15671
15672 * gdb.base/structs.c (main): Don't run forever.
15673
2278c276
PA
156742014-10-02 Pedro Alves <palves@redhat.com>
15675
15676 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15677 (top level) <stop threads 1, stop threads 2>: Use it.
15678
b57bacec
PA
156792014-10-02 Pedro Alves <palves@redhat.com>
15680
15681 * gdb.threads/break-while-running.exp (test): Add new
15682 'update_thread_list' argument. Skip "info threads" if false.
15683 (top level): Add new 'update_thread_list' axis.
15684
13fd3ff3
PA
156852014-10-02 Pedro Alves <palves@redhat.com>
15686
15687 PR breakpoints/17431
15688 * gdb.base/execl-update-breakpoints.c: New file.
15689 * gdb.base/execl-update-breakpoints.exp: New file.
15690
0fec99e8
PA
156912014-10-01 Pedro Alves <palves@redhat.com>
15692
15693 * gdb.base/breakpoint-in-ro-region.c: New file.
15694 * gdb.base/breakpoint-in-ro-region.exp: New file.
15695
2ddf4301
SM
156962014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15697
15698 * gdb.mi/mi-exit-code.exp: New file.
15699 * gdb.mi/mi-exit-code.c: New file.
15700
6a5f3f43
YQ
157012014-09-30 Yao Qi <yao@codesourcery.com>
15702
15703 * lib/prelink-support.exp (build_executable_own_libs): Error if
15704 the target isn't native.
15705
345bcc73
YQ
157062014-09-30 Yao Qi <yao@codesourcery.com>
15707
15708 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15709 false.
15710
a25a5a45
PA
157112014-09-22 Pedro Alves <palves@redhat.com>
15712
15713 * gdb.threads/break-while-running.exp: New file.
15714 * gdb.threads/break-while-running.c: New file.
15715
00ba3162
YQ
157162014-09-19 Yao Qi <yao@codesourcery.com>
15717
15718 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15719 Invoke test. Restart GDB with --readnow and invoke test again.
15720
c3b7b696
YQ
157212014-09-19 Yao Qi <yao@codesourcery.com>
15722
15723 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15724 proc set_breakpoint_on_gcd_function. Invoke
15725 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15726 invoke set_breakpoint_on_gcd_function again.
15727
2b4fd423
DE
157282014-09-18 Doug Evans <dje@google.com>
15729
15730 * gdb.dwarf2/symtab-producer.exp: New file.
15731
a5947601
SDJ
157322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15733
15734 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15735 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15736 * gdb.base/global-var-nested-by-dso.c: Likewise.
15737 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15738
91c19059
SDJ
157392014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15740 Pedro Alves <palves@redhat.com>
15741
15742 * gdb.base/watch-bitfields.exp: Pass string other than test file
15743 name to prepare_for_testing.
15744 (watch): New procedure.
15745 (expect_watchpoint): Use with_test_prefix.
15746 (top level): Factor out tests to ...
15747 (test_watch_location, test_regular_watch): ... these new
15748 procedures, and use with_test_prefix and gdb_continue_to_end.
15749
bb9d5f81
PP
157502014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15751
15752 PR breakpoints/12526
15753 * gdb.base/watch-bitfields.exp: New file.
15754 * gdb.base/watch-bitfields.c: New file.
15755
635856f5
PA
157562014-09-16 Pedro Alves <palves@redhat.com>
15757
15758 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15759 software and hardware addresses, not software address against
15760 itself.
15761
7280ceea
PA
157622014-09-16 Pedro Alves <palves@redhat.com>
15763
15764 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15765 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15766
428b16bd
PA
157672014-09-16 Pedro Alves <palves@redhat.com>
15768
15769 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15770 files.
15771 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15772 "*-*-vxworks*" throughout.
15773 * gdb.base/break.exp: Likewise.
15774 * gdb.base/default.exp: Likewise.
15775 * gdb.base/scope.exp: Likewise.
15776 * gdb.base/sepdebug.exp: Likewise.
15777 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15778 throughout.
15779 * gdb.base/run.c: Likewise.
15780 * gdb.base/sepdebug.c: Likewise.
15781 * gdb.hp/gdb.aCC/run.c: Likewise.
15782 * gdb.reverse/until-reverse.c: Likewise.
15783 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15784
666d413c
YQ
157852014-09-16 Yao Qi <yao@codesourcery.com>
15786
15787 * boards/local-remote-host-native.exp: New file.
15788
57cbd724
DE
157892014-09-14 Doug Evans <xdje42@gmail.com>
15790
15791 * gdb.threads/queue-signal.c (thread_count): New variable.
15792 (thread_count_mutex, thread_count_condvar): New variables.
15793 (incr_thread_count, wait_all_threads_running): New functions.
15794 (main): Wait for all threads to be in their thread functions.
15795
81219e53
DE
157962014-09-13 Doug Evans <xdje42@gmail.com>
15797
15798 * gdb.threads/queue-signal.c: New file.
15799 * gdb.threads/queue-signal.exp: New file.
15800
3714cea7
DE
158012014-09-13 Doug Evans <xdje42@gmail.com>
15802
15803 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15804 be consistent with what default_gdb_init uses.
15805 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15806 the plain text of the prompt. Add some logging printfs.
15807 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15808
fa43b1d7
PA
158092014-09-12 Pedro Alves <palves@redhat.com>
15810
15811 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15812 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15813 * gdb.arch/i386-size-overlap.exp: Likewise.
15814 * gdb.arch/i386-size.exp: Likewise.
15815 * gdb.arch/i386-unwind.exp: Likewise.
15816 * gdb.base/a2-run.exp: Likewise.
15817 * gdb.base/break.exp: Likewise.
15818 * gdb.base/charset.exp: Likewise.
15819 * gdb.base/chng-syms.exp: Likewise.
15820 * gdb.base/commands.exp: Likewise.
15821 * gdb.base/dbx.exp: Likewise.
15822 * gdb.base/find.exp: Likewise.
15823 * gdb.base/funcargs.exp: Likewise.
15824 * gdb.base/jit-simple.exp: Likewise.
15825 * gdb.base/reread.exp: Likewise.
15826 * gdb.base/sepdebug.exp: Likewise.
15827 * gdb.base/step-bt.exp: Likewise.
15828 * gdb.cp/mb-inline.exp: Likewise.
15829 * gdb.cp/mb-templates.exp: Likewise.
15830 * gdb.objc/basicclass.exp: Likewise.
15831 * gdb.threads/killed.exp: Likewise.
15832
9d9bf2df
EBM
158332014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15834
15835 PR tdep/17379
15836 * gdb.arch/powerpc-stackless.S: New file.
15837 * gdb.arch/powerpc-stackless.exp: New file.
15838
1cf2f1b0
JK
158392014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15840
15841 * gdb.base/attach.c: Include unistd.h.
15842 (main): Call alarm. Add label postloop.
15843 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15844 gdb_breakpoint, gdb_continue_to_breakpoint.
15845 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15846
98880d46
PA
158472014-09-11 Pedro Alves <palves@redhat.com>
15848
15849 PR gdb/17347
15850 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15851 * gdb.base/attach.exp (test_command_line_attach_run): New
15852 procedure.
15853 (top level): Call it.
15854
4c92ff2c
PA
158552014-09-11 Pedro Alves <palves@redhat.com>
15856
15857 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15858 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15859 (do_command_attach_tests): Use spawn_wait_for_attach.
15860 * gdb.base/solib-overlap.exp: Likewise.
15861 * gdb.multi/multi-attach.exp: Likewise.
15862 * gdb.python/py-prompt.exp: Likewise.
15863 * gdb.python/py-sync-interp.exp: Likewise.
15864 * gdb.server/ext-attach.exp: Likewise.
15865
3adc1a7d
GKB
158662014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15867
15868 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15869 command in testcase. Simplify testcase.
15870
96334934
JB
158712014-09-10 Joel Brobecker <brobecker@adacore.com>
15872
15873 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15874
eb479039
JB
158752014-09-10 Joel Brobecker <brobecker@adacore.com>
15876
15877 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15878
deede10c
JB
158792014-09-10 Joel Brobecker <brobecker@adacore.com>
15880
15881 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15882
7828a5f5
JB
158832014-09-10 Joel Brobecker <brobecker@adacore.com>
15884
15885 * gdb.dwarf2/dynarr-ptr.c: New file.
15886 * gdb.dwarf2/dynarr-ptr.exp: New file.
15887
33aeebcf
MR
158882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15889
15890 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15891 of 30 rather than hardcoding 120 for a slow test case. Take the
15892 `gdb,timeout' target setting into account for this calculation.
15893 Don't extend the timeout for the test cases that don't need it.
15894
7b415901
MR
158952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15896
15897 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15898 a factor of 2 for a slow test case. Take the `gdb,timeout'
15899 target setting into account for this calculation.
15900 * gdb.reverse/until-precsave.exp: Increase the timeout by
15901 a factor of 15 and 3 respectively rather than adding 120
15902 for a pair of slow test cases. Take the `gdb,timeout'
15903 target setting into account for this calculation.
15904
4a40f85a
MR
159052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15906
15907 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15908 timeout, don't pass one down to gdb_expect.
15909 (gdb_expect): Rework timeout selection.
15910
09635af7
MR
159112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15912
15913 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15914 exception on timeout.
15915 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15916 (gdbserver_start_extended): Catch any `gdbserver_start' error
15917 exceptions.
15918 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15919 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15920 `gdbserver_gdb_load' error exceptions.
15921
2bdd10b7
MR
159222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15923
15924 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15925 120 on waiting for the TCP socket to open.
15926
316935f0
DE
159272014-09-09 Doug Evans <xdje42@gmail.com>
15928
15929 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15930 _caller_matches, _any_caller_is, _any_caller_matches.
15931
83740597
DE
159322014-09-09 Doug Evans <xdje42@gmail.com>
15933
15934 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15935
4c122fc3
YQ
159362014-09-09 Yao Qi <yao@codesourcery.com>
15937
15938 * gdb.mi/mi-var-display.exp: Set print symbol off.
15939
a9f116cb
GKB
159402014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15941
15942 PR gdb/17035
15943 * gdb.base/commands.exp: Add tests to verify user-defined
15944 commands with empty bodies.
15945 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15946 python commands in `show user command`.
15947 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15948 scheme commands in `show user command`.
15949
c75bd3a2
JK
159502014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15951
15952 PR python/17355
15953 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15954 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15955 * gdb.python/py-framefilter-invalidarg.exp: New file.
15956 * gdb.python/py-framefilter-invalidarg.py: New file.
15957
faa42425
DE
159582014-09-06 Doug Evans <xdje42@gmail.com>
15959
15960 PR 15276
15961 * gdb.python/py-caller-is.c: New file.
15962 * gdb.python/py-caller-is.exp: New file.
15963
474ca4f6
SDJ
159642014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15965
15966 PR gdb/17235
15967 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15968 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15969
eb0b0463
SDJ
159702014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15971
15972 PR fortran/17237
15973 * gdb.fortran/print-formatted.exp: New file.
15974 * gdb.fortran/print-formatted.f90: Likewise.
15975
5f3b99cf
SS
159762014-09-03 Sasha Smundak <asmundak@google.com>
15977
15978 * gdb.python/py-frame.exp: Test Frame.read_register.
15979
7d793aa9
SDJ
159802014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15981
15982 PR python/16699
15983 * gdb.python/py-completion.exp: New file.
15984 * gdb.python/py-completion.py: Likewise.
15985
fb0576e9
DE
159862014-08-28 Doug Evans <dje@google.com>
15987
15988 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15989 eax,etc. are live with values set by gdb and thus the compiler can't
15990 use them.
15991 * gdb.arch/i386-pseudo.c (main): Ditto.
15992
ee92b0dd
DE
159932014-08-27 Doug Evans <dje@google.com>
15994
15995 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15996
6649db35
DE
159972014-08-25 Doug Evans <dje@google.com>
15998
15999 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16000 (main): Ditto.
16001
564b7600
DE
160022014-08-25 Doug Evans <dje@google.com>
16003
16004 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16005
3881fb67
YQ
160062014-08-24 Yao Qi <yao@codesourcery.com>
16007
16008 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16009 symbol off.
16010 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16011
a05a36a5
DE
160122014-08-22 Doug Evans <dje@google.com>
16013
16014 PR 17276
16015 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16016 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16017 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16018
7c343b48
YQ
160192014-08-22 Yao Qi <yao@codesourcery.com>
16020
16021 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16022 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16023 * gdb.python/python.exp: Likewise. Use .py file on the host
16024 instead of the build.
16025
22fd09ae
JK
160262014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16027
16028 * gdb.threads/gcore-stale-thread.c: New file.
16029 * gdb.threads/gcore-stale-thread.exp: New file.
16030
a8454a7c
PA
160312014-08-21 Pedro Alves <palves@redhat.com>
16032
16033 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16034 * gdb.base/gcore-relro-pie.exp: Likewise.
16035 * gdb.base/gcore-relro.exp: Likewise.
16036 * gdb.base/gcore.exp: Likewise.
16037 * gdb.base/print-symbol-loading.exp: Likewise.
16038 * gdb.threads/gcore-thread.exp: Likewise.
16039 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16040
2a31c623
PA
160412014-08-20 Pedro Alves <palves@redhat.com>
16042 Jan Kratochvil <jan.kratochvil@redhat.com>
16043
16044 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16045 configure.
16046 (EXPECT): Handle READ1 being set.
16047 (all): Depend on EXTRA_RULES.
16048 (check-read1, expect-read1, read1.so, read1): New rules.
16049 * README (Testsuite Parameters): Document the READ1 make variable.
16050 (Race detection): New section.
16051 * configure: Regenerate.
16052 * configure.ac: If build==host==target, and running under a
16053 GNU/glibc system, add read1 to the extra Makefile rules.
16054 (EXTRA_RULES): AC_SUBST it.
16055 * lib/read1.c: New file.
16056
d36430db
JB
160572014-08-20 Joel Brobecker <brobecker@adacore.com>
16058
16059 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16060 the handling of variables declared as a typedef to an array
16061 which a DW_AT_data_location attribute.
16062
9a0dc9e3
PA
160632014-08-19 Andrew Burgess <aburgess@broadcom.com>
16064 Pedro Alves <palves@redhat.com>
16065
16066 PR symtab/14604
16067 PR symtab/14605
16068 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16069 gdb_test.
16070
0718a8da
PA
160712014-08-19 Pedro Alves <palves@redhat.com>
16072
16073 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16074
13b448cd
YQ
160752014-08-19 Yao Qi <yao@codesourcery.com>
16076
16077 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16078 right line.
16079
1cbf5077
DB
160802014-08-18 David Blaikie <dblaikie@gmail.com>
16081
16082 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16083
bf0fae19
JB
160842014-08-18 Joel Brobecker <brobecker@adacore.com>
16085
16086 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16087 attribute in array range.
16088
3c8c5dcc
JB
160892014-08-18 Joel Brobecker <brobecker@adacore.com>
16090
16091 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16092
e66d4446
SC
160932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16094
16095 PR c++/17132
16096 * gdb.cp/pr17132.cc: New file.
16097 * gdb.cp/pr17132.exp: New file.
16098
940df408
SC
160992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16100
16101 * gdb.python/py-xmethods.py (A_getarrayind)
16102 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16103 Use 'print' with function call syntax.
16104 (E_method_matcher.match): Fix tab vs space indentation mixup.
16105
ebcc6c3a
YQ
161062014-08-15 Yao Qi <yao@codesourcery.com>
16107
16108 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16109 false.
16110
775e0f04
YQ
161112014-08-15 Yao Qi <yao@codesourcery.com>
16112
16113 * gdb.cp/casts.exp: Set print symbol off.
16114 * gdb.cp/class2.exp: Likewise.
16115 * gdb.cp/overload.exp: Likewise.
16116 * gdb.cp/templates.exp: Likewise.
16117
d769e349
DE
161182014-08-11 Doug Evans <dje@google.com>
16119
16120 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16121 (test_load_shlib): Update.
16122
20c6f1e1
YQ
161232014-08-09 Yao Qi <yao@codesourcery.com>
16124
16125 * gdb.base/display.exp: Invoke is_address_zero_readable.
16126 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16127 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16128 * gdb.base/hbreak-unmapped.exp: Return if
16129 is_address_zero_readable returns true.
16130 * gdb.base/signest.exp: Likewise.
16131 * gdb.base/signull.exp: Likewise.
16132 * gdb.base/sigbpt.exp: Likewise.
16133 * gdb.guile/scm-disasm.exp: Do the test if
16134 is_address_zero_readable returns false.
16135 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16136 * gdb.python/py-arch.exp: Likewise.
16137 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16138 * lib/gdb.exp (is_address_zero_readable): New proc.
16139
5792e8e3
YQ
161402014-08-09 Yao Qi <yao@codesourcery.com>
16141
16142 PR testsuite/13443
16143 * gdb.mi/mi-var-display.exp: Make test messages unique.
16144
3cecbbbe
TT
161452014-08-04 Tom Tromey <tromey@redhat.com>
16146
16147 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16148 target 0".
16149
00b51ff5
TT
161502014-08-04 Tom Tromey <tromey@redhat.com>
16151
16152 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16153 "target_resume".
16154
6908c509
JB
161552014-08-01 Joel Brobecker <brobecker@adacore.com>
16156
16157 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16158 inner_vla_struct_object_size.
16159 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16160 as xfail.
16161
cc6563d2
PA
161622014-07-30 Pedro Alves <palves@redhat.com>
16163
16164 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16165 comment.
16166
7e09a223
YQ
161672014-07-29 Yao Qi <yao@codesourcery.com>
16168
16169 PR gdb/17206
16170 * gdb.base/until-nodebug.exp: New.
16171
7ebdbe92
DE
161722014-07-28 Doug Evans <xdje42@gmail.com>
16173
16174 PR guile/17203
16175 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16176 previously existing parameter, and previously ambiguously spelled
16177 parameter.
16178
fdb1adc6
WN
161792014-07-28 Will Newton <will.newton@linaro.org>
16180
16181 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16182
186fcde0
DE
161832014-07-26 Ludovic Courtès <ludo@gnu.org>
16184 Doug Evans <xdje42@gmail.com>
16185
16186 PR guile/17146
16187 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16188
70509625
PA
161892014-07-25 Pedro Alves <palves@redhat.com>
16190
16191 * gdb.threads/signal-command-handle-nopass.c: New file.
16192 * gdb.threads/signal-command-handle-nopass.exp: New file.
16193 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16194 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16195 * gdb.threads/signal-delivered-right-thread.c: New file.
16196 * gdb.threads/signal-delivered-right-thread.exp: New file.
16197
c3f814a1
PA
161982014-07-25 Pedro Alves <palves@redhat.com>
16199
16200 * gdb.base/double-prompt-target-event-error.exp
16201 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16202 match.
16203 (cancel_pagination_in_target_event): Rework double prompt
16204 detection.
16205 * gdb.base/paginate-after-ctrl-c-running.exp
16206 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16207 <return>' match.
16208 * gdb.base/paginate-bg-execution.exp
16209 (test_bg_execution_pagination_return)
16210 (test_bg_execution_pagination_cancel): Remove '-notransfer
16211 <return>' matches.
16212 * gdb.base/paginate-execution-startup.exp
16213 (test_fg_execution_pagination_return)
16214 (test_fg_execution_pagination_cancel): Remove '-notransfer
16215 <return>' matches.
16216 * gdb.base/paginate-inferior-exit.exp
16217 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16218 match.
16219 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16220 * lib/gdb.exp (pagination_prompt): Run text through
16221 string_to_regexp.
16222 (gdb_test_multiple): Match $pagination_prompt instead of
16223 "<return>".
16224 (string_to_regexp): Move to lib/gdb-utils.exp.
16225
e214cf6c
JK
162262014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16227
16228 * gdb.arch/amd64-entry-value-paramref.S: New file.
16229 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16230 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16231 * gdb.arch/amd64-optimout-repeat.S: New file.
16232 * gdb.arch/amd64-optimout-repeat.c: New file.
16233 * gdb.arch/amd64-optimout-repeat.exp: New file.
16234
17d0c5c8
JK
162352014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16236
16237 PR gdb/17170
16238 * gdb.base/statistics.exp: New file.
16239
b8b8facf
DE
162402014-07-17 Doug Evans <dje@google.com>
16241
74b49205 16242 PR gdb/17170
b8b8facf
DE
16243 * gdb.base/maint.exp: Update testing of per-command stats.
16244
1b5d0ab3
PA
162452014-07-16 Pedro Alves <palves@redhat.com>
16246
16247 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16248 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16249 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16250 (tfile_write_buf): New functions.
16251 (add_memory_block): Rewrite using the above.
16252 (adjust_function_address): New function.
16253 (FUNCTION_ADDRESS): New macro.
16254 (write_basic_trace_file): Remove short_x local, and use
16255 tfile_write_16. Change type of func_addr local to unsigned long
16256 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16257 here. Cast argument of add_memory_block to char pointer.
16258 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16259 (main): Remove parameters.
16260 * gdb.trace/tfile.exp: Remove nowarnings.
16261
4d974e88
SM
162622014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16263
16264 * gdb.base/debug-expr.exp: Test string evaluation with
16265 "debug expression" on.
16266
41e99568
PA
162672014-07-15 Pedro Alves <palves@redhat.com>
16268
16269 * gdb.base/reread.exp: Use clean_restart.
16270
487d9753
PL
162712014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16272
16273 * gdb.arch/avr-flash-qualifer.c: New.
16274 * gdb.arch/avr-flash-qualifer.exp: New.
16275
cc1c52ad
PA
162762014-07-14 Pedro Alves <palves@redhat.com>
16277
16278 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16279 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16280
1e973570
PA
162812014-07-14 Pedro Alves <palves@redhat.com>
16282
16283 * gdb.base/double-prompt-target-event-error.c: New file.
16284 * gdb.base/double-prompt-target-event-error.exp: New file.
16285
93d6eb10
PA
162862014-07-14 Pedro Alves <palves@redhat.com>
16287
16288 PR gdb/17072
16289 * gdb.base/paginate-inferior-exit.c: New file.
16290 * gdb.base/paginate-inferior-exit.exp: New file.
16291
0017922d
PA
162922014-07-14 Pedro Alves <palves@redhat.com>
16293
16294 PR gdb/17072
16295 * gdb.base/paginate-bg-execution.c: New file.
16296 * gdb.base/paginate-bg-execution.exp: New file.
16297
94696ad3
PA
162982014-07-14 Pedro Alves <palves@redhat.com>
16299
16300 PR gdb/17072
16301 * gdb.base/paginate-execution-startup.c: New file.
16302 * gdb.base/paginate-execution-startup.exp: New file.
16303 * lib/gdb.exp (pagination_prompt): New global.
16304 (default_gdb_spawn): New procedure, factored out from
16305 default_gdb_spawn.
16306 (default_gdb_start): Adjust to call default_gdb_spawn.
16307 (gdb_spawn): New procedure.
16308
bd293940
PA
163092014-07-14 Pedro Alves <palves@redhat.com>
16310
16311 * lib/gdb.exp (gdb_assert): New procedure.
16312 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16313
c933f875
PA
163142014-07-14 Pedro Alves <palves@redhat.com>
16315
16316 * gdb.base/execution-termios.c: New file.
16317 * gdb.base/execution-termios.exp: New file.
16318
d98b7a16
TT
163192014-07-14 Tom Tromey <tromey@redhat.com>
16320
16321 * gdb.cp/vla-cxx.cc: New file.
16322 * gdb.cp/vla-cxx.exp: New file.
16323
548740d6
TT
163242014-07-14 Tom Tromey <tromey@redhat.com>
16325
16326 * gdb.reverse/rerun-prec.c: New file.
16327 * gdb.reverse/rerun-prec.exp: New file.
16328
a25eb028
MR
163292014-07-12 Maciej W. Rozycki <macro@mips.com>
16330 Maciej W. Rozycki <macro@codesourcery.com>
16331
16332 * lib/gdb-utils.exp: New file.
16333 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16334 inline `gdb_init_command' processing.
16335 (gdb_start_cmd): Likewise.
16336 * lib/mi-support.exp (mi_run_cmd): Likewise.
16337 * README: Document `gdb_init_command' and `gdb_init_commands'.
16338
218c2655
JK
163392014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16340
16341 Fix false FAIL running under a very long directory name.
16342 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16343 and "set print elements 10000". Twice.
16344
5401fde3
YQ
163452014-07-11 Yao Qi <yao@codesourcery.com>
16346
16347 * gdb.base/exprs.exp: "set print symbol off".
16348
e76126e8
PA
163492014-07-11 Pedro Alves <palves@redhat.com>
16350
16351 * gdb.threads/kill.c: New file.
16352 * gdb.threads/kill.exp: New file.
16353
2d6f0de6
YQ
163542014-07-10 Yao Qi <yao@codesourcery.com>
16355
16356 * gdb.trace/tfile.c (write_basic_trace_file)
16357 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16358 address written to trace file.
16359
7180e04a
PA
163602014-07-09 Pedro Alves <palves@redhat.com>
16361
16362 * gdb.base/attach-wait-input.exp: New file.
16363 * gdb.base/attach-wait-input.c: New file.
16364
9a9a7608
AB
163652014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16366
16367 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16368 setting up test structures.
16369 (main): Call new test function.
16370 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16371 test function, continue into test function and walk test
16372 structures.
16373
161ac41e
YQ
163742014-07-02 Yao Qi <yao@codesourcery.com>
16375
16376 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16377 'bar_start' at the beginning of functions 'foo' and 'bar'
16378 respectively.
16379 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16380 instead of 'foo' and 'bar'.
16381
1f267ae3
MM
163822014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16383
16384 * gdb.btrace/segv.exp: New.
16385 * gdb.btrace/segv.c: New.
16386
2b239efb
LM
163872014-07-02 Luis Machado <lgustavo@codesourcery.com>
16388
16389 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16390 instruction.
16391
cf363f18
MW
163922014-06-30 Mark Wielaard <mjw@redhat.com>
16393
16394 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16395 vulture, vilify, villar): New volatile array constants.
16396 (vindictive, vegetation): New const volatile array constants.
16397 * gdb.base/volatile.exp: Test volatile and const volatile array
16398 types.
16399
aebf9d24
AA
164002014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16401
16402 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16403 target lacks support for awatch, rwatch, or hbreak.
16404
b67a2c6f
YQ
164052014-06-27 Yao Qi <yao@codesourcery.com>
16406
16407 * gdb.multi/dummy-frame-restore.exp: New.
16408 * gdb.multi/dummy-frame-restore.c: New.
16409
aef92902
MM
164102014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16411
16412 * gdb.btrace/gcore.exp: New.
16413
8e9db26e
PA
164142014-06-23 Pedro Alves <palves@redhat.com>
16415
16416 * gdb.base/watchpoint-reuse-slot.c: New file.
16417 * gdb.base/watchpoint-reuse-slot.exp: New file.
16418
70afc5b7
SC
164192014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16420
16421 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16422 progspace's filename in 'info', 'enable' and 'disable' command
16423 tests.
16424
b972bd9c
JK
164252014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16426
16427 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16428 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16429 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16430
125f8a3d
GB
164312014-06-20 Gary Benson <gbenson@redhat.com>
16432
16433 * gdb.arch/i386-avx.exp: Fix include file location.
16434 * gdb.arch/i386-sse.exp: Likewise.
16435
3ed9baed
IB
164362014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16437
16438 * gdb.dlang/expression.exp: New file.
16439
034f788c
PA
164402014-06-19 Pedro Alves <palves@redhat.com>
16441
16442 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16443 out from ...
16444 (top level): ... here. Iterate running tests under different
16445 scheduler-locking settings.
16446
45371d0c
LM
164472014-06-18 Luis Machado <lgustavo@codesourcery.com>
16448
16449 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16450 to DW_FORM_addr and use non-zero addresses.
16451
5d376983
SC
164522014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16453
16454 PR gdb/17017
16455 * gdb.python/py-xmethods.cc: Add global function call counters and
16456 increment them in their respective functions. Remove "cout"
16457 statements.
16458 * gdb.python/py-xmethods.exp: Make tests check the global function
16459 call counters instead of depending on inferior IO.
16460
a1aa2221
LM
164612014-06-18 Don Breazeal <donb@codesourcery.com>
16462
16463 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16464 Deleted procedure.
16465 (explicit_fork_parent_follow): Deleted procedure.
16466 (explicit_fork_child_follow): Deleted procedure.
16467 (test_follow_fork): New procedure.
16468 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16469 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16470 procedure calls.
16471
0fc05997
YQ
164722014-06-17 Yao Qi <yao@codesourcery.com>
16473
16474 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16475 CP1252.
16476
70795c52
LM
164772014-06-17 Luis Machado <lgustavo@codesourcery.com>
16478
16479 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16480 Initialize ptr and S explicitly.
16481 (skip_type_update_when_not_use_rtti_test): Likewise.
16482
6be47f0c
KS
164832014-06-16 Keith Seitz <keiths@redhat.com>
16484
16485 PR mi/15863
16486 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16487 the inferior is started.
16488
d03de421
PA
164892014-06-16 Pedro Alves <palves@redhat.com>
16490
16491 * gdb.base/break-main-file-remove-fail.c: New file.
16492 * gdb.base/break-main-file-remove-fail.exp: New file.
16493 * gdb.base/break-unload-file.exp: Use build_executable instead of
16494 prepare_for_testing.
16495 (test_break): New parameter "initial_load". Handle it.
16496 (top level): Add initial_load cmdline/file axis.
16497
f9579b99
TT
164982014-06-12 Tom Tromey <tromey@redhat.com>
16499
16500 * gdb.base/completion.exp: Don't use directory name in test.
16501
3657956b
GB
165022014-06-09 Gary Benson <gbenson@redhat.com>
16503
16504 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16505 separate the always-available ANSI-standard signals from the
16506 signals that require checking.
16507 (main): Likewise.
16508 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16509 Likewise.
16510 (main): Likewise.
16511
4186eb54
KS
165122014-06-07 Keith Seitz <keiths@redhat.com>
16513
16514 Revert:
16515 PR c++/16253
16516 * gdb.cp/var-tag.cc: New file.
16517 * gdb.cp/var-tag.exp: New file.
16518 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16519 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16520 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16521 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16522
25326a28 165232014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16524
16525 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16526
829155c9
PA
165272014-06-06 Pedro Alves <palves@redhat.com>
16528
16529 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16530 in target debug output instead of looking at RSP packets,
16531 disabling the test on any target that uses hardware stepping.
16532 Update comments.
16533
61c8d22e
PA
165342014-06-06 Pedro Alves <palves@redhat.com>
16535
16536 * gdb.base/break-unload-file.exp: Fix typo.
16537
d9a47287
YQ
165382014-06-06 Yao Qi <yao@codesourcery.com>
16539
16540 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16541 from "jit_function" to "^jit_function".
16542
e5e01dbf
YQ
165432014-06-06 Yao Qi <yao@codesourcery.com>
16544
16545 * gdb.base/async.c (foo): Add one statement.
16546 * gdb.base/async.exp: Get the next instruction address and
16547 match the output of "nexti" by instruction address. Match
16548 the hex address in the output of "finish".
16549
73ba372c
GB
165502014-06-06 Gary Benson <gbenson@redhat.com>
16551
16552 * gdb.base/call-signals.c: Remove preprocessor conditionals
16553 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16554 SIGSEGV and SIGTERM.
16555 * gdb.base/sigall.c: Likewise.
16556 * gdb.base/unwindonsignal.c: Likewise.
16557 * gdb.reverse/sigall-reverse.c: Likewise.
16558
831517df
YQ
165592014-06-06 Yao Qi <yao@codesourcery.com>
16560
16561 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16562 readable, skip the test.
16563
b8b91e98
YQ
165642014-06-06 Yao Qi <yao@codesourcery.com>
16565
16566 * gdb.threads/staticthreads.c (thread_function): Move the line
16567 setting breakpoint on forward.
16568 * gdb.threads/staticthreads.exp: Update comments.
16569
fb934770
LC
165702014-06-05 Ludovic Courtès <ludo@gnu.org>
16571
16572 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16573 "history-append! type error".
16574
6ef284bd
SM
165752014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16576
16577 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16578 erroneous dprintf expected input.
16579
a872e241
DE
165802014-06-04 Doug Evans <xdje42@gmail.com>
16581
16582 * gdb.guile/scm-generics.exp: Delete.
16583
16f691fb
DE
165842014-06-04 Doug Evans <xdje42@gmail.com>
16585
16586 * gdb.guile/scm-breakpoint.exp: Update.
16587 Add tests for breakpoint registration.
16588
012370f6
TT
165892014-06-04 Tom Tromey <tromey@redhat.com>
16590
16591 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16592 VLA-in-union.
16593 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16594 inner_vla_struct, vla_union types. Initialize objects of those
16595 types and compute their sizes.
16596
9f5a4cef
HZ
165972014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16598 Hui Zhu <hui@codesourcery.com>
16599
16600 * gdb.base/fileio.exp: Add test for shell not available as well as
16601 available.
16602 * gdb.base/fileio.c (test_system): Check for shell twice.
16603
90a45c4d
YQ
166042014-06-04 Yao Qi <yao@codesourcery.com>
16605
16606 * gdb.base/auto-connect-native-target.exp: Remove redundant
16607 space from the regexp pattern.
16608
70017e41
YQ
166092014-06-04 Yao Qi <yao@codesourcery.com>
16610
16611 * gdb.base/default.exp: Replace "child" with "native" in
16612 regexp pattern.
16613
883964a7
SC
166142014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16615
16616 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16617 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16618 * gdb.python/py-xmethods.py: Python script supporting the
16619 new testcase and tests.
16620
ef370185
JB
166212014-06-03 Joel Brobecker <brobecker@adacore.com>
16622 Pedro Alves <palves@redhat.com>
16623
16624 PR breakpoints/17000
16625 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16626 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16627
1e2ccb61
BM
166282014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16629
16630 * gdb.base/subst.exp: Add tests to verify partial path matching
16631 output.
16632
c6ec5ab2
PA
166332014-06-03 Pedro Alves <palves@redhat.com>
16634
16635 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16636 target that doesn't use software single-stepping.
16637
835c559f
PA
166382014-06-03 Pedro Alves <palves@redhat.com>
16639
16640 PR breakpoints/17000
16641 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16642 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16643
06eb1586
DE
166442014-06-02 Doug Evans <xdje42@gmail.com>
16645
16646 * gdb.guile/scm-parameter.exp: New file.
16647
e698b8c4
DE
166482014-06-02 Doug Evans <xdje42@gmail.com>
16649
16650 * gdb.guile/scm-cmd.c: New file.
16651 * gdb.guile/scm-cmd.exp: New file.
16652
ded03782
DE
166532014-06-02 Doug Evans <xdje42@gmail.com>
16654
16655 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16656 pretty-printer lookup.
16657 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16658 (make-pp_s-printer): Call it.
16659 (make-pretty-printer-from-dict): New function.
16660 (lookup-pretty-printer-maker-from-dict): New function.
16661 (*pretty-printer*): Simplify.
16662 (make-objfile-pp_s-printer): New function.
16663 (install-objfile-pretty-printers!): New function.
16664 (make-progspace-pp_s-printer): New function.
16665 (install-progspace-pretty-printers!): New function.
16666 * gdb.guile/scm-progspace.c: New file.
16667 * gdb.guile/scm-progspace.exp: New file.
16668
41fac0cf
PA
166692014-06-02 Pedro Alves <palves@redhat.com>
16670
16671 * gdb.base/dprintf-bp-same-addr.c: New file.
16672 * gdb.base/dprintf-bp-same-addr.exp: New file.
16673
96ae5695
EBM
166742014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16675
16676 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16677 * gdb.arch/powerpc-power.s: Likewise.
16678
da02b3a8
JB
166792014-06-02 Joel Brobecker <brobecker@adacore.com>
16680
16681 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16682
c72b2e7b
YQ
166832014-06-01 Yao Qi <yao@codesourcery.com>
16684
16685 * gdb.base/watchpoint.exp (test_watch_location): Check null
16686 pointer can be dereferenced. If not, do the test, otherwise
16687 skip it.
16688
53e8a631
AB
166892014-05-30 Andrew Burgess <aburgess@broadcom.com>
16690
16691 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16692 results.
16693 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16694
938f0e2f
AB
166952014-05-30 Andrew Burgess <aburgess@broadcom.com>
16696
16697 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16698 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16699 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16700 * gdb.arch/amd64-invalid-stack-top.c: New file.
16701 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16702
9ba6657a
PA
167032014-05-30 Pedro Alves <palves@redhat.com>
16704
16705 PR breakpoints/17000
16706 * gdb.base/sss-bp-on-user-bp.c: New file.
16707 * gdb.base/sss-bp-on-user-bp.exp: New file.
16708
522c09bf
DB
167092014-05-30 David Blaikie <dblaikie@gmail.com>
16710
16711 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16712 gnu_inline semantics via attribute.
16713 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16714 source explicitly specifies the required semantics.
16715
bf4ef81e
MR
167162014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16717
16718 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16719
329ea579
PA
167202014-05-29 Pedro Alves <palves@redhat.com>
16721 Tom Tromey <tromey@redhat.com>
16722
16723 * gdb.base/async-shell.exp: Don't enable target-async.
16724 * gdb.base/async.exp
16725 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16726 parameter. Adjust.
16727 (top level): Don't test with "target-async".
16728 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16729 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16730 * gdb.base/inferior-died.exp: Don't enable target-async.
16731 * gdb.base/interrupt-noterm.exp: Likewise.
16732 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16733 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16734 * gdb.mi/mi-nonstop.exp: Likewise.
16735 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16736 * gdb.mi/mi-nsintrall.exp: Likewise.
16737 * gdb.mi/mi-nsmoribund.exp: Likewise.
16738 * gdb.mi/mi-nsthrexec.exp: Likewise.
16739 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16740 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16741 * gdb.python/py-evsignal.exp: Don't enable target-async.
16742 * gdb.python/py-evthreads.exp: Likewise.
16743 * gdb.python/py-prompt.exp: Likewise.
16744 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16745 * gdb.server/solib-list.exp: Don't enable target-async.
16746 * gdb.threads/thread-specific-bp.exp: Likewise.
16747 * lib/mi-support.exp: Adjust to use mi-async.
16748
fd664c91
PA
167492014-05-29 Pedro Alves <palves@redhat.com>
16750
16751 PR gdb/13860
16752 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16753 reason, even in sync mode.
16754
251bde03
PA
167552014-05-29 Pedro Alves <palves@redhat.com>
16756 Hui Zhu <hui@codesourcery.com>
16757
16758 PR PR15693
16759 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16760 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16761 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16762 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16763
7f3c0343
JB
167642014-05-28 Joel Brobecker <brobecker@adacore.com>
16765
16766 * config/monitor.exp (gdb_target_monitor): Replace use of
16767 "set remotebaud" by "set serial baud".
16768
b2715b27
AW
167692014-05-26 Andy Wingo <wingo@igalia.com>
16770
16771 * gdb.guile/scm-breakpoint.exp:
16772 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16773 properties instead of gdb-object-properties.
16774
498a4489
YQ
167752014-05-26 Yao Qi <yao@codesourcery.com>
16776
16777 * gdb.server/no-thread-db.exp: Specify source file name
16778 explicitly when setting a breakpoint.
16779
589fdceb
MM
167802014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16781
16782 * gdb.btrace/vdso.c: New.
16783 * gdb.btrace/vdso.exp: New.
16784
e9089e05
MM
167852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16786
16787 * gdb.base/gcore.exp (capture_command_output): Move ...
16788 * lib/gdb.exp (capture_command_output): ... here.
16789
67b5c0c1
MM
167902014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16791
16792 * gdb.btrace/data.exp: Test memory access during btrace replay.
16793
a2199296
SM
167942014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16795
16796 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16797
17b2616c
PA
167982014-05-21 Pedro Alves <palves@redhat.com>
16799
16800 PR gdb/13860
16801 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16802 (top level): Test that output related to execution commands is
16803 sent to the console with CLI commands, but not with MI commands.
16804 Test that breakpoint events are always mirrored to the console.
16805 Also expect the new source line to be output after a "next" in
16806 async mode too. Make it a pass/fail test.
16807 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16808 output.
16809 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16810
5166082f
PA
168112014-05-21 Pedro Alves <palves@redhat.com>
16812
16813 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16814 Use them to test variations of "list" after reaching a breakpoint.
16815 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16816 Test "list" with listsize 10 after reaching a breakpoint.
16817 * gdb.python/python.exp (decode_line current location line
16818 number): Adjust expected line number.
16819
2f25d70f
SM
168202014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16821
16822 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16823 behavior for $args, pass it directly to "run".
16824
ff604a67
MR
168252014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16826
16827 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16828 30000 to 65536.
16829
6a3cb8e8
PA
168302014-05-21 Pedro Alves <palves@redhat.com>
16831
16832 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16833 auto-connect-native-target off".
16834 * gdb.base/auto-connect-native-target.c: New file.
16835 * gdb.base/auto-connect-native-target.exp: New file.
16836
4ebfc96e
PA
168372014-05-21 Pedro Alves <palves@redhat.com>
16838
16839 * gdb.base/default.exp: Test "target native" instead of "target
16840 child".
16841
36d46afb
MW
168422014-05-21 Mark Wielaard <mjw@redhat.com>
16843
16844 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16845
5876f503
JK
168462014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16847
16848 Fix TLS access for -static -pthread.
16849 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16850 <HAVE_TLS> (thread_function, main): Initialize it.
16851 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16852 Add clean_restart.
16853 <$have_tls != "">: Check TLSVAR.
16854
0256a6ac
PA
168552014-05-21 Pedro Alves <palves@redhat.com>
16856
16857 * gdb.base/dcache-line-read-error.c: New.
16858 * gdb.base/dcache-line-read-error.exp: New.
16859
936d2992
PA
168602014-05-20 Pedro Alves <palves@redhat.com>
16861
16862 * gdb.base/compare-sections.c: New file.
16863 * gdb.base/compare-sections.exp: New file.
16864
802e8e6d
PA
168652014-05-20 Pedro Alves <palves@redhat.com>
16866
16867 * gdb.base/break-idempotent.c: New file.
16868 * gdb.base/break-idempotent.exp: New file.
16869
e59fa00f
MM
168702014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16871
16872 * gdb.btrace/nohist.exp: New.
16873
8b696e31
YQ
168742014-05-20 Yao Qi <yao@codesourcery.com>
16875
16876 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16877 gdb.reverse directory and gdb_reverse_timeout exists in board
16878 setting.
16879 * README: Document gdb_reverse_timeout.
16880
73c9764f
YQ
168812014-05-20 Yao Qi <yao@codesourcery.com>
16882
16883 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16884 'test_file_name'. Treat args as a string instead of a list.
16885 (gdb_init): Rename argument 'args' by 'test_file_name'.
16886
f1f4348a
JK
168872014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16888
16889 * gdb.arch/powerpc-power.exp: New file.
16890 * gdb.arch/powerpc-power.s: New file.
16891
0dbe70ce
DE
168922014-05-16 Doug Evans <dje@google.com>
16893
16894 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
16895 * gdb.base/completion.exp: Check that all expected files exist
16896 before doing file completion.
0dbe70ce 16897
8d551b02
DE
168982014-05-16 Doug Evans <dje@google.com>
16899
16900 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16901 Update.
16902 (do_syscall_tests_without_xml): Update.
16903
73eb7709
PA
169042014-05-16 Pedro Alves <palves@redhat.com>
16905
16906 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16907 instead of "unknown output after running".
16908
3fae92fc
YQ
169092014-05-16 Yao Qi <yao@codesourcery.com>
16910
16911 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16912 file1.txt from host at the end.
16913 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16914
c2b2ccc5
DE
169152014-05-15 Doug Evans <dje@google.com>
16916
16917 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16918 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16919 loading file. Add test for TU lookup.
16920
8c217a4b
SM
169212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16922
16923 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16924 calling "-exec-arguments" or "set args" before running the
16925 inferior.
16926
3deb39c6
SM
169272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16928
16929 * lib/mi-support.exp (mi_expect_stop): Expect message for
16930 inferiors that exit with non-zero exit code.
16931
71a79f8c
YQ
169322014-05-14 Yao Qi <yao@codesourcery.com>
16933
16934 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16935 match absolute path on remote host.
16936 (test_file_list_exec_source_files): Remove "/" from the
16937 pattern.
16938
f23fcd46
YQ
169392014-05-14 Yao Qi <yao@codesourcery.com>
16940
16941 * boards/local-remote-host-notty.exp (${board}_file): New
16942 proc.
16943
9404b58f
KM
169442014-05-07 Kyle McMartin <kyle@redhat.com>
16945
16946 Pushed by Joel Brobecker <brobecker@adacore.com>.
16947 * gdb.arch/aarch64-atomic-inst.c: New file.
16948 * gdb.arch/aarch64-atomic-inst.exp: New file.
16949
5e45f04c
YQ
169502014-05-07 Yao Qi <yao@codesourcery.com>
16951
16952 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16953 in current context" too.
16954
c888a17d
KS
169552014-05-05 Keith Seitz <keiths@redhat.com>
16956
16957 * gdb.linespec/ls-dollar.exp: Add test for linespec
16958 file:convenience_variable.
16959
290a839c
YQ
169602014-05-05 Yao Qi <yao@codesourcery.com>
16961
16962 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16963 traceframes into tfile and ctf trace files. Read data from
16964 trace file and test collected data.
16965 (gdb_collect_locals_test): Likewise.
16966 (gdb_unavailable_registers_test): Likewise.
16967 (gdb_unavailable_floats): Likewise.
16968 (gdb_collect_globals_test): Likewise.
16969 (top-level): Append "ctf" to trace_file_targets if GDB
16970 supports.
16971
b5262cd0
YQ
169722014-05-05 Yao Qi <yao@codesourcery.com>
16973
16974 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16975 code to ...
16976 (gdb_collect_args_test_1): ... it. New proc.
16977 (gdb_collect_locals_test): Move some code to ...
16978 (gdb_collect_locals_test_1): ... it. New proc.
16979 (gdb_unavailable_registers_test): Move some code to ...
16980 (gdb_unavailable_registers_test_1): ... it. New proc.
16981 (gdb_unavailable_floats): Move some code to ...
16982 (gdb_unavailable_floats_1): ... it. New proc.
16983
30a1e6cc
SDJ
169842014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16985
16986 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16987 probes to test for bitness recognition.
16988 * gdb.arch/amd64-stap-optional-prefix.exp
16989 (test_probe_value_without_reg): New procedure.
16990 Add code to test for different kinds of bitness.
16991
f33da99a
SDJ
169922014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16993
16994 PR breakpoints/16889
16995 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16996 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16997
5b80f00d
PA
169982014-05-01 Pedro Alves <palves@redhat.com>
16999
17000 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17001 gdb_file_cmd if no file is specified.
17002 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17003 last_loaded_file to set the remote exec-file.
17004
f8c2a73c
PA
170052014-05-01 Pedro Alves <palves@redhat.com>
17006
17007 * boards/local-remote-host.exp: New file.
17008
be6e8ac7
PA
170092014-05-01 Pedro Alves <palves@redhat.com>
17010
17011 * boards/local-remote-host.exp: Rename to ...
17012 * boards/local-remote-host-notty.exp: ... this.
17013
cac0dc8f
JB
170142014-04-28 Joel Brobecker <brobecker@adacore.com>
17015
17016 * gdb.ada/dyn_arrayidx: New testcase.
17017
9730e6cc
YQ
170182014-04-26 Yao Qi <yao@codesourcery.com>
17019
17020 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17021 and compute the length of function main. Save it in
17022 $main_length.
17023 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17024 (top-level): Use gdb_compile to compile objects into
17025 executable and restart GDB. Remove invocation to
17026 prepare_for_testing.
17027
7ae1a6a6
PA
170282014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17029 Pedro Alves <palves@redhat.com>
17030
17031 PR server/16255
17032 * gdb.multi/multi-attach.c: New file.
17033 * gdb.multi/multi-attach.exp: New file.
17034
4082afcc
PA
170352014-04-25 Pedro Alves <palves@redhat.com>
17036
17037 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17038 user.
17039 (top level): Test that "set remote conditional-breakpoints-packet
17040 off" works as intended.
17041 * gdb.base/dprintf.exp: Test that "set remote
17042 breakpoint-commands-packet off" works as intended.
17043 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17044 New function.
17045 (top level): Call it.
17046 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17047 remote fast-tracepoints-packet off" works as intended.
17048 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17049 * lib/gdb.exp (gdb_is_target_remote): ... here.
17050
2abc3f8d
DB
170512014-04-24 David Blaikie <dblaikie@gmail.com>
17052
17053 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17054 ensure clang would not discard them.
17055 * gdb.base/gdbvars.c: Ditto.
17056 * gdb.base/memattr.c: Ditto.
17057 * gdb.base/whatis.c: Ditto.
17058 * gdb.python/py-prettyprint.c: Ditto.
17059 * gdb.trace/actions.c: Ditto.
17060 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17061 ensure clang would not discard it.
17062
bfd39632
DB
170632014-04-24 David Blaikie <dblaikie@gmail.com>
17064
17065 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17066 clang to emit the full definition of type required by the test
17067 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17068
22842ff6
DB
170692014-04-24 David Blaikie <dblaikie@gmail.com>
17070
17071 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17072 coax Clang into emitting the definition of the type.
17073 * gdb.cp/pr10728-x.h (y): Ditto.
17074 * gdb.cp/pr10728-y.cc (y): Ditto.
17075
c2e827ad
DB
170762014-04-24 David Blaikie <dblaikie@gmail.com>
17077
17078 * gdb.base/label.exp: XFAIL label related tests under Clang.
17079 * gdb.cp/cplabel.exp: Ditto.
17080 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17081 under Clang those using labels.
17082
4c2d33e7
YQ
170832014-04-25 Yao Qi <yao@codesourcery.com>
17084
17085 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17086 double_label.
17087 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17088 partial_label and double_label.
17089
56083b99
DB
170902014-04-24 David Blaikie <dblaikie@gmail.com>
17091
17092 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17093
25d4e99d
DB
170942014-04-24 David Blaikie <dblaikie@gmail.com>
17095
17096 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17097 of the function to work across GCC and Clang.
17098 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17099 pointer types (const void ** const V void **).
17100
01f9f808
MS
171012014-04-24 Michael Sturm <michael.sturm@mintel.com>
17102 Walfred Tedeschi <walfred.tedeschi@intel.com>
17103
17104 * Makefile.in (EXECUTABLES): Added i386-avx512.
17105 * gdb.arch/i386-avx512.c: New file.
17106 * gdb.arch/i386-avx512.exp: Likewise.
17107
4b48d439
KS
171082014-04-23 Keith Seitz <keiths@redhat.com>
17109
17110 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17111 (mi_make_breakpoint_table): New procedure.
17112 (mi_create_breakpoint): Use mi_make_breakpoint
17113 and return the result.
17114 (mi_make_breakpoint): New procedure.
17115 (mi_build_kv_pairs): New procedure.
17116
17117 * gdb.mi/mi-break.exp: Remove unused globals,
17118 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17119 All callers updated.
17120 * gdb.mi/mi-dprintf.exp: Use variable to track command
17121 number.
17122 Update all callers of mi_create_breakpoint and use
17123 mi_make_breakpoint_table.
17124 Remove any unused global variables.
17125 * gdb.mi/mi-nonstop.exp: Likewise.
17126 * gdb.mi/mi-nsintrall.exp: Likewise.
17127 * gdb.mi/mi-nsmoribund.exp: Likewise.
17128 * gdb.mi/mi-nsthrexec.exp: Likewise.
17129 * gdb.mi/mi-reverse.exp: Likewise.
17130 * gdb.mi/mi-simplerun.exp: Likewise.
17131 * gdb.mi/mi-stepn.exp: Likewise.
17132 * gdb.mi/mi-syn-frame.exp: Likewise.
17133 * gdb.mi/mi-until.exp: Likewise.
17134 * gdb.mi/mi-var-cp.exp: Likewise.
17135 * gdb.mi/mi-var-display.exp: Likewise.
17136 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17137 * gdb.mi/mi2-var-child.exp: Likewise.
17138 * gdb.mi/mi-vla-c99.exp: Likewise.
17139 * lib/mi-support.exp: Likewise.
17140
17141 From Ian Lance Taylor <iant@cygnus.com>:
17142 * lib/gdb.exp (parse_args): New procedure.
17143
08351840
PA
171442014-04-23 Pedro Alves <palves@redhat.com>
17145
17146 * gdb.base/break-unload-file.c: New file.
17147 * gdb.base/break-unload-file.exp: New file.
17148 * gdb.base/sym-file-lib.c (baz): New function.
17149 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17150 field.
17151 (load): Store the segment's mapped size.
17152 (unload): New function.
17153 (unload_shlib): New function.
17154 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17155 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17156 set a breakpoint at baz, and call it.
17157 * gdb.base/sym-file.exp: New tests for stale breakpoint
17158 instructions.
17159
076855f9
PA
171602014-04-23 Pedro Alves <palves@redhat.com>
17161
17162 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17163 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17164 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17165 * gdb.base/hbreak-unmapped.c: New file.
17166 * gdb.base/hbreak-unmapped.exp: New file.
17167 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17168 * lib/gdb.exp (gdb_is_target_remote): ... here.
17169
483805cf
PA
171702014-04-22 Pedro Alves <palves@redhat.com>
17171
17172 * gdb.base/consecutive-step-over.c: New file.
17173 * gdb.base/consecutive-step-over.exp: New file.
17174
06d97543
PA
171752014-04-22 Pedro Alves <palves@redhat.com>
17176
17177 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17178 instead of send_gdb/gdb_expect.
17179
b4429ea2
YQ
171802014-04-22 Yao Qi <yao@codesourcery.com>
17181
17182 * lib/trace-support.exp (generate_tracefile): New procedure.
17183 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17184 return 0.
17185 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17186 if generate_tracefile returns 1.
17187
51d48146
PA
171882014-04-18 Tom Tromey <palves@redhat.com>
17189 Pedro alves <tromey@redhat.com>
17190
17191 PR backtrace/15558
17192 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17193 with a backtrace limit.
17194 * gdb.python/py-frame-inline.exp: Test running to an inline
17195 function with a backtrace limit, and printing the newest frame.
17196 * gdb.python/py-frame-inline.c (main): Call f.
17197
bd1dce5f
MS
171982014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17199
17200 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17201
40d1a503
MS
172022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17203
17204 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17205 Drop prefix from unsupported source file path.
17206
389b98f7
YQ
172072014-04-17 Yao Qi <yao@codesourcery.com>
17208
17209 * lib/gdb.exp (with_target_charset): New proc.
17210 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17211 with_target_charset.
17212 (test_print_strings): Likewise.
17213 (test_repeat_bytes): Likewise.
17214 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17215 for some tests.
17216
22869d73
KS
172172014-04-16 Keith Seitz <keiths@redhat.com>
17218
17219 PR gdb/15827
17220 * gdb.dwarf2/corrupt.c: New file.
17221 * gdb.dwarf2/corrupt.exp: New file.
17222
c4f87ca6
KS
172232014-04-16 Keith Seitz <keiths@redhat.com>
17224
17225 PR c++/16597
17226 * gdb.cp/namelessclass.cc: New file.
17227 * gdb.cp/namelessclass.exp: New file.
17228 * gdb.cp/namelessclass.S: New file.
17229
ab19de87
DE
172302014-04-16 Doug Evans <dje@google.com>
17231
17232 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17233 Add comment.
17234 (gdbserver_default_get_comm_port): New function.
17235 (gdbserver_start): Check if board file provided
17236 "gdbserver,get_comm_port" and use it if so.
17237 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17238 (gdb,socketport): Set to "stdio".
17239 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17240 (stdio_gdbserver_template): Delete.
17241 (${board}_get_remote_address): Update.
17242 (${board}_build_remote_cmd): Delete.
17243 (${board}_get_comm_port): New function.
17244 (${board}_spawn): Update.
17245 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17246 Delete.
17247 (${board}_get_remote_address): Update.
17248 (${board}_get_comm_port): New function.
17249
fc98a809
AB
172502014-04-16 Andrew Burgess <aburgess@broadcom.com>
17251
17252 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17253 appearing in any order.
17254
87fd9e6e
DE
172552014-04-15 Doug Evans <dje@google.com>
17256
17257 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17258 uninitialized value of "description".
17259
099fc3ea
KS
172602014-04-15 Keith Seitz <keiths@redhat.com>
17261
17262 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17263 Remove unused globals.
17264 (test_running_the_program): Likewise.
17265 (test_controlled_execution): Likewise.
17266 (test_controlling_breakpoints): Likewise.
17267 (test_program_termination): Likewise.
17268
5da151d4
KS
172692014-04-15 Keith Seitz <keiths@redhat.com>
17270
17271 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17272 unused globals.
17273 (test_rbreak_creation_and_listing): Likewise.
17274 (test_ignore_count): Likewise.
17275 (test_error): Likewise.
17276
35e5d2f0
PA
172772014-04-15 Pedro Alves <palves@redhat.com>
17278
17279 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17280 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17281 sym-file-loader.c.
17282 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17283 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17284 to sym-file-loader.c.
17285 (struct library): Forward declare.
17286 (load_shlib, lookup_function): Change prototypes.
17287 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17288 (translate_offset): Remove declarations.
17289 (get_text_addr): New declaration.
17290 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17291 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17292 sym-file-loader.h.
17293 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17294 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17295 here from sym-file-loader.h.
17296 (struct library): New structure.
17297 (load_shlib, lookup_function): Change prototypes and adjust to
17298 work with a struct library.
17299 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17300 (translate_offset): Make static.
17301 (get_text_addr): New function.
17302 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17303
eb4c1710
PA
173042014-04-15 Pedro Alves <palves@redhat.com>
17305
17306 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17307
2d1baf52
PA
173082014-04-15 Pedro Alves <palves@redhat.com>
17309
17310 * gdb.base/sym-file-loader.c: Include <limits.h>.
17311 (SELF_LINK): New define.
17312 (get_origin): New function.
17313 (load_shlib): Use it.
17314 * gdb.base/sym-file.exp: Don't early return if the target is
17315 remote. Use runto_main, and issue fail is that fails. Use
17316 gdb_load_shlibs.
17317 (shlib_name): Delete.
17318 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17319
7dd6df01
PA
173202014-04-15 Pedro Alves <palves@redhat.com>
17321
17322 * gdb.base/sym-file.exp: Remove regex characters from test
17323 message. Don't refer to breakpoint numbers in test messages.
17324
b50c8614
KS
173252014-04-14 Keith Seitz <keiths@redhat.com>
17326
17327 PR c++/16253
17328 * gdb.cp/var-tag.cc: New file.
17329 * gdb.cp/var-tag.exp: New file.
17330 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17331 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17332 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17333 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17334
3d567982
TT
173352014-04-14 Tom Tromey <tromey@redhat.com>
17336
17337 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17338 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17339 type.
17340 * gdb.cp/enum-class.exp: New file.
17341 * gdb.cp/enum-class.cc: New file.
17342
0626fc76
TT
173432014-04-14 Tom Tromey <tromey@redhat.com>
17344
17345 * gdb.dwarf2/enum-type.exp: New file.
17346
dca325b3
SA
173472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17348
17349 * gdb.mi/mi-vla-c99.exp: New file.
17350 * gdb.mi/vla.c: New file.
17351
5854b38a
SA
173522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17353
17354 * gdb.base/vla-datatypes.c: New file.
17355 * gdb.base/vla-datatypes.exp: New file.
17356
463bb957
SA
173572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17358
17359 * gdb.base/vla-ptr.c: New file.
17360 * gdb.base/vla-ptr.exp: New file.
17361
3dd170be
SA
173622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17363
17364 * gdb.dwarf2/count.exp: New file.
17365
5ecaaa66
SA
173662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17367
17368 * gdb.base/vla-sideeffect.c: New file.
17369 * gdb.base/vla-sideeffect.exp: New file.
17370
41f1ada5
DB
173712014-04-14 David Blaikie <dblaikie@gmail.com>
17372
17373 * gdb.mi/non-stop.c: Add return value for non-void function return
17374 statement.
17375 * gdb.threads/staticthreads.c: Ditto.
17376
0be03e84
DE
173772014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17378 Doug Evans <xdje42@gmail.com>
17379
17380 * gdb.guile/scm-value.c: Improve test case.
17381 * gdb.guile/scm-value.exp: Add new test.
17382
f180a1fb
DB
173832014-04-11 David Blaikie <dblaikie@gmail.com>
17384
17385 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17386 override Clang's default.
17387
6b662e19
JB
173882014-04-11 Joel Brobecker <brobecker@adacore.com>
17389
17390 Revert the following changes (regressions):
17391
17392 * gdb.base/vla-sideeffect.c: New file.
17393 * gdb.base/vla-sideeffect.exp: New file.
17394
17395 * gdb.dwarf2/count.exp: New file.
17396
17397 * gdb.base/vla-multi.c: New file.
17398 * gdb.base/vla-multi.exp: New file.
17399
17400 * gdb.base/vla-ptr.c: New file.
17401 * gdb.base/vla-ptr.exp: New file.
17402
17403 * gdb.base/vla-datatypes.c: New file.
17404 * gdb.base/vla-datatypes.exp: New file.
17405
17406 * gdb.mi/mi-vla-c99.exp: New file.
17407 * gdb.mi/vla.c: New file.
17408
245a5f0b
KS
174092014-04-11 Keith Seitz <keiths@redhat.com>
17410
17411 PR c++/16675
17412 * gdb.cp/cpsizeof.exp: New file.
17413 * gdb.cp/cpsizeof.cc: New file.
17414
58a84dcf
SA
174152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17416
191a8a90
JB
17417 * gdb.mi/mi-vla-c99.exp: New file.
17418 * gdb.mi/vla.c: New file.
58a84dcf 17419
c8655f75
SA
174202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17421
17422 * gdb.base/vla-datatypes.c: New file.
17423 * gdb.base/vla-datatypes.exp: New file.
17424
024e13b4
SA
174252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17426
17427 * gdb.base/vla-ptr.c: New file.
17428 * gdb.base/vla-ptr.exp: New file.
17429
1a237e0e
SA
174302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17431
17432 * gdb.base/vla-multi.c: New file.
17433 * gdb.base/vla-multi.exp: New file.
17434
504f3432
SA
174352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17436
17437 * gdb.dwarf2/count.exp: New file.
17438
3bce8237
SA
174392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17440
191a8a90
JB
17441 * gdb.base/vla-sideeffect.c: New file.
17442 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17443
322f9c21
YQ
174442014-04-11 Yao Qi <yao@codesourcery.com>
17445
17446 * gdb.base/completion.exp: Check file exists before running tests
17447 on file completion.
17448
d708bcd1
PA
174492014-04-10 Pedro Alves <palves@redhat.com>
17450
17451 * gdb.base/cond-eval-mode.c: New file.
17452 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17453 prepare_for_testing to build the new file. Check result of
17454 runto_main.
17455 (test_break, test_watch): New procedures.
17456 (top level): Use them.
17457
ae1d2761
PM
174582014-04-08 Pierre Muller <muller@sourceware.org>
17459
17460 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17461 Ctrl-V use for mingw hosts.
17462
7af389b8
SC
174632014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17464
17465 * gdb.python/py-value.c: Improve test case.
17466 * gdb.python/py-value.exp: Add new test.
17467
5e703181
DE
174682014-04-07 David Blaikie <dblaikie@gmail.com>
17469
17470 * lib/compiler.c: Identify the clang compiler.
17471 * lib/compiler.cc: Ditto.
17472
9810b410
YQ
174732014-04-03 Yao Qi <yao@codesourcery.com>
17474
17475 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17476
98d1b8dc
AB
174772014-04-01 Anton Blanchard <anton@samba.org>
17478
17479 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17480 messages unique.
17481
3114cea1
AB
174822014-04-01 Anton Blanchard <anton@samba.org>
17483
17484 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17485 prepare_for_testing.
17486
62f7182c
AB
174872014-04-01 Anton Blanchard <anton@samba.org>
17488
17489 * gdb.arch/ppc64-atomic-inst.c: Remove.
17490 * gdb.arch/ppc64-atomic-inst.S: New file.
17491 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17492
770e7fc7
DE
174932014-03-31 Doug Evans <dje@google.com>
17494
17495 * gdb.base/print-symbol-loading-lib.c: New file.
17496 * gdb.base/print-symbol-loading-main.c: New file.
17497 * gdb.base/print-symbol-loading.exp: New file.
17498
46e2bafa
YQ
174992014-03-31 Yao Qi <yao@codesourcery.com>
17500
17501 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17502
8776cfe9
JB
175032014-03-28 Joel Brobecker <brobecker@adacore.com>
17504
17505 * gdb.ada/mi_dyn_arr: New testcase.
17506
5d1ef361
DE
175072014-03-27 Doug Evans <dje@google.com>
17508
17509 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17510
b5bee914
YQ
175112014-03-27 Yao Qi <yao@codesourcery.com>
17512
17513 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17514 if target is nios2-*-*.
17515
0d4d0e77
YQ
175162014-03-26 Yao Qi <yao@codesourcery.com>
17517
17518 * lib/gdb.exp (readline_is_used): New proc.
17519 * gdb.base/completion.exp: Move tests on command complete up.
17520 Skip the rest of tests if readline is not used.
17521 * gdb.ada/complete.exp: Skp the test if readline is not
17522 used.
17523 * gdb.base/filesym.exp: Likewise.
17524 * gdb.base/macscp.exp: Likewise.
17525 * gdb.base/readline-ask.exp: Likewise.
17526 * gdb.base/readline.exp: Likewise.
17527 * gdb.python/py-cmd.exp: Likewise.
17528 * gdb.trace/tfile.exp: Likewise.
17529
29361eee
YQ
175302014-03-26 Yao Qi <yao@codesourcery.com>
17531
17532 * gdb.base/macscp.exp: Fix code format issues.
17533
bc9a5525
UW
175342014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17535
17536 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17537 * gdb.asm/powerpc64le.inc: New file.
17538
d3839ede
PA
175392014-03-25 Pedro Alves <palves@redhat.com>
17540 Doug Evans <dje@google.com>
17541
17542 * gdb.base/source-execution.c: New file.
17543 * gdb.base/source-execution.exp: New file.
17544 * gdb.base/source-execution.gdb: New file.
17545
01672a57
DE
175462014-03-24 Doug Evans <dje@google.com>
17547
17548 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17549 using fission.
17550
88bbeca9
HZ
175512014-03-24 Hui Zhu <hui@codesourcery.com>
17552 Pedro Alves <palves@redhat.com>
17553
17554 PR breakpoints/16101
17555 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17556 test pass/fail messages. Detect missing support for dprintf when
17557 breakpoints are actually inserted.
17558 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17559 breakpoints are actually inserted.
17560 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17561 fails.
17562
d2348791
JK
175632014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17564
17565 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17566
feef67ab
DE
175672014-03-22 Doug Evans <xdje42@gmail.com>
17568
17569 * gdb.python/python.exp (python not supported): Verify multi-line
17570 python command issues an error.
25d743f9 17571 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17572 guile command issues an error.
feef67ab 17573
ecebef6a
MR
175742014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17575
17576 * gdb.threads/thread-specific.exp: Handle the lack of usable
17577 $this_breakpoint and $this_thread.
17578
ccdd1909
HZ
175792014-03-21 Hui Zhu <hui@codesourcery.com>
17580
17581 * gdb.base/attach.exp (do_command_attach_tests): New.
17582
beb460e8
PA
175832014-03-20 Tom Tromey <tromey@redhat.com>
17584 Pedro Alves <palves@redhat.com>
17585
17586 PR cli/15718
17587 * gdb.base/condbreak-call-false.c: New file.
17588 * gdb.base/condbreak-call-false.exp: New file.
17589
40acf43a
PA
175902014-03-20 Pedro Alves <palves@redhat.com>
17591
17592 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17593 Delete.
17594 (block_signals, unblock_signals): Delete.
17595 (child_function_2, main): Remove references to deleted variable
17596 and functions.
17597
9f5e1e02
PA
175982014-03-20 Pedro Alves <palves@redhat.com>
17599
17600 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17601 Use pthread_kill to signal thread 2.
17602 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17603 Adjust to make the test send itself a signal rather than using the
17604 host's "kill" command.
17605
99619bea
PA
176062014-03-20 Pedro Alves <palves@redhat.com>
17607
17608 * gdb.threads/multiple-step-overs.c: New file.
17609 * gdb.threads/multiple-step-overs.exp: New file.
17610 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17611 Adjust expected infrun debug output.
17612
2adfaa28
PA
176132014-03-20 Pedro Alves <palves@redhat.com>
17614
17615 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17616 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17617
31e77af2
PA
176182014-03-20 Pedro Alves <palves@redhat.com>
17619
17620 PR breakpoints/7143
17621 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17622 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17623 of gdb_test_multiple.
17624 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17625 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17626
b9f437de
PA
176272014-03-20 Pedro Alves <palves@redhat.com>
17628
17629 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17630 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17631
05adc73e
PA
176322014-03-19 Pedro Alves <palves@redhat.com>
17633
17634 * gdb.base/async.exp: Remove early return.
17635
6048b950
PA
176362014-03-19 Pedro Alves <palves@redhat.com>
17637
17638 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17639
8bcfb00a
PA
176402014-03-19 Pedro Alves <palves@redhat.com>
17641
17642 * gdb.base/async.exp (test_background): Expect \r\n after
17643 "completed." in the fail pattern.
17644
884e37dc
PA
176452014-03-19 Pedro Alves <palves@redhat.com>
17646
17647 * gdb.base/async.exp (test_background): New procedure.
17648 Use it for all background execution command tests.
17649
148e57e2
PA
176502014-03-19 Pedro Alves <palves@redhat.com>
17651
17652 * gdb.base/async.exp: Use prepare_for_testing.
17653
f48088c7
PA
176542014-03-19 Pedro Alves <palves@redhat.com>
17655
17656 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17657 the same line.
17658
e2f6c966
PA
176592014-03-19 Pedro Alves <palves@redhat.com>
17660
17661 * gdb.base/async.c (main): Add "jump here" and "until here" line
17662 marker comments.
17663 * gdb.base/async.exp (jump_here): New global.
17664 (jump& test): Use it.
17665 (until_here): New global.
17666 (until& test): Use it.
17667
c30568d4
PA
176682014-03-19 Pedro Alves <palves@redhat.com>
17669
17670 * gdb.base/async.exp: Don't frob gdb_protocol.
17671
0172b6a7
DE
176722014-03-18 Doug Evans <xdje42@gmail.com>
17673
17674 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17675 Fix spelling of exec-done-display.
17676
06c868a8
JK
176772014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17678
17679 PR gdb/15358
17680 * gdb.base/gdb-sigterm.c: New file.
17681 * gdb.base/gdb-sigterm.exp: New file.
17682
0c7e1a46
PA
176832014-03-18 Pedro Alves <palves@redhat.com>
17684
17685 PR gdb/13860
17686 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17687 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17688 solib-event.
17689
f7c77d93
JB
176902014-03-17 Joel Brobecker <brobecker@adacore.com>
17691
17692 * gdb.ada/pckd_arr_ren: New testcase.
17693
5a1e8c7a
DE
176942014-03-13 Doug Evans <xdje42@gmail.com>
17695
17696 PR guile/16612
17697 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17698 collect after discarding symbols.
17699
350e1a76
DE
177002014-03-13 Ludovic Courtès <ludo@gnu.org>
17701 Doug Evans <xdje42@gmail.com>
17702
17703 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17704 to history survives a gc.
17705
a69900ae
PA
177062014-03-13 Pedro Alves <palves@redhat.com>
17707
17708 * gdb.base/default.exp: Don't test "target procfs".
17709
5db9f0bd
PA
177102014-03-13 Pedro Alves <palves@redhat.com>
17711
17712 * gdb.base/default.exp: Update "target child" and "target procfs"
17713 tests to not expect "Unix".
17714
b3ccfe11
TT
177152014-03-12 Tom Tromey <tromey@redhat.com>
17716
17717 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17718 New procs. Add target-async tests.
17719 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17720 Add target-async tests.
17721
646f4417
AA
177222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17723
17724 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17725 'func_start' and 'func_end' for the beginning and end of the
17726 function code, respectively.
17727 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17728 'func_end' instead of 'func' and 'main'.
17729
288c211f
AA
177302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17731
17732 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17733 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17734 generate the debug info assembler source.
17735
e0c0f156
AA
177362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17737
17738 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17739 * gdb.dwarf2/arr-subrange.exp: Likewise.
17740 * gdb.dwarf2/dwz.exp: Likewise.
17741 * gdb.dwarf2/method-ptr.exp: Likewise.
17742 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17743 * gdb.dwarf2/subrange.exp: Likewise.
17744 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17745 * gdb.dwarf2/implptrpiece.exp: Likewise.
17746 * gdb.dwarf2/nostaticblock.exp: Likewise.
17747
0e5c4555
AA
177482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17749
17750 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17751 directory to absolute path name arguments.
17752
5ec18f2b
JG
177532014-03-10 Joel Brobecker <brobecker@adacore.com>
17754
17755 * gdb.ada/tagged_access: New testcase.
17756
847fc4f2
MM
177572014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17758
17759 * gdb.btrace/data.exp: Update expected output.
17760
cc3da688
YQ
177612014-03-06 Yao Qi <yao@codesourcery.com>
17762
17763 * gdb.trace/pr16508.exp: New file.
17764
0f26cec1
PA
177652014-03-05 Pedro Alves <palves@redhat.com>
17766
17767 PR gdb/16575
17768 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17769 procedure.
17770 (top level): Adjust to use it. Add tests that exercise breakpoint
17771 interaction with the code-cache.
17772
7a5a839f
LC
177732014-02-26 Ludovic Courtès <ludo@gnu.org>
17774
17775 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17776 test for 'history-append!'.
17777
31aa7e4e
JB
177782014-02-26 Joel Brobecker <brobecker@adacore.com>
17779
17780 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17781 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17782 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17783 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17784 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17785 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17786
1b588015
JB
177872014-02-26 Joel Brobecker <brobecker@adacore.com>
17788
17789 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17790 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17791 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17792
55426c9d
JB
177932014-02-26 Joel Brobecker <brobecker@adacore.com>
17794
17795 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17796
dc53a7ad
JB
177972014-02-26 Joel Brobecker <brobecker@adacore.com>
17798
17799 * gdb.dwarf2/arr-stride.c: New file.
17800 * gdb.dwarf2/arr-stride.exp: New file.
17801
12ab52e9
PA
178022014-02-26 Pedro Alves <palves@redhat.com>
17803
17804 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17805 that won't ever trigger. Make sure that GDB reports the correct
17806 breakpoint that caused the stop.
17807
849c862e
JK
178082014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17809
17810 PR gdb/16626
17811 * gdb.base/auto-load-script: New file.
17812 * gdb.base/auto-load.c: New file.
17813 * gdb.base/auto-load.exp: New file.
17814
71b7d793
JK
17815 PR gdb/16626
17816 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17817
e2f0d509
JK
178182014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17819
17820 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17821 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17822
50cc37c8
DE
178232014-02-24 Doug Evans <dje@google.com>
17824
17825 * lib/gdb.exp (run_on_host): Log error output if program fails.
17826
ea4758f2
PA
178272014-02-21 Pedro Alves <palves@redhat.com>
17828
17829 * gdb.threads/step-after-sr-lock.c: Rename to ...
17830 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17831 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17832 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17833 ... this.
17834
d7b30f67
SDJ
178352014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17836
17837 PR tdep/16397
17838 * gdb.arch/amd64-stap-special-operands.exp: New file.
17839 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17840 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17841 * gdb.arch/amd64-stap-triplet.S: Likewise.
17842 * gdb.arch/amd64-stap-triplet.c: Likewise.
17843
83deb43f
JB
178442014-02-20 Joel Brobecker <brobecker@adacore.com>
17845
17846 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17847 in .section pseudo-op.
17848
adde2bff
DE
178492014-02-20 lin zuojian <manjian2006@gmail.com>
17850 Joel Brobecker <brobecker@adacore.com>
17851 Doug Evans <xdje42@gmail.com>
17852
17853 PR symtab/16581
17854 * gdb.dwarf2/dw2-icycle.S: New file.
17855 * gdb.dwarf2/dw2-icycle.c: New file.
17856 * gdb.dwarf2/dw2-icycle.exp: New file.
17857
f7bd0f78
SC
178582014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17859
17860 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17861 operations on gdb.Value objects.
17862 * gdb.python/py-value-cc.exp: Add new test to test operations on
17863 gdb.Value objects.
17864
c17ef0d5
DE
178652014-02-18 Doug Evans <dje@google.com>
17866
17867 * Makefile.in (TESTS): New variable.
17868 (expanded_tests, expanded_tests_or_none): New variables
17869 (check-single): Pass $(expanded_tests_or_none) to runtest.
17870 (check-parallel): Only run tests in $(TESTS) if non-empty.
17871 (check/no-matching-tests-found): New rule.
17872 * README: Document TESTS makefile variable.
17873
5dd3176f
DE
178742014-02-18 Doug Evans <dje@google.com>
17875
17876 * Makefile.in (check-parallel): rm -rf outputs temp.
17877
0b10be4f
JK
178782014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17879
17880 Fix "ERROR: no fileid for" in the testsuite.
17881 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17882
85f224e7
DE
178832014-02-12 Doug Evans <dje@google.com>
17884
17885 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17886 (MISCELLANEOUS): New variable.
17887 (clean): rm -rf $(MISCELLANEOUS).
17888 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17889 dwp live in the same directory as symlinks, with each symlink pointed
17890 to a differently named file in a different directory.
17891
149b30ff
DE
178922014-02-11 Doug Evans <dje@google.com>
17893
17894 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17895 of Tcl file commands.
17896
1dfdac32
MK
178972014-02-10 Mark Kettenis <kettenis@gnu.org>
17898
17899 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17900 "kill -SIGUSR1 -1".
17901
aa4fb036
JB
179022014-02-10 Joel Brobecker <brobecker@adacore.com>
17903
17904 * gdb.ada/tick_length_array_enum_idx: New testcase.
17905
ed3ef339
DE
179062014-02-10 Doug Evans <xdje42@gmail.com>
17907
17908 * configure.ac (AC_OUTPUT): Add gdb.guile.
17909 * configure: Regenerate.
17910 * lib/gdb-guile.exp: New file.
17911 * lib/gdb.exp (get_target_charset): New function.
17912 * gdb.base/help.exp: Update expected output from "apropos apropos".
17913 * gdb.guile/Makefile.in: New file.
17914 * gdb.guile/guile.exp: New file.
17915 * gdb.guile/scm-arch.c: New file.
17916 * gdb.guile/scm-arch.exp: New file.
17917 * gdb.guile/scm-block.c: New file.
17918 * gdb.guile/scm-block.exp: New file.
17919 * gdb.guile/scm-breakpoint.c: New file.
17920 * gdb.guile/scm-breakpoint.exp: New file.
17921 * gdb.guile/scm-disasm.c: New file.
17922 * gdb.guile/scm-disasm.exp: New file.
17923 * gdb.guile/scm-equal.c: New file.
17924 * gdb.guile/scm-equal.exp: New file.
17925 * gdb.guile/scm-error.exp: New file.
17926 * gdb.guile/scm-error.scm: New file.
17927 * gdb.guile/scm-frame-args.c: New file.
17928 * gdb.guile/scm-frame-args.exp: New file.
17929 * gdb.guile/scm-frame-args.scm: New file.
17930 * gdb.guile/scm-frame-inline.c: New file.
17931 * gdb.guile/scm-frame-inline.exp: New file.
17932 * gdb.guile/scm-frame.c: New file.
17933 * gdb.guile/scm-frame.exp: New file.
17934 * gdb.guile/scm-generics.exp: New file.
17935 * gdb.guile/scm-gsmob.exp: New file.
17936 * gdb.guile/scm-iterator.c: New file.
17937 * gdb.guile/scm-iterator.exp: New file.
17938 * gdb.guile/scm-math.c: New file.
17939 * gdb.guile/scm-math.exp: New file.
17940 * gdb.guile/scm-objfile-script-gdb.in: New file.
17941 * gdb.guile/scm-objfile-script.c: New file.
17942 * gdb.guile/scm-objfile-script.exp: New file.
17943 * gdb.guile/scm-objfile.c: New file.
17944 * gdb.guile/scm-objfile.exp: New file.
17945 * gdb.guile/scm-ports.exp: New file.
17946 * gdb.guile/scm-pretty-print.c: New file.
17947 * gdb.guile/scm-pretty-print.exp: New file.
17948 * gdb.guile/scm-pretty-print.scm: New file.
17949 * gdb.guile/scm-section-script.c: New file.
17950 * gdb.guile/scm-section-script.exp: New file.
17951 * gdb.guile/scm-section-script.scm: New file.
17952 * gdb.guile/scm-symbol.c: New file.
17953 * gdb.guile/scm-symbol.exp: New file.
17954 * gdb.guile/scm-symtab-2.c: New file.
17955 * gdb.guile/scm-symtab.c: New file.
17956 * gdb.guile/scm-symtab.exp: New file.
17957 * gdb.guile/scm-type.c: New file.
17958 * gdb.guile/scm-type.exp: New file.
17959 * gdb.guile/scm-value-cc.cc: New file.
17960 * gdb.guile/scm-value-cc.exp: New file.
17961 * gdb.guile/scm-value.c: New file.
17962 * gdb.guile/scm-value.exp: New file.
17963 * gdb.guile/source2.scm: New file.
17964 * gdb.guile/types-module.cc: New file.
17965 * gdb.guile/types-module.exp: New file.
17966
7026a7c1
YQ
179672014-02-10 Yao Qi <yao@codesourcery.com>
17968
17969 PR testsuite/16543
17970 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17971 * configure: Regenerated.
17972 * Makefile.in: New file.
17973
6c466447
AS
179742014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17975
17976 * gdb.python/py-framefilter.exp: Fix typo.
17977
6e854735
YQ
179782014-02-08 Yao Qi <yao@codesourcery.com>
17979
17980 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17981 that no =breakpoint-modified is emitted when breakpoints are
17982 modified through MI commands.
17983
d137e6dc
PA
179842014-02-07 Pedro Alves <pedro@codesourcery.com>
17985 Pedro Alves <palves@redhat.com>
17986
17987 * gdb.threads/step-after-sr-lock.c: New file.
17988 * gdb.threads/step-after-sr-lock.exp: New file.
17989
b5ee5a50
PA
179902014-02-07 Pedro Alves <palves@redhat.com>
17991
17992 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17993
3c77faf3
JK
179942014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17995
17996 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17997 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17998
6dddc817
DE
179992014-02-06 Doug Evans <xdje42@gmail.com>
18000
18001 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18002 output.
18003
18004 * gdb.gdb/python-interrupts.exp: New file.
18005
de7b2893
YQ
180062014-02-05 Yao Qi <yao@codesourcery.com>
18007
18008 * gdb.trace/report.exp (use_collected_data): Test the output
18009 of "info threads" and "info inferiors".
18010
66d032ac
YQ
180112014-02-05 Yao Qi <yao@codesourcery.com>
18012
18013 Revert this patch:
18014
18015 2013-05-24 Yao Qi <yao@codesourcery.com>
18016
18017 * gdb.trace/tfile.exp: Test inferior and thread.
18018
591a12a1
UW
180192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18020
18021 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18022 on a function.
18023 * gdb.base/step-bt.c: Call hello via function pointer to make
18024 sure its first instruction is executed on powerpc64le-linux.
18025
0ff3e01f
UW
180262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18027
18028 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18029
084ee545
UW
180302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18031
18032 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18033 of the test patterns for use on little-endian systems.
18034
6ed14ff3
UW
180352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18036
18037 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18038 (decimal_vector): Fix for little-endian.
18039
401e27fd
JM
180402014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18041
18042 * gdb.arch/sparc-sysstep.exp: New file.
18043 * gdb.arch/sparc-sysstep.c: Likewise.
18044
18045 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18046
8b924729
EBM
180472014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18048
18049 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18050
fb151210
JB
180512014-01-23 Tom Tromey <tromey@redhat.com>
18052
18053 * gdb.ada/array_char_idx: New testcase.
18054
0740f8d8
TT
180552014-01-23 Tom Tromey <tromey@redhat.com>
18056
18057 PR python/16487:
18058 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18059 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18060 classes.
18061
21909fa1
TT
180622014-01-23 Tom Tromey <tromey@redhat.com>
18063
18064 PR python/16491:
18065 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18066 string from an inferior frame.
18067 * gdb.python/py-framefilter-mi.exp: Update.
18068
87ce2a04
DE
180692014-01-22 Doug Evans <dje@google.com>
18070
18071 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18072
237b092b
AA
180732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18074
18075 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18076
d674a709
AA
180772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18078
18079 * gdb.trace/entry-values.exp: Remove excess space character from
18080 regex patterns. Handle s390 call instruction.
18081
20fa3390
AA
180822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18083
18084 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18085 define "*_start" label. Make "name" static.
18086 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18087 ${name} by references to ${name}_start.
18088
78466714
AA
180892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18090
18091 * gdb.base/info-macros.exp: Remove "debug" from the compile
18092 options.
18093
ec9f644a
IB
180942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18095
18096 * gdb.dlang/demangle.exp: New file.
18097
94b1b47e
IB
180982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18099
18100 * gdb.dlang/primitive-types.exp: New file.
18101
7f420862
IB
181022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18103
18104 * configure.ac: Create gdb.dlang/Makefile.
18105 * configure: Regenerate.
18106 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18107 * gdb.dlang/Makefile.in: New file.
18108 * lib/d-support.exp: New file.
18109 * lib/gdb.exp (skip_d_tests): New proc.
18110
52834460
MM
181112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18112
18113 * gdb.btrace/delta.exp: Check reverse stepi.
18114 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18115 * gdb.btrace/finish.exp: New.
18116 * gdb.btrace/next.exp: New.
18117 * gdb.btrace/nexti.exp: New.
18118 * gdb.btrace/record_goto.c: Add comments.
18119 * gdb.btrace/step.exp: New.
18120 * gdb.btrace/stepi.exp: New.
18121 * gdb.btrace/multi-thread-step.c: New.
18122 * gdb.btrace/multi-thread-step.exp: New.
18123 * gdb.btrace/rn-dl-bind.c: New.
18124 * gdb.btrace/rn-dl-bind.exp: New.
18125 * gdb.btrace/data.c: New.
18126 * gdb.btrace/data.exp: New.
18127 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18128
6e07b1d2
MM
181292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18130
18131 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18132 * gdb.btrace/exception.exp: Update.
18133 * gdb.btrace/instruction_history.exp: Update.
18134 * gdb.btrace/record_goto.exp: Update.
18135 * gdb.btrace/tailcall.exp: Update.
18136 * gdb.btrace/unknown_functions.exp: Update.
18137 * gdb.btrace/delta.exp: New.
18138
0b722aec
MM
181392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18140
18141 * gdb.btrace/record_goto.exp: Add backtrace test.
18142 * gdb.btrace/tailcall.exp: Add backtrace test.
18143
066ce621
MM
181442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18145
18146 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18147 * gdb.btrace/record_goto.c: New.
18148 * gdb.btrace/record_goto.exp: New.
18149 * gdb.btrace/x86-record_goto.S: New.
18150
0688d04e
MM
181512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18152
18153 * gdb.btrace/function_call_history.exp: Update tests.
18154 * gdb.btrace/instruction_history.exp: Update tests.
18155
8710b709
MM
181562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18157
18158 * gdb.btrace/function_call_history.exp: Fix expected field
18159 order for "record function-call-history".
18160 Add new tests for "record function-call-history /c".
18161 * gdb.btrace/exception.cc: New.
18162 * gdb.btrace/exception.exp: New.
18163 * gdb.btrace/tailcall.exp: New.
18164 * gdb.btrace/x86-tailcall.S: New.
18165 * gdb.btrace/x86-tailcall.c: New.
18166 * gdb.btrace/unknown_functions.c: New.
18167 * gdb.btrace/unknown_functions.exp: New.
18168 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18169
5de9129b
MM
181702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18171
18172 * gdb.btrace/instruction_history.exp: Update.
18173 * gdb.btrace/function_call_history.exp: Update.
18174
23a7fe75
MM
181752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18176
18177 * gdb.btrace/function_call_history.exp: Fix expected function
18178 trace.
18179 * gdb.btrace/instruction_history.exp: Initialize traced.
18180 Remove traced_functions.
18181
724c7dd8
MM
181822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18183
18184 * gdb.btrace/function_call_history.exp: Update
18185 * gdb.btrace/instruction_history.exp: Update.
18186
6d78d93b
MM
181872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18188
18189 * gdb.btrace/enable.exp: Update expected text.
18190
93a360cc
OJ
181912014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18192
18193 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18194 bytes.
18195
3772b53f
MR
181962014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18197
18198 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18199
596662fa
OJ
182002014-01-15 Omair Javaid <omair.javaid@linaro.org>
18201
18202 * lib/gdb.exp (supports_process_record): Return true for
18203 arm*-linux*. (supports_reverse): Likewise.
18204
b5b08fb4
SC
182052014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18206
18207 PR python/15464
18208 PR python/16113
18209 * gdb.python/py-type.c: Enhance test case.
18210 * gdb.python/py-value-cc.cc: Likewise
18211 * gdb.python/py-type.exp: Add new tests.
18212 * gdb.python/py-value-cc.exp: Likewise
18213
52d7fb13
AA
182142014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18215 Pedro Alves <palves@redhat.com>
18216
18217 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18218 Make "name" extern.
18219 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18220 references to ${name}_start by references to ${name}.
18221
a2cd8cfe
JB
182222014-01-10 Joel Brobecker <brobecker@adacore.com>
18223
18224 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18225
4e23fced
JB
182262014-01-10 Joel Brobecker <brobecker@adacore.com>
18227
18228 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18229
c6a9e42c
PA
182302014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18231 Pedro Alves <palves@redhat.com>
18232
18233 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18234 mi_gdb_target_load.
c6a9e42c 18235
b7ea362b
PA
182362014-01-08 Pedro Alves <palves@redhat.com>
18237
18238 * gdb.threads/reconnect-signal.c: New file.
18239 * gdb.threads/reconnect-signal.exp: New file.
18240
5e3f4fab
EBM
182412014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18242
18243 * gdb.base/source-dir.exp: New file.
18244
79301218
JB
182452014-01-07 Joel Brobecker <brobecker@adacore.com>
18246
18247 * gdb.ada/mi_interface: New testcase.
18248
8e355c5d
JB
182492014-01-07 Joel Brobecker <brobecker@adacore.com>
18250
18251 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18252 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18253 gdb.ada/pp-rec-component/pck.ads: New files.
18254
c0d48811
JB
182552014-01-07 Joel Brobecker <brobecker@adacore.com>
18256
18257 * gdb.python/py-pp-integral.c: New file.
18258 * gdb.python/py-pp-integral.py: New file.
18259 * gdb.python/py-pp-integral.exp: New file.
18260
17b609c3 18261For older changes see ChangeLog-1993-2013.
c906108c 18262\f
8d8cb839
EZ
18263;; Local Variables:
18264;; mode: change-log
18265;; left-margin: 8
18266;; fill-column: 74
18267;; version-control: never
18268;; End:
902f2ccb 18269
b811d2c2 18270 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18271 Copying and distribution of this file, with or without modification,
18272 are permitted provided the copyright notice and this notice are preserved.