[gdb/testsuite] Make inferior_exited_re match a single line
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f90ac7c2
TV
12020-02-04 Tom de Vries <tdevries@suse.de>
2
3 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4
780636ae
TV
52020-02-04 Tom de Vries <tdevries@suse.de>
6
7 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
8
5d2e1193
RA
92020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
10
11 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
12 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
13 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
14 blttar, bnetarl.
15 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
16 binary for blttar, bnetarl.
17 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
18 wait instruction. Delete ldmx test.
19 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
20
e409c542
AKS
212020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
22
23 * gdb.fortran/array-bounds-high.exp: New file.
24 * gdb.fortran/array-bounds-high.f90: New file.
25
b0029748
LD
262020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
27
28 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
29 Replace #include of <sys/fcntl.h> by <fcntl.h>.
30
195a8287
TV
312020-02-01 Tom de Vries <tdevries@suse.de>
32
33 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
34
42330a68
AB
352020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
36
37 PR tui/9765
38 * gdb.tui/tui-layout-asm-short-prog.S: New file.
39 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
40
b62a8028
LM
412020-01-29 Luis Machado <luis.machado@linaro.org>
42
43 * gdb.arch/aarch64-brk-patterns.c: New source file.
44 * gdb.arch/aarch64-brk-patterns.exp: New test.
45
5f440116
TBA
462020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
47
48 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
49 GCC/Clang version.
50 * gdb.cp/pass-by-ref.exp: Ditto.
51
ee2a6fc6
TV
522020-01-29 Tom de Vries <tdevries@suse.de>
53
54 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
55 * gdb.threads/watchpoint-fork-mt.c: Same.
56 * gdb.threads/watchpoint-fork-parent.c: Same.
57 * gdb.threads/watchpoint-fork-st.c: Same.
58 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
59
16b10d6e
LM
602020-01-27 Luis Machado <luis.machado@linaro.org>
61
62 * gdb.base/step-over-syscall.exp (setup): Check if we're already
63 sitting at a syscall instruction when we hit the syscall function's
64 breakpoint.
65 Check PC against one obtained with the x command.
66 Validate syscall number.
67 (step_over_syscall): Don't continue to the syscall instruction if
68 we're already there.
69
b1468492
PW
702020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
71
72 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
73
7ffa82e1
AB
742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
75
76 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
77 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
78
3d92a3e3
AB
792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
80
81 * gdb.dwarf2/dw2-inline-stepping.c: New file.
82 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
83
94a72be7
AB
842020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
85
86 * gdb.base/maint.exp: Update line table parsing test.
87 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
88
53af73bf
PA
892020-01-24 Pedro Alves <palves@redhat.com>
90
91 PR gdb/25410
92 * gdb.multi/multi-re-run-1.c: New.
93 * gdb.multi/multi-re-run-2.c: New.
94 * gdb.multi/multi-re-run.exp: New.
95
1ba1ac88
AB
962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
97
98 PR gdb/23718
99 * gdb.server/server-kill-python.exp: New file.
100
f3364a6d
AB
1012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * gdb.server/multi-ui-errors.c: New file.
104 * gdb.server/multi-ui-errors.exp: New file.
105
733d0a67
AB
1062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 PR tui/9765
109 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
110
4f13c1c0
TT
1112020-01-19 Tom Tromey <tom@tromey.com>
112
113 * gdb.tui/main.exp: Add check for plain "file".
114
40c94099
CB
1152020-01-16 Christian Biesinger <cbiesinger@google.com>
116
117 * lib/gdb.exp: Fix spelling error (seperatelly).
118
ff47f4f0
TT
1192020-01-14 Tom Tromey <tom@tromey.com>
120
121 PR symtab/12535:
122 * gdb.python/python.exp: Test decode_line with empty string
123 argument.
124
717c684d
BE
1252020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
126
127 * gdb.base/skip-inline.exp: Extend test.
128
44e4c775
AB
1292020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
130
131 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
132 * gdb.dwarf2/dw2-bad-elf.c: New file.
133 * gdb.dwarf2/dw2-bad-elf.exp: New file.
134
d93c6db7
AB
1352020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
138 _line_saw_file.
139
9a6d629c
AB
1402020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
143 border.
144
d9ebdab7
TBA
1452020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
146
147 * gdb.multi/multi-target.exp (setup): Factor out "info
148 connections" and "info inferiors" tests to ...
149 (test_info_inferiors): ... this new procedure.
150 (top level): Run new "info-inferiors" tests.
151
f3c469b9
PA
1522020-01-10 Pedro Alves <palves@redhat.com>
153
154 * gdb.server/bkpt-other-inferior.exp: New file.
155
121b3efd
PA
1562020-01-10 Pedro Alves <palves@redhat.com>
157
158 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
159 of "add-inferior".
160 * gdb.base/quit-live.exp: Likewise.
161 * gdb.base/remote-exec-file.exp: Likewise.
162 * gdb.guile/scm-progspace.exp: Likewise.
163 * gdb.linespec/linespec.exp: Likewise.
164 * gdb.mi/new-ui-mi-sync.exp: Likewise.
165 * gdb.mi/user-selected-context-sync.exp: Likewise.
166 * gdb.multi/multi-target.exp (setup): Add "info connection" and
167 "info inferiors" tests.
168 * gdb.multi/remove-inferiors.exp: Adjust expected output of
169 "add-inferior".
170 * gdb.multi/watchpoint-multi.exp: Likewise.
171 * gdb.python/py-inferior.exp: Likewise.
172 * gdb.server/extended-remote-restart.exp: Likewise.
173 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
174 "info inferiors".
175 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
176 * gdb.trace/report.exp: Likewise.
177
1dadb1dd
PA
1782020-01-10 Pedro Alves <palves@redhat.com>
179
180 * gdb.multi/multi-target.c: New file.
181 * gdb.multi/multi-target.exp: New file.
182 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
183 mode requested, but remote does not support non-stop".
184
78f2c40a
PA
1852020-01-10 Pedro Alves <palves@redhat.com>
186
187 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
188 disconnect before reconnecting.
189
e7af6c70
TBA
1902020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
191 Pedro Alves <palves@redhat.com>
192
193 * gdb.server/connect-without-multi-process.exp: Also test
194 continuing to end.
195
acdf84a6
PA
1962020-01-10 Pedro Alves <palves@redhat.com>
197
198 * gdb.base/remote-exec-file.exp: New file.
199
873657b9
PA
2002020-01-10 Pedro Alves <palves@redhat.com>
201
202 * gdb.base/fork-running-state.exp (do_test): Adjust expected
203 output.
204 * gdb.threads/async.c: New.
205 * gdb.threads/async.exp: New.
206 * gdb.multi/tids-gid-reset.c: New.
207 * gdb.multi/tids-gid-reset.exp: New.
208
7f0ae84c
GB
2092020-01-10 George Barrett <bob@bob131.so>
210
211 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
212 to help in finding the image relocation offset.
213 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
214 options in arguments.
215 (stap_test_no_debuginfo): Likewise.
216 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
217 test variants.
218 (stap_test): Add null semaphore relocation test.
219
47e9d49d
GB
2202020-01-10 George Barrett <bob@bob131.so>
221
222 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
223 * gdb.base/stap-probe.exp: Likewise.
224 (stap_test): Pass argument as an additional flag.
225 (stap_test_no_debuginfo): Likewise.
226 (stap_test): Check `info probes stap' output for semaphore
227 addresses if the test binary is supposed to have them.
228
f5a7c406
AB
2292020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
230
231 * gdb.tui/basic.exp: Add more scrolling tests.
232
9ae6bf64
TT
2332020-01-09 Tom Tromey <tom@tromey.com>
234
235 PR tui/18932:
236 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
237 meangingful value.
238 (Term::command, Term::resize): Update.
239 * gdb.tui/basic.exp: Add scrolling test.
240
b2efe70c
AB
2412020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
242
243 * gdb.tui/tui-layout-asm.exp: New file.
244
3804da7e
AB
2452020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * lib/tuiterm.exp (Term::check_box_contents): New proc.
248
b40aa28f
AB
2492020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
250
251 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
252 (Term::enter_tui): Use Term::prepare_for_tui.
253
63ffd7c9
AB
2542020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
255
256 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
257 called.
258
3be966f6
AB
2592020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
260
261 * gdb.base/skip.exp: Fix race condition in test.
262
153d79c4
AB
2632020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.base/backtrace.c: New file.
266 * gdb.base/backtrace.exp: New file.
267
f2302a34
AB
2682020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
269
270 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
271
6ec1d75e
PW
2722020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
273
274 * gdb.base/style.exp: Test that warnings are styled.
275
c296cbe6
BE
2762019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
277
278 * gdb.base/line65535.exp: New file.
279 * gdb.base/line65535.c: New file.
280
b28a729d
SM
2812019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
282
283 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
284 * lib/gnat_debug_info_test.adb: New file.
285 * gdb.ada/ptype_tagged_param.exp: Use
286 gnat_runtime_has_debug_info, expect a different output if
287 runtime does not have debug info.
288
7f2d7a0d
SM
2892019-12-20 Simon Marchi <simon.marchi@efficios.com>
290
291 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
292 (another) quote in test name.
293
f3bce483
SM
2942019-12-20 Simon Marchi <simon.marchi@efficios.com>
295
296 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
297 Add quote in test name.
298
c855a912
TBA
2992019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
300
301 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
302 directory instead.
303 * gdb.cp/pass-by-ref.exp: Extend with more cases.
304 * gdb.cp/pass-by-ref-2.cc: New file.
305 * gdb.cp/pass-by-ref-2.exp: New file.
306
fc9d2d72
TT
3072019-12-20 Tom Tromey <tom@tromey.com>
308
309 * gdb.tui/list-before.exp: New file.
310
77b97e00
TT
3112019-12-20 Tom Tromey <tom@tromey.com>
312
313 * gdb.tui/list.exp: Check for source on initial listing.
314
f69656d0
TT
3152019-12-11 Tom Tromey <tromey@adacore.com>
316
317 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
318 Add crlf test.
319
99a55965
SM
3202019-12-18 Simon Marchi <simon.marchi@efficios.com>
321
322 * gdb.base/default.exp: Update value of $_gdb_major.
323
5024637f
BE
3242019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
325
326 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
327
b63634be
BE
3282019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
329
330 * gdb.base/skip.exp: Whitespace fix.
331
45d73523
BE
3322019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
333
334 * gdb.base/skip-inline.c: New file.
335 * gdb.base/skip-inline.exp: New file.
336
d043f8c8
SM
3372019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
338
339 * gdb.base/jit-reader.exp (jit_reader_test): Rename
340 jit_function_00 to jit_function_stack_mangle.
341 * gdb.base/jithost.c (jit_function_t): Rename to...
342 (jit_function_stack_mangle_t): ... this.
343 (jit_function_add_t): New typedef.
344 (jit_function_00_code): Rename to...
345 (jit_function_stack_mangle_code): ... this, make static.
346 (jit_function_add_code): New.
347 (main): Generate "add" function and call it. Adjust to changes
348 in jithost_abi.
349 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
350 (struct jithost_abi) <begin, end>: Remove fields.
351 <object, function_stack_mangle, function_add>: New fields.
352 * gdb.base/jitreader.c (struct reader_state) <code_begin,
353 code_end>: Remove fields.
354 <func_stack_mangle>: New field.
355 (read_debug_info): Adjust to renaming, create block for "add"
356 function.
357 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
358
873de05c
TT
3592019-12-11 Tom Tromey <tom@tromey.com>
360
361 * gdb.tui/resize.exp: Fix regexp.
362 * gdb.tui/regs.exp: Fix regexps.
363 * gdb.tui/main.exp: Fix regexp.
364
3d979945
TT
3652019-12-11 Tom Tromey <tom@tromey.com>
366
367 * gdb.tui/resize.exp: Update.
368 * gdb.tui/empty.exp (layouts): Update.
369
2192a9d3
TT
3702019-12-11 Tom Tromey <tom@tromey.com>
371
372 * gdb.tui/regs.exp: Update.
373 * gdb.tui/empty.exp (layouts): Update.
374 * gdb.tui/basic.exp: Update.
375 * lib/tuiterm.exp (_check_box): Don't check bottom border.
376
d8edc8b7
PW
3772019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
378
379 * gdb.base/options.exp: Add -raw-values in the print completion list.
380 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
381
4c12d936
KB
3822019-12-10 Kevin Buettner <kevinb@redhat.com>
383
384 * gdb.threads/omp-par-scope.c: New file.
385 * gdb/threads/omp-par-scope.exp: New file.
386
26b911fb
KB
3872019-12-10 Kevin Buettner <kevinb@redhat.com>
388
bb47f919
KB
389 * lib/gdb.exp (support_nested_function_tests): New proc.
390
3912019-12-10 Kevin Buettner <kevinb@redhat.com>
392
393 * lib/gdb.exp (gdb_compile_openmp): New proc.
394 (build_executable_from_specs): Add an "openmp" option.
395 (gdb_compile_pthreads): Add non-executable case.
26b911fb 396
6c71eb7d
TT
3972019-12-10 Tom Tromey <tromey@adacore.com>
398
399 * gdb.ada/unchecked_union.exp: New file.
400 * gdb.ada/unchecked_union/pck.adb: New file.
401 * gdb.ada/unchecked_union/pck.ads: New file.
402 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
403 * gdb-utils.exp (string_to_regexp): Also quote "?".
404
bac7c5cf
GB
4052019-12-10 George Barrett <bob@bob131.so>
406
407 Test scripted probe breakpoints.
408 * gdb.guile/scm-breakpoint.c (main): Add probe point.
409 * gdb.python/py-breakpoint.c (main): Likewise.
410 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
411 specifier test.
412 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
413
330f1d38
TBA
4142019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
415
416 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
417 an rvalue parameter.
418 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
419 parameter.
420
b43315e2
AB
4212019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
422
423 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
424 modules.
425
54f73dad
AB
4262019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
427
428 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
429 broken version of GCC.
430
d57cbee9
AB
4312019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * gdb.fortran/info-modules.exp: Rewrite to make use of new
434 sym-info-cmds library.
435 * gdb.fortran/info-types.exp: Likewise.
436 * lib/sym-info-cmds.exp: New file.
437
c14aab8c
TV
4382019-12-08 Tom de Vries <tdevries@suse.de>
439
440 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
441
aa2d5a42
KS
4422019-12-07 Keith Seitz <keiths@redhat.com>
443
444 * gdb.base/corefile-buildid-shlib-shr.c: New file.
445 * gdb.base/corefile-buildid-shlib.c: New file.
446 * gdb.base/corefile-buildid.c: New file.
447 * gdb.base/corefile-buildid.exp: New file.
448
93e55f0a
TV
4492019-12-06 Tom de Vries <tdevries@suse.de>
450
451 * gdb.dwarf2/varval.exp: Add decl before def test.
452
c7d12402
TBA
4532019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
454
455 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
456
06acc08f
TBA
4572019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
458
459 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
460 CV and reference conversion for overload resolution.
461 * gdb.cp/rvalue-ref-overload.exp: Test it.
462
e0fad1ea
PW
4632019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
464
465 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
466 * gdb.base/frameapply.exp: Test faas without command.
467
8d70a9f0
AB
4682019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
469
470 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
471 Fortran tests.
472 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
473 order.
474
36c8fb93
AB
4752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
476
477 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
478 casting to type with no kind specified.
479 (test_basic_parsing_of_type_kinds): Additional tests for types
480 with no kind specified, and add tests for single/double
481 precision/complex types.
482
4139ff00
TT
4832019-12-04 Tom Tromey <tromey@adacore.com>
484
485 * gdb.base/endianity.c (struct other) <x>: New field.
486 (main): Initialize it.
487 * gdb.base/endianity.exp: Update.
488
a05cf17a
TT
4892019-12-04 Tom Tromey <tromey@adacore.com>
490
491 * gdb.ada/scalar_storage/storage.adb: New file.
492 * gdb.ada/scalar_storage/pck.adb: New file.
493 * gdb.ada/scalar_storage/pck.ads: New file.
494 * gdb.ada/scalar_storage.exp: New file.
495
103a685e
TT
4962019-12-04 Tom Tromey <tromey@adacore.com>
497
498 * gdb.base/endianity.c (struct otherendian) <f>: New field.
499 (main): Initialize it.
500 * gdb.base/endianity.exp: Update.
501
c2512106
AB
5022019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
505
293b38d6
AB
5062019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
507
508 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
509 -symbol-info-module-functions and -symbol-info-module-variables.
510
216a7e6b
AB
5112019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
512
513 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
514
5bbd8269
AB
5152019-12-01 Richard Bunt <richard.bunt@arm.com>
516 Andrew Burgess <andrew.burgess@embecosm.com>
517
518 * gdb.fortran/derived-type-striding.exp: New file.
519 * gdb.fortran/derived-type-striding.f90: New file.
520 * gdb.fortran/array-slices.exp: New file.
521 * gdb.fortran/array-slices.f90: New file.
522
be09caf1
PW
5232019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
524
525 * gdb.base/define.exp: Test . in command names.
526 * gdb.base/setshow.exp: Update test, as . is now part of
527 command name.
528
643c0cbe
PW
5292019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
530
531 * gdb.base/define-prefix.exp: New file.
532
dcdec678
AB
5332019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
536 compile.
537 (skip_btrace_pt_tests): Likewise.
538
640ab947
AB
5392019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
540
541 * gdb.fortran/info-modules.exp: Compile source files in correct
542 order.
543
d22670f0
KB
5442019-11-27 Kevin Buettner <kevinb@redhat.com>
545
546 * gdb.dwarf2/imported-unit.exp: New file.
547 * gdb.dwarf2/imported-unit.c: New file.
548
db5960b4
AB
5492019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
550
551 * gdb.mi/mi-fortran-modules-2.f90: New file.
552 * gdb.mi/mi-fortran-modules.exp: New file.
553 * gdb.mi/mi-fortran-modules.f90: New file.
554
7dc42066
AB
5552019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.mi/mi-sym-info-1.c: New file.
558 * gdb.mi/mi-sym-info-2.c: New file.
559 * gdb.mi/mi-sym-info.exp: New file.
560
0dfeecca
TT
5612019-11-22 Tom Tromey <tromey@adacore.com>
562
563 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
564 * gdb.ada/tasks/foo.adb: Add another stopping location.
565
34877895
PJ
5662019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
567
568 * gdb.base/endianity.c: New test.
569 * gdb.base/endianity.exp: New file.
570
2e84f897
LD
5712019-11-21 Lukas Durfina <ldurfina@tachyum.com>
572
573 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
574
65d1cd5f
TV
5752019-11-21 Tom de Vries <tdevries@suse.de>
576
577 PR gdb/24956
578 * gdb.base/ui-redirect.exp: Test output of user-defined command.
579
4f22c3f4
SDJ
5802019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
581
582 * gdb.python/py-progspace.exp: Add missing parentheses on some
583 'print' commands.
584
9f6ad286
TT
5852019-11-19 Tom Tromey <tom@tromey.com>
586
587 * gdb.tui/winheight.exp: New file.
588
0b8dbf3f
AB
5892019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * gdb.base/ctf-whatis.c: Delete.
592 * gdb.base/ctf-whatis.exp: Delete.
593 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
594
f833b7a7
AB
5952019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
596
597 * gdb.base/ctf-cvexpr.exp: Delete.
598 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
599
30d0a636
AB
6002019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
601
602 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
603 the compiler. Clean up header comment a little.
604 * gdb.base/ctf-ptype.exp: Likewise.
605 * gdb.base/ctf-whatis.exp: Likewise.
606 * lib/gdb.exp (skip_ctf_tests): New proc.
607
494409bb
SDJ
6082019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
609
610 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
611 * gdb.tui/corefile-run.exp: New file.
612
55708e99
TT
6132019-11-14 Tom Tromey <tromey@adacore.com>
614
615 * gdb.base/gdbvars.exp (test_convenience_variables): Add
616 regression tests.
617
45e42163
TT
6182019-11-12 Tom Tromey <tom@tromey.com>
619
620 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
621 after any command. Expect prompt after WAIT_FOR is seen.
622 (enter_tui): Enable resize messages.
623 (command): Expect command in output.
624 (get_line): Avoid error when cursor appears to be off-screen.
625 (dump_screen): Include screen size in title.
626 (_do_resize): New proc, from "resize".
627 (resize): Rewrite. Do resize in two steps.
628 * gdb.tui/empty.exp (layouts): Fix entries.
629 (check_boxes): Remove xfail.
630 (check_text): Dump screen on failure.
631
086baaf1
AB
6322019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
633
634 * gdb.python/py-symbol.exp: Add test for
635 gdb.lookup_static_symbols.
636
09ff83af
AB
6372019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 * gdb.python/py-symbol.c: Declare and call function from new
640 py-symbol-2.c file.
641 * gdb.python/py-symbol.exp: Compile both source files, and add new
642 tests for gdb.lookup_static_symbol.
643 * gdb.python/py-symbol-2.c: New file.
644
11af934b
TV
6452019-11-02 Tom de Vries <tdevries@suse.de>
646
647 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
648 * gdb.base/anon.exp: Same.
649 * gdb.base/auto-connect-native-target.exp: Same.
650 * gdb.base/call-ar-st.exp: Same.
651 * gdb.base/catch-syscall.exp: Same.
652 * gdb.base/commands.exp: Same.
653 * gdb.base/default.exp: Same.
654 * gdb.base/display.exp: Same.
655 * gdb.base/float.exp: Same.
656 * gdb.base/foll-fork.exp: Same.
657 * gdb.base/help.exp: Same.
658 * gdb.base/info-macros.exp: Same.
659 * gdb.base/info-proc.exp: Same.
660 * gdb.base/info-target.exp: Same.
661 * gdb.base/long_long.exp: Same.
662 * gdb.base/macscp.exp: Same.
663 * gdb.base/memattr.exp: Same.
664 * gdb.base/nofield.exp: Same.
665 * gdb.base/pointers.exp: Same.
666 * gdb.base/printcmds.exp: Same.
667 * gdb.base/ptype.exp: Same.
668 * gdb.base/restore.exp: Same.
669 * gdb.base/return.exp: Same.
670 * gdb.base/scope.exp: Same.
671 * gdb.base/set-noassign.exp: Same.
672 * gdb.base/setshow.exp: Same.
673 * gdb.base/shlib-call.exp: Same.
674 * gdb.base/signals.exp: Same.
675 * gdb.base/sigstep.exp: Same.
676 * gdb.base/skip.exp: Same.
677 * gdb.base/solib-symbol.exp: Same.
678 * gdb.base/stap-probe.exp: Same.
679 * gdb.base/step-line.exp: Same.
680 * gdb.base/step-test.exp: Same.
681 * gdb.base/style.exp: Same.
682 * gdb.base/varargs.exp: Same.
683 * gdb.base/vla-datatypes.exp: Same.
684 * gdb.base/vla-ptr.exp: Same.
685 * gdb.base/vla-sideeffect.exp: Same.
686 * gdb.base/volatile.exp: Same.
687 * gdb.base/watch-cond-infcall.exp: Same.
688 * gdb.base/watchpoint.exp: Same.
689
e96ec2ba
TV
6902019-11-02 Tom de Vries <tdevries@suse.de>
691
692 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
693 * gdb.cp/cpexprs.exp: Same.
694 * gdb.cp/except-multi-location.exp: Same.
695 * gdb.cp/exceptprint.exp: Same.
696 * gdb.cp/gdb2384.exp: Same.
697 * gdb.cp/inherit.exp: Same.
698 * gdb.cp/m-static.exp: Same.
699 * gdb.cp/meth-typedefs.exp: Same.
700 * gdb.cp/misc.exp: Same.
701 * gdb.cp/namespace.exp: Same.
702 * gdb.cp/non-trivial-retval.exp: Same.
703 * gdb.cp/overload.exp: Same.
704 * gdb.cp/pr17132.exp: Same.
705 * gdb.cp/re-set-overloaded.exp: Same.
706 * gdb.cp/rvalue-ref-types.exp: Same.
707 * gdb.cp/templates.exp: Same.
708
bd5766ec
LM
7092019-11-01 Luis Machado <luis.machado@linaro.org>
710
711 PR gdb/25124
712
713 * gdb.arch/pr25124.S: New file.
714 * gdb.arch/pr25124.exp: New file.
715
165f8965
AB
7162019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
717
718 * gdb.fortran/info-modules.exp: Update expected results, and add
719 additional tests for 'info module functinos', and 'info module
720 variables'.
721 * gdb.fortran/info-types.exp: Update expected results.
722 * gdb.fortran/info-types.f90: Extend testcase with additional
723 module variables and functions.
724
59c35742
AB
7252019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * gdb.fortran/info-modules.exp: New file.
728 * gdb.fortran/info-types.exp: Build with new file.
729 * gdb.fortran/info-types.f90: Include and use new module.
730 * gdb.fortran/info-types-2.f90: New file.
731
f3fb2519
PW
7322019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
733
734 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
735 * gdb.base/settings.exp: Test all settings types using
736 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
737 that now verifies that the value of "maint show" is the same as
738 returned by the settings functions. Test the type of the
739 maintenance settings.
740 * gdb.base/default.exp: Update show_conv_list.
741
d1e36019
TV
7422019-10-31 Tom de Vries <tdevries@suse.de>
743
744 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
745 gdb_test.
746 * gdb.arch/amd64-disp-step.exp: Same.
747 * gdb.asm/asm-source.exp: Same.
748 * gdb.btrace/buffer-size.exp: Same.
749 * gdb.btrace/cpu.exp: Same.
750 * gdb.btrace/enable.exp: Same.
751 * gdb.dwarf2/count.exp: Same.
752 * gdb.dwarf2/dw2-ranges-func.exp: Same.
753 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
754 * gdb.fortran/vla-datatypes.exp: Same.
755 * gdb.fortran/vla-history.exp: Same.
756 * gdb.fortran/vla-ptype.exp: Same.
757 * gdb.fortran/vla-value.exp: Same.
758 * gdb.fortran/whatis_type.exp: Same.
759 * gdb.guile/guile.exp: Same.
760 * gdb.multi/tids.exp: Same.
761 * gdb.python/py-finish-breakpoint.exp: Same.
762 * gdb.python/py-framefilter.exp: Same.
763 * gdb.python/py-pp-registration.exp: Same.
764 * gdb.python/py-xmethods.exp: Same.
765 * gdb.python/python.exp: Same.
766 * gdb.server/connect-with-no-symbol-file.exp: Same.
767 * gdb.server/no-thread-db.exp: Same.
768 * gdb.server/run-without-local-binary.exp: Same.
769 * gdb.stabs/weird.exp: Same.
770 * gdb.threads/attach-many-short-lived-threads.exp: Same.
771 * gdb.threads/thread-find.exp: Same.
772 * gdb.threads/tls-shared.exp: Same.
773 * gdb.threads/tls.exp: Same.
774 * gdb.threads/wp-replication.exp: Same.
775 * gdb.trace/ax.exp: Same.
776 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
777
3d11e68e
TV
7782019-10-31 Tom de Vries <tdevries@suse.de>
779
780 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
781 * gdb.ada/array_subscript_addr.exp: Same.
782 * gdb.ada/arrayidx.exp: Same.
783 * gdb.ada/arrayparam.exp: Same.
784 * gdb.ada/arrayptr.exp: Same.
785 * gdb.ada/boolean_expr.exp: Same.
786 * gdb.ada/call_pn.exp: Same.
787 * gdb.ada/complete.exp: Same.
788 * gdb.ada/fixed_cmp.exp: Same.
789 * gdb.ada/fun_addr.exp: Same.
790 * gdb.ada/funcall_param.exp: Same.
791 * gdb.ada/interface.exp: Same.
792 * gdb.ada/mod_from_name.exp: Same.
793 * gdb.ada/null_array.exp: Same.
794 * gdb.ada/packed_array.exp: Same.
795 * gdb.ada/packed_tagged.exp: Same.
796 * gdb.ada/print_chars.exp: Same.
797 * gdb.ada/print_pc.exp: Same.
798 * gdb.ada/ptype_arith_binop.exp: Same.
799 * gdb.ada/ptype_field.exp: Same.
800 * gdb.ada/ptype_tagged_param.exp: Same.
801 * gdb.ada/rec_return.exp: Same.
802 * gdb.ada/ref_tick_size.exp: Same.
803 * gdb.ada/str_ref_cmp.exp: Same.
804 * gdb.ada/taft_type.exp: Same.
805 * gdb.ada/tagged.exp: Same.
806 * gdb.ada/type_coercion.exp: Same.
807 * gdb.ada/uninitialized_vars.exp: Same.
808
60b6ede8
TV
8092019-10-30 Tom de Vries <tdevries@suse.de>
810
811 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
812
30baf67b
TV
8132019-10-26 Tom de Vries <tdevries@suse.de>
814
815 * gdb.base/bigcore.c: Fix typos in comments.
816 * gdb.base/ctf-ptype.c: Same.
817 * gdb.base/long_long.c: Same.
818 * gdb.dwarf2/dw2-op-out-param.S: Same.
819 * gdb.python/py-evthreads.c: Same.
820 * gdb.reverse/i387-stack-reverse.c: Same.
821 * gdb.trace/tfile.c: Same.
822 * lib/compiler.c: Same.
823 * lib/compiler.cc: Same.
824
158da0d1
TV
8252019-10-25 Tom de Vries <tdevries@suse.de>
826
827 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
828 gdb_test_multiple calls.
829 * gdb.reverse/sigall-reverse.exp: Same.
830 * gdb.reverse/solib-precsave.exp: Same.
831 * gdb.reverse/solib-reverse.exp: Same.
832 * gdb.reverse/until-precsave.exp: Same.
833 * gdb.reverse/until-reverse.exp: Same.
834
4ccdfbec
TV
8352019-10-24 Tom de Vries <tdevries@suse.de>
836
837 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
838 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
839 kfail using -wrap pattern flag and convenience variable
840 gdb_test_name.
841
33d569b7
AB
8422019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
843
844 * gdb.python/py-progspace.exp: Add tests for the
845 Progspace.block_for_pc method.
846
4d0b984b
TT
8472019-10-23 Tom Tromey <tom@tromey.com>
848
849 * configure: Rebuild.
850 * aclocal.m4: Use m4_include, not sinclude.
851
94cb3754
TV
8522019-10-21 Tom de Vries <tdevries@suse.de>
853
854 * gdb.base/infcall-nested-structs.c: Add
855 __attribute__((noinline,noclone)) to all functions.
856 (call_all): Add missing variable initialization. Simplify return value.
857 (breakpt): Increment volatile variable, to prevent call from being
858 optimized out.
859 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
860
062f1fc1
TV
8612019-10-17 Tom de Vries <tdevries@suse.de>
862
863 * gdb.fortran/module.exp: Allow info variables to print info for files
864 other than module.f90.
865
0b54364d
AB
8662019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * gdb.fortran/module.exp: Extend with 'info variables' test.
869
7ff5fae7
AB
8702019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
873 F77_FOR_TARGET.
874
d10eccaa
TV
8752019-10-16 Tom de Vries <tdevries@suse.de>
876
877 PR tdep/25096
878 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
879
745ff14e
TV
8802019-10-16 Tom de Vries <tdevries@suse.de>
881
882 PR tdep/24104
883 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
884 Add KFAIL for PR tdep/25096.
885
03e1ab94
TV
8862019-10-16 Tom de Vries <tdevries@suse.de>
887
888 PR testsuite/25059
889 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
890
b17fcc10
TV
8912019-10-16 Tom de Vries <tdevries@suse.de>
892
893 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
894 as signed.
895
9223170f
SM
8962019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
897
898 * gdb.mi/list-thread-groups-available.exp: Read entries one by
899 one instead of increasing timeout.
900
d6e76313
TV
9012019-10-13 Tom de Vries <tdevries@suse.de>
902
903 PR record/25038
904 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
905 * gdb.reverse/sigall-reverse.exp: Same.
906 * gdb.reverse/solib-precsave.exp: Same.
907 * gdb.reverse/solib-reverse.exp: Same.
908 * gdb.reverse/step-precsave.exp: Same.
909 * gdb.reverse/until-precsave.exp: Same.
910 * gdb.reverse/until-reverse.exp: Same.
911 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
912
6dfc0041
AA
9132019-10-10 Andreas Arnez <arnez@linux.ibm.com>
914
915 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
916 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
917 (cmp_struct_05_01, cmp_struct_static_02_01)
918 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
919 comparisons.
920
abcf2cc8
TV
9212019-10-10 Tom de Vries <tdevries@suse.de>
922
923 PR testsuite/24888
924 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
925 gnatlink.
926
a50faaf6
TV
9272019-10-09 Tom de Vries <tdevries@suse.de>
928
929 PR testsuite/25048
930 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
931
60ff3cd7
AB
9322019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
933
934 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
935 exceptions due to missing debug information.
936
dfee8566
TV
9372019-10-07 Tom de Vries <tdevries@suse.de>
938
939 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
940
3d63690a
AB
9412019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
942
943 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
944 * gdb.base/annota1.exp: Update to use gdb_test_name.
945
30d1f018
WP
9462019-10-07 Weimin Pan <weimin.pan@oracle.com>
947
948 * gdb.base/ctf-whatis.exp: New file.
949 * gdb.base/ctf-whatis.c: New file.
950 * gdb.base/ctf-ptype.exp: New file.
951 * gdb.base/ctf-ptype.c: New file.
952 * gdb.base/ctf-constvars.exp: New file.
953 * gdb.base/ctf-constvars.c: New file.
954 * gdb.base/ctf-cvexpr.exp: New file.
955
4dbbb47c
TV
9562019-10-04 Tom de Vries <tdevries@suse.de>
957
958 * gdb.cp/local-static.c (main): Move declaration of int i out of the
959 for loop.
960
77c2dba3
TT
9612019-10-03 Tom Tromey <tom@tromey.com>
962
963 PR rust/24976:
964 * gdb.rust/simple.rs (Union2): New type.
965 (main): Use Union2.
966 * gdb.rust/simple.exp: Add test.
967
179aed7f
AB
9682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
969
970 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
971 nested function prefix.
972
0a4b0913
AB
9732019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
974 Richard Bunt <richard.bunt@arm.com>
975 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
978 nested functions.
979 * gdb.fortran/nested-funcs.f90: Update expected results.
980 * gdb.fortran/nested-funcs-2.exp: New file.
981 * gdb.fortran/nested-funcs-2.f90: New file.
982
082cce05
AB
9832019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
984
985 * gdb.python/py-parameter.exp: Make test names unique.
986 * gdb.python/py-template.exp: Likewise.
987 * gdb.python/py-value.exp: Likewise.
988
2b74ba5a
AB
9892019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.base/break-interp.exp: Reduce test name duplication.
992 * gdb.base/call-sc.exp: Likewise.
993 * gdb.base/callfuncs.exp: Likewise.
994 * gdb.base/charset.exp: Likewise.
995 * gdb.base/dump.exp: Likewise.
996 * gdb.base/ena-dis-br.exp: Likewise.
997 * gdb.base/relational.exp: Likewise.
998 * gdb.base/step-over-syscall.exp: Likewise.
999 * gdb.base/structs.exp: Likewise.
1000
58eb20d5
AB
10012019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1002
1003 * gdb.linespec/explicit.exp: Make test names unique.
1004 * gdb.linespec/ls-errs.exp: Likewise.
1005
4d421147
AB
10062019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1007
1008 * gdb.reverse/break-precsave.exp: Make test names unique.
1009 * gdb.reverse/break-reverse.exp: Likewise.
1010 * gdb.reverse/finish-precsave.exp: Likewise.
1011 * gdb.reverse/finish-reverse.exp: Likewise.
1012 * gdb.reverse/machinestate-precsave.exp: Likewise.
1013 * gdb.reverse/machinestate.exp: Likewise.
1014 * gdb.reverse/readv-reverse.exp: Likewise.
1015 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1016 * gdb.reverse/sigall-precsave.exp: Likewise.
1017 * gdb.reverse/sigall-reverse.exp: Likewise.
1018 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1019 * gdb.reverse/watch-precsave.exp: Likewise.
1020 * gdb.reverse/watch-reverse.exp: Likewise.
1021
d8c06f22
AB
10222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1023
1024 * gdb.threads/stop-with-handle.c: New file.
1025 * gdb.threads/stop-with-handle.exp: New file.
1026
3a56ed86
TV
10272019-10-03 Tom de Vries <tdevries@suse.de>
1028
1029 PR testsuite/25059
1030 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1031 directory" line to be missing.
1032
42275044
TV
10332019-10-03 Tom de Vries <tdevries@suse.de>
1034
1035 PR testsuite/25059
1036 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1037 type optional.
1038
9ef62df0
AA
10392019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1040
1041 * gdb.python/py-format-string.c (string.h): New include.
1042 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1043 the same value, for endianness-independence.
1044 * gdb.python/py-format-string.exp (default_regexp_dict)
1045 (test_pretty_structs, test_format): Adjust expected output to the
1046 changed initialization.
1047
37f6a7f4
TT
10482019-10-02 Tom Tromey <tromey@adacore.com>
1049
1050 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1051
1d58d6a2
PA
10522019-10-02 Pedro Alves <palves@redhat.com>
1053 Andrew Burgess <andrew.burgess@embecosm.com>
1054
1055 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1056 "print-file-var.h".
1057 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1058 (get_version_1): Print this_version_id and its address.
1059 Add extern "C" wrappers around interface functions.
1060 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1061 "print-file-var.h".
1062 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1063 (get_version_2): Print this_version_id and its address.
1064 Add extern "C" wrappers around interface functions.
1065 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1066 <stddef.h> and "print-file-var.h".
1067 Add extern "C" wrappers around interface functions.
1068 [VERSION_ID_MAIN] (this_version_id): Define.
1069 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1070 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1071 up extern "C" blocks.
1072 * gdb.base/print-file-var.exp (test): New, factored out from top
1073 level.
1074 (top level): Test all combinations of attribute hidden or not,
1075 dlopen or not, and this_version_id symbol in main file or not.
1076 Compile tests as both C++ and C, make test names unique.
1077
d770d56f
TT
10782019-10-01 Tom Tromey <tom@tromey.com>
1079
1080 * gdb.base/style.exp: Test "show logging filename".
1081
7f6aba03
TT
10822019-10-01 Tom Tromey <tom@tromey.com>
1083
1084 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1085 * gdb.base/style.exp: Add metadata style test.
1086
14309bb6
TT
10872019-10-01 Tom Tromey <tom@tromey.com>
1088
1089 * gdb.base/style.exp: Test "pwd".
1090
2a3c1174
PA
10912019-10-01 Tom Tromey <tom@tromey.com>
1092
1093 * gdb.base/style.exp: Update tests.
1094
53d666ec
AA
10952019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1096
1097 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1098 'six' to unsigned.
1099 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1100 'five'. Use an all-ones bit pattern for each.
1101 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1102 to its changed values.
1103
4a56a520
TT
11042019-09-30 Tom Tromey <tromey@adacore.com>
1105
1106 * gdb.rust/traits.rs: Disable all warnings.
1107
0df0352a
TV
11082019-09-29 Tom de Vries <tdevries@suse.de>
1109
1110 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1111
73d9a918
TV
11122019-09-29 Tom de Vries <tdevries@suse.de>
1113
1114 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1115
060b3ab4
TV
11162019-09-27 Tom de Vries <tdevries@suse.de>
1117
1118 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1119
68f7d34d
TV
11202019-09-27 Tom de Vries <tdevries@suse.de>
1121
1122 PR record/23188
1123 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1124
5d63b30a
TT
11252019-09-26 Tom Tromey <tromey@adacore.com>
1126
1127 * gdb.ada/py_taft.exp: New file.
1128 * gdb.ada/py_taft/main.adb: New file.
1129 * gdb.ada/py_taft/pkg.adb: New file.
1130 * gdb.ada/py_taft/pkg.ads: New file.
1131
3d435220
TV
11322019-09-24 Tom de Vries <tdevries@suse.de>
1133
1134 PR gdb/24598
1135 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1136
77d03678
TV
11372019-09-22 Tom de Vries <tdevries@suse.de>
1138
1139 * gdb.base/restore.exp: Allow register variables to be optimized out at
1140 -O0.
1141
abf516c6
UW
11422019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1143
1144 * gdb.arch/spu-info.exp: Remove file.
1145 * gdb.arch/spu-info.c: Remove file.
1146 * gdb.arch/spu-ls.exp: Remove file.
1147 * gdb.arch/spu-ls.c: Remove file.
1148
1149 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1150 * gdb.asm/spu.inc: Remove file.
1151
1152 * gdb.base/dump.exp: Remove support for spu*-*-*.
1153 * gdb.base/stack-checking.exp: Likewise.
1154 * gdb.base/overlays.exp: Likewise.
1155 * gdb.base/ovlymgr.c: Likewise.
1156 * gdb.base/spu.ld: Remove file.
1157
1158 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1159 * gdb.cp/cpexprs.exp: Likewise.
1160 * gdb.cp/exception.exp: Likewise.
1161 * gdb.cp/gdb2495.exp: Likewise.
1162 * gdb.cp/mb-templates.exp: Likewise.
1163 * gdb.cp/pr9167.exp: Likewise.
1164 * gdb.cp/userdef.exp: Likewise.
1165
1166 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1167
1168 * gdb.cell: Remove directory.
1169 * lib/cell.exp: Remove file.
1170
e452e88f
TV
11712019-09-19 Tom de Vries <tdevries@suse.de>
1172
1173 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1174
8a625130
TV
11752019-09-19 Tom de Vries <tdevries@suse.de>
1176
1177 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1178
81dc3ab5
TV
11792019-09-19 Tom de Vries <tdevries@suse.de>
1180
1181 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1182 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1183 (gdb_target_cmd): ... here.
1184 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1185 value 2.
1186
b078f3ac
AB
11872019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1188
1189 * gdb.base/source-dir.exp: Avoid having directory names in test
1190 names.
1191
f1b620e9
MG
11922019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1193
1194 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1195 directory.
1196
67f3ed6a
AB
11972019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1198
1199 * gdb.base/list-missing-source.exp: New file.
1200
d1b70248
TV
12012019-09-14 Tom de Vries <tdevries@suse.de>
1202
1203 PR teststuite/24599
1204 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1205 * lib/ada.exp (gnatmake_version_at_least): New proc.
1206
5fabdcd6
AB
12072019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1208
1209 * gdb.base/maint.exp: Use exec_has_index_section.
1210
aa17805f
AB
12112019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1212
1213 * gdb.base/maint.exp: Add test for 'maint info sections'.
1214
25e5c209
TV
12152019-09-12 Tom de Vries <tdevries@suse.de>
1216
1217 * gdb.base/store.exp: Allow register variables to be optimized out at
1218 -O0.
1219
4993045d
PW
12202019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1221
1222 * gdb.ada/rdv_wait.exp: Update to new task names.
1223 * gdb.base/task_switch_in_core.exp: Likewise.
1224 * gdb.base/info_sources_base.c: Likewise.
1225
8a516164
TT
12262019-09-10 Tom Tromey <tromey@adacore.com>
1227
1228 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1229
aa391654
TT
12302019-09-10 Tom Tromey <tromey@adacore.com>
1231
1232 * gdb.ada/dgopt.exp: New file.
1233 * gdb.ada/dgopt/x.adb: New file.
1234
8634b462
TT
12352019-09-08 Tom Tromey <tom@tromey.com>
1236
1237 * gdb.tui/resize.exp: Remove setup_xfail.
1238 * gdb.tui/regs.exp: Remove setup_xfail.
1239 * gdb.tui/basic.exp: Remove setup_xfail.
1240
736b0f76
DB
12412019-09-06 David Blaikie <dblaikie@gmail.com>
1242
1243 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1244 * gdb.cp/cplabel.exp: Ditto.
1245 * gdb.linespec/ls-errs.exp: Ditto.
1246
30331a6c
TV
12472019-09-05 Tom de Vries <tdevries@suse.de>
1248
1249 * lib/gdb.exp (cmp_file_string): New proc.
1250 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1251 runto_main. Verify save breakpoints output.
1252
98b0ebab
PW
12532019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1254
1255 * gdb.base/info-var.exp: Test info variables without running
1256 to main, to avoid expect's buffer overflow.
1257
4e962e74
TT
12582019-09-03 Tom Tromey <tromey@adacore.com>
1259
1260 * gdb.ada/bias.exp: New file.
1261 * gdb.ada/bias/bias.adb: New file.
1262 * gdb.ada/print_chars.exp: Add regression test.
1263 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1264 (MC): New variable.
1265
2ea1a07a
SL
12662019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1267
1268 * gdb.base/argv0-symlink.exp: Run only on native target
1269 and local host.
1270
8077c50d
TV
12712019-08-29 Tom de Vries <tdevries@suse.de>
1272
1273 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1274 diverse debug info.
1275 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1276
48352473
TV
12772019-08-28 Tom de Vries <tdevries@suse.de>
1278
1279 * gdb.base/info-var.exp: Allow info variables to print info for files
1280 other than info-var-f1.c and info-var-f2.c.
1281
d8f27c60
AB
12822019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1283
1284 * gdb.fortran/info-types.exp: Add module.
1285 * gdb.fortran/info-types.f90: Update expected results.
1286
1f20c35e
AB
12872019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1288
1289 * gdb.fortran/info-types.exp: New file.
1290 * gdb.fortran/info-types.f90: New file.
1291 * lib/fortran.exp (fortran_character1): New proc.
1292
4acfdd20
AB
12932019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1294
1295 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1296 functions'. Reindent as needed.
1297 * gdb.base/info-var-f1.c: New file.
1298 * gdb.base/info-var-f2.c: New file.
1299 * gdb.base/info-var.exp: New file.
1300 * gdb.base/info-var.h: New file.
1301
5c31b358
TV
13022019-08-26 Tom de Vries <tdevries@suse.de>
1303
1304 PR c++/24852
1305 * gdb.cp/no-libstdcxx-probe.exp: New test.
1306
b694989f
TV
13072019-08-26 Tom de Vries <tdevries@suse.de>
1308
1309 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1310 * tests need to be skipped.
1311 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1312 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1313 mi_skip_libstdcxx_probe_tests.
1314
d9c4ba53
SDJ
13152019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1316
1317 * gdb.python/py-xmethods.exp: Use raw strings when passing
1318 arguments to SimpleXMethodMatcher.
1319
395fad09
TV
13202019-08-22 Tom de Vries <tdevries@suse.de>
1321
1322 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1323 more informative.
1324
26c957f1
PA
13252019-08-21 Pedro Alves <palves@redhat.com>
1326
1327 * gdb.base/with.exp: Test "with" with no arguments.
1328
61f80d5d
TV
13292019-08-21 Tom de Vries <tdevries@suse.de>
1330
1331 * gdb.base/gdb-caching-proc.exp: Sort files.
1332
d7a11d13
TV
13332019-08-20 Tom de Vries <tdevries@suse.de>
1334
1335 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1336 compilation.
1337
34dafe9f
TV
13382019-08-16 Tom de Vries <tdevries@suse.de>
1339
1340 * gdb.base/compare-sections.exp ("after run to main"): Allow
1341 mismatched read-only sections for PIE executables.
1342
398fdd60
TT
13432019-08-16 Tom Tromey <tom@tromey.com>
1344
1345 * lib/tuiterm.exp (_csi_Z): New proc.
1346 * gdb.tui/basic.exp: Update window positions.
1347 * gdb.tui/empty.exp: Update window positions.
1348
d8f9e51c
SL
13492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1350
1351 * gdb.base/examine-backward.exp: Correct regexp for
1352 "examine 3 bytes backward from ${address_zero}".
1353
3df505f6
TT
13542019-08-15 Tom Tromey <tom@tromey.com>
1355
1356 * gdb.tui/empty.exp: Enable resizing tests.
1357
272560b5
TT
13582019-08-15 Tom Tromey <tromey@adacore.com>
1359
1360 * gdb.ada/char_enum.exp: Add regression tests.
1361 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1362 and '0'.
1363 (Char, Gchar): Update.
1364 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1365
08235187
CB
13662019-08-15 Christian Biesinger <cbiesinger@google.com>
1367
1368 * gdb.python/python.exp: Expect a leading underscore on
1369 GdbOutput{,Error}File.
1370
22a2ab04
SL
13712019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1372
1373 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1374 Windows host.
1375
835b995b
SL
13762019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1377
1378 * gdb.base/batch-preserve-term-settings.exp
1379 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1380
97dd8e07
CB
13812019-08-15 Christian Biesinger <cbiesinger@google.com>
1382
1383 * lib/gdb.exp: When running on a mingw target, replace
1384 /x/ with x:/.
1385
75faf5c4
AH
13862019-08-14 Alan Hayward <alan.hayward@arm.com>
1387
1388 * gdb.arch/aarch64-prologue.c: New test.
1389 * gdb.arch/aarch64-prologue.exp: New file.
1390
abc6c00f
TV
13912019-08-13 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1394 Thread.
1395
74c2c1f4
SL
13962019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1397
1398 * gdb.python/py-completion.exp: Download the .py file to the host
1399 and use its host pathname. Conditionalize tests that use
1400 tab completion and manipulate files on the build machine.
1401 * gdb.python/py-events.exp: Download the .py file to the host
1402 and use its host pathname.
1403 * gdb.python/py-evsignal.exp: Likewise.
1404 * gdb.python/py-evthreads.exp: Likewise.
1405 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1406 pathname syntax.
1407 * gdb.python/py-framefilter.exp: Download the .py file to the right
1408 place on the host. Match Windows pathname syntax.
1409 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1410 .py file to the host and use its host pathname.
1411 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1412 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1413 build pathname. Skip symlink test on Windows host. Add missing
1414 newline at end of file.
1415 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1416 and use its host pathname.
1417 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1418 * gdb.python/py-section-script.exp: Use host location of binfile
1419 on safe-path. Use correct path separator on Windows host.
1420 Reorder alternatives in gdb_test_multiple to prevent matching
1421 the wrong alternative on success.
1422 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1423
ca2589f3
PP
14242019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1425
1426 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1427 expect the GDB inferior to no longer immediately stop after
1428 being resumed with "signal SIGINT".
1429
020a839d
SL
14302019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1431
1432 * gdb.linespec/break-ask.exp: Generalize regexps to match
1433 Windows pathnames too.
1434
128d6509
TV
14352019-08-08 Tom de Vries <tdevries@suse.de>
1436
1437 PR testsuite/24862
1438 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1439
590042fc
PW
14402019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1441
1442 * gdb.base/style.exp: Update tests for help doc new invariants.
1443 * gdb.base/help.exp: Likewise.
1444
046bebe1
TT
14452019-08-06 Tom Tromey <tom@tromey.com>
1446
1447 * gdb.base/style.exp: Add disassemble test.
1448 * gdb.base/style.c (some_called_function): New function.
1449 (main): Use it.
1450
0b27c27d
CB
14512019-08-05 Christian Biesinger <cbiesinger@google.com>
1452
1453 * gdb.python/py-block.exp: Test dictionary access on blocks.
1454
580f1034
SM
14552019-08-05 Simon Marchi <simon.marchi@efficios.com>
1456
1457 PR gdb/24863
1458 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1459 -list-thread-groups --available test when running under
1460 check-read1.
1461
d86bd7cb
TV
14622019-08-05 Tom de Vries <tdevries@suse.de>
1463
1464 PR testsuite/24863
1465 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1466 * gdb.base/help.exp: Use with_read1_timeout_factor.
1467 * gdb.base/info-macros.exp: Same.
1468 * gdb.cp/nested-types.exp: Same.
1469
a80cf5d8
TV
14702019-08-05 Tom de Vries <tdevries@suse.de>
1471
1472 * lib/gdb.exp (version_at_least): Factor out of ...
1473 (tcl_version_at_least): ... here.
1474 (gdb_compile): Fail if pie results in non-PIE executable.
1475 (readelf_version, readelf_prints_pie): New proc.
1476 (exec_is_pie): Return -1 if unknown.
1477
d0962838
TV
14782019-08-05 Tom de Vries <tdevries@suse.de>
1479
1480 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1481
2252ff3d
SL
14822019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1483
1484 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1485
26655f53
SL
14862019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1487
1488 * lib/completion-support.exp (test_gdb_complete_none): Skip
1489 tab completion tests if no readline support.
1490 (test_gdb_complete_unique_re): Likewise.
1491 (test_gdb_complete_multiple): Likewise.
1492
db4dc13e
PW
14932019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1494
1495 * gdb.base/info_sources.exp: New file.
1496 * gdb.base/info_sources.c: New file.
1497 * gdb.base/info_sources_base.c: New file.
1498
0eba165a
PFC
14992019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1500
1501 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1502 prefix argument.
1503 (test_exit_status): Add prefix argument.
1504
59bd512b
TV
15052019-08-01 Tom de Vries <tdevries@suse.de>
1506
1507 PR testsuite/24863
1508 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1509 calling exp_continue for new thread and thread exited messages.
1510
2a3ad588
TV
15112019-08-01 Tom de Vries <tdevries@suse.de>
1512
1513 PR testsuite/24863
1514 * gdb.base/structs.exp: Fix check-read1 timeout using
1515 gdb_test_sequence.
1516 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1517
117eb594
TV
15182019-08-01 Tom de Vries <tdevries@suse.de>
1519
1520 PR testsuite/24863
1521 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1522 line.
1523
ed591340
TV
15242019-08-01 Tom de Vries <tdevries@suse.de>
1525
1526 PR testsuite/24863
1527 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1528
aa3b6533
TT
15292019-07-30 Tom Tromey <tromey@adacore.com>
1530
1531 * gdb.ada/display_nested.exp: New file.
1532 * gdb.ada/display_nested/foo.adb: New file.
1533 * gdb.ada/display_nested/pack.adb: New file.
1534 * gdb.ada/display_nested/pack.ads: New file.
1535
2906593f
CB
15362019-07-30 Christian Biesinger <cbiesinger@google.com>
1537
1538 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1539 namespace.
1540 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1541
0f575925
TV
15422019-07-30 Tom de Vries <tdevries@suse.de>
1543
1544 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1545 instead.
1546
b13057d9
TV
15472019-07-30 Tom de Vries <tdevries@suse.de>
1548
1549 PR testsuite/24834
1550 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1551 (exec_is_pie): New proc.
1552
5c4dde85
CB
15532019-07-29 Christian Biesinger <cbiesinger@google.com>
1554
1555 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1556
c620ed88
CB
15572019-07-29 Christian Biesinger <cbiesinger@google.com>
1558
1559 * gdb.python/py-objfile.c: Add global and static vars.
1560 * gdb.python/py-objfile.exp: Test new functions Objfile.
1561 lookup_global_symbol and lookup_static_symbol.
1562
3d235706
TT
15632019-07-29 Tom Tromey <tom@tromey.com>
1564
1565 * lib/tuiterm.exp (Term::_csi_@): New proc.
1566 (Term::_csi_X): Don't move cursor.
1567
c7e4c0a6
PW
15682019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1569
1570 * gdb.base/options.exp: Update backtrace - completion to
1571 new option -frame-info.
1572 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1573 Test new 'set print frame-info'. Test backtrace -frame-info
1574 overriding 'set print frame-info'.
1575 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1576 Test new 'set print frame-info'.
1577 Verify consistency of backtrace with and without filters, with and
1578 without -no-filters.
1579 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1580 default.
1581
de28a3b7
TV
15822019-07-29 Tom de Vries <tdevries@suse.de>
1583
1584 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1585 no arguments".
1586
507dd60e
TV
15872019-07-29 Tom de Vries <tdevries@suse.de>
1588
1589 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1590 is a substring of the first for "complete non-unique file name".
1591
5beafce9
TV
15922019-07-29 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1595 with ".*".
1596
2d274232
TV
15972019-07-29 Tom de Vries <tdevries@suse.de>
1598
1599 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1600 Pass prompt_regexp parameter to gdb_test_multiple calls.
1601
9197cd8b
TV
16022019-07-29 Tom de Vries <tdevries@suse.de>
1603
1604 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1605 print registers" regexps.
1606
b528dae0
TV
16072019-07-29 Tom de Vries <tdevries@suse.de>
1608
1609 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1610
d17725d7
TV
16112019-07-29 Tom de Vries <tdevries@suse.de>
1612
1613 PR gdb/24855
1614 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1615 (skip_python_tests_prompt): Add prompt_regexp argument to
1616 gdb_test_multiple calls.
1617
52b75bf1
TT
16182019-07-27 Tom Tromey <tom@tromey.com>
1619
1620 * gdb.tui/main.exp: New file.
1621
2b1d00c2
TT
16222019-07-27 Tom Tromey <tom@tromey.com>
1623
1624 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1625 optional.
1626 * gdb.tui/empty.exp: New file.
1627
ded631d5
TT
16282019-07-27 Tom Tromey <tom@tromey.com>
1629
1630 * lib/tuiterm.exp (spawn): New proc.
1631 (Term::resize): New proc.
1632 * gdb.tui/resize.exp: New file.
1633
58ac439d
TT
16342019-07-27 Tom Tromey <tom@tromey.com>
1635
1636 * gdb.tui/list.exp: New file.
1637
fe1f56ee
TT
16382019-07-27 Tom Tromey <tom@tromey.com>
1639
1640 * gdb.tui/regs.exp: New file.
1641
f790b310
TT
16422019-07-27 Tom Tromey <tom@tromey.com>
1643
1644 * gdb.tui/basic.exp: Add "layout split" test.
1645
d95fc6ee
TT
16462019-07-27 Tom Tromey <tom@tromey.com>
1647
1648 * gdb.tui/basic.exp: Add "layout asm" test.
1649
c3786b3a
TT
16502019-07-27 Tom Tromey <tom@tromey.com>
1651
1652 * lib/tuiterm.exp: New file.
1653 * gdb.tui/basic.exp: New file.
1654
98a617f8
KB
16552019-07-27 Kevin Buettner <kevinb@redhat.com>
1656
1657 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1658 Enable tests associated with this flag. Adjust regex
1659 referencing "foo_low" to now refer to "foo_cold" instead.
1660
5c076da4
KB
16612019-07-27 Kevin Buettner <kevinb@redhat.com>
1662
1663 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1664 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1665 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1666 foo_cold. Revise comments to match.
1667 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1668 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1669 were wrapped into this proc; Call do_test in loop from outermost
1670 level.
1671 (foo_low): Rename all occurrences to "foo_cold".
1672 (backtrace from baz): New test.
1673 (x2/i foo_cold): New test.
1674 (info line *foo_cold): New test.
1675
1512d3b7
TV
16762019-07-26 Tom de Vries <tdevries@suse.de>
1677
1678 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1679
297989a1
TV
16802019-07-25 Tom de Vries <tdevries@suse.de>
1681
1682 PR testsuite/24830
1683 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1684 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1685 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1686 (skip_libstdcxx_probe_tests): ... here.
1687 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1688
b3b965fb
TV
16892019-07-24 Tom de Vries <tdevries@suse.de>
1690
1691 PR testsuite/24807
1692 * gdb.objc/basicclass.m: Include stdio.h.
1693 * gdb.objc/nondebug.m: Same.
1694 * gdb.objc/objcdecode.m: Same.
1695
4625b4d0
TV
16962019-07-24 Tom de Vries <tdevries@suse.de>
1697
1698 PR testsuite/24612
1699 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1700 additional_flags.
1701
024a5840
TV
17022019-07-24 Tom de Vries <tdevries@suse.de>
1703
1704 PR testsuite/24831
1705 * gdb.multi/tids.exp: Update error messages for info threads.
1706
c76ddaa3
TV
17072019-07-24 Tom de Vries <tdevries@suse.de>
1708
1709 * gdb.base/info-types.exp: Allow info types to print info for more than
1710 one file.
1711
9a618ef6
TV
17122019-07-23 Tom de Vries <tdevries@suse.de>
1713
1714 PR testsuite/24842
1715 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1716 gdb_spawn_with_cmdline_opts.
1717
40eadf04
SP
17182019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1719
1720 * gdb.arch/arm-cmse-sgstubs.c: New test.
1721 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1722
5ba29434
TV
17232019-07-23 Tom de Vries <tdevries@suse.de>
1724
1725 PR testsuite/24711
1726 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1727 issuing next command.
1728
a8e9d247
AB
17292019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * gdb.ada/info_auto_lang.exp: Update expected results.
1732 * gdb.base/info-types.c: Add additional types to check.
1733 * gdb.base/info-types.exp: Update expected results.
1734
eb86c5e2
AB
17352019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1736
1737 * gdb.base/info-types.c: New file.
1738 * gdb.base/info-types.exp: New file.
1739
01e175fe
AB
17402019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1741
1742 * gdb.arch/riscv-bp-infcall.c: New file.
1743 * gdb.arch/riscv-bp-infcall.exp: New file.
1744
6b78c3f8
AB
17452019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1746
1747 PR breakpoints/24541
1748 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1749
da738167
TV
17502019-07-14 Tom de Vries <tdevries@suse.de>
1751
1752 PR testsuite/24760
1753 * gdb.objc/basicclass.exp: Fix unterminated string.
1754
0d4e84ed
AB
17552019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1756 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1759 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1760 negative bounds.
1761 * gdb.fortran/vla-value.exp: Print elements of an array with
1762 negative bounds.
1763 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1764 testing.
1765
021d8588
AB
17662019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1767
1768 * gdb.base/options.exp (expect_string): Dequote strings in
1769 results.
1770 (test-string): Test strings with different quoting and reindent.
1771
f06f1252
TT
17722019-07-10 Tom Tromey <tromey@adacore.com>
1773
1774 * gdb.ada/mi_ex_cond.exp: Update expected results.
1775 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1776 * gdb.ada/mi_catch_ex.exp: Update expected results.
1777 * gdb.ada/mi_catch_assert.exp: Update expected results.
1778 * gdb.ada/catch_ex.exp (catch_exception_info)
1779 (catch_exception_entry, catch_assert_entry)
1780 (catch_unhandled_entry): Update.
1781 * gdb.ada/catch_assert_if.exp: Update expected results.
1782
b863685d
RB
17832019-07-10 Richard Bunt <richard.bunt@arm.com>
1784 Stephen Roberts <stephen.roberts@arm.com>
1785
1786 * gdb.base/define.exp: Restore original prompt.
1787
cb1e4e32
PA
17882019-07-09 Pedro Alves <palves@redhat.com>
1789
1790 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1791 breakpoints" output.
1792 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1793 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1794 throw" creates breakpoint.
1795 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1796 'type="catchpoint"'.
1797
b58a68fe
PA
17982019-07-09 Pedro Alves <palves@redhat.com>
1799
1800 PR c++/15468
1801 * gdb.cp/except-multi-location-lib.cc: New.
1802 * gdb.cp/except-multi-location-main.cc: New.
1803 * gdb.cp/except-multi-location.exp: New.
1804
0826779b
PW
18052019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1806
1807 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1808 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1809 argument and update callers.
1810
5b0e2db4
AB
18112019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * gdb.arch/amd64-break-on-asm-line.S: New file.
1814 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1815
1f6f6e21
PW
18162019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1817
1818 * gdb.base/printcmds.exp: Test printing C string and
1819 C wide string convenience vars without transiting via the inferior.
1820 Also make test names unique.
1821
ea142fbf
AH
18222019-07-08 Alan Hayward <alan.hayward@arm.com>
1823
5862c886 1824 PR breakpoints/25011
ea142fbf
AH
1825 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1826
213fd9fa
PA
18272019-07-04 Pedro Alves <palves@redhat.com>
1828
1829 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1830 body returned ok(0), break(3) or continue(4).
1831 * gdb.testsuite/foreach_with_prefix.exp: New file.
1832
2b40fda7
AH
18332019-07-04 Alan Hayward <alan.hayward@arm.com>
1834
1835 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1836
a26c8de0
PA
18372019-07-03 Pedro Alves <palves@redhat.com>
1838
1839 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1840 "return -code".
1841
5f4ba3e7
PA
18422019-07-03 Pedro Alves <palves@redhat.com>
1843
1844 PR cli/24732
1845 * gdb.base/shell.exp: Load completion-support.exp.
1846 Adjust expected error output. Add completion tests.
1847
a994424f
PA
18482019-07-03 Pedro Alves <palves@redhat.com>
1849
1850 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1851 string_to_regexp.
1852
3d9be6f5
PA
18532019-07-03 Pedro Alves <palves@redhat.com>
1854
1855 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1856 (expect_integer): Adjust to expect "-string".
1857 (expect_string): New.
1858 (all_options): Expect "-string".
1859 (test-flag, test-boolean): Adjust to expect "-string".
1860 (test-string): New proc.
1861 (top level): Call it.
1862
41fc454c
PA
18632019-07-03 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1866 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1867 the expected output in the success.
1868
b2b2a215
PA
18692019-07-03 Pedro Alves <palves@redhat.com>
1870
1871 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1872 Split one gdb_test_multiple call in two to avoid a race.
1873
fdbc9870
PA
18742019-07-03 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.base/with.c: New file.
1877 * gdb.base/with.exp: New file.
1878
c6ac8931
PA
18792019-07-03 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.base/settings.exp: Replace all references to "maint
1882 test-settings set" with references to "maint set test-settings",
1883 and all references to "maint test-settings show" with references
1884 to "maint show test-settings".
1885
970f9d09
PA
18862019-07-03 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/settings.exp (test-string): Adjust expected out when
1889 testing "maint test-settings show filename"
1890
54d66006
PA
18912019-07-02 Pedro Alves <palves@redhat.com>
1892
1893 * gdb.base/options.exp (test-info-threads): New procedure.
1894 (top level): Call it.
1895
10d06d82
TT
18962019-06-28 Tom Tromey <tromey@adacore.com>
1897
1898 * gdb.dwarf2/ada-linkage-name.c: New file.
1899 * gdb.dwarf2/ada-linkage-name.exp: New file.
1900
3d507ff2
TT
19012019-06-27 Tom Tromey <tromey@adacore.com>
1902
d039f014 1903 PR c++/20020:
3d507ff2
TT
1904 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1905
8af58ffe
TV
19062019-06-26 Tom de Vries <tdevries@suse.de>
1907
1908 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1909
22e21752
TV
19102019-06-26 Tom de Vries <tdevries@suse.de>
1911
1912 * gdb.base/index-cache.exp: Add back missing debug option.
1913
b65b566c
PW
19142019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1915
1916 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1917
5c2c8c69
TV
19182019-06-25 Tom de Vries <tdevries@suse.de>
1919
1920 PR testsuite/24727
1921 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1922
164e3873
TV
19232019-06-24 Tom de Vries <tdevries@suse.de>
1924
1925 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1926
824eacee
TV
19272019-06-24 Tom de Vries <tdevries@suse.de>
1928
1929 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1930 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1931 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1932
385b97d3
TV
19332019-06-24 Tom de Vries <tdevries@suse.de>
1934
1935 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1936
c596f180
TV
19372019-06-21 Tom de Vries <tdevries@suse.de>
1938
1939 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1940
b13a7d03
TV
19412019-06-21 Tom de Vries <tdevries@suse.de>
1942
1943 PR testsuite/24518
1944 PR ada/24713
1945 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1946 index.
1947
899277ae
TT
19482019-06-19 Tom Tromey <tromey@adacore.com>
1949
1950 * gdb.ada/length_cond.exp: Add intro comment.
1951
680e1bee
TT
19522019-06-19 Tom Tromey <tromey@adacore.com>
1953
1954 * gdb.ada/length_cond.exp: New file.
1955 * gdb.ada/length_cond/length_cond.adb: New file.
1956 * gdb.ada/length_cond/pck.adb: New file.
1957 * gdb.ada/length_cond/pck.ads: New file.
1958
0ed4690a
TV
19592019-06-18 Tom de Vries <tdevries@suse.de>
1960
1961 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1962
d20ed5fd
TT
19632019-06-18 Tom Tromey <tromey@adacore.com>
1964
1965 * gdb.base/list0.h: Add comment explaining control character.
1966
86e04673
TV
19672019-06-18 Tom de Vries <tdevries@suse.de>
1968
1969 * boards/fission.exp: Break up long debug_flags line.
1970
c4973306
SM
19712019-06-16 Tom de Vries <tdevries@suse.de>
1972
1973 PR gdb/24445
1974 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1975 generated index.
1976
93cb9841
AB
19772019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1978
1979 PR gdb/24686
1980 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1981 improve detection of bug gdb/24541.
1982
399aaebd
SM
19832019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1984
1985 PR gdb/24669
1986 * gdb.base/index-cache.exp (uses_readnow,
1987 expecting_index_cache_use): Define global variable.
1988 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1989 expecting_index_cache_use.
1990
584a927c
AB
19912019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1992 Andrew Burgess <andrew.burgess@embecosm.com>
1993
1994 * gdb.fortran/pointers.f90: New file.
1995 * gdb.fortran/print_type.exp: New file.
1996 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1997 * gdb.fortran/vla-type.exp: Likewise.
1998 * gdb.fortran/vla-value.exp: Likewise.
1999 * gdb.mi/mi-vla-fortran.exp: Likewise.
2000
30056ea0
AB
20012019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2002
2003 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2004 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2005 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2006 as a stop reason.
2007
ec8e2b6d
AB
20082019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.base/annota1.exp: Update expected results.
2011 * gdb.cp/annota2.exp: Likewise.
2012 * gdb.cp/annota3.exp: Likewise.
2013
09e4c4e1
AB
20142019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2015
2016 * gdb.base/style-logging.exp: Remove path from test name.
2017
0735b091
TT
20182019-06-14 Tom Tromey <tromey@adacore.com>
2019
2020 PR gdb/24502:
2021 * gdb.base/style-logging.exp: New file.
2022
f5686554
TT
20232019-06-14 Tom Tromey <tromey@adacore.com>
2024
2025 * gdb.base/symfile-warn.exp: New file.
2026 * gdb.base/symfile-warn.c: New file.
2027
a0c1ffed
TT
20282019-06-14 Tom Tromey <tromey@adacore.com>
2029
2030 * gdb.base/annotate-symlink.exp: New file.
2031
f411722c
TT
20322019-06-14 Tom Tromey <tromey@adacore.com>
2033
2034 * gdb.ada/set_wstr.exp: Add reassignment test.
2035
4268ec18
TT
20362019-06-14 Tom Tromey <tromey@adacore.com>
2037
2038 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2039 'unchecked_access and 'unrestricted_access as well.
2040
9a9e394b
TT
20412019-06-14 Tom Tromey <tromey@adacore.com>
2042
2043 PR ada/24539:
2044 * gdb.ada/vla.exp: Update tests.
2045 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2046 pragma.
2047
4c048731
PA
20482019-06-13 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.base/settings.exp (test-integer): Test junk after
2051 "unlimited".
2052
6665660a
PA
20532019-06-13 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.base/options.exp (test-thread-apply): New.
2056 (top level): Call it.
2057
5d707134
PA
20582019-06-13 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.base/options.exp (test-frame-apply): New.
2061 (top level): Test print commands with different "frame apply"
2062 prefixes.
2063
e2a689da
PA
20642019-06-13 Pedro Alves <palves@redhat.com>
2065
e79be6e5 2066 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2067 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2068 'max_completions' parameter and handle it.
2069 (test_gdb_completion_offers_commands): New.
2070
90a1ef87
PA
20712019-06-13 Pedro Alves <palves@redhat.com>
2072
2073 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2074
d4c16835
PA
20752019-06-13 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/options.exp (test-backtrace): New.
2078 (top level): Call it.
2079
2daf894e
PA
20802019-06-13 Pedro Alves <palves@redhat.com>
2081
2082 * gdb.guile/scm-frame-args.exp: Use "set print
2083 raw-frame-arguments" instead of "set print raw frame-arguments".
2084 * gdb.python/py-frame-args.exp: Likewise.
2085
e6ed716c
PA
20862019-06-13 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.compile/compile.exp: Adjust expected output to option
2089 processing changes.
2090
7d8062de
PA
20912019-06-13 Pedro Alves <palves@redhat.com>
2092
2093 * gdb.base/options.exp: Build executable.
2094 (test-print): New procedure.
2095 (top level): Call it, once for "print" and another for "compile
2096 print".
2097
9d0faba9
PA
20982019-06-13 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.base/options.c: New file.
2101 * gdb.base/options.exp: New file.
2102
dee7b4c8
PA
21032019-06-13 Pedro Alves <palves@redhat.com>
2104
2105 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2106 that "o" is ambiguous.
2107
dca0f6c0
PA
21082019-06-13 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.base/settings.c: New file.
2111 * gdb.base/settings.exp: New file.
2112
ccf46844
PA
21132019-06-13 Pedro Alves <palves@redhat.com>
2114
2115 * gdb.base/completion.exp: Fix comment typo.
2116
b9a3f842
PA
21172019-06-13 Pedro Alves <palves@redhat.com>
2118
2119 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2120 foo --1" test.
2121
d106773e
PA
21222019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2123
2124 * gdb.fortran/block-data.f: New.
2125 * gdb.fortran/block-data.exp: New.
2126
fea82da0
TV
21272019-06-11 Tom de Vries <tdevries@suse.de>
2128
2129 PR testsuite/24521
2130 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2131 message.
2132
8c2e74f1
TV
21332019-06-11 Tom de Vries <tdevries@suse.de>
2134
2135 PR testsuite/24521
2136 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2137
b49851c8
TV
21382019-06-11 Tom de Vries <tdevries@suse.de>
2139
2140 * boards/readnow.exp: New file.
2141
a7067863
AB
21422019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2143
2144 * gdb.fortran/vla-sizeof.exp: Update expected results.
2145
1a3da2cd
AB
21462019-06-06 Amos Bird <amosbird@gmail.com>
2147
2148 * gdb.base/annota1.exp (thread_switch): Add test for
2149 thread-exited annotation.
2150
3847a7bf
TT
21512019-06-06 Tom Tromey <tromey@adacore.com>
2152
2153 * gdb.base/maint.exp: Expect command started/finished output.
2154
0088ba59
AB
21552019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2156
2157 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2158 comment.
2159 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2160
312617a3
AB
21612019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2162
2163 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2164 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2165 * gdb.arch/riscv-unwind-long-insn.c: New file.
2166 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2167
e1f2e1a2
CB
21682019-06-04 Christian Biesinger <cbiesinger@google.com>
2169
d3238f7d 2170 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2171
206584bd
PW
21722019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2173
2174 * lib/gdb.exp (help_list_trailer): New regexp variable
2175 factorizing the help trailer message.
2176 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2177 arg to allow to better factorize various tests.
2178 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2179 (test_prefix_command_help): Use help_list_trailer.
2180 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2181 * gdb.guile/scm-cmd.exp: Likewise.
2182 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2183 * gdb.base/help.exp: Use test_user_defined_class_help.
2184 * gdb.base/style.exp: Add tests for styling of help and apropos.
2185 * lib/gdb-utils.exp (style): Add title and highlight styles.
2186
708dc93e
PW
21872019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2188
2189 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2190 $_shell_exitsignal.
2191 * gdb.base/default.exp: Update for new convenience variables.
2192
f49055a5
TT
21932019-05-29 Tom Tromey <tromey@adacore.com>
2194
2195 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2196 to "break complete ada" test case's regexp.
2197
4330d61d
TT
21982019-05-29 Tom Tromey <tromey@adacore.com>
2199
2200 PR c++/20020:
2201 * gdb.cp/constexpr-field.exp: New file.
2202 * gdb.cp/constexpr-field.cc: New file.
2203
000439d5
TT
22042019-05-29 Tom Tromey <tromey@adacore.com>
2205
2206 * gdb.base/finish.exp (finish_no_print): New proc.
2207 (finish_tests): Call it.
2208
5a01c34c
TV
22092019-05-24 Tom de Vries <tdevries@suse.de>
2210
2211 * gdb.dwarf2/gdb-add-index.exp: New file.
2212
18125b16
TT
22132019-05-22 Tom Tromey <tromey@adacore.com>
2214
2215 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2216 * gdb.base/style.exp: Use "style".
2217 * lib/gdb-utils.exp (style): New proc.
2218
af1a8d03
TV
22192019-05-22 Tom de Vries <tdevries@suse.de>
2220
2221 * gdb.base/align.exp: Require c++11.
2222
e7fe496b
TV
22232019-05-22 Tom de Vries <tdevries@suse.de>
2224
2225 PR testsuite/24586
2226 * gdb.python/py-mi-var-info-path-expression.exp: Call
2227 mi_skip_python_tests to check if python is supported.
2228
8fca4da0
AH
22292019-05-22 Alan Hayward <alan.hayward@arm.com>
2230
2231 * gdb.arch/aarch64-pauth.c: New test.
2232 * gdb.arch/aarch64-pauth.exp: New file.
2233
b7060614
AH
22342019-05-22 Alan Hayward <alan.hayward@arm.com>
2235
2236 * README (Re-running Tests Outside The Testsuite): New section.
2237
669d0468
TV
22382019-05-21 Tom de Vries <tdevries@suse.de>
2239
2240 * gdb.arch/amd64-eval.exp: Require c++11.
2241 * gdb.base/max-depth.exp: Same.
2242 * gdb.compile/compile-cplus-array-decay.exp: Same.
2243 * gdb.cp/meth-typedefs.exp: Same.
2244 * gdb.cp/subtypes.exp: Same.
2245 * gdb.cp/temargs.exp: Same.
2246
ce3ebcaa
AH
22472019-05-21 Alan Hayward <alan.hayward@arm.com>
2248
2249 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2250
34d11c68
AB
22512019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2252
2253 PR gdb/18644
2254 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2255 * gdb.fortran/printing-types.exp: Add new test.
2256 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2257 testing.
2258 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2259 setup_kfail call.
2260
87781e84
AH
22612019-05-17 Alan Hayward <alan.hayward@arm.com>
2262
2263 * README (Running the Testsuite): Change example.
2264 (Testsuite Parameters): Remove TRANSCRIPT.
2265 * lib/gdb.exp: Remove TRANSCRIPT check.
2266
b420b89e
AH
22672019-05-17 Alan Hayward <alan.hayward@arm.com>
2268
2269 * README (Testsuite Parameters): Add replay logging to
2270 GDBSERVER_DEBUG.
2271 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2272 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2273 as a comma separated list.
2274 (gdb_debug_init): Override procedure.
2275
408e9b8b
AH
22762019-05-17 Alan Hayward <alan.hayward@arm.com>
2277
2278 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2279 (gdb_write_cmd_file): New procedure.
2280 * lib/gdbserver-support.exp (gdbserver_start): Call
2281 gdbserver_write_cmd_file.
2282 (gdbserver_write_cmd_file): New procedure.
2283
f9e2e39d
AH
22842019-05-17 Alan Hayward <alan.hayward@arm.com>
2285
2286 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2287 (delete_breakpoints): Likewise.
2288 (gdb_run_cmd): Likewise.
2289 (gdb_start_cmd): Likewise.
2290 (gdb_starti_cmd): Likewise.
2291 (gdb_internal_error_resync): Likewise.
2292 (gdb_test_multiple): Likewise.
2293 (gdb_reinitialize_dir): Likewise.
2294 (default_gdb_exit): Likewise.
2295 (gdb_file_cmd): Mark kill as optional.
2296 (default_gdb_start): Call gdb_stdin_log_init.
2297 (send_gdb): Call gdb_stdin_log_write.
2298 (rerun_to_main): Mark Y as an answer.
2299 (gdb_stdin_log_init): New function.
2300 (gdb_stdin_log_write): Likewise.
2301
81f47ac2
AH
23022019-05-17 Alan Hayward <alan.hayward@arm.com>
2303
2304 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2305 * gdb.base/debug-expr.exp: Likewise.
2306 * gdb.base/foll-fork.exp: Likewise.
2307 * gdb.base/foll-vfork.exp: Likewise.
2308 * gdb.base/fork-print-inferior-events.exp: Likewise.
2309 * gdb.base/gdb-sigterm.exp: Likewise.
2310 * gdb.base/gdbinit-history.exp: Likewise.
2311 * gdb.base/osabi.exp: Likewise.
2312 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2313 * gdb.base/ui-redirect.exp: Likewise.
2314 * gdb.gdb/unittest.exp: Likewise.
2315 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2316 * gdb.mi/mi-watch.exp: Likewise.
2317 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2318 * gdb.mi/user-selected-context-sync.exp: Likewise.
2319 * gdb.python/python.exp: Disable debug test when debugging.
2320 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2321 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2322 Likewise.
2323 * gdb.threads/stepi-random-signal.exp: Likewise.
2324
29b52314
AH
23252019-05-17 Alan Hayward <alan.hayward@arm.com>
2326
2327 * Makefile.in: Pass through GDB_DEBUG.
2328 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2329 (gdb,debug): Add board setting.
2330 * lib/gdb.exp (default_gdb_start): Start debugging.
2331 (gdb_debug_enabled): New procedure.
2332 (gdb_debug_init): Likewise.
29b52314
AH
2333
23342019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2335
29b52314
AH
2336 * Makefile.in: Pass through GDB_DEBUG.
2337 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2338 (gdb,debug): Add board setting.
2339 * lib/gdb.exp (default_gdb_start): Start debugging.
2340 (gdb_debug_enabled): New procedure.
2341 (gdb_debug_init): Likewise.
29b52314 2342
ca1285d1
AH
23432019-05-17 Alan Hayward <alan.hayward@arm.com>
2344
2345 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2346
f3a09c80
AH
23472019-05-17 Alan Hayward <alan.hayward@arm.com>
2348
2349 * gdb.base/ui-redirect.exp: Test redirection.
2350
26648588
JV
23512019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2352
2353 * gdb.mi/mi-complete.exp: New file.
2354 * gdb.mi/mi-complete.cc: Likewise.
2355
14237686
AB
23562019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2357
2358 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2359 indexed and sliced arrays, and pointers to arrays.
2360
e7bd7fba
TT
23612019-05-14 Tom Tromey <tromey@adacore.com>
2362
2363 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2364 styling test.
2365
2764128d
TV
23662019-05-14 Tom de Vries <tdevries@suse.de>
2367
2368 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2369 selection entry encoding.
2370
71bed2db
TT
23712019-05-10 Tom Tromey <tromey@adacore.com>
2372
2373 * gdb.ada/info_exc.exp: Add "complete" test.
2374
63b667ad
TV
23752019-05-09 Tom de Vries <tdevries@suse.de>
2376
2377 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2378 CU-relative.
2379
9cfd2b89
TV
23802019-05-09 Tom de Vries <tdevries@suse.de>
2381
2382 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2383 CU-relative.
2384
2228ef77
XR
23852019-05-08 Joel Brobecker <brobecker@adacore.com>
2386
2387 * gdb.ada/frame_arg_lang.exp: New testcase.
2388 * gdb.ada/frame_arg_lang/bla.adb: New file.
2389 * gdb.ada/frame_arg_lang/pck.ads: New file.
2390 * gdb.ada/frame_arg_lang/pck.adb: New file.
2391 * gdb.ada/frame_arg_lang/foo.c: New file.
2392
80e55b13
TT
23932019-05-08 Tom Tromey <tromey@adacore.com>
2394
2395 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2396
9d3421af
TT
23972019-05-08 Tom Tromey <tromey@adacore.com>
2398
2399 * gdb.base/ptype-offsets.exp: Update tests.
2400
844333e2
TT
24012019-05-08 Tom Tromey <tromey@adacore.com>
2402
2403 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2404 cases.
2405 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2406 "short".
2407
988915ee
TT
24082019-05-08 Tom Tromey <tromey@adacore.com>
2409
2410 * gdb.ada/vla.exp: New file.
2411 * gdb.ada/vla/vla.adb: New file.
2412
7bd55dac
TV
24132019-05-07 Tom de Vries <tdevries@suse.de>
2414
2415 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2416
75f06e9d
TV
24172019-05-07 Tom de Vries <tdevries@suse.de>
2418
2419 PR testsuite/24522
2420 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2421 section.
2422
77e7aaa4
TV
24232019-05-07 Tom de Vries <tdevries@suse.de>
2424
2425 PR testsuite/24522
2426 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2427 .debug_aranges section.
2428
456ba0fa
TV
24292019-05-07 Tom de Vries <tdevries@suse.de>
2430
2431 PR testsuite/24159
2432 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2433
5a56d6a6
TV
24342019-05-06 Tom de Vries <tdevries@suse.de>
2435
2436 * lib/gdb.exp (exec_has_index_section): New proc.
2437 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2438 section.
2439
9d6d4be8
TV
24402019-05-04 Tom de Vries <tdevries@suse.de>
2441
2442 * boards/cc-with-debug-names.exp: New file.
2443
222a8d25
TT
24442019-05-03 Tom Tromey <tromey@adacore.com>
2445
2446 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2447 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2448 * gdb.ada/char_enum.exp: Add test.
2449
0fdfd794
TV
24502019-05-03 Tom de Vries <tdevries@suse.de>
2451
2452 * boards/cc-with-gdb-index.exp: New file.
2453
80062eb9
AB
24542019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2455
2456 * gdb.rust/simple.exp: Add new test case.
2457 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2458 (main): Initialise an instance of the new struct.
2459
4504bbde
TT
24602019-05-01 Tom Tromey <tromey@adacore.com>
2461
2462 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2463 record.
2464 (NPR): New variable.
2465 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2466 test.
2467
d48e62f4
TT
24682019-05-01 Tom Tromey <tromey@adacore.com>
2469
2470 * gdb.ada/packed_array_assign.exp: Add packed assignment
2471 regression test.
2472
f59f30f5
TV
24732019-05-01 Tom de Vries <tdevries@suse.de>
2474
2475 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2476
b70bfc54
TV
24772019-05-01 Tom de Vries <tdevries@suse.de>
2478
2479 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2480
15f18d14
AT
24812019-04-30 Ali Tamur <tamur@google.com>
2482
2483 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2484
2ff0a947
TT
24852019-04-30 Tom Tromey <tromey@adacore.com>
2486
2487 * lib/ada.exp (find_ada_tool): New proc.
2488 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2489 * gdb.ada/catch_ex_std.exp: New file.
2490 * gdb.ada/catch_ex_std/foo.adb: New file.
2491 * gdb.ada/catch_ex_std/some_package.adb: New file.
2492 * gdb.ada/catch_ex_std/some_package.ads: New file.
2493
a776957c
TT
24942019-04-30 Tom Tromey <tromey@adacore.com>
2495
2496 PR c++/24470:
2497 * gdb.cp/temargs.cc: Add test code from PR.
2498
bc68014d
AB
24992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2500
2501 * gdb.fortran/vla-datatypes.exp: Update expected results.
2502 * gdb.fortran/vla-ptype.exp: Likewise.
2503 * gdb.fortran/vla-type.exp: Likewise.
2504 * gdb.fortran/vla-value.exp: Likewise.
2505
f1fdc960
AB
25062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2507
2508 * gdb.fortran/ptr-indentation.exp: Update expected results.
2509 * gdb.fortran/ptype-on-functions.exp: Likewise.
2510 * gdb.fortran/vla-ptr-info.exp: Likewise.
2511 * gdb.fortran/vla-value.exp: Likewise.
2512
bf7a4de1
AB
25132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2514
2515 * gdb.fortran/ptype-on-functions.exp: New file.
2516 * gdb.fortran/ptype-on-functions.f90: New file.
2517
bbe75b9d
AB
25182019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2519
2520 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2521 case void string.
2522
1db455a7
AB
25232019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2524
2525 * gdb.fortran/complex.exp: Expand.
2526 * gdb.fortran/complex.f: Renamed to...
2527 * gdb.fortran/complex.f90: ...this, and extended to add more
2528 complex values.
2529
b6d03bb2
AB
25302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2531
2532 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2533 MODULO, CMPLX.
2534
2e62ab40
AB
25352019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2536 Richard Bunt <richard.bunt@arm.com>
2537
2538 * gdb.base/max-depth.c: New file.
2539 * gdb.base/max-depth.exp: New file.
2540 * gdb.python/py-nested-maps.c: New file.
2541 * gdb.python/py-nested-maps.exp: New file.
2542 * gdb.python/py-nested-maps.py: New file.
2543 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2544 (test_all_common): Call test_max_depth.
2545 * gdb.fortran/max-depth.exp: New file.
2546 * gdb.fortran/max-depth.f90: New file.
2547 * gdb.go/max-depth.exp: New file.
2548 * gdb.go/max-depth.go: New file.
2549 * gdb.modula2/max-depth.exp: New file.
2550 * gdb.modula2/max-depth.c: New file.
2551 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2552
d2b584a5
TV
25532019-04-29 Tom de Vries <tdevries@suse.de>
2554
2555 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2556
136afab8
PW
25572019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2558
2559 * gdb.base/callexit.exp: Test may-call-functions off.
2560
725cbb63
KS
25612019-04-25 Keith Seitz <keiths@redhat.com>
2562
2563 PR c++/24367
2564 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2565 (another_incomplete_struct, test_incomplete): New definitions.
2566 (main): Use new definitions.
2567 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2568 functions.
2569
701adfb0
PA
25702019-04-25 Ali Tamur <tamur@google.com>
2571
2572 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2573
82433e3e
SDJ
25742019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2575
2576 PR corefiles/11608
2577 PR corefiles/18187
2578 * gdb.base/coredump-filter-build-id.exp: New file.
2579
dd06d4d6
AH
25802019-04-25 Alan Hayward <alan.hayward@arm.com>
2581
e79be6e5
SM
2582 * Makefile.in: Pass through GDBSERVER_DEBUG.
2583 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2584 (gdbserver,debug): Add board setting.
2585 * gdb.trace/tspeed.exp: Skip when debugging.
2586 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2587 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2588
1670072e
TT
25892019-04-24 Tom Tromey <tromey@adacore.com>
2590
2591 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2592 Rust.
2593
a59240a4
TT
25942019-04-24 Tom Tromey <tromey@adacore.com>
2595
2596 * gdb.arch/amd64-eval.exp: Test bitfield return.
2597 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2598 (class Foo) <return_bitfields>: New method.
2599 (main): Call it.
2600
b907456c
AB
26012019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2602
2603 * gdb.cp/many-args.cc: New file.
2604 * gdb.cp/many-args.exp: New file.
2605
5c565afd
TV
26062019-04-23 Tom de Vries <tdevries@suse.de>
2607
2608 PR gdb/24433
2609 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2610
ba22ff86
AH
26112019-04-23 Alan Hayward <alan.hayward@arm.com>
2612
2613 * gdb.trace/backtrace.exp: Use nopie flag.
2614 * gdb.trace/circ.exp: Likewise.
2615 * gdb.trace/collection.exp: Likewise.
2616 * gdb.trace/ftrace.exp: Likewise.
2617 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2618 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2619 * gdb.trace/qtro.exp: Likewise.
2620 * gdb.trace/read-memory.exp: Likewise.
2621 * gdb.trace/report.exp: Likewise.
2622 * gdb.trace/tfile.exp: Likewise.
2623 * gdb.trace/tfind.exp: Likewise.
2624 * gdb.trace/unavailable.exp: Likewise.
2625
7905fc35
PA
26262019-04-22 Pedro Alves <palves@redhat.com>
2627
2628 * gdb.base/solib-probes-nosharedlibrary.c,
2629 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2630
8ecb59f8
TT
26312019-04-19 Tom Tromey <tromey@adacore.com>
2632
2633 * gdb.ada/ptype_union.c: New file.
2634 * gdb.ada/ptype_union.exp: New file.
2635
62160ec9
TT
26362019-04-19 Tom Tromey <tromey@adacore.com>
2637
2638 PR symtab/24423:
2639 * gdb.base/list0.h (foo): Add a control-l character.
2640
36cd4ba5
TV
26412019-04-18 Tom de Vries <tdevries@suse.de>
2642
2643 PR gdb/24433
2644 * boards/local-board.exp: Set sysroot to "".
2645
b73715df
TV
26462019-04-18 Tom de Vries <tdevries@suse.de>
2647 Pedro Alves <palves@redhat.com>
2648
2649 PR gdb/24454
2650 * gdb.threads/vfork-follow-child-exec.c: New file.
2651 * gdb.threads/vfork-follow-child-exec.exp: New file.
2652 * gdb.threads/vfork-follow-child-exit.c: New file.
2653 * gdb.threads/vfork-follow-child-exit.exp: New file.
2654
4aa866af
LS
26552019-04-15 Leszek Swirski <leszeks@google.com>
2656
2657 * gdb.arch/amd64-eval.cc: New file.
2658 * gdb.arch/amd64-eval.exp: New file.
2659
e5a1a79a
AH
26602019-04-11 Alan Hayward <alan.hayward@arm.com>
2661
2662 * gdb.server/sysroot.c: New test.
2663 * gdb.server/sysroot.exp: New file.
2664 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2665 matching param.
2666
41077b66
AB
26672019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2668
2669 * gdb.base/align.exp: Extend test to cover structures containing
2670 only static fields.
2671
c30391f8
TV
26722019-04-11 Tom de Vries <tdevries@suse.de>
2673
2674 * boards/cc-with-dwz-m.exp: New file.
2675 * boards/cc-with-dwz.exp: New file.
2676 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2677
e242fd12
SM
26782019-04-09 Simon Marchi <simon.marchi@efficios.com>
2679
2680 * gdb.base/start-cpp.exp: New file.
2681 * gdb.base/start-cpp.cc: New file.
2682
2b0c8b01
KB
26832019-04-08 Kevin Buettner <kevinb@redhat.com>
2684
2685 * gdb.python/py-thrhandle.exp: Adjust tests to call
2686 thread_from_handle instead of thread_from_thread_handle.
2687
947210e5
KB
26882019-04-08 Kevin Buettner <kevinb@redhat.com>
2689
2690 * gdb.python/py-thrhandle.exp: Add tests for
2691 gdb.InferiorThread.handle.
2692
d7df6549
AB
26932019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2694
2695 * gdb.python/py-function.exp: Check calling helper function from
2696 all languages.
2697 * lib/gdb.exp (gdb_supported_languages): New proc.
2698
8bdc1658
AB
26992019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2700
2701 * gdb.base/complex-parts.c: New file.
2702 * gdb.base/complex-parts.exp: New file.
2703
05caa1d2
TT
27042019-04-01 Tom Tromey <tromey@adacore.com>
2705
2706 PR symtab/23331:
2707 * gdb.dwarf2/dw2-ranges-main.c: New file.
2708 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2709 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2710
7734102d
EZ
27112019-03-30 Simon Marchi <simark@simark.ca>
2712
2713 * gdb.base/default.exp: Add values for $_gdb_major and
2714 $_gdb_minor.
2715
188e1fa9
TT
27162019-03-29 Tom Tromey <tromey@adacore.com>
2717
2718 * gdb.base/help.exp: Tighten apropos regexp.
2719
2880242d
KS
27202019-03-29 Keith Seitz <keiths@redhat.com>
2721
2722 * gdb.fortran/array-bounds.exp: New file.
2723 * gdb.fortran/array-bounds.f90: New file.
2724
077cad8e
PW
27252019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2726
2727 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2728
80047cfc
PW
27292019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2730
2731 * gdb.multi/hello.c (main): Increase alarm timer.
2732
f489207e
SL
27332019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2734
2735 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2736 factor when no hardware watchpoint support.
2737
c92df149
AH
27382019-03-28 Alan Hayward <alan.hayward@arm.com>
2739 Pedro Alves <palves@redhat.com>
2740
2741 * boards/local-board.exp: set sysroot to /.
2742
933aebfa
AH
27432019-03-27 Alan Hayward <alan.hayward@arm.com>
2744
2745 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2746 in child.
2747
9f9aa852
AB
27482019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2749
2750 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2751 field.
2752 (make_container): Initialise new field.
2753 * gdb.python/py-prettyprint.exp: Add new tests.
2754 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2755 <display_hint>: New method.
2756
3714a195
AB
27572019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2758
2759 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2760 gdb_continue_to_breakpoint more throughout this test.
2761 (run_lang_tests) Supply unique test names, and use
2762 gdb_test_no_output.
2763
18c77628
AB
27642019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2765
2766 * gdb.base/finish-pretty.exp: Update expected results.
2767 * gdb.base/pretty-print.c: New file.
2768 * gdb.base/pretty-print.exp: New file.
2769
9a93502f
PA
27702019-03-25 Pedro Alves <palves@redhat.com>
2771
2772 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2773 move comments outside list. Append '-i "" eof' section.
2774
968aa7ae
AH
27752019-03-22 Alan Hayward <alan.hayward@arm.com>
2776
34a7f2a4 2777 PR testsuite/25016
968aa7ae
AH
2778 * README: Add pie options.
2779 * gdb.base/break-interp.exp: Ensure pie is disabled.
2780 * gdb.base/dump.exp: Likewise.
2781 * lib/gdb.exp (gdb_compile): Add pie option.
2782
4c7d57e7
TT
27832019-03-19 Tom Tromey <tromey@adacore.com>
2784
2785 * gdb.mi/mi2-cli-display.c: New file.
2786 * gdb.mi/mi2-cli-display.exp: New file.
2787
bff8c71f
TT
27882019-03-18 Joel Brobecker <brobecker@adacore.com>
2789 Tom Tromey <tromey@adacore.com>
2790
2791 * gdb.ada/ptype_array/pck.adb: New file.
2792 * gdb.ada/ptype_array/pck.ads: New file.
2793 * gdb.ada/ptype_array/foo.adb: New file.
2794 * gdb.ada/ptype_array.exp: New file.
2795
d085f989
TT
27962019-03-14 Tom Tromey <tromey@adacore.com>
2797
2798 * gdb.base/style.exp: Add "set style sources" test.
2799
b4be1b06
SM
28002019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2801
2802 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2803 * mi-breakpoint-multiple-locations.exp: ... this.
2804 (make_breakpoints_pattern): New proc.
2805 (do_test): Add mi_version parameter, test -break-insert,
2806 -break-info and =breakpoint-created.
2807
7cde5fc2
AB
28082019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2809
2810 * config/default.exp: Remove 'load_lib gdb.exp'.
2811 * config/monitor.exp: Likewise.
2812 * config/sid.exp: Likewise.
2813 * config/sim.exp: Likewise.
2814 * config/slite.exp: Likewise.
2815 * config/unix.exp: Likewise.
2816 * gdb.base/default.exp: Remove unhelpful comment.
2817
efbecbc1
AB
28182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2819
2820 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2821
0841c79a
AB
28222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2823
2824 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2825
4a270568
AB
28262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2827
2828 * gdb.fortran/type-kinds.exp: Update expected results.
2829
067630bd
AB
28302019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2831
2832 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2833
3be47f7a
AB
28342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2835
2836 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2837 function.
2838 (test_basic_parsing_of_type_kinds): Expand types tested.
2839 (test_parsing_invalid_type_kinds): New function.
2840
4d00f5d8
AB
28412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2842
2843 * gdb.fortran/intrinsics.exp: New file.
2844 * gdb.fortran/intrinsics.f90: New file.
2845 * gdb.fortran/type-kinds.exp: New file.
2846
c8f91604
AB
28472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2848
2849 * gdb.fortran/dot-ops.exp: New file.
2850
dd9f2c76
AB
28512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2854 Check upper and lower case logical literals.
2855
84ec9724
AB
28562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2857
2858 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2859 Remove duplicate tests.
2860
c3734e09
AH
28612019-03-06 Alan Hayward <alan.hayward@arm.com>
2862
2863 * lib/gdb.exp (builtin_cd): rename of cd.
2864 (cd): Override builtin.
2865
aa3cfbda
RB
28662019-03-06 Richard Bunt <richard.bunt@arm.com>
2867
2868 * gdb.fortran/function-calls.exp: New file.
2869 * gdb.fortran/function-calls.f90: New test.
2870
7b63ad86
RB
28712019-03-04 Richard Bunt <richard.bunt@arm.com>
2872
2873 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2874 on user program standard output.
2875 * gdb.fortran/short-circuit-argument-list.f90: Record function
2876 calls.
2877
01abb042
AH
28782019-02-28 Alan Hayward <alan.hayward@arm.com>
2879
c3734e09
AH
2880 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2881 failure.
01abb042 2882
92137da0
RO
28832019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2884
2885 PR gdb/8527
2886 * gdb.base/interrupt-daemon-attach.c,
2887 gdb.base/interrupt-daemon-attach.exp: New test.
2888
5862844d
PA
28892019-02-27 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.base/page.exp: Add tests for "set width/height -1".
2892
8ed25214
PA
28932019-02-27 Pedro Alves <palves@redhat.com>
2894
2895 * gdb.base/page.exp: Add tests for "set/show width/height" with
2896 "infinite" values.
2897
6c28e44a
TT
28982019-02-27 Tom Tromey <tromey@adacore.com>
2899
2900 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2901 2.4.
2902 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2903 workaround.
2904
bf9a735e
AB
29052019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2906
2907 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2908 tests for structs with static members.
2909
8791793c
TT
29102019-02-26 Tom Tromey <tromey@adacore.com>
2911
2912 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2913 ValueError, not TypeError.
2914
bc2a507e
KB
29152019-02-26 Kevin Buettner <kevinb@redhat.com>
2916
2917 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2918 call from main program.
2919
e0e7d3bd
JB
29202019-02-23 Joel Brobecker <brobecker@adacore.com>
2921
2922 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2923 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2924 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2925 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2926 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2927
9600246d
KS
29282019-02-22 Keith Seitz <keiths@redhat.com>
2929
2930 PR symtab/23853
2931 * gdb.base/symlink-sourcefile.c: New file.
2932 * gdb.base/symlink-sourcefile.exp: New file.
2933
0c95f9ed
TT
29342019-02-20 Tom Tromey <tom@tromey.com>
2935
2936 * gdb.base/info_qt.exp: Update.
2937
6caa91b6
SM
29382019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2939
2940 * gdb.base/source.exp: Move "error in sourced script" code to
2941 the end.
2942 * gdb.base/source-error.gdb: Move contents to
2943 source-error-1.gdb. Add new code to source source-error-1.gdb.
2944 * gdb.base/source-error-1.gdb: New file, from previous
2945 source-error.gdb.
2946
6506371f
TT
29472019-02-17 Tom Tromey <tom@tromey.com>
2948
2949 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2950 for macro styling.
2951 * gdb.base/style.c (SOME_MACRO): New macro.
2952
a0087920
TT
29532019-02-17 Tom Tromey <tom@tromey.com>
2954
2955 * gdb.base/style.exp: Add line-wrapping tests.
2956 * gdb.base/page.exp: Add test for quitting during pagination.
2957
a2cd4f14
JB
29582019-02-17 Joel Brobecker <brobecker@adacore.com>
2959
2960 * gdb.ada/big_packed_array: New testcase.
2961 * gdb.ada/homonym.exp: Fix incorrect expected output for
2962 "break <homonym__get_value>" test.
2963
9d70ffbc
WP
29642019-02-13 Weimin Pan <weimin.pan@oracle.com>
2965
2966 PR breakpoints/21870
2967 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2968 and prepare_for_testing. Add comment.
2969 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2970 redundant cleanup call. Clean up comment.
2971
01c7ae81
WP
29722019-02-12 Weimin Pan <weimin.pan@oracle.com>
2973
2974 PR breakpoints/21870
2975 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2976 * gdb.arch/aarch64-dbreg-contents.c: New file.
2977
aff29d1c
JB
29782019-02-10 Joel Brobecker <brobecker@adacore.com>
2979
2980 * gdb.ada/mi_ref_changeable: New testcase.
2981
df0da8a2
AH
29822019-02-07 Alan Hayward <alan.hayward@arm.com>
2983
2984 * gdb.base/attach.exp: Add double attach test.
2985
bd447abb
SM
29862019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2987
2988 * lib/gdb.exp (default_gdb_start): Don't match pagination
2989 prompt.
2990 (gdb_init): Set stty_init.
2991
1dbc40b9
TT
29922019-01-27 Tom Tromey <tom@tromey.com>
2993
2994 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2995 skip_python_tests.
2996
353229bf
AH
29972019-01-24 Alan Hayward <alan.hayward@arm.com>
2998
2999 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3000 New structure.
3001 (struct struct_static_02_02): Likewise.
3002 (struct struct_static_02_03): Likewise.
3003 (struct struct_static_02_04): Likewise.
3004 (struct struct_static_04_01): Likewise.
3005 (struct struct_static_04_02): Likewise.
3006 (struct struct_static_04_03): Likewise.
3007 (struct struct_static_04_04): Likewise.
3008 (struct struct_static_06_01): Likewise.
3009 (struct struct_static_06_02): Likewise.
3010 (struct struct_static_06_03): Likewise.
3011 (struct struct_static_06_04): Likewise.
3012 (cmp_struct_static_02_01): Likewise.
3013 (cmp_struct_static_02_02): Likewise.
3014 (cmp_struct_static_02_03): Likewise.
3015 (cmp_struct_static_02_04): Likewise.
3016 (cmp_struct_static_04_01): Likewise.
3017 (cmp_struct_static_04_02): Likewise.
3018 (cmp_struct_static_04_03): Likewise.
3019 (cmp_struct_static_04_04): Likewise.
3020 (cmp_struct_static_06_01): Likewise.
3021 (cmp_struct_static_06_02): Likewise.
3022 (cmp_struct_static_06_03): Likewise.
3023 (cmp_struct_static_06_04): Likewise.
3024 (call_all): Test new structs.
3025 * gdb.base/infcall-nested-structs.exp: Likewise.
3026
73021deb
AH
30272019-01-21 Alan Hayward <alan.hayward@arm.com>
3028 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3029
fc65c7db
AH
30302019-01-21 Alan Hayward <alan.hayward@arm.com>
3031 * gdb.base/stack-protector.c: New test.
3032 * gdb.base/stack-protector.exp: New file.
3033 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3034 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3035 option.
3036 (gdb_compile): Remove stack protector for GCC and prevent
3037 recursion.
3038
c24bdb02
KS
30392019-01-16 Keith Seitz <keiths@redhat.com>
3040
3041 PR gdb/23773
3042 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3043
6f072a10
PFC
30442019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3045
3046 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3047 aliases.
3048 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3049 tests.
3050 * gdb.arch/powerpc-vector-regs.c: New file.
3051 * gdb.arch/powerpc-vector-regs.exp: New file.
3052
a7b8d682
PFC
30532019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3054
3055 * gdb.arch/altivec-regs.exp: Fix the list passed to
3056 gdb_expect_list when testing "info vector".
3057
6eb6fb67
AB
30582019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3059
3060 * gdb.base/style.exp: Don't include path in testname.
3061
b56f80d8
KS
30622019-01-10 Keith Seitz <keiths@redhat.com>
3063
3064 PR gdb/23712
3065 PR symtab/23010
3066 * gdb.dwarf2/multidictionary.exp: New file.
3067
041be526
SM
30682019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3069
3070 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3071 (test_gnuv3_style_demangling): ... this.
3072 (test_lucid_style_demangling): Remove.
3073 (test_arm_style_demangling): Remove.
3074 (test_hp_style_demangling): Remove.
3075 (do_tests): Remove calls to the above.
3076
d820d0c3
AB
30772019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3078
3079 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3080 case.
3081
f097f5ad
TT
30822019-01-06 Tom Tromey <tom@tromey.com>
3083
3084 PR gdb/28155:
3085 * gdb.dwarf2/typedef-void-finish.exp: New file.
3086
2cd8cc0b
TT
30872018-12-28 Tom Tromey <tom@tromey.com>
3088 Simon Marchi <simark@simark.ca>
3089
3090 * gdb.base/jit-exec.exp: New file.
3091 * gdb.base/jit-exec.c: New file.
3092 * gdb.base/jit-execd.c: New file.
3093
35fb8261
TT
30942018-12-28 Tom Tromey <tom@tromey.com>
3095
3096 * gdb.base/style.exp: Update test to check for address styling.
3097
47fd17cd
TT
30982018-12-28 Tom Tromey <tom@tromey.com>
3099
3100 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3101 message.
3102
d47032b7
TT
31032018-12-28 Tom Tromey <tom@tromey.com>
3104
3105 * gdb.base/style.exp: Add test for version number styling.
3106
af79b68d
TT
31072018-12-28 Tom Tromey <tom@tromey.com>
3108
3109 * gdb.base/style.exp: Add test for print_address_symbolic.
3110
0bb296cb
TT
31112018-12-28 Tom Tromey <tom@tromey.com>
3112
3113 * gdb.base/style.exp: Add test for breakpoint setting.
3114
80ae2043
TT
31152018-12-28 Tom Tromey <tom@tromey.com>
3116
3117 * gdb.base/style.exp: Add test for variable names.
3118
cbe56571
TT
31192018-12-28 Tom Tromey <tom@tromey.com>
3120
3121 * gdb.base/style.exp: New file.
3122 * gdb.base/style.c: New file.
3123
9162a27c
TT
31242018-12-28 Tom Tromey <tom@tromey.com>
3125
3126 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3127 "dumb".
3128 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3129 the TERM environment variable.
3130
bc543c90
TT
31312018-12-27 Tom Tromey <tom@tromey.com>
3132
3133 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3134 pagination test.
3135
6f0ffe50
AB
31362018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3139 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3140
b5a1e557
PW
31412018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3142
3143 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3144 Filename a.adb changed to bp_fun_addr.adb.
3145 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3146
6e8b1ab2
JV
31472018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3148
3149 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3150 non-PIE executables.
3151 * README: Mention the gdb,nopie_flag board setting.
3152 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3153 non-PIE executable.
3154 * gdb.arch/amd64-entry-value.exp: Likewise.
3155 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3156 * gdb.arch/i386-float.exp: Likewise.
3157 * gdb.arch/i386-signal.exp: Likewise.
3158 * gdb.mi/mi-reg-undefined.exp: Likewise.
3159
d00a27c5
PM
31602018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3161
3162 PR gdb/23974
3163 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3164
161d081c
PW
31652018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3166
3167 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3168 Update order of results accordingly.
3169
b001de23
AB
31702018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3171
3172 * gdb.base/annota1.exp: Update a test regexp.
3173
99e1a184
AB
31742018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3175
3176 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3177
7a81c1e2
PW
31782018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3179
3180 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3181 (reuse_time): Initialize to REUSE_TIME_CAP.
3182 (check_rc): New function.
3183 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3184 Check pthread_create rc.
3185 (spawner_thread_func): Check pthread_create and pthread_join rc.
3186
73e8dc90
PA
31872018-12-08 Pedro Alves <palves@redhat.com>
3188
3189 * gdb.base/list.exp (test_forward_search): Rename to ...
3190 (test_forward_reverse_search): ... this. Also test reverse-search
3191 and the forward-search alias.
3192
13f2ed32
AB
31932018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3194
3195 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3196 local timeout variable before return, and remove all local timeout
3197 variable entirely.
3198 (gdb_load): Likewise.
3199
64d27cfc
TV
32002018-12-01 Tom de Vries <tdevries@suse.de>
3201
3202 * gdb.base/gdb-caching-proc.exp: New file.
3203
f63c03b4
SDJ
32042018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3205
3206 * Makefile.in (TIMESTAMP): New variable.
3207 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3208 command.
3209 (check-single-racy): Likewise.
3210 (check/%.exp): Likewise.
3211 (check-racy/%.exp): Likewise.
3212 (workers/%.worker): Likewise.
3213 (build-perf): Likewise.
3214 (check-perf): Likewise.
3215 * README: Describe new "TS" and "TS_FORMAT" variables.
3216 * print-ts.py: New file.
3217
1c97054b
BF
32182018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3219
3220 PR python/23714
3221 * gdb.python/python.exp: Test command repetition after
3222 gdb.execute.
3223
1871a62d
AB
32242018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3225
3226 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3227 is correctly aligned.
3228
fb5e1ed9
PW
32292018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3230
3231 * gdb.ada/info_auto_lang.exp: New testcase.
3232 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3233 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3234 * gdb.ada/info_auto_lang/some_c.c: New file.
3235
43d397ca
PW
32362018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3237
3238 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3239 FUNC_lang language syntax.
3240
beddd671
PW
32412018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3242
3243 * gdb.base/info_minsym.c: New file.
3244 * gdb.base/info_minsym.exp: New file.
3245
73fc52c4
TT
32462018-11-19 Tom Tromey <tom@tromey.com>
3247
3248 PR rust/23625:
3249 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3250 * gdb.rust/expr.exp: Update expected output. Change one test.
3251
994b876a
TT
32522018-11-19 Tom Tromey <tom@tromey.com>
3253
3254 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3255
6769f276
PA
32562018-11-19 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3259 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3260 see the expected warning.
3261
38a72da0
AH
32622018-11-16 Alan Hayward <alan.hayward@arm.com>
3263
3264 PR gdb/22736:
3265 * gdb.cp/infcall-nodebug-lib.c: New test.
3266 * gdb.cp/infcall-nodebug-main.c: New test.
3267 * gdb.cp/infcall-nodebug.exp: New file.
3268
53a89d6e
SM
32692018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3270
3271 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3272 completer tests.
3273
9325300d
TV
32742018-11-09 Tom de Vries <tdevries@suse.de>
3275
3276 * gdb.base/msym-lang.c: New test.
3277 * gdb.base/msym-lang.exp: New file.
3278 * gdb.base/msym-lang-main.c: New test.
3279
20f0d60d
TT
32802018-11-08 Tom Tromey <tom@tromey.com>
3281
3282 PR gdb/23555:
3283 PR gdb/23838:
3284 * gdb.base/warning.exp: New file.
3285
b5420128
JB
32862018-11-08 Jan Beulich <jbeulich@suse.com>
3287
3288 * testsuite/gdb.arch/i386-avx512.c,
3289 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3290
cd115d61
AB
32912018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3292
3293 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3294 point hardware.
3295
35ee2dc2
AB
32962018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3297
3298 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3299 * gdb.dwarf2/missing-type-name.exp: New file.
3300
31aceee8
TV
33012018-11-06 Tom de Vries <tdevries@suse.de>
3302
3303 * gdb.base/many-headers.c: New test.
3304 * gdb.base/many-headers.exp: New file.
3305
109be305
JW
33062018-11-06 Jim Wilson <jimw@sifive.com>
3307
3308 * gdb.base/code_elim.exp: For riscv, set additional_flags
3309 to include -msmall-data-limit=0.
3310
e2b7af72
JB
33112018-11-01 Joel Brobecker <brobecker@adacore.com>
3312
3313 * gdb.ada/watch_minus_l: New testcase.
3314
cdcda965
SM
33152018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3316
3317 * gdb.arch/aix-sighandle.c: New file.
3318 * gdb.arch/aix-sighandle.exp: New file.
3319
92dcebf3
AB
33202018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3321
3322 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3323 registers being unions.
3324
68b9ac18
TV
33252018-10-31 Tom de Vries <tdevries@suse.de>
3326
3327 * lib/valgrind.exp: New file.
3328 (vgdb_start, vgdb_stop): New procs, factored out of ...
3329 * gdb.base/valgrind-bt.exp: ... here, ...
3330 * gdb.base/valgrind-disp-step.exp: ... here and ...
3331 * gdb.base/valgrind-infcall.exp: ... here.
3332
1443936e
TV
33332018-10-31 Tom de Vries <tdevries@suse.de>
3334
3335 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3336
eb77c9df
AB
33372018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3338
3339 * gdb.dwarf2/void-type.c: New file.
3340 * gdb.dwarf2/void-type.exp: New file.
3341
82b5e646
PW
33422018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3343
3344 * gdb.base/info_qt.c: New file.
3345 * gdb.base/info_qt.exp: New file.
3346
8d619c01
EBM
33472018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3348
3349 * gdb.arch/powerpc-htm-regs.c: New file.
3350 * gdb.arch/powerpc-htm-regs.exp: New file.
3351
f2cf6173
EBM
33522018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3353
3354 * gdb.arch/powerpc-tar.c: New file.
3355 * gdb.arch/powerpc-tar.exp: New file.
3356
7ca18ed6
EBM
33572018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3358
3359 * gdb.arch/powerpc-ppr-dscr.c: New file.
3360 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3361
bfcc0eba
TV
33622018-10-25 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3365
fe1a5cad
TV
33662018-10-24 Tom de Vries <tdevries@suse.de>
3367
3368 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3369 longer exists error.
3370
a76dc3b7
TV
33712018-10-24 Tom de Vries <tdevries@suse.de>
3372
3373 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3374
4df46df7
TV
33752018-10-24 Tom de Vries <tdevries@suse.de>
3376
3377 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3378 --db-attach in valgrind.
3379
0dbfcfff
AB
33802018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3381
3382 * gdb.arch/riscv-reg-aliases.c: New file.
3383 * gdb.arch/riscv-reg-aliases.exp: New file.
3384
b04480b1
AH
33852018-10-19 Alan Hayward <alan.hayward@arm.com>
3386
3387 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3388
2c6ac8d7
AH
33892018-10-19 Alan Hayward <alan.hayward@arm.com>
3390
3391 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3392
2bc69f25
AH
33932018-10-19 Alan Hayward <alan.hayward@arm.com>
3394
3395 * gdb.cp/ovldbreak.exp: Fix regexps.
3396
1f1ae3a3
AH
33972018-10-19 Alan Hayward <alan.hayward@arm.com>
3398
3399 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3400
94c18618
SDJ
34012018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3402
3403 PR cli/23785
3404 * gdb.base/restore.exp: New test to check if "restore" with an
3405 invalid file doesn't segfault.
3406
812cd6eb
TV
34072018-10-18 Tom de Vries <tdevries@suse.de>
3408
3409 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3410 * gdb.ada/excep_handle.exp: Same.
3411 * gdb.ada/mi_string_access.exp: Same.
3412 * gdb.ada/mi_var_union.exp: Same.
3413 * gdb.arch/arc-analyze-prologue.exp: Same.
3414 * gdb.arch/arc-decode-insn.exp: Same.
3415 * gdb.base/readnever.exp: Same.
3416 * gdb.fortran/printing-types.exp: Same.
3417 * gdb.guile/scm-lazy-string.exp: Same.
3418
c4b90788
TV
34192018-10-16 Tom de Vries <tdevries@suse.de>
3420
3421 PR gdb/23730
3422 * gdb.base/catch-follow-exec.c: Add copyright notice.
3423 * gdb.base/catch-follow-exec.exp: Rewrite to use
3424 gdb_spawn_with_cmdline_opts. Require gdb-native.
3425
8bca2978
SL
34262018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3427
3428 * gdb.trace/actions-changed.exp: Check for arch support.
3429 * gdb.trace/actions.exp: Likewise.
3430 * gdb.trace/ax.exp: Likewise.
3431 * gdb.trace/backtrace.exp: Likewise.
3432 * gdb.trace/change-loc.exp: Likewise.
3433 * gdb.trace/deltrace.exp: Likewise.
3434 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3435 * gdb.trace/ftrace.exp: Likewise.
3436 * gdb.trace/infotrace.exp: Check for arch support.
3437 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3438 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3439 * gdb.trace/mi-tsv-changed.exp: Likewise.
3440 * gdb.trace/packetlen.exp: Likewise.
3441 * gdb.trace/passc-dyn.exp: Likewise.
3442 * gdb.trace/passcount.exp: Likewise.
3443 * gdb.trace/pending.exp: Likewise.
3444 * gdb.trace/range-stepping.exp: Check for shlib support.
3445 * gdb.trace/report.exp: Check for arch support.
3446 * gdb.trace/save-trace.exp: Likewise.
3447 * gdb.trace/signal.exp: Check for signal support.
3448 * gdb.trace/tfind.exp: Check for arch support.
3449 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3450 * gdb.trace/trace-common.h: Add comment.
3451 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3452 * gdb.trace/trace-enable-disable.exp: Likewise.
3453 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3454 * gdb.trace/tracecmd.exp: Check for arch support.
3455 * gdb.trace/tspeed.exp: Check for shlib and target support.
3456 * gdb.trace/tstatus.exp: Check for arch support.
3457 * gdb.trace/tsv.exp: Likewise.
3458 * gdb.trace/while-dyn.exp: Likewise.
3459 * gdb.trace/while-stepping.exp: Likewise.
3460 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3461
f9c49bff
SM
34622018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3463
3464 * gdb.trace/tspeed.exp: Remove nowarnings.
3465 (prepare_for_trace_test): Declare "global ipalib".
3466 * gdb.trace/tspeed.c: Include unistd.h.
3467 (main): Remove superfluous printf argument.
3468
d4330bde
SL
34692018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3470
3471 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3472 directory prefix on the filename.
3473
8ecfd7bd
SDJ
34742018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3475
3476 * gdb.gdb/unittest.exp: Update expected message informing that
3477 selftests have been disabled.
3478 * gdb.server/unittest.exp: Likewise.
3479
58bbcd02
TV
34802018-10-09 Tom de Vries <tdevries@suse.de>
3481
3482 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3483 with runto_main.
3484
9f6b697b
WP
34852018-10-08 Weimin Pan <weimin.pan@oracle.com>
3486
3487 PR c++/16841
3488 * gdb.cp/virtbase2.cc: New file.
3489 * gdb.cp/virtbase2.exp: New file.
3490
add5ded5
TT
34912018-10-06 Tom Tromey <tom@tromey.com>
3492
3493 PR python/19399:
3494 * gdb.python/py-inferior.exp: Add architecture test.
3495
f9e48344
TT
34962018-10-06 Tom Tromey <tom@tromey.com>
3497
3498 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3499 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3500
2a8be203
TT
35012018-10-06 Tom Tromey <tom@tromey.com>
3502
3503 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3504 of a "throw" catchpoint.
3505
e04caa70
SDJ
35062018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3507
3508 * gdb.base/info-proc.exp: Update string expected from "help info
3509 proc".
3510
5ca8c39f
TT
35112018-10-04 Tom Tromey <tom@tromey.com>
3512
3513 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3514 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3515 (test_initial_complaints, test_empty_complaints): Update.
3516 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3517
3453e7e4
TT
35182018-10-04 Tom Tromey <tom@tromey.com>
3519
3520 PR cli/19551:
3521 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3522 * lib/gdb.exp (gdb_file_cmd): Update.
3523 * gdb.stabs/weird.exp (print_weird_var): Update.
3524 * gdb.server/solib-list.exp: Update.
3525 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3526 * gdb.mi/mi-cli.exp: Update.
3527 * gdb.linespec/linespec.exp: Update.
3528 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3529 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3530 * gdb.cp/cp-relocate.exp: Update.
3531 * gdb.base/sym-file.exp: Update.
3532 * gdb.base/relocate.exp: Update.
3533 * gdb.base/readnever.exp: Update.
3534 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3535 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3536 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3537 * gdb.base/code_elim.exp: Update.
3538 * gdb.base/break-unload-file.exp (test_break): Update.
3539 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3540 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3541 Update.
3542 * gdb.base/attach.exp (do_attach_tests): Update.
3543 * gdb.base/sepdebug.exp: Update.
3544 * gdb.python/py-section-script.exp: Update.
3545
6afcf761
TT
35462018-10-04 Tom Tromey <tom@tromey.com>
3547
3548 PR cli/22234:
3549 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3550 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3551 output.
3552
fef1b293
TT
35532018-10-04 Tom Tromey <tom@tromey.com>
3554
3555 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3556 set width and height to 0.
3557 (test_command_line_attach_run): Use -quiet.
3558
ca98345e
SL
35592018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3560
3561 * lib/gdb.exp (skip_ifunc_tests): New.
3562 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3563 other compile failures.
3564 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3565
ff34e6ae
SM
35662018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3567
3568 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3569 is_amd64_regs_target.
3570
6bb8890e
AH
35712018-10-01 Alan Hayward <alan.hayward@arm.com>
3572
3573 * gdb.arch/aarch64-sighandler-regs.c: New test.
3574 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3575 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3576
224d30d3
MM
35772018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3578
3579 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3580 assembly.
3581
f67ffa6a
AB
35822018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3583
3584 * gdb.base/frame-selection.exp: New file.
3585 * gdb.base/frame-selection.c: New file.
3586
9fc3183f
AH
35872018-09-27 Alan Hayward <alan.hayward@arm.com>
3588
3589 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3590 pthread barrier.
3591 (main): Likewise.
3592
d354055e
AB
35932018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3594
3595 * gdb.base/large-frame-1.c: New file.
3596 * gdb.base/large-frame-2.c: New file.
3597 * gdb.base/large-frame.exp: New file.
3598 * gdb.base/large-frame.h: New file.
3599
db727370
JL
36002018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3601
3602 PR gdb/20948
3603 * gdb.base/write_mem.exp: New test.
3604 * gdb.base/write_mem.c: Likewise.
3605
ae778caf
TT
36062018-09-23 Tom Tromey <tom@tromey.com>
3607
3608 PR python/18852:
3609 * gdb.python/py-parameter.exp: Add test for parameter that throws
3610 on "set".
3611
fd3ba736
TT
36122018-09-23 Tom Tromey <tom@tromey.com>
3613
3614 PR python/17284:
3615 * gdb.python/py-template.exp (test_template_arg): Add test for
3616 negative template argument number.
3617
39a24317
TT
36182018-09-23 Tom Tromey <tom@tromey.com>
3619
3620 PR python/14062:
3621 * gdb.python/python.exp: Add test for post_event error.
3622
f5769a2c
TT
36232018-09-23 Tom Tromey <tom@tromey.com>
3624
3625 PR python/18170:
3626 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3627 convert pointers to int and long.
3628
1c1e54f6
TT
36292018-09-23 Tom Tromey <tom@tromey.com>
3630
3631 PR python/20126:
3632 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3633 signed-ness conversion tests.
3634
fb4fa946
TT
36352018-09-23 Tom Tromey <tom@tromey.com>
3636
3637 PR python/18352;
3638 * gdb.python/py-value.exp (test_float_conversion): New proc.
3639 Use it.
3640
a466edac
HAQ
36412018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3642
3643 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3644
4ee9b0c5
SL
36452018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3646
3647 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3648 no readline.
3649 * gdb.base/utf8-identifiers.exp: Likewise.
3650 * gdb.cp/cpcompletion.exp: Likewise.
3651 * gdb.linespec/cpcompletion.exp: Likewise.
3652 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3653 * gdb.linespec/cpls-ops.exp: Likewise.
3654
23be8da7
RB
36552018-09-19 Richard Bunt <richard.bunt@arm.com>
3656 Chris January <chris.january@arm.com>
3657
3658 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3659 * gdb.fortran/short-circuit-argument-list.exp: New file.
3660 * gdb.fortran/short-circuit-argument-list.f90: New test.
3661
5031d0ae
SDJ
36622018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3663
3664 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3665 "arch=" keyword when executing "-stack-list-frames".
3666
b4c0d1a4
SDJ
36672018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3668
3669 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3670 "arch=" keyword when executing "-stack-list-frames".
3671
7a6d2b45
SDJ
36722018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3673
3674 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3675 break ada".
3676
8588b356
SM
36772018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3678
3679 PR python/23669
3680 * gdb.python/python.exp: Test gdb.execute("show commands").
3681
65e65158
TT
36822018-09-16 Tom Tromey <tom@tromey.com>
3683
3684 * gdb.base/new-ui.exp (do_execution_tests): Update.
3685 * gdb.base/dbx.exp (test_breakpoints): Update.
3686
bf326452
AH
36872018-09-14 Alan Hayward <alan.hayward@arm.com>
3688
3689 * lib/gdb.exp (gdb_simple_compile): Add proc.
3690 (is_elf_target): Use gdb_simple_compile.
3691 (skip_altivec_tests): Likewise.
3692 (skip_vsx_tests): Likewise.
3693 (skip_tsx_tests): Likewise.
3694 (skip_btrace_tests): Likewise.
3695 (skip_btrace_pt_tests): Likewise.
3696 (gdb_can_simple_compile): Likewise.
3697 (gdb_has_argv0): Likewise.
3698 (gdb_target_symbol_prefix): Likewise.
3699 (target_supports_scheduler_locking): Likewise.
3700
2361b0fb
TT
37012018-09-13 Tom Tromey <tom@tromey.com>
3702
3703 * Makefile.in (TAGS): Recognize proc_with_prefix and
3704 gdb_caching_proc.
3705
0ae1a321
SM
37062018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3707
3708 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3709 method.
3710
a40bf0c2
SM
37112018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3712
3713 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3714 and a few other Inferior properties when the Inferior is no
3715 longer valid.
3716
4a3fe98f
TT
37172018-09-13 Tom Tromey <tom@tromey.com>
3718
3719 PR rust/23650:
3720 * gdb.rust/simple.exp: Add test for enum field access error.
3721
098b2108
TT
37222018-09-13 Tom Tromey <tom@tromey.com>
3723
3724 PR rust/23626:
3725 * gdb.rust/simple.rs (EmptyEnum): New type.
3726 (main): Use it.
3727 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3728
1256af7d
SM
37292018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3730
3731 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3732 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3733 * gdb.python/py-symtab.exp: Update test printing an objfile.
3734
4aa8e6c2
SM
37352018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3736
3737 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3738 object.
3739
c221b2f7
AH
37402018-09-12 Alan Hayward <alan.hayward@arm.com>
3741
3742 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3743 (support_complex_tests): Use gdb_can_simple_compile.
3744 (is_ilp32_target): Likewise.
3745 (is_lp64_target): Likewise.
3746 (is_64_target): Likewise.
3747 (is_amd64_regs_target): Likewise.
3748 (is_aarch32_target): Likewise.
3749 (gdb_int128_helper): Likewise.
3750
6f1107b5
JK
37512018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3752
3753 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3754
1f5d1570
JG
37552018-09-10 Jerome Guitton <guitton@adacore.com>
3756
3757 * gdb.ada/same_component_name: Add test for case of tagged record
3758 with variable-length fields.
3759
cc330e39
XR
37602018-09-10 Xavier Roirand <roirand@adacore.com>
3761
3762 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3763 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3764 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3765 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3766
b9c50e9a
XR
37672018-09-10 Xavier Roirand <roirand@adacore.com>
3768
3769 * gdb.ada/mi_string_access.exp: New testcase.
3770 * gdb.ada/mi_string_access/bar.adb: New file.
3771 * gdb.ada/mi_string_access/pck.adb: New file.
3772 * gdb.ada/mi_string_access/pck.asd: New file.
3773
2963898f
XR
37742018-09-10 Xavier Roirand <roirand@adacore.com>
3775
3776 * gdb.ada/mi_var_union.exp: New testcase.
3777 * gdb.ada/mi_var_union/bar.adb: New file.
3778 * gdb.ada/mi_var_union/pck.adb: New file.
3779 * gdb.ada/mi_var_union/pck.asd: New file.
3780
1aac008f
TT
37812018-09-08 Tom Tromey <tom@tromey.com>
3782
3783 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3784
332cf4c9
TT
37852018-09-08 Tom Tromey <tom@tromey.com>
3786
3787 PR python/16047:
3788 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3789 (register_pretty_printers): Register new printer.
3790 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3791 test.
3792 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3793 (an_int_type3): New global.
3794
424da6cf
JB
37952018-09-08 Joel Brobecker <brobecker@adacore.com>
3796
3797 * gdb.ada/expr_with_funcall: New testcase.
3798
2a62dfa9
JB
37992018-09-08 Joel Brobecker <brobecker@adacore.com>
3800
3801 * gdb.ada/packed_array_assign: New testcase.
3802
96b6697f
AB
38032018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3804
3805 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3806 names, and add test prefixes to make test names unique.
3807
e4a62c65
TV
38082018-09-05 Tom de Vries <tdevries@suse.de>
3809
3810 * gdb.dwarf2/varval.exp: Add test.
3811
dd083ee2
GB
38122018-09-04 Gary Benson <gbenson@redhat.com>
3813
3814 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3815 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3816
aef9346c
TT
38172018-08-31 Tom Tromey <tom@tromey.com>
3818
3819 * gdb.rust/simple.rs: Rename second variable "v".
3820
c67f2e15
AB
38212018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3822
3823 * gdb.base/funcargs.c (use_a): New function.
3824 (recurse): Call use_a.
3825
078a0207
KS
38262018-08-29 Keith Seitz <keiths@redhat.com>
3827
3828 * gdb.compile/compile-cplus-anonymous.cc: New file.
3829 * gdb.compile/compile-cplus-anonymous.exp: New file.
3830 * gdb.compile/compile-cplus-array-decay.cc: New file.
3831 * gdb.compile/compile-cplus-array-decay.exp: New file.
3832 * gdb.compile/compile-cplus-inherit.cc: New file.
3833 * gdb.compile/compile-cplus-inherit.exp: New file.
3834 * gdb.compile/compile-cplus-member.cc: New file.
3835 * gdb.compile/compile-cplus-member.exp: New file.
3836 * gdb.compile/compile-cplus-method.cc: New file.
3837 * gdb.compile/compile-cplus-method.exp: New file.
3838 * gdb.compile/compile-cplus-mod.c: "New" file.
3839 * gdb.compile/compile-cplus-namespace.cc: New file.
3840 * gdb.compile/compile-cplus-namespace.exp: New file.
3841 * gdb.compile/compile-cplus-nested.cc: New file.
3842 * gdb.compile/compile-cplus-nested.exp: New file.
3843 * gdb.compile/compile-cplus-print.c: "New" file.
3844 * gdb.compile/compile-cplus-print.exp: "New" file.
3845 * gdb.compile/compile-cplus-virtual.cc: New file.
3846 * gdb.compile/compile-cplus-virtual.exp: New file.
3847 * gdb.compile/compile-cplus.c: "New" file.
3848 * gdb.compile/compile-cplus.exp: "New" file.
3849 * lib/compile-support.exp: New file.
3850
b0f492b9
GB
38512018-08-16 Gary Benson <gbenson@redhat.com>
3852
3853 PR gdb/13000:
3854 * gdb.base/batch-exit-status.exp: New file.
3855 * gdb.base/batch-exit-status.good-commands: Likewise.
3856 * gdb.base/batch-exit-status.bad-commands: Likewise.
3857
36eb4c5f
AH
38582018-08-29 Alan Hayward <alan.hayward@arm.com>
3859
3860 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3861 (struct struct02): Likewise.
3862 (struct struct03): Likewise.
3863 (struct struct04): Likewise.
3864 (struct struct_01_01): New struct.
3865 (struct struct_01_02): Likewise.
3866 (struct struct_01_03): Likewise.
3867 (struct struct_01_04): Likewise.
3868 (struct struct_02_01): Likewise.
3869 (struct struct_02_02): Likewise.
3870 (struct struct_02_03): Likewise.
3871 (struct struct_02_04): Likewise.
3872 (struct struct_04_01): Likewise.
3873 (struct struct_04_02): Likewise.
3874 (struct struct_04_03): Likewise.
3875 (struct struct_04_04): Likewise.
3876 (struct struct_05_01): Likewise.
3877 (struct struct_05_02): Likewise.
3878 (struct struct_05_03): Likewise.
3879 (struct struct_05_04): Likewise.
3880 (cmp_struct01): Remove function.
3881 (cmp_struct02): Likewise.
3882 (cmp_struct03): Likewise.
3883 (cmp_struct04): Likewise.
3884 (cmp_struct_01_01): Add Function.
3885 (cmp_struct_01_02): Likewise.
3886 (cmp_struct_01_03): Likewise.
3887 (cmp_struct_01_04): Likewise.
3888 (cmp_struct_02_01): Likewise.
3889 (cmp_struct_02_02): Likewise.
3890 (cmp_struct_02_03): Likewise.
3891 (cmp_struct_02_04): Likewise.
3892 (cmp_struct_04_01): Likewise.
3893 (cmp_struct_04_02): Likewise.
3894 (cmp_struct_04_03): Likewise.
3895 (cmp_struct_04_04): Likewise.
3896 (cmp_struct_05_01): Likewise.
3897 (cmp_struct_05_02): Likewise.
3898 (cmp_struct_05_03): Likewise.
3899 (cmp_struct_05_04): Likewise.
3900 (call_all): Add new structs.
3901 * gdb.base/infcall-nested-structs.exp: Likewise.
3902
3bf9c013
JV
39032018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3904
3905 * gdb.python/py-framefilter-mi.exp: Update regexp to
3906 check for "arch" field in frame output.
3907
450d1e88
KB
39082018-08-23 Kevin Buettner <kevinb@redhat.com>
3909
3910 * gdb.dwarf2/dw2-ranges-func.c: New file.
3911 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3912
ae739fe7
SM
39132018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3914
3915 * gdb.base/term.exp: Compare terminal settings with values from
3916 the inferior.
3917 * gdb.base/term.c: Get and set terminal settings.
3918
6d52907e
JV
39192018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3920
3921 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3922 accommodate new "arch" field in frame output.
3923 * gdb.mi/mi-return.exp: Likewise.
3924 * gdb.mi/mi-stack.exp: Likewise.
3925 * gdb.mi/mi-syn-frame.exp: Likewise.
3926 * gdb.mi/user-selected-context-sync.exp: Likewise.
3927
be2d111a
MS
39282018-08-19 Michael Spang <spang@google.com>
3929
3930 PR gdb/11786
3931 * gdb.base/gcore-tls-pie.c: New file.
3932 * gdb.base/gcore-tls-pie.exp: New file.
3933
ae3a7c47
KB
39342018-08-18 Kevin Buettner <kevinb@redhat.com>
3935
3936 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
3937 * gdb.dwarf2/varval.c: New file.
3938 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 3939
2ecae92e
AH
39402018-08-17 Alan Hayward <alan.hayward@arm.com>
3941
3942 PR gdb/18931
3943 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3944
c1854f1d
KS
39452018-08-16 Keith Seitz <keiths@redhat.com>
3946
3947 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3948 tests expected to pass.
3949
26fb3983
JV
39502018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3951
3952 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3953 -data-disassemble -a.
3954 (test_disassembly_bogus_args): Likewise.
3955
67943c00
AB
39562018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3957
3958 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3959
5ff2bbae
AB
39602018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3961
3962 * gdb.base/vla-optimized-out.exp: Add new test.
3963
e5bbcd0f
AB
39642018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3965
3966 * gdb.base/vla-optimized-out-o3.exp: Delete.
3967 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3968 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3969 deleted tests.
3970
9d4a934c
AB
39712018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3972
3973 PR gdb/18050:
3974 * gdb.server/extended-remote-restart.c: New file.
3975 * gdb.server/extended-remote-restart.exp: New file.
3976
045cf012
SM
39772018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3978
3979 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3980 "set variable index = 42".
3981
87d6a7aa
SM
39822018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3983
3984 * boards/index-cache-gdb.exp: New file.
3985 * gdb.dwarf2/index-cache.exp: New file.
3986 * gdb.dwarf2/index-cache.c: New file.
3987 * gdb.base/maint.exp: Check if we are using the index cache.
3988
96d68bd4
RO
39892018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3990
3991 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3992 MAKEFLAGS.
3993
5a699617
RO
39942018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3995
3996 * dg-extract-results.sh: Move to toplevel contrib.
3997 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3998 * Makefile.in (check-parallel-racy): Likewise.
3999
5bd18990
AB
40002018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4001
4002 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4003 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4004 tests if the target supports scheduler locking.
4005
3fbbcf47
TV
40062018-08-04 Tom de Vries <tdevries@suse.de>
4007
4008 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4009
3e1d3d8c
TT
40102018-08-02 Tom Tromey <tom@tromey.com>
4011
4012 PR symtab/16842.
4013 * gdb.cp/temargs.exp: Test "info address" of a template
4014 parameter.
4015
5abe0f0c
JV
40162018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4017
4018 * gdb.python/py-mi-var-info-path-expression.c: New file.
4019 * gdb.python/py-mi-var-info-path-expression.py: New file.
4020 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4021
fb66cde8
SDJ
40222018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4023
4024 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4025 error after "cannot resolve name" string.
4026
c708f4d2
AB
40272018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4028
4029 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4030 started.
4031 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4032
37cc0cae
TV
40332018-07-28 Tom de Vries <tdevries@suse.de>
4034
4035 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4036
63b4ecf7
TV
40372018-07-26 Tom de Vries <tdevries@suse.de>
4038
4039 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4040
3c3bb058
AB
40412018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4042
4043 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4044 is visible.
4045
9e7f3bbb
TV
40462018-07-26 Tom de Vries <tdevries@suse.de>
4047
4048 PR breakpoints/23366
4049 * gdb.base/catch-follow-exec.c: New test.
4050 * gdb.base/catch-follow-exec.exp: New file.
4051
16f808ec
TV
40522018-07-25 Tom de Vries <tdevries@suse.de>
4053
4054 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4055 vla-optimized-out.c.
4056
d7154a8d
JV
40572018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4058
4059 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4060 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4061
232a0032
TV
40622018-07-20 Tom de Vries <tdevries@suse.de>
4063
4064 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4065 NOCLONE macro.
4066 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4067
fbb1d502
TV
40682018-07-19 Tom de Vries <tdevries@suse.de>
4069
4070 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4071 regular expression.
4072
42dc7699
TV
40732018-07-18 Tom de Vries <tdevries@suse.de>
4074
4075 * gdb.base/vla-optimized-out.c: New test.
4076 * gdb.base/vla-optimized-out.exp: New file.
4077
7f1f7e23
SDJ
40782018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4079
4080 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4081 message "No address associated with hostname" when gdbserver
4082 cannot resolve the hostname.
4083
5759ebb3
PW
40842018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4085
4086 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4087 Add some test prefixes to make tests unique.
4088
3606ccab
PW
40892018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4090
4091 * gdb.base/frameapply.c: New file.
4092 * gdb.base/frameapply.exp: New file.
4093
529c08b2
PW
40942018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4095
4096 * gdb.base/skip.exp: Update expected error message.
4097
c7ab0aef
SDJ
40982018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4099 Jan Kratochvil <jan.kratochvil@redhat.com>
4100 Paul Fertser <fercerpav@gmail.com>
4101 Tsutomu Seki <sekiriki@gmail.com>
4102
4103 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4104 parameter.
4105 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4106 by default.
4107 * boards/native-gdbserver.exp: Likewise.
4108 * gdb.server/run-without-local-binary.exp: Improve regexp used
4109 for detecting when a remote debugging connection succeeds.
4110 * gdb.server/server-connect.exp: New file.
4111 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4112 Do not prefix the port number with ":".
4113 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4114 support for detecting and using it. Add '$debughost_gdbserver'
4115 to the list of arguments used to start gdbserver. Handle case
4116 when gdbserver cannot resolve a network name.
4117
16ff70dd
SDJ
41182018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4119
4120 PR c++/23373
4121 * gdb.base/ptype-offsets.cc (struct static_member): New
4122 struct.
4123 (main) <stmember>: New variable.
4124 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4125 with a static member in it.
4126
3541979f
AB
41272018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4128
4129 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4130 watchpoints enabled and disabled.
4131
c8ad9b9a
AB
41322018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.base/examine-backward.exp: Still run tests around address
4135 0x0, even if address 0x0 is not readable. Update the pattern for
4136 matching address 0x0 in expected output.
4137
e0e5e971
AB
41382018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4139
4140 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4141 malloc/free.
4142
1ea5da02
TV
41432018-07-04 Tom de Vries <tdevries@suse.de>
4144
4145 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4146
471b9d15
MR
41472018-07-02 Maciej W. Rozycki <macro@mips.com>
4148
4149 PR tdep/8282
4150 * gdb.arch/mips-disassembler-options.exp: New test.
4151 * gdb.arch/mips-disassembler-options.s: New test source.
4152
75acb486
PA
41532018-06-29 Pedro Alves <palves@redhat.com>
4154
4155 * gdb.threads/names.exp: Adjust expected "info threads" output.
4156
cd2bb709
PA
41572018-06-29 Pedro Alves <palves@redhat.com>
4158
4159 * gdb.opt/inline-break.exp (line number, address): Add "info
4160 break" tests.
4161
991ff292
PA
41622018-06-29 Pedro Alves <palves@redhat.com>
4163
4164 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4165 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4166 number and address and running to them.
4167
356819b6 41682018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4169
4170 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4171
2512d7ef
JK
41722018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4173
4174 * lib/compiler.c: Remove executable permission flag.
4175
be1b6474
RB
41762018-06-28 Richard Bunt <richard.bunt@arm.com>
4177
4178 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4179 code.
4180 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4181
291f9a96
PT
41822018-06-28 Petr Tesarik <ptesarik@suse.cz>
4183
4184 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4185
ed6dfe51
PT
41862018-06-28 Petr Tesarik <ptesarik@suse.cz>
4187
4188 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4189 address argument is omitted.
4190
d4d429d5
PT
41912018-06-28 Petr Tesarik <ptesarik@suse.cz>
4192
4193 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4194
7ab6656f
OJ
41952018-06-27 Omair Javaid <omair.javaid@linaro.org>
4196
4197 PR gdb/21695
4198 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4199 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4200
a33ccfc7
TT
42012018-06-26 Tom Tromey <tom@tromey.com>
4202
4203 PR rust/22574:
4204 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4205 * gdb.rust/simple.rs (struct SimpleLayout): New.
4206
6d72d289
SM
42072018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4208
4209 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4210 "info registers" output.
4211
8363f9d5
RB
42122018-06-21 Richard Bunt <richard.bunt@arm.com>
4213
4214 * gdb.base/watchpoint-hw-attach.c: New test.
4215 * gdb.base/watchpoint-hw-attach.exp: New file.
4216
f00674fe
SM
42172018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4220 through /bin/sh.
4221 * boards/dwarf4-gdb-index.exp: Likewise.
4222 * boards/fission-dwp.exp: Likewise.
4223
1d554008
UW
42242018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4225
4226 * gdb.base/float128.exp: Add comment and improved fail message
4227 to the failure case of "print large128" test.
4228
d0ac1c44
SM
42292018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4230
4231 * configure.ac: Remove AC_PREREQ.
4232 * configure: Re-generate.
4233
61b04dd0
PA
42342018-06-19 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4237 (func_extern_caller): New.
4238 (main): Call func_extern_caller.
4239 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4240 logic change.
4241
f63b508a
SM
42422018-06-18 Weimin Pan <weimin.pan@oracle.com>
4243
4244 PR gdb/16841
4245 * gdb.cp/typedef-base.cc: New file.
4246 * gdb.cp/typedef-base.exp: New file.
4247
0fe3a558
TV
42482018-06-18 Tom de Vries <tdevries@suse.de>
4249
4250 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4251
7010835a
AB
42522018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4253 Richard Bunt <Richard.Bunt@arm.com>
4254
4255 * gdb.threads/attach-slow-waitpid.c: New file.
4256 * gdb.threads/attach-slow-waitpid.exp: New file.
4257 * gdb.threads/slow-waitpid.c: New file.
4258
14897d65
PA
42592018-06-14 Pedro Alves <palves@redhat.com>
4260
4261 * gdb.base/fork-running-state.c: Include <errno.h>.
4262 (exit_if_relative_exits): New.
4263 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4264 exits.
4265 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4266 child exits.
4267
5d9a0608
TV
42682018-06-14 Tom de Vries <tdevries@suse.de>
4269
4270 PR cli/22573
4271 * gdb.base/finish-pretty.c: New test.
4272 * gdb.base/finish-pretty.exp: New file.
4273
11ae5818
PA
42742018-06-14 Pedro Alves <palves@redhat.com>
4275
4276 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4277 gdb's expected startup output.
4278
1d39de44
PA
42792018-06-14 Pedro Alves <palves@redhat.com>
4280
4281 * lib/selftest-support.exp (selftest_setup): Remove inlined
4282 function handling.
4283
70ee0000
TV
42842018-06-14 Tom de Vries <tdevries@suse.de>
4285
4286 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4287 matching of breakpoint printing.
4288
11f4b608
TV
42892018-06-13 Tom de Vries <tdevries@suse.de>
4290
4291 PR testsuite/23269
4292 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4293 (fork_child): ... here, and ...
4294 (fork_parent): ... here.
4295
42962018-06-12 Tom de Vries <tdevries@suse.de>
4297
4298 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4299
9516f85a
AB
43002018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4301 Stephen Roberts <stephen.roberts@arm.com>
4302
4303 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4304 rewrite test to describe action performed, rather than possible
4305 failure.
4306
5045b3d7
GB
43072018-06-08 Gary Benson <gbenson@redhat.com>
4308
4309 * gdb.threads/check-libthread-db.exp: New file.
4310 * gdb.threads/check-libthread-db.c: Likewise.
4311
c61b06a1
TT
43122018-06-05 Tom Tromey <tom@tromey.com>
4313
4314 * gdb.base/default.exp: Update expected "show version" output.
4315
eb6af809
TT
43162018-06-05 Tom Tromey <tom@tromey.com>
4317
4318 PR cli/12326:
4319 * gdb.cp/static-print-quit.exp: Update.
4320 * lib/gdb.exp (pagination_prompt): Update.
4321 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4322 * gdb.python/python.exp: Update.
4323
178d6a63
JB
43242018-06-04 Joel Brobecker <brobecker@adacore.com>
4325
4326 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4327
8e817061
JB
43282018-06-01 Joel Brobecker <brobecker@adacore.com>
4329
4330 * gdb.ada/bp_fun_addr: New testcase.
4331
e86ca25f
TT
43322018-06-01 Tom Tromey <tom@tromey.com>
4333
4334 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4335 results.
4336 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4337 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4338 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4339 * gdb.base/maint.exp (maint_pass_if): Update.
4340
4b2dfa9d
MR
43412018-05-31 Maciej W. Rozycki <macro@mips.com>
4342
4343 * gdb.base/endian.exp: New test.
4344 * gdb.base/endian.c: New test source.
4345
45f25d6c
AB
43462018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4347
4348 PR gdb/23203
4349 * gdb.base/bt-selected-frame.c: New file.
4350 * gdb.base/bt-selected-frame.exp: New file.
4351 * lib/gdb.exp (get_current_frame_number): New function.
4352
d9f6d7f8
MR
43532018-05-24 Maciej W. Rozycki <macro@mips.com>
4354 Pedro Alves <palves@redhat.com>
4355
4356 * gdb.threads/tls-core.c: Include <stdlib.h>
4357 (thread_proc): Call `abort'.
4358 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4359 (tls_core_test): New procedure, bits factored out from ...
4360 (top level): ... here. Test both native cores and gcore cores.
4361
ff1cf532
TT
43622018-05-23 Tom Tromey <tom@tromey.com>
4363
4364 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4365
b98664d3
TT
43662018-05-23 Tom Tromey <tom@tromey.com>
4367
4368 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4369 symfile_complaints.
4370 (test_short_complaints): Likewise.
4371 (test_empty_complaints): Likewise.
4372 (test_initial_complaints): Update.
4373
4e9668d0
TT
43742018-05-23 Tom Tromey <tom@tromey.com>
4375
4376 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4377
43ba33c7
TT
43782018-05-23 Tom Tromey <tom@tromey.com>
4379
4380 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4381 (test_short_complaints): Update.
4382
035522c0
PA
43832018-05-22 Pedro Alves <palves@redhat.com>
4384
4385 * gdb.base/remote.exp: Only gdb_start after compiling the
4386 testcase. Issue "disconnect" before testing "set remote" command
4387 defaults. Issue clean_restart before running to main.
4388
cc0be08f
PA
43892018-05-22 Pedro Alves <palves@redhat.com>
4390
4391 * gdb.base/remote.exp: Adjust expected output of "show remote
4392 memory-write-packet-size". Add tests for "set remote
4393 memory-write-packet-size 0" and "set remote
4394 memory-write-packet-size fixed/limit".
4395
b1b60145
PA
43962018-05-22 Pedro Alves <palves@redhat.com>
4397
4398 PR gdb/22973
4399 * gdb.base/utf8-identifiers.c: New file.
4400 * gdb.base/utf8-identifiers.exp: New file.
4401
0ec848ad
PFC
44022018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4403
4404 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4405
2c3305f6
PFC
44062018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4407
4408 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4409
ce1e8424
TT
44102018-05-18 Tom Tromey <tom@tromey.com>
4411
4412 * gdb.base/ptype-offsets.exp: Update.
4413
ddfe970e
KS
44142018-05-17 Keith Seitz <keiths@redhat.com>
4415
4416 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4417 in expected breakpoint stop locations.
4418 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4419 move to proper scope to test variable values.
4420 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4421 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4422 New functions.
4423 (main): Call not_inline_func3.
4424 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4425 inline_func1, inline_func2, and inline_func3. Test that when each
4426 breakpoint is hit, GDB properly reports both the stop location
4427 and the backtrace. Repeat tests for temporary breakpoints.
4428
0726fcc6
MR
44292018-05-15 Maciej W. Rozycki <macro@mips.com>
4430
4431 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4432 rather then trying to access it in determining whether the PID
4433 of `gdbserver' could have been retrieved.
4434
8ee22052
AB
44352018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4436
4437 * gdb.arch/amd64-init-x87-values.S: New file.
4438 * gdb.arch/amd64-init-x87-values.exp: New file.
4439
7785df48
JK
44402018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4441
4442 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4443
56bcdbea
TT
44442018-05-04 Tom Tromey <tom@tromey.com>
4445
4446 PR python/22730:
4447 * gdb.python/python.exp: Test multi-line execute.
4448
a913fffb
TT
44492018-05-04 Tom Tromey <tom@tromey.com>
4450
4451 PR python/22731:
4452 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4453
7a2c85f2
TT
44542018-05-04 Tom Tromey <tom@tromey.com>
4455
4456 PR gdb/11750:
4457 * gdb.base/define.exp: Test defining a user command inside a user
4458 command.
4459 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4460
a3b60e45
JK
44612018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4462 Pedro Alves <palves@redhat.com>
4463
4464 PR breakpoints/19806 and support for PR external/20207.
4465 * gdb.base/watchpoint-unaligned.c: New file.
4466 * gdb.base/watchpoint-unaligned.exp: New file.
4467
45fe4a03
AB
44682018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4469
4470 * gdb.base/maint.exp: Make test names unique, use
4471 test_prefix_command_help to test 'help maint info', and remove
4472 repeated test of 'help maint'.
4473
9be2ae8f
TT
44742018-05-04 Tom Tromey <tom@tromey.com>
4475
4476 PR gdb/22619:
4477 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4478 behavior.
4479
11859c31
AB
44802018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4481
4482 * gdb.base/maint.exp: Process output from 'maint print registers'
4483 line at a time.
4484
089a9490
AB
44852018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4486
4487 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4488 timeout.
4489
9b0797e2
AB
44902018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4491
4492 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4493 filter pattern.
4494
f6ac5f3d
PA
44952018-05-02 Pedro Alves <palves@redhat.com>
4496
4497 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4498 to_log_command renames.
4499 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4500
77d3c63b
TT
45012018-05-02 Tom Tromey <tom@tromey.com>
4502
4503 * gdb.python/py-parameter.exp: Set test message.
4504
0489430a
TT
45052018-05-02 Tom Tromey <tom@tromey.com>
4506
4507 PR python/20084:
4508 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4509 PARAM_ZUINTEGER_UNLIMITED tests.
4510
1632f8ba
DR
45112018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4512
4513 PR rust/23124
4514 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4515 when casting.
4516
6d7bb824
TT
45172018-04-30 Tom Tromey <tom@tromey.com>
4518
4519 * gdb.python/py-type.exp: Check align attribute.
4520 * gdb.python/py-type.c: New "aligncheck" global.
4521
007e1530
TT
45222018-04-30 Tom Tromey <tom@tromey.com>
4523
4524 PR exp/17095:
4525 * gdb.dwarf2/dw2-align.exp: New file.
4526 * gdb.cp/align.exp: New file.
4527 * gdb.base/align.exp: New file.
4528 * lib/gdb.exp (gdb_int128_helper): New proc.
4529 (has_int128_c, has_int128_cxx): New caching procs.
4530
6873858b
TT
45312018-04-27 Tom Tromey <tom@tromey.com>
4532
4533 PR rust/22545:
4534 * gdb.rust/simple.exp: Add inclusive range tests.
4535
79188d8d
PA
45362018-04-26 Pedro Alves <palves@redhat.com>
4537
4538 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4539 ifunc breakpoint locations correctly of ifunc breakpoints set
4540 while the program resolves the ifunc.
4541
c7075ad5
PA
45422018-04-26 Pedro Alves <palves@redhat.com>
4543
4544 * gdb.base/gnu-ifunc-final.c: New file.
4545 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4546 * gdb.base/gnu-ifunc.exp (executable): Delete.
4547 (staticexecutable): Adjust.
4548 (lib_opts, exec_opts): Delete.
4549 (make_binsuffix, build, set-break): New procedures.
4550 (misc_tests): New, with tests factored out from the top level.
4551 (top level): Test different combinations of ifunc resolver name,
4552 resolver with and with debug info, and ifunc target with and
4553 without debug info. Wrap static tests with with_target_prefix.
4554
8388016d
PA
45552018-04-26 Pedro Alves <palves@redhat.com>
4556
4557 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4558 return type" warnings.
4559
249b5733
PA
45602018-04-25 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4563 killed".
4564 * gdb.base/kill-after-signal.exp: Likewise.
4565 * gdb.threads/kill.exp: Likewise.
4566
f67c0c91
SDJ
45672018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4568 Sergio Durigan Junior <sergiodj@redhat.com>
4569 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4572 regexps to expect for '[Inferior ... detached]' as well.
4573 * gdb.base/attach.exp: Likewise.
4574 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4575 "gdb_continue_to_end".
4576 (test_catch_syscall_with_wrong_args): Likewise.
4577 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4578 ']'. Don't set 'verbose' on.
4579 * gdb.base/foll-vfork.exp: Likewise.
4580 * gdb.base/fork-print-inferior-events.c: New file.
4581 * gdb.base/fork-print-inferior-events.exp: New file.
4582 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4583 '[Inferior ... has been killed]' message.
4584 * gdb.base/kill-after-signal.exp: Likewise.
4585 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4586 detach message.
4587 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4588 message.
4589 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4590 regexps to expect for '[Inferior ... detached]' as well.
4591 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4592
0a8ddac4
SM
45932018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4594
4595 PR gdb/23104
4596 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4597
701adfb0
PA
45982018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4599
4600 PR gdb/23095
4601 * gdb.base/break-probes.exp: Pass shlib_load to
4602 prepare_for_testing. Set normal_bp to r_debug_state if target is
4603 bsd.
4604
d27d16bf
RB
46052018-04-19 Richard Bunt <richard.bunt@arm.com>
4606
4607 * gdb.threads/multiple-successive-infcall.c: New test.
4608 * gdb.threads/multiple-successive-infcall.exp: New file.
4609
a037790e
TT
46102018-04-17 Tom Tromey <tom@tromey.com>
4611
4612 * gdb.rust/simple.rs (Union): New type.
4613 (main): New local "u".
4614 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4615
e3a91079
AA
46162018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4617
4618 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4619 number information in output of "whereis" command.
4620 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4621
b744723f
AA
46222018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4623
4624 * gdb.ada/info_types.exp: Adjust expected output to the line
4625 numbers now printed by "info var/func/type".
4626 * gdb.base/completion.exp: Likewise.
4627 * gdb.base/included.exp: Likewise.
4628 * gdb.cp/cp-relocate.exp: Likewise.
4629 * gdb.cp/cplusfuncs.exp: Likewise.
4630 * gdb.cp/namespace.exp: Likewise.
4631 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4632
4a4495d6
MM
46332018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4634
4635 * gdb.btrace/cpu.exp: New.
4636
1d509aa6
MM
46372018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4638
4639 * gdb.base/step-indirect-call-thunk.exp: New.
4640 * gdb.base/step-indirect-call-thunk.c: New.
4641 * gdb.reverse/step-indirect-call-thunk.exp: New.
4642 * gdb.reverse/step-indirect-call-thunk.c: New.
4643
6295b6da
SM
46442018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4645
4646 * gdb.base/pie-fork.c: New file.
4647 * gdb.base/pie-fork.exp: New file.
4648
50146e70
TT
46492018-04-11 Tom Tromey <tom@tromey.com>
4650
4651 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4652
f50d8a2e
PA
46532018-04-10 Pedro Alves <palves@redhat.com>
4654
4655 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4656 exits. Instead loop running forever.
4657 (fork_parent): Run forever too.
4658
a0be7a36
SM
46592018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4660
4661 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4662 mi_continue_to_line.
4663 * gdb.mi/mi-stack.c (callee4): Add comment.
4664
9b73db36
SM
46652018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4666
4667 * gdb.mi/mi-stack.exp: Fix indentation.
4668
c912f608
SM
46692018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4670
4671 PR gdb/22979
4672 * gdb.arch/amd64-osabi.exp: New file.
4673
26540402
SM
46742018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4675
4676 PR gdb/22980
4677 * gdb.base/osabi.exp: New file.
4678
121ad66c 46792018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4680
4681 * gdb.cp/static-typedef-print.exp: New file.
4682 * gdb.cp/static-typedef-print.cc: New file.
4683
3fcded8f
JB
46842018-03-27 Joel Brobecker <brobecker@adacore.com>
4685
4686 * gdb.ada/varsize_limit: New testcase.
4687
59cc4834
JB
46882018-03-27 Joel Brobecker <brobecker@adacore.com>
4689
4690 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4691
4692 * gdb.ada/notcplusplus: New testcase.
4693
4694 * gdb.base/c-linkage-name.c: New file.
4695 * gdb.base/c-linkage-name.exp: New testcase.
4696
4ca59a9f
TT
46972018-03-26 Tom Tromey <tom@tromey.com>
4698
4699 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4700 * gdb.python/py-framefilter.py (name_error): New global.
4701 (ErrorInName.function): Use name_error.
4702
978d6c75
TT
47032018-03-26 Tom Tromey <tom@tromey.com>
4704
4705 PR backtrace/15582:
4706 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4707
b7fee5a3
KS
47082018-03-23 Keith Seitz <keiths@redhat.com>
4709
4710 PR c++/22968
4711 * gdb.cp/subtypes.exp: New file.
4712 * gdb.cp/subtypes.h: New file.
4713 * gdb.cp/subtypes.cc: New file.
4714 * gdb.cp/subtypes-2.cc: New file.
4715
376be529
AB
47162018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4717
4718 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4719 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4720 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4721 -nostartfiles when compiling the test. Confirm that all registers
4722 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4723
066cfa98
AB
47242018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4725
4726 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4727 option, syntax was wrong anyway.
4728 * gdb.arch/arm-disp-step.exp: Likewise.
4729 * gdb.arch/sparc64-regs.exp: Likewise.
4730 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4731 option, syntax was wrong anyway, switch to use
4732 prepare_for_testing.
4733 * gdb.arch/i386-disp-step.exp: Likewise.
4734
079670b9
AA
47352018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4736
4737 * gdb.ada/exec_changed.exp: Replace "target_info exists
4738 use_gdb_stub" by "use_gdb_stub".
4739 * gdb.ada/start.exp: Likewise.
4740 * gdb.base/async-shell.exp: Likewise.
4741 * gdb.base/attach-pie-misread.exp: Likewise.
4742 * gdb.base/attach-wait-input.exp: Likewise.
4743 * gdb.base/break-entry.exp: Likewise.
4744 * gdb.base/break-interp.exp: Likewise.
4745 * gdb.base/dprintf-detach.exp: Likewise.
4746 * gdb.base/nostdlib.exp: Likewise.
4747 * gdb.base/solib-nodir.exp: Likewise.
4748 * gdb.base/statistics.exp: Likewise.
4749 * gdb.base/testenv.exp: Likewise.
4750 * gdb.mi/mi-exec-run.exp: Likewise.
4751 * gdb.mi/mi-start.exp: Likewise.
4752 * gdb.multi/dummy-frame-restore.exp: Likewise.
4753 * gdb.multi/multi-arch-exec.exp: Likewise.
4754 * gdb.multi/multi-arch.exp: Likewise.
4755 * gdb.multi/tids.exp: Likewise.
4756 * gdb.multi/watchpoint-multi.exp: Likewise.
4757 * gdb.python/py-events.exp: Likewise.
4758 * gdb.threads/attach-into-signal.exp: Likewise.
4759 * gdb.threads/attach-stopped.exp: Likewise.
4760 * gdb.threads/threadapply.exp: Likewise.
4761 * lib/selftest-support.exp: Likewise.
4762
26d6cec4
AA
47632018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4764
4765 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4766
4ee89e90
SR
47672018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4768
4769 * gdb.perf/template-breakpoints.cc: New file.
4770 * gdb.perf/template-breakpoints.exp: New file.
4771 * gdb.perf/template-breakpoints.py: New file.
4772
92630041
TT
47732018-03-19 Tom Tromey <tom@tromey.com>
4774
4775 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4776 y0.
4777 * gdb.rust/simple.exp: Test bare identifier form of struct
4778 initializer.
4779
76727919
TT
47802018-03-19 Tom Tromey <tom@tromey.com>
4781
4782 * gdb.gdb/observer.exp: Remove.
4783
194ed413
AA
47842018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4785
4786 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4787 "qualified" option when setting breakpoints.
4788 * gdb.trace/backtrace.exp: Likewise.
4789 * gdb.trace/circ.exp: Likewise.
4790 * gdb.trace/collection.exp: Likewise.
4791 * gdb.trace/disconnected-tracing.exp: Likewise.
4792 * gdb.trace/ftrace-lock.exp: Likewise.
4793 * gdb.trace/ftrace.exp: Likewise.
4794 * gdb.trace/infotrace.exp: Likewise.
4795 * gdb.trace/packetlen.exp: Likewise.
4796 * gdb.trace/passc-dyn.exp: Likewise.
4797 * gdb.trace/qtro.exp: Likewise.
4798 * gdb.trace/read-memory.exp: Likewise.
4799 * gdb.trace/report.exp: Likewise.
4800 * gdb.trace/signal.exp: Likewise.
4801 * gdb.trace/status-stop.exp: Likewise.
4802 * gdb.trace/strace.exp: Likewise.
4803 * gdb.trace/tfind.exp: Likewise.
4804 * gdb.trace/trace-break.exp: Likewise.
4805 * gdb.trace/trace-condition.exp: Likewise.
4806 * gdb.trace/trace-mt.exp: Likewise.
4807 * gdb.trace/tstatus.exp: Likewise.
4808 * gdb.trace/tsv.exp: Likewise.
4809 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4810 * gdb.trace/unavailable.exp: Likewise.
4811 * gdb.trace/while-dyn.exp: Likewise.
4812
8b067d2c
AA
48132018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4814
4815 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4816 that libinproctrace is copied to the target.
4817
3ae9ce5d
TT
48182018-03-14 Tom Tromey <tom@tromey.com>
4819
4820 PR cli/14977:
4821 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4822 a null pointer.
4823 * gdb.base/wchar.exp: Likewise.
4824
b8c2339b
TT
48252018-03-14 Tom Tromey <tom@tromey.com>
4826
4827 PR cli/19918:
4828 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4829 flag.
4830
4872dc46
SM
48312018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4832
4833 PR gdb/22841
4834 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4835 "target" to remote_exec.
4836
e4fe3756
SM
48372018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4838
4839 PR gdb/22841
4840 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4841 ${board}_upload): Remove.
4842
e95a97d4
AA
48432018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4844
4845 * gdb.cp/watch-cp.cc: New test.
4846 * gdb.cp/watch-cp.exp: New file.
4847
dbbb1059
AB
48482018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4849
4850 * gdb.base/infcall-nested-structs.exp: New file.
4851 * gdb.base/infcall-nested-structs.c: New file.
4852 * gdb.base/float.exp: Add riscv support.
4853
ecc054c0
TP
48542018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4855
4856 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4857 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4858
25e3c82c
SDJ
48592018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4860
4861 * gdb.server/abspath.exp: New file.
4862 * lib/gdb.exp (with_cwd): New procedure.
4863
3083294d
SM
48642018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4865
4866 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4867 use it.
4868 (gdb_is_target_remote_prompt): New proc.
4869 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4870 (gdb_is_target_native): Pass prompt parameter to
4871 gdb_is_target_1.
4872
3275ef47
SM
48732018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4874
4875 * gdb.base/load-command.c: New file.
4876 * gdb.base/load-command.exp: New file.
4877 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4878 (gdb_is_target_1): ...this, and generalize for other targets
4879 than just remote.
4880 (gdb_is_target_remote): Use gdb_is_target_1.
4881 (gdb_is_target_native): use gdb_is_target_1.
4882
6893c19a
TT
48832018-02-26 Tom Tromey <tom@tromey.com>
4884
4885 PR python/16497:
4886 * gdb.python/py-framefilter.exp: Update test.
4887
2ddeaf8a
TT
48882018-02-26 Tom Tromey <tom@tromey.com>
4889
4890 * gdb.dwarf2/variant.c: New file.
4891 * gdb.dwarf2/variant.exp: New file.
4892
c9317f21
TT
48932018-02-26 Tom Tromey <tom@tromey.com>
4894
4895 * gdb.rust/simple.exp: Accept more possible results in enum test.
4896
6f6d0c26
SM
48972018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4898
4899 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4900 parentheses.
4901
11b03145
MR
49022018-02-23 Maciej W. Rozycki <macro@mips.com>
4903
4904 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4905 name of a variable: $actual_linejj -> $actual_line.
4906
54a27fe5
JB
49072018-02-21 John Baldwin <jhb@FreeBSD.org>
4908
4909 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4910
de65820c
MM
49112018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4912
4913 * gdb.btrace/buffer-size.exp: Do not force BTS.
4914
980548fd
PA
49152018-02-14 Pedro Alves <palves@redhat.com>
4916
4917 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4918 getting a "Quit".
4919
c4e12631
MM
49202018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4921
4922 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4923 Fix test name.
4924
c2e0e465
SM
49252018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4926
4927 * gdb.cp/m-static.exp: Check type of optimized out static
4928 member.
4929
f7216783
AB
49302018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4931
4932 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4933 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4934
0625771b
LS
49352018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4936 Leszek Swirski <leszeks@google.com>
4937
4938 * gdb.python/py-prettyprint.c
4939 (struct to_string_returns_value_inner,
4940 struct to_string_returns_value_wrapper): New.
4941 (main): Add tsrvw variable.
4942 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4943 ToStringReturnsValueWrapper): New classes.
4944 (register_pretty_printers): Register new pretty-printers.
4945 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4946 recursive pretty printer.
4947 * gdb.python/py-mi.exp: Likewise.
4948
59498c30
LS
49492018-02-01 Leszek Swirski <leszeks@google.com>
4950
4951 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4952 functions with the same name as an include file are parsed
4953 correctly.
4954
d4d38844
YQ
49552018-02-01 Yao Qi <yao.qi@linaro.org>
4956
4957 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4958 "\[^\r\n\]*".
4959
07e5f5cf
NP
49602018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4961
4962 * gdb.arch/powerpc-prologue-frame.s: New file.
4963 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4964 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4965
929b5ad4
JB
49662018-01-31 Joel Brobecker <brobecker@adacore.com>
4967
4968 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4969
e671cd59
PA
49702018-01-30 Pedro Alves <palves@redhat.com>
4971
4972 PR gdb/13211
4973 * gdb.base/interrupt-daemon.c: New.
4974 * gdb.base/interrupt-daemon.exp: New.
4975 * gdb.multi/multi-term-settings.c: New.
4976 * gdb.multi/multi-term-settings.exp: New.
4977
fc413dc4
JB
49782018-01-30 Joel Brobecker <brobecker@adacore.com>
4979
4980 * gdb.base/break.exp: Save the location where the breakpoint
4981 on break.c:47 was actually inserted when debugging the version
4982 compiled at -O2 and use it in the expected output of the "info
4983 break" test performed soon after.
4984
5c319bb2
PA
49852018-01-22 Pedro Alves <palves@redhat.com>
4986 Sergio Durigan Junior <sergiodj@redhat.com>
4987
4988 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4989 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4990
a9e40818
JB
49912018-01-22 Joel Brobecker <brobecker@adacore.com>
4992
4993 * gdb.base/break-include.c, gdb.base/break-include.inc,
4994 gdb.base/break-include.exp: New files.
4995 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4996 line number now being the actual line number where the breakpoint
4997 was inserted.
4998 * gdb.mi/mi-break.exp: Likewise.
4999 * gdb.mi/mi-reverse.exp: Likewise.
5000 * gdb.mi/mi-simplerun.exp: Ditto.
5001
e707fc44
AB
50022018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5003
5004 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5005 varobj.
5006 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5007
ae451627
AB
50082018-01-21 Don Breazeal <donb@codesourcery.com>
5009 Andrew Burgess <andrew.burgess@embecosm.com>
5010
5011 * gdb.mi/basics.c: Add new global.
5012 * gdb.mi/mi-frame-regs.exp: New file.
5013 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5014 case.
5015
b1b189e0
AB
50162018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5017
5018 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5019 non-parameter, and on an unknown symbol.
5020
fcfcc376
TT
50212018-01-19 Tom Tromey <tom@tromey.com>
5022
5023 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5024 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5025
634c1c31
AA
50262018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5027
5028 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5029 setrlimit and chdir to int.
5030
d6ad07fd
AA
50312018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5032
5033 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5034 function.
5035 (my_tend): Likewise.
5036 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5037 rationale of avoiding FP- and vector instructions.
5038
adf8243b
RK
50392018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5040
5041 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5042 "info reg" with "\[ \t\]*".
5043 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5044 "\[ \t\]+".
5045 * gdb.arch/s390-multiarch.exp: Ditto.
5046 * gdb.base/pc-fp.exp: Ditto.
5047 * gdb.reverse/i386-precsave.exp: Ditto.
5048 * gdb.reverse/i386-reverse.exp: Ditto.
5049 * gdb.reverse/i387-env-reverse.exp: Ditto.
5050 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5051
dcc06925
AA
50522018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5053
5054 * lib/gdb.exp (gdb_compile): Re-enable use of
5055 universal_compile_options for languages other than Rust.
5056
25d4fd80
AA
50572018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5058
5059 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5060
ee7f689e 50612018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5062
5063 PR gdb/16577
5064 * gdb.base/solib-vanish.exp: New.
5065 * gdb.base/solib-vanish-main.c: New.
5066 * gdb.base/solib-vanish-lib1.c: New.
5067 * gdb.base/solib-vanish-lib2.c: New.
5068
d8447b6b
YQ
50692018-01-17 Yao Qi <yao.qi@linaro.org>
5070
5071 * gdb.compile/compile.exp: Match the address printed for
5072 frame in the output of command "bt".
5073
86d6a90c
TT
50742018-01-15 Tom Tromey <tom@tromey.com>
5075
5076 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5077 compute sp_reg.
5078
cbcdb1aa
AB
50792018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5080
5081 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5082 to prepare.
5083 (prepare): Return 0 on error, 1 on success.
5084
eea61984
PA
50852018-01-12 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.base/continue-after-aborted-step-over.c: New.
5088 * gdb.base/continue-after-aborted-step-over.exp: New.
5089
6181e9c2
SM
50902018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5091
5092 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5093 options when not creating an executable.
5094
3cada740
PA
50952018-01-11 Pedro Alves <palves@redhat.com>
5096
5097 PR remote/22597
5098 * gdb.server/stop-reply-no-thread.c: New file.
5099 * gdb.server/stop-reply-no-thread.exp: New file.
5100
c63d3e8d
PA
51012018-01-10 Pedro Alves <palves@redhat.com>
5102
5103 PR gdb/22670
5104 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5105 functions too. Test setting breakpoints and printing C functions
5106 with no debug info too.
5107 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5108
d4c2a405
PA
51092018-01-10 Pedro Alves <palves@redhat.com>
5110
5111 PR gdb/22670
5112 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5113 a fail.
5114
8825213e
PA
51152018-01-10 Pedro Alves <palves@redhat.com>
5116
5117 PR gdb/22670
5118 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5119
605fd3c6
YQ
51202018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5121
5122 * gdb.server/unittest.exp: Match the output in non-development
5123 mode.
5124
1e5ded6c
YQ
51252018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5126
5127 * gdb.gdb/unittest.exp: Match output in non-development mode.
5128
30066b0b
JB
51292018-01-08 Joel Brobecker <brobecker@adacore.com>
5130
5131 * gdb.ada/access_tagged_param.exp: Relax expected output
5132 for value of "ObjL" in "continue" to pck.inspect breakpoint
5133 test.
5134
04bafb1e
XR
51352018-01-08 Joel Brobecker <brobecker@adacore.com>
5136
9f86398b
JB
5137 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5138 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5139
e379cee6
PA
51402018-01-05 Pedro Alves <palves@redhat.com>
5141
5142 PR gdb/18653
5143 * gdb.base/libsegfault.exp: New.
5144
de63c46b
PA
51452018-01-05 Joel Brobecker <brobecker@adacore.com>
5146
5147 PR gdb/22670
5148 * gdb.ada/access_tagged_param.exp: New file.
5149 * gdb.ada/access_tagged_param/foo.adb: New file.
5150
f98fc17b
PA
51512018-01-05 Pedro Alves <palves@redhat.com>
5152
5153 PR gdb/22670
5154 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5155 exercise lower case too, and to exercise both full matching and
5156 wild matching.
5157
342f8240
JB
51582018-01-05 Joel Brobecker <brobecker@adacore.com>
5159
5160 * gdb.ada/rename_subscript_param: New testcase.
5161
7150d33c
JG
51622018-01-05 Jerome Guitton <guitton@adacore.com>
5163
5164 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5165
cc0e770c
JB
51662018-01-05 Joel Brobecker <brobecker@adacore.com>
5167
5168 * gdb.ada/convvar_comp: New testcase.
5169
672a41aa 51702018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5171
5172 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5173 (My_Table): New global variable.
5174 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5175
7365ec2f
JB
51762018-01-04 Joel Brobecker <brobecker@adacore.com>
5177
5178 PR gdb/22670
5179 * gdb.ada/maint_with_ada: New testcase.
5180
289483b6
JB
51812018-01-04 Joel Brobecker <brobecker@adacore.com>
5182
5183 PR gdb/22670
5184 * gdb.ada/bp_c_mixed_case: New testcase.
5185
344420da
JB
51862018-01-04 Joel Brobecker <brobecker@adacore.com>
5187
5188 PR gdb/22670
5189 * gdb.ada/complete.exp: Add "complete break ada" test.
5190
66fc87a0
JB
51912018-01-04 Joel Brobecker <brobecker@adacore.com>
5192
5193 PR gdb/22670
5194 * gdb.ada/info_addr_mixed_case: New testcase.
5195
9f757bf7
XR
51962018-01-03 Xavier Roirand <roirand@adacore.com>
5197
5198 * gdb.ada/excep_handle.exp: New testcase.
5199 * gdb.ada/excep_handle/foo.adb: New file.
5200 * gdb.ada/excep_handle/pck.ads: New file.
5201
bd570f80
JB
52022018-01-03 Joel Brobecker <brobecker@adacore.com>
5203
5204 * gdb.base/step-line.c: Add extra empty line in copyright header.
5205 * gdb.base/step-line.inp: Likewise.
5206
9fe561ab
JB
52072018-01-02 Joel Brobecker <brobecker@adacore.com>
5208
5209 * gdb.ada/dyn_stride.exp: Add slice test.
5210
a405673c
JB
52112018-01-02 Joel Brobecker <brobecker@adacore.com>
5212
5213 * gdb.ada/dyn_stride: New testcase.
5214
cef0f868
SH
52152017-12-27 Stafford Horne <shorne@gmail.com>
5216
5217 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5218 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5219
b67d92b0
SH
52202017-12-27 Stafford Horne <shorne@gmail.com>
5221
5222 * gdb.base/reggroups.c: New file.
5223 * gdb.base/reggroups.exp: New file.
5224
eccab96d
JB
52252017-12-18 Joel Brobecker <brobecker@adacore.com>
5226
5227 * gdb.dwarf2/ada-valprint-error.c: New file.
5228 * gdb.dwarf2/ada-valprint-error.exp: New file.
5229
0e2da9f0
JB
52302017-12-18 Joel Brobecker <brobecker@adacore.com>
5231
5232 * gdb.ada/assign_arr: New testcase.
5233
cb923fcc
XR
52342017-12-18 Xavier Roirand <roirand@adacore.com>
5235
5236 * gdb.ada/funcall_ptr: New testcase.
5237
7c161838
SDJ
52382017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5239
5240 PR cli/16224
5241 * gdb.base/ptype-offsets.cc: New file.
5242 * gdb.base/ptype-offsets.exp: New file.
5243
1af17fd9
YQ
52442017-12-15 Yao Qi <yao.qi@linaro.org>
5245
5246 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5247 if XML is disabled.
5248
828d5846
XR
52492017-12-15 Xavier Roirand <roirand@adacore.com>
5250
5251 * gdb.ada/same_component_name: New testcase.
5252
79e8fcaa
JB
52532017-12-14 Joel Brobecker <brobecker@adacore.com>
5254
5255 * gdb.ada/str_binop_equal: New testcase.
5256
e05fa6f9
JB
52572017-12-14 Joel Brobecker <brobecker@adacore.com>
5258
5259 * gdb.ada/task_switch_in_core: New testcase.
5260
b89641ba
SM
52612017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5262
5263 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5264 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5265 call test_bkpt_qualified.
5266 (test_bkpt_qualified): New proc.
5267
6892d2e4
PA
52682017-12-13 Pedro Alves <palves@redhat.com>
5269
5270 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5271 Tighten regexp by matching with an anchor.
5272
a22ecf70
PA
52732017-12-13 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5276 ("expression with namespace"): New set of tests.
5277 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5278 (Nested::Test_NS::qux): New.
5279 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5280 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5281
9937536c
JB
52822017-12-13 Joel Brobecker <brobecker@adacore.com>
5283
5284 * gdb.base/server-del-break.c: New file.
5285 * gdb.base/server-del-break.exp: New file.
5286
fe49c6f5
SH
52872017-12-12 Stafford Horne <shorne@gmail.com>
5288
5289 * gdb.xml/tdesc-regs.exp: Add or1k support.
5290
c3d18620
SH
52912017-12-12 Stafford Horne <shorne@gmail.com>
5292
5293 * gdb.base/bp-permanent.c: Define nop of or1k.
5294
c5f9cfc8
JB
52952017-12-11 Joel Brobecker <brobecker@adacore.com>
5296
5297 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5298 output with components being reordered.
5299
a9c135fc
JB
53002017-12-11 Joel Brobecker <brobecker@adacore.com>
5301
5302 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5303 output with components being reordered.
5304
927aa2e7
JK
53052017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5306 Pedro Alves <palves@redhat.com>
5307
5308 * gdb.base/maint.exp (check for .gdb_index): Check also for
5309 .debug_names.
5310 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5311 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5312 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5313 (.gdb_index used after symbol reloading): Support also .debug_names.
5314 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5315
f17d9474
YQ
53162017-12-08 Yao Qi <yao.qi@linaro.org>
5317
5318 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5319 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5320
a0de8c21
YQ
53212017-12-08 Yao Qi <yao.qi@linaro.org>
5322
5323 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5324 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5325
a738ea1d
YQ
53262017-12-08 Yao Qi <yao.qi@linaro.org>
5327
5328 * gdb.arch/aarch64-tagged-pointer.c: New file.
5329 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5330
1cd9a73b
SDJ
53312017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5332
5333 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5334 "int".
5335
fa6eb693
KS
53362017-12-07 Keith Seitz <keiths@redhat.com>
5337
5338 PR breakpoints/22569
5339 * gdb.linespec/ls-errs.exp: Change expected result of "break
5340 -source this file has spaces.c -line 3".
5341 Check that an explicit source file followed by whitespace is
5342 identified as an invalid explicit location.
5343
883fd55a
KS
53442017-12-07 Keith Seitz <keiths@redhat.com>
5345
5346 * gdb.cp/nested-types.cc: New file.
5347 * gdb.cp/nested-types.exp: New file.
5348 * lib/cp-support.exp: Load data-structures.exp library.
5349 (debug_cp_test_ptype_class): New global.
5350 (cp_ptype_class_verbose, next_line): New procedures.
5351 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5352 Add and document new return value.
5353 Switch the list of lines to a queue.
5354 Add support for new `type' key for nested type definitions.
5355 Add debugging/troubleshooting messages.
5356 * lib/data-structures.exp: New file.
5357
ec72db3e
SM
53582017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5359
5360 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5361 with proc_with_prefix, don't use with_test_prefix.
5362
99598d71
TT
53632017-12-07 Tom Tromey <tom@tromey.com>
5364
5365 * gdb.base/break.exp: Add test for empty "commands".
5366
a8806230
YQ
53672017-12-07 Yao Qi <yao.qi@linaro.org>
5368
5369 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5370 malloc and catch syscall.
5371
824cc835
PM
53722017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5373
e79be6e5 5374 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5375 tests for explicit locations.
5376
7cc244de
PA
53772017-12-06 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5380 force-disabling XML descriptions.
5381
50a1fdd5
PA
53822017-12-04 Pedro Alves <palves@redhat.com>
5383
5384 PR gdb/22499
5385 * gdb.arch/amd64-disp-step-avx.S: New file.
5386 * gdb.arch/amd64-disp-step-avx.exp: New file.
5387
f0fb2488
PA
53882017-12-03 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5391 and <string.h>.
5392 (parent_function): Print distinct messages when waitpid fails, or
5393 the child exits with a signal, or the child exits for an unhandled
5394 reason.
5395 * gdb.threads/process-dies-while-detaching.exp
5396 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5397 it. Wait for both inferior output and GDB's prompt. Use an
5398 indirect spawn id list.
5399 (do_detach): New parameter 'child_exit'. Use it to compute
5400 expected inferior output.
5401 (test_detach, test_detach_watch, test_detach_killed_outside):
5402 Adjust to pass down the expected child exit kind.
5403
97cbe998
SDJ
54042017-12-01 Joel Brobecker <brobecker@adacore.com>
5405 Sergio Durigan Junior <sergiodj@redhat.com>
5406 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5409
40fc416f
SDJ
54102017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5411
5412 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5413 to 'symbol-file' and 'add-symbol-file' can be
5414 position-independent.
5415
1cc75e92
YQ
54162017-12-01 Yao Qi <yao.qi@linaro.org>
5417
5418 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5419 the URL in copyright header.
5420 * gdb.arch/aarch64-fp.exp: Likewise.
5421 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5422 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5423 * gdb.base/expand-psymtabs.exp: Likewise.
5424 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5425 * gdb.fortran/common-block.exp: Likewise.
5426 * gdb.fortran/common-block.f90: Likewise.
5427 * gdb.fortran/logical.exp: Likewise.
5428 * gdb.fortran/vla-datatypes.f90: Likewise.
5429 * gdb.fortran/vla-sub.f90: Likewise.
5430
875fb7a7
JB
54312017-11-30 Joel Brobecker <brobecker@adacore.com>
5432
5433 * gdb.ada/repeat_dyn: New testcase.
5434
6f14765f
UW
54352017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5436
5437 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5438 Update for changed thread numbering.
5439 * gdb.cell/bt.exp: Update for changed GDB output.
5440
f1af7b94
SM
54412017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5442
5443 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5444 setting isremote by hand.
5445 * boards/dwarf4-gdb-index.exp: Likewise.
5446 * boards/fission.exp: Likewise.
5447 * boards/stabs.exp: Likewise.
5448
e3919f3e
PA
54492017-11-30 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.linespec/cpls-ops.exp
5452 (check_explicit_skips_function_argument): Extract the underlying
5453 type of size_t instead of hardcoding it.
5454
bd69330d
PA
54552017-11-29 Pedro Alves <palves@redhat.com>
5456
5457 PR c++/19436
5458 * gdb.linespec/cpls-abi-tag.cc: New file.
5459 * gdb.linespec/cpls-abi-tag.exp: New file.
5460
a20714ff
PA
54612017-11-29 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.base/langs.exp: Use -qualified.
5464 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5465 it.
5466 * gdb.cp/namespace.exp: Use -qualified.
5467 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5468 (overload-3, template-overload, template-ret-type, const-overload)
5469 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5470 procedures.
5471 (test_driver): Call them.
5472 * gdb.cp/save-bp-qualified.cc: New.
5473 * gdb.cp/save-bp-qualified.exp: New.
5474 * gdb.linespec/explicit.exp: Test -qualified.
5475 * lib/completion-support.exp (completion::explicit_opts_list): Add
5476 "-qualified".
5477 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5478
f6f1d339
PM
54792017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5480
5481 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5482
02ca603a
TT
54832017-11-29 Tom Tromey <tom@tromey.com>
5484
5485 * gdb.base/relocate.exp: Update invalid argument test.
5486 Add new tests for invalid arguments.
5487
ed6c0bfb
TP
54882017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5489
5490 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5491 Return 0 as a long.
5492 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5493
f106e10e
TP
54942017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5495
5496 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5497 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5498 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5499 func ().
5500 * gdb.cp/shadow.cc (B.func): Return 0.
5501
10329bb2
JB
55022017-11-27 Joel Brobecker <brobecker@adacore.com>
5503
5504 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5505 expected output in gdb_expect call to allow the exception
5506 message to be present as well. Fix syntax confusion to avoid
5507 TCL thinking that exception_name is an array.
5508
617cd4bc
UW
55092017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5510
5511 * gdb.arch/spu-info.c: Include <unistd.h>.
5512 (do_signal_test): Fix broken calls to write.
5513 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5514 Fix checks for empty mailboxes. Update signal tests for corrected
5515 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5516 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5517 * gdb.cell/arch.exp: Use standard_output_file.
5518 * gdb.cell/break.exp: Likewise.
5519 * gdb.cell/bt.exp: Likewise.
5520 * gdb.cell/core.exp: Likewise.
5521 * gdb.cell/dwarfaddr.exp: Likewise.
5522 * gdb.cell/ea-cache.exp: Likewise.
5523 * gdb.cell/ea-standalone.exp: Likewise.
5524 * gdb.cell/f-regs.exp: Likewise.
5525 * gdb.cell/fork.exp: Likewise.
5526 * gdb.cell/gcore.exp: Likewise.
5527 * gdb.cell/mem-access.exp: Likewise.
5528 * gdb.cell/ptype.exp: Likewise.
5529 * gdb.cell/registers.exp: Likewise.
5530 * gdb.cell/sizeof.exp: Likewise.
5531 * gdb.cell/solib-symbol.exp: Likewise.
5532 * gdb.cell/solib.exp: Likewise.
617cd4bc 5533
a81aaca0
PA
55342017-11-25 Pedro Alves <palves@redhat.com>
5535
5536 * gdb.base/complete-empty.exp: New file.
5537 * gdb.base/completion.exp: Adjust.
5538
6a3c6ee4
PA
55392017-11-25 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.linespec/cpls-ops.cc: New file.
5542 * gdb.linespec/cpls-ops.exp: New file.
5543 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5544 factored out from ...
5545 (test_complete_prefix_range): ... this.
5546
8955eb2d
PA
55472017-11-24 Pedro Alves <palves@redhat.com>
5548
5549 * gdb.linespec/cpcompletion.exp: New file.
5550 * gdb.linespec/cpls-hyphen.cc: New file.
5551 * gdb.linespec/cpls.cc: New file.
5552 * gdb.linespec/cpls2.cc: New file.
5553 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5554 test to use test_gdb_complete_unique. Add label completion,
5555 keyword completion and explicit location completion tests.
5556 * lib/completion-support.exp: New file.
5557
e547c119
JB
55582017-11-24 Joel Brobecker <brobecker@adacore.com>
5559
5560 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5561 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5562 when hitting an exception catchpoint.
5563
7c3c1aa8
YQ
55642017-11-22 Yao Qi <yao.qi@linaro.org>
5565
5566 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5567
41bd68f5
SM
55682017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5569
5570 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5571 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5572 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5573
1daad298
YQ
55742017-11-22 Yao Qi <yao.qi@linaro.org>
5575
5576 * gdb.base/info-os.exp: Pass pthreads.
5577 * gdb.multi/multi-attach.exp: Likewise.
5578
88465e87
YQ
55792017-11-22 Yao Qi <yao.qi@linaro.org>
5580
5581 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5582 compiler.
5583
dc196b23
YQ
55842017-11-22 Yao Qi <yao.qi@linaro.org>
5585
5586 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5587 * gdb.base/break-interp.exp: Likewise.
5588 * gdb.base/jit-attach-pie.exp: Likewise.
5589
2400729e
UW
55902017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5591
5592 * gdb.base/float128.c (large128): New variable.
5593 * gdb.base/float128.exp: Add test to print largest __float128 value.
5594
7a26362d
UW
55952017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5596
5597 * gdb.arch/vsx-regs.exp: Update register content checks.
5598
ed0f4273
UW
55992017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5600
5601 * gdb.arch/ppc-longdouble.exp: New file.
5602 * gdb.arch/ppc-longdouble.c: Likewise.
5603
a25d69c6
PA
56042017-11-21 Pedro Alves <palves@redhat.com>
5605
5606 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5607
73fcf641
PA
56082017-11-20 Pedro Alves <palves@redhat.com>
5609
5610 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5611 (long_double_typedef): New typedefs.
5612 Use DEF on double and long double.
5613 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5614 cases.
5615 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5616 and 'long_double_ptr_same_size' locals. Use them to decide
5617 whether cast from array/function to float is valid/invalid.
5618
71a3c369
TT
56192017-11-17 Tom Tromey <tom@tromey.com>
5620
5621 * gdb.rust/traits.rs: New file.
5622 * gdb.rust/traits.exp: New file.
5623
ced9779b
JB
56242017-11-17 Joel Brobecker <brobecker@adacore.com>
5625
5626 * gdb.ada/minsyms: New testcase.
5627
a0922d80
PA
56282017-11-16 Pedro Alves <palves@redhat.com>
5629
5630 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5631 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5632
ea04e54c
PA
56332017-11-16 Pedro Alves <palves@redhat.com>
5634
5635 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5636 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5637
e849ea89
PA
56382017-11-16 Pedro Alves <palves@redhat.com>
5639
5640 * gdb.server/reconnect-ctrl-c.c: New file.
5641 * gdb.server/reconnect-ctrl-c.exp: New file.
5642
d8ae99a7
PM
56432017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5644
5645 * gdb.python/py-rbreak.exp: New file.
5646 * gdb.python/py-rbreak.c: New file.
5647 * gdb.python/py-rbreak-func2.c: New file.
5648
968a13f8
PA
56492017-11-16 Pedro Alves <palves@redhat.com>
5650
5651 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5652 pattern.
5653 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5654 GDB.
5655
71774bc9
SM
56562017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5657
5658 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5659 regex.
5660
ddbb44cf
SM
56612017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5662
5663 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5664 test names.
5665
584a564f
PA
56662017-11-09 Pedro Alves <palves@redhat.com>
5667
5668 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5669 factored out from ...
5670 (top level): ... here, and adjusted to avoid expecting beyond the
5671 prompt in a single gdb_test_multiple.
5672
5ed7a928
PA
56732017-11-09 Pedro Alves <palves@redhat.com>
5674
5675 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5676 output.
5677 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5678 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5679 * gdb.server/ext-run.exp ("kill" test): Likewise.
5680 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5681
a60e0738
PA
56822017-11-09 Pedro Alves <palves@redhat.com>
5683
5684 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5685 match till end of line.
5686
2c88253f
PA
56872017-11-09 Pedro Alves <palves@redhat.com>
5688
5689 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5690
c7a38517
PA
56912017-11-09 Pedro Alves <palves@redhat.com>
5692
5693 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5694 New procedures, factored out from ...
5695 (top level): ... here, and adjusted to avoid expecting beyond the
5696 prompt in one go.
5697
f29f4b6b
PA
56982017-11-09 Pedro Alves <palves@redhat.com>
5699
5700 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5701 output. Fix '?' match.
5702
286acbb5
JB
57032017-11-08 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.ada/scoped_watch: New testcase.
5706 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5707 which is actually correct.
5708 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5709 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5710
62d7ae92
PA
57112017-11-08 Pedro Alves <palves@redhat.com>
5712
5713 * gdb.gdb/complaints.exp (test_initial_complaints)
5714 (test_serial_complaints, test_short_complaints): Call
5715 complaint_internal instead of complaint.
5716
280ca31f
DT
57172017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5718
5719 * gdb.threads/tls-core.c: New file.
5720 * gdb.threads/tls-core.exp: Likewise.
5721
b5ec771e
PA
57222017-11-08 Pedro Alves <palves@redhat.com>
5723
5724 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5725 (p Exported_Capitalized): New test.
5726 (p exported_capitalized): New test.
5727
a02b41a7
PA
57282017-11-07 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5731
95e95a6d
PA
57322017-11-07 Pedro Alves <palves@redhat.com>
5733
5734 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5735 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5736 (disable_invalid, disable_inverted, disable_negative): New
5737 procedures.
5738 ("bad numbers"): New set of tests.
5739
cee62dbd
PA
57402017-11-07 Pedro Alves <palves@redhat.com>
5741
5742 * gdb.cp/ena-dis-br-range.exp: Add tests.
5743
cc638e86
PA
57442017-11-07 Pedro Alves <palves@redhat.com>
5745
5746 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5747
d0fe4701
XR
57482017-11-07 Xavier Roirand <roirand@adacore.com>
5749 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.base/ena-dis-br.exp: Add reference to
5752 gdb.cp/ena-dis-br-range.exp.
5753 * gdb.cp/ena-dis-br-range.exp: New file.
5754 * gdb.cp/ena-dis-br-range.cc: New file.
5755
46f67f80
PA
57562017-11-06 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/attach-non-pgrp-leader.c: New.
5759 * gdb.base/attach-non-pgrp-leader.exp: New.
5760
726e1356
PA
57612017-11-06 Pedro Alves <palves@redhat.com>
5762
5763 * configure.ac: No longer check for termio.h and sgtty.h.
5764 * configure: Regenerate.
5765 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5766 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5767 Remove termio and sgtty code.
5768
50ab6ace
YQ
57692017-11-03 Yao Qi <yao.qi@linaro.org>
5770
5771 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5772 in GDB is disabled.
5773
8e68731c
YQ
57742017-11-03 Yao Qi <yao.qi@linaro.org>
5775
5776 * gdb.python/py-thrhandle.exp: Skip it if python is not
5777 enabled.
5778
3a87ae65
SM
57792017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5780
5781 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5782 as a breakpoint command.
5783
484d8d36
MD
57842017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5785
5786 PR python/21213
5787 * gdb.python/py-infthread.exp: Test calling
5788 InferiorThread.inferior () multiple times in a row.
5789
4a27f119
KS
57902017-10-27 Keith Seitz <keiths@redhat.com>
5791
5792 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5793 Test "info break" for every inlined function breakpoint.
5794
bb11dd58
YQ
57952017-10-27 Yao Qi <yao.qi@linaro.org>
5796
5797 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5798
a43f3893
PF
57992017-10-26 Patrick Frants <osscontribute@gmail.com>
5800
5801 * gdb.cp/classes.exp (test_static_members): Test printing
5802 Outer::instance.
5803 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5804 (Inner::instance, Outer::instance): New.
5805
792ccf00
PA
58062017-10-24 Pedro Alves <palves@redhat.com>
5807
5808 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5809 extra console" test in two stages.
5810
eb2bfbad
PA
58112017-10-24 Pedro Alves <palves@redhat.com>
5812
5813 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5814
1f75a651
PA
58152017-10-24 Pedro Alves <palves@redhat.com>
5816
5817 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5818 loop.
5819
779990d9
PA
58202017-10-24 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5823 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5824
ad9b8f5d
PA
58252017-10-24 Pedro Alves <palves@redhat.com>
5826
5827 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5828 parameter and handle it. Don't output read value in test name.
5829
fee6da6e
PA
58302017-10-24 Pedro Alves <palves@redhat.com>
5831
5832 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5833 custom test name.
5834
10389c2c
PA
58352017-10-24 Pedro Alves <palves@redhat.com>
5836
5837 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5838 include the unstable output directory name in the test's name.
5839 (initial_setup_simple) <'set args'>: Use custom test name.
5840
a80e65a9
PA
58412017-10-24 Pedro Alves <palves@redhat.com>
5842
5843 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5844 with explicit test name.
5845
15763a09
PA
58462017-10-20 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5849 'wait -i'. Use gdb_assert and remote_close.
5850
49a4ce2e
AB
58512017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5852
5853 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5854 number from variable rather than hard-coded.
5855
a75868f5
PA
58562017-10-19 Pedro Alves <palves@redhat.com>
5857
5858 * gdb.base/long-inferior-output.c: New file.
5859 * gdb.base/long-inferior-output.exp: New file.
5860
c8ba13ad
KS
58612017-11-18 Keith Seitz <keiths@redhat.com>
5862
5863 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5864 method.
5865 (main): Call it.
5866 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5867 Add additional user-defined conversion operator tests.
5868
b27de576
PA
58692017-10-17 Pedro Alves <palves@redhat.com>
5870
5871 * boards/native-stdio-gdbserver.exp: Load "local-board".
5872
8484c955
PA
58732017-10-17 Pedro Alves <palves@redhat.com>
5874
5875 * gdb.base/quit-live.c: New file.
5876 * gdb.base/quit-live.exp: New file.
5877
83d5a34d
KS
58782017-10-16 Keith Seitz <keiths@redhat.com>
5879
5880 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5881 (class_with_protected_typedef, class_with_private_typedef)
5882 (struct_with_public_typedef, struct_with_protected_typedef)
5883 (struct_with_private_typedef): New classes/structs.
5884 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5885 typedefs and access specifiers.
5886
739b3f1d
PA
58872017-10-16 Pedro Alves <palves@redhat.com>
5888 Simon Marchi <simon.marchi@polymtl.ca>
5889
5890 * README (Local vs Remote vs Native): New section.
5891 * boards/local-board.exp: New file, with bits factored out from
5892 ...
5893 * boards/native-extended-gdbserver.exp: ... here. Load
5894 "local-board".
5895 * boards/native-gdbserver.exp: Load "local-board".
5896 (${board}_spawn, ${board}_exec): Delete.
5897 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5898 ...
5899 * boards/stdio-gdbserver-base.exp: ... this new file.
5900 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5901 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5902 procedure.
5903 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5904 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5905 stdio_gdbserver_command.
5906 (${board}_get_remote_address, ${board}_get_comm_port)
5907 (${board}_download, ${board}_upload): Delete.
5908 (get_target_remote_pipe_cmd): New.
5909
fe68b953
SM
59102017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5911
5912 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5913 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5914 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5915 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5916 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5917 remove with_test_prefix.
5918
300b6685
PA
59192017-10-13 Pedro Alves <palves@redhat.com>
5920
5921 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5922 * gdb.base/annota1.exp: Use it instead of is_remote.
5923 * gdb.base/annota3.exp: Use it instead of is_remote.
5924 * gdb.cp/annota2.exp: Use it instead of is_remote.
5925 * gdb.cp/annota3.exp: Use it instead of is_remote.
5926 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5927
50500caf
PA
59282017-10-13 Pedro Alves <palves@redhat.com>
5929
5930 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5931 (test_num_test_vars, run_and_count_vars, find_env)
5932 (test_set_unset_env, test_inherit_env_var): New procedures.
5933 (top level): Use them.
5934
dad0c6d2
PA
59352017-10-13 Pedro Alves <palves@redhat.com>
5936
5937 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5938 also skip on stub-like targets.
5939
8b0553c1
PA
59402017-10-13 Pedro Alves <palves@redhat.com>
5941
5942 PR gdb/22293
5943 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5944 (top level): Move some tests to ...
5945 (test_not_found): ... this new procedure.
5946 (top level): Call it.
5947
7594f623
PA
59482017-10-13 Pedro Alves <palves@redhat.com>
5949
5950 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5951 expect different "info terminal" output if testing with a
5952 non-native target.
5953
ebe3b402
PA
59542017-10-13 Pedro Alves <palves@redhat.com>
5955 Simon Marchi <simon.marchi@polymtl.ca>
5956
5957 PR python/12966
5958 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5959
42f1b161
PA
59602017-10-13 Pedro Alves <palves@redhat.com>
5961
5962 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5963 already.
5964
8d6ef72b
PA
59652017-10-13 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5968 is_remote.
5969
d7bcd5b8
PA
59702017-10-13 Pedro Alves <palves@redhat.com>
5971
5972 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5973 is_remote.
5974
df479dc6
PA
59752017-10-13 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5978 is set.
5979 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5980 instead of is_remote.
5981
23fb630a
PA
59822017-10-13 Pedro Alves <palves@redhat.com>
5983
5984 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5985 (top level): Add comment.
5986
cc77b1dc
PA
59872017-10-13 Pedro Alves <palves@redhat.com>
5988
5989 * gdb.base/remote.exp (top level): Fix comment typo and add
5990 missing return.
5991
27c9e813
PA
59922017-10-13 Pedro Alves <palves@redhat.com>
5993 Simon Marchi <simon.marchi@polymtl.ca>
5994
5995 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5996 calls and add comments. Skip test if use_gdb_stub is set.
5997 (top level): Use "set cwd" command instead of "cd" command.
5998
5e830d98
PA
59992017-10-13 Pedro Alves <palves@redhat.com>
6000
6001 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6002 is_remote target check.
6003
f5ca0032
PA
60042017-10-13 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.base/scope.exp: Use build_executable + clean_restart +
6007 gdb_file_cmd instead of prepare_for_testing and no longer skip
6008 "before run" tests on is_remote target boards. Update comments.
6009 * boards/native-extended-gdbserver.exp
6010 (extended_gdbserver_load_last_file): New, factored out from ...
6011 (gdb_load): ... this. Move further below and add comment.
6012 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6013
8aed1c0d
PA
60142017-10-12 Pedro Alves <palves@redhat.com>
6015
6016 * gdb.base/attach.exp: Remove references to gdb64.
6017 * gdb.base/dbx.exp: Remove references to gdb64.
6018
cfa34c87
SM
60192017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6020 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.base/label.exp: Remove is_remote target check.
6023
9192b7de
PA
60242017-10-12 Pedro Alves <palves@redhat.com>
6025
6026 * gdb.base/auvx.exp (coredir): Update comment.
6027 (top level) <core_works>: Use "set cwd" command instead of "cd"
6028 command.
6029
6bf0052d
PA
60302017-10-12 Pedro Alves <palves@redhat.com>
6031 Simon Marchi <simon.marchi@polymtl.ca>
6032
6033 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6034 target boards.
6035
e48ef82d
PA
60362017-10-12 Pedro Alves <palves@redhat.com>
6037 Simon Marchi <simon.marchi@polymtl.ca>
6038
6039 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6040 Instead skip if there's any gdb_protocol set.
6041
8d7aea57
SM
60422017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6043 Pedro Alves <palves@redhat.com>
6044
6045 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6046
30440677
PA
60472017-10-12 Pedro Alves <palves@redhat.com>
6048 Simon Marchi <simon.marchi@polymtl.ca>
6049
6050 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6051 instead of on dejagnu remote boards.
6052
4e04f045 60532017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6054 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6055
6056 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6057 checks. Use build_executable + clean_restart instead of
6058 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6059 of enabling non-stop after starting gdb.
6060
871a186e
PA
60612017-10-12 Pedro Alves <palves@redhat.com>
6062
6063 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6064 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6065 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6066 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6067
56d704da
AK
60682017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6069
6070 * gdb.arch/arc-tdesc-cpu.exp: New file.
6071 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6072
2f20e312
SM
60732017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6074
6075 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6076
65630365
PA
60772017-10-10 Pedro Alves <palves@redhat.com>
6078
6079 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6080 expect CLI output.
6081
bf469271
PA
60822017-10-10 Pedro Alves <palves@redhat.com>
6083
6084 * lib/selftest-support.exp (selftest_setup): Update for
6085 captured_command_loop's prototype change.
6086
777a42f1
PA
60872017-10-09 Pedro Alves <palves@redhat.com>
6088
6089 Test both arch1=>arch2 and arch2=>arch1.
6090
6091 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6092 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6093 factored out to...
6094 (append_arch1_options, append_arch2_options, append_arch_options)
6095 (build_executables): New procedures.
6096 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6097 local.
6098 (top level): Add new 'first_arch' testing axis.
6099
cbd2b4e3
PA
61002017-10-09 Pedro Alves <palves@redhat.com>
6101
6102 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6103 (barrier): New.
6104 (thread_start, all_started): New functions.
6105 (main): Spawn new thread and wait until it is scheduled.
6106 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6107 option.
6108 (do_test): Add 'selected_thread' parameter. Run to all_started
6109 instead of main. Explicitly set the breakpoint at main. Switch
6110 to the SELECTED_THREAD thread.
6111 (top level): Test handling the exec event with either the main
6112 thread or the second thread selected.
6113
5c9e4427
PA
61142017-10-09 Pedro Alves <palves@redhat.com>
6115
6116 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6117 logic. Move STOP marker after the value checks.
6118 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6119 regexp.
6120
b3b7c423
SL
61212017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6122
6123 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6124
3b4b2f16
UW
61252017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6126
6127 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6128 integer-to-dfp conversion.
6129 * gdb.base/dfp-test.exp: Likewise.
6130
5cd63fda
PA
61312017-10-04 Pedro Alves <palves@redhat.com>
6132
6133 * gdb.multi/hangout.c: Include <unistd.h>.
6134 (hangout_loop): New function.
6135 (main): Call alarm. Call hangout_loop in a loop.
6136 * gdb.multi/hello.c: Include <unistd.h>.
6137 (hello_loop): New function.
6138 (main): Call alarm. Call hangout_loop in a loop.
6139 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6140 inferior with the other selected.
6141
4c71c105
SM
61422017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6143
6144 * gdb.mi/list-thread-groups-available.exp: New file.
6145 * gdb.mi/list-thread-groups-available.c: New file.
6146
bc3b087d
SDJ
61472017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6148
6149 * gdb.base/set-cwd.exp: Make it available on
6150 native-extended-gdbserver.
6151
d092c5a2
SDJ
61522017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6153
6154 * gdb.base/set-cwd.c: New file.
6155 * gdb.base/set-cwd.exp: Likewise.
6156
45320ffa
TT
61572017-10-02 Tom Tromey <tom@tromey.com>
6158
6159 PR rust/22236:
6160 * gdb.rust/simple.rs (main): New variable "fslice".
6161 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6162
b3e3859b
TT
61632017-10-02 Tom Tromey <tom@tromey.com>
6164
6165 * gdb.rust/simple.exp: Test ptype of a slice.
6166
01af5e0d
TT
61672017-10-02 Tom Tromey <tom@tromey.com>
6168
6169 * gdb.rust/simple.exp: Test index of slice.
6170
a9bbfbd8
TT
61712017-09-27 Tom Tromey <tom@tromey.com>
6172
6173 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6174
df8899e5
TP
61752017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6176 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.base/compare-sections.exp (get value of read-only section): Read
6179 as unsigned value.
6180 (corrupt read-only section): Likewise and don't set written if patching
6181 failed.
6182
757bf54b
KB
61832017-09-21 Kevin Buettner <kevinb@redhat.com>
6184
6185 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6186 files.
6187
06871ae8
PA
61882017-09-20 Pedro Alves <palves@redhat.com>
6189
6190 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6191 symbol names in gdb's output.
6192 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6193
e5f25bc5
PA
61942017-09-20 Pedro Alves <palves@redhat.com>
6195
6196 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6197 Rename to ...
6198 (test_list_ambiguous_symbol): ... this and add a symbol name
6199 parameter. Adjust.
6200 (test_list_ambiguous_function): Reimplement on top of
6201 test_list_ambiguous_symbol and also test listing ambiguous
6202 variables.
6203 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6204 (ambiguous_fun): ... this.
6205 (ambiguous_var): New.
6206 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6207 (ambiguous_fun): ... this.
6208 (ambiguous_var): New.
6209
4e5a4f58
JB
62102017-09-19 John Baldwin <jhb@FreeBSD.org>
6211
6212 * gdb.base/starti.c: New file.
6213 * gdb.base/starti.exp: New file.
6214 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6215
26e53f3e
PA
62162017-09-14 Pedro Alves <palves@redhat.com>
6217
6218 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6219 (top level): Use it instead of runto.
6220
cb791d59
TT
62212017-09-11 Tom Tromey <tom@tromey.com>
6222
6223 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6224
7c96f8c1
TT
62252017-09-11 Tom Tromey <tom@tromey.com>
6226
6227 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6228 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6229
469412dd
CW
62302017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6231
6232 * gdb.fortran/printing-types.exp: New file.
6233 * gdb.fortran/printing-types.exp: New file.
6234
e0f86435
BH
62352017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6236
6237 * gdb.fortran/vla-ptype.exp: Fix typos.
6238 * gdb.fortran/vla-value.exp: Same.
6239
9e9af4be
BH
62402017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6241
6242 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6243 * gdb.mi/mi-var-child-f.exp: Likewise.
6244 * gdb.mi/mi-vla-fortran.exp: Likewise.
6245
a5ad232b 62462017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6247 Christoph Weinmann <christoph.t.weinmann@intel.com>
6248 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6249
6250 * gdb.fortran/ptr-indentation.f90: New file.
6251 * gdb.fortran/ptr-indentation.exp: New file.
6252
5aec60eb
TT
62532017-09-05 Tom Tromey <tom@tromey.com>
6254
6255 PR gdb/22010:
6256 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6257
8f8f8152
TP
62582017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6259
6260 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6261
fbd1b771
JK
62622017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6263
6264 * gdb.threads/tls-nodebug-pie.c: New file.
6265 * gdb.threads/tls-nodebug-pie.exp: New file.
6266
5eb5f850
TT
62672017-09-05 Tom Tromey <tom@tromey.com>
6268
6269 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6270 for rust.
6271
ae780a21
SM
62722017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6273
6274 * gdb.multi/multi-arch-exec.exp: Test with different
6275 "follow-exec-mode" settings.
6276 (do_test): New procedure.
6277
3693fdb3
PA
62782017-09-04 Pedro Alves <palves@redhat.com>
6279
6280 * gdb.base/func-static.c (S::method const, S::method volatile)
6281 (S::method volatile const): New methods.
6282 (c_s, v_s, cv_s): New instances.
6283 (main): Call method() on them.
6284 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6285 (cannot_resolve): New procedure.
6286 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6287 print-quote-unquoted columns.
6288 (do_test): Test printing each scope too.
6289
e68cb8e0
PA
62902017-09-04 Pedro Alves <palves@redhat.com>
6291
6292 * gdb.base/local-static.exp: Also test with
6293 class::method::variable wholly quoted.
6294 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6295
858be34c
PA
62962017-09-04 Pedro Alves <palves@redhat.com>
6297
6298 * gdb.base/local-static.c: New.
6299 * gdb.base/local-static.cc: New.
6300 * gdb.base/local-static.exp: New.
6301
46a4882b
PA
63022017-09-04 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.asm/asm-source.exp: Add casts to int.
6305 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6306 (dataglobal64_1, dataglobal64_2): New globals.
6307 * gdb.base/nodebug.exp: Test different expressions involving the
6308 new globals, with print, whatis and ptype. Add casts to int.
6309 * gdb.base/solib-display.exp: Add casts to int.
6310 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6311 * gdb.cp/m-static.exp: Add cast to int.
6312 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6313 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6314 tls variable with no debug info without a cast. Test with a cast
6315 to int too.
6316 * gdb.trace/entry-values.exp: Add casts.
6317
2c5a2be1
PA
63182017-09-04 Pedro Alves <palves@redhat.com>
6319
6320 * gdb.base/nodebug.exp: Test that ptype's error about functions
6321 with unknown return type includes the function name too.
6322
7022349d
PA
63232017-09-04 Pedro Alves <palves@redhat.com>
6324
6325 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6326 return type of munmap in infcall.
6327 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6328 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6329 type of ftell in infcall.
6330 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6331 type of getpid in infcall.
6332 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6333 infcall.
6334 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6335 Bail on failure to extract the pid.
6336 * gdb.base/nodebug.c: #include <stdint.h>.
6337 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6338 New functions.
6339 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6340 Change expected output of print/whatis/ptype with functions with
6341 no debug info. Test all supported languages. Call
6342 test_call_promotion.
6343 * gdb.compile/compile.exp: Adjust expected output to expect
6344 warning.
6345 * gdb.threads/siginfo-threads.exp: Likewise.
6346
54990598
PA
63472017-09-04 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6350 "prototypes". Test calling float functions via prototyped and
6351 unprototyped function pointers.
6352 (perform_all_tests): New parameter "prototypes". Pass it down.
6353 (top level): Pass down "prototypes" parameter to
6354 perform_all_tests.
6355
34d16ea2
SM
63562017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6357
6358 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6359 Test with nested loops.
6360
9521ecda
SM
63612017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6362
6363 * gdb.base/commands.exp: Call the new procedures.
6364 (loop_break_test, loop_continue_test): New procedures.
6365
80a65e9b
SM
63662017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6367
6368 * gdb.base/commands.exp: Call new procedure.
6369 (define_if_without_arg_test): New procedure.
6370
e439fa14
PA
63712017-09-04 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.base/list-ambiguous.exp: New file.
6374 * gdb.base/list-ambiguous0.c: New file.
6375 * gdb.base/list-ambiguous1.c: New file.
6376 * gdb.base/list.exp (test_list_range): Adjust expected output.
6377
0a2dde4a
SDJ
63782017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6379
6380 * gdb.base/share-env-with-gdbserver.c: New file.
6381 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6382
5e89eb3a
SM
63832017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6384
6385 * gdb.base/commands.exp (gdbvar_simple_if_test,
6386 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6387 progvar_simple_if_test, progvar_simple_while_test,
6388 progvar_complex_if_while_test, user_defined_command_test,
6389 user_defined_command_args_eval,
6390 user_defined_command_args_stack_test,
6391 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6392 temporary_breakpoint_commands,
6393 gdb_test_no_prompt, redefine_hook_test,
6394 redefine_backtrace_test): Remove "global gdb_prompt".
6395
fd437cbc
SM
63962017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6397
6398 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6399 New proc, call it from toplevel.
6400
87215ad1
SDJ
64012017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6402
6403 PR remote/21852
6404 * gdb.server/normal.c: New file, copied from gdb.base.
6405 * gdb.server/run-without-local-binary.exp: New file.
6406
58afddc6
WP
64072017-08-07 Weimin Pan <weimin.pan@oracle.com>
6408
6409 * gdb.arch/sparc64-adi.exp: New file.
6410 * gdb.arch/sparc64-adi.c: New file.
6411
5277199a
PA
64122017-08-22 Pedro Alves <palves@redhat.com>
6413
6414 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6415 (top level): Add "list all overloads" tests.
6416
14278e1f
TT
64172017-08-22 Tom Tromey <tom@tromey.com>
6418
6419 * gdb.gdb/xfullpath.exp: Remove.
6420
bf223d3e
PA
64212017-08-21 Pedro Alves <palves@redhat.com>
6422
6423 PR gdb/19487
6424 * gdb.base/symbol-alias.c: New.
6425 * gdb.base/symbol-alias2.c: New.
6426 * gdb.base/symbol-alias.exp: New.
6427
c973d0aa
PA
64282017-08-21 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.base/dfp-test.c
6431 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6432 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6433 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6434 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6435 * gdb.base/whatis-ptype-typedefs.c: New.
6436 * gdb.base/whatis-ptype-typedefs.exp: New.
6437 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6438 (an_int, an_int_type, an_int_type2): New globals.
6439 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6440 involving typedefs and cast expressions.
6441 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6442 (lookup_typedefs_function): New.
6443 (typedefs_pretty_printers_dict): New.
6444 (top level): Register lookup_typedefs_function in
6445 gdb.pretty_printers.
6446
6d580b63
YQ
64472017-08-18 Yao Qi <yao.qi@linaro.org>
6448
6449 * gdb.server/unittest.exp: New.
6450
206726fb
SDJ
64512017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6452
6453 PR gdb/21954
6454 * gdb.base/environ.exp: Add test to check if 'unset environment'
6455 works.
6456
bf0ec4c2
AA
64572017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6458
6459 * lib/gdb.exp (universal_compile_options): New caching proc.
6460 (gdb_compile): Suppress GCC's coloring of messages.
6461
d6382fff
TT
64622017-08-14 Tom Tromey <tom@tromey.com>
6463
6464 PR gdb/21675:
6465 * gdb.base/printcmds.exp (test_radices): New function.
6466 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6467 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6468 * lib/gdb.exp (get_integer_valueof): Use p/d.
6469
c2c2dd9f
SM
64702017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6471
6472 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6473 characters.
6474
fdffd6f4
TT
64752017-08-05 Tom Tromey <tom@tromey.com>
6476
6477 * gdb.rust/simple.exp: Allow String to appear in a different
6478 namespace.
6479
27d41eac
YQ
64802017-07-26 Yao Qi <yao.qi@linaro.org>
6481
6482 * gdb.gdb/unittest.exp: Invoke command
6483 "maintenance check xml-descriptions".
6484
031ed05d
AA
64852017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6486
6487 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6488 calling context.
6489 (hex128): Drop erroneous calculation of parameters.
6490
dcd27ddf
SM
64912017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6492
6493 * gdb.python/py-unwind.exp: Disable stack protection when
6494 building test file.
6495
47e77640
PA
64962017-07-20 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.base/default.exp (set language): Adjust expected output.
6499
62d2a18a
PA
65002017-07-20 Pedro Alves <palves@redhat.com>
6501
6502 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6503 (test_minsym): ... this, and make static.
6504 (get_pck__foo__bar__minsym): Rename to ...
6505 (get_test_minsym): ... this.
6506 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6507 symbol names and comments.
6508 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6509 (get_test_minsym): ... this.
6510 (pck__foo__bar__minsym__2): Rename to ...
6511 (test_minsym): ... this.
6512 (main): Adjust.
6513
c45ec17c
PA
65142017-07-17 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.base/completion.exp: Adjust expected output.
6517 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6518 the completer works.
6519
c6756f62
PA
65202017-07-17 Pedro Alves <palves@redhat.com>
6521
6522 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6523
5bd68487
AB
65242017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6525
6526 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6527
8880f2a9
TT
65282017-07-14 Tom Tromey <tom@tromey.com>
6529
6530 PR rust/21764:
6531 * gdb.rust/simple.exp: Add tests.
6532
65547233
TT
65332017-07-14 Tom Tromey <tom@tromey.com>
6534
6535 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6536
8f14146e
PA
65372017-07-14 Pedro Alves <palves@redhat.com>
6538
6539 * gdb.linespec/base/one/thefile.cc (z1): New function.
6540 * gdb.linespec/base/two/thefile.cc (z2): New function.
6541 * gdb.linespec/linespec.exp: Add tests.
6542
b4365d02
AB
65432017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6544
6545 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6546 to mi_create_breakpoint.
6547
5d2cbaa5
AB
65482017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6549
6550 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6551 mi_create_breakpoint.
6552
11cb5716
IB
65532017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6554
6555 * gdb.dlang/demangle.exp: Update for demangling changes.
6556
03278692
TT
65572017-07-09 Tom Tromey <tom@tromey.com>
6558
6559 * gdb.dwarf2/shortpiece.exp: New file.
6560
33c5cd75
DB
65612017-07-06 David Blaikie <dblaikie@gmail.com>
6562
6563 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6564 built from fissiont-multi-cu{1,2}.c.
6565 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6566 except putting 'main' and 'func' in separate CUs in the same DWO file.
6567 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6568 test.
6569 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6570 test.
6571
8455d262
PA
65722017-07-06 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.python/py-unwind.exp: Test flushregs.
6575
dc4bde35
SDJ
65762017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6577
6578 PR cli/21688
6579 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6580 tests for alias commands and trailing whitespace.
6581
51ed89aa
SDJ
65822017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6583
6584 PR cli/21688
6585 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6586 procedure. Call it.
6587
eb17d413
PA
65882017-06-29 Pedro Alves <palves@redhat.com>
6589
6590 * gdb.base/printcmds.exp: Add tests.
6591
41664b45
DG
65922017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6593
6594 PR gdb/21337
6595 * gdb.base/reread-readsym.exp: New file.
6596 * gdb.base/reread-readsym.c: New file.
6597
75312ae3
KB
65982017-06-21 Kevin Buettner <kevinb@redhat.com>
6599
6600 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6601 subpattern.
6602
66953522
PB
66032017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6604
6605 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6606 extended mnemonic.
6607 * gdb.arch/powerpc-power9.s: Likewise.
6608
5524b525
AA
66092017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6610
6611 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6612 on 32-bit x86 targets. Exploit is_*_target macros where
6613 appropriate.
6614
03c8af18
AA
66152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6616
6617 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6618 register pieces.
6619
3bf31011
AA
66202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6621
6622 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6623 located in one or more DWARF pieces.
6624
805acca0
AA
66252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6626
6627 * lib/gdb.exp (get_endianness): New proc.
6628 * gdb.arch/aarch64-fp.exp: Use it.
6629 * gdb.arch/altivec-regs.exp: Likewise.
6630 * gdb.arch/e500-regs.exp: Likewise.
6631 * gdb.arch/vsx-regs.exp: Likewise.
6632 * gdb.base/dump.exp: Likewise.
6633 * gdb.base/funcargs.exp: Likewise.
6634 * gdb.base/gnu_vector.exp: Likewise.
6635 * gdb.dwarf2/formdata16.exp: Likewise.
6636 * gdb.dwarf2/implptrpiece.exp: Likewise.
6637 * gdb.dwarf2/nonvar-access.exp: Likewise.
6638 * gdb.python/py-inferior.exp: Likewise.
6639 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6640
e9352324
AA
66412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6642
6643 PR gdb/21226
6644 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6645 stack value pieces are taken from the LSB end.
6646
d5d1163e
AA
66472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6648
6649 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6650 variable at nonzero offset.
6651
0567c986
AA
66522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6653
6654 * gdb.dwarf2/var-access.c: New file.
6655 * gdb.dwarf2/var-access.exp: New test.
6656 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6657
973e9aab
TT
66582017-06-12 Tom Tromey <tom@tromey.com>
6659
6660 * gdb.dwarf2/formdata16.exp: Add tests.
6661
d9109c80
TT
66622017-06-12 Tom Tromey <tom@tromey.com>
6663
6664 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6665
30a25466
TT
66662017-06-12 Tom Tromey <tom@tromey.com>
6667
6668 PR exp/16225:
6669 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6670 * gdb.arch/vsx-regs.exp: Update tests.
6671 * gdb.arch/s390-vregs.exp (hex128): New proc.
6672 Update test.
6673 * gdb.arch/altivec-regs.exp: Update tests.
6674
aefd8b33
SDJ
66752017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6676
6677 * gdb.base/startup-with-shell.c: New file.
6678 * gdb.base/startup-with-shell.exp: Likewise.
6679
2090129c
SDJ
66802017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6681
6682 * gdb.server/non-existing-program.exp: Update regex in order to
6683 reflect the fact that gdbserver is now using fork_inferior (with a
6684 shell) to startup the inferior.
6685
8e86a419
SM
66862017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6687
6688 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6689 support function calls from GDB.
6690
e6cf65f2
TT
66912017-05-21 Tom Tromey <tom@tromey.com>
6692
6693 PR rust/21466:
6694 * gdb.rust/unsized.exp: New file.
6695 * gdb.rust/unsized.rs: New file.
6696
43cc5389
TT
66972017-05-19 Tom Tromey <tom@tromey.com>
6698
6699 PR rust/21484:
6700 * gdb.rust/watch.exp: New file.
6701 * gdb.rust/watch.rs: New file.
6702
ec8df234
TT
67032017-05-18 Tom Tromey <tom@tromey.com>
6704
6705 * gdb.rust/simple.exp: Allow Box to be qualified.
6706
3e3e7fae
TP
67072017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6708
6709 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6710
59cc050d
PA
67112017-05-18 Pedro Alves <palves@redhat.com>
6712
6713 * gdb.base/fileio.c (test_write, test_read, test_close)
6714 (test_fstat): Don't print 'ret' in the fail path.
6715
c8f6abd1
PA
67162017-05-18 Pedro Alves <palves@redhat.com>
6717
6718 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6719 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6720 (test_system, test_rename, test_unlink, test_time): Change
6721 prototypes.
6722 * gdb.base/fileio.exp (stop_msg): Adjust.
6723
d2a03b77
PA
67242017-05-18 Pedro Alves <palves@redhat.com>
6725
6726 * gdb.base/fileio.c (null_str): New global.
6727 (test_stat): Use it.
6728 * gdb.base/fileio.exp: Remove nowarnings.
6729
0d5c6999
YQ
67302017-05-17 Yao Qi <yao.qi@linaro.org>
6731
6732 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6733
21873064
YQ
67342017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6735
6736 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6737 argument command.
6738 (top-level): Invoke test_set_inferior_tty.
6739
d512d31c
PA
67402017-05-04 Pedro Alves <palves@redhat.com>
6741
6742 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6743 Add parens to print call for Python 3.
6744
90cef2ed
KS
67452017-05-03 Keith Seitz <keiths@redhat.com>
6746
6747 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6748 (main): Call it.
6749
14f819c8
TW
67502017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6751
6752 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6753 to prev and next.
6754
913aeadd
TW
67552017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6756
6757 * gdb.python/py-record-btrace.exp: Remove test for
6758 gdb.BtraceInstruction.error.
6759
a3be24ad
TW
67602017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6761
6762 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6763
ae20e79a
TW
67642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6765
6766 * gdb.python/py-record-btrace-threads.c: New file.
6767 * gdb.python/py-record-btrace-threads.exp: New file.
6768
45ce1b47
SDJ
67692017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6770
6771 PR testsuite/8595
6772 * gdb.base/environ.exp: Make test available in all architectures.
6773 Move bits related to "info program" testing to
6774 gdb.base/info-program.exp. Rewrite tests to use the two new
6775 procedures mentione below.
6776 (test_set_show_env_var) New procedure.
6777 (test_set_show_env_var_equal): Likewise.
6778 * gdb.base/info-program.exp: New file.
6779
e15c3eb4
KS
67802017-04-27 Keith Seitz <keiths@redhat.com>
6781
6782 * gdb.cp/oranking.cc (test15): New function.
6783 (main): Call test15 and declare additional variables for testing.
6784 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6785 "p foo101('abc')" tests.
6786 Add tests for cv qualifier overloads.
6787 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6788 "lvalue reference overload" test.
6789 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6790 "print value of f1 on Child&& in f2" test.
6791
3a3fd0fd
PA
67922017-04-19 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6795 procedure.
6796 (top level): Call it.
6797 * lib/gdb.exp (gdb_define_cmd): New procedure.
6798
53375380
PA
67992017-04-12 Pedro Alves <palves@redhat.com>
6800
6801 PR gdb/21323
6802 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6803 (wchar): New global.
6804 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6805 (do_test_wide_char, wide_char_types_no_program, top level): Add
6806 wchar_t testing.
6807
53e710ac
PA
68082017-04-12 Pedro Alves <palves@redhat.com>
6809
6810 PR c++/21323
6811 * gdb.cp/wide_char_types.c: New file.
6812 * gdb.cp/wide_char_types.exp: New file.
6813
0ad9d8c7
SDJ
68142017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6815
6816 PR gdb/21352
6817 * gdb.trace/tsv.exp: Add test for "tsave -r".
6818
b1b45502
IB
68192017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6820
6821 * gdb.dlang/watch-loc.c: New file.
6822 * gdb.dlang/watch-loc.exp: New file.
6823
ec13808e
JK
68242017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6825
6826 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6827
fe5f7374
AK
68282017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6829
6830 * gdb.arch/arc-analyze-prologue.S: New file.
6831 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6832
eea78757
AK
68332017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6834
6835 * gdb.arch/arc-decode-insn.S: New file.
6836 * gdb.arch/arc-decode-insn.exp: Likewise.
6837
5badf10a
IR
68382017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6839
6840 PR tdep/20928
6841 * gdb.arch/sparc64-regs.exp: New file.
6842 * gdb.arch/sparc64-regs.S: Likewise.
6843
cee59b3f
TW
68442017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6845
6846 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6847 and memory view on Python 3.
6848
c0f55cc6
AV
68492017-03-20 Artemiy Volkov <artemiyv@acm.org>
6850 Keith Seitz <keiths@redhat.com>
6851
6852 PR gdb/14441
6853 * gdb.cp/demangle.exp: Add rvalue reference tests.
6854 * gdb.cp/rvalue-ref-casts.cc: New file.
6855 * gdb.cp/rvalue-ref-casts.exp: New file.
6856 * gdb.cp/rvalue-ref-overload.cc: New file.
6857 * gdb.cp/rvalue-ref-overload.exp: New file.
6858 * gdb.cp/rvalue-ref-params.cc: New file.
6859 * gdb.cp/rvalue-ref-params.exp: New file.
6860 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6861 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6862 * gdb.cp/rvalue-ref-types.cc: New file.
6863 * gdb.cp/rvalue-ref-types.exp: New file.
6864 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6865 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6866
51457a05
MAL
68672017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6868
6869 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6870 New procedure.
6871
5b291c04
MAL
68722017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6873
6874 * lib/mi-support.exp (mi_gdb_test): Add additional message
6875 for unexpected output.
6876
59a56148
AA
68772017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6878
6879 * gdb.base/examine-backward.c (Barrier): New character array
6880 constant, to ensure that TestStrings is preceded by a string
6881 terminator.
6882
7942e96e
AA
68832017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6884
6885 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6886 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6887 and implicit pointer into such a location.
6888
6ebac3fb
DE
68892017-03-16 Doug Evans <dje@google.com>
6890
6891 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6892
ec3b243d
TP
68932017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6894
6895 * gdb.cp/m-static.exp: Fix expectation for prototype of
6896 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
6897
68982017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
6899
6900 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6901 * gdb.guile/scm-lazy-string.c: New file.
6902 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6903 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6904 for pointer, array, typedef lazy strings.
6905
2cc36e25 69062017-03-16 Doug Evans <dje@google.com>
34b43320
DE
6907
6908 PR python/17728, python/18439, python/18779
6909 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6910 * gdb.python/py-lazy-string.c (pointer): New typedef.
6911 (main): New locals ptr, array, typedef_ptr.
6912 * gdb.python/py-value.exp: Move lazy string tests to ...
6913 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6914 array, typedef lazy strings.
ec3b243d 6915
0efcde63
AK
69162017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6917
6918 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6919 Add optional 'test' parameter.
6920
7978d7c3
SM
69212017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6922
6923 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6924 Skip for versions of DejaGnu < 1.5.
6925
896c0c1e
SM
69262017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6927
6928 * lib/gdb.exp (dejagnu_version): New proc.
6929 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6930 Use dejagnu_version.
6931
5f4d1085
KS
69322017-03-10 Keith Seitz <keiths@redhat.com>
6933
6934 PR c++/8128
6935 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6936 type from destructor regexps.
6937 Add a branch which actually passes the test.
6938 Adjust "ptype t5i" test names.
6939
1de05205
PA
69402017-03-08 Pedro Alves <palves@redhat.com>
6941
6942 * gdb.base/step-over-exit.exp: Add explicit test message.
6943
c65d6b55
PA
69442017-03-08 Pedro Alves <palves@redhat.com>
6945
6946 PR gdb/18360
6947 * gdb.threads/interrupt-while-step-over.c: New file.
6948 * gdb.threads/interrupt-while-step-over.exp: New file.
6949
2e86a283
PA
69502017-03-08 Pedro Alves <palves@redhat.com>
6951
6952 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6953 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6954
25dcbff6
PA
69552017-03-08 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6958 PKRU as not supported as a PASS.
6959
dc9366eb
PA
69602017-03-08 Pedro Alves <palves@redhat.com>
6961
6962 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6963 prefix instead of $binfile1/$binfile2.
6964 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6965 in test message.
6966 * gdb.python/py-completion.exp: Use "load python file" as test
6967 messages instead of unstable path names.
6968
6e5d74e7
PA
69692017-03-08 Pedro Alves <palves@redhat.com>
6970 Jan Kratochvil <jan.kratochvil@redhat.com>
6971
6972 PR cli/21218
6973 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6974 New proc.
6975 (top level): Call it.
6976
9753a2f6
PA
69772017-03-08 Pedro Alves <palves@redhat.com>
6978
6979 PR tui/21216
6980 * gdb.tui/tui-nl-filtered-output.exp: New file.
6981
1a4dd9dd
PA
69822017-03-08 Pedro Alves <palves@redhat.com>
6983
6984 * gdb.base/completion.exp: Move TUI completion tests to ...
6985 * gdb.tui/completion.exp: ... this new file.
6986
7cbbff33
PA
69872017-03-08 Pedro Alves <palves@redhat.com>
6988
6989 * gdb.base/tui-disasm-long-lines.c,
6990 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6991 gdb.base/tui-layout.exp: Move to ...
6992 * gdb.tui/: ... this new directory.
6993
5f6fd321
PA
69942017-03-07 Pedro Alves <palves@redhat.com>
6995
6996 * gdb.base/tui-layout.c: New file.
6997 * gdb.base/tui-layout.exp: New file.
6998
44959fa8
PA
69992017-03-07 Pedro Alves <palves@redhat.com>
7000
7001 * gdb.base/tui-layout.c: Rename to ...
7002 * gdb.base/tui-disasm-long-lines.c: ... this.
7003 * gdb.base/tui-layout.exp: Rename to ...
7004 * gdb.base/tui-disasm-long-lines.exp: ... this.
7005
f8c4e718
PA
70062017-03-07 Pedro Alves <palves@redhat.com>
7007
7008 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7009
6dbb839a 70102017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7011
7012 * i386-mpx-call.c: New file.
7013 * i386-mpx-call.exp: New file.
7014
65b48a81
PB
70152017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7016
7017 * gdb.arch/powerpc-power.exp: Delete test.
7018 * gdb.arch/powerpc-power.s: Likewise.
7019 * gdb.disasm/disassembler-options.exp: New test.
7020 * gdb.arch/powerpc-altivec.exp: Likewise.
7021 * gdb.arch/powerpc-altivec.s: Likewise.
7022 * gdb.arch/powerpc-altivec2.exp: Likewise.
7023 * gdb.arch/powerpc-altivec2.s: Likewise.
7024 * gdb.arch/powerpc-altivec3.exp: Likewise.
7025 * gdb.arch/powerpc-altivec3.s: Likewise.
7026 * gdb.arch/powerpc-power7.exp: Likewise.
7027 * gdb.arch/powerpc-power7.s: Likewise.
7028 * gdb.arch/powerpc-power8.exp: Likewise.
7029 * gdb.arch/powerpc-power8.s: Likewise.
7030 * gdb.arch/powerpc-power9.exp: Likewise.
7031 * gdb.arch/powerpc-power9.s: Likewise.
7032 * gdb.arch/powerpc-vsx.exp: Likewise.
7033 * gdb.arch/powerpc-vsx.s: Likewise.
7034 * gdb.arch/powerpc-vsx2.exp: Likewise.
7035 * gdb.arch/powerpc-vsx2.s: Likewise.
7036 * gdb.arch/powerpc-vsx3.exp: Likewise.
7037 * gdb.arch/powerpc-vsx3.s: Likewise.
7038 * gdb.arch/arm-disassembler-options.exp: Likewise.
7039 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7040 * gdb.arch/s390-disassembler-options.exp: Likewise.
7041
17cd4947
LM
70422017-02-23 Luis Machado <lgustavo@codesourcery.com>
7043
7044 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7045 (check_supported_features): ... this. Changed return type to void.
7046 (supports_rdseed): New static global.
7047 (rdseed): Check supports_rdseed.
7048 (initialize): Call check_supported_features.
7049
2039d74e
EBM
70502017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7051
7052 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7053 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7054 and lqarx/stqcx.
7055 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7056 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7057
a51d7ecf
EBM
70582017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7059
7060 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7061 uppercase.
7062
0224619f
JK
70632017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7064
7065 * gdb.dwarf2/formdata16.c: New file.
7066 * gdb.dwarf2/formdata16.exp: New file.
7067 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7068
216f72a1
JK
70692017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7070
7071 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7072 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7073 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7074 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7075 DW_AT_GNU_*.
7076
43988095
JK
70772017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7078
7079 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7080
99e8a4f9
SDJ
70812017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7082
7083 PR gdb/21164
7084 * gdb.base/maint.exp: Add testcases for when the commands do
7085 not have arguments.
7086
b58a8c0c
TP
70872017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7088
7089 * gdb.cp/chained-calls.exp: Use p instead of P.
7090
4e746bb6
TW
70912017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7092
7093 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7094 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7095
3f77c769
TT
70962017-02-14 Tom Tromey <tom@tromey.com>
7097
7098 PR python/13598:
7099 * gdb.python/py-events.exp: Add before_prompt event tests.
7100
075beec0
AA
71012017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7102
7103 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7104
bf5f525c
LM
71052017-02-13 Luis Machado <lgustavo@codesourcery.com>
7106
7107 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7108 (main): Call my_unique_function_name.
7109 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7110 completion of patterns with a single match.
7111 Add missing -re switches to gdb_test_multiple calls.
7112
13a66184
LM
71132017-02-13 Luis Machado <lgustavo@codesourcery.com>
7114
7115 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7116 return if core file is not recognized.
7117
26a06916
SM
71182017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7119
7120 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7121 and extra UIs.
7122
b761ca9e
SM
71232017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7124
7125 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7126 proc_with_prefix.
7127
b964bee0
TT
71282017-02-10 Tom Tromey <tom@tromey.com>
7129
7130 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7131
18da0c51
MG
71322017-02-10 Martin Galvan <martingalvan@sourceware.org>
7133
7134 PR gdb/21122
7135 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7136
604c4576
JG
71372017-02-08 Jerome Guitton <guitton@adacore.com>
7138
7139 * gdb.base/define.exp: Add test for command abbreviations
7140 in define.
7141
20b477a7
LM
71422017-02-06 Luis Machado <lgustavo@codesourcery.com>
7143
7144 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7145 * gdb.reverse/insn-reverse-x86.c: New file.
7146
3f7b46f2
IR
71472017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7148
7149 PR tdep/20936
7150 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7151
f0fd41c1
TT
71522017-02-03 Tom Tromey <tom@tromey.com>
7153
7154 PR rust/21097:
7155 * gdb.rust/simple.exp: Add new tests.
7156
5be5dbf0
PA
71572017-02-02 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7160 tests.
7161
7346ef59
AA
71622017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7163
7164 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7165 taking a 2-byte value out of a 4-byte DWARF implicit value on
7166 big-endian targets.
7167 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7168 logic. Add test cases for DW_OP_implicit.
7169
787f0025
MM
71702017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7171
7172 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7173
68777c29
MM
71742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7175
7176 * gdb.btrace/enable.exp: Call gdb_exit before
7177 skip_gdbserver_tests.
7178
0a1c7e28
MM
71792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7180
7181 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7182 GDBFLAGS.
7183
b5ac99b0
MM
71842017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7185
7186 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7187 the test is skipped.
7188 * gdb.btrace/data.exp: Likewise.
7189 * gdb.btrace/delta.exp: Likewise.
7190 * gdb.btrace/dlopen.exp: Likewise.
7191 * gdb.btrace/enable-running.exp: Likewise.
7192 * gdb.btrace/enable.exp: Likewise.
7193 * gdb.btrace/exception.exp: Likewise.
7194 * gdb.btrace/function_call_history.exp: Likewise.
7195 * gdb.btrace/gcore.exp: Likewise.
7196 * gdb.btrace/instruction_history.exp: Likewise.
7197 * gdb.btrace/multi-thread-step.exp: Likewise.
7198 * gdb.btrace/nohist.exp: Likewise.
7199 * gdb.btrace/non-stop.exp: Likewise.
7200 * gdb.btrace/reconnect.exp: Likewise.
7201 * gdb.btrace/record_goto-step.exp: Likewise.
7202 * gdb.btrace/record_goto.exp: Likewise.
7203 * gdb.btrace/rn-dl-bind.exp: Likewise.
7204 * gdb.btrace/segv.exp: Likewise.
7205 * gdb.btrace/step.exp: Likewise.
7206 * gdb.btrace/stepi.exp: Likewise.
7207 * gdb.btrace/tailcall-only.exp: Likewise.
7208 * gdb.btrace/tailcall.exp: Likewise.
7209 * gdb.btrace/tsx.exp: Likewise.
7210 * gdb.btrace/unknown_functions.exp: Likewise.
7211 * gdb.btrace/vdso.exp: Likewise.
7212
cd4007e4
MM
72132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7214
7215 * gdb.btrace/enable-running.c: New.
7216 * gdb.btrace/enable-running.exp: New.
7217
2735833d
WT
72182017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7219
7220 * gdb.arch/amd64-gs_base.c: New file.
7221 * gdb.arch/amd64-gs_base.exp: New file.
7222
b51e1e94
LM
72232017-01-26 Luis Machado <lgustavo@codesourcery.com>
7224
7225 * lib/memory.exp: Remove spurious empty newlines.
7226
72ca0410
SM
72272017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7228
7229 * gdb.python/py-bad-printers.exp: Load python file using "source".
7230 * gdb.python/py-events.exp: Likewise.
7231 * gdb.python/py-evsignal.exp: Likewise.
7232 * gdb.python/py-evthreads.exp: Likewise.
7233 * gdb.python/py-frame-args.exp: Likewise.
7234 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7235 * gdb.python/py-framefilter-mi.exp: Likewise.
7236 * gdb.python/py-framefilter.exp: Likewise.
7237 * gdb.python/py-mi.exp: Likewise.
7238 * gdb.python/py-pp-maint.exp: Likewise.
7239 * gdb.python/py-pp-registration.exp: Likewise.
7240 * gdb.python/py-prettyprint.exp: Likewise.
7241 (run_lang_tests): Likewise.
7242 * gdb.python/py-typeprint.exp: Likewise.
7243
e309aa65
LM
72442017-01-26 Luis Machado <lgustavo@codesourcery.com>
7245
7246 * lib/memory.exp: New file.
7247 * lib/gdb.exp: Load memory.exp.
7248 * gdb.base/memattr.exp (delete_memory): Move proc to
7249 lib/memory.exp and rename to delete_memory_regions.
7250 Replace delete_memory with delete_memory_regions.
7251 Cleanup memory regions before tests.
7252 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7253 before tests.
7254
515aff23
LM
72552017-01-26 Luis Machado <lgustavo@codesourcery.com>
7256
7257 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7258 files.
7259 (initialize): New function conditionally defined.
7260 (testcases): Move within conditional block.
7261 (main): Call initialize.
7262 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7263 of gdb.reverse/insn-reverse.c.
7264 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7265 gdb.reverse/insn-reverse.c.
7266
d8b49cf0
YQ
72672017-01-26 Yao Qi <yao.qi@linaro.org>
7268
7269 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7270 disassemble on address 0.
7271
f13a9a0c
YQ
72722017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7273 Yao Qi <yao.qi@linaro.org>
7274
7275 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7276 * gdb.dwarf2/implptr-64bit.S: Remove.
7277 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7278 variables in caller's context. Add DW_OP_implicit_value.
7279
5ac95241
YQ
72802017-01-25 Yao Qi <yao.qi@linaro.org>
7281
7282 * lib/dwarf.exp (Dwarf::_location): Handle
7283 DW_OP_GNU_implicit_pointer with proper size.
7284
23e82930
LM
72852017-01-20 Luis Machado <lgustavo@codesourcery.com>
7286
7287 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7288 and add untested calls.
7289
d334ae25
LM
72902017-01-20 Luis Machado <lgustavo@codesourcery.com>
7291
7292 * gdb.python/python.exp: Check line number against what GDB thinks
7293 the line number is for func1.
7294
f5e6296e
IB
72952017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7296
7297 * gdb.dlang/debug-expr.exp: New file.
7298
5b362f04
LM
72992016-12-23 Luis Machado <lgustavo@codesourcery.com>
7300
7301 Fix test names for the following files:
7302
7303 * gdb.ada/exec_changed.exp
7304 * gdb.ada/info_types.exp
7305 * gdb.arch/aarch64-atomic-inst.exp
7306 * gdb.arch/aarch64-fp.exp
7307 * gdb.arch/altivec-abi.exp
7308 * gdb.arch/altivec-regs.exp
7309 * gdb.arch/amd64-byte.exp
7310 * gdb.arch/amd64-disp-step.exp
7311 * gdb.arch/amd64-dword.exp
7312 * gdb.arch/amd64-entry-value-inline.exp
7313 * gdb.arch/amd64-entry-value-param.exp
7314 * gdb.arch/amd64-entry-value-paramref.exp
7315 * gdb.arch/amd64-entry-value.exp
7316 * gdb.arch/amd64-i386-address.exp
7317 * gdb.arch/amd64-invalid-stack-middle.exp
7318 * gdb.arch/amd64-invalid-stack-top.exp
7319 * gdb.arch/amd64-optimout-repeat.exp
7320 * gdb.arch/amd64-prologue-skip.exp
7321 * gdb.arch/amd64-prologue-xmm.exp
7322 * gdb.arch/amd64-stap-special-operands.exp
7323 * gdb.arch/amd64-stap-wrong-subexp.exp
7324 * gdb.arch/amd64-tailcall-cxx.exp
7325 * gdb.arch/amd64-tailcall-noret.exp
7326 * gdb.arch/amd64-tailcall-ret.exp
7327 * gdb.arch/amd64-tailcall-self.exp
7328 * gdb.arch/amd64-word.exp
7329 * gdb.arch/arm-bl-branch-dest.exp
7330 * gdb.arch/arm-disp-step.exp
7331 * gdb.arch/arm-neon.exp
7332 * gdb.arch/arm-single-step-kernel-helper.exp
7333 * gdb.arch/avr-flash-qualifier.exp
7334 * gdb.arch/disp-step-insn-reloc.exp
7335 * gdb.arch/e500-abi.exp
7336 * gdb.arch/e500-regs.exp
7337 * gdb.arch/ftrace-insn-reloc.exp
7338 * gdb.arch/i386-avx512.exp
7339 * gdb.arch/i386-bp_permanent.exp
7340 * gdb.arch/i386-byte.exp
7341 * gdb.arch/i386-cfi-notcurrent.exp
7342 * gdb.arch/i386-disp-step.exp
7343 * gdb.arch/i386-dr3-watch.exp
7344 * gdb.arch/i386-float.exp
7345 * gdb.arch/i386-gnu-cfi.exp
7346 * gdb.arch/i386-mpx-map.exp
7347 * gdb.arch/i386-mpx-sigsegv.exp
7348 * gdb.arch/i386-mpx-simple_segv.exp
7349 * gdb.arch/i386-mpx.exp
7350 * gdb.arch/i386-permbkpt.exp
7351 * gdb.arch/i386-prologue.exp
7352 * gdb.arch/i386-signal.exp
7353 * gdb.arch/i386-size-overlap.exp
7354 * gdb.arch/i386-unwind.exp
7355 * gdb.arch/i386-word.exp
7356 * gdb.arch/mips-fcr.exp
7357 * gdb.arch/powerpc-d128-regs.exp
7358 * gdb.arch/powerpc-stackless.exp
7359 * gdb.arch/ppc64-atomic-inst.exp
7360 * gdb.arch/s390-stackless.exp
7361 * gdb.arch/s390-tdbregs.exp
7362 * gdb.arch/s390-vregs.exp
7363 * gdb.arch/sparc-sysstep.exp
7364 * gdb.arch/thumb-bx-pc.exp
7365 * gdb.arch/thumb-singlestep.exp
7366 * gdb.arch/thumb2-it.exp
7367 * gdb.arch/vsx-regs.exp
7368 * gdb.asm/asm-source.exp
7369 * gdb.base/a2-run.exp
7370 * gdb.base/advance.exp
7371 * gdb.base/all-bin.exp
7372 * gdb.base/anon.exp
7373 * gdb.base/args.exp
7374 * gdb.base/arithmet.exp
7375 * gdb.base/async-shell.exp
7376 * gdb.base/async.exp
7377 * gdb.base/attach-pie-noexec.exp
7378 * gdb.base/attach-twice.exp
7379 * gdb.base/auto-load.exp
7380 * gdb.base/bang.exp
7381 * gdb.base/bitfields.exp
7382 * gdb.base/break-always.exp
7383 * gdb.base/break-caller-line.exp
7384 * gdb.base/break-entry.exp
7385 * gdb.base/break-inline.exp
7386 * gdb.base/break-on-linker-gcd-function.exp
7387 * gdb.base/break-probes.exp
7388 * gdb.base/break.exp
7389 * gdb.base/breakpoint-shadow.exp
7390 * gdb.base/call-ar-st.exp
7391 * gdb.base/call-sc.exp
7392 * gdb.base/call-signal-resume.exp
7393 * gdb.base/call-strs.exp
7394 * gdb.base/callfuncs.exp
7395 * gdb.base/catch-fork-static.exp
7396 * gdb.base/catch-gdb-caused-signals.exp
7397 * gdb.base/catch-load.exp
7398 * gdb.base/catch-signal-fork.exp
7399 * gdb.base/catch-signal.exp
7400 * gdb.base/catch-syscall.exp
7401 * gdb.base/charset.exp
7402 * gdb.base/checkpoint.exp
7403 * gdb.base/chng-syms.exp
7404 * gdb.base/code-expr.exp
7405 * gdb.base/code_elim.exp
7406 * gdb.base/commands.exp
7407 * gdb.base/completion.exp
7408 * gdb.base/complex.exp
7409 * gdb.base/cond-expr.exp
7410 * gdb.base/condbreak.exp
7411 * gdb.base/consecutive.exp
7412 * gdb.base/continue-all-already-running.exp
7413 * gdb.base/coredump-filter.exp
7414 * gdb.base/corefile.exp
7415 * gdb.base/dbx.exp
7416 * gdb.base/debug-expr.exp
7417 * gdb.base/define.exp
7418 * gdb.base/del.exp
7419 * gdb.base/disabled-location.exp
7420 * gdb.base/disasm-end-cu.exp
7421 * gdb.base/disasm-optim.exp
7422 * gdb.base/display.exp
7423 * gdb.base/duplicate-bp.exp
7424 * gdb.base/ena-dis-br.exp
7425 * gdb.base/ending-run.exp
7426 * gdb.base/enumval.exp
7427 * gdb.base/environ.exp
7428 * gdb.base/eu-strip-infcall.exp
7429 * gdb.base/eval-avoid-side-effects.exp
7430 * gdb.base/eval-skip.exp
7431 * gdb.base/exitsignal.exp
7432 * gdb.base/expand-psymtabs.exp
7433 * gdb.base/filesym.exp
7434 * gdb.base/find-unmapped.exp
7435 * gdb.base/finish.exp
7436 * gdb.base/float.exp
7437 * gdb.base/foll-exec-mode.exp
7438 * gdb.base/foll-exec.exp
7439 * gdb.base/foll-fork.exp
7440 * gdb.base/fortran-sym-case.exp
7441 * gdb.base/freebpcmd.exp
7442 * gdb.base/func-ptr.exp
7443 * gdb.base/func-ptrs.exp
7444 * gdb.base/funcargs.exp
7445 * gdb.base/gcore-buffer-overflow.exp
7446 * gdb.base/gcore-relro-pie.exp
7447 * gdb.base/gcore-relro.exp
7448 * gdb.base/gcore.exp
7449 * gdb.base/gdb1090.exp
7450 * gdb.base/gdb11530.exp
7451 * gdb.base/gdb11531.exp
7452 * gdb.base/gdb1821.exp
7453 * gdb.base/gdbindex-stabs.exp
7454 * gdb.base/gdbvars.exp
7455 * gdb.base/hbreak.exp
7456 * gdb.base/hbreak2.exp
7457 * gdb.base/included.exp
7458 * gdb.base/infcall-input.exp
7459 * gdb.base/inferior-died.exp
7460 * gdb.base/infnan.exp
7461 * gdb.base/info-macros.exp
7462 * gdb.base/info-os.exp
7463 * gdb.base/info-proc.exp
7464 * gdb.base/info-shared.exp
7465 * gdb.base/info-target.exp
7466 * gdb.base/infoline.exp
7467 * gdb.base/interp.exp
7468 * gdb.base/interrupt.exp
7469 * gdb.base/jit-reader.exp
7470 * gdb.base/jit-simple.exp
7471 * gdb.base/kill-after-signal.exp
7472 * gdb.base/kill-detach-inferiors-cmd.exp
7473 * gdb.base/label.exp
7474 * gdb.base/langs.exp
7475 * gdb.base/ldbl_e308.exp
7476 * gdb.base/line-symtabs.exp
7477 * gdb.base/linespecs.exp
7478 * gdb.base/list.exp
7479 * gdb.base/long_long.exp
7480 * gdb.base/longest-types.exp
7481 * gdb.base/maint.exp
7482 * gdb.base/max-value-size.exp
7483 * gdb.base/memattr.exp
7484 * gdb.base/mips_pro.exp
7485 * gdb.base/morestack.exp
7486 * gdb.base/moribund-step.exp
7487 * gdb.base/multi-forks.exp
7488 * gdb.base/nested-addr.exp
7489 * gdb.base/nextoverexit.exp
7490 * gdb.base/noreturn-finish.exp
7491 * gdb.base/noreturn-return.exp
7492 * gdb.base/nostdlib.exp
7493 * gdb.base/offsets.exp
7494 * gdb.base/opaque.exp
7495 * gdb.base/pc-fp.exp
7496 * gdb.base/permissions.exp
7497 * gdb.base/print-symbol-loading.exp
7498 * gdb.base/prologue-include.exp
7499 * gdb.base/psymtab.exp
7500 * gdb.base/ptype.exp
7501 * gdb.base/random-signal.exp
7502 * gdb.base/randomize.exp
7503 * gdb.base/range-stepping.exp
7504 * gdb.base/readline-ask.exp
7505 * gdb.base/recpar.exp
7506 * gdb.base/recurse.exp
7507 * gdb.base/relational.exp
7508 * gdb.base/restore.exp
7509 * gdb.base/return-nodebug.exp
7510 * gdb.base/return.exp
7511 * gdb.base/run-after-attach.exp
7512 * gdb.base/save-bp.exp
7513 * gdb.base/scope.exp
7514 * gdb.base/sect-cmd.exp
7515 * gdb.base/set-lang-auto.exp
7516 * gdb.base/set-noassign.exp
7517 * gdb.base/setvar.exp
7518 * gdb.base/sigall.exp
7519 * gdb.base/sigbpt.exp
7520 * gdb.base/siginfo-addr.exp
7521 * gdb.base/siginfo-infcall.exp
7522 * gdb.base/siginfo-obj.exp
7523 * gdb.base/siginfo.exp
7524 * gdb.base/signals-state-child.exp
7525 * gdb.base/signest.exp
7526 * gdb.base/sigstep.exp
7527 * gdb.base/sizeof.exp
7528 * gdb.base/skip.exp
7529 * gdb.base/solib-corrupted.exp
7530 * gdb.base/solib-nodir.exp
7531 * gdb.base/solib-search.exp
7532 * gdb.base/stack-checking.exp
7533 * gdb.base/stale-infcall.exp
7534 * gdb.base/stap-probe.exp
7535 * gdb.base/start.exp
7536 * gdb.base/step-break.exp
7537 * gdb.base/step-bt.exp
7538 * gdb.base/step-line.exp
7539 * gdb.base/step-over-exit.exp
7540 * gdb.base/step-over-syscall.exp
7541 * gdb.base/step-resume-infcall.exp
7542 * gdb.base/step-test.exp
7543 * gdb.base/store.exp
7544 * gdb.base/structs3.exp
7545 * gdb.base/sym-file.exp
7546 * gdb.base/symbol-without-target_section.exp
7547 * gdb.base/term.exp
7548 * gdb.base/testenv.exp
7549 * gdb.base/ui-redirect.exp
7550 * gdb.base/until.exp
7551 * gdb.base/unwindonsignal.exp
7552 * gdb.base/value-double-free.exp
7553 * gdb.base/vla-datatypes.exp
7554 * gdb.base/vla-ptr.exp
7555 * gdb.base/vla-sideeffect.exp
7556 * gdb.base/volatile.exp
7557 * gdb.base/watch-cond-infcall.exp
7558 * gdb.base/watch-cond.exp
7559 * gdb.base/watch-non-mem.exp
7560 * gdb.base/watch-read.exp
7561 * gdb.base/watch-vfork.exp
7562 * gdb.base/watchpoint-cond-gone.exp
7563 * gdb.base/watchpoint-delete.exp
7564 * gdb.base/watchpoint-hw-hit-once.exp
7565 * gdb.base/watchpoint-hw.exp
7566 * gdb.base/watchpoint-stops-at-right-insn.exp
7567 * gdb.base/watchpoints.exp
7568 * gdb.base/wchar.exp
7569 * gdb.base/whatis-exp.exp
7570 * gdb.btrace/buffer-size.exp
7571 * gdb.btrace/data.exp
7572 * gdb.btrace/delta.exp
7573 * gdb.btrace/dlopen.exp
7574 * gdb.btrace/enable.exp
7575 * gdb.btrace/exception.exp
7576 * gdb.btrace/function_call_history.exp
7577 * gdb.btrace/gcore.exp
7578 * gdb.btrace/instruction_history.exp
7579 * gdb.btrace/nohist.exp
7580 * gdb.btrace/reconnect.exp
7581 * gdb.btrace/record_goto-step.exp
7582 * gdb.btrace/record_goto.exp
7583 * gdb.btrace/rn-dl-bind.exp
7584 * gdb.btrace/segv.exp
7585 * gdb.btrace/step.exp
7586 * gdb.btrace/stepi.exp
7587 * gdb.btrace/tailcall-only.exp
7588 * gdb.btrace/tailcall.exp
7589 * gdb.btrace/tsx.exp
7590 * gdb.btrace/unknown_functions.exp
7591 * gdb.btrace/vdso.exp
7592 * gdb.compile/compile-ifunc.exp
7593 * gdb.compile/compile-ops.exp
7594 * gdb.compile/compile-print.exp
7595 * gdb.compile/compile-setjmp.exp
7596 * gdb.cp/abstract-origin.exp
7597 * gdb.cp/ambiguous.exp
7598 * gdb.cp/annota2.exp
7599 * gdb.cp/annota3.exp
7600 * gdb.cp/anon-ns.exp
7601 * gdb.cp/anon-struct.exp
7602 * gdb.cp/anon-union.exp
7603 * gdb.cp/arg-reference.exp
7604 * gdb.cp/baseenum.exp
7605 * gdb.cp/bool.exp
7606 * gdb.cp/breakpoint.exp
7607 * gdb.cp/bs15503.exp
7608 * gdb.cp/call-c.exp
7609 * gdb.cp/casts.exp
7610 * gdb.cp/chained-calls.exp
7611 * gdb.cp/class2.exp
7612 * gdb.cp/classes.exp
7613 * gdb.cp/cmpd-minsyms.exp
7614 * gdb.cp/converts.exp
7615 * gdb.cp/cp-relocate.exp
7616 * gdb.cp/cpcompletion.exp
7617 * gdb.cp/cpexprs.exp
7618 * gdb.cp/cplabel.exp
7619 * gdb.cp/cplusfuncs.exp
7620 * gdb.cp/cpsizeof.exp
7621 * gdb.cp/ctti.exp
7622 * gdb.cp/derivation.exp
7623 * gdb.cp/destrprint.exp
7624 * gdb.cp/dispcxx.exp
7625 * gdb.cp/enum-class.exp
7626 * gdb.cp/exception.exp
7627 * gdb.cp/exceptprint.exp
7628 * gdb.cp/expand-psymtabs-cxx.exp
7629 * gdb.cp/expand-sals.exp
7630 * gdb.cp/extern-c.exp
7631 * gdb.cp/filename.exp
7632 * gdb.cp/formatted-ref.exp
7633 * gdb.cp/fpointer.exp
7634 * gdb.cp/gdb1355.exp
7635 * gdb.cp/gdb2495.exp
7636 * gdb.cp/hang.exp
7637 * gdb.cp/impl-this.exp
7638 * gdb.cp/infcall-dlopen.exp
7639 * gdb.cp/inherit.exp
7640 * gdb.cp/iostream.exp
7641 * gdb.cp/koenig.exp
7642 * gdb.cp/local.exp
7643 * gdb.cp/m-data.exp
7644 * gdb.cp/m-static.exp
7645 * gdb.cp/mb-ctor.exp
7646 * gdb.cp/mb-inline.exp
7647 * gdb.cp/mb-templates.exp
7648 * gdb.cp/member-name.exp
7649 * gdb.cp/member-ptr.exp
7650 * gdb.cp/meth-typedefs.exp
7651 * gdb.cp/method.exp
7652 * gdb.cp/method2.exp
7653 * gdb.cp/minsym-fallback.exp
7654 * gdb.cp/misc.exp
7655 * gdb.cp/namelessclass.exp
7656 * gdb.cp/namespace-enum.exp
7657 * gdb.cp/namespace-nested-import.exp
7658 * gdb.cp/namespace.exp
7659 * gdb.cp/nextoverthrow.exp
7660 * gdb.cp/no-dmgl-verbose.exp
7661 * gdb.cp/non-trivial-retval.exp
7662 * gdb.cp/noparam.exp
7663 * gdb.cp/nsdecl.exp
7664 * gdb.cp/nsimport.exp
7665 * gdb.cp/nsnested.exp
7666 * gdb.cp/nsnoimports.exp
7667 * gdb.cp/nsrecurs.exp
7668 * gdb.cp/nsstress.exp
7669 * gdb.cp/nsusing.exp
7670 * gdb.cp/operator.exp
7671 * gdb.cp/oranking.exp
7672 * gdb.cp/overload-const.exp
7673 * gdb.cp/overload.exp
7674 * gdb.cp/ovldbreak.exp
7675 * gdb.cp/ovsrch.exp
7676 * gdb.cp/paren-type.exp
7677 * gdb.cp/parse-lang.exp
7678 * gdb.cp/pass-by-ref.exp
7679 * gdb.cp/pr-1023.exp
7680 * gdb.cp/pr-1210.exp
7681 * gdb.cp/pr-574.exp
7682 * gdb.cp/pr10687.exp
7683 * gdb.cp/pr12028.exp
7684 * gdb.cp/pr17132.exp
7685 * gdb.cp/pr17494.exp
7686 * gdb.cp/pr9067.exp
7687 * gdb.cp/pr9167.exp
7688 * gdb.cp/pr9631.exp
7689 * gdb.cp/printmethod.exp
7690 * gdb.cp/psmang.exp
7691 * gdb.cp/psymtab-parameter.exp
7692 * gdb.cp/ptype-cv-cp.exp
7693 * gdb.cp/ptype-flags.exp
7694 * gdb.cp/re-set-overloaded.exp
7695 * gdb.cp/ref-types.exp
7696 * gdb.cp/rtti.exp
7697 * gdb.cp/scope-err.exp
7698 * gdb.cp/shadow.exp
7699 * gdb.cp/smartp.exp
7700 * gdb.cp/static-method.exp
7701 * gdb.cp/static-print-quit.exp
7702 * gdb.cp/temargs.exp
7703 * gdb.cp/templates.exp
7704 * gdb.cp/try_catch.exp
7705 * gdb.cp/typedef-operator.exp
7706 * gdb.cp/typeid.exp
7707 * gdb.cp/userdef.exp
7708 * gdb.cp/using-crash.exp
7709 * gdb.cp/var-tag.exp
7710 * gdb.cp/virtbase.exp
7711 * gdb.cp/virtfunc.exp
7712 * gdb.cp/virtfunc2.exp
7713 * gdb.cp/vla-cxx.exp
7714 * gdb.disasm/t01_mov.exp
7715 * gdb.disasm/t02_mova.exp
7716 * gdb.disasm/t03_add.exp
7717 * gdb.disasm/t04_sub.exp
7718 * gdb.disasm/t05_cmp.exp
7719 * gdb.disasm/t06_ari2.exp
7720 * gdb.disasm/t07_ari3.exp
7721 * gdb.disasm/t08_or.exp
7722 * gdb.disasm/t09_xor.exp
7723 * gdb.disasm/t10_and.exp
7724 * gdb.disasm/t11_logs.exp
7725 * gdb.disasm/t12_bit.exp
7726 * gdb.disasm/t13_otr.exp
7727 * gdb.dlang/circular.exp
7728 * gdb.dwarf2/arr-stride.exp
7729 * gdb.dwarf2/arr-subrange.exp
7730 * gdb.dwarf2/atomic-type.exp
7731 * gdb.dwarf2/bad-regnum.exp
7732 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7733 * gdb.dwarf2/callframecfa.exp
7734 * gdb.dwarf2/clztest.exp
7735 * gdb.dwarf2/corrupt.exp
7736 * gdb.dwarf2/data-loc.exp
7737 * gdb.dwarf2/dup-psym.exp
7738 * gdb.dwarf2/dw2-anon-mptr.exp
7739 * gdb.dwarf2/dw2-anonymous-func.exp
7740 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7741 * gdb.dwarf2/dw2-bad-unresolved.exp
7742 * gdb.dwarf2/dw2-basic.exp
7743 * gdb.dwarf2/dw2-canonicalize-type.exp
7744 * gdb.dwarf2/dw2-case-insensitive.exp
7745 * gdb.dwarf2/dw2-common-block.exp
7746 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7747 * gdb.dwarf2/dw2-compressed.exp
7748 * gdb.dwarf2/dw2-const.exp
7749 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7750 * gdb.dwarf2/dw2-cu-size.exp
7751 * gdb.dwarf2/dw2-dup-frame.exp
7752 * gdb.dwarf2/dw2-entry-value.exp
7753 * gdb.dwarf2/dw2-icycle.exp
7754 * gdb.dwarf2/dw2-ifort-parameter.exp
7755 * gdb.dwarf2/dw2-inline-break.exp
7756 * gdb.dwarf2/dw2-inline-param.exp
7757 * gdb.dwarf2/dw2-intercu.exp
7758 * gdb.dwarf2/dw2-intermix.exp
7759 * gdb.dwarf2/dw2-lexical-block-bare.exp
7760 * gdb.dwarf2/dw2-linkage-name-trust.exp
7761 * gdb.dwarf2/dw2-minsym-in-cu.exp
7762 * gdb.dwarf2/dw2-noloc.exp
7763 * gdb.dwarf2/dw2-op-call.exp
7764 * gdb.dwarf2/dw2-op-out-param.exp
7765 * gdb.dwarf2/dw2-opt-structptr.exp
7766 * gdb.dwarf2/dw2-param-error.exp
7767 * gdb.dwarf2/dw2-producer.exp
7768 * gdb.dwarf2/dw2-ranges-base.exp
7769 * gdb.dwarf2/dw2-ref-missing-frame.exp
7770 * gdb.dwarf2/dw2-reg-undefined.exp
7771 * gdb.dwarf2/dw2-regno-invalid.exp
7772 * gdb.dwarf2/dw2-restore.exp
7773 * gdb.dwarf2/dw2-restrict.exp
7774 * gdb.dwarf2/dw2-single-line-discriminators.exp
7775 * gdb.dwarf2/dw2-strp.exp
7776 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7777 * gdb.dwarf2/dw2-unresolved.exp
7778 * gdb.dwarf2/dw2-var-zero-addr.exp
7779 * gdb.dwarf2/dw4-sig-types.exp
7780 * gdb.dwarf2/dwz.exp
7781 * gdb.dwarf2/dynarr-ptr.exp
7782 * gdb.dwarf2/enum-type.exp
7783 * gdb.dwarf2/gdb-index.exp
7784 * gdb.dwarf2/implptr-64bit.exp
7785 * gdb.dwarf2/implptr-optimized-out.exp
7786 * gdb.dwarf2/implptr.exp
7787 * gdb.dwarf2/implref-array.exp
7788 * gdb.dwarf2/implref-const.exp
7789 * gdb.dwarf2/implref-global.exp
7790 * gdb.dwarf2/implref-struct.exp
7791 * gdb.dwarf2/mac-fileno.exp
7792 * gdb.dwarf2/main-subprogram.exp
7793 * gdb.dwarf2/member-ptr-forwardref.exp
7794 * gdb.dwarf2/method-ptr.exp
7795 * gdb.dwarf2/missing-sig-type.exp
7796 * gdb.dwarf2/nonvar-access.exp
7797 * gdb.dwarf2/opaque-type-lookup.exp
7798 * gdb.dwarf2/pieces-optimized-out.exp
7799 * gdb.dwarf2/pieces.exp
7800 * gdb.dwarf2/pr10770.exp
7801 * gdb.dwarf2/pr13961.exp
7802 * gdb.dwarf2/staticvirtual.exp
7803 * gdb.dwarf2/subrange.exp
7804 * gdb.dwarf2/symtab-producer.exp
7805 * gdb.dwarf2/trace-crash.exp
7806 * gdb.dwarf2/typeddwarf.exp
7807 * gdb.dwarf2/valop.exp
7808 * gdb.dwarf2/watch-notconst.exp
7809 * gdb.fortran/array-element.exp
7810 * gdb.fortran/charset.exp
7811 * gdb.fortran/common-block.exp
7812 * gdb.fortran/complex.exp
7813 * gdb.fortran/derived-type-function.exp
7814 * gdb.fortran/derived-type.exp
7815 * gdb.fortran/logical.exp
7816 * gdb.fortran/module.exp
7817 * gdb.fortran/multi-dim.exp
7818 * gdb.fortran/nested-funcs.exp
7819 * gdb.fortran/print-formatted.exp
7820 * gdb.fortran/subarray.exp
7821 * gdb.fortran/vla-alloc-assoc.exp
7822 * gdb.fortran/vla-datatypes.exp
7823 * gdb.fortran/vla-history.exp
7824 * gdb.fortran/vla-ptr-info.exp
7825 * gdb.fortran/vla-ptype-sub.exp
7826 * gdb.fortran/vla-ptype.exp
7827 * gdb.fortran/vla-sizeof.exp
7828 * gdb.fortran/vla-type.exp
7829 * gdb.fortran/vla-value-sub-arbitrary.exp
7830 * gdb.fortran/vla-value-sub-finish.exp
7831 * gdb.fortran/vla-value-sub.exp
7832 * gdb.fortran/vla-value.exp
7833 * gdb.fortran/whatis_type.exp
7834 * gdb.go/chan.exp
7835 * gdb.go/handcall.exp
7836 * gdb.go/hello.exp
7837 * gdb.go/integers.exp
7838 * gdb.go/methods.exp
7839 * gdb.go/package.exp
7840 * gdb.go/strings.exp
7841 * gdb.go/types.exp
7842 * gdb.go/unsafe.exp
7843 * gdb.guile/scm-arch.exp
7844 * gdb.guile/scm-block.exp
7845 * gdb.guile/scm-breakpoint.exp
7846 * gdb.guile/scm-cmd.exp
7847 * gdb.guile/scm-disasm.exp
7848 * gdb.guile/scm-equal.exp
7849 * gdb.guile/scm-frame-args.exp
7850 * gdb.guile/scm-frame-inline.exp
7851 * gdb.guile/scm-frame.exp
7852 * gdb.guile/scm-iterator.exp
7853 * gdb.guile/scm-math.exp
7854 * gdb.guile/scm-objfile.exp
7855 * gdb.guile/scm-ports.exp
7856 * gdb.guile/scm-symbol.exp
7857 * gdb.guile/scm-symtab.exp
7858 * gdb.guile/scm-value-cc.exp
7859 * gdb.guile/types-module.exp
7860 * gdb.linespec/break-ask.exp
7861 * gdb.linespec/cpexplicit.exp
7862 * gdb.linespec/explicit.exp
7863 * gdb.linespec/keywords.exp
7864 * gdb.linespec/linespec.exp
7865 * gdb.linespec/ls-dollar.exp
7866 * gdb.linespec/ls-errs.exp
7867 * gdb.linespec/skip-two.exp
7868 * gdb.linespec/thread.exp
7869 * gdb.mi/mi-async.exp
7870 * gdb.mi/mi-basics.exp
7871 * gdb.mi/mi-break.exp
7872 * gdb.mi/mi-catch-load.exp
7873 * gdb.mi/mi-cli.exp
7874 * gdb.mi/mi-cmd-param-changed.exp
7875 * gdb.mi/mi-console.exp
7876 * gdb.mi/mi-detach.exp
7877 * gdb.mi/mi-disassemble.exp
7878 * gdb.mi/mi-eval.exp
7879 * gdb.mi/mi-file-transfer.exp
7880 * gdb.mi/mi-file.exp
7881 * gdb.mi/mi-fill-memory.exp
7882 * gdb.mi/mi-inheritance-syntax-error.exp
7883 * gdb.mi/mi-linespec-err-cp.exp
7884 * gdb.mi/mi-logging.exp
7885 * gdb.mi/mi-memory-changed.exp
7886 * gdb.mi/mi-read-memory.exp
7887 * gdb.mi/mi-record-changed.exp
7888 * gdb.mi/mi-reg-undefined.exp
7889 * gdb.mi/mi-regs.exp
7890 * gdb.mi/mi-return.exp
7891 * gdb.mi/mi-reverse.exp
7892 * gdb.mi/mi-simplerun.exp
7893 * gdb.mi/mi-solib.exp
7894 * gdb.mi/mi-stack.exp
7895 * gdb.mi/mi-stepi.exp
7896 * gdb.mi/mi-syn-frame.exp
7897 * gdb.mi/mi-until.exp
7898 * gdb.mi/mi-var-block.exp
7899 * gdb.mi/mi-var-child.exp
7900 * gdb.mi/mi-var-cmd.exp
7901 * gdb.mi/mi-var-cp.exp
7902 * gdb.mi/mi-var-display.exp
7903 * gdb.mi/mi-var-invalidate.exp
7904 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7905 * gdb.mi/mi-vla-fortran.exp
7906 * gdb.mi/mi-watch.exp
7907 * gdb.mi/mi2-var-child.exp
7908 * gdb.mi/user-selected-context-sync.exp
7909 * gdb.modula2/unbounded-array.exp
7910 * gdb.multi/dummy-frame-restore.exp
7911 * gdb.multi/multi-arch-exec.exp
7912 * gdb.multi/multi-arch.exp
7913 * gdb.multi/tids.exp
7914 * gdb.multi/watchpoint-multi.exp
7915 * gdb.opencl/callfuncs.exp
7916 * gdb.opencl/convs_casts.exp
7917 * gdb.opencl/datatypes.exp
7918 * gdb.opencl/operators.exp
7919 * gdb.opencl/vec_comps.exp
7920 * gdb.opt/clobbered-registers-O2.exp
7921 * gdb.opt/inline-break.exp
7922 * gdb.opt/inline-bt.exp
7923 * gdb.opt/inline-cmds.exp
7924 * gdb.opt/inline-locals.exp
7925 * gdb.pascal/case-insensitive-symbols.exp
7926 * gdb.pascal/floats.exp
7927 * gdb.pascal/gdb11492.exp
7928 * gdb.python/lib-types.exp
7929 * gdb.python/py-arch.exp
7930 * gdb.python/py-as-string.exp
7931 * gdb.python/py-bad-printers.exp
7932 * gdb.python/py-block.exp
7933 * gdb.python/py-breakpoint-create-fail.exp
7934 * gdb.python/py-breakpoint.exp
7935 * gdb.python/py-caller-is.exp
7936 * gdb.python/py-cmd.exp
7937 * gdb.python/py-explore-cc.exp
7938 * gdb.python/py-explore.exp
7939 * gdb.python/py-finish-breakpoint.exp
7940 * gdb.python/py-finish-breakpoint2.exp
7941 * gdb.python/py-frame-args.exp
7942 * gdb.python/py-frame-inline.exp
7943 * gdb.python/py-frame.exp
7944 * gdb.python/py-framefilter-mi.exp
7945 * gdb.python/py-infthread.exp
7946 * gdb.python/py-lazy-string.exp
7947 * gdb.python/py-linetable.exp
7948 * gdb.python/py-mi-events.exp
7949 * gdb.python/py-mi-objfile.exp
7950 * gdb.python/py-mi.exp
7951 * gdb.python/py-objfile.exp
7952 * gdb.python/py-pp-integral.exp
7953 * gdb.python/py-pp-maint.exp
7954 * gdb.python/py-pp-re-notag.exp
7955 * gdb.python/py-pp-registration.exp
7956 * gdb.python/py-recurse-unwind.exp
7957 * gdb.python/py-strfns.exp
7958 * gdb.python/py-symbol.exp
7959 * gdb.python/py-symtab.exp
7960 * gdb.python/py-sync-interp.exp
7961 * gdb.python/py-typeprint.exp
7962 * gdb.python/py-unwind-maint.exp
7963 * gdb.python/py-unwind.exp
7964 * gdb.python/py-value-cc.exp
7965 * gdb.python/py-xmethods.exp
7966 * gdb.reverse/amd64-tailcall-reverse.exp
7967 * gdb.reverse/break-precsave.exp
7968 * gdb.reverse/break-reverse.exp
7969 * gdb.reverse/consecutive-precsave.exp
7970 * gdb.reverse/consecutive-reverse.exp
7971 * gdb.reverse/finish-precsave.exp
7972 * gdb.reverse/finish-reverse-bkpt.exp
7973 * gdb.reverse/finish-reverse.exp
7974 * gdb.reverse/fstatat-reverse.exp
7975 * gdb.reverse/getresuid-reverse.exp
7976 * gdb.reverse/i386-precsave.exp
7977 * gdb.reverse/i386-reverse.exp
7978 * gdb.reverse/i386-sse-reverse.exp
7979 * gdb.reverse/i387-env-reverse.exp
7980 * gdb.reverse/i387-stack-reverse.exp
7981 * gdb.reverse/insn-reverse.exp
7982 * gdb.reverse/machinestate-precsave.exp
7983 * gdb.reverse/machinestate.exp
7984 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7985 * gdb.reverse/pipe-reverse.exp
7986 * gdb.reverse/readv-reverse.exp
7987 * gdb.reverse/recvmsg-reverse.exp
7988 * gdb.reverse/rerun-prec.exp
7989 * gdb.reverse/s390-mvcle.exp
7990 * gdb.reverse/step-precsave.exp
7991 * gdb.reverse/step-reverse.exp
7992 * gdb.reverse/time-reverse.exp
7993 * gdb.reverse/until-precsave.exp
7994 * gdb.reverse/until-reverse.exp
7995 * gdb.reverse/waitpid-reverse.exp
7996 * gdb.reverse/watch-precsave.exp
7997 * gdb.reverse/watch-reverse.exp
7998 * gdb.rust/generics.exp
7999 * gdb.rust/methods.exp
8000 * gdb.rust/modules.exp
8001 * gdb.rust/simple.exp
8002 * gdb.server/connect-with-no-symbol-file.exp
8003 * gdb.server/ext-attach.exp
8004 * gdb.server/ext-restart.exp
8005 * gdb.server/ext-wrapper.exp
8006 * gdb.server/file-transfer.exp
8007 * gdb.server/server-exec-info.exp
8008 * gdb.server/server-kill.exp
8009 * gdb.server/server-mon.exp
8010 * gdb.server/wrapper.exp
8011 * gdb.stabs/exclfwd.exp
8012 * gdb.stabs/gdb11479.exp
8013 * gdb.threads/clone-new-thread-event.exp
8014 * gdb.threads/corethreads.exp
8015 * gdb.threads/current-lwp-dead.exp
8016 * gdb.threads/dlopen-libpthread.exp
8017 * gdb.threads/gcore-thread.exp
8018 * gdb.threads/sigstep-threads.exp
8019 * gdb.threads/watchpoint-fork.exp
8020 * gdb.trace/actions-changed.exp
8021 * gdb.trace/backtrace.exp
8022 * gdb.trace/change-loc.exp
8023 * gdb.trace/circ.exp
8024 * gdb.trace/collection.exp
8025 * gdb.trace/disconnected-tracing.exp
8026 * gdb.trace/ftrace.exp
8027 * gdb.trace/mi-trace-frame-collected.exp
8028 * gdb.trace/mi-trace-unavailable.exp
8029 * gdb.trace/mi-traceframe-changed.exp
8030 * gdb.trace/mi-tsv-changed.exp
8031 * gdb.trace/no-attach-trace.exp
8032 * gdb.trace/passc-dyn.exp
8033 * gdb.trace/qtro.exp
8034 * gdb.trace/range-stepping.exp
8035 * gdb.trace/read-memory.exp
8036 * gdb.trace/save-trace.exp
8037 * gdb.trace/signal.exp
8038 * gdb.trace/status-stop.exp
8039 * gdb.trace/tfile.exp
8040 * gdb.trace/trace-break.exp
8041 * gdb.trace/trace-buffer-size.exp
8042 * gdb.trace/trace-condition.exp
8043 * gdb.trace/tracefile-pseudo-reg.exp
8044 * gdb.trace/tstatus.exp
8045 * gdb.trace/unavailable.exp
8046 * gdb.trace/while-dyn.exp
8047 * gdb.trace/while-stepping.exp
8048
34c41c68
DE
80492016-12-22 Doug Evans <xdje42@gmail.com>
8050
8051 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8052 and msymbols.
8053
16e69324
YQ
80542016-12-19 Yao Qi <yao.qi@linaro.org>
8055
8056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8057 (test_with_self): Don't call do_steps_and_nexts, and remove
8058 code about stepping into xmalloc.
8059
f94f411b
YQ
80602016-12-09 Yao Qi <yao.qi@linaro.org>
8061
8062 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8063
80642016-12-09 Yao Qi <yao.qi@linaro.org>
8065
8066 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8067
f1b5deee
PA
80682016-12-09 Pedro Alves <palves@redhat.com>
8069
8070 * gdb.base/all-architectures-0.exp: New file.
8071 * gdb.base/all-architectures-1.exp: New file.
8072 * gdb.base/all-architectures-2.exp: New file.
8073 * gdb.base/all-architectures-3.exp: New file.
8074 * gdb.base/all-architectures-4.exp: New file.
8075 * gdb.base/all-architectures-5.exp: New file.
8076 * gdb.base/all-architectures-6.exp: New file.
8077 * gdb.base/all-architectures-7.exp: New file.
8078 * gdb.base/all-architectures.exp.in: New file.
8079
364ca42e
YQ
80802016-12-09 Yao Qi <yao.qi@linaro.org>
8081
8082 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8083
107c2d62
LM
80842016-12-02 Luis Machado <lgustavo@codesourcery.com>
8085
8086 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8087 possible.
8088 Remove useless pattern-matching code.
8089
df3ee9ca
PA
80902016-12-02 Pedro Alves <palves@redhat.com>
8091
8092 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8093 procedure.
8094 (top level): Call it.
8095
ec835369
PA
80962016-12-02 Pedro Alves <palves@redhat.com>
8097
8098 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8099 New procedure.
8100 (top level): Call it.
8101
01770bbd
PA
81022016-12-02 Pedro Alves <palves@redhat.com>
8103
8104 PR cli/20559
8105 * gdb.base/commands.exp (user_defined_command_args_eval): New
8106 procedure.
8107 (top level): Call it.
8108
008459ea
LM
81092016-12-02 Luis Machado <lgustavo@codesourcery.com>
8110
8111 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8112 timeout handling.
8113
0c1b455e
TT
81142016-12-02 Tom Tromey <tom@tromey.com>
8115
8116 * gdb.dwarf2/main-subprogram.c: New file.
8117 * gdb.dwarf2/main-subprogram.exp: New file.
8118
018572b8
LM
81192016-12-01 Luis Machado <lgustavo@codesourcery.com>
8120
8121 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8122 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8123 gdb_test_no_output for a couple of cases.
8124 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8125
84c93cd5
LM
81262016-12-01 Luis Machado <lgustavo@codesourcery.com>
8127
8128 Fix test names and standardize compilation error messages throughout
8129 the following files:
8130
8131 * gdb.ada/start.exp
8132 * gdb.arch/alpha-step.exp
8133 * gdb.arch/e500-prologue.exp
8134 * gdb.arch/ftrace-insn-reloc.exp
8135 * gdb.arch/gdb1291.exp
8136 * gdb.arch/gdb1431.exp
8137 * gdb.arch/gdb1558.exp
8138 * gdb.arch/i386-dr3-watch.exp
8139 * gdb.arch/i386-sse-stack-align.exp
8140 * gdb.arch/ia64-breakpoint-shadow.exp
8141 * gdb.arch/pa-nullify.exp
8142 * gdb.arch/powerpc-aix-prologue.exp
8143 * gdb.arch/thumb-bx-pc.exp
8144 * gdb.base/annota1.exp
8145 * gdb.base/annota3.exp
8146 * gdb.base/arrayidx.exp
8147 * gdb.base/assign.exp
8148 * gdb.base/attach.exp
8149 * gdb.base/auxv.exp
8150 * gdb.base/bang.exp
8151 * gdb.base/bfp-test.exp
8152 * gdb.base/bigcore.exp
8153 * gdb.base/bitfields2.exp
8154 * gdb.base/break-fun-addr.exp
8155 * gdb.base/break-probes.exp
8156 * gdb.base/call-rt-st.exp
8157 * gdb.base/callexit.exp
8158 * gdb.base/catch-fork-kill.exp
8159 * gdb.base/charset.exp
8160 * gdb.base/checkpoint.exp
8161 * gdb.base/comprdebug.exp
8162 * gdb.base/constvars.exp
8163 * gdb.base/coredump-filter.exp
8164 * gdb.base/cursal.exp
8165 * gdb.base/cvexpr.exp
8166 * gdb.base/detach.exp
8167 * gdb.base/display.exp
8168 * gdb.base/dmsym.exp
8169 * gdb.base/dprintf-pending.exp
8170 * gdb.base/dso2dso.exp
8171 * gdb.base/dtrace-probe.exp
8172 * gdb.base/dump.exp
8173 * gdb.base/enum_cond.exp
8174 * gdb.base/exe-lock.exp
8175 * gdb.base/exec-invalid-sysroot.exp
8176 * gdb.base/execl-update-breakpoints.exp
8177 * gdb.base/exprs.exp
8178 * gdb.base/fileio.exp
8179 * gdb.base/find.exp
8180 * gdb.base/finish.exp
8181 * gdb.base/fixsection.exp
8182 * gdb.base/foll-vfork.exp
8183 * gdb.base/frame-args.exp
8184 * gdb.base/gcore.exp
8185 * gdb.base/gdb1250.exp
8186 * gdb.base/global-var-nested-by-dso.exp
8187 * gdb.base/gnu-ifunc.exp
8188 * gdb.base/hashline1.exp
8189 * gdb.base/hashline2.exp
8190 * gdb.base/hashline3.exp
8191 * gdb.base/hbreak-in-shr-unsupported.exp
8192 * gdb.base/huge.exp
8193 * gdb.base/infcall-input.exp
8194 * gdb.base/info-fun.exp
8195 * gdb.base/info-shared.exp
8196 * gdb.base/jit-simple.exp
8197 * gdb.base/jit-so.exp
8198 * gdb.base/jit.exp
8199 * gdb.base/jump.exp
8200 * gdb.base/label.exp
8201 * gdb.base/lineinc.exp
8202 * gdb.base/logical.exp
8203 * gdb.base/longjmp.exp
8204 * gdb.base/macscp.exp
8205 * gdb.base/miscexprs.exp
8206 * gdb.base/new-ui-echo.exp
8207 * gdb.base/new-ui-pending-input.exp
8208 * gdb.base/new-ui.exp
8209 * gdb.base/nodebug.exp
8210 * gdb.base/nofield.exp
8211 * gdb.base/offsets.exp
8212 * gdb.base/overlays.exp
8213 * gdb.base/pending.exp
8214 * gdb.base/pointers.exp
8215 * gdb.base/pr11022.exp
8216 * gdb.base/printcmds.exp
8217 * gdb.base/prologue.exp
8218 * gdb.base/ptr-typedef.exp
8219 * gdb.base/realname-expand.exp
8220 * gdb.base/relativedebug.exp
8221 * gdb.base/relocate.exp
8222 * gdb.base/remote.exp
8223 * gdb.base/reread.exp
8224 * gdb.base/return2.exp
8225 * gdb.base/savedregs.exp
8226 * gdb.base/sep.exp
8227 * gdb.base/sepdebug.exp
8228 * gdb.base/sepsymtab.exp
8229 * gdb.base/set-inferior-tty.exp
8230 * gdb.base/setshow.exp
8231 * gdb.base/shlib-call.exp
8232 * gdb.base/sigaltstack.exp
8233 * gdb.base/siginfo-addr.exp
8234 * gdb.base/signals.exp
8235 * gdb.base/signull.exp
8236 * gdb.base/sigrepeat.exp
8237 * gdb.base/so-impl-ld.exp
8238 * gdb.base/solib-display.exp
8239 * gdb.base/solib-overlap.exp
8240 * gdb.base/solib-search.exp
8241 * gdb.base/solib-symbol.exp
8242 * gdb.base/structs.exp
8243 * gdb.base/structs2.exp
8244 * gdb.base/symtab-search-order.exp
8245 * gdb.base/twice.exp
8246 * gdb.base/unload.exp
8247 * gdb.base/varargs.exp
8248 * gdb.base/watchpoint-solib.exp
8249 * gdb.base/watchpoint.exp
8250 * gdb.base/whatis.exp
8251 * gdb.base/wrong_frame_bt_full.exp
8252 * gdb.btrace/dlopen.exp
8253 * gdb.cell/ea-standalone.exp
8254 * gdb.cell/ea-test.exp
8255 * gdb.cp/dispcxx.exp
8256 * gdb.cp/gdb2384.exp
8257 * gdb.cp/method2.exp
8258 * gdb.cp/nextoverthrow.exp
8259 * gdb.cp/pr10728.exp
8260 * gdb.disasm/am33.exp
8261 * gdb.disasm/h8300s.exp
8262 * gdb.disasm/mn10300.exp
8263 * gdb.disasm/sh3.exp
8264 * gdb.dwarf2/dw2-dir-file-name.exp
8265 * gdb.fortran/complex.exp
8266 * gdb.fortran/library-module.exp
8267 * gdb.guile/scm-pretty-print.exp
8268 * gdb.guile/scm-symbol.exp
8269 * gdb.guile/scm-type.exp
8270 * gdb.guile/scm-value.exp
8271 * gdb.linespec/linespec.exp
8272 * gdb.mi/gdb701.exp
8273 * gdb.mi/gdb792.exp
8274 * gdb.mi/mi-breakpoint-changed.exp
8275 * gdb.mi/mi-dprintf-pending.exp
8276 * gdb.mi/mi-dprintf.exp
8277 * gdb.mi/mi-exit-code.exp
8278 * gdb.mi/mi-pending.exp
8279 * gdb.mi/mi-solib.exp
8280 * gdb.mi/new-ui-mi-sync.exp
8281 * gdb.mi/pr11022.exp
8282 * gdb.mi/user-selected-context-sync.exp
8283 * gdb.opt/solib-intra-step.exp
8284 * gdb.python/py-events.exp
8285 * gdb.python/py-finish-breakpoint.exp
8286 * gdb.python/py-mi.exp
8287 * gdb.python/py-prettyprint.exp
8288 * gdb.python/py-shared.exp
8289 * gdb.python/py-symbol.exp
8290 * gdb.python/py-template.exp
8291 * gdb.python/py-type.exp
8292 * gdb.python/py-value.exp
8293 * gdb.reverse/solib-precsave.exp
8294 * gdb.reverse/solib-reverse.exp
8295 * gdb.server/solib-list.exp
8296 * gdb.stabs/weird.exp
8297 * gdb.threads/reconnect-signal.exp
8298 * gdb.threads/stepi-random-signal.exp
8299 * gdb.trace/actions.exp
8300 * gdb.trace/ax.exp
8301 * gdb.trace/backtrace.exp
8302 * gdb.trace/change-loc.exp
8303 * gdb.trace/deltrace.exp
8304 * gdb.trace/ftrace-lock.exp
8305 * gdb.trace/ftrace.exp
8306 * gdb.trace/infotrace.exp
8307 * gdb.trace/mi-tracepoint-changed.exp
8308 * gdb.trace/packetlen.exp
8309 * gdb.trace/passcount.exp
8310 * gdb.trace/pending.exp
8311 * gdb.trace/range-stepping.exp
8312 * gdb.trace/report.exp
8313 * gdb.trace/stap-trace.exp
8314 * gdb.trace/tfind.exp
8315 * gdb.trace/trace-break.exp
8316 * gdb.trace/trace-condition.exp
8317 * gdb.trace/trace-enable-disable.exp
8318 * gdb.trace/trace-mt.exp
8319 * gdb.trace/tracecmd.exp
8320 * gdb.trace/tspeed.exp
8321 * gdb.trace/tsv.exp
8322 * lib/perftest.exp
8323
fb9feb35
LM
83242016-12-01 Luis Machado <lgustavo@codesourcery.com>
8325
8326 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8327 with gdb_test_no_output.
8328 Use command as test name.
8329
cd2ddb6c
LM
83302016-12-01 Luis Machado <lgustavo@codesourcery.com>
8331
8332 Fix test names starting with uppercase throughout the files.
8333
8334 * gdb.ada/assign_1.exp
8335 * gdb.ada/boolean_expr.exp
8336 * gdb.base/arrayidx.exp
8337 * gdb.base/del.exp
8338 * gdb.base/gcore-buffer-overflow.exp
8339 * gdb.base/testenv.exp
8340 * gdb.compile/compile.exp
8341 * gdb.python/py-framefilter-invalidarg.exp
8342 * gdb.python/py-framefilter.exp
8343
bb95117e
LM
83442016-12-01 Luis Machado <lgustavo@codesourcery.com>
8345
8346 Fix test names starting with uppercase throughout the files.
8347
8348 * gdb.ada/array_return.exp
8349 * gdb.ada/expr_delims.exp
8350 * gdb.ada/mi_dyn_arr.exp
8351 * gdb.ada/mi_interface.exp
8352 * gdb.ada/mi_var_array.exp
8353 * gdb.ada/watch_arg.exp
8354 * gdb.arch/alpha-step.exp
8355 * gdb.arch/altivec-regs.exp
8356 * gdb.arch/e500-regs.exp
8357 * gdb.arch/powerpc-d128-regs.exp
8358 * gdb.base/arrayidx.exp
8359 * gdb.base/break.exp
8360 * gdb.base/checkpoint.exp
8361 * gdb.base/debug-expr.exp
8362 * gdb.base/dmsym.exp
8363 * gdb.base/radix.exp
8364 * gdb.base/sepdebug.exp
8365 * gdb.base/testenv.exp
8366 * gdb.base/watch_thread_num.exp
8367 * gdb.base/watchpoint-cond-gone.exp
8368 * gdb.cell/break.exp
8369 * gdb.cell/ea-cache.exp
8370 * gdb.compile/compile.exp
8371 * gdb.cp/gdb2495.exp
8372 * gdb.gdb/selftest.exp
8373 * gdb.gdb/xfullpath.exp
8374 * gdb.go/hello.exp
8375 * gdb.go/integers.exp
8376 * gdb.objc/basicclass.exp
8377 * gdb.pascal/hello.exp
8378 * gdb.pascal/integers.exp
8379 * gdb.python/py-breakpoint.exp
8380 * gdb.python/py-cmd.exp
8381 * gdb.python/py-linetable.exp
8382 * gdb.python/py-xmethods.exp
8383 * gdb.python/python.exp
8384 * gdb.reverse/consecutive-precsave.exp
8385 * gdb.reverse/finish-precsave.exp
8386 * gdb.reverse/i386-precsave.exp
8387 * gdb.reverse/machinestate-precsave.exp
8388 * gdb.reverse/sigall-precsave.exp
8389 * gdb.reverse/solib-precsave.exp
8390 * gdb.reverse/step-precsave.exp
8391 * gdb.reverse/until-precsave.exp
8392 * gdb.reverse/watch-precsave.exp
8393 * gdb.threads/leader-exit.exp
8394 * gdb.threads/pthreads.exp
8395 * gdb.threads/wp-replication.exp
8396 * gdb.trace/actions.exp
8397 * gdb.trace/mi-tsv-changed.exp
8398 * gdb.trace/tsv.exp
8399
de97fdd4
LM
84002016-12-01 Luis Machado <lgustavo@codesourcery.com>
8401
8402 Fix test names starting with uppercase throughout the files.
8403
8404 * gdb.arch/i386-bp_permanent.exp
8405 * gdb.arch/i386-gnu-cfi.exp
8406 * gdb.base/disasm-end-cu.exp
8407 * gdb.base/macscp.exp
8408 * gdb.base/pending.exp
8409 * gdb.base/watch_thread_num.exp
8410 * gdb.cp/exception.exp
8411 * gdb.cp/gdb2495.exp
8412 * gdb.cp/local.exp
8413 * gdb.python/py-evsignal.exp
8414 * gdb.python/python.exp
8415 * gdb.trace/tracecmd.exp
8416
9f058c10
LM
84172016-12-01 Luis Machado <lgustavo@codesourcery.com>
8418
8419 Fix test names starting with uppercase throughout the files.
8420
8421 * gdb.base/charset.exp
8422 * gdb.base/eval.exp
8423 * gdb.base/multi-forks.exp
8424 * gdb.guile/scm-progspace.exp
8425 * gdb.opencl/datatypes.exp
8426 * gdb.python/py-block.exp
8427 * gdb.python/py-function.exp
8428 * gdb.python/py-symbol.exp
8429 * gdb.python/py-symtab.exp
8430 * gdb.python/py-xmethods.exp
8431 * gdb.reverse/break-precsave.exp
8432 * gdb.reverse/break-reverse.exp
8433 * gdb.reverse/consecutive-precsave.exp
8434 * gdb.reverse/consecutive-reverse.exp
8435 * gdb.reverse/finish-precsave.exp
8436 * gdb.reverse/finish-reverse-bkpt.exp
8437 * gdb.reverse/finish-reverse.exp
8438 * gdb.reverse/fstatat-reverse.exp
8439 * gdb.reverse/getresuid-reverse.exp
8440 * gdb.reverse/i386-precsave.exp
8441 * gdb.reverse/i386-reverse.exp
8442 * gdb.reverse/i386-sse-reverse.exp
8443 * gdb.reverse/i387-stack-reverse.exp
8444 * gdb.reverse/insn-reverse.exp
8445 * gdb.reverse/machinestate-precsave.exp
8446 * gdb.reverse/machinestate.exp
8447 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8448 * gdb.reverse/pipe-reverse.exp
8449 * gdb.reverse/readv-reverse.exp
8450 * gdb.reverse/recvmsg-reverse.exp
8451 * gdb.reverse/rerun-prec.exp
8452 * gdb.reverse/s390-mvcle.exp
8453 * gdb.reverse/sigall-precsave.exp
8454 * gdb.reverse/sigall-reverse.exp
8455 * gdb.reverse/solib-precsave.exp
8456 * gdb.reverse/solib-reverse.exp
8457 * gdb.reverse/step-precsave.exp
8458 * gdb.reverse/step-reverse.exp
8459 * gdb.reverse/time-reverse.exp
8460 * gdb.reverse/until-precsave.exp
8461 * gdb.reverse/until-reverse.exp
8462 * gdb.reverse/waitpid-reverse.exp
8463 * gdb.reverse/watch-precsave.exp
8464 * gdb.reverse/watch-reverse.exp
8465
cdc7edd7
LM
84662016-12-01 Luis Machado <lgustavo@codesourcery.com>
8467
8468 Fix test names starting with uppercase throughout the files.
8469
8470 * gdb.arch/i386-mpx-simple_segv.exp
8471 * gdb.arch/i386-mpx.exp
8472 * gdb.arch/i386-permbkpt.exp
8473 * gdb.arch/pa-nullify.exp
8474 * gdb.arch/powerpc-d128-regs.exp
8475 * gdb.arch/vsx-regs.exp
8476 * gdb.base/bfp-test.exp
8477 * gdb.base/break.exp
8478 * gdb.base/breakpoint-shadow.exp
8479 * gdb.base/callfuncs.exp
8480 * gdb.base/charset.exp
8481 * gdb.base/commands.exp
8482 * gdb.base/completion.exp
8483 * gdb.base/dfp-test.exp
8484 * gdb.base/echo.exp
8485 * gdb.base/ending-run.exp
8486 * gdb.base/eval.exp
8487 * gdb.base/expand-psymtabs.exp
8488 * gdb.base/float128.exp
8489 * gdb.base/floatn.exp
8490 * gdb.base/foll-exec-mode.exp
8491 * gdb.base/gdb1056.exp
8492 * gdb.base/gdb11531.exp
8493 * gdb.base/kill-after-signal.exp
8494 * gdb.base/multi-forks.exp
8495 * gdb.base/overlays.exp
8496 * gdb.base/pending.exp
8497 * gdb.base/sepdebug.exp
8498 * gdb.base/testenv.exp
8499 * gdb.base/valgrind-db-attach.exp
8500 * gdb.base/watch_thread_num.exp
8501 * gdb.base/watchpoint-cond-gone.exp
8502 * gdb.base/watchpoint.exp
8503 * gdb.base/watchpoints.exp
8504 * gdb.cp/arg-reference.exp
8505 * gdb.cp/baseenum.exp
8506 * gdb.cp/operator.exp
8507 * gdb.cp/shadow.exp
8508 * gdb.dwarf2/dw2-op-out-param.exp
8509 * gdb.dwarf2/dw2-reg-undefined.exp
8510 * gdb.go/chan.exp
8511 * gdb.go/hello.exp
8512 * gdb.go/integers.exp
8513 * gdb.go/methods.exp
8514 * gdb.go/package.exp
8515 * gdb.guile/scm-parameter.exp
8516 * gdb.guile/scm-progspace.exp
8517 * gdb.guile/scm-value.exp
8518 * gdb.mi/mi-pending.exp
8519 * gdb.mi/user-selected-context-sync.exp
8520 * gdb.multi/multi-attach.exp
8521 * gdb.multi/tids.exp
8522 * gdb.opt/clobbered-registers-O2.exp
8523 * gdb.pascal/floats.exp
8524 * gdb.pascal/integers.exp
8525 * gdb.python/py-block.exp
8526 * gdb.python/py-events.exp
8527 * gdb.python/py-parameter.exp
8528 * gdb.python/py-symbol.exp
8529 * gdb.python/py-symtab.exp
8530 * gdb.python/py-type.exp
8531 * gdb.python/py-value.exp
8532 * gdb.python/py-xmethods.exp
8533 * gdb.python/python.exp
8534 * gdb.reverse/break-precsave.exp
8535 * gdb.reverse/consecutive-precsave.exp
8536 * gdb.reverse/finish-precsave.exp
8537 * gdb.reverse/i386-precsave.exp
8538 * gdb.reverse/machinestate-precsave.exp
8539 * gdb.reverse/sigall-precsave.exp
8540 * gdb.reverse/solib-precsave.exp
8541 * gdb.reverse/step-precsave.exp
8542 * gdb.reverse/until-precsave.exp
8543 * gdb.reverse/watch-precsave.exp
8544 * gdb.server/ext-attach.exp
8545 * gdb.server/ext-restart.exp
8546 * gdb.server/ext-run.exp
8547 * gdb.server/ext-wrapper.exp
8548 * gdb.stabs/gdb11479.exp
8549 * gdb.stabs/weird.exp
8550 * gdb.threads/attach-many-short-lived-threads.exp
8551 * gdb.threads/kill.exp
8552 * gdb.threads/watchpoint-fork.exp
8553
bc6c7af4
LM
85542016-12-01 Luis Machado <lgustavo@codesourcery.com>
8555
8556 Fix test names starting with uppercase throughout all the files below.
8557
8558 * gdb.ada/array_return.exp
8559 * gdb.ada/catch_ex.exp
8560 * gdb.ada/info_exc.exp
8561 * gdb.ada/mi_catch_ex.exp
8562 * gdb.ada/mi_dyn_arr.exp
8563 * gdb.ada/mi_ex_cond.exp
8564 * gdb.ada/mi_exc_info.exp
8565 * gdb.ada/mi_interface.exp
8566 * gdb.ada/mi_task_arg.exp
8567 * gdb.ada/mi_task_info.exp
8568 * gdb.ada/mi_var_array.exp
8569 * gdb.arch/alpha-step.exp
8570 * gdb.arch/amd64-disp-step.exp
8571 * gdb.arch/arm-disp-step.exp
8572 * gdb.arch/disp-step-insn-reloc.exp
8573 * gdb.arch/e500-prologue.exp
8574 * gdb.arch/ftrace-insn-reloc.exp
8575 * gdb.arch/gdb1558.exp
8576 * gdb.arch/i386-bp_permanent.exp
8577 * gdb.arch/i386-disp-step.exp
8578 * gdb.arch/i386-float.exp
8579 * gdb.arch/i386-gnu-cfi.exp
8580 * gdb.arch/ia64-breakpoint-shadow.exp
8581 * gdb.arch/mips16-thunks.exp
8582 * gdb.arch/pa-nullify.exp
8583 * gdb.arch/powerpc-aix-prologue.exp
8584 * gdb.arch/powerpc-power.exp
8585 * gdb.arch/ppc-dfp.exp
8586 * gdb.arch/s390-tdbregs.exp
8587 * gdb.arch/spu-info.exp
8588 * gdb.arch/spu-ls.exp
8589 * gdb.arch/thumb-bx-pc.exp
8590 * gdb.base/advance.exp
8591 * gdb.base/annota-input-while-running.exp
8592 * gdb.base/arrayidx.exp
8593 * gdb.base/asmlabel.exp
8594 * gdb.base/async.exp
8595 * gdb.base/attach-wait-input.exp
8596 * gdb.base/auto-connect-native-target.exp
8597 * gdb.base/batch-preserve-term-settings.exp
8598 * gdb.base/bfp-test.exp
8599 * gdb.base/bigcore.exp
8600 * gdb.base/bp-permanent.exp
8601 * gdb.base/break-always.exp
8602 * gdb.base/break-fun-addr.exp
8603 * gdb.base/break-idempotent.exp
8604 * gdb.base/break-main-file-remove-fail.exp
8605 * gdb.base/break-probes.exp
8606 * gdb.base/break-unload-file.exp
8607 * gdb.base/break.exp
8608 * gdb.base/call-ar-st.exp
8609 * gdb.base/call-rt-st.exp
8610 * gdb.base/call-sc.exp
8611 * gdb.base/call-signal-resume.exp
8612 * gdb.base/call-strs.exp
8613 * gdb.base/callexit.exp
8614 * gdb.base/callfuncs.exp
8615 * gdb.base/catch-gdb-caused-signals.exp
8616 * gdb.base/catch-signal-siginfo-cond.exp
8617 * gdb.base/catch-syscall.exp
8618 * gdb.base/compare-sections.exp
8619 * gdb.base/cond-eval-mode.exp
8620 * gdb.base/condbreak-call-false.exp
8621 * gdb.base/consecutive-step-over.exp
8622 * gdb.base/cursal.exp
8623 * gdb.base/disabled-location.exp
8624 * gdb.base/disasm-end-cu.exp
8625 * gdb.base/display.exp
8626 * gdb.base/double-prompt-target-event-error.exp
8627 * gdb.base/dprintf-bp-same-addr.exp
8628 * gdb.base/dprintf-detach.exp
8629 * gdb.base/dprintf-next.exp
8630 * gdb.base/dprintf-non-stop.exp
8631 * gdb.base/dprintf-pending.exp
8632 * gdb.base/dso2dso.exp
8633 * gdb.base/ending-run.exp
8634 * gdb.base/enum_cond.exp
8635 * gdb.base/examine-backward.exp
8636 * gdb.base/exe-lock.exp
8637 * gdb.base/exec-invalid-sysroot.exp
8638 * gdb.base/execl-update-breakpoints.exp
8639 * gdb.base/execution-termios.exp
8640 * gdb.base/fileio.exp
8641 * gdb.base/fixsection.exp
8642 * gdb.base/foll-exec-mode.exp
8643 * gdb.base/foll-exec.exp
8644 * gdb.base/fork-running-state.exp
8645 * gdb.base/frame-args.exp
8646 * gdb.base/fullpath-expand.exp
8647 * gdb.base/func-ptr.exp
8648 * gdb.base/gcore-relro-pie.exp
8649 * gdb.base/gdb1090.exp
8650 * gdb.base/gdb1555.exp
8651 * gdb.base/global-var-nested-by-dso.exp
8652 * gdb.base/gnu-ifunc.exp
8653 * gdb.base/hbreak-in-shr-unsupported.exp
8654 * gdb.base/hbreak-unmapped.exp
8655 * gdb.base/hook-stop.exp
8656 * gdb.base/infcall-input.exp
8657 * gdb.base/info-fun.exp
8658 * gdb.base/info-shared.exp
8659 * gdb.base/interrupt-noterm.exp
8660 * gdb.base/jit-so.exp
8661 * gdb.base/jit.exp
8662 * gdb.base/line-symtabs.exp
8663 * gdb.base/list.exp
8664 * gdb.base/longjmp.exp
8665 * gdb.base/macscp.exp
8666 * gdb.base/max-value-size.exp
8667 * gdb.base/nodebug.exp
8668 * gdb.base/nofield.exp
8669 * gdb.base/overlays.exp
8670 * gdb.base/paginate-after-ctrl-c-running.exp
8671 * gdb.base/paginate-bg-execution.exp
8672 * gdb.base/paginate-inferior-exit.exp
8673 * gdb.base/pending.exp
8674 * gdb.base/pr11022.exp
8675 * gdb.base/printcmds.exp
8676 * gdb.base/ptr-typedef.exp
8677 * gdb.base/ptype.exp
8678 * gdb.base/randomize.exp
8679 * gdb.base/range-stepping.exp
8680 * gdb.base/realname-expand.exp
8681 * gdb.base/relativedebug.exp
8682 * gdb.base/remote.exp
8683 * gdb.base/savedregs.exp
8684 * gdb.base/sepdebug.exp
8685 * gdb.base/set-noassign.exp
8686 * gdb.base/shlib-call.exp
8687 * gdb.base/shreloc.exp
8688 * gdb.base/sigaltstack.exp
8689 * gdb.base/sigbpt.exp
8690 * gdb.base/siginfo-addr.exp
8691 * gdb.base/siginfo-obj.exp
8692 * gdb.base/siginfo-thread.exp
8693 * gdb.base/signest.exp
8694 * gdb.base/signull.exp
8695 * gdb.base/sigrepeat.exp
8696 * gdb.base/skip.exp
8697 * gdb.base/so-impl-ld.exp
8698 * gdb.base/solib-corrupted.exp
8699 * gdb.base/solib-disc.exp
8700 * gdb.base/solib-display.exp
8701 * gdb.base/solib-overlap.exp
8702 * gdb.base/solib-search.exp
8703 * gdb.base/solib-symbol.exp
8704 * gdb.base/source-execution.exp
8705 * gdb.base/sss-bp-on-user-bp-2.exp
8706 * gdb.base/sss-bp-on-user-bp.exp
8707 * gdb.base/stack-checking.exp
8708 * gdb.base/stale-infcall.exp
8709 * gdb.base/step-break.exp
8710 * gdb.base/step-line.exp
8711 * gdb.base/step-over-exit.exp
8712 * gdb.base/step-test.exp
8713 * gdb.base/structs.exp
8714 * gdb.base/sym-file.exp
8715 * gdb.base/symtab-search-order.exp
8716 * gdb.base/term.exp
8717 * gdb.base/type-opaque.exp
8718 * gdb.base/unload.exp
8719 * gdb.base/until-nodebug.exp
8720 * gdb.base/until.exp
8721 * gdb.base/unwindonsignal.exp
8722 * gdb.base/watch-cond.exp
8723 * gdb.base/watch-non-mem.exp
8724 * gdb.base/watch_thread_num.exp
8725 * gdb.base/watchpoint-reuse-slot.exp
8726 * gdb.base/watchpoint-solib.exp
8727 * gdb.base/watchpoint.exp
8728 * gdb.btrace/dlopen.exp
8729 * gdb.cell/arch.exp
8730 * gdb.cell/break.exp
8731 * gdb.cell/bt.exp
8732 * gdb.cell/core.exp
8733 * gdb.cell/data.exp
8734 * gdb.cell/dwarfaddr.exp
8735 * gdb.cell/ea-cache.exp
8736 * gdb.cell/ea-standalone.exp
8737 * gdb.cell/ea-test.exp
8738 * gdb.cell/f-regs.exp
8739 * gdb.cell/fork.exp
8740 * gdb.cell/gcore.exp
8741 * gdb.cell/mem-access.exp
8742 * gdb.cell/ptype.exp
8743 * gdb.cell/registers.exp
8744 * gdb.cell/sizeof.exp
8745 * gdb.cell/solib-symbol.exp
8746 * gdb.cell/solib.exp
8747 * gdb.compile/compile-tls.exp
8748 * gdb.cp/exception.exp
8749 * gdb.cp/gdb2495.exp
8750 * gdb.cp/local.exp
8751 * gdb.cp/mb-inline.exp
8752 * gdb.cp/mb-templates.exp
8753 * gdb.cp/pr10687.exp
8754 * gdb.cp/pr9167.exp
8755 * gdb.cp/scope-err.exp
8756 * gdb.cp/templates.exp
8757 * gdb.cp/virtfunc.exp
8758 * gdb.dwarf2/dw2-dir-file-name.exp
8759 * gdb.dwarf2/dw2-single-line-discriminators.exp
8760 * gdb.fortran/complex.exp
8761 * gdb.fortran/library-module.exp
8762 * gdb.guile/guile.exp
8763 * gdb.guile/scm-cmd.exp
8764 * gdb.guile/scm-frame-inline.exp
8765 * gdb.guile/scm-objfile.exp
8766 * gdb.guile/scm-pretty-print.exp
8767 * gdb.guile/scm-symbol.exp
8768 * gdb.guile/scm-type.exp
8769 * gdb.guile/scm-value.exp
8770 * gdb.linespec/keywords.exp
8771 * gdb.linespec/ls-errs.exp
8772 * gdb.linespec/macro-relative.exp
8773 * gdb.linespec/thread.exp
8774 * gdb.mi/mi-breakpoint-changed.exp
8775 * gdb.mi/mi-dprintf-pending.exp
8776 * gdb.mi/mi-fullname-deleted.exp
8777 * gdb.mi/mi-logging.exp
8778 * gdb.mi/mi-pending.exp
8779 * gdb.mi/mi-solib.exp
8780 * gdb.mi/new-ui-mi-sync.exp
8781 * gdb.mi/user-selected-context-sync.exp
8782 * gdb.multi/dummy-frame-restore.exp
8783 * gdb.multi/multi-arch-exec.exp
8784 * gdb.multi/remove-inferiors.exp
8785 * gdb.multi/watchpoint-multi-exit.exp
8786 * gdb.opt/solib-intra-step.exp
8787 * gdb.perf/backtrace.exp
8788 * gdb.perf/single-step.exp
8789 * gdb.perf/skip-command.exp
8790 * gdb.perf/skip-prologue.exp
8791 * gdb.perf/solib.exp
8792 * gdb.python/lib-types.exp
8793 * gdb.python/py-as-string.exp
8794 * gdb.python/py-bad-printers.exp
8795 * gdb.python/py-block.exp
8796 * gdb.python/py-breakpoint.exp
8797 * gdb.python/py-cmd.exp
8798 * gdb.python/py-events.exp
8799 * gdb.python/py-evthreads.exp
8800 * gdb.python/py-finish-breakpoint.exp
8801 * gdb.python/py-finish-breakpoint2.exp
8802 * gdb.python/py-frame-inline.exp
8803 * gdb.python/py-frame.exp
8804 * gdb.python/py-inferior.exp
8805 * gdb.python/py-infthread.exp
8806 * gdb.python/py-mi.exp
8807 * gdb.python/py-objfile.exp
8808 * gdb.python/py-pp-maint.exp
8809 * gdb.python/py-pp-registration.exp
8810 * gdb.python/py-prettyprint.exp
8811 * gdb.python/py-recurse-unwind.exp
8812 * gdb.python/py-shared.exp
8813 * gdb.python/py-symbol.exp
8814 * gdb.python/py-symtab.exp
8815 * gdb.python/py-template.exp
8816 * gdb.python/py-type.exp
8817 * gdb.python/py-unwind-maint.exp
8818 * gdb.python/py-unwind.exp
8819 * gdb.python/py-value.exp
8820 * gdb.python/python.exp
8821 * gdb.reverse/finish-reverse-bkpt.exp
8822 * gdb.reverse/insn-reverse.exp
8823 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8824 * gdb.reverse/solib-precsave.exp
8825 * gdb.reverse/solib-reverse.exp
8826 * gdb.stabs/gdb11479.exp
8827 * gdb.stabs/weird.exp
8828 * gdb.threads/fork-child-threads.exp
8829 * gdb.threads/fork-plus-threads.exp
8830 * gdb.threads/fork-thread-pending.exp
8831 * gdb.threads/forking-threads-plus-breakpoint.exp
8832 * gdb.threads/hand-call-in-threads.exp
8833 * gdb.threads/interrupted-hand-call.exp
8834 * gdb.threads/linux-dp.exp
8835 * gdb.threads/local-watch-wrong-thread.exp
8836 * gdb.threads/next-while-other-thread-longjmps.exp
8837 * gdb.threads/non-ldr-exit.exp
8838 * gdb.threads/pending-step.exp
8839 * gdb.threads/print-threads.exp
8840 * gdb.threads/process-dies-while-detaching.exp
8841 * gdb.threads/process-dies-while-handling-bp.exp
8842 * gdb.threads/pthreads.exp
8843 * gdb.threads/queue-signal.exp
8844 * gdb.threads/reconnect-signal.exp
8845 * gdb.threads/signal-command-handle-nopass.exp
8846 * gdb.threads/signal-command-multiple-signals-pending.exp
8847 * gdb.threads/signal-delivered-right-thread.exp
8848 * gdb.threads/signal-sigtrap.exp
8849 * gdb.threads/sigthread.exp
8850 * gdb.threads/staticthreads.exp
8851 * gdb.threads/stepi-random-signal.exp
8852 * gdb.threads/thread-unwindonsignal.exp
8853 * gdb.threads/thread_check.exp
8854 * gdb.threads/thread_events.exp
8855 * gdb.threads/tid-reuse.exp
8856 * gdb.threads/tls-nodebug.exp
8857 * gdb.threads/tls-shared.exp
8858 * gdb.threads/tls-so_extern.exp
8859 * gdb.threads/tls.exp
8860 * gdb.threads/wp-replication.exp
8861 * gdb.trace/actions-changed.exp
8862 * gdb.trace/actions.exp
8863 * gdb.trace/backtrace.exp
8864 * gdb.trace/change-loc.exp
8865 * gdb.trace/collection.exp
8866 * gdb.trace/deltrace.exp
8867 * gdb.trace/disconnected-tracing.exp
8868 * gdb.trace/entry-values.exp
8869 * gdb.trace/ftrace-lock.exp
8870 * gdb.trace/ftrace.exp
8871 * gdb.trace/infotrace.exp
8872 * gdb.trace/mi-trace-frame-collected.exp
8873 * gdb.trace/mi-trace-unavailable.exp
8874 * gdb.trace/mi-traceframe-changed.exp
8875 * gdb.trace/mi-tracepoint-changed.exp
8876 * gdb.trace/mi-tsv-changed.exp
8877 * gdb.trace/no-attach-trace.exp
8878 * gdb.trace/packetlen.exp
8879 * gdb.trace/passc-dyn.exp
8880 * gdb.trace/passcount.exp
8881 * gdb.trace/pending.exp
8882 * gdb.trace/pr16508.exp
8883 * gdb.trace/qtro.exp
8884 * gdb.trace/range-stepping.exp
8885 * gdb.trace/read-memory.exp
8886 * gdb.trace/report.exp
8887 * gdb.trace/save-trace.exp
8888 * gdb.trace/signal.exp
8889 * gdb.trace/stap-trace.exp
8890 * gdb.trace/status-stop.exp
8891 * gdb.trace/strace.exp
8892 * gdb.trace/tfile.exp
8893 * gdb.trace/tfind.exp
8894 * gdb.trace/trace-break.exp
8895 * gdb.trace/trace-condition.exp
8896 * gdb.trace/trace-enable-disable.exp
8897 * gdb.trace/trace-mt.exp
8898 * gdb.trace/tracecmd.exp
8899 * gdb.trace/tracefile-pseudo-reg.exp
8900 * gdb.trace/tspeed.exp
8901 * gdb.trace/tstatus.exp
8902 * gdb.trace/tsv.exp
8903 * gdb.trace/unavailable.exp
8904 * gdb.trace/while-dyn.exp
8905 * gdb.trace/while-stepping.exp
8906 * lib/gdb-guile.exp
8907 * lib/gdb.exp
8908 * lib/mi-support.exp
8909 * lib/pascal.exp
8910 * lib/perftest.exp
8911 * lib/prelink-support.exp
8912 * lib/selftest-support.exp
8913
ad02e4fe
SM
89142016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8915
8916 * Makefile.in: Include disable-implicit-rules.mk.
8917
22347e55
AA
89182016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8919
8920 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8921 non-byte-aligned bit fields.
8922
da5b30da
AA
89232016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8924
8925 PR gdb/12616
8926 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8927 respects the DW_AT_data_bit_offset attribute.
8928
b593ecca
SM
89292016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8930
8931 * gdb.base/default.exp: Fix output of "set language".
8932
3b165252
SM
89332016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8934
8935 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8936 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8937 make.
8938 * configure.ac: Remove checks for the make program.
8939 * configure: Re-generate.
8940
1a2f3d7f
KB
89412016-11-16 Kevin Buettner <kevinb@redhat.com>
8942
8943 * gdb.python/py-recurse-unwind.c (main): Add loop.
8944 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8945 to read_register() and gdb.parse_and_eval(). Make each code
8946 call a separate case that can be individually tested.
8947 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8948 proc. Call cont_and_backtrace for each of the code paths that
8949 we want to test in the unwinder.
8950
b7f38fda
AA
89512016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8952
8953 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8954 the definition of struct S.
8955
1f8db343
CM
89562016-11-11 Catherine Moore <clm@codesourcery.com>
8957
8958 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8959
fad0c9fb
PA
89602016-11-09 Pedro Alves <palves@redhat.com>
8961
8962 * gdb.base/commands.exp (runto_or_return): New procedure.
8963 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8964 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8965 (progvar_simple_while_test, progvar_complex_if_while_test)
8966 (if_while_breakpoint_command_test)
8967 (infrun_breakpoint_command_test, breakpoint_command_test)
8968 (user_defined_command_test, watchpoint_command_test)
8969 (test_command_prompt_position, redefine_hook_test)
8970 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8971 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8972 multi_line_input and multi_line. Remove gdb_expect and
8973 gdb_stop_suppressing_tests uses.
8974 * lib/gdb.exp (valnum_re): New global.
8975 (multi_line_input): New procedure.
8976
8354c62c
SM
89772016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8978
8979 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8980 Remove.
8981 (test_setup): Define with proc_with_prefix.
8982 (test_cli_inferior): Likewise.
8983 (test_cli_thread): Likewise.
8984 (test_cli_frame): Likewise.
8985 (test_cli_select_frame): Likewise.
8986 (test_cli_up_down): Likewise.
8987 (test_mi_thread_select): Likewise.
8988 (test_mi_stack_select_frame): Likewise.
8989 (test_cli_in_mi_inferior): Likewise.
8990 (test_cli_in_mi_thread): Likewise.
8991 (test_cli_in_mi_frame): Likewise.
8992 (top level): Do not use with_test_prefix_procname.
8993
64f367a2
PA
89942016-11-09 Pedro Alves <palves@redhat.com>
8995
8996 * gdb.base/commands.exp (gdbvar_simple_if_test)
8997 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8998 (progvar_simple_if_test, progvar_simple_while_test)
8999 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9000 (infrun_breakpoint_command_test, breakpoint_command_test)
9001 (user_defined_command_test, watchpoint_command_test)
9002 (test_command_prompt_position, deprecated_command_test)
9003 (bp_deleted_in_command, temporary_breakpoint_commands)
9004 (stray_arg0_test, source_file_with_indented_comment)
9005 (recursive_source_test, if_commands_test)
9006 (error_clears_commands_left, redefine_hook_test)
9007 (redefine_backtrace_test): Use proc_with_prefix.
9008 * lib/gdb.exp (proc_with_prefix): New proc.
9009
0bb65f1e
AA
90102016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9011
9012 * gdb.base/tui-layout.c: New file.
9013 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9014 disassembly window contains very long lines.
9015
7353f247
TT
90162016-11-08 Tom Tromey <tom@tromey.com>
9017
9018 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9019 depend on Python 2.
9020
30a7bb83
TT
90212016-11-08 Tom Tromey <tom@tromey.com>
9022
9023 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9024 New method.
9025
cdf5a07c
MG
90262016-10-29 Manish Goregaokar <manish@mozilla.com>
9027
2806dc7e 9028 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9029
51a789c3
MG
90302016-10-27 Manish Goregaokar <manish@mozilla.com>
9031
2806dc7e
PA
9032 * gdb.rust/simple.rs: Add test for univariant enums without
9033 discriminants and for encoded struct-like enums.
51a789c3 9034
f610ab6d
PA
90352016-10-28 Pedro Alves <palves@redhat.com>
9036
9037 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9038 gdb_test_multiple, tighten regexps and match symtabs and line
9039 tables incrementally.
9040
b129b0ca
LM
90412016-10-28 Luis Machado <lgustavo@codesourcery.com>
9042
9043 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9044 general.
9045
ecf45d2c
SL
90462016-10-25 Luis Machado <lgustavo@codesourcery.com>
9047
9048 * gdb.base/exec-invalid-sysroot.exp: New file.
9049
b8d38ee4
JK
90502016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9051
9052 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9053
f90fd8c2
JK
90542016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9055
9056 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9057
2d2476aa
MR
90582016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9059
2806dc7e
PA
9060 * gdb.base/killed-outside.exp: Remove $options from a call to
9061 `prepare_for_testing'.
2d2476aa 9062
e42b25a0
SM
90632016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9064
9065 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9066 Change test message.
9067
3ccdb432
SM
90682016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9069
9070 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9071 Update comment.
9072
5bad3170
SM
90732016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9074
9075 * gdb.trace/mi-trace-save.exp: New file.
9076
5ad9dba7
YQ
90772016-10-13 Yao Qi <yao.qi@linaro.org>
9078
9079 * gdb.base/code_elim.exp (get_var_address): Remove.
9080 * gdb.base/relocate.exp: Likewise.
9081 * gdb.base/shreloc.exp: Likewise.
9082 * lib/gdb.exp (get_var_address): New.
9083
62df7e21
YQ
90842016-10-13 Yao Qi <yao.qi@linaro.org>
9085
9086 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9087 floating point tests if $skip_float_test is false.
9088
4dac951e
LM
90892016-10-12 Luis Machado <lgustavo@codesourcery.com>
9090
9091 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9092 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9093 argc values.
9094 Add 1 to argc so we guarantee distinct initial/modified argc values.
9095
8f1a8fc4
JK
90962016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9097
9098 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9099
16c85b5d
JK
91002016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9101
9102 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9103 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9104 * gdb.arch/vsx-regs.exp: Likewise.
9105
1d0e042a
YQ
91062016-10-07 Yao Qi <yao.qi@linaro.org>
9107
9108 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9109
68dadef5
MM
91102016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9111
9112 * gdb.python/python.exp: Test decode_line("*0").
9113
33fa2c6e
DE
91142016-10-06 Doug Evans <dje@google.com>
9115
9116 * gdb.python/py-value.exp (test_value_creation): Add test for large
9117 unsigned 64-bit value.
9118
9c37b5ae
TT
91192016-10-06 Tom Tromey <tom@tromey.com>
9120
9121 * gdb.compile/compile.exp: Change java tests to rust.
9122 * gdb.base/setshow.exp: Change java tests to rust.
9123 * gdb.base/default.exp: Remove java from language list.
9124 * README (Examples): Update language example.
9125 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9126 test.
9127 * lib/gdb.exp (skip_java_tests): Remove.
9128 * lib/java.exp: Remove.
9129 * gdb.java: Remove.
9130
78b86327
MR
91312016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9132
9133 * gdb.arch/mips-fcr.exp: New test.
9134 * gdb.arch/mips-fcr.c: Source for the new test.
9135
7470adbb
MR
91362016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9137
9138 * gdb.base/solib-disc.exp: Use `standard_output_file'
9139 throughout.
9140
4a556533
PA
91412016-10-06 Pedro Alves <palves@redhat.com>
9142
9143 * gdb.base/jit-simple-dl.c: New file.
9144 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9145 * gdb.base/jit-simple.c: ... this.
9146 * gdb.base/jit-simple.exp (jit_run): Delete.
9147 (build_jit): New proc.
9148 (jit_test_reread): Recompile either the main program or the shared
9149 library, depending on what is being tested. Skip changing address
9150 if caller wants to. Compare before/after addresses. If testing
9151 standalone, explicitly load the binary. Test "maint info
9152 breakpoints".
9153 (top level): Add "standalone vs shared lib" and "change address"
9154 vs "same address" axes.
9155
5a122fbc
PA
91562016-10-06 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9159 call.
9160 (jit_run): Delete.
9161 (jit_test_reread): Use with_test_prefix. Reload the main binary
9162 explicitly. Compare the before/after addresses of the JIT
9163 descriptor.
9164
ee8da4b8
DE
91652016-08-15 Doug Evans <dje@google.com>
9166
9167 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9168 for single bitfields is bool.
9169 * gdb.xml/tdesc-regs.exp: Ditto.
9170
f389f6fe
JK
91712016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9172
9173 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9174
fdebf1a4
YQ
91752016-10-05 Yao Qi <yao.qi@linaro.org>
9176
9177 * lib/gdb.exp (support_complex_tests): Return zero if
9178 gdb_skip_float_test return true.
9179
9c36d954 91802016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9181 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9182
9183 PR gdb/20487
9184 * gdb.mi/user-selected-context-sync.exp: New file.
9185 * gdb.mi/user-selected-context-sync.c: New file.
9186
4034d0ff 91872016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9188 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9189
9190 PR gdb/20487
9191 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9192 =thread-select-event check.
9193
a4297203
PB
91942016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9195
9196 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9197 the compulsory L operand changes.
9198 * gdb.arch/powerpc-power.s: Likewise.
9199
bb805577
JK
92002016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9201
9202 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9203 * gdb.base/jit-attach-pie.c: New file.
9204 * gdb.base/jit-attach-pie.exp: New file.
9205
6d61dee5
PA
92062016-09-28 Pedro Alves <palves@redhat.com>
9207
9208 * gdb.base/infcall-input.c: New file.
9209 * gdb.base/infcall-input.exp: New file.
9210
f73842fc
YQ
92112016-09-22 Yao Qi <yao.qi@linaro.org>
9212
9213 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9214 (gdb_exit): Rename it to ...
9215 (gdbserver_gdb_exit): ... Close GDBserver.
9216 (gdb_exit): New proc, call gdbserver_gdb_exit.
9217 (mi_gdb_exit): Likewise.
9218
90681dab
YQ
92192016-09-22 Yao Qi <yao.qi@linaro.org>
9220
9221 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9222 path.
9223 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9224 Remove duplication.
9225
9c211fd8
YQ
92262016-09-22 Yao Qi <yao.qi@linaro.org>
9227
9228 * lib/gdbserver-support.exp: Check the existence of
9229 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9230
ad0a504f
AK
92312016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9232
9233 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9234
36cf1806
TT
92352016-09-21 Tom Tromey <tom@tromey.com>
9236
9237 PR gdb/20604:
9238 * gdb.base/quit.exp: New file.
9239
74172ecf
SM
92402016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9241
9242 * .gitignore: New file.
9243
3d0ec882
MR
92442016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9245
9246 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9247 throughout.
9248
8193adea
AA
92492016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9250
9251 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9252
d41a5c09
JK
92532016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9254
9255 * gdb.cp/casts.cc (decltype): Move it ...
9256 (main): ... with its call to ...
9257 * gdb.cp/casts03.cc: ... a new file.
9258 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9259
d2dfe700
JK
92602016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9261
9262 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9263
e2a92b16
PB
92642016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9265
9266 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9267 and sync up the test with tests in gas/testsuite/gas/ppc.
9268 * gdb.arch/powerpc-power.exp: Likewise.
9269
49b4de64
JK
92702016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9273
2c29df25
SDJ
92742016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9275 Jan Kratochvil <jan.kratochvil@redhat.com>
9276
9277 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9278 make m1's definition to be different from m2's. Use 'dummy' as an
9279 argument for probe 'two'.
9280
cc3c2846
JB
92812016-09-10 Jon Beniston <jon@beniston.com>
9282
9283 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9284 for sim target.
9285
e1b2624a
AA
92862016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9287
9288 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9289 variable declaration.
9290 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9291 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9292 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9293 received HWCAP as its argument.
9294
4295e285
PA
92952016-09-06 Pedro Alves <palves@redhat.com>
9296
9297 * gdb.base/new-ui-pending-input.c: New file.
9298 * gdb.base/new-ui-pending-input.exp: New file.
9299 * gdb.exp (clear_gdb_spawn_id): New procedure.
9300 (with_spawn_id): Check whether gdb_spawn_id exists before
9301 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9302 on exit.
9303
00d5215e
UW
93042016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9305
9306 * gdb.base/float128.c: New file.
9307 * gdb.base/float128.exp: Likewise.
9308 * gdb.base/floatn.c: Likewise.
9309 * gdb.base/floatn.exp: Likewise.
9310
a9ff5f12
UW
93112016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9312
9313 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9314
f245535c
PA
93152016-09-05 Pedro Alves <palves@redhat.com>
9316
9317 PR backtrace/19927
9318 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9319 unwinders are immediately called as side effect of "source" or
9320 "disable unwinder" commands.
9321 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9322
ae9cf263
YQ
93232016-09-02 Yao Qi <yao.qi@linaro.org>
9324
9325 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9326 is true and $type is "float" or "double".
9327
27aba047
YQ
93282016-09-02 Yao Qi <yao.qi@linaro.org>
9329
9330 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9331 true.
9332 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9333 * gdb.base/call-rt-st.exp: Likewise.
9334 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9335 return value instead of gdb,skip_float_test.
9336 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9337 (do_function_calls): Use its return value instead of
9338 gdb,skip_float_test.
9339 * gdb.base/finish.exp: Likewise.
9340 * gdb.base/funcargs.exp: Likewise.
9341 * gdb.base/return.exp: Likewise.
9342 * gdb.base/return2.exp: Likewise.
9343 * gdb.base/varargs.exp: Likewise.
9344 * lib/gdb.exp (gdb_skip_float_test): Change it to
9345 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9346
5af962df
AA
93472016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9348
9349 * gdb.multi/tids.exp: Test "thread apply all".
9350
7fac6910
JK
93512016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9352
9353 * gdb.base/default.exp (tty): Remove.
9354
bb1fe4ac
KB
93552016-08-24 Kevin Buettner <kevinb@redhat.com>
9356
2806dc7e
PA
9357 * gdb.python/py-recurse-unwind.c: New file.
9358 * gdb.python/py-recurse-unwind.py: New file.
9359 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9360
0a1ddfa6
SM
93612016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9362
9363 * gdb.base/set-inferior-tty.exp: New file.
9364 * gdb.base/set-inferior-tty.c: New file.
9365
d9de1fe3
PA
93662016-08-23 Pedro Alves <palves@redhat.com>
9367
9368 PR gdb/20494
9369 * gdb.base/new-ui-echo.c: New file.
9370 * gdb.base/new-ui-echo.exp: New file.
9371
e9d9abd7
YQ
93722016-08-23 Yao Qi <yao.qi@linaro.org>
9373
9374 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9375 gdbserver_spawn.
9376 * gdb.server/connect-without-multi-process.exp (do_test):
9377 Likewise.
9378
3589529e
YQ
93792016-08-23 Yao Qi <yao.qi@linaro.org>
9380
9381 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9382 standalone_txt. Delete gdb_txt and standalone_txt on host
9383 and target. Spawn the binary on target. Copy files from
9384 target to host.
9385
6bb90213
PA
93862016-08-22 Pedro Alves <palves@redhat.com>
9387
9388 PR gdb/20505
9389 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9390 with_test_prefix. Factor out bits to ...
9391 (test_no_vdso): ... this new procedure.
9392
20c2c024
CL
93932016-08-19 Carl Love <cel@us.ibm.com>
9394
9395 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9396 maintaining separate logic for constructing the output path.
9397 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9398 * gdb.arch/ppc-dfp.exp: Likewise.
9399 * gdb.arch/ppc-fp.exp: Likewise.
9400 * gdb.arch/vsx-regs.exp: Likewise.
9401 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9402 binprefix for generating the additional binary files.
9403
0646e07d
PA
94042016-08-19 Pedro Alves <palves@redhat.com>
9405
9406 * gdb.trace/mi-trace-frame-collected.exp
9407 (test_trace_frame_collected): On x32, expect two registers.
9408
46da9242
CL
94092016-08-18 Carl Love <cel@us.ibm.com>
9410
9411 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9412 and sync up the test with tests in gas/testsuite/gas/ppc.
9413 * gdb.arch/powerpc-power.exp: Likewise.
9414
eb2332d7
SM
94152016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9416
9417 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9418 expected error message.
9419
63c61e04
SM
94202016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9421
9422 * gdb.multi/remove-inferiors.exp: New file.
9423 * gdb.multi/remove-inferiors.c: New file.
9424
7b17065f
YQ
94252016-08-12 Yao Qi <yao.qi@linaro.org>
9426
9427 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9428 argument list.
9429
01d3dedf
PA
94302016-08-10 Pedro Alves <palves@redhat.com>
9431
9432 PR gdb/19187
9433 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9434 setup_kfails.
9435
3eb7562a
PA
94362016-08-09 Pedro Alves <palves@redhat.com>
9437 Simon Marchi <simon.marchi@ericsson.com>
9438
9439 PR gdb/20418
9440 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9441 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9442
80614914
PA
94432016-08-09 Pedro Alves <palves@redhat.com>
9444
9445 PR mi/20431
9446 * gdb.mi/mi-cmd-error.exp: New file.
9447
f348d89a
PA
94482016-08-09 Pedro Alves <palves@redhat.com>
9449
9450 PR gdb/18653
9451 * gdb.base/signals-state-child.c: New file.
9452 * gdb.base/signals-state-child.exp: New file.
9453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9454
e5ca03b4
PA
94552016-08-09 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9458
282a0691
TT
94592016-08-03 Tom Tromey <tom@tromey.com>
9460
9461 PR python/18565:
9462 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9463
41bfcd63
YQ
94642016-08-01 Yao Qi <yao.qi@linaro.org>
9465
9466 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9467 variable mode to "multi-process" if $multi_process is 1, otherwise
9468 set it to "single-process".
9469
e3465b24
YQ
94702016-08-01 Yao Qi <yao.qi@linaro.org>
9471
9472 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9473 * gdb.cp/cpexprs.exp: Likewise.
9474 * gdb.cp/m-static.exp: Likewise.
9475
0b31a4bc
TT
94762016-07-26 Tom Tromey <tom@tromey.com>
9477
9478 PR python/20190:
9479 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9480 test.
9481
e0461dbb
MM
94822016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9483
9484 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9485 selecting assembly source files.
9486 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9487 assembly source files.
9488 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9489 assembly source files.
9490 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9491 selecting assembly source files.
9492
8194e927
SM
94932016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9494
9495 * gdb.base/new-ui.exp (do_test_invalid_args): New
9496 procedure.
9497
c0272db5
TW
94982016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9499
9500 * gdb.btrace/reconnect.c: New file.
9501 * gdb.btrace/reconnect.exp: New file.
9502
e3487908
GKB
95032016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9504
9505 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9506 to test_catch_syscall_group.
9507 (test_catch_syscall_group): New.
9508
12df5c00
TT
95092016-07-21 Tom Tromey <tom@tromey.com>
9510
9511 * gdb.rust/simple.rs (main): Use empty struct expression.
9512 * gdb.rust/simple.exp: Add tests for empty struct expression.
9513
bae62ee2
YQ
95142016-07-21 Yao Qi <yao.qi@linaro.org>
9515
9516 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9517 if gdb_skip_xml_test is true on some targets.
9518
b1b53fb3
YQ
95192016-07-21 Yao Qi <yao.qi@linaro.org>
9520
9521 * gdb.server/solib-list.exp: Unset last_loaded_file.
9522
027d97f8
JK
95232016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9524
9525 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9526 "step into captured_main (args)".
9527
7674d381
JK
95282016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9529
9530 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9531
72b5d099
JK
95322016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9533
9534 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9535
1f960ced
PA
95362016-07-19 Pedro Alves <palves@redhat.com>
9537
9538 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9539 * gdb.opt/inline-bt.exp: Likewise.
9540 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9541 additional_flags=-Winline.
9542 * gdb.opt/inline-locals.exp: Likewise.
9543 * gdb.opt/inline-markers.c (ATTR): Define.
9544 (inlined_fn): Use it.
9545
f25827c1
YQ
95462016-07-19 Yao Qi <yao.qi@linaro.org>
9547
9548 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9549 (test_with_self): Remove some code. Remove argument executable.
9550 (top-level): Use do_self_tests.
9551
37539ebe
DB
95522016-07-15 Zachary Welch <zwelch@codesourcery.com>
9553 Don Breazeal <donb@codesourcery.com>
9554
9555 * gdb.base/maint.exp: Escape paths used in regular expressions.
9556 * gdb.stabs/weird.exp: Likewise.
9557
dac790e1
TT
95582016-07-13 Tom Tromey <tom@tromey.com>
9559
9560 PR python/15620, PR python/18620:
9561 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9562 (test_bkpt_events): New procs.
9563
93daf339
TT
95642016-07-13 Tom Tromey <tom@tromey.com>
9565
9566 PR python/17698:
9567 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9568 test.
9569 (test_watchpoints): Likewise.
9570 (test_bkpt_pending): New proc.
9571
6571a381
TT
95722016-07-13 Tom Tromey <tom@tromey.com>
9573
9574 PR cli/18053:
9575 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9576 completion test.
9577
e8732474
JK
95782016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9579
9580 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9581 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9582 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9583 f_label.
9584 (g): Rename g_end_lbl to g_label.
9585 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9586 low_pc and high_pc.
9587 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9588
e0f3fd7c
TT
95892016-07-12 Tom Tromey <tom@tromey.com>
9590
9591 PR python/19293:
9592 * gdb.python/py-unwind-maint.exp: Update tests.
9593
3cfe46b6
YQ
95942016-07-12 Yao Qi <yao.qi@linaro.org>
9595
9596 * lib/selftest-support.exp (selftest_setup): Match the output
9597 when captured_main is inlined.
9598
4f19a0e6
WT
95992016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9600
9601 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9602 New variables.
9603 (print this%a, print this%b, print this): New tests.
9604 * gdb.fortran/derived-types.f90 (this): New object and
9605 initialization.
9606
986cf455
SM
96072016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9608
9609 * gdb.ada/arraydim.exp: Remove extra directory level in build
9610 directory.
9611
f0464b23
SM
96122016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9613
9614 * lib/ada.exp: Remove extra directory level in build directory.
9615 * gdb.ada/cond_lang.exp: Likewise.
9616 * gdb.ada/exec_changed.exp: Likewise.
9617 * gdb.ada/lang_switch.exp: Likewise.
9618
42d94011
MG
96192016-07-06 Manish Goregaokar <manish@mozilla.com>
9620
2806dc7e
PA
9621 * simple.rs: Add test for raw pointer subscripting.
9622 * simple.exp: Add test expectations.
42d94011 9623
647c264c
YQ
96242016-07-05 Yao Qi <yao.qi@linaro.org>
9625
9626 * gdb.mi/mi-reverse.exp: Match =record-started output.
9627
20aa2c60
PA
96282016-07-01 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9631 procedure.
9632 (jit_reader_test): Test the jit reader's unwinder.
9633 * gdb.base/jithost.c (jit_function_00_code): New global.
9634 (main): Use memcpy to fill in the mmapped code, instead of poking
9635 bytes manually here.
9636 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9637 value.
9638 (read_debug_info): Save the function's range.
9639 (read_sp): New function.
9640 (unwind_frame): Use it. Also unwind RBP.
9641 (get_frame_id): Use read_sp.
9642 (gdb_init_reader): Use calloc instead of malloc.
9643 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9644 parameter. Use gdb_test_multiple.
9645
ced2dffb
PA
96462016-07-01 Pedro Alves <palves@redhat.com>
9647 Antoine Tremblay <antoine.tremblay@ericsson.com>
9648
9649 * gdb.threads/process-dies-while-detaching.c: New file.
9650 * gdb.threads/process-dies-while-detaching.exp: New file.
9651
63000888
PA
96522016-07-01 Pedro Alves <palves@redhat.com>
9653
9654 * gdb.multi/watchpoint-multi-exit.c: New file.
9655 * gdb.multi/watchpoint-multi-exit.exp: New file.
9656
038d4868
PA
96572016-06-30 Pedro Alves <palves@redhat.com>
9658
9659 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9660 unset inferior_spawn_id.
9661
994e9c83
PA
96622016-06-30 Pedro Alves <palves@redhat.com>
9663
9664 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9665 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9666
e5653468
YQ
96672016-06-29 Yao Qi <yao.qi@linaro.org>
9668
9669 * gdb.base/return.c: Add copyright header.
9670
803b47e5
TT
96712016-06-29 Tom Tromey <tom@tromey.com>
9672
9673 PR python/20129:
9674 * gdb.python/py-framefilter.exp: Add tests for setting priority
9675 and disabling of non-existent frame filter.
9676
28244707
YQ
96772016-06-29 Yao Qi <yao.qi@linaro.org>
9678
9679 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9680 0x0f07ff.
9681
a31d2f06
YQ
96822016-06-28 Yao Qi <yao.qi@linaro.org>
9683
9684 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9685 triplets. Start gdb, execute catch syscall, and continue. Check
9686 gdb's output to determine catch syscall is supported.
9687
921d8f54
MG
96882016-06-27 Manish Goregaokar <manish@mozilla.com>
9689
25d49b86
PA
9690 * gdb.rust/simple.rs: Add test for returning unit in a function.
9691 * gdb.rust/simple.exp: Add expectation for functions returning
9692 unit.
921d8f54 9693
f4952523
PMR
96942016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9695
9696 * gdb.python/py-breakpoint-create-fail.c,
9697 gdb.python/py-breakpoint-create-fail.exp,
9698 gdb.python/py-breakpoint-create-fail.py: New testcase.
9699
fccb08f8
MG
97002016-06-25 Manish Goregaokar <manish@mozilla.com>
9701
9702 PR gdb/20239
9703 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9704 * gdb.rust/simple.exp: Add test expectations for new NonZero
9705 tests.
fccb08f8 9706
6b850546
DT
97072016-06-24 David Taylor <dtaylor@emc.com>
9708
9709 * gdb.base/offsets.exp: New file.
9710 * gdb.base/offsets.c: New file.
9711
17621150
TT
97122016-06-23 Tom Tromey <tom@tromey.com>
9713
9714 PR gdb/16483:
9715 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9716 before any filters are loaded.
9717
04d59df6
WT
97182016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9719
9720 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9721 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9722 structs.
9723 * gdb.fortran/derived-type-function.exp: New file.
9724 * gdb.fortran/derived-type-function.f90: New file.
9725
9726
ac69f786
PA
97272016-06-21 Pedro Alves <palves@redhat.com>
9728
9729 * gdb.base/new-ui.exp: New file.
9730 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9731 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9732 (with_spawn_id): New procedure.
9733
49940788
PA
97342016-06-21 Pedro Alves <palves@redhat.com>
9735
9736 * gdb.mi/mi-exec-run.exp: New file.
9737
ef274d26
PA
97382016-06-21 Pedro Alves <palves@redhat.com>
9739
9740 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9741 breakpoint command's output on the main UI.
9742 (test_break): New procedure, factored out from calls in the top
9743 level.
9744 (top level): Use foreach_with_prefix to test MI as main UI and as
9745 separate UI.
9746
468afe6c
PA
97472016-06-21 Pedro Alves <palves@redhat.com>
9748
9749 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9750 (test_awatch_creation_and_listing)
9751 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9752 Remove 'type' parameter.
9753 (test_watchpoint_all): New parameter mi_mode. Remove
9754 with_test_prefix.
9755 (top level): Use foreach_with_prefix, and add main/separate UI MI
9756 testing axis.
9757
51f77c37
PA
97582016-06-21 Pedro Alves <palves@redhat.com>
9759
9760 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9761 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9762 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9763 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9764 (gdb_main_spawn_id, mi_spawn_id): Declare and
9765 comment.
9766 (mi_create_inferior_pty): New procedure,
9767 factored out from default_mi_gdb_start.
9768 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9769 procedures.
9770 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9771 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9772 Use mi_create_inferior_pty.
9773 (mi_gdb_start): Use eval to pass down args list.
9774
8980e177
PA
97752016-06-21 Pedro Alves <palves@redhat.com>
9776
9777 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9778 * gdb.opt/inline-cmds.exp: Add MI tests.
9779
f38d3ad1
PA
97802016-06-21 Pedro Alves <palves@redhat.com>
9781
9782 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9783
45db7c09
PA
97842016-06-21 Pedro Alves <palves@redhat.com>
9785
9786 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9787 (top level): Use it instead of mi_execute_to.
9788
5a069ab3
PA
97892016-06-21 Pedro Alves <palves@redhat.com>
9790
9791 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9792 (cont_handler_str): New.
9793 (signal_stop_handler): Set stop_handler_str instead of printing to
9794 stdout.
9795 (continue_handler): Set cont_handler_str instead of printing to
9796 stdout.
9797 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9798 mi_send_resuming_command. Print stop_handler_str and
9799 cont_handler_str instead of expecting the python events print
9800 directly.
9801
2838cc1d
SD
98022016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9803
9804 * gdb.base/jit-reader.exp: New file.
9805 * gdb.base/jithost.c: New file.
9806 * gdb.base/jithost.h: New file.
9807 * gdb.base/jitreader.c : New file.
9808 * gdb.base/jit-protocol.h: New file.
9809
21a77091
YQ
98102016-06-17 Yao Qi <yao.qi@linaro.org>
9811
9812 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9813 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9814 and detach-on-fork. Adjust tests.
9815 (top level): Invoke break_cond_on_syscall with combinations of
9816 syscall, follow-fork-mode and detach-on-fork.
9817
f50bf8e5
YQ
98182016-06-17 Yao Qi <yao.qi@linaro.org>
9819
9820 * gdb.base/step-over-exit.c: New.
9821 * gdb.base/step-over-exit.exp: New.
9822
a28d8e50
YTL
98232016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9824
9825 * gdb.base/float.exp: Add target check for nds32*-*-*.
9826 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9827
cad8e26d
AB
98282016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9829
9830 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9831 for unsupported target features.
9832 * gdb.base/call-rt-st.exp: Likewise.
9833 * gdb.base/call-sc.exp: Likewise.
9834 * gdb.base/call-signal-resume.exp: Likewise.
9835 * gdb.base/call-strs.exp: Likewise.
9836 * gdb.base/callexit.exp: Likewise.
9837 * gdb.base/callfuncs.exp: Likewise.
9838 * gdb.base/nodebug.exp: Likewise.
9839 * gdb.base/printcmds.exp: Likewise.
9840 * gdb.base/ptype.exp: Likewise.
9841 * gdb.base/structs.exp: Likewise.
9842 * gdb.base/unwindonsignal.exp: Likewise.
9843 * gdb.cp/gdb2495.exp: Likewise.
9844 * gdb.cp/templates.exp: Likewise.
9845 * gdb.cp/virtfunc.exp: Likewise.
9846 * gdb.threads/hand-call-in-threads.exp: Likewise.
9847 * gdb.threads/interrupted-hand-call.exp: Likewise.
9848 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9849
347dc102
TT
98502016-06-10 Tom Tromey <tom@tromey.com>
9851
9852 PR rust/20110:
9853 * gdb.rust/expr.exp: Add test for integer constant larger than
9854 i32.
9855
5e13cf25
BH
98562016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9857
9858 * gdb.fortran/nested-funcs.exp: New.
9859 * gdb.fortran/nested-funcs.f90: New.
9860
bb556f1f
TK
98612016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9862
9863 * gdb.base/examine-backward.c: New file.
9864 * gdb.base/examine-backward.exp: New file.
9865
38b022b4
SM
98662016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9867
9868 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9869 matching.
9870
1b40ec05
TT
98712016-06-02 Tom Tromey <tom@tromey.com>
9872
9873 PR python/18984:
9874 * gdb.python/py-shared.exp: Add solib_name test.
9875
193bd378
SM
98762016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9877
9878 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9879
3326303b
MG
98802016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9881
9882 PR c++/19893
9883 * gdb.dwarf2/implref.exp: Rename to...
9884 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9885 * gdb.dwarf2/implref-array.c: New file.
9886 * gdb.dwarf2/implref-array.exp: Likewise.
9887 * gdb.dwarf2/implref-global.c: Likewise.
9888 * gdb.dwarf2/implref-global.exp: Likewise.
9889 * gdb.dwarf2/implref-struct.c: Likewise.
9890 * gdb.dwarf2/implref-struct.exp: Likewise.
9891
825c8ef2
AT
98922016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9893
9894 * gdb.trace/trace-condition.exp: Add 64bit tests.
9895
2320162a
AT
98962016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9897
9898 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9899 bits types.
9900 (main): Adapt to 8 to 64 bits types.
9901 * gdb.trace/trace-condition.exp: Add new tests.
9902
a7818233
AT
99032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9904
9905 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9906
0d336466
AT
99072016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9908
9909 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9910 Move condition tests...
9911 * gdb.trace/trace-condition.exp: Here.
9912
7faeb45a
AT
99132016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9914
9915 * gdb.trace/trace-condition.exp: Add counter-case tests.
9916
e385593e
JK
99172016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9918
9919 PR c++/15231
9920 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9921 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9922
744608cc
PA
99232016-05-27 Pedro Alves <palves@redhat.com>
9924
9925 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9926 New procedure.
9927 (top level): Call it, and bail out of DejaGnu is known to be bad.
9928
ac775bf4
AB
99292016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9930
9931 * gdb.base/whatis.c: Extend the test case.
9932 * gdb.base/whatis.exp: Add additional tests.
9933
2bbad2ea
BH
99342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9935
9936* gdb.fortran/type.f90: Add pointer variable.
9937* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9938
8b70175d
BH
99392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9940
9941 * gdb.fortran/vla-type.exp: Fix testcase name.
9942
86d8a848
BH
99432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9944
9945 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9946
e188eb36
BH
99472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9948
9949 * gdb.fortran/type.f90: Add nested structures.
9950 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9951 * gdb.fortran/derived-type.exp: Adapt expected output.
9952 * gdb.fortran/vla-type.exp: Adapt expected output.
9953
9b2db1fd
BH
99542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9955
9956 * gdb.fortran/whatis_type.exp: Adapt expected output.
9957
72b17055
BH
99582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9959
9960 * gdb.fortran/print_type.exp: Fix expected output.
9961 * gdb.fortran/whatis_type.exp: Fix expected output.
9962
3cd81d8d
BH
99632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9964
9965 * gdb.fortran/whatis_type.exp: Use multi_line.
9966
ddae9462
TT
99672016-05-24 Tom Tromey <tom@tromey.com>
9968
9969 PR python/17386:
9970 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9971 use value as an index.
9972
1957f6b8
TT
99732016-05-23 Tom Tromey <tom@tromey.com>
9974
9975 PR python/17981:
9976 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9977 no-breakpoint case.
9978
026a9174
PA
99792016-05-24 Pedro Alves <palves@redhat.com>
9980
9981 PR gdb/19828
9982 * gdb.threads/clone-attach-detach.c: New file.
9983 * gdb.threads/clone-attach-detach.exp: New file.
9984
e70a7231
FR
99852016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9986
9987 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9988
0f6ed0e0
TT
99892016-05-23 Tom Tromey <tom@tromey.com>
9990
9991 PR python/19438, PR python/18393:
9992 * gdb.python/py-progspace.exp: Add "dir" test.
9993 * gdb.python/py-objfile.exp: Add "dir" test.
9994
ffd19d61
YQ
99952016-05-23 Yao Qi <yao.qi@linaro.org>
9996
9997 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9998 * gdb.arch/thumb2-it.exp: Likewise.
9999
9e8f9b05
SM
100002016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10001
10002 * gdb.mi/mi-threads-interrupt.c: New file.
10003 * gdb.mi/mi-threads-interrupt.exp: New file.
10004
61c6156d
SM
100052016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10006
10007 PR gdb/18077
10008 * gdb.mi/mi-async-run.exp: New file.
10009 * gdb.mi/mi-async-run.c: New file.
10010
67218854
TT
100112016-05-17 Tom Tromey <tom@tromey.com>
10012 Manish Goregaokar <manishsmail@gmail.com>
10013
10014 * lib/rust-support.exp: New file.
10015 * lib/gdb.exp (skip_rust_tests): New proc.
10016 (build_executable_from_specs): Handle rust.
10017 * lib/future.exp (gdb_find_rustc): New proc.
10018 (gdb_default_target_compile): Handle rust.
10019 * gdb.rust/expr.exp: New file.
10020 * gdb.rust/generics.exp: New file.
10021 * gdb.rust/generics.rs: New file.
10022 * gdb.rust/methods.exp: New file.
10023 * gdb.rust/methods.rs: New file.
10024 * gdb.rust/modules.exp: New file.
10025 * gdb.rust/modules.rs: New file.
10026 * gdb.rust/simple.exp: New file.
10027 * gdb.rust/simple.rs: New file.
10028
c44af4eb
TT
100292016-05-17 Tom Tromey <tom@tromey.com>
10030
10031 * gdb.base/default.exp (set language): Add rust.
10032
dcd1f979
TT
100332016-05-17 Tom Tromey <tom@tromey.com>
10034
10035 * gdb.gdb/unittest.exp: New file.
10036
155b7f57
YQ
100372016-05-16 Yao Qi <yao.qi@linaro.org>
10038
10039 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10040 shell_prompt. Update shell_prompt_re.
10041
8ddd5a6c
DE
100422016-05-12 Doug Evans <dje@google.com>
10043
10044 PR symtab/19999
10045 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10046 $options when building executable.
10047 * gdb.dwarf2/fission-loclists-pie.S: New file.
10048 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10049
02e370d9
SM
100502016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10051
10052 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10053 of [is_remote target],
10054
8929ad8b
SM
100552016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10056
10057 * lib/gdb.exp (use_gdb_stub): New procedure.
10058
6c447423
DE
100592016-05-03 Yunlian Jiang <yunlian@google.com>
10060 Doug Evans <dje@google.com>
10061
10062 PR symtab/19914
10063 * gdb.dwarf2/dwp-sepdebug.c: New file.
10064 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10065
444e826c
SM
100662016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10067
10068 * gdb.base/detach.exp: Remove is_remote check.
10069
740feeaa
SM
100702016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10071
10072 * gdb.base/annota-input-while-running.exp: Don't check for
10073 [is_remote target]. Enable annotations after running to main.
10074 Remove unused "set test..." line.
10075
9080ac9d
SM
100762016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10077
10078 * gdb.trace/trace-enable-disable.exp: New file.
10079 * gdb.trace/trace-enable-disable.c: New file.
10080
952ebca5
SM
100812016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10082
10083 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10084 use it in info sharedlibrary test.
10085 * gdb.trace/ftrace-lock.exp: Likewise.
10086 * gdb.trace/ftrace.exp: Likewise.
10087 * gdb.trace/range-stepping.exp: Likewise.
10088 * gdb.trace/trace-break.exp: Likewise.
10089 * gdb.trace/trace-condition.exp: Likewise.
10090 * gdb.trace/trace-mt.exp: Likewise.
10091
d9019901
SM
100922016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10093
10094 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10095 (gdb_load_shlib): ... this.
10096 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10097 gdb_load_shlib.
10098 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10099 * gdb.base/ctxobj.exp: Likewise.
10100 * gdb.base/dprintf-pending.exp: Likewise.
10101 * gdb.base/dso2dso.exp: Likewise.
10102 * gdb.base/fixsection.exp: Likewise.
10103 * gdb.base/gcore-relro.exp: Likewise.
10104 * gdb.base/gdb1555.exp: Likewise.
10105 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10106 * gdb.base/gnu-ifunc.exp: Likewise.
10107 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10108 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10109 * gdb.base/pending.exp: Likewise.
10110 * gdb.base/print-file-var.exp: Likewise.
10111 * gdb.base/print-symbol-loading.exp: Likewise.
10112 * gdb.base/shlib-call.exp: Likewise.
10113 * gdb.base/shreloc.exp: Likewise.
10114 * gdb.base/so-impl-ld.exp: Likewise.
10115 * gdb.base/solib-disc.exp: Likewise.
10116 * gdb.base/solib-nodir.exp: Likewise.
10117 * gdb.base/solib-overlap.exp: Likewise.
10118 * gdb.base/solib-symbol.exp: Likewise.
10119 * gdb.base/solib-weak.exp (do_test): Likewise.
10120 * gdb.base/sym-file.exp: Likewise.
10121 * gdb.base/symtab-search-order.exp: Likewise.
10122 * gdb.base/type-opaque.exp: Likewise.
10123 * gdb.base/unload.exp: Likewise.
10124 * gdb.base/watchpoint-solib.exp: Likewise.
10125 * gdb.compile/compile.exp: Likewise.
10126 * gdb.cp/gdb2384.exp: Likewise.
10127 * gdb.cp/infcall-dlopen.exp: Likewise.
10128 * gdb.cp/re-set-overloaded.exp: Likewise.
10129 * gdb.fortran/library-module.exp: Likewise.
10130 * gdb.opt/solib-intra-step.exp: Likewise.
10131 * gdb.python/py-finish-breakpoint.exp: Likewise.
10132 * gdb.python/py-shared.exp: Likewise.
10133 * gdb.reverse/solib-precsave.exp: Likewise.
10134 * gdb.reverse/solib-reverse.exp: Likewise.
10135 * gdb.server/solib-list.exp: Likewise.
10136 * gdb.threads/dlopen-libpthread.exp: Likewise.
10137 * gdb.threads/tls-shared.exp: Likewise.
10138 * gdb.threads/tls-so_extern.exp: Likewise.
10139 * gdb.trace/change-loc.exp: Likewise.
10140 * gdb.trace/ftrace-lock.exp: Likewise.
10141 * gdb.trace/ftrace.exp: Likewise.
10142 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10143 * gdb.trace/pending.exp: Likewise.
10144 * gdb.trace/range-stepping.exp: Likewise.
10145 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10146 (strace_info_marker): Likewise.
10147 (strace_probe_marker): Likewise.
10148 (strace_trace_on_same_addr): Likewise.
10149 (strace_trace_on_diff_addr): Likewise.
10150 * gdb.trace/trace-break.exp: Likewise.
10151 * gdb.trace/trace-condition.exp: Likewise.
10152 * gdb.trace/trace-mt.exp: Likewise.
10153
fca4cfd9
SM
101542016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10155
10156 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10157 result of gdb_remote_download.
10158 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10159 * gdb.base/dso2dso.exp: Likewise.
10160 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10161 * gdb.base/print-file-var.exp: Likewise.
10162 * gdb.base/shlib-call.exp: Likewise.
10163 * gdb.base/shreloc.exp: Likewise.
10164 * gdb.base/solib-overlap.exp: Likewise.
10165 * gdb.base/solib-weak.exp (do_test): Likewise.
10166 * gdb.base/unload.exp: Likewise.
10167
11cf4ffb
YQ
101682016-04-27 Yao Qi <yao.qi@linaro.org>
10169
10170 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10171 exists.
10172
3e2e34f8
KB
101732016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10174
10175 * vla-type.exp: Print structure from toplevel.
10176
8f07e298
BH
101772016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10178
10179 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10180 of dynamic types.
10181 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10182 of dynamic types.
10183
9920b434
BH
101842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10185
10186 * gdb.fortran/vla-type.f90: New file.
10187 * gdb.fortran/vla-type.exp: New file.
10188
f3abeff5
YQ
101892016-04-25 Yao Qi <yao.qi@linaro.org>
10190
10191 * gdb.base/branch-to-self.c: New file.
10192 * gdb.base/branch-to-self.exp: New file.
10193
0a5d52f0
YQ
101942016-04-22 Yao Qi <yao.qi@linaro.org>
10195
10196 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10197 more after $hex.
10198
495346f6
YQ
101992016-04-22 Yao Qi <yao.qi@linaro.org>
10200
10201 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10202 * gdb.base/annota3.exp: Likewise.
10203
4a7e075c
YQ
102042016-04-22 Yao Qi <yao.qi@linaro.org>
10205
10206 * gdb.reverse/step-precsave.exp: Do one step and test program
10207 stops in "callee" and do multiple steps until program goes out
10208 of "callee".
10209 * gdb.reverse/step-reverse.exp: Likewise.
10210
5b061e98
YQ
102112016-04-22 Yao Qi <yao.qi@linaro.org>
10212
10213 * gdb.trace/signal.exp: Also pass if
10214 $tracepoint_hits($i) > $iterations.
10215
5c5dc57f
YQ
102162016-04-22 Yao Qi <yao.qi@linaro.org>
10217
10218 * gdb.trace/signal.c: New file.
10219 * gdb.trace/signal.exp: New file.
10220
a55411b9
DE
102212016-04-19 Doug Evans <xdje42@gmail.com>
10222
10223 * gdb.base/bad-file.exp: New file.
10224
a22df60a
MG
102252016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10226
10227 * gdb.dwarf2/implref.exp: New file.
10228
0c13f7e5
BH
102292016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10230
10231 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10232 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10233 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10234 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10235 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10236 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10237 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10238 * lib/fortran.exp (fortran_int4): New procedure.
10239 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10240 (fortran_logical4): Likewise.
10241
9b9b09e9
BH
102422016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10243
10244 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10245
a14d1f4d
BH
102462016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10247
10248 * lib/compiler.c: Add Intel specific preprocessor macros.
10249 * lib/compiler.cc: Likewise.
25d49b86 10250
7d49b1d0
LM
102512016-04-13 Luis Machado <lgustavo@codesourcery.com>
10252
10253 * gdb.server/connect-with-no-symbol-file.c: New file.
10254 * gdb.server/connect-with-no-symbol-file.exp: New file.
10255
8392fa22
SM
102562016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10257
10258 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10259
8c4c4aeb
SM
102602016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10261
10262 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10263 standard output directory.
10264
45e3745e
AT
102652016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10266
10267 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10268
e26b7e41
MM
102692016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10270
10271 * gdb.btrace/instruction_history.c (loop): Add declaration.
10272
8ce09462
AT
102732016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10274
10275 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10276
2e88a1ea
SM
102772016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10278
10279 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10280 parentheses to print.
10281 (continue_handler): Likewise.
10282
f48e22e3
SM
102832016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10284
10285 * gdb.server/solib-list.exp: Remove is_remote check.
10286 Pass shlib= to gdb_compile. Don't link shared library with
10287 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10288 Run binary filename through "readlink -f" on the target.
10289
096be756
PA
102902016-04-08 Pedro Alves <palves@redhat.com>
10291
10292 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10293 interpreter filename as argument to gdbserver_spawn.
10294 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10295 Return empty if $last_loaded_file does not exist.
10296
06500533
JK
102972016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10298
10299 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10300 * gdb.base/jit-main.c: Use exit after usage.
10301
2d35e871
JK
103022016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10303
10304 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10305 GDBHISTSIZE prior to the tests.
10306 * gdb.base/gdbinit-history.exp: Likewise.
10307
103082016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10309
10310 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10311 instead of build_executable. Use gdb_load_shlibs.
10312
c8064e7e
YQ
103132016-04-07 Yao Qi <yao.qi@linaro.org>
10314
10315 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10316 Execute "si" command.
10317
bde47561
YQ
103182016-04-07 Yao Qi <yao.qi@linaro.org>
10319
10320 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10321 number instead of the comments on some line.
10322
b16f8a3b
DB
103232016-04-06 Don Breazeal <donb@codesourcery.com>
10324
10325 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10326 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10327
c2f901df
SM
103282016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10329
10330 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10331 standard_output_file. Remove unused binfile variable.
10332
ac17fda0
CU
103332016-04-05 Catalin Udma <catalin.udma@freescale.com>
10334
10335 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10336 * gdb.python/py-mi-objfile.exp: Match "list main" output
10337 in console format.
10338
03a8c4df
SM
103392016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10340
10341 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10342 absolute.
10343
6e774b13
SM
103442016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10345
10346 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10347 absolute.
10348 * gdb.trace/ftrace.exp: Likewise.
10349 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10350 targets as well.
10351 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10352 (gdb_load_shlibs): Copy libraries to test directory when testing
10353 natively. Only set solib-search-path if testing remotely.
10354 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10355
7817ea46
SM
103562016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10357
10358 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10359 gdb_download. Use it even if the target is not remote.
10360 * gdb.base/jit.exp (compile_jit_test): Likewise.
10361 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10362 output directory if the destination board is local, otherwise use
10363 the standard remote_download from DejaGnu.
10364 (gdb_download): Remove.
10365 (gdb_load_shlibs): Use gdb_remote_download instead of
10366 gdb_download.
10367 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10368 Use gdb_remote_download instead of gdb_download. Use it even if
10369 the target is not remote.
10370 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10371 instead of gdb_download.
10372
7beb7f68
SM
103732016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10374
10375 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10376 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10377 run.
10378
cc63428a
AV
103792016-04-01 Artemiy Volkov <artemiyv@acm.org>
10380
10381 PR gdb/19820
10382 * gdb.base/printcmds.exp: Add artificial arrays tests.
10383
64cdf930
PA
103842016-03-31 Pedro Alves <palves@redhat.com>
10385
10386 PR gdb/19858
10387 * gdb.base/jit-main.c: Include unistd.h.
10388 (ATTACH): Define to 0 if not already defined.
10389 (wait_for_gdb, mypid): New globals.
10390 (WAIT_FOR_GDB): New macro.
10391 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10392 some breakpoint locations.
10393 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10394 New procedures.
10395 (one_jit_test): Add REATTACH parameter, and handle it. Use
10396 continue_to_test_location.
10397 (top level): Test attach, and adjusts calls to one_jit_test.
10398
40dea8cb
PA
103992016-03-31 Pedro Alves <palves@redhat.com>
10400
10401 PR gdb/19858
10402 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10403 BINSUFFIX parameter, and handle it.
10404 (top level): Adjust calls compile_jit_test.
10405
e7ea3ec7
CU
104062016-03-31 Catalin Udma <catalin.udma@freescale.com>
10407
10408 PR python/19743
10409 * gdb.python/py-mi-events-gdb.py: New file.
10410 * gdb.python/py-mi-events.c: New file.
10411 * gdb.python/py-mi-events.exp: New file.
10412
e6359af3
YQ
104132016-03-30 Yao Qi <yao.qi@linaro.org>
10414
10415 * gdb.reverse/until-precsave.exp: Match function name only.
10416 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10417 Move malloc to a condition block.
10418 * gdb.reverse/until-reverse.exp: Match function name only.
10419
a4105d04
MK
104202016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10421
10422 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10423 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10424 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10425 variable for GPR 0 instead of assuming it is register 0.
10426 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10427 * lib/trace-support.exp: Add s390 registers.
10428
bfa6adb9
YQ
104292016-03-29 Yao Qi <yao.qi@linaro.org>
10430
10431 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10432
1e6697ea
YQ
104332016-03-24 Yao Qi <yao.qi@linaro.org>
10434
10435 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10436 test message.
10437
64bcd522
AA
104382016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10439
10440 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10441 maintaining separate logic for constructing the output path.
10442
7868401b
DB
104432016-03-16 Don Breazeal <donb@codesourcery.com>
10444
10445 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10446 Retry fork and waitpid on interrupted system call errors.
10447 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10448 Use with_timeout_factor to increase timeout by factor of 10.
10449
1cafadb4
DB
104502016-03-15 Don Breazeal <donb@codesourcery.com>
10451
10452 * gdb.cp/scope-err.cc: New test program.
10453 * gdb.cp/scope-err.exp: New test script.
10454 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10455 lines and "set breakpoint here" comment.
10456 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10457 Fixed some whitespace and format issues.
10458 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10459 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10460
81516450
DE
104612016-03-15 Doug Evans <dje@google.com>
10462
10463 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10464 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10465 All callers updated. Add tests for enums, mixed flags register.
10466
aa52b601
DE
104672016-03-15 Doug Evans <dje@google.com>
10468
10469 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10470 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10471
fa4ff313
SM
104722016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10473
10474 * gdb.base/default.exp: Add $_as_string to the list of expected
10475 convenience functions.
10476
f2403c39
AB
104772016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10478
10479 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10480
f2f3ccb9
SM
104812016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10482
10483 * gdb.python/py-as-string.exp: New file.
10484 * gdb.python/py-as-string.c: New file.
10485
00dbd492
PA
104862016-03-09 Pedro Alves <palves@redhat.com>
10487
10488 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10489 signal" -> "Thread NN received signal" output change.
10490 * gdb.threads/ia64-sigill.exp: Likewise.
10491 * gdb.threads/linux-dp.exp: Likewise.
10492 * gdb.threads/manythreads.exp: Likewise.
10493 * gdb.threads/pending-step.exp: Likewise.
10494 * gdb.threads/print-threads.exp: Likewise.
10495 * gdb.threads/sigstep-threads.exp: Likewise.
10496 * gdb.threads/staticthreads.exp: Likewise.
10497 * gdb.threads/tls.exp: Likewise.
10498
1e6697ea
YQ
104992016-03-09 Pedro Alves <palves@redhat.com>
10500
10501 * gdb.base/command-line-input.exp: New file.
10502
b04fd3be
MK
105032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10504
10505 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10506 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10507 * gdb.trace/pending.exp: Accept leading dot before function name.
10508 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10509 * lib/trace-support.exp: Set registers for ppc.
10510
98fa59e9
MK
105112016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10512
10513 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10514 use it for disassembly; accept .main in addition to main in backtrace.
10515
f77198c8
MK
105162016-03-09 Wei-cheng Wang <cole945@gmail.com>
10517 Marcin Kościelnicki <koriakin@0x04.net>
10518
10519 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10520 (gdb_recursion_test_ptr): New global variable.
10521 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10522 gdb_recursion_test.
10523 (gdb_c_test): Ditto.
10524
ba84e0da
MK
105252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10526
10527 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10528 ordering.
10529
4366d36e
MK
105302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10531
10532 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10533 (bar): Add bar_start_lbl label.
10534 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10535 of foo/bar for emitting DWARF and tracing.
10536
5eb264df
SDJ
105372016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10538
10539 * analyze-racy-logs.py: Set executable bit.
10540
fb6a751f
SDJ
105412016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10542
10543 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10544 (CHECK_TARGET_TMP): Likewise.
10545 (check-single-racy): New rule.
10546 (check-parallel-racy): Likewise.
10547 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10548 (do-check-parallel-racy): New rule.
10549 (check-racy/%.exp): Likewise.
10550 * README (Racy testcases): New section.
10551 * analyze-racy-logs.py: New file.
10552
bdf7e230
DE
105532016-03-03 Doug Evans <dje@google.com>
10554
10555 * gdb.base/skip.exp: Use with_test_prefix.
10556
4719d415
YQ
105572016-03-03 Yao Qi <yao.qi@linaro.org>
10558
10559 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10560 Invoke step_over_syscall "clone" and break_cond_on_syscall
10561 "clone".
10562 * gdb.base/step-over-clone.c: New file.
10563
ea507862
YQ
105642016-03-03 Yao Qi <yao.qi@linaro.org>
10565
10566 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10567 code format.
10568
8fc8cbda
YQ
105692016-03-03 Yao Qi <yao.qi@linaro.org>
10570
10571 * gdb.base/disp-step-fork.c: Rename to ...
10572 * gdb.base/step-over-fork.c: ... it. New file.
10573 * gdb.base/disp-step-vfork.c: Rename to ...
10574 * gdb.base/step-over-vfork.c: ... it. New file.
10575 * gdb.base/disp-step-syscall.exp: Rename to ...
10576 * gdb.base/step-over-syscall.exp: ... it. New file.
10577 (disp_step_cross_syscall): Rename to ...
10578 (step_over_syscall): ... it.
10579
92fa70b0
YQ
105802016-03-03 Yao Qi <yao.qi@linaro.org>
10581
10582 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10583 If target supports condition evaluation on target, invoke
10584 break_cond_on_syscall for fork and vfork.
10585
e197ad3c
YQ
105862016-03-03 Yao Qi <yao.qi@linaro.org>
10587
10588 * gdb.base/disp-step-syscall.exp: Don't invoke
10589 support_displaced_stepping.
10590 (disp_step_cross_syscall): Test with displaced stepping off and
10591 on if supported.
10592
0b47da9f
YQ
105932016-03-03 Yao Qi <yao.qi@linaro.org>
10594
10595 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10596 proc.
10597 (setup): New proc.
10598 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10599 and setup.
10600
065ab6dc
BH
106012016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10602
10603 * gdb.fortran/vla-history.exp: Remove breakpoint.
10604
07e448ad 106052016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10606
25d49b86
PA
10607 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10608 exceeds timeout.
07e448ad 10609
9ac2d526 106102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10611
25d49b86
PA
10612 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10613 breakpoint.
9ac2d526 10614
17807369
BH
106152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10616
10617 * gdb.mi/vla.f90: Nullify pointer after declaration.
10618
86e501af
PA
106192016-03-01 Pedro Alves <palves@redhat.com>
10620
10621 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10622
1e903e32
PA
106232016-03-01 Pedro Alves <palves@redhat.com>
10624
10625 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10626 before anything else.
10627 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10628 _GNU_SOURCE here.
10629 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10630 before anything else.
10631 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10632
6ccb54e2
PA
106332016-03-01 Pedro Alves <palves@redhat.com>
10634
10635 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10636
30ca9da1
YQ
106372016-03-01 Yao Qi <yao.qi@linaro.org>
10638
10639 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10640 prepare_for_testing.
10641
dc856b38
YQ
106422016-03-01 Yao Qi <yao.qi@linaro.org>
10643
10644 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10645
4a932159
AA
106462016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10647
10648 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10649 manually constructing the output path.
10650
f2489477
AA
106512016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10652
10653 * gdb.arch/s390-stackless.S: New.
10654 * gdb.arch/s390-stackless.exp: New.
10655
38899f16
IB
106562016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10657
10658 * gdb.dlang/circular.c: New file.
10659 * gdb.dlang/circular.exp: New file.
10660
9fde51ed
YQ
106612016-02-26 Yao Qi <yao.qi@linaro.org>
10662
10663 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10664 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10665 (testcases): Update.
10666
ce90fefe
YQ
106672016-02-26 Yao Qi <yao.qi@linaro.org>
10668
10669 * gdb.reverse/aarch64.c: Rename to ...
10670 * gdb.reverse/insn-reverse.c: ... it.
10671 * gdb.reverse/aarch64.exp: Rename to ...
10672 * gdb.reverse/insn-reverse.exp: ... it.
10673
3263bceb
YQ
106742016-02-26 Yao Qi <yao.qi@linaro.org>
10675
10676 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10677 (testcase_ftype): New.
10678 (testcases): New array.
10679 (n_testcases): New.
10680 (main): Call each element in testcases.
10681 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10682 (read_testcase): New.
10683 Do the tests in a loop.
10684
6cb59ff1
YQ
106852016-02-25 Yao Qi <yao.qi@linaro.org>
10686
10687 * gdb.base/branches.c: Remove.
10688
ae91f625
MK
106892016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10690
10691 PR gdb/13808
10692 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10693
678b48b7
MK
106942016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10695
10696 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10697
7337a6f2
MK
106982016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10699
10700 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10701 change x86_64 call_insn to 'callq'.
10702
861ca91f
AT
107032016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10704
10705 * gdb.trace/tfile-avx.c: Move to...
10706 * gdb.trace/tracefile-pseudo-reg.c: Here.
10707 * gdb.trace/tfile-avx.exp: Move to...
10708 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10709
bf74e428
GB
107102016-02-24 Gary Benson <gbenson@redhat.com>
10711
10712 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10713 message on attach.
10714
cce0e923
DE
107152016-02-23 Doug Evans <dje@google.com>
10716
10717 * gdb.base/skip.c (test_skip): New function.
10718 (end_test_skip_file_and_function): New function.
10719 (test_skip_file_and_function): New function.
10720 * gdb.base/skip1.c (test_skip): New function.
10721 (skip1_test_skip_file_and_function): New function.
10722 * gdb.base/skip.exp: Add tests for new skip options.
10723 * gdb.base/skip-solib.exp: Update expected output.
10724 * gdb.perf/skip-command.cc: New file.
10725 * gdb.perf/skip-command.exp: New file.
10726 * gdb.perf/skip-command.py: New file.
10727
4000e47e
MK
107282016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10729
10730 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10731 info registers pattern.
10732
24f75ead
IB
107332016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10734
10735 * lib/future.exp: Add D support.
10736 (gdb_find_gdc): New proc.
10737 (gdb_default_target_compile): Add D support.
10738
fbb7bcbe
WW
107392016-02-18 Wei-cheng Wang <cole945@gmail.com>
10740
10741 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10742 user+system time.
10743 (trace_speed_test): Determine the iteration count for a time
10744 between 15..30 seconds.
10745
012b3a21
WT
107462016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10747
10748 * gdb.arch/i386-mpx-sigsegv.c: New file.
10749 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10750 * gdb.arch/i386-mpx-simple_segv.c: New file.
10751 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10752
2d5189bd
YQ
107532016-02-18 Yao Qi <yao.qi@linaro.org>
10754
10755 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10756 Don't call setup_kfail.
10757
40fb20d0
YQ
107582016-02-18 Yao Qi <yao.qi@linaro.org>
10759
10760 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10761 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10762
21b1f8d2
DE
107632016-02-16 Doug Evans <dje@google.com>
10764
10765 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10766 * gdb.base/skip1.c: Ditto.
10767 * gdb.base/skip.exp: Whitespace cleanup.
10768
4041ed77
DB
107692016-02-16 Don Breazeal <donb@codesourcery.com>
10770
10771 PR remote/19496
10772 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10773 Remove kfail for PR remote/19496.
10774
c4ef31bf
SM
107752016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10776
10777 * lib/gdb.exp (standard_temp_file): Return a path specific to
10778 the runtest invocation.
10779
266b65b3
SM
107802016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10781
10782 * gdb.trace/save-trace.exp: Change relative path to be in the
10783 standard output directory.
10784
a7a0a6a9
JK
107852016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10786
10787 * gdb.arch/i386-prologue.c: Add missing prototypes.
10788
c99dbb42
JK
107892016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10790
10791 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10792 * gdb.arch/i386-prologue.exp: Likewise.
10793 * gdb.arch/i386-size.exp: Likewise.
10794
aa480355
SM
107952016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10796
10797 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10798 define object file path.
10799 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10800 file path.
10801 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10802 standard_output_file to define binfile.
10803
ba881f50
JK
108042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10805
10806 Fix compatibility with recent gfortran-5.3.1.
10807 * gdb.fortran/vla-history.exp (print vla1 allocated)
10808 (print vla2 allocated, print $2, print $3): Remove
10809 (print $4): Rename to ...
10810 (print $2): ... here.
10811 (print $9): Rename to ...
10812 (print $5): ... here.
10813 (print $10): Rename to ...
10814 (print $6): ... here.
10815 * gdb.fortran/vla.f90: Add pvla initialization.
10816
e9fb005c
JK
108172016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10818
10819 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10820 New test.
10821 * gdb.fortran/vla-value-sub.exp: Likewise.
10822
e44e00ff
MK
108232016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10824
10825 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10826
97e94151
SM
108272016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10828
10829 * i386-biarch-core.exp: Define corefile using
10830 standard_output_file.
10831
01113bc1
YQ
108322016-02-12 Yao Qi <yao.qi@linaro.org>
10833
10834 * gdb.arch/arm-single-step-kernel-helper.c: New.
10835 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10836
33b4777c
MM
108372016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10838
10839 * gdb.btrace/tailcall-only.exp: New.
10840 * gdb.btrace/tailcall-only.c: New.
10841 * gdb.btrace/x86_64-tailcall-only.S: New.
10842 * gdb.btrace/i686-tailcall-only.S: New.
10843
acc23c11
PA
108442016-02-11 Pedro Alves <palves@redhat.com>
10845
10846 * README (Parallel testing): Add missing double quotes.
10847
e352bf0a
PA
108482016-02-11 Pedro Alves <palves@redhat.com>
10849
10850 * README (Parallel testing): New section.
10851 (GDB_PARALLEL): Rewrite.
10852 (FORCE_PARALLEL): Document.
10853
9f5fed78
MK
108542016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10855
10856 * gdb.trace/tfile-avx.c: New test.
10857 * gdb.trace/tfile-avx.exp: New test.
10858
9ef9e6a6
KS
108592016-02-09 Keith Seitz <keiths@redhat.com>
10860
10861 PR breakpoints/19546
10862 * gdb.base/infcall-exec.c: New file.
10863 * gdb.base/infcall-exec2.c: New file.
10864 * gdb.base/infcall-exec.exp: New file.
10865
a96e36da
KS
108662016-02-09 Keith Seitz <keiths@redhat.com>
10867
10868 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10869 (toplevel): Call test_bkpt_address.
10870
9f61929f
KS
108712016-02-09 Keith Seitz <keiths@redhat.com>
10872
10873 PR python/19506
10874 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10875 (toplevel): Call test_bkpt_address.
10876
1e94266c
SM
108772016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10878
10879 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10880 to AC_OUTPUT.
10881 * configure: Regenerate.
10882
2a7f3dff
PA
108832016-02-09 Pedro Alves <palves@redhat.com>
10884
10885 PR breakpoints/19548
10886 * gdb.base/execl-update-breakpoints.c (some_function): New
10887 function.
10888 (main): Call it.
10889 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10890 Tighten expected GDB output.
10891
2151ccc5
SM
108922016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10893
10894 * Makefile.in (ALL_SUBDIRS): Remove.
10895 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10896 (distclean maintainer-clean realclean): Likewise.
10897 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10898 * configure: Regenerate.
10899 * gdb.ada/Makefile.in: Delete.
10900 * gdb.arch/Makefile.in: Likewise.
10901 * gdb.asm/Makefile.in: Likewise.
10902 * gdb.base/Makefile.in: Likewise.
10903 * gdb.btrace/Makefile.in: Likewise.
10904 * gdb.cell/Makefile.in: Likewise.
10905 * gdb.compile/Makefile.in: Likewise.
10906 * gdb.cp/Makefile.in: Likewise.
10907 * gdb.disasm/Makefile.in: Likewise.
10908 * gdb.dlang/Makefile.in: Likewise.
10909 * gdb.dwarf2/Makefile.in: Likewise.
10910 * gdb.fortran/Makefile.in: Likewise.
10911 * gdb.gdb/Makefile.in: Likewise.
10912 * gdb.go/Makefile.in: Likewise.
10913 * gdb.guile/Makefile.in: Likewise.
10914 * gdb.java/Makefile.in: Likewise.
10915 * gdb.linespec/Makefile.in: Likewise.
10916 * gdb.mi/Makefile.in: Likewise.
10917 * gdb.modula2/Makefile.in: Likewise.
10918 * gdb.multi/Makefile.in: Likewise.
10919 * gdb.objc/Makefile.in: Likewise.
10920 * gdb.opencl/Makefile.in: Likewise.
10921 * gdb.opt/Makefile.in: Likewise.
10922 * gdb.pascal/Makefile.in: Likewise.
10923 * gdb.perf/Makefile.in: Likewise.
10924 * gdb.python/Makefile.in: Likewise.
10925 * gdb.reverse/Makefile.in: Likewise.
10926 * gdb.server/Makefile.in: Likewise.
10927 * gdb.stabs/Makefile.in: Likewise.
10928 * gdb.threads/Makefile.in: Likewise.
10929 * gdb.trace/Makefile.in: Likewise.
10930 * gdb.xml/Makefile.in: Likewise.
10931 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10932 GDB_PARALLEL.
10933 (standard_output_file): Remove check for GDB_PARALLEL, always
10934 return path in outputs/$subdir/$testname.
10935
437277d4
SM
109362016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10937
10938 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10939 (site.exp): Assign abs_srcdir to tcl's srcdir.
10940
31d913c7
YQ
109412016-02-04 Yao Qi <yao.qi@linaro.org>
10942
10943 * gdb.base/foll-exec-mode.c: Include limits.h.
10944 (main): Add parameters argc and argv. Get directory from
10945 argv[0].
10946 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10947 compilation.
10948 * gdb.base/foll-exec.c: Include limits.h.
10949 (main): Add parameters argc and argv.
10950 Get directory from argv[0].
10951 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10952 Adjust tests on the number of lines as source code changed.
10953 * gdb.base/foll-vfork-exit.c: Include limits.h.
10954 (main): Add one line of statement before vfork.
10955 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10956 (main): Add parameters argc and argv. Get directory from
10957 argv[0].
10958 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10959 (setup_gdb): Set tbreak to skip some source lines.
10960 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10961 (main): Add parameters argc and argv. Get directory from
10962 argv[0].
10963 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10964 compilation.
10965 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10966 (main): Add parameters argc and argv. Get directory from
10967 argv[0].
10968 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10969 compilation.
10970
9482b9fb
DE
109712016-02-01 Doug Evans <dje@google.com>
10972
10973 * gdb.base/skip.exp: Clean up multiple references to same test name.
10974
6b2e4f10
PA
109752016-02-01 Pedro Alves <palves@redhat.com>
10976
ccb6afd6 10977 PR remote/19496
6b2e4f10
PA
10978 * gdb.threads/forking-threads-plus-breakpoint.exp
10979 (displaced_stepping_supported): New global.
10980 (probe_displaced_stepping_support): New procedure.
10981 (do_test): Add 'displaced' parameter, and use it.
10982 (top level): Check for displaced stepping support. Add displaced
10983 stepping on/off testing axis.
10984
37a8db1a
AB
109852016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10986
10987 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10988 pointer. Don't perform further tests on the unassociated pointer
10989 if the first test fails.
10990
5fdf6324
AB
109912016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10992
10993 * gdb.base/max-value-size.c: New file.
10994 * gdb.base/max-value-size.exp: New file.
10995 * gdb.base/huge.exp: Disable max-value-size for this test.
10996
935c6144
IB
109972016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10998
10999 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11000
7fe8399d
YQ
110012016-01-28 Yao Qi <yao.qi@linaro.org>
11002
11003 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11004
a2077e25
PA
110052016-01-25 Pedro Alves <palves@redhat.com>
11006
11007 PR threads/19461
11008 * gdb.base/fork-running-state.c: New file.
11009 * gdb.base/fork-running-state.exp: New file.
11010
1d2736d4
PA
110112016-01-25 Pedro Alves <palves@redhat.com>
11012
11013 PR gdb/19494
11014 * gdb.base/catch-fork-kill.c: New file.
11015 * gdb.base/catch-fork-kill.exp: New file.
11016
f1da4b11
PA
110172016-01-25 Pedro Alves <palves@redhat.com>
11018
11019 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11020 Delete, moved to lib/gdb.exp.
11021 * gdb.threads/forking-threads-plus-breakpoint.exp
11022 (foreach_with_prefix): Likewise.
11023 * gdb.threads/process-dies-while-handling-bp.exp
11024 (foreach_with_prefix): Likewise.
11025 * lib/gdb.exp (foreach_with_prefix): New procedure.
11026
45f38546
MK
110272016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11028
11029 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11030 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11031
dc29a1ce
MK
110322016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11033
11034 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11035 endian targets.
11036
092127d7
JK
110372016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11038 Pedro Alves <palves@redhat.com>
11039
11040 Fix testsuite compatibility with Guile.
11041 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11042 number.
11043
31d765d3
JK
110442016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11045
11046 Fix testsuite compatibility with Guile.
11047 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11048 (thread 1): New test for backtrace through signal handler.
11049
1ac78c04
YQ
110502016-01-22 Yao Qi <yao.qi@linaro.org>
11051
11052 PR testsuite/19491
11053 * gdb.base/multi-forks.c: Include
11054 ../lib/unbuffer_output.c
11055 (main): Call gdb_unbuffer_output.
11056
4f5946a8
DE
110572016-01-21 Doug Evans <dje@google.com>
11058
11059 * lib/ada.exp (gdb_compile_ada): Fix typo.
11060
305e13e6
JB
110612016-01-21 Joel Brobecker <brobecker@adacore.com>
11062
11063 * gdb.base/break-fun-addr.exp: New file.
11064 * gdb.base/break-fun-addr1.c: New file.
11065 * gdb.base/break-fun-addr2.c: New file.
11066
5f5dfff6
SM
110672016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11068
11069 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11070 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11071 enum flag values.
11072
fd356fa2
AA
110732016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11074
11075 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11076 when GDB can not set the vector return value. Add more comments
11077 for clarification.
11078
9df22175
AT
110792016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11080
11081 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11082 command.
11083
41d1845e
SM
110842016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11085
11086 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11087
01ac6840
SM
110882016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11089
11090 * Makefile.in (check-single): Pass --status to runtest.
11091 (check/%.exp): Likewise.
11092
110932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11094
11095 * Makefile.in (check-parallel): Propagate return code from make
11096 do-check-parallel.
11097
bd0a71fa
MK
110982016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11099
11100 * gdb.trace/ftrace.exp: Fix expected message on continue.
11101 * gdb.trace/pending.exp: Fix expected message on continue.
11102 * gdb.trace/trace-break.exp: Fix expected message on continue.
11103
8bcbad33
SM
111042016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11105
11106 * lib/gdb.exp (gdb_test): Remove unused global references.
11107
f303dbd6
PA
111082016-01-18 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.base/async-shell.exp: Adjust expected output.
11111 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11112 * gdb.base/siginfo-thread.exp: Adjust expected output.
11113 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11114 * gdb.java/jnpe.exp: Adjust expected output.
11115 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11116 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11117 * gdb.threads/leader-exit.exp: Adjust expected output.
11118 * gdb.threads/manythreads.exp: Adjust expected output.
11119 * gdb.threads/pthreads.exp: Adjust expected output.
11120 * gdb.threads/schedlock.exp: Adjust expected output.
11121 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11122 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11123 expected output.
11124 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11125 output.
11126 * gdb.threads/sigthread.exp: Adjust expected output.
11127 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11128
b2789696
YQ
111292016-01-18 Yao Qi <yao.qi@linaro.org>
11130
11131 * gdb.guile/scm-section-script.c: Replace @progbits with
11132 %progbits.
11133 * gdb.python/py-section-script.c: Likewise.
11134
71ef29a8
PA
111352016-01-15 Pedro Alves <palves@redhat.com>
11136
11137 * gdb.multi/tids.exp: Test star wildcard ranges.
11138
3f5b7598
PA
111392016-01-15 Pedro Alves <palves@redhat.com>
11140
11141 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11142 command from "thread apply" invocation.
11143 (thr_apply_info_thr_invalid): Default the expected output to the
11144 input tid list.
11145 (top level): Add tests that use convenience variables. Add tests
11146 for "thread apply" with a valid TID list, but missing the command.
11147
663f6d42
PA
111482016-01-13 Pedro Alves <palves@redhat.com>
11149
11150 * gdb.base/default.exp: Expect $_gthread as well.
11151 * gdb.multi/tids.exp: Test $_gthread.
11152 * gdb.threads/thread-specific.exp: Test $_gthread.
11153
c84f6bbf
PA
111542016-01-13 Pedro Alves <palves@redhat.com>
11155
11156 * gdb.multi/tids.exp: Test "info threads -gid".
11157
22a02324
PA
111582016-01-13 Pedro Alves <palves@redhat.com>
11159
11160 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11161 Breakpoint.thread.
11162 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11163
5d5658a1
PA
111642016-01-07 Pedro Alves <palves@redhat.com>
11165
11166 * gdb.base/break.exp: Adjust to output changes.
11167 * gdb.base/hbreak2.exp: Likewise.
11168 * gdb.base/sepdebug.exp: Likewise.
11169 * gdb.base/watch_thread_num.exp: Likewise.
11170 * gdb.linespec/keywords.exp: Likewise.
11171 * gdb.multi/info-threads.exp: Likewise.
11172 * gdb.threads/thread-find.exp: Likewise.
11173 * gdb.multi/tids.c: New file.
11174 * gdb.multi/tids.exp: New file.
11175
84654457
PA
111762016-01-13 Pedro Alves <palves@redhat.com>
11177
11178 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11179
e3940304
PA
111802016-01-13 Pedro Alves <palves@redhat.com>
11181
11182 * gdb.base/default.exp: Expect $_inferior as well.
11183 * gdb.multi/base.exp: Test $_inferior.
11184
a911d87a
PA
111852016-01-13 Pedro Alves <palves@redhat.com>
11186
11187 PR breakpoints/19388
11188 * gdb.base/catch-signal-siginfo-cond.c: New file.
11189 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11190
82075af2
JS
111912016-01-12 Josh Stone <jistone@redhat.com>
11192 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11193
11194 * gdb.base/catch-syscall.c (do_execve): New variable.
11195 (main): Conditionally trigger an execve.
11196 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11197 (test_catch_syscall_execve): New, check entry/return across execve.
11198 (do_syscall_tests): Call test_catch_syscall_execve.
11199
e46eeedd
PA
112002016-01-12 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.base/random-signal.exp (do_test): New procedure, with body
11203 of testcase moved in.
11204
01d8c27e
JK
112052016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11206 Pedro Alves <palves@redhat.com>
11207
11208 * gdb.base/funcargs.exp (finish from indirectly called function):
11209 Reintroduce the case for 'First'.
11210
9a706302
JK
112112016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11212 Pedro Alves <palves@redhat.com>
11213
11214 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11215 (tcatch_vfork_then_child_follow_exec)
11216 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11217 identification.
11218
c0ecb95f
JK
112192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11220
11221 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11222 and repeats to unlimited.
11223 * gdb.python/py-value.exp: Likewise.
11224 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11225 and repeats to unlimited.
11226
6cfc1fcb
JK
112272016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11228
11229 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11230 and reordering the functions.
11231 * gdb.multi/hangout.c: Likewise.
11232 * gdb.multi/hello.c: Likewise.
11233
582a1b00
SM
112342016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11235
11236 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11237 absolute.
11238 (SingleStatisticTestResult.report): Use dict.keys instead of
11239 dict.iterkeys.
11240
79bc59cb
PA
112412016-01-06 Pedro Alves <palves@redhat.com>
11242
11243 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11244
43368e1d
MM
112452016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11246
11247 * gdb.btrace/dlopen.exp: New.
11248 * gdb.btrace/dlopen.c: New.
11249 * gdb.btrace/dlopen-dso.c: New.
11250
79fad5b8
SL
112512015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11252
11253 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11254 PATTERN argument is optional.
11255
ab8314b3
JB
112562015-12-24 Joel Brobecker <brobecker@adacore.com>
11257
11258 * lib/ada.exp (target_compile_ada_from_dir): New function.
11259 (gdb_compile_ada): Reimplement avoiding the use of project files.
11260 * gdb.ada/gnat_ada.gpr: Delete.
11261 * gdb.ada/cond_lang.exp: Adjust test to make path before
11262 filename optional.
11263 * gdb.ada/small_reg_param.exp: Likewise.
11264
fe33faff
SM
112652015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11266
11267 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11268
6d265cb4
TP
112692015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11270
11271 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11272 case.
11273
10125099
SM
112742015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11275
11276 * gdb.base/break.exp: Remove dead code.
11277 * gdb.base/sepdebug.exp: Likewise.
11278
3ca22649
SM
112792015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11280
11281 * gdb.asm/asm-source.exp: Remove HP-UX references.
11282 * gdb.base/annota1.exp: Likewise.
11283 * gdb.base/annota3.exp: Likewise.
11284 * gdb.base/attach.exp: Likewise.
11285 * gdb.base/bigcore.exp: Likewise.
11286 * gdb.base/break.exp: Likewise.
11287 * gdb.base/call-ar-st.exp: Likewise.
11288 * gdb.base/callfuncs.exp: Likewise.
11289 * gdb.base/catch-fork-static.exp: Likewise.
11290 * gdb.base/display.exp: Likewise.
11291 * gdb.base/foll-exec-mode.exp: Likewise.
11292 * gdb.base/foll-exec.exp: Likewise.
11293 * gdb.base/foll-fork.exp: Likewise.
11294 * gdb.base/foll-vfork.exp: Likewise.
11295 * gdb.base/funcargs.exp: Likewise.
11296 * gdb.base/hbreak2.exp: Likewise.
11297 * gdb.base/inferior-died.exp: Likewise.
11298 * gdb.base/interrupt.exp: Likewise.
11299 * gdb.base/multi-forks.exp: Likewise.
11300 * gdb.base/nodebug.exp: Likewise.
11301 * gdb.base/sepdebug.exp: Likewise.
11302 * gdb.base/solib1.c: Likewise.
11303 * gdb.base/step-test.exp: Likewise.
11304 * gdb.mi/non-stop.c: Likewise.
11305 * gdb.mi/pthreads.c: Likewise.
11306 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11307 * gdb.threads/pthreads.c: Likewise.
11308 * gdb.threads/staticthreads.exp: Likewise.
11309 * lib/future.exp: Likewise.
11310 * lib/gdb.exp: Likewise.
11311 * gdb.base/so-indr-cl.c: Remove.
11312 * gdb.base/so-indr-cl.exp: Likewise.
11313 * gdb.base/solib.c: Likewise.
11314 * gdb.base/solib.exp: Likewise.
11315 * gdb.base/solib2.c: Likewise.
11316
b6304613
SM
113172015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11318
11319 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11320 * gdb.base/call-ar-st.exp: Likewise.
11321 * gdb.base/callfuncs.exp: Likewise.
11322 * gdb.base/condbreak.exp: Likewise.
11323 * gdb.base/constvars.exp: Likewise.
11324 * gdb.base/hbreak2.exp: Likewise.
11325 * gdb.base/langs.exp: Likewise.
11326 * gdb.base/list.exp: Likewise.
11327 * gdb.base/long_long.exp: Likewise.
11328 * gdb.base/ptype.exp: Likewise.
11329 * gdb.base/scope.exp: Likewise.
11330 * gdb.base/signals.exp: Likewise.
11331 * gdb.base/so-impl-ld.exp: Likewise.
11332 * gdb.base/varargs.exp: Likewise.
11333 * gdb.base/volatile.exp: Likewise.
11334 * gdb.base/whatis.exp: Likewise.
11335 * gdb.cp/cplusfuncs.exp: Likewise.
11336 * gdb.cp/inherit.exp: Likewise.
11337 * gdb.cp/local.exp: Likewise.
11338 * gdb.cp/member-ptr.exp: Likewise.
11339 * gdb.cp/method.exp: Likewise.
11340 * gdb.cp/overload.exp: Likewise.
11341 * gdb.cp/templates.exp: Likewise.
11342 * gdb.stabs/weird.exp: Likewise.
11343 * lib/compiler.c: Likewise.
11344 * lib/compiler.cc: Likewise.
11345 * lib/cp-support.exp: Likewise.
11346 * lib/gdb.exp: Likewise.
11347
bf401b07
SM
113482015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11349
11350 * configure.ac: Remove HP-UX case.
11351 * configure: Regenerate.
11352
aff9c0f8
SM
113532015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11354
11355 * lib/gdb.exp (gdb_compile): Add function doc.
11356
a6904d5a
PA
113572015-12-17 Pedro Alves <palves@redhat.com>
11358
11359 PR threads/19354
11360 * gdb.multi/info-threads.exp: New file.
11361
a22279dd
YQ
113622015-12-15 Yao Qi <yao.qi@linaro.org>
11363
11364 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11365 is aarch64*-*-*.
11366
0588c796
SL
113672015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11368
11369 * gdb.base/history-duplicates.exp: Skip if no readline support.
11370
5d978e17
SL
113712015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11372
11373 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11374
7e763b86
SL
113752015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11376
11377 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11378
87a3a92c
SL
113792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11380
11381 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11382 ctrl-C if nointerrupts target property is set.
11383 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11384 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11385 * gdb.base/paginate-bg-execution.exp: Likewise.
11386 * gdb.base/paginate-execution-startup.exp: Likewise.
11387 * gdb.base/random-signal.exp: Likewise.
11388 * gdb.base/range-stepping.exp: Likewise.
11389 * gdb.cp/annota2.exp: Likewise.
11390 * gdb.cp/annota3.exp: Likewise.
11391 * gdb.gdb/selftest.exp: Likewise.
11392 * gdb.threads/continue-pending-status.exp: Likewise.
11393 * gdb.threads/leader-exit.exp: Likewise.
11394 * gdb.threads/manythreads.exp: Likewise.
11395 * gdb.threads/pthreads.exp: Likewise.
11396 * gdb.threads/schedlock.exp: Likewise.
11397 * gdb.threads/sigthread.exp: Likewise.
11398
a8f077dc
DB
113992015-12-11 Don Breazeal <donb@codesourcery.com>
11400
11401 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11402 remote.
11403 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11404 * gdb.base/foll-exec.exp (main): Enable for target remote.
11405 * gdb.base/foll-fork.exp (main): Likewise.
11406 * gdb.base/foll-vfork.exp (main): Likewise.
11407 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11408 (proc continue_to_exit_bp_loc): Use clean_restart.
11409 * gdb.base/pie-execl.exp (main): Disable for target remote.
11410 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11411 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11412 * gdb.threads/execl.exp (main): Likewise.
11413 * gdb.threads/fork-child-threads.exp (main): Likewise.
11414 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11415 remote.
11416 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11417 remote.
11418 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11419 pid.tid style ptids, instead of just tid.
11420 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11421 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11422 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11423 ptids, instead of just tid.
11424
3b2464a8
AB
114252015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11426
11427 * gdb.base/list.exp (test_list_forward): Add end of file error
11428 test.
11429 (test_repeat_list_command): Add end of file error test.
11430 (test_list_backwards): Add beginning of file error test.
11431
a0def019
AB
114322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11433
11434 * gdb.base/list.exp (test_list_invalid_args): New function,
11435 defined, and called.
11436
5c000dff
AB
114372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11438
11439 * gdb.base/list.exp (test_list): Make test names unique.
11440
f1637ebe
YQ
114412015-12-11 Yao Qi <yao.qi@linaro.org>
11442
11443 * gdb.base/coremaker2.c: Remove.
11444
36d6fc0a
PA
114452015-12-10 Pedro Alves <palves@redhat.com>
11446
11447 * gdb.multi/base.exp: Remove stale "spaces" references.
11448
762f7747
PA
114492015-12-10 Pedro Alves <palves@redhat.com>
11450
11451 * gdb.multi/base.exp: Don't use nowarnings.
11452 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11453 * gdb.multi/hangout.c: Include stdio.h.
11454 * gdb.multi/hello.c: Include stdlib.h.
11455 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11456 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11457 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11458
28d2bfb9
AB
114592015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11460
11461 * gdb.dwarf2/dw2-ranges-base.c: New file.
11462 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11463 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11464 support additional line table, and debug ranges generation.
11465 (Dwarf::ranges): New function, generate .debug_ranges.
11466 (Dwarf::lines): Support generating simple line table programs.
11467 (Dwarf::assemble): Initialise new namespace variables.
11468
5fc2beac
KB
114692015-12-09 Kevin Buettner <kevinb@redhat.com>
11470
11471 * gdb.base/async.exp (proc test_background): Add case for
11472 asynchronous execution not supported.
11473
1c35a88f
LM
114742015-12-09 Luis Machado <lgustavo@codesourcery.com>
11475
11476 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11477 format and change test names to make them unique.
11478
b593e3d9
RK
114792015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11480 Pedro Alves <pedro@redhat.com>
11481
11482 PR gdb/18702
11483 Add checking of floatformats setup on x86_64 hosts.
11484 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11485 (smallval, bigval): New labels/constants.
11486 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11487 float" after loading bigval and smallval.
11488
d72413e6
PMR
114892015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11490
11491 * gdb.ada/fun_overload_menu.exp: New testcase.
11492 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11493
ece66d65
JS
114942015-12-04 Josh Stone <jistone@redhat.com>
11495
11496 * gdb.base/catch-fork-static.exp: New.
11497
41d0efca
YQ
114982015-12-03 Yao Qi <yao.qi@linaro.org>
11499
11500 * gdb.base/sizeof.c: Don't include stdio.h and
11501 ../lib/unbuffer_output.c.
11502 (main): New variable 'size' and 'value'. Remove printf and
11503 gdb_unbuffer_output. Assign return value to size and value.
11504 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11505 at the beginning.
11506 (check_sizeof): Check the result by printing variable 'size'.
11507 (check_valueof): Check the result by printing variable 'value'.
11508
99fd02d9
YQ
115092015-12-01 Yao Qi <yao.qi@linaro.org>
11510
11511 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11512 for aarch64*-*-linux* target.
11513
f2faf941
PA
115142015-11-30 Pedro Alves <palves@redhat.com>
11515
11516 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11517
04bf20c5
PA
115182015-11-30 Pedro Alves <palves@redhat.com>
11519
11520 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11521 Handle non-stop mode vCont replies.
11522
09df4675
PA
115232015-11-30 Pedro Alves <palves@redhat.com>
11524
11525 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11526 prepare_for_testing. Start gdb with "set non-stop on" appended to
11527 GDBFLAGS. Lax expected stop output.
11528
58b584af
YQ
115292015-11-27 Yao Qi <yao.qi@linaro.org>
11530
11531 * gdb.arch/arm-neon.exp: New.
11532 * gdb.arch/arm-neon.c: New.
11533
dfcb77a8
YQ
115342015-11-27 Yao Qi <yao.qi@linaro.org>
11535
11536 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11537
88e8ec1b
YQ
115382015-11-27 Yao Qi <yao.qi@linaro.org>
11539
11540 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11541 frames-invalid annotation.
11542
bfde72c2
YQ
115432015-11-27 Yao Qi <yao.qi@linaro.org>
11544
11545 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11546
f6512a69
SM
115472015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11548
11549 * gdb.threads/names.exp: New file.
11550 * gdb.threads/names.c: New file.
11551 * README: Mention gdb,no_thread_names.
11552
46a3515b
MM
115532015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11554
11555 PR 19297
11556 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11557 support" error.
11558
62147a22
PA
115592015-11-24 Pedro Alves <palves@redhat.com>
11560
11561 PR 17539
11562 * gdb.base/display.exp: Expect displays to be sorted in ascending
11563 order. Use multi_line.
11564 * gdb.base/solib-display.exp: Likewise.
11565
2f341b6e
PA
115662015-11-24 Pedro Alves <palves@redhat.com>
11567
11568 PR 17539
25d49b86
PA
11569 * gdb.base/display.exp: Expect displays to be sorted in ascending
11570 order. Use multi_line.
11571 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11572
7e0aa6aa
PA
115732015-11-24 Pedro Alves <palves@redhat.com>
11574
11575 PR 17539
11576 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11577 threads in ascending order.
11578 * gdb.base/foll-fork.exp: Likewise.
11579 * gdb.base/foll-vfork.exp: Likewise.
11580 * gdb.base/multi-forks.exp: Likewise.
11581 * gdb.mi/mi-nonstop.exp: Likewise.
11582 * gdb.mi/mi-nsintrall.exp: Likewise.
11583 * gdb.multi/base.exp: Likewise.
11584 * gdb.multi/multi-arch.exp: Likewise.
11585 * gdb.python/py-inferior.exp: Likewise.
11586 * gdb.threads/break-while-running.exp: Likewise.
11587 * gdb.threads/execl.exp: Likewise.
11588 * gdb.threads/gcore-thread.exp: Likewise.
11589 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11590 * gdb.threads/kill.exp: Likewise.
11591 * gdb.threads/linux-dp.exp: Likewise.
11592 * gdb.threads/multiple-step-overs.exp: Likewise.
11593 * gdb.threads/next-bp-other-thread.exp: Likewise.
11594 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11595 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11596 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11597 * gdb.threads/thread-find.exp: Likewise.
11598 * gdb.threads/tls.exp: Likewise.
11599 * lib/mi-support.exp (mi_reverse_list): Delete.
11600 (mi_check_thread_states): No longer reverse list.
11601
2cc57ad8
PA
116022015-11-24 Pedro Alves <palves@redhat.com>
11603
11604 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11605 use lowercase.
11606
c93e8391
SM
116072015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11608
11609 * gdb.trace/actions.c: Include trace-common.h.
11610 (main): Add a location for a fast tracepoint.
11611 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11612 the normal tracepoints.
11613 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11614
045ccf91
SM
116152015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11616
11617 * save-trace.exp: Factor out code to these...
11618 (gdb_save_tracepoints): New.
11619 (gdb_load_tracepoints): New.
11620 (do_save_load_test): New.
11621
5506f9f6
KB
116222015-11-23 Kevin Buettner <kevinb@redhat.com>
11623
11624 * gdb.base/asmlabel.exp: New test.
11625 * gdb.base/asmlabel.c: New test case.
11626
16c3b12f
JB
116272015-11-23 Joel Brobecker <brobecker@adacore.com>
11628
11629 * gdb.base/wrong_frame_bt_full-main.c: New file.
11630 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11631 * gdb.base/wrong_frame_bt_full.exp: New file.
11632
155bfbd3
JB
116332015-11-23 Joel Brobecker <brobecker@adacore.com>
11634
11635 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11636
bb097445
JM
116372015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11638
206853a0 11639 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11640 pstate register when comparing registers values in
11641 sparc64-*-linux-gnu targets to avoid spurious differences.
11642
9c88ed8f
JM
116432015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11644
206853a0 11645 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11646
96161e25
SL
116472015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11648
11649 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11650 as type argument to gdb_compile.
11651 * gdb.base/nested-subp2.exp: Likewise.
11652 * gdb.base/nested-subp3.exp: Likewise.
11653
340c2830
DV
116542015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11655
11656 * lib/dwarf.exp (_note): Fix left shift of negative value.
11657 * gdb.trace/trace-condition.exp: Likewise.
11658
c1862d0f
YQ
116592015-11-13 Yao Qi <yao.qi@linaro.org>
11660
11661 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11662 comments about d10v.
11663 (test_scalar_returns): Likewise.
11664 * gdb.base/d10v.ld: Remove.
11665 * gdb.base/overlays.exp: Remove the target triplet checking for
11666 d10v-*-*.
11667 * gdb.base/structs.exp (test_struct_returns): Remove the
11668 comments about d10v.
11669 (test_struct_calls): Likewise.
11670
77ae9c19
YQ
116712015-11-13 Yao Qi <yao.qi@linaro.org>
11672
11673 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11674 * gdb.base/gnu_vector.c: Don't include stdio.h.
11675 (main): Don't print res and call add_some_intvecs.
11676
430e004e
MK
116772015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11678
11679 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11680 macro.
11681 (func5): Removed.
11682 (func4): Use FAST_TRACEPOINT_LABEL.
11683 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11684 macro.
11685 (func): Removed.
11686 (thread_function): Use FAST_TRACEPOINT_LABEL.
11687 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11688 (func): Remove.
11689 (marker): Use FAST_TRACEPOINT_LABEL.
11690 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11691 (pendfunc1): Remove.
11692 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11693 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11694 (foo): Remove.
11695 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11696 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11697 macro.
11698 (func): Remove.
11699 (marker): Use FAST_TRACEPOINT_LABEL.
11700 * gdb.trace/trace-common.h: New header.
11701 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11702 macro.
11703 (func): Remove.
11704 (marker): Use FAST_TRACEPOINT_LABEL.
11705 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11706 (func): Remove.
11707 (thread_function): Use FAST_TRACEPOINT_LABEL.
11708
6e7675a7
MK
117092015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11710
11711 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11712 in front.
11713 * gdb.trace/change-loc.exp: Use global pcreg definition.
11714 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11715 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11716 in front.
11717 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11718 * gdb.trace/pending.exp: Likewise.
11719 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11720 * gdb.trace/trace-break.exp: Likewise.
11721 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11722 in front.
11723 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11724 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11725 in front.
11726 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11727
dddc0e16
JB
117282015-11-09 Joel Brobecker <brobecker@adacore.com>
11729
11730 * gdb.ada/fin_fun_out: New testcase.
11731
c6f0b406
KB
117322015-11-07 Kevin Buettner <kevinb@redhat.com>
11733
11734 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11735 value associated with DW_AT_byte_size.
11736 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11737 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11738 DW_AT_upper_bound.
11739
f01dcfd9
KB
117402015-11-07 Kevin Buettner <kevinb@redhat.com>
11741
11742 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11743 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11744 version.
11745 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11746 gdb.dwarf2/dw2-canonicalize-type.exp,
11747 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11748 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11749 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11750 provided by gdb_target_symbol_prefix_flags_asm.
11751 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11752 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11753 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11754 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11755 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11756 macros where needed). Use this macro for symbols which require
11757 the prefix provided by SYMBOL_PREFIX.
11758
2223449a
KB
117592015-11-05 Kevin Buettner <kevinb@redhat.com>
11760
11761 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11762 New procs.
11763 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11764 representing expressions, of more than one list element.
11765 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11766 to prepend linker symbol prefix to f.
11767 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11768 table_1 and table_2.
11769 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11770 Likewise, for f and g.
11771 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11772 for ptr.
11773 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11774 for main.
11775 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11776 table_1_ptr and table_2_ptr.
11777
6f2f1a3a
JK
117782015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11779 Joel Brobecker <brobecker@adacore.com>
11780
11781 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11782
566c56c9
MK
117832015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11784
11785 * gdb.reverse/s390-mvcle.c: New test.
11786 * gdb.reverse/s390-mvcle.exp: New file.
11787 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11788
d5f0636b
MK
117892015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11790
11791 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11792
7ad8b86c
MK
117932015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11794
11795 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11796 reaching marker2.
11797 * gdb.reverse/getresuid-reverse.exp: Likewise.
11798 * gdb.reverse/pipe-reverse.exp: Likewise.
11799 * gdb.reverse/readv-reverse.exp: Likewise.
11800 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11801 * gdb.reverse/time-reverse.exp: Likewise.
11802 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11803
4081c0f1
YQ
118042015-10-30 Yao Qi <yao.qi@linaro.org>
11805
11806 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11807 (empty_cycle): Remove.
11808 (main): Don't call empty_cycle. Don't use watch_count_done.
11809 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11810 empty_cycle. Rewrite the code counting HW watchpoints.
11811
452b4ba5
MK
118122015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11813
11814 * gdb.reverse/fstatat-reverse.c: New test.
11815 * gdb.reverse/fstatat-reverse.exp: New file.
11816 * gdb.reverse/getresuid-reverse.c: New test.
11817 * gdb.reverse/getresuid-reverse.exp: New file.
11818 * gdb.reverse/pipe-reverse.c: New test.
11819 * gdb.reverse/pipe-reverse.exp: New file.
11820 * gdb.reverse/readv-reverse.c: New test.
11821 * gdb.reverse/readv-reverse.exp: New file.
11822 * gdb.reverse/recvmsg-reverse.c: New test.
11823 * gdb.reverse/recvmsg-reverse.exp: New file.
11824 * gdb.reverse/time-reverse.c: New test.
11825 * gdb.reverse/time-reverse.exp: New file.
11826 * gdb.reverse/waitpid-reverse.c: New test.
11827 * gdb.reverse/waitpid-reverse.exp: New file.
11828
5e2e7507
JK
118292015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11830
11831 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11832
0fde2c53
DE
118332015-10-26 Doug Evans <dje@google.com>
11834
11835 PR symtab/17391
11836 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11837 * gdb.dwarf2/bad-regnum.c: New file.
11838 * gdb.dwarf2/bad-regnum.exp: New file.
11839
1a70ae97
DE
118402015-10-26 Doug Evans <dje@google.com>
11841
11842 PR python/18938
11843 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11844 file.
11845
27dc26ab
JK
118462015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11847
11848 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11849 for a change by "Mention language in compile error message".
11850
bed91f4d
SM
118512015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11852
11853 PR python/18073
11854 * gdb.python/py-type.c (C::a_method): New.
11855 (C::a_const_method): New.
11856 (C::a_static_method): New.
11857 (a_function): New.
11858 * gdb.python/py-type.exp (test_fields): Test getting fields
11859 from function and method.
11860
3f2f83dd
KB
118612015-10-21 Keven Boell <keven.boell@intel.com>
11862
11863 * gdb.fortran/vla-alloc-assoc.exp: New file.
11864 * gdb.fortran/vla-datatypes.exp: New file.
11865 * gdb.fortran/vla-datatypes.f90: New file.
11866 * gdb.fortran/vla-history.exp: New file.
11867 * gdb.fortran/vla-ptype-sub.exp: New file.
11868 * gdb.fortran/vla-ptype.exp: New file.
11869 * gdb.fortran/vla-sizeof.exp: New file.
11870 * gdb.fortran/vla-sub.f90: New file.
11871 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11872 * gdb.fortran/vla-value-sub-finish.exp: New file.
11873 * gdb.fortran/vla-value-sub.exp: New file.
11874 * gdb.fortran/vla-value.exp: New file.
11875 * gdb.fortran/vla-ptr-info.exp: New file.
11876 * gdb.mi/mi-vla-fortran.exp: New file.
11877 * gdb.mi/vla.f90: New file.
11878
27145d50
SL
118792015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11880
11881 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11882 of hardwired timeout value.
11883
5f3ff4f8
JK
118842015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11885 Pedro Alves <palves@redhat.com>
11886
11887 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11888 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11889
bfd09d20
JS
118902015-10-19 Josh Stone <jistone@redhat.com>
11891
11892 * gdb.base/catch-syscall.c: Include <sched.h>.
11893 (unknown_syscall): New variable.
11894 (main): Trigger a vfork and an unknown syscall.
11895 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11896 (unknown_syscall_number): Likewise.
11897 (check_call_to_syscall): Accept an optional syscall pattern.
11898 (check_return_from_syscall): Likewise.
11899 (check_continue): Likewise.
11900 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11901 (test_catch_syscall_skipping_return): New test toggling off 'catch
11902 syscall' to step over the syscall return, then toggling back on.
11903 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11904 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11905 (do_syscall_tests): Call test_catch_syscall_without_args and
11906 test_catch_syscall_mid_vfork.
11907 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11908 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11909
b32b93c6
AS
119102015-10-19 Andrew Stubbs <ams@codesourcery.com>
11911
11912 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11913 print g_vE): Add new pass patterns.
11914 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11915 print various symbol names for vptr fields.
11916
9d622bda
AB
119172015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11918
11919 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11920 results.
11921
0fd8ac1c
YQ
119222015-10-12 Yao Qi <yao.qi@linaro.org>
11923
11924 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11925
34240514
YQ
119262015-10-12 Yao Qi <yao.qi@linaro.org>
11927
11928 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11929 is aarch64*-*-linux*.
11930
8240f442
YQ
119312015-10-12 Yao Qi <yao.qi@linaro.org>
11932
11933 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11934 (can_relocate_bcond_true): ... it.
11935 (can_relocate_bcond_false): New function.
11936 (foo): Likewise.
11937 (can_relocate_bl): Likewise.
11938 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11939 can_relocate_bl.
11940
2520f728
PMR
119412015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11942
11943 * gdb.base/nested-addr.c: New file.
11944 * gdb.base/nested-addr.exp: New testcase.
11945
abcef95a
MM
119462015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11947
11948 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11949 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11950 its output. Ignore the output of "record goto begin" and instead
11951 check that GDB is replaying.
11952
145e3ddb
PA
119532015-10-09 Pedro Alves <palves@redhat.com>
11954
11955 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11956 (top level): Use it in the run with no args test.
11957
d5d8c4e1
IB
119582015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11959
11960 * gdb.dlang/properties.exp: New file.
11961
06e635ef
SL
119622015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11963
11964 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11965 whether or not address 0x1000 is mapped on the target.
11966
e019fd1d
SM
119672015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11968
11969 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11970 build.
11971
77ba2a67
MM
119722015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11973
11974 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11975 instruction-history test.
11976
c60eb31f
DE
119772015-09-28 Doug Evans <dje@google.com>
11978
11979 * gdb.base/gcore.c (array_func): Add reference to static_array.
11980
9a3c8263
SM
119812015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11982
11983 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11984 source line.
11985
9720e656
SL
119862015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11987
11988 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11989 short or char as base type.
11990
938d3bf2
SL
119912015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11992
11993 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11994 to allow any size enum.
11995
e6c2c623
PMR
119962015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11997
11998 * gdb.ada/array_ptr_renaming.exp: New testcase.
11999 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12000 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12001
06da0f77
PL
120022015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12003
12004 * gdb.trace/ftrace-lock.c: New file.
12005 * gdb.trace/ftrace-lock.exp: New file.
12006
4f51c22a
PL
120072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12008
12009 * gdb.arch/insn-reloc.c: New file.
12010 * gdb.arch/ftrace-insn-reloc.exp: New file.
12011
7041adf4
PL
120122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12013
12014 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12015 instruction.
12016 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12017 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12018 * gdb.trace/range-stepping.c: Likewise.
12019 * gdb.trace/trace-break.c: Likewise.
12020 * gdb.trace/trace-mt.c (thread_function): Likewise.
12021 * gdb.trace/ftrace.c (marker): Likewise.
12022 * gdb.trace/trace-condition.c (marker): Likewise.
12023 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12024 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12025 is_aarch64_target.
12026
015d2e7e
DE
120272015-09-18 Doug Evans <xdje42@gmail.com>
12028
12029 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12030 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12031
26b188a2
SL
120322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12033
12034 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12035 the breakpoint.
12036
79dc332b
SL
120372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12038
12039 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12040 the pending breakpoint. Remove timeout override for "Run till
12041 MI pending breakpoint on pendfunc3 on thread 2" test.
12042
f57929f2
SL
120432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12044
12045 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12046 filename pattern.
12047
3f469b17
SL
120482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12049
12050 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12051 in breakpoint filename pattern.
12052
515b89b3
SL
120532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12054
7800dbe4
SL
12055 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12056
120572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12058
515b89b3
SL
12059 * gdb.linespec/explicit.exp: Check for readline support for
12060 tab-completion tests. Fix obvious typo.
12061
d2939ba2
MM
120622015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12063
12064 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12065 and replay.
12066
cbb55fa7
MM
120672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12068
12069 * gdb.btrace/non-stop.c: New.
12070 * gdb.btrace/non-stop.exp: New.
12071
43691ca1
PL
120722015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12073 Yao Qi <yao.qi@linaro.org>
12074
12075 * gdb.trace/trace-condition.c: New file.
12076 * gdb.trace/trace-condition.exp: New file.
12077
d78908cf
WW
120782015-09-16 Wei-cheng Wang <cole945@gmail.com>
12079
12080 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12081 for testing bytecode compilation.
12082
1ed415e2
PA
120832015-09-16 Pedro Alves <palves@redhat.com>
12084 Sandra Loosemore <sandra@codesourcery.com>
12085
12086 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12087 (SECONDS): Redefine.
12088 (main): Call pthread_kill and alarm early.
12089 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12090 support.
12091 (test): If the target can't hardware step and doesn't support
12092 displaced stepping, increase the timeout.
12093
d136eff5
PA
120942015-09-16 Pedro Alves <palves@redhat.com>
12095
12096 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12097 (enable_debug): New procedures.
12098 (test): Use them. Bail out if waiting for threads fails.
12099 (top level): Bail out if a test fails.
12100
991f019c
YQ
121012015-09-16 Yao Qi <yao.qi@linaro.org>
12102
12103 * gdb.asm/asm-source.exp: Set asm-arch for
12104 aarch64*-*-* target.
12105 * gdb.asm/aarch64.inc: New file.
12106
bfca584f
PMR
121072015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12108
12109 * gdb.ada/array_of_variable_length.exp: New testcase.
12110 * gdb.ada/array_of_variable_length/foo.adb: New file.
12111 * gdb.ada/array_of_variable_length/pck.adb: New file.
12112 * gdb.ada/array_of_variable_length/pck.ads: New file.
12113
b326e587
DE
121142015-09-15 Doug Evans <dje@google.com>
12115
12116 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12117 of function static local variable.
12118
5382cfab
PW
121192015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12120
12121 * gdb.threads/tls-so_extern.exp: New test file.
12122 * gdb.threads/tls-so_extern.c: New test file.
12123 * gdb.threads/tls-so_extern_main.c: New test file.
12124
141c5cc4
JK
121252015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12126
12127 * gdb.opt/solib-intra-step-lib.c: New file.
12128 * gdb.opt/solib-intra-step-main.c: New file.
12129 * gdb.opt/solib-intra-step.exp: New file.
12130
d15dcecd
PA
121312015-09-15 Pedro Alves <palves@redhat.com>
12132
12133 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12134 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12135
4c2f2a79
PA
121362015-09-14 Pedro Alves <palves@redhat.com>
12137
12138 * gdb.base/hook-stop-continue.c: Delete.
12139 * gdb.base/hook-stop-continue.exp: Delete.
12140 * gdb.base/hook-stop-frame.c: Delete.
12141 * gdb.base/hook-stop-frame.exp: Delete.
12142 * gdb.base/hook-stop.c: New file.
12143 * gdb.base/hook-stop.exp: New file.
12144
919e6dbe
PMR
121452015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12146
12147 * gdb.ada/access_to_packed_array.exp: New testcase.
12148 * gdb.ada/access_to_packed_array/foo.adb: New file.
12149 * gdb.ada/access_to_packed_array/pack.adb: New file.
12150 * gdb.ada/access_to_packed_array/pack.ads: New file.
12151
157280a4
MM
121522015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12153
12154 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12155 buffer size test.
12156
2fd33e94
DB
121572015-09-11 Don Breazeal <donb@codesourcery.com>
12158
12159 * gdb.base/foll-exec.c: Add copyright header. Fix
12160 formatting issues.
12161 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12162 (do_exec_tests): Use clean_restart in place of zap_session,
12163 and for test initialization. Fix formatting issues. Use
12164 fail in place of perror.
12165 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12166 an expect statement to match an expression with output from
12167 the program under debug.
12168 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12169 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12170 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12171 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12172 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12173
e70b6e8e
DE
121742015-09-09 Doug Evans <dje@google.com>
12175
12176 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12177
7a551a51
DE
121782015-09-09 Doug Evans <dje@google.com>
12179
12180 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12181
4c666f84
DE
121822015-09-09 Doug Evans <dje@google.com>
12183
12184 * gdb.base/savedregs.exp: Fix typo.
12185
243a9253
PA
121862015-09-09 Pedro Alves <palves@redhat.com>
12187
12188 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12189
c0fa8fbd
SL
121902015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12191
12192 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12193 command actually switches threads. Give up on remaining
12194 tests if target fails to stop at breakpoint.
12195
cd7c1778
PMR
121962015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12197
12198 * gdb.ada/funcall_char.exp: New testcase.
12199 * gdb.ada/funcall_char/foo.adb: New file.
12200
dc5c8746
PMR
122012015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12202
12203 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12204 expected outputs. Add two testcases for completing ambiguous
12205 functions.
12206 * gdb.ada/complete/aux_pck.adb: New file.
12207 * gdb.ada/complete/aux_pck.ads: New file.
12208 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12209 Ambiguous_Func functions.
12210 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12211 * gdb.ada/complete/pck.adb: Likewise.
12212
4e83a1e7
UW
122132015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12214
12215 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12216 failures to run the test program under GDB.
12217
8ce74153
LM
122182015-08-26 Luis Machado <lgustavo@codesourcery.com>
12219
12220 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12221 to C.
12222
e9756d52
PP
122232015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12224
12225 * gdb.base/run-after-attach.exp: New test file.
12226 * gdb.base/run-after-attach.c: New test file.
12227
8d37573b
DB
122282015-08-26 Don Breazeal <donb@codesourcery.com>
12229
12230 * gdb.base/foll-exec-2.c: New test program.
12231 * gdb.base/foll-exec-2.exp: New test.
12232
63e43d3a
PMR
122332015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12234
12235 * gdb.base/nested-subp1.exp: New file.
12236 * gdb.base/nested-subp1.c: New file.
12237 * gdb.base/nested-subp2.exp: New file.
12238 * gdb.base/nested-subp2.c: New file.
12239 * gdb.base/nested-subp3.exp: New file.
12240 * gdb.base/nested-subp3.c: New file.
12241
3d40fbb5
PA
122422015-08-24 Pedro Alves <palves@redhat.com>
12243
12244 * gdb.server/connect-without-multi-process.c: New file.
12245 * gdb.server/connect-without-multi-process.exp: New file.
12246
4422ac93
LM
122472015-08-24 Luis Machado <lgustavo@codesourcery.com>
12248
12249 * gdb.opt/inline-markers.c: Make z int.
12250
91dddb86
LM
122512015-08-24 Luis Machado <lgustavo@codesourcery.com>
12252
12253 * gdb.opt/inline-markers.c: Make z volatile.
12254
a48847ee
LM
122552015-08-24 Luis Machado <lgustavo@codesourcery.com>
12256
12257 * gdb.opt/inline-bt.c: New volatile global z.
12258 * gdb.opt/inline-cmds.c: Likewise.
12259 * gdb.opt/inline-locals.c: Likewise.
12260 * gdb.opt/inline-markers.c: New extern global z.
12261 (marker): Use z.
12262 (inline_fn): Likewise.
12263
0ebbc52b
PA
122642015-08-24 Pedro Alves <palves@redhat.com>
12265
12266 * config/m32r-stub.exp: Remove file.
12267 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12268 * gdb.base/call-rt-st.exp: Likewise.
12269 * gdb.base/call-strs.exp: Likewise.
12270 * gdb.base/default.exp: Remove references to h8300-*-hms and
12271 *-*-udi*.
12272 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12273
77c365df
AA
122742015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12275
12276 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12277 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12278 and "return" use KFAIL when GDB can not read/write the vector
12279 return value.
12280
4313b8c0
GB
122812015-08-21 Gary Benson <gbenson@redhat.com>
12282
12283 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12284
0e433b32
PA
122852015-08-20 Pedro Alves <palves@redhat.com>
12286
12287 * gdb.server/solib-list.exp: No longer expect an interior stop in
12288 non-stop mode.
12289
221e1a37
PA
122902015-08-20 Pedro Alves <palves@redhat.com>
12291
12292 * gdb.server/connect-stopped-target.c: New file.
12293 * gdb.server/connect-stopped-target.exp: New file.
12294
40e3ad0e
PA
122952015-08-20 Pedro Alves <palves@redhat.com>
12296
12297 * gdb.dwarf2/comp-unit-lang.exp: New file.
12298 * gdb.dwarf2/comp-unit-lang.c: New file.
12299
af39b327
PMR
123002015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12301
12302 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12303 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12304
7d45c7c3 123052015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12306
7d45c7c3
KB
12307 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12308 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12309
4d6cceb4
DE
123102015-08-18 Doug Evans <dje@google.com>
12311 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12312
12313 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12314 skip_python_tests. New arg prompt_regexp.
12315 (skip_python_tests): New function.
12316 * lib/mi-support.exp (mi_skip_python_tests): New function.
12317 * gdb.python/py-mi-objfile-gdb.py: New file.
12318 * gdb.python/py-mi-objfile.c: New file.
12319 * gdb.python/py-mi-objfile.exp: New file.
12320
ad89c2aa
KS
123212015-08-17 Keith Seitz <keiths@redhat.com>
12322
12323 * gdb.linespec/explicit.exp: Move strace test from here ...
12324 * gdb.trace/strace.exp: ... to here.
12325
e3ae3c43
PP
123262015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12327
12328 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12329 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12330
604b2636
DE
123312015-08-14 Doug Evans <xdje42@gmail.com>
12332
12333 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12334 inferior before selecting a new file.
12335
6ff0ba5f
DE
123362015-08-14 Doug Evans <xdje42@gmail.com>
12337
12338 * gdb.mi/mi-disassemble.exp: Update.
12339 * gdb.base/disasm-optim.S: New file.
12340 * gdb.base/disasm-optim.c: New file.
12341 * gdb.base/disasm-optim.h: New file.
12342 * gdb.base/disasm-optim.exp: New file.
12343
9ca98f92
KS
123442015-08-14 Keith Seitz <keiths@redhat.com>
12345
12346 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12347 "evaluated-by".
12348
52bbc560
JB
123492015-08-13 Joel Brobecker <brobecker@adacore.com>
12350
12351 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12352
5d8c3ed3
PMR
123532015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12354
12355 * gdb.ada/fun_renaming.exp: New testcase.
12356 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12357 * gdb.ada/fun_renaming/pack.adb: New file.
12358 * gdb.ada/fun_renaming/pack.ads: New file.
12359
ea8812bc
KS
123602015-08-12 Keith Seitz <keiths@redhat.com>
12361
12362 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12363 gdb_get_line_number.
12364
4dafcdeb
JB
123652015-08-12 Joel Brobecker <brobecker@adacore.com>
12366
12367 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12368 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12369 gdb.base/dso2dso.exp: New files.
12370
5ba32597
SDJ
123712015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12372 Pedro Alves <palves@redhat.com>
12373 Keith Seitz <keiths@redhat.com>
12374
12375 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12376 GDBFLAGS.
12377
b6dafabf
PP
123782015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12379
12380 * gdb.base/gdbhistsize-history.exp
12381 (test_histsize_history_setting): Use save_vars.
12382 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12383 Use save_vars.
12384 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12385 * gdb.base/readline.exp: Use save_vars.
12386
abe8e607
PP
123872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12388
12389 * lib/gdb.exp (save_vars): New proc.
12390
629500fa
KS
123912015-08-11 Keith Seitz <keiths@redhat.com>
12392
12393 * gdb.base/help.exp: Update help_breakpoint_text.
12394
eb8c4e2e
KS
123952015-08-11 Keith Seitz <keiths@redhat.com>
12396
12397 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12398 (at toplevel): Call test_explicit_breakpoints.
12399 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12400 breakpoints.
12401 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12402 breakpoint conditions, "-cond".
12403
87f0e720
KS
124042015-08-11 Keith Seitz <keiths@redhat.com>
12405
12406 * gdb.linespec/3explicit.c: New file.
12407 * gdb.linespec/cpexplicit.cc: New file.
12408 * gdb.linespec/cpexplicit.exp: New file.
12409 * gdb.linespec/explicit.c: New file.
12410 * gdb.linespec/explicit.exp: New file.
12411 * gdb.linespec/explicit2.c: New file.
12412 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12413 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12414 before using in the matching pattern.
12415 Clarify that `prefix' is a regular expression.
12416
f00aae0f
KS
124172015-08-11 Keith Seitz <keiths@redhat.com>
12418
12419 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12420 test.
12421 Add tests for missing ",FMT" and ",".
12422
e27852be
DE
124232015-08-10 Doug Evans <dje@google.com>
12424 Keith Seitz <keiths@redhat.com>
12425
12426 PR gdb/17960
12427 * gdb.base/completion.exp: Add location completer tests.
12428
7f03bd92
PA
124292015-08-07 Pedro Alves <palves@redhat.com>
12430
12431 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12432 tests here.
12433 (top level): Run do_test with and without displaced stepping.
12434
3fc8eb30
PA
124352015-08-07 Pedro Alves <palves@redhat.com>
12436
12437 * gdb.base/valgrind-disp-step.c: New file.
12438 * gdb.base/valgrind-disp-step.exp: New file.
12439
d4569d7b
PA
124402015-08-07 Pedro Alves <palves@redhat.com>
12441
12442 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12443 Delete function.
12444 (main): Add alarm. Run an infinite loop instead of calling
12445 wait_threads.
12446 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12447 comment.
12448 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12449 Delete function.
12450 (main): Add alarm. Run an infinite loop instead of calling
12451 wait_threads.
12452 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12453 comment.
12454
e1316e60
PA
124552015-08-07 Pedro Alves <palves@redhat.com>
12456
12457 * gdb.base/checkpoint-ns.exp: New file.
12458 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12459 standard_testfile.
12460
da8c46d2
MM
124612015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12462
12463 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12464 * gdb.btrace/instruction_history.exp: Update.
12465 * gdb.btrace/tsx.exp: New.
12466 * gdb.btrace/tsx.c: New.
12467
de1c2c52
PA
124682015-08-06 Pedro Alves <palves@redhat.com>
12469
12470 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12471 increase timeout.
12472 * gdb.reverse/until-precsave.exp: Bump timeouts.
12473
782e0bf4
PA
124742015-08-06 Pedro Alves <palves@redhat.com>
12475
12476 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12477
83e97ed0
PA
124782015-08-06 Pedro Alves <palves@redhat.com>
12479
12480 PR gdb/18749
12481 * gdb.threads/process-dies-while-handling-bp.c: New file.
12482 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12483
863d01bd
PA
124842015-08-06 Pedro Alves <palves@redhat.com>
12485
12486 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12487 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12488
0a39bb32
PA
124892015-08-05 Pedro Alves <palves@redhat.com>
12490
12491 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12492 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12493
ee2d2b10
SL
124942015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12495
12496 * gdb.base/bp-permanent.exp: Report test as unsupported if
12497 the target cannot stop at the permanent breakpoint.
12498
4e1bdb00
DE
124992015-08-03 Doug Evans <dje@google.com>
12500
12501 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12502 10000.
12503
3d338901
DE
125042015-08-03 Doug Evans <dje@google.com>
12505
12506 * Makefile.in (workers/%.worker, build-perf): New rule.
12507 (GDB_PERFTEST_MODE): New variable.
12508 (check-perf): Use it.
12509 (clean): Clean up gdb.perf parallel build subdirs.
12510 * lib/build-piece.exp: New file.
12511 * lib/gdb.exp (make_gdb_parallel_path): New function
12512 (standard_output_file, standard_temp_file): Call it.
12513 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12514 of $GDB_PARALLEL.
12515 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12516
af061d3e
DE
125172015-08-03 Doug Evans <dje@google.com>
12518
8e1afc81 12519 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12520 (LOG_FILE_NAME): New global.
12521 (TextReporter.__init__): Initialize self.txt_sum.
12522 (TextReporter.report): Add support for multiple data-points.
12523 Move report to perftest.sum, put raw data in perftest.log.
12524 (TextReporter.start): Open sum and log files.
12525 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12526 * gdb.perf/lib/perftest/testresult.py
12527 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 12528
2c8c5d37
PA
125292015-07-31 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12532 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12533 kill_wait_spawned_process instead of explicit "kill -9".
12534 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12535 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12536 kill_wait_spawned_process.
12537 * gdb.base/attach-twice.exp: Likewise.
12538 * gdb.base/attach.exp: Likewise.
12539 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12540 gdb_test_multiple.
12541 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12542 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12543 kill_wait_spawned_process.
12544 * gdb.base/valgrind-infcall.exp: Likewise.
12545 * gdb.multi/multi-attach.exp: Likewise.
12546 * gdb.python/py-prompt.exp: Likewise.
12547 * gdb.python/py-sync-interp.exp: Likewise.
12548 * gdb.server/ext-attach.exp: Likewise.
12549 * gdb.threads/attach-into-signal.exp (corefunc): Use
12550 spawn_wait_for_attach, spawn_id_get_pid and
12551 kill_wait_spawned_process.
12552 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12553 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12554 spawn_id_get_pid and kill_wait_spawned_process.
12555 * gdb.threads/attach-stopped.exp (corefunc): Use
12556 spawn_wait_for_attach, spawn_id_get_pid and
12557 kill_wait_spawned_process.
12558 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12559 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12560 kill_wait_spawned_process instead of explicit "kill -9".
12561 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12562 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12563 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12564 processes. Don't map cygwin/windows pids here. Now returns a
12565 spawn id list.
12566
032a0fca
SL
125672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12568
12569 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12570 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12571 correct patch.
12572
61a934ca
SL
125732015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12574
12575 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12576
4bc4d428
SL
125772015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12578
12579 Reapply:
12580 2014-05-21 Mark Wielaard <mjw@redhat.com>
12581
12582 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12583
998d452a
PA
125842015-07-30 Pedro Alves <palves@redhat.com>
12585
12586 * linux-low.c (handle_extended_wait): Set the child's last
12587 reported status to TARGET_WAITKIND_STOPPED.
12588
69dde7dc
PA
125892015-07-30 Pedro Alves <palves@redhat.com>
12590
12591 PR threads/18600
12592 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12593 only shows inferior 1.
12594
4dd63d48
PA
125952015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12596 Pedro Alves <palves@redhat.com>
12597
12598 PR threads/18600
12599 * gdb.threads/fork-plus-threads.c: New file.
12600 * gdb.threads/fork-plus-threads.exp: New file.
12601
d618e4c5
PP
126022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12603
12604 * gdb.base/batch-preserve-term-settings.exp
12605 (test_terminal_settings_preserved_after_cli_exit): Use
12606 send_quit_command.
12607
1eef6428
PA
126082015-07-29 Pedro Alves <palves@redhat.com>
12609 Don Breazeal <donb@codesourcery.com>
12610
12611 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12612 output from both inferior_spawn_id and gdb_spawn_id.
12613
7da5b897
SDJ
126142015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12615
12616 * gdb.threads/attach-into-signal.exp (corefunc): Use
12617 with_test_prefix on nested loops, uniquefying the test messages.
12618
dac804df
SDJ
126192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12620
12621 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12622 commit.
12623
06265e53
PP
126242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12625
12626 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12627 New proc.
12628 (test_terminal_settings_preserved_after_sigterm): New test.
12629
18206ca3
PP
126302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12631
12632 * gdb.base/batch-preserve-term-settings.exp
12633 (test_terminal_settings_preserved_after_cli_exit): New test.
12634
90074d11
PP
126352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12636
12637 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12638 manipulation of saved_gdbflags.
12639 (test_terminal_settings_preserved): Remove global declaration of
12640 the unused variable pagination_prompt. Remove manipulation of
12641 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12642 GDBFLAGS.
12643
eb1a7902
PA
126442015-07-29 Pedro Alves <palves@redhat.com>
12645
12646 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12647
8b75dd3b
PA
126482015-07-29 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12651 at the top.
12652
dedad4e3
PA
126532015-07-29 Pedro Alves <palves@redhat.com>
12654
12655 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12656 (main): Call gdb_unbuffer_output.
12657 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12658 (main): Call gdb_unbuffer_output.
12659 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12660 (main): Call gdb_unbuffer_output.
12661 * gdb.base/call-strs.exp: Adjust to step over the
12662 gdb_unbuffer_output call.
12663 * gdb.base/catch-gdb-caused-signals.c: Include
12664 "../lib/unbuffer_output.c".
12665 (main): Call gdb_unbuffer_output.
12666 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12667 (main): Call gdb_unbuffer_output.
12668 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12669 (main): Call gdb_unbuffer_output.
12670 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12671 (main): Call gdb_unbuffer_output.
12672 * gdb.base/shlib-call.exp: Adjust to step over the
12673 gdb_unbuffer_output call.
12674 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12675 (main): Call gdb_unbuffer_output.
12676 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12677 (main): Call gdb_unbuffer_output.
12678 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12679 (main): Rename to ...
12680 (test): ... this.
12681 (main): Reimplement.
12682 * gdb.base/varargs.exp: Run to test instead of to main.
12683 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12684 (main): Call gdb_unbuffer_output.
12685
58789a91
PA
126862015-07-29 Pedro Alves <palves@redhat.com>
12687
12688 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12689 factore out from mi_continue_dprintf. For call-style dprintfs,
12690 expect dprintf output out of $inferior_spawn_id.
12691 (mi_continue_dprintf): Use mi_expect_dprintf.
12692 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12693 (main): Call gdb_unbuffer_output.
12694
e8376742
PA
126952015-07-29 Pedro Alves <palves@redhat.com>
12696
12697 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12698 (default_mi_gdb_start): Set inferior_spawn_id instead of
12699 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12700 gdb_spawn_id.
12701 (mi_gdb_test): Always expect inferior output from both
12702 $inferior_spawn_id and $gdb_spawn_id.
12703
08280010
PA
127042015-07-29 Pedro Alves <palves@redhat.com>
12705
12706 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12707 send_inferior and $inferior_spawn_id.
12708
4d30e432
PA
127092015-07-29 Pedro Alves <palves@redhat.com>
12710
12711 * gdb.gdb/complaints.exp (test_initial_complaints)
12712 (test_serial_complaints, test_short_complaints): Use
12713 gdb_test_stdio.
12714 (test_empty_complaint): Handle $inferior_spawn_id !=
12715 $gdb_spawn_id.
12716
0d30a335
PA
127172015-07-29 Pedro Alves <palves@redhat.com>
12718
12719 * gdb.base/varargs.exp: Use gdb_test_stdio.
12720
39413b29
PA
127212015-07-29 Pedro Alves <palves@redhat.com>
12722
12723 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12724
7cb000a9
PA
127252015-07-29 Pedro Alves <palves@redhat.com>
12726
12727 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12728
d7b8ac82
PA
127292015-07-29 Pedro Alves <palves@redhat.com>
12730
12731 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12732 parameter into two new parameters, "inf_result" and "gdb_result".
12733 Expect inferior output and gdb output from $inferior_spawn_id and
12734 $gdb_spawn_id, respectively. Adjust all callers.
12735
789c3a0c
PA
127362015-07-29 Pedro Alves <palves@redhat.com>
12737
12738 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12739 of gdb_test_sequence.
12740
77e760c3
PA
127412015-07-29 Pedro Alves <palves@redhat.com>
12742
12743 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12744 (saw_spurious_output): Expect inferior output from
12745 $inferior_spawn_id. Use gdb_test_stdio.
12746
8396d2cd
PA
127472015-07-29 Pedro Alves <palves@redhat.com>
12748
12749 * gdb.base/dprintf.exp: Use standard_testfile. Change
12750 prepare_for_testing call.
12751 (srcfile): Don't set.
12752 (restart): New procedure.
12753 (test_dprintf): New procecure, use to continue over dprintfs.
12754 (test_call, test_agent): New procedures, tests moved here.
12755 Restart gdb and recreate dprintfs. Adjust expected output.
12756
2051d61f
PA
127572015-07-29 Pedro Alves <palves@redhat.com>
12758
12759 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12760
452397af
PA
127612015-07-29 Pedro Alves <palves@redhat.com>
12762
12763 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12764
8aed9555
PA
127652015-07-29 Pedro Alves <palves@redhat.com>
12766
12767 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12768 gdb_test_stdio.
12769
188a61b4
PA
127702015-07-29 Pedro Alves <palves@redhat.com>
12771
12772 * lib/gdb.exp (gdb_test_stdio): New procedure.
12773
12264a45
PA
127742015-07-29 Pedro Alves <palves@redhat.com>
12775
12776 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12777
23ffc893
PA
127782015-07-29 Pedro Alves <palves@redhat.com>
12779
12780 * gdb.base/call-signal-resume.exp: Remove check for
12781 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12782 * gdb.base/unwindonsignal.exp: Likewise.
12783 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12784 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12785
65566918
PA
127862015-07-29 Pedro Alves <palves@redhat.com>
12787
12788 * gdb.base/siginfo-addr.c (pass): New function.
12789 (handler): Call it iff si_addr is correct.
12790 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12791 Set a breakpoint at "pass" and continue to it.
12792
d60a9221
SDJ
127932015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12794
12795 * gdb.python/py-objfile.exp: Make some tests have unique names.
12796 * gdb.python/py-pp-registration.exp: Likewise.
12797
bde40b8f
PA
127982015-07-28 Pedro Alves <palves@redhat.com>
12799
12800 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12801
13e1dec8
SM
128022015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12803
12804 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12805
da33c9a7
SM
128062015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12807
12808 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12809
077836f7
PP
128102015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12811
12812 * gdb.base/gdb-sigterm-2.exp: New test.
12813
b8cc7b2e
DE
128142015-07-25 Doug Evans <xdje42@gmail.com>
12815
12816 Revert:
12817 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12818 (workers/%.worker, build-perf): New rule.
12819 (GDB_PERFTEST_MODE): New variable.
12820 (check-perf): Use it.
12821 (clean): Clean up gdb.perf parallel build subdirs.
12822 * lib/build-piece.exp: New file.
12823 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12824 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12825 name.
12826 (standard_temp_file): Ditto.
12827 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12828 of $GDB_PARALLEL.
12829
c8bd4544
DE
128302015-07-24 Doug Evans <dje@google.com>
12831
12832 * gdb.perf/lib/perftest/utils.py: New file.
12833 * gdb.perf/gm-hello.cc: New file.
12834 * gdb.perf/gm-pervasive-typedef.cc: New file.
12835 * gdb.perf/gm-pervasive-typedef.h: New file.
12836 * gdb.perf/gm-std.cc: New file.
12837 * gdb.perf/gm-std.h: New file.
12838 * gdb.perf/gm-use-cerr.cc: New file.
12839 * gdb.perf/gm-utils.h: New file.
12840 * gdb.perf/gmonster-null-lookup.py: New file.
12841 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12842 * gdb.perf/gmonster-print-cerr.py: New file.
12843 * gdb.perf/gmonster-ptype-string.py: New file.
12844 * gdb.perf/gmonster-runto-main.py: New file.
12845 * gdb.perf/gmonster-select-file.py: New file.
12846 * gdb.perf/gmonster1-null-lookup.exp: New file.
12847 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12848 * gdb.perf/gmonster1-print-cerr.exp: New file.
12849 * gdb.perf/gmonster1-ptype-string.exp: New file.
12850 * gdb.perf/gmonster1-runto-main.exp: New file.
12851 * gdb.perf/gmonster1-select-file.exp: New file.
12852 * gdb.perf/gmonster1.cc: New file.
12853 * gdb.perf/gmonster1.exp: New file.
12854 * gdb.perf/gmonster2-null-lookup.exp: New file.
12855 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12856 * gdb.perf/gmonster2-print-cerr.exp: New file.
12857 * gdb.perf/gmonster2-ptype-string.exp: New file.
12858 * gdb.perf/gmonster2-runto-main.exp: New file.
12859 * gdb.perf/gmonster2-select-file.exp: New file.
12860 * gdb.perf/gmonster2.cc: New file.
12861 * gdb.perf/gmonster2.exp: New file.
12862
6eab34f3
DE
128632015-07-24 Doug Evans <dje@google.com>
12864
12865 * gdb.perf/README: New file.
12866 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12867 * lib/gen-perf-test.exp: New file.
12868
63738bfd
DE
128692015-07-24 Doug Evans <dje@google.com>
12870
12871 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12872 (PerfTest::startup): New function.
12873 (PerfTest::run): Return result of calling body.
12874 (PerfTest::assemble): Rewrite.
12875 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12876 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12877 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12878 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12879 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12880
7b606f95
DE
128812015-07-24 Doug Evans <dje@google.com>
12882
12883 * lib/gdb.exp (clean_restart): Make executable optional.
12884
a97b16b8
DE
128852015-07-24 Doug Evans <dje@google.com>
12886
12887 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12888 compiler_info references.
12889 * gdb.cp/temargs.exp: Ditto.
12890 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12891 (get_compiler_info): Early exit if already computed. Set compiler_info
12892 to "unknown" if there was a problem.
12893 (test_compiler_info): Add function comment. Call get_compiler_info.
12894
35baa57f
DE
128952015-07-24 Doug Evans <dje@google.com>
12896
12897 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12898 (workers/%.worker, build-perf): New rule.
12899 (GDB_PERFTEST_MODE): New variable.
12900 (check-perf): Use it.
12901 (clean): Clean up gdb.perf parallel build subdirs.
12902 * lib/build-piece.exp: New file.
12903 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12904 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12905 name.
12906 (standard_temp_file): Ditto.
12907 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12908 of $GDB_PARALLEL.
12909
6ebea266
DE
129102015-07-24 Doug Evans <dje@google.com>
12911
12912 * lib/future.exp (gdb_default_target_compile): New option
12913 "early_flags".
12914 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12915 --as-needed.
12916
1e76a7e9
SDJ
129172015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12918
12919 * gdb.base/catch-syscall.exp: Call gdb_exit before
12920 gdb_skip_xml_test.
12921
5068630a
PA
129222015-07-24 Pedro Alves <palves@redhat.com>
12923
12924 * gdb.python/py-events.exp: Accept output between the stop event
12925 and the prompt.
12926 * gdb.python/py-evsignal.exp: Likewise.
12927 * gdb.python/py-evthreads.exp: Likewise.
12928
77598427
PA
129292015-07-24 Pedro Alves <palves@redhat.com>
12930
12931 PR gdb/18717
12932 * gdb.threads/non-ldr-exit.c: New file.
12933 * gdb.threads/non-ldr-exit.exp: New file.
12934
11e6c98f
YQ
129352015-07-24 Yao Qi <yao.qi@linaro.org>
12936
12937 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12938 restarting process.
12939
51aee833
YQ
129402015-07-24 Yao Qi <yao.qi@linaro.org>
12941
12942 * gdb.server/ext-restart.exp: New file.
12943
8cfe207c
YQ
129442015-07-24 Yao Qi <yao.qi@linaro.org>
12945
12946 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12947 argument options.
12948 * gdb.server/ext-wrapper.exp: New file.
12949
cc12ce38
DE
129502015-07-23 Doug Evans <dje@google.com>
12951
12952 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12953 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12954
d0d84780
PMR
129552015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12956
12957 * gdb.ada/var_arr_typedef.exp: New testcase.
12958 * gdb.ada/var_arr_typedef/pack.adb: New file.
12959 * gdb.ada/var_arr_typedef/pack.ads: New file.
12960 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12961
8b558f79
JB
129622015-07-20 Joel Brobecker <brobecker@adacore.com>
12963
12964 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12965
775a3298
JK
129662015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12967
12968 * gdb.arch/i386-biarch-core.exp: Replace istarget
12969 by "complete set gnutarget". Remove expectation for the "core-file"
12970 command.
12971
db1ff28b
JK
129722015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12973
12974 Revert the previous commit:
12975 Tests for validate symbol file using build-id.
12976
0a94970d
JK
129772015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12978
12979 Tests for validate symbol file using build-id.
12980 * gdb.base/solib-mismatch-lib.c: New file.
12981 * gdb.base/solib-mismatch-libmod.c: New file.
12982 * gdb.base/solib-mismatch.c: New file.
12983 * gdb.base/solib-mismatch.exp: New file.
12984
03346981
SL
129852015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12986
12987 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12988 nios2-*-linux*.
12989 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12990 * gdb.base/siginfo.exp: Likewise.
12991 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12992
42422cc7
PL
129932015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12994
12995 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12996 Move it to ...
12997 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12998 ... here.
12999 * gdb.trace/range-stepping.exp: Check that the target supports
13000 range stepping.
13001
cfa68bae
JK
130022015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13003
13004 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13005
8ffdba26
PA
130062015-07-14 Pedro Alves <palves@redhat.com>
13007
13008 * gdb.base/killed-outside.exp: New file.
13009 * gdb.base/killed-outside.c: New file.
13010
218a5a11
JK
130112015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13012
13013 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13014 (n at main): New.
13015 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13016
e03ed3c6
AA
130172015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13018
13019 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13020 infcall tests instead of setting up for KFAIL.
13021
485668e5
MM
130222015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13023
13024 * gdb.btrace/record_goto-step.exp: New.
13025
08464196
JK
130262015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13027
13028 PR compile/18484
13029 * gdb.compile/compile.c (struct struct_type): Add volatile to
13030 selffield's type.
13031 * gdb.compile/compile.exp
13032 (compile code struct_object.selffield = &struct_object): Skip further
13033 struct_object tests if this one xfails.
13034
bcf5c1d9
RC
130352015-07-08 Robert O'Callahan <robert@ocallahan.org>
13036
13037 PR exp/18617
13038 * gdb.trace/ax.exp: Add test.
13039
4931af25
YQ
130402015-07-07 Yao Qi <yao.qi@linaro.org>
13041
13042 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13043 instead of istarget "aarch64*-*-*".
13044 * gdb.arch/aarch64-fp.exp: Likewise.
13045 * gdb.base/float.exp: Likewise.
13046 * gdb.reverse/aarch64.exp: Likewise.
13047 * lib/gdb.exp (is_aarch64_target): New proc.
13048
9fcf688e
YQ
130492015-07-07 Yao Qi <yao.qi@linaro.org>
13050
13051 * lib/gdb.exp (is_aarch32_target): New proc.
13052 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13053 instead of "istarget "arm*-*-*"".
13054 * gdb.arch/arm-disp-step.exp: Likewise.
13055 * gdb.arch/thumb-bx-pc.exp: Likewise.
13056 * gdb.arch/thumb-prologue.exp: Likewise.
13057 * gdb.arch/thumb-singlestep.exp: Likewise.
13058 * gdb.base/disp-step-syscall.exp: Likewise.
13059 * gdb.base/float.exp: Likewise.
13060
fbd8d50d
YQ
130612015-07-07 Yao Qi <yao.qi@linaro.org>
13062
13063 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13064 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13065
71be1fdc
YQ
130662015-07-07 Yao Qi <yao.qi@linaro.org>
13067
13068 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13069 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13070 if it exists.
13071 * gdb.multi/multi-arch.exp: Likewise.
13072
3e221d36
SM
130732015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13074
13075 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13076 print.
13077
d441430b
YQ
130782015-07-07 Yao Qi <yao.qi@linaro.org>
13079
13080 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13081
06f810bd
MG
130822015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13083
13084 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13085 '[' and ']' characters.
13086
5e61e7c0
IB
130872015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13088
13089 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13090
28bf096c
PA
130912015-06-29 Pedro Alves <palves@redhat.com>
13092
13093 PR threads/18127
13094 * gdb.threads/hand-call-new-thread.c: New file.
13095 * gdb.threads/hand-call-new-thread.c: New file.
13096
ee93cd5e
KS
130972015-06-26 Keith Seitz <keiths@redhat.com>
13098 Doug Evans <dje@google.com>
13099
13100 PR 16253
13101 * gdb.cp/var-tag-2.cc: New file.
13102 * gdb.cp/var-tag-3.cc: New file.
13103 * gdb.cp/var-tag-4.cc: New file.
13104 * gdb.cp/var-tag.cc: New file.
13105 * gdb.cp/var-tag.exp: New file.
13106
fc637f04
PP
131072015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13108
13109 * gdb.base/history-duplicates.exp: New test.
13110
2e52ae68
PP
131112015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13112
13113 * gdb.base/completion.exp: Test the completion of the "focus"
13114 command.
13115
6e22494e
JK
131162015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13117
13118 * gdb.arch/amd64-prologue-skip.S: New file.
13119 * gdb.arch/amd64-prologue-skip.exp: New file.
13120
bf7b9cd9
SM
131212015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13122
13123 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13124 is_address_zero_readable check.
13125
201e8dfd
PB
131262015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13127
13128 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13129 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13130
5cd867b4
YQ
131312015-06-24 Yao Qi <yao.qi@linaro.org>
13132
13133 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13134 linux targets.
13135
4d7be007
YQ
131362015-06-24 Yao Qi <yao.qi@linaro.org>
13137
13138 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13139 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13140 * gdb.base/siginfo-thread.exp: Likewise.
13141
07fcd301
YQ
131422015-06-22 Yao Qi <yao.qi@linaro.org>
13143
13144 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13145
52042a00
YQ
131462015-06-22 Yao Qi <yao.qi@linaro.org>
13147
13148 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13149 aarch64*-*-*.
13150 (skip_hw_watchpoint_tests): Likewise.
13151
74bd41ce
PP
131522015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13153
13154 * gdb.base/gdbinit-history.exp: Test the interaction between
13155 setting GDBHISTSIZE and setting the history size via .gdbinit.
13156
bc460514
PP
131572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13158
13159 PR gdb/16999
13160 * gdb.base/gdbhistsize-history.exp: New test.
13161
b58c513b
PP
131622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13163
13164 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13165 with GDBHISTSIZE.
13166 * gdb.base/readline.exp: Likewise.
13167
92046791
YQ
131682015-06-17 Yao Qi <yao.qi@linaro.org>
13169
13170 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13171 line.
13172
2093d2d3
PP
131732015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13174
13175 * gdb.base/gdbinit-history.exp: Add test case to check that
13176 an unlimited history file does not get truncated on exit.
13177
e6c693af
AA
131782015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13179
13180 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13181 (VECTOR): New macro. Use it...
13182 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13183 ...for these typedefs.
13184 (int8, char1, int1, double1): New typedefs.
13185 (struct just_int2, struct two_int2): New structures.
13186 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13187 (add_structvecs, add_singlevecs): New functions.
13188 (main): Call add_some_intvecs twice.
13189 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13190 the compile and exit upon failure. Try compiling for the "native"
13191 architecture. Test inferior function calls with vector arguments
13192 and vector return value handling with "finish" and "return".
13193
c74f7d1c
JT
131942015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13195
13196 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13197 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13198 PE file.
13199 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13200
98aa42ee
AT
132012015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13202
13203 PR breakpoints/16465
13204 * gdb.mi/mi-dprintf-pending.c: New file.
13205 * gdb.mi/mi-dprintf-pending.exp: New test.
13206 * gdb.mi/mi-dprintf-pendshr.c: New file.
13207
7d73c23c 132082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13209 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13210
13211 * gdb.arch/i386-mpx-map.c: New file.
13212 * gdb.arch/i386-mpx-map.exp: New File.
13213
132142015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13215
13216 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13217 * gdb.arch/i386-mpx.exp: Indentation fixed.
13218
132192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13220
13221 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13222 function and improved indentation.
13223 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13224 gdb_test_multiple. Added additional tests to skip the test.
13225
132262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13227
13228 * gdb.arch/i386-avx512.c: Change path in include file.
13229 * gdb.arch/i386-avx512.exp: Change include dir path
13230 compilation flag.
13231 * gdb.arch/i386-mpx.c: Change path in include file.
13232 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13233 flag.
13234
d5eba19a
JK
132352015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13236
13237 * gdb.compile/compile-print.exp (compile print *vararray@3)
13238 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13239
7f361056
JK
132402015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13241
13242 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13243 (do not keep jit in memory): ... this.
13244 (expect 5): Change it to ...
13245 (expect no 5): ... this.
13246
3b462ec2
SM
132472015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13248
13249 PR gdb/15564
13250 * gdb.mi/mi-detach.exp: New file.
13251
e0619de6
JK
132522015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13253
13254 PR symtab/18392
13255 * gdb.arch/amd64-tailcall-self.S: New file.
13256 * gdb.arch/amd64-tailcall-self.c: New file.
13257 * gdb.arch/amd64-tailcall-self.exp: New file.
13258
e970cb34
DB
132592015-05-28 Don Breazeal <donb@codesourcery.com>
13260
13261 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13262 tests for remote targets by checking is_target_gdbserver.
13263
b2e2f908
DE
132642015-05-27 Doug Evans <dje@google.com>
13265
13266 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13267 * gdb.dwarf2/opaque-type-lookup.c: New file.
13268 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13269
82c7be31
DE
132702015-05-26 Doug Evans <dje@google.com>
13271
13272 * gdb.cp/iostream.cc: New file.
13273 * gdb.cp/iostream.exp: New file.
13274
b4f54984
DE
132752015-05-26 Doug Evans <dje@google.com>
13276
13277 * gdb.dwarf2/dw2-op-call.exp: Update.
13278 * gdb.dwarf2/dw4-sig-types.exp: Update.
13279 * gdb.dwarf2/implptr.exp: Update.
13280 * gdb.mi/mi-cmd-param-changed.exp: Update.
13281
4ea6efe9
DE
132822015-05-26 Doug Evans <dje@google.com>
13283
13284 * gdb.python/py-lazy-string.c: New file.
13285 * gdb.python/py-lazy-string.exp: New file.
13286 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13287 (main): Update. Add estring3.
13288 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13289 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13290
f6bb7db3
YQ
132912015-05-26 Omair Javaid <omair.javaid@linaro.org>
13292 Yao Qi <yao.qi@linaro.org>
13293
13294 * gdb.reverse/aarch64.c: New.
13295 * gdb.reverse/aarch64.exp: New.
13296
a81bfbd0
OJ
132972015-05-26 Omair Javaid <omair.javaid@linaro.org>
13298
25d49b86
PA
13299 * lib/gdb.exp (supports_process_record): Return true for
13300 aarch64*-linux*.
a81bfbd0
OJ
13301 (supports_reverse): Likewise.
13302
158bf1b4
PP
133032015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13304
13305 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13306 Use with_test_prefix.
13307
a0145030
AB
133082015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13309
13310 * gdb.base/completion.exp: Add test for completion of layout
13311 names.
13312
ebe3b578
AB
133132015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13314
13315 * lib/gdb.exp (skip_tui_tests): New proc.
13316 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13317
84204ed7
PA
133182015-05-19 Pedro Alves <palves@redhat.com>
13319
13320 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13321 Save the whole env array instead of just HOME. Unset HISTSIZE in
13322 the environment while testing. Restore whole environment
13323 afterwards.
13324
37442ce1
DE
133252015-05-16 Doug Evans <xdje42@gmail.com>
13326
13327 * gdb.guile/scm-ports.c: New file.
13328 * gdb.guile/scm-ports.exp: Add memory port tests.
13329
36de76f9
JK
133302015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13331
13332 * gdb.compile/compile-print.c: New file.
13333 * gdb.compile/compile-print.exp: New file.
13334
3a9558c4
JK
133352015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13336
13337 * gdb.compile/compile-ops.exp: Cast param to void.
13338 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13339 (compile code struct_object.selffield = &struct_object): Add xfail.
13340
aa715135
JG
133412015-05-15 Joel Brobecker <brobecker@adacore.com>
13342
13343 * gdb.ada/arr_enum_with_gap: New testcase.
13344
931e5bc3
JG
133452015-05-15 Joel Brobecker <brobecker@adacore.com>
13346
13347 * gdb.ada/byte_packed_arr: New testcase.
13348
9cd4d857
JB
133492015-05-15 Joel Brobecker <brobecker@adacore.com>
13350
13351 * gdb.ada/pckd_neg: New testcase.
13352
ebfd00d2
PP
133532015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13354
13355 PR gdb/17820
13356 * gdb.base/gdbinit-history.exp: New test.
13357 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13358 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13359
4c082a81
SC
133602015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13361
13362 * gdb.python/py-xmethods.cc: Enhance test case.
13363 * gdb.python/py-xmethods.exp: New tests.
13364 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13365 function.
13366 (B_indexoper): Likewise.
13367 (global_dm_list) : Add new xmethod worker functions.
13368
f7797074
SDJ
133692015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13370
13371 * gdb.base/coredump-filter.exp: Correctly unset
13372 "coredump_var_addr" array.
13373
a4674e4e
PA
133742015-05-08 Pedro Alves <palves@redhat.com>
13375
13376 * gdb.server/non-existing-program.exp: Unset spawn_id.
13377
df2eb078
SC
133782015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13379
13380 PR python/18291
13381 * gdb.python/py-xmethods.exp: Add tests.
13382
422349a3
YQ
133832015-05-08 Yao Qi <yao.qi@linaro.org>
13384
13385 PR gdb/18208
13386 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13387 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13388 function set_coredump_filter, and remove remote_exec call.
13389 Remove argument ipid. Callers update.
13390 (top level): Don't get inferior's PID.
13391
63fc80ce
AA
133922015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13393
13394 * gdb.base/watch_thread_num.exp: Skip test on targets without
13395 access watchpoints.
13396
80ad801e
PA
133972015-05-06 Pedro Alves <palves@redhat.com>
13398
13399 PR server/18081
13400 * gdb.server/non-existing-program.exp: New file.
13401
0fa7fe50
JB
134022015-05-05 Joel Brobecker <brobecker@adacore.com>
13403
13404 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13405
3ea89b92
PMR
134062015-05-05 Joel Brobecker <brobecker@adacore.com>
13407
13408 * gdb.ada/out_of_line_in_inlined: New testcase.
13409
87b8eff0
JB
134102015-05-05 Joel Brobecker <brobecker@adacore.com>
13411
13412 * gdb.ada/var_rec_arr: New testcase.
13413
5fccc635
YQ
134142015-04-30 Yao Qi <yao.qi@linaro.org>
13415
13416 * gdb.base/break-idempotent.exp: If
13417 skip_hw_watchpoint_multi_tests returns true, skip the tests
13418 on "rwatch" and "awatch".
13419
42d38f42
YQ
134202015-04-30 Yao Qi <yao.qi@linaro.org>
13421
13422 * gdb.base/relativedebug.exp: Invoke gdb command
13423 "info sharedlibrary", and if libc.so doesn't have debug info,
13424 skip the test.
13425
2ce1cdbf
DE
134262015-04-29 Doug Evans <dje@google.com>
13427
13428 * gdb.python/py-xmethods.exp: Add ptype tests.
13429 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13430 get_result_type method.
13431
f24a38c5
LM
134322015-04-29 Luis Machado <lgustavo@codesourcery.com>
13433
13434 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13435 the target does not support hardware watchpoints.
13436
ecbf2b3c
LM
134372015-04-29 Luis Machado <lgustavo@codesourcery.com>
13438
13439 * gdb.base/break-always.exp: Abort testing if writing to memory
13440 causes an error.
13441
34f5f757
DE
134422015-04-28 Doug Evans <dje@google.com>
13443
13444 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13445 * gdb.python/py-pp-registration.exp: ... here. New file.
13446 * gdb.python/py-pp-registration.c: New file.
13447 * gdb.python/py-pp-registration.py: New file.
13448
69b4374a
DE
134492015-04-28 Doug Evans <dje@google.com>
13450
13451 * gdb.python/py-bad-printers.c: New file.
13452 * gdb.python/py-bad-printers.py: New file.
13453 * gdb.python/py-bad-printers.exp: New file.
13454
59fb7612
SS
134552015-04-28 Sasha Smundak <asmundak@google.com>
13456
13457 * gdb.python/py-type.exp: New test.
13458
2631b16a
AW
134592015-04-28 Andy Wingo <wingo@igalia.com>
13460
13461 * gdb.python/py-parameter.exp:
13462 * gdb.guile/scm-parameter.exp: Escape the path that we are
13463 matching against, as it might contain characters that are special
13464 to regular expressions.
13465
460efde1
JB
134662015-04-27 Joel Brobecker <brobecker@adacore.com>
13467
13468 * gdb.ada/rec_comp: New testcase.
13469
2d369d8e
SDJ
134702015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13471
13472 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13473 before using it.
13474
cf75d6c3
AB
134752015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13476
13477 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13478 new tests for verilog output.
13479
8dbe7ca5
YQ
134802015-04-24 Yao Qi <yao.qi@linaro.org>
13481
13482 * boards/remote-gdbserver-on-localhost.exp: New file.
13483
4ef9fb2f
PA
134842015-04-23 Pedro Alves <palves@redhat.com>
13485
13486 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13487 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13488 "end of file", remove $inferior_spawn_id from the indirect list.
13489
0a803169
PA
134902015-04-23 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13493
749ef8f8
PA
134942015-04-23 Pedro Alves <palves@redhat.com>
13495
13496 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13497 on $any_spawn_id instead of only on $gdb_spawn_id.
13498
8aae4344
PM
134992015-04-21 Pierre Muller <muller@sourceware.org>
13500
13501 PR pascal/17815
13502 * lib/pascal.exp (gpc_compile): Add new option "class".
13503 (fpc_compile): Likewise.
13504 * gdb.pascal/case-insensitive-symbols.pas: New file.
13505 * gdb.pascal/case-insensitive-symbols.exp: New file.
13506
1586c8fb
GB
135072015-04-20 Gary Benson <gbenson@redhat.com>
13508
13509 * gdb.base/attach.exp: Fix three extended remote failures.
13510
1b6e6f5c
GB
135112015-04-17 Gary Benson <gbenson@redhat.com>
13512
13513 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13514 the main executable over the remote protocol.
13515
e797481d
PA
135162015-04-16 Pedro Alves <palves@redhat.com>
13517
13518 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13519 a new gdbserver if gdbserver_reconnect_p is set.
13520
1ca99c42
PA
135212015-04-16 Pedro Alves <palves@redhat.com>
13522
13523 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13524 is set, don't exit gdbserver.
13525
af9fd6f8
AA
135262015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13527
13528 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13529 appropriate .insn, such that an older assembler can be used.
13530 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13531 the z/Architecture instruction set on 31-bit targets as well.
13532
04ff1e61
AA
135332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13534
13535 * gdb.go/handcall.exp: Remove all logic related to the first
13536 breakpoint and rely on go_runto_main instead.
13537 * gdb.go/strings.exp: Likewise.
13538 * gdb.go/unsafe.exp: Likewise.
13539 * gdb.go/hello.exp: Likewise. Also rename the remaining
13540 breakpoint marker to "breakpoint 1".
13541 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13542 * gdb.go/strings.go: Likewise.
13543 * gdb.go/unsafe.go: Likewise.
13544 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13545 "set breakpoint 2 here" and rename the remaining breakpoint marker
13546 to "breakpoint 1".
13547
40d2f8d6
SM
135482015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13549
13550 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13551 if itertools.imap is not present.
13552 * gdb.python/py-objfile.exp: Add parentheses.
13553 * gdb.python/py-type.exp: Same.
13554 * gdb.python/py-unwind-maint.py: Same.
13555
8cbc97c6
YQ
135562015-04-15 Yao Qi <yao.qi@linaro.org>
13557
13558 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13559 of ":$ptr_size" and set its form explicitly.
13560
45fd756c
YQ
135612015-04-15 Pedro Alves <palves@redhat.com>
13562 Yao Qi <yao.qi@linaro.org>
13563
13564 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13565 timeout by factor of 4.
13566 (test_regular_watch): Likewise.
13567 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13568 * gdb.reverse/sigall-reverse.exp: Likewise.
13569 * gdb.reverse/until-precsave.exp: Likewise.
13570 * lib/gdb.exp (with_timeout_factor): New proc.
13571 (gdb_expect): Move some code to ...
13572 (get_largest_timeout): ... here. New procedure.
13573
9e811bc3
LM
135742015-04-14 Luis Machado <lgustavo@codesourcery.com>
13575
13576 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13577
0ff6fcb2
LM
135782015-04-13 Luis Machado <lgustavo@codesourcery.com>
13579
13580 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13581 to write to the .text section.
13582
7578d5f7
LM
135832015-04-13 Luis Machado <lgustavo@codesourcery.com>
13584
13585 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13586 Handle the case of targets that do not provide PID information.
13587
2efe15c4
YQ
135882015-04-13 Yao Qi <yao.qi@linaro.org>
13589
13590 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13591 and use expect instead of gdb_expect.
13592
8cd8f2f8
SDJ
135932015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13594
13595 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13596 "coredump_var_addr" to avoid naming conflict with other testcases.
13597
9ee41772
PA
135982015-04-10 Pedro Alves <palves@redhat.com>
13599
13600 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13601 gdb_test_sequence and gdb_assert.
13602
07473109
PA
136032015-04-10 Pedro Alves <palves@redhat.com>
13604
13605 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13606 test messages that don't include the breakpoint address.
13607
de3db44c
YQ
136082015-04-10 Yao Qi <yao.qi@linaro.org>
13609
13610 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13611 false for some offset and width combinations which aren't
13612 supported by linux kernel.
13613
c79d856c
PA
136142015-04-10 Pedro Alves <palves@redhat.com>
13615
13616 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13617 procedure, factored out from ...
13618 (top level): ... here. Add "set displaced-stepping" testing axis.
13619 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13620 parameter "displaced". Use it.
13621 (top level): Use foreach and add "set displaced-stepping" testing
13622 axis.
13623
ebc90b50
PA
136242015-04-10 Pedro Alves <palves@redhat.com>
13625
13626 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13627 Remove comment.
13628 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13629 both the address of the instruction that triggers the watchpoint
13630 and the address of the instruction immediately after, and use
13631 those addresses for the test. Fix comment.
13632
8f572e5c
PA
136332015-04-10 Pedro Alves <palves@redhat.com>
13634
13635 * gdb.base/sigstep.exp (breakpoint_to_handler)
13636 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13637 Test "backtrace" in handler.
13638 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13639 (top level): Add new "displaced" test axis to
13640 breakpoint_to_handler, breakpoint_to_handler_entry and
13641 breakpoint_over_handler.
13642
8d707a12
PA
136432015-04-10 Pedro Alves <palves@redhat.com>
13644
13645 PR gdb/18216
13646 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13647
ef713951
YQ
136482015-04-10 Yao Qi <yao.qi@linaro.org>
13649
13650 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13651 (test_add_rn_pc): New function.
13652 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13653 (top level): Invoke test_add_rn_pc.
13654
906d60cf
PA
136552015-04-10 Pedro Alves <palves@redhat.com>
13656
13657 PR gdb/13858
13658 * gdb.base/step-over-no-symbols.exp: New file.
13659
f2983cc3
AW
136602015-04-09 Andy Wingo <wingo@igalia.com>
13661
13662 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13663 after the Python tests.
13664
6d62641c
SDJ
136652015-04-08 Keith Seitz <keiths@redhat.com>
13666
13667 PR python/16699
13668 * gdb.python/py-completion.exp: New tests for completion.
13669 * gdb.python/py-completion.py (CompleteLimit1): New class.
13670 (CompleteLimit2): Likewise.
13671 (CompleteLimit3): Likewise.
13672 (CompleteLimit4): Likewise.
13673 (CompleteLimit5): Likewise.
13674 (CompleteLimit6): Likewise.
13675 (CompleteLimit7): Likewise.
13676
f3770638
PA
136772015-04-08 Pedro Alves <palves@redhat.com>
13678
13679 PR gdb/18214
13680 PR gdb/18216
13681 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13682 function.
13683 (main): Install it as SIGUSR1 handler.
13684 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13685 parameter. Always use "setup" as prefix. Toggle "set
13686 displaced-stepping" off/on depending on global. Don't switch to
13687 thread 1 here.
13688 (top level): Add displaced stepping "off/on" test axis. Update
13689 "setup" calls. Wrap each subtest with with_test_prefix. Test
13690 continuing with a queued signal in each thread.
13691
4496bed7
PA
136922015-04-08 Pedro Alves <palves@redhat.com>
13693
13694 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13695 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13696 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13697 Return early if running to main fails.
13698 * gdb.trace/while-stepping.exp: Likewise.
13699
b97fde92
PA
137002015-04-07 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13703 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13704 interact with inferior program.
13705
f71c18e7
PA
137062015-04-07 Pedro Alves <palves@redhat.com>
13707
13708 * lib/gdb.exp (inferior_spawn_id): New global.
13709 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13710 spawn id after processing the user code.
13711 (default_gdb_start): Set inferior_spawn_id.
13712 (send_inferior): New procedure.
13713 * lib/gdbserver-support.exp (gdbserver_start): Set
13714 inferior_spawn_id.
13715 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13716
6423214f
PA
137172015-04-07 Pedro Alves <palves@redhat.com>
13718
13719 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13720 * lib/gdbserver-support.exp (gdbserver_start): Make
13721 $server_spawn_id global.
13722 (gdbserver_start): Don't wait for gdbserver's spawn id with
13723 expect_background.
13724 (close_gdbserver): New procedure.
13725 (gdb_exit): Rename the default version and reimplement.
13726
71c0ee8c
PA
137272015-04-07 Pedro Alves <palves@redhat.com>
13728
72f4393d 13729 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13730 append the substituted item, not the original item.
13731
203bc29b
PA
137322015-04-07 Pedro Alves <palves@redhat.com>
13733
13734 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13735 gdb_expect.
13736
508a3ddf
PA
137372015-04-07 Pedro Alves <palves@redhat.com>
13738
13739 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13740 output appearing once only.
13741
9f6dbe2b
PA
137422015-04-07 Pedro Alves <palves@redhat.com>
13743
13744 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13745 that doesn't expect anything. Return early if running to main
13746 fails.
13747
337532fa
YQ
137482015-04-07 Yao Qi <yao.qi@linaro.org>
13749
13750 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13751 (child_function): Call alarm.
13752 (main): Move call to alarm into the loop.
13753 * gdb.threads/non-stop-fair-events.exp: Build program with
13754 -DTIMEOUT=$timeout.
13755
01b622d4
DE
137562015-04-06 Doug Evans <xdje42@gmail.com>
13757
13758 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13759 Fix dest parameter to board_info.
13760 (fpc_compile): Ditto.
13761 (gdb_compile_pascal): Rename dest arg to destfile.
13762
961f4160
PMR
137632015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13764
13765 * gdb.ada/funcall_ref.exp: New file.
13766 * gdb.ada/funcall_ref/foo.adb: New file.
13767
cafda597
YQ
137682015-04-02 Yao Qi <yao.qi@linaro.org>
13769
13770 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13771 is remote.
13772
fed040c6
GB
137732015-04-02 Gary Benson <gbenson@redhat.com>
13774
13775 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13776
d11916aa
SS
137772015-04-01 Sasha Smundak <asmundak@google.com>
13778
13779 * gdb.python/py-unwind-maint.c: New file.
13780 * gdb.python/py-unwind-maint.exp: New test.
13781 * gdb.python/py-unwind-maint.py: New file.
13782 * gdb.python/py-unwind.c: New file.
13783 * gdb.python/py-unwind.exp: New test.
13784 * gdb.python/py-unwind.py: New test.
13785
a1471180
PA
137862015-04-01 Pedro Alves <palves@redhat.com>
13787
13788 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13789 to fail instead of non-existent $test.
13790
0bbeccb1
PA
137912015-04-01 Pedro Alves <palves@redhat.com>
13792
13793 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13794 GDBFLAGS if not empty.
13795
3c724c8c
PMR
137962015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13797
13798 * gdb.ada/complete.exp: Remove "multi_line".
13799 * gdb.ada/info_exc.exp: Remove "multi_line".
13800 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13801 * gdb.ada/ptype_field.exp: Remove "multi_line".
13802 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13803 * gdb.ada/tagged.exp: Remove "multi_line".
13804 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13805 [multi_line ...]
13806 * gdb.btrace/delta.exp: Likewise.
13807 * gdb.btrace/exception.exp: Likewise.
13808 * gdb.btrace/function_call_history.exp: Likewise.
13809 * gdb.btrace/instruction_history.exp: Likewise.
13810 * gdb.btrace/nohist.exp: Likewise.
13811 * gdb.btrace/record_goto.exp: Likewise.
13812 * gdb.btrace/segv.exp: Likewise.
13813 * gdb.btrace/stepi.exp: Likewise.
13814 * gdb.btrace/tailcall.exp: Likewise.
13815 * gdb.btrace/unknown_functions.exp: Likewise.
13816 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13817 * lib/gdb.exp: Add the "multi_line" helper.
13818
4eec2deb
PA
138192015-04-01 Pedro Alves <palves@redhat.com>
13820
13821 * gdb.threads/tid-reuse.c: New file.
13822 * gdb.threads/tid-reuse.exp: New file.
13823
df8411da
SDJ
138242015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13825
13826 PR corefiles/16092
13827 * gdb.base/coredump-filter.c: New file.
13828 * gdb.base/coredump-filter.exp: Likewise.
13829
6ef37366
PM
138302015-03-27 Petr Machata <pmachata@redhat.com>
13831
13832 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13833 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13834 (Dwarf::assemble): Initialize them.
13835 (Dwarf::lines): New function.
13836
7ec911b0
JT
138372015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13838
13839 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13840 SYMBOL_PREFIX for x86_64-*-cygwin.
13841
ff908ebf
AW
138422015-03-26 Andy Wingo <wingo@igalia.com>
13843
13844 PR symtab/18148
13845 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13846 const_value but not a location.
13847 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13848 location defined in non-main CUs are visible.
13849
6d5f0679
YQ
138502015-03-26 Yao Qi <yao.qi@linaro.org>
13851
13852 PR testsuite/18139
13853 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13854 Add a line number entry for the same line.
13855 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13856 Add a line number entry for the same line.
13857
2898689b
YQ
138582015-03-26 Yao Qi <yao.qi@linaro.org>
13859
13860 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13861 .int 0.
13862 (func): Likewise. Add .Lfunc_1 label.
13863 Use .Lfunc_1 label.
13864 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13865 .int 0.
13866 (func): Likewise.
13867 Use .Lfunc_1 label.
13868
85180498
YQ
138692015-03-26 Yao Qi <yao.qi@linaro.org>
13870
13871 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13872 Call gdb_compile instead to compile each .s files without debug
13873 information.
13874
8aa08a8d
YQ
138752015-03-26 Yao Qi <yao.qi@linaro.org>
13876
13877 * gdb.base/savedregs.exp (process_saved_regs): Make
13878 "Saved registers:" optional in the pattern.
13879
66849923
MM
138802015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13881
13882 * gdb.btrace/next.exp: Merged into step.exp.
13883 * gdb.btrace/finish.exp: Merged into step.exp.
13884 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13885 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13886 "record goto" and checking the exact replay position.
13887 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13888 check for "Recording format" in "info record" output.
13889 * gdb.btrace/record_goto.exp: Choose test file based on target.
13890 * gdb.btrace/x86-record_goto.S: Renamed into ...
13891 * gdb.btrace/x86_64-record_goto.S: ... this.
13892 * gdb.btrace/i686-record_goto.S: New.
13893 * gdb.btrace/x86-tailcall.S: Renamed into ...
13894 * gdb.btrace/x86_64-tailcall.S: ... this.
13895 * gdb.btrace/i686-tailcall.S: New.
13896 * gdb.btrace/x86-tailcall.c: Renamed into ...
13897 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13898 separate statements. Update test.
13899 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13900 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13901 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13902 * gdb.btrace/tailcall.exp: Choose test file based on target.
13903 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13904
11cc1b74
MM
139052015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13906
13907 * gdb.btrace/exception.exp: Increase BTS buffer size.
13908
a25d8bf9
PA
139092015-03-24 Pedro Alves <palves@redhat.com>
13910
13911 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13912
856e7dd6
PA
139132015-03-24 Pedro Alves <palves@redhat.com>
13914
13915 * gdb.threads/schedlock.exp (test_step): No longer expect that
13916 "set scheduler-locking step" with "next" over a function call runs
13917 threads unlocked.
13918
ad235a41
AT
139192015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13920
13921 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13922
15630549
AT
139232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13924
13925 PR breakpoints/16466
13926 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13927 * gdb.mi/mi-pending.c (thread_func): New function.
13928 (int main): Add threading support required.
13929 * gdb.mi/mi-pending.exp: Add tests for this issue.
13930 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13931 (pendfunc2): Remove stdio dependency.
13932 * gdb.mi/mi-pendshr2.c: New file.
13933
693dca06
KS
139342015-03-23 Keith Seitz <keiths@redhat.com>
13935
13936 * gdb.linespec/keywords.c: New file.
13937 * gdb.linespec/keywords.exp: New file.
13938
7e993ebf
KS
139392015-03-23 Keith Seitz <keiths@redhat.com>
13940
13941 PR gdb/18021
13942 * gdb.dwarf2/staticvirtual.exp: New test.
13943
bc23328c
JK
139442015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13945
13946 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13947 * README: Remove HP-UX and gdb.hp.
13948 (configuration):
13949 * configure: Regenerate.
13950 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13951 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13952 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13953 gdb.hp/gdb.defects/Makefile.
13954 * gdb.hp/Makefile.in: File deleted.
13955 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13956 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13957 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13958 * gdb.hp/gdb.aCC/run.c: File deleted.
13959 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13960 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13961 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13962 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13963 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13964 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13965 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13966 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13967 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13968 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13969 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13970 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13971 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13972 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13973 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13974 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13975 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13976 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13977 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13978 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13979 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13980 * gdb.hp/gdb.compat/average.c: File deleted.
13981 * gdb.hp/gdb.compat/sum.c: File deleted.
13982 * gdb.hp/gdb.compat/xdb.c: File deleted.
13983 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13984 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13985 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13986 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13987 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13988 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13989 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13990 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13991 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13992 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13993 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13994 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13995 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13996 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13997 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13998 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13999 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14000 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14001 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14002 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14003 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14004 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14005 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14006 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14007 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14008 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14009 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14010 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14011 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14012 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14013 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14014 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14015 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14016 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14017 * gdb.hp/tools/odump: File deleted.
14018
8bf3b159
PA
140192015-03-19 Pedro Alves <palves@redhat.com>
14020
14021 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14022 (saw_thread_3): New globals.
14023 (top level): Increment them when an event for the corresponding
14024 thread is seen.
14025 (no thread starvation): New test.
14026
eb54c8bf
PA
140272015-03-19 Pedro Alves <palves@redhat.com>
14028
14029 * gdb.threads/continue-pending-status.c: New file.
14030 * gdb.threads/continue-pending-status.exp: New file.
14031
32d2e5d6
PA
140322015-03-18 Pedro Alves <palves@redhat.com>
14033
14034 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14035 Use gdb_is_target_remote instead of is_remote. Use
14036 gdb_test_multiple instead of gdb_expect. Exit early if
14037 gdb_test_multiple hits its internal matches. Tighten stepi tests
14038 expected output. Fail on exit with any signal, instead of just
14039 SIGILL.
14040
f68f11b7
YQ
140412015-03-18 Yao Qi <yao.qi@linaro.org>
14042
14043 PR tdep/18107
14044 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14045 variable.
14046 * gdb.base/catch-syscall.exp: Don't skip it on
14047 aarch64*-*-linux* target. Remove elements in all_syscalls.
14048 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14049 target.
14050 (setup_all_syscalls): New proc.
14051
ca5fd19b
YQ
140522015-03-16 Yao Qi <yao.qi@linaro.org>
14053
14054 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14055 (top level): Skip tests if valid_addr_p returns false for
14056 $cmd1 or $cmd2.
14057
85642ba0
AW
140582015-03-11 Andy Wingo <wingo@igalia.com>
14059
14060 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14061
e03f9645
YQ
140622015-03-11 Yao Qi <yao.qi@linaro.org>
14063
14064 * gdb.base/catch-syscall.exp: Fix typo in comments.
14065
5d0962b2
YQ
140662015-03-11 Yao Qi <yao.qi@linaro.org>
14067
14068 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14069
b2df3cef
PA
140702015-03-09 Pedro Alves <palves@redhat.com>
14071
14072 * dg-extract-results.py: Delete.
14073
ef878e53
PA
140742015-03-09 Pedro Alves <palves@redhat.com>
14075
14076 Merge dg-extract-results.sh from GCC upstream (r218843).
14077
14078 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14079 * dg-extract-results.sh: Use --text with grep to avoid issues with
14080 binary files. Fall back to cat -v, if that doesn't work.
14081
9494d219
PA
140822015-03-05 Pedro Alves <palves@redhat.com>
14083
14084 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14085
a8d9763a
SM
140862015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14087
14088 * lib/mi-support.exp (mi_expect_interrupt): Accept
14089 alternative event for when in all-stop mode.
14090
be9957b8
PA
140912015-03-04 Pedro Alves <palves@redhat.com>
14092
14093 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14094
d57be0f4 140952015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14096
14097 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14098
c214c7cf
AA
140992015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14100
14101 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14102 regexps for GDB's current line display, accept a hex address
14103 preceding the line number.
14104
6d74a497
AA
141052015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14106
14107 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14108 the 'arch1' variable for "s390*-linux*" targets.
14109
511aee7c
PA
141102015-03-04 Pedro Alves <palves@redhat.com>
14111
14112 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14113 (main): Pass missing retval argument to pthread_join call.
14114
95e50b27
PA
141152015-03-02 Pedro Alves <palves@redhat.com>
14116
14117 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14118 (top level): Call do_test with non-stop as well.
14119
28054d69
PA
141202015-03-02 Pedro Alves <palves@redhat.com>
14121
14122 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14123 -1.
14124
4fa5d7b4
AA
141252015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14126
14127 * gdb.arch/s390-vregs.exp: New test.
14128 * gdb.arch/s390-vregs.S: New file.
14129
97c18565
PA
141302015-02-27 Pedro Alves <palves@redhat.com>
14131
14132 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14133 call to catch_command_errors.
14134 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14135 catch_command_errors.
14136
a37bfa30
PA
141372015-02-27 Pedro Alves <palves@redhat.com>
14138
14139 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14140 "true" for boolean result.
14141 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14142 prototype of main.
14143
6f98576f
PA
141442015-02-27 Pedro Alves <palves@redhat.com>
14145
14146 * lib/unbuffer_output.c: New file.
14147 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14148 (main): Call gdb_unbuffer_output.
14149
eba5ab56
YQ
141502015-02-27 Yao Qi <yao.qi@linaro.org>
14151
14152 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14153 target.
14154
0def5aaa
DE
141552015-02-26 Doug Evans <dje@google.com>
14156
14157 * gdb.cp/class2.cc (Dbase, D): New classes.
14158 (main): New local delta.
14159 * gdb.cp/class2.exp: Test printing delta.
14160 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14161 (dynbar): New global.
14162 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14163
081a1c2c
JK
141642015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14165
14166 * gdb.compile/compile-ifunc.c: New file.
14167 * gdb.compile/compile-ifunc.exp: New file.
14168
2f41223f
AT
141692015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14170
14171 * gdb.base/structs.exp: Check for correct struct on finish.
14172
03eddd80
YQ
141732015-02-26 Yao Qi <yao.qi@linaro.org>
14174
14175 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14176 is zero.
14177
80c57053
JK
141782015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14179
14180 * gdb.arch/cordic.ko.bz2: New file.
14181 * gdb.arch/cordic.ko.debug.bz2: New file.
14182 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14183
21613c12
YQ
141842015-02-25 Yao Qi <yao.qi@linaro.org>
14185
14186 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14187 aarch64*-*-* target.
14188
d8b901ed
PA
141892015-02-23 Pedro Alves <palves@redhat.com>
14190
14191 * lib/gdb.exp (delete_breakpoints): Rewrite using
14192 gdb_test_multiple.
14193
e5b85ead
PA
141942015-02-23 Pedro Alves <palves@redhat.com>
14195
14196 * gdb.base/info-os.c: Include stdlib.h.
14197
85c3a371
DE
141982015-02-22 Doug Evans <xdje42@gmail.com>
14199
14200 PR symtab/17855
14201 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14202 is read after symbols have been re-read.
14203 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14204 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14205
96553a0c
DE
142062015-02-21 Doug Evans <dje@google.com>
14207
14208 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14209
97a0c697
JK
142102015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14211
14212 PR corefiles/17808
14213 * gdb.arch/i386-biarch-core.core.bz2: New file.
14214 * gdb.arch/i386-biarch-core.exp: New file.
14215
a47cd6e9
PA
142162015-02-21 Pedro Alves <palves@redhat.com>
14217
14218 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14219 runto_main fails.
14220
c5facdc4
PA
142212015-02-20 Pedro Alves <palves@redhat.com>
14222
14223 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14224 info probes.
14225
2db9a427
PA
142262015-02-20 Pedro Alves <palves@redhat.com>
14227
14228 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14229
60fb7e9e
PA
142302015-02-20 Pedro Alves <palves@redhat.com>
14231
14232 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14233 clean_restart before gdb_target_supports_trace.
14234
5c5019c2
PA
142352015-02-20 Pedro Alves <palves@redhat.com>
14236
14237 PR threads/18006
14238 * gdb.threads/clone-thread_db.c: New file.
14239 * gdb.threads/clone-thread_db.exp: New file.
14240
c9587f88
AT
142412015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14242
14243 PR breakpoints/16812
14244 * gdb.base/catch-gdb-caused-signals.c: New file.
14245 * gdb.base/catch-gdb-caused-signals.exp: New file.
14246
f6a88844
JM
142472015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14248
14249 * configure: Regenerated.
14250 * configure.ac: Use GDB_AC_TRANSFORM.
14251 * aclocal.m4: sinclude ../transform.m4.
14252
497c491b
JM
142532015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14254
14255 * lib/dtrace.exp: New file.
14256 * gdb.base/dtrace-probe.exp: Likewise.
14257 * gdb.base/dtrace-probe.d: Likewise.
14258 * gdb.base/dtrace-probe.c: Likewise.
14259 * lib/pdtrace.in: Likewise.
14260 * configure.ac: Output variables with the transformed names of
14261 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14262 * configure: Regenerated.
14263
03e98035
JM
142642015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14265
14266 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14267 expected message when trying to access $_probe_* convenience
14268 variables while not on a probe.
14269
63cc30e9
JK
142702015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14271
14272 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14273
0703599a
PA
142742015-02-11 Pedro Alves <pedro@codesourcery.com>
14275
14276 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14277 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14278
7e60a48e
DE
142792015-02-10 Doug Evans <xdje42@gmail.com>
14280
14281 * lib/gdb.exp (gdb_load): Always return a result.
14282
01b088bc
PA
142832015-02-10 Pedro Alves <palves@redhat.com>
14284
14285 * gdb.threads/signal-sigtrap.c: New file.
14286 * gdb.threads/signal-sigtrap.exp: New file.
14287
b05ec7a5
AT
142882015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14289
14290 * gdb.trace/no-attach-trace.c: New file.
14291 * gdb.trace/no-attach-trace.exp: New file.
14292
a2c2acaf
MW
142932015-02-09 Mark Wielaard <mjw@redhat.com>
14294
14295 * gdb.dwarf2/atomic.c: New file.
14296 * gdb.dwarf2/atomic-type.exp: Likewise.
14297
31fd9caa
MM
142982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14299
14300 * gdb.btrace/buffer-size.exp: Update "info record" output.
14301 * gdb.btrace/delta.exp: Update "info record" output.
14302 * gdb.btrace/enable.exp: Update "info record" output.
14303 * gdb.btrace/finish.exp: Update "info record" output.
14304 * gdb.btrace/instruction_history.exp: Update "info record" output.
14305 * gdb.btrace/next.exp: Update "info record" output.
14306 * gdb.btrace/nexti.exp: Update "info record" output.
14307 * gdb.btrace/step.exp: Update "info record" output.
14308 * gdb.btrace/stepi.exp: Update "info record" output.
14309 * gdb.btrace/nohist.exp: Update "info record" output.
14310
d33501a5
MM
143112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14312
14313 * gdb.btrace/buffer-size: New.
14314
f4abbc16
MM
143152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14316
14317 * gdb.btrace/delta.exp: Update "info record" output.
14318 * gdb.btrace/enable.exp: Update "info record" output.
14319 * gdb.btrace/finish.exp: Update "info record" output.
14320 * gdb.btrace/instruction_history.exp: Update "info record" output.
14321 * gdb.btrace/next.exp: Update "info record" output.
14322 * gdb.btrace/nexti.exp: Update "info record" output.
14323 * gdb.btrace/step.exp: Update "info record" output.
14324 * gdb.btrace/stepi.exp: Update "info record" output.
14325 * gdb.btrace/nohist.exp: Update "info record" output.
14326
b9d61307
SM
143272015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14328
14329 PR gdb/15678
14330 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14331
e584fdbc
PA
143322015-02-06 Pedro Alves <palves@redhat.com>
14333
14334 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14335 macro.
14336 (seconds_left, again): New globals.
14337 (main): Wait seconds_left in a 1-second sleep loop instead of
14338 sleeping 180 seconds. If 'again' is set, reset the seconds
14339 counter.
14340 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14341 'again' in the inferior before detaching. Print the seconds left.
14342 (options): New global.
14343 (top level): Build program with -DTIMEOUT=$timeout.
14344
77f41761
PA
143452015-02-06 Pedro Alves <palves@redhat.com>
14346
14347 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14348 determine how many seconds to pass to 'alarm'.
14349 * gdb.base/gdb-sigterm.exp (top level): Build program with
14350 -DTIMEOUT=$timeout.
14351 (do_test): Return success/failure indication. Add more verbose
14352 logging. Don't fail if 200 single steps are seen. Instead, fail
14353 when the test times out.
14354 (passes): New global.
14355 (top level): Break the testing loop if testing fails on any
14356 iteration. Use gdb_assert.
14357
b9394193
DB
143582015-02-04 Don Breazeal <donb@codesourcery.com>
14359
14360 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14361 and initialize them.
14362 (ipc_cleanup): New function.
14363 (main): Don't declare shmid, semid, and msqid. Add a call to
14364 atexit so that we call ipc_cleanup on exit.
14365
42d9e528
PA
143662015-02-04 Pedro Alves <palves@redhat.com>
14367
14368 * boards/native-extended-gdbserver.exp: Remove any target variant
14369 specifications from the board name before clearing the isremote
14370 flag from board_info.
14371
ae6ae975
DE
143722015-01-31 Doug Evans <xdje42@gmail.com>
14373
14374 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14375
cfb069a8
GB
143762015-01-31 Gary Benson <gbenson@redhat.com>
14377
14378 * gdb.base/completion.exp: Disable completion limiting for
14379 existing tests. Add new tests to check completion limiting.
14380 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14381
5dd31d79
DE
143822015-01-31 Doug Evans <xdje42@gmail.com>
14383
14384 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14385
9f050062
DE
143862015-01-31 Doug Evans <xdje42@gmail.com>
14387
14388 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14389 entries. Duplicate file section script entries.
14390 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14391 inlined entries. Add test for safe-path rejection.
14392 * gdb.python/py-section-script.c: Add duplicate inlined section script
14393 entries. Duplicate file section script entries.
14394 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14395 inlined entries. Add test for safe-path rejection.
14396
df25ebbd
JB
143972015-01-29 Joel Brobecker <brobecker@adacore.com>
14398
14399 * gdb.ada/disc_arr_bound: New testcase.
14400
4a0ca9ec
JB
144012015-01-29 Joel Brobecker <brobecker@adacore.com>
14402
14403 * gdb.ada/mi_var_array: New testcase.
14404
3a8b707a
DE
144052015-01-27 Doug Evans <dje@google.com>
14406
14407 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14408 Add test for objfile.filename, objfile.username after objfile
14409 has been unloaded.
14410
f8313f6e
JB
144112015-01-26 Joel Brobecker <brobecker@adacore.com>
14412
14413 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14414 the second test to print the name attribute of value
14415 returned by the call to gdb.lookup_type, and adjust
14416 the expected output accordingly.
14417
37bc665e
MW
144182015-01-25 Mark Wielaard <mjw@redhat.com>
14419
14420 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14421 * gdb.base/disp-step-fork.c: Include unistd.h.
14422 * gdb.base/siginfo-obj.c: Include stdio.h.
14423 * gdb.base/siginfo-thread.c: Likewise.
14424 * gdb.mi/non-stop.c: Include unistd.h.
14425 * gdb.mi/nsthrexec.c: Include stdio.h.
14426 * gdb.mi/pthreads.c: Include unistd.h.
14427 * gdb.modula2/unbounded1.c (main): Declare returns int.
14428 * gdb.reverse/consecutive-reverse.c: Likewise.
14429 * gdb.threads/create-fail.c: Include unistd.h.
14430 * gdb.threads/killed.c: Likewise.
14431 * gdb.threads/linux-dp.c: Likewise.
14432 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14433 * gdb.threads/non-ldr-exc-2.c: Likewise.
14434 * gdb.threads/non-ldr-exc-3.c: Likewise.
14435 * gdb.threads/non-ldr-exc-4.c: Likewise.
14436 * gdb.threads/pthreads.c: Include unistd.h.
14437 (main): Declare returns int.
14438 * gdb.threads/tls-main.c (foo): New declaration.
14439 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14440
f7e5394d
SM
144412015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14442
14443 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14444 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14445
743649fd
MW
144462015-01-15 Mark Wielaard <mjw@redhat.com>
14447
14448 * gdb.base/noreturn-return.c: New file.
14449 * gdb.base/noreturn-return.exp: New file.
14450 * gdb.base/noreturn-finish.c: New file.
14451 * gdb.base/noreturn-finish.exp: New file.
14452
198297aa
PA
144532015-01-23 Pedro Alves <palves@redhat.com>
14454
14455 * gdb.threads/continue-pending-after-query.c: New file.
14456 * gdb.threads/continue-pending-after-query.exp: New file.
14457
717cf30c
AG
144582015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14459 Simon Marchi <simon.marchi@ericsson.com>
14460
14461 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14462 * gdb.base/valgrind-db-attach.exp: Same.
14463 * gdb.base/valgrind-infcall.exp: Same.
14464 * lib/mi-support.exp (default_mi_gdb_start): Same.
14465 * lib/prompt.exp (default_prompt_gdb_start): Same.
14466 * lib/gdb.exp (default_gdb_spawn): Same.
14467 (gdb_interact): New.
14468
14469
4b62a76e
JK
144702015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14471
14472 * gdb.compile/compile.exp (pointer to jit function): New test.
14473
b4cdae6f
WW
144742015-01-17 Wei-cheng Wang <cole945@gmail.com>
14475
14476 * lib/gdb.exp (supports_process_record): Return true for
14477 powerpc*-*-linux*.
14478 (supports_reverse): Likewise.
14479
d221e7ef
DB
144802015-01-15 Don Breazeal <donb@codesourcery.com>
14481
14482 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14483 instead of checking whether the target board is remote and
14484 use spawn_wait_for_attach instead of exec/sleep.
14485 * gdb.base/attach-twice.exp: Likewise.
14486
bafffb51
JB
144872015-01-15 Joel Brobecker <brobecker@adacore.com>
14488
14489 * gdb.ada/var_arr_attrs: New testcase.
14490
5589af0e
PA
144912015-01-14 Pedro Alves <palves@redhat.com>
14492 Joel Brobecker <brobecker@adacore.com>
14493
14494 PR gdb/17525
14495 * gdb.base/bp-cmds-execution-x-script.c: New file.
14496 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14497 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14498
6c400b59
PA
144992015-01-14 Pedro Alves <palves@redhat.com>
14500
14501 PR cli/17828
14502 * gdb.base/batch-preserve-term-settings.c: New file.
14503 * gdb.base/batch-preserve-term-settings.exp: New file.
14504
e02c96a7
DE
145052015-01-13 Doug Evans <dje@google.com>
14506
14507 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14508 binary.
14509
576fd14c
JB
145102015-01-13 Joel Brobecker <brobecker@adacore.com>
14511
14512 * Makefile.in (clean mostlyclean): Do not delete *.py.
14513
04dccad0
JB
145142015-01-13 Joel Brobecker <brobecker@adacore.com>
14515
14516 * gdb.python/py-lookup-type.exp: New file.
14517
3d230f71
PA
145182015-01-12 Pedro Alves <palves@redhat.com>
14519
14520 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14521 restore GDBFLAGS before returning.
14522
7e67715d
JK
145232015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14524
14525 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14526 is_amd64_regs_target and is_x86_like_target.
14527
f2e0d4b4
DE
145282015-01-11 Doug Evans <xdje42@gmail.com>
14529
14530 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14531 is given without an explicit form.
14532 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14533 attributes.
14534 * gdb.dwarf/corrupt.exp: Ditto.
14535 * gdb.dwarf2/enum-type.exp: Ditto.
14536 * gdb.trace/entry-values.exp: Ditto.
14537 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14538
439250fb
DE
145392015-01-11 Doug Evans <xdje42@gmail.com>
14540
14541 PR gdb/15830
14542 * gdb.base/maint.exp: Remove references to "maint demangle".
14543 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14544 Add tests for explicitly specifying language to demangle.
14545 * gdb.dlang/demangle.exp: Ditto.
14546
ede9f622
PA
145472015-01-09 Pedro Alves <palves@redhat.com>
14548
14549 * gdb.threads/non-stop-fair-events.c: New file.
14550 * gdb.threads/non-stop-fair-events.exp: New file.
14551
a7b796db
PA
145522015-01-09 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14555 the global scope. Set a breakpoint after all threads are started
14556 rather than stepping over two source lines. Expect the prompt.
14557 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14558 global.
14559 (NUM): Now 15.
14560 (main): Use threads_started_barrier to wait for all threads to
14561 start. Main thread no longer calls thread_function. Exit after
14562 180 seconds.
14563 (loop): New function.
14564 (thread_function): Wait on threads_started_barrier barrier. Call
14565 'loop' at each iteration.
14566 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14567 threads have started, instead of hardcoding number of "next"
14568 steps. Use an access watchpoint instead of a write watchpoint.
14569
9665ffdd
PA
145702015-01-09 Pedro Alves <palves@redhat.com>
14571
14572 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14573 (thread_func): Wait on barrier.
14574 (main): Wait for all threads to start before stopping GDB.
14575 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14576 global.
14577 (thread1_func, thread2_func): Wait on barrier.
14578 (main): Wait for all threads to start before stopping GDB.
14579 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14580 New global.
14581 (thread1_func, thread2_func): Wait on barrier.
14582 (main): Wait for all threads to start before stopping GDB.
14583
c945a99f
PA
145842015-01-09 Pedro Alves <palves@redhat.com>
14585
14586 * gdb.threads/attach-many-short-lived-threads.c: New file.
14587 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14588
c1a747c1
PA
145892014-01-09 Pedro Alves <palves@redhat.com>
14590
14591 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14592 instead of to thread 2.
14593 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14594 Add barrier around each pthread_create call instead of around all
14595 calls.
14596 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14597 Set a break on thread_function and have the child threads hit it
14598 one at at a time.
14599
60b3033e
PA
146002015-01-09 Pedro Alves <palves@redhat.com>
14601
14602 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14603 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14604 false.
14605 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14606 checking whether the target board is remote.
14607 * gdb.multi/multi-attach.exp: Likewise.
14608 * gdb.python/py-sync-interp.exp: Likewise.
14609 * gdb.server/ext-attach.exp: Likewise.
14610 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14611 tests that need to attach, instead of checking whether the target
14612 board is remote at the top of the file.
14613
acc018ac
YQ
146142015-01-08 Yao Qi <yao@codesourcery.com>
14615
14616 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14617
50a18af8
JK
146182015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14619
14620 Fix testcase compilation.
14621 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14622
8503d6e1
JB
146232015-01-06 Joel Brobecker <brobecker@adacore.com>
14624
14625 * gdb.python/py-type.exp: Add a couple test about empty
14626 array creation, and negative-length array creation.
14627
cc73dbcc
DE
146282015-01-02 Doug Evans <xdje42@gmail.com>
14629
14630 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14631
0300bbc7
DE
146322015-01-02 Doug Evans <dje@google.com>
14633
14634 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14635
9d85a0ec
YQ
146362014-12-29 Yao Qi <yao@codesourcery.com>
14637
14638 * gdb.trace/entry-values.exp: Update comments. Rename variable
14639 bar_call_foo to returned_from_foo.
14640
87186c6a
MMN
146412014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14642
14643 PR gdb/17394
14644 * gdb.linespec/break-asm-file.c: New file.
14645 * gdb.linespec/break-asm-file.exp: New file.
14646 * gdb.linespec/break-asm-file0.s: New file.
14647 * gdb.linespec/break-asm-file1.s: New file.
14648
1bab7383
YQ
146492014-12-18 Nigel Stephens <nigel@mips.com>
14650 Maciej W. Rozycki <macro@codesourcery.com>
14651
14652 * gdb.base/float.exp: Handle the new output from "info float" on
14653 MIPS targets.
14654
1bc1068a
JK
146552014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14656
14657 Fix MinGW compilation.
14658 * gdb.compile/compile-ops.exp: Update untested message if
14659 !skip_compile_feature_tests.
14660 * gdb.compile/compile-setjmp.exp: Likewise.
14661 * gdb.compile/compile-tls.exp: Likewise.
14662 * gdb.compile/compile.exp: Likewise.
14663 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14664 supported on this host".
14665
b6615d10
DE
146662014-12-16 Doug Evans <xdje42@gmail.com>
14667
14668 * boards/stabs.exp: New file.
14669
25dda427
AA
146702014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14671
14672 * gdb.base/completion.exp: Adjust to format changes of "maint
14673 print user-registers".
14674
bf330350
CU
146752014-12-16 Catalin Udma <catalin.udma@freescale.com>
14676
14677 PR server/17457
14678 * gdb.arch/aarch64-fp.c: New file.
14679 * gdb.arch/aarch64-fp.exp: New file.
14680
395cf596
SDJ
146812014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14682
14683 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14684 r210637, r210913, r211666, r215400, r215817).
14685
14686 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14687 * dg-extract-results.py: New file.
14688 * dg-extract-results.sh: Use it if the environment seems
14689 suitable.
14690
14691 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14692
14693 * dg-extract-results.py (parse_run): Handle warnings that
14694 are printed before a test harness is run.
14695
14696 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14697
14698 * dg-extract-results.py (Named): Remove __cmp__ method.
14699 (output_variation): Use a key to sort variation.harnesses.
14700
14701 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14702
14703 * dg-extract-results.py: For Python 3, force sys.stdout to
14704 handle surrogate escape sequences.
14705 (safe_open): New function.
14706 (output_segment, main): Use it.
14707
14708 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14709
14710 * dg-extract-results.py (Prog.result_re): Include options
14711 in test name.
14712
14713 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14714
14715 * dg-extract-results.py (output_variation): Always sort if
14716 do_sum.
14717
e882ef3c
SM
147182014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14719
14720 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14721 as long as we get pagination notifications.
14722
4992aa20
JM
147232014-12-15 Jason Merrill <jason@redhat.com>
14724
14725 * Makefile.in (check-gdb.%): Restore.
14726 * README: Mention it.
14727
c1b5a1a6
JB
147282014-12-13 Joel Brobecker <brobecker@adacore.com>
14729
14730 * gdb.ada/str_uninit: New testcase.
14731
5537b577
JK
147322014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14733
14734 PR symtab/17642
14735 * gdb.base/vla-stub-define.c: New file.
14736 * gdb.base/vla-stub.c: New file.
14737 * gdb.base/vla-stub.exp: New file.
14738
bb2ec1b3
TT
147392014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14740 Jan Kratochvil <jan.kratochvil@redhat.com>
14741 Tom Tromey <tromey@redhat.com>
14742
14743 * configure.ac: Add gdb.compile/.
14744 * configure: Regenerate.
14745 * gdb.compile/Makefile.in: New file.
14746 * gdb.compile/compile-ops.exp: New file.
14747 * gdb.compile/compile-ops.c: New file.
14748 * gdb.compile/compile-tls.c: New file.
14749 * gdb.compile/compile-tls.exp: New file.
14750 * gdb.compile/compile-constvar.S: New file.
14751 * gdb.compile/compile-constvar.c: New file.
14752 * gdb.compile/compile-mod.c: New file.
14753 * gdb.compile/compile-nodebug.c: New file.
14754 * gdb.compile/compile-setjmp-mod.c: New file.
14755 * gdb.compile/compile-setjmp.c: New file.
14756 * gdb.compile/compile-setjmp.exp: New file.
14757 * gdb.compile/compile-shlib.c: New file.
14758 * gdb.compile/compile.c: New file.
14759 * gdb.compile/compile.exp: New file.
14760 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14761
4ff709eb
TT
147622014-12-12 Tom Tromey <tromey@redhat.com>
14763
14764 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14765 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14766
6dddd6a5
DE
147672014-12-12 Doug Evans <dje@google.com>
14768
14769 * lib/gdb-python.exp (get_python_valueof): New function.
14770 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14771
71c24708
AA
147722014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14773
14774 * gdb.base/completion.exp: Add test for completion of "info
14775 registers ".
14776
3e29f34a
MR
147772014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14778
14779 * gdb.base/func-ptrs.c: New file.
14780 * gdb.base/func-ptrs.exp: New file.
14781
fc126975
SM
147822014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14783
14784 PR breakpoints/17012
14785 * gdb.base/dprintf-detach.c: New file.
14786 * gdb.base/dprintf-detach.exp: New file.
14787
0a46d518
SM
147882014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14789
14790 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14791 * lib/gdb.exp (target_is_gdbserver): New procedure.
14792
a0be3e44
DE
147932014-12-08 Doug Evans <dje@google.com>
14794
14795 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14796
df1b803a
YQ
147972014-12-05 Yao Qi <yao@codesourcery.com>
14798
14799 * gdb.guile/scm-error.exp: Remove the third argument to
14800 gdb_remote_download.
14801 * gdb.guile/scm-frame-args.exp: Likewise.
14802 * gdb.guile/scm-section-script.exp: Likewise.
14803
ddb9f679
YQ
148042014-12-05 Yao Qi <yao@codesourcery.com>
14805
14806 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14807
86e4ed39
DE
148082014-12-04 Doug Evans <dje@google.com>
14809
14810 * gdb.python/py-objfile.exp: Add tests for
14811 objfile.add_separate_debug_file.
14812
7c50a931
DE
148132014-12-04 Doug Evans <dje@google.com>
14814
14815 * lib/gdb.exp (get_build_id): New function.
14816 (build_id_debug_filename_get): Rewrite to use it.
14817 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14818
621661e3
MR
148192014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14820
14821 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14822 `method(long)', not just 0x0.
14823 * gdb.cp/nsalias.exp: Align code labels to 4.
14824 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14825 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14826 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14827 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14828 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14829 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14830
29f0c3b7
DE
148312014-12-02 Doug Evans <dje@google.com>
14832
e1e061e7 14833 PR symtab/17602
29f0c3b7 14834 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 14835 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
14836 * gdb.cp/anon-ns.exp: Update.
14837
162078c8
NB
148382014-12-02 Nick Bull <nicholaspbull@gmail.com>
14839
14840 * gdb.python/py-events.py (inferior_call_handler): New.
14841 (register_changed_handler, memory_changed_handler): New.
14842 (test_events.invoke): Register new handlers.
14843 * gdb.python/py-events.exp: Add tests for inferior call,
14844 memory_changed and register_changed events.
14845
fdb09caf
AA
148462014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14847
14848 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14849 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14850 if the linker doesn't understand this.
14851
55cfb2c4
SM
148522014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14853
14854 * gdb.python/python.exp: Change expected reply to help().
14855
9e8cd6df
YQ
148562014-12-01 Yao Qi <yao@codesourcery.com>
14857
14858 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14859 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14860 * configure: Re-generated.
14861
6c659fc2
SC
148622014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14863
14864 * gdb.cp/chained-calls.cc: New file.
14865 * gdb.cp/chained-calls.exp: New file.
14866 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14867
d7fc3181
SM
148682014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14869
14870 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14871 * gdb.dwarf2/symtab-producer.exp: Same.
14872 * gdb.gdb/python-interrupts.exp: Same.
14873 * gdb.gdb/python-selftest.exp: Same.
14874 * gdb.python/py-linetable.exp: Same.
14875 * gdb.python/py-type.exp: Same.
14876 * gdb.python/py-value-cc.exp: Same.
14877 * gdb.python/py-value.exp: Same.
14878
10e79639
YQ
148792014-11-28 Yao Qi <yao@codesourcery.com>
14880
14881 * gdb.base/break-probes.exp: Match library name prefixed with
14882 sysroot.
14883
f28a0564
SM
148842014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14885
14886 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14887 test expected output. Add parentheses for the call to print.
14888 Remove L suffix from integers.
14889
3fe1ce1d
DE
148902014-11-26 Doug Evans <dje@google.com>
14891
14892 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14893
84429e27
YQ
148942014-11-22 Yao Qi <yao@codesourcery.com>
14895
14896 * gdb.trace/entry-values.c: Remove asms.
14897 (foo): Add foo_label.
14898 (bar): Add bar_label.
14899 * gdb.trace/entry-values.exp: Remove code computing foo's
14900 length and bar's length.
14901 (Dwarf::assemble): Invoke function_range for bar and use
14902 MACRO_AT_func for foo.
14903
26741859
YQ
149042014-11-22 Yao Qi <yao@codesourcery.com>
14905
14906 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14907 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14908 Use .Lgcc43_procstart instead of gcc43.
14909
45e44d27
JB
149102014-11-21 Joel Brobecker <brobecker@adacore.com>
14911
14912 * gdb.ada/n_arr_bound: New testcase.
14913
458c8db8
SDJ
149142014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14915
14916 PR breakpoints/10737
14917 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14918 test_catch_syscall_multi_arch.
14919 (test_catch_syscall_multi_arch): New function.
14920
43f3e411
DE
149212014-11-20 Doug Evans <xdje42@gmail.com>
14922
14923 * gdb.base/maint.exp: Update expected output.
14924
0d7b2549
AA
149252014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14926
14927 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14928 4-byte instruction on S390.
14929
8908fca5
JB
149302014-11-19 Joel Brobecker <brobecker@adacore.com>
14931
14932 * gdb.ada/arr_arr: New testcase.
14933
4a46959e
JB
149342014-11-19 Joel Brobecker <brobecker@adacore.com>
14935
14936 * gdb.ada/pkd_arr_elem: New Testcase.
14937
470e2f4e
LM
149382014-11-18 Luis Machado <lgustavo@codesourcery.com>
14939
14940 * gdb.reverse/break-precsave: Expect completion message for
14941 core file reads.
14942 * gdb.reverse/consecutive-precsave.exp: Likewise.
14943 * gdb.reverse/finish-precsave.exp: Likewise.
14944 * gdb.reverse/i386-precsave.exp: Likewise.
14945 * gdb.reverse/machinestate-precsave.exp: Likewise.
14946 * gdb.reverse/sigall-precsave.exp: Likewise.
14947 * gdb.reverse/solib-precsave.exp: Likewise.
14948 * gdb.reverse/step-precsave.exp: Likewise.
14949 * gdb.reverse/until-precsave.exp: Likewise.
14950 * gdb.reverse/watch-precsave.exp: Likewise.
14951
a267f3ad
AA
149522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14953
14954 * gdb.base/bp-permanent.c: Include unistd.h.
14955 * gdb.python/py-framefilter-mi.c (main): Add return type.
14956 * gdb.python/py-framefilter.c (main): Likewise.
14957 * gdb.trace/actions-changed.c (main): Likewise.
14958
12084a9a
AA
149592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14960
14961 * gdb.mi/until.c: Add eye-catchers.
14962 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14963 line numbers.
14964
dc7e1a77
AA
149652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14966
14967 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14968 function header variants in break1.c.
14969 * gdb.base/ena-dis-br.exp: Likewise.
14970 * gdb.base/hbreak2.exp: Likewise.
14971 * gdb.reverse/until-precsave.exp: Drop references to removed
14972 non-prototype function header variants in ur1.c.
14973 * gdb.reverse/until-reverse.exp: Likewise.
14974
41c77605
PM
149752014-11-17 Petr Machata <pmachata@redhat.com>
14976
14977 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14978 ${_cu_offset_size} bytes abbrev offset.
14979
34248c3a
DE
149802014-11-15 Doug Evans <xdje42@gmail.com>
14981
14982 PR symtab/17559
14983 * gdb.base/line-symtabs.exp: New file.
14984 * gdb.base/line-symtabs.c: New file.
14985 * gdb.base/line-symtabs.h: New file.
14986
646da059
YQ
149872014-11-14 Yao Qi <yao@codesourcery.com>
14988
14989 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14990 (func): Add label func_label.
14991 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14992 Replace low_pc and high_pc with MACRO_AT_range.
14993 Replace name, low_pc and high_pc with MACRO_AT_func.
14994
9301ebe6
YQ
149952014-11-14 Yao Qi <yao@codesourcery.com>
14996
14997 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14998 Replace name, low_pc and high_pc with MACRO_AT_func.
14999
f166b542
YQ
150002014-11-14 Yao Qi <yao@codesourcery.com>
15001
15002 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15003 produce debug information.
15004 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15005
0f6e71e3
YQ
150062014-11-14 Yao Qi <yao@codesourcery.com>
15007
15008 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15009 object and get function length.
15010 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15011 with MACRO_AT_func.
15012 (top-level): Replace gdb_compile and clean_restart with
15013 prepare_for_testing.
15014 * gdb.dwarf2/main.c (main): Add label main_label.
15015
876c4df9
YQ
150162014-11-14 Yao Qi <yao@codesourcery.com>
15017
15018 * lib/dwarf.exp (function_range): New procedure.
15019 (Dwarf::_handle_macro_at_func): New procedure.
15020 (Dwarf::_handle_macro_at_range): New procedure.
15021 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15022
02ad9cf1
YQ
150232014-11-14 Yao Qi <yao@codesourcery.com>
15024
15025 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15026 (_handle_attribute): New procedure.
15027
a59add0c
AA
150282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15029
15030 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15031 * gdb.base/call-sc.c (zed): Likewise.
15032 * gdb.base/checkpoint.c (main): Likewise.
15033 * gdb.base/dump.c (main): Likewise.
15034 * gdb.base/gcore.c (main): Likewise.
15035 * gdb.base/huge.c (main): Likewise.
15036 * gdb.base/multi-forks.c (main): Likewise.
15037 * gdb.base/pr10179-a.c (main): Likewise.
15038 * gdb.base/savedregs.c (main): Likewise.
15039 * gdb.base/sigaltstack.c (main): Likewise.
15040 * gdb.base/siginfo.c (main): Likewise.
15041 * gdb.base/structs.c (zed): Likewise.
15042 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15043 * gdb.mi/mi-syn-frame.c (main): Likewise.
15044 * gdb.mi/until.c (foo, main): Likewise.
15045 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15046 * gdb.base/solib-weak.c (foo): Declare.
15047 * gdb.base/attach-twice.c: Include stdio.h.
15048 * gdb.base/weaklib1.c: Likewise.
15049 * gdb.base/weaklib2.c: Likewise.
15050 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15051 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15052 unistd.h.
15053 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15054 * gdb.mi/mi-exit-code.c: Likewise.
15055 * gdb.base/break-interp-lib.c: Include string.h.
15056 * gdb.base/coremaker.c: Likewise.
15057 * gdb.base/testenv.c: Likewise.
15058 * gdb.python/py-finish-breakpoint.c: Likewise.
15059 * gdb.base/inferior-died.c: Include sys/wait.h.
15060 * gdb.base/fileio.c: Include time.h.
15061 * gdb.base/async-shell.c: Include unistd.h.
15062 * gdb.base/dprintf-non-stop.c: Likewise.
15063 * gdb.base/info-os.c: Likewise.
15064 * gdb.mi/mi-console.c: Likewise.
15065 * gdb.mi/watch-nonstop.c: Likewise.
15066 * gdb.python/py-events.c: Likewise.
15067 * gdb.base/async.c (baz): Move up before its invocation.
15068 * gdb.base/code_elim2.c (my_global_func): Likewise.
15069 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15070 * gdb.base/advance.c (func2): Likewise.
15071
3b5d5997
AA
150722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15073
15074 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15075 variant.
15076 * gdb.base/annota3.c: Likewise.
15077 * gdb.base/async.c: Likewise.
15078 * gdb.base/average.c: Likewise.
15079 * gdb.base/call-ar-st.c: Likewise.
15080 * gdb.base/call-rt-st.c: Likewise.
15081 * gdb.base/call-sc.c: Likewise.
15082 * gdb.base/call-strs.c: Likewise.
15083 * gdb.base/ending-run.c: Likewise.
15084 * gdb.base/execd-prog.c: Likewise.
15085 * gdb.base/exprs.c: Likewise.
15086 * gdb.base/foll-exec.c: Likewise.
15087 * gdb.base/foll-fork.c: Likewise.
15088 * gdb.base/foll-vfork.c: Likewise.
15089 * gdb.base/funcargs.c: Likewise.
15090 * gdb.base/gcore.c: Likewise.
15091 * gdb.base/jump.c: Likewise.
15092 * gdb.base/langs0.c: Likewise.
15093 * gdb.base/langs1.c: Likewise.
15094 * gdb.base/langs2.c: Likewise.
15095 * gdb.base/mips_pro.c: Likewise.
15096 * gdb.base/nodebug.c: Likewise.
15097 * gdb.base/opaque0.c: Likewise.
15098 * gdb.base/opaque1.c: Likewise.
15099 * gdb.base/recurse.c: Likewise.
15100 * gdb.base/run.c: Likewise.
15101 * gdb.base/scope0.c: Likewise.
15102 * gdb.base/scope1.c: Likewise.
15103 * gdb.base/setshow.c: Likewise.
15104 * gdb.base/setvar.c: Likewise.
15105 * gdb.base/shmain.c: Likewise.
15106 * gdb.base/shr1.c: Likewise.
15107 * gdb.base/shr2.c: Likewise.
15108 * gdb.base/sigall.c: Likewise.
15109 * gdb.base/signals.c: Likewise.
15110 * gdb.base/so-indr-cl.c: Likewise.
15111 * gdb.base/solib2.c: Likewise.
15112 * gdb.base/structs.c: Likewise.
15113 * gdb.base/sum.c: Likewise.
15114 * gdb.base/vforked-prog.c: Likewise.
15115 * gdb.base/watchpoint.c: Likewise.
15116 * gdb.reverse/shr2.c: Likewise.
15117 * gdb.reverse/until-reverse.c: Likewise.
15118 * gdb.reverse/ur1.c: Likewise.
15119 * gdb.reverse/watch-reverse.c: Likewise.
15120
066a77c5
AA
151212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15122
15123 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15124 variant.
15125 * gdb.base/sepdebug.exp: Drop references to removed code.
15126
4f204ea5
AA
151272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15128
15129 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15130 variant. Preserve original line numbering.
15131 * gdb.base/list1.c: Likewise.
15132
3b377a3a
AA
151332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15134
15135 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15136 variant.
15137 * gdb.base/break1.c: Likewise.
15138 * gdb.base/break.exp: Drop references to removed code.
15139
e444df73
AA
151402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15141
15142 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15143 variant.
15144
8008f2a7
AA
151452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15146
15147 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15148
a5a06887
AA
151492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15150
15151 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15152 logic into perform_all_tests() and invoke it with and without
15153 function header prototypes.
15154 (do_function_calls): Remove conditional XFAIL for PR 5318.
15155 (rerun_and_prepare): Remove duplicate code.
15156 (perform_all_tests): New. Main logic moved here.
15157
44dba9b9
AA
151582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15159
15160 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15161 code guarded by #ifdef NO_PROTOTYPES.
15162 (t_double_many_args): Likewise.
15163 (DEF_FUNC_MANY_ARGS_1): Likewise.
15164 (DEF_FUNC_VALUES_1): Likewise.
15165 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15166 guarded by #ifdef PROTOTYPES.
15167
d1fbcd56
AA
151682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15169
15170 * gdb.mi/mi-console.c: Add eye-catcher.
15171 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15172 instead of literal line number.
15173
b0e59b8f
AA
151742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15175
15176 * gdb.base/shr2.c: Add eye-catcher.
15177 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15178 line number.
15179
78f98cca
AA
151802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15181
15182 * gdb.base/jump.c: Add eye-catchers.
15183 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15184 numbers.
15185
58fa2af0
AA
151862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15187
15188 * gdb.base/execd-prog.c: Add eye-catchers.
15189 * gdb.base/foll-exec.c: Likewise.
15190 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15191 line numbers.
15192
04e5059b
AA
151932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15194
15195 * gdb.base/ending-run.c: Add eye-catchers.
15196 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15197 literal line numbers.
15198
dbfdb174
AA
151992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15200
15201 * gdb.base/call-rt-st.c: Add eye-catchers.
15202 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15203 literal line numbers.
15204
888a2ade
AA
152052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15206
15207 * gdb.base/call-ar-st.c: Add eye-catchers.
15208 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15209 literal line numbers.
15210
6acc2dde
AA
152112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15212
15213 * gdb.base/average.c: Add eye-catchers.
15214 * gdb.base/sum.c: Likewise.
15215 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15216 regexps dynamically.
15217
9ecfcd1d
AA
152182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15219
15220 * gdb.base/solib1.c: Add eye-catchers.
15221 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15222 literal line numbers.
15223
78708b7c
PA
152242014-11-12 Pedro Alves <palves@redhat.com>
15225
15226 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15227 leader has exited.
15228
af48d08f
PA
152292014-11-12 Pedro Alves <palves@redhat.com>
15230
15231 * gdb.arch/i386-bp_permanent.c: New file.
15232 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15233 (srcfile): Set to i386-bp_permanent.c.
15234 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15235 that stepi does not execute the 'leave' instruction, instead of
15236 testing it does execute.
15237 * gdb.base/bp-permanent.c: New file.
15238 * gdb.base/bp-permanent.exp: New file.
15239
af3768e9
DE
152402014-11-10 Doug Evans <xdje42@gmail.com>
15241
15242 PR symtab/17564
15243 * gdb.base/symtab-search-order.exp: New file.
15244 * gdb.base/symtab-search-order.c: New file.
15245 * gdb.base/symtab-search-order-1.c: New file.
15246 * gdb.base/symtab-search-order-shlib-1.c: New file.
15247
9de00a4a
PA
152482014-11-07 Pedro Alves <palves@redhat.com>
15249
15250 PR gdb/17511
15251 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15252 i?86-*-linux*.
15253
e0f52461
SC
152542014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15255
15256 PR c++/17494
15257 * gdb.cp/pr17494.cc: New file.
15258 * gdb.cp/pr17494.exp: New file.
15259
6ce8c980
YQ
152602014-11-02 Yao Qi <yao@codesourcery.com>
15261
15262 * gdb.python/python.exp: Get working directory and match the
15263 output of "set extended-prompt \\w " with it.
15264
02be9a71
DE
152652014-10-30 Doug Evans <dje@google.com>
15266
15267 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15268 in objfiles.
15269 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15270 in progspaces.
15271
3bdff46b
LM
152722014-10-30 Janis Johnson <janisjo@codesourcery.com>
15273
15274 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15275 * gdb.base/realname-expand.exp: Likewise.
15276 * gdb.linespec/macro-relative.exp: Likewise.
15277
ab917dfb
PA
152782014-10-29 Pedro Alves <palves@redhat.com>
15279
15280 PR gdb/17408
15281 * gdb.threads/schedlock.c (some_function): New function.
15282 (call_function): New global.
15283 (MAYBE_CALL_SOME_FUNCTION): New macro.
15284 (thread_function): Call it.
15285 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15286 and use it instead of a global counter. Adjust all callers.
15287 (get_current_thread): Use "find current thread" for test message
15288 here rather than having all callers pass down the same string.
15289 (goto_loop): New procedure, factored out from ...
15290 (my_continue): ... this.
15291 (step_ten_loops): Change parameter from test message to command to
15292 use. Adjust.
15293 (list_count): Delete global.
15294 (check_result): New procedure, factored out from duplicate top
15295 level code.
15296 (continue tests): Wrap in with_test_prefix.
15297 (test_step): New procedure, factored out from duplicate top level
15298 code.
15299 (top level): Test "step" in combination with all scheduler-locking
15300 modes. Test "next" in combination with all scheduler-locking
15301 modes, and in combination with stepping over a function call or
15302 not.
15303 * gdb.threads/next-bp-other-thread.c: New file.
15304 * gdb.threads/next-bp-other-thread.exp: New file.
15305
d3d4baed
PA
153062014-10-29 Pedro Alves <palves@redhat.com>
15307
15308 PR python/17372
15309 * gdb.python/python.exp: Test a multi-line command that spawns
15310 interactive Python.
15311 * gdb.base/multi-line-starts-subshell.exp: New file.
15312
563e8d85
YQ
153132014-10-29 Yao Qi <yao@codesourcery.com>
15314
15315 * gdb.base/fileio.exp: Make directories on host.
15316
0ea4d52e
YQ
153172014-10-29 Yao Qi <yao@codesourcery.com>
15318
15319 * gdb.base/fileio.c (test_write): Close the file.
15320
7f5ef605
PA
153212014-10-28 Pedro Alves <palves@redhat.com>
15322
15323 PR gdb/12623
15324 * gdb.base/sigstep.c (no_handler): New global.
15325 (main): If 'no_handler is true, set the signal handlers to
15326 SIG_IGN.
15327 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15328 with_sw_watch and no_handler parameters. Handle them.
15329 (top level) <stepping over handler when stopped at a breakpoint
15330 test>: Add a test axis for testing with a software watchpoint, and
15331 another for testing with the signal handler set to SIG_IGN.
15332 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15333 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15334
abbdbd03
PA
153352014-10-28 Pedro Alves <palves@redhat.com>
15336
15337 PR gdb/17511
15338 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15339 * gdb.base/sigstep.exp (other_handler_location): New global.
15340 (advance): Support stepping into the signal handler, and running
15341 commands while in the handler.
15342 (in_handler_map): New global.
15343 (top level): In the advance test, add combinations for getting
15344 into the handler with stepping commands, and for running commands
15345 in the handler. Add comment descripting the advancei tests.
15346
1df4399f
PA
153472014-10-28 Pedro Alves <palves@redhat.com>
15348
15349 * gdb.base/sigstep.exp: Use build_executable instead of
15350 prepare_for_testing.
15351 (top level): Move code that starts GDB, runs to main and creates a
15352 display to ...
15353 (restart): ... this new procedure.
15354 (top level): Move backtrace from signal handler test to ...
15355 (validate_backtrace): ... this new procedure.
15356 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15357 with_test_prefix. Always restart GDB.
15358 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15359 with_test_prefix. Always restart GDB. No need to delete
15360 breakpoints after the test.
15361 (test_skip_handler): Remove prefix parameter.
15362 (skip_over_handler, breakpoint_to_handler)
15363 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15364 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15365 restart GDB. No need to delete breakpoints after the test.
15366 (top level): Use foreach to call the test procedures with
15367 different commands.
15368
a5b6e449
PA
153692014-10-28 Pedro Alves <palves@redhat.com>
15370
15371 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15372 instead of GNATS numbers.
15373 * gdb.base/sigbpt.exp: Likewise.
15374 * gdb.base/siginfo.exp: Likewise.
15375 * gdb.base/sigstep.exp: Likewise.
15376
e5f8a7cc
PA
153772014-10-27 Pedro Alves <palves@redhat.com>
15378
15379 * gdb.base/sigstep.c (dummy): New global.
15380 (main): Issue a couple writes to the new global.
15381 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15382 procedures.
15383 (skip_over_handler): Use test_skip_handler.
15384 (top level): Call skip_over_handler for stepi and nexti too.
15385 (breakpoint_over_handler): Use test_skip_handler.
15386 (top level): Call breakpoint_over_handler for stepi and nexti too.
15387
763905a3
YQ
153882014-10-27 Yao Qi <yao@codesourcery.com>
15389
15390 * gdb.trace/tfile.c (adjust_function_address)
15391 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15392 function descriptor.
15393
6f259a23
DB
153942014-10-24 Don Breazeal <donb@codesourcery.com>
15395
15396 * gdb.base/foll-fork.exp (test_follow_fork,
15397 catch_fork_child_follow): Check for updated fork messages emitted
15398 from infrun.c.
15399 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15400 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15401 vfork_and_exec_child_follow_through_step): Check for updated vfork
15402 messages emitted from infrun.c.
15403
09dd9a69
PA
154042014-10-24 Pedro Alves <palves@redhat.com>
15405
15406 * gdb.base/corefile.exp: Remove references to ultrix.
15407 * gdb.base/interrupt.exp: Likewise.
15408 * gdb.base/whatis.exp: Likewise.
15409 * gdb.gdb/selftest.exp: Likewise.
15410 * gdb.threads/manythreads.exp: Likewise.
15411 * gdb.threads/print-threads.exp: Likewise.
15412 * gdb.threads/pthreads.exp:: Likewise.
15413 * gdb.threads/schedlock.exp: Likewise.
15414
3433cfa5
SC
154152014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15416
15417 * gdb.cp/non-trivial-retval.cc: Add a test case.
15418 * gdb.cp/non-trivial-retval.exp: Add a test.
15419
092f880b
YQ
154202014-10-20 Yao Qi <yao@codesourcery.com>
15421
15422 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15423 * gdb.python/py-objfile-script-gdb.py: New file.
15424 * gdb.python/py-objfile-script.exp: Update reference to
15425 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15426 of remote_download. Remove the dest file.
15427
acbdb7f3
YQ
154282014-10-20 Yao Qi <yao@codesourcery.com>
15429
15430 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15431 * gdb.base/step-line.exp: Likewise.
15432 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15433 * gdb.dwarf2/dw2-basic.exp: Likewise.
15434 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15435 * gdb.dwarf2/dw2-filename.exp: Likewise.
15436 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15437 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15438 * gdb.dwarf2/dw2-producer.exp: Likewise.
15439 * gdb.dwarf2/mac-fileno.exp: Likewise.
15440 * gdb.python/py-frame-args.exp: Likewise.
15441 * gdb.python/py-framefilter.exp: Likewise.
15442 * gdb.python/py-mi.exp: Likewise.
15443 * gdb.python/py-objfile-script.exp: Likewise
15444 * gdb.python/py-pp-integral.exp: Likewise.
15445 * gdb.python/py-pp-re-notag.exp: Likewise.
15446 * gdb.python/py-prettyprint.exp: Likewise.
15447 * gdb.python/py-section-script.exp: Likewise.
15448 * gdb.python/py-typeprint.exp: Likewise.
15449 * gdb.python/py-xmethods.exp: Likewise.
15450 * gdb.stabs/weird.exp: Likewise.
15451 * gdb.xml/tdesc-regs.exp: Likewise.
15452
bd286a29
KCY
154532014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15454
15455 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15456 (out_cu): Use addr_len for the size of addresses.
15457 (out_line): Likewise. Size DW_LNE_set_address instruction
15458 according to addr_len.
15459 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15460 (FUNC): Add START_INSNS to definition.
15461
673dc4a0
YQ
154622014-10-18 Yao Qi <yao@codesourcery.com>
15463
15464 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15465 gdb_has_argv0 return true.
15466 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15467 check [target_info exists noargs], check [gdb_has_argv0]
15468 instead.
15469 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15470 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15471 procedures.
15472
4ffbba72
DE
154732014-10-17 Doug Evans <dje@google.com>
15474
15475 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15476 event.
15477 * gdb.python/py-events.py: Add clear_objfiles event.
15478
d096d8c1
DE
154792014-10-17 Doug Evans <dje@google.com>
15480
15481 * gdb.python/py-objfile.exp: Test progspace attribute.
15482
a80db015
LM
154832014-10-17 Luis Machado <lgustavo@codesourcery.com>
15484
15485 * gdb.guile/scm-breakpoint.exp: Do not assume any
15486 directory separators when matching source file paths.
15487 * gdb.python/py-breakpoint.exp: Likewise.
15488 * gdb.reverse/break-precsave.exp: Likewise.
15489 * gdb.reverse/break-reverse.exp: Likewise.
15490 * gdb.reverse/consecutive-precsave.exp: Likewise.
15491 * gdb.reverse/finish-precsave.exp: Likewise.
15492 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15493 * gdb.reverse/finish-reverse.exp: Likewise.
15494 * gdb.reverse/i386-precsave.exp: Likewise.
15495 * gdb.reverse/i387-env-reverse.exp: Likewise.
15496 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15497 * gdb.reverse/machinestate-precsave.exp: Likewise.
15498 * gdb.reverse/machinestate.exp: Likewise.
15499 * gdb.reverse/sigall-precsave.exp: Likewise.
15500 * gdb.reverse/solib-precsave.exp: Likewise.
15501 * gdb.reverse/step-precsave.exp: Likewise.
15502 * gdb.reverse/until-precsave.exp: Likewise.
15503 * gdb.reverse/watch-precsave.exp: Likewise.
15504 * gdb.reverse/watch-reverse.exp: Likewise.
15505
b22089ab
YQ
155062014-10-17 Yao Qi <yao@codesourcery.com>
15507
15508 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15509 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15510
6c4486e6
PA
155112014-10-17 Pedro Alves <palves@redhat.com>
15512
15513 PR gdb/17471
15514 * gdb.base/bg-execution-repeat.c: New file.
15515 * gdb.base/bg-execution-repeat.exp: New file.
15516
0ff33695
PA
155172014-10-17 Pedro Alves <palves@redhat.com>
15518
15519 PR gdb/17300
15520 * gdb.base/continue-all-already-running.c: New file.
15521 * gdb.base/continue-all-already-running.exp: New file.
15522
6fdebc3d
PA
155232014-10-17 Pedro Alves <palves@redhat.com>
15524
15525 PR gdb/17472
15526 * gdb.base/annota-input-while-running.c: New file.
15527 * gdb.base/annota-input-while-running.exp: New file.
15528
32a8097b
PA
155292014-10-17 Pedro Alves <palves@redhat.com>
15530
15531 * gdb.base/callfuncs.exp: emove references to osf.
15532 * gdb.base/sigall.exp: Likewise.
15533 * gdb.gdb/selftest.exp: Likewise.
15534 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15535 * gdb.mi/non-stop.c: Likewise.
15536 * gdb.mi/pthreads.c: Likewise.
15537 * gdb.reverse/sigall-precsave.exp: Likewise.
15538 * gdb.reverse/sigall-reverse.exp: Likewise.
15539 * gdb.threads/pthreads.c: Likewise.
15540 * gdb.threads/pthreads.exp: Likewise.
15541
7a3517ff
YQ
155422014-10-17 Yao Qi <yao@codesourcery.com>
15543
15544 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15545 check 'target_info exists noargs'.
15546 (test_command_prompt_position): Likewise.
15547 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15548 Remove "set args".
15549 (progvar_simple_while_test): Likewise.
15550 (progvar_complex_if_while_test): Likewise.
15551 (if_while_breakpoint_command_test): Likewise.
15552 (infrun_breakpoint_command_test): Likewise.
15553 (breakpoint_command_test): Likewise.
15554 (watchpoint_command_test): Likewise.
15555 (bp_deleted_in_command_test): Likewise.
15556 (temporary_breakpoint_commands): Likewise.
15557
bb99c472
YQ
155582014-10-16 Yao Qi <yao@codesourcery.com>
15559
15560 * gdb.base/remotetimeout.exp: Remove noargs checking.
15561
7c16b83e
PA
155622014-10-15 Pedro Alves <palves@redhat.com>
15563
15564 PR breakpoints/9649
15565 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15566 * gdb.base/breakpoint-in-ro-region.exp
15567 (probe_target_hardware_step): New procedure.
15568 (top level): Probe hardware stepping and hardware breakpoint
15569 support. Test stepping through a read-only region, with both
15570 "breakpoint auto-hw" on and off and both "always-inserted" on and
15571 off.
15572
35a49624
IB
155732014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15574
15575 * gdb.dlang/demangle.exp: Update for demangling changes.
15576
2d1c107c
SC
155772014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15578
15579 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15580 * gdb.cp/non-trivial-retval.exp: Add new tests.
15581
778811d5
SC
155822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15583
15584 PR c++/13403
15585 PR c++/15154
15586 * gdb.cp/non-trivial-retval.cc: New file.
15587 * gdb.cp/non-trivial-retval.exp: New file.
15588
10c5f0a8
YQ
155892014-10-15 Yao Qi <yao@codesourcery.com>
15590
15591 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15592 remote host.
15593
65d7b369
YQ
155942014-10-15 Yao Qi <yao@codesourcery.com>
15595
15596 * gdb.python/py-symbol.exp: Match file base name if host is
15597 remote, otherwise match file name with dir name.
15598 * gdb.python/py-symtab.exp: Likewise.
15599 * gdb.python/python.exp: Likewise.
15600
46dc1394
YQ
156012014-10-15 Yao Qi <yao@codesourcery.com>
15602
15603 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15604 pattern.
15605 * gdb.python/py-symtab.exp: Likewise.
15606 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15607 locationn.
15608
c40cc657
JB
156092014-10-14 Joel Brobecker <brobecker@adacore.com>
15610
15611 * gdb.ada/addr_arith: New testcase.
15612
2abf49e1
MR
156132014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15614
15615 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15616 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15617 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15618 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15619
f7088df3
SDJ
156202014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15621
15622 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15623 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15624 * gdb.arch/stap-eval-lang-ada.exp: New file.
15625
4dc06805
YQ
156262014-10-14 Yao Qi <yao@codesourcery.com>
15627
15628 * gdb.mi/mi-var-child.c (nothing1): New function.
15629 (nothing2): New function.
15630 (do_children_tests): Set function pointers by nothing1 and
15631 nothing2.
15632 * gdb.mi/mi-var-child.exp: Step over new added statements.
15633 Update test to match the new output.
15634 * gdb.mi/var-cmd.c (nothing1): New function.
15635 (nothing2): New function.
15636 (do_children_tests): Set function pointers by nothing1 and
15637 nothing2.
15638 * gdb.mi/mi-var-display.exp: Update test to match output.
15639 Step to the line specified by $line_dct_nothing.
15640 Increase the number of lines to step.
15641
46a93de2
YQ
156422014-10-14 Yao Qi <yao@codesourcery.com>
15643
15644 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15645 tests.
15646 * gdb.mi/mi2-var-child.exp: Likewise.
15647
14ea52ee
DE
156482014-10-13 Doug Evans <dje@google.com>
15649
15650 * gdb.python/py-objfile.exp: Change name of file name test.
15651
e5c6e92b
DE
156522014-10-13 Doug Evans <dje@google.com>
15653
15654 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15655 from the start of the CU.
15656
c780cc2f
JK
156572014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15658 Yao Qi <yao@codesourcery.com>
15659
15660 Fix "save breakpoints" for "catch" command.
15661 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15662 Remove -nonewline. Match also the added "main" line.
15663
99894e11
JK
156642014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15665
15666 Fix "save breakpoints" for "disable $bpnum" command.
15667 * gdb.base/save-bp.c (main): Add label.
15668 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15669
6e1ac5a3
JK
156702014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15671
15672 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15673
754dd2b0
YQ
156742014-10-11 Yao Qi <yao@codesourcery.com>
15675
15676 * gdb.server/server-kill.exp: Execute command
15677 "set remote trace-status-packet on" before "tstatus".
15678
f90183d7
YQ
156792014-10-11 Yao Qi <yao@codesourcery.com>
15680
15681 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15682 (main): Call getppid.
15683 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15684 and continue to it. Read variable "server_pid".
15685
bf40a607
YQ
156862014-10-11 Yao Qi <yao@codesourcery.com>
15687
15688 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15689
052ca370
YQ
156902014-10-11 Yao Qi <yao@codesourcery.com>
15691
15692 * gdb.threads/thread-find.exp: Don't execute command
15693 "info threads".
15694 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15695 * gdb.threads/linux-dp.exp: Don't check the condition
15696 $threads_created equals to zero.
15697
3831839c
PA
156982014-10-10 Pedro Alves <palves@redhat.com>
15699
15700 * gdb.base/bigcore.exp: Remove references to IRIX.
15701 * gdb.base/funcargs.exp: Likewise.
15702 * gdb.base/interrupt.exp: Likewise.
15703 * gdb.base/mips_pro.exp: Likewise.
15704 * gdb.base/nodebug.exp: Likewise.
15705 * gdb.base/setvar.exp: Likewise.
15706 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15707
8b9a549d
PA
157082014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15709 Pedro Alves <palves@redhat.com>
15710
15711 PR symtab/14466
15712 * gdb.base/vdso-warning.c: New file.
15713 * gdb.base/vdso-warning.exp: New file.
15714
d48ba5e8
DE
157152014-10-02 Doug Evans <dje@google.com>
15716
15717 * gdb.base/structs.c (main): Don't run forever.
15718
2278c276
PA
157192014-10-02 Pedro Alves <palves@redhat.com>
15720
15721 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15722 (top level) <stop threads 1, stop threads 2>: Use it.
15723
b57bacec
PA
157242014-10-02 Pedro Alves <palves@redhat.com>
15725
15726 * gdb.threads/break-while-running.exp (test): Add new
15727 'update_thread_list' argument. Skip "info threads" if false.
15728 (top level): Add new 'update_thread_list' axis.
15729
13fd3ff3
PA
157302014-10-02 Pedro Alves <palves@redhat.com>
15731
15732 PR breakpoints/17431
15733 * gdb.base/execl-update-breakpoints.c: New file.
15734 * gdb.base/execl-update-breakpoints.exp: New file.
15735
0fec99e8
PA
157362014-10-01 Pedro Alves <palves@redhat.com>
15737
15738 * gdb.base/breakpoint-in-ro-region.c: New file.
15739 * gdb.base/breakpoint-in-ro-region.exp: New file.
15740
2ddf4301
SM
157412014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15742
15743 * gdb.mi/mi-exit-code.exp: New file.
15744 * gdb.mi/mi-exit-code.c: New file.
15745
6a5f3f43
YQ
157462014-09-30 Yao Qi <yao@codesourcery.com>
15747
15748 * lib/prelink-support.exp (build_executable_own_libs): Error if
15749 the target isn't native.
15750
345bcc73
YQ
157512014-09-30 Yao Qi <yao@codesourcery.com>
15752
15753 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15754 false.
15755
a25a5a45
PA
157562014-09-22 Pedro Alves <palves@redhat.com>
15757
15758 * gdb.threads/break-while-running.exp: New file.
15759 * gdb.threads/break-while-running.c: New file.
15760
00ba3162
YQ
157612014-09-19 Yao Qi <yao@codesourcery.com>
15762
15763 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15764 Invoke test. Restart GDB with --readnow and invoke test again.
15765
c3b7b696
YQ
157662014-09-19 Yao Qi <yao@codesourcery.com>
15767
15768 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15769 proc set_breakpoint_on_gcd_function. Invoke
15770 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15771 invoke set_breakpoint_on_gcd_function again.
15772
2b4fd423
DE
157732014-09-18 Doug Evans <dje@google.com>
15774
15775 * gdb.dwarf2/symtab-producer.exp: New file.
15776
a5947601
SDJ
157772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15778
15779 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15780 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15781 * gdb.base/global-var-nested-by-dso.c: Likewise.
15782 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15783
91c19059
SDJ
157842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15785 Pedro Alves <palves@redhat.com>
15786
15787 * gdb.base/watch-bitfields.exp: Pass string other than test file
15788 name to prepare_for_testing.
15789 (watch): New procedure.
15790 (expect_watchpoint): Use with_test_prefix.
15791 (top level): Factor out tests to ...
15792 (test_watch_location, test_regular_watch): ... these new
15793 procedures, and use with_test_prefix and gdb_continue_to_end.
15794
bb9d5f81
PP
157952014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15796
15797 PR breakpoints/12526
15798 * gdb.base/watch-bitfields.exp: New file.
15799 * gdb.base/watch-bitfields.c: New file.
15800
635856f5
PA
158012014-09-16 Pedro Alves <palves@redhat.com>
15802
15803 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15804 software and hardware addresses, not software address against
15805 itself.
15806
7280ceea
PA
158072014-09-16 Pedro Alves <palves@redhat.com>
15808
15809 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15810 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15811
428b16bd
PA
158122014-09-16 Pedro Alves <palves@redhat.com>
15813
15814 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15815 files.
15816 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15817 "*-*-vxworks*" throughout.
15818 * gdb.base/break.exp: Likewise.
15819 * gdb.base/default.exp: Likewise.
15820 * gdb.base/scope.exp: Likewise.
15821 * gdb.base/sepdebug.exp: Likewise.
15822 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15823 throughout.
15824 * gdb.base/run.c: Likewise.
15825 * gdb.base/sepdebug.c: Likewise.
15826 * gdb.hp/gdb.aCC/run.c: Likewise.
15827 * gdb.reverse/until-reverse.c: Likewise.
15828 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15829
666d413c
YQ
158302014-09-16 Yao Qi <yao@codesourcery.com>
15831
15832 * boards/local-remote-host-native.exp: New file.
15833
57cbd724
DE
158342014-09-14 Doug Evans <xdje42@gmail.com>
15835
15836 * gdb.threads/queue-signal.c (thread_count): New variable.
15837 (thread_count_mutex, thread_count_condvar): New variables.
15838 (incr_thread_count, wait_all_threads_running): New functions.
15839 (main): Wait for all threads to be in their thread functions.
15840
81219e53
DE
158412014-09-13 Doug Evans <xdje42@gmail.com>
15842
15843 * gdb.threads/queue-signal.c: New file.
15844 * gdb.threads/queue-signal.exp: New file.
15845
3714cea7
DE
158462014-09-13 Doug Evans <xdje42@gmail.com>
15847
15848 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15849 be consistent with what default_gdb_init uses.
15850 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15851 the plain text of the prompt. Add some logging printfs.
15852 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15853
fa43b1d7
PA
158542014-09-12 Pedro Alves <palves@redhat.com>
15855
15856 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15857 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15858 * gdb.arch/i386-size-overlap.exp: Likewise.
15859 * gdb.arch/i386-size.exp: Likewise.
15860 * gdb.arch/i386-unwind.exp: Likewise.
15861 * gdb.base/a2-run.exp: Likewise.
15862 * gdb.base/break.exp: Likewise.
15863 * gdb.base/charset.exp: Likewise.
15864 * gdb.base/chng-syms.exp: Likewise.
15865 * gdb.base/commands.exp: Likewise.
15866 * gdb.base/dbx.exp: Likewise.
15867 * gdb.base/find.exp: Likewise.
15868 * gdb.base/funcargs.exp: Likewise.
15869 * gdb.base/jit-simple.exp: Likewise.
15870 * gdb.base/reread.exp: Likewise.
15871 * gdb.base/sepdebug.exp: Likewise.
15872 * gdb.base/step-bt.exp: Likewise.
15873 * gdb.cp/mb-inline.exp: Likewise.
15874 * gdb.cp/mb-templates.exp: Likewise.
15875 * gdb.objc/basicclass.exp: Likewise.
15876 * gdb.threads/killed.exp: Likewise.
15877
9d9bf2df
EBM
158782014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15879
15880 PR tdep/17379
15881 * gdb.arch/powerpc-stackless.S: New file.
15882 * gdb.arch/powerpc-stackless.exp: New file.
15883
1cf2f1b0
JK
158842014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15885
15886 * gdb.base/attach.c: Include unistd.h.
15887 (main): Call alarm. Add label postloop.
15888 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15889 gdb_breakpoint, gdb_continue_to_breakpoint.
15890 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15891
98880d46
PA
158922014-09-11 Pedro Alves <palves@redhat.com>
15893
15894 PR gdb/17347
15895 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15896 * gdb.base/attach.exp (test_command_line_attach_run): New
15897 procedure.
15898 (top level): Call it.
15899
4c92ff2c
PA
159002014-09-11 Pedro Alves <palves@redhat.com>
15901
15902 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15903 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15904 (do_command_attach_tests): Use spawn_wait_for_attach.
15905 * gdb.base/solib-overlap.exp: Likewise.
15906 * gdb.multi/multi-attach.exp: Likewise.
15907 * gdb.python/py-prompt.exp: Likewise.
15908 * gdb.python/py-sync-interp.exp: Likewise.
15909 * gdb.server/ext-attach.exp: Likewise.
15910
3adc1a7d
GKB
159112014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15912
15913 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15914 command in testcase. Simplify testcase.
15915
96334934
JB
159162014-09-10 Joel Brobecker <brobecker@adacore.com>
15917
15918 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15919
eb479039
JB
159202014-09-10 Joel Brobecker <brobecker@adacore.com>
15921
15922 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15923
deede10c
JB
159242014-09-10 Joel Brobecker <brobecker@adacore.com>
15925
15926 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15927
7828a5f5
JB
159282014-09-10 Joel Brobecker <brobecker@adacore.com>
15929
15930 * gdb.dwarf2/dynarr-ptr.c: New file.
15931 * gdb.dwarf2/dynarr-ptr.exp: New file.
15932
33aeebcf
MR
159332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15934
15935 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15936 of 30 rather than hardcoding 120 for a slow test case. Take the
15937 `gdb,timeout' target setting into account for this calculation.
15938 Don't extend the timeout for the test cases that don't need it.
15939
7b415901
MR
159402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15941
15942 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15943 a factor of 2 for a slow test case. Take the `gdb,timeout'
15944 target setting into account for this calculation.
15945 * gdb.reverse/until-precsave.exp: Increase the timeout by
15946 a factor of 15 and 3 respectively rather than adding 120
15947 for a pair of slow test cases. Take the `gdb,timeout'
15948 target setting into account for this calculation.
15949
4a40f85a
MR
159502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15951
15952 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15953 timeout, don't pass one down to gdb_expect.
15954 (gdb_expect): Rework timeout selection.
15955
09635af7
MR
159562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15957
15958 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15959 exception on timeout.
15960 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15961 (gdbserver_start_extended): Catch any `gdbserver_start' error
15962 exceptions.
15963 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15964 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15965 `gdbserver_gdb_load' error exceptions.
15966
2bdd10b7
MR
159672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15968
15969 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15970 120 on waiting for the TCP socket to open.
15971
316935f0
DE
159722014-09-09 Doug Evans <xdje42@gmail.com>
15973
15974 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15975 _caller_matches, _any_caller_is, _any_caller_matches.
15976
83740597
DE
159772014-09-09 Doug Evans <xdje42@gmail.com>
15978
15979 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15980
4c122fc3
YQ
159812014-09-09 Yao Qi <yao@codesourcery.com>
15982
15983 * gdb.mi/mi-var-display.exp: Set print symbol off.
15984
a9f116cb
GKB
159852014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15986
15987 PR gdb/17035
15988 * gdb.base/commands.exp: Add tests to verify user-defined
15989 commands with empty bodies.
15990 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15991 python commands in `show user command`.
15992 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15993 scheme commands in `show user command`.
15994
c75bd3a2
JK
159952014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15996
15997 PR python/17355
15998 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15999 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16000 * gdb.python/py-framefilter-invalidarg.exp: New file.
16001 * gdb.python/py-framefilter-invalidarg.py: New file.
16002
faa42425
DE
160032014-09-06 Doug Evans <xdje42@gmail.com>
16004
16005 PR 15276
16006 * gdb.python/py-caller-is.c: New file.
16007 * gdb.python/py-caller-is.exp: New file.
16008
474ca4f6
SDJ
160092014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16010
16011 PR gdb/17235
16012 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16013 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16014
eb0b0463
SDJ
160152014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16016
16017 PR fortran/17237
16018 * gdb.fortran/print-formatted.exp: New file.
16019 * gdb.fortran/print-formatted.f90: Likewise.
16020
5f3b99cf
SS
160212014-09-03 Sasha Smundak <asmundak@google.com>
16022
16023 * gdb.python/py-frame.exp: Test Frame.read_register.
16024
7d793aa9
SDJ
160252014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16026
16027 PR python/16699
16028 * gdb.python/py-completion.exp: New file.
16029 * gdb.python/py-completion.py: Likewise.
16030
fb0576e9
DE
160312014-08-28 Doug Evans <dje@google.com>
16032
16033 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16034 eax,etc. are live with values set by gdb and thus the compiler can't
16035 use them.
16036 * gdb.arch/i386-pseudo.c (main): Ditto.
16037
ee92b0dd
DE
160382014-08-27 Doug Evans <dje@google.com>
16039
16040 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16041
6649db35
DE
160422014-08-25 Doug Evans <dje@google.com>
16043
16044 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16045 (main): Ditto.
16046
564b7600
DE
160472014-08-25 Doug Evans <dje@google.com>
16048
16049 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16050
3881fb67
YQ
160512014-08-24 Yao Qi <yao@codesourcery.com>
16052
16053 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16054 symbol off.
16055 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16056
a05a36a5
DE
160572014-08-22 Doug Evans <dje@google.com>
16058
16059 PR 17276
16060 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16061 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16062 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16063
7c343b48
YQ
160642014-08-22 Yao Qi <yao@codesourcery.com>
16065
16066 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16067 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16068 * gdb.python/python.exp: Likewise. Use .py file on the host
16069 instead of the build.
16070
22fd09ae
JK
160712014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16072
16073 * gdb.threads/gcore-stale-thread.c: New file.
16074 * gdb.threads/gcore-stale-thread.exp: New file.
16075
a8454a7c
PA
160762014-08-21 Pedro Alves <palves@redhat.com>
16077
16078 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16079 * gdb.base/gcore-relro-pie.exp: Likewise.
16080 * gdb.base/gcore-relro.exp: Likewise.
16081 * gdb.base/gcore.exp: Likewise.
16082 * gdb.base/print-symbol-loading.exp: Likewise.
16083 * gdb.threads/gcore-thread.exp: Likewise.
16084 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16085
2a31c623
PA
160862014-08-20 Pedro Alves <palves@redhat.com>
16087 Jan Kratochvil <jan.kratochvil@redhat.com>
16088
16089 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16090 configure.
16091 (EXPECT): Handle READ1 being set.
16092 (all): Depend on EXTRA_RULES.
16093 (check-read1, expect-read1, read1.so, read1): New rules.
16094 * README (Testsuite Parameters): Document the READ1 make variable.
16095 (Race detection): New section.
16096 * configure: Regenerate.
16097 * configure.ac: If build==host==target, and running under a
16098 GNU/glibc system, add read1 to the extra Makefile rules.
16099 (EXTRA_RULES): AC_SUBST it.
16100 * lib/read1.c: New file.
16101
d36430db
JB
161022014-08-20 Joel Brobecker <brobecker@adacore.com>
16103
16104 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16105 the handling of variables declared as a typedef to an array
16106 which a DW_AT_data_location attribute.
16107
9a0dc9e3
PA
161082014-08-19 Andrew Burgess <aburgess@broadcom.com>
16109 Pedro Alves <palves@redhat.com>
16110
16111 PR symtab/14604
16112 PR symtab/14605
16113 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16114 gdb_test.
16115
0718a8da
PA
161162014-08-19 Pedro Alves <palves@redhat.com>
16117
16118 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16119
13b448cd
YQ
161202014-08-19 Yao Qi <yao@codesourcery.com>
16121
16122 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16123 right line.
16124
1cbf5077
DB
161252014-08-18 David Blaikie <dblaikie@gmail.com>
16126
16127 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16128
bf0fae19
JB
161292014-08-18 Joel Brobecker <brobecker@adacore.com>
16130
16131 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16132 attribute in array range.
16133
3c8c5dcc
JB
161342014-08-18 Joel Brobecker <brobecker@adacore.com>
16135
16136 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16137
e66d4446
SC
161382014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16139
16140 PR c++/17132
16141 * gdb.cp/pr17132.cc: New file.
16142 * gdb.cp/pr17132.exp: New file.
16143
940df408
SC
161442014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16145
16146 * gdb.python/py-xmethods.py (A_getarrayind)
16147 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16148 Use 'print' with function call syntax.
16149 (E_method_matcher.match): Fix tab vs space indentation mixup.
16150
ebcc6c3a
YQ
161512014-08-15 Yao Qi <yao@codesourcery.com>
16152
16153 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16154 false.
16155
775e0f04
YQ
161562014-08-15 Yao Qi <yao@codesourcery.com>
16157
16158 * gdb.cp/casts.exp: Set print symbol off.
16159 * gdb.cp/class2.exp: Likewise.
16160 * gdb.cp/overload.exp: Likewise.
16161 * gdb.cp/templates.exp: Likewise.
16162
d769e349
DE
161632014-08-11 Doug Evans <dje@google.com>
16164
16165 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16166 (test_load_shlib): Update.
16167
20c6f1e1
YQ
161682014-08-09 Yao Qi <yao@codesourcery.com>
16169
16170 * gdb.base/display.exp: Invoke is_address_zero_readable.
16171 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16172 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16173 * gdb.base/hbreak-unmapped.exp: Return if
16174 is_address_zero_readable returns true.
16175 * gdb.base/signest.exp: Likewise.
16176 * gdb.base/signull.exp: Likewise.
16177 * gdb.base/sigbpt.exp: Likewise.
16178 * gdb.guile/scm-disasm.exp: Do the test if
16179 is_address_zero_readable returns false.
16180 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16181 * gdb.python/py-arch.exp: Likewise.
16182 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16183 * lib/gdb.exp (is_address_zero_readable): New proc.
16184
5792e8e3
YQ
161852014-08-09 Yao Qi <yao@codesourcery.com>
16186
16187 PR testsuite/13443
16188 * gdb.mi/mi-var-display.exp: Make test messages unique.
16189
3cecbbbe
TT
161902014-08-04 Tom Tromey <tromey@redhat.com>
16191
16192 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16193 target 0".
16194
00b51ff5
TT
161952014-08-04 Tom Tromey <tromey@redhat.com>
16196
16197 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16198 "target_resume".
16199
6908c509
JB
162002014-08-01 Joel Brobecker <brobecker@adacore.com>
16201
16202 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16203 inner_vla_struct_object_size.
16204 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16205 as xfail.
16206
cc6563d2
PA
162072014-07-30 Pedro Alves <palves@redhat.com>
16208
16209 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16210 comment.
16211
7e09a223
YQ
162122014-07-29 Yao Qi <yao@codesourcery.com>
16213
16214 PR gdb/17206
16215 * gdb.base/until-nodebug.exp: New.
16216
7ebdbe92
DE
162172014-07-28 Doug Evans <xdje42@gmail.com>
16218
16219 PR guile/17203
16220 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16221 previously existing parameter, and previously ambiguously spelled
16222 parameter.
16223
fdb1adc6
WN
162242014-07-28 Will Newton <will.newton@linaro.org>
16225
16226 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16227
186fcde0
DE
162282014-07-26 Ludovic Courtès <ludo@gnu.org>
16229 Doug Evans <xdje42@gmail.com>
16230
16231 PR guile/17146
16232 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16233
70509625
PA
162342014-07-25 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.threads/signal-command-handle-nopass.c: New file.
16237 * gdb.threads/signal-command-handle-nopass.exp: New file.
16238 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16239 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16240 * gdb.threads/signal-delivered-right-thread.c: New file.
16241 * gdb.threads/signal-delivered-right-thread.exp: New file.
16242
c3f814a1
PA
162432014-07-25 Pedro Alves <palves@redhat.com>
16244
16245 * gdb.base/double-prompt-target-event-error.exp
16246 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16247 match.
16248 (cancel_pagination_in_target_event): Rework double prompt
16249 detection.
16250 * gdb.base/paginate-after-ctrl-c-running.exp
16251 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16252 <return>' match.
16253 * gdb.base/paginate-bg-execution.exp
16254 (test_bg_execution_pagination_return)
16255 (test_bg_execution_pagination_cancel): Remove '-notransfer
16256 <return>' matches.
16257 * gdb.base/paginate-execution-startup.exp
16258 (test_fg_execution_pagination_return)
16259 (test_fg_execution_pagination_cancel): Remove '-notransfer
16260 <return>' matches.
16261 * gdb.base/paginate-inferior-exit.exp
16262 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16263 match.
16264 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16265 * lib/gdb.exp (pagination_prompt): Run text through
16266 string_to_regexp.
16267 (gdb_test_multiple): Match $pagination_prompt instead of
16268 "<return>".
16269 (string_to_regexp): Move to lib/gdb-utils.exp.
16270
e214cf6c
JK
162712014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16272
16273 * gdb.arch/amd64-entry-value-paramref.S: New file.
16274 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16275 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16276 * gdb.arch/amd64-optimout-repeat.S: New file.
16277 * gdb.arch/amd64-optimout-repeat.c: New file.
16278 * gdb.arch/amd64-optimout-repeat.exp: New file.
16279
17d0c5c8
JK
162802014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16281
16282 PR gdb/17170
16283 * gdb.base/statistics.exp: New file.
16284
b8b8facf
DE
162852014-07-17 Doug Evans <dje@google.com>
16286
74b49205 16287 PR gdb/17170
b8b8facf
DE
16288 * gdb.base/maint.exp: Update testing of per-command stats.
16289
1b5d0ab3
PA
162902014-07-16 Pedro Alves <palves@redhat.com>
16291
16292 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16293 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16294 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16295 (tfile_write_buf): New functions.
16296 (add_memory_block): Rewrite using the above.
16297 (adjust_function_address): New function.
16298 (FUNCTION_ADDRESS): New macro.
16299 (write_basic_trace_file): Remove short_x local, and use
16300 tfile_write_16. Change type of func_addr local to unsigned long
16301 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16302 here. Cast argument of add_memory_block to char pointer.
16303 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16304 (main): Remove parameters.
16305 * gdb.trace/tfile.exp: Remove nowarnings.
16306
4d974e88
SM
163072014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16308
16309 * gdb.base/debug-expr.exp: Test string evaluation with
16310 "debug expression" on.
16311
41e99568
PA
163122014-07-15 Pedro Alves <palves@redhat.com>
16313
16314 * gdb.base/reread.exp: Use clean_restart.
16315
487d9753
PL
163162014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16317
16318 * gdb.arch/avr-flash-qualifer.c: New.
16319 * gdb.arch/avr-flash-qualifer.exp: New.
16320
cc1c52ad
PA
163212014-07-14 Pedro Alves <palves@redhat.com>
16322
16323 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16324 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16325
1e973570
PA
163262014-07-14 Pedro Alves <palves@redhat.com>
16327
16328 * gdb.base/double-prompt-target-event-error.c: New file.
16329 * gdb.base/double-prompt-target-event-error.exp: New file.
16330
93d6eb10
PA
163312014-07-14 Pedro Alves <palves@redhat.com>
16332
16333 PR gdb/17072
16334 * gdb.base/paginate-inferior-exit.c: New file.
16335 * gdb.base/paginate-inferior-exit.exp: New file.
16336
0017922d
PA
163372014-07-14 Pedro Alves <palves@redhat.com>
16338
16339 PR gdb/17072
16340 * gdb.base/paginate-bg-execution.c: New file.
16341 * gdb.base/paginate-bg-execution.exp: New file.
16342
94696ad3
PA
163432014-07-14 Pedro Alves <palves@redhat.com>
16344
16345 PR gdb/17072
16346 * gdb.base/paginate-execution-startup.c: New file.
16347 * gdb.base/paginate-execution-startup.exp: New file.
16348 * lib/gdb.exp (pagination_prompt): New global.
16349 (default_gdb_spawn): New procedure, factored out from
16350 default_gdb_spawn.
16351 (default_gdb_start): Adjust to call default_gdb_spawn.
16352 (gdb_spawn): New procedure.
16353
bd293940
PA
163542014-07-14 Pedro Alves <palves@redhat.com>
16355
16356 * lib/gdb.exp (gdb_assert): New procedure.
16357 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16358
c933f875
PA
163592014-07-14 Pedro Alves <palves@redhat.com>
16360
16361 * gdb.base/execution-termios.c: New file.
16362 * gdb.base/execution-termios.exp: New file.
16363
d98b7a16
TT
163642014-07-14 Tom Tromey <tromey@redhat.com>
16365
16366 * gdb.cp/vla-cxx.cc: New file.
16367 * gdb.cp/vla-cxx.exp: New file.
16368
548740d6
TT
163692014-07-14 Tom Tromey <tromey@redhat.com>
16370
16371 * gdb.reverse/rerun-prec.c: New file.
16372 * gdb.reverse/rerun-prec.exp: New file.
16373
a25eb028
MR
163742014-07-12 Maciej W. Rozycki <macro@mips.com>
16375 Maciej W. Rozycki <macro@codesourcery.com>
16376
16377 * lib/gdb-utils.exp: New file.
16378 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16379 inline `gdb_init_command' processing.
16380 (gdb_start_cmd): Likewise.
16381 * lib/mi-support.exp (mi_run_cmd): Likewise.
16382 * README: Document `gdb_init_command' and `gdb_init_commands'.
16383
218c2655
JK
163842014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16385
16386 Fix false FAIL running under a very long directory name.
16387 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16388 and "set print elements 10000". Twice.
16389
5401fde3
YQ
163902014-07-11 Yao Qi <yao@codesourcery.com>
16391
16392 * gdb.base/exprs.exp: "set print symbol off".
16393
e76126e8
PA
163942014-07-11 Pedro Alves <palves@redhat.com>
16395
16396 * gdb.threads/kill.c: New file.
16397 * gdb.threads/kill.exp: New file.
16398
2d6f0de6
YQ
163992014-07-10 Yao Qi <yao@codesourcery.com>
16400
16401 * gdb.trace/tfile.c (write_basic_trace_file)
16402 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16403 address written to trace file.
16404
7180e04a
PA
164052014-07-09 Pedro Alves <palves@redhat.com>
16406
16407 * gdb.base/attach-wait-input.exp: New file.
16408 * gdb.base/attach-wait-input.c: New file.
16409
9a9a7608
AB
164102014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16411
16412 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16413 setting up test structures.
16414 (main): Call new test function.
16415 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16416 test function, continue into test function and walk test
16417 structures.
16418
161ac41e
YQ
164192014-07-02 Yao Qi <yao@codesourcery.com>
16420
16421 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16422 'bar_start' at the beginning of functions 'foo' and 'bar'
16423 respectively.
16424 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16425 instead of 'foo' and 'bar'.
16426
1f267ae3
MM
164272014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16428
16429 * gdb.btrace/segv.exp: New.
16430 * gdb.btrace/segv.c: New.
16431
2b239efb
LM
164322014-07-02 Luis Machado <lgustavo@codesourcery.com>
16433
16434 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16435 instruction.
16436
cf363f18
MW
164372014-06-30 Mark Wielaard <mjw@redhat.com>
16438
16439 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16440 vulture, vilify, villar): New volatile array constants.
16441 (vindictive, vegetation): New const volatile array constants.
16442 * gdb.base/volatile.exp: Test volatile and const volatile array
16443 types.
16444
aebf9d24
AA
164452014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16446
16447 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16448 target lacks support for awatch, rwatch, or hbreak.
16449
b67a2c6f
YQ
164502014-06-27 Yao Qi <yao@codesourcery.com>
16451
16452 * gdb.multi/dummy-frame-restore.exp: New.
16453 * gdb.multi/dummy-frame-restore.c: New.
16454
aef92902
MM
164552014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16456
16457 * gdb.btrace/gcore.exp: New.
16458
8e9db26e
PA
164592014-06-23 Pedro Alves <palves@redhat.com>
16460
16461 * gdb.base/watchpoint-reuse-slot.c: New file.
16462 * gdb.base/watchpoint-reuse-slot.exp: New file.
16463
70afc5b7
SC
164642014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16465
16466 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16467 progspace's filename in 'info', 'enable' and 'disable' command
16468 tests.
16469
b972bd9c
JK
164702014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16471
16472 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16473 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16474 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16475
125f8a3d
GB
164762014-06-20 Gary Benson <gbenson@redhat.com>
16477
16478 * gdb.arch/i386-avx.exp: Fix include file location.
16479 * gdb.arch/i386-sse.exp: Likewise.
16480
3ed9baed
IB
164812014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16482
16483 * gdb.dlang/expression.exp: New file.
16484
034f788c
PA
164852014-06-19 Pedro Alves <palves@redhat.com>
16486
16487 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16488 out from ...
16489 (top level): ... here. Iterate running tests under different
16490 scheduler-locking settings.
16491
45371d0c
LM
164922014-06-18 Luis Machado <lgustavo@codesourcery.com>
16493
16494 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16495 to DW_FORM_addr and use non-zero addresses.
16496
5d376983
SC
164972014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16498
16499 PR gdb/17017
16500 * gdb.python/py-xmethods.cc: Add global function call counters and
16501 increment them in their respective functions. Remove "cout"
16502 statements.
16503 * gdb.python/py-xmethods.exp: Make tests check the global function
16504 call counters instead of depending on inferior IO.
16505
a1aa2221
LM
165062014-06-18 Don Breazeal <donb@codesourcery.com>
16507
16508 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16509 Deleted procedure.
16510 (explicit_fork_parent_follow): Deleted procedure.
16511 (explicit_fork_child_follow): Deleted procedure.
16512 (test_follow_fork): New procedure.
16513 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16514 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16515 procedure calls.
16516
0fc05997
YQ
165172014-06-17 Yao Qi <yao@codesourcery.com>
16518
16519 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16520 CP1252.
16521
70795c52
LM
165222014-06-17 Luis Machado <lgustavo@codesourcery.com>
16523
16524 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16525 Initialize ptr and S explicitly.
16526 (skip_type_update_when_not_use_rtti_test): Likewise.
16527
6be47f0c
KS
165282014-06-16 Keith Seitz <keiths@redhat.com>
16529
16530 PR mi/15863
16531 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16532 the inferior is started.
16533
d03de421
PA
165342014-06-16 Pedro Alves <palves@redhat.com>
16535
16536 * gdb.base/break-main-file-remove-fail.c: New file.
16537 * gdb.base/break-main-file-remove-fail.exp: New file.
16538 * gdb.base/break-unload-file.exp: Use build_executable instead of
16539 prepare_for_testing.
16540 (test_break): New parameter "initial_load". Handle it.
16541 (top level): Add initial_load cmdline/file axis.
16542
f9579b99
TT
165432014-06-12 Tom Tromey <tromey@redhat.com>
16544
16545 * gdb.base/completion.exp: Don't use directory name in test.
16546
3657956b
GB
165472014-06-09 Gary Benson <gbenson@redhat.com>
16548
16549 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16550 separate the always-available ANSI-standard signals from the
16551 signals that require checking.
16552 (main): Likewise.
16553 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16554 Likewise.
16555 (main): Likewise.
16556
4186eb54
KS
165572014-06-07 Keith Seitz <keiths@redhat.com>
16558
16559 Revert:
16560 PR c++/16253
16561 * gdb.cp/var-tag.cc: New file.
16562 * gdb.cp/var-tag.exp: New file.
16563 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16564 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16565 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16566 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16567
25326a28 165682014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16569
16570 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16571
829155c9
PA
165722014-06-06 Pedro Alves <palves@redhat.com>
16573
16574 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16575 in target debug output instead of looking at RSP packets,
16576 disabling the test on any target that uses hardware stepping.
16577 Update comments.
16578
61c8d22e
PA
165792014-06-06 Pedro Alves <palves@redhat.com>
16580
16581 * gdb.base/break-unload-file.exp: Fix typo.
16582
d9a47287
YQ
165832014-06-06 Yao Qi <yao@codesourcery.com>
16584
16585 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16586 from "jit_function" to "^jit_function".
16587
e5e01dbf
YQ
165882014-06-06 Yao Qi <yao@codesourcery.com>
16589
16590 * gdb.base/async.c (foo): Add one statement.
16591 * gdb.base/async.exp: Get the next instruction address and
16592 match the output of "nexti" by instruction address. Match
16593 the hex address in the output of "finish".
16594
73ba372c
GB
165952014-06-06 Gary Benson <gbenson@redhat.com>
16596
16597 * gdb.base/call-signals.c: Remove preprocessor conditionals
16598 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16599 SIGSEGV and SIGTERM.
16600 * gdb.base/sigall.c: Likewise.
16601 * gdb.base/unwindonsignal.c: Likewise.
16602 * gdb.reverse/sigall-reverse.c: Likewise.
16603
831517df
YQ
166042014-06-06 Yao Qi <yao@codesourcery.com>
16605
16606 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16607 readable, skip the test.
16608
b8b91e98
YQ
166092014-06-06 Yao Qi <yao@codesourcery.com>
16610
16611 * gdb.threads/staticthreads.c (thread_function): Move the line
16612 setting breakpoint on forward.
16613 * gdb.threads/staticthreads.exp: Update comments.
16614
fb934770
LC
166152014-06-05 Ludovic Courtès <ludo@gnu.org>
16616
16617 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16618 "history-append! type error".
16619
6ef284bd
SM
166202014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16621
16622 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16623 erroneous dprintf expected input.
16624
a872e241
DE
166252014-06-04 Doug Evans <xdje42@gmail.com>
16626
16627 * gdb.guile/scm-generics.exp: Delete.
16628
16f691fb
DE
166292014-06-04 Doug Evans <xdje42@gmail.com>
16630
16631 * gdb.guile/scm-breakpoint.exp: Update.
16632 Add tests for breakpoint registration.
16633
012370f6
TT
166342014-06-04 Tom Tromey <tromey@redhat.com>
16635
16636 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16637 VLA-in-union.
16638 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16639 inner_vla_struct, vla_union types. Initialize objects of those
16640 types and compute their sizes.
16641
9f5a4cef
HZ
166422014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16643 Hui Zhu <hui@codesourcery.com>
16644
16645 * gdb.base/fileio.exp: Add test for shell not available as well as
16646 available.
16647 * gdb.base/fileio.c (test_system): Check for shell twice.
16648
90a45c4d
YQ
166492014-06-04 Yao Qi <yao@codesourcery.com>
16650
16651 * gdb.base/auto-connect-native-target.exp: Remove redundant
16652 space from the regexp pattern.
16653
70017e41
YQ
166542014-06-04 Yao Qi <yao@codesourcery.com>
16655
16656 * gdb.base/default.exp: Replace "child" with "native" in
16657 regexp pattern.
16658
883964a7
SC
166592014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16660
16661 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16662 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16663 * gdb.python/py-xmethods.py: Python script supporting the
16664 new testcase and tests.
16665
ef370185
JB
166662014-06-03 Joel Brobecker <brobecker@adacore.com>
16667 Pedro Alves <palves@redhat.com>
16668
16669 PR breakpoints/17000
16670 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16671 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16672
1e2ccb61
BM
166732014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16674
16675 * gdb.base/subst.exp: Add tests to verify partial path matching
16676 output.
16677
c6ec5ab2
PA
166782014-06-03 Pedro Alves <palves@redhat.com>
16679
16680 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16681 target that doesn't use software single-stepping.
16682
835c559f
PA
166832014-06-03 Pedro Alves <palves@redhat.com>
16684
16685 PR breakpoints/17000
16686 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16687 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16688
06eb1586
DE
166892014-06-02 Doug Evans <xdje42@gmail.com>
16690
16691 * gdb.guile/scm-parameter.exp: New file.
16692
e698b8c4
DE
166932014-06-02 Doug Evans <xdje42@gmail.com>
16694
16695 * gdb.guile/scm-cmd.c: New file.
16696 * gdb.guile/scm-cmd.exp: New file.
16697
ded03782
DE
166982014-06-02 Doug Evans <xdje42@gmail.com>
16699
16700 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16701 pretty-printer lookup.
16702 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16703 (make-pp_s-printer): Call it.
16704 (make-pretty-printer-from-dict): New function.
16705 (lookup-pretty-printer-maker-from-dict): New function.
16706 (*pretty-printer*): Simplify.
16707 (make-objfile-pp_s-printer): New function.
16708 (install-objfile-pretty-printers!): New function.
16709 (make-progspace-pp_s-printer): New function.
16710 (install-progspace-pretty-printers!): New function.
16711 * gdb.guile/scm-progspace.c: New file.
16712 * gdb.guile/scm-progspace.exp: New file.
16713
41fac0cf
PA
167142014-06-02 Pedro Alves <palves@redhat.com>
16715
16716 * gdb.base/dprintf-bp-same-addr.c: New file.
16717 * gdb.base/dprintf-bp-same-addr.exp: New file.
16718
96ae5695
EBM
167192014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16720
16721 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16722 * gdb.arch/powerpc-power.s: Likewise.
16723
da02b3a8
JB
167242014-06-02 Joel Brobecker <brobecker@adacore.com>
16725
16726 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16727
c72b2e7b
YQ
167282014-06-01 Yao Qi <yao@codesourcery.com>
16729
16730 * gdb.base/watchpoint.exp (test_watch_location): Check null
16731 pointer can be dereferenced. If not, do the test, otherwise
16732 skip it.
16733
53e8a631
AB
167342014-05-30 Andrew Burgess <aburgess@broadcom.com>
16735
16736 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16737 results.
16738 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16739
938f0e2f
AB
167402014-05-30 Andrew Burgess <aburgess@broadcom.com>
16741
16742 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16743 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16744 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16745 * gdb.arch/amd64-invalid-stack-top.c: New file.
16746 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16747
9ba6657a
PA
167482014-05-30 Pedro Alves <palves@redhat.com>
16749
16750 PR breakpoints/17000
16751 * gdb.base/sss-bp-on-user-bp.c: New file.
16752 * gdb.base/sss-bp-on-user-bp.exp: New file.
16753
522c09bf
DB
167542014-05-30 David Blaikie <dblaikie@gmail.com>
16755
16756 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16757 gnu_inline semantics via attribute.
16758 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16759 source explicitly specifies the required semantics.
16760
bf4ef81e
MR
167612014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16762
16763 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16764
329ea579
PA
167652014-05-29 Pedro Alves <palves@redhat.com>
16766 Tom Tromey <tromey@redhat.com>
16767
16768 * gdb.base/async-shell.exp: Don't enable target-async.
16769 * gdb.base/async.exp
16770 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16771 parameter. Adjust.
16772 (top level): Don't test with "target-async".
16773 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16774 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16775 * gdb.base/inferior-died.exp: Don't enable target-async.
16776 * gdb.base/interrupt-noterm.exp: Likewise.
16777 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16778 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16779 * gdb.mi/mi-nonstop.exp: Likewise.
16780 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16781 * gdb.mi/mi-nsintrall.exp: Likewise.
16782 * gdb.mi/mi-nsmoribund.exp: Likewise.
16783 * gdb.mi/mi-nsthrexec.exp: Likewise.
16784 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16785 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16786 * gdb.python/py-evsignal.exp: Don't enable target-async.
16787 * gdb.python/py-evthreads.exp: Likewise.
16788 * gdb.python/py-prompt.exp: Likewise.
16789 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16790 * gdb.server/solib-list.exp: Don't enable target-async.
16791 * gdb.threads/thread-specific-bp.exp: Likewise.
16792 * lib/mi-support.exp: Adjust to use mi-async.
16793
fd664c91
PA
167942014-05-29 Pedro Alves <palves@redhat.com>
16795
16796 PR gdb/13860
16797 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16798 reason, even in sync mode.
16799
251bde03
PA
168002014-05-29 Pedro Alves <palves@redhat.com>
16801 Hui Zhu <hui@codesourcery.com>
16802
16803 PR PR15693
16804 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16805 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16806 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16807 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16808
7f3c0343
JB
168092014-05-28 Joel Brobecker <brobecker@adacore.com>
16810
16811 * config/monitor.exp (gdb_target_monitor): Replace use of
16812 "set remotebaud" by "set serial baud".
16813
b2715b27
AW
168142014-05-26 Andy Wingo <wingo@igalia.com>
16815
16816 * gdb.guile/scm-breakpoint.exp:
16817 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16818 properties instead of gdb-object-properties.
16819
498a4489
YQ
168202014-05-26 Yao Qi <yao@codesourcery.com>
16821
16822 * gdb.server/no-thread-db.exp: Specify source file name
16823 explicitly when setting a breakpoint.
16824
589fdceb
MM
168252014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16826
16827 * gdb.btrace/vdso.c: New.
16828 * gdb.btrace/vdso.exp: New.
16829
e9089e05
MM
168302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16831
16832 * gdb.base/gcore.exp (capture_command_output): Move ...
16833 * lib/gdb.exp (capture_command_output): ... here.
16834
67b5c0c1
MM
168352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16836
16837 * gdb.btrace/data.exp: Test memory access during btrace replay.
16838
a2199296
SM
168392014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16840
16841 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16842
17b2616c
PA
168432014-05-21 Pedro Alves <palves@redhat.com>
16844
16845 PR gdb/13860
16846 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16847 (top level): Test that output related to execution commands is
16848 sent to the console with CLI commands, but not with MI commands.
16849 Test that breakpoint events are always mirrored to the console.
16850 Also expect the new source line to be output after a "next" in
16851 async mode too. Make it a pass/fail test.
16852 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16853 output.
16854 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16855
5166082f
PA
168562014-05-21 Pedro Alves <palves@redhat.com>
16857
16858 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16859 Use them to test variations of "list" after reaching a breakpoint.
16860 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16861 Test "list" with listsize 10 after reaching a breakpoint.
16862 * gdb.python/python.exp (decode_line current location line
16863 number): Adjust expected line number.
16864
2f25d70f
SM
168652014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16866
16867 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16868 behavior for $args, pass it directly to "run".
16869
ff604a67
MR
168702014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16871
16872 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16873 30000 to 65536.
16874
6a3cb8e8
PA
168752014-05-21 Pedro Alves <palves@redhat.com>
16876
16877 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16878 auto-connect-native-target off".
16879 * gdb.base/auto-connect-native-target.c: New file.
16880 * gdb.base/auto-connect-native-target.exp: New file.
16881
4ebfc96e
PA
168822014-05-21 Pedro Alves <palves@redhat.com>
16883
16884 * gdb.base/default.exp: Test "target native" instead of "target
16885 child".
16886
36d46afb
MW
168872014-05-21 Mark Wielaard <mjw@redhat.com>
16888
16889 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16890
5876f503
JK
168912014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16892
16893 Fix TLS access for -static -pthread.
16894 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16895 <HAVE_TLS> (thread_function, main): Initialize it.
16896 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16897 Add clean_restart.
16898 <$have_tls != "">: Check TLSVAR.
16899
0256a6ac
PA
169002014-05-21 Pedro Alves <palves@redhat.com>
16901
16902 * gdb.base/dcache-line-read-error.c: New.
16903 * gdb.base/dcache-line-read-error.exp: New.
16904
936d2992
PA
169052014-05-20 Pedro Alves <palves@redhat.com>
16906
16907 * gdb.base/compare-sections.c: New file.
16908 * gdb.base/compare-sections.exp: New file.
16909
802e8e6d
PA
169102014-05-20 Pedro Alves <palves@redhat.com>
16911
16912 * gdb.base/break-idempotent.c: New file.
16913 * gdb.base/break-idempotent.exp: New file.
16914
e59fa00f
MM
169152014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16916
16917 * gdb.btrace/nohist.exp: New.
16918
8b696e31
YQ
169192014-05-20 Yao Qi <yao@codesourcery.com>
16920
16921 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16922 gdb.reverse directory and gdb_reverse_timeout exists in board
16923 setting.
16924 * README: Document gdb_reverse_timeout.
16925
73c9764f
YQ
169262014-05-20 Yao Qi <yao@codesourcery.com>
16927
16928 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16929 'test_file_name'. Treat args as a string instead of a list.
16930 (gdb_init): Rename argument 'args' by 'test_file_name'.
16931
f1f4348a
JK
169322014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16933
16934 * gdb.arch/powerpc-power.exp: New file.
16935 * gdb.arch/powerpc-power.s: New file.
16936
0dbe70ce
DE
169372014-05-16 Doug Evans <dje@google.com>
16938
16939 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
16940 * gdb.base/completion.exp: Check that all expected files exist
16941 before doing file completion.
0dbe70ce 16942
8d551b02
DE
169432014-05-16 Doug Evans <dje@google.com>
16944
16945 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16946 Update.
16947 (do_syscall_tests_without_xml): Update.
16948
73eb7709
PA
169492014-05-16 Pedro Alves <palves@redhat.com>
16950
16951 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16952 instead of "unknown output after running".
16953
3fae92fc
YQ
169542014-05-16 Yao Qi <yao@codesourcery.com>
16955
16956 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16957 file1.txt from host at the end.
16958 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16959
c2b2ccc5
DE
169602014-05-15 Doug Evans <dje@google.com>
16961
16962 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16963 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16964 loading file. Add test for TU lookup.
16965
8c217a4b
SM
169662014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16967
16968 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16969 calling "-exec-arguments" or "set args" before running the
16970 inferior.
16971
3deb39c6
SM
169722014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16973
16974 * lib/mi-support.exp (mi_expect_stop): Expect message for
16975 inferiors that exit with non-zero exit code.
16976
71a79f8c
YQ
169772014-05-14 Yao Qi <yao@codesourcery.com>
16978
16979 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16980 match absolute path on remote host.
16981 (test_file_list_exec_source_files): Remove "/" from the
16982 pattern.
16983
f23fcd46
YQ
169842014-05-14 Yao Qi <yao@codesourcery.com>
16985
16986 * boards/local-remote-host-notty.exp (${board}_file): New
16987 proc.
16988
9404b58f
KM
169892014-05-07 Kyle McMartin <kyle@redhat.com>
16990
16991 Pushed by Joel Brobecker <brobecker@adacore.com>.
16992 * gdb.arch/aarch64-atomic-inst.c: New file.
16993 * gdb.arch/aarch64-atomic-inst.exp: New file.
16994
5e45f04c
YQ
169952014-05-07 Yao Qi <yao@codesourcery.com>
16996
16997 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16998 in current context" too.
16999
c888a17d
KS
170002014-05-05 Keith Seitz <keiths@redhat.com>
17001
17002 * gdb.linespec/ls-dollar.exp: Add test for linespec
17003 file:convenience_variable.
17004
290a839c
YQ
170052014-05-05 Yao Qi <yao@codesourcery.com>
17006
17007 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17008 traceframes into tfile and ctf trace files. Read data from
17009 trace file and test collected data.
17010 (gdb_collect_locals_test): Likewise.
17011 (gdb_unavailable_registers_test): Likewise.
17012 (gdb_unavailable_floats): Likewise.
17013 (gdb_collect_globals_test): Likewise.
17014 (top-level): Append "ctf" to trace_file_targets if GDB
17015 supports.
17016
b5262cd0
YQ
170172014-05-05 Yao Qi <yao@codesourcery.com>
17018
17019 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17020 code to ...
17021 (gdb_collect_args_test_1): ... it. New proc.
17022 (gdb_collect_locals_test): Move some code to ...
17023 (gdb_collect_locals_test_1): ... it. New proc.
17024 (gdb_unavailable_registers_test): Move some code to ...
17025 (gdb_unavailable_registers_test_1): ... it. New proc.
17026 (gdb_unavailable_floats): Move some code to ...
17027 (gdb_unavailable_floats_1): ... it. New proc.
17028
30a1e6cc
SDJ
170292014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17030
17031 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17032 probes to test for bitness recognition.
17033 * gdb.arch/amd64-stap-optional-prefix.exp
17034 (test_probe_value_without_reg): New procedure.
17035 Add code to test for different kinds of bitness.
17036
f33da99a
SDJ
170372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17038
17039 PR breakpoints/16889
17040 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17041 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17042
5b80f00d
PA
170432014-05-01 Pedro Alves <palves@redhat.com>
17044
17045 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17046 gdb_file_cmd if no file is specified.
17047 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17048 last_loaded_file to set the remote exec-file.
17049
f8c2a73c
PA
170502014-05-01 Pedro Alves <palves@redhat.com>
17051
17052 * boards/local-remote-host.exp: New file.
17053
be6e8ac7
PA
170542014-05-01 Pedro Alves <palves@redhat.com>
17055
17056 * boards/local-remote-host.exp: Rename to ...
17057 * boards/local-remote-host-notty.exp: ... this.
17058
cac0dc8f
JB
170592014-04-28 Joel Brobecker <brobecker@adacore.com>
17060
17061 * gdb.ada/dyn_arrayidx: New testcase.
17062
9730e6cc
YQ
170632014-04-26 Yao Qi <yao@codesourcery.com>
17064
17065 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17066 and compute the length of function main. Save it in
17067 $main_length.
17068 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17069 (top-level): Use gdb_compile to compile objects into
17070 executable and restart GDB. Remove invocation to
17071 prepare_for_testing.
17072
7ae1a6a6
PA
170732014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17074 Pedro Alves <palves@redhat.com>
17075
17076 PR server/16255
17077 * gdb.multi/multi-attach.c: New file.
17078 * gdb.multi/multi-attach.exp: New file.
17079
4082afcc
PA
170802014-04-25 Pedro Alves <palves@redhat.com>
17081
17082 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17083 user.
17084 (top level): Test that "set remote conditional-breakpoints-packet
17085 off" works as intended.
17086 * gdb.base/dprintf.exp: Test that "set remote
17087 breakpoint-commands-packet off" works as intended.
17088 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17089 New function.
17090 (top level): Call it.
17091 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17092 remote fast-tracepoints-packet off" works as intended.
17093 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17094 * lib/gdb.exp (gdb_is_target_remote): ... here.
17095
2abc3f8d
DB
170962014-04-24 David Blaikie <dblaikie@gmail.com>
17097
17098 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17099 ensure clang would not discard them.
17100 * gdb.base/gdbvars.c: Ditto.
17101 * gdb.base/memattr.c: Ditto.
17102 * gdb.base/whatis.c: Ditto.
17103 * gdb.python/py-prettyprint.c: Ditto.
17104 * gdb.trace/actions.c: Ditto.
17105 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17106 ensure clang would not discard it.
17107
bfd39632
DB
171082014-04-24 David Blaikie <dblaikie@gmail.com>
17109
17110 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17111 clang to emit the full definition of type required by the test
17112 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17113
22842ff6
DB
171142014-04-24 David Blaikie <dblaikie@gmail.com>
17115
17116 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17117 coax Clang into emitting the definition of the type.
17118 * gdb.cp/pr10728-x.h (y): Ditto.
17119 * gdb.cp/pr10728-y.cc (y): Ditto.
17120
c2e827ad
DB
171212014-04-24 David Blaikie <dblaikie@gmail.com>
17122
17123 * gdb.base/label.exp: XFAIL label related tests under Clang.
17124 * gdb.cp/cplabel.exp: Ditto.
17125 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17126 under Clang those using labels.
17127
4c2d33e7
YQ
171282014-04-25 Yao Qi <yao@codesourcery.com>
17129
17130 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17131 double_label.
17132 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17133 partial_label and double_label.
17134
56083b99
DB
171352014-04-24 David Blaikie <dblaikie@gmail.com>
17136
17137 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17138
25d4e99d
DB
171392014-04-24 David Blaikie <dblaikie@gmail.com>
17140
17141 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17142 of the function to work across GCC and Clang.
17143 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17144 pointer types (const void ** const V void **).
17145
01f9f808
MS
171462014-04-24 Michael Sturm <michael.sturm@mintel.com>
17147 Walfred Tedeschi <walfred.tedeschi@intel.com>
17148
17149 * Makefile.in (EXECUTABLES): Added i386-avx512.
17150 * gdb.arch/i386-avx512.c: New file.
17151 * gdb.arch/i386-avx512.exp: Likewise.
17152
4b48d439
KS
171532014-04-23 Keith Seitz <keiths@redhat.com>
17154
17155 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17156 (mi_make_breakpoint_table): New procedure.
17157 (mi_create_breakpoint): Use mi_make_breakpoint
17158 and return the result.
17159 (mi_make_breakpoint): New procedure.
17160 (mi_build_kv_pairs): New procedure.
17161
17162 * gdb.mi/mi-break.exp: Remove unused globals,
17163 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17164 All callers updated.
17165 * gdb.mi/mi-dprintf.exp: Use variable to track command
17166 number.
17167 Update all callers of mi_create_breakpoint and use
17168 mi_make_breakpoint_table.
17169 Remove any unused global variables.
17170 * gdb.mi/mi-nonstop.exp: Likewise.
17171 * gdb.mi/mi-nsintrall.exp: Likewise.
17172 * gdb.mi/mi-nsmoribund.exp: Likewise.
17173 * gdb.mi/mi-nsthrexec.exp: Likewise.
17174 * gdb.mi/mi-reverse.exp: Likewise.
17175 * gdb.mi/mi-simplerun.exp: Likewise.
17176 * gdb.mi/mi-stepn.exp: Likewise.
17177 * gdb.mi/mi-syn-frame.exp: Likewise.
17178 * gdb.mi/mi-until.exp: Likewise.
17179 * gdb.mi/mi-var-cp.exp: Likewise.
17180 * gdb.mi/mi-var-display.exp: Likewise.
17181 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17182 * gdb.mi/mi2-var-child.exp: Likewise.
17183 * gdb.mi/mi-vla-c99.exp: Likewise.
17184 * lib/mi-support.exp: Likewise.
17185
17186 From Ian Lance Taylor <iant@cygnus.com>:
17187 * lib/gdb.exp (parse_args): New procedure.
17188
08351840
PA
171892014-04-23 Pedro Alves <palves@redhat.com>
17190
17191 * gdb.base/break-unload-file.c: New file.
17192 * gdb.base/break-unload-file.exp: New file.
17193 * gdb.base/sym-file-lib.c (baz): New function.
17194 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17195 field.
17196 (load): Store the segment's mapped size.
17197 (unload): New function.
17198 (unload_shlib): New function.
17199 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17200 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17201 set a breakpoint at baz, and call it.
17202 * gdb.base/sym-file.exp: New tests for stale breakpoint
17203 instructions.
17204
076855f9
PA
172052014-04-23 Pedro Alves <palves@redhat.com>
17206
17207 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17208 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17209 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17210 * gdb.base/hbreak-unmapped.c: New file.
17211 * gdb.base/hbreak-unmapped.exp: New file.
17212 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17213 * lib/gdb.exp (gdb_is_target_remote): ... here.
17214
483805cf
PA
172152014-04-22 Pedro Alves <palves@redhat.com>
17216
17217 * gdb.base/consecutive-step-over.c: New file.
17218 * gdb.base/consecutive-step-over.exp: New file.
17219
06d97543
PA
172202014-04-22 Pedro Alves <palves@redhat.com>
17221
17222 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17223 instead of send_gdb/gdb_expect.
17224
b4429ea2
YQ
172252014-04-22 Yao Qi <yao@codesourcery.com>
17226
17227 * lib/trace-support.exp (generate_tracefile): New procedure.
17228 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17229 return 0.
17230 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17231 if generate_tracefile returns 1.
17232
51d48146
PA
172332014-04-18 Tom Tromey <palves@redhat.com>
17234 Pedro alves <tromey@redhat.com>
17235
17236 PR backtrace/15558
17237 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17238 with a backtrace limit.
17239 * gdb.python/py-frame-inline.exp: Test running to an inline
17240 function with a backtrace limit, and printing the newest frame.
17241 * gdb.python/py-frame-inline.c (main): Call f.
17242
bd1dce5f
MS
172432014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17244
17245 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17246
40d1a503
MS
172472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17248
17249 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17250 Drop prefix from unsupported source file path.
17251
389b98f7
YQ
172522014-04-17 Yao Qi <yao@codesourcery.com>
17253
17254 * lib/gdb.exp (with_target_charset): New proc.
17255 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17256 with_target_charset.
17257 (test_print_strings): Likewise.
17258 (test_repeat_bytes): Likewise.
17259 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17260 for some tests.
17261
22869d73
KS
172622014-04-16 Keith Seitz <keiths@redhat.com>
17263
17264 PR gdb/15827
17265 * gdb.dwarf2/corrupt.c: New file.
17266 * gdb.dwarf2/corrupt.exp: New file.
17267
c4f87ca6
KS
172682014-04-16 Keith Seitz <keiths@redhat.com>
17269
17270 PR c++/16597
17271 * gdb.cp/namelessclass.cc: New file.
17272 * gdb.cp/namelessclass.exp: New file.
17273 * gdb.cp/namelessclass.S: New file.
17274
ab19de87
DE
172752014-04-16 Doug Evans <dje@google.com>
17276
17277 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17278 Add comment.
17279 (gdbserver_default_get_comm_port): New function.
17280 (gdbserver_start): Check if board file provided
17281 "gdbserver,get_comm_port" and use it if so.
17282 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17283 (gdb,socketport): Set to "stdio".
17284 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17285 (stdio_gdbserver_template): Delete.
17286 (${board}_get_remote_address): Update.
17287 (${board}_build_remote_cmd): Delete.
17288 (${board}_get_comm_port): New function.
17289 (${board}_spawn): Update.
17290 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17291 Delete.
17292 (${board}_get_remote_address): Update.
17293 (${board}_get_comm_port): New function.
17294
fc98a809
AB
172952014-04-16 Andrew Burgess <aburgess@broadcom.com>
17296
17297 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17298 appearing in any order.
17299
87fd9e6e
DE
173002014-04-15 Doug Evans <dje@google.com>
17301
17302 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17303 uninitialized value of "description".
17304
099fc3ea
KS
173052014-04-15 Keith Seitz <keiths@redhat.com>
17306
17307 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17308 Remove unused globals.
17309 (test_running_the_program): Likewise.
17310 (test_controlled_execution): Likewise.
17311 (test_controlling_breakpoints): Likewise.
17312 (test_program_termination): Likewise.
17313
5da151d4
KS
173142014-04-15 Keith Seitz <keiths@redhat.com>
17315
17316 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17317 unused globals.
17318 (test_rbreak_creation_and_listing): Likewise.
17319 (test_ignore_count): Likewise.
17320 (test_error): Likewise.
17321
35e5d2f0
PA
173222014-04-15 Pedro Alves <palves@redhat.com>
17323
17324 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17325 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17326 sym-file-loader.c.
17327 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17328 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17329 to sym-file-loader.c.
17330 (struct library): Forward declare.
17331 (load_shlib, lookup_function): Change prototypes.
17332 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17333 (translate_offset): Remove declarations.
17334 (get_text_addr): New declaration.
17335 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17336 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17337 sym-file-loader.h.
17338 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17339 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17340 here from sym-file-loader.h.
17341 (struct library): New structure.
17342 (load_shlib, lookup_function): Change prototypes and adjust to
17343 work with a struct library.
17344 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17345 (translate_offset): Make static.
17346 (get_text_addr): New function.
17347 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17348
eb4c1710
PA
173492014-04-15 Pedro Alves <palves@redhat.com>
17350
17351 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17352
2d1baf52
PA
173532014-04-15 Pedro Alves <palves@redhat.com>
17354
17355 * gdb.base/sym-file-loader.c: Include <limits.h>.
17356 (SELF_LINK): New define.
17357 (get_origin): New function.
17358 (load_shlib): Use it.
17359 * gdb.base/sym-file.exp: Don't early return if the target is
17360 remote. Use runto_main, and issue fail is that fails. Use
17361 gdb_load_shlibs.
17362 (shlib_name): Delete.
17363 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17364
7dd6df01
PA
173652014-04-15 Pedro Alves <palves@redhat.com>
17366
17367 * gdb.base/sym-file.exp: Remove regex characters from test
17368 message. Don't refer to breakpoint numbers in test messages.
17369
b50c8614
KS
173702014-04-14 Keith Seitz <keiths@redhat.com>
17371
17372 PR c++/16253
17373 * gdb.cp/var-tag.cc: New file.
17374 * gdb.cp/var-tag.exp: New file.
17375 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17376 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17377 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17378 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17379
3d567982
TT
173802014-04-14 Tom Tromey <tromey@redhat.com>
17381
17382 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17383 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17384 type.
17385 * gdb.cp/enum-class.exp: New file.
17386 * gdb.cp/enum-class.cc: New file.
17387
0626fc76
TT
173882014-04-14 Tom Tromey <tromey@redhat.com>
17389
17390 * gdb.dwarf2/enum-type.exp: New file.
17391
dca325b3
SA
173922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17393
17394 * gdb.mi/mi-vla-c99.exp: New file.
17395 * gdb.mi/vla.c: New file.
17396
5854b38a
SA
173972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17398
17399 * gdb.base/vla-datatypes.c: New file.
17400 * gdb.base/vla-datatypes.exp: New file.
17401
463bb957
SA
174022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17403
17404 * gdb.base/vla-ptr.c: New file.
17405 * gdb.base/vla-ptr.exp: New file.
17406
3dd170be
SA
174072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17408
17409 * gdb.dwarf2/count.exp: New file.
17410
5ecaaa66
SA
174112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17412
17413 * gdb.base/vla-sideeffect.c: New file.
17414 * gdb.base/vla-sideeffect.exp: New file.
17415
41f1ada5
DB
174162014-04-14 David Blaikie <dblaikie@gmail.com>
17417
17418 * gdb.mi/non-stop.c: Add return value for non-void function return
17419 statement.
17420 * gdb.threads/staticthreads.c: Ditto.
17421
0be03e84
DE
174222014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17423 Doug Evans <xdje42@gmail.com>
17424
17425 * gdb.guile/scm-value.c: Improve test case.
17426 * gdb.guile/scm-value.exp: Add new test.
17427
f180a1fb
DB
174282014-04-11 David Blaikie <dblaikie@gmail.com>
17429
17430 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17431 override Clang's default.
17432
6b662e19
JB
174332014-04-11 Joel Brobecker <brobecker@adacore.com>
17434
17435 Revert the following changes (regressions):
17436
17437 * gdb.base/vla-sideeffect.c: New file.
17438 * gdb.base/vla-sideeffect.exp: New file.
17439
17440 * gdb.dwarf2/count.exp: New file.
17441
17442 * gdb.base/vla-multi.c: New file.
17443 * gdb.base/vla-multi.exp: New file.
17444
17445 * gdb.base/vla-ptr.c: New file.
17446 * gdb.base/vla-ptr.exp: New file.
17447
17448 * gdb.base/vla-datatypes.c: New file.
17449 * gdb.base/vla-datatypes.exp: New file.
17450
17451 * gdb.mi/mi-vla-c99.exp: New file.
17452 * gdb.mi/vla.c: New file.
17453
245a5f0b
KS
174542014-04-11 Keith Seitz <keiths@redhat.com>
17455
17456 PR c++/16675
17457 * gdb.cp/cpsizeof.exp: New file.
17458 * gdb.cp/cpsizeof.cc: New file.
17459
58a84dcf
SA
174602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17461
191a8a90
JB
17462 * gdb.mi/mi-vla-c99.exp: New file.
17463 * gdb.mi/vla.c: New file.
58a84dcf 17464
c8655f75
SA
174652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17466
17467 * gdb.base/vla-datatypes.c: New file.
17468 * gdb.base/vla-datatypes.exp: New file.
17469
024e13b4
SA
174702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17471
17472 * gdb.base/vla-ptr.c: New file.
17473 * gdb.base/vla-ptr.exp: New file.
17474
1a237e0e
SA
174752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17476
17477 * gdb.base/vla-multi.c: New file.
17478 * gdb.base/vla-multi.exp: New file.
17479
504f3432
SA
174802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17481
17482 * gdb.dwarf2/count.exp: New file.
17483
3bce8237
SA
174842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17485
191a8a90
JB
17486 * gdb.base/vla-sideeffect.c: New file.
17487 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17488
322f9c21
YQ
174892014-04-11 Yao Qi <yao@codesourcery.com>
17490
17491 * gdb.base/completion.exp: Check file exists before running tests
17492 on file completion.
17493
d708bcd1
PA
174942014-04-10 Pedro Alves <palves@redhat.com>
17495
17496 * gdb.base/cond-eval-mode.c: New file.
17497 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17498 prepare_for_testing to build the new file. Check result of
17499 runto_main.
17500 (test_break, test_watch): New procedures.
17501 (top level): Use them.
17502
ae1d2761
PM
175032014-04-08 Pierre Muller <muller@sourceware.org>
17504
17505 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17506 Ctrl-V use for mingw hosts.
17507
7af389b8
SC
175082014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17509
17510 * gdb.python/py-value.c: Improve test case.
17511 * gdb.python/py-value.exp: Add new test.
17512
5e703181
DE
175132014-04-07 David Blaikie <dblaikie@gmail.com>
17514
17515 * lib/compiler.c: Identify the clang compiler.
17516 * lib/compiler.cc: Ditto.
17517
9810b410
YQ
175182014-04-03 Yao Qi <yao@codesourcery.com>
17519
17520 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17521
98d1b8dc
AB
175222014-04-01 Anton Blanchard <anton@samba.org>
17523
17524 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17525 messages unique.
17526
3114cea1
AB
175272014-04-01 Anton Blanchard <anton@samba.org>
17528
17529 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17530 prepare_for_testing.
17531
62f7182c
AB
175322014-04-01 Anton Blanchard <anton@samba.org>
17533
17534 * gdb.arch/ppc64-atomic-inst.c: Remove.
17535 * gdb.arch/ppc64-atomic-inst.S: New file.
17536 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17537
770e7fc7
DE
175382014-03-31 Doug Evans <dje@google.com>
17539
17540 * gdb.base/print-symbol-loading-lib.c: New file.
17541 * gdb.base/print-symbol-loading-main.c: New file.
17542 * gdb.base/print-symbol-loading.exp: New file.
17543
46e2bafa
YQ
175442014-03-31 Yao Qi <yao@codesourcery.com>
17545
17546 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17547
8776cfe9
JB
175482014-03-28 Joel Brobecker <brobecker@adacore.com>
17549
17550 * gdb.ada/mi_dyn_arr: New testcase.
17551
5d1ef361
DE
175522014-03-27 Doug Evans <dje@google.com>
17553
17554 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17555
b5bee914
YQ
175562014-03-27 Yao Qi <yao@codesourcery.com>
17557
17558 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17559 if target is nios2-*-*.
17560
0d4d0e77
YQ
175612014-03-26 Yao Qi <yao@codesourcery.com>
17562
17563 * lib/gdb.exp (readline_is_used): New proc.
17564 * gdb.base/completion.exp: Move tests on command complete up.
17565 Skip the rest of tests if readline is not used.
17566 * gdb.ada/complete.exp: Skp the test if readline is not
17567 used.
17568 * gdb.base/filesym.exp: Likewise.
17569 * gdb.base/macscp.exp: Likewise.
17570 * gdb.base/readline-ask.exp: Likewise.
17571 * gdb.base/readline.exp: Likewise.
17572 * gdb.python/py-cmd.exp: Likewise.
17573 * gdb.trace/tfile.exp: Likewise.
17574
29361eee
YQ
175752014-03-26 Yao Qi <yao@codesourcery.com>
17576
17577 * gdb.base/macscp.exp: Fix code format issues.
17578
bc9a5525
UW
175792014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17580
17581 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17582 * gdb.asm/powerpc64le.inc: New file.
17583
d3839ede
PA
175842014-03-25 Pedro Alves <palves@redhat.com>
17585 Doug Evans <dje@google.com>
17586
17587 * gdb.base/source-execution.c: New file.
17588 * gdb.base/source-execution.exp: New file.
17589 * gdb.base/source-execution.gdb: New file.
17590
01672a57
DE
175912014-03-24 Doug Evans <dje@google.com>
17592
17593 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17594 using fission.
17595
88bbeca9
HZ
175962014-03-24 Hui Zhu <hui@codesourcery.com>
17597 Pedro Alves <palves@redhat.com>
17598
17599 PR breakpoints/16101
17600 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17601 test pass/fail messages. Detect missing support for dprintf when
17602 breakpoints are actually inserted.
17603 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17604 breakpoints are actually inserted.
17605 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17606 fails.
17607
d2348791
JK
176082014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17609
17610 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17611
feef67ab
DE
176122014-03-22 Doug Evans <xdje42@gmail.com>
17613
17614 * gdb.python/python.exp (python not supported): Verify multi-line
17615 python command issues an error.
25d743f9 17616 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17617 guile command issues an error.
feef67ab 17618
ecebef6a
MR
176192014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17620
17621 * gdb.threads/thread-specific.exp: Handle the lack of usable
17622 $this_breakpoint and $this_thread.
17623
ccdd1909
HZ
176242014-03-21 Hui Zhu <hui@codesourcery.com>
17625
17626 * gdb.base/attach.exp (do_command_attach_tests): New.
17627
beb460e8
PA
176282014-03-20 Tom Tromey <tromey@redhat.com>
17629 Pedro Alves <palves@redhat.com>
17630
17631 PR cli/15718
17632 * gdb.base/condbreak-call-false.c: New file.
17633 * gdb.base/condbreak-call-false.exp: New file.
17634
40acf43a
PA
176352014-03-20 Pedro Alves <palves@redhat.com>
17636
17637 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17638 Delete.
17639 (block_signals, unblock_signals): Delete.
17640 (child_function_2, main): Remove references to deleted variable
17641 and functions.
17642
9f5e1e02
PA
176432014-03-20 Pedro Alves <palves@redhat.com>
17644
17645 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17646 Use pthread_kill to signal thread 2.
17647 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17648 Adjust to make the test send itself a signal rather than using the
17649 host's "kill" command.
17650
99619bea
PA
176512014-03-20 Pedro Alves <palves@redhat.com>
17652
17653 * gdb.threads/multiple-step-overs.c: New file.
17654 * gdb.threads/multiple-step-overs.exp: New file.
17655 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17656 Adjust expected infrun debug output.
17657
2adfaa28
PA
176582014-03-20 Pedro Alves <palves@redhat.com>
17659
17660 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17661 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17662
31e77af2
PA
176632014-03-20 Pedro Alves <palves@redhat.com>
17664
17665 PR breakpoints/7143
17666 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17667 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17668 of gdb_test_multiple.
17669 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17670 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17671
b9f437de
PA
176722014-03-20 Pedro Alves <palves@redhat.com>
17673
17674 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17675 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17676
05adc73e
PA
176772014-03-19 Pedro Alves <palves@redhat.com>
17678
17679 * gdb.base/async.exp: Remove early return.
17680
6048b950
PA
176812014-03-19 Pedro Alves <palves@redhat.com>
17682
17683 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17684
8bcfb00a
PA
176852014-03-19 Pedro Alves <palves@redhat.com>
17686
17687 * gdb.base/async.exp (test_background): Expect \r\n after
17688 "completed." in the fail pattern.
17689
884e37dc
PA
176902014-03-19 Pedro Alves <palves@redhat.com>
17691
17692 * gdb.base/async.exp (test_background): New procedure.
17693 Use it for all background execution command tests.
17694
148e57e2
PA
176952014-03-19 Pedro Alves <palves@redhat.com>
17696
17697 * gdb.base/async.exp: Use prepare_for_testing.
17698
f48088c7
PA
176992014-03-19 Pedro Alves <palves@redhat.com>
17700
17701 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17702 the same line.
17703
e2f6c966
PA
177042014-03-19 Pedro Alves <palves@redhat.com>
17705
17706 * gdb.base/async.c (main): Add "jump here" and "until here" line
17707 marker comments.
17708 * gdb.base/async.exp (jump_here): New global.
17709 (jump& test): Use it.
17710 (until_here): New global.
17711 (until& test): Use it.
17712
c30568d4
PA
177132014-03-19 Pedro Alves <palves@redhat.com>
17714
17715 * gdb.base/async.exp: Don't frob gdb_protocol.
17716
0172b6a7
DE
177172014-03-18 Doug Evans <xdje42@gmail.com>
17718
17719 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17720 Fix spelling of exec-done-display.
17721
06c868a8
JK
177222014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17723
17724 PR gdb/15358
17725 * gdb.base/gdb-sigterm.c: New file.
17726 * gdb.base/gdb-sigterm.exp: New file.
17727
0c7e1a46
PA
177282014-03-18 Pedro Alves <palves@redhat.com>
17729
17730 PR gdb/13860
17731 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17732 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17733 solib-event.
17734
f7c77d93
JB
177352014-03-17 Joel Brobecker <brobecker@adacore.com>
17736
17737 * gdb.ada/pckd_arr_ren: New testcase.
17738
5a1e8c7a
DE
177392014-03-13 Doug Evans <xdje42@gmail.com>
17740
17741 PR guile/16612
17742 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17743 collect after discarding symbols.
17744
350e1a76
DE
177452014-03-13 Ludovic Courtès <ludo@gnu.org>
17746 Doug Evans <xdje42@gmail.com>
17747
17748 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17749 to history survives a gc.
17750
a69900ae
PA
177512014-03-13 Pedro Alves <palves@redhat.com>
17752
17753 * gdb.base/default.exp: Don't test "target procfs".
17754
5db9f0bd
PA
177552014-03-13 Pedro Alves <palves@redhat.com>
17756
17757 * gdb.base/default.exp: Update "target child" and "target procfs"
17758 tests to not expect "Unix".
17759
b3ccfe11
TT
177602014-03-12 Tom Tromey <tromey@redhat.com>
17761
17762 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17763 New procs. Add target-async tests.
17764 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17765 Add target-async tests.
17766
646f4417
AA
177672014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17768
17769 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17770 'func_start' and 'func_end' for the beginning and end of the
17771 function code, respectively.
17772 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17773 'func_end' instead of 'func' and 'main'.
17774
288c211f
AA
177752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17776
17777 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17778 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17779 generate the debug info assembler source.
17780
e0c0f156
AA
177812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17782
17783 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17784 * gdb.dwarf2/arr-subrange.exp: Likewise.
17785 * gdb.dwarf2/dwz.exp: Likewise.
17786 * gdb.dwarf2/method-ptr.exp: Likewise.
17787 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17788 * gdb.dwarf2/subrange.exp: Likewise.
17789 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17790 * gdb.dwarf2/implptrpiece.exp: Likewise.
17791 * gdb.dwarf2/nostaticblock.exp: Likewise.
17792
0e5c4555
AA
177932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17794
17795 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17796 directory to absolute path name arguments.
17797
5ec18f2b
JG
177982014-03-10 Joel Brobecker <brobecker@adacore.com>
17799
17800 * gdb.ada/tagged_access: New testcase.
17801
847fc4f2
MM
178022014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17803
17804 * gdb.btrace/data.exp: Update expected output.
17805
cc3da688
YQ
178062014-03-06 Yao Qi <yao@codesourcery.com>
17807
17808 * gdb.trace/pr16508.exp: New file.
17809
0f26cec1
PA
178102014-03-05 Pedro Alves <palves@redhat.com>
17811
17812 PR gdb/16575
17813 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17814 procedure.
17815 (top level): Adjust to use it. Add tests that exercise breakpoint
17816 interaction with the code-cache.
17817
7a5a839f
LC
178182014-02-26 Ludovic Courtès <ludo@gnu.org>
17819
17820 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17821 test for 'history-append!'.
17822
31aa7e4e
JB
178232014-02-26 Joel Brobecker <brobecker@adacore.com>
17824
17825 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17826 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17827 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17828 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17829 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17830 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17831
1b588015
JB
178322014-02-26 Joel Brobecker <brobecker@adacore.com>
17833
17834 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17835 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17836 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17837
55426c9d
JB
178382014-02-26 Joel Brobecker <brobecker@adacore.com>
17839
17840 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17841
dc53a7ad
JB
178422014-02-26 Joel Brobecker <brobecker@adacore.com>
17843
17844 * gdb.dwarf2/arr-stride.c: New file.
17845 * gdb.dwarf2/arr-stride.exp: New file.
17846
12ab52e9
PA
178472014-02-26 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17850 that won't ever trigger. Make sure that GDB reports the correct
17851 breakpoint that caused the stop.
17852
849c862e
JK
178532014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17854
17855 PR gdb/16626
17856 * gdb.base/auto-load-script: New file.
17857 * gdb.base/auto-load.c: New file.
17858 * gdb.base/auto-load.exp: New file.
17859
71b7d793
JK
17860 PR gdb/16626
17861 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17862
e2f0d509
JK
178632014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17864
17865 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17866 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17867
50cc37c8
DE
178682014-02-24 Doug Evans <dje@google.com>
17869
17870 * lib/gdb.exp (run_on_host): Log error output if program fails.
17871
ea4758f2
PA
178722014-02-21 Pedro Alves <palves@redhat.com>
17873
17874 * gdb.threads/step-after-sr-lock.c: Rename to ...
17875 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17876 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17877 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17878 ... this.
17879
d7b30f67
SDJ
178802014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17881
17882 PR tdep/16397
17883 * gdb.arch/amd64-stap-special-operands.exp: New file.
17884 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17885 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17886 * gdb.arch/amd64-stap-triplet.S: Likewise.
17887 * gdb.arch/amd64-stap-triplet.c: Likewise.
17888
83deb43f
JB
178892014-02-20 Joel Brobecker <brobecker@adacore.com>
17890
17891 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17892 in .section pseudo-op.
17893
adde2bff
DE
178942014-02-20 lin zuojian <manjian2006@gmail.com>
17895 Joel Brobecker <brobecker@adacore.com>
17896 Doug Evans <xdje42@gmail.com>
17897
17898 PR symtab/16581
17899 * gdb.dwarf2/dw2-icycle.S: New file.
17900 * gdb.dwarf2/dw2-icycle.c: New file.
17901 * gdb.dwarf2/dw2-icycle.exp: New file.
17902
f7bd0f78
SC
179032014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17904
17905 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17906 operations on gdb.Value objects.
17907 * gdb.python/py-value-cc.exp: Add new test to test operations on
17908 gdb.Value objects.
17909
c17ef0d5
DE
179102014-02-18 Doug Evans <dje@google.com>
17911
17912 * Makefile.in (TESTS): New variable.
17913 (expanded_tests, expanded_tests_or_none): New variables
17914 (check-single): Pass $(expanded_tests_or_none) to runtest.
17915 (check-parallel): Only run tests in $(TESTS) if non-empty.
17916 (check/no-matching-tests-found): New rule.
17917 * README: Document TESTS makefile variable.
17918
5dd3176f
DE
179192014-02-18 Doug Evans <dje@google.com>
17920
17921 * Makefile.in (check-parallel): rm -rf outputs temp.
17922
0b10be4f
JK
179232014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17924
17925 Fix "ERROR: no fileid for" in the testsuite.
17926 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17927
85f224e7
DE
179282014-02-12 Doug Evans <dje@google.com>
17929
17930 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17931 (MISCELLANEOUS): New variable.
17932 (clean): rm -rf $(MISCELLANEOUS).
17933 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17934 dwp live in the same directory as symlinks, with each symlink pointed
17935 to a differently named file in a different directory.
17936
149b30ff
DE
179372014-02-11 Doug Evans <dje@google.com>
17938
17939 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17940 of Tcl file commands.
17941
1dfdac32
MK
179422014-02-10 Mark Kettenis <kettenis@gnu.org>
17943
17944 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17945 "kill -SIGUSR1 -1".
17946
aa4fb036
JB
179472014-02-10 Joel Brobecker <brobecker@adacore.com>
17948
17949 * gdb.ada/tick_length_array_enum_idx: New testcase.
17950
ed3ef339
DE
179512014-02-10 Doug Evans <xdje42@gmail.com>
17952
17953 * configure.ac (AC_OUTPUT): Add gdb.guile.
17954 * configure: Regenerate.
17955 * lib/gdb-guile.exp: New file.
17956 * lib/gdb.exp (get_target_charset): New function.
17957 * gdb.base/help.exp: Update expected output from "apropos apropos".
17958 * gdb.guile/Makefile.in: New file.
17959 * gdb.guile/guile.exp: New file.
17960 * gdb.guile/scm-arch.c: New file.
17961 * gdb.guile/scm-arch.exp: New file.
17962 * gdb.guile/scm-block.c: New file.
17963 * gdb.guile/scm-block.exp: New file.
17964 * gdb.guile/scm-breakpoint.c: New file.
17965 * gdb.guile/scm-breakpoint.exp: New file.
17966 * gdb.guile/scm-disasm.c: New file.
17967 * gdb.guile/scm-disasm.exp: New file.
17968 * gdb.guile/scm-equal.c: New file.
17969 * gdb.guile/scm-equal.exp: New file.
17970 * gdb.guile/scm-error.exp: New file.
17971 * gdb.guile/scm-error.scm: New file.
17972 * gdb.guile/scm-frame-args.c: New file.
17973 * gdb.guile/scm-frame-args.exp: New file.
17974 * gdb.guile/scm-frame-args.scm: New file.
17975 * gdb.guile/scm-frame-inline.c: New file.
17976 * gdb.guile/scm-frame-inline.exp: New file.
17977 * gdb.guile/scm-frame.c: New file.
17978 * gdb.guile/scm-frame.exp: New file.
17979 * gdb.guile/scm-generics.exp: New file.
17980 * gdb.guile/scm-gsmob.exp: New file.
17981 * gdb.guile/scm-iterator.c: New file.
17982 * gdb.guile/scm-iterator.exp: New file.
17983 * gdb.guile/scm-math.c: New file.
17984 * gdb.guile/scm-math.exp: New file.
17985 * gdb.guile/scm-objfile-script-gdb.in: New file.
17986 * gdb.guile/scm-objfile-script.c: New file.
17987 * gdb.guile/scm-objfile-script.exp: New file.
17988 * gdb.guile/scm-objfile.c: New file.
17989 * gdb.guile/scm-objfile.exp: New file.
17990 * gdb.guile/scm-ports.exp: New file.
17991 * gdb.guile/scm-pretty-print.c: New file.
17992 * gdb.guile/scm-pretty-print.exp: New file.
17993 * gdb.guile/scm-pretty-print.scm: New file.
17994 * gdb.guile/scm-section-script.c: New file.
17995 * gdb.guile/scm-section-script.exp: New file.
17996 * gdb.guile/scm-section-script.scm: New file.
17997 * gdb.guile/scm-symbol.c: New file.
17998 * gdb.guile/scm-symbol.exp: New file.
17999 * gdb.guile/scm-symtab-2.c: New file.
18000 * gdb.guile/scm-symtab.c: New file.
18001 * gdb.guile/scm-symtab.exp: New file.
18002 * gdb.guile/scm-type.c: New file.
18003 * gdb.guile/scm-type.exp: New file.
18004 * gdb.guile/scm-value-cc.cc: New file.
18005 * gdb.guile/scm-value-cc.exp: New file.
18006 * gdb.guile/scm-value.c: New file.
18007 * gdb.guile/scm-value.exp: New file.
18008 * gdb.guile/source2.scm: New file.
18009 * gdb.guile/types-module.cc: New file.
18010 * gdb.guile/types-module.exp: New file.
18011
7026a7c1
YQ
180122014-02-10 Yao Qi <yao@codesourcery.com>
18013
18014 PR testsuite/16543
18015 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18016 * configure: Regenerated.
18017 * Makefile.in: New file.
18018
6c466447
AS
180192014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18020
18021 * gdb.python/py-framefilter.exp: Fix typo.
18022
6e854735
YQ
180232014-02-08 Yao Qi <yao@codesourcery.com>
18024
18025 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18026 that no =breakpoint-modified is emitted when breakpoints are
18027 modified through MI commands.
18028
d137e6dc
PA
180292014-02-07 Pedro Alves <pedro@codesourcery.com>
18030 Pedro Alves <palves@redhat.com>
18031
18032 * gdb.threads/step-after-sr-lock.c: New file.
18033 * gdb.threads/step-after-sr-lock.exp: New file.
18034
b5ee5a50
PA
180352014-02-07 Pedro Alves <palves@redhat.com>
18036
18037 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18038
3c77faf3
JK
180392014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18040
18041 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18042 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18043
6dddc817
DE
180442014-02-06 Doug Evans <xdje42@gmail.com>
18045
18046 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18047 output.
18048
18049 * gdb.gdb/python-interrupts.exp: New file.
18050
de7b2893
YQ
180512014-02-05 Yao Qi <yao@codesourcery.com>
18052
18053 * gdb.trace/report.exp (use_collected_data): Test the output
18054 of "info threads" and "info inferiors".
18055
66d032ac
YQ
180562014-02-05 Yao Qi <yao@codesourcery.com>
18057
18058 Revert this patch:
18059
18060 2013-05-24 Yao Qi <yao@codesourcery.com>
18061
18062 * gdb.trace/tfile.exp: Test inferior and thread.
18063
591a12a1
UW
180642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18065
18066 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18067 on a function.
18068 * gdb.base/step-bt.c: Call hello via function pointer to make
18069 sure its first instruction is executed on powerpc64le-linux.
18070
0ff3e01f
UW
180712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18072
18073 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18074
084ee545
UW
180752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18076
18077 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18078 of the test patterns for use on little-endian systems.
18079
6ed14ff3
UW
180802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18081
18082 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18083 (decimal_vector): Fix for little-endian.
18084
401e27fd
JM
180852014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18086
18087 * gdb.arch/sparc-sysstep.exp: New file.
18088 * gdb.arch/sparc-sysstep.c: Likewise.
18089
18090 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18091
8b924729
EBM
180922014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18093
18094 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18095
fb151210
JB
180962014-01-23 Tom Tromey <tromey@redhat.com>
18097
18098 * gdb.ada/array_char_idx: New testcase.
18099
0740f8d8
TT
181002014-01-23 Tom Tromey <tromey@redhat.com>
18101
18102 PR python/16487:
18103 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18104 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18105 classes.
18106
21909fa1
TT
181072014-01-23 Tom Tromey <tromey@redhat.com>
18108
18109 PR python/16491:
18110 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18111 string from an inferior frame.
18112 * gdb.python/py-framefilter-mi.exp: Update.
18113
87ce2a04
DE
181142014-01-22 Doug Evans <dje@google.com>
18115
18116 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18117
237b092b
AA
181182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18119
18120 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18121
d674a709
AA
181222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18123
18124 * gdb.trace/entry-values.exp: Remove excess space character from
18125 regex patterns. Handle s390 call instruction.
18126
20fa3390
AA
181272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18128
18129 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18130 define "*_start" label. Make "name" static.
18131 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18132 ${name} by references to ${name}_start.
18133
78466714
AA
181342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18135
18136 * gdb.base/info-macros.exp: Remove "debug" from the compile
18137 options.
18138
ec9f644a
IB
181392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18140
18141 * gdb.dlang/demangle.exp: New file.
18142
94b1b47e
IB
181432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18144
18145 * gdb.dlang/primitive-types.exp: New file.
18146
7f420862
IB
181472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18148
18149 * configure.ac: Create gdb.dlang/Makefile.
18150 * configure: Regenerate.
18151 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18152 * gdb.dlang/Makefile.in: New file.
18153 * lib/d-support.exp: New file.
18154 * lib/gdb.exp (skip_d_tests): New proc.
18155
52834460
MM
181562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18157
18158 * gdb.btrace/delta.exp: Check reverse stepi.
18159 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18160 * gdb.btrace/finish.exp: New.
18161 * gdb.btrace/next.exp: New.
18162 * gdb.btrace/nexti.exp: New.
18163 * gdb.btrace/record_goto.c: Add comments.
18164 * gdb.btrace/step.exp: New.
18165 * gdb.btrace/stepi.exp: New.
18166 * gdb.btrace/multi-thread-step.c: New.
18167 * gdb.btrace/multi-thread-step.exp: New.
18168 * gdb.btrace/rn-dl-bind.c: New.
18169 * gdb.btrace/rn-dl-bind.exp: New.
18170 * gdb.btrace/data.c: New.
18171 * gdb.btrace/data.exp: New.
18172 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18173
6e07b1d2
MM
181742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18175
18176 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18177 * gdb.btrace/exception.exp: Update.
18178 * gdb.btrace/instruction_history.exp: Update.
18179 * gdb.btrace/record_goto.exp: Update.
18180 * gdb.btrace/tailcall.exp: Update.
18181 * gdb.btrace/unknown_functions.exp: Update.
18182 * gdb.btrace/delta.exp: New.
18183
0b722aec
MM
181842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18185
18186 * gdb.btrace/record_goto.exp: Add backtrace test.
18187 * gdb.btrace/tailcall.exp: Add backtrace test.
18188
066ce621
MM
181892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18190
18191 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18192 * gdb.btrace/record_goto.c: New.
18193 * gdb.btrace/record_goto.exp: New.
18194 * gdb.btrace/x86-record_goto.S: New.
18195
0688d04e
MM
181962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18197
18198 * gdb.btrace/function_call_history.exp: Update tests.
18199 * gdb.btrace/instruction_history.exp: Update tests.
18200
8710b709
MM
182012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18202
18203 * gdb.btrace/function_call_history.exp: Fix expected field
18204 order for "record function-call-history".
18205 Add new tests for "record function-call-history /c".
18206 * gdb.btrace/exception.cc: New.
18207 * gdb.btrace/exception.exp: New.
18208 * gdb.btrace/tailcall.exp: New.
18209 * gdb.btrace/x86-tailcall.S: New.
18210 * gdb.btrace/x86-tailcall.c: New.
18211 * gdb.btrace/unknown_functions.c: New.
18212 * gdb.btrace/unknown_functions.exp: New.
18213 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18214
5de9129b
MM
182152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18216
18217 * gdb.btrace/instruction_history.exp: Update.
18218 * gdb.btrace/function_call_history.exp: Update.
18219
23a7fe75
MM
182202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18221
18222 * gdb.btrace/function_call_history.exp: Fix expected function
18223 trace.
18224 * gdb.btrace/instruction_history.exp: Initialize traced.
18225 Remove traced_functions.
18226
724c7dd8
MM
182272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18228
18229 * gdb.btrace/function_call_history.exp: Update
18230 * gdb.btrace/instruction_history.exp: Update.
18231
6d78d93b
MM
182322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18233
18234 * gdb.btrace/enable.exp: Update expected text.
18235
93a360cc
OJ
182362014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18237
18238 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18239 bytes.
18240
3772b53f
MR
182412014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18242
18243 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18244
596662fa
OJ
182452014-01-15 Omair Javaid <omair.javaid@linaro.org>
18246
18247 * lib/gdb.exp (supports_process_record): Return true for
18248 arm*-linux*. (supports_reverse): Likewise.
18249
b5b08fb4
SC
182502014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18251
18252 PR python/15464
18253 PR python/16113
18254 * gdb.python/py-type.c: Enhance test case.
18255 * gdb.python/py-value-cc.cc: Likewise
18256 * gdb.python/py-type.exp: Add new tests.
18257 * gdb.python/py-value-cc.exp: Likewise
18258
52d7fb13
AA
182592014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18260 Pedro Alves <palves@redhat.com>
18261
18262 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18263 Make "name" extern.
18264 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18265 references to ${name}_start by references to ${name}.
18266
a2cd8cfe
JB
182672014-01-10 Joel Brobecker <brobecker@adacore.com>
18268
18269 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18270
4e23fced
JB
182712014-01-10 Joel Brobecker <brobecker@adacore.com>
18272
18273 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18274
c6a9e42c
PA
182752014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18276 Pedro Alves <palves@redhat.com>
18277
18278 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18279 mi_gdb_target_load.
c6a9e42c 18280
b7ea362b
PA
182812014-01-08 Pedro Alves <palves@redhat.com>
18282
18283 * gdb.threads/reconnect-signal.c: New file.
18284 * gdb.threads/reconnect-signal.exp: New file.
18285
5e3f4fab
EBM
182862014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18287
18288 * gdb.base/source-dir.exp: New file.
18289
79301218
JB
182902014-01-07 Joel Brobecker <brobecker@adacore.com>
18291
18292 * gdb.ada/mi_interface: New testcase.
18293
8e355c5d
JB
182942014-01-07 Joel Brobecker <brobecker@adacore.com>
18295
18296 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18297 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18298 gdb.ada/pp-rec-component/pck.ads: New files.
18299
c0d48811
JB
183002014-01-07 Joel Brobecker <brobecker@adacore.com>
18301
18302 * gdb.python/py-pp-integral.c: New file.
18303 * gdb.python/py-pp-integral.py: New file.
18304 * gdb.python/py-pp-integral.exp: New file.
18305
17b609c3 18306For older changes see ChangeLog-1993-2013.
c906108c 18307\f
8d8cb839
EZ
18308;; Local Variables:
18309;; mode: change-log
18310;; left-margin: 8
18311;; fill-column: 74
18312;; version-control: never
18313;; End:
902f2ccb 18314
b811d2c2 18315 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18316 Copying and distribution of this file, with or without modification,
18317 are permitted provided the copyright notice and this notice are preserved.
This page took 3.621622 seconds and 4 git commands to generate.