gdb: Handle malformed ELF, symbols in non-allocatable sections
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4 * gdb.dwarf2/dw2-bad-elf.c: New file.
5 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6
7 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
8
9 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
10 _line_saw_file.
11
12 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
13
14 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
15 border.
16
17 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
18
19 * gdb.multi/multi-target.exp (setup): Factor out "info
20 connections" and "info inferiors" tests to ...
21 (test_info_inferiors): ... this new procedure.
22 (top level): Run new "info-inferiors" tests.
23
24 2020-01-10 Pedro Alves <palves@redhat.com>
25
26 * gdb.server/bkpt-other-inferior.exp: New file.
27
28 2020-01-10 Pedro Alves <palves@redhat.com>
29
30 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
31 of "add-inferior".
32 * gdb.base/quit-live.exp: Likewise.
33 * gdb.base/remote-exec-file.exp: Likewise.
34 * gdb.guile/scm-progspace.exp: Likewise.
35 * gdb.linespec/linespec.exp: Likewise.
36 * gdb.mi/new-ui-mi-sync.exp: Likewise.
37 * gdb.mi/user-selected-context-sync.exp: Likewise.
38 * gdb.multi/multi-target.exp (setup): Add "info connection" and
39 "info inferiors" tests.
40 * gdb.multi/remove-inferiors.exp: Adjust expected output of
41 "add-inferior".
42 * gdb.multi/watchpoint-multi.exp: Likewise.
43 * gdb.python/py-inferior.exp: Likewise.
44 * gdb.server/extended-remote-restart.exp: Likewise.
45 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
46 "info inferiors".
47 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
48 * gdb.trace/report.exp: Likewise.
49
50 2020-01-10 Pedro Alves <palves@redhat.com>
51
52 * gdb.multi/multi-target.c: New file.
53 * gdb.multi/multi-target.exp: New file.
54 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
55 mode requested, but remote does not support non-stop".
56
57 2020-01-10 Pedro Alves <palves@redhat.com>
58
59 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
60 disconnect before reconnecting.
61
62 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
63 Pedro Alves <palves@redhat.com>
64
65 * gdb.server/connect-without-multi-process.exp: Also test
66 continuing to end.
67
68 2020-01-10 Pedro Alves <palves@redhat.com>
69
70 * gdb.base/remote-exec-file.exp: New file.
71
72 2020-01-10 Pedro Alves <palves@redhat.com>
73
74 * gdb.base/fork-running-state.exp (do_test): Adjust expected
75 output.
76 * gdb.threads/async.c: New.
77 * gdb.threads/async.exp: New.
78 * gdb.multi/tids-gid-reset.c: New.
79 * gdb.multi/tids-gid-reset.exp: New.
80
81 2020-01-10 George Barrett <bob@bob131.so>
82
83 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
84 to help in finding the image relocation offset.
85 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
86 options in arguments.
87 (stap_test_no_debuginfo): Likewise.
88 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
89 test variants.
90 (stap_test): Add null semaphore relocation test.
91
92 2020-01-10 George Barrett <bob@bob131.so>
93
94 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
95 * gdb.base/stap-probe.exp: Likewise.
96 (stap_test): Pass argument as an additional flag.
97 (stap_test_no_debuginfo): Likewise.
98 (stap_test): Check `info probes stap' output for semaphore
99 addresses if the test binary is supposed to have them.
100
101 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * gdb.tui/basic.exp: Add more scrolling tests.
104
105 2020-01-09 Tom Tromey <tom@tromey.com>
106
107 PR tui/18932:
108 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
109 meangingful value.
110 (Term::command, Term::resize): Update.
111 * gdb.tui/basic.exp: Add scrolling test.
112
113 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
114
115 * gdb.tui/tui-layout-asm.exp: New file.
116
117 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * lib/tuiterm.exp (Term::check_box_contents): New proc.
120
121 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
122
123 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
124 (Term::enter_tui): Use Term::prepare_for_tui.
125
126 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
129 called.
130
131 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * gdb.base/skip.exp: Fix race condition in test.
134
135 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.base/backtrace.c: New file.
138 * gdb.base/backtrace.exp: New file.
139
140 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
143
144 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
145
146 * gdb.base/style.exp: Test that warnings are styled.
147
148 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
149
150 * gdb.base/line65535.exp: New file.
151 * gdb.base/line65535.c: New file.
152
153 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
154
155 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
156 * lib/gnat_debug_info_test.adb: New file.
157 * gdb.ada/ptype_tagged_param.exp: Use
158 gnat_runtime_has_debug_info, expect a different output if
159 runtime does not have debug info.
160
161 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
162
163 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
164 (another) quote in test name.
165
166 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
167
168 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
169 Add quote in test name.
170
171 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
172
173 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
174 directory instead.
175 * gdb.cp/pass-by-ref.exp: Extend with more cases.
176 * gdb.cp/pass-by-ref-2.cc: New file.
177 * gdb.cp/pass-by-ref-2.exp: New file.
178
179 2019-12-20 Tom Tromey <tom@tromey.com>
180
181 * gdb.tui/list-before.exp: New file.
182
183 2019-12-20 Tom Tromey <tom@tromey.com>
184
185 * gdb.tui/list.exp: Check for source on initial listing.
186
187 2019-12-11 Tom Tromey <tromey@adacore.com>
188
189 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
190 Add crlf test.
191
192 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
193
194 * gdb.base/default.exp: Update value of $_gdb_major.
195
196 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
197
198 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
199
200 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
201
202 * gdb.base/skip.exp: Whitespace fix.
203
204 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
205
206 * gdb.base/skip-inline.c: New file.
207 * gdb.base/skip-inline.exp: New file.
208
209 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
210
211 * gdb.base/jit-reader.exp (jit_reader_test): Rename
212 jit_function_00 to jit_function_stack_mangle.
213 * gdb.base/jithost.c (jit_function_t): Rename to...
214 (jit_function_stack_mangle_t): ... this.
215 (jit_function_add_t): New typedef.
216 (jit_function_00_code): Rename to...
217 (jit_function_stack_mangle_code): ... this, make static.
218 (jit_function_add_code): New.
219 (main): Generate "add" function and call it. Adjust to changes
220 in jithost_abi.
221 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
222 (struct jithost_abi) <begin, end>: Remove fields.
223 <object, function_stack_mangle, function_add>: New fields.
224 * gdb.base/jitreader.c (struct reader_state) <code_begin,
225 code_end>: Remove fields.
226 <func_stack_mangle>: New field.
227 (read_debug_info): Adjust to renaming, create block for "add"
228 function.
229 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
230
231 2019-12-11 Tom Tromey <tom@tromey.com>
232
233 * gdb.tui/resize.exp: Fix regexp.
234 * gdb.tui/regs.exp: Fix regexps.
235 * gdb.tui/main.exp: Fix regexp.
236
237 2019-12-11 Tom Tromey <tom@tromey.com>
238
239 * gdb.tui/resize.exp: Update.
240 * gdb.tui/empty.exp (layouts): Update.
241
242 2019-12-11 Tom Tromey <tom@tromey.com>
243
244 * gdb.tui/regs.exp: Update.
245 * gdb.tui/empty.exp (layouts): Update.
246 * gdb.tui/basic.exp: Update.
247 * lib/tuiterm.exp (_check_box): Don't check bottom border.
248
249 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
250
251 * gdb.base/options.exp: Add -raw-values in the print completion list.
252 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
253
254 2019-12-10 Kevin Buettner <kevinb@redhat.com>
255
256 * gdb.threads/omp-par-scope.c: New file.
257 * gdb/threads/omp-par-scope.exp: New file.
258
259 2019-12-10 Kevin Buettner <kevinb@redhat.com>
260
261 * lib/gdb.exp (support_nested_function_tests): New proc.
262
263 2019-12-10 Kevin Buettner <kevinb@redhat.com>
264
265 * lib/gdb.exp (gdb_compile_openmp): New proc.
266 (build_executable_from_specs): Add an "openmp" option.
267 (gdb_compile_pthreads): Add non-executable case.
268
269 2019-12-10 Tom Tromey <tromey@adacore.com>
270
271 * gdb.ada/unchecked_union.exp: New file.
272 * gdb.ada/unchecked_union/pck.adb: New file.
273 * gdb.ada/unchecked_union/pck.ads: New file.
274 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
275 * gdb-utils.exp (string_to_regexp): Also quote "?".
276
277 2019-12-10 George Barrett <bob@bob131.so>
278
279 Test scripted probe breakpoints.
280 * gdb.guile/scm-breakpoint.c (main): Add probe point.
281 * gdb.python/py-breakpoint.c (main): Likewise.
282 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
283 specifier test.
284 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
285
286 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
287
288 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
289 an rvalue parameter.
290 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
291 parameter.
292
293 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
294
295 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
296 modules.
297
298 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
299
300 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
301 broken version of GCC.
302
303 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
304
305 * gdb.fortran/info-modules.exp: Rewrite to make use of new
306 sym-info-cmds library.
307 * gdb.fortran/info-types.exp: Likewise.
308 * lib/sym-info-cmds.exp: New file.
309
310 2019-12-08 Tom de Vries <tdevries@suse.de>
311
312 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
313
314 2019-12-07 Keith Seitz <keiths@redhat.com>
315
316 * gdb.base/corefile-buildid-shlib-shr.c: New file.
317 * gdb.base/corefile-buildid-shlib.c: New file.
318 * gdb.base/corefile-buildid.c: New file.
319 * gdb.base/corefile-buildid.exp: New file.
320
321 2019-12-06 Tom de Vries <tdevries@suse.de>
322
323 * gdb.dwarf2/varval.exp: Add decl before def test.
324
325 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
326
327 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
328
329 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
330
331 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
332 CV and reference conversion for overload resolution.
333 * gdb.cp/rvalue-ref-overload.exp: Test it.
334
335 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
336
337 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
338 * gdb.base/frameapply.exp: Test faas without command.
339
340 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
341
342 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
343 Fortran tests.
344 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
345 order.
346
347 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
348
349 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
350 casting to type with no kind specified.
351 (test_basic_parsing_of_type_kinds): Additional tests for types
352 with no kind specified, and add tests for single/double
353 precision/complex types.
354
355 2019-12-04 Tom Tromey <tromey@adacore.com>
356
357 * gdb.base/endianity.c (struct other) <x>: New field.
358 (main): Initialize it.
359 * gdb.base/endianity.exp: Update.
360
361 2019-12-04 Tom Tromey <tromey@adacore.com>
362
363 * gdb.ada/scalar_storage/storage.adb: New file.
364 * gdb.ada/scalar_storage/pck.adb: New file.
365 * gdb.ada/scalar_storage/pck.ads: New file.
366 * gdb.ada/scalar_storage.exp: New file.
367
368 2019-12-04 Tom Tromey <tromey@adacore.com>
369
370 * gdb.base/endianity.c (struct otherendian) <f>: New field.
371 (main): Initialize it.
372 * gdb.base/endianity.exp: Update.
373
374 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
375
376 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
377
378 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
379
380 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
381 -symbol-info-module-functions and -symbol-info-module-variables.
382
383 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
386
387 2019-12-01 Richard Bunt <richard.bunt@arm.com>
388 Andrew Burgess <andrew.burgess@embecosm.com>
389
390 * gdb.fortran/derived-type-striding.exp: New file.
391 * gdb.fortran/derived-type-striding.f90: New file.
392 * gdb.fortran/array-slices.exp: New file.
393 * gdb.fortran/array-slices.f90: New file.
394
395 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
396
397 * gdb.base/define.exp: Test . in command names.
398 * gdb.base/setshow.exp: Update test, as . is now part of
399 command name.
400
401 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
402
403 * gdb.base/define-prefix.exp: New file.
404
405 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
406
407 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
408 compile.
409 (skip_btrace_pt_tests): Likewise.
410
411 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
412
413 * gdb.fortran/info-modules.exp: Compile source files in correct
414 order.
415
416 2019-11-27 Kevin Buettner <kevinb@redhat.com>
417
418 * gdb.dwarf2/imported-unit.exp: New file.
419 * gdb.dwarf2/imported-unit.c: New file.
420
421 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
422
423 * gdb.mi/mi-fortran-modules-2.f90: New file.
424 * gdb.mi/mi-fortran-modules.exp: New file.
425 * gdb.mi/mi-fortran-modules.f90: New file.
426
427 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * gdb.mi/mi-sym-info-1.c: New file.
430 * gdb.mi/mi-sym-info-2.c: New file.
431 * gdb.mi/mi-sym-info.exp: New file.
432
433 2019-11-22 Tom Tromey <tromey@adacore.com>
434
435 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
436 * gdb.ada/tasks/foo.adb: Add another stopping location.
437
438 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
439
440 * gdb.base/endianity.c: New test.
441 * gdb.base/endianity.exp: New file.
442
443 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
444
445 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
446
447 2019-11-21 Tom de Vries <tdevries@suse.de>
448
449 PR gdb/24956
450 * gdb.base/ui-redirect.exp: Test output of user-defined command.
451
452 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
453
454 * gdb.python/py-progspace.exp: Add missing parentheses on some
455 'print' commands.
456
457 2019-11-19 Tom Tromey <tom@tromey.com>
458
459 * gdb.tui/winheight.exp: New file.
460
461 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb.base/ctf-whatis.c: Delete.
464 * gdb.base/ctf-whatis.exp: Delete.
465 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
466
467 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
468
469 * gdb.base/ctf-cvexpr.exp: Delete.
470 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
471
472 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
473
474 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
475 the compiler. Clean up header comment a little.
476 * gdb.base/ctf-ptype.exp: Likewise.
477 * gdb.base/ctf-whatis.exp: Likewise.
478 * lib/gdb.exp (skip_ctf_tests): New proc.
479
480 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
481
482 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
483 * gdb.tui/corefile-run.exp: New file.
484
485 2019-11-14 Tom Tromey <tromey@adacore.com>
486
487 * gdb.base/gdbvars.exp (test_convenience_variables): Add
488 regression tests.
489
490 2019-11-12 Tom Tromey <tom@tromey.com>
491
492 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
493 after any command. Expect prompt after WAIT_FOR is seen.
494 (enter_tui): Enable resize messages.
495 (command): Expect command in output.
496 (get_line): Avoid error when cursor appears to be off-screen.
497 (dump_screen): Include screen size in title.
498 (_do_resize): New proc, from "resize".
499 (resize): Rewrite. Do resize in two steps.
500 * gdb.tui/empty.exp (layouts): Fix entries.
501 (check_boxes): Remove xfail.
502 (check_text): Dump screen on failure.
503
504 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * gdb.python/py-symbol.exp: Add test for
507 gdb.lookup_static_symbols.
508
509 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
510
511 * gdb.python/py-symbol.c: Declare and call function from new
512 py-symbol-2.c file.
513 * gdb.python/py-symbol.exp: Compile both source files, and add new
514 tests for gdb.lookup_static_symbol.
515 * gdb.python/py-symbol-2.c: New file.
516
517 2019-11-02 Tom de Vries <tdevries@suse.de>
518
519 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
520 * gdb.base/anon.exp: Same.
521 * gdb.base/auto-connect-native-target.exp: Same.
522 * gdb.base/call-ar-st.exp: Same.
523 * gdb.base/catch-syscall.exp: Same.
524 * gdb.base/commands.exp: Same.
525 * gdb.base/default.exp: Same.
526 * gdb.base/display.exp: Same.
527 * gdb.base/float.exp: Same.
528 * gdb.base/foll-fork.exp: Same.
529 * gdb.base/help.exp: Same.
530 * gdb.base/info-macros.exp: Same.
531 * gdb.base/info-proc.exp: Same.
532 * gdb.base/info-target.exp: Same.
533 * gdb.base/long_long.exp: Same.
534 * gdb.base/macscp.exp: Same.
535 * gdb.base/memattr.exp: Same.
536 * gdb.base/nofield.exp: Same.
537 * gdb.base/pointers.exp: Same.
538 * gdb.base/printcmds.exp: Same.
539 * gdb.base/ptype.exp: Same.
540 * gdb.base/restore.exp: Same.
541 * gdb.base/return.exp: Same.
542 * gdb.base/scope.exp: Same.
543 * gdb.base/set-noassign.exp: Same.
544 * gdb.base/setshow.exp: Same.
545 * gdb.base/shlib-call.exp: Same.
546 * gdb.base/signals.exp: Same.
547 * gdb.base/sigstep.exp: Same.
548 * gdb.base/skip.exp: Same.
549 * gdb.base/solib-symbol.exp: Same.
550 * gdb.base/stap-probe.exp: Same.
551 * gdb.base/step-line.exp: Same.
552 * gdb.base/step-test.exp: Same.
553 * gdb.base/style.exp: Same.
554 * gdb.base/varargs.exp: Same.
555 * gdb.base/vla-datatypes.exp: Same.
556 * gdb.base/vla-ptr.exp: Same.
557 * gdb.base/vla-sideeffect.exp: Same.
558 * gdb.base/volatile.exp: Same.
559 * gdb.base/watch-cond-infcall.exp: Same.
560 * gdb.base/watchpoint.exp: Same.
561
562 2019-11-02 Tom de Vries <tdevries@suse.de>
563
564 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
565 * gdb.cp/cpexprs.exp: Same.
566 * gdb.cp/except-multi-location.exp: Same.
567 * gdb.cp/exceptprint.exp: Same.
568 * gdb.cp/gdb2384.exp: Same.
569 * gdb.cp/inherit.exp: Same.
570 * gdb.cp/m-static.exp: Same.
571 * gdb.cp/meth-typedefs.exp: Same.
572 * gdb.cp/misc.exp: Same.
573 * gdb.cp/namespace.exp: Same.
574 * gdb.cp/non-trivial-retval.exp: Same.
575 * gdb.cp/overload.exp: Same.
576 * gdb.cp/pr17132.exp: Same.
577 * gdb.cp/re-set-overloaded.exp: Same.
578 * gdb.cp/rvalue-ref-types.exp: Same.
579 * gdb.cp/templates.exp: Same.
580
581 2019-11-01 Luis Machado <luis.machado@linaro.org>
582
583 PR gdb/25124
584
585 * gdb.arch/pr25124.S: New file.
586 * gdb.arch/pr25124.exp: New file.
587
588 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
589
590 * gdb.fortran/info-modules.exp: Update expected results, and add
591 additional tests for 'info module functinos', and 'info module
592 variables'.
593 * gdb.fortran/info-types.exp: Update expected results.
594 * gdb.fortran/info-types.f90: Extend testcase with additional
595 module variables and functions.
596
597 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
598
599 * gdb.fortran/info-modules.exp: New file.
600 * gdb.fortran/info-types.exp: Build with new file.
601 * gdb.fortran/info-types.f90: Include and use new module.
602 * gdb.fortran/info-types-2.f90: New file.
603
604 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
605
606 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
607 * gdb.base/settings.exp: Test all settings types using
608 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
609 that now verifies that the value of "maint show" is the same as
610 returned by the settings functions. Test the type of the
611 maintenance settings.
612 * gdb.base/default.exp: Update show_conv_list.
613
614 2019-10-31 Tom de Vries <tdevries@suse.de>
615
616 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
617 gdb_test.
618 * gdb.arch/amd64-disp-step.exp: Same.
619 * gdb.asm/asm-source.exp: Same.
620 * gdb.btrace/buffer-size.exp: Same.
621 * gdb.btrace/cpu.exp: Same.
622 * gdb.btrace/enable.exp: Same.
623 * gdb.dwarf2/count.exp: Same.
624 * gdb.dwarf2/dw2-ranges-func.exp: Same.
625 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
626 * gdb.fortran/vla-datatypes.exp: Same.
627 * gdb.fortran/vla-history.exp: Same.
628 * gdb.fortran/vla-ptype.exp: Same.
629 * gdb.fortran/vla-value.exp: Same.
630 * gdb.fortran/whatis_type.exp: Same.
631 * gdb.guile/guile.exp: Same.
632 * gdb.multi/tids.exp: Same.
633 * gdb.python/py-finish-breakpoint.exp: Same.
634 * gdb.python/py-framefilter.exp: Same.
635 * gdb.python/py-pp-registration.exp: Same.
636 * gdb.python/py-xmethods.exp: Same.
637 * gdb.python/python.exp: Same.
638 * gdb.server/connect-with-no-symbol-file.exp: Same.
639 * gdb.server/no-thread-db.exp: Same.
640 * gdb.server/run-without-local-binary.exp: Same.
641 * gdb.stabs/weird.exp: Same.
642 * gdb.threads/attach-many-short-lived-threads.exp: Same.
643 * gdb.threads/thread-find.exp: Same.
644 * gdb.threads/tls-shared.exp: Same.
645 * gdb.threads/tls.exp: Same.
646 * gdb.threads/wp-replication.exp: Same.
647 * gdb.trace/ax.exp: Same.
648 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
649
650 2019-10-31 Tom de Vries <tdevries@suse.de>
651
652 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
653 * gdb.ada/array_subscript_addr.exp: Same.
654 * gdb.ada/arrayidx.exp: Same.
655 * gdb.ada/arrayparam.exp: Same.
656 * gdb.ada/arrayptr.exp: Same.
657 * gdb.ada/boolean_expr.exp: Same.
658 * gdb.ada/call_pn.exp: Same.
659 * gdb.ada/complete.exp: Same.
660 * gdb.ada/fixed_cmp.exp: Same.
661 * gdb.ada/fun_addr.exp: Same.
662 * gdb.ada/funcall_param.exp: Same.
663 * gdb.ada/interface.exp: Same.
664 * gdb.ada/mod_from_name.exp: Same.
665 * gdb.ada/null_array.exp: Same.
666 * gdb.ada/packed_array.exp: Same.
667 * gdb.ada/packed_tagged.exp: Same.
668 * gdb.ada/print_chars.exp: Same.
669 * gdb.ada/print_pc.exp: Same.
670 * gdb.ada/ptype_arith_binop.exp: Same.
671 * gdb.ada/ptype_field.exp: Same.
672 * gdb.ada/ptype_tagged_param.exp: Same.
673 * gdb.ada/rec_return.exp: Same.
674 * gdb.ada/ref_tick_size.exp: Same.
675 * gdb.ada/str_ref_cmp.exp: Same.
676 * gdb.ada/taft_type.exp: Same.
677 * gdb.ada/tagged.exp: Same.
678 * gdb.ada/type_coercion.exp: Same.
679 * gdb.ada/uninitialized_vars.exp: Same.
680
681 2019-10-30 Tom de Vries <tdevries@suse.de>
682
683 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
684
685 2019-10-26 Tom de Vries <tdevries@suse.de>
686
687 * gdb.base/bigcore.c: Fix typos in comments.
688 * gdb.base/ctf-ptype.c: Same.
689 * gdb.base/long_long.c: Same.
690 * gdb.dwarf2/dw2-op-out-param.S: Same.
691 * gdb.python/py-evthreads.c: Same.
692 * gdb.reverse/i387-stack-reverse.c: Same.
693 * gdb.trace/tfile.c: Same.
694 * lib/compiler.c: Same.
695 * lib/compiler.cc: Same.
696
697 2019-10-25 Tom de Vries <tdevries@suse.de>
698
699 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
700 gdb_test_multiple calls.
701 * gdb.reverse/sigall-reverse.exp: Same.
702 * gdb.reverse/solib-precsave.exp: Same.
703 * gdb.reverse/solib-reverse.exp: Same.
704 * gdb.reverse/until-precsave.exp: Same.
705 * gdb.reverse/until-reverse.exp: Same.
706
707 2019-10-24 Tom de Vries <tdevries@suse.de>
708
709 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
710 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
711 kfail using -wrap pattern flag and convenience variable
712 gdb_test_name.
713
714 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.python/py-progspace.exp: Add tests for the
717 Progspace.block_for_pc method.
718
719 2019-10-23 Tom Tromey <tom@tromey.com>
720
721 * configure: Rebuild.
722 * aclocal.m4: Use m4_include, not sinclude.
723
724 2019-10-21 Tom de Vries <tdevries@suse.de>
725
726 * gdb.base/infcall-nested-structs.c: Add
727 __attribute__((noinline,noclone)) to all functions.
728 (call_all): Add missing variable initialization. Simplify return value.
729 (breakpt): Increment volatile variable, to prevent call from being
730 optimized out.
731 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
732
733 2019-10-17 Tom de Vries <tdevries@suse.de>
734
735 * gdb.fortran/module.exp: Allow info variables to print info for files
736 other than module.f90.
737
738 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * gdb.fortran/module.exp: Extend with 'info variables' test.
741
742 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
743
744 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
745 F77_FOR_TARGET.
746
747 2019-10-16 Tom de Vries <tdevries@suse.de>
748
749 PR tdep/25096
750 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
751
752 2019-10-16 Tom de Vries <tdevries@suse.de>
753
754 PR tdep/24104
755 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
756 Add KFAIL for PR tdep/25096.
757
758 2019-10-16 Tom de Vries <tdevries@suse.de>
759
760 PR testsuite/25059
761 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
762
763 2019-10-16 Tom de Vries <tdevries@suse.de>
764
765 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
766 as signed.
767
768 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
769
770 * gdb.mi/list-thread-groups-available.exp: Read entries one by
771 one instead of increasing timeout.
772
773 2019-10-13 Tom de Vries <tdevries@suse.de>
774
775 PR record/25038
776 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
777 * gdb.reverse/sigall-reverse.exp: Same.
778 * gdb.reverse/solib-precsave.exp: Same.
779 * gdb.reverse/solib-reverse.exp: Same.
780 * gdb.reverse/step-precsave.exp: Same.
781 * gdb.reverse/until-precsave.exp: Same.
782 * gdb.reverse/until-reverse.exp: Same.
783 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
784
785 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
786
787 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
788 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
789 (cmp_struct_05_01, cmp_struct_static_02_01)
790 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
791 comparisons.
792
793 2019-10-10 Tom de Vries <tdevries@suse.de>
794
795 PR testsuite/24888
796 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
797 gnatlink.
798
799 2019-10-09 Tom de Vries <tdevries@suse.de>
800
801 PR testsuite/25048
802 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
803
804 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
805
806 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
807 exceptions due to missing debug information.
808
809 2019-10-07 Tom de Vries <tdevries@suse.de>
810
811 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
812
813 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
814
815 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
816 * gdb.base/annota1.exp: Update to use gdb_test_name.
817
818 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
819
820 * gdb.base/ctf-whatis.exp: New file.
821 * gdb.base/ctf-whatis.c: New file.
822 * gdb.base/ctf-ptype.exp: New file.
823 * gdb.base/ctf-ptype.c: New file.
824 * gdb.base/ctf-constvars.exp: New file.
825 * gdb.base/ctf-constvars.c: New file.
826 * gdb.base/ctf-cvexpr.exp: New file.
827
828 2019-10-04 Tom de Vries <tdevries@suse.de>
829
830 * gdb.cp/local-static.c (main): Move declaration of int i out of the
831 for loop.
832
833 2019-10-03 Tom Tromey <tom@tromey.com>
834
835 PR rust/24976:
836 * gdb.rust/simple.rs (Union2): New type.
837 (main): Use Union2.
838 * gdb.rust/simple.exp: Add test.
839
840 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
841
842 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
843 nested function prefix.
844
845 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
846 Richard Bunt <richard.bunt@arm.com>
847 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
850 nested functions.
851 * gdb.fortran/nested-funcs.f90: Update expected results.
852 * gdb.fortran/nested-funcs-2.exp: New file.
853 * gdb.fortran/nested-funcs-2.f90: New file.
854
855 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.python/py-parameter.exp: Make test names unique.
858 * gdb.python/py-template.exp: Likewise.
859 * gdb.python/py-value.exp: Likewise.
860
861 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
862
863 * gdb.base/break-interp.exp: Reduce test name duplication.
864 * gdb.base/call-sc.exp: Likewise.
865 * gdb.base/callfuncs.exp: Likewise.
866 * gdb.base/charset.exp: Likewise.
867 * gdb.base/dump.exp: Likewise.
868 * gdb.base/ena-dis-br.exp: Likewise.
869 * gdb.base/relational.exp: Likewise.
870 * gdb.base/step-over-syscall.exp: Likewise.
871 * gdb.base/structs.exp: Likewise.
872
873 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
874
875 * gdb.linespec/explicit.exp: Make test names unique.
876 * gdb.linespec/ls-errs.exp: Likewise.
877
878 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
879
880 * gdb.reverse/break-precsave.exp: Make test names unique.
881 * gdb.reverse/break-reverse.exp: Likewise.
882 * gdb.reverse/finish-precsave.exp: Likewise.
883 * gdb.reverse/finish-reverse.exp: Likewise.
884 * gdb.reverse/machinestate-precsave.exp: Likewise.
885 * gdb.reverse/machinestate.exp: Likewise.
886 * gdb.reverse/readv-reverse.exp: Likewise.
887 * gdb.reverse/recvmsg-reverse.exp: Likewise.
888 * gdb.reverse/sigall-precsave.exp: Likewise.
889 * gdb.reverse/sigall-reverse.exp: Likewise.
890 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
891 * gdb.reverse/watch-precsave.exp: Likewise.
892 * gdb.reverse/watch-reverse.exp: Likewise.
893
894 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 * gdb.threads/stop-with-handle.c: New file.
897 * gdb.threads/stop-with-handle.exp: New file.
898
899 2019-10-03 Tom de Vries <tdevries@suse.de>
900
901 PR testsuite/25059
902 * gdb.base/list-missing-source.exp: Allowing the "Compilation
903 directory" line to be missing.
904
905 2019-10-03 Tom de Vries <tdevries@suse.de>
906
907 PR testsuite/25059
908 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
909 type optional.
910
911 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
912
913 * gdb.python/py-format-string.c (string.h): New include.
914 (main): Fill a_struct_with_union.the_union.an_int with bytes of
915 the same value, for endianness-independence.
916 * gdb.python/py-format-string.exp (default_regexp_dict)
917 (test_pretty_structs, test_format): Adjust expected output to the
918 changed initialization.
919
920 2019-10-02 Tom Tromey <tromey@adacore.com>
921
922 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
923
924 2019-10-02 Pedro Alves <palves@redhat.com>
925 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
928 "print-file-var.h".
929 (this_version_id) Use ATTRIBUTE_VISIBILITY.
930 (get_version_1): Print this_version_id and its address.
931 Add extern "C" wrappers around interface functions.
932 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
933 "print-file-var.h".
934 (this_version_id) Use ATTRIBUTE_VISIBILITY.
935 (get_version_2): Print this_version_id and its address.
936 Add extern "C" wrappers around interface functions.
937 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
938 <stddef.h> and "print-file-var.h".
939 Add extern "C" wrappers around interface functions.
940 [VERSION_ID_MAIN] (this_version_id): Define.
941 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
942 * gdb.base/print-file-var.h: Add some #defines to simplify setting
943 up extern "C" blocks.
944 * gdb.base/print-file-var.exp (test): New, factored out from top
945 level.
946 (top level): Test all combinations of attribute hidden or not,
947 dlopen or not, and this_version_id symbol in main file or not.
948 Compile tests as both C++ and C, make test names unique.
949
950 2019-10-01 Tom Tromey <tom@tromey.com>
951
952 * gdb.base/style.exp: Test "show logging filename".
953
954 2019-10-01 Tom Tromey <tom@tromey.com>
955
956 * lib/gdb-utils.exp (style): Handle "metadata" argument.
957 * gdb.base/style.exp: Add metadata style test.
958
959 2019-10-01 Tom Tromey <tom@tromey.com>
960
961 * gdb.base/style.exp: Test "pwd".
962
963 2019-10-01 Tom Tromey <tom@tromey.com>
964
965 * gdb.base/style.exp: Update tests.
966
967 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
968
969 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
970 'six' to unsigned.
971 (s1): Initialize fields 'four' and 'six' instead of 'three' and
972 'five'. Use an all-ones bit pattern for each.
973 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
974 to its changed values.
975
976 2019-09-30 Tom Tromey <tromey@adacore.com>
977
978 * gdb.rust/traits.rs: Disable all warnings.
979
980 2019-09-29 Tom de Vries <tdevries@suse.de>
981
982 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
983
984 2019-09-29 Tom de Vries <tdevries@suse.de>
985
986 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
987
988 2019-09-27 Tom de Vries <tdevries@suse.de>
989
990 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
991
992 2019-09-27 Tom de Vries <tdevries@suse.de>
993
994 PR record/23188
995 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
996
997 2019-09-26 Tom Tromey <tromey@adacore.com>
998
999 * gdb.ada/py_taft.exp: New file.
1000 * gdb.ada/py_taft/main.adb: New file.
1001 * gdb.ada/py_taft/pkg.adb: New file.
1002 * gdb.ada/py_taft/pkg.ads: New file.
1003
1004 2019-09-24 Tom de Vries <tdevries@suse.de>
1005
1006 PR gdb/24598
1007 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1008
1009 2019-09-22 Tom de Vries <tdevries@suse.de>
1010
1011 * gdb.base/restore.exp: Allow register variables to be optimized out at
1012 -O0.
1013
1014 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1015
1016 * gdb.arch/spu-info.exp: Remove file.
1017 * gdb.arch/spu-info.c: Remove file.
1018 * gdb.arch/spu-ls.exp: Remove file.
1019 * gdb.arch/spu-ls.c: Remove file.
1020
1021 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1022 * gdb.asm/spu.inc: Remove file.
1023
1024 * gdb.base/dump.exp: Remove support for spu*-*-*.
1025 * gdb.base/stack-checking.exp: Likewise.
1026 * gdb.base/overlays.exp: Likewise.
1027 * gdb.base/ovlymgr.c: Likewise.
1028 * gdb.base/spu.ld: Remove file.
1029
1030 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1031 * gdb.cp/cpexprs.exp: Likewise.
1032 * gdb.cp/exception.exp: Likewise.
1033 * gdb.cp/gdb2495.exp: Likewise.
1034 * gdb.cp/mb-templates.exp: Likewise.
1035 * gdb.cp/pr9167.exp: Likewise.
1036 * gdb.cp/userdef.exp: Likewise.
1037
1038 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1039
1040 * gdb.cell: Remove directory.
1041 * lib/cell.exp: Remove file.
1042
1043 2019-09-19 Tom de Vries <tdevries@suse.de>
1044
1045 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1046
1047 2019-09-19 Tom de Vries <tdevries@suse.de>
1048
1049 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1050
1051 2019-09-19 Tom de Vries <tdevries@suse.de>
1052
1053 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1054 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1055 (gdb_target_cmd): ... here.
1056 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1057 value 2.
1058
1059 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1060
1061 * gdb.base/source-dir.exp: Avoid having directory names in test
1062 names.
1063
1064 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1065
1066 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1067 directory.
1068
1069 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1070
1071 * gdb.base/list-missing-source.exp: New file.
1072
1073 2019-09-14 Tom de Vries <tdevries@suse.de>
1074
1075 PR teststuite/24599
1076 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1077 * lib/ada.exp (gnatmake_version_at_least): New proc.
1078
1079 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1080
1081 * gdb.base/maint.exp: Use exec_has_index_section.
1082
1083 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1084
1085 * gdb.base/maint.exp: Add test for 'maint info sections'.
1086
1087 2019-09-12 Tom de Vries <tdevries@suse.de>
1088
1089 * gdb.base/store.exp: Allow register variables to be optimized out at
1090 -O0.
1091
1092 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1093
1094 * gdb.ada/rdv_wait.exp: Update to new task names.
1095 * gdb.base/task_switch_in_core.exp: Likewise.
1096 * gdb.base/info_sources_base.c: Likewise.
1097
1098 2019-09-10 Tom Tromey <tromey@adacore.com>
1099
1100 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1101
1102 2019-09-10 Tom Tromey <tromey@adacore.com>
1103
1104 * gdb.ada/dgopt.exp: New file.
1105 * gdb.ada/dgopt/x.adb: New file.
1106
1107 2019-09-08 Tom Tromey <tom@tromey.com>
1108
1109 * gdb.tui/resize.exp: Remove setup_xfail.
1110 * gdb.tui/regs.exp: Remove setup_xfail.
1111 * gdb.tui/basic.exp: Remove setup_xfail.
1112
1113 2019-09-06 David Blaikie <dblaikie@gmail.com>
1114
1115 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1116 * gdb.cp/cplabel.exp: Ditto.
1117 * gdb.linespec/ls-errs.exp: Ditto.
1118
1119 2019-09-05 Tom de Vries <tdevries@suse.de>
1120
1121 * lib/gdb.exp (cmp_file_string): New proc.
1122 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1123 runto_main. Verify save breakpoints output.
1124
1125 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1126
1127 * gdb.base/info-var.exp: Test info variables without running
1128 to main, to avoid expect's buffer overflow.
1129
1130 2019-09-03 Tom Tromey <tromey@adacore.com>
1131
1132 * gdb.ada/bias.exp: New file.
1133 * gdb.ada/bias/bias.adb: New file.
1134 * gdb.ada/print_chars.exp: Add regression test.
1135 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1136 (MC): New variable.
1137
1138 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1139
1140 * gdb.base/argv0-symlink.exp: Run only on native target
1141 and local host.
1142
1143 2019-08-29 Tom de Vries <tdevries@suse.de>
1144
1145 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1146 diverse debug info.
1147 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1148
1149 2019-08-28 Tom de Vries <tdevries@suse.de>
1150
1151 * gdb.base/info-var.exp: Allow info variables to print info for files
1152 other than info-var-f1.c and info-var-f2.c.
1153
1154 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1155
1156 * gdb.fortran/info-types.exp: Add module.
1157 * gdb.fortran/info-types.f90: Update expected results.
1158
1159 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 * gdb.fortran/info-types.exp: New file.
1162 * gdb.fortran/info-types.f90: New file.
1163 * lib/fortran.exp (fortran_character1): New proc.
1164
1165 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1166
1167 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1168 functions'. Reindent as needed.
1169 * gdb.base/info-var-f1.c: New file.
1170 * gdb.base/info-var-f2.c: New file.
1171 * gdb.base/info-var.exp: New file.
1172 * gdb.base/info-var.h: New file.
1173
1174 2019-08-26 Tom de Vries <tdevries@suse.de>
1175
1176 PR c++/24852
1177 * gdb.cp/no-libstdcxx-probe.exp: New test.
1178
1179 2019-08-26 Tom de Vries <tdevries@suse.de>
1180
1181 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1182 * tests need to be skipped.
1183 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1184 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1185 mi_skip_libstdcxx_probe_tests.
1186
1187 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1188
1189 * gdb.python/py-xmethods.exp: Use raw strings when passing
1190 arguments to SimpleXMethodMatcher.
1191
1192 2019-08-22 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1195 more informative.
1196
1197 2019-08-21 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.base/with.exp: Test "with" with no arguments.
1200
1201 2019-08-21 Tom de Vries <tdevries@suse.de>
1202
1203 * gdb.base/gdb-caching-proc.exp: Sort files.
1204
1205 2019-08-20 Tom de Vries <tdevries@suse.de>
1206
1207 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1208 compilation.
1209
1210 2019-08-16 Tom de Vries <tdevries@suse.de>
1211
1212 * gdb.base/compare-sections.exp ("after run to main"): Allow
1213 mismatched read-only sections for PIE executables.
1214
1215 2019-08-16 Tom Tromey <tom@tromey.com>
1216
1217 * lib/tuiterm.exp (_csi_Z): New proc.
1218 * gdb.tui/basic.exp: Update window positions.
1219 * gdb.tui/empty.exp: Update window positions.
1220
1221 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1222
1223 * gdb.base/examine-backward.exp: Correct regexp for
1224 "examine 3 bytes backward from ${address_zero}".
1225
1226 2019-08-15 Tom Tromey <tom@tromey.com>
1227
1228 * gdb.tui/empty.exp: Enable resizing tests.
1229
1230 2019-08-15 Tom Tromey <tromey@adacore.com>
1231
1232 * gdb.ada/char_enum.exp: Add regression tests.
1233 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1234 and '0'.
1235 (Char, Gchar): Update.
1236 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1237
1238 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1239
1240 * gdb.python/python.exp: Expect a leading underscore on
1241 GdbOutput{,Error}File.
1242
1243 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1244
1245 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1246 Windows host.
1247
1248 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1249
1250 * gdb.base/batch-preserve-term-settings.exp
1251 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1252
1253 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1254
1255 * lib/gdb.exp: When running on a mingw target, replace
1256 /x/ with x:/.
1257
1258 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1259
1260 * gdb.arch/aarch64-prologue.c: New test.
1261 * gdb.arch/aarch64-prologue.exp: New file.
1262
1263 2019-08-13 Tom de Vries <tdevries@suse.de>
1264
1265 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1266 Thread.
1267
1268 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1269
1270 * gdb.python/py-completion.exp: Download the .py file to the host
1271 and use its host pathname. Conditionalize tests that use
1272 tab completion and manipulate files on the build machine.
1273 * gdb.python/py-events.exp: Download the .py file to the host
1274 and use its host pathname.
1275 * gdb.python/py-evsignal.exp: Likewise.
1276 * gdb.python/py-evthreads.exp: Likewise.
1277 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1278 pathname syntax.
1279 * gdb.python/py-framefilter.exp: Download the .py file to the right
1280 place on the host. Match Windows pathname syntax.
1281 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1282 .py file to the host and use its host pathname.
1283 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1284 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1285 build pathname. Skip symlink test on Windows host. Add missing
1286 newline at end of file.
1287 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1288 and use its host pathname.
1289 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1290 * gdb.python/py-section-script.exp: Use host location of binfile
1291 on safe-path. Use correct path separator on Windows host.
1292 Reorder alternatives in gdb_test_multiple to prevent matching
1293 the wrong alternative on success.
1294 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1295
1296 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1297
1298 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1299 expect the GDB inferior to no longer immediately stop after
1300 being resumed with "signal SIGINT".
1301
1302 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1303
1304 * gdb.linespec/break-ask.exp: Generalize regexps to match
1305 Windows pathnames too.
1306
1307 2019-08-08 Tom de Vries <tdevries@suse.de>
1308
1309 PR testsuite/24862
1310 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1311
1312 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1313
1314 * gdb.base/style.exp: Update tests for help doc new invariants.
1315 * gdb.base/help.exp: Likewise.
1316
1317 2019-08-06 Tom Tromey <tom@tromey.com>
1318
1319 * gdb.base/style.exp: Add disassemble test.
1320 * gdb.base/style.c (some_called_function): New function.
1321 (main): Use it.
1322
1323 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1324
1325 * gdb.python/py-block.exp: Test dictionary access on blocks.
1326
1327 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1328
1329 PR gdb/24863
1330 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1331 -list-thread-groups --available test when running under
1332 check-read1.
1333
1334 2019-08-05 Tom de Vries <tdevries@suse.de>
1335
1336 PR testsuite/24863
1337 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1338 * gdb.base/help.exp: Use with_read1_timeout_factor.
1339 * gdb.base/info-macros.exp: Same.
1340 * gdb.cp/nested-types.exp: Same.
1341
1342 2019-08-05 Tom de Vries <tdevries@suse.de>
1343
1344 * lib/gdb.exp (version_at_least): Factor out of ...
1345 (tcl_version_at_least): ... here.
1346 (gdb_compile): Fail if pie results in non-PIE executable.
1347 (readelf_version, readelf_prints_pie): New proc.
1348 (exec_is_pie): Return -1 if unknown.
1349
1350 2019-08-05 Tom de Vries <tdevries@suse.de>
1351
1352 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1353
1354 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1355
1356 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1357
1358 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1359
1360 * lib/completion-support.exp (test_gdb_complete_none): Skip
1361 tab completion tests if no readline support.
1362 (test_gdb_complete_unique_re): Likewise.
1363 (test_gdb_complete_multiple): Likewise.
1364
1365 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1366
1367 * gdb.base/info_sources.exp: New file.
1368 * gdb.base/info_sources.c: New file.
1369 * gdb.base/info_sources_base.c: New file.
1370
1371 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1372
1373 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1374 prefix argument.
1375 (test_exit_status): Add prefix argument.
1376
1377 2019-08-01 Tom de Vries <tdevries@suse.de>
1378
1379 PR testsuite/24863
1380 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1381 calling exp_continue for new thread and thread exited messages.
1382
1383 2019-08-01 Tom de Vries <tdevries@suse.de>
1384
1385 PR testsuite/24863
1386 * gdb.base/structs.exp: Fix check-read1 timeout using
1387 gdb_test_sequence.
1388 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1389
1390 2019-08-01 Tom de Vries <tdevries@suse.de>
1391
1392 PR testsuite/24863
1393 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1394 line.
1395
1396 2019-08-01 Tom de Vries <tdevries@suse.de>
1397
1398 PR testsuite/24863
1399 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1400
1401 2019-07-30 Tom Tromey <tromey@adacore.com>
1402
1403 * gdb.ada/display_nested.exp: New file.
1404 * gdb.ada/display_nested/foo.adb: New file.
1405 * gdb.ada/display_nested/pack.adb: New file.
1406 * gdb.ada/display_nested/pack.ads: New file.
1407
1408 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1409
1410 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1411 namespace.
1412 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1413
1414 2019-07-30 Tom de Vries <tdevries@suse.de>
1415
1416 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1417 instead.
1418
1419 2019-07-30 Tom de Vries <tdevries@suse.de>
1420
1421 PR testsuite/24834
1422 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1423 (exec_is_pie): New proc.
1424
1425 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1426
1427 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1428
1429 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1430
1431 * gdb.python/py-objfile.c: Add global and static vars.
1432 * gdb.python/py-objfile.exp: Test new functions Objfile.
1433 lookup_global_symbol and lookup_static_symbol.
1434
1435 2019-07-29 Tom Tromey <tom@tromey.com>
1436
1437 * lib/tuiterm.exp (Term::_csi_@): New proc.
1438 (Term::_csi_X): Don't move cursor.
1439
1440 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1441
1442 * gdb.base/options.exp: Update backtrace - completion to
1443 new option -frame-info.
1444 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1445 Test new 'set print frame-info'. Test backtrace -frame-info
1446 overriding 'set print frame-info'.
1447 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1448 Test new 'set print frame-info'.
1449 Verify consistency of backtrace with and without filters, with and
1450 without -no-filters.
1451 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1452 default.
1453
1454 2019-07-29 Tom de Vries <tdevries@suse.de>
1455
1456 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1457 no arguments".
1458
1459 2019-07-29 Tom de Vries <tdevries@suse.de>
1460
1461 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1462 is a substring of the first for "complete non-unique file name".
1463
1464 2019-07-29 Tom de Vries <tdevries@suse.de>
1465
1466 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1467 with ".*".
1468
1469 2019-07-29 Tom de Vries <tdevries@suse.de>
1470
1471 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1472 Pass prompt_regexp parameter to gdb_test_multiple calls.
1473
1474 2019-07-29 Tom de Vries <tdevries@suse.de>
1475
1476 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1477 print registers" regexps.
1478
1479 2019-07-29 Tom de Vries <tdevries@suse.de>
1480
1481 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1482
1483 2019-07-29 Tom de Vries <tdevries@suse.de>
1484
1485 PR gdb/24855
1486 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1487 (skip_python_tests_prompt): Add prompt_regexp argument to
1488 gdb_test_multiple calls.
1489
1490 2019-07-27 Tom Tromey <tom@tromey.com>
1491
1492 * gdb.tui/main.exp: New file.
1493
1494 2019-07-27 Tom Tromey <tom@tromey.com>
1495
1496 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1497 optional.
1498 * gdb.tui/empty.exp: New file.
1499
1500 2019-07-27 Tom Tromey <tom@tromey.com>
1501
1502 * lib/tuiterm.exp (spawn): New proc.
1503 (Term::resize): New proc.
1504 * gdb.tui/resize.exp: New file.
1505
1506 2019-07-27 Tom Tromey <tom@tromey.com>
1507
1508 * gdb.tui/list.exp: New file.
1509
1510 2019-07-27 Tom Tromey <tom@tromey.com>
1511
1512 * gdb.tui/regs.exp: New file.
1513
1514 2019-07-27 Tom Tromey <tom@tromey.com>
1515
1516 * gdb.tui/basic.exp: Add "layout split" test.
1517
1518 2019-07-27 Tom Tromey <tom@tromey.com>
1519
1520 * gdb.tui/basic.exp: Add "layout asm" test.
1521
1522 2019-07-27 Tom Tromey <tom@tromey.com>
1523
1524 * lib/tuiterm.exp: New file.
1525 * gdb.tui/basic.exp: New file.
1526
1527 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1528
1529 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1530 Enable tests associated with this flag. Adjust regex
1531 referencing "foo_low" to now refer to "foo_cold" instead.
1532
1533 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1534
1535 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1536 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1537 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1538 foo_cold. Revise comments to match.
1539 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1540 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1541 were wrapped into this proc; Call do_test in loop from outermost
1542 level.
1543 (foo_low): Rename all occurrences to "foo_cold".
1544 (backtrace from baz): New test.
1545 (x2/i foo_cold): New test.
1546 (info line *foo_cold): New test.
1547
1548 2019-07-26 Tom de Vries <tdevries@suse.de>
1549
1550 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1551
1552 2019-07-25 Tom de Vries <tdevries@suse.de>
1553
1554 PR testsuite/24830
1555 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1556 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1557 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1558 (skip_libstdcxx_probe_tests): ... here.
1559 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1560
1561 2019-07-24 Tom de Vries <tdevries@suse.de>
1562
1563 PR testsuite/24807
1564 * gdb.objc/basicclass.m: Include stdio.h.
1565 * gdb.objc/nondebug.m: Same.
1566 * gdb.objc/objcdecode.m: Same.
1567
1568 2019-07-24 Tom de Vries <tdevries@suse.de>
1569
1570 PR testsuite/24612
1571 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1572 additional_flags.
1573
1574 2019-07-24 Tom de Vries <tdevries@suse.de>
1575
1576 PR testsuite/24831
1577 * gdb.multi/tids.exp: Update error messages for info threads.
1578
1579 2019-07-24 Tom de Vries <tdevries@suse.de>
1580
1581 * gdb.base/info-types.exp: Allow info types to print info for more than
1582 one file.
1583
1584 2019-07-23 Tom de Vries <tdevries@suse.de>
1585
1586 PR testsuite/24842
1587 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1588 gdb_spawn_with_cmdline_opts.
1589
1590 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1591
1592 * gdb.arch/arm-cmse-sgstubs.c: New test.
1593 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1594
1595 2019-07-23 Tom de Vries <tdevries@suse.de>
1596
1597 PR testsuite/24711
1598 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1599 issuing next command.
1600
1601 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * gdb.ada/info_auto_lang.exp: Update expected results.
1604 * gdb.base/info-types.c: Add additional types to check.
1605 * gdb.base/info-types.exp: Update expected results.
1606
1607 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.base/info-types.c: New file.
1610 * gdb.base/info-types.exp: New file.
1611
1612 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1613
1614 * gdb.arch/riscv-bp-infcall.c: New file.
1615 * gdb.arch/riscv-bp-infcall.exp: New file.
1616
1617 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1618
1619 PR breakpoints/24541
1620 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1621
1622 2019-07-14 Tom de Vries <tdevries@suse.de>
1623
1624 PR testsuite/24760
1625 * gdb.objc/basicclass.exp: Fix unterminated string.
1626
1627 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1628 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1631 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1632 negative bounds.
1633 * gdb.fortran/vla-value.exp: Print elements of an array with
1634 negative bounds.
1635 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1636 testing.
1637
1638 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1639
1640 * gdb.base/options.exp (expect_string): Dequote strings in
1641 results.
1642 (test-string): Test strings with different quoting and reindent.
1643
1644 2019-07-10 Tom Tromey <tromey@adacore.com>
1645
1646 * gdb.ada/mi_ex_cond.exp: Update expected results.
1647 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1648 * gdb.ada/mi_catch_ex.exp: Update expected results.
1649 * gdb.ada/mi_catch_assert.exp: Update expected results.
1650 * gdb.ada/catch_ex.exp (catch_exception_info)
1651 (catch_exception_entry, catch_assert_entry)
1652 (catch_unhandled_entry): Update.
1653 * gdb.ada/catch_assert_if.exp: Update expected results.
1654
1655 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1656 Stephen Roberts <stephen.roberts@arm.com>
1657
1658 * gdb.base/define.exp: Restore original prompt.
1659
1660 2019-07-09 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1663 breakpoints" output.
1664 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1665 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1666 throw" creates breakpoint.
1667 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1668 'type="catchpoint"'.
1669
1670 2019-07-09 Pedro Alves <palves@redhat.com>
1671
1672 PR c++/15468
1673 * gdb.cp/except-multi-location-lib.cc: New.
1674 * gdb.cp/except-multi-location-main.cc: New.
1675 * gdb.cp/except-multi-location.exp: New.
1676
1677 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1678
1679 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1680 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1681 argument and update callers.
1682
1683 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1684
1685 * gdb.arch/amd64-break-on-asm-line.S: New file.
1686 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1687
1688 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1689
1690 * gdb.base/printcmds.exp: Test printing C string and
1691 C wide string convenience vars without transiting via the inferior.
1692 Also make test names unique.
1693
1694 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1695
1696 PR breakpoints/25011
1697 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1698
1699 2019-07-04 Pedro Alves <palves@redhat.com>
1700
1701 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1702 body returned ok(0), break(3) or continue(4).
1703 * gdb.testsuite/foreach_with_prefix.exp: New file.
1704
1705 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1706
1707 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1708
1709 2019-07-03 Pedro Alves <palves@redhat.com>
1710
1711 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1712 "return -code".
1713
1714 2019-07-03 Pedro Alves <palves@redhat.com>
1715
1716 PR cli/24732
1717 * gdb.base/shell.exp: Load completion-support.exp.
1718 Adjust expected error output. Add completion tests.
1719
1720 2019-07-03 Pedro Alves <palves@redhat.com>
1721
1722 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1723 string_to_regexp.
1724
1725 2019-07-03 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1728 (expect_integer): Adjust to expect "-string".
1729 (expect_string): New.
1730 (all_options): Expect "-string".
1731 (test-flag, test-boolean): Adjust to expect "-string".
1732 (test-string): New proc.
1733 (top level): Call it.
1734
1735 2019-07-03 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1738 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1739 the expected output in the success.
1740
1741 2019-07-03 Pedro Alves <palves@redhat.com>
1742
1743 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1744 Split one gdb_test_multiple call in two to avoid a race.
1745
1746 2019-07-03 Pedro Alves <palves@redhat.com>
1747
1748 * gdb.base/with.c: New file.
1749 * gdb.base/with.exp: New file.
1750
1751 2019-07-03 Pedro Alves <palves@redhat.com>
1752
1753 * gdb.base/settings.exp: Replace all references to "maint
1754 test-settings set" with references to "maint set test-settings",
1755 and all references to "maint test-settings show" with references
1756 to "maint show test-settings".
1757
1758 2019-07-03 Pedro Alves <palves@redhat.com>
1759
1760 * gdb.base/settings.exp (test-string): Adjust expected out when
1761 testing "maint test-settings show filename"
1762
1763 2019-07-02 Pedro Alves <palves@redhat.com>
1764
1765 * gdb.base/options.exp (test-info-threads): New procedure.
1766 (top level): Call it.
1767
1768 2019-06-28 Tom Tromey <tromey@adacore.com>
1769
1770 * gdb.dwarf2/ada-linkage-name.c: New file.
1771 * gdb.dwarf2/ada-linkage-name.exp: New file.
1772
1773 2019-06-27 Tom Tromey <tromey@adacore.com>
1774
1775 PR c++/20020:
1776 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1777
1778 2019-06-26 Tom de Vries <tdevries@suse.de>
1779
1780 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1781
1782 2019-06-26 Tom de Vries <tdevries@suse.de>
1783
1784 * gdb.base/index-cache.exp: Add back missing debug option.
1785
1786 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1787
1788 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1789
1790 2019-06-25 Tom de Vries <tdevries@suse.de>
1791
1792 PR testsuite/24727
1793 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1794
1795 2019-06-24 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1798
1799 2019-06-24 Tom de Vries <tdevries@suse.de>
1800
1801 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1802 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1803 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1804
1805 2019-06-24 Tom de Vries <tdevries@suse.de>
1806
1807 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1808
1809 2019-06-21 Tom de Vries <tdevries@suse.de>
1810
1811 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1812
1813 2019-06-21 Tom de Vries <tdevries@suse.de>
1814
1815 PR testsuite/24518
1816 PR ada/24713
1817 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1818 index.
1819
1820 2019-06-19 Tom Tromey <tromey@adacore.com>
1821
1822 * gdb.ada/length_cond.exp: Add intro comment.
1823
1824 2019-06-19 Tom Tromey <tromey@adacore.com>
1825
1826 * gdb.ada/length_cond.exp: New file.
1827 * gdb.ada/length_cond/length_cond.adb: New file.
1828 * gdb.ada/length_cond/pck.adb: New file.
1829 * gdb.ada/length_cond/pck.ads: New file.
1830
1831 2019-06-18 Tom de Vries <tdevries@suse.de>
1832
1833 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1834
1835 2019-06-18 Tom Tromey <tromey@adacore.com>
1836
1837 * gdb.base/list0.h: Add comment explaining control character.
1838
1839 2019-06-18 Tom de Vries <tdevries@suse.de>
1840
1841 * boards/fission.exp: Break up long debug_flags line.
1842
1843 2019-06-16 Tom de Vries <tdevries@suse.de>
1844
1845 PR gdb/24445
1846 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1847 generated index.
1848
1849 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1850
1851 PR gdb/24686
1852 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1853 improve detection of bug gdb/24541.
1854
1855 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1856
1857 PR gdb/24669
1858 * gdb.base/index-cache.exp (uses_readnow,
1859 expecting_index_cache_use): Define global variable.
1860 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1861 expecting_index_cache_use.
1862
1863 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1864 Andrew Burgess <andrew.burgess@embecosm.com>
1865
1866 * gdb.fortran/pointers.f90: New file.
1867 * gdb.fortran/print_type.exp: New file.
1868 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1869 * gdb.fortran/vla-type.exp: Likewise.
1870 * gdb.fortran/vla-value.exp: Likewise.
1871 * gdb.mi/mi-vla-fortran.exp: Likewise.
1872
1873 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1874
1875 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1876 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1877 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1878 as a stop reason.
1879
1880 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1881
1882 * gdb.base/annota1.exp: Update expected results.
1883 * gdb.cp/annota2.exp: Likewise.
1884 * gdb.cp/annota3.exp: Likewise.
1885
1886 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1887
1888 * gdb.base/style-logging.exp: Remove path from test name.
1889
1890 2019-06-14 Tom Tromey <tromey@adacore.com>
1891
1892 PR gdb/24502:
1893 * gdb.base/style-logging.exp: New file.
1894
1895 2019-06-14 Tom Tromey <tromey@adacore.com>
1896
1897 * gdb.base/symfile-warn.exp: New file.
1898 * gdb.base/symfile-warn.c: New file.
1899
1900 2019-06-14 Tom Tromey <tromey@adacore.com>
1901
1902 * gdb.base/annotate-symlink.exp: New file.
1903
1904 2019-06-14 Tom Tromey <tromey@adacore.com>
1905
1906 * gdb.ada/set_wstr.exp: Add reassignment test.
1907
1908 2019-06-14 Tom Tromey <tromey@adacore.com>
1909
1910 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1911 'unchecked_access and 'unrestricted_access as well.
1912
1913 2019-06-14 Tom Tromey <tromey@adacore.com>
1914
1915 PR ada/24539:
1916 * gdb.ada/vla.exp: Update tests.
1917 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1918 pragma.
1919
1920 2019-06-13 Pedro Alves <palves@redhat.com>
1921
1922 * gdb.base/settings.exp (test-integer): Test junk after
1923 "unlimited".
1924
1925 2019-06-13 Pedro Alves <palves@redhat.com>
1926
1927 * gdb.base/options.exp (test-thread-apply): New.
1928 (top level): Call it.
1929
1930 2019-06-13 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/options.exp (test-frame-apply): New.
1933 (top level): Test print commands with different "frame apply"
1934 prefixes.
1935
1936 2019-06-13 Pedro Alves <palves@redhat.com>
1937
1938 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1939 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1940 'max_completions' parameter and handle it.
1941 (test_gdb_completion_offers_commands): New.
1942
1943 2019-06-13 Pedro Alves <palves@redhat.com>
1944
1945 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1946
1947 2019-06-13 Pedro Alves <palves@redhat.com>
1948
1949 * gdb.base/options.exp (test-backtrace): New.
1950 (top level): Call it.
1951
1952 2019-06-13 Pedro Alves <palves@redhat.com>
1953
1954 * gdb.guile/scm-frame-args.exp: Use "set print
1955 raw-frame-arguments" instead of "set print raw frame-arguments".
1956 * gdb.python/py-frame-args.exp: Likewise.
1957
1958 2019-06-13 Pedro Alves <palves@redhat.com>
1959
1960 * gdb.compile/compile.exp: Adjust expected output to option
1961 processing changes.
1962
1963 2019-06-13 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.base/options.exp: Build executable.
1966 (test-print): New procedure.
1967 (top level): Call it, once for "print" and another for "compile
1968 print".
1969
1970 2019-06-13 Pedro Alves <palves@redhat.com>
1971
1972 * gdb.base/options.c: New file.
1973 * gdb.base/options.exp: New file.
1974
1975 2019-06-13 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1978 that "o" is ambiguous.
1979
1980 2019-06-13 Pedro Alves <palves@redhat.com>
1981
1982 * gdb.base/settings.c: New file.
1983 * gdb.base/settings.exp: New file.
1984
1985 2019-06-13 Pedro Alves <palves@redhat.com>
1986
1987 * gdb.base/completion.exp: Fix comment typo.
1988
1989 2019-06-13 Pedro Alves <palves@redhat.com>
1990
1991 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1992 foo --1" test.
1993
1994 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1995
1996 * gdb.fortran/block-data.f: New.
1997 * gdb.fortran/block-data.exp: New.
1998
1999 2019-06-11 Tom de Vries <tdevries@suse.de>
2000
2001 PR testsuite/24521
2002 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2003 message.
2004
2005 2019-06-11 Tom de Vries <tdevries@suse.de>
2006
2007 PR testsuite/24521
2008 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2009
2010 2019-06-11 Tom de Vries <tdevries@suse.de>
2011
2012 * boards/readnow.exp: New file.
2013
2014 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2015
2016 * gdb.fortran/vla-sizeof.exp: Update expected results.
2017
2018 2019-06-06 Amos Bird <amosbird@gmail.com>
2019
2020 * gdb.base/annota1.exp (thread_switch): Add test for
2021 thread-exited annotation.
2022
2023 2019-06-06 Tom Tromey <tromey@adacore.com>
2024
2025 * gdb.base/maint.exp: Expect command started/finished output.
2026
2027 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2028
2029 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2030 comment.
2031 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2032
2033 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2034
2035 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2036 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2037 * gdb.arch/riscv-unwind-long-insn.c: New file.
2038 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2039
2040 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2041
2042 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2043
2044 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2045
2046 * lib/gdb.exp (help_list_trailer): New regexp variable
2047 factorizing the help trailer message.
2048 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2049 arg to allow to better factorize various tests.
2050 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2051 (test_prefix_command_help): Use help_list_trailer.
2052 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2053 * gdb.guile/scm-cmd.exp: Likewise.
2054 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2055 * gdb.base/help.exp: Use test_user_defined_class_help.
2056 * gdb.base/style.exp: Add tests for styling of help and apropos.
2057 * lib/gdb-utils.exp (style): Add title and highlight styles.
2058
2059 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2060
2061 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2062 $_shell_exitsignal.
2063 * gdb.base/default.exp: Update for new convenience variables.
2064
2065 2019-05-29 Tom Tromey <tromey@adacore.com>
2066
2067 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2068 to "break complete ada" test case's regexp.
2069
2070 2019-05-29 Tom Tromey <tromey@adacore.com>
2071
2072 PR c++/20020:
2073 * gdb.cp/constexpr-field.exp: New file.
2074 * gdb.cp/constexpr-field.cc: New file.
2075
2076 2019-05-29 Tom Tromey <tromey@adacore.com>
2077
2078 * gdb.base/finish.exp (finish_no_print): New proc.
2079 (finish_tests): Call it.
2080
2081 2019-05-24 Tom de Vries <tdevries@suse.de>
2082
2083 * gdb.dwarf2/gdb-add-index.exp: New file.
2084
2085 2019-05-22 Tom Tromey <tromey@adacore.com>
2086
2087 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2088 * gdb.base/style.exp: Use "style".
2089 * lib/gdb-utils.exp (style): New proc.
2090
2091 2019-05-22 Tom de Vries <tdevries@suse.de>
2092
2093 * gdb.base/align.exp: Require c++11.
2094
2095 2019-05-22 Tom de Vries <tdevries@suse.de>
2096
2097 PR testsuite/24586
2098 * gdb.python/py-mi-var-info-path-expression.exp: Call
2099 mi_skip_python_tests to check if python is supported.
2100
2101 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2102
2103 * gdb.arch/aarch64-pauth.c: New test.
2104 * gdb.arch/aarch64-pauth.exp: New file.
2105
2106 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2107
2108 * README (Re-running Tests Outside The Testsuite): New section.
2109
2110 2019-05-21 Tom de Vries <tdevries@suse.de>
2111
2112 * gdb.arch/amd64-eval.exp: Require c++11.
2113 * gdb.base/max-depth.exp: Same.
2114 * gdb.compile/compile-cplus-array-decay.exp: Same.
2115 * gdb.cp/meth-typedefs.exp: Same.
2116 * gdb.cp/subtypes.exp: Same.
2117 * gdb.cp/temargs.exp: Same.
2118
2119 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2120
2121 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2122
2123 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2124
2125 PR gdb/18644
2126 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2127 * gdb.fortran/printing-types.exp: Add new test.
2128 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2129 testing.
2130 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2131 setup_kfail call.
2132
2133 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2134
2135 * README (Running the Testsuite): Change example.
2136 (Testsuite Parameters): Remove TRANSCRIPT.
2137 * lib/gdb.exp: Remove TRANSCRIPT check.
2138
2139 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2140
2141 * README (Testsuite Parameters): Add replay logging to
2142 GDBSERVER_DEBUG.
2143 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2144 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2145 as a comma separated list.
2146 (gdb_debug_init): Override procedure.
2147
2148 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2149
2150 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2151 (gdb_write_cmd_file): New procedure.
2152 * lib/gdbserver-support.exp (gdbserver_start): Call
2153 gdbserver_write_cmd_file.
2154 (gdbserver_write_cmd_file): New procedure.
2155
2156 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2157
2158 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2159 (delete_breakpoints): Likewise.
2160 (gdb_run_cmd): Likewise.
2161 (gdb_start_cmd): Likewise.
2162 (gdb_starti_cmd): Likewise.
2163 (gdb_internal_error_resync): Likewise.
2164 (gdb_test_multiple): Likewise.
2165 (gdb_reinitialize_dir): Likewise.
2166 (default_gdb_exit): Likewise.
2167 (gdb_file_cmd): Mark kill as optional.
2168 (default_gdb_start): Call gdb_stdin_log_init.
2169 (send_gdb): Call gdb_stdin_log_write.
2170 (rerun_to_main): Mark Y as an answer.
2171 (gdb_stdin_log_init): New function.
2172 (gdb_stdin_log_write): Likewise.
2173
2174 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2175
2176 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2177 * gdb.base/debug-expr.exp: Likewise.
2178 * gdb.base/foll-fork.exp: Likewise.
2179 * gdb.base/foll-vfork.exp: Likewise.
2180 * gdb.base/fork-print-inferior-events.exp: Likewise.
2181 * gdb.base/gdb-sigterm.exp: Likewise.
2182 * gdb.base/gdbinit-history.exp: Likewise.
2183 * gdb.base/osabi.exp: Likewise.
2184 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2185 * gdb.base/ui-redirect.exp: Likewise.
2186 * gdb.gdb/unittest.exp: Likewise.
2187 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2188 * gdb.mi/mi-watch.exp: Likewise.
2189 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2190 * gdb.mi/user-selected-context-sync.exp: Likewise.
2191 * gdb.python/python.exp: Disable debug test when debugging.
2192 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2193 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2194 Likewise.
2195 * gdb.threads/stepi-random-signal.exp: Likewise.
2196
2197 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2198
2199 * Makefile.in: Pass through GDB_DEBUG.
2200 * README (Testsuite Parameters): Add GDB_DEBUG.
2201 (gdb,debug): Add board setting.
2202 * lib/gdb.exp (default_gdb_start): Start debugging.
2203 (gdb_debug_enabled): New procedure.
2204 (gdb_debug_init): Likewise.
2205
2206 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2207
2208 * Makefile.in: Pass through GDB_DEBUG.
2209 * README (Testsuite Parameters): Add GDB_DEBUG.
2210 (gdb,debug): Add board setting.
2211 * lib/gdb.exp (default_gdb_start): Start debugging.
2212 (gdb_debug_enabled): New procedure.
2213 (gdb_debug_init): Likewise.
2214
2215 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2216
2217 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2218
2219 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2220
2221 * gdb.base/ui-redirect.exp: Test redirection.
2222
2223 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2224
2225 * gdb.mi/mi-complete.exp: New file.
2226 * gdb.mi/mi-complete.cc: Likewise.
2227
2228 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2229
2230 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2231 indexed and sliced arrays, and pointers to arrays.
2232
2233 2019-05-14 Tom Tromey <tromey@adacore.com>
2234
2235 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2236 styling test.
2237
2238 2019-05-14 Tom de Vries <tdevries@suse.de>
2239
2240 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2241 selection entry encoding.
2242
2243 2019-05-10 Tom Tromey <tromey@adacore.com>
2244
2245 * gdb.ada/info_exc.exp: Add "complete" test.
2246
2247 2019-05-09 Tom de Vries <tdevries@suse.de>
2248
2249 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2250 CU-relative.
2251
2252 2019-05-09 Tom de Vries <tdevries@suse.de>
2253
2254 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2255 CU-relative.
2256
2257 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2258
2259 * gdb.ada/frame_arg_lang.exp: New testcase.
2260 * gdb.ada/frame_arg_lang/bla.adb: New file.
2261 * gdb.ada/frame_arg_lang/pck.ads: New file.
2262 * gdb.ada/frame_arg_lang/pck.adb: New file.
2263 * gdb.ada/frame_arg_lang/foo.c: New file.
2264
2265 2019-05-08 Tom Tromey <tromey@adacore.com>
2266
2267 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2268
2269 2019-05-08 Tom Tromey <tromey@adacore.com>
2270
2271 * gdb.base/ptype-offsets.exp: Update tests.
2272
2273 2019-05-08 Tom Tromey <tromey@adacore.com>
2274
2275 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2276 cases.
2277 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2278 "short".
2279
2280 2019-05-08 Tom Tromey <tromey@adacore.com>
2281
2282 * gdb.ada/vla.exp: New file.
2283 * gdb.ada/vla/vla.adb: New file.
2284
2285 2019-05-07 Tom de Vries <tdevries@suse.de>
2286
2287 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2288
2289 2019-05-07 Tom de Vries <tdevries@suse.de>
2290
2291 PR testsuite/24522
2292 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2293 section.
2294
2295 2019-05-07 Tom de Vries <tdevries@suse.de>
2296
2297 PR testsuite/24522
2298 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2299 .debug_aranges section.
2300
2301 2019-05-07 Tom de Vries <tdevries@suse.de>
2302
2303 PR testsuite/24159
2304 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2305
2306 2019-05-06 Tom de Vries <tdevries@suse.de>
2307
2308 * lib/gdb.exp (exec_has_index_section): New proc.
2309 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2310 section.
2311
2312 2019-05-04 Tom de Vries <tdevries@suse.de>
2313
2314 * boards/cc-with-debug-names.exp: New file.
2315
2316 2019-05-03 Tom Tromey <tromey@adacore.com>
2317
2318 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2319 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2320 * gdb.ada/char_enum.exp: Add test.
2321
2322 2019-05-03 Tom de Vries <tdevries@suse.de>
2323
2324 * boards/cc-with-gdb-index.exp: New file.
2325
2326 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2327
2328 * gdb.rust/simple.exp: Add new test case.
2329 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2330 (main): Initialise an instance of the new struct.
2331
2332 2019-05-01 Tom Tromey <tromey@adacore.com>
2333
2334 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2335 record.
2336 (NPR): New variable.
2337 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2338 test.
2339
2340 2019-05-01 Tom Tromey <tromey@adacore.com>
2341
2342 * gdb.ada/packed_array_assign.exp: Add packed assignment
2343 regression test.
2344
2345 2019-05-01 Tom de Vries <tdevries@suse.de>
2346
2347 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2348
2349 2019-05-01 Tom de Vries <tdevries@suse.de>
2350
2351 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2352
2353 2019-04-30 Ali Tamur <tamur@google.com>
2354
2355 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2356
2357 2019-04-30 Tom Tromey <tromey@adacore.com>
2358
2359 * lib/ada.exp (find_ada_tool): New proc.
2360 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2361 * gdb.ada/catch_ex_std.exp: New file.
2362 * gdb.ada/catch_ex_std/foo.adb: New file.
2363 * gdb.ada/catch_ex_std/some_package.adb: New file.
2364 * gdb.ada/catch_ex_std/some_package.ads: New file.
2365
2366 2019-04-30 Tom Tromey <tromey@adacore.com>
2367
2368 PR c++/24470:
2369 * gdb.cp/temargs.cc: Add test code from PR.
2370
2371 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2372
2373 * gdb.fortran/vla-datatypes.exp: Update expected results.
2374 * gdb.fortran/vla-ptype.exp: Likewise.
2375 * gdb.fortran/vla-type.exp: Likewise.
2376 * gdb.fortran/vla-value.exp: Likewise.
2377
2378 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2379
2380 * gdb.fortran/ptr-indentation.exp: Update expected results.
2381 * gdb.fortran/ptype-on-functions.exp: Likewise.
2382 * gdb.fortran/vla-ptr-info.exp: Likewise.
2383 * gdb.fortran/vla-value.exp: Likewise.
2384
2385 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2386
2387 * gdb.fortran/ptype-on-functions.exp: New file.
2388 * gdb.fortran/ptype-on-functions.f90: New file.
2389
2390 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2391
2392 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2393 case void string.
2394
2395 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2396
2397 * gdb.fortran/complex.exp: Expand.
2398 * gdb.fortran/complex.f: Renamed to...
2399 * gdb.fortran/complex.f90: ...this, and extended to add more
2400 complex values.
2401
2402 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2403
2404 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2405 MODULO, CMPLX.
2406
2407 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2408 Richard Bunt <richard.bunt@arm.com>
2409
2410 * gdb.base/max-depth.c: New file.
2411 * gdb.base/max-depth.exp: New file.
2412 * gdb.python/py-nested-maps.c: New file.
2413 * gdb.python/py-nested-maps.exp: New file.
2414 * gdb.python/py-nested-maps.py: New file.
2415 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2416 (test_all_common): Call test_max_depth.
2417 * gdb.fortran/max-depth.exp: New file.
2418 * gdb.fortran/max-depth.f90: New file.
2419 * gdb.go/max-depth.exp: New file.
2420 * gdb.go/max-depth.go: New file.
2421 * gdb.modula2/max-depth.exp: New file.
2422 * gdb.modula2/max-depth.c: New file.
2423 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2424
2425 2019-04-29 Tom de Vries <tdevries@suse.de>
2426
2427 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2428
2429 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2430
2431 * gdb.base/callexit.exp: Test may-call-functions off.
2432
2433 2019-04-25 Keith Seitz <keiths@redhat.com>
2434
2435 PR c++/24367
2436 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2437 (another_incomplete_struct, test_incomplete): New definitions.
2438 (main): Use new definitions.
2439 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2440 functions.
2441
2442 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2443
2444 PR corefiles/11608
2445 PR corefiles/18187
2446 * gdb.base/coredump-filter-build-id.exp: New file.
2447
2448 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2449
2450 * Makefile.in: Pass through GDBSERVER_DEBUG.
2451 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2452 (gdbserver,debug): Add board setting.
2453 * gdb.trace/tspeed.exp: Skip when debugging.
2454 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2455 * lib/gdbserver-support.exp: Likewise
2456
2457 2019-04-24 Tom Tromey <tromey@adacore.com>
2458
2459 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2460 Rust.
2461
2462 2019-04-24 Tom Tromey <tromey@adacore.com>
2463
2464 * gdb.arch/amd64-eval.exp: Test bitfield return.
2465 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2466 (class Foo) <return_bitfields>: New method.
2467 (main): Call it.
2468
2469 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2470
2471 * gdb.cp/many-args.cc: New file.
2472 * gdb.cp/many-args.exp: New file.
2473
2474 2019-04-23 Tom de Vries <tdevries@suse.de>
2475
2476 PR gdb/24433
2477 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2478
2479 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2480
2481 * gdb.trace/backtrace.exp: Use nopie flag.
2482 * gdb.trace/circ.exp: Likewise.
2483 * gdb.trace/collection.exp: Likewise.
2484 * gdb.trace/ftrace.exp: Likewise.
2485 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2486 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2487 * gdb.trace/qtro.exp: Likewise.
2488 * gdb.trace/read-memory.exp: Likewise.
2489 * gdb.trace/report.exp: Likewise.
2490 * gdb.trace/tfile.exp: Likewise.
2491 * gdb.trace/tfind.exp: Likewise.
2492 * gdb.trace/unavailable.exp: Likewise.
2493
2494 2019-04-22 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.base/solib-probes-nosharedlibrary.c,
2497 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2498
2499 2019-04-19 Tom Tromey <tromey@adacore.com>
2500
2501 * gdb.ada/ptype_union.c: New file.
2502 * gdb.ada/ptype_union.exp: New file.
2503
2504 2019-04-19 Tom Tromey <tromey@adacore.com>
2505
2506 PR symtab/24423:
2507 * gdb.base/list0.h (foo): Add a control-l character.
2508
2509 2019-04-18 Tom de Vries <tdevries@suse.de>
2510
2511 PR gdb/24433
2512 * boards/local-board.exp: Set sysroot to "".
2513
2514 2019-04-18 Tom de Vries <tdevries@suse.de>
2515 Pedro Alves <palves@redhat.com>
2516
2517 PR gdb/24454
2518 * gdb.threads/vfork-follow-child-exec.c: New file.
2519 * gdb.threads/vfork-follow-child-exec.exp: New file.
2520 * gdb.threads/vfork-follow-child-exit.c: New file.
2521 * gdb.threads/vfork-follow-child-exit.exp: New file.
2522
2523 2019-04-15 Leszek Swirski <leszeks@google.com>
2524
2525 * gdb.arch/amd64-eval.cc: New file.
2526 * gdb.arch/amd64-eval.exp: New file.
2527
2528 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2529
2530 * gdb.server/sysroot.c: New test.
2531 * gdb.server/sysroot.exp: New file.
2532 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2533 matching param.
2534
2535 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 * gdb.base/align.exp: Extend test to cover structures containing
2538 only static fields.
2539
2540 2019-04-11 Tom de Vries <tdevries@suse.de>
2541
2542 * boards/cc-with-dwz-m.exp: New file.
2543 * boards/cc-with-dwz.exp: New file.
2544 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2545
2546 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2547
2548 * gdb.base/start-cpp.exp: New file.
2549 * gdb.base/start-cpp.cc: New file.
2550
2551 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2552
2553 * gdb.python/py-thrhandle.exp: Adjust tests to call
2554 thread_from_handle instead of thread_from_thread_handle.
2555
2556 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2557
2558 * gdb.python/py-thrhandle.exp: Add tests for
2559 gdb.InferiorThread.handle.
2560
2561 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2562
2563 * gdb.python/py-function.exp: Check calling helper function from
2564 all languages.
2565 * lib/gdb.exp (gdb_supported_languages): New proc.
2566
2567 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2568
2569 * gdb.base/complex-parts.c: New file.
2570 * gdb.base/complex-parts.exp: New file.
2571
2572 2019-04-01 Tom Tromey <tromey@adacore.com>
2573
2574 PR symtab/23331:
2575 * gdb.dwarf2/dw2-ranges-main.c: New file.
2576 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2577 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2578
2579 2019-03-30 Simon Marchi <simark@simark.ca>
2580
2581 * gdb.base/default.exp: Add values for $_gdb_major and
2582 $_gdb_minor.
2583
2584 2019-03-29 Tom Tromey <tromey@adacore.com>
2585
2586 * gdb.base/help.exp: Tighten apropos regexp.
2587
2588 2019-03-29 Keith Seitz <keiths@redhat.com>
2589
2590 * gdb.fortran/array-bounds.exp: New file.
2591 * gdb.fortran/array-bounds.f90: New file.
2592
2593 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2594
2595 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2596
2597 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2598
2599 * gdb.multi/hello.c (main): Increase alarm timer.
2600
2601 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2602
2603 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2604 factor when no hardware watchpoint support.
2605
2606 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2607 Pedro Alves <palves@redhat.com>
2608
2609 * boards/local-board.exp: set sysroot to /.
2610
2611 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2612
2613 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2614 in child.
2615
2616 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2617
2618 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2619 field.
2620 (make_container): Initialise new field.
2621 * gdb.python/py-prettyprint.exp: Add new tests.
2622 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2623 <display_hint>: New method.
2624
2625 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2626
2627 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2628 gdb_continue_to_breakpoint more throughout this test.
2629 (run_lang_tests) Supply unique test names, and use
2630 gdb_test_no_output.
2631
2632 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2633
2634 * gdb.base/finish-pretty.exp: Update expected results.
2635 * gdb.base/pretty-print.c: New file.
2636 * gdb.base/pretty-print.exp: New file.
2637
2638 2019-03-25 Pedro Alves <palves@redhat.com>
2639
2640 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2641 move comments outside list. Append '-i "" eof' section.
2642
2643 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2644
2645 PR testsuite/25016
2646 * README: Add pie options.
2647 * gdb.base/break-interp.exp: Ensure pie is disabled.
2648 * gdb.base/dump.exp: Likewise.
2649 * lib/gdb.exp (gdb_compile): Add pie option.
2650
2651 2019-03-19 Tom Tromey <tromey@adacore.com>
2652
2653 * gdb.mi/mi2-cli-display.c: New file.
2654 * gdb.mi/mi2-cli-display.exp: New file.
2655
2656 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2657 Tom Tromey <tromey@adacore.com>
2658
2659 * gdb.ada/ptype_array/pck.adb: New file.
2660 * gdb.ada/ptype_array/pck.ads: New file.
2661 * gdb.ada/ptype_array/foo.adb: New file.
2662 * gdb.ada/ptype_array.exp: New file.
2663
2664 2019-03-14 Tom Tromey <tromey@adacore.com>
2665
2666 * gdb.base/style.exp: Add "set style sources" test.
2667
2668 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2669
2670 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2671 * mi-breakpoint-multiple-locations.exp: ... this.
2672 (make_breakpoints_pattern): New proc.
2673 (do_test): Add mi_version parameter, test -break-insert,
2674 -break-info and =breakpoint-created.
2675
2676 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2677
2678 * config/default.exp: Remove 'load_lib gdb.exp'.
2679 * config/monitor.exp: Likewise.
2680 * config/sid.exp: Likewise.
2681 * config/sim.exp: Likewise.
2682 * config/slite.exp: Likewise.
2683 * config/unix.exp: Likewise.
2684 * gdb.base/default.exp: Remove unhelpful comment.
2685
2686 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2687
2688 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2689
2690 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2691
2692 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2693
2694 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2695
2696 * gdb.fortran/type-kinds.exp: Update expected results.
2697
2698 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2699
2700 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2701
2702 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2703
2704 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2705 function.
2706 (test_basic_parsing_of_type_kinds): Expand types tested.
2707 (test_parsing_invalid_type_kinds): New function.
2708
2709 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2710
2711 * gdb.fortran/intrinsics.exp: New file.
2712 * gdb.fortran/intrinsics.f90: New file.
2713 * gdb.fortran/type-kinds.exp: New file.
2714
2715 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2716
2717 * gdb.fortran/dot-ops.exp: New file.
2718
2719 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2720
2721 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2722 Check upper and lower case logical literals.
2723
2724 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2725
2726 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2727 Remove duplicate tests.
2728
2729 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2730
2731 * lib/gdb.exp (builtin_cd): rename of cd.
2732 (cd): Override builtin.
2733
2734 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2735
2736 * gdb.fortran/function-calls.exp: New file.
2737 * gdb.fortran/function-calls.f90: New test.
2738
2739 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2740
2741 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2742 on user program standard output.
2743 * gdb.fortran/short-circuit-argument-list.f90: Record function
2744 calls.
2745
2746 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2747
2748 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2749 failure.
2750
2751 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2752
2753 PR gdb/8527
2754 * gdb.base/interrupt-daemon-attach.c,
2755 gdb.base/interrupt-daemon-attach.exp: New test.
2756
2757 2019-02-27 Pedro Alves <palves@redhat.com>
2758
2759 * gdb.base/page.exp: Add tests for "set width/height -1".
2760
2761 2019-02-27 Pedro Alves <palves@redhat.com>
2762
2763 * gdb.base/page.exp: Add tests for "set/show width/height" with
2764 "infinite" values.
2765
2766 2019-02-27 Tom Tromey <tromey@adacore.com>
2767
2768 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2769 2.4.
2770 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2771 workaround.
2772
2773 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2774
2775 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2776 tests for structs with static members.
2777
2778 2019-02-26 Tom Tromey <tromey@adacore.com>
2779
2780 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2781 ValueError, not TypeError.
2782
2783 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2784
2785 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2786 call from main program.
2787
2788 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2789
2790 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2791 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2792 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2793 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2794 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2795
2796 2019-02-22 Keith Seitz <keiths@redhat.com>
2797
2798 PR symtab/23853
2799 * gdb.base/symlink-sourcefile.c: New file.
2800 * gdb.base/symlink-sourcefile.exp: New file.
2801
2802 2019-02-20 Tom Tromey <tom@tromey.com>
2803
2804 * gdb.base/info_qt.exp: Update.
2805
2806 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2807
2808 * gdb.base/source.exp: Move "error in sourced script" code to
2809 the end.
2810 * gdb.base/source-error.gdb: Move contents to
2811 source-error-1.gdb. Add new code to source source-error-1.gdb.
2812 * gdb.base/source-error-1.gdb: New file, from previous
2813 source-error.gdb.
2814
2815 2019-02-17 Tom Tromey <tom@tromey.com>
2816
2817 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2818 for macro styling.
2819 * gdb.base/style.c (SOME_MACRO): New macro.
2820
2821 2019-02-17 Tom Tromey <tom@tromey.com>
2822
2823 * gdb.base/style.exp: Add line-wrapping tests.
2824 * gdb.base/page.exp: Add test for quitting during pagination.
2825
2826 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2827
2828 * gdb.ada/big_packed_array: New testcase.
2829 * gdb.ada/homonym.exp: Fix incorrect expected output for
2830 "break <homonym__get_value>" test.
2831
2832 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2833
2834 PR breakpoints/21870
2835 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2836 and prepare_for_testing. Add comment.
2837 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2838 redundant cleanup call. Clean up comment.
2839
2840 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2841
2842 PR breakpoints/21870
2843 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2844 * gdb.arch/aarch64-dbreg-contents.c: New file.
2845
2846 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2847
2848 * gdb.ada/mi_ref_changeable: New testcase.
2849
2850 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2851
2852 * gdb.base/attach.exp: Add double attach test.
2853
2854 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2855
2856 * lib/gdb.exp (default_gdb_start): Don't match pagination
2857 prompt.
2858 (gdb_init): Set stty_init.
2859
2860 2019-01-27 Tom Tromey <tom@tromey.com>
2861
2862 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2863 skip_python_tests.
2864
2865 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2866
2867 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2868 New structure.
2869 (struct struct_static_02_02): Likewise.
2870 (struct struct_static_02_03): Likewise.
2871 (struct struct_static_02_04): Likewise.
2872 (struct struct_static_04_01): Likewise.
2873 (struct struct_static_04_02): Likewise.
2874 (struct struct_static_04_03): Likewise.
2875 (struct struct_static_04_04): Likewise.
2876 (struct struct_static_06_01): Likewise.
2877 (struct struct_static_06_02): Likewise.
2878 (struct struct_static_06_03): Likewise.
2879 (struct struct_static_06_04): Likewise.
2880 (cmp_struct_static_02_01): Likewise.
2881 (cmp_struct_static_02_02): Likewise.
2882 (cmp_struct_static_02_03): Likewise.
2883 (cmp_struct_static_02_04): Likewise.
2884 (cmp_struct_static_04_01): Likewise.
2885 (cmp_struct_static_04_02): Likewise.
2886 (cmp_struct_static_04_03): Likewise.
2887 (cmp_struct_static_04_04): Likewise.
2888 (cmp_struct_static_06_01): Likewise.
2889 (cmp_struct_static_06_02): Likewise.
2890 (cmp_struct_static_06_03): Likewise.
2891 (cmp_struct_static_06_04): Likewise.
2892 (call_all): Test new structs.
2893 * gdb.base/infcall-nested-structs.exp: Likewise.
2894
2895 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2896 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2897
2898 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2899 * gdb.base/stack-protector.c: New test.
2900 * gdb.base/stack-protector.exp: New file.
2901 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2902 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2903 option.
2904 (gdb_compile): Remove stack protector for GCC and prevent
2905 recursion.
2906
2907 2019-01-16 Keith Seitz <keiths@redhat.com>
2908
2909 PR gdb/23773
2910 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2911
2912 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2913
2914 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2915 aliases.
2916 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2917 tests.
2918 * gdb.arch/powerpc-vector-regs.c: New file.
2919 * gdb.arch/powerpc-vector-regs.exp: New file.
2920
2921 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2922
2923 * gdb.arch/altivec-regs.exp: Fix the list passed to
2924 gdb_expect_list when testing "info vector".
2925
2926 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.base/style.exp: Don't include path in testname.
2929
2930 2019-01-10 Keith Seitz <keiths@redhat.com>
2931
2932 PR gdb/23712
2933 PR symtab/23010
2934 * gdb.dwarf2/multidictionary.exp: New file.
2935
2936 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2937
2938 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2939 (test_gnuv3_style_demangling): ... this.
2940 (test_lucid_style_demangling): Remove.
2941 (test_arm_style_demangling): Remove.
2942 (test_hp_style_demangling): Remove.
2943 (do_tests): Remove calls to the above.
2944
2945 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2946
2947 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2948 case.
2949
2950 2019-01-06 Tom Tromey <tom@tromey.com>
2951
2952 PR gdb/28155:
2953 * gdb.dwarf2/typedef-void-finish.exp: New file.
2954
2955 2018-12-28 Tom Tromey <tom@tromey.com>
2956 Simon Marchi <simark@simark.ca>
2957
2958 * gdb.base/jit-exec.exp: New file.
2959 * gdb.base/jit-exec.c: New file.
2960 * gdb.base/jit-execd.c: New file.
2961
2962 2018-12-28 Tom Tromey <tom@tromey.com>
2963
2964 * gdb.base/style.exp: Update test to check for address styling.
2965
2966 2018-12-28 Tom Tromey <tom@tromey.com>
2967
2968 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2969 message.
2970
2971 2018-12-28 Tom Tromey <tom@tromey.com>
2972
2973 * gdb.base/style.exp: Add test for version number styling.
2974
2975 2018-12-28 Tom Tromey <tom@tromey.com>
2976
2977 * gdb.base/style.exp: Add test for print_address_symbolic.
2978
2979 2018-12-28 Tom Tromey <tom@tromey.com>
2980
2981 * gdb.base/style.exp: Add test for breakpoint setting.
2982
2983 2018-12-28 Tom Tromey <tom@tromey.com>
2984
2985 * gdb.base/style.exp: Add test for variable names.
2986
2987 2018-12-28 Tom Tromey <tom@tromey.com>
2988
2989 * gdb.base/style.exp: New file.
2990 * gdb.base/style.c: New file.
2991
2992 2018-12-28 Tom Tromey <tom@tromey.com>
2993
2994 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2995 "dumb".
2996 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2997 the TERM environment variable.
2998
2999 2018-12-27 Tom Tromey <tom@tromey.com>
3000
3001 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3002 pagination test.
3003
3004 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3005
3006 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3007 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3008
3009 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3010
3011 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3012 Filename a.adb changed to bp_fun_addr.adb.
3013 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3014
3015 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3016
3017 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3018 non-PIE executables.
3019 * README: Mention the gdb,nopie_flag board setting.
3020 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3021 non-PIE executable.
3022 * gdb.arch/amd64-entry-value.exp: Likewise.
3023 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3024 * gdb.arch/i386-float.exp: Likewise.
3025 * gdb.arch/i386-signal.exp: Likewise.
3026 * gdb.mi/mi-reg-undefined.exp: Likewise.
3027
3028 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3029
3030 PR gdb/23974
3031 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3032
3033 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3034
3035 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3036 Update order of results accordingly.
3037
3038 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3039
3040 * gdb.base/annota1.exp: Update a test regexp.
3041
3042 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3043
3044 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3045
3046 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3047
3048 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3049 (reuse_time): Initialize to REUSE_TIME_CAP.
3050 (check_rc): New function.
3051 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3052 Check pthread_create rc.
3053 (spawner_thread_func): Check pthread_create and pthread_join rc.
3054
3055 2018-12-08 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.base/list.exp (test_forward_search): Rename to ...
3058 (test_forward_reverse_search): ... this. Also test reverse-search
3059 and the forward-search alias.
3060
3061 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3062
3063 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3064 local timeout variable before return, and remove all local timeout
3065 variable entirely.
3066 (gdb_load): Likewise.
3067
3068 2018-12-01 Tom de Vries <tdevries@suse.de>
3069
3070 * gdb.base/gdb-caching-proc.exp: New file.
3071
3072 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3073
3074 * Makefile.in (TIMESTAMP): New variable.
3075 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3076 command.
3077 (check-single-racy): Likewise.
3078 (check/%.exp): Likewise.
3079 (check-racy/%.exp): Likewise.
3080 (workers/%.worker): Likewise.
3081 (build-perf): Likewise.
3082 (check-perf): Likewise.
3083 * README: Describe new "TS" and "TS_FORMAT" variables.
3084 * print-ts.py: New file.
3085
3086 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3087
3088 PR python/23714
3089 * gdb.python/python.exp: Test command repetition after
3090 gdb.execute.
3091
3092 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3093
3094 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3095 is correctly aligned.
3096
3097 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3098
3099 * gdb.ada/info_auto_lang.exp: New testcase.
3100 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3101 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3102 * gdb.ada/info_auto_lang/some_c.c: New file.
3103
3104 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3105
3106 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3107 FUNC_lang language syntax.
3108
3109 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3110
3111 * gdb.base/info_minsym.c: New file.
3112 * gdb.base/info_minsym.exp: New file.
3113
3114 2018-11-19 Tom Tromey <tom@tromey.com>
3115
3116 PR rust/23625:
3117 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3118 * gdb.rust/expr.exp: Update expected output. Change one test.
3119
3120 2018-11-19 Tom Tromey <tom@tromey.com>
3121
3122 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3123
3124 2018-11-19 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3127 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3128 see the expected warning.
3129
3130 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3131
3132 PR gdb/22736:
3133 * gdb.cp/infcall-nodebug-lib.c: New test.
3134 * gdb.cp/infcall-nodebug-main.c: New test.
3135 * gdb.cp/infcall-nodebug.exp: New file.
3136
3137 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3138
3139 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3140 completer tests.
3141
3142 2018-11-09 Tom de Vries <tdevries@suse.de>
3143
3144 * gdb.base/msym-lang.c: New test.
3145 * gdb.base/msym-lang.exp: New file.
3146 * gdb.base/msym-lang-main.c: New test.
3147
3148 2018-11-08 Tom Tromey <tom@tromey.com>
3149
3150 PR gdb/23555:
3151 PR gdb/23838:
3152 * gdb.base/warning.exp: New file.
3153
3154 2018-11-08 Jan Beulich <jbeulich@suse.com>
3155
3156 * testsuite/gdb.arch/i386-avx512.c,
3157 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3158
3159 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3160
3161 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3162 point hardware.
3163
3164 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3165
3166 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3167 * gdb.dwarf2/missing-type-name.exp: New file.
3168
3169 2018-11-06 Tom de Vries <tdevries@suse.de>
3170
3171 * gdb.base/many-headers.c: New test.
3172 * gdb.base/many-headers.exp: New file.
3173
3174 2018-11-06 Jim Wilson <jimw@sifive.com>
3175
3176 * gdb.base/code_elim.exp: For riscv, set additional_flags
3177 to include -msmall-data-limit=0.
3178
3179 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3180
3181 * gdb.ada/watch_minus_l: New testcase.
3182
3183 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3184
3185 * gdb.arch/aix-sighandle.c: New file.
3186 * gdb.arch/aix-sighandle.exp: New file.
3187
3188 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3189
3190 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3191 registers being unions.
3192
3193 2018-10-31 Tom de Vries <tdevries@suse.de>
3194
3195 * lib/valgrind.exp: New file.
3196 (vgdb_start, vgdb_stop): New procs, factored out of ...
3197 * gdb.base/valgrind-bt.exp: ... here, ...
3198 * gdb.base/valgrind-disp-step.exp: ... here and ...
3199 * gdb.base/valgrind-infcall.exp: ... here.
3200
3201 2018-10-31 Tom de Vries <tdevries@suse.de>
3202
3203 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3204
3205 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3206
3207 * gdb.dwarf2/void-type.c: New file.
3208 * gdb.dwarf2/void-type.exp: New file.
3209
3210 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3211
3212 * gdb.base/info_qt.c: New file.
3213 * gdb.base/info_qt.exp: New file.
3214
3215 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3216
3217 * gdb.arch/powerpc-htm-regs.c: New file.
3218 * gdb.arch/powerpc-htm-regs.exp: New file.
3219
3220 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3221
3222 * gdb.arch/powerpc-tar.c: New file.
3223 * gdb.arch/powerpc-tar.exp: New file.
3224
3225 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3226
3227 * gdb.arch/powerpc-ppr-dscr.c: New file.
3228 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3229
3230 2018-10-25 Tom de Vries <tdevries@suse.de>
3231
3232 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3233
3234 2018-10-24 Tom de Vries <tdevries@suse.de>
3235
3236 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3237 longer exists error.
3238
3239 2018-10-24 Tom de Vries <tdevries@suse.de>
3240
3241 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3242
3243 2018-10-24 Tom de Vries <tdevries@suse.de>
3244
3245 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3246 --db-attach in valgrind.
3247
3248 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3249
3250 * gdb.arch/riscv-reg-aliases.c: New file.
3251 * gdb.arch/riscv-reg-aliases.exp: New file.
3252
3253 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3254
3255 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3256
3257 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3258
3259 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3260
3261 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3262
3263 * gdb.cp/ovldbreak.exp: Fix regexps.
3264
3265 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3266
3267 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3268
3269 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3270
3271 PR cli/23785
3272 * gdb.base/restore.exp: New test to check if "restore" with an
3273 invalid file doesn't segfault.
3274
3275 2018-10-18 Tom de Vries <tdevries@suse.de>
3276
3277 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3278 * gdb.ada/excep_handle.exp: Same.
3279 * gdb.ada/mi_string_access.exp: Same.
3280 * gdb.ada/mi_var_union.exp: Same.
3281 * gdb.arch/arc-analyze-prologue.exp: Same.
3282 * gdb.arch/arc-decode-insn.exp: Same.
3283 * gdb.base/readnever.exp: Same.
3284 * gdb.fortran/printing-types.exp: Same.
3285 * gdb.guile/scm-lazy-string.exp: Same.
3286
3287 2018-10-16 Tom de Vries <tdevries@suse.de>
3288
3289 PR gdb/23730
3290 * gdb.base/catch-follow-exec.c: Add copyright notice.
3291 * gdb.base/catch-follow-exec.exp: Rewrite to use
3292 gdb_spawn_with_cmdline_opts. Require gdb-native.
3293
3294 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3295
3296 * gdb.trace/actions-changed.exp: Check for arch support.
3297 * gdb.trace/actions.exp: Likewise.
3298 * gdb.trace/ax.exp: Likewise.
3299 * gdb.trace/backtrace.exp: Likewise.
3300 * gdb.trace/change-loc.exp: Likewise.
3301 * gdb.trace/deltrace.exp: Likewise.
3302 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3303 * gdb.trace/ftrace.exp: Likewise.
3304 * gdb.trace/infotrace.exp: Check for arch support.
3305 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3306 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3307 * gdb.trace/mi-tsv-changed.exp: Likewise.
3308 * gdb.trace/packetlen.exp: Likewise.
3309 * gdb.trace/passc-dyn.exp: Likewise.
3310 * gdb.trace/passcount.exp: Likewise.
3311 * gdb.trace/pending.exp: Likewise.
3312 * gdb.trace/range-stepping.exp: Check for shlib support.
3313 * gdb.trace/report.exp: Check for arch support.
3314 * gdb.trace/save-trace.exp: Likewise.
3315 * gdb.trace/signal.exp: Check for signal support.
3316 * gdb.trace/tfind.exp: Check for arch support.
3317 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3318 * gdb.trace/trace-common.h: Add comment.
3319 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3320 * gdb.trace/trace-enable-disable.exp: Likewise.
3321 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3322 * gdb.trace/tracecmd.exp: Check for arch support.
3323 * gdb.trace/tspeed.exp: Check for shlib and target support.
3324 * gdb.trace/tstatus.exp: Check for arch support.
3325 * gdb.trace/tsv.exp: Likewise.
3326 * gdb.trace/while-dyn.exp: Likewise.
3327 * gdb.trace/while-stepping.exp: Likewise.
3328 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3329
3330 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3331
3332 * gdb.trace/tspeed.exp: Remove nowarnings.
3333 (prepare_for_trace_test): Declare "global ipalib".
3334 * gdb.trace/tspeed.c: Include unistd.h.
3335 (main): Remove superfluous printf argument.
3336
3337 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3338
3339 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3340 directory prefix on the filename.
3341
3342 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3343
3344 * gdb.gdb/unittest.exp: Update expected message informing that
3345 selftests have been disabled.
3346 * gdb.server/unittest.exp: Likewise.
3347
3348 2018-10-09 Tom de Vries <tdevries@suse.de>
3349
3350 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3351 with runto_main.
3352
3353 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3354
3355 PR c++/16841
3356 * gdb.cp/virtbase2.cc: New file.
3357 * gdb.cp/virtbase2.exp: New file.
3358
3359 2018-10-06 Tom Tromey <tom@tromey.com>
3360
3361 PR python/19399:
3362 * gdb.python/py-inferior.exp: Add architecture test.
3363
3364 2018-10-06 Tom Tromey <tom@tromey.com>
3365
3366 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3367 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3368
3369 2018-10-06 Tom Tromey <tom@tromey.com>
3370
3371 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3372 of a "throw" catchpoint.
3373
3374 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3375
3376 * gdb.base/info-proc.exp: Update string expected from "help info
3377 proc".
3378
3379 2018-10-04 Tom Tromey <tom@tromey.com>
3380
3381 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3382 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3383 (test_initial_complaints, test_empty_complaints): Update.
3384 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3385
3386 2018-10-04 Tom Tromey <tom@tromey.com>
3387
3388 PR cli/19551:
3389 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3390 * lib/gdb.exp (gdb_file_cmd): Update.
3391 * gdb.stabs/weird.exp (print_weird_var): Update.
3392 * gdb.server/solib-list.exp: Update.
3393 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3394 * gdb.mi/mi-cli.exp: Update.
3395 * gdb.linespec/linespec.exp: Update.
3396 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3397 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3398 * gdb.cp/cp-relocate.exp: Update.
3399 * gdb.base/sym-file.exp: Update.
3400 * gdb.base/relocate.exp: Update.
3401 * gdb.base/readnever.exp: Update.
3402 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3403 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3404 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3405 * gdb.base/code_elim.exp: Update.
3406 * gdb.base/break-unload-file.exp (test_break): Update.
3407 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3408 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3409 Update.
3410 * gdb.base/attach.exp (do_attach_tests): Update.
3411 * gdb.base/sepdebug.exp: Update.
3412 * gdb.python/py-section-script.exp: Update.
3413
3414 2018-10-04 Tom Tromey <tom@tromey.com>
3415
3416 PR cli/22234:
3417 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3418 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3419 output.
3420
3421 2018-10-04 Tom Tromey <tom@tromey.com>
3422
3423 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3424 set width and height to 0.
3425 (test_command_line_attach_run): Use -quiet.
3426
3427 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3428
3429 * lib/gdb.exp (skip_ifunc_tests): New.
3430 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3431 other compile failures.
3432 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3433
3434 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3435
3436 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3437 is_amd64_regs_target.
3438
3439 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3440
3441 * gdb.arch/aarch64-sighandler-regs.c: New test.
3442 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3443 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3444
3445 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3446
3447 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3448 assembly.
3449
3450 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3451
3452 * gdb.base/frame-selection.exp: New file.
3453 * gdb.base/frame-selection.c: New file.
3454
3455 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3456
3457 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3458 pthread barrier.
3459 (main): Likewise.
3460
3461 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3462
3463 * gdb.base/large-frame-1.c: New file.
3464 * gdb.base/large-frame-2.c: New file.
3465 * gdb.base/large-frame.exp: New file.
3466 * gdb.base/large-frame.h: New file.
3467
3468 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3469
3470 PR gdb/20948
3471 * gdb.base/write_mem.exp: New test.
3472 * gdb.base/write_mem.c: Likewise.
3473
3474 2018-09-23 Tom Tromey <tom@tromey.com>
3475
3476 PR python/18852:
3477 * gdb.python/py-parameter.exp: Add test for parameter that throws
3478 on "set".
3479
3480 2018-09-23 Tom Tromey <tom@tromey.com>
3481
3482 PR python/17284:
3483 * gdb.python/py-template.exp (test_template_arg): Add test for
3484 negative template argument number.
3485
3486 2018-09-23 Tom Tromey <tom@tromey.com>
3487
3488 PR python/14062:
3489 * gdb.python/python.exp: Add test for post_event error.
3490
3491 2018-09-23 Tom Tromey <tom@tromey.com>
3492
3493 PR python/18170:
3494 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3495 convert pointers to int and long.
3496
3497 2018-09-23 Tom Tromey <tom@tromey.com>
3498
3499 PR python/20126:
3500 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3501 signed-ness conversion tests.
3502
3503 2018-09-23 Tom Tromey <tom@tromey.com>
3504
3505 PR python/18352;
3506 * gdb.python/py-value.exp (test_float_conversion): New proc.
3507 Use it.
3508
3509 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3510
3511 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3512
3513 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3514
3515 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3516 no readline.
3517 * gdb.base/utf8-identifiers.exp: Likewise.
3518 * gdb.cp/cpcompletion.exp: Likewise.
3519 * gdb.linespec/cpcompletion.exp: Likewise.
3520 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3521 * gdb.linespec/cpls-ops.exp: Likewise.
3522
3523 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3524 Chris January <chris.january@arm.com>
3525
3526 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3527 * gdb.fortran/short-circuit-argument-list.exp: New file.
3528 * gdb.fortran/short-circuit-argument-list.f90: New test.
3529
3530 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3531
3532 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3533 "arch=" keyword when executing "-stack-list-frames".
3534
3535 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3536
3537 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3538 "arch=" keyword when executing "-stack-list-frames".
3539
3540 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3541
3542 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3543 break ada".
3544
3545 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3546
3547 PR python/23669
3548 * gdb.python/python.exp: Test gdb.execute("show commands").
3549
3550 2018-09-16 Tom Tromey <tom@tromey.com>
3551
3552 * gdb.base/new-ui.exp (do_execution_tests): Update.
3553 * gdb.base/dbx.exp (test_breakpoints): Update.
3554
3555 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3556
3557 * lib/gdb.exp (gdb_simple_compile): Add proc.
3558 (is_elf_target): Use gdb_simple_compile.
3559 (skip_altivec_tests): Likewise.
3560 (skip_vsx_tests): Likewise.
3561 (skip_tsx_tests): Likewise.
3562 (skip_btrace_tests): Likewise.
3563 (skip_btrace_pt_tests): Likewise.
3564 (gdb_can_simple_compile): Likewise.
3565 (gdb_has_argv0): Likewise.
3566 (gdb_target_symbol_prefix): Likewise.
3567 (target_supports_scheduler_locking): Likewise.
3568
3569 2018-09-13 Tom Tromey <tom@tromey.com>
3570
3571 * Makefile.in (TAGS): Recognize proc_with_prefix and
3572 gdb_caching_proc.
3573
3574 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3575
3576 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3577 method.
3578
3579 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3580
3581 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3582 and a few other Inferior properties when the Inferior is no
3583 longer valid.
3584
3585 2018-09-13 Tom Tromey <tom@tromey.com>
3586
3587 PR rust/23650:
3588 * gdb.rust/simple.exp: Add test for enum field access error.
3589
3590 2018-09-13 Tom Tromey <tom@tromey.com>
3591
3592 PR rust/23626:
3593 * gdb.rust/simple.rs (EmptyEnum): New type.
3594 (main): Use it.
3595 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3596
3597 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3598
3599 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3600 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3601 * gdb.python/py-symtab.exp: Update test printing an objfile.
3602
3603 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3604
3605 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3606 object.
3607
3608 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3609
3610 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3611 (support_complex_tests): Use gdb_can_simple_compile.
3612 (is_ilp32_target): Likewise.
3613 (is_lp64_target): Likewise.
3614 (is_64_target): Likewise.
3615 (is_amd64_regs_target): Likewise.
3616 (is_aarch32_target): Likewise.
3617 (gdb_int128_helper): Likewise.
3618
3619 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3622
3623 2018-09-10 Jerome Guitton <guitton@adacore.com>
3624
3625 * gdb.ada/same_component_name: Add test for case of tagged record
3626 with variable-length fields.
3627
3628 2018-09-10 Xavier Roirand <roirand@adacore.com>
3629
3630 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3631 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3632 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3633 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3634
3635 2018-09-10 Xavier Roirand <roirand@adacore.com>
3636
3637 * gdb.ada/mi_string_access.exp: New testcase.
3638 * gdb.ada/mi_string_access/bar.adb: New file.
3639 * gdb.ada/mi_string_access/pck.adb: New file.
3640 * gdb.ada/mi_string_access/pck.asd: New file.
3641
3642 2018-09-10 Xavier Roirand <roirand@adacore.com>
3643
3644 * gdb.ada/mi_var_union.exp: New testcase.
3645 * gdb.ada/mi_var_union/bar.adb: New file.
3646 * gdb.ada/mi_var_union/pck.adb: New file.
3647 * gdb.ada/mi_var_union/pck.asd: New file.
3648
3649 2018-09-08 Tom Tromey <tom@tromey.com>
3650
3651 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3652
3653 2018-09-08 Tom Tromey <tom@tromey.com>
3654
3655 PR python/16047:
3656 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3657 (register_pretty_printers): Register new printer.
3658 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3659 test.
3660 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3661 (an_int_type3): New global.
3662
3663 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3664
3665 * gdb.ada/expr_with_funcall: New testcase.
3666
3667 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3668
3669 * gdb.ada/packed_array_assign: New testcase.
3670
3671 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3674 names, and add test prefixes to make test names unique.
3675
3676 2018-09-05 Tom de Vries <tdevries@suse.de>
3677
3678 * gdb.dwarf2/varval.exp: Add test.
3679
3680 2018-09-04 Gary Benson <gbenson@redhat.com>
3681
3682 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3683 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3684
3685 2018-08-31 Tom Tromey <tom@tromey.com>
3686
3687 * gdb.rust/simple.rs: Rename second variable "v".
3688
3689 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3690
3691 * gdb.base/funcargs.c (use_a): New function.
3692 (recurse): Call use_a.
3693
3694 2018-08-29 Keith Seitz <keiths@redhat.com>
3695
3696 * gdb.compile/compile-cplus-anonymous.cc: New file.
3697 * gdb.compile/compile-cplus-anonymous.exp: New file.
3698 * gdb.compile/compile-cplus-array-decay.cc: New file.
3699 * gdb.compile/compile-cplus-array-decay.exp: New file.
3700 * gdb.compile/compile-cplus-inherit.cc: New file.
3701 * gdb.compile/compile-cplus-inherit.exp: New file.
3702 * gdb.compile/compile-cplus-member.cc: New file.
3703 * gdb.compile/compile-cplus-member.exp: New file.
3704 * gdb.compile/compile-cplus-method.cc: New file.
3705 * gdb.compile/compile-cplus-method.exp: New file.
3706 * gdb.compile/compile-cplus-mod.c: "New" file.
3707 * gdb.compile/compile-cplus-namespace.cc: New file.
3708 * gdb.compile/compile-cplus-namespace.exp: New file.
3709 * gdb.compile/compile-cplus-nested.cc: New file.
3710 * gdb.compile/compile-cplus-nested.exp: New file.
3711 * gdb.compile/compile-cplus-print.c: "New" file.
3712 * gdb.compile/compile-cplus-print.exp: "New" file.
3713 * gdb.compile/compile-cplus-virtual.cc: New file.
3714 * gdb.compile/compile-cplus-virtual.exp: New file.
3715 * gdb.compile/compile-cplus.c: "New" file.
3716 * gdb.compile/compile-cplus.exp: "New" file.
3717 * lib/compile-support.exp: New file.
3718
3719 2018-08-16 Gary Benson <gbenson@redhat.com>
3720
3721 PR gdb/13000:
3722 * gdb.base/batch-exit-status.exp: New file.
3723 * gdb.base/batch-exit-status.good-commands: Likewise.
3724 * gdb.base/batch-exit-status.bad-commands: Likewise.
3725
3726 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3727
3728 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3729 (struct struct02): Likewise.
3730 (struct struct03): Likewise.
3731 (struct struct04): Likewise.
3732 (struct struct_01_01): New struct.
3733 (struct struct_01_02): Likewise.
3734 (struct struct_01_03): Likewise.
3735 (struct struct_01_04): Likewise.
3736 (struct struct_02_01): Likewise.
3737 (struct struct_02_02): Likewise.
3738 (struct struct_02_03): Likewise.
3739 (struct struct_02_04): Likewise.
3740 (struct struct_04_01): Likewise.
3741 (struct struct_04_02): Likewise.
3742 (struct struct_04_03): Likewise.
3743 (struct struct_04_04): Likewise.
3744 (struct struct_05_01): Likewise.
3745 (struct struct_05_02): Likewise.
3746 (struct struct_05_03): Likewise.
3747 (struct struct_05_04): Likewise.
3748 (cmp_struct01): Remove function.
3749 (cmp_struct02): Likewise.
3750 (cmp_struct03): Likewise.
3751 (cmp_struct04): Likewise.
3752 (cmp_struct_01_01): Add Function.
3753 (cmp_struct_01_02): Likewise.
3754 (cmp_struct_01_03): Likewise.
3755 (cmp_struct_01_04): Likewise.
3756 (cmp_struct_02_01): Likewise.
3757 (cmp_struct_02_02): Likewise.
3758 (cmp_struct_02_03): Likewise.
3759 (cmp_struct_02_04): Likewise.
3760 (cmp_struct_04_01): Likewise.
3761 (cmp_struct_04_02): Likewise.
3762 (cmp_struct_04_03): Likewise.
3763 (cmp_struct_04_04): Likewise.
3764 (cmp_struct_05_01): Likewise.
3765 (cmp_struct_05_02): Likewise.
3766 (cmp_struct_05_03): Likewise.
3767 (cmp_struct_05_04): Likewise.
3768 (call_all): Add new structs.
3769 * gdb.base/infcall-nested-structs.exp: Likewise.
3770
3771 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3772
3773 * gdb.python/py-framefilter-mi.exp: Update regexp to
3774 check for "arch" field in frame output.
3775
3776 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3777
3778 * gdb.dwarf2/dw2-ranges-func.c: New file.
3779 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3780
3781 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3782
3783 * gdb.base/term.exp: Compare terminal settings with values from
3784 the inferior.
3785 * gdb.base/term.c: Get and set terminal settings.
3786
3787 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3788
3789 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3790 accommodate new "arch" field in frame output.
3791 * gdb.mi/mi-return.exp: Likewise.
3792 * gdb.mi/mi-stack.exp: Likewise.
3793 * gdb.mi/mi-syn-frame.exp: Likewise.
3794 * gdb.mi/user-selected-context-sync.exp: Likewise.
3795
3796 2018-08-19 Michael Spang <spang@google.com>
3797
3798 PR gdb/11786
3799 * gdb.base/gcore-tls-pie.c: New file.
3800 * gdb.base/gcore-tls-pie.exp: New file.
3801
3802 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3803
3804 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3805 * gdb.dwarf2/varval.c: New file.
3806 * gdb.dwarf2/varval.exp: New file.
3807
3808 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3809
3810 PR gdb/18931
3811 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3812
3813 2018-08-16 Keith Seitz <keiths@redhat.com>
3814
3815 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3816 tests expected to pass.
3817
3818 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3819
3820 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3821 -data-disassemble -a.
3822 (test_disassembly_bogus_args): Likewise.
3823
3824 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3825
3826 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3827
3828 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3829
3830 * gdb.base/vla-optimized-out.exp: Add new test.
3831
3832 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3833
3834 * gdb.base/vla-optimized-out-o3.exp: Delete.
3835 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3836 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3837 deleted tests.
3838
3839 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3840
3841 PR gdb/18050:
3842 * gdb.server/extended-remote-restart.c: New file.
3843 * gdb.server/extended-remote-restart.exp: New file.
3844
3845 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3846
3847 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3848 "set variable index = 42".
3849
3850 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3851
3852 * boards/index-cache-gdb.exp: New file.
3853 * gdb.dwarf2/index-cache.exp: New file.
3854 * gdb.dwarf2/index-cache.c: New file.
3855 * gdb.base/maint.exp: Check if we are using the index cache.
3856
3857 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3858
3859 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3860 MAKEFLAGS.
3861
3862 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3863
3864 * dg-extract-results.sh: Move to toplevel contrib.
3865 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3866 * Makefile.in (check-parallel-racy): Likewise.
3867
3868 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3869
3870 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3871 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3872 tests if the target supports scheduler locking.
3873
3874 2018-08-04 Tom de Vries <tdevries@suse.de>
3875
3876 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3877
3878 2018-08-02 Tom Tromey <tom@tromey.com>
3879
3880 PR symtab/16842.
3881 * gdb.cp/temargs.exp: Test "info address" of a template
3882 parameter.
3883
3884 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3885
3886 * gdb.python/py-mi-var-info-path-expression.c: New file.
3887 * gdb.python/py-mi-var-info-path-expression.py: New file.
3888 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3889
3890 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3891
3892 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3893 error after "cannot resolve name" string.
3894
3895 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3896
3897 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3898 started.
3899 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3900
3901 2018-07-28 Tom de Vries <tdevries@suse.de>
3902
3903 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3904
3905 2018-07-26 Tom de Vries <tdevries@suse.de>
3906
3907 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3908
3909 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3910
3911 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3912 is visible.
3913
3914 2018-07-26 Tom de Vries <tdevries@suse.de>
3915
3916 PR breakpoints/23366
3917 * gdb.base/catch-follow-exec.c: New test.
3918 * gdb.base/catch-follow-exec.exp: New file.
3919
3920 2018-07-25 Tom de Vries <tdevries@suse.de>
3921
3922 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3923 vla-optimized-out.c.
3924
3925 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3926
3927 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3928 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3929
3930 2018-07-20 Tom de Vries <tdevries@suse.de>
3931
3932 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3933 NOCLONE macro.
3934 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3935
3936 2018-07-19 Tom de Vries <tdevries@suse.de>
3937
3938 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3939 regular expression.
3940
3941 2018-07-18 Tom de Vries <tdevries@suse.de>
3942
3943 * gdb.base/vla-optimized-out.c: New test.
3944 * gdb.base/vla-optimized-out.exp: New file.
3945
3946 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3947
3948 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3949 message "No address associated with hostname" when gdbserver
3950 cannot resolve the hostname.
3951
3952 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3953
3954 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3955 Add some test prefixes to make tests unique.
3956
3957 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3958
3959 * gdb.base/frameapply.c: New file.
3960 * gdb.base/frameapply.exp: New file.
3961
3962 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3963
3964 * gdb.base/skip.exp: Update expected error message.
3965
3966 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3967 Jan Kratochvil <jan.kratochvil@redhat.com>
3968 Paul Fertser <fercerpav@gmail.com>
3969 Tsutomu Seki <sekiriki@gmail.com>
3970
3971 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3972 parameter.
3973 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3974 by default.
3975 * boards/native-gdbserver.exp: Likewise.
3976 * gdb.server/run-without-local-binary.exp: Improve regexp used
3977 for detecting when a remote debugging connection succeeds.
3978 * gdb.server/server-connect.exp: New file.
3979 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3980 Do not prefix the port number with ":".
3981 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3982 support for detecting and using it. Add '$debughost_gdbserver'
3983 to the list of arguments used to start gdbserver. Handle case
3984 when gdbserver cannot resolve a network name.
3985
3986 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3987
3988 PR c++/23373
3989 * gdb.base/ptype-offsets.cc (struct static_member): New
3990 struct.
3991 (main) <stmember>: New variable.
3992 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3993 with a static member in it.
3994
3995 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3996
3997 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3998 watchpoints enabled and disabled.
3999
4000 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4001
4002 * gdb.base/examine-backward.exp: Still run tests around address
4003 0x0, even if address 0x0 is not readable. Update the pattern for
4004 matching address 0x0 in expected output.
4005
4006 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4007
4008 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4009 malloc/free.
4010
4011 2018-07-04 Tom de Vries <tdevries@suse.de>
4012
4013 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4014
4015 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4016
4017 PR tdep/8282
4018 * gdb.arch/mips-disassembler-options.exp: New test.
4019 * gdb.arch/mips-disassembler-options.s: New test source.
4020
4021 2018-06-29 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.threads/names.exp: Adjust expected "info threads" output.
4024
4025 2018-06-29 Pedro Alves <palves@redhat.com>
4026
4027 * gdb.opt/inline-break.exp (line number, address): Add "info
4028 break" tests.
4029
4030 2018-06-29 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4033 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4034 number and address and running to them.
4035
4036 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4037
4038 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4039
4040 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4041
4042 * lib/compiler.c: Remove executable permission flag.
4043
4044 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4045
4046 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4047 code.
4048 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4049
4050 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4051
4052 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4053
4054 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4055
4056 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4057 address argument is omitted.
4058
4059 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4060
4061 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4062
4063 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4064
4065 PR gdb/21695
4066 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4067 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4068
4069 2018-06-26 Tom Tromey <tom@tromey.com>
4070
4071 PR rust/22574:
4072 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4073 * gdb.rust/simple.rs (struct SimpleLayout): New.
4074
4075 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4076
4077 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4078 "info registers" output.
4079
4080 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4081
4082 * gdb.base/watchpoint-hw-attach.c: New test.
4083 * gdb.base/watchpoint-hw-attach.exp: New file.
4084
4085 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4086
4087 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4088 through /bin/sh.
4089 * boards/dwarf4-gdb-index.exp: Likewise.
4090 * boards/fission-dwp.exp: Likewise.
4091
4092 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4093
4094 * gdb.base/float128.exp: Add comment and improved fail message
4095 to the failure case of "print large128" test.
4096
4097 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4098
4099 * configure.ac: Remove AC_PREREQ.
4100 * configure: Re-generate.
4101
4102 2018-06-19 Pedro Alves <palves@redhat.com>
4103
4104 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4105 (func_extern_caller): New.
4106 (main): Call func_extern_caller.
4107 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4108 logic change.
4109
4110 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4111
4112 PR gdb/16841
4113 * gdb.cp/typedef-base.cc: New file.
4114 * gdb.cp/typedef-base.exp: New file.
4115
4116 2018-06-18 Tom de Vries <tdevries@suse.de>
4117
4118 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4119
4120 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4121 Richard Bunt <Richard.Bunt@arm.com>
4122
4123 * gdb.threads/attach-slow-waitpid.c: New file.
4124 * gdb.threads/attach-slow-waitpid.exp: New file.
4125 * gdb.threads/slow-waitpid.c: New file.
4126
4127 2018-06-14 Pedro Alves <palves@redhat.com>
4128
4129 * gdb.base/fork-running-state.c: Include <errno.h>.
4130 (exit_if_relative_exits): New.
4131 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4132 exits.
4133 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4134 child exits.
4135
4136 2018-06-14 Tom de Vries <tdevries@suse.de>
4137
4138 PR cli/22573
4139 * gdb.base/finish-pretty.c: New test.
4140 * gdb.base/finish-pretty.exp: New file.
4141
4142 2018-06-14 Pedro Alves <palves@redhat.com>
4143
4144 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4145 gdb's expected startup output.
4146
4147 2018-06-14 Pedro Alves <palves@redhat.com>
4148
4149 * lib/selftest-support.exp (selftest_setup): Remove inlined
4150 function handling.
4151
4152 2018-06-14 Tom de Vries <tdevries@suse.de>
4153
4154 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4155 matching of breakpoint printing.
4156
4157 2018-06-13 Tom de Vries <tdevries@suse.de>
4158
4159 PR testsuite/23269
4160 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4161 (fork_child): ... here, and ...
4162 (fork_parent): ... here.
4163
4164 2018-06-12 Tom de Vries <tdevries@suse.de>
4165
4166 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4167
4168 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4169 Stephen Roberts <stephen.roberts@arm.com>
4170
4171 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4172 rewrite test to describe action performed, rather than possible
4173 failure.
4174
4175 2018-06-08 Gary Benson <gbenson@redhat.com>
4176
4177 * gdb.threads/check-libthread-db.exp: New file.
4178 * gdb.threads/check-libthread-db.c: Likewise.
4179
4180 2018-06-05 Tom Tromey <tom@tromey.com>
4181
4182 * gdb.base/default.exp: Update expected "show version" output.
4183
4184 2018-06-05 Tom Tromey <tom@tromey.com>
4185
4186 PR cli/12326:
4187 * gdb.cp/static-print-quit.exp: Update.
4188 * lib/gdb.exp (pagination_prompt): Update.
4189 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4190 * gdb.python/python.exp: Update.
4191
4192 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4193
4194 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4195
4196 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4197
4198 * gdb.ada/bp_fun_addr: New testcase.
4199
4200 2018-06-01 Tom Tromey <tom@tromey.com>
4201
4202 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4203 results.
4204 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4205 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4206 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4207 * gdb.base/maint.exp (maint_pass_if): Update.
4208
4209 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4210
4211 * gdb.base/endian.exp: New test.
4212 * gdb.base/endian.c: New test source.
4213
4214 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4215
4216 PR gdb/23203
4217 * gdb.base/bt-selected-frame.c: New file.
4218 * gdb.base/bt-selected-frame.exp: New file.
4219 * lib/gdb.exp (get_current_frame_number): New function.
4220
4221 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4222 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.threads/tls-core.c: Include <stdlib.h>
4225 (thread_proc): Call `abort'.
4226 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4227 (tls_core_test): New procedure, bits factored out from ...
4228 (top level): ... here. Test both native cores and gcore cores.
4229
4230 2018-05-23 Tom Tromey <tom@tromey.com>
4231
4232 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4233
4234 2018-05-23 Tom Tromey <tom@tromey.com>
4235
4236 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4237 symfile_complaints.
4238 (test_short_complaints): Likewise.
4239 (test_empty_complaints): Likewise.
4240 (test_initial_complaints): Update.
4241
4242 2018-05-23 Tom Tromey <tom@tromey.com>
4243
4244 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4245
4246 2018-05-23 Tom Tromey <tom@tromey.com>
4247
4248 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4249 (test_short_complaints): Update.
4250
4251 2018-05-22 Pedro Alves <palves@redhat.com>
4252
4253 * gdb.base/remote.exp: Only gdb_start after compiling the
4254 testcase. Issue "disconnect" before testing "set remote" command
4255 defaults. Issue clean_restart before running to main.
4256
4257 2018-05-22 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.base/remote.exp: Adjust expected output of "show remote
4260 memory-write-packet-size". Add tests for "set remote
4261 memory-write-packet-size 0" and "set remote
4262 memory-write-packet-size fixed/limit".
4263
4264 2018-05-22 Pedro Alves <palves@redhat.com>
4265
4266 PR gdb/22973
4267 * gdb.base/utf8-identifiers.c: New file.
4268 * gdb.base/utf8-identifiers.exp: New file.
4269
4270 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4271
4272 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4273
4274 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4275
4276 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4277
4278 2018-05-18 Tom Tromey <tom@tromey.com>
4279
4280 * gdb.base/ptype-offsets.exp: Update.
4281
4282 2018-05-17 Keith Seitz <keiths@redhat.com>
4283
4284 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4285 in expected breakpoint stop locations.
4286 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4287 move to proper scope to test variable values.
4288 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4289 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4290 New functions.
4291 (main): Call not_inline_func3.
4292 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4293 inline_func1, inline_func2, and inline_func3. Test that when each
4294 breakpoint is hit, GDB properly reports both the stop location
4295 and the backtrace. Repeat tests for temporary breakpoints.
4296
4297 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4298
4299 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4300 rather then trying to access it in determining whether the PID
4301 of `gdbserver' could have been retrieved.
4302
4303 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4304
4305 * gdb.arch/amd64-init-x87-values.S: New file.
4306 * gdb.arch/amd64-init-x87-values.exp: New file.
4307
4308 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4311
4312 2018-05-04 Tom Tromey <tom@tromey.com>
4313
4314 PR python/22730:
4315 * gdb.python/python.exp: Test multi-line execute.
4316
4317 2018-05-04 Tom Tromey <tom@tromey.com>
4318
4319 PR python/22731:
4320 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4321
4322 2018-05-04 Tom Tromey <tom@tromey.com>
4323
4324 PR gdb/11750:
4325 * gdb.base/define.exp: Test defining a user command inside a user
4326 command.
4327 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4328
4329 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4330 Pedro Alves <palves@redhat.com>
4331
4332 PR breakpoints/19806 and support for PR external/20207.
4333 * gdb.base/watchpoint-unaligned.c: New file.
4334 * gdb.base/watchpoint-unaligned.exp: New file.
4335
4336 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * gdb.base/maint.exp: Make test names unique, use
4339 test_prefix_command_help to test 'help maint info', and remove
4340 repeated test of 'help maint'.
4341
4342 2018-05-04 Tom Tromey <tom@tromey.com>
4343
4344 PR gdb/22619:
4345 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4346 behavior.
4347
4348 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4349
4350 * gdb.base/maint.exp: Process output from 'maint print registers'
4351 line at a time.
4352
4353 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4354
4355 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4356 timeout.
4357
4358 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4359
4360 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4361 filter pattern.
4362
4363 2018-05-02 Pedro Alves <palves@redhat.com>
4364
4365 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4366 to_log_command renames.
4367 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4368
4369 2018-05-02 Tom Tromey <tom@tromey.com>
4370
4371 * gdb.python/py-parameter.exp: Set test message.
4372
4373 2018-05-02 Tom Tromey <tom@tromey.com>
4374
4375 PR python/20084:
4376 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4377 PARAM_ZUINTEGER_UNLIMITED tests.
4378
4379 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4380
4381 PR rust/23124
4382 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4383 when casting.
4384
4385 2018-04-30 Tom Tromey <tom@tromey.com>
4386
4387 * gdb.python/py-type.exp: Check align attribute.
4388 * gdb.python/py-type.c: New "aligncheck" global.
4389
4390 2018-04-30 Tom Tromey <tom@tromey.com>
4391
4392 PR exp/17095:
4393 * gdb.dwarf2/dw2-align.exp: New file.
4394 * gdb.cp/align.exp: New file.
4395 * gdb.base/align.exp: New file.
4396 * lib/gdb.exp (gdb_int128_helper): New proc.
4397 (has_int128_c, has_int128_cxx): New caching procs.
4398
4399 2018-04-27 Tom Tromey <tom@tromey.com>
4400
4401 PR rust/22545:
4402 * gdb.rust/simple.exp: Add inclusive range tests.
4403
4404 2018-04-26 Pedro Alves <palves@redhat.com>
4405
4406 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4407 ifunc breakpoint locations correctly of ifunc breakpoints set
4408 while the program resolves the ifunc.
4409
4410 2018-04-26 Pedro Alves <palves@redhat.com>
4411
4412 * gdb.base/gnu-ifunc-final.c: New file.
4413 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4414 * gdb.base/gnu-ifunc.exp (executable): Delete.
4415 (staticexecutable): Adjust.
4416 (lib_opts, exec_opts): Delete.
4417 (make_binsuffix, build, set-break): New procedures.
4418 (misc_tests): New, with tests factored out from the top level.
4419 (top level): Test different combinations of ifunc resolver name,
4420 resolver with and with debug info, and ifunc target with and
4421 without debug info. Wrap static tests with with_target_prefix.
4422
4423 2018-04-26 Pedro Alves <palves@redhat.com>
4424
4425 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4426 return type" warnings.
4427
4428 2018-04-25 Pedro Alves <palves@redhat.com>
4429
4430 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4431 killed".
4432 * gdb.base/kill-after-signal.exp: Likewise.
4433 * gdb.threads/kill.exp: Likewise.
4434
4435 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4436 Sergio Durigan Junior <sergiodj@redhat.com>
4437 Pedro Alves <palves@redhat.com>
4438
4439 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4440 regexps to expect for '[Inferior ... detached]' as well.
4441 * gdb.base/attach.exp: Likewise.
4442 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4443 "gdb_continue_to_end".
4444 (test_catch_syscall_with_wrong_args): Likewise.
4445 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4446 ']'. Don't set 'verbose' on.
4447 * gdb.base/foll-vfork.exp: Likewise.
4448 * gdb.base/fork-print-inferior-events.c: New file.
4449 * gdb.base/fork-print-inferior-events.exp: New file.
4450 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4451 '[Inferior ... has been killed]' message.
4452 * gdb.base/kill-after-signal.exp: Likewise.
4453 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4454 detach message.
4455 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4456 message.
4457 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4458 regexps to expect for '[Inferior ... detached]' as well.
4459 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4460
4461 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4462
4463 PR gdb/23104
4464 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4465
4466 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4467
4468 * gdb.threads/multiple-successive-infcall.c: New test.
4469 * gdb.threads/multiple-successive-infcall.exp: New file.
4470
4471 2018-04-17 Tom Tromey <tom@tromey.com>
4472
4473 * gdb.rust/simple.rs (Union): New type.
4474 (main): New local "u".
4475 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4476
4477 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4478
4479 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4480 number information in output of "whereis" command.
4481 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4482
4483 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4484
4485 * gdb.ada/info_types.exp: Adjust expected output to the line
4486 numbers now printed by "info var/func/type".
4487 * gdb.base/completion.exp: Likewise.
4488 * gdb.base/included.exp: Likewise.
4489 * gdb.cp/cp-relocate.exp: Likewise.
4490 * gdb.cp/cplusfuncs.exp: Likewise.
4491 * gdb.cp/namespace.exp: Likewise.
4492 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4493
4494 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4495
4496 * gdb.btrace/cpu.exp: New.
4497
4498 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4499
4500 * gdb.base/step-indirect-call-thunk.exp: New.
4501 * gdb.base/step-indirect-call-thunk.c: New.
4502 * gdb.reverse/step-indirect-call-thunk.exp: New.
4503 * gdb.reverse/step-indirect-call-thunk.c: New.
4504
4505 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4506
4507 * gdb.base/pie-fork.c: New file.
4508 * gdb.base/pie-fork.exp: New file.
4509
4510 2018-04-11 Tom Tromey <tom@tromey.com>
4511
4512 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4513
4514 2018-04-10 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4517 exits. Instead loop running forever.
4518 (fork_parent): Run forever too.
4519
4520 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4521
4522 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4523 mi_continue_to_line.
4524 * gdb.mi/mi-stack.c (callee4): Add comment.
4525
4526 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4527
4528 * gdb.mi/mi-stack.exp: Fix indentation.
4529
4530 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4531
4532 PR gdb/22979
4533 * gdb.arch/amd64-osabi.exp: New file.
4534
4535 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4536
4537 PR gdb/22980
4538 * gdb.base/osabi.exp: New file.
4539
4540 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4541
4542 * gdb.cp/static-typedef-print.exp: New file.
4543 * gdb.cp/static-typedef-print.cc: New file.
4544
4545 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4546
4547 * gdb.ada/varsize_limit: New testcase.
4548
4549 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4550
4551 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4552
4553 * gdb.ada/notcplusplus: New testcase.
4554
4555 * gdb.base/c-linkage-name.c: New file.
4556 * gdb.base/c-linkage-name.exp: New testcase.
4557
4558 2018-03-26 Tom Tromey <tom@tromey.com>
4559
4560 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4561 * gdb.python/py-framefilter.py (name_error): New global.
4562 (ErrorInName.function): Use name_error.
4563
4564 2018-03-26 Tom Tromey <tom@tromey.com>
4565
4566 PR backtrace/15582:
4567 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4568
4569 2018-03-23 Keith Seitz <keiths@redhat.com>
4570
4571 PR c++/22968
4572 * gdb.cp/subtypes.exp: New file.
4573 * gdb.cp/subtypes.h: New file.
4574 * gdb.cp/subtypes.cc: New file.
4575 * gdb.cp/subtypes-2.cc: New file.
4576
4577 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4578
4579 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4580 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4581 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4582 -nostartfiles when compiling the test. Confirm that all registers
4583 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4584
4585 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4588 option, syntax was wrong anyway.
4589 * gdb.arch/arm-disp-step.exp: Likewise.
4590 * gdb.arch/sparc64-regs.exp: Likewise.
4591 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4592 option, syntax was wrong anyway, switch to use
4593 prepare_for_testing.
4594 * gdb.arch/i386-disp-step.exp: Likewise.
4595
4596 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4597
4598 * gdb.ada/exec_changed.exp: Replace "target_info exists
4599 use_gdb_stub" by "use_gdb_stub".
4600 * gdb.ada/start.exp: Likewise.
4601 * gdb.base/async-shell.exp: Likewise.
4602 * gdb.base/attach-pie-misread.exp: Likewise.
4603 * gdb.base/attach-wait-input.exp: Likewise.
4604 * gdb.base/break-entry.exp: Likewise.
4605 * gdb.base/break-interp.exp: Likewise.
4606 * gdb.base/dprintf-detach.exp: Likewise.
4607 * gdb.base/nostdlib.exp: Likewise.
4608 * gdb.base/solib-nodir.exp: Likewise.
4609 * gdb.base/statistics.exp: Likewise.
4610 * gdb.base/testenv.exp: Likewise.
4611 * gdb.mi/mi-exec-run.exp: Likewise.
4612 * gdb.mi/mi-start.exp: Likewise.
4613 * gdb.multi/dummy-frame-restore.exp: Likewise.
4614 * gdb.multi/multi-arch-exec.exp: Likewise.
4615 * gdb.multi/multi-arch.exp: Likewise.
4616 * gdb.multi/tids.exp: Likewise.
4617 * gdb.multi/watchpoint-multi.exp: Likewise.
4618 * gdb.python/py-events.exp: Likewise.
4619 * gdb.threads/attach-into-signal.exp: Likewise.
4620 * gdb.threads/attach-stopped.exp: Likewise.
4621 * gdb.threads/threadapply.exp: Likewise.
4622 * lib/selftest-support.exp: Likewise.
4623
4624 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4625
4626 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4627
4628 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4629
4630 * gdb.perf/template-breakpoints.cc: New file.
4631 * gdb.perf/template-breakpoints.exp: New file.
4632 * gdb.perf/template-breakpoints.py: New file.
4633
4634 2018-03-19 Tom Tromey <tom@tromey.com>
4635
4636 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4637 y0.
4638 * gdb.rust/simple.exp: Test bare identifier form of struct
4639 initializer.
4640
4641 2018-03-19 Tom Tromey <tom@tromey.com>
4642
4643 * gdb.gdb/observer.exp: Remove.
4644
4645 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4646
4647 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4648 "qualified" option when setting breakpoints.
4649 * gdb.trace/backtrace.exp: Likewise.
4650 * gdb.trace/circ.exp: Likewise.
4651 * gdb.trace/collection.exp: Likewise.
4652 * gdb.trace/disconnected-tracing.exp: Likewise.
4653 * gdb.trace/ftrace-lock.exp: Likewise.
4654 * gdb.trace/ftrace.exp: Likewise.
4655 * gdb.trace/infotrace.exp: Likewise.
4656 * gdb.trace/packetlen.exp: Likewise.
4657 * gdb.trace/passc-dyn.exp: Likewise.
4658 * gdb.trace/qtro.exp: Likewise.
4659 * gdb.trace/read-memory.exp: Likewise.
4660 * gdb.trace/report.exp: Likewise.
4661 * gdb.trace/signal.exp: Likewise.
4662 * gdb.trace/status-stop.exp: Likewise.
4663 * gdb.trace/strace.exp: Likewise.
4664 * gdb.trace/tfind.exp: Likewise.
4665 * gdb.trace/trace-break.exp: Likewise.
4666 * gdb.trace/trace-condition.exp: Likewise.
4667 * gdb.trace/trace-mt.exp: Likewise.
4668 * gdb.trace/tstatus.exp: Likewise.
4669 * gdb.trace/tsv.exp: Likewise.
4670 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4671 * gdb.trace/unavailable.exp: Likewise.
4672 * gdb.trace/while-dyn.exp: Likewise.
4673
4674 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4675
4676 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4677 that libinproctrace is copied to the target.
4678
4679 2018-03-14 Tom Tromey <tom@tromey.com>
4680
4681 PR cli/14977:
4682 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4683 a null pointer.
4684 * gdb.base/wchar.exp: Likewise.
4685
4686 2018-03-14 Tom Tromey <tom@tromey.com>
4687
4688 PR cli/19918:
4689 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4690 flag.
4691
4692 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4693
4694 PR gdb/22841
4695 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4696 "target" to remote_exec.
4697
4698 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4699
4700 PR gdb/22841
4701 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4702 ${board}_upload): Remove.
4703
4704 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4705
4706 * gdb.cp/watch-cp.cc: New test.
4707 * gdb.cp/watch-cp.exp: New file.
4708
4709 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4710
4711 * gdb.base/infcall-nested-structs.exp: New file.
4712 * gdb.base/infcall-nested-structs.c: New file.
4713 * gdb.base/float.exp: Add riscv support.
4714
4715 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4716
4717 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4718 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4719
4720 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4721
4722 * gdb.server/abspath.exp: New file.
4723 * lib/gdb.exp (with_cwd): New procedure.
4724
4725 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4726
4727 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4728 use it.
4729 (gdb_is_target_remote_prompt): New proc.
4730 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4731 (gdb_is_target_native): Pass prompt parameter to
4732 gdb_is_target_1.
4733
4734 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4735
4736 * gdb.base/load-command.c: New file.
4737 * gdb.base/load-command.exp: New file.
4738 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4739 (gdb_is_target_1): ...this, and generalize for other targets
4740 than just remote.
4741 (gdb_is_target_remote): Use gdb_is_target_1.
4742 (gdb_is_target_native): use gdb_is_target_1.
4743
4744 2018-02-26 Tom Tromey <tom@tromey.com>
4745
4746 PR python/16497:
4747 * gdb.python/py-framefilter.exp: Update test.
4748
4749 2018-02-26 Tom Tromey <tom@tromey.com>
4750
4751 * gdb.dwarf2/variant.c: New file.
4752 * gdb.dwarf2/variant.exp: New file.
4753
4754 2018-02-26 Tom Tromey <tom@tromey.com>
4755
4756 * gdb.rust/simple.exp: Accept more possible results in enum test.
4757
4758 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4759
4760 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4761 parentheses.
4762
4763 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4764
4765 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4766 name of a variable: $actual_linejj -> $actual_line.
4767
4768 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4769
4770 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4771
4772 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4773
4774 * gdb.btrace/buffer-size.exp: Do not force BTS.
4775
4776 2018-02-14 Pedro Alves <palves@redhat.com>
4777
4778 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4779 getting a "Quit".
4780
4781 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4782
4783 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4784 Fix test name.
4785
4786 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4787
4788 * gdb.cp/m-static.exp: Check type of optimized out static
4789 member.
4790
4791 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4792
4793 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4794 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4795
4796 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4797 Leszek Swirski <leszeks@google.com>
4798
4799 * gdb.python/py-prettyprint.c
4800 (struct to_string_returns_value_inner,
4801 struct to_string_returns_value_wrapper): New.
4802 (main): Add tsrvw variable.
4803 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4804 ToStringReturnsValueWrapper): New classes.
4805 (register_pretty_printers): Register new pretty-printers.
4806 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4807 recursive pretty printer.
4808 * gdb.python/py-mi.exp: Likewise.
4809
4810 2018-02-01 Leszek Swirski <leszeks@google.com>
4811
4812 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4813 functions with the same name as an include file are parsed
4814 correctly.
4815
4816 2018-02-01 Yao Qi <yao.qi@linaro.org>
4817
4818 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4819 "\[^\r\n\]*".
4820
4821 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4822
4823 * gdb.arch/powerpc-prologue-frame.s: New file.
4824 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4825 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4826
4827 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4828
4829 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4830
4831 2018-01-30 Pedro Alves <palves@redhat.com>
4832
4833 PR gdb/13211
4834 * gdb.base/interrupt-daemon.c: New.
4835 * gdb.base/interrupt-daemon.exp: New.
4836 * gdb.multi/multi-term-settings.c: New.
4837 * gdb.multi/multi-term-settings.exp: New.
4838
4839 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4840
4841 * gdb.base/break.exp: Save the location where the breakpoint
4842 on break.c:47 was actually inserted when debugging the version
4843 compiled at -O2 and use it in the expected output of the "info
4844 break" test performed soon after.
4845
4846 2018-01-22 Pedro Alves <palves@redhat.com>
4847 Sergio Durigan Junior <sergiodj@redhat.com>
4848
4849 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4850 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4851
4852 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4853
4854 * gdb.base/break-include.c, gdb.base/break-include.inc,
4855 gdb.base/break-include.exp: New files.
4856 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4857 line number now being the actual line number where the breakpoint
4858 was inserted.
4859 * gdb.mi/mi-break.exp: Likewise.
4860 * gdb.mi/mi-reverse.exp: Likewise.
4861 * gdb.mi/mi-simplerun.exp: Ditto.
4862
4863 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4864
4865 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4866 varobj.
4867 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4868
4869 2018-01-21 Don Breazeal <donb@codesourcery.com>
4870 Andrew Burgess <andrew.burgess@embecosm.com>
4871
4872 * gdb.mi/basics.c: Add new global.
4873 * gdb.mi/mi-frame-regs.exp: New file.
4874 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4875 case.
4876
4877 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4878
4879 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4880 non-parameter, and on an unknown symbol.
4881
4882 2018-01-19 Tom Tromey <tom@tromey.com>
4883
4884 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4885 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4886
4887 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4888
4889 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4890 setrlimit and chdir to int.
4891
4892 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4893
4894 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4895 function.
4896 (my_tend): Likewise.
4897 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4898 rationale of avoiding FP- and vector instructions.
4899
4900 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4901
4902 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4903 "info reg" with "\[ \t\]*".
4904 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4905 "\[ \t\]+".
4906 * gdb.arch/s390-multiarch.exp: Ditto.
4907 * gdb.base/pc-fp.exp: Ditto.
4908 * gdb.reverse/i386-precsave.exp: Ditto.
4909 * gdb.reverse/i386-reverse.exp: Ditto.
4910 * gdb.reverse/i387-env-reverse.exp: Ditto.
4911 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4912
4913 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4914
4915 * lib/gdb.exp (gdb_compile): Re-enable use of
4916 universal_compile_options for languages other than Rust.
4917
4918 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4919
4920 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4921
4922 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4923
4924 PR gdb/16577
4925 * gdb.base/solib-vanish.exp: New.
4926 * gdb.base/solib-vanish-main.c: New.
4927 * gdb.base/solib-vanish-lib1.c: New.
4928 * gdb.base/solib-vanish-lib2.c: New.
4929
4930 2018-01-17 Yao Qi <yao.qi@linaro.org>
4931
4932 * gdb.compile/compile.exp: Match the address printed for
4933 frame in the output of command "bt".
4934
4935 2018-01-15 Tom Tromey <tom@tromey.com>
4936
4937 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4938 compute sp_reg.
4939
4940 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4941
4942 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4943 to prepare.
4944 (prepare): Return 0 on error, 1 on success.
4945
4946 2018-01-12 Pedro Alves <palves@redhat.com>
4947
4948 * gdb.base/continue-after-aborted-step-over.c: New.
4949 * gdb.base/continue-after-aborted-step-over.exp: New.
4950
4951 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4952
4953 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4954 options when not creating an executable.
4955
4956 2018-01-11 Pedro Alves <palves@redhat.com>
4957
4958 PR remote/22597
4959 * gdb.server/stop-reply-no-thread.c: New file.
4960 * gdb.server/stop-reply-no-thread.exp: New file.
4961
4962 2018-01-10 Pedro Alves <palves@redhat.com>
4963
4964 PR gdb/22670
4965 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4966 functions too. Test setting breakpoints and printing C functions
4967 with no debug info too.
4968 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4969
4970 2018-01-10 Pedro Alves <palves@redhat.com>
4971
4972 PR gdb/22670
4973 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4974 a fail.
4975
4976 2018-01-10 Pedro Alves <palves@redhat.com>
4977
4978 PR gdb/22670
4979 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4980
4981 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4982
4983 * gdb.server/unittest.exp: Match the output in non-development
4984 mode.
4985
4986 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4987
4988 * gdb.gdb/unittest.exp: Match output in non-development mode.
4989
4990 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4991
4992 * gdb.ada/access_tagged_param.exp: Relax expected output
4993 for value of "ObjL" in "continue" to pck.inspect breakpoint
4994 test.
4995
4996 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4997
4998 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4999 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5000
5001 2018-01-05 Pedro Alves <palves@redhat.com>
5002
5003 PR gdb/18653
5004 * gdb.base/libsegfault.exp: New.
5005
5006 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5007
5008 PR gdb/22670
5009 * gdb.ada/access_tagged_param.exp: New file.
5010 * gdb.ada/access_tagged_param/foo.adb: New file.
5011
5012 2018-01-05 Pedro Alves <palves@redhat.com>
5013
5014 PR gdb/22670
5015 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5016 exercise lower case too, and to exercise both full matching and
5017 wild matching.
5018
5019 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5020
5021 * gdb.ada/rename_subscript_param: New testcase.
5022
5023 2018-01-05 Jerome Guitton <guitton@adacore.com>
5024
5025 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5026
5027 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5028
5029 * gdb.ada/convvar_comp: New testcase.
5030
5031 2018-01-05 Xavier Roirand <roirand@adacore.com>
5032
5033 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5034 (My_Table): New global variable.
5035 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5036
5037 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5038
5039 PR gdb/22670
5040 * gdb.ada/maint_with_ada: New testcase.
5041
5042 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5043
5044 PR gdb/22670
5045 * gdb.ada/bp_c_mixed_case: New testcase.
5046
5047 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5048
5049 PR gdb/22670
5050 * gdb.ada/complete.exp: Add "complete break ada" test.
5051
5052 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5053
5054 PR gdb/22670
5055 * gdb.ada/info_addr_mixed_case: New testcase.
5056
5057 2018-01-03 Xavier Roirand <roirand@adacore.com>
5058
5059 * gdb.ada/excep_handle.exp: New testcase.
5060 * gdb.ada/excep_handle/foo.adb: New file.
5061 * gdb.ada/excep_handle/pck.ads: New file.
5062
5063 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5064
5065 * gdb.base/step-line.c: Add extra empty line in copyright header.
5066 * gdb.base/step-line.inp: Likewise.
5067
5068 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5069
5070 * gdb.ada/dyn_stride.exp: Add slice test.
5071
5072 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5073
5074 * gdb.ada/dyn_stride: New testcase.
5075
5076 2017-12-27 Stafford Horne <shorne@gmail.com>
5077
5078 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5079 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5080
5081 2017-12-27 Stafford Horne <shorne@gmail.com>
5082
5083 * gdb.base/reggroups.c: New file.
5084 * gdb.base/reggroups.exp: New file.
5085
5086 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5087
5088 * gdb.dwarf2/ada-valprint-error.c: New file.
5089 * gdb.dwarf2/ada-valprint-error.exp: New file.
5090
5091 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5092
5093 * gdb.ada/assign_arr: New testcase.
5094
5095 2017-12-18 Xavier Roirand <roirand@adacore.com>
5096
5097 * gdb.ada/funcall_ptr: New testcase.
5098
5099 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5100
5101 PR cli/16224
5102 * gdb.base/ptype-offsets.cc: New file.
5103 * gdb.base/ptype-offsets.exp: New file.
5104
5105 2017-12-15 Yao Qi <yao.qi@linaro.org>
5106
5107 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5108 if XML is disabled.
5109
5110 2017-12-15 Xavier Roirand <roirand@adacore.com>
5111
5112 * gdb.ada/same_component_name: New testcase.
5113
5114 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5115
5116 * gdb.ada/str_binop_equal: New testcase.
5117
5118 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5119
5120 * gdb.ada/task_switch_in_core: New testcase.
5121
5122 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5123
5124 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5125 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5126 call test_bkpt_qualified.
5127 (test_bkpt_qualified): New proc.
5128
5129 2017-12-13 Pedro Alves <palves@redhat.com>
5130
5131 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5132 Tighten regexp by matching with an anchor.
5133
5134 2017-12-13 Pedro Alves <palves@redhat.com>
5135
5136 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5137 ("expression with namespace"): New set of tests.
5138 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5139 (Nested::Test_NS::qux): New.
5140 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5141 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5142
5143 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5144
5145 * gdb.base/server-del-break.c: New file.
5146 * gdb.base/server-del-break.exp: New file.
5147
5148 2017-12-12 Stafford Horne <shorne@gmail.com>
5149
5150 * gdb.xml/tdesc-regs.exp: Add or1k support.
5151
5152 2017-12-12 Stafford Horne <shorne@gmail.com>
5153
5154 * gdb.base/bp-permanent.c: Define nop of or1k.
5155
5156 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5157
5158 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5159 output with components being reordered.
5160
5161 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5162
5163 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5164 output with components being reordered.
5165
5166 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5167 Pedro Alves <palves@redhat.com>
5168
5169 * gdb.base/maint.exp (check for .gdb_index): Check also for
5170 .debug_names.
5171 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5172 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5173 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5174 (.gdb_index used after symbol reloading): Support also .debug_names.
5175 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5176
5177 2017-12-08 Yao Qi <yao.qi@linaro.org>
5178
5179 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5180 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5181
5182 2017-12-08 Yao Qi <yao.qi@linaro.org>
5183
5184 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5185 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5186
5187 2017-12-08 Yao Qi <yao.qi@linaro.org>
5188
5189 * gdb.arch/aarch64-tagged-pointer.c: New file.
5190 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5191
5192 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5193
5194 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5195 "int".
5196
5197 2017-12-07 Keith Seitz <keiths@redhat.com>
5198
5199 PR breakpoints/22569
5200 * gdb.linespec/ls-errs.exp: Change expected result of "break
5201 -source this file has spaces.c -line 3".
5202 Check that an explicit source file followed by whitespace is
5203 identified as an invalid explicit location.
5204
5205 2017-12-07 Keith Seitz <keiths@redhat.com>
5206
5207 * gdb.cp/nested-types.cc: New file.
5208 * gdb.cp/nested-types.exp: New file.
5209 * lib/cp-support.exp: Load data-structures.exp library.
5210 (debug_cp_test_ptype_class): New global.
5211 (cp_ptype_class_verbose, next_line): New procedures.
5212 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5213 Add and document new return value.
5214 Switch the list of lines to a queue.
5215 Add support for new `type' key for nested type definitions.
5216 Add debugging/troubleshooting messages.
5217 * lib/data-structures.exp: New file.
5218
5219 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5220
5221 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5222 with proc_with_prefix, don't use with_test_prefix.
5223
5224 2017-12-07 Tom Tromey <tom@tromey.com>
5225
5226 * gdb.base/break.exp: Add test for empty "commands".
5227
5228 2017-12-07 Yao Qi <yao.qi@linaro.org>
5229
5230 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5231 malloc and catch syscall.
5232
5233 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5234
5235 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5236 tests for explicit locations.
5237
5238 2017-12-06 Pedro Alves <palves@redhat.com>
5239
5240 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5241 force-disabling XML descriptions.
5242
5243 2017-12-04 Pedro Alves <palves@redhat.com>
5244
5245 PR gdb/22499
5246 * gdb.arch/amd64-disp-step-avx.S: New file.
5247 * gdb.arch/amd64-disp-step-avx.exp: New file.
5248
5249 2017-12-03 Pedro Alves <palves@redhat.com>
5250
5251 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5252 and <string.h>.
5253 (parent_function): Print distinct messages when waitpid fails, or
5254 the child exits with a signal, or the child exits for an unhandled
5255 reason.
5256 * gdb.threads/process-dies-while-detaching.exp
5257 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5258 it. Wait for both inferior output and GDB's prompt. Use an
5259 indirect spawn id list.
5260 (do_detach): New parameter 'child_exit'. Use it to compute
5261 expected inferior output.
5262 (test_detach, test_detach_watch, test_detach_killed_outside):
5263 Adjust to pass down the expected child exit kind.
5264
5265 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5266 Sergio Durigan Junior <sergiodj@redhat.com>
5267 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5270
5271 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5272
5273 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5274 to 'symbol-file' and 'add-symbol-file' can be
5275 position-independent.
5276
5277 2017-12-01 Yao Qi <yao.qi@linaro.org>
5278
5279 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5280 the URL in copyright header.
5281 * gdb.arch/aarch64-fp.exp: Likewise.
5282 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5283 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5284 * gdb.base/expand-psymtabs.exp: Likewise.
5285 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5286 * gdb.fortran/common-block.exp: Likewise.
5287 * gdb.fortran/common-block.f90: Likewise.
5288 * gdb.fortran/logical.exp: Likewise.
5289 * gdb.fortran/vla-datatypes.f90: Likewise.
5290 * gdb.fortran/vla-sub.f90: Likewise.
5291
5292 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5293
5294 * gdb.ada/repeat_dyn: New testcase.
5295
5296 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5297
5298 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5299 Update for changed thread numbering.
5300 * gdb.cell/bt.exp: Update for changed GDB output.
5301
5302 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5303
5304 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5305 setting isremote by hand.
5306 * boards/dwarf4-gdb-index.exp: Likewise.
5307 * boards/fission.exp: Likewise.
5308 * boards/stabs.exp: Likewise.
5309
5310 2017-11-30 Pedro Alves <palves@redhat.com>
5311
5312 * gdb.linespec/cpls-ops.exp
5313 (check_explicit_skips_function_argument): Extract the underlying
5314 type of size_t instead of hardcoding it.
5315
5316 2017-11-29 Pedro Alves <palves@redhat.com>
5317
5318 PR c++/19436
5319 * gdb.linespec/cpls-abi-tag.cc: New file.
5320 * gdb.linespec/cpls-abi-tag.exp: New file.
5321
5322 2017-11-29 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.base/langs.exp: Use -qualified.
5325 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5326 it.
5327 * gdb.cp/namespace.exp: Use -qualified.
5328 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5329 (overload-3, template-overload, template-ret-type, const-overload)
5330 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5331 procedures.
5332 (test_driver): Call them.
5333 * gdb.cp/save-bp-qualified.cc: New.
5334 * gdb.cp/save-bp-qualified.exp: New.
5335 * gdb.linespec/explicit.exp: Test -qualified.
5336 * lib/completion-support.exp (completion::explicit_opts_list): Add
5337 "-qualified".
5338 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5339
5340 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5341
5342 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5343
5344 2017-11-29 Tom Tromey <tom@tromey.com>
5345
5346 * gdb.base/relocate.exp: Update invalid argument test.
5347 Add new tests for invalid arguments.
5348
5349 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5350
5351 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5352 Return 0 as a long.
5353 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5354
5355 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5356
5357 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5358 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5359 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5360 func ().
5361 * gdb.cp/shadow.cc (B.func): Return 0.
5362
5363 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5364
5365 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5366 expected output in gdb_expect call to allow the exception
5367 message to be present as well. Fix syntax confusion to avoid
5368 TCL thinking that exception_name is an array.
5369
5370 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5371
5372 * gdb.arch/spu-info.c: Include <unistd.h>.
5373 (do_signal_test): Fix broken calls to write.
5374 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5375 Fix checks for empty mailboxes. Update signal tests for corrected
5376 do_signal_test routine. Allow nonzero event status.
5377 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5378 * gdb.cell/arch.exp: Use standard_output_file.
5379 * gdb.cell/break.exp: Likewise.
5380 * gdb.cell/bt.exp: Likewise.
5381 * gdb.cell/core.exp: Likewise.
5382 * gdb.cell/dwarfaddr.exp: Likewise.
5383 * gdb.cell/ea-cache.exp: Likewise.
5384 * gdb.cell/ea-standalone.exp: Likewise.
5385 * gdb.cell/f-regs.exp: Likewise.
5386 * gdb.cell/fork.exp: Likewise.
5387 * gdb.cell/gcore.exp: Likewise.
5388 * gdb.cell/mem-access.exp: Likewise.
5389 * gdb.cell/ptype.exp: Likewise.
5390 * gdb.cell/registers.exp: Likewise.
5391 * gdb.cell/sizeof.exp: Likewise.
5392 * gdb.cell/solib-symbol.exp: Likewise.
5393 * gdb.cell/solib.exp: Likewise.
5394
5395 2017-11-25 Pedro Alves <palves@redhat.com>
5396
5397 * gdb.base/complete-empty.exp: New file.
5398 * gdb.base/completion.exp: Adjust.
5399
5400 2017-11-25 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.linespec/cpls-ops.cc: New file.
5403 * gdb.linespec/cpls-ops.exp: New file.
5404 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5405 factored out from ...
5406 (test_complete_prefix_range): ... this.
5407
5408 2017-11-24 Pedro Alves <palves@redhat.com>
5409
5410 * gdb.linespec/cpcompletion.exp: New file.
5411 * gdb.linespec/cpls-hyphen.cc: New file.
5412 * gdb.linespec/cpls.cc: New file.
5413 * gdb.linespec/cpls2.cc: New file.
5414 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5415 test to use test_gdb_complete_unique. Add label completion,
5416 keyword completion and explicit location completion tests.
5417 * lib/completion-support.exp: New file.
5418
5419 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5420
5421 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5422 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5423 when hitting an exception catchpoint.
5424
5425 2017-11-22 Yao Qi <yao.qi@linaro.org>
5426
5427 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5428
5429 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5430
5431 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5432 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5433 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5434
5435 2017-11-22 Yao Qi <yao.qi@linaro.org>
5436
5437 * gdb.base/info-os.exp: Pass pthreads.
5438 * gdb.multi/multi-attach.exp: Likewise.
5439
5440 2017-11-22 Yao Qi <yao.qi@linaro.org>
5441
5442 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5443 compiler.
5444
5445 2017-11-22 Yao Qi <yao.qi@linaro.org>
5446
5447 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5448 * gdb.base/break-interp.exp: Likewise.
5449 * gdb.base/jit-attach-pie.exp: Likewise.
5450
5451 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5452
5453 * gdb.base/float128.c (large128): New variable.
5454 * gdb.base/float128.exp: Add test to print largest __float128 value.
5455
5456 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5457
5458 * gdb.arch/vsx-regs.exp: Update register content checks.
5459
5460 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5461
5462 * gdb.arch/ppc-longdouble.exp: New file.
5463 * gdb.arch/ppc-longdouble.c: Likewise.
5464
5465 2017-11-21 Pedro Alves <palves@redhat.com>
5466
5467 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5468
5469 2017-11-20 Pedro Alves <palves@redhat.com>
5470
5471 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5472 (long_double_typedef): New typedefs.
5473 Use DEF on double and long double.
5474 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5475 cases.
5476 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5477 and 'long_double_ptr_same_size' locals. Use them to decide
5478 whether cast from array/function to float is valid/invalid.
5479
5480 2017-11-17 Tom Tromey <tom@tromey.com>
5481
5482 * gdb.rust/traits.rs: New file.
5483 * gdb.rust/traits.exp: New file.
5484
5485 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5486
5487 * gdb.ada/minsyms: New testcase.
5488
5489 2017-11-16 Pedro Alves <palves@redhat.com>
5490
5491 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5492 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5493
5494 2017-11-16 Pedro Alves <palves@redhat.com>
5495
5496 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5497 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5498
5499 2017-11-16 Pedro Alves <palves@redhat.com>
5500
5501 * gdb.server/reconnect-ctrl-c.c: New file.
5502 * gdb.server/reconnect-ctrl-c.exp: New file.
5503
5504 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5505
5506 * gdb.python/py-rbreak.exp: New file.
5507 * gdb.python/py-rbreak.c: New file.
5508 * gdb.python/py-rbreak-func2.c: New file.
5509
5510 2017-11-16 Pedro Alves <palves@redhat.com>
5511
5512 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5513 pattern.
5514 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5515 GDB.
5516
5517 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5518
5519 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5520 regex.
5521
5522 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5523
5524 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5525 test names.
5526
5527 2017-11-09 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5530 factored out from ...
5531 (top level): ... here, and adjusted to avoid expecting beyond the
5532 prompt in a single gdb_test_multiple.
5533
5534 2017-11-09 Pedro Alves <palves@redhat.com>
5535
5536 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5537 output.
5538 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5539 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5540 * gdb.server/ext-run.exp ("kill" test): Likewise.
5541 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5542
5543 2017-11-09 Pedro Alves <palves@redhat.com>
5544
5545 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5546 match till end of line.
5547
5548 2017-11-09 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5551
5552 2017-11-09 Pedro Alves <palves@redhat.com>
5553
5554 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5555 New procedures, factored out from ...
5556 (top level): ... here, and adjusted to avoid expecting beyond the
5557 prompt in one go.
5558
5559 2017-11-09 Pedro Alves <palves@redhat.com>
5560
5561 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5562 output. Fix '?' match.
5563
5564 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5565
5566 * gdb.ada/scoped_watch: New testcase.
5567 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5568 which is actually correct.
5569 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5570 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5571
5572 2017-11-08 Pedro Alves <palves@redhat.com>
5573
5574 * gdb.gdb/complaints.exp (test_initial_complaints)
5575 (test_serial_complaints, test_short_complaints): Call
5576 complaint_internal instead of complaint.
5577
5578 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5579
5580 * gdb.threads/tls-core.c: New file.
5581 * gdb.threads/tls-core.exp: Likewise.
5582
5583 2017-11-08 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5586 (p Exported_Capitalized): New test.
5587 (p exported_capitalized): New test.
5588
5589 2017-11-07 Pedro Alves <palves@redhat.com>
5590
5591 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5592
5593 2017-11-07 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5596 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5597 (disable_invalid, disable_inverted, disable_negative): New
5598 procedures.
5599 ("bad numbers"): New set of tests.
5600
5601 2017-11-07 Pedro Alves <palves@redhat.com>
5602
5603 * gdb.cp/ena-dis-br-range.exp: Add tests.
5604
5605 2017-11-07 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5608
5609 2017-11-07 Xavier Roirand <roirand@adacore.com>
5610 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.base/ena-dis-br.exp: Add reference to
5613 gdb.cp/ena-dis-br-range.exp.
5614 * gdb.cp/ena-dis-br-range.exp: New file.
5615 * gdb.cp/ena-dis-br-range.cc: New file.
5616
5617 2017-11-06 Pedro Alves <palves@redhat.com>
5618
5619 * gdb.base/attach-non-pgrp-leader.c: New.
5620 * gdb.base/attach-non-pgrp-leader.exp: New.
5621
5622 2017-11-06 Pedro Alves <palves@redhat.com>
5623
5624 * configure.ac: No longer check for termio.h and sgtty.h.
5625 * configure: Regenerate.
5626 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5627 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5628 Remove termio and sgtty code.
5629
5630 2017-11-03 Yao Qi <yao.qi@linaro.org>
5631
5632 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5633 in GDB is disabled.
5634
5635 2017-11-03 Yao Qi <yao.qi@linaro.org>
5636
5637 * gdb.python/py-thrhandle.exp: Skip it if python is not
5638 enabled.
5639
5640 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5641
5642 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5643 as a breakpoint command.
5644
5645 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5646
5647 PR python/21213
5648 * gdb.python/py-infthread.exp: Test calling
5649 InferiorThread.inferior () multiple times in a row.
5650
5651 2017-10-27 Keith Seitz <keiths@redhat.com>
5652
5653 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5654 Test "info break" for every inlined function breakpoint.
5655
5656 2017-10-27 Yao Qi <yao.qi@linaro.org>
5657
5658 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5659
5660 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5661
5662 * gdb.cp/classes.exp (test_static_members): Test printing
5663 Outer::instance.
5664 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5665 (Inner::instance, Outer::instance): New.
5666
5667 2017-10-24 Pedro Alves <palves@redhat.com>
5668
5669 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5670 extra console" test in two stages.
5671
5672 2017-10-24 Pedro Alves <palves@redhat.com>
5673
5674 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5675
5676 2017-10-24 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5679 loop.
5680
5681 2017-10-24 Pedro Alves <palves@redhat.com>
5682
5683 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5684 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5685
5686 2017-10-24 Pedro Alves <palves@redhat.com>
5687
5688 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5689 parameter and handle it. Don't output read value in test name.
5690
5691 2017-10-24 Pedro Alves <palves@redhat.com>
5692
5693 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5694 custom test name.
5695
5696 2017-10-24 Pedro Alves <palves@redhat.com>
5697
5698 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5699 include the unstable output directory name in the test's name.
5700 (initial_setup_simple) <'set args'>: Use custom test name.
5701
5702 2017-10-24 Pedro Alves <palves@redhat.com>
5703
5704 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5705 with explicit test name.
5706
5707 2017-10-20 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5710 'wait -i'. Use gdb_assert and remote_close.
5711
5712 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5713
5714 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5715 number from variable rather than hard-coded.
5716
5717 2017-10-19 Pedro Alves <palves@redhat.com>
5718
5719 * gdb.base/long-inferior-output.c: New file.
5720 * gdb.base/long-inferior-output.exp: New file.
5721
5722 2017-11-18 Keith Seitz <keiths@redhat.com>
5723
5724 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5725 method.
5726 (main): Call it.
5727 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5728 Add additional user-defined conversion operator tests.
5729
5730 2017-10-17 Pedro Alves <palves@redhat.com>
5731
5732 * boards/native-stdio-gdbserver.exp: Load "local-board".
5733
5734 2017-10-17 Pedro Alves <palves@redhat.com>
5735
5736 * gdb.base/quit-live.c: New file.
5737 * gdb.base/quit-live.exp: New file.
5738
5739 2017-10-16 Keith Seitz <keiths@redhat.com>
5740
5741 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5742 (class_with_protected_typedef, class_with_private_typedef)
5743 (struct_with_public_typedef, struct_with_protected_typedef)
5744 (struct_with_private_typedef): New classes/structs.
5745 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5746 typedefs and access specifiers.
5747
5748 2017-10-16 Pedro Alves <palves@redhat.com>
5749 Simon Marchi <simon.marchi@polymtl.ca>
5750
5751 * README (Local vs Remote vs Native): New section.
5752 * boards/local-board.exp: New file, with bits factored out from
5753 ...
5754 * boards/native-extended-gdbserver.exp: ... here. Load
5755 "local-board".
5756 * boards/native-gdbserver.exp: Load "local-board".
5757 (${board}_spawn, ${board}_exec): Delete.
5758 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5759 ...
5760 * boards/stdio-gdbserver-base.exp: ... this new file.
5761 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5762 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5763 procedure.
5764 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5765 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5766 stdio_gdbserver_command.
5767 (${board}_get_remote_address, ${board}_get_comm_port)
5768 (${board}_download, ${board}_upload): Delete.
5769 (get_target_remote_pipe_cmd): New.
5770
5771 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5772
5773 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5774 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5775 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5776 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5777 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5778 remove with_test_prefix.
5779
5780 2017-10-13 Pedro Alves <palves@redhat.com>
5781
5782 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5783 * gdb.base/annota1.exp: Use it instead of is_remote.
5784 * gdb.base/annota3.exp: Use it instead of is_remote.
5785 * gdb.cp/annota2.exp: Use it instead of is_remote.
5786 * gdb.cp/annota3.exp: Use it instead of is_remote.
5787 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5788
5789 2017-10-13 Pedro Alves <palves@redhat.com>
5790
5791 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5792 (test_num_test_vars, run_and_count_vars, find_env)
5793 (test_set_unset_env, test_inherit_env_var): New procedures.
5794 (top level): Use them.
5795
5796 2017-10-13 Pedro Alves <palves@redhat.com>
5797
5798 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5799 also skip on stub-like targets.
5800
5801 2017-10-13 Pedro Alves <palves@redhat.com>
5802
5803 PR gdb/22293
5804 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5805 (top level): Move some tests to ...
5806 (test_not_found): ... this new procedure.
5807 (top level): Call it.
5808
5809 2017-10-13 Pedro Alves <palves@redhat.com>
5810
5811 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5812 expect different "info terminal" output if testing with a
5813 non-native target.
5814
5815 2017-10-13 Pedro Alves <palves@redhat.com>
5816 Simon Marchi <simon.marchi@polymtl.ca>
5817
5818 PR python/12966
5819 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5820
5821 2017-10-13 Pedro Alves <palves@redhat.com>
5822
5823 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5824 already.
5825
5826 2017-10-13 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5829 is_remote.
5830
5831 2017-10-13 Pedro Alves <palves@redhat.com>
5832
5833 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5834 is_remote.
5835
5836 2017-10-13 Pedro Alves <palves@redhat.com>
5837
5838 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5839 is set.
5840 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5841 instead of is_remote.
5842
5843 2017-10-13 Pedro Alves <palves@redhat.com>
5844
5845 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5846 (top level): Add comment.
5847
5848 2017-10-13 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/remote.exp (top level): Fix comment typo and add
5851 missing return.
5852
5853 2017-10-13 Pedro Alves <palves@redhat.com>
5854 Simon Marchi <simon.marchi@polymtl.ca>
5855
5856 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5857 calls and add comments. Skip test if use_gdb_stub is set.
5858 (top level): Use "set cwd" command instead of "cd" command.
5859
5860 2017-10-13 Pedro Alves <palves@redhat.com>
5861
5862 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5863 is_remote target check.
5864
5865 2017-10-13 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.base/scope.exp: Use build_executable + clean_restart +
5868 gdb_file_cmd instead of prepare_for_testing and no longer skip
5869 "before run" tests on is_remote target boards. Update comments.
5870 * boards/native-extended-gdbserver.exp
5871 (extended_gdbserver_load_last_file): New, factored out from ...
5872 (gdb_load): ... this. Move further below and add comment.
5873 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5874
5875 2017-10-12 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.base/attach.exp: Remove references to gdb64.
5878 * gdb.base/dbx.exp: Remove references to gdb64.
5879
5880 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5881 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.base/label.exp: Remove is_remote target check.
5884
5885 2017-10-12 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.base/auvx.exp (coredir): Update comment.
5888 (top level) <core_works>: Use "set cwd" command instead of "cd"
5889 command.
5890
5891 2017-10-12 Pedro Alves <palves@redhat.com>
5892 Simon Marchi <simon.marchi@polymtl.ca>
5893
5894 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5895 target boards.
5896
5897 2017-10-12 Pedro Alves <palves@redhat.com>
5898 Simon Marchi <simon.marchi@polymtl.ca>
5899
5900 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5901 Instead skip if there's any gdb_protocol set.
5902
5903 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5904 Pedro Alves <palves@redhat.com>
5905
5906 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5907
5908 2017-10-12 Pedro Alves <palves@redhat.com>
5909 Simon Marchi <simon.marchi@polymtl.ca>
5910
5911 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5912 instead of on dejagnu remote boards.
5913
5914 2017-10-12 Pedro Alves <palves@redhat.com>
5915 Simon Marchi <simon.marchi@polymtl.ca>
5916
5917 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5918 checks. Use build_executable + clean_restart instead of
5919 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5920 of enabling non-stop after starting gdb.
5921
5922 2017-10-12 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5925 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5926 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5927 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5928
5929 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5930
5931 * gdb.arch/arc-tdesc-cpu.exp: New file.
5932 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5933
5934 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5935
5936 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5937
5938 2017-10-10 Pedro Alves <palves@redhat.com>
5939
5940 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5941 expect CLI output.
5942
5943 2017-10-10 Pedro Alves <palves@redhat.com>
5944
5945 * lib/selftest-support.exp (selftest_setup): Update for
5946 captured_command_loop's prototype change.
5947
5948 2017-10-09 Pedro Alves <palves@redhat.com>
5949
5950 Test both arch1=>arch2 and arch2=>arch1.
5951
5952 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5953 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5954 factored out to...
5955 (append_arch1_options, append_arch2_options, append_arch_options)
5956 (build_executables): New procedures.
5957 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5958 local.
5959 (top level): Add new 'first_arch' testing axis.
5960
5961 2017-10-09 Pedro Alves <palves@redhat.com>
5962
5963 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5964 (barrier): New.
5965 (thread_start, all_started): New functions.
5966 (main): Spawn new thread and wait until it is scheduled.
5967 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5968 option.
5969 (do_test): Add 'selected_thread' parameter. Run to all_started
5970 instead of main. Explicitly set the breakpoint at main. Switch
5971 to the SELECTED_THREAD thread.
5972 (top level): Test handling the exec event with either the main
5973 thread or the second thread selected.
5974
5975 2017-10-09 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5978 logic. Move STOP marker after the value checks.
5979 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5980 regexp.
5981
5982 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5983
5984 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5985
5986 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5987
5988 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5989 integer-to-dfp conversion.
5990 * gdb.base/dfp-test.exp: Likewise.
5991
5992 2017-10-04 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.multi/hangout.c: Include <unistd.h>.
5995 (hangout_loop): New function.
5996 (main): Call alarm. Call hangout_loop in a loop.
5997 * gdb.multi/hello.c: Include <unistd.h>.
5998 (hello_loop): New function.
5999 (main): Call alarm. Call hangout_loop in a loop.
6000 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6001 inferior with the other selected.
6002
6003 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6004
6005 * gdb.mi/list-thread-groups-available.exp: New file.
6006 * gdb.mi/list-thread-groups-available.c: New file.
6007
6008 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6009
6010 * gdb.base/set-cwd.exp: Make it available on
6011 native-extended-gdbserver.
6012
6013 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6014
6015 * gdb.base/set-cwd.c: New file.
6016 * gdb.base/set-cwd.exp: Likewise.
6017
6018 2017-10-02 Tom Tromey <tom@tromey.com>
6019
6020 PR rust/22236:
6021 * gdb.rust/simple.rs (main): New variable "fslice".
6022 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6023
6024 2017-10-02 Tom Tromey <tom@tromey.com>
6025
6026 * gdb.rust/simple.exp: Test ptype of a slice.
6027
6028 2017-10-02 Tom Tromey <tom@tromey.com>
6029
6030 * gdb.rust/simple.exp: Test index of slice.
6031
6032 2017-09-27 Tom Tromey <tom@tromey.com>
6033
6034 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6035
6036 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6037 Pedro Alves <palves@redhat.com>
6038
6039 * gdb.base/compare-sections.exp (get value of read-only section): Read
6040 as unsigned value.
6041 (corrupt read-only section): Likewise and don't set written if patching
6042 failed.
6043
6044 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6045
6046 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6047 files.
6048
6049 2017-09-20 Pedro Alves <palves@redhat.com>
6050
6051 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6052 symbol names in gdb's output.
6053 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6054
6055 2017-09-20 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6058 Rename to ...
6059 (test_list_ambiguous_symbol): ... this and add a symbol name
6060 parameter. Adjust.
6061 (test_list_ambiguous_function): Reimplement on top of
6062 test_list_ambiguous_symbol and also test listing ambiguous
6063 variables.
6064 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6065 (ambiguous_fun): ... this.
6066 (ambiguous_var): New.
6067 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6068 (ambiguous_fun): ... this.
6069 (ambiguous_var): New.
6070
6071 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6072
6073 * gdb.base/starti.c: New file.
6074 * gdb.base/starti.exp: New file.
6075 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6076
6077 2017-09-14 Pedro Alves <palves@redhat.com>
6078
6079 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6080 (top level): Use it instead of runto.
6081
6082 2017-09-11 Tom Tromey <tom@tromey.com>
6083
6084 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6085
6086 2017-09-11 Tom Tromey <tom@tromey.com>
6087
6088 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6089 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6090
6091 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6092
6093 * gdb.fortran/printing-types.exp: New file.
6094 * gdb.fortran/printing-types.exp: New file.
6095
6096 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6097
6098 * gdb.fortran/vla-ptype.exp: Fix typos.
6099 * gdb.fortran/vla-value.exp: Same.
6100
6101 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6102
6103 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6104 * gdb.mi/mi-var-child-f.exp: Likewise.
6105 * gdb.mi/mi-vla-fortran.exp: Likewise.
6106
6107 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6108 Christoph Weinmann <christoph.t.weinmann@intel.com>
6109 Bernhard Heckel <bernhard.heckel@intel.com>
6110
6111 * gdb.fortran/ptr-indentation.f90: New file.
6112 * gdb.fortran/ptr-indentation.exp: New file.
6113
6114 2017-09-05 Tom Tromey <tom@tromey.com>
6115
6116 PR gdb/22010:
6117 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6118
6119 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6120
6121 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6122
6123 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6124
6125 * gdb.threads/tls-nodebug-pie.c: New file.
6126 * gdb.threads/tls-nodebug-pie.exp: New file.
6127
6128 2017-09-05 Tom Tromey <tom@tromey.com>
6129
6130 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6131 for rust.
6132
6133 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6134
6135 * gdb.multi/multi-arch-exec.exp: Test with different
6136 "follow-exec-mode" settings.
6137 (do_test): New procedure.
6138
6139 2017-09-04 Pedro Alves <palves@redhat.com>
6140
6141 * gdb.base/func-static.c (S::method const, S::method volatile)
6142 (S::method volatile const): New methods.
6143 (c_s, v_s, cv_s): New instances.
6144 (main): Call method() on them.
6145 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6146 (cannot_resolve): New procedure.
6147 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6148 print-quote-unquoted columns.
6149 (do_test): Test printing each scope too.
6150
6151 2017-09-04 Pedro Alves <palves@redhat.com>
6152
6153 * gdb.base/local-static.exp: Also test with
6154 class::method::variable wholly quoted.
6155 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6156
6157 2017-09-04 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.base/local-static.c: New.
6160 * gdb.base/local-static.cc: New.
6161 * gdb.base/local-static.exp: New.
6162
6163 2017-09-04 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.asm/asm-source.exp: Add casts to int.
6166 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6167 (dataglobal64_1, dataglobal64_2): New globals.
6168 * gdb.base/nodebug.exp: Test different expressions involving the
6169 new globals, with print, whatis and ptype. Add casts to int.
6170 * gdb.base/solib-display.exp: Add casts to int.
6171 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6172 * gdb.cp/m-static.exp: Add cast to int.
6173 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6174 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6175 tls variable with no debug info without a cast. Test with a cast
6176 to int too.
6177 * gdb.trace/entry-values.exp: Add casts.
6178
6179 2017-09-04 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.base/nodebug.exp: Test that ptype's error about functions
6182 with unknown return type includes the function name too.
6183
6184 2017-09-04 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6187 return type of munmap in infcall.
6188 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6189 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6190 type of ftell in infcall.
6191 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6192 type of getpid in infcall.
6193 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6194 infcall.
6195 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6196 Bail on failure to extract the pid.
6197 * gdb.base/nodebug.c: #include <stdint.h>.
6198 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6199 New functions.
6200 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6201 Change expected output of print/whatis/ptype with functions with
6202 no debug info. Test all supported languages. Call
6203 test_call_promotion.
6204 * gdb.compile/compile.exp: Adjust expected output to expect
6205 warning.
6206 * gdb.threads/siginfo-threads.exp: Likewise.
6207
6208 2017-09-04 Pedro Alves <palves@redhat.com>
6209
6210 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6211 "prototypes". Test calling float functions via prototyped and
6212 unprototyped function pointers.
6213 (perform_all_tests): New parameter "prototypes". Pass it down.
6214 (top level): Pass down "prototypes" parameter to
6215 perform_all_tests.
6216
6217 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6218
6219 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6220 Test with nested loops.
6221
6222 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6223
6224 * gdb.base/commands.exp: Call the new procedures.
6225 (loop_break_test, loop_continue_test): New procedures.
6226
6227 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6228
6229 * gdb.base/commands.exp: Call new procedure.
6230 (define_if_without_arg_test): New procedure.
6231
6232 2017-09-04 Pedro Alves <palves@redhat.com>
6233
6234 * gdb.base/list-ambiguous.exp: New file.
6235 * gdb.base/list-ambiguous0.c: New file.
6236 * gdb.base/list-ambiguous1.c: New file.
6237 * gdb.base/list.exp (test_list_range): Adjust expected output.
6238
6239 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6240
6241 * gdb.base/share-env-with-gdbserver.c: New file.
6242 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6243
6244 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6245
6246 * gdb.base/commands.exp (gdbvar_simple_if_test,
6247 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6248 progvar_simple_if_test, progvar_simple_while_test,
6249 progvar_complex_if_while_test, user_defined_command_test,
6250 user_defined_command_args_eval,
6251 user_defined_command_args_stack_test,
6252 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6253 temporary_breakpoint_commands,
6254 gdb_test_no_prompt, redefine_hook_test,
6255 redefine_backtrace_test): Remove "global gdb_prompt".
6256
6257 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6258
6259 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6260 New proc, call it from toplevel.
6261
6262 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6263
6264 PR remote/21852
6265 * gdb.server/normal.c: New file, copied from gdb.base.
6266 * gdb.server/run-without-local-binary.exp: New file.
6267
6268 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6269
6270 * gdb.arch/sparc64-adi.exp: New file.
6271 * gdb.arch/sparc64-adi.c: New file.
6272
6273 2017-08-22 Pedro Alves <palves@redhat.com>
6274
6275 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6276 (top level): Add "list all overloads" tests.
6277
6278 2017-08-22 Tom Tromey <tom@tromey.com>
6279
6280 * gdb.gdb/xfullpath.exp: Remove.
6281
6282 2017-08-21 Pedro Alves <palves@redhat.com>
6283
6284 PR gdb/19487
6285 * gdb.base/symbol-alias.c: New.
6286 * gdb.base/symbol-alias2.c: New.
6287 * gdb.base/symbol-alias.exp: New.
6288
6289 2017-08-21 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.base/dfp-test.c
6292 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6293 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6294 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6295 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6296 * gdb.base/whatis-ptype-typedefs.c: New.
6297 * gdb.base/whatis-ptype-typedefs.exp: New.
6298 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6299 (an_int, an_int_type, an_int_type2): New globals.
6300 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6301 involving typedefs and cast expressions.
6302 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6303 (lookup_typedefs_function): New.
6304 (typedefs_pretty_printers_dict): New.
6305 (top level): Register lookup_typedefs_function in
6306 gdb.pretty_printers.
6307
6308 2017-08-18 Yao Qi <yao.qi@linaro.org>
6309
6310 * gdb.server/unittest.exp: New.
6311
6312 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6313
6314 PR gdb/21954
6315 * gdb.base/environ.exp: Add test to check if 'unset environment'
6316 works.
6317
6318 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6319
6320 * lib/gdb.exp (universal_compile_options): New caching proc.
6321 (gdb_compile): Suppress GCC's coloring of messages.
6322
6323 2017-08-14 Tom Tromey <tom@tromey.com>
6324
6325 PR gdb/21675:
6326 * gdb.base/printcmds.exp (test_radices): New function.
6327 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6328 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6329 * lib/gdb.exp (get_integer_valueof): Use p/d.
6330
6331 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6332
6333 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6334 characters.
6335
6336 2017-08-05 Tom Tromey <tom@tromey.com>
6337
6338 * gdb.rust/simple.exp: Allow String to appear in a different
6339 namespace.
6340
6341 2017-07-26 Yao Qi <yao.qi@linaro.org>
6342
6343 * gdb.gdb/unittest.exp: Invoke command
6344 "maintenance check xml-descriptions".
6345
6346 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6347
6348 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6349 calling context.
6350 (hex128): Drop erroneous calculation of parameters.
6351
6352 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6353
6354 * gdb.python/py-unwind.exp: Disable stack protection when
6355 building test file.
6356
6357 2017-07-20 Pedro Alves <palves@redhat.com>
6358
6359 * gdb.base/default.exp (set language): Adjust expected output.
6360
6361 2017-07-20 Pedro Alves <palves@redhat.com>
6362
6363 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6364 (test_minsym): ... this, and make static.
6365 (get_pck__foo__bar__minsym): Rename to ...
6366 (get_test_minsym): ... this.
6367 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6368 symbol names and comments.
6369 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6370 (get_test_minsym): ... this.
6371 (pck__foo__bar__minsym__2): Rename to ...
6372 (test_minsym): ... this.
6373 (main): Adjust.
6374
6375 2017-07-17 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.base/completion.exp: Adjust expected output.
6378 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6379 the completer works.
6380
6381 2017-07-17 Pedro Alves <palves@redhat.com>
6382
6383 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6384
6385 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6386
6387 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6388
6389 2017-07-14 Tom Tromey <tom@tromey.com>
6390
6391 PR rust/21764:
6392 * gdb.rust/simple.exp: Add tests.
6393
6394 2017-07-14 Tom Tromey <tom@tromey.com>
6395
6396 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6397
6398 2017-07-14 Pedro Alves <palves@redhat.com>
6399
6400 * gdb.linespec/base/one/thefile.cc (z1): New function.
6401 * gdb.linespec/base/two/thefile.cc (z2): New function.
6402 * gdb.linespec/linespec.exp: Add tests.
6403
6404 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6405
6406 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6407 to mi_create_breakpoint.
6408
6409 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6410
6411 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6412 mi_create_breakpoint.
6413
6414 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6415
6416 * gdb.dlang/demangle.exp: Update for demangling changes.
6417
6418 2017-07-09 Tom Tromey <tom@tromey.com>
6419
6420 * gdb.dwarf2/shortpiece.exp: New file.
6421
6422 2017-07-06 David Blaikie <dblaikie@gmail.com>
6423
6424 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6425 built from fissiont-multi-cu{1,2}.c.
6426 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6427 except putting 'main' and 'func' in separate CUs in the same DWO file.
6428 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6429 test.
6430 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6431 test.
6432
6433 2017-07-06 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.python/py-unwind.exp: Test flushregs.
6436
6437 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6438
6439 PR cli/21688
6440 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6441 tests for alias commands and trailing whitespace.
6442
6443 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6444
6445 PR cli/21688
6446 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6447 procedure. Call it.
6448
6449 2017-06-29 Pedro Alves <palves@redhat.com>
6450
6451 * gdb.base/printcmds.exp: Add tests.
6452
6453 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6454
6455 PR gdb/21337
6456 * gdb.base/reread-readsym.exp: New file.
6457 * gdb.base/reread-readsym.c: New file.
6458
6459 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6460
6461 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6462 subpattern.
6463
6464 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6465
6466 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6467 extended mnemonic.
6468 * gdb.arch/powerpc-power9.s: Likewise.
6469
6470 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6471
6472 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6473 on 32-bit x86 targets. Exploit is_*_target macros where
6474 appropriate.
6475
6476 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6477
6478 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6479 register pieces.
6480
6481 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6482
6483 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6484 located in one or more DWARF pieces.
6485
6486 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6487
6488 * lib/gdb.exp (get_endianness): New proc.
6489 * gdb.arch/aarch64-fp.exp: Use it.
6490 * gdb.arch/altivec-regs.exp: Likewise.
6491 * gdb.arch/e500-regs.exp: Likewise.
6492 * gdb.arch/vsx-regs.exp: Likewise.
6493 * gdb.base/dump.exp: Likewise.
6494 * gdb.base/funcargs.exp: Likewise.
6495 * gdb.base/gnu_vector.exp: Likewise.
6496 * gdb.dwarf2/formdata16.exp: Likewise.
6497 * gdb.dwarf2/implptrpiece.exp: Likewise.
6498 * gdb.dwarf2/nonvar-access.exp: Likewise.
6499 * gdb.python/py-inferior.exp: Likewise.
6500 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6501
6502 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6503
6504 PR gdb/21226
6505 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6506 stack value pieces are taken from the LSB end.
6507
6508 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6509
6510 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6511 variable at nonzero offset.
6512
6513 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6514
6515 * gdb.dwarf2/var-access.c: New file.
6516 * gdb.dwarf2/var-access.exp: New test.
6517 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6518
6519 2017-06-12 Tom Tromey <tom@tromey.com>
6520
6521 * gdb.dwarf2/formdata16.exp: Add tests.
6522
6523 2017-06-12 Tom Tromey <tom@tromey.com>
6524
6525 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6526
6527 2017-06-12 Tom Tromey <tom@tromey.com>
6528
6529 PR exp/16225:
6530 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6531 * gdb.arch/vsx-regs.exp: Update tests.
6532 * gdb.arch/s390-vregs.exp (hex128): New proc.
6533 Update test.
6534 * gdb.arch/altivec-regs.exp: Update tests.
6535
6536 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6537
6538 * gdb.base/startup-with-shell.c: New file.
6539 * gdb.base/startup-with-shell.exp: Likewise.
6540
6541 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6542
6543 * gdb.server/non-existing-program.exp: Update regex in order to
6544 reflect the fact that gdbserver is now using fork_inferior (with a
6545 shell) to startup the inferior.
6546
6547 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6548
6549 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6550 support function calls from GDB.
6551
6552 2017-05-21 Tom Tromey <tom@tromey.com>
6553
6554 PR rust/21466:
6555 * gdb.rust/unsized.exp: New file.
6556 * gdb.rust/unsized.rs: New file.
6557
6558 2017-05-19 Tom Tromey <tom@tromey.com>
6559
6560 PR rust/21484:
6561 * gdb.rust/watch.exp: New file.
6562 * gdb.rust/watch.rs: New file.
6563
6564 2017-05-18 Tom Tromey <tom@tromey.com>
6565
6566 * gdb.rust/simple.exp: Allow Box to be qualified.
6567
6568 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6569
6570 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6571
6572 2017-05-18 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/fileio.c (test_write, test_read, test_close)
6575 (test_fstat): Don't print 'ret' in the fail path.
6576
6577 2017-05-18 Pedro Alves <palves@redhat.com>
6578
6579 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6580 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6581 (test_system, test_rename, test_unlink, test_time): Change
6582 prototypes.
6583 * gdb.base/fileio.exp (stop_msg): Adjust.
6584
6585 2017-05-18 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/fileio.c (null_str): New global.
6588 (test_stat): Use it.
6589 * gdb.base/fileio.exp: Remove nowarnings.
6590
6591 2017-05-17 Yao Qi <yao.qi@linaro.org>
6592
6593 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6594
6595 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6596
6597 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6598 argument command.
6599 (top-level): Invoke test_set_inferior_tty.
6600
6601 2017-05-04 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6604 Add parens to print call for Python 3.
6605
6606 2017-05-03 Keith Seitz <keiths@redhat.com>
6607
6608 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6609 (main): Call it.
6610
6611 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6612
6613 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6614 to prev and next.
6615
6616 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6617
6618 * gdb.python/py-record-btrace.exp: Remove test for
6619 gdb.BtraceInstruction.error.
6620
6621 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6622
6623 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6624
6625 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6626
6627 * gdb.python/py-record-btrace-threads.c: New file.
6628 * gdb.python/py-record-btrace-threads.exp: New file.
6629
6630 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6631
6632 PR testsuite/8595
6633 * gdb.base/environ.exp: Make test available in all architectures.
6634 Move bits related to "info program" testing to
6635 gdb.base/info-program.exp. Rewrite tests to use the two new
6636 procedures mentione below.
6637 (test_set_show_env_var) New procedure.
6638 (test_set_show_env_var_equal): Likewise.
6639 * gdb.base/info-program.exp: New file.
6640
6641 2017-04-27 Keith Seitz <keiths@redhat.com>
6642
6643 * gdb.cp/oranking.cc (test15): New function.
6644 (main): Call test15 and declare additional variables for testing.
6645 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6646 "p foo101('abc')" tests.
6647 Add tests for cv qualifier overloads.
6648 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6649 "lvalue reference overload" test.
6650 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6651 "print value of f1 on Child&& in f2" test.
6652
6653 2017-04-19 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6656 procedure.
6657 (top level): Call it.
6658 * lib/gdb.exp (gdb_define_cmd): New procedure.
6659
6660 2017-04-12 Pedro Alves <palves@redhat.com>
6661
6662 PR gdb/21323
6663 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6664 (wchar): New global.
6665 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6666 (do_test_wide_char, wide_char_types_no_program, top level): Add
6667 wchar_t testing.
6668
6669 2017-04-12 Pedro Alves <palves@redhat.com>
6670
6671 PR c++/21323
6672 * gdb.cp/wide_char_types.c: New file.
6673 * gdb.cp/wide_char_types.exp: New file.
6674
6675 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6676
6677 PR gdb/21352
6678 * gdb.trace/tsv.exp: Add test for "tsave -r".
6679
6680 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6681
6682 * gdb.dlang/watch-loc.c: New file.
6683 * gdb.dlang/watch-loc.exp: New file.
6684
6685 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6686
6687 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6688
6689 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6690
6691 * gdb.arch/arc-analyze-prologue.S: New file.
6692 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6693
6694 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6695
6696 * gdb.arch/arc-decode-insn.S: New file.
6697 * gdb.arch/arc-decode-insn.exp: Likewise.
6698
6699 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6700
6701 PR tdep/20928
6702 * gdb.arch/sparc64-regs.exp: New file.
6703 * gdb.arch/sparc64-regs.S: Likewise.
6704
6705 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6706
6707 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6708 and memory view on Python 3.
6709
6710 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6711 Keith Seitz <keiths@redhat.com>
6712
6713 PR gdb/14441
6714 * gdb.cp/demangle.exp: Add rvalue reference tests.
6715 * gdb.cp/rvalue-ref-casts.cc: New file.
6716 * gdb.cp/rvalue-ref-casts.exp: New file.
6717 * gdb.cp/rvalue-ref-overload.cc: New file.
6718 * gdb.cp/rvalue-ref-overload.exp: New file.
6719 * gdb.cp/rvalue-ref-params.cc: New file.
6720 * gdb.cp/rvalue-ref-params.exp: New file.
6721 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6722 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6723 * gdb.cp/rvalue-ref-types.cc: New file.
6724 * gdb.cp/rvalue-ref-types.exp: New file.
6725 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6726 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6727
6728 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6729
6730 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6731 New procedure.
6732
6733 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6734
6735 * lib/mi-support.exp (mi_gdb_test): Add additional message
6736 for unexpected output.
6737
6738 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6739
6740 * gdb.base/examine-backward.c (Barrier): New character array
6741 constant, to ensure that TestStrings is preceded by a string
6742 terminator.
6743
6744 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6745
6746 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6747 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6748 and implicit pointer into such a location.
6749
6750 2017-03-16 Doug Evans <dje@google.com>
6751
6752 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6753
6754 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6755
6756 * gdb.cp/m-static.exp: Fix expectation for prototype of
6757 test5.single_constructor and single_constructor::single_constructor.
6758
6759 2017-03-16 Doug Evans <dje@google.com>
6760
6761 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6762 * gdb.guile/scm-lazy-string.c: New file.
6763 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6764 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6765 for pointer, array, typedef lazy strings.
6766
6767 2017-03-16 Doug Evans <dje@google.com>
6768
6769 PR python/17728, python/18439, python/18779
6770 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6771 * gdb.python/py-lazy-string.c (pointer): New typedef.
6772 (main): New locals ptr, array, typedef_ptr.
6773 * gdb.python/py-value.exp: Move lazy string tests to ...
6774 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6775 array, typedef lazy strings.
6776
6777 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6778
6779 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6780 Add optional 'test' parameter.
6781
6782 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6783
6784 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6785 Skip for versions of DejaGnu < 1.5.
6786
6787 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6788
6789 * lib/gdb.exp (dejagnu_version): New proc.
6790 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6791 Use dejagnu_version.
6792
6793 2017-03-10 Keith Seitz <keiths@redhat.com>
6794
6795 PR c++/8128
6796 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6797 type from destructor regexps.
6798 Add a branch which actually passes the test.
6799 Adjust "ptype t5i" test names.
6800
6801 2017-03-08 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.base/step-over-exit.exp: Add explicit test message.
6804
6805 2017-03-08 Pedro Alves <palves@redhat.com>
6806
6807 PR gdb/18360
6808 * gdb.threads/interrupt-while-step-over.c: New file.
6809 * gdb.threads/interrupt-while-step-over.exp: New file.
6810
6811 2017-03-08 Pedro Alves <palves@redhat.com>
6812
6813 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6814 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6815
6816 2017-03-08 Pedro Alves <palves@redhat.com>
6817
6818 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6819 PKRU as not supported as a PASS.
6820
6821 2017-03-08 Pedro Alves <palves@redhat.com>
6822
6823 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6824 prefix instead of $binfile1/$binfile2.
6825 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6826 in test message.
6827 * gdb.python/py-completion.exp: Use "load python file" as test
6828 messages instead of unstable path names.
6829
6830 2017-03-08 Pedro Alves <palves@redhat.com>
6831 Jan Kratochvil <jan.kratochvil@redhat.com>
6832
6833 PR cli/21218
6834 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6835 New proc.
6836 (top level): Call it.
6837
6838 2017-03-08 Pedro Alves <palves@redhat.com>
6839
6840 PR tui/21216
6841 * gdb.tui/tui-nl-filtered-output.exp: New file.
6842
6843 2017-03-08 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.base/completion.exp: Move TUI completion tests to ...
6846 * gdb.tui/completion.exp: ... this new file.
6847
6848 2017-03-08 Pedro Alves <palves@redhat.com>
6849
6850 * gdb.base/tui-disasm-long-lines.c,
6851 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6852 gdb.base/tui-layout.exp: Move to ...
6853 * gdb.tui/: ... this new directory.
6854
6855 2017-03-07 Pedro Alves <palves@redhat.com>
6856
6857 * gdb.base/tui-layout.c: New file.
6858 * gdb.base/tui-layout.exp: New file.
6859
6860 2017-03-07 Pedro Alves <palves@redhat.com>
6861
6862 * gdb.base/tui-layout.c: Rename to ...
6863 * gdb.base/tui-disasm-long-lines.c: ... this.
6864 * gdb.base/tui-layout.exp: Rename to ...
6865 * gdb.base/tui-disasm-long-lines.exp: ... this.
6866
6867 2017-03-07 Pedro Alves <palves@redhat.com>
6868
6869 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6870
6871 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6872
6873 * i386-mpx-call.c: New file.
6874 * i386-mpx-call.exp: New file.
6875
6876 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6877
6878 * gdb.arch/powerpc-power.exp: Delete test.
6879 * gdb.arch/powerpc-power.s: Likewise.
6880 * gdb.disasm/disassembler-options.exp: New test.
6881 * gdb.arch/powerpc-altivec.exp: Likewise.
6882 * gdb.arch/powerpc-altivec.s: Likewise.
6883 * gdb.arch/powerpc-altivec2.exp: Likewise.
6884 * gdb.arch/powerpc-altivec2.s: Likewise.
6885 * gdb.arch/powerpc-altivec3.exp: Likewise.
6886 * gdb.arch/powerpc-altivec3.s: Likewise.
6887 * gdb.arch/powerpc-power7.exp: Likewise.
6888 * gdb.arch/powerpc-power7.s: Likewise.
6889 * gdb.arch/powerpc-power8.exp: Likewise.
6890 * gdb.arch/powerpc-power8.s: Likewise.
6891 * gdb.arch/powerpc-power9.exp: Likewise.
6892 * gdb.arch/powerpc-power9.s: Likewise.
6893 * gdb.arch/powerpc-vsx.exp: Likewise.
6894 * gdb.arch/powerpc-vsx.s: Likewise.
6895 * gdb.arch/powerpc-vsx2.exp: Likewise.
6896 * gdb.arch/powerpc-vsx2.s: Likewise.
6897 * gdb.arch/powerpc-vsx3.exp: Likewise.
6898 * gdb.arch/powerpc-vsx3.s: Likewise.
6899 * gdb.arch/arm-disassembler-options.exp: Likewise.
6900 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6901 * gdb.arch/s390-disassembler-options.exp: Likewise.
6902
6903 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6904
6905 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6906 (check_supported_features): ... this. Changed return type to void.
6907 (supports_rdseed): New static global.
6908 (rdseed): Check supports_rdseed.
6909 (initialize): Call check_supported_features.
6910
6911 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6912
6913 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6914 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6915 and lqarx/stqcx.
6916 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6917 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6918
6919 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6920
6921 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6922 uppercase.
6923
6924 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6925
6926 * gdb.dwarf2/formdata16.c: New file.
6927 * gdb.dwarf2/formdata16.exp: New file.
6928 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6929
6930 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6931
6932 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6933 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6934 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6935 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6936 DW_AT_GNU_*.
6937
6938 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6939
6940 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6941
6942 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6943
6944 PR gdb/21164
6945 * gdb.base/maint.exp: Add testcases for when the commands do
6946 not have arguments.
6947
6948 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6949
6950 * gdb.cp/chained-calls.exp: Use p instead of P.
6951
6952 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6953
6954 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6955 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6956
6957 2017-02-14 Tom Tromey <tom@tromey.com>
6958
6959 PR python/13598:
6960 * gdb.python/py-events.exp: Add before_prompt event tests.
6961
6962 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6963
6964 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6965
6966 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6967
6968 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6969 (main): Call my_unique_function_name.
6970 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6971 completion of patterns with a single match.
6972 Add missing -re switches to gdb_test_multiple calls.
6973
6974 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6975
6976 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6977 return if core file is not recognized.
6978
6979 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6980
6981 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6982 and extra UIs.
6983
6984 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6985
6986 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6987 proc_with_prefix.
6988
6989 2017-02-10 Tom Tromey <tom@tromey.com>
6990
6991 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6992
6993 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6994
6995 PR gdb/21122
6996 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6997
6998 2017-02-08 Jerome Guitton <guitton@adacore.com>
6999
7000 * gdb.base/define.exp: Add test for command abbreviations
7001 in define.
7002
7003 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7004
7005 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7006 * gdb.reverse/insn-reverse-x86.c: New file.
7007
7008 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7009
7010 PR tdep/20936
7011 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7012
7013 2017-02-03 Tom Tromey <tom@tromey.com>
7014
7015 PR rust/21097:
7016 * gdb.rust/simple.exp: Add new tests.
7017
7018 2017-02-02 Pedro Alves <palves@redhat.com>
7019
7020 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7021 tests.
7022
7023 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7024
7025 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7026 taking a 2-byte value out of a 4-byte DWARF implicit value on
7027 big-endian targets.
7028 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7029 logic. Add test cases for DW_OP_implicit.
7030
7031 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7032
7033 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7034
7035 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7036
7037 * gdb.btrace/enable.exp: Call gdb_exit before
7038 skip_gdbserver_tests.
7039
7040 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7041
7042 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7043 GDBFLAGS.
7044
7045 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7046
7047 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7048 the test is skipped.
7049 * gdb.btrace/data.exp: Likewise.
7050 * gdb.btrace/delta.exp: Likewise.
7051 * gdb.btrace/dlopen.exp: Likewise.
7052 * gdb.btrace/enable-running.exp: Likewise.
7053 * gdb.btrace/enable.exp: Likewise.
7054 * gdb.btrace/exception.exp: Likewise.
7055 * gdb.btrace/function_call_history.exp: Likewise.
7056 * gdb.btrace/gcore.exp: Likewise.
7057 * gdb.btrace/instruction_history.exp: Likewise.
7058 * gdb.btrace/multi-thread-step.exp: Likewise.
7059 * gdb.btrace/nohist.exp: Likewise.
7060 * gdb.btrace/non-stop.exp: Likewise.
7061 * gdb.btrace/reconnect.exp: Likewise.
7062 * gdb.btrace/record_goto-step.exp: Likewise.
7063 * gdb.btrace/record_goto.exp: Likewise.
7064 * gdb.btrace/rn-dl-bind.exp: Likewise.
7065 * gdb.btrace/segv.exp: Likewise.
7066 * gdb.btrace/step.exp: Likewise.
7067 * gdb.btrace/stepi.exp: Likewise.
7068 * gdb.btrace/tailcall-only.exp: Likewise.
7069 * gdb.btrace/tailcall.exp: Likewise.
7070 * gdb.btrace/tsx.exp: Likewise.
7071 * gdb.btrace/unknown_functions.exp: Likewise.
7072 * gdb.btrace/vdso.exp: Likewise.
7073
7074 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7075
7076 * gdb.btrace/enable-running.c: New.
7077 * gdb.btrace/enable-running.exp: New.
7078
7079 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7080
7081 * gdb.arch/amd64-gs_base.c: New file.
7082 * gdb.arch/amd64-gs_base.exp: New file.
7083
7084 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7085
7086 * lib/memory.exp: Remove spurious empty newlines.
7087
7088 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7089
7090 * gdb.python/py-bad-printers.exp: Load python file using "source".
7091 * gdb.python/py-events.exp: Likewise.
7092 * gdb.python/py-evsignal.exp: Likewise.
7093 * gdb.python/py-evthreads.exp: Likewise.
7094 * gdb.python/py-frame-args.exp: Likewise.
7095 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7096 * gdb.python/py-framefilter-mi.exp: Likewise.
7097 * gdb.python/py-framefilter.exp: Likewise.
7098 * gdb.python/py-mi.exp: Likewise.
7099 * gdb.python/py-pp-maint.exp: Likewise.
7100 * gdb.python/py-pp-registration.exp: Likewise.
7101 * gdb.python/py-prettyprint.exp: Likewise.
7102 (run_lang_tests): Likewise.
7103 * gdb.python/py-typeprint.exp: Likewise.
7104
7105 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7106
7107 * lib/memory.exp: New file.
7108 * lib/gdb.exp: Load memory.exp.
7109 * gdb.base/memattr.exp (delete_memory): Move proc to
7110 lib/memory.exp and rename to delete_memory_regions.
7111 Replace delete_memory with delete_memory_regions.
7112 Cleanup memory regions before tests.
7113 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7114 before tests.
7115
7116 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7117
7118 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7119 files.
7120 (initialize): New function conditionally defined.
7121 (testcases): Move within conditional block.
7122 (main): Call initialize.
7123 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7124 of gdb.reverse/insn-reverse.c.
7125 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7126 gdb.reverse/insn-reverse.c.
7127
7128 2017-01-26 Yao Qi <yao.qi@linaro.org>
7129
7130 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7131 disassemble on address 0.
7132
7133 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7134 Yao Qi <yao.qi@linaro.org>
7135
7136 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7137 * gdb.dwarf2/implptr-64bit.S: Remove.
7138 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7139 variables in caller's context. Add DW_OP_implicit_value.
7140
7141 2017-01-25 Yao Qi <yao.qi@linaro.org>
7142
7143 * lib/dwarf.exp (Dwarf::_location): Handle
7144 DW_OP_GNU_implicit_pointer with proper size.
7145
7146 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7147
7148 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7149 and add untested calls.
7150
7151 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7152
7153 * gdb.python/python.exp: Check line number against what GDB thinks
7154 the line number is for func1.
7155
7156 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7157
7158 * gdb.dlang/debug-expr.exp: New file.
7159
7160 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7161
7162 Fix test names for the following files:
7163
7164 * gdb.ada/exec_changed.exp
7165 * gdb.ada/info_types.exp
7166 * gdb.arch/aarch64-atomic-inst.exp
7167 * gdb.arch/aarch64-fp.exp
7168 * gdb.arch/altivec-abi.exp
7169 * gdb.arch/altivec-regs.exp
7170 * gdb.arch/amd64-byte.exp
7171 * gdb.arch/amd64-disp-step.exp
7172 * gdb.arch/amd64-dword.exp
7173 * gdb.arch/amd64-entry-value-inline.exp
7174 * gdb.arch/amd64-entry-value-param.exp
7175 * gdb.arch/amd64-entry-value-paramref.exp
7176 * gdb.arch/amd64-entry-value.exp
7177 * gdb.arch/amd64-i386-address.exp
7178 * gdb.arch/amd64-invalid-stack-middle.exp
7179 * gdb.arch/amd64-invalid-stack-top.exp
7180 * gdb.arch/amd64-optimout-repeat.exp
7181 * gdb.arch/amd64-prologue-skip.exp
7182 * gdb.arch/amd64-prologue-xmm.exp
7183 * gdb.arch/amd64-stap-special-operands.exp
7184 * gdb.arch/amd64-stap-wrong-subexp.exp
7185 * gdb.arch/amd64-tailcall-cxx.exp
7186 * gdb.arch/amd64-tailcall-noret.exp
7187 * gdb.arch/amd64-tailcall-ret.exp
7188 * gdb.arch/amd64-tailcall-self.exp
7189 * gdb.arch/amd64-word.exp
7190 * gdb.arch/arm-bl-branch-dest.exp
7191 * gdb.arch/arm-disp-step.exp
7192 * gdb.arch/arm-neon.exp
7193 * gdb.arch/arm-single-step-kernel-helper.exp
7194 * gdb.arch/avr-flash-qualifier.exp
7195 * gdb.arch/disp-step-insn-reloc.exp
7196 * gdb.arch/e500-abi.exp
7197 * gdb.arch/e500-regs.exp
7198 * gdb.arch/ftrace-insn-reloc.exp
7199 * gdb.arch/i386-avx512.exp
7200 * gdb.arch/i386-bp_permanent.exp
7201 * gdb.arch/i386-byte.exp
7202 * gdb.arch/i386-cfi-notcurrent.exp
7203 * gdb.arch/i386-disp-step.exp
7204 * gdb.arch/i386-dr3-watch.exp
7205 * gdb.arch/i386-float.exp
7206 * gdb.arch/i386-gnu-cfi.exp
7207 * gdb.arch/i386-mpx-map.exp
7208 * gdb.arch/i386-mpx-sigsegv.exp
7209 * gdb.arch/i386-mpx-simple_segv.exp
7210 * gdb.arch/i386-mpx.exp
7211 * gdb.arch/i386-permbkpt.exp
7212 * gdb.arch/i386-prologue.exp
7213 * gdb.arch/i386-signal.exp
7214 * gdb.arch/i386-size-overlap.exp
7215 * gdb.arch/i386-unwind.exp
7216 * gdb.arch/i386-word.exp
7217 * gdb.arch/mips-fcr.exp
7218 * gdb.arch/powerpc-d128-regs.exp
7219 * gdb.arch/powerpc-stackless.exp
7220 * gdb.arch/ppc64-atomic-inst.exp
7221 * gdb.arch/s390-stackless.exp
7222 * gdb.arch/s390-tdbregs.exp
7223 * gdb.arch/s390-vregs.exp
7224 * gdb.arch/sparc-sysstep.exp
7225 * gdb.arch/thumb-bx-pc.exp
7226 * gdb.arch/thumb-singlestep.exp
7227 * gdb.arch/thumb2-it.exp
7228 * gdb.arch/vsx-regs.exp
7229 * gdb.asm/asm-source.exp
7230 * gdb.base/a2-run.exp
7231 * gdb.base/advance.exp
7232 * gdb.base/all-bin.exp
7233 * gdb.base/anon.exp
7234 * gdb.base/args.exp
7235 * gdb.base/arithmet.exp
7236 * gdb.base/async-shell.exp
7237 * gdb.base/async.exp
7238 * gdb.base/attach-pie-noexec.exp
7239 * gdb.base/attach-twice.exp
7240 * gdb.base/auto-load.exp
7241 * gdb.base/bang.exp
7242 * gdb.base/bitfields.exp
7243 * gdb.base/break-always.exp
7244 * gdb.base/break-caller-line.exp
7245 * gdb.base/break-entry.exp
7246 * gdb.base/break-inline.exp
7247 * gdb.base/break-on-linker-gcd-function.exp
7248 * gdb.base/break-probes.exp
7249 * gdb.base/break.exp
7250 * gdb.base/breakpoint-shadow.exp
7251 * gdb.base/call-ar-st.exp
7252 * gdb.base/call-sc.exp
7253 * gdb.base/call-signal-resume.exp
7254 * gdb.base/call-strs.exp
7255 * gdb.base/callfuncs.exp
7256 * gdb.base/catch-fork-static.exp
7257 * gdb.base/catch-gdb-caused-signals.exp
7258 * gdb.base/catch-load.exp
7259 * gdb.base/catch-signal-fork.exp
7260 * gdb.base/catch-signal.exp
7261 * gdb.base/catch-syscall.exp
7262 * gdb.base/charset.exp
7263 * gdb.base/checkpoint.exp
7264 * gdb.base/chng-syms.exp
7265 * gdb.base/code-expr.exp
7266 * gdb.base/code_elim.exp
7267 * gdb.base/commands.exp
7268 * gdb.base/completion.exp
7269 * gdb.base/complex.exp
7270 * gdb.base/cond-expr.exp
7271 * gdb.base/condbreak.exp
7272 * gdb.base/consecutive.exp
7273 * gdb.base/continue-all-already-running.exp
7274 * gdb.base/coredump-filter.exp
7275 * gdb.base/corefile.exp
7276 * gdb.base/dbx.exp
7277 * gdb.base/debug-expr.exp
7278 * gdb.base/define.exp
7279 * gdb.base/del.exp
7280 * gdb.base/disabled-location.exp
7281 * gdb.base/disasm-end-cu.exp
7282 * gdb.base/disasm-optim.exp
7283 * gdb.base/display.exp
7284 * gdb.base/duplicate-bp.exp
7285 * gdb.base/ena-dis-br.exp
7286 * gdb.base/ending-run.exp
7287 * gdb.base/enumval.exp
7288 * gdb.base/environ.exp
7289 * gdb.base/eu-strip-infcall.exp
7290 * gdb.base/eval-avoid-side-effects.exp
7291 * gdb.base/eval-skip.exp
7292 * gdb.base/exitsignal.exp
7293 * gdb.base/expand-psymtabs.exp
7294 * gdb.base/filesym.exp
7295 * gdb.base/find-unmapped.exp
7296 * gdb.base/finish.exp
7297 * gdb.base/float.exp
7298 * gdb.base/foll-exec-mode.exp
7299 * gdb.base/foll-exec.exp
7300 * gdb.base/foll-fork.exp
7301 * gdb.base/fortran-sym-case.exp
7302 * gdb.base/freebpcmd.exp
7303 * gdb.base/func-ptr.exp
7304 * gdb.base/func-ptrs.exp
7305 * gdb.base/funcargs.exp
7306 * gdb.base/gcore-buffer-overflow.exp
7307 * gdb.base/gcore-relro-pie.exp
7308 * gdb.base/gcore-relro.exp
7309 * gdb.base/gcore.exp
7310 * gdb.base/gdb1090.exp
7311 * gdb.base/gdb11530.exp
7312 * gdb.base/gdb11531.exp
7313 * gdb.base/gdb1821.exp
7314 * gdb.base/gdbindex-stabs.exp
7315 * gdb.base/gdbvars.exp
7316 * gdb.base/hbreak.exp
7317 * gdb.base/hbreak2.exp
7318 * gdb.base/included.exp
7319 * gdb.base/infcall-input.exp
7320 * gdb.base/inferior-died.exp
7321 * gdb.base/infnan.exp
7322 * gdb.base/info-macros.exp
7323 * gdb.base/info-os.exp
7324 * gdb.base/info-proc.exp
7325 * gdb.base/info-shared.exp
7326 * gdb.base/info-target.exp
7327 * gdb.base/infoline.exp
7328 * gdb.base/interp.exp
7329 * gdb.base/interrupt.exp
7330 * gdb.base/jit-reader.exp
7331 * gdb.base/jit-simple.exp
7332 * gdb.base/kill-after-signal.exp
7333 * gdb.base/kill-detach-inferiors-cmd.exp
7334 * gdb.base/label.exp
7335 * gdb.base/langs.exp
7336 * gdb.base/ldbl_e308.exp
7337 * gdb.base/line-symtabs.exp
7338 * gdb.base/linespecs.exp
7339 * gdb.base/list.exp
7340 * gdb.base/long_long.exp
7341 * gdb.base/longest-types.exp
7342 * gdb.base/maint.exp
7343 * gdb.base/max-value-size.exp
7344 * gdb.base/memattr.exp
7345 * gdb.base/mips_pro.exp
7346 * gdb.base/morestack.exp
7347 * gdb.base/moribund-step.exp
7348 * gdb.base/multi-forks.exp
7349 * gdb.base/nested-addr.exp
7350 * gdb.base/nextoverexit.exp
7351 * gdb.base/noreturn-finish.exp
7352 * gdb.base/noreturn-return.exp
7353 * gdb.base/nostdlib.exp
7354 * gdb.base/offsets.exp
7355 * gdb.base/opaque.exp
7356 * gdb.base/pc-fp.exp
7357 * gdb.base/permissions.exp
7358 * gdb.base/print-symbol-loading.exp
7359 * gdb.base/prologue-include.exp
7360 * gdb.base/psymtab.exp
7361 * gdb.base/ptype.exp
7362 * gdb.base/random-signal.exp
7363 * gdb.base/randomize.exp
7364 * gdb.base/range-stepping.exp
7365 * gdb.base/readline-ask.exp
7366 * gdb.base/recpar.exp
7367 * gdb.base/recurse.exp
7368 * gdb.base/relational.exp
7369 * gdb.base/restore.exp
7370 * gdb.base/return-nodebug.exp
7371 * gdb.base/return.exp
7372 * gdb.base/run-after-attach.exp
7373 * gdb.base/save-bp.exp
7374 * gdb.base/scope.exp
7375 * gdb.base/sect-cmd.exp
7376 * gdb.base/set-lang-auto.exp
7377 * gdb.base/set-noassign.exp
7378 * gdb.base/setvar.exp
7379 * gdb.base/sigall.exp
7380 * gdb.base/sigbpt.exp
7381 * gdb.base/siginfo-addr.exp
7382 * gdb.base/siginfo-infcall.exp
7383 * gdb.base/siginfo-obj.exp
7384 * gdb.base/siginfo.exp
7385 * gdb.base/signals-state-child.exp
7386 * gdb.base/signest.exp
7387 * gdb.base/sigstep.exp
7388 * gdb.base/sizeof.exp
7389 * gdb.base/skip.exp
7390 * gdb.base/solib-corrupted.exp
7391 * gdb.base/solib-nodir.exp
7392 * gdb.base/solib-search.exp
7393 * gdb.base/stack-checking.exp
7394 * gdb.base/stale-infcall.exp
7395 * gdb.base/stap-probe.exp
7396 * gdb.base/start.exp
7397 * gdb.base/step-break.exp
7398 * gdb.base/step-bt.exp
7399 * gdb.base/step-line.exp
7400 * gdb.base/step-over-exit.exp
7401 * gdb.base/step-over-syscall.exp
7402 * gdb.base/step-resume-infcall.exp
7403 * gdb.base/step-test.exp
7404 * gdb.base/store.exp
7405 * gdb.base/structs3.exp
7406 * gdb.base/sym-file.exp
7407 * gdb.base/symbol-without-target_section.exp
7408 * gdb.base/term.exp
7409 * gdb.base/testenv.exp
7410 * gdb.base/ui-redirect.exp
7411 * gdb.base/until.exp
7412 * gdb.base/unwindonsignal.exp
7413 * gdb.base/value-double-free.exp
7414 * gdb.base/vla-datatypes.exp
7415 * gdb.base/vla-ptr.exp
7416 * gdb.base/vla-sideeffect.exp
7417 * gdb.base/volatile.exp
7418 * gdb.base/watch-cond-infcall.exp
7419 * gdb.base/watch-cond.exp
7420 * gdb.base/watch-non-mem.exp
7421 * gdb.base/watch-read.exp
7422 * gdb.base/watch-vfork.exp
7423 * gdb.base/watchpoint-cond-gone.exp
7424 * gdb.base/watchpoint-delete.exp
7425 * gdb.base/watchpoint-hw-hit-once.exp
7426 * gdb.base/watchpoint-hw.exp
7427 * gdb.base/watchpoint-stops-at-right-insn.exp
7428 * gdb.base/watchpoints.exp
7429 * gdb.base/wchar.exp
7430 * gdb.base/whatis-exp.exp
7431 * gdb.btrace/buffer-size.exp
7432 * gdb.btrace/data.exp
7433 * gdb.btrace/delta.exp
7434 * gdb.btrace/dlopen.exp
7435 * gdb.btrace/enable.exp
7436 * gdb.btrace/exception.exp
7437 * gdb.btrace/function_call_history.exp
7438 * gdb.btrace/gcore.exp
7439 * gdb.btrace/instruction_history.exp
7440 * gdb.btrace/nohist.exp
7441 * gdb.btrace/reconnect.exp
7442 * gdb.btrace/record_goto-step.exp
7443 * gdb.btrace/record_goto.exp
7444 * gdb.btrace/rn-dl-bind.exp
7445 * gdb.btrace/segv.exp
7446 * gdb.btrace/step.exp
7447 * gdb.btrace/stepi.exp
7448 * gdb.btrace/tailcall-only.exp
7449 * gdb.btrace/tailcall.exp
7450 * gdb.btrace/tsx.exp
7451 * gdb.btrace/unknown_functions.exp
7452 * gdb.btrace/vdso.exp
7453 * gdb.compile/compile-ifunc.exp
7454 * gdb.compile/compile-ops.exp
7455 * gdb.compile/compile-print.exp
7456 * gdb.compile/compile-setjmp.exp
7457 * gdb.cp/abstract-origin.exp
7458 * gdb.cp/ambiguous.exp
7459 * gdb.cp/annota2.exp
7460 * gdb.cp/annota3.exp
7461 * gdb.cp/anon-ns.exp
7462 * gdb.cp/anon-struct.exp
7463 * gdb.cp/anon-union.exp
7464 * gdb.cp/arg-reference.exp
7465 * gdb.cp/baseenum.exp
7466 * gdb.cp/bool.exp
7467 * gdb.cp/breakpoint.exp
7468 * gdb.cp/bs15503.exp
7469 * gdb.cp/call-c.exp
7470 * gdb.cp/casts.exp
7471 * gdb.cp/chained-calls.exp
7472 * gdb.cp/class2.exp
7473 * gdb.cp/classes.exp
7474 * gdb.cp/cmpd-minsyms.exp
7475 * gdb.cp/converts.exp
7476 * gdb.cp/cp-relocate.exp
7477 * gdb.cp/cpcompletion.exp
7478 * gdb.cp/cpexprs.exp
7479 * gdb.cp/cplabel.exp
7480 * gdb.cp/cplusfuncs.exp
7481 * gdb.cp/cpsizeof.exp
7482 * gdb.cp/ctti.exp
7483 * gdb.cp/derivation.exp
7484 * gdb.cp/destrprint.exp
7485 * gdb.cp/dispcxx.exp
7486 * gdb.cp/enum-class.exp
7487 * gdb.cp/exception.exp
7488 * gdb.cp/exceptprint.exp
7489 * gdb.cp/expand-psymtabs-cxx.exp
7490 * gdb.cp/expand-sals.exp
7491 * gdb.cp/extern-c.exp
7492 * gdb.cp/filename.exp
7493 * gdb.cp/formatted-ref.exp
7494 * gdb.cp/fpointer.exp
7495 * gdb.cp/gdb1355.exp
7496 * gdb.cp/gdb2495.exp
7497 * gdb.cp/hang.exp
7498 * gdb.cp/impl-this.exp
7499 * gdb.cp/infcall-dlopen.exp
7500 * gdb.cp/inherit.exp
7501 * gdb.cp/iostream.exp
7502 * gdb.cp/koenig.exp
7503 * gdb.cp/local.exp
7504 * gdb.cp/m-data.exp
7505 * gdb.cp/m-static.exp
7506 * gdb.cp/mb-ctor.exp
7507 * gdb.cp/mb-inline.exp
7508 * gdb.cp/mb-templates.exp
7509 * gdb.cp/member-name.exp
7510 * gdb.cp/member-ptr.exp
7511 * gdb.cp/meth-typedefs.exp
7512 * gdb.cp/method.exp
7513 * gdb.cp/method2.exp
7514 * gdb.cp/minsym-fallback.exp
7515 * gdb.cp/misc.exp
7516 * gdb.cp/namelessclass.exp
7517 * gdb.cp/namespace-enum.exp
7518 * gdb.cp/namespace-nested-import.exp
7519 * gdb.cp/namespace.exp
7520 * gdb.cp/nextoverthrow.exp
7521 * gdb.cp/no-dmgl-verbose.exp
7522 * gdb.cp/non-trivial-retval.exp
7523 * gdb.cp/noparam.exp
7524 * gdb.cp/nsdecl.exp
7525 * gdb.cp/nsimport.exp
7526 * gdb.cp/nsnested.exp
7527 * gdb.cp/nsnoimports.exp
7528 * gdb.cp/nsrecurs.exp
7529 * gdb.cp/nsstress.exp
7530 * gdb.cp/nsusing.exp
7531 * gdb.cp/operator.exp
7532 * gdb.cp/oranking.exp
7533 * gdb.cp/overload-const.exp
7534 * gdb.cp/overload.exp
7535 * gdb.cp/ovldbreak.exp
7536 * gdb.cp/ovsrch.exp
7537 * gdb.cp/paren-type.exp
7538 * gdb.cp/parse-lang.exp
7539 * gdb.cp/pass-by-ref.exp
7540 * gdb.cp/pr-1023.exp
7541 * gdb.cp/pr-1210.exp
7542 * gdb.cp/pr-574.exp
7543 * gdb.cp/pr10687.exp
7544 * gdb.cp/pr12028.exp
7545 * gdb.cp/pr17132.exp
7546 * gdb.cp/pr17494.exp
7547 * gdb.cp/pr9067.exp
7548 * gdb.cp/pr9167.exp
7549 * gdb.cp/pr9631.exp
7550 * gdb.cp/printmethod.exp
7551 * gdb.cp/psmang.exp
7552 * gdb.cp/psymtab-parameter.exp
7553 * gdb.cp/ptype-cv-cp.exp
7554 * gdb.cp/ptype-flags.exp
7555 * gdb.cp/re-set-overloaded.exp
7556 * gdb.cp/ref-types.exp
7557 * gdb.cp/rtti.exp
7558 * gdb.cp/scope-err.exp
7559 * gdb.cp/shadow.exp
7560 * gdb.cp/smartp.exp
7561 * gdb.cp/static-method.exp
7562 * gdb.cp/static-print-quit.exp
7563 * gdb.cp/temargs.exp
7564 * gdb.cp/templates.exp
7565 * gdb.cp/try_catch.exp
7566 * gdb.cp/typedef-operator.exp
7567 * gdb.cp/typeid.exp
7568 * gdb.cp/userdef.exp
7569 * gdb.cp/using-crash.exp
7570 * gdb.cp/var-tag.exp
7571 * gdb.cp/virtbase.exp
7572 * gdb.cp/virtfunc.exp
7573 * gdb.cp/virtfunc2.exp
7574 * gdb.cp/vla-cxx.exp
7575 * gdb.disasm/t01_mov.exp
7576 * gdb.disasm/t02_mova.exp
7577 * gdb.disasm/t03_add.exp
7578 * gdb.disasm/t04_sub.exp
7579 * gdb.disasm/t05_cmp.exp
7580 * gdb.disasm/t06_ari2.exp
7581 * gdb.disasm/t07_ari3.exp
7582 * gdb.disasm/t08_or.exp
7583 * gdb.disasm/t09_xor.exp
7584 * gdb.disasm/t10_and.exp
7585 * gdb.disasm/t11_logs.exp
7586 * gdb.disasm/t12_bit.exp
7587 * gdb.disasm/t13_otr.exp
7588 * gdb.dlang/circular.exp
7589 * gdb.dwarf2/arr-stride.exp
7590 * gdb.dwarf2/arr-subrange.exp
7591 * gdb.dwarf2/atomic-type.exp
7592 * gdb.dwarf2/bad-regnum.exp
7593 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7594 * gdb.dwarf2/callframecfa.exp
7595 * gdb.dwarf2/clztest.exp
7596 * gdb.dwarf2/corrupt.exp
7597 * gdb.dwarf2/data-loc.exp
7598 * gdb.dwarf2/dup-psym.exp
7599 * gdb.dwarf2/dw2-anon-mptr.exp
7600 * gdb.dwarf2/dw2-anonymous-func.exp
7601 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7602 * gdb.dwarf2/dw2-bad-unresolved.exp
7603 * gdb.dwarf2/dw2-basic.exp
7604 * gdb.dwarf2/dw2-canonicalize-type.exp
7605 * gdb.dwarf2/dw2-case-insensitive.exp
7606 * gdb.dwarf2/dw2-common-block.exp
7607 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7608 * gdb.dwarf2/dw2-compressed.exp
7609 * gdb.dwarf2/dw2-const.exp
7610 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7611 * gdb.dwarf2/dw2-cu-size.exp
7612 * gdb.dwarf2/dw2-dup-frame.exp
7613 * gdb.dwarf2/dw2-entry-value.exp
7614 * gdb.dwarf2/dw2-icycle.exp
7615 * gdb.dwarf2/dw2-ifort-parameter.exp
7616 * gdb.dwarf2/dw2-inline-break.exp
7617 * gdb.dwarf2/dw2-inline-param.exp
7618 * gdb.dwarf2/dw2-intercu.exp
7619 * gdb.dwarf2/dw2-intermix.exp
7620 * gdb.dwarf2/dw2-lexical-block-bare.exp
7621 * gdb.dwarf2/dw2-linkage-name-trust.exp
7622 * gdb.dwarf2/dw2-minsym-in-cu.exp
7623 * gdb.dwarf2/dw2-noloc.exp
7624 * gdb.dwarf2/dw2-op-call.exp
7625 * gdb.dwarf2/dw2-op-out-param.exp
7626 * gdb.dwarf2/dw2-opt-structptr.exp
7627 * gdb.dwarf2/dw2-param-error.exp
7628 * gdb.dwarf2/dw2-producer.exp
7629 * gdb.dwarf2/dw2-ranges-base.exp
7630 * gdb.dwarf2/dw2-ref-missing-frame.exp
7631 * gdb.dwarf2/dw2-reg-undefined.exp
7632 * gdb.dwarf2/dw2-regno-invalid.exp
7633 * gdb.dwarf2/dw2-restore.exp
7634 * gdb.dwarf2/dw2-restrict.exp
7635 * gdb.dwarf2/dw2-single-line-discriminators.exp
7636 * gdb.dwarf2/dw2-strp.exp
7637 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7638 * gdb.dwarf2/dw2-unresolved.exp
7639 * gdb.dwarf2/dw2-var-zero-addr.exp
7640 * gdb.dwarf2/dw4-sig-types.exp
7641 * gdb.dwarf2/dwz.exp
7642 * gdb.dwarf2/dynarr-ptr.exp
7643 * gdb.dwarf2/enum-type.exp
7644 * gdb.dwarf2/gdb-index.exp
7645 * gdb.dwarf2/implptr-64bit.exp
7646 * gdb.dwarf2/implptr-optimized-out.exp
7647 * gdb.dwarf2/implptr.exp
7648 * gdb.dwarf2/implref-array.exp
7649 * gdb.dwarf2/implref-const.exp
7650 * gdb.dwarf2/implref-global.exp
7651 * gdb.dwarf2/implref-struct.exp
7652 * gdb.dwarf2/mac-fileno.exp
7653 * gdb.dwarf2/main-subprogram.exp
7654 * gdb.dwarf2/member-ptr-forwardref.exp
7655 * gdb.dwarf2/method-ptr.exp
7656 * gdb.dwarf2/missing-sig-type.exp
7657 * gdb.dwarf2/nonvar-access.exp
7658 * gdb.dwarf2/opaque-type-lookup.exp
7659 * gdb.dwarf2/pieces-optimized-out.exp
7660 * gdb.dwarf2/pieces.exp
7661 * gdb.dwarf2/pr10770.exp
7662 * gdb.dwarf2/pr13961.exp
7663 * gdb.dwarf2/staticvirtual.exp
7664 * gdb.dwarf2/subrange.exp
7665 * gdb.dwarf2/symtab-producer.exp
7666 * gdb.dwarf2/trace-crash.exp
7667 * gdb.dwarf2/typeddwarf.exp
7668 * gdb.dwarf2/valop.exp
7669 * gdb.dwarf2/watch-notconst.exp
7670 * gdb.fortran/array-element.exp
7671 * gdb.fortran/charset.exp
7672 * gdb.fortran/common-block.exp
7673 * gdb.fortran/complex.exp
7674 * gdb.fortran/derived-type-function.exp
7675 * gdb.fortran/derived-type.exp
7676 * gdb.fortran/logical.exp
7677 * gdb.fortran/module.exp
7678 * gdb.fortran/multi-dim.exp
7679 * gdb.fortran/nested-funcs.exp
7680 * gdb.fortran/print-formatted.exp
7681 * gdb.fortran/subarray.exp
7682 * gdb.fortran/vla-alloc-assoc.exp
7683 * gdb.fortran/vla-datatypes.exp
7684 * gdb.fortran/vla-history.exp
7685 * gdb.fortran/vla-ptr-info.exp
7686 * gdb.fortran/vla-ptype-sub.exp
7687 * gdb.fortran/vla-ptype.exp
7688 * gdb.fortran/vla-sizeof.exp
7689 * gdb.fortran/vla-type.exp
7690 * gdb.fortran/vla-value-sub-arbitrary.exp
7691 * gdb.fortran/vla-value-sub-finish.exp
7692 * gdb.fortran/vla-value-sub.exp
7693 * gdb.fortran/vla-value.exp
7694 * gdb.fortran/whatis_type.exp
7695 * gdb.go/chan.exp
7696 * gdb.go/handcall.exp
7697 * gdb.go/hello.exp
7698 * gdb.go/integers.exp
7699 * gdb.go/methods.exp
7700 * gdb.go/package.exp
7701 * gdb.go/strings.exp
7702 * gdb.go/types.exp
7703 * gdb.go/unsafe.exp
7704 * gdb.guile/scm-arch.exp
7705 * gdb.guile/scm-block.exp
7706 * gdb.guile/scm-breakpoint.exp
7707 * gdb.guile/scm-cmd.exp
7708 * gdb.guile/scm-disasm.exp
7709 * gdb.guile/scm-equal.exp
7710 * gdb.guile/scm-frame-args.exp
7711 * gdb.guile/scm-frame-inline.exp
7712 * gdb.guile/scm-frame.exp
7713 * gdb.guile/scm-iterator.exp
7714 * gdb.guile/scm-math.exp
7715 * gdb.guile/scm-objfile.exp
7716 * gdb.guile/scm-ports.exp
7717 * gdb.guile/scm-symbol.exp
7718 * gdb.guile/scm-symtab.exp
7719 * gdb.guile/scm-value-cc.exp
7720 * gdb.guile/types-module.exp
7721 * gdb.linespec/break-ask.exp
7722 * gdb.linespec/cpexplicit.exp
7723 * gdb.linespec/explicit.exp
7724 * gdb.linespec/keywords.exp
7725 * gdb.linespec/linespec.exp
7726 * gdb.linespec/ls-dollar.exp
7727 * gdb.linespec/ls-errs.exp
7728 * gdb.linespec/skip-two.exp
7729 * gdb.linespec/thread.exp
7730 * gdb.mi/mi-async.exp
7731 * gdb.mi/mi-basics.exp
7732 * gdb.mi/mi-break.exp
7733 * gdb.mi/mi-catch-load.exp
7734 * gdb.mi/mi-cli.exp
7735 * gdb.mi/mi-cmd-param-changed.exp
7736 * gdb.mi/mi-console.exp
7737 * gdb.mi/mi-detach.exp
7738 * gdb.mi/mi-disassemble.exp
7739 * gdb.mi/mi-eval.exp
7740 * gdb.mi/mi-file-transfer.exp
7741 * gdb.mi/mi-file.exp
7742 * gdb.mi/mi-fill-memory.exp
7743 * gdb.mi/mi-inheritance-syntax-error.exp
7744 * gdb.mi/mi-linespec-err-cp.exp
7745 * gdb.mi/mi-logging.exp
7746 * gdb.mi/mi-memory-changed.exp
7747 * gdb.mi/mi-read-memory.exp
7748 * gdb.mi/mi-record-changed.exp
7749 * gdb.mi/mi-reg-undefined.exp
7750 * gdb.mi/mi-regs.exp
7751 * gdb.mi/mi-return.exp
7752 * gdb.mi/mi-reverse.exp
7753 * gdb.mi/mi-simplerun.exp
7754 * gdb.mi/mi-solib.exp
7755 * gdb.mi/mi-stack.exp
7756 * gdb.mi/mi-stepi.exp
7757 * gdb.mi/mi-syn-frame.exp
7758 * gdb.mi/mi-until.exp
7759 * gdb.mi/mi-var-block.exp
7760 * gdb.mi/mi-var-child.exp
7761 * gdb.mi/mi-var-cmd.exp
7762 * gdb.mi/mi-var-cp.exp
7763 * gdb.mi/mi-var-display.exp
7764 * gdb.mi/mi-var-invalidate.exp
7765 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7766 * gdb.mi/mi-vla-fortran.exp
7767 * gdb.mi/mi-watch.exp
7768 * gdb.mi/mi2-var-child.exp
7769 * gdb.mi/user-selected-context-sync.exp
7770 * gdb.modula2/unbounded-array.exp
7771 * gdb.multi/dummy-frame-restore.exp
7772 * gdb.multi/multi-arch-exec.exp
7773 * gdb.multi/multi-arch.exp
7774 * gdb.multi/tids.exp
7775 * gdb.multi/watchpoint-multi.exp
7776 * gdb.opencl/callfuncs.exp
7777 * gdb.opencl/convs_casts.exp
7778 * gdb.opencl/datatypes.exp
7779 * gdb.opencl/operators.exp
7780 * gdb.opencl/vec_comps.exp
7781 * gdb.opt/clobbered-registers-O2.exp
7782 * gdb.opt/inline-break.exp
7783 * gdb.opt/inline-bt.exp
7784 * gdb.opt/inline-cmds.exp
7785 * gdb.opt/inline-locals.exp
7786 * gdb.pascal/case-insensitive-symbols.exp
7787 * gdb.pascal/floats.exp
7788 * gdb.pascal/gdb11492.exp
7789 * gdb.python/lib-types.exp
7790 * gdb.python/py-arch.exp
7791 * gdb.python/py-as-string.exp
7792 * gdb.python/py-bad-printers.exp
7793 * gdb.python/py-block.exp
7794 * gdb.python/py-breakpoint-create-fail.exp
7795 * gdb.python/py-breakpoint.exp
7796 * gdb.python/py-caller-is.exp
7797 * gdb.python/py-cmd.exp
7798 * gdb.python/py-explore-cc.exp
7799 * gdb.python/py-explore.exp
7800 * gdb.python/py-finish-breakpoint.exp
7801 * gdb.python/py-finish-breakpoint2.exp
7802 * gdb.python/py-frame-args.exp
7803 * gdb.python/py-frame-inline.exp
7804 * gdb.python/py-frame.exp
7805 * gdb.python/py-framefilter-mi.exp
7806 * gdb.python/py-infthread.exp
7807 * gdb.python/py-lazy-string.exp
7808 * gdb.python/py-linetable.exp
7809 * gdb.python/py-mi-events.exp
7810 * gdb.python/py-mi-objfile.exp
7811 * gdb.python/py-mi.exp
7812 * gdb.python/py-objfile.exp
7813 * gdb.python/py-pp-integral.exp
7814 * gdb.python/py-pp-maint.exp
7815 * gdb.python/py-pp-re-notag.exp
7816 * gdb.python/py-pp-registration.exp
7817 * gdb.python/py-recurse-unwind.exp
7818 * gdb.python/py-strfns.exp
7819 * gdb.python/py-symbol.exp
7820 * gdb.python/py-symtab.exp
7821 * gdb.python/py-sync-interp.exp
7822 * gdb.python/py-typeprint.exp
7823 * gdb.python/py-unwind-maint.exp
7824 * gdb.python/py-unwind.exp
7825 * gdb.python/py-value-cc.exp
7826 * gdb.python/py-xmethods.exp
7827 * gdb.reverse/amd64-tailcall-reverse.exp
7828 * gdb.reverse/break-precsave.exp
7829 * gdb.reverse/break-reverse.exp
7830 * gdb.reverse/consecutive-precsave.exp
7831 * gdb.reverse/consecutive-reverse.exp
7832 * gdb.reverse/finish-precsave.exp
7833 * gdb.reverse/finish-reverse-bkpt.exp
7834 * gdb.reverse/finish-reverse.exp
7835 * gdb.reverse/fstatat-reverse.exp
7836 * gdb.reverse/getresuid-reverse.exp
7837 * gdb.reverse/i386-precsave.exp
7838 * gdb.reverse/i386-reverse.exp
7839 * gdb.reverse/i386-sse-reverse.exp
7840 * gdb.reverse/i387-env-reverse.exp
7841 * gdb.reverse/i387-stack-reverse.exp
7842 * gdb.reverse/insn-reverse.exp
7843 * gdb.reverse/machinestate-precsave.exp
7844 * gdb.reverse/machinestate.exp
7845 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7846 * gdb.reverse/pipe-reverse.exp
7847 * gdb.reverse/readv-reverse.exp
7848 * gdb.reverse/recvmsg-reverse.exp
7849 * gdb.reverse/rerun-prec.exp
7850 * gdb.reverse/s390-mvcle.exp
7851 * gdb.reverse/step-precsave.exp
7852 * gdb.reverse/step-reverse.exp
7853 * gdb.reverse/time-reverse.exp
7854 * gdb.reverse/until-precsave.exp
7855 * gdb.reverse/until-reverse.exp
7856 * gdb.reverse/waitpid-reverse.exp
7857 * gdb.reverse/watch-precsave.exp
7858 * gdb.reverse/watch-reverse.exp
7859 * gdb.rust/generics.exp
7860 * gdb.rust/methods.exp
7861 * gdb.rust/modules.exp
7862 * gdb.rust/simple.exp
7863 * gdb.server/connect-with-no-symbol-file.exp
7864 * gdb.server/ext-attach.exp
7865 * gdb.server/ext-restart.exp
7866 * gdb.server/ext-wrapper.exp
7867 * gdb.server/file-transfer.exp
7868 * gdb.server/server-exec-info.exp
7869 * gdb.server/server-kill.exp
7870 * gdb.server/server-mon.exp
7871 * gdb.server/wrapper.exp
7872 * gdb.stabs/exclfwd.exp
7873 * gdb.stabs/gdb11479.exp
7874 * gdb.threads/clone-new-thread-event.exp
7875 * gdb.threads/corethreads.exp
7876 * gdb.threads/current-lwp-dead.exp
7877 * gdb.threads/dlopen-libpthread.exp
7878 * gdb.threads/gcore-thread.exp
7879 * gdb.threads/sigstep-threads.exp
7880 * gdb.threads/watchpoint-fork.exp
7881 * gdb.trace/actions-changed.exp
7882 * gdb.trace/backtrace.exp
7883 * gdb.trace/change-loc.exp
7884 * gdb.trace/circ.exp
7885 * gdb.trace/collection.exp
7886 * gdb.trace/disconnected-tracing.exp
7887 * gdb.trace/ftrace.exp
7888 * gdb.trace/mi-trace-frame-collected.exp
7889 * gdb.trace/mi-trace-unavailable.exp
7890 * gdb.trace/mi-traceframe-changed.exp
7891 * gdb.trace/mi-tsv-changed.exp
7892 * gdb.trace/no-attach-trace.exp
7893 * gdb.trace/passc-dyn.exp
7894 * gdb.trace/qtro.exp
7895 * gdb.trace/range-stepping.exp
7896 * gdb.trace/read-memory.exp
7897 * gdb.trace/save-trace.exp
7898 * gdb.trace/signal.exp
7899 * gdb.trace/status-stop.exp
7900 * gdb.trace/tfile.exp
7901 * gdb.trace/trace-break.exp
7902 * gdb.trace/trace-buffer-size.exp
7903 * gdb.trace/trace-condition.exp
7904 * gdb.trace/tracefile-pseudo-reg.exp
7905 * gdb.trace/tstatus.exp
7906 * gdb.trace/unavailable.exp
7907 * gdb.trace/while-dyn.exp
7908 * gdb.trace/while-stepping.exp
7909
7910 2016-12-22 Doug Evans <xdje42@gmail.com>
7911
7912 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7913 and msymbols.
7914
7915 2016-12-19 Yao Qi <yao.qi@linaro.org>
7916
7917 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7918 (test_with_self): Don't call do_steps_and_nexts, and remove
7919 code about stepping into xmalloc.
7920
7921 2016-12-09 Yao Qi <yao.qi@linaro.org>
7922
7923 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7924
7925 2016-12-09 Yao Qi <yao.qi@linaro.org>
7926
7927 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7928
7929 2016-12-09 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.base/all-architectures-0.exp: New file.
7932 * gdb.base/all-architectures-1.exp: New file.
7933 * gdb.base/all-architectures-2.exp: New file.
7934 * gdb.base/all-architectures-3.exp: New file.
7935 * gdb.base/all-architectures-4.exp: New file.
7936 * gdb.base/all-architectures-5.exp: New file.
7937 * gdb.base/all-architectures-6.exp: New file.
7938 * gdb.base/all-architectures-7.exp: New file.
7939 * gdb.base/all-architectures.exp.in: New file.
7940
7941 2016-12-09 Yao Qi <yao.qi@linaro.org>
7942
7943 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7944
7945 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7946
7947 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7948 possible.
7949 Remove useless pattern-matching code.
7950
7951 2016-12-02 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7954 procedure.
7955 (top level): Call it.
7956
7957 2016-12-02 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7960 New procedure.
7961 (top level): Call it.
7962
7963 2016-12-02 Pedro Alves <palves@redhat.com>
7964
7965 PR cli/20559
7966 * gdb.base/commands.exp (user_defined_command_args_eval): New
7967 procedure.
7968 (top level): Call it.
7969
7970 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7971
7972 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7973 timeout handling.
7974
7975 2016-12-02 Tom Tromey <tom@tromey.com>
7976
7977 * gdb.dwarf2/main-subprogram.c: New file.
7978 * gdb.dwarf2/main-subprogram.exp: New file.
7979
7980 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7981
7982 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7983 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7984 gdb_test_no_output for a couple of cases.
7985 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7986
7987 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7988
7989 Fix test names and standardize compilation error messages throughout
7990 the following files:
7991
7992 * gdb.ada/start.exp
7993 * gdb.arch/alpha-step.exp
7994 * gdb.arch/e500-prologue.exp
7995 * gdb.arch/ftrace-insn-reloc.exp
7996 * gdb.arch/gdb1291.exp
7997 * gdb.arch/gdb1431.exp
7998 * gdb.arch/gdb1558.exp
7999 * gdb.arch/i386-dr3-watch.exp
8000 * gdb.arch/i386-sse-stack-align.exp
8001 * gdb.arch/ia64-breakpoint-shadow.exp
8002 * gdb.arch/pa-nullify.exp
8003 * gdb.arch/powerpc-aix-prologue.exp
8004 * gdb.arch/thumb-bx-pc.exp
8005 * gdb.base/annota1.exp
8006 * gdb.base/annota3.exp
8007 * gdb.base/arrayidx.exp
8008 * gdb.base/assign.exp
8009 * gdb.base/attach.exp
8010 * gdb.base/auxv.exp
8011 * gdb.base/bang.exp
8012 * gdb.base/bfp-test.exp
8013 * gdb.base/bigcore.exp
8014 * gdb.base/bitfields2.exp
8015 * gdb.base/break-fun-addr.exp
8016 * gdb.base/break-probes.exp
8017 * gdb.base/call-rt-st.exp
8018 * gdb.base/callexit.exp
8019 * gdb.base/catch-fork-kill.exp
8020 * gdb.base/charset.exp
8021 * gdb.base/checkpoint.exp
8022 * gdb.base/comprdebug.exp
8023 * gdb.base/constvars.exp
8024 * gdb.base/coredump-filter.exp
8025 * gdb.base/cursal.exp
8026 * gdb.base/cvexpr.exp
8027 * gdb.base/detach.exp
8028 * gdb.base/display.exp
8029 * gdb.base/dmsym.exp
8030 * gdb.base/dprintf-pending.exp
8031 * gdb.base/dso2dso.exp
8032 * gdb.base/dtrace-probe.exp
8033 * gdb.base/dump.exp
8034 * gdb.base/enum_cond.exp
8035 * gdb.base/exe-lock.exp
8036 * gdb.base/exec-invalid-sysroot.exp
8037 * gdb.base/execl-update-breakpoints.exp
8038 * gdb.base/exprs.exp
8039 * gdb.base/fileio.exp
8040 * gdb.base/find.exp
8041 * gdb.base/finish.exp
8042 * gdb.base/fixsection.exp
8043 * gdb.base/foll-vfork.exp
8044 * gdb.base/frame-args.exp
8045 * gdb.base/gcore.exp
8046 * gdb.base/gdb1250.exp
8047 * gdb.base/global-var-nested-by-dso.exp
8048 * gdb.base/gnu-ifunc.exp
8049 * gdb.base/hashline1.exp
8050 * gdb.base/hashline2.exp
8051 * gdb.base/hashline3.exp
8052 * gdb.base/hbreak-in-shr-unsupported.exp
8053 * gdb.base/huge.exp
8054 * gdb.base/infcall-input.exp
8055 * gdb.base/info-fun.exp
8056 * gdb.base/info-shared.exp
8057 * gdb.base/jit-simple.exp
8058 * gdb.base/jit-so.exp
8059 * gdb.base/jit.exp
8060 * gdb.base/jump.exp
8061 * gdb.base/label.exp
8062 * gdb.base/lineinc.exp
8063 * gdb.base/logical.exp
8064 * gdb.base/longjmp.exp
8065 * gdb.base/macscp.exp
8066 * gdb.base/miscexprs.exp
8067 * gdb.base/new-ui-echo.exp
8068 * gdb.base/new-ui-pending-input.exp
8069 * gdb.base/new-ui.exp
8070 * gdb.base/nodebug.exp
8071 * gdb.base/nofield.exp
8072 * gdb.base/offsets.exp
8073 * gdb.base/overlays.exp
8074 * gdb.base/pending.exp
8075 * gdb.base/pointers.exp
8076 * gdb.base/pr11022.exp
8077 * gdb.base/printcmds.exp
8078 * gdb.base/prologue.exp
8079 * gdb.base/ptr-typedef.exp
8080 * gdb.base/realname-expand.exp
8081 * gdb.base/relativedebug.exp
8082 * gdb.base/relocate.exp
8083 * gdb.base/remote.exp
8084 * gdb.base/reread.exp
8085 * gdb.base/return2.exp
8086 * gdb.base/savedregs.exp
8087 * gdb.base/sep.exp
8088 * gdb.base/sepdebug.exp
8089 * gdb.base/sepsymtab.exp
8090 * gdb.base/set-inferior-tty.exp
8091 * gdb.base/setshow.exp
8092 * gdb.base/shlib-call.exp
8093 * gdb.base/sigaltstack.exp
8094 * gdb.base/siginfo-addr.exp
8095 * gdb.base/signals.exp
8096 * gdb.base/signull.exp
8097 * gdb.base/sigrepeat.exp
8098 * gdb.base/so-impl-ld.exp
8099 * gdb.base/solib-display.exp
8100 * gdb.base/solib-overlap.exp
8101 * gdb.base/solib-search.exp
8102 * gdb.base/solib-symbol.exp
8103 * gdb.base/structs.exp
8104 * gdb.base/structs2.exp
8105 * gdb.base/symtab-search-order.exp
8106 * gdb.base/twice.exp
8107 * gdb.base/unload.exp
8108 * gdb.base/varargs.exp
8109 * gdb.base/watchpoint-solib.exp
8110 * gdb.base/watchpoint.exp
8111 * gdb.base/whatis.exp
8112 * gdb.base/wrong_frame_bt_full.exp
8113 * gdb.btrace/dlopen.exp
8114 * gdb.cell/ea-standalone.exp
8115 * gdb.cell/ea-test.exp
8116 * gdb.cp/dispcxx.exp
8117 * gdb.cp/gdb2384.exp
8118 * gdb.cp/method2.exp
8119 * gdb.cp/nextoverthrow.exp
8120 * gdb.cp/pr10728.exp
8121 * gdb.disasm/am33.exp
8122 * gdb.disasm/h8300s.exp
8123 * gdb.disasm/mn10300.exp
8124 * gdb.disasm/sh3.exp
8125 * gdb.dwarf2/dw2-dir-file-name.exp
8126 * gdb.fortran/complex.exp
8127 * gdb.fortran/library-module.exp
8128 * gdb.guile/scm-pretty-print.exp
8129 * gdb.guile/scm-symbol.exp
8130 * gdb.guile/scm-type.exp
8131 * gdb.guile/scm-value.exp
8132 * gdb.linespec/linespec.exp
8133 * gdb.mi/gdb701.exp
8134 * gdb.mi/gdb792.exp
8135 * gdb.mi/mi-breakpoint-changed.exp
8136 * gdb.mi/mi-dprintf-pending.exp
8137 * gdb.mi/mi-dprintf.exp
8138 * gdb.mi/mi-exit-code.exp
8139 * gdb.mi/mi-pending.exp
8140 * gdb.mi/mi-solib.exp
8141 * gdb.mi/new-ui-mi-sync.exp
8142 * gdb.mi/pr11022.exp
8143 * gdb.mi/user-selected-context-sync.exp
8144 * gdb.opt/solib-intra-step.exp
8145 * gdb.python/py-events.exp
8146 * gdb.python/py-finish-breakpoint.exp
8147 * gdb.python/py-mi.exp
8148 * gdb.python/py-prettyprint.exp
8149 * gdb.python/py-shared.exp
8150 * gdb.python/py-symbol.exp
8151 * gdb.python/py-template.exp
8152 * gdb.python/py-type.exp
8153 * gdb.python/py-value.exp
8154 * gdb.reverse/solib-precsave.exp
8155 * gdb.reverse/solib-reverse.exp
8156 * gdb.server/solib-list.exp
8157 * gdb.stabs/weird.exp
8158 * gdb.threads/reconnect-signal.exp
8159 * gdb.threads/stepi-random-signal.exp
8160 * gdb.trace/actions.exp
8161 * gdb.trace/ax.exp
8162 * gdb.trace/backtrace.exp
8163 * gdb.trace/change-loc.exp
8164 * gdb.trace/deltrace.exp
8165 * gdb.trace/ftrace-lock.exp
8166 * gdb.trace/ftrace.exp
8167 * gdb.trace/infotrace.exp
8168 * gdb.trace/mi-tracepoint-changed.exp
8169 * gdb.trace/packetlen.exp
8170 * gdb.trace/passcount.exp
8171 * gdb.trace/pending.exp
8172 * gdb.trace/range-stepping.exp
8173 * gdb.trace/report.exp
8174 * gdb.trace/stap-trace.exp
8175 * gdb.trace/tfind.exp
8176 * gdb.trace/trace-break.exp
8177 * gdb.trace/trace-condition.exp
8178 * gdb.trace/trace-enable-disable.exp
8179 * gdb.trace/trace-mt.exp
8180 * gdb.trace/tracecmd.exp
8181 * gdb.trace/tspeed.exp
8182 * gdb.trace/tsv.exp
8183 * lib/perftest.exp
8184
8185 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8186
8187 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8188 with gdb_test_no_output.
8189 Use command as test name.
8190
8191 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8192
8193 Fix test names starting with uppercase throughout the files.
8194
8195 * gdb.ada/assign_1.exp
8196 * gdb.ada/boolean_expr.exp
8197 * gdb.base/arrayidx.exp
8198 * gdb.base/del.exp
8199 * gdb.base/gcore-buffer-overflow.exp
8200 * gdb.base/testenv.exp
8201 * gdb.compile/compile.exp
8202 * gdb.python/py-framefilter-invalidarg.exp
8203 * gdb.python/py-framefilter.exp
8204
8205 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8206
8207 Fix test names starting with uppercase throughout the files.
8208
8209 * gdb.ada/array_return.exp
8210 * gdb.ada/expr_delims.exp
8211 * gdb.ada/mi_dyn_arr.exp
8212 * gdb.ada/mi_interface.exp
8213 * gdb.ada/mi_var_array.exp
8214 * gdb.ada/watch_arg.exp
8215 * gdb.arch/alpha-step.exp
8216 * gdb.arch/altivec-regs.exp
8217 * gdb.arch/e500-regs.exp
8218 * gdb.arch/powerpc-d128-regs.exp
8219 * gdb.base/arrayidx.exp
8220 * gdb.base/break.exp
8221 * gdb.base/checkpoint.exp
8222 * gdb.base/debug-expr.exp
8223 * gdb.base/dmsym.exp
8224 * gdb.base/radix.exp
8225 * gdb.base/sepdebug.exp
8226 * gdb.base/testenv.exp
8227 * gdb.base/watch_thread_num.exp
8228 * gdb.base/watchpoint-cond-gone.exp
8229 * gdb.cell/break.exp
8230 * gdb.cell/ea-cache.exp
8231 * gdb.compile/compile.exp
8232 * gdb.cp/gdb2495.exp
8233 * gdb.gdb/selftest.exp
8234 * gdb.gdb/xfullpath.exp
8235 * gdb.go/hello.exp
8236 * gdb.go/integers.exp
8237 * gdb.objc/basicclass.exp
8238 * gdb.pascal/hello.exp
8239 * gdb.pascal/integers.exp
8240 * gdb.python/py-breakpoint.exp
8241 * gdb.python/py-cmd.exp
8242 * gdb.python/py-linetable.exp
8243 * gdb.python/py-xmethods.exp
8244 * gdb.python/python.exp
8245 * gdb.reverse/consecutive-precsave.exp
8246 * gdb.reverse/finish-precsave.exp
8247 * gdb.reverse/i386-precsave.exp
8248 * gdb.reverse/machinestate-precsave.exp
8249 * gdb.reverse/sigall-precsave.exp
8250 * gdb.reverse/solib-precsave.exp
8251 * gdb.reverse/step-precsave.exp
8252 * gdb.reverse/until-precsave.exp
8253 * gdb.reverse/watch-precsave.exp
8254 * gdb.threads/leader-exit.exp
8255 * gdb.threads/pthreads.exp
8256 * gdb.threads/wp-replication.exp
8257 * gdb.trace/actions.exp
8258 * gdb.trace/mi-tsv-changed.exp
8259 * gdb.trace/tsv.exp
8260
8261 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8262
8263 Fix test names starting with uppercase throughout the files.
8264
8265 * gdb.arch/i386-bp_permanent.exp
8266 * gdb.arch/i386-gnu-cfi.exp
8267 * gdb.base/disasm-end-cu.exp
8268 * gdb.base/macscp.exp
8269 * gdb.base/pending.exp
8270 * gdb.base/watch_thread_num.exp
8271 * gdb.cp/exception.exp
8272 * gdb.cp/gdb2495.exp
8273 * gdb.cp/local.exp
8274 * gdb.python/py-evsignal.exp
8275 * gdb.python/python.exp
8276 * gdb.trace/tracecmd.exp
8277
8278 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8279
8280 Fix test names starting with uppercase throughout the files.
8281
8282 * gdb.base/charset.exp
8283 * gdb.base/eval.exp
8284 * gdb.base/multi-forks.exp
8285 * gdb.guile/scm-progspace.exp
8286 * gdb.opencl/datatypes.exp
8287 * gdb.python/py-block.exp
8288 * gdb.python/py-function.exp
8289 * gdb.python/py-symbol.exp
8290 * gdb.python/py-symtab.exp
8291 * gdb.python/py-xmethods.exp
8292 * gdb.reverse/break-precsave.exp
8293 * gdb.reverse/break-reverse.exp
8294 * gdb.reverse/consecutive-precsave.exp
8295 * gdb.reverse/consecutive-reverse.exp
8296 * gdb.reverse/finish-precsave.exp
8297 * gdb.reverse/finish-reverse-bkpt.exp
8298 * gdb.reverse/finish-reverse.exp
8299 * gdb.reverse/fstatat-reverse.exp
8300 * gdb.reverse/getresuid-reverse.exp
8301 * gdb.reverse/i386-precsave.exp
8302 * gdb.reverse/i386-reverse.exp
8303 * gdb.reverse/i386-sse-reverse.exp
8304 * gdb.reverse/i387-stack-reverse.exp
8305 * gdb.reverse/insn-reverse.exp
8306 * gdb.reverse/machinestate-precsave.exp
8307 * gdb.reverse/machinestate.exp
8308 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8309 * gdb.reverse/pipe-reverse.exp
8310 * gdb.reverse/readv-reverse.exp
8311 * gdb.reverse/recvmsg-reverse.exp
8312 * gdb.reverse/rerun-prec.exp
8313 * gdb.reverse/s390-mvcle.exp
8314 * gdb.reverse/sigall-precsave.exp
8315 * gdb.reverse/sigall-reverse.exp
8316 * gdb.reverse/solib-precsave.exp
8317 * gdb.reverse/solib-reverse.exp
8318 * gdb.reverse/step-precsave.exp
8319 * gdb.reverse/step-reverse.exp
8320 * gdb.reverse/time-reverse.exp
8321 * gdb.reverse/until-precsave.exp
8322 * gdb.reverse/until-reverse.exp
8323 * gdb.reverse/waitpid-reverse.exp
8324 * gdb.reverse/watch-precsave.exp
8325 * gdb.reverse/watch-reverse.exp
8326
8327 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8328
8329 Fix test names starting with uppercase throughout the files.
8330
8331 * gdb.arch/i386-mpx-simple_segv.exp
8332 * gdb.arch/i386-mpx.exp
8333 * gdb.arch/i386-permbkpt.exp
8334 * gdb.arch/pa-nullify.exp
8335 * gdb.arch/powerpc-d128-regs.exp
8336 * gdb.arch/vsx-regs.exp
8337 * gdb.base/bfp-test.exp
8338 * gdb.base/break.exp
8339 * gdb.base/breakpoint-shadow.exp
8340 * gdb.base/callfuncs.exp
8341 * gdb.base/charset.exp
8342 * gdb.base/commands.exp
8343 * gdb.base/completion.exp
8344 * gdb.base/dfp-test.exp
8345 * gdb.base/echo.exp
8346 * gdb.base/ending-run.exp
8347 * gdb.base/eval.exp
8348 * gdb.base/expand-psymtabs.exp
8349 * gdb.base/float128.exp
8350 * gdb.base/floatn.exp
8351 * gdb.base/foll-exec-mode.exp
8352 * gdb.base/gdb1056.exp
8353 * gdb.base/gdb11531.exp
8354 * gdb.base/kill-after-signal.exp
8355 * gdb.base/multi-forks.exp
8356 * gdb.base/overlays.exp
8357 * gdb.base/pending.exp
8358 * gdb.base/sepdebug.exp
8359 * gdb.base/testenv.exp
8360 * gdb.base/valgrind-db-attach.exp
8361 * gdb.base/watch_thread_num.exp
8362 * gdb.base/watchpoint-cond-gone.exp
8363 * gdb.base/watchpoint.exp
8364 * gdb.base/watchpoints.exp
8365 * gdb.cp/arg-reference.exp
8366 * gdb.cp/baseenum.exp
8367 * gdb.cp/operator.exp
8368 * gdb.cp/shadow.exp
8369 * gdb.dwarf2/dw2-op-out-param.exp
8370 * gdb.dwarf2/dw2-reg-undefined.exp
8371 * gdb.go/chan.exp
8372 * gdb.go/hello.exp
8373 * gdb.go/integers.exp
8374 * gdb.go/methods.exp
8375 * gdb.go/package.exp
8376 * gdb.guile/scm-parameter.exp
8377 * gdb.guile/scm-progspace.exp
8378 * gdb.guile/scm-value.exp
8379 * gdb.mi/mi-pending.exp
8380 * gdb.mi/user-selected-context-sync.exp
8381 * gdb.multi/multi-attach.exp
8382 * gdb.multi/tids.exp
8383 * gdb.opt/clobbered-registers-O2.exp
8384 * gdb.pascal/floats.exp
8385 * gdb.pascal/integers.exp
8386 * gdb.python/py-block.exp
8387 * gdb.python/py-events.exp
8388 * gdb.python/py-parameter.exp
8389 * gdb.python/py-symbol.exp
8390 * gdb.python/py-symtab.exp
8391 * gdb.python/py-type.exp
8392 * gdb.python/py-value.exp
8393 * gdb.python/py-xmethods.exp
8394 * gdb.python/python.exp
8395 * gdb.reverse/break-precsave.exp
8396 * gdb.reverse/consecutive-precsave.exp
8397 * gdb.reverse/finish-precsave.exp
8398 * gdb.reverse/i386-precsave.exp
8399 * gdb.reverse/machinestate-precsave.exp
8400 * gdb.reverse/sigall-precsave.exp
8401 * gdb.reverse/solib-precsave.exp
8402 * gdb.reverse/step-precsave.exp
8403 * gdb.reverse/until-precsave.exp
8404 * gdb.reverse/watch-precsave.exp
8405 * gdb.server/ext-attach.exp
8406 * gdb.server/ext-restart.exp
8407 * gdb.server/ext-run.exp
8408 * gdb.server/ext-wrapper.exp
8409 * gdb.stabs/gdb11479.exp
8410 * gdb.stabs/weird.exp
8411 * gdb.threads/attach-many-short-lived-threads.exp
8412 * gdb.threads/kill.exp
8413 * gdb.threads/watchpoint-fork.exp
8414
8415 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8416
8417 Fix test names starting with uppercase throughout all the files below.
8418
8419 * gdb.ada/array_return.exp
8420 * gdb.ada/catch_ex.exp
8421 * gdb.ada/info_exc.exp
8422 * gdb.ada/mi_catch_ex.exp
8423 * gdb.ada/mi_dyn_arr.exp
8424 * gdb.ada/mi_ex_cond.exp
8425 * gdb.ada/mi_exc_info.exp
8426 * gdb.ada/mi_interface.exp
8427 * gdb.ada/mi_task_arg.exp
8428 * gdb.ada/mi_task_info.exp
8429 * gdb.ada/mi_var_array.exp
8430 * gdb.arch/alpha-step.exp
8431 * gdb.arch/amd64-disp-step.exp
8432 * gdb.arch/arm-disp-step.exp
8433 * gdb.arch/disp-step-insn-reloc.exp
8434 * gdb.arch/e500-prologue.exp
8435 * gdb.arch/ftrace-insn-reloc.exp
8436 * gdb.arch/gdb1558.exp
8437 * gdb.arch/i386-bp_permanent.exp
8438 * gdb.arch/i386-disp-step.exp
8439 * gdb.arch/i386-float.exp
8440 * gdb.arch/i386-gnu-cfi.exp
8441 * gdb.arch/ia64-breakpoint-shadow.exp
8442 * gdb.arch/mips16-thunks.exp
8443 * gdb.arch/pa-nullify.exp
8444 * gdb.arch/powerpc-aix-prologue.exp
8445 * gdb.arch/powerpc-power.exp
8446 * gdb.arch/ppc-dfp.exp
8447 * gdb.arch/s390-tdbregs.exp
8448 * gdb.arch/spu-info.exp
8449 * gdb.arch/spu-ls.exp
8450 * gdb.arch/thumb-bx-pc.exp
8451 * gdb.base/advance.exp
8452 * gdb.base/annota-input-while-running.exp
8453 * gdb.base/arrayidx.exp
8454 * gdb.base/asmlabel.exp
8455 * gdb.base/async.exp
8456 * gdb.base/attach-wait-input.exp
8457 * gdb.base/auto-connect-native-target.exp
8458 * gdb.base/batch-preserve-term-settings.exp
8459 * gdb.base/bfp-test.exp
8460 * gdb.base/bigcore.exp
8461 * gdb.base/bp-permanent.exp
8462 * gdb.base/break-always.exp
8463 * gdb.base/break-fun-addr.exp
8464 * gdb.base/break-idempotent.exp
8465 * gdb.base/break-main-file-remove-fail.exp
8466 * gdb.base/break-probes.exp
8467 * gdb.base/break-unload-file.exp
8468 * gdb.base/break.exp
8469 * gdb.base/call-ar-st.exp
8470 * gdb.base/call-rt-st.exp
8471 * gdb.base/call-sc.exp
8472 * gdb.base/call-signal-resume.exp
8473 * gdb.base/call-strs.exp
8474 * gdb.base/callexit.exp
8475 * gdb.base/callfuncs.exp
8476 * gdb.base/catch-gdb-caused-signals.exp
8477 * gdb.base/catch-signal-siginfo-cond.exp
8478 * gdb.base/catch-syscall.exp
8479 * gdb.base/compare-sections.exp
8480 * gdb.base/cond-eval-mode.exp
8481 * gdb.base/condbreak-call-false.exp
8482 * gdb.base/consecutive-step-over.exp
8483 * gdb.base/cursal.exp
8484 * gdb.base/disabled-location.exp
8485 * gdb.base/disasm-end-cu.exp
8486 * gdb.base/display.exp
8487 * gdb.base/double-prompt-target-event-error.exp
8488 * gdb.base/dprintf-bp-same-addr.exp
8489 * gdb.base/dprintf-detach.exp
8490 * gdb.base/dprintf-next.exp
8491 * gdb.base/dprintf-non-stop.exp
8492 * gdb.base/dprintf-pending.exp
8493 * gdb.base/dso2dso.exp
8494 * gdb.base/ending-run.exp
8495 * gdb.base/enum_cond.exp
8496 * gdb.base/examine-backward.exp
8497 * gdb.base/exe-lock.exp
8498 * gdb.base/exec-invalid-sysroot.exp
8499 * gdb.base/execl-update-breakpoints.exp
8500 * gdb.base/execution-termios.exp
8501 * gdb.base/fileio.exp
8502 * gdb.base/fixsection.exp
8503 * gdb.base/foll-exec-mode.exp
8504 * gdb.base/foll-exec.exp
8505 * gdb.base/fork-running-state.exp
8506 * gdb.base/frame-args.exp
8507 * gdb.base/fullpath-expand.exp
8508 * gdb.base/func-ptr.exp
8509 * gdb.base/gcore-relro-pie.exp
8510 * gdb.base/gdb1090.exp
8511 * gdb.base/gdb1555.exp
8512 * gdb.base/global-var-nested-by-dso.exp
8513 * gdb.base/gnu-ifunc.exp
8514 * gdb.base/hbreak-in-shr-unsupported.exp
8515 * gdb.base/hbreak-unmapped.exp
8516 * gdb.base/hook-stop.exp
8517 * gdb.base/infcall-input.exp
8518 * gdb.base/info-fun.exp
8519 * gdb.base/info-shared.exp
8520 * gdb.base/interrupt-noterm.exp
8521 * gdb.base/jit-so.exp
8522 * gdb.base/jit.exp
8523 * gdb.base/line-symtabs.exp
8524 * gdb.base/list.exp
8525 * gdb.base/longjmp.exp
8526 * gdb.base/macscp.exp
8527 * gdb.base/max-value-size.exp
8528 * gdb.base/nodebug.exp
8529 * gdb.base/nofield.exp
8530 * gdb.base/overlays.exp
8531 * gdb.base/paginate-after-ctrl-c-running.exp
8532 * gdb.base/paginate-bg-execution.exp
8533 * gdb.base/paginate-inferior-exit.exp
8534 * gdb.base/pending.exp
8535 * gdb.base/pr11022.exp
8536 * gdb.base/printcmds.exp
8537 * gdb.base/ptr-typedef.exp
8538 * gdb.base/ptype.exp
8539 * gdb.base/randomize.exp
8540 * gdb.base/range-stepping.exp
8541 * gdb.base/realname-expand.exp
8542 * gdb.base/relativedebug.exp
8543 * gdb.base/remote.exp
8544 * gdb.base/savedregs.exp
8545 * gdb.base/sepdebug.exp
8546 * gdb.base/set-noassign.exp
8547 * gdb.base/shlib-call.exp
8548 * gdb.base/shreloc.exp
8549 * gdb.base/sigaltstack.exp
8550 * gdb.base/sigbpt.exp
8551 * gdb.base/siginfo-addr.exp
8552 * gdb.base/siginfo-obj.exp
8553 * gdb.base/siginfo-thread.exp
8554 * gdb.base/signest.exp
8555 * gdb.base/signull.exp
8556 * gdb.base/sigrepeat.exp
8557 * gdb.base/skip.exp
8558 * gdb.base/so-impl-ld.exp
8559 * gdb.base/solib-corrupted.exp
8560 * gdb.base/solib-disc.exp
8561 * gdb.base/solib-display.exp
8562 * gdb.base/solib-overlap.exp
8563 * gdb.base/solib-search.exp
8564 * gdb.base/solib-symbol.exp
8565 * gdb.base/source-execution.exp
8566 * gdb.base/sss-bp-on-user-bp-2.exp
8567 * gdb.base/sss-bp-on-user-bp.exp
8568 * gdb.base/stack-checking.exp
8569 * gdb.base/stale-infcall.exp
8570 * gdb.base/step-break.exp
8571 * gdb.base/step-line.exp
8572 * gdb.base/step-over-exit.exp
8573 * gdb.base/step-test.exp
8574 * gdb.base/structs.exp
8575 * gdb.base/sym-file.exp
8576 * gdb.base/symtab-search-order.exp
8577 * gdb.base/term.exp
8578 * gdb.base/type-opaque.exp
8579 * gdb.base/unload.exp
8580 * gdb.base/until-nodebug.exp
8581 * gdb.base/until.exp
8582 * gdb.base/unwindonsignal.exp
8583 * gdb.base/watch-cond.exp
8584 * gdb.base/watch-non-mem.exp
8585 * gdb.base/watch_thread_num.exp
8586 * gdb.base/watchpoint-reuse-slot.exp
8587 * gdb.base/watchpoint-solib.exp
8588 * gdb.base/watchpoint.exp
8589 * gdb.btrace/dlopen.exp
8590 * gdb.cell/arch.exp
8591 * gdb.cell/break.exp
8592 * gdb.cell/bt.exp
8593 * gdb.cell/core.exp
8594 * gdb.cell/data.exp
8595 * gdb.cell/dwarfaddr.exp
8596 * gdb.cell/ea-cache.exp
8597 * gdb.cell/ea-standalone.exp
8598 * gdb.cell/ea-test.exp
8599 * gdb.cell/f-regs.exp
8600 * gdb.cell/fork.exp
8601 * gdb.cell/gcore.exp
8602 * gdb.cell/mem-access.exp
8603 * gdb.cell/ptype.exp
8604 * gdb.cell/registers.exp
8605 * gdb.cell/sizeof.exp
8606 * gdb.cell/solib-symbol.exp
8607 * gdb.cell/solib.exp
8608 * gdb.compile/compile-tls.exp
8609 * gdb.cp/exception.exp
8610 * gdb.cp/gdb2495.exp
8611 * gdb.cp/local.exp
8612 * gdb.cp/mb-inline.exp
8613 * gdb.cp/mb-templates.exp
8614 * gdb.cp/pr10687.exp
8615 * gdb.cp/pr9167.exp
8616 * gdb.cp/scope-err.exp
8617 * gdb.cp/templates.exp
8618 * gdb.cp/virtfunc.exp
8619 * gdb.dwarf2/dw2-dir-file-name.exp
8620 * gdb.dwarf2/dw2-single-line-discriminators.exp
8621 * gdb.fortran/complex.exp
8622 * gdb.fortran/library-module.exp
8623 * gdb.guile/guile.exp
8624 * gdb.guile/scm-cmd.exp
8625 * gdb.guile/scm-frame-inline.exp
8626 * gdb.guile/scm-objfile.exp
8627 * gdb.guile/scm-pretty-print.exp
8628 * gdb.guile/scm-symbol.exp
8629 * gdb.guile/scm-type.exp
8630 * gdb.guile/scm-value.exp
8631 * gdb.linespec/keywords.exp
8632 * gdb.linespec/ls-errs.exp
8633 * gdb.linespec/macro-relative.exp
8634 * gdb.linespec/thread.exp
8635 * gdb.mi/mi-breakpoint-changed.exp
8636 * gdb.mi/mi-dprintf-pending.exp
8637 * gdb.mi/mi-fullname-deleted.exp
8638 * gdb.mi/mi-logging.exp
8639 * gdb.mi/mi-pending.exp
8640 * gdb.mi/mi-solib.exp
8641 * gdb.mi/new-ui-mi-sync.exp
8642 * gdb.mi/user-selected-context-sync.exp
8643 * gdb.multi/dummy-frame-restore.exp
8644 * gdb.multi/multi-arch-exec.exp
8645 * gdb.multi/remove-inferiors.exp
8646 * gdb.multi/watchpoint-multi-exit.exp
8647 * gdb.opt/solib-intra-step.exp
8648 * gdb.perf/backtrace.exp
8649 * gdb.perf/single-step.exp
8650 * gdb.perf/skip-command.exp
8651 * gdb.perf/skip-prologue.exp
8652 * gdb.perf/solib.exp
8653 * gdb.python/lib-types.exp
8654 * gdb.python/py-as-string.exp
8655 * gdb.python/py-bad-printers.exp
8656 * gdb.python/py-block.exp
8657 * gdb.python/py-breakpoint.exp
8658 * gdb.python/py-cmd.exp
8659 * gdb.python/py-events.exp
8660 * gdb.python/py-evthreads.exp
8661 * gdb.python/py-finish-breakpoint.exp
8662 * gdb.python/py-finish-breakpoint2.exp
8663 * gdb.python/py-frame-inline.exp
8664 * gdb.python/py-frame.exp
8665 * gdb.python/py-inferior.exp
8666 * gdb.python/py-infthread.exp
8667 * gdb.python/py-mi.exp
8668 * gdb.python/py-objfile.exp
8669 * gdb.python/py-pp-maint.exp
8670 * gdb.python/py-pp-registration.exp
8671 * gdb.python/py-prettyprint.exp
8672 * gdb.python/py-recurse-unwind.exp
8673 * gdb.python/py-shared.exp
8674 * gdb.python/py-symbol.exp
8675 * gdb.python/py-symtab.exp
8676 * gdb.python/py-template.exp
8677 * gdb.python/py-type.exp
8678 * gdb.python/py-unwind-maint.exp
8679 * gdb.python/py-unwind.exp
8680 * gdb.python/py-value.exp
8681 * gdb.python/python.exp
8682 * gdb.reverse/finish-reverse-bkpt.exp
8683 * gdb.reverse/insn-reverse.exp
8684 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8685 * gdb.reverse/solib-precsave.exp
8686 * gdb.reverse/solib-reverse.exp
8687 * gdb.stabs/gdb11479.exp
8688 * gdb.stabs/weird.exp
8689 * gdb.threads/fork-child-threads.exp
8690 * gdb.threads/fork-plus-threads.exp
8691 * gdb.threads/fork-thread-pending.exp
8692 * gdb.threads/forking-threads-plus-breakpoint.exp
8693 * gdb.threads/hand-call-in-threads.exp
8694 * gdb.threads/interrupted-hand-call.exp
8695 * gdb.threads/linux-dp.exp
8696 * gdb.threads/local-watch-wrong-thread.exp
8697 * gdb.threads/next-while-other-thread-longjmps.exp
8698 * gdb.threads/non-ldr-exit.exp
8699 * gdb.threads/pending-step.exp
8700 * gdb.threads/print-threads.exp
8701 * gdb.threads/process-dies-while-detaching.exp
8702 * gdb.threads/process-dies-while-handling-bp.exp
8703 * gdb.threads/pthreads.exp
8704 * gdb.threads/queue-signal.exp
8705 * gdb.threads/reconnect-signal.exp
8706 * gdb.threads/signal-command-handle-nopass.exp
8707 * gdb.threads/signal-command-multiple-signals-pending.exp
8708 * gdb.threads/signal-delivered-right-thread.exp
8709 * gdb.threads/signal-sigtrap.exp
8710 * gdb.threads/sigthread.exp
8711 * gdb.threads/staticthreads.exp
8712 * gdb.threads/stepi-random-signal.exp
8713 * gdb.threads/thread-unwindonsignal.exp
8714 * gdb.threads/thread_check.exp
8715 * gdb.threads/thread_events.exp
8716 * gdb.threads/tid-reuse.exp
8717 * gdb.threads/tls-nodebug.exp
8718 * gdb.threads/tls-shared.exp
8719 * gdb.threads/tls-so_extern.exp
8720 * gdb.threads/tls.exp
8721 * gdb.threads/wp-replication.exp
8722 * gdb.trace/actions-changed.exp
8723 * gdb.trace/actions.exp
8724 * gdb.trace/backtrace.exp
8725 * gdb.trace/change-loc.exp
8726 * gdb.trace/collection.exp
8727 * gdb.trace/deltrace.exp
8728 * gdb.trace/disconnected-tracing.exp
8729 * gdb.trace/entry-values.exp
8730 * gdb.trace/ftrace-lock.exp
8731 * gdb.trace/ftrace.exp
8732 * gdb.trace/infotrace.exp
8733 * gdb.trace/mi-trace-frame-collected.exp
8734 * gdb.trace/mi-trace-unavailable.exp
8735 * gdb.trace/mi-traceframe-changed.exp
8736 * gdb.trace/mi-tracepoint-changed.exp
8737 * gdb.trace/mi-tsv-changed.exp
8738 * gdb.trace/no-attach-trace.exp
8739 * gdb.trace/packetlen.exp
8740 * gdb.trace/passc-dyn.exp
8741 * gdb.trace/passcount.exp
8742 * gdb.trace/pending.exp
8743 * gdb.trace/pr16508.exp
8744 * gdb.trace/qtro.exp
8745 * gdb.trace/range-stepping.exp
8746 * gdb.trace/read-memory.exp
8747 * gdb.trace/report.exp
8748 * gdb.trace/save-trace.exp
8749 * gdb.trace/signal.exp
8750 * gdb.trace/stap-trace.exp
8751 * gdb.trace/status-stop.exp
8752 * gdb.trace/strace.exp
8753 * gdb.trace/tfile.exp
8754 * gdb.trace/tfind.exp
8755 * gdb.trace/trace-break.exp
8756 * gdb.trace/trace-condition.exp
8757 * gdb.trace/trace-enable-disable.exp
8758 * gdb.trace/trace-mt.exp
8759 * gdb.trace/tracecmd.exp
8760 * gdb.trace/tracefile-pseudo-reg.exp
8761 * gdb.trace/tspeed.exp
8762 * gdb.trace/tstatus.exp
8763 * gdb.trace/tsv.exp
8764 * gdb.trace/unavailable.exp
8765 * gdb.trace/while-dyn.exp
8766 * gdb.trace/while-stepping.exp
8767 * lib/gdb-guile.exp
8768 * lib/gdb.exp
8769 * lib/mi-support.exp
8770 * lib/pascal.exp
8771 * lib/perftest.exp
8772 * lib/prelink-support.exp
8773 * lib/selftest-support.exp
8774
8775 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8776
8777 * Makefile.in: Include disable-implicit-rules.mk.
8778
8779 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8780
8781 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8782 non-byte-aligned bit fields.
8783
8784 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8785
8786 PR gdb/12616
8787 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8788 respects the DW_AT_data_bit_offset attribute.
8789
8790 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8791
8792 * gdb.base/default.exp: Fix output of "set language".
8793
8794 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8795
8796 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8797 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8798 make.
8799 * configure.ac: Remove checks for the make program.
8800 * configure: Re-generate.
8801
8802 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8803
8804 * gdb.python/py-recurse-unwind.c (main): Add loop.
8805 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8806 to read_register() and gdb.parse_and_eval(). Make each code
8807 call a separate case that can be individually tested.
8808 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8809 proc. Call cont_and_backtrace for each of the code paths that
8810 we want to test in the unwinder.
8811
8812 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8813
8814 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8815 the definition of struct S.
8816
8817 2016-11-11 Catherine Moore <clm@codesourcery.com>
8818
8819 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8820
8821 2016-11-09 Pedro Alves <palves@redhat.com>
8822
8823 * gdb.base/commands.exp (runto_or_return): New procedure.
8824 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8825 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8826 (progvar_simple_while_test, progvar_complex_if_while_test)
8827 (if_while_breakpoint_command_test)
8828 (infrun_breakpoint_command_test, breakpoint_command_test)
8829 (user_defined_command_test, watchpoint_command_test)
8830 (test_command_prompt_position, redefine_hook_test)
8831 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8832 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8833 multi_line_input and multi_line. Remove gdb_expect and
8834 gdb_stop_suppressing_tests uses.
8835 * lib/gdb.exp (valnum_re): New global.
8836 (multi_line_input): New procedure.
8837
8838 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8839
8840 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8841 Remove.
8842 (test_setup): Define with proc_with_prefix.
8843 (test_cli_inferior): Likewise.
8844 (test_cli_thread): Likewise.
8845 (test_cli_frame): Likewise.
8846 (test_cli_select_frame): Likewise.
8847 (test_cli_up_down): Likewise.
8848 (test_mi_thread_select): Likewise.
8849 (test_mi_stack_select_frame): Likewise.
8850 (test_cli_in_mi_inferior): Likewise.
8851 (test_cli_in_mi_thread): Likewise.
8852 (test_cli_in_mi_frame): Likewise.
8853 (top level): Do not use with_test_prefix_procname.
8854
8855 2016-11-09 Pedro Alves <palves@redhat.com>
8856
8857 * gdb.base/commands.exp (gdbvar_simple_if_test)
8858 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8859 (progvar_simple_if_test, progvar_simple_while_test)
8860 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8861 (infrun_breakpoint_command_test, breakpoint_command_test)
8862 (user_defined_command_test, watchpoint_command_test)
8863 (test_command_prompt_position, deprecated_command_test)
8864 (bp_deleted_in_command, temporary_breakpoint_commands)
8865 (stray_arg0_test, source_file_with_indented_comment)
8866 (recursive_source_test, if_commands_test)
8867 (error_clears_commands_left, redefine_hook_test)
8868 (redefine_backtrace_test): Use proc_with_prefix.
8869 * lib/gdb.exp (proc_with_prefix): New proc.
8870
8871 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8872
8873 * gdb.base/tui-layout.c: New file.
8874 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8875 disassembly window contains very long lines.
8876
8877 2016-11-08 Tom Tromey <tom@tromey.com>
8878
8879 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8880 depend on Python 2.
8881
8882 2016-11-08 Tom Tromey <tom@tromey.com>
8883
8884 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8885 New method.
8886
8887 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8888
8889 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8890
8891 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8892
8893 * gdb.rust/simple.rs: Add test for univariant enums without
8894 discriminants and for encoded struct-like enums.
8895
8896 2016-10-28 Pedro Alves <palves@redhat.com>
8897
8898 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8899 gdb_test_multiple, tighten regexps and match symtabs and line
8900 tables incrementally.
8901
8902 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8903
8904 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8905 general.
8906
8907 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8908
8909 * gdb.base/exec-invalid-sysroot.exp: New file.
8910
8911 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8912
8913 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8914
8915 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8916
8917 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8918
8919 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8920
8921 * gdb.base/killed-outside.exp: Remove $options from a call to
8922 `prepare_for_testing'.
8923
8924 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8925
8926 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8927 Change test message.
8928
8929 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8930
8931 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8932 Update comment.
8933
8934 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8935
8936 * gdb.trace/mi-trace-save.exp: New file.
8937
8938 2016-10-13 Yao Qi <yao.qi@linaro.org>
8939
8940 * gdb.base/code_elim.exp (get_var_address): Remove.
8941 * gdb.base/relocate.exp: Likewise.
8942 * gdb.base/shreloc.exp: Likewise.
8943 * lib/gdb.exp (get_var_address): New.
8944
8945 2016-10-13 Yao Qi <yao.qi@linaro.org>
8946
8947 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8948 floating point tests if $skip_float_test is false.
8949
8950 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8951
8952 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8953 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8954 argc values.
8955 Add 1 to argc so we guarantee distinct initial/modified argc values.
8956
8957 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8958
8959 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8960
8961 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8962
8963 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8964 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8965 * gdb.arch/vsx-regs.exp: Likewise.
8966
8967 2016-10-07 Yao Qi <yao.qi@linaro.org>
8968
8969 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8970
8971 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8972
8973 * gdb.python/python.exp: Test decode_line("*0").
8974
8975 2016-10-06 Doug Evans <dje@google.com>
8976
8977 * gdb.python/py-value.exp (test_value_creation): Add test for large
8978 unsigned 64-bit value.
8979
8980 2016-10-06 Tom Tromey <tom@tromey.com>
8981
8982 * gdb.compile/compile.exp: Change java tests to rust.
8983 * gdb.base/setshow.exp: Change java tests to rust.
8984 * gdb.base/default.exp: Remove java from language list.
8985 * README (Examples): Update language example.
8986 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8987 test.
8988 * lib/gdb.exp (skip_java_tests): Remove.
8989 * lib/java.exp: Remove.
8990 * gdb.java: Remove.
8991
8992 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8993
8994 * gdb.arch/mips-fcr.exp: New test.
8995 * gdb.arch/mips-fcr.c: Source for the new test.
8996
8997 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8998
8999 * gdb.base/solib-disc.exp: Use `standard_output_file'
9000 throughout.
9001
9002 2016-10-06 Pedro Alves <palves@redhat.com>
9003
9004 * gdb.base/jit-simple-dl.c: New file.
9005 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9006 * gdb.base/jit-simple.c: ... this.
9007 * gdb.base/jit-simple.exp (jit_run): Delete.
9008 (build_jit): New proc.
9009 (jit_test_reread): Recompile either the main program or the shared
9010 library, depending on what is being tested. Skip changing address
9011 if caller wants to. Compare before/after addresses. If testing
9012 standalone, explicitly load the binary. Test "maint info
9013 breakpoints".
9014 (top level): Add "standalone vs shared lib" and "change address"
9015 vs "same address" axes.
9016
9017 2016-10-06 Pedro Alves <palves@redhat.com>
9018
9019 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9020 call.
9021 (jit_run): Delete.
9022 (jit_test_reread): Use with_test_prefix. Reload the main binary
9023 explicitly. Compare the before/after addresses of the JIT
9024 descriptor.
9025
9026 2016-08-15 Doug Evans <dje@google.com>
9027
9028 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9029 for single bitfields is bool.
9030 * gdb.xml/tdesc-regs.exp: Ditto.
9031
9032 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9033
9034 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9035
9036 2016-10-05 Yao Qi <yao.qi@linaro.org>
9037
9038 * lib/gdb.exp (support_complex_tests): Return zero if
9039 gdb_skip_float_test return true.
9040
9041 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9042 Simon Marchi <simon.marchi@ericsson.com>
9043
9044 PR gdb/20487
9045 * gdb.mi/user-selected-context-sync.exp: New file.
9046 * gdb.mi/user-selected-context-sync.c: New file.
9047
9048 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9049 Simon Marchi <simon.marchi@ericsson.com>
9050
9051 PR gdb/20487
9052 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9053 =thread-select-event check.
9054
9055 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9056
9057 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9058 the compulsory L operand changes.
9059 * gdb.arch/powerpc-power.s: Likewise.
9060
9061 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9062
9063 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9064 * gdb.base/jit-attach-pie.c: New file.
9065 * gdb.base/jit-attach-pie.exp: New file.
9066
9067 2016-09-28 Pedro Alves <palves@redhat.com>
9068
9069 * gdb.base/infcall-input.c: New file.
9070 * gdb.base/infcall-input.exp: New file.
9071
9072 2016-09-22 Yao Qi <yao.qi@linaro.org>
9073
9074 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9075 (gdb_exit): Rename it to ...
9076 (gdbserver_gdb_exit): ... Close GDBserver.
9077 (gdb_exit): New proc, call gdbserver_gdb_exit.
9078 (mi_gdb_exit): Likewise.
9079
9080 2016-09-22 Yao Qi <yao.qi@linaro.org>
9081
9082 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9083 path.
9084 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9085 Remove duplication.
9086
9087 2016-09-22 Yao Qi <yao.qi@linaro.org>
9088
9089 * lib/gdbserver-support.exp: Check the existence of
9090 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9091
9092 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9093
9094 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9095
9096 2016-09-21 Tom Tromey <tom@tromey.com>
9097
9098 PR gdb/20604:
9099 * gdb.base/quit.exp: New file.
9100
9101 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9102
9103 * .gitignore: New file.
9104
9105 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9106
9107 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9108 throughout.
9109
9110 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9111
9112 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9113
9114 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9115
9116 * gdb.cp/casts.cc (decltype): Move it ...
9117 (main): ... with its call to ...
9118 * gdb.cp/casts03.cc: ... a new file.
9119 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9120
9121 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9122
9123 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9124
9125 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9126
9127 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9128 and sync up the test with tests in gas/testsuite/gas/ppc.
9129 * gdb.arch/powerpc-power.exp: Likewise.
9130
9131 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9132
9133 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9134
9135 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9136 Jan Kratochvil <jan.kratochvil@redhat.com>
9137
9138 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9139 make m1's definition to be different from m2's. Use 'dummy' as an
9140 argument for probe 'two'.
9141
9142 2016-09-10 Jon Beniston <jon@beniston.com>
9143
9144 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9145 for sim target.
9146
9147 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9148
9149 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9150 variable declaration.
9151 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9152 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9153 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9154 received HWCAP as its argument.
9155
9156 2016-09-06 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/new-ui-pending-input.c: New file.
9159 * gdb.base/new-ui-pending-input.exp: New file.
9160 * gdb.exp (clear_gdb_spawn_id): New procedure.
9161 (with_spawn_id): Check whether gdb_spawn_id exists before
9162 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9163 on exit.
9164
9165 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9166
9167 * gdb.base/float128.c: New file.
9168 * gdb.base/float128.exp: Likewise.
9169 * gdb.base/floatn.c: Likewise.
9170 * gdb.base/floatn.exp: Likewise.
9171
9172 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9173
9174 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9175
9176 2016-09-05 Pedro Alves <palves@redhat.com>
9177
9178 PR backtrace/19927
9179 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9180 unwinders are immediately called as side effect of "source" or
9181 "disable unwinder" commands.
9182 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9183
9184 2016-09-02 Yao Qi <yao.qi@linaro.org>
9185
9186 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9187 is true and $type is "float" or "double".
9188
9189 2016-09-02 Yao Qi <yao.qi@linaro.org>
9190
9191 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9192 true.
9193 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9194 * gdb.base/call-rt-st.exp: Likewise.
9195 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9196 return value instead of gdb,skip_float_test.
9197 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9198 (do_function_calls): Use its return value instead of
9199 gdb,skip_float_test.
9200 * gdb.base/finish.exp: Likewise.
9201 * gdb.base/funcargs.exp: Likewise.
9202 * gdb.base/return.exp: Likewise.
9203 * gdb.base/return2.exp: Likewise.
9204 * gdb.base/varargs.exp: Likewise.
9205 * lib/gdb.exp (gdb_skip_float_test): Change it to
9206 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9207
9208 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9209
9210 * gdb.multi/tids.exp: Test "thread apply all".
9211
9212 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9213
9214 * gdb.base/default.exp (tty): Remove.
9215
9216 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9217
9218 * gdb.python/py-recurse-unwind.c: New file.
9219 * gdb.python/py-recurse-unwind.py: New file.
9220 * gdb.python/py-recurse-unwind.exp: New file.
9221
9222 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9223
9224 * gdb.base/set-inferior-tty.exp: New file.
9225 * gdb.base/set-inferior-tty.c: New file.
9226
9227 2016-08-23 Pedro Alves <palves@redhat.com>
9228
9229 PR gdb/20494
9230 * gdb.base/new-ui-echo.c: New file.
9231 * gdb.base/new-ui-echo.exp: New file.
9232
9233 2016-08-23 Yao Qi <yao.qi@linaro.org>
9234
9235 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9236 gdbserver_spawn.
9237 * gdb.server/connect-without-multi-process.exp (do_test):
9238 Likewise.
9239
9240 2016-08-23 Yao Qi <yao.qi@linaro.org>
9241
9242 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9243 standalone_txt. Delete gdb_txt and standalone_txt on host
9244 and target. Spawn the binary on target. Copy files from
9245 target to host.
9246
9247 2016-08-22 Pedro Alves <palves@redhat.com>
9248
9249 PR gdb/20505
9250 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9251 with_test_prefix. Factor out bits to ...
9252 (test_no_vdso): ... this new procedure.
9253
9254 2016-08-19 Carl Love <cel@us.ibm.com>
9255
9256 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9257 maintaining separate logic for constructing the output path.
9258 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9259 * gdb.arch/ppc-dfp.exp: Likewise.
9260 * gdb.arch/ppc-fp.exp: Likewise.
9261 * gdb.arch/vsx-regs.exp: Likewise.
9262 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9263 binprefix for generating the additional binary files.
9264
9265 2016-08-19 Pedro Alves <palves@redhat.com>
9266
9267 * gdb.trace/mi-trace-frame-collected.exp
9268 (test_trace_frame_collected): On x32, expect two registers.
9269
9270 2016-08-18 Carl Love <cel@us.ibm.com>
9271
9272 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9273 and sync up the test with tests in gas/testsuite/gas/ppc.
9274 * gdb.arch/powerpc-power.exp: Likewise.
9275
9276 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9277
9278 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9279 expected error message.
9280
9281 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9282
9283 * gdb.multi/remove-inferiors.exp: New file.
9284 * gdb.multi/remove-inferiors.c: New file.
9285
9286 2016-08-12 Yao Qi <yao.qi@linaro.org>
9287
9288 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9289 argument list.
9290
9291 2016-08-10 Pedro Alves <palves@redhat.com>
9292
9293 PR gdb/19187
9294 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9295 setup_kfails.
9296
9297 2016-08-09 Pedro Alves <palves@redhat.com>
9298 Simon Marchi <simon.marchi@ericsson.com>
9299
9300 PR gdb/20418
9301 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9302 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9303
9304 2016-08-09 Pedro Alves <palves@redhat.com>
9305
9306 PR mi/20431
9307 * gdb.mi/mi-cmd-error.exp: New file.
9308
9309 2016-08-09 Pedro Alves <palves@redhat.com>
9310
9311 PR gdb/18653
9312 * gdb.base/signals-state-child.c: New file.
9313 * gdb.base/signals-state-child.exp: New file.
9314 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9315
9316 2016-08-09 Pedro Alves <palves@redhat.com>
9317
9318 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9319
9320 2016-08-03 Tom Tromey <tom@tromey.com>
9321
9322 PR python/18565:
9323 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9324
9325 2016-08-01 Yao Qi <yao.qi@linaro.org>
9326
9327 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9328 variable mode to "multi-process" if $multi_process is 1, otherwise
9329 set it to "single-process".
9330
9331 2016-08-01 Yao Qi <yao.qi@linaro.org>
9332
9333 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9334 * gdb.cp/cpexprs.exp: Likewise.
9335 * gdb.cp/m-static.exp: Likewise.
9336
9337 2016-07-26 Tom Tromey <tom@tromey.com>
9338
9339 PR python/20190:
9340 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9341 test.
9342
9343 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9344
9345 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9346 selecting assembly source files.
9347 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9348 assembly source files.
9349 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9350 assembly source files.
9351 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9352 selecting assembly source files.
9353
9354 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9355
9356 * gdb.base/new-ui.exp (do_test_invalid_args): New
9357 procedure.
9358
9359 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9360
9361 * gdb.btrace/reconnect.c: New file.
9362 * gdb.btrace/reconnect.exp: New file.
9363
9364 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9365
9366 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9367 to test_catch_syscall_group.
9368 (test_catch_syscall_group): New.
9369
9370 2016-07-21 Tom Tromey <tom@tromey.com>
9371
9372 * gdb.rust/simple.rs (main): Use empty struct expression.
9373 * gdb.rust/simple.exp: Add tests for empty struct expression.
9374
9375 2016-07-21 Yao Qi <yao.qi@linaro.org>
9376
9377 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9378 if gdb_skip_xml_test is true on some targets.
9379
9380 2016-07-21 Yao Qi <yao.qi@linaro.org>
9381
9382 * gdb.server/solib-list.exp: Unset last_loaded_file.
9383
9384 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9385
9386 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9387 "step into captured_main (args)".
9388
9389 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9390
9391 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9392
9393 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9394
9395 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9396
9397 2016-07-19 Pedro Alves <palves@redhat.com>
9398
9399 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9400 * gdb.opt/inline-bt.exp: Likewise.
9401 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9402 additional_flags=-Winline.
9403 * gdb.opt/inline-locals.exp: Likewise.
9404 * gdb.opt/inline-markers.c (ATTR): Define.
9405 (inlined_fn): Use it.
9406
9407 2016-07-19 Yao Qi <yao.qi@linaro.org>
9408
9409 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9410 (test_with_self): Remove some code. Remove argument executable.
9411 (top-level): Use do_self_tests.
9412
9413 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9414 Don Breazeal <donb@codesourcery.com>
9415
9416 * gdb.base/maint.exp: Escape paths used in regular expressions.
9417 * gdb.stabs/weird.exp: Likewise.
9418
9419 2016-07-13 Tom Tromey <tom@tromey.com>
9420
9421 PR python/15620, PR python/18620:
9422 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9423 (test_bkpt_events): New procs.
9424
9425 2016-07-13 Tom Tromey <tom@tromey.com>
9426
9427 PR python/17698:
9428 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9429 test.
9430 (test_watchpoints): Likewise.
9431 (test_bkpt_pending): New proc.
9432
9433 2016-07-13 Tom Tromey <tom@tromey.com>
9434
9435 PR cli/18053:
9436 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9437 completion test.
9438
9439 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9440
9441 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9442 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9443 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9444 f_label.
9445 (g): Rename g_end_lbl to g_label.
9446 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9447 low_pc and high_pc.
9448 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9449
9450 2016-07-12 Tom Tromey <tom@tromey.com>
9451
9452 PR python/19293:
9453 * gdb.python/py-unwind-maint.exp: Update tests.
9454
9455 2016-07-12 Yao Qi <yao.qi@linaro.org>
9456
9457 * lib/selftest-support.exp (selftest_setup): Match the output
9458 when captured_main is inlined.
9459
9460 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9461
9462 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9463 New variables.
9464 (print this%a, print this%b, print this): New tests.
9465 * gdb.fortran/derived-types.f90 (this): New object and
9466 initialization.
9467
9468 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9469
9470 * gdb.ada/arraydim.exp: Remove extra directory level in build
9471 directory.
9472
9473 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9474
9475 * lib/ada.exp: Remove extra directory level in build directory.
9476 * gdb.ada/cond_lang.exp: Likewise.
9477 * gdb.ada/exec_changed.exp: Likewise.
9478 * gdb.ada/lang_switch.exp: Likewise.
9479
9480 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9481
9482 * simple.rs: Add test for raw pointer subscripting.
9483 * simple.exp: Add test expectations.
9484
9485 2016-07-05 Yao Qi <yao.qi@linaro.org>
9486
9487 * gdb.mi/mi-reverse.exp: Match =record-started output.
9488
9489 2016-07-01 Pedro Alves <palves@redhat.com>
9490
9491 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9492 procedure.
9493 (jit_reader_test): Test the jit reader's unwinder.
9494 * gdb.base/jithost.c (jit_function_00_code): New global.
9495 (main): Use memcpy to fill in the mmapped code, instead of poking
9496 bytes manually here.
9497 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9498 value.
9499 (read_debug_info): Save the function's range.
9500 (read_sp): New function.
9501 (unwind_frame): Use it. Also unwind RBP.
9502 (get_frame_id): Use read_sp.
9503 (gdb_init_reader): Use calloc instead of malloc.
9504 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9505 parameter. Use gdb_test_multiple.
9506
9507 2016-07-01 Pedro Alves <palves@redhat.com>
9508 Antoine Tremblay <antoine.tremblay@ericsson.com>
9509
9510 * gdb.threads/process-dies-while-detaching.c: New file.
9511 * gdb.threads/process-dies-while-detaching.exp: New file.
9512
9513 2016-07-01 Pedro Alves <palves@redhat.com>
9514
9515 * gdb.multi/watchpoint-multi-exit.c: New file.
9516 * gdb.multi/watchpoint-multi-exit.exp: New file.
9517
9518 2016-06-30 Pedro Alves <palves@redhat.com>
9519
9520 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9521 unset inferior_spawn_id.
9522
9523 2016-06-30 Pedro Alves <palves@redhat.com>
9524
9525 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9526 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9527
9528 2016-06-29 Yao Qi <yao.qi@linaro.org>
9529
9530 * gdb.base/return.c: Add copyright header.
9531
9532 2016-06-29 Tom Tromey <tom@tromey.com>
9533
9534 PR python/20129:
9535 * gdb.python/py-framefilter.exp: Add tests for setting priority
9536 and disabling of non-existent frame filter.
9537
9538 2016-06-29 Yao Qi <yao.qi@linaro.org>
9539
9540 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9541 0x0f07ff.
9542
9543 2016-06-28 Yao Qi <yao.qi@linaro.org>
9544
9545 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9546 triplets. Start gdb, execute catch syscall, and continue. Check
9547 gdb's output to determine catch syscall is supported.
9548
9549 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9550
9551 * gdb.rust/simple.rs: Add test for returning unit in a function.
9552 * gdb.rust/simple.exp: Add expectation for functions returning
9553 unit.
9554
9555 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9556
9557 * gdb.python/py-breakpoint-create-fail.c,
9558 gdb.python/py-breakpoint-create-fail.exp,
9559 gdb.python/py-breakpoint-create-fail.py: New testcase.
9560
9561 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9562
9563 PR gdb/20239
9564 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9565 * gdb.rust/simple.exp: Add test expectations for new NonZero
9566 tests.
9567
9568 2016-06-24 David Taylor <dtaylor@emc.com>
9569
9570 * gdb.base/offsets.exp: New file.
9571 * gdb.base/offsets.c: New file.
9572
9573 2016-06-23 Tom Tromey <tom@tromey.com>
9574
9575 PR gdb/16483:
9576 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9577 before any filters are loaded.
9578
9579 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9580
9581 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9582 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9583 structs.
9584 * gdb.fortran/derived-type-function.exp: New file.
9585 * gdb.fortran/derived-type-function.f90: New file.
9586
9587
9588 2016-06-21 Pedro Alves <palves@redhat.com>
9589
9590 * gdb.base/new-ui.exp: New file.
9591 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9592 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9593 (with_spawn_id): New procedure.
9594
9595 2016-06-21 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.mi/mi-exec-run.exp: New file.
9598
9599 2016-06-21 Pedro Alves <palves@redhat.com>
9600
9601 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9602 breakpoint command's output on the main UI.
9603 (test_break): New procedure, factored out from calls in the top
9604 level.
9605 (top level): Use foreach_with_prefix to test MI as main UI and as
9606 separate UI.
9607
9608 2016-06-21 Pedro Alves <palves@redhat.com>
9609
9610 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9611 (test_awatch_creation_and_listing)
9612 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9613 Remove 'type' parameter.
9614 (test_watchpoint_all): New parameter mi_mode. Remove
9615 with_test_prefix.
9616 (top level): Use foreach_with_prefix, and add main/separate UI MI
9617 testing axis.
9618
9619 2016-06-21 Pedro Alves <palves@redhat.com>
9620
9621 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9622 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9623 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9624 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9625 (gdb_main_spawn_id, mi_spawn_id): Declare and
9626 comment.
9627 (mi_create_inferior_pty): New procedure,
9628 factored out from default_mi_gdb_start.
9629 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9630 procedures.
9631 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9632 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9633 Use mi_create_inferior_pty.
9634 (mi_gdb_start): Use eval to pass down args list.
9635
9636 2016-06-21 Pedro Alves <palves@redhat.com>
9637
9638 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9639 * gdb.opt/inline-cmds.exp: Add MI tests.
9640
9641 2016-06-21 Pedro Alves <palves@redhat.com>
9642
9643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9644
9645 2016-06-21 Pedro Alves <palves@redhat.com>
9646
9647 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9648 (top level): Use it instead of mi_execute_to.
9649
9650 2016-06-21 Pedro Alves <palves@redhat.com>
9651
9652 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9653 (cont_handler_str): New.
9654 (signal_stop_handler): Set stop_handler_str instead of printing to
9655 stdout.
9656 (continue_handler): Set cont_handler_str instead of printing to
9657 stdout.
9658 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9659 mi_send_resuming_command. Print stop_handler_str and
9660 cont_handler_str instead of expecting the python events print
9661 directly.
9662
9663 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9664
9665 * gdb.base/jit-reader.exp: New file.
9666 * gdb.base/jithost.c: New file.
9667 * gdb.base/jithost.h: New file.
9668 * gdb.base/jitreader.c : New file.
9669 * gdb.base/jit-protocol.h: New file.
9670
9671 2016-06-17 Yao Qi <yao.qi@linaro.org>
9672
9673 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9674 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9675 and detach-on-fork. Adjust tests.
9676 (top level): Invoke break_cond_on_syscall with combinations of
9677 syscall, follow-fork-mode and detach-on-fork.
9678
9679 2016-06-17 Yao Qi <yao.qi@linaro.org>
9680
9681 * gdb.base/step-over-exit.c: New.
9682 * gdb.base/step-over-exit.exp: New.
9683
9684 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9685
9686 * gdb.base/float.exp: Add target check for nds32*-*-*.
9687 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9688
9689 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9690
9691 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9692 for unsupported target features.
9693 * gdb.base/call-rt-st.exp: Likewise.
9694 * gdb.base/call-sc.exp: Likewise.
9695 * gdb.base/call-signal-resume.exp: Likewise.
9696 * gdb.base/call-strs.exp: Likewise.
9697 * gdb.base/callexit.exp: Likewise.
9698 * gdb.base/callfuncs.exp: Likewise.
9699 * gdb.base/nodebug.exp: Likewise.
9700 * gdb.base/printcmds.exp: Likewise.
9701 * gdb.base/ptype.exp: Likewise.
9702 * gdb.base/structs.exp: Likewise.
9703 * gdb.base/unwindonsignal.exp: Likewise.
9704 * gdb.cp/gdb2495.exp: Likewise.
9705 * gdb.cp/templates.exp: Likewise.
9706 * gdb.cp/virtfunc.exp: Likewise.
9707 * gdb.threads/hand-call-in-threads.exp: Likewise.
9708 * gdb.threads/interrupted-hand-call.exp: Likewise.
9709 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9710
9711 2016-06-10 Tom Tromey <tom@tromey.com>
9712
9713 PR rust/20110:
9714 * gdb.rust/expr.exp: Add test for integer constant larger than
9715 i32.
9716
9717 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9718
9719 * gdb.fortran/nested-funcs.exp: New.
9720 * gdb.fortran/nested-funcs.f90: New.
9721
9722 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9723
9724 * gdb.base/examine-backward.c: New file.
9725 * gdb.base/examine-backward.exp: New file.
9726
9727 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9728
9729 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9730 matching.
9731
9732 2016-06-02 Tom Tromey <tom@tromey.com>
9733
9734 PR python/18984:
9735 * gdb.python/py-shared.exp: Add solib_name test.
9736
9737 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9738
9739 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9740
9741 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9742
9743 PR c++/19893
9744 * gdb.dwarf2/implref.exp: Rename to...
9745 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9746 * gdb.dwarf2/implref-array.c: New file.
9747 * gdb.dwarf2/implref-array.exp: Likewise.
9748 * gdb.dwarf2/implref-global.c: Likewise.
9749 * gdb.dwarf2/implref-global.exp: Likewise.
9750 * gdb.dwarf2/implref-struct.c: Likewise.
9751 * gdb.dwarf2/implref-struct.exp: Likewise.
9752
9753 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9754
9755 * gdb.trace/trace-condition.exp: Add 64bit tests.
9756
9757 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9758
9759 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9760 bits types.
9761 (main): Adapt to 8 to 64 bits types.
9762 * gdb.trace/trace-condition.exp: Add new tests.
9763
9764 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9765
9766 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9767
9768 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9769
9770 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9771 Move condition tests...
9772 * gdb.trace/trace-condition.exp: Here.
9773
9774 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9775
9776 * gdb.trace/trace-condition.exp: Add counter-case tests.
9777
9778 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9779
9780 PR c++/15231
9781 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9782 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9783
9784 2016-05-27 Pedro Alves <palves@redhat.com>
9785
9786 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9787 New procedure.
9788 (top level): Call it, and bail out of DejaGnu is known to be bad.
9789
9790 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9791
9792 * gdb.base/whatis.c: Extend the test case.
9793 * gdb.base/whatis.exp: Add additional tests.
9794
9795 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9796
9797 * gdb.fortran/type.f90: Add pointer variable.
9798 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9799
9800 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9801
9802 * gdb.fortran/vla-type.exp: Fix testcase name.
9803
9804 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9805
9806 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9807
9808 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9809
9810 * gdb.fortran/type.f90: Add nested structures.
9811 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9812 * gdb.fortran/derived-type.exp: Adapt expected output.
9813 * gdb.fortran/vla-type.exp: Adapt expected output.
9814
9815 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9816
9817 * gdb.fortran/whatis_type.exp: Adapt expected output.
9818
9819 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9820
9821 * gdb.fortran/print_type.exp: Fix expected output.
9822 * gdb.fortran/whatis_type.exp: Fix expected output.
9823
9824 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9825
9826 * gdb.fortran/whatis_type.exp: Use multi_line.
9827
9828 2016-05-24 Tom Tromey <tom@tromey.com>
9829
9830 PR python/17386:
9831 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9832 use value as an index.
9833
9834 2016-05-23 Tom Tromey <tom@tromey.com>
9835
9836 PR python/17981:
9837 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9838 no-breakpoint case.
9839
9840 2016-05-24 Pedro Alves <palves@redhat.com>
9841
9842 PR gdb/19828
9843 * gdb.threads/clone-attach-detach.c: New file.
9844 * gdb.threads/clone-attach-detach.exp: New file.
9845
9846 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9847
9848 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9849
9850 2016-05-23 Tom Tromey <tom@tromey.com>
9851
9852 PR python/19438, PR python/18393:
9853 * gdb.python/py-progspace.exp: Add "dir" test.
9854 * gdb.python/py-objfile.exp: Add "dir" test.
9855
9856 2016-05-23 Yao Qi <yao.qi@linaro.org>
9857
9858 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9859 * gdb.arch/thumb2-it.exp: Likewise.
9860
9861 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9862
9863 * gdb.mi/mi-threads-interrupt.c: New file.
9864 * gdb.mi/mi-threads-interrupt.exp: New file.
9865
9866 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9867
9868 PR gdb/18077
9869 * gdb.mi/mi-async-run.exp: New file.
9870 * gdb.mi/mi-async-run.c: New file.
9871
9872 2016-05-17 Tom Tromey <tom@tromey.com>
9873 Manish Goregaokar <manishsmail@gmail.com>
9874
9875 * lib/rust-support.exp: New file.
9876 * lib/gdb.exp (skip_rust_tests): New proc.
9877 (build_executable_from_specs): Handle rust.
9878 * lib/future.exp (gdb_find_rustc): New proc.
9879 (gdb_default_target_compile): Handle rust.
9880 * gdb.rust/expr.exp: New file.
9881 * gdb.rust/generics.exp: New file.
9882 * gdb.rust/generics.rs: New file.
9883 * gdb.rust/methods.exp: New file.
9884 * gdb.rust/methods.rs: New file.
9885 * gdb.rust/modules.exp: New file.
9886 * gdb.rust/modules.rs: New file.
9887 * gdb.rust/simple.exp: New file.
9888 * gdb.rust/simple.rs: New file.
9889
9890 2016-05-17 Tom Tromey <tom@tromey.com>
9891
9892 * gdb.base/default.exp (set language): Add rust.
9893
9894 2016-05-17 Tom Tromey <tom@tromey.com>
9895
9896 * gdb.gdb/unittest.exp: New file.
9897
9898 2016-05-16 Yao Qi <yao.qi@linaro.org>
9899
9900 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9901 shell_prompt. Update shell_prompt_re.
9902
9903 2016-05-12 Doug Evans <dje@google.com>
9904
9905 PR symtab/19999
9906 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9907 $options when building executable.
9908 * gdb.dwarf2/fission-loclists-pie.S: New file.
9909 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9910
9911 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9912
9913 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9914 of [is_remote target],
9915
9916 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9917
9918 * lib/gdb.exp (use_gdb_stub): New procedure.
9919
9920 2016-05-03 Yunlian Jiang <yunlian@google.com>
9921 Doug Evans <dje@google.com>
9922
9923 PR symtab/19914
9924 * gdb.dwarf2/dwp-sepdebug.c: New file.
9925 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9926
9927 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9928
9929 * gdb.base/detach.exp: Remove is_remote check.
9930
9931 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9932
9933 * gdb.base/annota-input-while-running.exp: Don't check for
9934 [is_remote target]. Enable annotations after running to main.
9935 Remove unused "set test..." line.
9936
9937 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9938
9939 * gdb.trace/trace-enable-disable.exp: New file.
9940 * gdb.trace/trace-enable-disable.c: New file.
9941
9942 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9943
9944 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9945 use it in info sharedlibrary test.
9946 * gdb.trace/ftrace-lock.exp: Likewise.
9947 * gdb.trace/ftrace.exp: Likewise.
9948 * gdb.trace/range-stepping.exp: Likewise.
9949 * gdb.trace/trace-break.exp: Likewise.
9950 * gdb.trace/trace-condition.exp: Likewise.
9951 * gdb.trace/trace-mt.exp: Likewise.
9952
9953 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9954
9955 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9956 (gdb_load_shlib): ... this.
9957 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9958 gdb_load_shlib.
9959 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9960 * gdb.base/ctxobj.exp: Likewise.
9961 * gdb.base/dprintf-pending.exp: Likewise.
9962 * gdb.base/dso2dso.exp: Likewise.
9963 * gdb.base/fixsection.exp: Likewise.
9964 * gdb.base/gcore-relro.exp: Likewise.
9965 * gdb.base/gdb1555.exp: Likewise.
9966 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9967 * gdb.base/gnu-ifunc.exp: Likewise.
9968 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9969 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9970 * gdb.base/pending.exp: Likewise.
9971 * gdb.base/print-file-var.exp: Likewise.
9972 * gdb.base/print-symbol-loading.exp: Likewise.
9973 * gdb.base/shlib-call.exp: Likewise.
9974 * gdb.base/shreloc.exp: Likewise.
9975 * gdb.base/so-impl-ld.exp: Likewise.
9976 * gdb.base/solib-disc.exp: Likewise.
9977 * gdb.base/solib-nodir.exp: Likewise.
9978 * gdb.base/solib-overlap.exp: Likewise.
9979 * gdb.base/solib-symbol.exp: Likewise.
9980 * gdb.base/solib-weak.exp (do_test): Likewise.
9981 * gdb.base/sym-file.exp: Likewise.
9982 * gdb.base/symtab-search-order.exp: Likewise.
9983 * gdb.base/type-opaque.exp: Likewise.
9984 * gdb.base/unload.exp: Likewise.
9985 * gdb.base/watchpoint-solib.exp: Likewise.
9986 * gdb.compile/compile.exp: Likewise.
9987 * gdb.cp/gdb2384.exp: Likewise.
9988 * gdb.cp/infcall-dlopen.exp: Likewise.
9989 * gdb.cp/re-set-overloaded.exp: Likewise.
9990 * gdb.fortran/library-module.exp: Likewise.
9991 * gdb.opt/solib-intra-step.exp: Likewise.
9992 * gdb.python/py-finish-breakpoint.exp: Likewise.
9993 * gdb.python/py-shared.exp: Likewise.
9994 * gdb.reverse/solib-precsave.exp: Likewise.
9995 * gdb.reverse/solib-reverse.exp: Likewise.
9996 * gdb.server/solib-list.exp: Likewise.
9997 * gdb.threads/dlopen-libpthread.exp: Likewise.
9998 * gdb.threads/tls-shared.exp: Likewise.
9999 * gdb.threads/tls-so_extern.exp: Likewise.
10000 * gdb.trace/change-loc.exp: Likewise.
10001 * gdb.trace/ftrace-lock.exp: Likewise.
10002 * gdb.trace/ftrace.exp: Likewise.
10003 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10004 * gdb.trace/pending.exp: Likewise.
10005 * gdb.trace/range-stepping.exp: Likewise.
10006 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10007 (strace_info_marker): Likewise.
10008 (strace_probe_marker): Likewise.
10009 (strace_trace_on_same_addr): Likewise.
10010 (strace_trace_on_diff_addr): Likewise.
10011 * gdb.trace/trace-break.exp: Likewise.
10012 * gdb.trace/trace-condition.exp: Likewise.
10013 * gdb.trace/trace-mt.exp: Likewise.
10014
10015 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10016
10017 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10018 result of gdb_remote_download.
10019 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10020 * gdb.base/dso2dso.exp: Likewise.
10021 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10022 * gdb.base/print-file-var.exp: Likewise.
10023 * gdb.base/shlib-call.exp: Likewise.
10024 * gdb.base/shreloc.exp: Likewise.
10025 * gdb.base/solib-overlap.exp: Likewise.
10026 * gdb.base/solib-weak.exp (do_test): Likewise.
10027 * gdb.base/unload.exp: Likewise.
10028
10029 2016-04-27 Yao Qi <yao.qi@linaro.org>
10030
10031 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10032 exists.
10033
10034 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10035
10036 * vla-type.exp: Print structure from toplevel.
10037
10038 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10039
10040 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10041 of dynamic types.
10042 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10043 of dynamic types.
10044
10045 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10046
10047 * gdb.fortran/vla-type.f90: New file.
10048 * gdb.fortran/vla-type.exp: New file.
10049
10050 2016-04-25 Yao Qi <yao.qi@linaro.org>
10051
10052 * gdb.base/branch-to-self.c: New file.
10053 * gdb.base/branch-to-self.exp: New file.
10054
10055 2016-04-22 Yao Qi <yao.qi@linaro.org>
10056
10057 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10058 more after $hex.
10059
10060 2016-04-22 Yao Qi <yao.qi@linaro.org>
10061
10062 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10063 * gdb.base/annota3.exp: Likewise.
10064
10065 2016-04-22 Yao Qi <yao.qi@linaro.org>
10066
10067 * gdb.reverse/step-precsave.exp: Do one step and test program
10068 stops in "callee" and do multiple steps until program goes out
10069 of "callee".
10070 * gdb.reverse/step-reverse.exp: Likewise.
10071
10072 2016-04-22 Yao Qi <yao.qi@linaro.org>
10073
10074 * gdb.trace/signal.exp: Also pass if
10075 $tracepoint_hits($i) > $iterations.
10076
10077 2016-04-22 Yao Qi <yao.qi@linaro.org>
10078
10079 * gdb.trace/signal.c: New file.
10080 * gdb.trace/signal.exp: New file.
10081
10082 2016-04-19 Doug Evans <xdje42@gmail.com>
10083
10084 * gdb.base/bad-file.exp: New file.
10085
10086 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10087
10088 * gdb.dwarf2/implref.exp: New file.
10089
10090 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10091
10092 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10093 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10094 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10095 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10096 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10097 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10098 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10099 * lib/fortran.exp (fortran_int4): New procedure.
10100 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10101 (fortran_logical4): Likewise.
10102
10103 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10104
10105 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10106
10107 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10108
10109 * lib/compiler.c: Add Intel specific preprocessor macros.
10110 * lib/compiler.cc: Likewise.
10111
10112 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10113
10114 * gdb.server/connect-with-no-symbol-file.c: New file.
10115 * gdb.server/connect-with-no-symbol-file.exp: New file.
10116
10117 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10118
10119 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10120
10121 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10122
10123 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10124 standard output directory.
10125
10126 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10127
10128 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10129
10130 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10131
10132 * gdb.btrace/instruction_history.c (loop): Add declaration.
10133
10134 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10135
10136 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10137
10138 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10139
10140 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10141 parentheses to print.
10142 (continue_handler): Likewise.
10143
10144 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10145
10146 * gdb.server/solib-list.exp: Remove is_remote check.
10147 Pass shlib= to gdb_compile. Don't link shared library with
10148 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10149 Run binary filename through "readlink -f" on the target.
10150
10151 2016-04-08 Pedro Alves <palves@redhat.com>
10152
10153 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10154 interpreter filename as argument to gdbserver_spawn.
10155 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10156 Return empty if $last_loaded_file does not exist.
10157
10158 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10159
10160 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10161 * gdb.base/jit-main.c: Use exit after usage.
10162
10163 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10164
10165 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10166 GDBHISTSIZE prior to the tests.
10167 * gdb.base/gdbinit-history.exp: Likewise.
10168
10169 2016-04-07 Pedro Alves <palves@redhat.com>
10170
10171 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10172 instead of build_executable. Use gdb_load_shlibs.
10173
10174 2016-04-07 Yao Qi <yao.qi@linaro.org>
10175
10176 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10177 Execute "si" command.
10178
10179 2016-04-07 Yao Qi <yao.qi@linaro.org>
10180
10181 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10182 number instead of the comments on some line.
10183
10184 2016-04-06 Don Breazeal <donb@codesourcery.com>
10185
10186 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10187 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10188
10189 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10190
10191 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10192 standard_output_file. Remove unused binfile variable.
10193
10194 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10195
10196 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10197 * gdb.python/py-mi-objfile.exp: Match "list main" output
10198 in console format.
10199
10200 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10201
10202 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10203 absolute.
10204
10205 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10206
10207 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10208 absolute.
10209 * gdb.trace/ftrace.exp: Likewise.
10210 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10211 targets as well.
10212 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10213 (gdb_load_shlibs): Copy libraries to test directory when testing
10214 natively. Only set solib-search-path if testing remotely.
10215 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10216
10217 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10218
10219 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10220 gdb_download. Use it even if the target is not remote.
10221 * gdb.base/jit.exp (compile_jit_test): Likewise.
10222 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10223 output directory if the destination board is local, otherwise use
10224 the standard remote_download from DejaGnu.
10225 (gdb_download): Remove.
10226 (gdb_load_shlibs): Use gdb_remote_download instead of
10227 gdb_download.
10228 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10229 Use gdb_remote_download instead of gdb_download. Use it even if
10230 the target is not remote.
10231 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10232 instead of gdb_download.
10233
10234 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10235
10236 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10237 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10238 run.
10239
10240 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10241
10242 PR gdb/19820
10243 * gdb.base/printcmds.exp: Add artificial arrays tests.
10244
10245 2016-03-31 Pedro Alves <palves@redhat.com>
10246
10247 PR gdb/19858
10248 * gdb.base/jit-main.c: Include unistd.h.
10249 (ATTACH): Define to 0 if not already defined.
10250 (wait_for_gdb, mypid): New globals.
10251 (WAIT_FOR_GDB): New macro.
10252 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10253 some breakpoint locations.
10254 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10255 New procedures.
10256 (one_jit_test): Add REATTACH parameter, and handle it. Use
10257 continue_to_test_location.
10258 (top level): Test attach, and adjusts calls to one_jit_test.
10259
10260 2016-03-31 Pedro Alves <palves@redhat.com>
10261
10262 PR gdb/19858
10263 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10264 BINSUFFIX parameter, and handle it.
10265 (top level): Adjust calls compile_jit_test.
10266
10267 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10268
10269 PR python/19743
10270 * gdb.python/py-mi-events-gdb.py: New file.
10271 * gdb.python/py-mi-events.c: New file.
10272 * gdb.python/py-mi-events.exp: New file.
10273
10274 2016-03-30 Yao Qi <yao.qi@linaro.org>
10275
10276 * gdb.reverse/until-precsave.exp: Match function name only.
10277 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10278 Move malloc to a condition block.
10279 * gdb.reverse/until-reverse.exp: Match function name only.
10280
10281 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10282
10283 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10284 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10285 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10286 variable for GPR 0 instead of assuming it is register 0.
10287 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10288 * lib/trace-support.exp: Add s390 registers.
10289
10290 2016-03-29 Yao Qi <yao.qi@linaro.org>
10291
10292 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10293
10294 2016-03-24 Yao Qi <yao.qi@linaro.org>
10295
10296 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10297 test message.
10298
10299 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10300
10301 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10302 maintaining separate logic for constructing the output path.
10303
10304 2016-03-16 Don Breazeal <donb@codesourcery.com>
10305
10306 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10307 Retry fork and waitpid on interrupted system call errors.
10308 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10309 Use with_timeout_factor to increase timeout by factor of 10.
10310
10311 2016-03-15 Don Breazeal <donb@codesourcery.com>
10312
10313 * gdb.cp/scope-err.cc: New test program.
10314 * gdb.cp/scope-err.exp: New test script.
10315 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10316 lines and "set breakpoint here" comment.
10317 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10318 Fixed some whitespace and format issues.
10319 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10320 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10321
10322 2016-03-15 Doug Evans <dje@google.com>
10323
10324 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10325 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10326 All callers updated. Add tests for enums, mixed flags register.
10327
10328 2016-03-15 Doug Evans <dje@google.com>
10329
10330 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10331 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10332
10333 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10334
10335 * gdb.base/default.exp: Add $_as_string to the list of expected
10336 convenience functions.
10337
10338 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10339
10340 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10341
10342 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10343
10344 * gdb.python/py-as-string.exp: New file.
10345 * gdb.python/py-as-string.c: New file.
10346
10347 2016-03-09 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10350 signal" -> "Thread NN received signal" output change.
10351 * gdb.threads/ia64-sigill.exp: Likewise.
10352 * gdb.threads/linux-dp.exp: Likewise.
10353 * gdb.threads/manythreads.exp: Likewise.
10354 * gdb.threads/pending-step.exp: Likewise.
10355 * gdb.threads/print-threads.exp: Likewise.
10356 * gdb.threads/sigstep-threads.exp: Likewise.
10357 * gdb.threads/staticthreads.exp: Likewise.
10358 * gdb.threads/tls.exp: Likewise.
10359
10360 2016-03-09 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.base/command-line-input.exp: New file.
10363
10364 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10365
10366 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10367 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10368 * gdb.trace/pending.exp: Accept leading dot before function name.
10369 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10370 * lib/trace-support.exp: Set registers for ppc.
10371
10372 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10373
10374 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10375 use it for disassembly; accept .main in addition to main in backtrace.
10376
10377 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10378 Marcin Kościelnicki <koriakin@0x04.net>
10379
10380 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10381 (gdb_recursion_test_ptr): New global variable.
10382 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10383 gdb_recursion_test.
10384 (gdb_c_test): Ditto.
10385
10386 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10387
10388 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10389 ordering.
10390
10391 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10392
10393 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10394 (bar): Add bar_start_lbl label.
10395 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10396 of foo/bar for emitting DWARF and tracing.
10397
10398 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10399
10400 * analyze-racy-logs.py: Set executable bit.
10401
10402 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10403
10404 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10405 (CHECK_TARGET_TMP): Likewise.
10406 (check-single-racy): New rule.
10407 (check-parallel-racy): Likewise.
10408 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10409 (do-check-parallel-racy): New rule.
10410 (check-racy/%.exp): Likewise.
10411 * README (Racy testcases): New section.
10412 * analyze-racy-logs.py: New file.
10413
10414 2016-03-03 Doug Evans <dje@google.com>
10415
10416 * gdb.base/skip.exp: Use with_test_prefix.
10417
10418 2016-03-03 Yao Qi <yao.qi@linaro.org>
10419
10420 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10421 Invoke step_over_syscall "clone" and break_cond_on_syscall
10422 "clone".
10423 * gdb.base/step-over-clone.c: New file.
10424
10425 2016-03-03 Yao Qi <yao.qi@linaro.org>
10426
10427 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10428 code format.
10429
10430 2016-03-03 Yao Qi <yao.qi@linaro.org>
10431
10432 * gdb.base/disp-step-fork.c: Rename to ...
10433 * gdb.base/step-over-fork.c: ... it. New file.
10434 * gdb.base/disp-step-vfork.c: Rename to ...
10435 * gdb.base/step-over-vfork.c: ... it. New file.
10436 * gdb.base/disp-step-syscall.exp: Rename to ...
10437 * gdb.base/step-over-syscall.exp: ... it. New file.
10438 (disp_step_cross_syscall): Rename to ...
10439 (step_over_syscall): ... it.
10440
10441 2016-03-03 Yao Qi <yao.qi@linaro.org>
10442
10443 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10444 If target supports condition evaluation on target, invoke
10445 break_cond_on_syscall for fork and vfork.
10446
10447 2016-03-03 Yao Qi <yao.qi@linaro.org>
10448
10449 * gdb.base/disp-step-syscall.exp: Don't invoke
10450 support_displaced_stepping.
10451 (disp_step_cross_syscall): Test with displaced stepping off and
10452 on if supported.
10453
10454 2016-03-03 Yao Qi <yao.qi@linaro.org>
10455
10456 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10457 proc.
10458 (setup): New proc.
10459 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10460 and setup.
10461
10462 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10463
10464 * gdb.fortran/vla-history.exp: Remove breakpoint.
10465
10466 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10467
10468 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10469 exceeds timeout.
10470
10471 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10472
10473 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10474 breakpoint.
10475
10476 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10477
10478 * gdb.mi/vla.f90: Nullify pointer after declaration.
10479
10480 2016-03-01 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10483
10484 2016-03-01 Pedro Alves <palves@redhat.com>
10485
10486 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10487 before anything else.
10488 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10489 _GNU_SOURCE here.
10490 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10491 before anything else.
10492 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10493
10494 2016-03-01 Pedro Alves <palves@redhat.com>
10495
10496 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10497
10498 2016-03-01 Yao Qi <yao.qi@linaro.org>
10499
10500 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10501 prepare_for_testing.
10502
10503 2016-03-01 Yao Qi <yao.qi@linaro.org>
10504
10505 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10506
10507 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10508
10509 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10510 manually constructing the output path.
10511
10512 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10513
10514 * gdb.arch/s390-stackless.S: New.
10515 * gdb.arch/s390-stackless.exp: New.
10516
10517 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10518
10519 * gdb.dlang/circular.c: New file.
10520 * gdb.dlang/circular.exp: New file.
10521
10522 2016-02-26 Yao Qi <yao.qi@linaro.org>
10523
10524 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10525 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10526 (testcases): Update.
10527
10528 2016-02-26 Yao Qi <yao.qi@linaro.org>
10529
10530 * gdb.reverse/aarch64.c: Rename to ...
10531 * gdb.reverse/insn-reverse.c: ... it.
10532 * gdb.reverse/aarch64.exp: Rename to ...
10533 * gdb.reverse/insn-reverse.exp: ... it.
10534
10535 2016-02-26 Yao Qi <yao.qi@linaro.org>
10536
10537 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10538 (testcase_ftype): New.
10539 (testcases): New array.
10540 (n_testcases): New.
10541 (main): Call each element in testcases.
10542 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10543 (read_testcase): New.
10544 Do the tests in a loop.
10545
10546 2016-02-25 Yao Qi <yao.qi@linaro.org>
10547
10548 * gdb.base/branches.c: Remove.
10549
10550 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10551
10552 PR gdb/13808
10553 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10554
10555 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10556
10557 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10558
10559 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10560
10561 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10562 change x86_64 call_insn to 'callq'.
10563
10564 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10565
10566 * gdb.trace/tfile-avx.c: Move to...
10567 * gdb.trace/tracefile-pseudo-reg.c: Here.
10568 * gdb.trace/tfile-avx.exp: Move to...
10569 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10570
10571 2016-02-24 Gary Benson <gbenson@redhat.com>
10572
10573 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10574 message on attach.
10575
10576 2016-02-23 Doug Evans <dje@google.com>
10577
10578 * gdb.base/skip.c (test_skip): New function.
10579 (end_test_skip_file_and_function): New function.
10580 (test_skip_file_and_function): New function.
10581 * gdb.base/skip1.c (test_skip): New function.
10582 (skip1_test_skip_file_and_function): New function.
10583 * gdb.base/skip.exp: Add tests for new skip options.
10584 * gdb.base/skip-solib.exp: Update expected output.
10585 * gdb.perf/skip-command.cc: New file.
10586 * gdb.perf/skip-command.exp: New file.
10587 * gdb.perf/skip-command.py: New file.
10588
10589 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10590
10591 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10592 info registers pattern.
10593
10594 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10595
10596 * lib/future.exp: Add D support.
10597 (gdb_find_gdc): New proc.
10598 (gdb_default_target_compile): Add D support.
10599
10600 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10601
10602 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10603 user+system time.
10604 (trace_speed_test): Determine the iteration count for a time
10605 between 15..30 seconds.
10606
10607 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10608
10609 * gdb.arch/i386-mpx-sigsegv.c: New file.
10610 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10611 * gdb.arch/i386-mpx-simple_segv.c: New file.
10612 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10613
10614 2016-02-18 Yao Qi <yao.qi@linaro.org>
10615
10616 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10617 Don't call setup_kfail.
10618
10619 2016-02-18 Yao Qi <yao.qi@linaro.org>
10620
10621 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10622 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10623
10624 2016-02-16 Doug Evans <dje@google.com>
10625
10626 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10627 * gdb.base/skip1.c: Ditto.
10628 * gdb.base/skip.exp: Whitespace cleanup.
10629
10630 2016-02-16 Don Breazeal <donb@codesourcery.com>
10631
10632 PR remote/19496
10633 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10634 Remove kfail for PR remote/19496.
10635
10636 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10637
10638 * lib/gdb.exp (standard_temp_file): Return a path specific to
10639 the runtest invocation.
10640
10641 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10642
10643 * gdb.trace/save-trace.exp: Change relative path to be in the
10644 standard output directory.
10645
10646 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10647
10648 * gdb.arch/i386-prologue.c: Add missing prototypes.
10649
10650 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10651
10652 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10653 * gdb.arch/i386-prologue.exp: Likewise.
10654 * gdb.arch/i386-size.exp: Likewise.
10655
10656 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10657
10658 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10659 define object file path.
10660 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10661 file path.
10662 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10663 standard_output_file to define binfile.
10664
10665 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10666
10667 Fix compatibility with recent gfortran-5.3.1.
10668 * gdb.fortran/vla-history.exp (print vla1 allocated)
10669 (print vla2 allocated, print $2, print $3): Remove
10670 (print $4): Rename to ...
10671 (print $2): ... here.
10672 (print $9): Rename to ...
10673 (print $5): ... here.
10674 (print $10): Rename to ...
10675 (print $6): ... here.
10676 * gdb.fortran/vla.f90: Add pvla initialization.
10677
10678 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10679
10680 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10681 New test.
10682 * gdb.fortran/vla-value-sub.exp: Likewise.
10683
10684 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10685
10686 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10687
10688 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10689
10690 * i386-biarch-core.exp: Define corefile using
10691 standard_output_file.
10692
10693 2016-02-12 Yao Qi <yao.qi@linaro.org>
10694
10695 * gdb.arch/arm-single-step-kernel-helper.c: New.
10696 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10697
10698 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10699
10700 * gdb.btrace/tailcall-only.exp: New.
10701 * gdb.btrace/tailcall-only.c: New.
10702 * gdb.btrace/x86_64-tailcall-only.S: New.
10703 * gdb.btrace/i686-tailcall-only.S: New.
10704
10705 2016-02-11 Pedro Alves <palves@redhat.com>
10706
10707 * README (Parallel testing): Add missing double quotes.
10708
10709 2016-02-11 Pedro Alves <palves@redhat.com>
10710
10711 * README (Parallel testing): New section.
10712 (GDB_PARALLEL): Rewrite.
10713 (FORCE_PARALLEL): Document.
10714
10715 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10716
10717 * gdb.trace/tfile-avx.c: New test.
10718 * gdb.trace/tfile-avx.exp: New test.
10719
10720 2016-02-09 Keith Seitz <keiths@redhat.com>
10721
10722 PR breakpoints/19546
10723 * gdb.base/infcall-exec.c: New file.
10724 * gdb.base/infcall-exec2.c: New file.
10725 * gdb.base/infcall-exec.exp: New file.
10726
10727 2016-02-09 Keith Seitz <keiths@redhat.com>
10728
10729 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10730 (toplevel): Call test_bkpt_address.
10731
10732 2016-02-09 Keith Seitz <keiths@redhat.com>
10733
10734 PR python/19506
10735 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10736 (toplevel): Call test_bkpt_address.
10737
10738 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10739
10740 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10741 to AC_OUTPUT.
10742 * configure: Regenerate.
10743
10744 2016-02-09 Pedro Alves <palves@redhat.com>
10745
10746 PR breakpoints/19548
10747 * gdb.base/execl-update-breakpoints.c (some_function): New
10748 function.
10749 (main): Call it.
10750 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10751 Tighten expected GDB output.
10752
10753 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10754
10755 * Makefile.in (ALL_SUBDIRS): Remove.
10756 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10757 (distclean maintainer-clean realclean): Likewise.
10758 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10759 * configure: Regenerate.
10760 * gdb.ada/Makefile.in: Delete.
10761 * gdb.arch/Makefile.in: Likewise.
10762 * gdb.asm/Makefile.in: Likewise.
10763 * gdb.base/Makefile.in: Likewise.
10764 * gdb.btrace/Makefile.in: Likewise.
10765 * gdb.cell/Makefile.in: Likewise.
10766 * gdb.compile/Makefile.in: Likewise.
10767 * gdb.cp/Makefile.in: Likewise.
10768 * gdb.disasm/Makefile.in: Likewise.
10769 * gdb.dlang/Makefile.in: Likewise.
10770 * gdb.dwarf2/Makefile.in: Likewise.
10771 * gdb.fortran/Makefile.in: Likewise.
10772 * gdb.gdb/Makefile.in: Likewise.
10773 * gdb.go/Makefile.in: Likewise.
10774 * gdb.guile/Makefile.in: Likewise.
10775 * gdb.java/Makefile.in: Likewise.
10776 * gdb.linespec/Makefile.in: Likewise.
10777 * gdb.mi/Makefile.in: Likewise.
10778 * gdb.modula2/Makefile.in: Likewise.
10779 * gdb.multi/Makefile.in: Likewise.
10780 * gdb.objc/Makefile.in: Likewise.
10781 * gdb.opencl/Makefile.in: Likewise.
10782 * gdb.opt/Makefile.in: Likewise.
10783 * gdb.pascal/Makefile.in: Likewise.
10784 * gdb.perf/Makefile.in: Likewise.
10785 * gdb.python/Makefile.in: Likewise.
10786 * gdb.reverse/Makefile.in: Likewise.
10787 * gdb.server/Makefile.in: Likewise.
10788 * gdb.stabs/Makefile.in: Likewise.
10789 * gdb.threads/Makefile.in: Likewise.
10790 * gdb.trace/Makefile.in: Likewise.
10791 * gdb.xml/Makefile.in: Likewise.
10792 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10793 GDB_PARALLEL.
10794 (standard_output_file): Remove check for GDB_PARALLEL, always
10795 return path in outputs/$subdir/$testname.
10796
10797 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10798
10799 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10800 (site.exp): Assign abs_srcdir to tcl's srcdir.
10801
10802 2016-02-04 Yao Qi <yao.qi@linaro.org>
10803
10804 * gdb.base/foll-exec-mode.c: Include limits.h.
10805 (main): Add parameters argc and argv. Get directory from
10806 argv[0].
10807 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10808 compilation.
10809 * gdb.base/foll-exec.c: Include limits.h.
10810 (main): Add parameters argc and argv.
10811 Get directory from argv[0].
10812 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10813 Adjust tests on the number of lines as source code changed.
10814 * gdb.base/foll-vfork-exit.c: Include limits.h.
10815 (main): Add one line of statement before vfork.
10816 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10817 (main): Add parameters argc and argv. Get directory from
10818 argv[0].
10819 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10820 (setup_gdb): Set tbreak to skip some source lines.
10821 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10822 (main): Add parameters argc and argv. Get directory from
10823 argv[0].
10824 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10825 compilation.
10826 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10827 (main): Add parameters argc and argv. Get directory from
10828 argv[0].
10829 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10830 compilation.
10831
10832 2016-02-01 Doug Evans <dje@google.com>
10833
10834 * gdb.base/skip.exp: Clean up multiple references to same test name.
10835
10836 2016-02-01 Pedro Alves <palves@redhat.com>
10837
10838 PR remote/19496
10839 * gdb.threads/forking-threads-plus-breakpoint.exp
10840 (displaced_stepping_supported): New global.
10841 (probe_displaced_stepping_support): New procedure.
10842 (do_test): Add 'displaced' parameter, and use it.
10843 (top level): Check for displaced stepping support. Add displaced
10844 stepping on/off testing axis.
10845
10846 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10847
10848 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10849 pointer. Don't perform further tests on the unassociated pointer
10850 if the first test fails.
10851
10852 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10853
10854 * gdb.base/max-value-size.c: New file.
10855 * gdb.base/max-value-size.exp: New file.
10856 * gdb.base/huge.exp: Disable max-value-size for this test.
10857
10858 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10859
10860 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10861
10862 2016-01-28 Yao Qi <yao.qi@linaro.org>
10863
10864 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10865
10866 2016-01-25 Pedro Alves <palves@redhat.com>
10867
10868 PR threads/19461
10869 * gdb.base/fork-running-state.c: New file.
10870 * gdb.base/fork-running-state.exp: New file.
10871
10872 2016-01-25 Pedro Alves <palves@redhat.com>
10873
10874 PR gdb/19494
10875 * gdb.base/catch-fork-kill.c: New file.
10876 * gdb.base/catch-fork-kill.exp: New file.
10877
10878 2016-01-25 Pedro Alves <palves@redhat.com>
10879
10880 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10881 Delete, moved to lib/gdb.exp.
10882 * gdb.threads/forking-threads-plus-breakpoint.exp
10883 (foreach_with_prefix): Likewise.
10884 * gdb.threads/process-dies-while-handling-bp.exp
10885 (foreach_with_prefix): Likewise.
10886 * lib/gdb.exp (foreach_with_prefix): New procedure.
10887
10888 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10889
10890 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10891 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10892
10893 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10894
10895 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10896 endian targets.
10897
10898 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10899 Pedro Alves <palves@redhat.com>
10900
10901 Fix testsuite compatibility with Guile.
10902 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10903 number.
10904
10905 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10906
10907 Fix testsuite compatibility with Guile.
10908 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10909 (thread 1): New test for backtrace through signal handler.
10910
10911 2016-01-22 Yao Qi <yao.qi@linaro.org>
10912
10913 PR testsuite/19491
10914 * gdb.base/multi-forks.c: Include
10915 ../lib/unbuffer_output.c
10916 (main): Call gdb_unbuffer_output.
10917
10918 2016-01-21 Doug Evans <dje@google.com>
10919
10920 * lib/ada.exp (gdb_compile_ada): Fix typo.
10921
10922 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10923
10924 * gdb.base/break-fun-addr.exp: New file.
10925 * gdb.base/break-fun-addr1.c: New file.
10926 * gdb.base/break-fun-addr2.c: New file.
10927
10928 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10929
10930 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10931 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10932 enum flag values.
10933
10934 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10935
10936 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10937 when GDB can not set the vector return value. Add more comments
10938 for clarification.
10939
10940 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10941
10942 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10943 command.
10944
10945 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10946
10947 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10948
10949 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10950
10951 * Makefile.in (check-single): Pass --status to runtest.
10952 (check/%.exp): Likewise.
10953
10954 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10955
10956 * Makefile.in (check-parallel): Propagate return code from make
10957 do-check-parallel.
10958
10959 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10960
10961 * gdb.trace/ftrace.exp: Fix expected message on continue.
10962 * gdb.trace/pending.exp: Fix expected message on continue.
10963 * gdb.trace/trace-break.exp: Fix expected message on continue.
10964
10965 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10966
10967 * lib/gdb.exp (gdb_test): Remove unused global references.
10968
10969 2016-01-18 Pedro Alves <palves@redhat.com>
10970
10971 * gdb.base/async-shell.exp: Adjust expected output.
10972 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10973 * gdb.base/siginfo-thread.exp: Adjust expected output.
10974 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10975 * gdb.java/jnpe.exp: Adjust expected output.
10976 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10977 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10978 * gdb.threads/leader-exit.exp: Adjust expected output.
10979 * gdb.threads/manythreads.exp: Adjust expected output.
10980 * gdb.threads/pthreads.exp: Adjust expected output.
10981 * gdb.threads/schedlock.exp: Adjust expected output.
10982 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10983 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10984 expected output.
10985 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10986 output.
10987 * gdb.threads/sigthread.exp: Adjust expected output.
10988 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10989
10990 2016-01-18 Yao Qi <yao.qi@linaro.org>
10991
10992 * gdb.guile/scm-section-script.c: Replace @progbits with
10993 %progbits.
10994 * gdb.python/py-section-script.c: Likewise.
10995
10996 2016-01-15 Pedro Alves <palves@redhat.com>
10997
10998 * gdb.multi/tids.exp: Test star wildcard ranges.
10999
11000 2016-01-15 Pedro Alves <palves@redhat.com>
11001
11002 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11003 command from "thread apply" invocation.
11004 (thr_apply_info_thr_invalid): Default the expected output to the
11005 input tid list.
11006 (top level): Add tests that use convenience variables. Add tests
11007 for "thread apply" with a valid TID list, but missing the command.
11008
11009 2016-01-13 Pedro Alves <palves@redhat.com>
11010
11011 * gdb.base/default.exp: Expect $_gthread as well.
11012 * gdb.multi/tids.exp: Test $_gthread.
11013 * gdb.threads/thread-specific.exp: Test $_gthread.
11014
11015 2016-01-13 Pedro Alves <palves@redhat.com>
11016
11017 * gdb.multi/tids.exp: Test "info threads -gid".
11018
11019 2016-01-13 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11022 Breakpoint.thread.
11023 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11024
11025 2016-01-07 Pedro Alves <palves@redhat.com>
11026
11027 * gdb.base/break.exp: Adjust to output changes.
11028 * gdb.base/hbreak2.exp: Likewise.
11029 * gdb.base/sepdebug.exp: Likewise.
11030 * gdb.base/watch_thread_num.exp: Likewise.
11031 * gdb.linespec/keywords.exp: Likewise.
11032 * gdb.multi/info-threads.exp: Likewise.
11033 * gdb.threads/thread-find.exp: Likewise.
11034 * gdb.multi/tids.c: New file.
11035 * gdb.multi/tids.exp: New file.
11036
11037 2016-01-13 Pedro Alves <palves@redhat.com>
11038
11039 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11040
11041 2016-01-13 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.base/default.exp: Expect $_inferior as well.
11044 * gdb.multi/base.exp: Test $_inferior.
11045
11046 2016-01-13 Pedro Alves <palves@redhat.com>
11047
11048 PR breakpoints/19388
11049 * gdb.base/catch-signal-siginfo-cond.c: New file.
11050 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11051
11052 2016-01-12 Josh Stone <jistone@redhat.com>
11053 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11054
11055 * gdb.base/catch-syscall.c (do_execve): New variable.
11056 (main): Conditionally trigger an execve.
11057 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11058 (test_catch_syscall_execve): New, check entry/return across execve.
11059 (do_syscall_tests): Call test_catch_syscall_execve.
11060
11061 2016-01-12 Pedro Alves <palves@redhat.com>
11062
11063 * gdb.base/random-signal.exp (do_test): New procedure, with body
11064 of testcase moved in.
11065
11066 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11067 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.base/funcargs.exp (finish from indirectly called function):
11070 Reintroduce the case for 'First'.
11071
11072 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11073 Pedro Alves <palves@redhat.com>
11074
11075 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11076 (tcatch_vfork_then_child_follow_exec)
11077 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11078 identification.
11079
11080 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11081
11082 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11083 and repeats to unlimited.
11084 * gdb.python/py-value.exp: Likewise.
11085 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11086 and repeats to unlimited.
11087
11088 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11089
11090 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11091 and reordering the functions.
11092 * gdb.multi/hangout.c: Likewise.
11093 * gdb.multi/hello.c: Likewise.
11094
11095 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11096
11097 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11098 absolute.
11099 (SingleStatisticTestResult.report): Use dict.keys instead of
11100 dict.iterkeys.
11101
11102 2016-01-06 Pedro Alves <palves@redhat.com>
11103
11104 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11105
11106 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11107
11108 * gdb.btrace/dlopen.exp: New.
11109 * gdb.btrace/dlopen.c: New.
11110 * gdb.btrace/dlopen-dso.c: New.
11111
11112 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11113
11114 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11115 PATTERN argument is optional.
11116
11117 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11118
11119 * lib/ada.exp (target_compile_ada_from_dir): New function.
11120 (gdb_compile_ada): Reimplement avoiding the use of project files.
11121 * gdb.ada/gnat_ada.gpr: Delete.
11122 * gdb.ada/cond_lang.exp: Adjust test to make path before
11123 filename optional.
11124 * gdb.ada/small_reg_param.exp: Likewise.
11125
11126 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11127
11128 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11129
11130 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11131
11132 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11133 case.
11134
11135 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11136
11137 * gdb.base/break.exp: Remove dead code.
11138 * gdb.base/sepdebug.exp: Likewise.
11139
11140 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11141
11142 * gdb.asm/asm-source.exp: Remove HP-UX references.
11143 * gdb.base/annota1.exp: Likewise.
11144 * gdb.base/annota3.exp: Likewise.
11145 * gdb.base/attach.exp: Likewise.
11146 * gdb.base/bigcore.exp: Likewise.
11147 * gdb.base/break.exp: Likewise.
11148 * gdb.base/call-ar-st.exp: Likewise.
11149 * gdb.base/callfuncs.exp: Likewise.
11150 * gdb.base/catch-fork-static.exp: Likewise.
11151 * gdb.base/display.exp: Likewise.
11152 * gdb.base/foll-exec-mode.exp: Likewise.
11153 * gdb.base/foll-exec.exp: Likewise.
11154 * gdb.base/foll-fork.exp: Likewise.
11155 * gdb.base/foll-vfork.exp: Likewise.
11156 * gdb.base/funcargs.exp: Likewise.
11157 * gdb.base/hbreak2.exp: Likewise.
11158 * gdb.base/inferior-died.exp: Likewise.
11159 * gdb.base/interrupt.exp: Likewise.
11160 * gdb.base/multi-forks.exp: Likewise.
11161 * gdb.base/nodebug.exp: Likewise.
11162 * gdb.base/sepdebug.exp: Likewise.
11163 * gdb.base/solib1.c: Likewise.
11164 * gdb.base/step-test.exp: Likewise.
11165 * gdb.mi/non-stop.c: Likewise.
11166 * gdb.mi/pthreads.c: Likewise.
11167 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11168 * gdb.threads/pthreads.c: Likewise.
11169 * gdb.threads/staticthreads.exp: Likewise.
11170 * lib/future.exp: Likewise.
11171 * lib/gdb.exp: Likewise.
11172 * gdb.base/so-indr-cl.c: Remove.
11173 * gdb.base/so-indr-cl.exp: Likewise.
11174 * gdb.base/solib.c: Likewise.
11175 * gdb.base/solib.exp: Likewise.
11176 * gdb.base/solib2.c: Likewise.
11177
11178 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11179
11180 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11181 * gdb.base/call-ar-st.exp: Likewise.
11182 * gdb.base/callfuncs.exp: Likewise.
11183 * gdb.base/condbreak.exp: Likewise.
11184 * gdb.base/constvars.exp: Likewise.
11185 * gdb.base/hbreak2.exp: Likewise.
11186 * gdb.base/langs.exp: Likewise.
11187 * gdb.base/list.exp: Likewise.
11188 * gdb.base/long_long.exp: Likewise.
11189 * gdb.base/ptype.exp: Likewise.
11190 * gdb.base/scope.exp: Likewise.
11191 * gdb.base/signals.exp: Likewise.
11192 * gdb.base/so-impl-ld.exp: Likewise.
11193 * gdb.base/varargs.exp: Likewise.
11194 * gdb.base/volatile.exp: Likewise.
11195 * gdb.base/whatis.exp: Likewise.
11196 * gdb.cp/cplusfuncs.exp: Likewise.
11197 * gdb.cp/inherit.exp: Likewise.
11198 * gdb.cp/local.exp: Likewise.
11199 * gdb.cp/member-ptr.exp: Likewise.
11200 * gdb.cp/method.exp: Likewise.
11201 * gdb.cp/overload.exp: Likewise.
11202 * gdb.cp/templates.exp: Likewise.
11203 * gdb.stabs/weird.exp: Likewise.
11204 * lib/compiler.c: Likewise.
11205 * lib/compiler.cc: Likewise.
11206 * lib/cp-support.exp: Likewise.
11207 * lib/gdb.exp: Likewise.
11208
11209 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11210
11211 * configure.ac: Remove HP-UX case.
11212 * configure: Regenerate.
11213
11214 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11215
11216 * lib/gdb.exp (gdb_compile): Add function doc.
11217
11218 2015-12-17 Pedro Alves <palves@redhat.com>
11219
11220 PR threads/19354
11221 * gdb.multi/info-threads.exp: New file.
11222
11223 2015-12-15 Yao Qi <yao.qi@linaro.org>
11224
11225 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11226 is aarch64*-*-*.
11227
11228 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11229
11230 * gdb.base/history-duplicates.exp: Skip if no readline support.
11231
11232 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11233
11234 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11235
11236 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11237
11238 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11239
11240 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11241
11242 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11243 ctrl-C if nointerrupts target property is set.
11244 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11245 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11246 * gdb.base/paginate-bg-execution.exp: Likewise.
11247 * gdb.base/paginate-execution-startup.exp: Likewise.
11248 * gdb.base/random-signal.exp: Likewise.
11249 * gdb.base/range-stepping.exp: Likewise.
11250 * gdb.cp/annota2.exp: Likewise.
11251 * gdb.cp/annota3.exp: Likewise.
11252 * gdb.gdb/selftest.exp: Likewise.
11253 * gdb.threads/continue-pending-status.exp: Likewise.
11254 * gdb.threads/leader-exit.exp: Likewise.
11255 * gdb.threads/manythreads.exp: Likewise.
11256 * gdb.threads/pthreads.exp: Likewise.
11257 * gdb.threads/schedlock.exp: Likewise.
11258 * gdb.threads/sigthread.exp: Likewise.
11259
11260 2015-12-11 Don Breazeal <donb@codesourcery.com>
11261
11262 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11263 remote.
11264 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11265 * gdb.base/foll-exec.exp (main): Enable for target remote.
11266 * gdb.base/foll-fork.exp (main): Likewise.
11267 * gdb.base/foll-vfork.exp (main): Likewise.
11268 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11269 (proc continue_to_exit_bp_loc): Use clean_restart.
11270 * gdb.base/pie-execl.exp (main): Disable for target remote.
11271 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11272 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11273 * gdb.threads/execl.exp (main): Likewise.
11274 * gdb.threads/fork-child-threads.exp (main): Likewise.
11275 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11276 remote.
11277 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11278 remote.
11279 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11280 pid.tid style ptids, instead of just tid.
11281 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11282 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11283 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11284 ptids, instead of just tid.
11285
11286 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11287
11288 * gdb.base/list.exp (test_list_forward): Add end of file error
11289 test.
11290 (test_repeat_list_command): Add end of file error test.
11291 (test_list_backwards): Add beginning of file error test.
11292
11293 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11294
11295 * gdb.base/list.exp (test_list_invalid_args): New function,
11296 defined, and called.
11297
11298 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11299
11300 * gdb.base/list.exp (test_list): Make test names unique.
11301
11302 2015-12-11 Yao Qi <yao.qi@linaro.org>
11303
11304 * gdb.base/coremaker2.c: Remove.
11305
11306 2015-12-10 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.multi/base.exp: Remove stale "spaces" references.
11309
11310 2015-12-10 Pedro Alves <palves@redhat.com>
11311
11312 * gdb.multi/base.exp: Don't use nowarnings.
11313 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11314 * gdb.multi/hangout.c: Include stdio.h.
11315 * gdb.multi/hello.c: Include stdlib.h.
11316 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11317 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11318 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11319
11320 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11321
11322 * gdb.dwarf2/dw2-ranges-base.c: New file.
11323 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11324 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11325 support additional line table, and debug ranges generation.
11326 (Dwarf::ranges): New function, generate .debug_ranges.
11327 (Dwarf::lines): Support generating simple line table programs.
11328 (Dwarf::assemble): Initialise new namespace variables.
11329
11330 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11331
11332 * gdb.base/async.exp (proc test_background): Add case for
11333 asynchronous execution not supported.
11334
11335 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11336
11337 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11338 format and change test names to make them unique.
11339
11340 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11341 Pedro Alves <pedro@redhat.com>
11342
11343 PR gdb/18702
11344 Add checking of floatformats setup on x86_64 hosts.
11345 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11346 (smallval, bigval): New labels/constants.
11347 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11348 float" after loading bigval and smallval.
11349
11350 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11351
11352 * gdb.ada/fun_overload_menu.exp: New testcase.
11353 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11354
11355 2015-12-04 Josh Stone <jistone@redhat.com>
11356
11357 * gdb.base/catch-fork-static.exp: New.
11358
11359 2015-12-03 Yao Qi <yao.qi@linaro.org>
11360
11361 * gdb.base/sizeof.c: Don't include stdio.h and
11362 ../lib/unbuffer_output.c.
11363 (main): New variable 'size' and 'value'. Remove printf and
11364 gdb_unbuffer_output. Assign return value to size and value.
11365 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11366 at the beginning.
11367 (check_sizeof): Check the result by printing variable 'size'.
11368 (check_valueof): Check the result by printing variable 'value'.
11369
11370 2015-12-01 Yao Qi <yao.qi@linaro.org>
11371
11372 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11373 for aarch64*-*-linux* target.
11374
11375 2015-11-30 Pedro Alves <palves@redhat.com>
11376
11377 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11378
11379 2015-11-30 Pedro Alves <palves@redhat.com>
11380
11381 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11382 Handle non-stop mode vCont replies.
11383
11384 2015-11-30 Pedro Alves <palves@redhat.com>
11385
11386 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11387 prepare_for_testing. Start gdb with "set non-stop on" appended to
11388 GDBFLAGS. Lax expected stop output.
11389
11390 2015-11-27 Yao Qi <yao.qi@linaro.org>
11391
11392 * gdb.arch/arm-neon.exp: New.
11393 * gdb.arch/arm-neon.c: New.
11394
11395 2015-11-27 Yao Qi <yao.qi@linaro.org>
11396
11397 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11398
11399 2015-11-27 Yao Qi <yao.qi@linaro.org>
11400
11401 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11402 frames-invalid annotation.
11403
11404 2015-11-27 Yao Qi <yao.qi@linaro.org>
11405
11406 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11407
11408 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11409
11410 * gdb.threads/names.exp: New file.
11411 * gdb.threads/names.c: New file.
11412 * README: Mention gdb,no_thread_names.
11413
11414 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11415
11416 PR 19297
11417 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11418 support" error.
11419
11420 2015-11-24 Pedro Alves <palves@redhat.com>
11421
11422 PR 17539
11423 * gdb.base/display.exp: Expect displays to be sorted in ascending
11424 order. Use multi_line.
11425 * gdb.base/solib-display.exp: Likewise.
11426
11427 2015-11-24 Pedro Alves <palves@redhat.com>
11428
11429 PR 17539
11430 * gdb.base/display.exp: Expect displays to be sorted in ascending
11431 order. Use multi_line.
11432 * gdb.base/solib-display.exp: Likewise.
11433
11434 2015-11-24 Pedro Alves <palves@redhat.com>
11435
11436 PR 17539
11437 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11438 threads in ascending order.
11439 * gdb.base/foll-fork.exp: Likewise.
11440 * gdb.base/foll-vfork.exp: Likewise.
11441 * gdb.base/multi-forks.exp: Likewise.
11442 * gdb.mi/mi-nonstop.exp: Likewise.
11443 * gdb.mi/mi-nsintrall.exp: Likewise.
11444 * gdb.multi/base.exp: Likewise.
11445 * gdb.multi/multi-arch.exp: Likewise.
11446 * gdb.python/py-inferior.exp: Likewise.
11447 * gdb.threads/break-while-running.exp: Likewise.
11448 * gdb.threads/execl.exp: Likewise.
11449 * gdb.threads/gcore-thread.exp: Likewise.
11450 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11451 * gdb.threads/kill.exp: Likewise.
11452 * gdb.threads/linux-dp.exp: Likewise.
11453 * gdb.threads/multiple-step-overs.exp: Likewise.
11454 * gdb.threads/next-bp-other-thread.exp: Likewise.
11455 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11456 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11457 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11458 * gdb.threads/thread-find.exp: Likewise.
11459 * gdb.threads/tls.exp: Likewise.
11460 * lib/mi-support.exp (mi_reverse_list): Delete.
11461 (mi_check_thread_states): No longer reverse list.
11462
11463 2015-11-24 Pedro Alves <palves@redhat.com>
11464
11465 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11466 use lowercase.
11467
11468 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11469
11470 * gdb.trace/actions.c: Include trace-common.h.
11471 (main): Add a location for a fast tracepoint.
11472 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11473 the normal tracepoints.
11474 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11475
11476 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11477
11478 * save-trace.exp: Factor out code to these...
11479 (gdb_save_tracepoints): New.
11480 (gdb_load_tracepoints): New.
11481 (do_save_load_test): New.
11482
11483 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11484
11485 * gdb.base/asmlabel.exp: New test.
11486 * gdb.base/asmlabel.c: New test case.
11487
11488 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11489
11490 * gdb.base/wrong_frame_bt_full-main.c: New file.
11491 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11492 * gdb.base/wrong_frame_bt_full.exp: New file.
11493
11494 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11495
11496 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11497
11498 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11499
11500 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11501 pstate register when comparing registers values in
11502 sparc64-*-linux-gnu targets to avoid spurious differences.
11503
11504 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11505
11506 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11507
11508 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11509
11510 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11511 as type argument to gdb_compile.
11512 * gdb.base/nested-subp2.exp: Likewise.
11513 * gdb.base/nested-subp3.exp: Likewise.
11514
11515 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11516
11517 * lib/dwarf.exp (_note): Fix left shift of negative value.
11518 * gdb.trace/trace-condition.exp: Likewise.
11519
11520 2015-11-13 Yao Qi <yao.qi@linaro.org>
11521
11522 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11523 comments about d10v.
11524 (test_scalar_returns): Likewise.
11525 * gdb.base/d10v.ld: Remove.
11526 * gdb.base/overlays.exp: Remove the target triplet checking for
11527 d10v-*-*.
11528 * gdb.base/structs.exp (test_struct_returns): Remove the
11529 comments about d10v.
11530 (test_struct_calls): Likewise.
11531
11532 2015-11-13 Yao Qi <yao.qi@linaro.org>
11533
11534 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11535 * gdb.base/gnu_vector.c: Don't include stdio.h.
11536 (main): Don't print res and call add_some_intvecs.
11537
11538 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11539
11540 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11541 macro.
11542 (func5): Removed.
11543 (func4): Use FAST_TRACEPOINT_LABEL.
11544 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11545 macro.
11546 (func): Removed.
11547 (thread_function): Use FAST_TRACEPOINT_LABEL.
11548 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11549 (func): Remove.
11550 (marker): Use FAST_TRACEPOINT_LABEL.
11551 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11552 (pendfunc1): Remove.
11553 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11554 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11555 (foo): Remove.
11556 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11557 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11558 macro.
11559 (func): Remove.
11560 (marker): Use FAST_TRACEPOINT_LABEL.
11561 * gdb.trace/trace-common.h: New header.
11562 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11563 macro.
11564 (func): Remove.
11565 (marker): Use FAST_TRACEPOINT_LABEL.
11566 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11567 (func): Remove.
11568 (thread_function): Use FAST_TRACEPOINT_LABEL.
11569
11570 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11571
11572 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11573 in front.
11574 * gdb.trace/change-loc.exp: Use global pcreg definition.
11575 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11576 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11577 in front.
11578 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11579 * gdb.trace/pending.exp: Likewise.
11580 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11581 * gdb.trace/trace-break.exp: Likewise.
11582 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11583 in front.
11584 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11585 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11586 in front.
11587 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11588
11589 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11590
11591 * gdb.ada/fin_fun_out: New testcase.
11592
11593 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11594
11595 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11596 value associated with DW_AT_byte_size.
11597 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11598 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11599 DW_AT_upper_bound.
11600
11601 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11602
11603 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11604 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11605 version.
11606 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11607 gdb.dwarf2/dw2-canonicalize-type.exp,
11608 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11609 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11610 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11611 provided by gdb_target_symbol_prefix_flags_asm.
11612 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11613 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11614 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11615 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11616 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11617 macros where needed). Use this macro for symbols which require
11618 the prefix provided by SYMBOL_PREFIX.
11619
11620 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11621
11622 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11623 New procs.
11624 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11625 representing expressions, of more than one list element.
11626 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11627 to prepend linker symbol prefix to f.
11628 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11629 table_1 and table_2.
11630 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11631 Likewise, for f and g.
11632 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11633 for ptr.
11634 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11635 for main.
11636 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11637 table_1_ptr and table_2_ptr.
11638
11639 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11640 Joel Brobecker <brobecker@adacore.com>
11641
11642 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11643
11644 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11645
11646 * gdb.reverse/s390-mvcle.c: New test.
11647 * gdb.reverse/s390-mvcle.exp: New file.
11648 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11649
11650 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11651
11652 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11653
11654 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11655
11656 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11657 reaching marker2.
11658 * gdb.reverse/getresuid-reverse.exp: Likewise.
11659 * gdb.reverse/pipe-reverse.exp: Likewise.
11660 * gdb.reverse/readv-reverse.exp: Likewise.
11661 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11662 * gdb.reverse/time-reverse.exp: Likewise.
11663 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11664
11665 2015-10-30 Yao Qi <yao.qi@linaro.org>
11666
11667 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11668 (empty_cycle): Remove.
11669 (main): Don't call empty_cycle. Don't use watch_count_done.
11670 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11671 empty_cycle. Rewrite the code counting HW watchpoints.
11672
11673 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11674
11675 * gdb.reverse/fstatat-reverse.c: New test.
11676 * gdb.reverse/fstatat-reverse.exp: New file.
11677 * gdb.reverse/getresuid-reverse.c: New test.
11678 * gdb.reverse/getresuid-reverse.exp: New file.
11679 * gdb.reverse/pipe-reverse.c: New test.
11680 * gdb.reverse/pipe-reverse.exp: New file.
11681 * gdb.reverse/readv-reverse.c: New test.
11682 * gdb.reverse/readv-reverse.exp: New file.
11683 * gdb.reverse/recvmsg-reverse.c: New test.
11684 * gdb.reverse/recvmsg-reverse.exp: New file.
11685 * gdb.reverse/time-reverse.c: New test.
11686 * gdb.reverse/time-reverse.exp: New file.
11687 * gdb.reverse/waitpid-reverse.c: New test.
11688 * gdb.reverse/waitpid-reverse.exp: New file.
11689
11690 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11691
11692 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11693
11694 2015-10-26 Doug Evans <dje@google.com>
11695
11696 PR symtab/17391
11697 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11698 * gdb.dwarf2/bad-regnum.c: New file.
11699 * gdb.dwarf2/bad-regnum.exp: New file.
11700
11701 2015-10-26 Doug Evans <dje@google.com>
11702
11703 PR python/18938
11704 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11705 file.
11706
11707 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11708
11709 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11710 for a change by "Mention language in compile error message".
11711
11712 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11713
11714 PR python/18073
11715 * gdb.python/py-type.c (C::a_method): New.
11716 (C::a_const_method): New.
11717 (C::a_static_method): New.
11718 (a_function): New.
11719 * gdb.python/py-type.exp (test_fields): Test getting fields
11720 from function and method.
11721
11722 2015-10-21 Keven Boell <keven.boell@intel.com>
11723
11724 * gdb.fortran/vla-alloc-assoc.exp: New file.
11725 * gdb.fortran/vla-datatypes.exp: New file.
11726 * gdb.fortran/vla-datatypes.f90: New file.
11727 * gdb.fortran/vla-history.exp: New file.
11728 * gdb.fortran/vla-ptype-sub.exp: New file.
11729 * gdb.fortran/vla-ptype.exp: New file.
11730 * gdb.fortran/vla-sizeof.exp: New file.
11731 * gdb.fortran/vla-sub.f90: New file.
11732 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11733 * gdb.fortran/vla-value-sub-finish.exp: New file.
11734 * gdb.fortran/vla-value-sub.exp: New file.
11735 * gdb.fortran/vla-value.exp: New file.
11736 * gdb.fortran/vla-ptr-info.exp: New file.
11737 * gdb.mi/mi-vla-fortran.exp: New file.
11738 * gdb.mi/vla.f90: New file.
11739
11740 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11741
11742 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11743 of hardwired timeout value.
11744
11745 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11746 Pedro Alves <palves@redhat.com>
11747
11748 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11749 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11750
11751 2015-10-19 Josh Stone <jistone@redhat.com>
11752
11753 * gdb.base/catch-syscall.c: Include <sched.h>.
11754 (unknown_syscall): New variable.
11755 (main): Trigger a vfork and an unknown syscall.
11756 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11757 (unknown_syscall_number): Likewise.
11758 (check_call_to_syscall): Accept an optional syscall pattern.
11759 (check_return_from_syscall): Likewise.
11760 (check_continue): Likewise.
11761 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11762 (test_catch_syscall_skipping_return): New test toggling off 'catch
11763 syscall' to step over the syscall return, then toggling back on.
11764 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11765 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11766 (do_syscall_tests): Call test_catch_syscall_without_args and
11767 test_catch_syscall_mid_vfork.
11768 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11769 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11770
11771 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11772
11773 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11774 print g_vE): Add new pass patterns.
11775 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11776 print various symbol names for vptr fields.
11777
11778 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11779
11780 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11781 results.
11782
11783 2015-10-12 Yao Qi <yao.qi@linaro.org>
11784
11785 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11786
11787 2015-10-12 Yao Qi <yao.qi@linaro.org>
11788
11789 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11790 is aarch64*-*-linux*.
11791
11792 2015-10-12 Yao Qi <yao.qi@linaro.org>
11793
11794 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11795 (can_relocate_bcond_true): ... it.
11796 (can_relocate_bcond_false): New function.
11797 (foo): Likewise.
11798 (can_relocate_bl): Likewise.
11799 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11800 can_relocate_bl.
11801
11802 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11803
11804 * gdb.base/nested-addr.c: New file.
11805 * gdb.base/nested-addr.exp: New testcase.
11806
11807 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11808
11809 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11810 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11811 its output. Ignore the output of "record goto begin" and instead
11812 check that GDB is replaying.
11813
11814 2015-10-09 Pedro Alves <palves@redhat.com>
11815
11816 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11817 (top level): Use it in the run with no args test.
11818
11819 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11820
11821 * gdb.dlang/properties.exp: New file.
11822
11823 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11824
11825 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11826 whether or not address 0x1000 is mapped on the target.
11827
11828 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11829
11830 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11831 build.
11832
11833 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11834
11835 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11836 instruction-history test.
11837
11838 2015-09-28 Doug Evans <dje@google.com>
11839
11840 * gdb.base/gcore.c (array_func): Add reference to static_array.
11841
11842 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11843
11844 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11845 source line.
11846
11847 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11848
11849 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11850 short or char as base type.
11851
11852 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11853
11854 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11855 to allow any size enum.
11856
11857 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11858
11859 * gdb.ada/array_ptr_renaming.exp: New testcase.
11860 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11861 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11862
11863 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11864
11865 * gdb.trace/ftrace-lock.c: New file.
11866 * gdb.trace/ftrace-lock.exp: New file.
11867
11868 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11869
11870 * gdb.arch/insn-reloc.c: New file.
11871 * gdb.arch/ftrace-insn-reloc.exp: New file.
11872
11873 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11874
11875 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11876 instruction.
11877 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11878 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11879 * gdb.trace/range-stepping.c: Likewise.
11880 * gdb.trace/trace-break.c: Likewise.
11881 * gdb.trace/trace-mt.c (thread_function): Likewise.
11882 * gdb.trace/ftrace.c (marker): Likewise.
11883 * gdb.trace/trace-condition.c (marker): Likewise.
11884 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11885 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11886 is_aarch64_target.
11887
11888 2015-09-18 Doug Evans <xdje42@gmail.com>
11889
11890 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11891 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11892
11893 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11894
11895 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11896 the breakpoint.
11897
11898 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11899
11900 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11901 the pending breakpoint. Remove timeout override for "Run till
11902 MI pending breakpoint on pendfunc3 on thread 2" test.
11903
11904 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11905
11906 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11907 filename pattern.
11908
11909 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11910
11911 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11912 in breakpoint filename pattern.
11913
11914 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11915
11916 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11917
11918 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11919
11920 * gdb.linespec/explicit.exp: Check for readline support for
11921 tab-completion tests. Fix obvious typo.
11922
11923 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11924
11925 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11926 and replay.
11927
11928 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11929
11930 * gdb.btrace/non-stop.c: New.
11931 * gdb.btrace/non-stop.exp: New.
11932
11933 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11934 Yao Qi <yao.qi@linaro.org>
11935
11936 * gdb.trace/trace-condition.c: New file.
11937 * gdb.trace/trace-condition.exp: New file.
11938
11939 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11940
11941 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11942 for testing bytecode compilation.
11943
11944 2015-09-16 Pedro Alves <palves@redhat.com>
11945 Sandra Loosemore <sandra@codesourcery.com>
11946
11947 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11948 (SECONDS): Redefine.
11949 (main): Call pthread_kill and alarm early.
11950 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11951 support.
11952 (test): If the target can't hardware step and doesn't support
11953 displaced stepping, increase the timeout.
11954
11955 2015-09-16 Pedro Alves <palves@redhat.com>
11956
11957 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11958 (enable_debug): New procedures.
11959 (test): Use them. Bail out if waiting for threads fails.
11960 (top level): Bail out if a test fails.
11961
11962 2015-09-16 Yao Qi <yao.qi@linaro.org>
11963
11964 * gdb.asm/asm-source.exp: Set asm-arch for
11965 aarch64*-*-* target.
11966 * gdb.asm/aarch64.inc: New file.
11967
11968 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11969
11970 * gdb.ada/array_of_variable_length.exp: New testcase.
11971 * gdb.ada/array_of_variable_length/foo.adb: New file.
11972 * gdb.ada/array_of_variable_length/pck.adb: New file.
11973 * gdb.ada/array_of_variable_length/pck.ads: New file.
11974
11975 2015-09-15 Doug Evans <dje@google.com>
11976
11977 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11978 of function static local variable.
11979
11980 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11981
11982 * gdb.threads/tls-so_extern.exp: New test file.
11983 * gdb.threads/tls-so_extern.c: New test file.
11984 * gdb.threads/tls-so_extern_main.c: New test file.
11985
11986 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11987
11988 * gdb.opt/solib-intra-step-lib.c: New file.
11989 * gdb.opt/solib-intra-step-main.c: New file.
11990 * gdb.opt/solib-intra-step.exp: New file.
11991
11992 2015-09-15 Pedro Alves <palves@redhat.com>
11993
11994 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11995 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11996
11997 2015-09-14 Pedro Alves <palves@redhat.com>
11998
11999 * gdb.base/hook-stop-continue.c: Delete.
12000 * gdb.base/hook-stop-continue.exp: Delete.
12001 * gdb.base/hook-stop-frame.c: Delete.
12002 * gdb.base/hook-stop-frame.exp: Delete.
12003 * gdb.base/hook-stop.c: New file.
12004 * gdb.base/hook-stop.exp: New file.
12005
12006 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12007
12008 * gdb.ada/access_to_packed_array.exp: New testcase.
12009 * gdb.ada/access_to_packed_array/foo.adb: New file.
12010 * gdb.ada/access_to_packed_array/pack.adb: New file.
12011 * gdb.ada/access_to_packed_array/pack.ads: New file.
12012
12013 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12014
12015 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12016 buffer size test.
12017
12018 2015-09-11 Don Breazeal <donb@codesourcery.com>
12019
12020 * gdb.base/foll-exec.c: Add copyright header. Fix
12021 formatting issues.
12022 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12023 (do_exec_tests): Use clean_restart in place of zap_session,
12024 and for test initialization. Fix formatting issues. Use
12025 fail in place of perror.
12026 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12027 an expect statement to match an expression with output from
12028 the program under debug.
12029 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12030 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12031 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12032 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12033 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12034
12035 2015-09-09 Doug Evans <dje@google.com>
12036
12037 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12038
12039 2015-09-09 Doug Evans <dje@google.com>
12040
12041 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12042
12043 2015-09-09 Doug Evans <dje@google.com>
12044
12045 * gdb.base/savedregs.exp: Fix typo.
12046
12047 2015-09-09 Pedro Alves <palves@redhat.com>
12048
12049 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12050
12051 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12052
12053 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12054 command actually switches threads. Give up on remaining
12055 tests if target fails to stop at breakpoint.
12056
12057 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12058
12059 * gdb.ada/funcall_char.exp: New testcase.
12060 * gdb.ada/funcall_char/foo.adb: New file.
12061
12062 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12063
12064 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12065 expected outputs. Add two testcases for completing ambiguous
12066 functions.
12067 * gdb.ada/complete/aux_pck.adb: New file.
12068 * gdb.ada/complete/aux_pck.ads: New file.
12069 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12070 Ambiguous_Func functions.
12071 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12072 * gdb.ada/complete/pck.adb: Likewise.
12073
12074 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12075
12076 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12077 failures to run the test program under GDB.
12078
12079 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12080
12081 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12082 to C.
12083
12084 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12085
12086 * gdb.base/run-after-attach.exp: New test file.
12087 * gdb.base/run-after-attach.c: New test file.
12088
12089 2015-08-26 Don Breazeal <donb@codesourcery.com>
12090
12091 * gdb.base/foll-exec-2.c: New test program.
12092 * gdb.base/foll-exec-2.exp: New test.
12093
12094 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12095
12096 * gdb.base/nested-subp1.exp: New file.
12097 * gdb.base/nested-subp1.c: New file.
12098 * gdb.base/nested-subp2.exp: New file.
12099 * gdb.base/nested-subp2.c: New file.
12100 * gdb.base/nested-subp3.exp: New file.
12101 * gdb.base/nested-subp3.c: New file.
12102
12103 2015-08-24 Pedro Alves <palves@redhat.com>
12104
12105 * gdb.server/connect-without-multi-process.c: New file.
12106 * gdb.server/connect-without-multi-process.exp: New file.
12107
12108 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12109
12110 * gdb.opt/inline-markers.c: Make z int.
12111
12112 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12113
12114 * gdb.opt/inline-markers.c: Make z volatile.
12115
12116 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12117
12118 * gdb.opt/inline-bt.c: New volatile global z.
12119 * gdb.opt/inline-cmds.c: Likewise.
12120 * gdb.opt/inline-locals.c: Likewise.
12121 * gdb.opt/inline-markers.c: New extern global z.
12122 (marker): Use z.
12123 (inline_fn): Likewise.
12124
12125 2015-08-24 Pedro Alves <palves@redhat.com>
12126
12127 * config/m32r-stub.exp: Remove file.
12128 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12129 * gdb.base/call-rt-st.exp: Likewise.
12130 * gdb.base/call-strs.exp: Likewise.
12131 * gdb.base/default.exp: Remove references to h8300-*-hms and
12132 *-*-udi*.
12133 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12134
12135 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12136
12137 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12138 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12139 and "return" use KFAIL when GDB can not read/write the vector
12140 return value.
12141
12142 2015-08-21 Gary Benson <gbenson@redhat.com>
12143
12144 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12145
12146 2015-08-20 Pedro Alves <palves@redhat.com>
12147
12148 * gdb.server/solib-list.exp: No longer expect an interior stop in
12149 non-stop mode.
12150
12151 2015-08-20 Pedro Alves <palves@redhat.com>
12152
12153 * gdb.server/connect-stopped-target.c: New file.
12154 * gdb.server/connect-stopped-target.exp: New file.
12155
12156 2015-08-20 Pedro Alves <palves@redhat.com>
12157
12158 * gdb.dwarf2/comp-unit-lang.exp: New file.
12159 * gdb.dwarf2/comp-unit-lang.c: New file.
12160
12161 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12162
12163 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12164 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12165
12166 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12167
12168 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12169 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12170
12171 2015-08-18 Doug Evans <dje@google.com>
12172 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12173
12174 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12175 skip_python_tests. New arg prompt_regexp.
12176 (skip_python_tests): New function.
12177 * lib/mi-support.exp (mi_skip_python_tests): New function.
12178 * gdb.python/py-mi-objfile-gdb.py: New file.
12179 * gdb.python/py-mi-objfile.c: New file.
12180 * gdb.python/py-mi-objfile.exp: New file.
12181
12182 2015-08-17 Keith Seitz <keiths@redhat.com>
12183
12184 * gdb.linespec/explicit.exp: Move strace test from here ...
12185 * gdb.trace/strace.exp: ... to here.
12186
12187 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12188
12189 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12190 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12191
12192 2015-08-14 Doug Evans <xdje42@gmail.com>
12193
12194 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12195 inferior before selecting a new file.
12196
12197 2015-08-14 Doug Evans <xdje42@gmail.com>
12198
12199 * gdb.mi/mi-disassemble.exp: Update.
12200 * gdb.base/disasm-optim.S: New file.
12201 * gdb.base/disasm-optim.c: New file.
12202 * gdb.base/disasm-optim.h: New file.
12203 * gdb.base/disasm-optim.exp: New file.
12204
12205 2015-08-14 Keith Seitz <keiths@redhat.com>
12206
12207 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12208 "evaluated-by".
12209
12210 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12211
12212 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12213
12214 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12215
12216 * gdb.ada/fun_renaming.exp: New testcase.
12217 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12218 * gdb.ada/fun_renaming/pack.adb: New file.
12219 * gdb.ada/fun_renaming/pack.ads: New file.
12220
12221 2015-08-12 Keith Seitz <keiths@redhat.com>
12222
12223 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12224 gdb_get_line_number.
12225
12226 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12227
12228 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12229 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12230 gdb.base/dso2dso.exp: New files.
12231
12232 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12233 Pedro Alves <palves@redhat.com>
12234 Keith Seitz <keiths@redhat.com>
12235
12236 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12237 GDBFLAGS.
12238
12239 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12240
12241 * gdb.base/gdbhistsize-history.exp
12242 (test_histsize_history_setting): Use save_vars.
12243 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12244 Use save_vars.
12245 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12246 * gdb.base/readline.exp: Use save_vars.
12247
12248 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12249
12250 * lib/gdb.exp (save_vars): New proc.
12251
12252 2015-08-11 Keith Seitz <keiths@redhat.com>
12253
12254 * gdb.base/help.exp: Update help_breakpoint_text.
12255
12256 2015-08-11 Keith Seitz <keiths@redhat.com>
12257
12258 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12259 (at toplevel): Call test_explicit_breakpoints.
12260 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12261 breakpoints.
12262 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12263 breakpoint conditions, "-cond".
12264
12265 2015-08-11 Keith Seitz <keiths@redhat.com>
12266
12267 * gdb.linespec/3explicit.c: New file.
12268 * gdb.linespec/cpexplicit.cc: New file.
12269 * gdb.linespec/cpexplicit.exp: New file.
12270 * gdb.linespec/explicit.c: New file.
12271 * gdb.linespec/explicit.exp: New file.
12272 * gdb.linespec/explicit2.c: New file.
12273 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12274 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12275 before using in the matching pattern.
12276 Clarify that `prefix' is a regular expression.
12277
12278 2015-08-11 Keith Seitz <keiths@redhat.com>
12279
12280 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12281 test.
12282 Add tests for missing ",FMT" and ",".
12283
12284 2015-08-10 Doug Evans <dje@google.com>
12285 Keith Seitz <keiths@redhat.com>
12286
12287 PR gdb/17960
12288 * gdb.base/completion.exp: Add location completer tests.
12289
12290 2015-08-07 Pedro Alves <palves@redhat.com>
12291
12292 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12293 tests here.
12294 (top level): Run do_test with and without displaced stepping.
12295
12296 2015-08-07 Pedro Alves <palves@redhat.com>
12297
12298 * gdb.base/valgrind-disp-step.c: New file.
12299 * gdb.base/valgrind-disp-step.exp: New file.
12300
12301 2015-08-07 Pedro Alves <palves@redhat.com>
12302
12303 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12304 Delete function.
12305 (main): Add alarm. Run an infinite loop instead of calling
12306 wait_threads.
12307 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12308 comment.
12309 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12310 Delete function.
12311 (main): Add alarm. Run an infinite loop instead of calling
12312 wait_threads.
12313 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12314 comment.
12315
12316 2015-08-07 Pedro Alves <palves@redhat.com>
12317
12318 * gdb.base/checkpoint-ns.exp: New file.
12319 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12320 standard_testfile.
12321
12322 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12323
12324 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12325 * gdb.btrace/instruction_history.exp: Update.
12326 * gdb.btrace/tsx.exp: New.
12327 * gdb.btrace/tsx.c: New.
12328
12329 2015-08-06 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12332 increase timeout.
12333 * gdb.reverse/until-precsave.exp: Bump timeouts.
12334
12335 2015-08-06 Pedro Alves <palves@redhat.com>
12336
12337 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12338
12339 2015-08-06 Pedro Alves <palves@redhat.com>
12340
12341 PR gdb/18749
12342 * gdb.threads/process-dies-while-handling-bp.c: New file.
12343 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12344
12345 2015-08-06 Pedro Alves <palves@redhat.com>
12346
12347 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12348 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12349
12350 2015-08-05 Pedro Alves <palves@redhat.com>
12351
12352 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12353 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12354
12355 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12356
12357 * gdb.base/bp-permanent.exp: Report test as unsupported if
12358 the target cannot stop at the permanent breakpoint.
12359
12360 2015-08-03 Doug Evans <dje@google.com>
12361
12362 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12363 10000.
12364
12365 2015-08-03 Doug Evans <dje@google.com>
12366
12367 * Makefile.in (workers/%.worker, build-perf): New rule.
12368 (GDB_PERFTEST_MODE): New variable.
12369 (check-perf): Use it.
12370 (clean): Clean up gdb.perf parallel build subdirs.
12371 * lib/build-piece.exp: New file.
12372 * lib/gdb.exp (make_gdb_parallel_path): New function
12373 (standard_output_file, standard_temp_file): Call it.
12374 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12375 of $GDB_PARALLEL.
12376 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12377
12378 2015-08-03 Doug Evans <dje@google.com>
12379
12380 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12381 (LOG_FILE_NAME): New global.
12382 (TextReporter.__init__): Initialize self.txt_sum.
12383 (TextReporter.report): Add support for multiple data-points.
12384 Move report to perftest.sum, put raw data in perftest.log.
12385 (TextReporter.start): Open sum and log files.
12386 (TextReporter.end): Close sum and log files.
12387 * gdb.perf/lib/perftest/testresult.py
12388 (SingleStatisticTestResult.record): Handle multiple data-points.
12389
12390 2015-07-31 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12393 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12394 kill_wait_spawned_process instead of explicit "kill -9".
12395 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12396 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12397 kill_wait_spawned_process.
12398 * gdb.base/attach-twice.exp: Likewise.
12399 * gdb.base/attach.exp: Likewise.
12400 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12401 gdb_test_multiple.
12402 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12403 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12404 kill_wait_spawned_process.
12405 * gdb.base/valgrind-infcall.exp: Likewise.
12406 * gdb.multi/multi-attach.exp: Likewise.
12407 * gdb.python/py-prompt.exp: Likewise.
12408 * gdb.python/py-sync-interp.exp: Likewise.
12409 * gdb.server/ext-attach.exp: Likewise.
12410 * gdb.threads/attach-into-signal.exp (corefunc): Use
12411 spawn_wait_for_attach, spawn_id_get_pid and
12412 kill_wait_spawned_process.
12413 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12414 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12415 spawn_id_get_pid and kill_wait_spawned_process.
12416 * gdb.threads/attach-stopped.exp (corefunc): Use
12417 spawn_wait_for_attach, spawn_id_get_pid and
12418 kill_wait_spawned_process.
12419 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12420 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12421 kill_wait_spawned_process instead of explicit "kill -9".
12422 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12423 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12424 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12425 processes. Don't map cygwin/windows pids here. Now returns a
12426 spawn id list.
12427
12428 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12429
12430 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12431 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12432 correct patch.
12433
12434 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12435
12436 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12437
12438 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12439
12440 Reapply:
12441 2014-05-21 Mark Wielaard <mjw@redhat.com>
12442
12443 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12444
12445 2015-07-30 Pedro Alves <palves@redhat.com>
12446
12447 * linux-low.c (handle_extended_wait): Set the child's last
12448 reported status to TARGET_WAITKIND_STOPPED.
12449
12450 2015-07-30 Pedro Alves <palves@redhat.com>
12451
12452 PR threads/18600
12453 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12454 only shows inferior 1.
12455
12456 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12457 Pedro Alves <palves@redhat.com>
12458
12459 PR threads/18600
12460 * gdb.threads/fork-plus-threads.c: New file.
12461 * gdb.threads/fork-plus-threads.exp: New file.
12462
12463 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12464
12465 * gdb.base/batch-preserve-term-settings.exp
12466 (test_terminal_settings_preserved_after_cli_exit): Use
12467 send_quit_command.
12468
12469 2015-07-29 Pedro Alves <palves@redhat.com>
12470 Don Breazeal <donb@codesourcery.com>
12471
12472 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12473 output from both inferior_spawn_id and gdb_spawn_id.
12474
12475 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12476
12477 * gdb.threads/attach-into-signal.exp (corefunc): Use
12478 with_test_prefix on nested loops, uniquefying the test messages.
12479
12480 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12481
12482 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12483 commit.
12484
12485 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12486
12487 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12488 New proc.
12489 (test_terminal_settings_preserved_after_sigterm): New test.
12490
12491 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12492
12493 * gdb.base/batch-preserve-term-settings.exp
12494 (test_terminal_settings_preserved_after_cli_exit): New test.
12495
12496 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12497
12498 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12499 manipulation of saved_gdbflags.
12500 (test_terminal_settings_preserved): Remove global declaration of
12501 the unused variable pagination_prompt. Remove manipulation of
12502 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12503 GDBFLAGS.
12504
12505 2015-07-29 Pedro Alves <palves@redhat.com>
12506
12507 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12508
12509 2015-07-29 Pedro Alves <palves@redhat.com>
12510
12511 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12512 at the top.
12513
12514 2015-07-29 Pedro Alves <palves@redhat.com>
12515
12516 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12517 (main): Call gdb_unbuffer_output.
12518 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12519 (main): Call gdb_unbuffer_output.
12520 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12521 (main): Call gdb_unbuffer_output.
12522 * gdb.base/call-strs.exp: Adjust to step over the
12523 gdb_unbuffer_output call.
12524 * gdb.base/catch-gdb-caused-signals.c: Include
12525 "../lib/unbuffer_output.c".
12526 (main): Call gdb_unbuffer_output.
12527 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12528 (main): Call gdb_unbuffer_output.
12529 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12530 (main): Call gdb_unbuffer_output.
12531 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12532 (main): Call gdb_unbuffer_output.
12533 * gdb.base/shlib-call.exp: Adjust to step over the
12534 gdb_unbuffer_output call.
12535 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12536 (main): Call gdb_unbuffer_output.
12537 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12538 (main): Call gdb_unbuffer_output.
12539 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12540 (main): Rename to ...
12541 (test): ... this.
12542 (main): Reimplement.
12543 * gdb.base/varargs.exp: Run to test instead of to main.
12544 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12545 (main): Call gdb_unbuffer_output.
12546
12547 2015-07-29 Pedro Alves <palves@redhat.com>
12548
12549 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12550 factore out from mi_continue_dprintf. For call-style dprintfs,
12551 expect dprintf output out of $inferior_spawn_id.
12552 (mi_continue_dprintf): Use mi_expect_dprintf.
12553 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12554 (main): Call gdb_unbuffer_output.
12555
12556 2015-07-29 Pedro Alves <palves@redhat.com>
12557
12558 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12559 (default_mi_gdb_start): Set inferior_spawn_id instead of
12560 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12561 gdb_spawn_id.
12562 (mi_gdb_test): Always expect inferior output from both
12563 $inferior_spawn_id and $gdb_spawn_id.
12564
12565 2015-07-29 Pedro Alves <palves@redhat.com>
12566
12567 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12568 send_inferior and $inferior_spawn_id.
12569
12570 2015-07-29 Pedro Alves <palves@redhat.com>
12571
12572 * gdb.gdb/complaints.exp (test_initial_complaints)
12573 (test_serial_complaints, test_short_complaints): Use
12574 gdb_test_stdio.
12575 (test_empty_complaint): Handle $inferior_spawn_id !=
12576 $gdb_spawn_id.
12577
12578 2015-07-29 Pedro Alves <palves@redhat.com>
12579
12580 * gdb.base/varargs.exp: Use gdb_test_stdio.
12581
12582 2015-07-29 Pedro Alves <palves@redhat.com>
12583
12584 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12585
12586 2015-07-29 Pedro Alves <palves@redhat.com>
12587
12588 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12589
12590 2015-07-29 Pedro Alves <palves@redhat.com>
12591
12592 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12593 parameter into two new parameters, "inf_result" and "gdb_result".
12594 Expect inferior output and gdb output from $inferior_spawn_id and
12595 $gdb_spawn_id, respectively. Adjust all callers.
12596
12597 2015-07-29 Pedro Alves <palves@redhat.com>
12598
12599 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12600 of gdb_test_sequence.
12601
12602 2015-07-29 Pedro Alves <palves@redhat.com>
12603
12604 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12605 (saw_spurious_output): Expect inferior output from
12606 $inferior_spawn_id. Use gdb_test_stdio.
12607
12608 2015-07-29 Pedro Alves <palves@redhat.com>
12609
12610 * gdb.base/dprintf.exp: Use standard_testfile. Change
12611 prepare_for_testing call.
12612 (srcfile): Don't set.
12613 (restart): New procedure.
12614 (test_dprintf): New procecure, use to continue over dprintfs.
12615 (test_call, test_agent): New procedures, tests moved here.
12616 Restart gdb and recreate dprintfs. Adjust expected output.
12617
12618 2015-07-29 Pedro Alves <palves@redhat.com>
12619
12620 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12621
12622 2015-07-29 Pedro Alves <palves@redhat.com>
12623
12624 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12625
12626 2015-07-29 Pedro Alves <palves@redhat.com>
12627
12628 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12629 gdb_test_stdio.
12630
12631 2015-07-29 Pedro Alves <palves@redhat.com>
12632
12633 * lib/gdb.exp (gdb_test_stdio): New procedure.
12634
12635 2015-07-29 Pedro Alves <palves@redhat.com>
12636
12637 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12638
12639 2015-07-29 Pedro Alves <palves@redhat.com>
12640
12641 * gdb.base/call-signal-resume.exp: Remove check for
12642 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12643 * gdb.base/unwindonsignal.exp: Likewise.
12644 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12645 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12646
12647 2015-07-29 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.base/siginfo-addr.c (pass): New function.
12650 (handler): Call it iff si_addr is correct.
12651 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12652 Set a breakpoint at "pass" and continue to it.
12653
12654 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12655
12656 * gdb.python/py-objfile.exp: Make some tests have unique names.
12657 * gdb.python/py-pp-registration.exp: Likewise.
12658
12659 2015-07-28 Pedro Alves <palves@redhat.com>
12660
12661 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12662
12663 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12664
12665 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12666
12667 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12668
12669 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12670
12671 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12672
12673 * gdb.base/gdb-sigterm-2.exp: New test.
12674
12675 2015-07-25 Doug Evans <xdje42@gmail.com>
12676
12677 Revert:
12678 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12679 (workers/%.worker, build-perf): New rule.
12680 (GDB_PERFTEST_MODE): New variable.
12681 (check-perf): Use it.
12682 (clean): Clean up gdb.perf parallel build subdirs.
12683 * lib/build-piece.exp: New file.
12684 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12685 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12686 name.
12687 (standard_temp_file): Ditto.
12688 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12689 of $GDB_PARALLEL.
12690
12691 2015-07-24 Doug Evans <dje@google.com>
12692
12693 * gdb.perf/lib/perftest/utils.py: New file.
12694 * gdb.perf/gm-hello.cc: New file.
12695 * gdb.perf/gm-pervasive-typedef.cc: New file.
12696 * gdb.perf/gm-pervasive-typedef.h: New file.
12697 * gdb.perf/gm-std.cc: New file.
12698 * gdb.perf/gm-std.h: New file.
12699 * gdb.perf/gm-use-cerr.cc: New file.
12700 * gdb.perf/gm-utils.h: New file.
12701 * gdb.perf/gmonster-null-lookup.py: New file.
12702 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12703 * gdb.perf/gmonster-print-cerr.py: New file.
12704 * gdb.perf/gmonster-ptype-string.py: New file.
12705 * gdb.perf/gmonster-runto-main.py: New file.
12706 * gdb.perf/gmonster-select-file.py: New file.
12707 * gdb.perf/gmonster1-null-lookup.exp: New file.
12708 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12709 * gdb.perf/gmonster1-print-cerr.exp: New file.
12710 * gdb.perf/gmonster1-ptype-string.exp: New file.
12711 * gdb.perf/gmonster1-runto-main.exp: New file.
12712 * gdb.perf/gmonster1-select-file.exp: New file.
12713 * gdb.perf/gmonster1.cc: New file.
12714 * gdb.perf/gmonster1.exp: New file.
12715 * gdb.perf/gmonster2-null-lookup.exp: New file.
12716 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12717 * gdb.perf/gmonster2-print-cerr.exp: New file.
12718 * gdb.perf/gmonster2-ptype-string.exp: New file.
12719 * gdb.perf/gmonster2-runto-main.exp: New file.
12720 * gdb.perf/gmonster2-select-file.exp: New file.
12721 * gdb.perf/gmonster2.cc: New file.
12722 * gdb.perf/gmonster2.exp: New file.
12723
12724 2015-07-24 Doug Evans <dje@google.com>
12725
12726 * gdb.perf/README: New file.
12727 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12728 * lib/gen-perf-test.exp: New file.
12729
12730 2015-07-24 Doug Evans <dje@google.com>
12731
12732 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12733 (PerfTest::startup): New function.
12734 (PerfTest::run): Return result of calling body.
12735 (PerfTest::assemble): Rewrite.
12736 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12737 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12738 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12739 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12740 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12741
12742 2015-07-24 Doug Evans <dje@google.com>
12743
12744 * lib/gdb.exp (clean_restart): Make executable optional.
12745
12746 2015-07-24 Doug Evans <dje@google.com>
12747
12748 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12749 compiler_info references.
12750 * gdb.cp/temargs.exp: Ditto.
12751 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12752 (get_compiler_info): Early exit if already computed. Set compiler_info
12753 to "unknown" if there was a problem.
12754 (test_compiler_info): Add function comment. Call get_compiler_info.
12755
12756 2015-07-24 Doug Evans <dje@google.com>
12757
12758 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12759 (workers/%.worker, build-perf): New rule.
12760 (GDB_PERFTEST_MODE): New variable.
12761 (check-perf): Use it.
12762 (clean): Clean up gdb.perf parallel build subdirs.
12763 * lib/build-piece.exp: New file.
12764 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12765 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12766 name.
12767 (standard_temp_file): Ditto.
12768 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12769 of $GDB_PARALLEL.
12770
12771 2015-07-24 Doug Evans <dje@google.com>
12772
12773 * lib/future.exp (gdb_default_target_compile): New option
12774 "early_flags".
12775 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12776 --as-needed.
12777
12778 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12779
12780 * gdb.base/catch-syscall.exp: Call gdb_exit before
12781 gdb_skip_xml_test.
12782
12783 2015-07-24 Pedro Alves <palves@redhat.com>
12784
12785 * gdb.python/py-events.exp: Accept output between the stop event
12786 and the prompt.
12787 * gdb.python/py-evsignal.exp: Likewise.
12788 * gdb.python/py-evthreads.exp: Likewise.
12789
12790 2015-07-24 Pedro Alves <palves@redhat.com>
12791
12792 PR gdb/18717
12793 * gdb.threads/non-ldr-exit.c: New file.
12794 * gdb.threads/non-ldr-exit.exp: New file.
12795
12796 2015-07-24 Yao Qi <yao.qi@linaro.org>
12797
12798 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12799 restarting process.
12800
12801 2015-07-24 Yao Qi <yao.qi@linaro.org>
12802
12803 * gdb.server/ext-restart.exp: New file.
12804
12805 2015-07-24 Yao Qi <yao.qi@linaro.org>
12806
12807 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12808 argument options.
12809 * gdb.server/ext-wrapper.exp: New file.
12810
12811 2015-07-23 Doug Evans <dje@google.com>
12812
12813 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12814 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12815
12816 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12817
12818 * gdb.ada/var_arr_typedef.exp: New testcase.
12819 * gdb.ada/var_arr_typedef/pack.adb: New file.
12820 * gdb.ada/var_arr_typedef/pack.ads: New file.
12821 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12822
12823 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12824
12825 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12826
12827 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12828
12829 * gdb.arch/i386-biarch-core.exp: Replace istarget
12830 by "complete set gnutarget". Remove expectation for the "core-file"
12831 command.
12832
12833 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12834
12835 Revert the previous commit:
12836 Tests for validate symbol file using build-id.
12837
12838 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12839
12840 Tests for validate symbol file using build-id.
12841 * gdb.base/solib-mismatch-lib.c: New file.
12842 * gdb.base/solib-mismatch-libmod.c: New file.
12843 * gdb.base/solib-mismatch.c: New file.
12844 * gdb.base/solib-mismatch.exp: New file.
12845
12846 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12847
12848 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12849 nios2-*-linux*.
12850 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12851 * gdb.base/siginfo.exp: Likewise.
12852 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12853
12854 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12855
12856 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12857 Move it to ...
12858 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12859 ... here.
12860 * gdb.trace/range-stepping.exp: Check that the target supports
12861 range stepping.
12862
12863 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12864
12865 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12866
12867 2015-07-14 Pedro Alves <palves@redhat.com>
12868
12869 * gdb.base/killed-outside.exp: New file.
12870 * gdb.base/killed-outside.c: New file.
12871
12872 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12873
12874 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12875 (n at main): New.
12876 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12877
12878 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12879
12880 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12881 infcall tests instead of setting up for KFAIL.
12882
12883 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12884
12885 * gdb.btrace/record_goto-step.exp: New.
12886
12887 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12888
12889 PR compile/18484
12890 * gdb.compile/compile.c (struct struct_type): Add volatile to
12891 selffield's type.
12892 * gdb.compile/compile.exp
12893 (compile code struct_object.selffield = &struct_object): Skip further
12894 struct_object tests if this one xfails.
12895
12896 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12897
12898 PR exp/18617
12899 * gdb.trace/ax.exp: Add test.
12900
12901 2015-07-07 Yao Qi <yao.qi@linaro.org>
12902
12903 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12904 instead of istarget "aarch64*-*-*".
12905 * gdb.arch/aarch64-fp.exp: Likewise.
12906 * gdb.base/float.exp: Likewise.
12907 * gdb.reverse/aarch64.exp: Likewise.
12908 * lib/gdb.exp (is_aarch64_target): New proc.
12909
12910 2015-07-07 Yao Qi <yao.qi@linaro.org>
12911
12912 * lib/gdb.exp (is_aarch32_target): New proc.
12913 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12914 instead of "istarget "arm*-*-*"".
12915 * gdb.arch/arm-disp-step.exp: Likewise.
12916 * gdb.arch/thumb-bx-pc.exp: Likewise.
12917 * gdb.arch/thumb-prologue.exp: Likewise.
12918 * gdb.arch/thumb-singlestep.exp: Likewise.
12919 * gdb.base/disp-step-syscall.exp: Likewise.
12920 * gdb.base/float.exp: Likewise.
12921
12922 2015-07-07 Yao Qi <yao.qi@linaro.org>
12923
12924 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12925 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12926
12927 2015-07-07 Yao Qi <yao.qi@linaro.org>
12928
12929 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12930 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12931 if it exists.
12932 * gdb.multi/multi-arch.exp: Likewise.
12933
12934 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12935
12936 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12937 print.
12938
12939 2015-07-07 Yao Qi <yao.qi@linaro.org>
12940
12941 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12942
12943 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12944
12945 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12946 '[' and ']' characters.
12947
12948 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12949
12950 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12951
12952 2015-06-29 Pedro Alves <palves@redhat.com>
12953
12954 PR threads/18127
12955 * gdb.threads/hand-call-new-thread.c: New file.
12956 * gdb.threads/hand-call-new-thread.c: New file.
12957
12958 2015-06-26 Keith Seitz <keiths@redhat.com>
12959 Doug Evans <dje@google.com>
12960
12961 PR 16253
12962 * gdb.cp/var-tag-2.cc: New file.
12963 * gdb.cp/var-tag-3.cc: New file.
12964 * gdb.cp/var-tag-4.cc: New file.
12965 * gdb.cp/var-tag.cc: New file.
12966 * gdb.cp/var-tag.exp: New file.
12967
12968 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12969
12970 * gdb.base/history-duplicates.exp: New test.
12971
12972 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12973
12974 * gdb.base/completion.exp: Test the completion of the "focus"
12975 command.
12976
12977 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12978
12979 * gdb.arch/amd64-prologue-skip.S: New file.
12980 * gdb.arch/amd64-prologue-skip.exp: New file.
12981
12982 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12983
12984 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12985 is_address_zero_readable check.
12986
12987 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12988
12989 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12990 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12991
12992 2015-06-24 Yao Qi <yao.qi@linaro.org>
12993
12994 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12995 linux targets.
12996
12997 2015-06-24 Yao Qi <yao.qi@linaro.org>
12998
12999 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13000 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13001 * gdb.base/siginfo-thread.exp: Likewise.
13002
13003 2015-06-22 Yao Qi <yao.qi@linaro.org>
13004
13005 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13006
13007 2015-06-22 Yao Qi <yao.qi@linaro.org>
13008
13009 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13010 aarch64*-*-*.
13011 (skip_hw_watchpoint_tests): Likewise.
13012
13013 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13014
13015 * gdb.base/gdbinit-history.exp: Test the interaction between
13016 setting GDBHISTSIZE and setting the history size via .gdbinit.
13017
13018 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13019
13020 PR gdb/16999
13021 * gdb.base/gdbhistsize-history.exp: New test.
13022
13023 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13024
13025 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13026 with GDBHISTSIZE.
13027 * gdb.base/readline.exp: Likewise.
13028
13029 2015-06-17 Yao Qi <yao.qi@linaro.org>
13030
13031 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13032 line.
13033
13034 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13035
13036 * gdb.base/gdbinit-history.exp: Add test case to check that
13037 an unlimited history file does not get truncated on exit.
13038
13039 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13040
13041 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13042 (VECTOR): New macro. Use it...
13043 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13044 ...for these typedefs.
13045 (int8, char1, int1, double1): New typedefs.
13046 (struct just_int2, struct two_int2): New structures.
13047 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13048 (add_structvecs, add_singlevecs): New functions.
13049 (main): Call add_some_intvecs twice.
13050 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13051 the compile and exit upon failure. Try compiling for the "native"
13052 architecture. Test inferior function calls with vector arguments
13053 and vector return value handling with "finish" and "return".
13054
13055 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13056
13057 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13058 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13059 PE file.
13060 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13061
13062 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13063
13064 PR breakpoints/16465
13065 * gdb.mi/mi-dprintf-pending.c: New file.
13066 * gdb.mi/mi-dprintf-pending.exp: New test.
13067 * gdb.mi/mi-dprintf-pendshr.c: New file.
13068
13069 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13070 Mircea Gherzan <mircea.gherzan@intel.com>
13071
13072 * gdb.arch/i386-mpx-map.c: New file.
13073 * gdb.arch/i386-mpx-map.exp: New File.
13074
13075 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13076
13077 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13078 * gdb.arch/i386-mpx.exp: Indentation fixed.
13079
13080 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13081
13082 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13083 function and improved indentation.
13084 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13085 gdb_test_multiple. Added additional tests to skip the test.
13086
13087 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13088
13089 * gdb.arch/i386-avx512.c: Change path in include file.
13090 * gdb.arch/i386-avx512.exp: Change include dir path
13091 compilation flag.
13092 * gdb.arch/i386-mpx.c: Change path in include file.
13093 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13094 flag.
13095
13096 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13097
13098 * gdb.compile/compile-print.exp (compile print *vararray@3)
13099 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13100
13101 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13102
13103 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13104 (do not keep jit in memory): ... this.
13105 (expect 5): Change it to ...
13106 (expect no 5): ... this.
13107
13108 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13109
13110 PR gdb/15564
13111 * gdb.mi/mi-detach.exp: New file.
13112
13113 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13114
13115 PR symtab/18392
13116 * gdb.arch/amd64-tailcall-self.S: New file.
13117 * gdb.arch/amd64-tailcall-self.c: New file.
13118 * gdb.arch/amd64-tailcall-self.exp: New file.
13119
13120 2015-05-28 Don Breazeal <donb@codesourcery.com>
13121
13122 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13123 tests for remote targets by checking is_target_gdbserver.
13124
13125 2015-05-27 Doug Evans <dje@google.com>
13126
13127 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13128 * gdb.dwarf2/opaque-type-lookup.c: New file.
13129 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13130
13131 2015-05-26 Doug Evans <dje@google.com>
13132
13133 * gdb.cp/iostream.cc: New file.
13134 * gdb.cp/iostream.exp: New file.
13135
13136 2015-05-26 Doug Evans <dje@google.com>
13137
13138 * gdb.dwarf2/dw2-op-call.exp: Update.
13139 * gdb.dwarf2/dw4-sig-types.exp: Update.
13140 * gdb.dwarf2/implptr.exp: Update.
13141 * gdb.mi/mi-cmd-param-changed.exp: Update.
13142
13143 2015-05-26 Doug Evans <dje@google.com>
13144
13145 * gdb.python/py-lazy-string.c: New file.
13146 * gdb.python/py-lazy-string.exp: New file.
13147 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13148 (main): Update. Add estring3.
13149 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13150 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13151
13152 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13153 Yao Qi <yao.qi@linaro.org>
13154
13155 * gdb.reverse/aarch64.c: New.
13156 * gdb.reverse/aarch64.exp: New.
13157
13158 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13159
13160 * lib/gdb.exp (supports_process_record): Return true for
13161 aarch64*-linux*.
13162 (supports_reverse): Likewise.
13163
13164 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13165
13166 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13167 Use with_test_prefix.
13168
13169 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13170
13171 * gdb.base/completion.exp: Add test for completion of layout
13172 names.
13173
13174 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13175
13176 * lib/gdb.exp (skip_tui_tests): New proc.
13177 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13178
13179 2015-05-19 Pedro Alves <palves@redhat.com>
13180
13181 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13182 Save the whole env array instead of just HOME. Unset HISTSIZE in
13183 the environment while testing. Restore whole environment
13184 afterwards.
13185
13186 2015-05-16 Doug Evans <xdje42@gmail.com>
13187
13188 * gdb.guile/scm-ports.c: New file.
13189 * gdb.guile/scm-ports.exp: Add memory port tests.
13190
13191 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13192
13193 * gdb.compile/compile-print.c: New file.
13194 * gdb.compile/compile-print.exp: New file.
13195
13196 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13197
13198 * gdb.compile/compile-ops.exp: Cast param to void.
13199 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13200 (compile code struct_object.selffield = &struct_object): Add xfail.
13201
13202 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13203
13204 * gdb.ada/arr_enum_with_gap: New testcase.
13205
13206 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13207
13208 * gdb.ada/byte_packed_arr: New testcase.
13209
13210 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13211
13212 * gdb.ada/pckd_neg: New testcase.
13213
13214 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13215
13216 PR gdb/17820
13217 * gdb.base/gdbinit-history.exp: New test.
13218 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13219 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13220
13221 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13222
13223 * gdb.python/py-xmethods.cc: Enhance test case.
13224 * gdb.python/py-xmethods.exp: New tests.
13225 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13226 function.
13227 (B_indexoper): Likewise.
13228 (global_dm_list) : Add new xmethod worker functions.
13229
13230 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13231
13232 * gdb.base/coredump-filter.exp: Correctly unset
13233 "coredump_var_addr" array.
13234
13235 2015-05-08 Pedro Alves <palves@redhat.com>
13236
13237 * gdb.server/non-existing-program.exp: Unset spawn_id.
13238
13239 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13240
13241 PR python/18291
13242 * gdb.python/py-xmethods.exp: Add tests.
13243
13244 2015-05-08 Yao Qi <yao.qi@linaro.org>
13245
13246 PR gdb/18208
13247 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13248 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13249 function set_coredump_filter, and remove remote_exec call.
13250 Remove argument ipid. Callers update.
13251 (top level): Don't get inferior's PID.
13252
13253 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13254
13255 * gdb.base/watch_thread_num.exp: Skip test on targets without
13256 access watchpoints.
13257
13258 2015-05-06 Pedro Alves <palves@redhat.com>
13259
13260 PR server/18081
13261 * gdb.server/non-existing-program.exp: New file.
13262
13263 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13264
13265 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13266
13267 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13268
13269 * gdb.ada/out_of_line_in_inlined: New testcase.
13270
13271 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13272
13273 * gdb.ada/var_rec_arr: New testcase.
13274
13275 2015-04-30 Yao Qi <yao.qi@linaro.org>
13276
13277 * gdb.base/break-idempotent.exp: If
13278 skip_hw_watchpoint_multi_tests returns true, skip the tests
13279 on "rwatch" and "awatch".
13280
13281 2015-04-30 Yao Qi <yao.qi@linaro.org>
13282
13283 * gdb.base/relativedebug.exp: Invoke gdb command
13284 "info sharedlibrary", and if libc.so doesn't have debug info,
13285 skip the test.
13286
13287 2015-04-29 Doug Evans <dje@google.com>
13288
13289 * gdb.python/py-xmethods.exp: Add ptype tests.
13290 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13291 get_result_type method.
13292
13293 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13294
13295 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13296 the target does not support hardware watchpoints.
13297
13298 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13299
13300 * gdb.base/break-always.exp: Abort testing if writing to memory
13301 causes an error.
13302
13303 2015-04-28 Doug Evans <dje@google.com>
13304
13305 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13306 * gdb.python/py-pp-registration.exp: ... here. New file.
13307 * gdb.python/py-pp-registration.c: New file.
13308 * gdb.python/py-pp-registration.py: New file.
13309
13310 2015-04-28 Doug Evans <dje@google.com>
13311
13312 * gdb.python/py-bad-printers.c: New file.
13313 * gdb.python/py-bad-printers.py: New file.
13314 * gdb.python/py-bad-printers.exp: New file.
13315
13316 2015-04-28 Sasha Smundak <asmundak@google.com>
13317
13318 * gdb.python/py-type.exp: New test.
13319
13320 2015-04-28 Andy Wingo <wingo@igalia.com>
13321
13322 * gdb.python/py-parameter.exp:
13323 * gdb.guile/scm-parameter.exp: Escape the path that we are
13324 matching against, as it might contain characters that are special
13325 to regular expressions.
13326
13327 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13328
13329 * gdb.ada/rec_comp: New testcase.
13330
13331 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13332
13333 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13334 before using it.
13335
13336 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13337
13338 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13339 new tests for verilog output.
13340
13341 2015-04-24 Yao Qi <yao.qi@linaro.org>
13342
13343 * boards/remote-gdbserver-on-localhost.exp: New file.
13344
13345 2015-04-23 Pedro Alves <palves@redhat.com>
13346
13347 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13348 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13349 "end of file", remove $inferior_spawn_id from the indirect list.
13350
13351 2015-04-23 Pedro Alves <palves@redhat.com>
13352
13353 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13354
13355 2015-04-23 Pedro Alves <palves@redhat.com>
13356
13357 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13358 on $any_spawn_id instead of only on $gdb_spawn_id.
13359
13360 2015-04-21 Pierre Muller <muller@sourceware.org>
13361
13362 PR pascal/17815
13363 * lib/pascal.exp (gpc_compile): Add new option "class".
13364 (fpc_compile): Likewise.
13365 * gdb.pascal/case-insensitive-symbols.pas: New file.
13366 * gdb.pascal/case-insensitive-symbols.exp: New file.
13367
13368 2015-04-20 Gary Benson <gbenson@redhat.com>
13369
13370 * gdb.base/attach.exp: Fix three extended remote failures.
13371
13372 2015-04-17 Gary Benson <gbenson@redhat.com>
13373
13374 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13375 the main executable over the remote protocol.
13376
13377 2015-04-16 Pedro Alves <palves@redhat.com>
13378
13379 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13380 a new gdbserver if gdbserver_reconnect_p is set.
13381
13382 2015-04-16 Pedro Alves <palves@redhat.com>
13383
13384 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13385 is set, don't exit gdbserver.
13386
13387 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13388
13389 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13390 appropriate .insn, such that an older assembler can be used.
13391 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13392 the z/Architecture instruction set on 31-bit targets as well.
13393
13394 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13395
13396 * gdb.go/handcall.exp: Remove all logic related to the first
13397 breakpoint and rely on go_runto_main instead.
13398 * gdb.go/strings.exp: Likewise.
13399 * gdb.go/unsafe.exp: Likewise.
13400 * gdb.go/hello.exp: Likewise. Also rename the remaining
13401 breakpoint marker to "breakpoint 1".
13402 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13403 * gdb.go/strings.go: Likewise.
13404 * gdb.go/unsafe.go: Likewise.
13405 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13406 "set breakpoint 2 here" and rename the remaining breakpoint marker
13407 to "breakpoint 1".
13408
13409 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13410
13411 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13412 if itertools.imap is not present.
13413 * gdb.python/py-objfile.exp: Add parentheses.
13414 * gdb.python/py-type.exp: Same.
13415 * gdb.python/py-unwind-maint.py: Same.
13416
13417 2015-04-15 Yao Qi <yao.qi@linaro.org>
13418
13419 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13420 of ":$ptr_size" and set its form explicitly.
13421
13422 2015-04-15 Pedro Alves <palves@redhat.com>
13423 Yao Qi <yao.qi@linaro.org>
13424
13425 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13426 timeout by factor of 4.
13427 (test_regular_watch): Likewise.
13428 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13429 * gdb.reverse/sigall-reverse.exp: Likewise.
13430 * gdb.reverse/until-precsave.exp: Likewise.
13431 * lib/gdb.exp (with_timeout_factor): New proc.
13432 (gdb_expect): Move some code to ...
13433 (get_largest_timeout): ... here. New procedure.
13434
13435 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13436
13437 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13438
13439 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13440
13441 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13442 to write to the .text section.
13443
13444 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13445
13446 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13447 Handle the case of targets that do not provide PID information.
13448
13449 2015-04-13 Yao Qi <yao.qi@linaro.org>
13450
13451 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13452 and use expect instead of gdb_expect.
13453
13454 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13455
13456 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13457 "coredump_var_addr" to avoid naming conflict with other testcases.
13458
13459 2015-04-10 Pedro Alves <palves@redhat.com>
13460
13461 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13462 gdb_test_sequence and gdb_assert.
13463
13464 2015-04-10 Pedro Alves <palves@redhat.com>
13465
13466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13467 test messages that don't include the breakpoint address.
13468
13469 2015-04-10 Yao Qi <yao.qi@linaro.org>
13470
13471 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13472 false for some offset and width combinations which aren't
13473 supported by linux kernel.
13474
13475 2015-04-10 Pedro Alves <palves@redhat.com>
13476
13477 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13478 procedure, factored out from ...
13479 (top level): ... here. Add "set displaced-stepping" testing axis.
13480 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13481 parameter "displaced". Use it.
13482 (top level): Use foreach and add "set displaced-stepping" testing
13483 axis.
13484
13485 2015-04-10 Pedro Alves <palves@redhat.com>
13486
13487 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13488 Remove comment.
13489 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13490 both the address of the instruction that triggers the watchpoint
13491 and the address of the instruction immediately after, and use
13492 those addresses for the test. Fix comment.
13493
13494 2015-04-10 Pedro Alves <palves@redhat.com>
13495
13496 * gdb.base/sigstep.exp (breakpoint_to_handler)
13497 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13498 Test "backtrace" in handler.
13499 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13500 (top level): Add new "displaced" test axis to
13501 breakpoint_to_handler, breakpoint_to_handler_entry and
13502 breakpoint_over_handler.
13503
13504 2015-04-10 Pedro Alves <palves@redhat.com>
13505
13506 PR gdb/18216
13507 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13508
13509 2015-04-10 Yao Qi <yao.qi@linaro.org>
13510
13511 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13512 (test_add_rn_pc): New function.
13513 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13514 (top level): Invoke test_add_rn_pc.
13515
13516 2015-04-10 Pedro Alves <palves@redhat.com>
13517
13518 PR gdb/13858
13519 * gdb.base/step-over-no-symbols.exp: New file.
13520
13521 2015-04-09 Andy Wingo <wingo@igalia.com>
13522
13523 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13524 after the Python tests.
13525
13526 2015-04-08 Keith Seitz <keiths@redhat.com>
13527
13528 PR python/16699
13529 * gdb.python/py-completion.exp: New tests for completion.
13530 * gdb.python/py-completion.py (CompleteLimit1): New class.
13531 (CompleteLimit2): Likewise.
13532 (CompleteLimit3): Likewise.
13533 (CompleteLimit4): Likewise.
13534 (CompleteLimit5): Likewise.
13535 (CompleteLimit6): Likewise.
13536 (CompleteLimit7): Likewise.
13537
13538 2015-04-08 Pedro Alves <palves@redhat.com>
13539
13540 PR gdb/18214
13541 PR gdb/18216
13542 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13543 function.
13544 (main): Install it as SIGUSR1 handler.
13545 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13546 parameter. Always use "setup" as prefix. Toggle "set
13547 displaced-stepping" off/on depending on global. Don't switch to
13548 thread 1 here.
13549 (top level): Add displaced stepping "off/on" test axis. Update
13550 "setup" calls. Wrap each subtest with with_test_prefix. Test
13551 continuing with a queued signal in each thread.
13552
13553 2015-04-08 Pedro Alves <palves@redhat.com>
13554
13555 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13556 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13557 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13558 Return early if running to main fails.
13559 * gdb.trace/while-stepping.exp: Likewise.
13560
13561 2015-04-07 Pedro Alves <palves@redhat.com>
13562
13563 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13564 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13565 interact with inferior program.
13566
13567 2015-04-07 Pedro Alves <palves@redhat.com>
13568
13569 * lib/gdb.exp (inferior_spawn_id): New global.
13570 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13571 spawn id after processing the user code.
13572 (default_gdb_start): Set inferior_spawn_id.
13573 (send_inferior): New procedure.
13574 * lib/gdbserver-support.exp (gdbserver_start): Set
13575 inferior_spawn_id.
13576 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13577
13578 2015-04-07 Pedro Alves <palves@redhat.com>
13579
13580 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13581 * lib/gdbserver-support.exp (gdbserver_start): Make
13582 $server_spawn_id global.
13583 (gdbserver_start): Don't wait for gdbserver's spawn id with
13584 expect_background.
13585 (close_gdbserver): New procedure.
13586 (gdb_exit): Rename the default version and reimplement.
13587
13588 2015-04-07 Pedro Alves <palves@redhat.com>
13589
13590 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13591 append the substituted item, not the original item.
13592
13593 2015-04-07 Pedro Alves <palves@redhat.com>
13594
13595 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13596 gdb_expect.
13597
13598 2015-04-07 Pedro Alves <palves@redhat.com>
13599
13600 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13601 output appearing once only.
13602
13603 2015-04-07 Pedro Alves <palves@redhat.com>
13604
13605 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13606 that doesn't expect anything. Return early if running to main
13607 fails.
13608
13609 2015-04-07 Yao Qi <yao.qi@linaro.org>
13610
13611 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13612 (child_function): Call alarm.
13613 (main): Move call to alarm into the loop.
13614 * gdb.threads/non-stop-fair-events.exp: Build program with
13615 -DTIMEOUT=$timeout.
13616
13617 2015-04-06 Doug Evans <xdje42@gmail.com>
13618
13619 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13620 Fix dest parameter to board_info.
13621 (fpc_compile): Ditto.
13622 (gdb_compile_pascal): Rename dest arg to destfile.
13623
13624 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13625
13626 * gdb.ada/funcall_ref.exp: New file.
13627 * gdb.ada/funcall_ref/foo.adb: New file.
13628
13629 2015-04-02 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13632 is remote.
13633
13634 2015-04-02 Gary Benson <gbenson@redhat.com>
13635
13636 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13637
13638 2015-04-01 Sasha Smundak <asmundak@google.com>
13639
13640 * gdb.python/py-unwind-maint.c: New file.
13641 * gdb.python/py-unwind-maint.exp: New test.
13642 * gdb.python/py-unwind-maint.py: New file.
13643 * gdb.python/py-unwind.c: New file.
13644 * gdb.python/py-unwind.exp: New test.
13645 * gdb.python/py-unwind.py: New test.
13646
13647 2015-04-01 Pedro Alves <palves@redhat.com>
13648
13649 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13650 to fail instead of non-existent $test.
13651
13652 2015-04-01 Pedro Alves <palves@redhat.com>
13653
13654 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13655 GDBFLAGS if not empty.
13656
13657 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13658
13659 * gdb.ada/complete.exp: Remove "multi_line".
13660 * gdb.ada/info_exc.exp: Remove "multi_line".
13661 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13662 * gdb.ada/ptype_field.exp: Remove "multi_line".
13663 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13664 * gdb.ada/tagged.exp: Remove "multi_line".
13665 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13666 [multi_line ...]
13667 * gdb.btrace/delta.exp: Likewise.
13668 * gdb.btrace/exception.exp: Likewise.
13669 * gdb.btrace/function_call_history.exp: Likewise.
13670 * gdb.btrace/instruction_history.exp: Likewise.
13671 * gdb.btrace/nohist.exp: Likewise.
13672 * gdb.btrace/record_goto.exp: Likewise.
13673 * gdb.btrace/segv.exp: Likewise.
13674 * gdb.btrace/stepi.exp: Likewise.
13675 * gdb.btrace/tailcall.exp: Likewise.
13676 * gdb.btrace/unknown_functions.exp: Likewise.
13677 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13678 * lib/gdb.exp: Add the "multi_line" helper.
13679
13680 2015-04-01 Pedro Alves <palves@redhat.com>
13681
13682 * gdb.threads/tid-reuse.c: New file.
13683 * gdb.threads/tid-reuse.exp: New file.
13684
13685 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13686
13687 PR corefiles/16092
13688 * gdb.base/coredump-filter.c: New file.
13689 * gdb.base/coredump-filter.exp: Likewise.
13690
13691 2015-03-27 Petr Machata <pmachata@redhat.com>
13692
13693 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13694 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13695 (Dwarf::assemble): Initialize them.
13696 (Dwarf::lines): New function.
13697
13698 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13699
13700 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13701 SYMBOL_PREFIX for x86_64-*-cygwin.
13702
13703 2015-03-26 Andy Wingo <wingo@igalia.com>
13704
13705 PR symtab/18148
13706 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13707 const_value but not a location.
13708 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13709 location defined in non-main CUs are visible.
13710
13711 2015-03-26 Yao Qi <yao.qi@linaro.org>
13712
13713 PR testsuite/18139
13714 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13715 Add a line number entry for the same line.
13716 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13717 Add a line number entry for the same line.
13718
13719 2015-03-26 Yao Qi <yao.qi@linaro.org>
13720
13721 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13722 .int 0.
13723 (func): Likewise. Add .Lfunc_1 label.
13724 Use .Lfunc_1 label.
13725 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13726 .int 0.
13727 (func): Likewise.
13728 Use .Lfunc_1 label.
13729
13730 2015-03-26 Yao Qi <yao.qi@linaro.org>
13731
13732 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13733 Call gdb_compile instead to compile each .s files without debug
13734 information.
13735
13736 2015-03-26 Yao Qi <yao.qi@linaro.org>
13737
13738 * gdb.base/savedregs.exp (process_saved_regs): Make
13739 "Saved registers:" optional in the pattern.
13740
13741 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13742
13743 * gdb.btrace/next.exp: Merged into step.exp.
13744 * gdb.btrace/finish.exp: Merged into step.exp.
13745 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13746 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13747 "record goto" and checking the exact replay position.
13748 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13749 check for "Recording format" in "info record" output.
13750 * gdb.btrace/record_goto.exp: Choose test file based on target.
13751 * gdb.btrace/x86-record_goto.S: Renamed into ...
13752 * gdb.btrace/x86_64-record_goto.S: ... this.
13753 * gdb.btrace/i686-record_goto.S: New.
13754 * gdb.btrace/x86-tailcall.S: Renamed into ...
13755 * gdb.btrace/x86_64-tailcall.S: ... this.
13756 * gdb.btrace/i686-tailcall.S: New.
13757 * gdb.btrace/x86-tailcall.c: Renamed into ...
13758 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13759 separate statements. Update test.
13760 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13761 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13762 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13763 * gdb.btrace/tailcall.exp: Choose test file based on target.
13764 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13765
13766 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13767
13768 * gdb.btrace/exception.exp: Increase BTS buffer size.
13769
13770 2015-03-24 Pedro Alves <palves@redhat.com>
13771
13772 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13773
13774 2015-03-24 Pedro Alves <palves@redhat.com>
13775
13776 * gdb.threads/schedlock.exp (test_step): No longer expect that
13777 "set scheduler-locking step" with "next" over a function call runs
13778 threads unlocked.
13779
13780 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13781
13782 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13783
13784 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13785
13786 PR breakpoints/16466
13787 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13788 * gdb.mi/mi-pending.c (thread_func): New function.
13789 (int main): Add threading support required.
13790 * gdb.mi/mi-pending.exp: Add tests for this issue.
13791 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13792 (pendfunc2): Remove stdio dependency.
13793 * gdb.mi/mi-pendshr2.c: New file.
13794
13795 2015-03-23 Keith Seitz <keiths@redhat.com>
13796
13797 * gdb.linespec/keywords.c: New file.
13798 * gdb.linespec/keywords.exp: New file.
13799
13800 2015-03-23 Keith Seitz <keiths@redhat.com>
13801
13802 PR gdb/18021
13803 * gdb.dwarf2/staticvirtual.exp: New test.
13804
13805 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13806
13807 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13808 * README: Remove HP-UX and gdb.hp.
13809 (configuration):
13810 * configure: Regenerate.
13811 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13812 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13813 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13814 gdb.hp/gdb.defects/Makefile.
13815 * gdb.hp/Makefile.in: File deleted.
13816 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13817 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13818 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13819 * gdb.hp/gdb.aCC/run.c: File deleted.
13820 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13821 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13822 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13823 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13824 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13825 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13826 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13827 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13828 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13829 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13830 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13831 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13832 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13833 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13834 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13835 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13836 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13837 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13838 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13839 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13840 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13841 * gdb.hp/gdb.compat/average.c: File deleted.
13842 * gdb.hp/gdb.compat/sum.c: File deleted.
13843 * gdb.hp/gdb.compat/xdb.c: File deleted.
13844 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13845 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13846 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13847 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13848 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13849 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13850 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13851 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13852 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13853 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13854 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13855 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13856 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13857 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13858 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13859 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13860 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13861 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13862 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13863 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13864 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13865 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13866 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13867 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13868 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13869 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13870 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13871 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13872 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13873 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13874 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13875 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13876 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13877 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13878 * gdb.hp/tools/odump: File deleted.
13879
13880 2015-03-19 Pedro Alves <palves@redhat.com>
13881
13882 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13883 (saw_thread_3): New globals.
13884 (top level): Increment them when an event for the corresponding
13885 thread is seen.
13886 (no thread starvation): New test.
13887
13888 2015-03-19 Pedro Alves <palves@redhat.com>
13889
13890 * gdb.threads/continue-pending-status.c: New file.
13891 * gdb.threads/continue-pending-status.exp: New file.
13892
13893 2015-03-18 Pedro Alves <palves@redhat.com>
13894
13895 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13896 Use gdb_is_target_remote instead of is_remote. Use
13897 gdb_test_multiple instead of gdb_expect. Exit early if
13898 gdb_test_multiple hits its internal matches. Tighten stepi tests
13899 expected output. Fail on exit with any signal, instead of just
13900 SIGILL.
13901
13902 2015-03-18 Yao Qi <yao.qi@linaro.org>
13903
13904 PR tdep/18107
13905 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13906 variable.
13907 * gdb.base/catch-syscall.exp: Don't skip it on
13908 aarch64*-*-linux* target. Remove elements in all_syscalls.
13909 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13910 target.
13911 (setup_all_syscalls): New proc.
13912
13913 2015-03-16 Yao Qi <yao.qi@linaro.org>
13914
13915 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13916 (top level): Skip tests if valid_addr_p returns false for
13917 $cmd1 or $cmd2.
13918
13919 2015-03-11 Andy Wingo <wingo@igalia.com>
13920
13921 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13922
13923 2015-03-11 Yao Qi <yao.qi@linaro.org>
13924
13925 * gdb.base/catch-syscall.exp: Fix typo in comments.
13926
13927 2015-03-11 Yao Qi <yao.qi@linaro.org>
13928
13929 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13930
13931 2015-03-09 Pedro Alves <palves@redhat.com>
13932
13933 * dg-extract-results.py: Delete.
13934
13935 2015-03-09 Pedro Alves <palves@redhat.com>
13936
13937 Merge dg-extract-results.sh from GCC upstream (r218843).
13938
13939 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13940 * dg-extract-results.sh: Use --text with grep to avoid issues with
13941 binary files. Fall back to cat -v, if that doesn't work.
13942
13943 2015-03-05 Pedro Alves <palves@redhat.com>
13944
13945 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13946
13947 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13948
13949 * lib/mi-support.exp (mi_expect_interrupt): Accept
13950 alternative event for when in all-stop mode.
13951
13952 2015-03-04 Pedro Alves <palves@redhat.com>
13953
13954 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13955
13956 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13957
13958 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13959
13960 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13961
13962 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13963 regexps for GDB's current line display, accept a hex address
13964 preceding the line number.
13965
13966 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13967
13968 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13969 the 'arch1' variable for "s390*-linux*" targets.
13970
13971 2015-03-04 Pedro Alves <palves@redhat.com>
13972
13973 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13974 (main): Pass missing retval argument to pthread_join call.
13975
13976 2015-03-02 Pedro Alves <palves@redhat.com>
13977
13978 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13979 (top level): Call do_test with non-stop as well.
13980
13981 2015-03-02 Pedro Alves <palves@redhat.com>
13982
13983 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13984 -1.
13985
13986 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13987
13988 * gdb.arch/s390-vregs.exp: New test.
13989 * gdb.arch/s390-vregs.S: New file.
13990
13991 2015-02-27 Pedro Alves <palves@redhat.com>
13992
13993 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13994 call to catch_command_errors.
13995 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13996 catch_command_errors.
13997
13998 2015-02-27 Pedro Alves <palves@redhat.com>
13999
14000 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14001 "true" for boolean result.
14002 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14003 prototype of main.
14004
14005 2015-02-27 Pedro Alves <palves@redhat.com>
14006
14007 * lib/unbuffer_output.c: New file.
14008 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14009 (main): Call gdb_unbuffer_output.
14010
14011 2015-02-27 Yao Qi <yao.qi@linaro.org>
14012
14013 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14014 target.
14015
14016 2015-02-26 Doug Evans <dje@google.com>
14017
14018 * gdb.cp/class2.cc (Dbase, D): New classes.
14019 (main): New local delta.
14020 * gdb.cp/class2.exp: Test printing delta.
14021 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14022 (dynbar): New global.
14023 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14024
14025 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14026
14027 * gdb.compile/compile-ifunc.c: New file.
14028 * gdb.compile/compile-ifunc.exp: New file.
14029
14030 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14031
14032 * gdb.base/structs.exp: Check for correct struct on finish.
14033
14034 2015-02-26 Yao Qi <yao.qi@linaro.org>
14035
14036 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14037 is zero.
14038
14039 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14040
14041 * gdb.arch/cordic.ko.bz2: New file.
14042 * gdb.arch/cordic.ko.debug.bz2: New file.
14043 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14044
14045 2015-02-25 Yao Qi <yao.qi@linaro.org>
14046
14047 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14048 aarch64*-*-* target.
14049
14050 2015-02-23 Pedro Alves <palves@redhat.com>
14051
14052 * lib/gdb.exp (delete_breakpoints): Rewrite using
14053 gdb_test_multiple.
14054
14055 2015-02-23 Pedro Alves <palves@redhat.com>
14056
14057 * gdb.base/info-os.c: Include stdlib.h.
14058
14059 2015-02-22 Doug Evans <xdje42@gmail.com>
14060
14061 PR symtab/17855
14062 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14063 is read after symbols have been re-read.
14064 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14065 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14066
14067 2015-02-21 Doug Evans <dje@google.com>
14068
14069 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14070
14071 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14072
14073 PR corefiles/17808
14074 * gdb.arch/i386-biarch-core.core.bz2: New file.
14075 * gdb.arch/i386-biarch-core.exp: New file.
14076
14077 2015-02-21 Pedro Alves <palves@redhat.com>
14078
14079 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14080 runto_main fails.
14081
14082 2015-02-20 Pedro Alves <palves@redhat.com>
14083
14084 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14085 info probes.
14086
14087 2015-02-20 Pedro Alves <palves@redhat.com>
14088
14089 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14090
14091 2015-02-20 Pedro Alves <palves@redhat.com>
14092
14093 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14094 clean_restart before gdb_target_supports_trace.
14095
14096 2015-02-20 Pedro Alves <palves@redhat.com>
14097
14098 PR threads/18006
14099 * gdb.threads/clone-thread_db.c: New file.
14100 * gdb.threads/clone-thread_db.exp: New file.
14101
14102 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14103
14104 PR breakpoints/16812
14105 * gdb.base/catch-gdb-caused-signals.c: New file.
14106 * gdb.base/catch-gdb-caused-signals.exp: New file.
14107
14108 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14109
14110 * configure: Regenerated.
14111 * configure.ac: Use GDB_AC_TRANSFORM.
14112 * aclocal.m4: sinclude ../transform.m4.
14113
14114 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14115
14116 * lib/dtrace.exp: New file.
14117 * gdb.base/dtrace-probe.exp: Likewise.
14118 * gdb.base/dtrace-probe.d: Likewise.
14119 * gdb.base/dtrace-probe.c: Likewise.
14120 * lib/pdtrace.in: Likewise.
14121 * configure.ac: Output variables with the transformed names of
14122 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14123 * configure: Regenerated.
14124
14125 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14126
14127 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14128 expected message when trying to access $_probe_* convenience
14129 variables while not on a probe.
14130
14131 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14132
14133 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14134
14135 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14136
14137 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14138 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14139
14140 2015-02-10 Doug Evans <xdje42@gmail.com>
14141
14142 * lib/gdb.exp (gdb_load): Always return a result.
14143
14144 2015-02-10 Pedro Alves <palves@redhat.com>
14145
14146 * gdb.threads/signal-sigtrap.c: New file.
14147 * gdb.threads/signal-sigtrap.exp: New file.
14148
14149 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14150
14151 * gdb.trace/no-attach-trace.c: New file.
14152 * gdb.trace/no-attach-trace.exp: New file.
14153
14154 2015-02-09 Mark Wielaard <mjw@redhat.com>
14155
14156 * gdb.dwarf2/atomic.c: New file.
14157 * gdb.dwarf2/atomic-type.exp: Likewise.
14158
14159 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14160
14161 * gdb.btrace/buffer-size.exp: Update "info record" output.
14162 * gdb.btrace/delta.exp: Update "info record" output.
14163 * gdb.btrace/enable.exp: Update "info record" output.
14164 * gdb.btrace/finish.exp: Update "info record" output.
14165 * gdb.btrace/instruction_history.exp: Update "info record" output.
14166 * gdb.btrace/next.exp: Update "info record" output.
14167 * gdb.btrace/nexti.exp: Update "info record" output.
14168 * gdb.btrace/step.exp: Update "info record" output.
14169 * gdb.btrace/stepi.exp: Update "info record" output.
14170 * gdb.btrace/nohist.exp: Update "info record" output.
14171
14172 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14173
14174 * gdb.btrace/buffer-size: New.
14175
14176 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14177
14178 * gdb.btrace/delta.exp: Update "info record" output.
14179 * gdb.btrace/enable.exp: Update "info record" output.
14180 * gdb.btrace/finish.exp: Update "info record" output.
14181 * gdb.btrace/instruction_history.exp: Update "info record" output.
14182 * gdb.btrace/next.exp: Update "info record" output.
14183 * gdb.btrace/nexti.exp: Update "info record" output.
14184 * gdb.btrace/step.exp: Update "info record" output.
14185 * gdb.btrace/stepi.exp: Update "info record" output.
14186 * gdb.btrace/nohist.exp: Update "info record" output.
14187
14188 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14189
14190 PR gdb/15678
14191 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14192
14193 2015-02-06 Pedro Alves <palves@redhat.com>
14194
14195 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14196 macro.
14197 (seconds_left, again): New globals.
14198 (main): Wait seconds_left in a 1-second sleep loop instead of
14199 sleeping 180 seconds. If 'again' is set, reset the seconds
14200 counter.
14201 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14202 'again' in the inferior before detaching. Print the seconds left.
14203 (options): New global.
14204 (top level): Build program with -DTIMEOUT=$timeout.
14205
14206 2015-02-06 Pedro Alves <palves@redhat.com>
14207
14208 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14209 determine how many seconds to pass to 'alarm'.
14210 * gdb.base/gdb-sigterm.exp (top level): Build program with
14211 -DTIMEOUT=$timeout.
14212 (do_test): Return success/failure indication. Add more verbose
14213 logging. Don't fail if 200 single steps are seen. Instead, fail
14214 when the test times out.
14215 (passes): New global.
14216 (top level): Break the testing loop if testing fails on any
14217 iteration. Use gdb_assert.
14218
14219 2015-02-04 Don Breazeal <donb@codesourcery.com>
14220
14221 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14222 and initialize them.
14223 (ipc_cleanup): New function.
14224 (main): Don't declare shmid, semid, and msqid. Add a call to
14225 atexit so that we call ipc_cleanup on exit.
14226
14227 2015-02-04 Pedro Alves <palves@redhat.com>
14228
14229 * boards/native-extended-gdbserver.exp: Remove any target variant
14230 specifications from the board name before clearing the isremote
14231 flag from board_info.
14232
14233 2015-01-31 Doug Evans <xdje42@gmail.com>
14234
14235 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14236
14237 2015-01-31 Gary Benson <gbenson@redhat.com>
14238
14239 * gdb.base/completion.exp: Disable completion limiting for
14240 existing tests. Add new tests to check completion limiting.
14241 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14242
14243 2015-01-31 Doug Evans <xdje42@gmail.com>
14244
14245 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14246
14247 2015-01-31 Doug Evans <xdje42@gmail.com>
14248
14249 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14250 entries. Duplicate file section script entries.
14251 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14252 inlined entries. Add test for safe-path rejection.
14253 * gdb.python/py-section-script.c: Add duplicate inlined section script
14254 entries. Duplicate file section script entries.
14255 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14256 inlined entries. Add test for safe-path rejection.
14257
14258 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14259
14260 * gdb.ada/disc_arr_bound: New testcase.
14261
14262 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14263
14264 * gdb.ada/mi_var_array: New testcase.
14265
14266 2015-01-27 Doug Evans <dje@google.com>
14267
14268 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14269 Add test for objfile.filename, objfile.username after objfile
14270 has been unloaded.
14271
14272 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14273
14274 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14275 the second test to print the name attribute of value
14276 returned by the call to gdb.lookup_type, and adjust
14277 the expected output accordingly.
14278
14279 2015-01-25 Mark Wielaard <mjw@redhat.com>
14280
14281 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14282 * gdb.base/disp-step-fork.c: Include unistd.h.
14283 * gdb.base/siginfo-obj.c: Include stdio.h.
14284 * gdb.base/siginfo-thread.c: Likewise.
14285 * gdb.mi/non-stop.c: Include unistd.h.
14286 * gdb.mi/nsthrexec.c: Include stdio.h.
14287 * gdb.mi/pthreads.c: Include unistd.h.
14288 * gdb.modula2/unbounded1.c (main): Declare returns int.
14289 * gdb.reverse/consecutive-reverse.c: Likewise.
14290 * gdb.threads/create-fail.c: Include unistd.h.
14291 * gdb.threads/killed.c: Likewise.
14292 * gdb.threads/linux-dp.c: Likewise.
14293 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14294 * gdb.threads/non-ldr-exc-2.c: Likewise.
14295 * gdb.threads/non-ldr-exc-3.c: Likewise.
14296 * gdb.threads/non-ldr-exc-4.c: Likewise.
14297 * gdb.threads/pthreads.c: Include unistd.h.
14298 (main): Declare returns int.
14299 * gdb.threads/tls-main.c (foo): New declaration.
14300 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14301
14302 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14303
14304 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14305 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14306
14307 2015-01-15 Mark Wielaard <mjw@redhat.com>
14308
14309 * gdb.base/noreturn-return.c: New file.
14310 * gdb.base/noreturn-return.exp: New file.
14311 * gdb.base/noreturn-finish.c: New file.
14312 * gdb.base/noreturn-finish.exp: New file.
14313
14314 2015-01-23 Pedro Alves <palves@redhat.com>
14315
14316 * gdb.threads/continue-pending-after-query.c: New file.
14317 * gdb.threads/continue-pending-after-query.exp: New file.
14318
14319 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14320 Simon Marchi <simon.marchi@ericsson.com>
14321
14322 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14323 * gdb.base/valgrind-db-attach.exp: Same.
14324 * gdb.base/valgrind-infcall.exp: Same.
14325 * lib/mi-support.exp (default_mi_gdb_start): Same.
14326 * lib/prompt.exp (default_prompt_gdb_start): Same.
14327 * lib/gdb.exp (default_gdb_spawn): Same.
14328 (gdb_interact): New.
14329
14330
14331 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14332
14333 * gdb.compile/compile.exp (pointer to jit function): New test.
14334
14335 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14336
14337 * lib/gdb.exp (supports_process_record): Return true for
14338 powerpc*-*-linux*.
14339 (supports_reverse): Likewise.
14340
14341 2015-01-15 Don Breazeal <donb@codesourcery.com>
14342
14343 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14344 instead of checking whether the target board is remote and
14345 use spawn_wait_for_attach instead of exec/sleep.
14346 * gdb.base/attach-twice.exp: Likewise.
14347
14348 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14349
14350 * gdb.ada/var_arr_attrs: New testcase.
14351
14352 2015-01-14 Pedro Alves <palves@redhat.com>
14353 Joel Brobecker <brobecker@adacore.com>
14354
14355 PR gdb/17525
14356 * gdb.base/bp-cmds-execution-x-script.c: New file.
14357 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14358 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14359
14360 2015-01-14 Pedro Alves <palves@redhat.com>
14361
14362 PR cli/17828
14363 * gdb.base/batch-preserve-term-settings.c: New file.
14364 * gdb.base/batch-preserve-term-settings.exp: New file.
14365
14366 2015-01-13 Doug Evans <dje@google.com>
14367
14368 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14369 binary.
14370
14371 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14372
14373 * Makefile.in (clean mostlyclean): Do not delete *.py.
14374
14375 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14376
14377 * gdb.python/py-lookup-type.exp: New file.
14378
14379 2015-01-12 Pedro Alves <palves@redhat.com>
14380
14381 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14382 restore GDBFLAGS before returning.
14383
14384 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14385
14386 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14387 is_amd64_regs_target and is_x86_like_target.
14388
14389 2015-01-11 Doug Evans <xdje42@gmail.com>
14390
14391 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14392 is given without an explicit form.
14393 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14394 attributes.
14395 * gdb.dwarf/corrupt.exp: Ditto.
14396 * gdb.dwarf2/enum-type.exp: Ditto.
14397 * gdb.trace/entry-values.exp: Ditto.
14398 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14399
14400 2015-01-11 Doug Evans <xdje42@gmail.com>
14401
14402 PR gdb/15830
14403 * gdb.base/maint.exp: Remove references to "maint demangle".
14404 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14405 Add tests for explicitly specifying language to demangle.
14406 * gdb.dlang/demangle.exp: Ditto.
14407
14408 2015-01-09 Pedro Alves <palves@redhat.com>
14409
14410 * gdb.threads/non-stop-fair-events.c: New file.
14411 * gdb.threads/non-stop-fair-events.exp: New file.
14412
14413 2015-01-09 Pedro Alves <palves@redhat.com>
14414
14415 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14416 the global scope. Set a breakpoint after all threads are started
14417 rather than stepping over two source lines. Expect the prompt.
14418 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14419 global.
14420 (NUM): Now 15.
14421 (main): Use threads_started_barrier to wait for all threads to
14422 start. Main thread no longer calls thread_function. Exit after
14423 180 seconds.
14424 (loop): New function.
14425 (thread_function): Wait on threads_started_barrier barrier. Call
14426 'loop' at each iteration.
14427 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14428 threads have started, instead of hardcoding number of "next"
14429 steps. Use an access watchpoint instead of a write watchpoint.
14430
14431 2015-01-09 Pedro Alves <palves@redhat.com>
14432
14433 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14434 (thread_func): Wait on barrier.
14435 (main): Wait for all threads to start before stopping GDB.
14436 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14437 global.
14438 (thread1_func, thread2_func): Wait on barrier.
14439 (main): Wait for all threads to start before stopping GDB.
14440 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14441 New global.
14442 (thread1_func, thread2_func): Wait on barrier.
14443 (main): Wait for all threads to start before stopping GDB.
14444
14445 2015-01-09 Pedro Alves <palves@redhat.com>
14446
14447 * gdb.threads/attach-many-short-lived-threads.c: New file.
14448 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14449
14450 2014-01-09 Pedro Alves <palves@redhat.com>
14451
14452 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14453 instead of to thread 2.
14454 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14455 Add barrier around each pthread_create call instead of around all
14456 calls.
14457 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14458 Set a break on thread_function and have the child threads hit it
14459 one at at a time.
14460
14461 2015-01-09 Pedro Alves <palves@redhat.com>
14462
14463 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14464 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14465 false.
14466 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14467 checking whether the target board is remote.
14468 * gdb.multi/multi-attach.exp: Likewise.
14469 * gdb.python/py-sync-interp.exp: Likewise.
14470 * gdb.server/ext-attach.exp: Likewise.
14471 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14472 tests that need to attach, instead of checking whether the target
14473 board is remote at the top of the file.
14474
14475 2015-01-08 Yao Qi <yao@codesourcery.com>
14476
14477 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14478
14479 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14480
14481 Fix testcase compilation.
14482 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14483
14484 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14485
14486 * gdb.python/py-type.exp: Add a couple test about empty
14487 array creation, and negative-length array creation.
14488
14489 2015-01-02 Doug Evans <xdje42@gmail.com>
14490
14491 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14492
14493 2015-01-02 Doug Evans <dje@google.com>
14494
14495 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14496
14497 2014-12-29 Yao Qi <yao@codesourcery.com>
14498
14499 * gdb.trace/entry-values.exp: Update comments. Rename variable
14500 bar_call_foo to returned_from_foo.
14501
14502 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14503
14504 PR gdb/17394
14505 * gdb.linespec/break-asm-file.c: New file.
14506 * gdb.linespec/break-asm-file.exp: New file.
14507 * gdb.linespec/break-asm-file0.s: New file.
14508 * gdb.linespec/break-asm-file1.s: New file.
14509
14510 2014-12-18 Nigel Stephens <nigel@mips.com>
14511 Maciej W. Rozycki <macro@codesourcery.com>
14512
14513 * gdb.base/float.exp: Handle the new output from "info float" on
14514 MIPS targets.
14515
14516 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14517
14518 Fix MinGW compilation.
14519 * gdb.compile/compile-ops.exp: Update untested message if
14520 !skip_compile_feature_tests.
14521 * gdb.compile/compile-setjmp.exp: Likewise.
14522 * gdb.compile/compile-tls.exp: Likewise.
14523 * gdb.compile/compile.exp: Likewise.
14524 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14525 supported on this host".
14526
14527 2014-12-16 Doug Evans <xdje42@gmail.com>
14528
14529 * boards/stabs.exp: New file.
14530
14531 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14532
14533 * gdb.base/completion.exp: Adjust to format changes of "maint
14534 print user-registers".
14535
14536 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14537
14538 PR server/17457
14539 * gdb.arch/aarch64-fp.c: New file.
14540 * gdb.arch/aarch64-fp.exp: New file.
14541
14542 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14543
14544 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14545 r210637, r210913, r211666, r215400, r215817).
14546
14547 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14548 * dg-extract-results.py: New file.
14549 * dg-extract-results.sh: Use it if the environment seems
14550 suitable.
14551
14552 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14553
14554 * dg-extract-results.py (parse_run): Handle warnings that
14555 are printed before a test harness is run.
14556
14557 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14558
14559 * dg-extract-results.py (Named): Remove __cmp__ method.
14560 (output_variation): Use a key to sort variation.harnesses.
14561
14562 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14563
14564 * dg-extract-results.py: For Python 3, force sys.stdout to
14565 handle surrogate escape sequences.
14566 (safe_open): New function.
14567 (output_segment, main): Use it.
14568
14569 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14570
14571 * dg-extract-results.py (Prog.result_re): Include options
14572 in test name.
14573
14574 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14575
14576 * dg-extract-results.py (output_variation): Always sort if
14577 do_sum.
14578
14579 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14580
14581 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14582 as long as we get pagination notifications.
14583
14584 2014-12-15 Jason Merrill <jason@redhat.com>
14585
14586 * Makefile.in (check-gdb.%): Restore.
14587 * README: Mention it.
14588
14589 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14590
14591 * gdb.ada/str_uninit: New testcase.
14592
14593 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14594
14595 PR symtab/17642
14596 * gdb.base/vla-stub-define.c: New file.
14597 * gdb.base/vla-stub.c: New file.
14598 * gdb.base/vla-stub.exp: New file.
14599
14600 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14601 Jan Kratochvil <jan.kratochvil@redhat.com>
14602 Tom Tromey <tromey@redhat.com>
14603
14604 * configure.ac: Add gdb.compile/.
14605 * configure: Regenerate.
14606 * gdb.compile/Makefile.in: New file.
14607 * gdb.compile/compile-ops.exp: New file.
14608 * gdb.compile/compile-ops.c: New file.
14609 * gdb.compile/compile-tls.c: New file.
14610 * gdb.compile/compile-tls.exp: New file.
14611 * gdb.compile/compile-constvar.S: New file.
14612 * gdb.compile/compile-constvar.c: New file.
14613 * gdb.compile/compile-mod.c: New file.
14614 * gdb.compile/compile-nodebug.c: New file.
14615 * gdb.compile/compile-setjmp-mod.c: New file.
14616 * gdb.compile/compile-setjmp.c: New file.
14617 * gdb.compile/compile-setjmp.exp: New file.
14618 * gdb.compile/compile-shlib.c: New file.
14619 * gdb.compile/compile.c: New file.
14620 * gdb.compile/compile.exp: New file.
14621 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14622
14623 2014-12-12 Tom Tromey <tromey@redhat.com>
14624
14625 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14626 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14627
14628 2014-12-12 Doug Evans <dje@google.com>
14629
14630 * lib/gdb-python.exp (get_python_valueof): New function.
14631 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14632
14633 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14634
14635 * gdb.base/completion.exp: Add test for completion of "info
14636 registers ".
14637
14638 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14639
14640 * gdb.base/func-ptrs.c: New file.
14641 * gdb.base/func-ptrs.exp: New file.
14642
14643 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14644
14645 PR breakpoints/17012
14646 * gdb.base/dprintf-detach.c: New file.
14647 * gdb.base/dprintf-detach.exp: New file.
14648
14649 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14650
14651 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14652 * lib/gdb.exp (target_is_gdbserver): New procedure.
14653
14654 2014-12-08 Doug Evans <dje@google.com>
14655
14656 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14657
14658 2014-12-05 Yao Qi <yao@codesourcery.com>
14659
14660 * gdb.guile/scm-error.exp: Remove the third argument to
14661 gdb_remote_download.
14662 * gdb.guile/scm-frame-args.exp: Likewise.
14663 * gdb.guile/scm-section-script.exp: Likewise.
14664
14665 2014-12-05 Yao Qi <yao@codesourcery.com>
14666
14667 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14668
14669 2014-12-04 Doug Evans <dje@google.com>
14670
14671 * gdb.python/py-objfile.exp: Add tests for
14672 objfile.add_separate_debug_file.
14673
14674 2014-12-04 Doug Evans <dje@google.com>
14675
14676 * lib/gdb.exp (get_build_id): New function.
14677 (build_id_debug_filename_get): Rewrite to use it.
14678 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14679
14680 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14681
14682 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14683 `method(long)', not just 0x0.
14684 * gdb.cp/nsalias.exp: Align code labels to 4.
14685 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14686 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14687 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14688 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14689 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14690 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14691
14692 2014-12-02 Doug Evans <dje@google.com>
14693
14694 PR symtab/17602
14695 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14696 * gdb.cp/anon-ns2.cc: ... here. New file.
14697 * gdb.cp/anon-ns.exp: Update.
14698
14699 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14700
14701 * gdb.python/py-events.py (inferior_call_handler): New.
14702 (register_changed_handler, memory_changed_handler): New.
14703 (test_events.invoke): Register new handlers.
14704 * gdb.python/py-events.exp: Add tests for inferior call,
14705 memory_changed and register_changed events.
14706
14707 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14708
14709 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14710 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14711 if the linker doesn't understand this.
14712
14713 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14714
14715 * gdb.python/python.exp: Change expected reply to help().
14716
14717 2014-12-01 Yao Qi <yao@codesourcery.com>
14718
14719 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14720 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14721 * configure: Re-generated.
14722
14723 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14724
14725 * gdb.cp/chained-calls.cc: New file.
14726 * gdb.cp/chained-calls.exp: New file.
14727 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14728
14729 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14730
14731 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14732 * gdb.dwarf2/symtab-producer.exp: Same.
14733 * gdb.gdb/python-interrupts.exp: Same.
14734 * gdb.gdb/python-selftest.exp: Same.
14735 * gdb.python/py-linetable.exp: Same.
14736 * gdb.python/py-type.exp: Same.
14737 * gdb.python/py-value-cc.exp: Same.
14738 * gdb.python/py-value.exp: Same.
14739
14740 2014-11-28 Yao Qi <yao@codesourcery.com>
14741
14742 * gdb.base/break-probes.exp: Match library name prefixed with
14743 sysroot.
14744
14745 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14746
14747 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14748 test expected output. Add parentheses for the call to print.
14749 Remove L suffix from integers.
14750
14751 2014-11-26 Doug Evans <dje@google.com>
14752
14753 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14754
14755 2014-11-22 Yao Qi <yao@codesourcery.com>
14756
14757 * gdb.trace/entry-values.c: Remove asms.
14758 (foo): Add foo_label.
14759 (bar): Add bar_label.
14760 * gdb.trace/entry-values.exp: Remove code computing foo's
14761 length and bar's length.
14762 (Dwarf::assemble): Invoke function_range for bar and use
14763 MACRO_AT_func for foo.
14764
14765 2014-11-22 Yao Qi <yao@codesourcery.com>
14766
14767 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14768 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14769 Use .Lgcc43_procstart instead of gcc43.
14770
14771 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14772
14773 * gdb.ada/n_arr_bound: New testcase.
14774
14775 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14776
14777 PR breakpoints/10737
14778 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14779 test_catch_syscall_multi_arch.
14780 (test_catch_syscall_multi_arch): New function.
14781
14782 2014-11-20 Doug Evans <xdje42@gmail.com>
14783
14784 * gdb.base/maint.exp: Update expected output.
14785
14786 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14787
14788 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14789 4-byte instruction on S390.
14790
14791 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14792
14793 * gdb.ada/arr_arr: New testcase.
14794
14795 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14796
14797 * gdb.ada/pkd_arr_elem: New Testcase.
14798
14799 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14800
14801 * gdb.reverse/break-precsave: Expect completion message for
14802 core file reads.
14803 * gdb.reverse/consecutive-precsave.exp: Likewise.
14804 * gdb.reverse/finish-precsave.exp: Likewise.
14805 * gdb.reverse/i386-precsave.exp: Likewise.
14806 * gdb.reverse/machinestate-precsave.exp: Likewise.
14807 * gdb.reverse/sigall-precsave.exp: Likewise.
14808 * gdb.reverse/solib-precsave.exp: Likewise.
14809 * gdb.reverse/step-precsave.exp: Likewise.
14810 * gdb.reverse/until-precsave.exp: Likewise.
14811 * gdb.reverse/watch-precsave.exp: Likewise.
14812
14813 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14814
14815 * gdb.base/bp-permanent.c: Include unistd.h.
14816 * gdb.python/py-framefilter-mi.c (main): Add return type.
14817 * gdb.python/py-framefilter.c (main): Likewise.
14818 * gdb.trace/actions-changed.c (main): Likewise.
14819
14820 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14821
14822 * gdb.mi/until.c: Add eye-catchers.
14823 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14824 line numbers.
14825
14826 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14827
14828 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14829 function header variants in break1.c.
14830 * gdb.base/ena-dis-br.exp: Likewise.
14831 * gdb.base/hbreak2.exp: Likewise.
14832 * gdb.reverse/until-precsave.exp: Drop references to removed
14833 non-prototype function header variants in ur1.c.
14834 * gdb.reverse/until-reverse.exp: Likewise.
14835
14836 2014-11-17 Petr Machata <pmachata@redhat.com>
14837
14838 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14839 ${_cu_offset_size} bytes abbrev offset.
14840
14841 2014-11-15 Doug Evans <xdje42@gmail.com>
14842
14843 PR symtab/17559
14844 * gdb.base/line-symtabs.exp: New file.
14845 * gdb.base/line-symtabs.c: New file.
14846 * gdb.base/line-symtabs.h: New file.
14847
14848 2014-11-14 Yao Qi <yao@codesourcery.com>
14849
14850 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14851 (func): Add label func_label.
14852 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14853 Replace low_pc and high_pc with MACRO_AT_range.
14854 Replace name, low_pc and high_pc with MACRO_AT_func.
14855
14856 2014-11-14 Yao Qi <yao@codesourcery.com>
14857
14858 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14859 Replace name, low_pc and high_pc with MACRO_AT_func.
14860
14861 2014-11-14 Yao Qi <yao@codesourcery.com>
14862
14863 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14864 produce debug information.
14865 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14866
14867 2014-11-14 Yao Qi <yao@codesourcery.com>
14868
14869 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14870 object and get function length.
14871 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14872 with MACRO_AT_func.
14873 (top-level): Replace gdb_compile and clean_restart with
14874 prepare_for_testing.
14875 * gdb.dwarf2/main.c (main): Add label main_label.
14876
14877 2014-11-14 Yao Qi <yao@codesourcery.com>
14878
14879 * lib/dwarf.exp (function_range): New procedure.
14880 (Dwarf::_handle_macro_at_func): New procedure.
14881 (Dwarf::_handle_macro_at_range): New procedure.
14882 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14883
14884 2014-11-14 Yao Qi <yao@codesourcery.com>
14885
14886 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14887 (_handle_attribute): New procedure.
14888
14889 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14890
14891 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14892 * gdb.base/call-sc.c (zed): Likewise.
14893 * gdb.base/checkpoint.c (main): Likewise.
14894 * gdb.base/dump.c (main): Likewise.
14895 * gdb.base/gcore.c (main): Likewise.
14896 * gdb.base/huge.c (main): Likewise.
14897 * gdb.base/multi-forks.c (main): Likewise.
14898 * gdb.base/pr10179-a.c (main): Likewise.
14899 * gdb.base/savedregs.c (main): Likewise.
14900 * gdb.base/sigaltstack.c (main): Likewise.
14901 * gdb.base/siginfo.c (main): Likewise.
14902 * gdb.base/structs.c (zed): Likewise.
14903 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14904 * gdb.mi/mi-syn-frame.c (main): Likewise.
14905 * gdb.mi/until.c (foo, main): Likewise.
14906 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14907 * gdb.base/solib-weak.c (foo): Declare.
14908 * gdb.base/attach-twice.c: Include stdio.h.
14909 * gdb.base/weaklib1.c: Likewise.
14910 * gdb.base/weaklib2.c: Likewise.
14911 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14912 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14913 unistd.h.
14914 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14915 * gdb.mi/mi-exit-code.c: Likewise.
14916 * gdb.base/break-interp-lib.c: Include string.h.
14917 * gdb.base/coremaker.c: Likewise.
14918 * gdb.base/testenv.c: Likewise.
14919 * gdb.python/py-finish-breakpoint.c: Likewise.
14920 * gdb.base/inferior-died.c: Include sys/wait.h.
14921 * gdb.base/fileio.c: Include time.h.
14922 * gdb.base/async-shell.c: Include unistd.h.
14923 * gdb.base/dprintf-non-stop.c: Likewise.
14924 * gdb.base/info-os.c: Likewise.
14925 * gdb.mi/mi-console.c: Likewise.
14926 * gdb.mi/watch-nonstop.c: Likewise.
14927 * gdb.python/py-events.c: Likewise.
14928 * gdb.base/async.c (baz): Move up before its invocation.
14929 * gdb.base/code_elim2.c (my_global_func): Likewise.
14930 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14931 * gdb.base/advance.c (func2): Likewise.
14932
14933 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14934
14935 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14936 variant.
14937 * gdb.base/annota3.c: Likewise.
14938 * gdb.base/async.c: Likewise.
14939 * gdb.base/average.c: Likewise.
14940 * gdb.base/call-ar-st.c: Likewise.
14941 * gdb.base/call-rt-st.c: Likewise.
14942 * gdb.base/call-sc.c: Likewise.
14943 * gdb.base/call-strs.c: Likewise.
14944 * gdb.base/ending-run.c: Likewise.
14945 * gdb.base/execd-prog.c: Likewise.
14946 * gdb.base/exprs.c: Likewise.
14947 * gdb.base/foll-exec.c: Likewise.
14948 * gdb.base/foll-fork.c: Likewise.
14949 * gdb.base/foll-vfork.c: Likewise.
14950 * gdb.base/funcargs.c: Likewise.
14951 * gdb.base/gcore.c: Likewise.
14952 * gdb.base/jump.c: Likewise.
14953 * gdb.base/langs0.c: Likewise.
14954 * gdb.base/langs1.c: Likewise.
14955 * gdb.base/langs2.c: Likewise.
14956 * gdb.base/mips_pro.c: Likewise.
14957 * gdb.base/nodebug.c: Likewise.
14958 * gdb.base/opaque0.c: Likewise.
14959 * gdb.base/opaque1.c: Likewise.
14960 * gdb.base/recurse.c: Likewise.
14961 * gdb.base/run.c: Likewise.
14962 * gdb.base/scope0.c: Likewise.
14963 * gdb.base/scope1.c: Likewise.
14964 * gdb.base/setshow.c: Likewise.
14965 * gdb.base/setvar.c: Likewise.
14966 * gdb.base/shmain.c: Likewise.
14967 * gdb.base/shr1.c: Likewise.
14968 * gdb.base/shr2.c: Likewise.
14969 * gdb.base/sigall.c: Likewise.
14970 * gdb.base/signals.c: Likewise.
14971 * gdb.base/so-indr-cl.c: Likewise.
14972 * gdb.base/solib2.c: Likewise.
14973 * gdb.base/structs.c: Likewise.
14974 * gdb.base/sum.c: Likewise.
14975 * gdb.base/vforked-prog.c: Likewise.
14976 * gdb.base/watchpoint.c: Likewise.
14977 * gdb.reverse/shr2.c: Likewise.
14978 * gdb.reverse/until-reverse.c: Likewise.
14979 * gdb.reverse/ur1.c: Likewise.
14980 * gdb.reverse/watch-reverse.c: Likewise.
14981
14982 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14983
14984 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14985 variant.
14986 * gdb.base/sepdebug.exp: Drop references to removed code.
14987
14988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14989
14990 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14991 variant. Preserve original line numbering.
14992 * gdb.base/list1.c: Likewise.
14993
14994 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14995
14996 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14997 variant.
14998 * gdb.base/break1.c: Likewise.
14999 * gdb.base/break.exp: Drop references to removed code.
15000
15001 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15002
15003 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15004 variant.
15005
15006 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15007
15008 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15009
15010 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15011
15012 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15013 logic into perform_all_tests() and invoke it with and without
15014 function header prototypes.
15015 (do_function_calls): Remove conditional XFAIL for PR 5318.
15016 (rerun_and_prepare): Remove duplicate code.
15017 (perform_all_tests): New. Main logic moved here.
15018
15019 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15020
15021 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15022 code guarded by #ifdef NO_PROTOTYPES.
15023 (t_double_many_args): Likewise.
15024 (DEF_FUNC_MANY_ARGS_1): Likewise.
15025 (DEF_FUNC_VALUES_1): Likewise.
15026 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15027 guarded by #ifdef PROTOTYPES.
15028
15029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15030
15031 * gdb.mi/mi-console.c: Add eye-catcher.
15032 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15033 instead of literal line number.
15034
15035 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15036
15037 * gdb.base/shr2.c: Add eye-catcher.
15038 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15039 line number.
15040
15041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15042
15043 * gdb.base/jump.c: Add eye-catchers.
15044 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15045 numbers.
15046
15047 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15048
15049 * gdb.base/execd-prog.c: Add eye-catchers.
15050 * gdb.base/foll-exec.c: Likewise.
15051 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15052 line numbers.
15053
15054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15055
15056 * gdb.base/ending-run.c: Add eye-catchers.
15057 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15058 literal line numbers.
15059
15060 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15061
15062 * gdb.base/call-rt-st.c: Add eye-catchers.
15063 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15064 literal line numbers.
15065
15066 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15067
15068 * gdb.base/call-ar-st.c: Add eye-catchers.
15069 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15070 literal line numbers.
15071
15072 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15073
15074 * gdb.base/average.c: Add eye-catchers.
15075 * gdb.base/sum.c: Likewise.
15076 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15077 regexps dynamically.
15078
15079 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15080
15081 * gdb.base/solib1.c: Add eye-catchers.
15082 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15083 literal line numbers.
15084
15085 2014-11-12 Pedro Alves <palves@redhat.com>
15086
15087 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15088 leader has exited.
15089
15090 2014-11-12 Pedro Alves <palves@redhat.com>
15091
15092 * gdb.arch/i386-bp_permanent.c: New file.
15093 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15094 (srcfile): Set to i386-bp_permanent.c.
15095 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15096 that stepi does not execute the 'leave' instruction, instead of
15097 testing it does execute.
15098 * gdb.base/bp-permanent.c: New file.
15099 * gdb.base/bp-permanent.exp: New file.
15100
15101 2014-11-10 Doug Evans <xdje42@gmail.com>
15102
15103 PR symtab/17564
15104 * gdb.base/symtab-search-order.exp: New file.
15105 * gdb.base/symtab-search-order.c: New file.
15106 * gdb.base/symtab-search-order-1.c: New file.
15107 * gdb.base/symtab-search-order-shlib-1.c: New file.
15108
15109 2014-11-07 Pedro Alves <palves@redhat.com>
15110
15111 PR gdb/17511
15112 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15113 i?86-*-linux*.
15114
15115 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15116
15117 PR c++/17494
15118 * gdb.cp/pr17494.cc: New file.
15119 * gdb.cp/pr17494.exp: New file.
15120
15121 2014-11-02 Yao Qi <yao@codesourcery.com>
15122
15123 * gdb.python/python.exp: Get working directory and match the
15124 output of "set extended-prompt \\w " with it.
15125
15126 2014-10-30 Doug Evans <dje@google.com>
15127
15128 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15129 in objfiles.
15130 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15131 in progspaces.
15132
15133 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15134
15135 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15136 * gdb.base/realname-expand.exp: Likewise.
15137 * gdb.linespec/macro-relative.exp: Likewise.
15138
15139 2014-10-29 Pedro Alves <palves@redhat.com>
15140
15141 PR gdb/17408
15142 * gdb.threads/schedlock.c (some_function): New function.
15143 (call_function): New global.
15144 (MAYBE_CALL_SOME_FUNCTION): New macro.
15145 (thread_function): Call it.
15146 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15147 and use it instead of a global counter. Adjust all callers.
15148 (get_current_thread): Use "find current thread" for test message
15149 here rather than having all callers pass down the same string.
15150 (goto_loop): New procedure, factored out from ...
15151 (my_continue): ... this.
15152 (step_ten_loops): Change parameter from test message to command to
15153 use. Adjust.
15154 (list_count): Delete global.
15155 (check_result): New procedure, factored out from duplicate top
15156 level code.
15157 (continue tests): Wrap in with_test_prefix.
15158 (test_step): New procedure, factored out from duplicate top level
15159 code.
15160 (top level): Test "step" in combination with all scheduler-locking
15161 modes. Test "next" in combination with all scheduler-locking
15162 modes, and in combination with stepping over a function call or
15163 not.
15164 * gdb.threads/next-bp-other-thread.c: New file.
15165 * gdb.threads/next-bp-other-thread.exp: New file.
15166
15167 2014-10-29 Pedro Alves <palves@redhat.com>
15168
15169 PR python/17372
15170 * gdb.python/python.exp: Test a multi-line command that spawns
15171 interactive Python.
15172 * gdb.base/multi-line-starts-subshell.exp: New file.
15173
15174 2014-10-29 Yao Qi <yao@codesourcery.com>
15175
15176 * gdb.base/fileio.exp: Make directories on host.
15177
15178 2014-10-29 Yao Qi <yao@codesourcery.com>
15179
15180 * gdb.base/fileio.c (test_write): Close the file.
15181
15182 2014-10-28 Pedro Alves <palves@redhat.com>
15183
15184 PR gdb/12623
15185 * gdb.base/sigstep.c (no_handler): New global.
15186 (main): If 'no_handler is true, set the signal handlers to
15187 SIG_IGN.
15188 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15189 with_sw_watch and no_handler parameters. Handle them.
15190 (top level) <stepping over handler when stopped at a breakpoint
15191 test>: Add a test axis for testing with a software watchpoint, and
15192 another for testing with the signal handler set to SIG_IGN.
15193 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15194 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15195
15196 2014-10-28 Pedro Alves <palves@redhat.com>
15197
15198 PR gdb/17511
15199 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15200 * gdb.base/sigstep.exp (other_handler_location): New global.
15201 (advance): Support stepping into the signal handler, and running
15202 commands while in the handler.
15203 (in_handler_map): New global.
15204 (top level): In the advance test, add combinations for getting
15205 into the handler with stepping commands, and for running commands
15206 in the handler. Add comment descripting the advancei tests.
15207
15208 2014-10-28 Pedro Alves <palves@redhat.com>
15209
15210 * gdb.base/sigstep.exp: Use build_executable instead of
15211 prepare_for_testing.
15212 (top level): Move code that starts GDB, runs to main and creates a
15213 display to ...
15214 (restart): ... this new procedure.
15215 (top level): Move backtrace from signal handler test to ...
15216 (validate_backtrace): ... this new procedure.
15217 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15218 with_test_prefix. Always restart GDB.
15219 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15220 with_test_prefix. Always restart GDB. No need to delete
15221 breakpoints after the test.
15222 (test_skip_handler): Remove prefix parameter.
15223 (skip_over_handler, breakpoint_to_handler)
15224 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15225 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15226 restart GDB. No need to delete breakpoints after the test.
15227 (top level): Use foreach to call the test procedures with
15228 different commands.
15229
15230 2014-10-28 Pedro Alves <palves@redhat.com>
15231
15232 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15233 instead of GNATS numbers.
15234 * gdb.base/sigbpt.exp: Likewise.
15235 * gdb.base/siginfo.exp: Likewise.
15236 * gdb.base/sigstep.exp: Likewise.
15237
15238 2014-10-27 Pedro Alves <palves@redhat.com>
15239
15240 * gdb.base/sigstep.c (dummy): New global.
15241 (main): Issue a couple writes to the new global.
15242 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15243 procedures.
15244 (skip_over_handler): Use test_skip_handler.
15245 (top level): Call skip_over_handler for stepi and nexti too.
15246 (breakpoint_over_handler): Use test_skip_handler.
15247 (top level): Call breakpoint_over_handler for stepi and nexti too.
15248
15249 2014-10-27 Yao Qi <yao@codesourcery.com>
15250
15251 * gdb.trace/tfile.c (adjust_function_address)
15252 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15253 function descriptor.
15254
15255 2014-10-24 Don Breazeal <donb@codesourcery.com>
15256
15257 * gdb.base/foll-fork.exp (test_follow_fork,
15258 catch_fork_child_follow): Check for updated fork messages emitted
15259 from infrun.c.
15260 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15261 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15262 vfork_and_exec_child_follow_through_step): Check for updated vfork
15263 messages emitted from infrun.c.
15264
15265 2014-10-24 Pedro Alves <palves@redhat.com>
15266
15267 * gdb.base/corefile.exp: Remove references to ultrix.
15268 * gdb.base/interrupt.exp: Likewise.
15269 * gdb.base/whatis.exp: Likewise.
15270 * gdb.gdb/selftest.exp: Likewise.
15271 * gdb.threads/manythreads.exp: Likewise.
15272 * gdb.threads/print-threads.exp: Likewise.
15273 * gdb.threads/pthreads.exp:: Likewise.
15274 * gdb.threads/schedlock.exp: Likewise.
15275
15276 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15277
15278 * gdb.cp/non-trivial-retval.cc: Add a test case.
15279 * gdb.cp/non-trivial-retval.exp: Add a test.
15280
15281 2014-10-20 Yao Qi <yao@codesourcery.com>
15282
15283 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15284 * gdb.python/py-objfile-script-gdb.py: New file.
15285 * gdb.python/py-objfile-script.exp: Update reference to
15286 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15287 of remote_download. Remove the dest file.
15288
15289 2014-10-20 Yao Qi <yao@codesourcery.com>
15290
15291 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15292 * gdb.base/step-line.exp: Likewise.
15293 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15294 * gdb.dwarf2/dw2-basic.exp: Likewise.
15295 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15296 * gdb.dwarf2/dw2-filename.exp: Likewise.
15297 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15298 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15299 * gdb.dwarf2/dw2-producer.exp: Likewise.
15300 * gdb.dwarf2/mac-fileno.exp: Likewise.
15301 * gdb.python/py-frame-args.exp: Likewise.
15302 * gdb.python/py-framefilter.exp: Likewise.
15303 * gdb.python/py-mi.exp: Likewise.
15304 * gdb.python/py-objfile-script.exp: Likewise
15305 * gdb.python/py-pp-integral.exp: Likewise.
15306 * gdb.python/py-pp-re-notag.exp: Likewise.
15307 * gdb.python/py-prettyprint.exp: Likewise.
15308 * gdb.python/py-section-script.exp: Likewise.
15309 * gdb.python/py-typeprint.exp: Likewise.
15310 * gdb.python/py-xmethods.exp: Likewise.
15311 * gdb.stabs/weird.exp: Likewise.
15312 * gdb.xml/tdesc-regs.exp: Likewise.
15313
15314 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15315
15316 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15317 (out_cu): Use addr_len for the size of addresses.
15318 (out_line): Likewise. Size DW_LNE_set_address instruction
15319 according to addr_len.
15320 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15321 (FUNC): Add START_INSNS to definition.
15322
15323 2014-10-18 Yao Qi <yao@codesourcery.com>
15324
15325 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15326 gdb_has_argv0 return true.
15327 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15328 check [target_info exists noargs], check [gdb_has_argv0]
15329 instead.
15330 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15331 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15332 procedures.
15333
15334 2014-10-17 Doug Evans <dje@google.com>
15335
15336 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15337 event.
15338 * gdb.python/py-events.py: Add clear_objfiles event.
15339
15340 2014-10-17 Doug Evans <dje@google.com>
15341
15342 * gdb.python/py-objfile.exp: Test progspace attribute.
15343
15344 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15345
15346 * gdb.guile/scm-breakpoint.exp: Do not assume any
15347 directory separators when matching source file paths.
15348 * gdb.python/py-breakpoint.exp: Likewise.
15349 * gdb.reverse/break-precsave.exp: Likewise.
15350 * gdb.reverse/break-reverse.exp: Likewise.
15351 * gdb.reverse/consecutive-precsave.exp: Likewise.
15352 * gdb.reverse/finish-precsave.exp: Likewise.
15353 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15354 * gdb.reverse/finish-reverse.exp: Likewise.
15355 * gdb.reverse/i386-precsave.exp: Likewise.
15356 * gdb.reverse/i387-env-reverse.exp: Likewise.
15357 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15358 * gdb.reverse/machinestate-precsave.exp: Likewise.
15359 * gdb.reverse/machinestate.exp: Likewise.
15360 * gdb.reverse/sigall-precsave.exp: Likewise.
15361 * gdb.reverse/solib-precsave.exp: Likewise.
15362 * gdb.reverse/step-precsave.exp: Likewise.
15363 * gdb.reverse/until-precsave.exp: Likewise.
15364 * gdb.reverse/watch-precsave.exp: Likewise.
15365 * gdb.reverse/watch-reverse.exp: Likewise.
15366
15367 2014-10-17 Yao Qi <yao@codesourcery.com>
15368
15369 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15370 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15371
15372 2014-10-17 Pedro Alves <palves@redhat.com>
15373
15374 PR gdb/17471
15375 * gdb.base/bg-execution-repeat.c: New file.
15376 * gdb.base/bg-execution-repeat.exp: New file.
15377
15378 2014-10-17 Pedro Alves <palves@redhat.com>
15379
15380 PR gdb/17300
15381 * gdb.base/continue-all-already-running.c: New file.
15382 * gdb.base/continue-all-already-running.exp: New file.
15383
15384 2014-10-17 Pedro Alves <palves@redhat.com>
15385
15386 PR gdb/17472
15387 * gdb.base/annota-input-while-running.c: New file.
15388 * gdb.base/annota-input-while-running.exp: New file.
15389
15390 2014-10-17 Pedro Alves <palves@redhat.com>
15391
15392 * gdb.base/callfuncs.exp: emove references to osf.
15393 * gdb.base/sigall.exp: Likewise.
15394 * gdb.gdb/selftest.exp: Likewise.
15395 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15396 * gdb.mi/non-stop.c: Likewise.
15397 * gdb.mi/pthreads.c: Likewise.
15398 * gdb.reverse/sigall-precsave.exp: Likewise.
15399 * gdb.reverse/sigall-reverse.exp: Likewise.
15400 * gdb.threads/pthreads.c: Likewise.
15401 * gdb.threads/pthreads.exp: Likewise.
15402
15403 2014-10-17 Yao Qi <yao@codesourcery.com>
15404
15405 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15406 check 'target_info exists noargs'.
15407 (test_command_prompt_position): Likewise.
15408 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15409 Remove "set args".
15410 (progvar_simple_while_test): Likewise.
15411 (progvar_complex_if_while_test): Likewise.
15412 (if_while_breakpoint_command_test): Likewise.
15413 (infrun_breakpoint_command_test): Likewise.
15414 (breakpoint_command_test): Likewise.
15415 (watchpoint_command_test): Likewise.
15416 (bp_deleted_in_command_test): Likewise.
15417 (temporary_breakpoint_commands): Likewise.
15418
15419 2014-10-16 Yao Qi <yao@codesourcery.com>
15420
15421 * gdb.base/remotetimeout.exp: Remove noargs checking.
15422
15423 2014-10-15 Pedro Alves <palves@redhat.com>
15424
15425 PR breakpoints/9649
15426 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15427 * gdb.base/breakpoint-in-ro-region.exp
15428 (probe_target_hardware_step): New procedure.
15429 (top level): Probe hardware stepping and hardware breakpoint
15430 support. Test stepping through a read-only region, with both
15431 "breakpoint auto-hw" on and off and both "always-inserted" on and
15432 off.
15433
15434 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15435
15436 * gdb.dlang/demangle.exp: Update for demangling changes.
15437
15438 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15439
15440 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15441 * gdb.cp/non-trivial-retval.exp: Add new tests.
15442
15443 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15444
15445 PR c++/13403
15446 PR c++/15154
15447 * gdb.cp/non-trivial-retval.cc: New file.
15448 * gdb.cp/non-trivial-retval.exp: New file.
15449
15450 2014-10-15 Yao Qi <yao@codesourcery.com>
15451
15452 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15453 remote host.
15454
15455 2014-10-15 Yao Qi <yao@codesourcery.com>
15456
15457 * gdb.python/py-symbol.exp: Match file base name if host is
15458 remote, otherwise match file name with dir name.
15459 * gdb.python/py-symtab.exp: Likewise.
15460 * gdb.python/python.exp: Likewise.
15461
15462 2014-10-15 Yao Qi <yao@codesourcery.com>
15463
15464 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15465 pattern.
15466 * gdb.python/py-symtab.exp: Likewise.
15467 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15468 locationn.
15469
15470 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15471
15472 * gdb.ada/addr_arith: New testcase.
15473
15474 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15475
15476 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15477 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15478 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15479 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15480
15481 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15482
15483 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15484 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15485 * gdb.arch/stap-eval-lang-ada.exp: New file.
15486
15487 2014-10-14 Yao Qi <yao@codesourcery.com>
15488
15489 * gdb.mi/mi-var-child.c (nothing1): New function.
15490 (nothing2): New function.
15491 (do_children_tests): Set function pointers by nothing1 and
15492 nothing2.
15493 * gdb.mi/mi-var-child.exp: Step over new added statements.
15494 Update test to match the new output.
15495 * gdb.mi/var-cmd.c (nothing1): New function.
15496 (nothing2): New function.
15497 (do_children_tests): Set function pointers by nothing1 and
15498 nothing2.
15499 * gdb.mi/mi-var-display.exp: Update test to match output.
15500 Step to the line specified by $line_dct_nothing.
15501 Increase the number of lines to step.
15502
15503 2014-10-14 Yao Qi <yao@codesourcery.com>
15504
15505 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15506 tests.
15507 * gdb.mi/mi2-var-child.exp: Likewise.
15508
15509 2014-10-13 Doug Evans <dje@google.com>
15510
15511 * gdb.python/py-objfile.exp: Change name of file name test.
15512
15513 2014-10-13 Doug Evans <dje@google.com>
15514
15515 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15516 from the start of the CU.
15517
15518 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15519 Yao Qi <yao@codesourcery.com>
15520
15521 Fix "save breakpoints" for "catch" command.
15522 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15523 Remove -nonewline. Match also the added "main" line.
15524
15525 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15526
15527 Fix "save breakpoints" for "disable $bpnum" command.
15528 * gdb.base/save-bp.c (main): Add label.
15529 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15530
15531 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15532
15533 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15534
15535 2014-10-11 Yao Qi <yao@codesourcery.com>
15536
15537 * gdb.server/server-kill.exp: Execute command
15538 "set remote trace-status-packet on" before "tstatus".
15539
15540 2014-10-11 Yao Qi <yao@codesourcery.com>
15541
15542 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15543 (main): Call getppid.
15544 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15545 and continue to it. Read variable "server_pid".
15546
15547 2014-10-11 Yao Qi <yao@codesourcery.com>
15548
15549 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15550
15551 2014-10-11 Yao Qi <yao@codesourcery.com>
15552
15553 * gdb.threads/thread-find.exp: Don't execute command
15554 "info threads".
15555 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15556 * gdb.threads/linux-dp.exp: Don't check the condition
15557 $threads_created equals to zero.
15558
15559 2014-10-10 Pedro Alves <palves@redhat.com>
15560
15561 * gdb.base/bigcore.exp: Remove references to IRIX.
15562 * gdb.base/funcargs.exp: Likewise.
15563 * gdb.base/interrupt.exp: Likewise.
15564 * gdb.base/mips_pro.exp: Likewise.
15565 * gdb.base/nodebug.exp: Likewise.
15566 * gdb.base/setvar.exp: Likewise.
15567 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15568
15569 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15570 Pedro Alves <palves@redhat.com>
15571
15572 PR symtab/14466
15573 * gdb.base/vdso-warning.c: New file.
15574 * gdb.base/vdso-warning.exp: New file.
15575
15576 2014-10-02 Doug Evans <dje@google.com>
15577
15578 * gdb.base/structs.c (main): Don't run forever.
15579
15580 2014-10-02 Pedro Alves <palves@redhat.com>
15581
15582 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15583 (top level) <stop threads 1, stop threads 2>: Use it.
15584
15585 2014-10-02 Pedro Alves <palves@redhat.com>
15586
15587 * gdb.threads/break-while-running.exp (test): Add new
15588 'update_thread_list' argument. Skip "info threads" if false.
15589 (top level): Add new 'update_thread_list' axis.
15590
15591 2014-10-02 Pedro Alves <palves@redhat.com>
15592
15593 PR breakpoints/17431
15594 * gdb.base/execl-update-breakpoints.c: New file.
15595 * gdb.base/execl-update-breakpoints.exp: New file.
15596
15597 2014-10-01 Pedro Alves <palves@redhat.com>
15598
15599 * gdb.base/breakpoint-in-ro-region.c: New file.
15600 * gdb.base/breakpoint-in-ro-region.exp: New file.
15601
15602 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15603
15604 * gdb.mi/mi-exit-code.exp: New file.
15605 * gdb.mi/mi-exit-code.c: New file.
15606
15607 2014-09-30 Yao Qi <yao@codesourcery.com>
15608
15609 * lib/prelink-support.exp (build_executable_own_libs): Error if
15610 the target isn't native.
15611
15612 2014-09-30 Yao Qi <yao@codesourcery.com>
15613
15614 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15615 false.
15616
15617 2014-09-22 Pedro Alves <palves@redhat.com>
15618
15619 * gdb.threads/break-while-running.exp: New file.
15620 * gdb.threads/break-while-running.c: New file.
15621
15622 2014-09-19 Yao Qi <yao@codesourcery.com>
15623
15624 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15625 Invoke test. Restart GDB with --readnow and invoke test again.
15626
15627 2014-09-19 Yao Qi <yao@codesourcery.com>
15628
15629 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15630 proc set_breakpoint_on_gcd_function. Invoke
15631 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15632 invoke set_breakpoint_on_gcd_function again.
15633
15634 2014-09-18 Doug Evans <dje@google.com>
15635
15636 * gdb.dwarf2/symtab-producer.exp: New file.
15637
15638 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15639
15640 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15641 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15642 * gdb.base/global-var-nested-by-dso.c: Likewise.
15643 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15644
15645 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15646 Pedro Alves <palves@redhat.com>
15647
15648 * gdb.base/watch-bitfields.exp: Pass string other than test file
15649 name to prepare_for_testing.
15650 (watch): New procedure.
15651 (expect_watchpoint): Use with_test_prefix.
15652 (top level): Factor out tests to ...
15653 (test_watch_location, test_regular_watch): ... these new
15654 procedures, and use with_test_prefix and gdb_continue_to_end.
15655
15656 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15657
15658 PR breakpoints/12526
15659 * gdb.base/watch-bitfields.exp: New file.
15660 * gdb.base/watch-bitfields.c: New file.
15661
15662 2014-09-16 Pedro Alves <palves@redhat.com>
15663
15664 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15665 software and hardware addresses, not software address against
15666 itself.
15667
15668 2014-09-16 Pedro Alves <palves@redhat.com>
15669
15670 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15671 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15672
15673 2014-09-16 Pedro Alves <palves@redhat.com>
15674
15675 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15676 files.
15677 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15678 "*-*-vxworks*" throughout.
15679 * gdb.base/break.exp: Likewise.
15680 * gdb.base/default.exp: Likewise.
15681 * gdb.base/scope.exp: Likewise.
15682 * gdb.base/sepdebug.exp: Likewise.
15683 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15684 throughout.
15685 * gdb.base/run.c: Likewise.
15686 * gdb.base/sepdebug.c: Likewise.
15687 * gdb.hp/gdb.aCC/run.c: Likewise.
15688 * gdb.reverse/until-reverse.c: Likewise.
15689 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15690
15691 2014-09-16 Yao Qi <yao@codesourcery.com>
15692
15693 * boards/local-remote-host-native.exp: New file.
15694
15695 2014-09-14 Doug Evans <xdje42@gmail.com>
15696
15697 * gdb.threads/queue-signal.c (thread_count): New variable.
15698 (thread_count_mutex, thread_count_condvar): New variables.
15699 (incr_thread_count, wait_all_threads_running): New functions.
15700 (main): Wait for all threads to be in their thread functions.
15701
15702 2014-09-13 Doug Evans <xdje42@gmail.com>
15703
15704 * gdb.threads/queue-signal.c: New file.
15705 * gdb.threads/queue-signal.exp: New file.
15706
15707 2014-09-13 Doug Evans <xdje42@gmail.com>
15708
15709 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15710 be consistent with what default_gdb_init uses.
15711 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15712 the plain text of the prompt. Add some logging printfs.
15713 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15714
15715 2014-09-12 Pedro Alves <palves@redhat.com>
15716
15717 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15718 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15719 * gdb.arch/i386-size-overlap.exp: Likewise.
15720 * gdb.arch/i386-size.exp: Likewise.
15721 * gdb.arch/i386-unwind.exp: Likewise.
15722 * gdb.base/a2-run.exp: Likewise.
15723 * gdb.base/break.exp: Likewise.
15724 * gdb.base/charset.exp: Likewise.
15725 * gdb.base/chng-syms.exp: Likewise.
15726 * gdb.base/commands.exp: Likewise.
15727 * gdb.base/dbx.exp: Likewise.
15728 * gdb.base/find.exp: Likewise.
15729 * gdb.base/funcargs.exp: Likewise.
15730 * gdb.base/jit-simple.exp: Likewise.
15731 * gdb.base/reread.exp: Likewise.
15732 * gdb.base/sepdebug.exp: Likewise.
15733 * gdb.base/step-bt.exp: Likewise.
15734 * gdb.cp/mb-inline.exp: Likewise.
15735 * gdb.cp/mb-templates.exp: Likewise.
15736 * gdb.objc/basicclass.exp: Likewise.
15737 * gdb.threads/killed.exp: Likewise.
15738
15739 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15740
15741 PR tdep/17379
15742 * gdb.arch/powerpc-stackless.S: New file.
15743 * gdb.arch/powerpc-stackless.exp: New file.
15744
15745 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15746
15747 * gdb.base/attach.c: Include unistd.h.
15748 (main): Call alarm. Add label postloop.
15749 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15750 gdb_breakpoint, gdb_continue_to_breakpoint.
15751 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15752
15753 2014-09-11 Pedro Alves <palves@redhat.com>
15754
15755 PR gdb/17347
15756 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15757 * gdb.base/attach.exp (test_command_line_attach_run): New
15758 procedure.
15759 (top level): Call it.
15760
15761 2014-09-11 Pedro Alves <palves@redhat.com>
15762
15763 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15764 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15765 (do_command_attach_tests): Use spawn_wait_for_attach.
15766 * gdb.base/solib-overlap.exp: Likewise.
15767 * gdb.multi/multi-attach.exp: Likewise.
15768 * gdb.python/py-prompt.exp: Likewise.
15769 * gdb.python/py-sync-interp.exp: Likewise.
15770 * gdb.server/ext-attach.exp: Likewise.
15771
15772 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15773
15774 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15775 command in testcase. Simplify testcase.
15776
15777 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15778
15779 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15780
15781 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15782
15783 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15784
15785 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15786
15787 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15788
15789 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15790
15791 * gdb.dwarf2/dynarr-ptr.c: New file.
15792 * gdb.dwarf2/dynarr-ptr.exp: New file.
15793
15794 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15795
15796 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15797 of 30 rather than hardcoding 120 for a slow test case. Take the
15798 `gdb,timeout' target setting into account for this calculation.
15799 Don't extend the timeout for the test cases that don't need it.
15800
15801 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15802
15803 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15804 a factor of 2 for a slow test case. Take the `gdb,timeout'
15805 target setting into account for this calculation.
15806 * gdb.reverse/until-precsave.exp: Increase the timeout by
15807 a factor of 15 and 3 respectively rather than adding 120
15808 for a pair of slow test cases. Take the `gdb,timeout'
15809 target setting into account for this calculation.
15810
15811 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15812
15813 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15814 timeout, don't pass one down to gdb_expect.
15815 (gdb_expect): Rework timeout selection.
15816
15817 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15818
15819 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15820 exception on timeout.
15821 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15822 (gdbserver_start_extended): Catch any `gdbserver_start' error
15823 exceptions.
15824 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15825 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15826 `gdbserver_gdb_load' error exceptions.
15827
15828 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15829
15830 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15831 120 on waiting for the TCP socket to open.
15832
15833 2014-09-09 Doug Evans <xdje42@gmail.com>
15834
15835 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15836 _caller_matches, _any_caller_is, _any_caller_matches.
15837
15838 2014-09-09 Doug Evans <xdje42@gmail.com>
15839
15840 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15841
15842 2014-09-09 Yao Qi <yao@codesourcery.com>
15843
15844 * gdb.mi/mi-var-display.exp: Set print symbol off.
15845
15846 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15847
15848 PR gdb/17035
15849 * gdb.base/commands.exp: Add tests to verify user-defined
15850 commands with empty bodies.
15851 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15852 python commands in `show user command`.
15853 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15854 scheme commands in `show user command`.
15855
15856 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15857
15858 PR python/17355
15859 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15860 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15861 * gdb.python/py-framefilter-invalidarg.exp: New file.
15862 * gdb.python/py-framefilter-invalidarg.py: New file.
15863
15864 2014-09-06 Doug Evans <xdje42@gmail.com>
15865
15866 PR 15276
15867 * gdb.python/py-caller-is.c: New file.
15868 * gdb.python/py-caller-is.exp: New file.
15869
15870 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15871
15872 PR gdb/17235
15873 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15874 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15875
15876 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15877
15878 PR fortran/17237
15879 * gdb.fortran/print-formatted.exp: New file.
15880 * gdb.fortran/print-formatted.f90: Likewise.
15881
15882 2014-09-03 Sasha Smundak <asmundak@google.com>
15883
15884 * gdb.python/py-frame.exp: Test Frame.read_register.
15885
15886 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15887
15888 PR python/16699
15889 * gdb.python/py-completion.exp: New file.
15890 * gdb.python/py-completion.py: Likewise.
15891
15892 2014-08-28 Doug Evans <dje@google.com>
15893
15894 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15895 eax,etc. are live with values set by gdb and thus the compiler can't
15896 use them.
15897 * gdb.arch/i386-pseudo.c (main): Ditto.
15898
15899 2014-08-27 Doug Evans <dje@google.com>
15900
15901 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15902
15903 2014-08-25 Doug Evans <dje@google.com>
15904
15905 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15906 (main): Ditto.
15907
15908 2014-08-25 Doug Evans <dje@google.com>
15909
15910 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15911
15912 2014-08-24 Yao Qi <yao@codesourcery.com>
15913
15914 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15915 symbol off.
15916 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15917
15918 2014-08-22 Doug Evans <dje@google.com>
15919
15920 PR 17276
15921 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15922 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15923 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15924
15925 2014-08-22 Yao Qi <yao@codesourcery.com>
15926
15927 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15928 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15929 * gdb.python/python.exp: Likewise. Use .py file on the host
15930 instead of the build.
15931
15932 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15933
15934 * gdb.threads/gcore-stale-thread.c: New file.
15935 * gdb.threads/gcore-stale-thread.exp: New file.
15936
15937 2014-08-21 Pedro Alves <palves@redhat.com>
15938
15939 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15940 * gdb.base/gcore-relro-pie.exp: Likewise.
15941 * gdb.base/gcore-relro.exp: Likewise.
15942 * gdb.base/gcore.exp: Likewise.
15943 * gdb.base/print-symbol-loading.exp: Likewise.
15944 * gdb.threads/gcore-thread.exp: Likewise.
15945 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15946
15947 2014-08-20 Pedro Alves <palves@redhat.com>
15948 Jan Kratochvil <jan.kratochvil@redhat.com>
15949
15950 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15951 configure.
15952 (EXPECT): Handle READ1 being set.
15953 (all): Depend on EXTRA_RULES.
15954 (check-read1, expect-read1, read1.so, read1): New rules.
15955 * README (Testsuite Parameters): Document the READ1 make variable.
15956 (Race detection): New section.
15957 * configure: Regenerate.
15958 * configure.ac: If build==host==target, and running under a
15959 GNU/glibc system, add read1 to the extra Makefile rules.
15960 (EXTRA_RULES): AC_SUBST it.
15961 * lib/read1.c: New file.
15962
15963 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15964
15965 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15966 the handling of variables declared as a typedef to an array
15967 which a DW_AT_data_location attribute.
15968
15969 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15970 Pedro Alves <palves@redhat.com>
15971
15972 PR symtab/14604
15973 PR symtab/14605
15974 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15975 gdb_test.
15976
15977 2014-08-19 Pedro Alves <palves@redhat.com>
15978
15979 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15980
15981 2014-08-19 Yao Qi <yao@codesourcery.com>
15982
15983 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15984 right line.
15985
15986 2014-08-18 David Blaikie <dblaikie@gmail.com>
15987
15988 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15989
15990 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15991
15992 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15993 attribute in array range.
15994
15995 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15996
15997 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15998
15999 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16000
16001 PR c++/17132
16002 * gdb.cp/pr17132.cc: New file.
16003 * gdb.cp/pr17132.exp: New file.
16004
16005 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16006
16007 * gdb.python/py-xmethods.py (A_getarrayind)
16008 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16009 Use 'print' with function call syntax.
16010 (E_method_matcher.match): Fix tab vs space indentation mixup.
16011
16012 2014-08-15 Yao Qi <yao@codesourcery.com>
16013
16014 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16015 false.
16016
16017 2014-08-15 Yao Qi <yao@codesourcery.com>
16018
16019 * gdb.cp/casts.exp: Set print symbol off.
16020 * gdb.cp/class2.exp: Likewise.
16021 * gdb.cp/overload.exp: Likewise.
16022 * gdb.cp/templates.exp: Likewise.
16023
16024 2014-08-11 Doug Evans <dje@google.com>
16025
16026 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16027 (test_load_shlib): Update.
16028
16029 2014-08-09 Yao Qi <yao@codesourcery.com>
16030
16031 * gdb.base/display.exp: Invoke is_address_zero_readable.
16032 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16033 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16034 * gdb.base/hbreak-unmapped.exp: Return if
16035 is_address_zero_readable returns true.
16036 * gdb.base/signest.exp: Likewise.
16037 * gdb.base/signull.exp: Likewise.
16038 * gdb.base/sigbpt.exp: Likewise.
16039 * gdb.guile/scm-disasm.exp: Do the test if
16040 is_address_zero_readable returns false.
16041 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16042 * gdb.python/py-arch.exp: Likewise.
16043 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16044 * lib/gdb.exp (is_address_zero_readable): New proc.
16045
16046 2014-08-09 Yao Qi <yao@codesourcery.com>
16047
16048 PR testsuite/13443
16049 * gdb.mi/mi-var-display.exp: Make test messages unique.
16050
16051 2014-08-04 Tom Tromey <tromey@redhat.com>
16052
16053 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16054 target 0".
16055
16056 2014-08-04 Tom Tromey <tromey@redhat.com>
16057
16058 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16059 "target_resume".
16060
16061 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16062
16063 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16064 inner_vla_struct_object_size.
16065 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16066 as xfail.
16067
16068 2014-07-30 Pedro Alves <palves@redhat.com>
16069
16070 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16071 comment.
16072
16073 2014-07-29 Yao Qi <yao@codesourcery.com>
16074
16075 PR gdb/17206
16076 * gdb.base/until-nodebug.exp: New.
16077
16078 2014-07-28 Doug Evans <xdje42@gmail.com>
16079
16080 PR guile/17203
16081 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16082 previously existing parameter, and previously ambiguously spelled
16083 parameter.
16084
16085 2014-07-28 Will Newton <will.newton@linaro.org>
16086
16087 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16088
16089 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16090 Doug Evans <xdje42@gmail.com>
16091
16092 PR guile/17146
16093 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16094
16095 2014-07-25 Pedro Alves <palves@redhat.com>
16096
16097 * gdb.threads/signal-command-handle-nopass.c: New file.
16098 * gdb.threads/signal-command-handle-nopass.exp: New file.
16099 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16100 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16101 * gdb.threads/signal-delivered-right-thread.c: New file.
16102 * gdb.threads/signal-delivered-right-thread.exp: New file.
16103
16104 2014-07-25 Pedro Alves <palves@redhat.com>
16105
16106 * gdb.base/double-prompt-target-event-error.exp
16107 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16108 match.
16109 (cancel_pagination_in_target_event): Rework double prompt
16110 detection.
16111 * gdb.base/paginate-after-ctrl-c-running.exp
16112 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16113 <return>' match.
16114 * gdb.base/paginate-bg-execution.exp
16115 (test_bg_execution_pagination_return)
16116 (test_bg_execution_pagination_cancel): Remove '-notransfer
16117 <return>' matches.
16118 * gdb.base/paginate-execution-startup.exp
16119 (test_fg_execution_pagination_return)
16120 (test_fg_execution_pagination_cancel): Remove '-notransfer
16121 <return>' matches.
16122 * gdb.base/paginate-inferior-exit.exp
16123 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16124 match.
16125 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16126 * lib/gdb.exp (pagination_prompt): Run text through
16127 string_to_regexp.
16128 (gdb_test_multiple): Match $pagination_prompt instead of
16129 "<return>".
16130 (string_to_regexp): Move to lib/gdb-utils.exp.
16131
16132 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16133
16134 * gdb.arch/amd64-entry-value-paramref.S: New file.
16135 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16136 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16137 * gdb.arch/amd64-optimout-repeat.S: New file.
16138 * gdb.arch/amd64-optimout-repeat.c: New file.
16139 * gdb.arch/amd64-optimout-repeat.exp: New file.
16140
16141 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16142
16143 PR gdb/17170
16144 * gdb.base/statistics.exp: New file.
16145
16146 2014-07-17 Doug Evans <dje@google.com>
16147
16148 PR gdb/17170
16149 * gdb.base/maint.exp: Update testing of per-command stats.
16150
16151 2014-07-16 Pedro Alves <palves@redhat.com>
16152
16153 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16154 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16155 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16156 (tfile_write_buf): New functions.
16157 (add_memory_block): Rewrite using the above.
16158 (adjust_function_address): New function.
16159 (FUNCTION_ADDRESS): New macro.
16160 (write_basic_trace_file): Remove short_x local, and use
16161 tfile_write_16. Change type of func_addr local to unsigned long
16162 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16163 here. Cast argument of add_memory_block to char pointer.
16164 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16165 (main): Remove parameters.
16166 * gdb.trace/tfile.exp: Remove nowarnings.
16167
16168 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16169
16170 * gdb.base/debug-expr.exp: Test string evaluation with
16171 "debug expression" on.
16172
16173 2014-07-15 Pedro Alves <palves@redhat.com>
16174
16175 * gdb.base/reread.exp: Use clean_restart.
16176
16177 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16178
16179 * gdb.arch/avr-flash-qualifer.c: New.
16180 * gdb.arch/avr-flash-qualifer.exp: New.
16181
16182 2014-07-14 Pedro Alves <palves@redhat.com>
16183
16184 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16185 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16186
16187 2014-07-14 Pedro Alves <palves@redhat.com>
16188
16189 * gdb.base/double-prompt-target-event-error.c: New file.
16190 * gdb.base/double-prompt-target-event-error.exp: New file.
16191
16192 2014-07-14 Pedro Alves <palves@redhat.com>
16193
16194 PR gdb/17072
16195 * gdb.base/paginate-inferior-exit.c: New file.
16196 * gdb.base/paginate-inferior-exit.exp: New file.
16197
16198 2014-07-14 Pedro Alves <palves@redhat.com>
16199
16200 PR gdb/17072
16201 * gdb.base/paginate-bg-execution.c: New file.
16202 * gdb.base/paginate-bg-execution.exp: New file.
16203
16204 2014-07-14 Pedro Alves <palves@redhat.com>
16205
16206 PR gdb/17072
16207 * gdb.base/paginate-execution-startup.c: New file.
16208 * gdb.base/paginate-execution-startup.exp: New file.
16209 * lib/gdb.exp (pagination_prompt): New global.
16210 (default_gdb_spawn): New procedure, factored out from
16211 default_gdb_spawn.
16212 (default_gdb_start): Adjust to call default_gdb_spawn.
16213 (gdb_spawn): New procedure.
16214
16215 2014-07-14 Pedro Alves <palves@redhat.com>
16216
16217 * lib/gdb.exp (gdb_assert): New procedure.
16218 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16219
16220 2014-07-14 Pedro Alves <palves@redhat.com>
16221
16222 * gdb.base/execution-termios.c: New file.
16223 * gdb.base/execution-termios.exp: New file.
16224
16225 2014-07-14 Tom Tromey <tromey@redhat.com>
16226
16227 * gdb.cp/vla-cxx.cc: New file.
16228 * gdb.cp/vla-cxx.exp: New file.
16229
16230 2014-07-14 Tom Tromey <tromey@redhat.com>
16231
16232 * gdb.reverse/rerun-prec.c: New file.
16233 * gdb.reverse/rerun-prec.exp: New file.
16234
16235 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16236 Maciej W. Rozycki <macro@codesourcery.com>
16237
16238 * lib/gdb-utils.exp: New file.
16239 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16240 inline `gdb_init_command' processing.
16241 (gdb_start_cmd): Likewise.
16242 * lib/mi-support.exp (mi_run_cmd): Likewise.
16243 * README: Document `gdb_init_command' and `gdb_init_commands'.
16244
16245 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16246
16247 Fix false FAIL running under a very long directory name.
16248 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16249 and "set print elements 10000". Twice.
16250
16251 2014-07-11 Yao Qi <yao@codesourcery.com>
16252
16253 * gdb.base/exprs.exp: "set print symbol off".
16254
16255 2014-07-11 Pedro Alves <palves@redhat.com>
16256
16257 * gdb.threads/kill.c: New file.
16258 * gdb.threads/kill.exp: New file.
16259
16260 2014-07-10 Yao Qi <yao@codesourcery.com>
16261
16262 * gdb.trace/tfile.c (write_basic_trace_file)
16263 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16264 address written to trace file.
16265
16266 2014-07-09 Pedro Alves <palves@redhat.com>
16267
16268 * gdb.base/attach-wait-input.exp: New file.
16269 * gdb.base/attach-wait-input.c: New file.
16270
16271 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16272
16273 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16274 setting up test structures.
16275 (main): Call new test function.
16276 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16277 test function, continue into test function and walk test
16278 structures.
16279
16280 2014-07-02 Yao Qi <yao@codesourcery.com>
16281
16282 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16283 'bar_start' at the beginning of functions 'foo' and 'bar'
16284 respectively.
16285 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16286 instead of 'foo' and 'bar'.
16287
16288 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16289
16290 * gdb.btrace/segv.exp: New.
16291 * gdb.btrace/segv.c: New.
16292
16293 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16294
16295 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16296 instruction.
16297
16298 2014-06-30 Mark Wielaard <mjw@redhat.com>
16299
16300 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16301 vulture, vilify, villar): New volatile array constants.
16302 (vindictive, vegetation): New const volatile array constants.
16303 * gdb.base/volatile.exp: Test volatile and const volatile array
16304 types.
16305
16306 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16307
16308 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16309 target lacks support for awatch, rwatch, or hbreak.
16310
16311 2014-06-27 Yao Qi <yao@codesourcery.com>
16312
16313 * gdb.multi/dummy-frame-restore.exp: New.
16314 * gdb.multi/dummy-frame-restore.c: New.
16315
16316 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16317
16318 * gdb.btrace/gcore.exp: New.
16319
16320 2014-06-23 Pedro Alves <palves@redhat.com>
16321
16322 * gdb.base/watchpoint-reuse-slot.c: New file.
16323 * gdb.base/watchpoint-reuse-slot.exp: New file.
16324
16325 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16326
16327 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16328 progspace's filename in 'info', 'enable' and 'disable' command
16329 tests.
16330
16331 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16332
16333 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16334 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16335 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16336
16337 2014-06-20 Gary Benson <gbenson@redhat.com>
16338
16339 * gdb.arch/i386-avx.exp: Fix include file location.
16340 * gdb.arch/i386-sse.exp: Likewise.
16341
16342 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16343
16344 * gdb.dlang/expression.exp: New file.
16345
16346 2014-06-19 Pedro Alves <palves@redhat.com>
16347
16348 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16349 out from ...
16350 (top level): ... here. Iterate running tests under different
16351 scheduler-locking settings.
16352
16353 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16354
16355 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16356 to DW_FORM_addr and use non-zero addresses.
16357
16358 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16359
16360 PR gdb/17017
16361 * gdb.python/py-xmethods.cc: Add global function call counters and
16362 increment them in their respective functions. Remove "cout"
16363 statements.
16364 * gdb.python/py-xmethods.exp: Make tests check the global function
16365 call counters instead of depending on inferior IO.
16366
16367 2014-06-18 Don Breazeal <donb@codesourcery.com>
16368
16369 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16370 Deleted procedure.
16371 (explicit_fork_parent_follow): Deleted procedure.
16372 (explicit_fork_child_follow): Deleted procedure.
16373 (test_follow_fork): New procedure.
16374 (do_fork_tests): Replace calls to deleted procedures with
16375 calls to test_follow_fork and reset GDB for subsequent
16376 procedure calls.
16377
16378 2014-06-17 Yao Qi <yao@codesourcery.com>
16379
16380 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16381 CP1252.
16382
16383 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16384
16385 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16386 Initialize ptr and S explicitly.
16387 (skip_type_update_when_not_use_rtti_test): Likewise.
16388
16389 2014-06-16 Keith Seitz <keiths@redhat.com>
16390
16391 PR mi/15863
16392 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16393 the inferior is started.
16394
16395 2014-06-16 Pedro Alves <palves@redhat.com>
16396
16397 * gdb.base/break-main-file-remove-fail.c: New file.
16398 * gdb.base/break-main-file-remove-fail.exp: New file.
16399 * gdb.base/break-unload-file.exp: Use build_executable instead of
16400 prepare_for_testing.
16401 (test_break): New parameter "initial_load". Handle it.
16402 (top level): Add initial_load cmdline/file axis.
16403
16404 2014-06-12 Tom Tromey <tromey@redhat.com>
16405
16406 * gdb.base/completion.exp: Don't use directory name in test.
16407
16408 2014-06-09 Gary Benson <gbenson@redhat.com>
16409
16410 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16411 separate the always-available ANSI-standard signals from the
16412 signals that require checking.
16413 (main): Likewise.
16414 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16415 Likewise.
16416 (main): Likewise.
16417
16418 2014-06-07 Keith Seitz <keiths@redhat.com>
16419
16420 Revert:
16421 PR c++/16253
16422 * gdb.cp/var-tag.cc: New file.
16423 * gdb.cp/var-tag.exp: New file.
16424 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16425 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16426 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16427 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16428
16429 2014-06-06 Doug Evans <xdje42@gmail.com>
16430
16431 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16432
16433 2014-06-06 Pedro Alves <palves@redhat.com>
16434
16435 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16436 in target debug output instead of looking at RSP packets,
16437 disabling the test on any target that uses hardware stepping.
16438 Update comments.
16439
16440 2014-06-06 Pedro Alves <palves@redhat.com>
16441
16442 * gdb.base/break-unload-file.exp: Fix typo.
16443
16444 2014-06-06 Yao Qi <yao@codesourcery.com>
16445
16446 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16447 from "jit_function" to "^jit_function".
16448
16449 2014-06-06 Yao Qi <yao@codesourcery.com>
16450
16451 * gdb.base/async.c (foo): Add one statement.
16452 * gdb.base/async.exp: Get the next instruction address and
16453 match the output of "nexti" by instruction address. Match
16454 the hex address in the output of "finish".
16455
16456 2014-06-06 Gary Benson <gbenson@redhat.com>
16457
16458 * gdb.base/call-signals.c: Remove preprocessor conditionals
16459 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16460 SIGSEGV and SIGTERM.
16461 * gdb.base/sigall.c: Likewise.
16462 * gdb.base/unwindonsignal.c: Likewise.
16463 * gdb.reverse/sigall-reverse.c: Likewise.
16464
16465 2014-06-06 Yao Qi <yao@codesourcery.com>
16466
16467 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16468 readable, skip the test.
16469
16470 2014-06-06 Yao Qi <yao@codesourcery.com>
16471
16472 * gdb.threads/staticthreads.c (thread_function): Move the line
16473 setting breakpoint on forward.
16474 * gdb.threads/staticthreads.exp: Update comments.
16475
16476 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16477
16478 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16479 "history-append! type error".
16480
16481 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16482
16483 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16484 erroneous dprintf expected input.
16485
16486 2014-06-04 Doug Evans <xdje42@gmail.com>
16487
16488 * gdb.guile/scm-generics.exp: Delete.
16489
16490 2014-06-04 Doug Evans <xdje42@gmail.com>
16491
16492 * gdb.guile/scm-breakpoint.exp: Update.
16493 Add tests for breakpoint registration.
16494
16495 2014-06-04 Tom Tromey <tromey@redhat.com>
16496
16497 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16498 VLA-in-union.
16499 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16500 inner_vla_struct, vla_union types. Initialize objects of those
16501 types and compute their sizes.
16502
16503 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16504 Hui Zhu <hui@codesourcery.com>
16505
16506 * gdb.base/fileio.exp: Add test for shell not available as well as
16507 available.
16508 * gdb.base/fileio.c (test_system): Check for shell twice.
16509
16510 2014-06-04 Yao Qi <yao@codesourcery.com>
16511
16512 * gdb.base/auto-connect-native-target.exp: Remove redundant
16513 space from the regexp pattern.
16514
16515 2014-06-04 Yao Qi <yao@codesourcery.com>
16516
16517 * gdb.base/default.exp: Replace "child" with "native" in
16518 regexp pattern.
16519
16520 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16521
16522 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16523 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16524 * gdb.python/py-xmethods.py: Python script supporting the
16525 new testcase and tests.
16526
16527 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16528 Pedro Alves <palves@redhat.com>
16529
16530 PR breakpoints/17000
16531 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16532 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16533
16534 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16535
16536 * gdb.base/subst.exp: Add tests to verify partial path matching
16537 output.
16538
16539 2014-06-03 Pedro Alves <palves@redhat.com>
16540
16541 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16542 target that doesn't use software single-stepping.
16543
16544 2014-06-03 Pedro Alves <palves@redhat.com>
16545
16546 PR breakpoints/17000
16547 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16548 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16549
16550 2014-06-02 Doug Evans <xdje42@gmail.com>
16551
16552 * gdb.guile/scm-parameter.exp: New file.
16553
16554 2014-06-02 Doug Evans <xdje42@gmail.com>
16555
16556 * gdb.guile/scm-cmd.c: New file.
16557 * gdb.guile/scm-cmd.exp: New file.
16558
16559 2014-06-02 Doug Evans <xdje42@gmail.com>
16560
16561 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16562 pretty-printer lookup.
16563 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16564 (make-pp_s-printer): Call it.
16565 (make-pretty-printer-from-dict): New function.
16566 (lookup-pretty-printer-maker-from-dict): New function.
16567 (*pretty-printer*): Simplify.
16568 (make-objfile-pp_s-printer): New function.
16569 (install-objfile-pretty-printers!): New function.
16570 (make-progspace-pp_s-printer): New function.
16571 (install-progspace-pretty-printers!): New function.
16572 * gdb.guile/scm-progspace.c: New file.
16573 * gdb.guile/scm-progspace.exp: New file.
16574
16575 2014-06-02 Pedro Alves <palves@redhat.com>
16576
16577 * gdb.base/dprintf-bp-same-addr.c: New file.
16578 * gdb.base/dprintf-bp-same-addr.exp: New file.
16579
16580 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16581
16582 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16583 * gdb.arch/powerpc-power.s: Likewise.
16584
16585 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16586
16587 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16588
16589 2014-06-01 Yao Qi <yao@codesourcery.com>
16590
16591 * gdb.base/watchpoint.exp (test_watch_location): Check null
16592 pointer can be dereferenced. If not, do the test, otherwise
16593 skip it.
16594
16595 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16596
16597 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16598 results.
16599 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16600
16601 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16602
16603 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16604 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16605 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16606 * gdb.arch/amd64-invalid-stack-top.c: New file.
16607 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16608
16609 2014-05-30 Pedro Alves <palves@redhat.com>
16610
16611 PR breakpoints/17000
16612 * gdb.base/sss-bp-on-user-bp.c: New file.
16613 * gdb.base/sss-bp-on-user-bp.exp: New file.
16614
16615 2014-05-30 David Blaikie <dblaikie@gmail.com>
16616
16617 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16618 gnu_inline semantics via attribute.
16619 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16620 source explicitly specifies the required semantics.
16621
16622 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16623
16624 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16625
16626 2014-05-29 Pedro Alves <palves@redhat.com>
16627 Tom Tromey <tromey@redhat.com>
16628
16629 * gdb.base/async-shell.exp: Don't enable target-async.
16630 * gdb.base/async.exp
16631 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16632 parameter. Adjust.
16633 (top level): Don't test with "target-async".
16634 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16635 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16636 * gdb.base/inferior-died.exp: Don't enable target-async.
16637 * gdb.base/interrupt-noterm.exp: Likewise.
16638 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16639 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16640 * gdb.mi/mi-nonstop.exp: Likewise.
16641 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16642 * gdb.mi/mi-nsintrall.exp: Likewise.
16643 * gdb.mi/mi-nsmoribund.exp: Likewise.
16644 * gdb.mi/mi-nsthrexec.exp: Likewise.
16645 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16646 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16647 * gdb.python/py-evsignal.exp: Don't enable target-async.
16648 * gdb.python/py-evthreads.exp: Likewise.
16649 * gdb.python/py-prompt.exp: Likewise.
16650 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16651 * gdb.server/solib-list.exp: Don't enable target-async.
16652 * gdb.threads/thread-specific-bp.exp: Likewise.
16653 * lib/mi-support.exp: Adjust to use mi-async.
16654
16655 2014-05-29 Pedro Alves <palves@redhat.com>
16656
16657 PR gdb/13860
16658 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16659 reason, even in sync mode.
16660
16661 2014-05-29 Pedro Alves <palves@redhat.com>
16662 Hui Zhu <hui@codesourcery.com>
16663
16664 PR PR15693
16665 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16666 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16667 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16668 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16669
16670 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16671
16672 * config/monitor.exp (gdb_target_monitor): Replace use of
16673 "set remotebaud" by "set serial baud".
16674
16675 2014-05-26 Andy Wingo <wingo@igalia.com>
16676
16677 * gdb.guile/scm-breakpoint.exp:
16678 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16679 properties instead of gdb-object-properties.
16680
16681 2014-05-26 Yao Qi <yao@codesourcery.com>
16682
16683 * gdb.server/no-thread-db.exp: Specify source file name
16684 explicitly when setting a breakpoint.
16685
16686 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16687
16688 * gdb.btrace/vdso.c: New.
16689 * gdb.btrace/vdso.exp: New.
16690
16691 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16692
16693 * gdb.base/gcore.exp (capture_command_output): Move ...
16694 * lib/gdb.exp (capture_command_output): ... here.
16695
16696 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16697
16698 * gdb.btrace/data.exp: Test memory access during btrace replay.
16699
16700 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16701
16702 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16703
16704 2014-05-21 Pedro Alves <palves@redhat.com>
16705
16706 PR gdb/13860
16707 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16708 (top level): Test that output related to execution commands is
16709 sent to the console with CLI commands, but not with MI commands.
16710 Test that breakpoint events are always mirrored to the console.
16711 Also expect the new source line to be output after a "next" in
16712 async mode too. Make it a pass/fail test.
16713 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16714 output.
16715 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16716
16717 2014-05-21 Pedro Alves <palves@redhat.com>
16718
16719 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16720 Use them to test variations of "list" after reaching a breakpoint.
16721 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16722 Test "list" with listsize 10 after reaching a breakpoint.
16723 * gdb.python/python.exp (decode_line current location line
16724 number): Adjust expected line number.
16725
16726 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16727
16728 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16729 behavior for $args, pass it directly to "run".
16730
16731 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16732
16733 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16734 30000 to 65536.
16735
16736 2014-05-21 Pedro Alves <palves@redhat.com>
16737
16738 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16739 auto-connect-native-target off".
16740 * gdb.base/auto-connect-native-target.c: New file.
16741 * gdb.base/auto-connect-native-target.exp: New file.
16742
16743 2014-05-21 Pedro Alves <palves@redhat.com>
16744
16745 * gdb.base/default.exp: Test "target native" instead of "target
16746 child".
16747
16748 2014-05-21 Mark Wielaard <mjw@redhat.com>
16749
16750 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16751
16752 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16753
16754 Fix TLS access for -static -pthread.
16755 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16756 <HAVE_TLS> (thread_function, main): Initialize it.
16757 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16758 Add clean_restart.
16759 <$have_tls != "">: Check TLSVAR.
16760
16761 2014-05-21 Pedro Alves <palves@redhat.com>
16762
16763 * gdb.base/dcache-line-read-error.c: New.
16764 * gdb.base/dcache-line-read-error.exp: New.
16765
16766 2014-05-20 Pedro Alves <palves@redhat.com>
16767
16768 * gdb.base/compare-sections.c: New file.
16769 * gdb.base/compare-sections.exp: New file.
16770
16771 2014-05-20 Pedro Alves <palves@redhat.com>
16772
16773 * gdb.base/break-idempotent.c: New file.
16774 * gdb.base/break-idempotent.exp: New file.
16775
16776 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16777
16778 * gdb.btrace/nohist.exp: New.
16779
16780 2014-05-20 Yao Qi <yao@codesourcery.com>
16781
16782 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16783 gdb.reverse directory and gdb_reverse_timeout exists in board
16784 setting.
16785 * README: Document gdb_reverse_timeout.
16786
16787 2014-05-20 Yao Qi <yao@codesourcery.com>
16788
16789 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16790 'test_file_name'. Treat args as a string instead of a list.
16791 (gdb_init): Rename argument 'args' by 'test_file_name'.
16792
16793 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16794
16795 * gdb.arch/powerpc-power.exp: New file.
16796 * gdb.arch/powerpc-power.s: New file.
16797
16798 2014-05-16 Doug Evans <dje@google.com>
16799
16800 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16801 * gdb.base/completion.exp: Check that all expected files exist
16802 before doing file completion.
16803
16804 2014-05-16 Doug Evans <dje@google.com>
16805
16806 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16807 Update.
16808 (do_syscall_tests_without_xml): Update.
16809
16810 2014-05-16 Pedro Alves <palves@redhat.com>
16811
16812 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16813 instead of "unknown output after running".
16814
16815 2014-05-16 Yao Qi <yao@codesourcery.com>
16816
16817 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16818 file1.txt from host at the end.
16819 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16820
16821 2014-05-15 Doug Evans <dje@google.com>
16822
16823 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16824 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16825 loading file. Add test for TU lookup.
16826
16827 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16828
16829 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16830 calling "-exec-arguments" or "set args" before running the
16831 inferior.
16832
16833 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16834
16835 * lib/mi-support.exp (mi_expect_stop): Expect message for
16836 inferiors that exit with non-zero exit code.
16837
16838 2014-05-14 Yao Qi <yao@codesourcery.com>
16839
16840 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16841 match absolute path on remote host.
16842 (test_file_list_exec_source_files): Remove "/" from the
16843 pattern.
16844
16845 2014-05-14 Yao Qi <yao@codesourcery.com>
16846
16847 * boards/local-remote-host-notty.exp (${board}_file): New
16848 proc.
16849
16850 2014-05-07 Kyle McMartin <kyle@redhat.com>
16851
16852 Pushed by Joel Brobecker <brobecker@adacore.com>.
16853 * gdb.arch/aarch64-atomic-inst.c: New file.
16854 * gdb.arch/aarch64-atomic-inst.exp: New file.
16855
16856 2014-05-07 Yao Qi <yao@codesourcery.com>
16857
16858 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16859 in current context" too.
16860
16861 2014-05-05 Keith Seitz <keiths@redhat.com>
16862
16863 * gdb.linespec/ls-dollar.exp: Add test for linespec
16864 file:convenience_variable.
16865
16866 2014-05-05 Yao Qi <yao@codesourcery.com>
16867
16868 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16869 traceframes into tfile and ctf trace files. Read data from
16870 trace file and test collected data.
16871 (gdb_collect_locals_test): Likewise.
16872 (gdb_unavailable_registers_test): Likewise.
16873 (gdb_unavailable_floats): Likewise.
16874 (gdb_collect_globals_test): Likewise.
16875 (top-level): Append "ctf" to trace_file_targets if GDB
16876 supports.
16877
16878 2014-05-05 Yao Qi <yao@codesourcery.com>
16879
16880 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16881 code to ...
16882 (gdb_collect_args_test_1): ... it. New proc.
16883 (gdb_collect_locals_test): Move some code to ...
16884 (gdb_collect_locals_test_1): ... it. New proc.
16885 (gdb_unavailable_registers_test): Move some code to ...
16886 (gdb_unavailable_registers_test_1): ... it. New proc.
16887 (gdb_unavailable_floats): Move some code to ...
16888 (gdb_unavailable_floats_1): ... it. New proc.
16889
16890 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16891
16892 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16893 probes to test for bitness recognition.
16894 * gdb.arch/amd64-stap-optional-prefix.exp
16895 (test_probe_value_without_reg): New procedure.
16896 Add code to test for different kinds of bitness.
16897
16898 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16899
16900 PR breakpoints/16889
16901 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16902 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16903
16904 2014-05-01 Pedro Alves <palves@redhat.com>
16905
16906 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16907 gdb_file_cmd if no file is specified.
16908 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16909 last_loaded_file to set the remote exec-file.
16910
16911 2014-05-01 Pedro Alves <palves@redhat.com>
16912
16913 * boards/local-remote-host.exp: New file.
16914
16915 2014-05-01 Pedro Alves <palves@redhat.com>
16916
16917 * boards/local-remote-host.exp: Rename to ...
16918 * boards/local-remote-host-notty.exp: ... this.
16919
16920 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16921
16922 * gdb.ada/dyn_arrayidx: New testcase.
16923
16924 2014-04-26 Yao Qi <yao@codesourcery.com>
16925
16926 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16927 and compute the length of function main. Save it in
16928 $main_length.
16929 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16930 (top-level): Use gdb_compile to compile objects into
16931 executable and restart GDB. Remove invocation to
16932 prepare_for_testing.
16933
16934 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16935 Pedro Alves <palves@redhat.com>
16936
16937 PR server/16255
16938 * gdb.multi/multi-attach.c: New file.
16939 * gdb.multi/multi-attach.exp: New file.
16940
16941 2014-04-25 Pedro Alves <palves@redhat.com>
16942
16943 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16944 user.
16945 (top level): Test that "set remote conditional-breakpoints-packet
16946 off" works as intended.
16947 * gdb.base/dprintf.exp: Test that "set remote
16948 breakpoint-commands-packet off" works as intended.
16949 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16950 New function.
16951 (top level): Call it.
16952 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16953 remote fast-tracepoints-packet off" works as intended.
16954 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16955 * lib/gdb.exp (gdb_is_target_remote): ... here.
16956
16957 2014-04-24 David Blaikie <dblaikie@gmail.com>
16958
16959 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16960 ensure clang would not discard them.
16961 * gdb.base/gdbvars.c: Ditto.
16962 * gdb.base/memattr.c: Ditto.
16963 * gdb.base/whatis.c: Ditto.
16964 * gdb.python/py-prettyprint.c: Ditto.
16965 * gdb.trace/actions.c: Ditto.
16966 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16967 ensure clang would not discard it.
16968
16969 2014-04-24 David Blaikie <dblaikie@gmail.com>
16970
16971 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16972 clang to emit the full definition of type required by the test
16973 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16974
16975 2014-04-24 David Blaikie <dblaikie@gmail.com>
16976
16977 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16978 coax Clang into emitting the definition of the type.
16979 * gdb.cp/pr10728-x.h (y): Ditto.
16980 * gdb.cp/pr10728-y.cc (y): Ditto.
16981
16982 2014-04-24 David Blaikie <dblaikie@gmail.com>
16983
16984 * gdb.base/label.exp: XFAIL label related tests under Clang.
16985 * gdb.cp/cplabel.exp: Ditto.
16986 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16987 under Clang those using labels.
16988
16989 2014-04-25 Yao Qi <yao@codesourcery.com>
16990
16991 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16992 double_label.
16993 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16994 partial_label and double_label.
16995
16996 2014-04-24 David Blaikie <dblaikie@gmail.com>
16997
16998 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16999
17000 2014-04-24 David Blaikie <dblaikie@gmail.com>
17001
17002 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17003 of the function to work across GCC and Clang.
17004 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17005 pointer types (const void ** const V void **).
17006
17007 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17008 Walfred Tedeschi <walfred.tedeschi@intel.com>
17009
17010 * Makefile.in (EXECUTABLES): Added i386-avx512.
17011 * gdb.arch/i386-avx512.c: New file.
17012 * gdb.arch/i386-avx512.exp: Likewise.
17013
17014 2014-04-23 Keith Seitz <keiths@redhat.com>
17015
17016 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17017 (mi_make_breakpoint_table): New procedure.
17018 (mi_create_breakpoint): Use mi_make_breakpoint
17019 and return the result.
17020 (mi_make_breakpoint): New procedure.
17021 (mi_build_kv_pairs): New procedure.
17022
17023 * gdb.mi/mi-break.exp: Remove unused globals,
17024 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17025 All callers updated.
17026 * gdb.mi/mi-dprintf.exp: Use variable to track command
17027 number.
17028 Update all callers of mi_create_breakpoint and use
17029 mi_make_breakpoint_table.
17030 Remove any unused global variables.
17031 * gdb.mi/mi-nonstop.exp: Likewise.
17032 * gdb.mi/mi-nsintrall.exp: Likewise.
17033 * gdb.mi/mi-nsmoribund.exp: Likewise.
17034 * gdb.mi/mi-nsthrexec.exp: Likewise.
17035 * gdb.mi/mi-reverse.exp: Likewise.
17036 * gdb.mi/mi-simplerun.exp: Likewise.
17037 * gdb.mi/mi-stepn.exp: Likewise.
17038 * gdb.mi/mi-syn-frame.exp: Likewise.
17039 * gdb.mi/mi-until.exp: Likewise.
17040 * gdb.mi/mi-var-cp.exp: Likewise.
17041 * gdb.mi/mi-var-display.exp: Likewise.
17042 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17043 * gdb.mi/mi2-var-child.exp: Likewise.
17044 * gdb.mi/mi-vla-c99.exp: Likewise.
17045 * lib/mi-support.exp: Likewise.
17046
17047 From Ian Lance Taylor <iant@cygnus.com>:
17048 * lib/gdb.exp (parse_args): New procedure.
17049
17050 2014-04-23 Pedro Alves <palves@redhat.com>
17051
17052 * gdb.base/break-unload-file.c: New file.
17053 * gdb.base/break-unload-file.exp: New file.
17054 * gdb.base/sym-file-lib.c (baz): New function.
17055 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17056 field.
17057 (load): Store the segment's mapped size.
17058 (unload): New function.
17059 (unload_shlib): New function.
17060 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17061 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17062 set a breakpoint at baz, and call it.
17063 * gdb.base/sym-file.exp: New tests for stale breakpoint
17064 instructions.
17065
17066 2014-04-23 Pedro Alves <palves@redhat.com>
17067
17068 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17069 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17070 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17071 * gdb.base/hbreak-unmapped.c: New file.
17072 * gdb.base/hbreak-unmapped.exp: New file.
17073 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17074 * lib/gdb.exp (gdb_is_target_remote): ... here.
17075
17076 2014-04-22 Pedro Alves <palves@redhat.com>
17077
17078 * gdb.base/consecutive-step-over.c: New file.
17079 * gdb.base/consecutive-step-over.exp: New file.
17080
17081 2014-04-22 Pedro Alves <palves@redhat.com>
17082
17083 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17084 instead of send_gdb/gdb_expect.
17085
17086 2014-04-22 Yao Qi <yao@codesourcery.com>
17087
17088 * lib/trace-support.exp (generate_tracefile): New procedure.
17089 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17090 return 0.
17091 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17092 if generate_tracefile returns 1.
17093
17094 2014-04-18 Tom Tromey <palves@redhat.com>
17095 Pedro alves <tromey@redhat.com>
17096
17097 PR backtrace/15558
17098 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17099 with a backtrace limit.
17100 * gdb.python/py-frame-inline.exp: Test running to an inline
17101 function with a backtrace limit, and printing the newest frame.
17102 * gdb.python/py-frame-inline.c (main): Call f.
17103
17104 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17105
17106 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17107
17108 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17109
17110 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17111 Drop prefix from unsupported source file path.
17112
17113 2014-04-17 Yao Qi <yao@codesourcery.com>
17114
17115 * lib/gdb.exp (with_target_charset): New proc.
17116 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17117 with_target_charset.
17118 (test_print_strings): Likewise.
17119 (test_repeat_bytes): Likewise.
17120 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17121 for some tests.
17122
17123 2014-04-16 Keith Seitz <keiths@redhat.com>
17124
17125 PR gdb/15827
17126 * gdb.dwarf2/corrupt.c: New file.
17127 * gdb.dwarf2/corrupt.exp: New file.
17128
17129 2014-04-16 Keith Seitz <keiths@redhat.com>
17130
17131 PR c++/16597
17132 * gdb.cp/namelessclass.cc: New file.
17133 * gdb.cp/namelessclass.exp: New file.
17134 * gdb.cp/namelessclass.S: New file.
17135
17136 2014-04-16 Doug Evans <dje@google.com>
17137
17138 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17139 Add comment.
17140 (gdbserver_default_get_comm_port): New function.
17141 (gdbserver_start): Check if board file provided
17142 "gdbserver,get_comm_port" and use it if so.
17143 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17144 (gdb,socketport): Set to "stdio".
17145 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17146 (stdio_gdbserver_template): Delete.
17147 (${board}_get_remote_address): Update.
17148 (${board}_build_remote_cmd): Delete.
17149 (${board}_get_comm_port): New function.
17150 (${board}_spawn): Update.
17151 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17152 Delete.
17153 (${board}_get_remote_address): Update.
17154 (${board}_get_comm_port): New function.
17155
17156 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17157
17158 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17159 appearing in any order.
17160
17161 2014-04-15 Doug Evans <dje@google.com>
17162
17163 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17164 uninitialized value of "description".
17165
17166 2014-04-15 Keith Seitz <keiths@redhat.com>
17167
17168 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17169 Remove unused globals.
17170 (test_running_the_program): Likewise.
17171 (test_controlled_execution): Likewise.
17172 (test_controlling_breakpoints): Likewise.
17173 (test_program_termination): Likewise.
17174
17175 2014-04-15 Keith Seitz <keiths@redhat.com>
17176
17177 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17178 unused globals.
17179 (test_rbreak_creation_and_listing): Likewise.
17180 (test_ignore_count): Likewise.
17181 (test_error): Likewise.
17182
17183 2014-04-15 Pedro Alves <palves@redhat.com>
17184
17185 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17186 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17187 sym-file-loader.c.
17188 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17189 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17190 to sym-file-loader.c.
17191 (struct library): Forward declare.
17192 (load_shlib, lookup_function): Change prototypes.
17193 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17194 (translate_offset): Remove declarations.
17195 (get_text_addr): New declaration.
17196 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17197 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17198 sym-file-loader.h.
17199 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17200 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17201 here from sym-file-loader.h.
17202 (struct library): New structure.
17203 (load_shlib, lookup_function): Change prototypes and adjust to
17204 work with a struct library.
17205 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17206 (translate_offset): Make static.
17207 (get_text_addr): New function.
17208 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17209
17210 2014-04-15 Pedro Alves <palves@redhat.com>
17211
17212 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17213
17214 2014-04-15 Pedro Alves <palves@redhat.com>
17215
17216 * gdb.base/sym-file-loader.c: Include <limits.h>.
17217 (SELF_LINK): New define.
17218 (get_origin): New function.
17219 (load_shlib): Use it.
17220 * gdb.base/sym-file.exp: Don't early return if the target is
17221 remote. Use runto_main, and issue fail is that fails. Use
17222 gdb_load_shlibs.
17223 (shlib_name): Delete.
17224 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17225
17226 2014-04-15 Pedro Alves <palves@redhat.com>
17227
17228 * gdb.base/sym-file.exp: Remove regex characters from test
17229 message. Don't refer to breakpoint numbers in test messages.
17230
17231 2014-04-14 Keith Seitz <keiths@redhat.com>
17232
17233 PR c++/16253
17234 * gdb.cp/var-tag.cc: New file.
17235 * gdb.cp/var-tag.exp: New file.
17236 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17237 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17238 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17239 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17240
17241 2014-04-14 Tom Tromey <tromey@redhat.com>
17242
17243 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17244 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17245 type.
17246 * gdb.cp/enum-class.exp: New file.
17247 * gdb.cp/enum-class.cc: New file.
17248
17249 2014-04-14 Tom Tromey <tromey@redhat.com>
17250
17251 * gdb.dwarf2/enum-type.exp: New file.
17252
17253 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17254
17255 * gdb.mi/mi-vla-c99.exp: New file.
17256 * gdb.mi/vla.c: New file.
17257
17258 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17259
17260 * gdb.base/vla-datatypes.c: New file.
17261 * gdb.base/vla-datatypes.exp: New file.
17262
17263 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17264
17265 * gdb.base/vla-ptr.c: New file.
17266 * gdb.base/vla-ptr.exp: New file.
17267
17268 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17269
17270 * gdb.dwarf2/count.exp: New file.
17271
17272 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17273
17274 * gdb.base/vla-sideeffect.c: New file.
17275 * gdb.base/vla-sideeffect.exp: New file.
17276
17277 2014-04-14 David Blaikie <dblaikie@gmail.com>
17278
17279 * gdb.mi/non-stop.c: Add return value for non-void function return
17280 statement.
17281 * gdb.threads/staticthreads.c: Ditto.
17282
17283 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17284 Doug Evans <xdje42@gmail.com>
17285
17286 * gdb.guile/scm-value.c: Improve test case.
17287 * gdb.guile/scm-value.exp: Add new test.
17288
17289 2014-04-11 David Blaikie <dblaikie@gmail.com>
17290
17291 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17292 override Clang's default.
17293
17294 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17295
17296 Revert the following changes (regressions):
17297
17298 * gdb.base/vla-sideeffect.c: New file.
17299 * gdb.base/vla-sideeffect.exp: New file.
17300
17301 * gdb.dwarf2/count.exp: New file.
17302
17303 * gdb.base/vla-multi.c: New file.
17304 * gdb.base/vla-multi.exp: New file.
17305
17306 * gdb.base/vla-ptr.c: New file.
17307 * gdb.base/vla-ptr.exp: New file.
17308
17309 * gdb.base/vla-datatypes.c: New file.
17310 * gdb.base/vla-datatypes.exp: New file.
17311
17312 * gdb.mi/mi-vla-c99.exp: New file.
17313 * gdb.mi/vla.c: New file.
17314
17315 2014-04-11 Keith Seitz <keiths@redhat.com>
17316
17317 PR c++/16675
17318 * gdb.cp/cpsizeof.exp: New file.
17319 * gdb.cp/cpsizeof.cc: New file.
17320
17321 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17322
17323 * gdb.mi/mi-vla-c99.exp: New file.
17324 * gdb.mi/vla.c: New file.
17325
17326 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17327
17328 * gdb.base/vla-datatypes.c: New file.
17329 * gdb.base/vla-datatypes.exp: New file.
17330
17331 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17332
17333 * gdb.base/vla-ptr.c: New file.
17334 * gdb.base/vla-ptr.exp: New file.
17335
17336 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17337
17338 * gdb.base/vla-multi.c: New file.
17339 * gdb.base/vla-multi.exp: New file.
17340
17341 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17342
17343 * gdb.dwarf2/count.exp: New file.
17344
17345 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17346
17347 * gdb.base/vla-sideeffect.c: New file.
17348 * gdb.base/vla-sideeffect.exp: New file.
17349
17350 2014-04-11 Yao Qi <yao@codesourcery.com>
17351
17352 * gdb.base/completion.exp: Check file exists before running tests
17353 on file completion.
17354
17355 2014-04-10 Pedro Alves <palves@redhat.com>
17356
17357 * gdb.base/cond-eval-mode.c: New file.
17358 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17359 prepare_for_testing to build the new file. Check result of
17360 runto_main.
17361 (test_break, test_watch): New procedures.
17362 (top level): Use them.
17363
17364 2014-04-08 Pierre Muller <muller@sourceware.org>
17365
17366 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17367 Ctrl-V use for mingw hosts.
17368
17369 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17370
17371 * gdb.python/py-value.c: Improve test case.
17372 * gdb.python/py-value.exp: Add new test.
17373
17374 2014-04-07 David Blaikie <dblaikie@gmail.com>
17375
17376 * lib/compiler.c: Identify the clang compiler.
17377 * lib/compiler.cc: Ditto.
17378
17379 2014-04-03 Yao Qi <yao@codesourcery.com>
17380
17381 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17382
17383 2014-04-01 Anton Blanchard <anton@samba.org>
17384
17385 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17386 messages unique.
17387
17388 2014-04-01 Anton Blanchard <anton@samba.org>
17389
17390 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17391 prepare_for_testing.
17392
17393 2014-04-01 Anton Blanchard <anton@samba.org>
17394
17395 * gdb.arch/ppc64-atomic-inst.c: Remove.
17396 * gdb.arch/ppc64-atomic-inst.S: New file.
17397 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17398
17399 2014-03-31 Doug Evans <dje@google.com>
17400
17401 * gdb.base/print-symbol-loading-lib.c: New file.
17402 * gdb.base/print-symbol-loading-main.c: New file.
17403 * gdb.base/print-symbol-loading.exp: New file.
17404
17405 2014-03-31 Yao Qi <yao@codesourcery.com>
17406
17407 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17408
17409 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17410
17411 * gdb.ada/mi_dyn_arr: New testcase.
17412
17413 2014-03-27 Doug Evans <dje@google.com>
17414
17415 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17416
17417 2014-03-27 Yao Qi <yao@codesourcery.com>
17418
17419 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17420 if target is nios2-*-*.
17421
17422 2014-03-26 Yao Qi <yao@codesourcery.com>
17423
17424 * lib/gdb.exp (readline_is_used): New proc.
17425 * gdb.base/completion.exp: Move tests on command complete up.
17426 Skip the rest of tests if readline is not used.
17427 * gdb.ada/complete.exp: Skp the test if readline is not
17428 used.
17429 * gdb.base/filesym.exp: Likewise.
17430 * gdb.base/macscp.exp: Likewise.
17431 * gdb.base/readline-ask.exp: Likewise.
17432 * gdb.base/readline.exp: Likewise.
17433 * gdb.python/py-cmd.exp: Likewise.
17434 * gdb.trace/tfile.exp: Likewise.
17435
17436 2014-03-26 Yao Qi <yao@codesourcery.com>
17437
17438 * gdb.base/macscp.exp: Fix code format issues.
17439
17440 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17441
17442 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17443 * gdb.asm/powerpc64le.inc: New file.
17444
17445 2014-03-25 Pedro Alves <palves@redhat.com>
17446 Doug Evans <dje@google.com>
17447
17448 * gdb.base/source-execution.c: New file.
17449 * gdb.base/source-execution.exp: New file.
17450 * gdb.base/source-execution.gdb: New file.
17451
17452 2014-03-24 Doug Evans <dje@google.com>
17453
17454 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17455 using fission.
17456
17457 2014-03-24 Hui Zhu <hui@codesourcery.com>
17458 Pedro Alves <palves@redhat.com>
17459
17460 PR breakpoints/16101
17461 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17462 test pass/fail messages. Detect missing support for dprintf when
17463 breakpoints are actually inserted.
17464 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17465 breakpoints are actually inserted.
17466 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17467 fails.
17468
17469 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17470
17471 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17472
17473 2014-03-22 Doug Evans <xdje42@gmail.com>
17474
17475 * gdb.python/python.exp (python not supported): Verify multi-line
17476 python command issues an error.
17477 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17478 guile command issues an error.
17479
17480 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17481
17482 * gdb.threads/thread-specific.exp: Handle the lack of usable
17483 $this_breakpoint and $this_thread.
17484
17485 2014-03-21 Hui Zhu <hui@codesourcery.com>
17486
17487 * gdb.base/attach.exp (do_command_attach_tests): New.
17488
17489 2014-03-20 Tom Tromey <tromey@redhat.com>
17490 Pedro Alves <palves@redhat.com>
17491
17492 PR cli/15718
17493 * gdb.base/condbreak-call-false.c: New file.
17494 * gdb.base/condbreak-call-false.exp: New file.
17495
17496 2014-03-20 Pedro Alves <palves@redhat.com>
17497
17498 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17499 Delete.
17500 (block_signals, unblock_signals): Delete.
17501 (child_function_2, main): Remove references to deleted variable
17502 and functions.
17503
17504 2014-03-20 Pedro Alves <palves@redhat.com>
17505
17506 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17507 Use pthread_kill to signal thread 2.
17508 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17509 Adjust to make the test send itself a signal rather than using the
17510 host's "kill" command.
17511
17512 2014-03-20 Pedro Alves <palves@redhat.com>
17513
17514 * gdb.threads/multiple-step-overs.c: New file.
17515 * gdb.threads/multiple-step-overs.exp: New file.
17516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17517 Adjust expected infrun debug output.
17518
17519 2014-03-20 Pedro Alves <palves@redhat.com>
17520
17521 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17522 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17523
17524 2014-03-20 Pedro Alves <palves@redhat.com>
17525
17526 PR breakpoints/7143
17527 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17528 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17529 of gdb_test_multiple.
17530 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17531 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17532
17533 2014-03-20 Pedro Alves <palves@redhat.com>
17534
17535 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17536 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17537
17538 2014-03-19 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.base/async.exp: Remove early return.
17541
17542 2014-03-19 Pedro Alves <palves@redhat.com>
17543
17544 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17545
17546 2014-03-19 Pedro Alves <palves@redhat.com>
17547
17548 * gdb.base/async.exp (test_background): Expect \r\n after
17549 "completed." in the fail pattern.
17550
17551 2014-03-19 Pedro Alves <palves@redhat.com>
17552
17553 * gdb.base/async.exp (test_background): New procedure.
17554 Use it for all background execution command tests.
17555
17556 2014-03-19 Pedro Alves <palves@redhat.com>
17557
17558 * gdb.base/async.exp: Use prepare_for_testing.
17559
17560 2014-03-19 Pedro Alves <palves@redhat.com>
17561
17562 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17563 the same line.
17564
17565 2014-03-19 Pedro Alves <palves@redhat.com>
17566
17567 * gdb.base/async.c (main): Add "jump here" and "until here" line
17568 marker comments.
17569 * gdb.base/async.exp (jump_here): New global.
17570 (jump& test): Use it.
17571 (until_here): New global.
17572 (until& test): Use it.
17573
17574 2014-03-19 Pedro Alves <palves@redhat.com>
17575
17576 * gdb.base/async.exp: Don't frob gdb_protocol.
17577
17578 2014-03-18 Doug Evans <xdje42@gmail.com>
17579
17580 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17581 Fix spelling of exec-done-display.
17582
17583 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17584
17585 PR gdb/15358
17586 * gdb.base/gdb-sigterm.c: New file.
17587 * gdb.base/gdb-sigterm.exp: New file.
17588
17589 2014-03-18 Pedro Alves <palves@redhat.com>
17590
17591 PR gdb/13860
17592 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17593 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17594 solib-event.
17595
17596 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17597
17598 * gdb.ada/pckd_arr_ren: New testcase.
17599
17600 2014-03-13 Doug Evans <xdje42@gmail.com>
17601
17602 PR guile/16612
17603 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17604 collect after discarding symbols.
17605
17606 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17607 Doug Evans <xdje42@gmail.com>
17608
17609 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17610 to history survives a gc.
17611
17612 2014-03-13 Pedro Alves <palves@redhat.com>
17613
17614 * gdb.base/default.exp: Don't test "target procfs".
17615
17616 2014-03-13 Pedro Alves <palves@redhat.com>
17617
17618 * gdb.base/default.exp: Update "target child" and "target procfs"
17619 tests to not expect "Unix".
17620
17621 2014-03-12 Tom Tromey <tromey@redhat.com>
17622
17623 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17624 New procs. Add target-async tests.
17625 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17626 Add target-async tests.
17627
17628 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17629
17630 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17631 'func_start' and 'func_end' for the beginning and end of the
17632 function code, respectively.
17633 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17634 'func_end' instead of 'func' and 'main'.
17635
17636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17637
17638 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17639 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17640 generate the debug info assembler source.
17641
17642 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17643
17644 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17645 * gdb.dwarf2/arr-subrange.exp: Likewise.
17646 * gdb.dwarf2/dwz.exp: Likewise.
17647 * gdb.dwarf2/method-ptr.exp: Likewise.
17648 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17649 * gdb.dwarf2/subrange.exp: Likewise.
17650 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17651 * gdb.dwarf2/implptrpiece.exp: Likewise.
17652 * gdb.dwarf2/nostaticblock.exp: Likewise.
17653
17654 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17655
17656 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17657 directory to absolute path name arguments.
17658
17659 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17660
17661 * gdb.ada/tagged_access: New testcase.
17662
17663 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17664
17665 * gdb.btrace/data.exp: Update expected output.
17666
17667 2014-03-06 Yao Qi <yao@codesourcery.com>
17668
17669 * gdb.trace/pr16508.exp: New file.
17670
17671 2014-03-05 Pedro Alves <palves@redhat.com>
17672
17673 PR gdb/16575
17674 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17675 procedure.
17676 (top level): Adjust to use it. Add tests that exercise breakpoint
17677 interaction with the code-cache.
17678
17679 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17680
17681 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17682 test for 'history-append!'.
17683
17684 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17685
17686 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17687 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17688 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17689 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17690 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17691 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17692
17693 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17694
17695 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17696 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17697 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17698
17699 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17700
17701 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17702
17703 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17704
17705 * gdb.dwarf2/arr-stride.c: New file.
17706 * gdb.dwarf2/arr-stride.exp: New file.
17707
17708 2014-02-26 Pedro Alves <palves@redhat.com>
17709
17710 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17711 that won't ever trigger. Make sure that GDB reports the correct
17712 breakpoint that caused the stop.
17713
17714 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17715
17716 PR gdb/16626
17717 * gdb.base/auto-load-script: New file.
17718 * gdb.base/auto-load.c: New file.
17719 * gdb.base/auto-load.exp: New file.
17720
17721 PR gdb/16626
17722 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17723
17724 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17725
17726 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17727 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17728
17729 2014-02-24 Doug Evans <dje@google.com>
17730
17731 * lib/gdb.exp (run_on_host): Log error output if program fails.
17732
17733 2014-02-21 Pedro Alves <palves@redhat.com>
17734
17735 * gdb.threads/step-after-sr-lock.c: Rename to ...
17736 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17737 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17738 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17739 ... this.
17740
17741 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17742
17743 PR tdep/16397
17744 * gdb.arch/amd64-stap-special-operands.exp: New file.
17745 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17746 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17747 * gdb.arch/amd64-stap-triplet.S: Likewise.
17748 * gdb.arch/amd64-stap-triplet.c: Likewise.
17749
17750 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17751
17752 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17753 in .section pseudo-op.
17754
17755 2014-02-20 lin zuojian <manjian2006@gmail.com>
17756 Joel Brobecker <brobecker@adacore.com>
17757 Doug Evans <xdje42@gmail.com>
17758
17759 PR symtab/16581
17760 * gdb.dwarf2/dw2-icycle.S: New file.
17761 * gdb.dwarf2/dw2-icycle.c: New file.
17762 * gdb.dwarf2/dw2-icycle.exp: New file.
17763
17764 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17765
17766 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17767 operations on gdb.Value objects.
17768 * gdb.python/py-value-cc.exp: Add new test to test operations on
17769 gdb.Value objects.
17770
17771 2014-02-18 Doug Evans <dje@google.com>
17772
17773 * Makefile.in (TESTS): New variable.
17774 (expanded_tests, expanded_tests_or_none): New variables
17775 (check-single): Pass $(expanded_tests_or_none) to runtest.
17776 (check-parallel): Only run tests in $(TESTS) if non-empty.
17777 (check/no-matching-tests-found): New rule.
17778 * README: Document TESTS makefile variable.
17779
17780 2014-02-18 Doug Evans <dje@google.com>
17781
17782 * Makefile.in (check-parallel): rm -rf outputs temp.
17783
17784 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17785
17786 Fix "ERROR: no fileid for" in the testsuite.
17787 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17788
17789 2014-02-12 Doug Evans <dje@google.com>
17790
17791 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17792 (MISCELLANEOUS): New variable.
17793 (clean): rm -rf $(MISCELLANEOUS).
17794 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17795 dwp live in the same directory as symlinks, with each symlink pointed
17796 to a differently named file in a different directory.
17797
17798 2014-02-11 Doug Evans <dje@google.com>
17799
17800 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17801 of Tcl file commands.
17802
17803 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17804
17805 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17806 "kill -SIGUSR1 -1".
17807
17808 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17809
17810 * gdb.ada/tick_length_array_enum_idx: New testcase.
17811
17812 2014-02-10 Doug Evans <xdje42@gmail.com>
17813
17814 * configure.ac (AC_OUTPUT): Add gdb.guile.
17815 * configure: Regenerate.
17816 * lib/gdb-guile.exp: New file.
17817 * lib/gdb.exp (get_target_charset): New function.
17818 * gdb.base/help.exp: Update expected output from "apropos apropos".
17819 * gdb.guile/Makefile.in: New file.
17820 * gdb.guile/guile.exp: New file.
17821 * gdb.guile/scm-arch.c: New file.
17822 * gdb.guile/scm-arch.exp: New file.
17823 * gdb.guile/scm-block.c: New file.
17824 * gdb.guile/scm-block.exp: New file.
17825 * gdb.guile/scm-breakpoint.c: New file.
17826 * gdb.guile/scm-breakpoint.exp: New file.
17827 * gdb.guile/scm-disasm.c: New file.
17828 * gdb.guile/scm-disasm.exp: New file.
17829 * gdb.guile/scm-equal.c: New file.
17830 * gdb.guile/scm-equal.exp: New file.
17831 * gdb.guile/scm-error.exp: New file.
17832 * gdb.guile/scm-error.scm: New file.
17833 * gdb.guile/scm-frame-args.c: New file.
17834 * gdb.guile/scm-frame-args.exp: New file.
17835 * gdb.guile/scm-frame-args.scm: New file.
17836 * gdb.guile/scm-frame-inline.c: New file.
17837 * gdb.guile/scm-frame-inline.exp: New file.
17838 * gdb.guile/scm-frame.c: New file.
17839 * gdb.guile/scm-frame.exp: New file.
17840 * gdb.guile/scm-generics.exp: New file.
17841 * gdb.guile/scm-gsmob.exp: New file.
17842 * gdb.guile/scm-iterator.c: New file.
17843 * gdb.guile/scm-iterator.exp: New file.
17844 * gdb.guile/scm-math.c: New file.
17845 * gdb.guile/scm-math.exp: New file.
17846 * gdb.guile/scm-objfile-script-gdb.in: New file.
17847 * gdb.guile/scm-objfile-script.c: New file.
17848 * gdb.guile/scm-objfile-script.exp: New file.
17849 * gdb.guile/scm-objfile.c: New file.
17850 * gdb.guile/scm-objfile.exp: New file.
17851 * gdb.guile/scm-ports.exp: New file.
17852 * gdb.guile/scm-pretty-print.c: New file.
17853 * gdb.guile/scm-pretty-print.exp: New file.
17854 * gdb.guile/scm-pretty-print.scm: New file.
17855 * gdb.guile/scm-section-script.c: New file.
17856 * gdb.guile/scm-section-script.exp: New file.
17857 * gdb.guile/scm-section-script.scm: New file.
17858 * gdb.guile/scm-symbol.c: New file.
17859 * gdb.guile/scm-symbol.exp: New file.
17860 * gdb.guile/scm-symtab-2.c: New file.
17861 * gdb.guile/scm-symtab.c: New file.
17862 * gdb.guile/scm-symtab.exp: New file.
17863 * gdb.guile/scm-type.c: New file.
17864 * gdb.guile/scm-type.exp: New file.
17865 * gdb.guile/scm-value-cc.cc: New file.
17866 * gdb.guile/scm-value-cc.exp: New file.
17867 * gdb.guile/scm-value.c: New file.
17868 * gdb.guile/scm-value.exp: New file.
17869 * gdb.guile/source2.scm: New file.
17870 * gdb.guile/types-module.cc: New file.
17871 * gdb.guile/types-module.exp: New file.
17872
17873 2014-02-10 Yao Qi <yao@codesourcery.com>
17874
17875 PR testsuite/16543
17876 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17877 * configure: Regenerated.
17878 * Makefile.in: New file.
17879
17880 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17881
17882 * gdb.python/py-framefilter.exp: Fix typo.
17883
17884 2014-02-08 Yao Qi <yao@codesourcery.com>
17885
17886 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17887 that no =breakpoint-modified is emitted when breakpoints are
17888 modified through MI commands.
17889
17890 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17891 Pedro Alves <palves@redhat.com>
17892
17893 * gdb.threads/step-after-sr-lock.c: New file.
17894 * gdb.threads/step-after-sr-lock.exp: New file.
17895
17896 2014-02-07 Pedro Alves <palves@redhat.com>
17897
17898 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17899
17900 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17901
17902 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17903 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17904
17905 2014-02-06 Doug Evans <xdje42@gmail.com>
17906
17907 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17908 output.
17909
17910 * gdb.gdb/python-interrupts.exp: New file.
17911
17912 2014-02-05 Yao Qi <yao@codesourcery.com>
17913
17914 * gdb.trace/report.exp (use_collected_data): Test the output
17915 of "info threads" and "info inferiors".
17916
17917 2014-02-05 Yao Qi <yao@codesourcery.com>
17918
17919 Revert this patch:
17920
17921 2013-05-24 Yao Qi <yao@codesourcery.com>
17922
17923 * gdb.trace/tfile.exp: Test inferior and thread.
17924
17925 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17926
17927 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17928 on a function.
17929 * gdb.base/step-bt.c: Call hello via function pointer to make
17930 sure its first instruction is executed on powerpc64le-linux.
17931
17932 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17933
17934 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17935
17936 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17937
17938 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17939 of the test patterns for use on little-endian systems.
17940
17941 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17942
17943 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17944 (decimal_vector): Fix for little-endian.
17945
17946 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17947
17948 * gdb.arch/sparc-sysstep.exp: New file.
17949 * gdb.arch/sparc-sysstep.c: Likewise.
17950
17951 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17952
17953 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17954
17955 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17956
17957 2014-01-23 Tom Tromey <tromey@redhat.com>
17958
17959 * gdb.ada/array_char_idx: New testcase.
17960
17961 2014-01-23 Tom Tromey <tromey@redhat.com>
17962
17963 PR python/16487:
17964 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17965 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17966 classes.
17967
17968 2014-01-23 Tom Tromey <tromey@redhat.com>
17969
17970 PR python/16491:
17971 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17972 string from an inferior frame.
17973 * gdb.python/py-framefilter-mi.exp: Update.
17974
17975 2014-01-22 Doug Evans <dje@google.com>
17976
17977 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17978
17979 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17980
17981 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17982
17983 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17984
17985 * gdb.trace/entry-values.exp: Remove excess space character from
17986 regex patterns. Handle s390 call instruction.
17987
17988 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17989
17990 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17991 define "*_start" label. Make "name" static.
17992 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17993 ${name} by references to ${name}_start.
17994
17995 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17996
17997 * gdb.base/info-macros.exp: Remove "debug" from the compile
17998 options.
17999
18000 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18001
18002 * gdb.dlang/demangle.exp: New file.
18003
18004 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18005
18006 * gdb.dlang/primitive-types.exp: New file.
18007
18008 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18009
18010 * configure.ac: Create gdb.dlang/Makefile.
18011 * configure: Regenerate.
18012 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18013 * gdb.dlang/Makefile.in: New file.
18014 * lib/d-support.exp: New file.
18015 * lib/gdb.exp (skip_d_tests): New proc.
18016
18017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18018
18019 * gdb.btrace/delta.exp: Check reverse stepi.
18020 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18021 * gdb.btrace/finish.exp: New.
18022 * gdb.btrace/next.exp: New.
18023 * gdb.btrace/nexti.exp: New.
18024 * gdb.btrace/record_goto.c: Add comments.
18025 * gdb.btrace/step.exp: New.
18026 * gdb.btrace/stepi.exp: New.
18027 * gdb.btrace/multi-thread-step.c: New.
18028 * gdb.btrace/multi-thread-step.exp: New.
18029 * gdb.btrace/rn-dl-bind.c: New.
18030 * gdb.btrace/rn-dl-bind.exp: New.
18031 * gdb.btrace/data.c: New.
18032 * gdb.btrace/data.exp: New.
18033 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18034
18035 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18036
18037 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18038 * gdb.btrace/exception.exp: Update.
18039 * gdb.btrace/instruction_history.exp: Update.
18040 * gdb.btrace/record_goto.exp: Update.
18041 * gdb.btrace/tailcall.exp: Update.
18042 * gdb.btrace/unknown_functions.exp: Update.
18043 * gdb.btrace/delta.exp: New.
18044
18045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18046
18047 * gdb.btrace/record_goto.exp: Add backtrace test.
18048 * gdb.btrace/tailcall.exp: Add backtrace test.
18049
18050 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18051
18052 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18053 * gdb.btrace/record_goto.c: New.
18054 * gdb.btrace/record_goto.exp: New.
18055 * gdb.btrace/x86-record_goto.S: New.
18056
18057 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18058
18059 * gdb.btrace/function_call_history.exp: Update tests.
18060 * gdb.btrace/instruction_history.exp: Update tests.
18061
18062 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18063
18064 * gdb.btrace/function_call_history.exp: Fix expected field
18065 order for "record function-call-history".
18066 Add new tests for "record function-call-history /c".
18067 * gdb.btrace/exception.cc: New.
18068 * gdb.btrace/exception.exp: New.
18069 * gdb.btrace/tailcall.exp: New.
18070 * gdb.btrace/x86-tailcall.S: New.
18071 * gdb.btrace/x86-tailcall.c: New.
18072 * gdb.btrace/unknown_functions.c: New.
18073 * gdb.btrace/unknown_functions.exp: New.
18074 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18075
18076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18077
18078 * gdb.btrace/instruction_history.exp: Update.
18079 * gdb.btrace/function_call_history.exp: Update.
18080
18081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18082
18083 * gdb.btrace/function_call_history.exp: Fix expected function
18084 trace.
18085 * gdb.btrace/instruction_history.exp: Initialize traced.
18086 Remove traced_functions.
18087
18088 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18089
18090 * gdb.btrace/function_call_history.exp: Update
18091 * gdb.btrace/instruction_history.exp: Update.
18092
18093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18094
18095 * gdb.btrace/enable.exp: Update expected text.
18096
18097 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18098
18099 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18100 bytes.
18101
18102 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18103
18104 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18105
18106 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18107
18108 * lib/gdb.exp (supports_process_record): Return true for
18109 arm*-linux*. (supports_reverse): Likewise.
18110
18111 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18112
18113 PR python/15464
18114 PR python/16113
18115 * gdb.python/py-type.c: Enhance test case.
18116 * gdb.python/py-value-cc.cc: Likewise
18117 * gdb.python/py-type.exp: Add new tests.
18118 * gdb.python/py-value-cc.exp: Likewise
18119
18120 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18121 Pedro Alves <palves@redhat.com>
18122
18123 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18124 Make "name" extern.
18125 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18126 references to ${name}_start by references to ${name}.
18127
18128 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18129
18130 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18131
18132 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18133
18134 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18135
18136 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18137 Pedro Alves <palves@redhat.com>
18138
18139 * gdb.mi/mi-info-os.exp: Connect to the target with
18140 mi_gdb_target_load.
18141
18142 2014-01-08 Pedro Alves <palves@redhat.com>
18143
18144 * gdb.threads/reconnect-signal.c: New file.
18145 * gdb.threads/reconnect-signal.exp: New file.
18146
18147 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18148
18149 * gdb.base/source-dir.exp: New file.
18150
18151 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18152
18153 * gdb.ada/mi_interface: New testcase.
18154
18155 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18156
18157 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18158 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18159 gdb.ada/pp-rec-component/pck.ads: New files.
18160
18161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18162
18163 * gdb.python/py-pp-integral.c: New file.
18164 * gdb.python/py-pp-integral.py: New file.
18165 * gdb.python/py-pp-integral.exp: New file.
18166
18167 For older changes see ChangeLog-1993-2013.
18168 \f
18169 ;; Local Variables:
18170 ;; mode: change-log
18171 ;; left-margin: 8
18172 ;; fill-column: 74
18173 ;; version-control: never
18174 ;; End:
18175
18176 Copyright 2014-2020 Free Software Foundation, Inc.
18177 Copying and distribution of this file, with or without modification,
18178 are permitted provided the copyright notice and this notice are preserved.
This page took 0.373732 seconds and 5 git commands to generate.