]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
[gdb/testsuite] Use cc-with-tweaks.exp in dwarf4-gdb-index.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-05-01 Tom de Vries <tdevries@suse.de>
2
3 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4
5 2019-04-30 Ali Tamur <tamur@google.com>
6
7 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8
9 2019-04-30 Tom Tromey <tromey@adacore.com>
10
11 * lib/ada.exp (find_ada_tool): New proc.
12 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
13 * gdb.ada/catch_ex_std.exp: New file.
14 * gdb.ada/catch_ex_std/foo.adb: New file.
15 * gdb.ada/catch_ex_std/some_package.adb: New file.
16 * gdb.ada/catch_ex_std/some_package.ads: New file.
17
18 2019-04-30 Tom Tromey <tromey@adacore.com>
19
20 PR c++/24470:
21 * gdb.cp/temargs.cc: Add test code from PR.
22
23 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * gdb.fortran/vla-datatypes.exp: Update expected results.
26 * gdb.fortran/vla-ptype.exp: Likewise.
27 * gdb.fortran/vla-type.exp: Likewise.
28 * gdb.fortran/vla-value.exp: Likewise.
29
30 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
31
32 * gdb.fortran/ptr-indentation.exp: Update expected results.
33 * gdb.fortran/ptype-on-functions.exp: Likewise.
34 * gdb.fortran/vla-ptr-info.exp: Likewise.
35 * gdb.fortran/vla-value.exp: Likewise.
36
37 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
38
39 * gdb.fortran/ptype-on-functions.exp: New file.
40 * gdb.fortran/ptype-on-functions.f90: New file.
41
42 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
43
44 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
45 case void string.
46
47 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
48
49 * gdb.fortran/complex.exp: Expand.
50 * gdb.fortran/complex.f: Renamed to...
51 * gdb.fortran/complex.f90: ...this, and extended to add more
52 complex values.
53
54 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
55
56 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
57 MODULO, CMPLX.
58
59 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
60 Richard Bunt <richard.bunt@arm.com>
61
62 * gdb.base/max-depth.c: New file.
63 * gdb.base/max-depth.exp: New file.
64 * gdb.python/py-nested-maps.c: New file.
65 * gdb.python/py-nested-maps.exp: New file.
66 * gdb.python/py-nested-maps.py: New file.
67 * gdb.python/py-format-string.exp (test_max_depth): New proc.
68 (test_all_common): Call test_max_depth.
69 * gdb.fortran/max-depth.exp: New file.
70 * gdb.fortran/max-depth.f90: New file.
71 * gdb.go/max-depth.exp: New file.
72 * gdb.go/max-depth.go: New file.
73 * gdb.modula2/max-depth.exp: New file.
74 * gdb.modula2/max-depth.c: New file.
75 * lib/gdb.exp (get_print_expr_at_depths): New proc.
76
77 2019-04-29 Tom de Vries <tdevries@suse.de>
78
79 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
80
81 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
82
83 * gdb.base/callexit.exp: Test may-call-functions off.
84
85 2019-04-25 Keith Seitz <keiths@redhat.com>
86
87 PR c++/24367
88 * gdb.cp/meth-typedefs.cc (incomplete_struct)
89 (another_incomplete_struct, test_incomplete): New definitions.
90 (main): Use new definitions.
91 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
92 functions.
93
94 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
95
96 PR corefiles/11608
97 PR corefiles/18187
98 * gdb.base/coredump-filter-build-id.exp: New file.
99
100 2019-04-25 Alan Hayward <alan.hayward@arm.com>
101
102 * Makefile.in: Pass through GDBSERVER_DEBUG.
103 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
104 (gdbserver,debug): Add board setting.
105 * gdb.trace/tspeed.exp: Skip when debugging.
106 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
107 * lib/gdbserver-support.exp: Likewise
108
109 2019-04-24 Tom Tromey <tromey@adacore.com>
110
111 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
112 Rust.
113
114 2019-04-24 Tom Tromey <tromey@adacore.com>
115
116 * gdb.arch/amd64-eval.exp: Test bitfield return.
117 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
118 (class Foo) <return_bitfields>: New method.
119 (main): Call it.
120
121 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
122
123 * gdb.cp/many-args.cc: New file.
124 * gdb.cp/many-args.exp: New file.
125
126 2019-04-23 Tom de Vries <tdevries@suse.de>
127
128 PR gdb/24433
129 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
130
131 2019-04-23 Alan Hayward <alan.hayward@arm.com>
132
133 * gdb.trace/backtrace.exp: Use nopie flag.
134 * gdb.trace/circ.exp: Likewise.
135 * gdb.trace/collection.exp: Likewise.
136 * gdb.trace/ftrace.exp: Likewise.
137 * gdb.trace/mi-trace-unavailable.exp: Likewise.
138 * gdb.trace/mi-traceframe-changed.exp: Likewise.
139 * gdb.trace/qtro.exp: Likewise.
140 * gdb.trace/read-memory.exp: Likewise.
141 * gdb.trace/report.exp: Likewise.
142 * gdb.trace/tfile.exp: Likewise.
143 * gdb.trace/tfind.exp: Likewise.
144 * gdb.trace/unavailable.exp: Likewise.
145
146 2019-04-22 Pedro Alves <palves@redhat.com>
147
148 * gdb.base/solib-probes-nosharedlibrary.c,
149 gdb.base/solib-probes-nosharedlibrary.exp: New files.
150
151 2019-04-19 Tom Tromey <tromey@adacore.com>
152
153 * gdb.ada/ptype_union.c: New file.
154 * gdb.ada/ptype_union.exp: New file.
155
156 2019-04-19 Tom Tromey <tromey@adacore.com>
157
158 PR symtab/24423:
159 * gdb.base/list0.h (foo): Add a control-l character.
160
161 2019-04-18 Tom de Vries <tdevries@suse.de>
162
163 PR gdb/24433
164 * boards/local-board.exp: Set sysroot to "".
165
166 2019-04-18 Tom de Vries <tdevries@suse.de>
167 Pedro Alves <palves@redhat.com>
168
169 PR gdb/24454
170 * gdb.threads/vfork-follow-child-exec.c: New file.
171 * gdb.threads/vfork-follow-child-exec.exp: New file.
172 * gdb.threads/vfork-follow-child-exit.c: New file.
173 * gdb.threads/vfork-follow-child-exit.exp: New file.
174
175 2019-04-15 Leszek Swirski <leszeks@google.com>
176
177 * gdb.arch/amd64-eval.cc: New file.
178 * gdb.arch/amd64-eval.exp: New file.
179
180 2019-04-11 Alan Hayward <alan.hayward@arm.com>
181
182 * gdb.server/sysroot.c: New test.
183 * gdb.server/sysroot.exp: New file.
184 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
185 matching param.
186
187 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * gdb.base/align.exp: Extend test to cover structures containing
190 only static fields.
191
192 2019-04-11 Tom de Vries <tdevries@suse.de>
193
194 * boards/cc-with-dwz-m.exp: New file.
195 * boards/cc-with-dwz.exp: New file.
196 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
197
198 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
199
200 * gdb.base/start-cpp.exp: New file.
201 * gdb.base/start-cpp.cc: New file.
202
203 2019-04-08 Kevin Buettner <kevinb@redhat.com>
204
205 * gdb.python/py-thrhandle.exp: Adjust tests to call
206 thread_from_handle instead of thread_from_thread_handle.
207
208 2019-04-08 Kevin Buettner <kevinb@redhat.com>
209
210 * gdb.python/py-thrhandle.exp: Add tests for
211 gdb.InferiorThread.handle.
212
213 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * gdb.python/py-function.exp: Check calling helper function from
216 all languages.
217 * lib/gdb.exp (gdb_supported_languages): New proc.
218
219 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 * gdb.base/complex-parts.c: New file.
222 * gdb.base/complex-parts.exp: New file.
223
224 2019-04-01 Tom Tromey <tromey@adacore.com>
225
226 PR symtab/23331:
227 * gdb.dwarf2/dw2-ranges-main.c: New file.
228 * gdb.dwarf2/dw2-ranges-psym.c: New file.
229 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
230
231 2019-03-30 Simon Marchi <simark@simark.ca>
232
233 * gdb.base/default.exp: Add values for $_gdb_major and
234 $_gdb_minor.
235
236 2019-03-29 Tom Tromey <tromey@adacore.com>
237
238 * gdb.base/help.exp: Tighten apropos regexp.
239
240 2019-03-29 Keith Seitz <keiths@redhat.com>
241
242 * gdb.fortran/array-bounds.exp: New file.
243 * gdb.fortran/array-bounds.f90: New file.
244
245 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
246
247 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
248
249 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
250
251 * gdb.multi/hello.c (main): Increase alarm timer.
252
253 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
254
255 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
256 factor when no hardware watchpoint support.
257
258 2019-03-28 Alan Hayward <alan.hayward@arm.com>
259 Pedro Alves <palves@redhat.com>
260
261 * boards/local-board.exp: set sysroot to /.
262
263 2019-03-27 Alan Hayward <alan.hayward@arm.com>
264
265 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
266 in child.
267
268 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
269
270 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
271 field.
272 (make_container): Initialise new field.
273 * gdb.python/py-prettyprint.exp: Add new tests.
274 * gdb.python/py-prettyprint.py (class ContainerPrinter)
275 <display_hint>: New method.
276
277 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
280 gdb_continue_to_breakpoint more throughout this test.
281 (run_lang_tests) Supply unique test names, and use
282 gdb_test_no_output.
283
284 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * gdb.base/finish-pretty.exp: Update expected results.
287 * gdb.base/pretty-print.c: New file.
288 * gdb.base/pretty-print.exp: New file.
289
290 2019-03-25 Pedro Alves <palves@redhat.com>
291
292 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
293 move comments outside list. Append '-i "" eof' section.
294
295 2019-03-22 Alan Hayward <alan.hayward@arm.com>
296
297 * README: Add pie options.
298 * gdb.base/break-interp.exp: Ensure pie is disabled.
299 * gdb.base/dump.exp: Likewise.
300 * lib/gdb.exp (gdb_compile): Add pie option.
301
302 2019-03-19 Tom Tromey <tromey@adacore.com>
303
304 * gdb.mi/mi2-cli-display.c: New file.
305 * gdb.mi/mi2-cli-display.exp: New file.
306
307 2019-03-18 Joel Brobecker <brobecker@adacore.com>
308 Tom Tromey <tromey@adacore.com>
309
310 * gdb.ada/ptype_array/pck.adb: New file.
311 * gdb.ada/ptype_array/pck.ads: New file.
312 * gdb.ada/ptype_array/foo.adb: New file.
313 * gdb.ada/ptype_array.exp: New file.
314
315 2019-03-14 Tom Tromey <tromey@adacore.com>
316
317 * gdb.base/style.exp: Add "set style sources" test.
318
319 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
320
321 * mi-breakpoint-location-ena-dis.exp: Rename to ...
322 * mi-breakpoint-multiple-locations.exp: ... this.
323 (make_breakpoints_pattern): New proc.
324 (do_test): Add mi_version parameter, test -break-insert,
325 -break-info and =breakpoint-created.
326
327 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
328
329 * config/default.exp: Remove 'load_lib gdb.exp'.
330 * config/monitor.exp: Likewise.
331 * config/sid.exp: Likewise.
332 * config/sim.exp: Likewise.
333 * config/slite.exp: Likewise.
334 * config/unix.exp: Likewise.
335 * gdb.base/default.exp: Remove unhelpful comment.
336
337 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
338
339 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
340
341 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
344
345 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * gdb.fortran/type-kinds.exp: Update expected results.
348
349 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
350
351 * gdb.fortran/type-kinds.exp: Test new integer type kind.
352
353 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
354
355 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
356 function.
357 (test_basic_parsing_of_type_kinds): Expand types tested.
358 (test_parsing_invalid_type_kinds): New function.
359
360 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 * gdb.fortran/intrinsics.exp: New file.
363 * gdb.fortran/intrinsics.f90: New file.
364 * gdb.fortran/type-kinds.exp: New file.
365
366 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * gdb.fortran/dot-ops.exp: New file.
369
370 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
373 Check upper and lower case logical literals.
374
375 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.fortran/types.exp (test_float_literal_types_accepted):
378 Remove duplicate tests.
379
380 2019-03-06 Alan Hayward <alan.hayward@arm.com>
381
382 * lib/gdb.exp (builtin_cd): rename of cd.
383 (cd): Override builtin.
384
385 2019-03-06 Richard Bunt <richard.bunt@arm.com>
386
387 * gdb.fortran/function-calls.exp: New file.
388 * gdb.fortran/function-calls.f90: New test.
389
390 2019-03-04 Richard Bunt <richard.bunt@arm.com>
391
392 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
393 on user program standard output.
394 * gdb.fortran/short-circuit-argument-list.f90: Record function
395 calls.
396
397 2019-02-28 Alan Hayward <alan.hayward@arm.com>
398
399 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
400 failure.
401
402 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
403
404 PR gdb/8527
405 * gdb.base/interrupt-daemon-attach.c,
406 gdb.base/interrupt-daemon-attach.exp: New test.
407
408 2019-02-27 Pedro Alves <palves@redhat.com>
409
410 * gdb.base/page.exp: Add tests for "set width/height -1".
411
412 2019-02-27 Pedro Alves <palves@redhat.com>
413
414 * gdb.base/page.exp: Add tests for "set/show width/height" with
415 "infinite" values.
416
417 2019-02-27 Tom Tromey <tromey@adacore.com>
418
419 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
420 2.4.
421 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
422 workaround.
423
424 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
425
426 * gdb.base/align.exp: Extend to compile in both C and C++, and add
427 tests for structs with static members.
428
429 2019-02-26 Tom Tromey <tromey@adacore.com>
430
431 * gdb.python/py-value.exp (test_value_from_buffer): Check for
432 ValueError, not TypeError.
433
434 2019-02-26 Kevin Buettner <kevinb@redhat.com>
435
436 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
437 call from main program.
438
439 2019-02-23 Joel Brobecker <brobecker@adacore.com>
440
441 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
442 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
443 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
444 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
445 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
446
447 2019-02-22 Keith Seitz <keiths@redhat.com>
448
449 PR symtab/23853
450 * gdb.base/symlink-sourcefile.c: New file.
451 * gdb.base/symlink-sourcefile.exp: New file.
452
453 2019-02-20 Tom Tromey <tom@tromey.com>
454
455 * gdb.base/info_qt.exp: Update.
456
457 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
458
459 * gdb.base/source.exp: Move "error in sourced script" code to
460 the end.
461 * gdb.base/source-error.gdb: Move contents to
462 source-error-1.gdb. Add new code to source source-error-1.gdb.
463 * gdb.base/source-error-1.gdb: New file, from previous
464 source-error.gdb.
465
466 2019-02-17 Tom Tromey <tom@tromey.com>
467
468 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
469 for macro styling.
470 * gdb.base/style.c (SOME_MACRO): New macro.
471
472 2019-02-17 Tom Tromey <tom@tromey.com>
473
474 * gdb.base/style.exp: Add line-wrapping tests.
475 * gdb.base/page.exp: Add test for quitting during pagination.
476
477 2019-02-17 Joel Brobecker <brobecker@adacore.com>
478
479 * gdb.ada/big_packed_array: New testcase.
480 * gdb.ada/homonym.exp: Fix incorrect expected output for
481 "break <homonym__get_value>" test.
482
483 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
484
485 PR breakpoints/21870
486 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
487 and prepare_for_testing. Add comment.
488 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
489 redundant cleanup call. Clean up comment.
490
491 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
492
493 PR breakpoints/21870
494 * gdb.arch/aarch64-dbreg-contents.exp: New file.
495 * gdb.arch/aarch64-dbreg-contents.c: New file.
496
497 2019-02-10 Joel Brobecker <brobecker@adacore.com>
498
499 * gdb.ada/mi_ref_changeable: New testcase.
500
501 2019-02-07 Alan Hayward <alan.hayward@arm.com>
502
503 * gdb.base/attach.exp: Add double attach test.
504
505 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
506
507 * lib/gdb.exp (default_gdb_start): Don't match pagination
508 prompt.
509 (gdb_init): Set stty_init.
510
511 2019-01-27 Tom Tromey <tom@tromey.com>
512
513 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
514 skip_python_tests.
515
516 2019-01-24 Alan Hayward <alan.hayward@arm.com>
517
518 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
519 New structure.
520 (struct struct_static_02_02): Likewise.
521 (struct struct_static_02_03): Likewise.
522 (struct struct_static_02_04): Likewise.
523 (struct struct_static_04_01): Likewise.
524 (struct struct_static_04_02): Likewise.
525 (struct struct_static_04_03): Likewise.
526 (struct struct_static_04_04): Likewise.
527 (struct struct_static_06_01): Likewise.
528 (struct struct_static_06_02): Likewise.
529 (struct struct_static_06_03): Likewise.
530 (struct struct_static_06_04): Likewise.
531 (cmp_struct_static_02_01): Likewise.
532 (cmp_struct_static_02_02): Likewise.
533 (cmp_struct_static_02_03): Likewise.
534 (cmp_struct_static_02_04): Likewise.
535 (cmp_struct_static_04_01): Likewise.
536 (cmp_struct_static_04_02): Likewise.
537 (cmp_struct_static_04_03): Likewise.
538 (cmp_struct_static_04_04): Likewise.
539 (cmp_struct_static_06_01): Likewise.
540 (cmp_struct_static_06_02): Likewise.
541 (cmp_struct_static_06_03): Likewise.
542 (cmp_struct_static_06_04): Likewise.
543 (call_all): Test new structs.
544 * gdb.base/infcall-nested-structs.exp: Likewise.
545
546 2019-01-21 Alan Hayward <alan.hayward@arm.com>
547 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
548
549 2019-01-21 Alan Hayward <alan.hayward@arm.com>
550 * gdb.base/stack-protector.c: New test.
551 * gdb.base/stack-protector.exp: New file.
552 * gdb.cp/ovldbreak.exp: Only allow a single break line.
553 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
554 option.
555 (gdb_compile): Remove stack protector for GCC and prevent
556 recursion.
557
558 2019-01-16 Keith Seitz <keiths@redhat.com>
559
560 PR gdb/23773
561 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
562
563 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
564
565 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
566 aliases.
567 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
568 tests.
569 * gdb.arch/powerpc-vector-regs.c: New file.
570 * gdb.arch/powerpc-vector-regs.exp: New file.
571
572 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
573
574 * gdb.arch/altivec-regs.exp: Fix the list passed to
575 gdb_expect_list when testing "info vector".
576
577 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * gdb.base/style.exp: Don't include path in testname.
580
581 2019-01-10 Keith Seitz <keiths@redhat.com>
582
583 PR gdb/23712
584 PR symtab/23010
585 * gdb.dwarf2/multidictionary.exp: New file.
586
587 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
588
589 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
590 (test_gnuv3_style_demangling): ... this.
591 (test_lucid_style_demangling): Remove.
592 (test_arm_style_demangling): Remove.
593 (test_hp_style_demangling): Remove.
594 (do_tests): Remove calls to the above.
595
596 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
597
598 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
599 case.
600
601 2019-01-06 Tom Tromey <tom@tromey.com>
602
603 PR gdb/28155:
604 * gdb.dwarf2/typedef-void-finish.exp: New file.
605
606 2018-12-28 Tom Tromey <tom@tromey.com>
607 Simon Marchi <simark@simark.ca>
608
609 * gdb.base/jit-exec.exp: New file.
610 * gdb.base/jit-exec.c: New file.
611 * gdb.base/jit-execd.c: New file.
612
613 2018-12-28 Tom Tromey <tom@tromey.com>
614
615 * gdb.base/style.exp: Update test to check for address styling.
616
617 2018-12-28 Tom Tromey <tom@tromey.com>
618
619 * gdb.base/style.exp: Add test for styling of "Reading symbols"
620 message.
621
622 2018-12-28 Tom Tromey <tom@tromey.com>
623
624 * gdb.base/style.exp: Add test for version number styling.
625
626 2018-12-28 Tom Tromey <tom@tromey.com>
627
628 * gdb.base/style.exp: Add test for print_address_symbolic.
629
630 2018-12-28 Tom Tromey <tom@tromey.com>
631
632 * gdb.base/style.exp: Add test for breakpoint setting.
633
634 2018-12-28 Tom Tromey <tom@tromey.com>
635
636 * gdb.base/style.exp: Add test for variable names.
637
638 2018-12-28 Tom Tromey <tom@tromey.com>
639
640 * gdb.base/style.exp: New file.
641 * gdb.base/style.c: New file.
642
643 2018-12-28 Tom Tromey <tom@tromey.com>
644
645 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
646 "dumb".
647 * gdb.base/readline.exp (operate_and_get_next): Save and restore
648 the TERM environment variable.
649
650 2018-12-27 Tom Tromey <tom@tromey.com>
651
652 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
653 pagination test.
654
655 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
658 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
659
660 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
661
662 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
663 Filename a.adb changed to bp_fun_addr.adb.
664 gdb.ada/bp_fun_addr.exp: Update test accordingly.
665
666 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
667
668 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
669 non-PIE executables.
670 * README: Mention the gdb,nopie_flag board setting.
671 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
672 non-PIE executable.
673 * gdb.arch/amd64-entry-value.exp: Likewise.
674 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
675 * gdb.arch/i386-float.exp: Likewise.
676 * gdb.arch/i386-signal.exp: Likewise.
677 * gdb.mi/mi-reg-undefined.exp: Likewise.
678
679 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
680
681 PR gdb/23974
682 * gdb.base/info-os.exp: Check return for unknown "info os" type.
683
684 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
685
686 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
687 Update order of results accordingly.
688
689 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
690
691 * gdb.base/annota1.exp: Update a test regexp.
692
693 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
696
697 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
698
699 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
700 (reuse_time): Initialize to REUSE_TIME_CAP.
701 (check_rc): New function.
702 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
703 Check pthread_create rc.
704 (spawner_thread_func): Check pthread_create and pthread_join rc.
705
706 2018-12-08 Pedro Alves <palves@redhat.com>
707
708 * gdb.base/list.exp (test_forward_search): Rename to ...
709 (test_forward_reverse_search): ... this. Also test reverse-search
710 and the forward-search alias.
711
712 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
713
714 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
715 local timeout variable before return, and remove all local timeout
716 variable entirely.
717 (gdb_load): Likewise.
718
719 2018-12-01 Tom de Vries <tdevries@suse.de>
720
721 * gdb.base/gdb-caching-proc.exp: New file.
722
723 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
724
725 * Makefile.in (TIMESTAMP): New variable.
726 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
727 command.
728 (check-single-racy): Likewise.
729 (check/%.exp): Likewise.
730 (check-racy/%.exp): Likewise.
731 (workers/%.worker): Likewise.
732 (build-perf): Likewise.
733 (check-perf): Likewise.
734 * README: Describe new "TS" and "TS_FORMAT" variables.
735 * print-ts.py: New file.
736
737 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
738
739 PR python/23714
740 * gdb.python/python.exp: Test command repetition after
741 gdb.execute.
742
743 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
744
745 * gdb.opt/inline-break.exp: Add test that info breakpoint output
746 is correctly aligned.
747
748 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
749
750 * gdb.ada/info_auto_lang.exp: New testcase.
751 * gdb.ada/info_auto_lang/global_pack.ads: New file.
752 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
753 * gdb.ada/info_auto_lang/some_c.c: New file.
754
755 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
756
757 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
758 FUNC_lang language syntax.
759
760 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
761
762 * gdb.base/info_minsym.c: New file.
763 * gdb.base/info_minsym.exp: New file.
764
765 2018-11-19 Tom Tromey <tom@tromey.com>
766
767 PR rust/23625:
768 * gdb.rust/simple.exp: Add ptype test. Update expected output.
769 * gdb.rust/expr.exp: Update expected output. Change one test.
770
771 2018-11-19 Tom Tromey <tom@tromey.com>
772
773 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
774
775 2018-11-19 Pedro Alves <palves@redhat.com>
776
777 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
778 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
779 see the expected warning.
780
781 2018-11-16 Alan Hayward <alan.hayward@arm.com>
782
783 PR gdb/22736:
784 * gdb.cp/infcall-nodebug-lib.c: New test.
785 * gdb.cp/infcall-nodebug-main.c: New test.
786 * gdb.cp/infcall-nodebug.exp: New file.
787
788 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
789
790 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
791 completer tests.
792
793 2018-11-09 Tom de Vries <tdevries@suse.de>
794
795 * gdb.base/msym-lang.c: New test.
796 * gdb.base/msym-lang.exp: New file.
797 * gdb.base/msym-lang-main.c: New test.
798
799 2018-11-08 Tom Tromey <tom@tromey.com>
800
801 PR gdb/23555:
802 PR gdb/23838:
803 * gdb.base/warning.exp: New file.
804
805 2018-11-08 Jan Beulich <jbeulich@suse.com>
806
807 * testsuite/gdb.arch/i386-avx512.c,
808 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
809
810 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
811
812 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
813 point hardware.
814
815 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
816
817 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
818 * gdb.dwarf2/missing-type-name.exp: New file.
819
820 2018-11-06 Tom de Vries <tdevries@suse.de>
821
822 * gdb.base/many-headers.c: New test.
823 * gdb.base/many-headers.exp: New file.
824
825 2018-11-06 Jim Wilson <jimw@sifive.com>
826
827 * gdb.base/code_elim.exp: For riscv, set additional_flags
828 to include -msmall-data-limit=0.
829
830 2018-11-01 Joel Brobecker <brobecker@adacore.com>
831
832 * gdb.ada/watch_minus_l: New testcase.
833
834 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
835
836 * gdb.arch/aix-sighandle.c: New file.
837 * gdb.arch/aix-sighandle.exp: New file.
838
839 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
840
841 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
842 registers being unions.
843
844 2018-10-31 Tom de Vries <tdevries@suse.de>
845
846 * lib/valgrind.exp: New file.
847 (vgdb_start, vgdb_stop): New procs, factored out of ...
848 * gdb.base/valgrind-bt.exp: ... here, ...
849 * gdb.base/valgrind-disp-step.exp: ... here and ...
850 * gdb.base/valgrind-infcall.exp: ... here.
851
852 2018-10-31 Tom de Vries <tdevries@suse.de>
853
854 * lib/gdb.exp (get_valueof): Don't output read value in test name.
855
856 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
857
858 * gdb.dwarf2/void-type.c: New file.
859 * gdb.dwarf2/void-type.exp: New file.
860
861 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
862
863 * gdb.base/info_qt.c: New file.
864 * gdb.base/info_qt.exp: New file.
865
866 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
867
868 * gdb.arch/powerpc-htm-regs.c: New file.
869 * gdb.arch/powerpc-htm-regs.exp: New file.
870
871 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
872
873 * gdb.arch/powerpc-tar.c: New file.
874 * gdb.arch/powerpc-tar.exp: New file.
875
876 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
877
878 * gdb.arch/powerpc-ppr-dscr.c: New file.
879 * gdb.arch/powerpc-ppr-dscr.exp: New file.
880
881 2018-10-25 Tom de Vries <tdevries@suse.de>
882
883 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
884
885 2018-10-24 Tom de Vries <tdevries@suse.de>
886
887 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
888 longer exists error.
889
890 2018-10-24 Tom de Vries <tdevries@suse.de>
891
892 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
893
894 2018-10-24 Tom de Vries <tdevries@suse.de>
895
896 * gdb.base/valgrind-db-attach.exp: Handle removed support for
897 --db-attach in valgrind.
898
899 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.arch/riscv-reg-aliases.c: New file.
902 * gdb.arch/riscv-reg-aliases.exp: New file.
903
904 2018-10-19 Alan Hayward <alan.hayward@arm.com>
905
906 * gdb.python/py-cmd.exp: Check for gdb_prompt.
907
908 2018-10-19 Alan Hayward <alan.hayward@arm.com>
909
910 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
911
912 2018-10-19 Alan Hayward <alan.hayward@arm.com>
913
914 * gdb.cp/ovldbreak.exp: Fix regexps.
915
916 2018-10-19 Alan Hayward <alan.hayward@arm.com>
917
918 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
919
920 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
921
922 PR cli/23785
923 * gdb.base/restore.exp: New test to check if "restore" with an
924 invalid file doesn't segfault.
925
926 2018-10-18 Tom de Vries <tdevries@suse.de>
927
928 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
929 * gdb.ada/excep_handle.exp: Same.
930 * gdb.ada/mi_string_access.exp: Same.
931 * gdb.ada/mi_var_union.exp: Same.
932 * gdb.arch/arc-analyze-prologue.exp: Same.
933 * gdb.arch/arc-decode-insn.exp: Same.
934 * gdb.base/readnever.exp: Same.
935 * gdb.fortran/printing-types.exp: Same.
936 * gdb.guile/scm-lazy-string.exp: Same.
937
938 2018-10-16 Tom de Vries <tdevries@suse.de>
939
940 PR gdb/23730
941 * gdb.base/catch-follow-exec.c: Add copyright notice.
942 * gdb.base/catch-follow-exec.exp: Rewrite to use
943 gdb_spawn_with_cmdline_opts. Require gdb-native.
944
945 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
946
947 * gdb.trace/actions-changed.exp: Check for arch support.
948 * gdb.trace/actions.exp: Likewise.
949 * gdb.trace/ax.exp: Likewise.
950 * gdb.trace/backtrace.exp: Likewise.
951 * gdb.trace/change-loc.exp: Likewise.
952 * gdb.trace/deltrace.exp: Likewise.
953 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
954 * gdb.trace/ftrace.exp: Likewise.
955 * gdb.trace/infotrace.exp: Check for arch support.
956 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
957 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
958 * gdb.trace/mi-tsv-changed.exp: Likewise.
959 * gdb.trace/packetlen.exp: Likewise.
960 * gdb.trace/passc-dyn.exp: Likewise.
961 * gdb.trace/passcount.exp: Likewise.
962 * gdb.trace/pending.exp: Likewise.
963 * gdb.trace/range-stepping.exp: Check for shlib support.
964 * gdb.trace/report.exp: Check for arch support.
965 * gdb.trace/save-trace.exp: Likewise.
966 * gdb.trace/signal.exp: Check for signal support.
967 * gdb.trace/tfind.exp: Check for arch support.
968 * gdb.trace/trace-break.exp: Check for arch and shlib support.
969 * gdb.trace/trace-common.h: Add comment.
970 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
971 * gdb.trace/trace-enable-disable.exp: Likewise.
972 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
973 * gdb.trace/tracecmd.exp: Check for arch support.
974 * gdb.trace/tspeed.exp: Check for shlib and target support.
975 * gdb.trace/tstatus.exp: Check for arch support.
976 * gdb.trace/tsv.exp: Likewise.
977 * gdb.trace/while-dyn.exp: Likewise.
978 * gdb.trace/while-stepping.exp: Likewise.
979 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
980
981 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
982
983 * gdb.trace/tspeed.exp: Remove nowarnings.
984 (prepare_for_trace_test): Declare "global ipalib".
985 * gdb.trace/tspeed.c: Include unistd.h.
986 (main): Remove superfluous printf argument.
987
988 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
989
990 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
991 directory prefix on the filename.
992
993 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
994
995 * gdb.gdb/unittest.exp: Update expected message informing that
996 selftests have been disabled.
997 * gdb.server/unittest.exp: Likewise.
998
999 2018-10-09 Tom de Vries <tdevries@suse.de>
1000
1001 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1002 with runto_main.
1003
1004 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1005
1006 PR c++/16841
1007 * gdb.cp/virtbase2.cc: New file.
1008 * gdb.cp/virtbase2.exp: New file.
1009
1010 2018-10-06 Tom Tromey <tom@tromey.com>
1011
1012 PR python/19399:
1013 * gdb.python/py-inferior.exp: Add architecture test.
1014
1015 2018-10-06 Tom Tromey <tom@tromey.com>
1016
1017 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1018 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1019
1020 2018-10-06 Tom Tromey <tom@tromey.com>
1021
1022 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1023 of a "throw" catchpoint.
1024
1025 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1026
1027 * gdb.base/info-proc.exp: Update string expected from "help info
1028 proc".
1029
1030 2018-10-04 Tom Tromey <tom@tromey.com>
1031
1032 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1033 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1034 (test_initial_complaints, test_empty_complaints): Update.
1035 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1036
1037 2018-10-04 Tom Tromey <tom@tromey.com>
1038
1039 PR cli/19551:
1040 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1041 * lib/gdb.exp (gdb_file_cmd): Update.
1042 * gdb.stabs/weird.exp (print_weird_var): Update.
1043 * gdb.server/solib-list.exp: Update.
1044 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1045 * gdb.mi/mi-cli.exp: Update.
1046 * gdb.linespec/linespec.exp: Update.
1047 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1048 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1049 * gdb.cp/cp-relocate.exp: Update.
1050 * gdb.base/sym-file.exp: Update.
1051 * gdb.base/relocate.exp: Update.
1052 * gdb.base/readnever.exp: Update.
1053 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1054 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1055 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1056 * gdb.base/code_elim.exp: Update.
1057 * gdb.base/break-unload-file.exp (test_break): Update.
1058 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1059 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1060 Update.
1061 * gdb.base/attach.exp (do_attach_tests): Update.
1062 * gdb.base/sepdebug.exp: Update.
1063 * gdb.python/py-section-script.exp: Update.
1064
1065 2018-10-04 Tom Tromey <tom@tromey.com>
1066
1067 PR cli/22234:
1068 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1069 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1070 output.
1071
1072 2018-10-04 Tom Tromey <tom@tromey.com>
1073
1074 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1075 set width and height to 0.
1076 (test_command_line_attach_run): Use -quiet.
1077
1078 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1079
1080 * lib/gdb.exp (skip_ifunc_tests): New.
1081 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1082 other compile failures.
1083 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1084
1085 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1086
1087 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1088 is_amd64_regs_target.
1089
1090 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1091
1092 * gdb.arch/aarch64-sighandler-regs.c: New test.
1093 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1094 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1095
1096 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1097
1098 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1099 assembly.
1100
1101 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * gdb.base/frame-selection.exp: New file.
1104 * gdb.base/frame-selection.c: New file.
1105
1106 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1107
1108 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1109 pthread barrier.
1110 (main): Likewise.
1111
1112 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * gdb.base/large-frame-1.c: New file.
1115 * gdb.base/large-frame-2.c: New file.
1116 * gdb.base/large-frame.exp: New file.
1117 * gdb.base/large-frame.h: New file.
1118
1119 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1120
1121 PR gdb/20948
1122 * gdb.base/write_mem.exp: New test.
1123 * gdb.base/write_mem.c: Likewise.
1124
1125 2018-09-23 Tom Tromey <tom@tromey.com>
1126
1127 PR python/18852:
1128 * gdb.python/py-parameter.exp: Add test for parameter that throws
1129 on "set".
1130
1131 2018-09-23 Tom Tromey <tom@tromey.com>
1132
1133 PR python/17284:
1134 * gdb.python/py-template.exp (test_template_arg): Add test for
1135 negative template argument number.
1136
1137 2018-09-23 Tom Tromey <tom@tromey.com>
1138
1139 PR python/14062:
1140 * gdb.python/python.exp: Add test for post_event error.
1141
1142 2018-09-23 Tom Tromey <tom@tromey.com>
1143
1144 PR python/18170:
1145 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1146 convert pointers to int and long.
1147
1148 2018-09-23 Tom Tromey <tom@tromey.com>
1149
1150 PR python/20126:
1151 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1152 signed-ness conversion tests.
1153
1154 2018-09-23 Tom Tromey <tom@tromey.com>
1155
1156 PR python/18352;
1157 * gdb.python/py-value.exp (test_float_conversion): New proc.
1158 Use it.
1159
1160 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1161
1162 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1163
1164 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1165
1166 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1167 no readline.
1168 * gdb.base/utf8-identifiers.exp: Likewise.
1169 * gdb.cp/cpcompletion.exp: Likewise.
1170 * gdb.linespec/cpcompletion.exp: Likewise.
1171 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1172 * gdb.linespec/cpls-ops.exp: Likewise.
1173
1174 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1175 Chris January <chris.january@arm.com>
1176
1177 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1178 * gdb.fortran/short-circuit-argument-list.exp: New file.
1179 * gdb.fortran/short-circuit-argument-list.f90: New test.
1180
1181 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1182
1183 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1184 "arch=" keyword when executing "-stack-list-frames".
1185
1186 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1187
1188 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1189 "arch=" keyword when executing "-stack-list-frames".
1190
1191 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1192
1193 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1194 break ada".
1195
1196 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1197
1198 PR python/23669
1199 * gdb.python/python.exp: Test gdb.execute("show commands").
1200
1201 2018-09-16 Tom Tromey <tom@tromey.com>
1202
1203 * gdb.base/new-ui.exp (do_execution_tests): Update.
1204 * gdb.base/dbx.exp (test_breakpoints): Update.
1205
1206 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1207
1208 * lib/gdb.exp (gdb_simple_compile): Add proc.
1209 (is_elf_target): Use gdb_simple_compile.
1210 (skip_altivec_tests): Likewise.
1211 (skip_vsx_tests): Likewise.
1212 (skip_tsx_tests): Likewise.
1213 (skip_btrace_tests): Likewise.
1214 (skip_btrace_pt_tests): Likewise.
1215 (gdb_can_simple_compile): Likewise.
1216 (gdb_has_argv0): Likewise.
1217 (gdb_target_symbol_prefix): Likewise.
1218 (target_supports_scheduler_locking): Likewise.
1219
1220 2018-09-13 Tom Tromey <tom@tromey.com>
1221
1222 * Makefile.in (TAGS): Recognize proc_with_prefix and
1223 gdb_caching_proc.
1224
1225 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1226
1227 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1228 method.
1229
1230 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1231
1232 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1233 and a few other Inferior properties when the Inferior is no
1234 longer valid.
1235
1236 2018-09-13 Tom Tromey <tom@tromey.com>
1237
1238 PR rust/23650:
1239 * gdb.rust/simple.exp: Add test for enum field access error.
1240
1241 2018-09-13 Tom Tromey <tom@tromey.com>
1242
1243 PR rust/23626:
1244 * gdb.rust/simple.rs (EmptyEnum): New type.
1245 (main): Use it.
1246 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1247
1248 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1249
1250 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1251 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1252 * gdb.python/py-symtab.exp: Update test printing an objfile.
1253
1254 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1255
1256 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1257 object.
1258
1259 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1260
1261 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1262 (support_complex_tests): Use gdb_can_simple_compile.
1263 (is_ilp32_target): Likewise.
1264 (is_lp64_target): Likewise.
1265 (is_64_target): Likewise.
1266 (is_amd64_regs_target): Likewise.
1267 (is_aarch32_target): Likewise.
1268 (gdb_int128_helper): Likewise.
1269
1270 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1271
1272 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1273
1274 2018-09-10 Jerome Guitton <guitton@adacore.com>
1275
1276 * gdb.ada/same_component_name: Add test for case of tagged record
1277 with variable-length fields.
1278
1279 2018-09-10 Xavier Roirand <roirand@adacore.com>
1280
1281 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1282 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1283 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1284 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1285
1286 2018-09-10 Xavier Roirand <roirand@adacore.com>
1287
1288 * gdb.ada/mi_string_access.exp: New testcase.
1289 * gdb.ada/mi_string_access/bar.adb: New file.
1290 * gdb.ada/mi_string_access/pck.adb: New file.
1291 * gdb.ada/mi_string_access/pck.asd: New file.
1292
1293 2018-09-10 Xavier Roirand <roirand@adacore.com>
1294
1295 * gdb.ada/mi_var_union.exp: New testcase.
1296 * gdb.ada/mi_var_union/bar.adb: New file.
1297 * gdb.ada/mi_var_union/pck.adb: New file.
1298 * gdb.ada/mi_var_union/pck.asd: New file.
1299
1300 2018-09-08 Tom Tromey <tom@tromey.com>
1301
1302 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1303
1304 2018-09-08 Tom Tromey <tom@tromey.com>
1305
1306 PR python/16047:
1307 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1308 (register_pretty_printers): Register new printer.
1309 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1310 test.
1311 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1312 (an_int_type3): New global.
1313
1314 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1315
1316 * gdb.ada/expr_with_funcall: New testcase.
1317
1318 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1319
1320 * gdb.ada/packed_array_assign: New testcase.
1321
1322 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1325 names, and add test prefixes to make test names unique.
1326
1327 2018-09-05 Tom de Vries <tdevries@suse.de>
1328
1329 * gdb.dwarf2/varval.exp: Add test.
1330
1331 2018-09-04 Gary Benson <gbenson@redhat.com>
1332
1333 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1334 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1335
1336 2018-08-31 Tom Tromey <tom@tromey.com>
1337
1338 * gdb.rust/simple.rs: Rename second variable "v".
1339
1340 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1341
1342 * gdb.base/funcargs.c (use_a): New function.
1343 (recurse): Call use_a.
1344
1345 2018-08-29 Keith Seitz <keiths@redhat.com>
1346
1347 * gdb.compile/compile-cplus-anonymous.cc: New file.
1348 * gdb.compile/compile-cplus-anonymous.exp: New file.
1349 * gdb.compile/compile-cplus-array-decay.cc: New file.
1350 * gdb.compile/compile-cplus-array-decay.exp: New file.
1351 * gdb.compile/compile-cplus-inherit.cc: New file.
1352 * gdb.compile/compile-cplus-inherit.exp: New file.
1353 * gdb.compile/compile-cplus-member.cc: New file.
1354 * gdb.compile/compile-cplus-member.exp: New file.
1355 * gdb.compile/compile-cplus-method.cc: New file.
1356 * gdb.compile/compile-cplus-method.exp: New file.
1357 * gdb.compile/compile-cplus-mod.c: "New" file.
1358 * gdb.compile/compile-cplus-namespace.cc: New file.
1359 * gdb.compile/compile-cplus-namespace.exp: New file.
1360 * gdb.compile/compile-cplus-nested.cc: New file.
1361 * gdb.compile/compile-cplus-nested.exp: New file.
1362 * gdb.compile/compile-cplus-print.c: "New" file.
1363 * gdb.compile/compile-cplus-print.exp: "New" file.
1364 * gdb.compile/compile-cplus-virtual.cc: New file.
1365 * gdb.compile/compile-cplus-virtual.exp: New file.
1366 * gdb.compile/compile-cplus.c: "New" file.
1367 * gdb.compile/compile-cplus.exp: "New" file.
1368 * lib/compile-support.exp: New file.
1369
1370 2018-08-16 Gary Benson <gbenson@redhat.com>
1371
1372 PR gdb/13000:
1373 * gdb.base/batch-exit-status.exp: New file.
1374 * gdb.base/batch-exit-status.good-commands: Likewise.
1375 * gdb.base/batch-exit-status.bad-commands: Likewise.
1376
1377 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1378
1379 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1380 (struct struct02): Likewise.
1381 (struct struct03): Likewise.
1382 (struct struct04): Likewise.
1383 (struct struct_01_01): New struct.
1384 (struct struct_01_02): Likewise.
1385 (struct struct_01_03): Likewise.
1386 (struct struct_01_04): Likewise.
1387 (struct struct_02_01): Likewise.
1388 (struct struct_02_02): Likewise.
1389 (struct struct_02_03): Likewise.
1390 (struct struct_02_04): Likewise.
1391 (struct struct_04_01): Likewise.
1392 (struct struct_04_02): Likewise.
1393 (struct struct_04_03): Likewise.
1394 (struct struct_04_04): Likewise.
1395 (struct struct_05_01): Likewise.
1396 (struct struct_05_02): Likewise.
1397 (struct struct_05_03): Likewise.
1398 (struct struct_05_04): Likewise.
1399 (cmp_struct01): Remove function.
1400 (cmp_struct02): Likewise.
1401 (cmp_struct03): Likewise.
1402 (cmp_struct04): Likewise.
1403 (cmp_struct_01_01): Add Function.
1404 (cmp_struct_01_02): Likewise.
1405 (cmp_struct_01_03): Likewise.
1406 (cmp_struct_01_04): Likewise.
1407 (cmp_struct_02_01): Likewise.
1408 (cmp_struct_02_02): Likewise.
1409 (cmp_struct_02_03): Likewise.
1410 (cmp_struct_02_04): Likewise.
1411 (cmp_struct_04_01): Likewise.
1412 (cmp_struct_04_02): Likewise.
1413 (cmp_struct_04_03): Likewise.
1414 (cmp_struct_04_04): Likewise.
1415 (cmp_struct_05_01): Likewise.
1416 (cmp_struct_05_02): Likewise.
1417 (cmp_struct_05_03): Likewise.
1418 (cmp_struct_05_04): Likewise.
1419 (call_all): Add new structs.
1420 * gdb.base/infcall-nested-structs.exp: Likewise.
1421
1422 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1423
1424 * gdb.python/py-framefilter-mi.exp: Update regexp to
1425 check for "arch" field in frame output.
1426
1427 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1428
1429 * gdb.dwarf2/dw2-ranges-func.c: New file.
1430 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1431
1432 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1433
1434 * gdb.base/term.exp: Compare terminal settings with values from
1435 the inferior.
1436 * gdb.base/term.c: Get and set terminal settings.
1437
1438 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1439
1440 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1441 accommodate new "arch" field in frame output.
1442 * gdb.mi/mi-return.exp: Likewise.
1443 * gdb.mi/mi-stack.exp: Likewise.
1444 * gdb.mi/mi-syn-frame.exp: Likewise.
1445 * gdb.mi/user-selected-context-sync.exp: Likewise.
1446
1447 2018-08-19 Michael Spang <spang@google.com>
1448
1449 PR gdb/11786
1450 * gdb.base/gcore-tls-pie.c: New file.
1451 * gdb.base/gcore-tls-pie.exp: New file.
1452
1453 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1454
1455 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1456 * gdb.dwarf2/varval.c: New file.
1457 * gdb.dwarf2/varval.exp: New file.
1458
1459 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1460
1461 PR gdb/18931
1462 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1463
1464 2018-08-16 Keith Seitz <keiths@redhat.com>
1465
1466 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1467 tests expected to pass.
1468
1469 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1470
1471 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1472 -data-disassemble -a.
1473 (test_disassembly_bogus_args): Likewise.
1474
1475 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1476
1477 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1478
1479 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.base/vla-optimized-out.exp: Add new test.
1482
1483 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1484
1485 * gdb.base/vla-optimized-out-o3.exp: Delete.
1486 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1487 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1488 deleted tests.
1489
1490 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1491
1492 PR gdb/18050:
1493 * gdb.server/extended-remote-restart.c: New file.
1494 * gdb.server/extended-remote-restart.exp: New file.
1495
1496 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1497
1498 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1499 "set variable index = 42".
1500
1501 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1502
1503 * boards/index-cache-gdb.exp: New file.
1504 * gdb.dwarf2/index-cache.exp: New file.
1505 * gdb.dwarf2/index-cache.c: New file.
1506 * gdb.base/maint.exp: Check if we are using the index cache.
1507
1508 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1509
1510 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1511 MAKEFLAGS.
1512
1513 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1514
1515 * dg-extract-results.sh: Move to toplevel contrib.
1516 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1517 * Makefile.in (check-parallel-racy): Likewise.
1518
1519 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1520
1521 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1522 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1523 tests if the target supports scheduler locking.
1524
1525 2018-08-04 Tom de Vries <tdevries@suse.de>
1526
1527 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1528
1529 2018-08-02 Tom Tromey <tom@tromey.com>
1530
1531 PR symtab/16842.
1532 * gdb.cp/temargs.exp: Test "info address" of a template
1533 parameter.
1534
1535 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1536
1537 * gdb.python/py-mi-var-info-path-expression.c: New file.
1538 * gdb.python/py-mi-var-info-path-expression.py: New file.
1539 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1540
1541 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1542
1543 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1544 error after "cannot resolve name" string.
1545
1546 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1547
1548 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1549 started.
1550 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1551
1552 2018-07-28 Tom de Vries <tdevries@suse.de>
1553
1554 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1555
1556 2018-07-26 Tom de Vries <tdevries@suse.de>
1557
1558 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1559
1560 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1561
1562 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1563 is visible.
1564
1565 2018-07-26 Tom de Vries <tdevries@suse.de>
1566
1567 PR breakpoints/23366
1568 * gdb.base/catch-follow-exec.c: New test.
1569 * gdb.base/catch-follow-exec.exp: New file.
1570
1571 2018-07-25 Tom de Vries <tdevries@suse.de>
1572
1573 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1574 vla-optimized-out.c.
1575
1576 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1577
1578 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1579 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1580
1581 2018-07-20 Tom de Vries <tdevries@suse.de>
1582
1583 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1584 NOCLONE macro.
1585 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1586
1587 2018-07-19 Tom de Vries <tdevries@suse.de>
1588
1589 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1590 regular expression.
1591
1592 2018-07-18 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.base/vla-optimized-out.c: New test.
1595 * gdb.base/vla-optimized-out.exp: New file.
1596
1597 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1598
1599 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1600 message "No address associated with hostname" when gdbserver
1601 cannot resolve the hostname.
1602
1603 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1604
1605 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1606 Add some test prefixes to make tests unique.
1607
1608 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1609
1610 * gdb.base/frameapply.c: New file.
1611 * gdb.base/frameapply.exp: New file.
1612
1613 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1614
1615 * gdb.base/skip.exp: Update expected error message.
1616
1617 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1618 Jan Kratochvil <jan.kratochvil@redhat.com>
1619 Paul Fertser <fercerpav@gmail.com>
1620 Tsutomu Seki <sekiriki@gmail.com>
1621
1622 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1623 parameter.
1624 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1625 by default.
1626 * boards/native-gdbserver.exp: Likewise.
1627 * gdb.server/run-without-local-binary.exp: Improve regexp used
1628 for detecting when a remote debugging connection succeeds.
1629 * gdb.server/server-connect.exp: New file.
1630 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1631 Do not prefix the port number with ":".
1632 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1633 support for detecting and using it. Add '$debughost_gdbserver'
1634 to the list of arguments used to start gdbserver. Handle case
1635 when gdbserver cannot resolve a network name.
1636
1637 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1638
1639 PR c++/23373
1640 * gdb.base/ptype-offsets.cc (struct static_member): New
1641 struct.
1642 (main) <stmember>: New variable.
1643 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1644 with a static member in it.
1645
1646 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1647
1648 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1649 watchpoints enabled and disabled.
1650
1651 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1652
1653 * gdb.base/examine-backward.exp: Still run tests around address
1654 0x0, even if address 0x0 is not readable. Update the pattern for
1655 matching address 0x0 in expected output.
1656
1657 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1658
1659 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1660 malloc/free.
1661
1662 2018-07-04 Tom de Vries <tdevries@suse.de>
1663
1664 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1665
1666 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1667
1668 PR tdep/8282
1669 * gdb.arch/mips-disassembler-options.exp: New test.
1670 * gdb.arch/mips-disassembler-options.s: New test source.
1671
1672 2018-06-29 Pedro Alves <palves@redhat.com>
1673
1674 * gdb.threads/names.exp: Adjust expected "info threads" output.
1675
1676 2018-06-29 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.opt/inline-break.exp (line number, address): Add "info
1679 break" tests.
1680
1681 2018-06-29 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1684 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1685 number and address and running to them.
1686
1687 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1688
1689 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1690
1691 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1692
1693 * lib/compiler.c: Remove executable permission flag.
1694
1695 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1696
1697 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1698 code.
1699 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1700
1701 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1702
1703 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1704
1705 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1706
1707 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1708 address argument is omitted.
1709
1710 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1711
1712 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1713
1714 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1715
1716 PR gdb/21695
1717 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1718 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1719
1720 2018-06-26 Tom Tromey <tom@tromey.com>
1721
1722 PR rust/22574:
1723 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1724 * gdb.rust/simple.rs (struct SimpleLayout): New.
1725
1726 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1727
1728 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1729 "info registers" output.
1730
1731 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1732
1733 * gdb.base/watchpoint-hw-attach.c: New test.
1734 * gdb.base/watchpoint-hw-attach.exp: New file.
1735
1736 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1737
1738 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1739 through /bin/sh.
1740 * boards/dwarf4-gdb-index.exp: Likewise.
1741 * boards/fission-dwp.exp: Likewise.
1742
1743 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1744
1745 * gdb.base/float128.exp: Add comment and improved fail message
1746 to the failure case of "print large128" test.
1747
1748 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1749
1750 * configure.ac: Remove AC_PREREQ.
1751 * configure: Re-generate.
1752
1753 2018-06-19 Pedro Alves <palves@redhat.com>
1754
1755 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1756 (func_extern_caller): New.
1757 (main): Call func_extern_caller.
1758 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1759 logic change.
1760
1761 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1762
1763 PR gdb/16841
1764 * gdb.cp/typedef-base.cc: New file.
1765 * gdb.cp/typedef-base.exp: New file.
1766
1767 2018-06-18 Tom de Vries <tdevries@suse.de>
1768
1769 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1770
1771 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1772 Richard Bunt <Richard.Bunt@arm.com>
1773
1774 * gdb.threads/attach-slow-waitpid.c: New file.
1775 * gdb.threads/attach-slow-waitpid.exp: New file.
1776 * gdb.threads/slow-waitpid.c: New file.
1777
1778 2018-06-14 Pedro Alves <palves@redhat.com>
1779
1780 * gdb.base/fork-running-state.c: Include <errno.h>.
1781 (exit_if_relative_exits): New.
1782 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1783 exits.
1784 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1785 child exits.
1786
1787 2018-06-14 Tom de Vries <tdevries@suse.de>
1788
1789 PR cli/22573
1790 * gdb.base/finish-pretty.c: New test.
1791 * gdb.base/finish-pretty.exp: New file.
1792
1793 2018-06-14 Pedro Alves <palves@redhat.com>
1794
1795 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1796 gdb's expected startup output.
1797
1798 2018-06-14 Pedro Alves <palves@redhat.com>
1799
1800 * lib/selftest-support.exp (selftest_setup): Remove inlined
1801 function handling.
1802
1803 2018-06-14 Tom de Vries <tdevries@suse.de>
1804
1805 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1806 matching of breakpoint printing.
1807
1808 2018-06-13 Tom de Vries <tdevries@suse.de>
1809
1810 PR testsuite/23269
1811 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1812 (fork_child): ... here, and ...
1813 (fork_parent): ... here.
1814
1815 2018-06-12 Tom de Vries <tdevries@suse.de>
1816
1817 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1818
1819 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1820 Stephen Roberts <stephen.roberts@arm.com>
1821
1822 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1823 rewrite test to describe action performed, rather than possible
1824 failure.
1825
1826 2018-06-08 Gary Benson <gbenson@redhat.com>
1827
1828 * gdb.threads/check-libthread-db.exp: New file.
1829 * gdb.threads/check-libthread-db.c: Likewise.
1830
1831 2018-06-05 Tom Tromey <tom@tromey.com>
1832
1833 * gdb.base/default.exp: Update expected "show version" output.
1834
1835 2018-06-05 Tom Tromey <tom@tromey.com>
1836
1837 PR cli/12326:
1838 * gdb.cp/static-print-quit.exp: Update.
1839 * lib/gdb.exp (pagination_prompt): Update.
1840 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1841 * gdb.python/python.exp: Update.
1842
1843 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1844
1845 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1846
1847 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1848
1849 * gdb.ada/bp_fun_addr: New testcase.
1850
1851 2018-06-01 Tom Tromey <tom@tromey.com>
1852
1853 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1854 results.
1855 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1856 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1857 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1858 * gdb.base/maint.exp (maint_pass_if): Update.
1859
1860 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1861
1862 * gdb.base/endian.exp: New test.
1863 * gdb.base/endian.c: New test source.
1864
1865 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1866
1867 PR gdb/23203
1868 * gdb.base/bt-selected-frame.c: New file.
1869 * gdb.base/bt-selected-frame.exp: New file.
1870 * lib/gdb.exp (get_current_frame_number): New function.
1871
1872 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1873 Pedro Alves <palves@redhat.com>
1874
1875 * gdb.threads/tls-core.c: Include <stdlib.h>
1876 (thread_proc): Call `abort'.
1877 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1878 (tls_core_test): New procedure, bits factored out from ...
1879 (top level): ... here. Test both native cores and gcore cores.
1880
1881 2018-05-23 Tom Tromey <tom@tromey.com>
1882
1883 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1884
1885 2018-05-23 Tom Tromey <tom@tromey.com>
1886
1887 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1888 symfile_complaints.
1889 (test_short_complaints): Likewise.
1890 (test_empty_complaints): Likewise.
1891 (test_initial_complaints): Update.
1892
1893 2018-05-23 Tom Tromey <tom@tromey.com>
1894
1895 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1896
1897 2018-05-23 Tom Tromey <tom@tromey.com>
1898
1899 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1900 (test_short_complaints): Update.
1901
1902 2018-05-22 Pedro Alves <palves@redhat.com>
1903
1904 * gdb.base/remote.exp: Only gdb_start after compiling the
1905 testcase. Issue "disconnect" before testing "set remote" command
1906 defaults. Issue clean_restart before running to main.
1907
1908 2018-05-22 Pedro Alves <palves@redhat.com>
1909
1910 * gdb.base/remote.exp: Adjust expected output of "show remote
1911 memory-write-packet-size". Add tests for "set remote
1912 memory-write-packet-size 0" and "set remote
1913 memory-write-packet-size fixed/limit".
1914
1915 2018-05-22 Pedro Alves <palves@redhat.com>
1916
1917 PR gdb/22973
1918 * gdb.base/utf8-identifiers.c: New file.
1919 * gdb.base/utf8-identifiers.exp: New file.
1920
1921 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1922
1923 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1924
1925 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1926
1927 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1928
1929 2018-05-18 Tom Tromey <tom@tromey.com>
1930
1931 * gdb.base/ptype-offsets.exp: Update.
1932
1933 2018-05-17 Keith Seitz <keiths@redhat.com>
1934
1935 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1936 in expected breakpoint stop locations.
1937 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1938 move to proper scope to test variable values.
1939 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1940 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1941 New functions.
1942 (main): Call not_inline_func3.
1943 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1944 inline_func1, inline_func2, and inline_func3. Test that when each
1945 breakpoint is hit, GDB properly reports both the stop location
1946 and the backtrace. Repeat tests for temporary breakpoints.
1947
1948 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1949
1950 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1951 rather then trying to access it in determining whether the PID
1952 of `gdbserver' could have been retrieved.
1953
1954 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1955
1956 * gdb.arch/amd64-init-x87-values.S: New file.
1957 * gdb.arch/amd64-init-x87-values.exp: New file.
1958
1959 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1960
1961 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1962
1963 2018-05-04 Tom Tromey <tom@tromey.com>
1964
1965 PR python/22730:
1966 * gdb.python/python.exp: Test multi-line execute.
1967
1968 2018-05-04 Tom Tromey <tom@tromey.com>
1969
1970 PR python/22731:
1971 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1972
1973 2018-05-04 Tom Tromey <tom@tromey.com>
1974
1975 PR gdb/11750:
1976 * gdb.base/define.exp: Test defining a user command inside a user
1977 command.
1978 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1979
1980 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1981 Pedro Alves <palves@redhat.com>
1982
1983 PR breakpoints/19806 and support for PR external/20207.
1984 * gdb.base/watchpoint-unaligned.c: New file.
1985 * gdb.base/watchpoint-unaligned.exp: New file.
1986
1987 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1988
1989 * gdb.base/maint.exp: Make test names unique, use
1990 test_prefix_command_help to test 'help maint info', and remove
1991 repeated test of 'help maint'.
1992
1993 2018-05-04 Tom Tromey <tom@tromey.com>
1994
1995 PR gdb/22619:
1996 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1997 behavior.
1998
1999 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2000
2001 * gdb.base/maint.exp: Process output from 'maint print registers'
2002 line at a time.
2003
2004 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2005
2006 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2007 timeout.
2008
2009 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2010
2011 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2012 filter pattern.
2013
2014 2018-05-02 Pedro Alves <palves@redhat.com>
2015
2016 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2017 to_log_command renames.
2018 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2019
2020 2018-05-02 Tom Tromey <tom@tromey.com>
2021
2022 * gdb.python/py-parameter.exp: Set test message.
2023
2024 2018-05-02 Tom Tromey <tom@tromey.com>
2025
2026 PR python/20084:
2027 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2028 PARAM_ZUINTEGER_UNLIMITED tests.
2029
2030 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2031
2032 PR rust/23124
2033 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2034 when casting.
2035
2036 2018-04-30 Tom Tromey <tom@tromey.com>
2037
2038 * gdb.python/py-type.exp: Check align attribute.
2039 * gdb.python/py-type.c: New "aligncheck" global.
2040
2041 2018-04-30 Tom Tromey <tom@tromey.com>
2042
2043 PR exp/17095:
2044 * gdb.dwarf2/dw2-align.exp: New file.
2045 * gdb.cp/align.exp: New file.
2046 * gdb.base/align.exp: New file.
2047 * lib/gdb.exp (gdb_int128_helper): New proc.
2048 (has_int128_c, has_int128_cxx): New caching procs.
2049
2050 2018-04-27 Tom Tromey <tom@tromey.com>
2051
2052 PR rust/22545:
2053 * gdb.rust/simple.exp: Add inclusive range tests.
2054
2055 2018-04-26 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2058 ifunc breakpoint locations correctly of ifunc breakpoints set
2059 while the program resolves the ifunc.
2060
2061 2018-04-26 Pedro Alves <palves@redhat.com>
2062
2063 * gdb.base/gnu-ifunc-final.c: New file.
2064 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2065 * gdb.base/gnu-ifunc.exp (executable): Delete.
2066 (staticexecutable): Adjust.
2067 (lib_opts, exec_opts): Delete.
2068 (make_binsuffix, build, set-break): New procedures.
2069 (misc_tests): New, with tests factored out from the top level.
2070 (top level): Test different combinations of ifunc resolver name,
2071 resolver with and with debug info, and ifunc target with and
2072 without debug info. Wrap static tests with with_target_prefix.
2073
2074 2018-04-26 Pedro Alves <palves@redhat.com>
2075
2076 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2077 return type" warnings.
2078
2079 2018-04-25 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2082 killed".
2083 * gdb.base/kill-after-signal.exp: Likewise.
2084 * gdb.threads/kill.exp: Likewise.
2085
2086 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2087 Sergio Durigan Junior <sergiodj@redhat.com>
2088 Pedro Alves <palves@redhat.com>
2089
2090 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2091 regexps to expect for '[Inferior ... detached]' as well.
2092 * gdb.base/attach.exp: Likewise.
2093 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2094 "gdb_continue_to_end".
2095 (test_catch_syscall_with_wrong_args): Likewise.
2096 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2097 ']'. Don't set 'verbose' on.
2098 * gdb.base/foll-vfork.exp: Likewise.
2099 * gdb.base/fork-print-inferior-events.c: New file.
2100 * gdb.base/fork-print-inferior-events.exp: New file.
2101 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2102 '[Inferior ... has been killed]' message.
2103 * gdb.base/kill-after-signal.exp: Likewise.
2104 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2105 detach message.
2106 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2107 message.
2108 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2109 regexps to expect for '[Inferior ... detached]' as well.
2110 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2111
2112 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2113
2114 PR gdb/23104
2115 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2116
2117 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2118
2119 * gdb.threads/multiple-successive-infcall.c: New test.
2120 * gdb.threads/multiple-successive-infcall.exp: New file.
2121
2122 2018-04-17 Tom Tromey <tom@tromey.com>
2123
2124 * gdb.rust/simple.rs (Union): New type.
2125 (main): New local "u".
2126 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2127
2128 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2129
2130 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2131 number information in output of "whereis" command.
2132 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2133
2134 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2135
2136 * gdb.ada/info_types.exp: Adjust expected output to the line
2137 numbers now printed by "info var/func/type".
2138 * gdb.base/completion.exp: Likewise.
2139 * gdb.base/included.exp: Likewise.
2140 * gdb.cp/cp-relocate.exp: Likewise.
2141 * gdb.cp/cplusfuncs.exp: Likewise.
2142 * gdb.cp/namespace.exp: Likewise.
2143 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2144
2145 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2146
2147 * gdb.btrace/cpu.exp: New.
2148
2149 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2150
2151 * gdb.base/step-indirect-call-thunk.exp: New.
2152 * gdb.base/step-indirect-call-thunk.c: New.
2153 * gdb.reverse/step-indirect-call-thunk.exp: New.
2154 * gdb.reverse/step-indirect-call-thunk.c: New.
2155
2156 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2157
2158 * gdb.base/pie-fork.c: New file.
2159 * gdb.base/pie-fork.exp: New file.
2160
2161 2018-04-11 Tom Tromey <tom@tromey.com>
2162
2163 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2164
2165 2018-04-10 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2168 exits. Instead loop running forever.
2169 (fork_parent): Run forever too.
2170
2171 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2172
2173 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2174 mi_continue_to_line.
2175 * gdb.mi/mi-stack.c (callee4): Add comment.
2176
2177 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2178
2179 * gdb.mi/mi-stack.exp: Fix indentation.
2180
2181 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2182
2183 PR gdb/22979
2184 * gdb.arch/amd64-osabi.exp: New file.
2185
2186 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2187
2188 PR gdb/22980
2189 * gdb.base/osabi.exp: New file.
2190
2191 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2192
2193 * gdb.cp/static-typedef-print.exp: New file.
2194 * gdb.cp/static-typedef-print.cc: New file.
2195
2196 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2197
2198 * gdb.ada/varsize_limit: New testcase.
2199
2200 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2201
2202 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2203
2204 * gdb.ada/notcplusplus: New testcase.
2205
2206 * gdb.base/c-linkage-name.c: New file.
2207 * gdb.base/c-linkage-name.exp: New testcase.
2208
2209 2018-03-26 Tom Tromey <tom@tromey.com>
2210
2211 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2212 * gdb.python/py-framefilter.py (name_error): New global.
2213 (ErrorInName.function): Use name_error.
2214
2215 2018-03-26 Tom Tromey <tom@tromey.com>
2216
2217 PR backtrace/15582:
2218 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2219
2220 2018-03-23 Keith Seitz <keiths@redhat.com>
2221
2222 PR c++/22968
2223 * gdb.cp/subtypes.exp: New file.
2224 * gdb.cp/subtypes.h: New file.
2225 * gdb.cp/subtypes.cc: New file.
2226 * gdb.cp/subtypes-2.cc: New file.
2227
2228 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2229
2230 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2231 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2232 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2233 -nostartfiles when compiling the test. Confirm that all registers
2234 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2235
2236 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2237
2238 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2239 option, syntax was wrong anyway.
2240 * gdb.arch/arm-disp-step.exp: Likewise.
2241 * gdb.arch/sparc64-regs.exp: Likewise.
2242 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2243 option, syntax was wrong anyway, switch to use
2244 prepare_for_testing.
2245 * gdb.arch/i386-disp-step.exp: Likewise.
2246
2247 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2248
2249 * gdb.ada/exec_changed.exp: Replace "target_info exists
2250 use_gdb_stub" by "use_gdb_stub".
2251 * gdb.ada/start.exp: Likewise.
2252 * gdb.base/async-shell.exp: Likewise.
2253 * gdb.base/attach-pie-misread.exp: Likewise.
2254 * gdb.base/attach-wait-input.exp: Likewise.
2255 * gdb.base/break-entry.exp: Likewise.
2256 * gdb.base/break-interp.exp: Likewise.
2257 * gdb.base/dprintf-detach.exp: Likewise.
2258 * gdb.base/nostdlib.exp: Likewise.
2259 * gdb.base/solib-nodir.exp: Likewise.
2260 * gdb.base/statistics.exp: Likewise.
2261 * gdb.base/testenv.exp: Likewise.
2262 * gdb.mi/mi-exec-run.exp: Likewise.
2263 * gdb.mi/mi-start.exp: Likewise.
2264 * gdb.multi/dummy-frame-restore.exp: Likewise.
2265 * gdb.multi/multi-arch-exec.exp: Likewise.
2266 * gdb.multi/multi-arch.exp: Likewise.
2267 * gdb.multi/tids.exp: Likewise.
2268 * gdb.multi/watchpoint-multi.exp: Likewise.
2269 * gdb.python/py-events.exp: Likewise.
2270 * gdb.threads/attach-into-signal.exp: Likewise.
2271 * gdb.threads/attach-stopped.exp: Likewise.
2272 * gdb.threads/threadapply.exp: Likewise.
2273 * lib/selftest-support.exp: Likewise.
2274
2275 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2276
2277 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2278
2279 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2280
2281 * gdb.perf/template-breakpoints.cc: New file.
2282 * gdb.perf/template-breakpoints.exp: New file.
2283 * gdb.perf/template-breakpoints.py: New file.
2284
2285 2018-03-19 Tom Tromey <tom@tromey.com>
2286
2287 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2288 y0.
2289 * gdb.rust/simple.exp: Test bare identifier form of struct
2290 initializer.
2291
2292 2018-03-19 Tom Tromey <tom@tromey.com>
2293
2294 * gdb.gdb/observer.exp: Remove.
2295
2296 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2297
2298 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2299 "qualified" option when setting breakpoints.
2300 * gdb.trace/backtrace.exp: Likewise.
2301 * gdb.trace/circ.exp: Likewise.
2302 * gdb.trace/collection.exp: Likewise.
2303 * gdb.trace/disconnected-tracing.exp: Likewise.
2304 * gdb.trace/ftrace-lock.exp: Likewise.
2305 * gdb.trace/ftrace.exp: Likewise.
2306 * gdb.trace/infotrace.exp: Likewise.
2307 * gdb.trace/packetlen.exp: Likewise.
2308 * gdb.trace/passc-dyn.exp: Likewise.
2309 * gdb.trace/qtro.exp: Likewise.
2310 * gdb.trace/read-memory.exp: Likewise.
2311 * gdb.trace/report.exp: Likewise.
2312 * gdb.trace/signal.exp: Likewise.
2313 * gdb.trace/status-stop.exp: Likewise.
2314 * gdb.trace/strace.exp: Likewise.
2315 * gdb.trace/tfind.exp: Likewise.
2316 * gdb.trace/trace-break.exp: Likewise.
2317 * gdb.trace/trace-condition.exp: Likewise.
2318 * gdb.trace/trace-mt.exp: Likewise.
2319 * gdb.trace/tstatus.exp: Likewise.
2320 * gdb.trace/tsv.exp: Likewise.
2321 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2322 * gdb.trace/unavailable.exp: Likewise.
2323 * gdb.trace/while-dyn.exp: Likewise.
2324
2325 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2326
2327 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2328 that libinproctrace is copied to the target.
2329
2330 2018-03-14 Tom Tromey <tom@tromey.com>
2331
2332 PR cli/14977:
2333 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2334 a null pointer.
2335 * gdb.base/wchar.exp: Likewise.
2336
2337 2018-03-14 Tom Tromey <tom@tromey.com>
2338
2339 PR cli/19918:
2340 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2341 flag.
2342
2343 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2344
2345 PR gdb/22841
2346 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2347 "target" to remote_exec.
2348
2349 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2350
2351 PR gdb/22841
2352 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2353 ${board}_upload): Remove.
2354
2355 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2356
2357 * gdb.cp/watch-cp.cc: New test.
2358 * gdb.cp/watch-cp.exp: New file.
2359
2360 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2361
2362 * gdb.base/infcall-nested-structs.exp: New file.
2363 * gdb.base/infcall-nested-structs.c: New file.
2364 * gdb.base/float.exp: Add riscv support.
2365
2366 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2367
2368 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2369 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2370
2371 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2372
2373 * gdb.server/abspath.exp: New file.
2374 * lib/gdb.exp (with_cwd): New procedure.
2375
2376 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2377
2378 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2379 use it.
2380 (gdb_is_target_remote_prompt): New proc.
2381 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2382 (gdb_is_target_native): Pass prompt parameter to
2383 gdb_is_target_1.
2384
2385 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2386
2387 * gdb.base/load-command.c: New file.
2388 * gdb.base/load-command.exp: New file.
2389 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2390 (gdb_is_target_1): ...this, and generalize for other targets
2391 than just remote.
2392 (gdb_is_target_remote): Use gdb_is_target_1.
2393 (gdb_is_target_native): use gdb_is_target_1.
2394
2395 2018-02-26 Tom Tromey <tom@tromey.com>
2396
2397 PR python/16497:
2398 * gdb.python/py-framefilter.exp: Update test.
2399
2400 2018-02-26 Tom Tromey <tom@tromey.com>
2401
2402 * gdb.dwarf2/variant.c: New file.
2403 * gdb.dwarf2/variant.exp: New file.
2404
2405 2018-02-26 Tom Tromey <tom@tromey.com>
2406
2407 * gdb.rust/simple.exp: Accept more possible results in enum test.
2408
2409 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2410
2411 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2412 parentheses.
2413
2414 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2415
2416 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2417 name of a variable: $actual_linejj -> $actual_line.
2418
2419 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2420
2421 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2422
2423 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2424
2425 * gdb.btrace/buffer-size.exp: Do not force BTS.
2426
2427 2018-02-14 Pedro Alves <palves@redhat.com>
2428
2429 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2430 getting a "Quit".
2431
2432 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2433
2434 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2435 Fix test name.
2436
2437 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2438
2439 * gdb.cp/m-static.exp: Check type of optimized out static
2440 member.
2441
2442 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2443
2444 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2445 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2446
2447 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2448 Leszek Swirski <leszeks@google.com>
2449
2450 * gdb.python/py-prettyprint.c
2451 (struct to_string_returns_value_inner,
2452 struct to_string_returns_value_wrapper): New.
2453 (main): Add tsrvw variable.
2454 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2455 ToStringReturnsValueWrapper): New classes.
2456 (register_pretty_printers): Register new pretty-printers.
2457 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2458 recursive pretty printer.
2459 * gdb.python/py-mi.exp: Likewise.
2460
2461 2018-02-01 Leszek Swirski <leszeks@google.com>
2462
2463 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2464 functions with the same name as an include file are parsed
2465 correctly.
2466
2467 2018-02-01 Yao Qi <yao.qi@linaro.org>
2468
2469 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2470 "\[^\r\n\]*".
2471
2472 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2473
2474 * gdb.arch/powerpc-prologue-frame.s: New file.
2475 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2476 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2477
2478 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2479
2480 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2481
2482 2018-01-30 Pedro Alves <palves@redhat.com>
2483
2484 PR gdb/13211
2485 * gdb.base/interrupt-daemon.c: New.
2486 * gdb.base/interrupt-daemon.exp: New.
2487 * gdb.multi/multi-term-settings.c: New.
2488 * gdb.multi/multi-term-settings.exp: New.
2489
2490 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2491
2492 * gdb.base/break.exp: Save the location where the breakpoint
2493 on break.c:47 was actually inserted when debugging the version
2494 compiled at -O2 and use it in the expected output of the "info
2495 break" test performed soon after.
2496
2497 2018-01-22 Pedro Alves <palves@redhat.com>
2498 Sergio Durigan Junior <sergiodj@redhat.com>
2499
2500 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2501 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2502
2503 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2504
2505 * gdb.base/break-include.c, gdb.base/break-include.inc,
2506 gdb.base/break-include.exp: New files.
2507 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2508 line number now being the actual line number where the breakpoint
2509 was inserted.
2510 * gdb.mi/mi-break.exp: Likewise.
2511 * gdb.mi/mi-reverse.exp: Likewise.
2512 * gdb.mi/mi-simplerun.exp: Ditto.
2513
2514 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2515
2516 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2517 varobj.
2518 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2519
2520 2018-01-21 Don Breazeal <donb@codesourcery.com>
2521 Andrew Burgess <andrew.burgess@embecosm.com>
2522
2523 * gdb.mi/basics.c: Add new global.
2524 * gdb.mi/mi-frame-regs.exp: New file.
2525 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2526 case.
2527
2528 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2529
2530 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2531 non-parameter, and on an unknown symbol.
2532
2533 2018-01-19 Tom Tromey <tom@tromey.com>
2534
2535 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2536 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2537
2538 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2539
2540 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2541 setrlimit and chdir to int.
2542
2543 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2544
2545 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2546 function.
2547 (my_tend): Likewise.
2548 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2549 rationale of avoiding FP- and vector instructions.
2550
2551 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2552
2553 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2554 "info reg" with "\[ \t\]*".
2555 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2556 "\[ \t\]+".
2557 * gdb.arch/s390-multiarch.exp: Ditto.
2558 * gdb.base/pc-fp.exp: Ditto.
2559 * gdb.reverse/i386-precsave.exp: Ditto.
2560 * gdb.reverse/i386-reverse.exp: Ditto.
2561 * gdb.reverse/i387-env-reverse.exp: Ditto.
2562 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2563
2564 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2565
2566 * lib/gdb.exp (gdb_compile): Re-enable use of
2567 universal_compile_options for languages other than Rust.
2568
2569 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2570
2571 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2572
2573 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2574
2575 PR gdb/16577
2576 * gdb.base/solib-vanish.exp: New.
2577 * gdb.base/solib-vanish-main.c: New.
2578 * gdb.base/solib-vanish-lib1.c: New.
2579 * gdb.base/solib-vanish-lib2.c: New.
2580
2581 2018-01-17 Yao Qi <yao.qi@linaro.org>
2582
2583 * gdb.compile/compile.exp: Match the address printed for
2584 frame in the output of command "bt".
2585
2586 2018-01-15 Tom Tromey <tom@tromey.com>
2587
2588 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2589 compute sp_reg.
2590
2591 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2592
2593 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2594 to prepare.
2595 (prepare): Return 0 on error, 1 on success.
2596
2597 2018-01-12 Pedro Alves <palves@redhat.com>
2598
2599 * gdb.base/continue-after-aborted-step-over.c: New.
2600 * gdb.base/continue-after-aborted-step-over.exp: New.
2601
2602 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2603
2604 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2605 options when not creating an executable.
2606
2607 2018-01-11 Pedro Alves <palves@redhat.com>
2608
2609 PR remote/22597
2610 * gdb.server/stop-reply-no-thread.c: New file.
2611 * gdb.server/stop-reply-no-thread.exp: New file.
2612
2613 2018-01-10 Pedro Alves <palves@redhat.com>
2614
2615 PR gdb/22670
2616 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2617 functions too. Test setting breakpoints and printing C functions
2618 with no debug info too.
2619 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2620
2621 2018-01-10 Pedro Alves <palves@redhat.com>
2622
2623 PR gdb/22670
2624 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2625 a fail.
2626
2627 2018-01-10 Pedro Alves <palves@redhat.com>
2628
2629 PR gdb/22670
2630 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2631
2632 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2633
2634 * gdb.server/unittest.exp: Match the output in non-development
2635 mode.
2636
2637 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2638
2639 * gdb.gdb/unittest.exp: Match output in non-development mode.
2640
2641 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2642
2643 * gdb.ada/access_tagged_param.exp: Relax expected output
2644 for value of "ObjL" in "continue" to pck.inspect breakpoint
2645 test.
2646
2647 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2648
2649 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2650 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2651
2652 2018-01-05 Pedro Alves <palves@redhat.com>
2653
2654 PR gdb/18653
2655 * gdb.base/libsegfault.exp: New.
2656
2657 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2658
2659 PR gdb/22670
2660 * gdb.ada/access_tagged_param.exp: New file.
2661 * gdb.ada/access_tagged_param/foo.adb: New file.
2662
2663 2018-01-05 Pedro Alves <palves@redhat.com>
2664
2665 PR gdb/22670
2666 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2667 exercise lower case too, and to exercise both full matching and
2668 wild matching.
2669
2670 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2671
2672 * gdb.ada/rename_subscript_param: New testcase.
2673
2674 2018-01-05 Jerome Guitton <guitton@adacore.com>
2675
2676 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2677
2678 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2679
2680 * gdb.ada/convvar_comp: New testcase.
2681
2682 2018-01-05 Xavier Roirand <roirand@adacore.com>
2683
2684 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2685 (My_Table): New global variable.
2686 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2687
2688 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2689
2690 PR gdb/22670
2691 * gdb.ada/maint_with_ada: New testcase.
2692
2693 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2694
2695 PR gdb/22670
2696 * gdb.ada/bp_c_mixed_case: New testcase.
2697
2698 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2699
2700 PR gdb/22670
2701 * gdb.ada/complete.exp: Add "complete break ada" test.
2702
2703 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2704
2705 PR gdb/22670
2706 * gdb.ada/info_addr_mixed_case: New testcase.
2707
2708 2018-01-03 Xavier Roirand <roirand@adacore.com>
2709
2710 * gdb.ada/excep_handle.exp: New testcase.
2711 * gdb.ada/excep_handle/foo.adb: New file.
2712 * gdb.ada/excep_handle/pck.ads: New file.
2713
2714 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2715
2716 * gdb.base/step-line.c: Add extra empty line in copyright header.
2717 * gdb.base/step-line.inp: Likewise.
2718
2719 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2720
2721 * gdb.ada/dyn_stride.exp: Add slice test.
2722
2723 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2724
2725 * gdb.ada/dyn_stride: New testcase.
2726
2727 2017-12-27 Stafford Horne <shorne@gmail.com>
2728
2729 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2730 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2731
2732 2017-12-27 Stafford Horne <shorne@gmail.com>
2733
2734 * gdb.base/reggroups.c: New file.
2735 * gdb.base/reggroups.exp: New file.
2736
2737 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2738
2739 * gdb.dwarf2/ada-valprint-error.c: New file.
2740 * gdb.dwarf2/ada-valprint-error.exp: New file.
2741
2742 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2743
2744 * gdb.ada/assign_arr: New testcase.
2745
2746 2017-12-18 Xavier Roirand <roirand@adacore.com>
2747
2748 * gdb.ada/funcall_ptr: New testcase.
2749
2750 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2751
2752 PR cli/16224
2753 * gdb.base/ptype-offsets.cc: New file.
2754 * gdb.base/ptype-offsets.exp: New file.
2755
2756 2017-12-15 Yao Qi <yao.qi@linaro.org>
2757
2758 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2759 if XML is disabled.
2760
2761 2017-12-15 Xavier Roirand <roirand@adacore.com>
2762
2763 * gdb.ada/same_component_name: New testcase.
2764
2765 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2766
2767 * gdb.ada/str_binop_equal: New testcase.
2768
2769 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2770
2771 * gdb.ada/task_switch_in_core: New testcase.
2772
2773 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2774
2775 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2776 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2777 call test_bkpt_qualified.
2778 (test_bkpt_qualified): New proc.
2779
2780 2017-12-13 Pedro Alves <palves@redhat.com>
2781
2782 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2783 Tighten regexp by matching with an anchor.
2784
2785 2017-12-13 Pedro Alves <palves@redhat.com>
2786
2787 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2788 ("expression with namespace"): New set of tests.
2789 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2790 (Nested::Test_NS::qux): New.
2791 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2792 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2793
2794 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2795
2796 * gdb.base/server-del-break.c: New file.
2797 * gdb.base/server-del-break.exp: New file.
2798
2799 2017-12-12 Stafford Horne <shorne@gmail.com>
2800
2801 * gdb.xml/tdesc-regs.exp: Add or1k support.
2802
2803 2017-12-12 Stafford Horne <shorne@gmail.com>
2804
2805 * gdb.base/bp-permanent.c: Define nop of or1k.
2806
2807 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2808
2809 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2810 output with components being reordered.
2811
2812 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2813
2814 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2815 output with components being reordered.
2816
2817 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2818 Pedro Alves <palves@redhat.com>
2819
2820 * gdb.base/maint.exp (check for .gdb_index): Check also for
2821 .debug_names.
2822 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2823 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2824 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2825 (.gdb_index used after symbol reloading): Support also .debug_names.
2826 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2827
2828 2017-12-08 Yao Qi <yao.qi@linaro.org>
2829
2830 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2831 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2832
2833 2017-12-08 Yao Qi <yao.qi@linaro.org>
2834
2835 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2836 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2837
2838 2017-12-08 Yao Qi <yao.qi@linaro.org>
2839
2840 * gdb.arch/aarch64-tagged-pointer.c: New file.
2841 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2842
2843 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2844
2845 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2846 "int".
2847
2848 2017-12-07 Keith Seitz <keiths@redhat.com>
2849
2850 PR breakpoints/22569
2851 * gdb.linespec/ls-errs.exp: Change expected result of "break
2852 -source this file has spaces.c -line 3".
2853 Check that an explicit source file followed by whitespace is
2854 identified as an invalid explicit location.
2855
2856 2017-12-07 Keith Seitz <keiths@redhat.com>
2857
2858 * gdb.cp/nested-types.cc: New file.
2859 * gdb.cp/nested-types.exp: New file.
2860 * lib/cp-support.exp: Load data-structures.exp library.
2861 (debug_cp_test_ptype_class): New global.
2862 (cp_ptype_class_verbose, next_line): New procedures.
2863 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2864 Add and document new return value.
2865 Switch the list of lines to a queue.
2866 Add support for new `type' key for nested type definitions.
2867 Add debugging/troubleshooting messages.
2868 * lib/data-structures.exp: New file.
2869
2870 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2871
2872 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2873 with proc_with_prefix, don't use with_test_prefix.
2874
2875 2017-12-07 Tom Tromey <tom@tromey.com>
2876
2877 * gdb.base/break.exp: Add test for empty "commands".
2878
2879 2017-12-07 Yao Qi <yao.qi@linaro.org>
2880
2881 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2882 malloc and catch syscall.
2883
2884 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2885
2886 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2887 tests for explicit locations.
2888
2889 2017-12-06 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2892 force-disabling XML descriptions.
2893
2894 2017-12-04 Pedro Alves <palves@redhat.com>
2895
2896 PR gdb/22499
2897 * gdb.arch/amd64-disp-step-avx.S: New file.
2898 * gdb.arch/amd64-disp-step-avx.exp: New file.
2899
2900 2017-12-03 Pedro Alves <palves@redhat.com>
2901
2902 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2903 and <string.h>.
2904 (parent_function): Print distinct messages when waitpid fails, or
2905 the child exits with a signal, or the child exits for an unhandled
2906 reason.
2907 * gdb.threads/process-dies-while-detaching.exp
2908 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2909 it. Wait for both inferior output and GDB's prompt. Use an
2910 indirect spawn id list.
2911 (do_detach): New parameter 'child_exit'. Use it to compute
2912 expected inferior output.
2913 (test_detach, test_detach_watch, test_detach_killed_outside):
2914 Adjust to pass down the expected child exit kind.
2915
2916 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2917 Sergio Durigan Junior <sergiodj@redhat.com>
2918 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2921
2922 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2923
2924 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2925 to 'symbol-file' and 'add-symbol-file' can be
2926 position-independent.
2927
2928 2017-12-01 Yao Qi <yao.qi@linaro.org>
2929
2930 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2931 the URL in copyright header.
2932 * gdb.arch/aarch64-fp.exp: Likewise.
2933 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2934 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2935 * gdb.base/expand-psymtabs.exp: Likewise.
2936 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2937 * gdb.fortran/common-block.exp: Likewise.
2938 * gdb.fortran/common-block.f90: Likewise.
2939 * gdb.fortran/logical.exp: Likewise.
2940 * gdb.fortran/vla-datatypes.f90: Likewise.
2941 * gdb.fortran/vla-sub.f90: Likewise.
2942
2943 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2944
2945 * gdb.ada/repeat_dyn: New testcase.
2946
2947 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2948
2949 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2950 Update for changed thread numbering.
2951 * gdb.cell/bt.exp: Update for changed GDB output.
2952
2953 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2954
2955 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2956 setting isremote by hand.
2957 * boards/dwarf4-gdb-index.exp: Likewise.
2958 * boards/fission.exp: Likewise.
2959 * boards/stabs.exp: Likewise.
2960
2961 2017-11-30 Pedro Alves <palves@redhat.com>
2962
2963 * gdb.linespec/cpls-ops.exp
2964 (check_explicit_skips_function_argument): Extract the underlying
2965 type of size_t instead of hardcoding it.
2966
2967 2017-11-29 Pedro Alves <palves@redhat.com>
2968
2969 PR c++/19436
2970 * gdb.linespec/cpls-abi-tag.cc: New file.
2971 * gdb.linespec/cpls-abi-tag.exp: New file.
2972
2973 2017-11-29 Pedro Alves <palves@redhat.com>
2974
2975 * gdb.base/langs.exp: Use -qualified.
2976 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2977 it.
2978 * gdb.cp/namespace.exp: Use -qualified.
2979 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2980 (overload-3, template-overload, template-ret-type, const-overload)
2981 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2982 procedures.
2983 (test_driver): Call them.
2984 * gdb.cp/save-bp-qualified.cc: New.
2985 * gdb.cp/save-bp-qualified.exp: New.
2986 * gdb.linespec/explicit.exp: Test -qualified.
2987 * lib/completion-support.exp (completion::explicit_opts_list): Add
2988 "-qualified".
2989 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2990
2991 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2992
2993 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2994
2995 2017-11-29 Tom Tromey <tom@tromey.com>
2996
2997 * gdb.base/relocate.exp: Update invalid argument test.
2998 Add new tests for invalid arguments.
2999
3000 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3001
3002 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3003 Return 0 as a long.
3004 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3005
3006 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3007
3008 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3009 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3010 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3011 func ().
3012 * gdb.cp/shadow.cc (B.func): Return 0.
3013
3014 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3015
3016 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3017 expected output in gdb_expect call to allow the exception
3018 message to be present as well. Fix syntax confusion to avoid
3019 TCL thinking that exception_name is an array.
3020
3021 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3022
3023 * gdb.arch/spu-info.c: Include <unistd.h>.
3024 (do_signal_test): Fix broken calls to write.
3025 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3026 Fix checks for empty mailboxes. Update signal tests for corrected
3027 do_signal_test routine. Allow nonzero event status.
3028 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3029 * gdb.cell/arch.exp: Use standard_output_file.
3030 * gdb.cell/break.exp: Likewise.
3031 * gdb.cell/bt.exp: Likewise.
3032 * gdb.cell/core.exp: Likewise.
3033 * gdb.cell/dwarfaddr.exp: Likewise.
3034 * gdb.cell/ea-cache.exp: Likewise.
3035 * gdb.cell/ea-standalone.exp: Likewise.
3036 * gdb.cell/f-regs.exp: Likewise.
3037 * gdb.cell/fork.exp: Likewise.
3038 * gdb.cell/gcore.exp: Likewise.
3039 * gdb.cell/mem-access.exp: Likewise.
3040 * gdb.cell/ptype.exp: Likewise.
3041 * gdb.cell/registers.exp: Likewise.
3042 * gdb.cell/sizeof.exp: Likewise.
3043 * gdb.cell/solib-symbol.exp: Likewise.
3044 * gdb.cell/solib.exp: Likewise.
3045
3046 2017-11-25 Pedro Alves <palves@redhat.com>
3047
3048 * gdb.base/complete-empty.exp: New file.
3049 * gdb.base/completion.exp: Adjust.
3050
3051 2017-11-25 Pedro Alves <palves@redhat.com>
3052
3053 * gdb.linespec/cpls-ops.cc: New file.
3054 * gdb.linespec/cpls-ops.exp: New file.
3055 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3056 factored out from ...
3057 (test_complete_prefix_range): ... this.
3058
3059 2017-11-24 Pedro Alves <palves@redhat.com>
3060
3061 * gdb.linespec/cpcompletion.exp: New file.
3062 * gdb.linespec/cpls-hyphen.cc: New file.
3063 * gdb.linespec/cpls.cc: New file.
3064 * gdb.linespec/cpls2.cc: New file.
3065 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3066 test to use test_gdb_complete_unique. Add label completion,
3067 keyword completion and explicit location completion tests.
3068 * lib/completion-support.exp: New file.
3069
3070 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3071
3072 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3073 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3074 when hitting an exception catchpoint.
3075
3076 2017-11-22 Yao Qi <yao.qi@linaro.org>
3077
3078 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3079
3080 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3081
3082 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3083 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3084 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3085
3086 2017-11-22 Yao Qi <yao.qi@linaro.org>
3087
3088 * gdb.base/info-os.exp: Pass pthreads.
3089 * gdb.multi/multi-attach.exp: Likewise.
3090
3091 2017-11-22 Yao Qi <yao.qi@linaro.org>
3092
3093 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3094 compiler.
3095
3096 2017-11-22 Yao Qi <yao.qi@linaro.org>
3097
3098 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3099 * gdb.base/break-interp.exp: Likewise.
3100 * gdb.base/jit-attach-pie.exp: Likewise.
3101
3102 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3103
3104 * gdb.base/float128.c (large128): New variable.
3105 * gdb.base/float128.exp: Add test to print largest __float128 value.
3106
3107 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3108
3109 * gdb.arch/vsx-regs.exp: Update register content checks.
3110
3111 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3112
3113 * gdb.arch/ppc-longdouble.exp: New file.
3114 * gdb.arch/ppc-longdouble.c: Likewise.
3115
3116 2017-11-21 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3119
3120 2017-11-20 Pedro Alves <palves@redhat.com>
3121
3122 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3123 (long_double_typedef): New typedefs.
3124 Use DEF on double and long double.
3125 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3126 cases.
3127 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3128 and 'long_double_ptr_same_size' locals. Use them to decide
3129 whether cast from array/function to float is valid/invalid.
3130
3131 2017-11-17 Tom Tromey <tom@tromey.com>
3132
3133 * gdb.rust/traits.rs: New file.
3134 * gdb.rust/traits.exp: New file.
3135
3136 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3137
3138 * gdb.ada/minsyms: New testcase.
3139
3140 2017-11-16 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3143 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3144
3145 2017-11-16 Pedro Alves <palves@redhat.com>
3146
3147 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3148 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3149
3150 2017-11-16 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.server/reconnect-ctrl-c.c: New file.
3153 * gdb.server/reconnect-ctrl-c.exp: New file.
3154
3155 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3156
3157 * gdb.python/py-rbreak.exp: New file.
3158 * gdb.python/py-rbreak.c: New file.
3159 * gdb.python/py-rbreak-func2.c: New file.
3160
3161 2017-11-16 Pedro Alves <palves@redhat.com>
3162
3163 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3164 pattern.
3165 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3166 GDB.
3167
3168 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3169
3170 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3171 regex.
3172
3173 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3174
3175 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3176 test names.
3177
3178 2017-11-09 Pedro Alves <palves@redhat.com>
3179
3180 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3181 factored out from ...
3182 (top level): ... here, and adjusted to avoid expecting beyond the
3183 prompt in a single gdb_test_multiple.
3184
3185 2017-11-09 Pedro Alves <palves@redhat.com>
3186
3187 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3188 output.
3189 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3190 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3191 * gdb.server/ext-run.exp ("kill" test): Likewise.
3192 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3193
3194 2017-11-09 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3197 match till end of line.
3198
3199 2017-11-09 Pedro Alves <palves@redhat.com>
3200
3201 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3202
3203 2017-11-09 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3206 New procedures, factored out from ...
3207 (top level): ... here, and adjusted to avoid expecting beyond the
3208 prompt in one go.
3209
3210 2017-11-09 Pedro Alves <palves@redhat.com>
3211
3212 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3213 output. Fix '?' match.
3214
3215 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3216
3217 * gdb.ada/scoped_watch: New testcase.
3218 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3219 which is actually correct.
3220 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3221 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3222
3223 2017-11-08 Pedro Alves <palves@redhat.com>
3224
3225 * gdb.gdb/complaints.exp (test_initial_complaints)
3226 (test_serial_complaints, test_short_complaints): Call
3227 complaint_internal instead of complaint.
3228
3229 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3230
3231 * gdb.threads/tls-core.c: New file.
3232 * gdb.threads/tls-core.exp: Likewise.
3233
3234 2017-11-08 Pedro Alves <palves@redhat.com>
3235
3236 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3237 (p Exported_Capitalized): New test.
3238 (p exported_capitalized): New test.
3239
3240 2017-11-07 Pedro Alves <palves@redhat.com>
3241
3242 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3243
3244 2017-11-07 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3247 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3248 (disable_invalid, disable_inverted, disable_negative): New
3249 procedures.
3250 ("bad numbers"): New set of tests.
3251
3252 2017-11-07 Pedro Alves <palves@redhat.com>
3253
3254 * gdb.cp/ena-dis-br-range.exp: Add tests.
3255
3256 2017-11-07 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3259
3260 2017-11-07 Xavier Roirand <roirand@adacore.com>
3261 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.base/ena-dis-br.exp: Add reference to
3264 gdb.cp/ena-dis-br-range.exp.
3265 * gdb.cp/ena-dis-br-range.exp: New file.
3266 * gdb.cp/ena-dis-br-range.cc: New file.
3267
3268 2017-11-06 Pedro Alves <palves@redhat.com>
3269
3270 * gdb.base/attach-non-pgrp-leader.c: New.
3271 * gdb.base/attach-non-pgrp-leader.exp: New.
3272
3273 2017-11-06 Pedro Alves <palves@redhat.com>
3274
3275 * configure.ac: No longer check for termio.h and sgtty.h.
3276 * configure: Regenerate.
3277 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3278 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3279 Remove termio and sgtty code.
3280
3281 2017-11-03 Yao Qi <yao.qi@linaro.org>
3282
3283 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3284 in GDB is disabled.
3285
3286 2017-11-03 Yao Qi <yao.qi@linaro.org>
3287
3288 * gdb.python/py-thrhandle.exp: Skip it if python is not
3289 enabled.
3290
3291 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3292
3293 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3294 as a breakpoint command.
3295
3296 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3297
3298 PR python/21213
3299 * gdb.python/py-infthread.exp: Test calling
3300 InferiorThread.inferior () multiple times in a row.
3301
3302 2017-10-27 Keith Seitz <keiths@redhat.com>
3303
3304 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3305 Test "info break" for every inlined function breakpoint.
3306
3307 2017-10-27 Yao Qi <yao.qi@linaro.org>
3308
3309 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3310
3311 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3312
3313 * gdb.cp/classes.exp (test_static_members): Test printing
3314 Outer::instance.
3315 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3316 (Inner::instance, Outer::instance): New.
3317
3318 2017-10-24 Pedro Alves <palves@redhat.com>
3319
3320 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3321 extra console" test in two stages.
3322
3323 2017-10-24 Pedro Alves <palves@redhat.com>
3324
3325 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3326
3327 2017-10-24 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3330 loop.
3331
3332 2017-10-24 Pedro Alves <palves@redhat.com>
3333
3334 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3335 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3336
3337 2017-10-24 Pedro Alves <palves@redhat.com>
3338
3339 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3340 parameter and handle it. Don't output read value in test name.
3341
3342 2017-10-24 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3345 custom test name.
3346
3347 2017-10-24 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3350 include the unstable output directory name in the test's name.
3351 (initial_setup_simple) <'set args'>: Use custom test name.
3352
3353 2017-10-24 Pedro Alves <palves@redhat.com>
3354
3355 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3356 with explicit test name.
3357
3358 2017-10-20 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3361 'wait -i'. Use gdb_assert and remote_close.
3362
3363 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3364
3365 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3366 number from variable rather than hard-coded.
3367
3368 2017-10-19 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.base/long-inferior-output.c: New file.
3371 * gdb.base/long-inferior-output.exp: New file.
3372
3373 2017-11-18 Keith Seitz <keiths@redhat.com>
3374
3375 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3376 method.
3377 (main): Call it.
3378 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3379 Add additional user-defined conversion operator tests.
3380
3381 2017-10-17 Pedro Alves <palves@redhat.com>
3382
3383 * boards/native-stdio-gdbserver.exp: Load "local-board".
3384
3385 2017-10-17 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.base/quit-live.c: New file.
3388 * gdb.base/quit-live.exp: New file.
3389
3390 2017-10-16 Keith Seitz <keiths@redhat.com>
3391
3392 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3393 (class_with_protected_typedef, class_with_private_typedef)
3394 (struct_with_public_typedef, struct_with_protected_typedef)
3395 (struct_with_private_typedef): New classes/structs.
3396 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3397 typedefs and access specifiers.
3398
3399 2017-10-16 Pedro Alves <palves@redhat.com>
3400 Simon Marchi <simon.marchi@polymtl.ca>
3401
3402 * README (Local vs Remote vs Native): New section.
3403 * boards/local-board.exp: New file, with bits factored out from
3404 ...
3405 * boards/native-extended-gdbserver.exp: ... here. Load
3406 "local-board".
3407 * boards/native-gdbserver.exp: Load "local-board".
3408 (${board}_spawn, ${board}_exec): Delete.
3409 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3410 ...
3411 * boards/stdio-gdbserver-base.exp: ... this new file.
3412 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3413 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3414 procedure.
3415 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3416 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3417 stdio_gdbserver_command.
3418 (${board}_get_remote_address, ${board}_get_comm_port)
3419 (${board}_download, ${board}_upload): Delete.
3420 (get_target_remote_pipe_cmd): New.
3421
3422 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3423
3424 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3425 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3426 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3427 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3428 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3429 remove with_test_prefix.
3430
3431 2017-10-13 Pedro Alves <palves@redhat.com>
3432
3433 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3434 * gdb.base/annota1.exp: Use it instead of is_remote.
3435 * gdb.base/annota3.exp: Use it instead of is_remote.
3436 * gdb.cp/annota2.exp: Use it instead of is_remote.
3437 * gdb.cp/annota3.exp: Use it instead of is_remote.
3438 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3439
3440 2017-10-13 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3443 (test_num_test_vars, run_and_count_vars, find_env)
3444 (test_set_unset_env, test_inherit_env_var): New procedures.
3445 (top level): Use them.
3446
3447 2017-10-13 Pedro Alves <palves@redhat.com>
3448
3449 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3450 also skip on stub-like targets.
3451
3452 2017-10-13 Pedro Alves <palves@redhat.com>
3453
3454 PR gdb/22293
3455 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3456 (top level): Move some tests to ...
3457 (test_not_found): ... this new procedure.
3458 (top level): Call it.
3459
3460 2017-10-13 Pedro Alves <palves@redhat.com>
3461
3462 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3463 expect different "info terminal" output if testing with a
3464 non-native target.
3465
3466 2017-10-13 Pedro Alves <palves@redhat.com>
3467 Simon Marchi <simon.marchi@polymtl.ca>
3468
3469 PR python/12966
3470 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3471
3472 2017-10-13 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3475 already.
3476
3477 2017-10-13 Pedro Alves <palves@redhat.com>
3478
3479 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3480 is_remote.
3481
3482 2017-10-13 Pedro Alves <palves@redhat.com>
3483
3484 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3485 is_remote.
3486
3487 2017-10-13 Pedro Alves <palves@redhat.com>
3488
3489 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3490 is set.
3491 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3492 instead of is_remote.
3493
3494 2017-10-13 Pedro Alves <palves@redhat.com>
3495
3496 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3497 (top level): Add comment.
3498
3499 2017-10-13 Pedro Alves <palves@redhat.com>
3500
3501 * gdb.base/remote.exp (top level): Fix comment typo and add
3502 missing return.
3503
3504 2017-10-13 Pedro Alves <palves@redhat.com>
3505 Simon Marchi <simon.marchi@polymtl.ca>
3506
3507 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3508 calls and add comments. Skip test if use_gdb_stub is set.
3509 (top level): Use "set cwd" command instead of "cd" command.
3510
3511 2017-10-13 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3514 is_remote target check.
3515
3516 2017-10-13 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.base/scope.exp: Use build_executable + clean_restart +
3519 gdb_file_cmd instead of prepare_for_testing and no longer skip
3520 "before run" tests on is_remote target boards. Update comments.
3521 * boards/native-extended-gdbserver.exp
3522 (extended_gdbserver_load_last_file): New, factored out from ...
3523 (gdb_load): ... this. Move further below and add comment.
3524 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3525
3526 2017-10-12 Pedro Alves <palves@redhat.com>
3527
3528 * gdb.base/attach.exp: Remove references to gdb64.
3529 * gdb.base/dbx.exp: Remove references to gdb64.
3530
3531 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3532 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.base/label.exp: Remove is_remote target check.
3535
3536 2017-10-12 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/auvx.exp (coredir): Update comment.
3539 (top level) <core_works>: Use "set cwd" command instead of "cd"
3540 command.
3541
3542 2017-10-12 Pedro Alves <palves@redhat.com>
3543 Simon Marchi <simon.marchi@polymtl.ca>
3544
3545 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3546 target boards.
3547
3548 2017-10-12 Pedro Alves <palves@redhat.com>
3549 Simon Marchi <simon.marchi@polymtl.ca>
3550
3551 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3552 Instead skip if there's any gdb_protocol set.
3553
3554 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3555 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3558
3559 2017-10-12 Pedro Alves <palves@redhat.com>
3560 Simon Marchi <simon.marchi@polymtl.ca>
3561
3562 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3563 instead of on dejagnu remote boards.
3564
3565 2017-10-12 Pedro Alves <palves@redhat.com>
3566 Simon Marchi <simon.marchi@polymtl.ca>
3567
3568 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3569 checks. Use build_executable + clean_restart instead of
3570 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3571 of enabling non-stop after starting gdb.
3572
3573 2017-10-12 Pedro Alves <palves@redhat.com>
3574
3575 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3576 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3577 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3578 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3579
3580 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3581
3582 * gdb.arch/arc-tdesc-cpu.exp: New file.
3583 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3584
3585 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3586
3587 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3588
3589 2017-10-10 Pedro Alves <palves@redhat.com>
3590
3591 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3592 expect CLI output.
3593
3594 2017-10-10 Pedro Alves <palves@redhat.com>
3595
3596 * lib/selftest-support.exp (selftest_setup): Update for
3597 captured_command_loop's prototype change.
3598
3599 2017-10-09 Pedro Alves <palves@redhat.com>
3600
3601 Test both arch1=>arch2 and arch2=>arch1.
3602
3603 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3604 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3605 factored out to...
3606 (append_arch1_options, append_arch2_options, append_arch_options)
3607 (build_executables): New procedures.
3608 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3609 local.
3610 (top level): Add new 'first_arch' testing axis.
3611
3612 2017-10-09 Pedro Alves <palves@redhat.com>
3613
3614 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3615 (barrier): New.
3616 (thread_start, all_started): New functions.
3617 (main): Spawn new thread and wait until it is scheduled.
3618 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3619 option.
3620 (do_test): Add 'selected_thread' parameter. Run to all_started
3621 instead of main. Explicitly set the breakpoint at main. Switch
3622 to the SELECTED_THREAD thread.
3623 (top level): Test handling the exec event with either the main
3624 thread or the second thread selected.
3625
3626 2017-10-09 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3629 logic. Move STOP marker after the value checks.
3630 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3631 regexp.
3632
3633 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3634
3635 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3636
3637 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3638
3639 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3640 integer-to-dfp conversion.
3641 * gdb.base/dfp-test.exp: Likewise.
3642
3643 2017-10-04 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.multi/hangout.c: Include <unistd.h>.
3646 (hangout_loop): New function.
3647 (main): Call alarm. Call hangout_loop in a loop.
3648 * gdb.multi/hello.c: Include <unistd.h>.
3649 (hello_loop): New function.
3650 (main): Call alarm. Call hangout_loop in a loop.
3651 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3652 inferior with the other selected.
3653
3654 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3655
3656 * gdb.mi/list-thread-groups-available.exp: New file.
3657 * gdb.mi/list-thread-groups-available.c: New file.
3658
3659 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3660
3661 * gdb.base/set-cwd.exp: Make it available on
3662 native-extended-gdbserver.
3663
3664 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3665
3666 * gdb.base/set-cwd.c: New file.
3667 * gdb.base/set-cwd.exp: Likewise.
3668
3669 2017-10-02 Tom Tromey <tom@tromey.com>
3670
3671 PR rust/22236:
3672 * gdb.rust/simple.rs (main): New variable "fslice".
3673 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3674
3675 2017-10-02 Tom Tromey <tom@tromey.com>
3676
3677 * gdb.rust/simple.exp: Test ptype of a slice.
3678
3679 2017-10-02 Tom Tromey <tom@tromey.com>
3680
3681 * gdb.rust/simple.exp: Test index of slice.
3682
3683 2017-09-27 Tom Tromey <tom@tromey.com>
3684
3685 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3686
3687 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3688 Pedro Alves <palves@redhat.com>
3689
3690 * gdb.base/compare-sections.exp (get value of read-only section): Read
3691 as unsigned value.
3692 (corrupt read-only section): Likewise and don't set written if patching
3693 failed.
3694
3695 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3696
3697 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3698 files.
3699
3700 2017-09-20 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3703 symbol names in gdb's output.
3704 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3705
3706 2017-09-20 Pedro Alves <palves@redhat.com>
3707
3708 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3709 Rename to ...
3710 (test_list_ambiguous_symbol): ... this and add a symbol name
3711 parameter. Adjust.
3712 (test_list_ambiguous_function): Reimplement on top of
3713 test_list_ambiguous_symbol and also test listing ambiguous
3714 variables.
3715 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3716 (ambiguous_fun): ... this.
3717 (ambiguous_var): New.
3718 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3719 (ambiguous_fun): ... this.
3720 (ambiguous_var): New.
3721
3722 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3723
3724 * gdb.base/starti.c: New file.
3725 * gdb.base/starti.exp: New file.
3726 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3727
3728 2017-09-14 Pedro Alves <palves@redhat.com>
3729
3730 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3731 (top level): Use it instead of runto.
3732
3733 2017-09-11 Tom Tromey <tom@tromey.com>
3734
3735 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3736
3737 2017-09-11 Tom Tromey <tom@tromey.com>
3738
3739 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3740 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3741
3742 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3743
3744 * gdb.fortran/printing-types.exp: New file.
3745 * gdb.fortran/printing-types.exp: New file.
3746
3747 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3748
3749 * gdb.fortran/vla-ptype.exp: Fix typos.
3750 * gdb.fortran/vla-value.exp: Same.
3751
3752 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3753
3754 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3755 * gdb.mi/mi-var-child-f.exp: Likewise.
3756 * gdb.mi/mi-vla-fortran.exp: Likewise.
3757
3758 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3759 Christoph Weinmann <christoph.t.weinmann@intel.com>
3760 Bernhard Heckel <bernhard.heckel@intel.com>
3761
3762 * gdb.fortran/ptr-indentation.f90: New file.
3763 * gdb.fortran/ptr-indentation.exp: New file.
3764
3765 2017-09-05 Tom Tromey <tom@tromey.com>
3766
3767 PR gdb/22010:
3768 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3769
3770 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3771
3772 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3773
3774 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3775
3776 * gdb.threads/tls-nodebug-pie.c: New file.
3777 * gdb.threads/tls-nodebug-pie.exp: New file.
3778
3779 2017-09-05 Tom Tromey <tom@tromey.com>
3780
3781 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3782 for rust.
3783
3784 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3785
3786 * gdb.multi/multi-arch-exec.exp: Test with different
3787 "follow-exec-mode" settings.
3788 (do_test): New procedure.
3789
3790 2017-09-04 Pedro Alves <palves@redhat.com>
3791
3792 * gdb.base/func-static.c (S::method const, S::method volatile)
3793 (S::method volatile const): New methods.
3794 (c_s, v_s, cv_s): New instances.
3795 (main): Call method() on them.
3796 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3797 (cannot_resolve): New procedure.
3798 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3799 print-quote-unquoted columns.
3800 (do_test): Test printing each scope too.
3801
3802 2017-09-04 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.base/local-static.exp: Also test with
3805 class::method::variable wholly quoted.
3806 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3807
3808 2017-09-04 Pedro Alves <palves@redhat.com>
3809
3810 * gdb.base/local-static.c: New.
3811 * gdb.base/local-static.cc: New.
3812 * gdb.base/local-static.exp: New.
3813
3814 2017-09-04 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.asm/asm-source.exp: Add casts to int.
3817 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3818 (dataglobal64_1, dataglobal64_2): New globals.
3819 * gdb.base/nodebug.exp: Test different expressions involving the
3820 new globals, with print, whatis and ptype. Add casts to int.
3821 * gdb.base/solib-display.exp: Add casts to int.
3822 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3823 * gdb.cp/m-static.exp: Add cast to int.
3824 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3825 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3826 tls variable with no debug info without a cast. Test with a cast
3827 to int too.
3828 * gdb.trace/entry-values.exp: Add casts.
3829
3830 2017-09-04 Pedro Alves <palves@redhat.com>
3831
3832 * gdb.base/nodebug.exp: Test that ptype's error about functions
3833 with unknown return type includes the function name too.
3834
3835 2017-09-04 Pedro Alves <palves@redhat.com>
3836
3837 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3838 return type of munmap in infcall.
3839 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3840 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3841 type of ftell in infcall.
3842 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3843 type of getpid in infcall.
3844 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3845 infcall.
3846 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3847 Bail on failure to extract the pid.
3848 * gdb.base/nodebug.c: #include <stdint.h>.
3849 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3850 New functions.
3851 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3852 Change expected output of print/whatis/ptype with functions with
3853 no debug info. Test all supported languages. Call
3854 test_call_promotion.
3855 * gdb.compile/compile.exp: Adjust expected output to expect
3856 warning.
3857 * gdb.threads/siginfo-threads.exp: Likewise.
3858
3859 2017-09-04 Pedro Alves <palves@redhat.com>
3860
3861 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3862 "prototypes". Test calling float functions via prototyped and
3863 unprototyped function pointers.
3864 (perform_all_tests): New parameter "prototypes". Pass it down.
3865 (top level): Pass down "prototypes" parameter to
3866 perform_all_tests.
3867
3868 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3869
3870 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3871 Test with nested loops.
3872
3873 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3874
3875 * gdb.base/commands.exp: Call the new procedures.
3876 (loop_break_test, loop_continue_test): New procedures.
3877
3878 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3879
3880 * gdb.base/commands.exp: Call new procedure.
3881 (define_if_without_arg_test): New procedure.
3882
3883 2017-09-04 Pedro Alves <palves@redhat.com>
3884
3885 * gdb.base/list-ambiguous.exp: New file.
3886 * gdb.base/list-ambiguous0.c: New file.
3887 * gdb.base/list-ambiguous1.c: New file.
3888 * gdb.base/list.exp (test_list_range): Adjust expected output.
3889
3890 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3891
3892 * gdb.base/share-env-with-gdbserver.c: New file.
3893 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3894
3895 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3896
3897 * gdb.base/commands.exp (gdbvar_simple_if_test,
3898 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3899 progvar_simple_if_test, progvar_simple_while_test,
3900 progvar_complex_if_while_test, user_defined_command_test,
3901 user_defined_command_args_eval,
3902 user_defined_command_args_stack_test,
3903 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3904 temporary_breakpoint_commands,
3905 gdb_test_no_prompt, redefine_hook_test,
3906 redefine_backtrace_test): Remove "global gdb_prompt".
3907
3908 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3909
3910 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3911 New proc, call it from toplevel.
3912
3913 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3914
3915 PR remote/21852
3916 * gdb.server/normal.c: New file, copied from gdb.base.
3917 * gdb.server/run-without-local-binary.exp: New file.
3918
3919 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3920
3921 * gdb.arch/sparc64-adi.exp: New file.
3922 * gdb.arch/sparc64-adi.c: New file.
3923
3924 2017-08-22 Pedro Alves <palves@redhat.com>
3925
3926 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3927 (top level): Add "list all overloads" tests.
3928
3929 2017-08-22 Tom Tromey <tom@tromey.com>
3930
3931 * gdb.gdb/xfullpath.exp: Remove.
3932
3933 2017-08-21 Pedro Alves <palves@redhat.com>
3934
3935 PR gdb/19487
3936 * gdb.base/symbol-alias.c: New.
3937 * gdb.base/symbol-alias2.c: New.
3938 * gdb.base/symbol-alias.exp: New.
3939
3940 2017-08-21 Pedro Alves <palves@redhat.com>
3941
3942 * gdb.base/dfp-test.c
3943 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3944 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3945 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3946 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3947 * gdb.base/whatis-ptype-typedefs.c: New.
3948 * gdb.base/whatis-ptype-typedefs.exp: New.
3949 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3950 (an_int, an_int_type, an_int_type2): New globals.
3951 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3952 involving typedefs and cast expressions.
3953 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3954 (lookup_typedefs_function): New.
3955 (typedefs_pretty_printers_dict): New.
3956 (top level): Register lookup_typedefs_function in
3957 gdb.pretty_printers.
3958
3959 2017-08-18 Yao Qi <yao.qi@linaro.org>
3960
3961 * gdb.server/unittest.exp: New.
3962
3963 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3964
3965 PR gdb/21954
3966 * gdb.base/environ.exp: Add test to check if 'unset environment'
3967 works.
3968
3969 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3970
3971 * lib/gdb.exp (universal_compile_options): New caching proc.
3972 (gdb_compile): Suppress GCC's coloring of messages.
3973
3974 2017-08-14 Tom Tromey <tom@tromey.com>
3975
3976 PR gdb/21675:
3977 * gdb.base/printcmds.exp (test_radices): New function.
3978 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3979 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3980 * lib/gdb.exp (get_integer_valueof): Use p/d.
3981
3982 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3983
3984 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3985 characters.
3986
3987 2017-08-05 Tom Tromey <tom@tromey.com>
3988
3989 * gdb.rust/simple.exp: Allow String to appear in a different
3990 namespace.
3991
3992 2017-07-26 Yao Qi <yao.qi@linaro.org>
3993
3994 * gdb.gdb/unittest.exp: Invoke command
3995 "maintenance check xml-descriptions".
3996
3997 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3998
3999 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4000 calling context.
4001 (hex128): Drop erroneous calculation of parameters.
4002
4003 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4004
4005 * gdb.python/py-unwind.exp: Disable stack protection when
4006 building test file.
4007
4008 2017-07-20 Pedro Alves <palves@redhat.com>
4009
4010 * gdb.base/default.exp (set language): Adjust expected output.
4011
4012 2017-07-20 Pedro Alves <palves@redhat.com>
4013
4014 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4015 (test_minsym): ... this, and make static.
4016 (get_pck__foo__bar__minsym): Rename to ...
4017 (get_test_minsym): ... this.
4018 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4019 symbol names and comments.
4020 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4021 (get_test_minsym): ... this.
4022 (pck__foo__bar__minsym__2): Rename to ...
4023 (test_minsym): ... this.
4024 (main): Adjust.
4025
4026 2017-07-17 Pedro Alves <palves@redhat.com>
4027
4028 * gdb.base/completion.exp: Adjust expected output.
4029 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4030 the completer works.
4031
4032 2017-07-17 Pedro Alves <palves@redhat.com>
4033
4034 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4035
4036 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4037
4038 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4039
4040 2017-07-14 Tom Tromey <tom@tromey.com>
4041
4042 PR rust/21764:
4043 * gdb.rust/simple.exp: Add tests.
4044
4045 2017-07-14 Tom Tromey <tom@tromey.com>
4046
4047 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4048
4049 2017-07-14 Pedro Alves <palves@redhat.com>
4050
4051 * gdb.linespec/base/one/thefile.cc (z1): New function.
4052 * gdb.linespec/base/two/thefile.cc (z2): New function.
4053 * gdb.linespec/linespec.exp: Add tests.
4054
4055 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4056
4057 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4058 to mi_create_breakpoint.
4059
4060 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4061
4062 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4063 mi_create_breakpoint.
4064
4065 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4066
4067 * gdb.dlang/demangle.exp: Update for demangling changes.
4068
4069 2017-07-09 Tom Tromey <tom@tromey.com>
4070
4071 * gdb.dwarf2/shortpiece.exp: New file.
4072
4073 2017-07-06 David Blaikie <dblaikie@gmail.com>
4074
4075 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4076 built from fissiont-multi-cu{1,2}.c.
4077 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4078 except putting 'main' and 'func' in separate CUs in the same DWO file.
4079 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4080 test.
4081 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4082 test.
4083
4084 2017-07-06 Pedro Alves <palves@redhat.com>
4085
4086 * gdb.python/py-unwind.exp: Test flushregs.
4087
4088 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4089
4090 PR cli/21688
4091 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4092 tests for alias commands and trailing whitespace.
4093
4094 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4095
4096 PR cli/21688
4097 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4098 procedure. Call it.
4099
4100 2017-06-29 Pedro Alves <palves@redhat.com>
4101
4102 * gdb.base/printcmds.exp: Add tests.
4103
4104 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4105
4106 PR gdb/21337
4107 * gdb.base/reread-readsym.exp: New file.
4108 * gdb.base/reread-readsym.c: New file.
4109
4110 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4111
4112 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4113 subpattern.
4114
4115 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4116
4117 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4118 extended mnemonic.
4119 * gdb.arch/powerpc-power9.s: Likewise.
4120
4121 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4122
4123 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4124 on 32-bit x86 targets. Exploit is_*_target macros where
4125 appropriate.
4126
4127 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4128
4129 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4130 register pieces.
4131
4132 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4133
4134 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4135 located in one or more DWARF pieces.
4136
4137 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4138
4139 * lib/gdb.exp (get_endianness): New proc.
4140 * gdb.arch/aarch64-fp.exp: Use it.
4141 * gdb.arch/altivec-regs.exp: Likewise.
4142 * gdb.arch/e500-regs.exp: Likewise.
4143 * gdb.arch/vsx-regs.exp: Likewise.
4144 * gdb.base/dump.exp: Likewise.
4145 * gdb.base/funcargs.exp: Likewise.
4146 * gdb.base/gnu_vector.exp: Likewise.
4147 * gdb.dwarf2/formdata16.exp: Likewise.
4148 * gdb.dwarf2/implptrpiece.exp: Likewise.
4149 * gdb.dwarf2/nonvar-access.exp: Likewise.
4150 * gdb.python/py-inferior.exp: Likewise.
4151 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4152
4153 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4154
4155 PR gdb/21226
4156 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4157 stack value pieces are taken from the LSB end.
4158
4159 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4160
4161 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4162 variable at nonzero offset.
4163
4164 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4165
4166 * gdb.dwarf2/var-access.c: New file.
4167 * gdb.dwarf2/var-access.exp: New test.
4168 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4169
4170 2017-06-12 Tom Tromey <tom@tromey.com>
4171
4172 * gdb.dwarf2/formdata16.exp: Add tests.
4173
4174 2017-06-12 Tom Tromey <tom@tromey.com>
4175
4176 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4177
4178 2017-06-12 Tom Tromey <tom@tromey.com>
4179
4180 PR exp/16225:
4181 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4182 * gdb.arch/vsx-regs.exp: Update tests.
4183 * gdb.arch/s390-vregs.exp (hex128): New proc.
4184 Update test.
4185 * gdb.arch/altivec-regs.exp: Update tests.
4186
4187 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4188
4189 * gdb.base/startup-with-shell.c: New file.
4190 * gdb.base/startup-with-shell.exp: Likewise.
4191
4192 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4193
4194 * gdb.server/non-existing-program.exp: Update regex in order to
4195 reflect the fact that gdbserver is now using fork_inferior (with a
4196 shell) to startup the inferior.
4197
4198 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4199
4200 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4201 support function calls from GDB.
4202
4203 2017-05-21 Tom Tromey <tom@tromey.com>
4204
4205 PR rust/21466:
4206 * gdb.rust/unsized.exp: New file.
4207 * gdb.rust/unsized.rs: New file.
4208
4209 2017-05-19 Tom Tromey <tom@tromey.com>
4210
4211 PR rust/21484:
4212 * gdb.rust/watch.exp: New file.
4213 * gdb.rust/watch.rs: New file.
4214
4215 2017-05-18 Tom Tromey <tom@tromey.com>
4216
4217 * gdb.rust/simple.exp: Allow Box to be qualified.
4218
4219 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4220
4221 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4222
4223 2017-05-18 Pedro Alves <palves@redhat.com>
4224
4225 * gdb.base/fileio.c (test_write, test_read, test_close)
4226 (test_fstat): Don't print 'ret' in the fail path.
4227
4228 2017-05-18 Pedro Alves <palves@redhat.com>
4229
4230 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4231 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4232 (test_system, test_rename, test_unlink, test_time): Change
4233 prototypes.
4234 * gdb.base/fileio.exp (stop_msg): Adjust.
4235
4236 2017-05-18 Pedro Alves <palves@redhat.com>
4237
4238 * gdb.base/fileio.c (null_str): New global.
4239 (test_stat): Use it.
4240 * gdb.base/fileio.exp: Remove nowarnings.
4241
4242 2017-05-17 Yao Qi <yao.qi@linaro.org>
4243
4244 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4245
4246 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4247
4248 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4249 argument command.
4250 (top-level): Invoke test_set_inferior_tty.
4251
4252 2017-05-04 Pedro Alves <palves@redhat.com>
4253
4254 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4255 Add parens to print call for Python 3.
4256
4257 2017-05-03 Keith Seitz <keiths@redhat.com>
4258
4259 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4260 (main): Call it.
4261
4262 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4263
4264 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4265 to prev and next.
4266
4267 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4268
4269 * gdb.python/py-record-btrace.exp: Remove test for
4270 gdb.BtraceInstruction.error.
4271
4272 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4273
4274 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4275
4276 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4277
4278 * gdb.python/py-record-btrace-threads.c: New file.
4279 * gdb.python/py-record-btrace-threads.exp: New file.
4280
4281 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4282
4283 PR testsuite/8595
4284 * gdb.base/environ.exp: Make test available in all architectures.
4285 Move bits related to "info program" testing to
4286 gdb.base/info-program.exp. Rewrite tests to use the two new
4287 procedures mentione below.
4288 (test_set_show_env_var) New procedure.
4289 (test_set_show_env_var_equal): Likewise.
4290 * gdb.base/info-program.exp: New file.
4291
4292 2017-04-27 Keith Seitz <keiths@redhat.com>
4293
4294 * gdb.cp/oranking.cc (test15): New function.
4295 (main): Call test15 and declare additional variables for testing.
4296 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4297 "p foo101('abc')" tests.
4298 Add tests for cv qualifier overloads.
4299 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4300 "lvalue reference overload" test.
4301 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4302 "print value of f1 on Child&& in f2" test.
4303
4304 2017-04-19 Pedro Alves <palves@redhat.com>
4305
4306 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4307 procedure.
4308 (top level): Call it.
4309 * lib/gdb.exp (gdb_define_cmd): New procedure.
4310
4311 2017-04-12 Pedro Alves <palves@redhat.com>
4312
4313 PR gdb/21323
4314 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4315 (wchar): New global.
4316 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4317 (do_test_wide_char, wide_char_types_no_program, top level): Add
4318 wchar_t testing.
4319
4320 2017-04-12 Pedro Alves <palves@redhat.com>
4321
4322 PR c++/21323
4323 * gdb.cp/wide_char_types.c: New file.
4324 * gdb.cp/wide_char_types.exp: New file.
4325
4326 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4327
4328 PR gdb/21352
4329 * gdb.trace/tsv.exp: Add test for "tsave -r".
4330
4331 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4332
4333 * gdb.dlang/watch-loc.c: New file.
4334 * gdb.dlang/watch-loc.exp: New file.
4335
4336 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4337
4338 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4339
4340 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4341
4342 * gdb.arch/arc-analyze-prologue.S: New file.
4343 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4344
4345 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4346
4347 * gdb.arch/arc-decode-insn.S: New file.
4348 * gdb.arch/arc-decode-insn.exp: Likewise.
4349
4350 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4351
4352 PR tdep/20928
4353 * gdb.arch/sparc64-regs.exp: New file.
4354 * gdb.arch/sparc64-regs.S: Likewise.
4355
4356 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4357
4358 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4359 and memory view on Python 3.
4360
4361 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4362 Keith Seitz <keiths@redhat.com>
4363
4364 PR gdb/14441
4365 * gdb.cp/demangle.exp: Add rvalue reference tests.
4366 * gdb.cp/rvalue-ref-casts.cc: New file.
4367 * gdb.cp/rvalue-ref-casts.exp: New file.
4368 * gdb.cp/rvalue-ref-overload.cc: New file.
4369 * gdb.cp/rvalue-ref-overload.exp: New file.
4370 * gdb.cp/rvalue-ref-params.cc: New file.
4371 * gdb.cp/rvalue-ref-params.exp: New file.
4372 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4373 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4374 * gdb.cp/rvalue-ref-types.cc: New file.
4375 * gdb.cp/rvalue-ref-types.exp: New file.
4376 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4377 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4378
4379 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4380
4381 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4382 New procedure.
4383
4384 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4385
4386 * lib/mi-support.exp (mi_gdb_test): Add additional message
4387 for unexpected output.
4388
4389 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4390
4391 * gdb.base/examine-backward.c (Barrier): New character array
4392 constant, to ensure that TestStrings is preceded by a string
4393 terminator.
4394
4395 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4396
4397 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4398 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4399 and implicit pointer into such a location.
4400
4401 2017-03-16 Doug Evans <dje@google.com>
4402
4403 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4404
4405 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4406
4407 * gdb.cp/m-static.exp: Fix expectation for prototype of
4408 test5.single_constructor and single_constructor::single_constructor.
4409
4410 2017-03-16 Doug Evans <dje@google.com>
4411
4412 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4413 * gdb.guile/scm-lazy-string.c: New file.
4414 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4415 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4416 for pointer, array, typedef lazy strings.
4417
4418 2017-03-16 Doug Evans <dje@google.com>
4419
4420 PR python/17728, python/18439, python/18779
4421 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4422 * gdb.python/py-lazy-string.c (pointer): New typedef.
4423 (main): New locals ptr, array, typedef_ptr.
4424 * gdb.python/py-value.exp: Move lazy string tests to ...
4425 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4426 array, typedef lazy strings.
4427
4428 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4429
4430 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4431 Add optional 'test' parameter.
4432
4433 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4434
4435 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4436 Skip for versions of DejaGnu < 1.5.
4437
4438 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4439
4440 * lib/gdb.exp (dejagnu_version): New proc.
4441 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4442 Use dejagnu_version.
4443
4444 2017-03-10 Keith Seitz <keiths@redhat.com>
4445
4446 PR c++/8128
4447 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4448 type from destructor regexps.
4449 Add a branch which actually passes the test.
4450 Adjust "ptype t5i" test names.
4451
4452 2017-03-08 Pedro Alves <palves@redhat.com>
4453
4454 * gdb.base/step-over-exit.exp: Add explicit test message.
4455
4456 2017-03-08 Pedro Alves <palves@redhat.com>
4457
4458 PR gdb/18360
4459 * gdb.threads/interrupt-while-step-over.c: New file.
4460 * gdb.threads/interrupt-while-step-over.exp: New file.
4461
4462 2017-03-08 Pedro Alves <palves@redhat.com>
4463
4464 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4465 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4466
4467 2017-03-08 Pedro Alves <palves@redhat.com>
4468
4469 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4470 PKRU as not supported as a PASS.
4471
4472 2017-03-08 Pedro Alves <palves@redhat.com>
4473
4474 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4475 prefix instead of $binfile1/$binfile2.
4476 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4477 in test message.
4478 * gdb.python/py-completion.exp: Use "load python file" as test
4479 messages instead of unstable path names.
4480
4481 2017-03-08 Pedro Alves <palves@redhat.com>
4482 Jan Kratochvil <jan.kratochvil@redhat.com>
4483
4484 PR cli/21218
4485 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4486 New proc.
4487 (top level): Call it.
4488
4489 2017-03-08 Pedro Alves <palves@redhat.com>
4490
4491 PR tui/21216
4492 * gdb.tui/tui-nl-filtered-output.exp: New file.
4493
4494 2017-03-08 Pedro Alves <palves@redhat.com>
4495
4496 * gdb.base/completion.exp: Move TUI completion tests to ...
4497 * gdb.tui/completion.exp: ... this new file.
4498
4499 2017-03-08 Pedro Alves <palves@redhat.com>
4500
4501 * gdb.base/tui-disasm-long-lines.c,
4502 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4503 gdb.base/tui-layout.exp: Move to ...
4504 * gdb.tui/: ... this new directory.
4505
4506 2017-03-07 Pedro Alves <palves@redhat.com>
4507
4508 * gdb.base/tui-layout.c: New file.
4509 * gdb.base/tui-layout.exp: New file.
4510
4511 2017-03-07 Pedro Alves <palves@redhat.com>
4512
4513 * gdb.base/tui-layout.c: Rename to ...
4514 * gdb.base/tui-disasm-long-lines.c: ... this.
4515 * gdb.base/tui-layout.exp: Rename to ...
4516 * gdb.base/tui-disasm-long-lines.exp: ... this.
4517
4518 2017-03-07 Pedro Alves <palves@redhat.com>
4519
4520 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4521
4522 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4523
4524 * i386-mpx-call.c: New file.
4525 * i386-mpx-call.exp: New file.
4526
4527 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4528
4529 * gdb.arch/powerpc-power.exp: Delete test.
4530 * gdb.arch/powerpc-power.s: Likewise.
4531 * gdb.disasm/disassembler-options.exp: New test.
4532 * gdb.arch/powerpc-altivec.exp: Likewise.
4533 * gdb.arch/powerpc-altivec.s: Likewise.
4534 * gdb.arch/powerpc-altivec2.exp: Likewise.
4535 * gdb.arch/powerpc-altivec2.s: Likewise.
4536 * gdb.arch/powerpc-altivec3.exp: Likewise.
4537 * gdb.arch/powerpc-altivec3.s: Likewise.
4538 * gdb.arch/powerpc-power7.exp: Likewise.
4539 * gdb.arch/powerpc-power7.s: Likewise.
4540 * gdb.arch/powerpc-power8.exp: Likewise.
4541 * gdb.arch/powerpc-power8.s: Likewise.
4542 * gdb.arch/powerpc-power9.exp: Likewise.
4543 * gdb.arch/powerpc-power9.s: Likewise.
4544 * gdb.arch/powerpc-vsx.exp: Likewise.
4545 * gdb.arch/powerpc-vsx.s: Likewise.
4546 * gdb.arch/powerpc-vsx2.exp: Likewise.
4547 * gdb.arch/powerpc-vsx2.s: Likewise.
4548 * gdb.arch/powerpc-vsx3.exp: Likewise.
4549 * gdb.arch/powerpc-vsx3.s: Likewise.
4550 * gdb.arch/arm-disassembler-options.exp: Likewise.
4551 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4552 * gdb.arch/s390-disassembler-options.exp: Likewise.
4553
4554 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4555
4556 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4557 (check_supported_features): ... this. Changed return type to void.
4558 (supports_rdseed): New static global.
4559 (rdseed): Check supports_rdseed.
4560 (initialize): Call check_supported_features.
4561
4562 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4563
4564 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4565 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4566 and lqarx/stqcx.
4567 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4568 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4569
4570 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4571
4572 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4573 uppercase.
4574
4575 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4576
4577 * gdb.dwarf2/formdata16.c: New file.
4578 * gdb.dwarf2/formdata16.exp: New file.
4579 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4580
4581 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4582
4583 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4584 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4585 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4586 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4587 DW_AT_GNU_*.
4588
4589 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4590
4591 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4592
4593 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4594
4595 PR gdb/21164
4596 * gdb.base/maint.exp: Add testcases for when the commands do
4597 not have arguments.
4598
4599 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4600
4601 * gdb.cp/chained-calls.exp: Use p instead of P.
4602
4603 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4604
4605 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4606 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4607
4608 2017-02-14 Tom Tromey <tom@tromey.com>
4609
4610 PR python/13598:
4611 * gdb.python/py-events.exp: Add before_prompt event tests.
4612
4613 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4614
4615 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4616
4617 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4618
4619 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4620 (main): Call my_unique_function_name.
4621 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4622 completion of patterns with a single match.
4623 Add missing -re switches to gdb_test_multiple calls.
4624
4625 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4626
4627 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4628 return if core file is not recognized.
4629
4630 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4631
4632 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4633 and extra UIs.
4634
4635 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4636
4637 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4638 proc_with_prefix.
4639
4640 2017-02-10 Tom Tromey <tom@tromey.com>
4641
4642 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4643
4644 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4645
4646 PR gdb/21122
4647 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4648
4649 2017-02-08 Jerome Guitton <guitton@adacore.com>
4650
4651 * gdb.base/define.exp: Add test for command abbreviations
4652 in define.
4653
4654 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4655
4656 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4657 * gdb.reverse/insn-reverse-x86.c: New file.
4658
4659 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4660
4661 PR tdep/20936
4662 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4663
4664 2017-02-03 Tom Tromey <tom@tromey.com>
4665
4666 PR rust/21097:
4667 * gdb.rust/simple.exp: Add new tests.
4668
4669 2017-02-02 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4672 tests.
4673
4674 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4675
4676 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4677 taking a 2-byte value out of a 4-byte DWARF implicit value on
4678 big-endian targets.
4679 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4680 logic. Add test cases for DW_OP_implicit.
4681
4682 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4683
4684 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4685
4686 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4687
4688 * gdb.btrace/enable.exp: Call gdb_exit before
4689 skip_gdbserver_tests.
4690
4691 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4692
4693 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4694 GDBFLAGS.
4695
4696 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4697
4698 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4699 the test is skipped.
4700 * gdb.btrace/data.exp: Likewise.
4701 * gdb.btrace/delta.exp: Likewise.
4702 * gdb.btrace/dlopen.exp: Likewise.
4703 * gdb.btrace/enable-running.exp: Likewise.
4704 * gdb.btrace/enable.exp: Likewise.
4705 * gdb.btrace/exception.exp: Likewise.
4706 * gdb.btrace/function_call_history.exp: Likewise.
4707 * gdb.btrace/gcore.exp: Likewise.
4708 * gdb.btrace/instruction_history.exp: Likewise.
4709 * gdb.btrace/multi-thread-step.exp: Likewise.
4710 * gdb.btrace/nohist.exp: Likewise.
4711 * gdb.btrace/non-stop.exp: Likewise.
4712 * gdb.btrace/reconnect.exp: Likewise.
4713 * gdb.btrace/record_goto-step.exp: Likewise.
4714 * gdb.btrace/record_goto.exp: Likewise.
4715 * gdb.btrace/rn-dl-bind.exp: Likewise.
4716 * gdb.btrace/segv.exp: Likewise.
4717 * gdb.btrace/step.exp: Likewise.
4718 * gdb.btrace/stepi.exp: Likewise.
4719 * gdb.btrace/tailcall-only.exp: Likewise.
4720 * gdb.btrace/tailcall.exp: Likewise.
4721 * gdb.btrace/tsx.exp: Likewise.
4722 * gdb.btrace/unknown_functions.exp: Likewise.
4723 * gdb.btrace/vdso.exp: Likewise.
4724
4725 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4726
4727 * gdb.btrace/enable-running.c: New.
4728 * gdb.btrace/enable-running.exp: New.
4729
4730 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4731
4732 * gdb.arch/amd64-gs_base.c: New file.
4733 * gdb.arch/amd64-gs_base.exp: New file.
4734
4735 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4736
4737 * lib/memory.exp: Remove spurious empty newlines.
4738
4739 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4740
4741 * gdb.python/py-bad-printers.exp: Load python file using "source".
4742 * gdb.python/py-events.exp: Likewise.
4743 * gdb.python/py-evsignal.exp: Likewise.
4744 * gdb.python/py-evthreads.exp: Likewise.
4745 * gdb.python/py-frame-args.exp: Likewise.
4746 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4747 * gdb.python/py-framefilter-mi.exp: Likewise.
4748 * gdb.python/py-framefilter.exp: Likewise.
4749 * gdb.python/py-mi.exp: Likewise.
4750 * gdb.python/py-pp-maint.exp: Likewise.
4751 * gdb.python/py-pp-registration.exp: Likewise.
4752 * gdb.python/py-prettyprint.exp: Likewise.
4753 (run_lang_tests): Likewise.
4754 * gdb.python/py-typeprint.exp: Likewise.
4755
4756 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4757
4758 * lib/memory.exp: New file.
4759 * lib/gdb.exp: Load memory.exp.
4760 * gdb.base/memattr.exp (delete_memory): Move proc to
4761 lib/memory.exp and rename to delete_memory_regions.
4762 Replace delete_memory with delete_memory_regions.
4763 Cleanup memory regions before tests.
4764 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4765 before tests.
4766
4767 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4768
4769 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4770 files.
4771 (initialize): New function conditionally defined.
4772 (testcases): Move within conditional block.
4773 (main): Call initialize.
4774 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4775 of gdb.reverse/insn-reverse.c.
4776 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4777 gdb.reverse/insn-reverse.c.
4778
4779 2017-01-26 Yao Qi <yao.qi@linaro.org>
4780
4781 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4782 disassemble on address 0.
4783
4784 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4785 Yao Qi <yao.qi@linaro.org>
4786
4787 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4788 * gdb.dwarf2/implptr-64bit.S: Remove.
4789 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4790 variables in caller's context. Add DW_OP_implicit_value.
4791
4792 2017-01-25 Yao Qi <yao.qi@linaro.org>
4793
4794 * lib/dwarf.exp (Dwarf::_location): Handle
4795 DW_OP_GNU_implicit_pointer with proper size.
4796
4797 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4798
4799 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4800 and add untested calls.
4801
4802 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4803
4804 * gdb.python/python.exp: Check line number against what GDB thinks
4805 the line number is for func1.
4806
4807 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4808
4809 * gdb.dlang/debug-expr.exp: New file.
4810
4811 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4812
4813 Fix test names for the following files:
4814
4815 * gdb.ada/exec_changed.exp
4816 * gdb.ada/info_types.exp
4817 * gdb.arch/aarch64-atomic-inst.exp
4818 * gdb.arch/aarch64-fp.exp
4819 * gdb.arch/altivec-abi.exp
4820 * gdb.arch/altivec-regs.exp
4821 * gdb.arch/amd64-byte.exp
4822 * gdb.arch/amd64-disp-step.exp
4823 * gdb.arch/amd64-dword.exp
4824 * gdb.arch/amd64-entry-value-inline.exp
4825 * gdb.arch/amd64-entry-value-param.exp
4826 * gdb.arch/amd64-entry-value-paramref.exp
4827 * gdb.arch/amd64-entry-value.exp
4828 * gdb.arch/amd64-i386-address.exp
4829 * gdb.arch/amd64-invalid-stack-middle.exp
4830 * gdb.arch/amd64-invalid-stack-top.exp
4831 * gdb.arch/amd64-optimout-repeat.exp
4832 * gdb.arch/amd64-prologue-skip.exp
4833 * gdb.arch/amd64-prologue-xmm.exp
4834 * gdb.arch/amd64-stap-special-operands.exp
4835 * gdb.arch/amd64-stap-wrong-subexp.exp
4836 * gdb.arch/amd64-tailcall-cxx.exp
4837 * gdb.arch/amd64-tailcall-noret.exp
4838 * gdb.arch/amd64-tailcall-ret.exp
4839 * gdb.arch/amd64-tailcall-self.exp
4840 * gdb.arch/amd64-word.exp
4841 * gdb.arch/arm-bl-branch-dest.exp
4842 * gdb.arch/arm-disp-step.exp
4843 * gdb.arch/arm-neon.exp
4844 * gdb.arch/arm-single-step-kernel-helper.exp
4845 * gdb.arch/avr-flash-qualifier.exp
4846 * gdb.arch/disp-step-insn-reloc.exp
4847 * gdb.arch/e500-abi.exp
4848 * gdb.arch/e500-regs.exp
4849 * gdb.arch/ftrace-insn-reloc.exp
4850 * gdb.arch/i386-avx512.exp
4851 * gdb.arch/i386-bp_permanent.exp
4852 * gdb.arch/i386-byte.exp
4853 * gdb.arch/i386-cfi-notcurrent.exp
4854 * gdb.arch/i386-disp-step.exp
4855 * gdb.arch/i386-dr3-watch.exp
4856 * gdb.arch/i386-float.exp
4857 * gdb.arch/i386-gnu-cfi.exp
4858 * gdb.arch/i386-mpx-map.exp
4859 * gdb.arch/i386-mpx-sigsegv.exp
4860 * gdb.arch/i386-mpx-simple_segv.exp
4861 * gdb.arch/i386-mpx.exp
4862 * gdb.arch/i386-permbkpt.exp
4863 * gdb.arch/i386-prologue.exp
4864 * gdb.arch/i386-signal.exp
4865 * gdb.arch/i386-size-overlap.exp
4866 * gdb.arch/i386-unwind.exp
4867 * gdb.arch/i386-word.exp
4868 * gdb.arch/mips-fcr.exp
4869 * gdb.arch/powerpc-d128-regs.exp
4870 * gdb.arch/powerpc-stackless.exp
4871 * gdb.arch/ppc64-atomic-inst.exp
4872 * gdb.arch/s390-stackless.exp
4873 * gdb.arch/s390-tdbregs.exp
4874 * gdb.arch/s390-vregs.exp
4875 * gdb.arch/sparc-sysstep.exp
4876 * gdb.arch/thumb-bx-pc.exp
4877 * gdb.arch/thumb-singlestep.exp
4878 * gdb.arch/thumb2-it.exp
4879 * gdb.arch/vsx-regs.exp
4880 * gdb.asm/asm-source.exp
4881 * gdb.base/a2-run.exp
4882 * gdb.base/advance.exp
4883 * gdb.base/all-bin.exp
4884 * gdb.base/anon.exp
4885 * gdb.base/args.exp
4886 * gdb.base/arithmet.exp
4887 * gdb.base/async-shell.exp
4888 * gdb.base/async.exp
4889 * gdb.base/attach-pie-noexec.exp
4890 * gdb.base/attach-twice.exp
4891 * gdb.base/auto-load.exp
4892 * gdb.base/bang.exp
4893 * gdb.base/bitfields.exp
4894 * gdb.base/break-always.exp
4895 * gdb.base/break-caller-line.exp
4896 * gdb.base/break-entry.exp
4897 * gdb.base/break-inline.exp
4898 * gdb.base/break-on-linker-gcd-function.exp
4899 * gdb.base/break-probes.exp
4900 * gdb.base/break.exp
4901 * gdb.base/breakpoint-shadow.exp
4902 * gdb.base/call-ar-st.exp
4903 * gdb.base/call-sc.exp
4904 * gdb.base/call-signal-resume.exp
4905 * gdb.base/call-strs.exp
4906 * gdb.base/callfuncs.exp
4907 * gdb.base/catch-fork-static.exp
4908 * gdb.base/catch-gdb-caused-signals.exp
4909 * gdb.base/catch-load.exp
4910 * gdb.base/catch-signal-fork.exp
4911 * gdb.base/catch-signal.exp
4912 * gdb.base/catch-syscall.exp
4913 * gdb.base/charset.exp
4914 * gdb.base/checkpoint.exp
4915 * gdb.base/chng-syms.exp
4916 * gdb.base/code-expr.exp
4917 * gdb.base/code_elim.exp
4918 * gdb.base/commands.exp
4919 * gdb.base/completion.exp
4920 * gdb.base/complex.exp
4921 * gdb.base/cond-expr.exp
4922 * gdb.base/condbreak.exp
4923 * gdb.base/consecutive.exp
4924 * gdb.base/continue-all-already-running.exp
4925 * gdb.base/coredump-filter.exp
4926 * gdb.base/corefile.exp
4927 * gdb.base/dbx.exp
4928 * gdb.base/debug-expr.exp
4929 * gdb.base/define.exp
4930 * gdb.base/del.exp
4931 * gdb.base/disabled-location.exp
4932 * gdb.base/disasm-end-cu.exp
4933 * gdb.base/disasm-optim.exp
4934 * gdb.base/display.exp
4935 * gdb.base/duplicate-bp.exp
4936 * gdb.base/ena-dis-br.exp
4937 * gdb.base/ending-run.exp
4938 * gdb.base/enumval.exp
4939 * gdb.base/environ.exp
4940 * gdb.base/eu-strip-infcall.exp
4941 * gdb.base/eval-avoid-side-effects.exp
4942 * gdb.base/eval-skip.exp
4943 * gdb.base/exitsignal.exp
4944 * gdb.base/expand-psymtabs.exp
4945 * gdb.base/filesym.exp
4946 * gdb.base/find-unmapped.exp
4947 * gdb.base/finish.exp
4948 * gdb.base/float.exp
4949 * gdb.base/foll-exec-mode.exp
4950 * gdb.base/foll-exec.exp
4951 * gdb.base/foll-fork.exp
4952 * gdb.base/fortran-sym-case.exp
4953 * gdb.base/freebpcmd.exp
4954 * gdb.base/func-ptr.exp
4955 * gdb.base/func-ptrs.exp
4956 * gdb.base/funcargs.exp
4957 * gdb.base/gcore-buffer-overflow.exp
4958 * gdb.base/gcore-relro-pie.exp
4959 * gdb.base/gcore-relro.exp
4960 * gdb.base/gcore.exp
4961 * gdb.base/gdb1090.exp
4962 * gdb.base/gdb11530.exp
4963 * gdb.base/gdb11531.exp
4964 * gdb.base/gdb1821.exp
4965 * gdb.base/gdbindex-stabs.exp
4966 * gdb.base/gdbvars.exp
4967 * gdb.base/hbreak.exp
4968 * gdb.base/hbreak2.exp
4969 * gdb.base/included.exp
4970 * gdb.base/infcall-input.exp
4971 * gdb.base/inferior-died.exp
4972 * gdb.base/infnan.exp
4973 * gdb.base/info-macros.exp
4974 * gdb.base/info-os.exp
4975 * gdb.base/info-proc.exp
4976 * gdb.base/info-shared.exp
4977 * gdb.base/info-target.exp
4978 * gdb.base/infoline.exp
4979 * gdb.base/interp.exp
4980 * gdb.base/interrupt.exp
4981 * gdb.base/jit-reader.exp
4982 * gdb.base/jit-simple.exp
4983 * gdb.base/kill-after-signal.exp
4984 * gdb.base/kill-detach-inferiors-cmd.exp
4985 * gdb.base/label.exp
4986 * gdb.base/langs.exp
4987 * gdb.base/ldbl_e308.exp
4988 * gdb.base/line-symtabs.exp
4989 * gdb.base/linespecs.exp
4990 * gdb.base/list.exp
4991 * gdb.base/long_long.exp
4992 * gdb.base/longest-types.exp
4993 * gdb.base/maint.exp
4994 * gdb.base/max-value-size.exp
4995 * gdb.base/memattr.exp
4996 * gdb.base/mips_pro.exp
4997 * gdb.base/morestack.exp
4998 * gdb.base/moribund-step.exp
4999 * gdb.base/multi-forks.exp
5000 * gdb.base/nested-addr.exp
5001 * gdb.base/nextoverexit.exp
5002 * gdb.base/noreturn-finish.exp
5003 * gdb.base/noreturn-return.exp
5004 * gdb.base/nostdlib.exp
5005 * gdb.base/offsets.exp
5006 * gdb.base/opaque.exp
5007 * gdb.base/pc-fp.exp
5008 * gdb.base/permissions.exp
5009 * gdb.base/print-symbol-loading.exp
5010 * gdb.base/prologue-include.exp
5011 * gdb.base/psymtab.exp
5012 * gdb.base/ptype.exp
5013 * gdb.base/random-signal.exp
5014 * gdb.base/randomize.exp
5015 * gdb.base/range-stepping.exp
5016 * gdb.base/readline-ask.exp
5017 * gdb.base/recpar.exp
5018 * gdb.base/recurse.exp
5019 * gdb.base/relational.exp
5020 * gdb.base/restore.exp
5021 * gdb.base/return-nodebug.exp
5022 * gdb.base/return.exp
5023 * gdb.base/run-after-attach.exp
5024 * gdb.base/save-bp.exp
5025 * gdb.base/scope.exp
5026 * gdb.base/sect-cmd.exp
5027 * gdb.base/set-lang-auto.exp
5028 * gdb.base/set-noassign.exp
5029 * gdb.base/setvar.exp
5030 * gdb.base/sigall.exp
5031 * gdb.base/sigbpt.exp
5032 * gdb.base/siginfo-addr.exp
5033 * gdb.base/siginfo-infcall.exp
5034 * gdb.base/siginfo-obj.exp
5035 * gdb.base/siginfo.exp
5036 * gdb.base/signals-state-child.exp
5037 * gdb.base/signest.exp
5038 * gdb.base/sigstep.exp
5039 * gdb.base/sizeof.exp
5040 * gdb.base/skip.exp
5041 * gdb.base/solib-corrupted.exp
5042 * gdb.base/solib-nodir.exp
5043 * gdb.base/solib-search.exp
5044 * gdb.base/stack-checking.exp
5045 * gdb.base/stale-infcall.exp
5046 * gdb.base/stap-probe.exp
5047 * gdb.base/start.exp
5048 * gdb.base/step-break.exp
5049 * gdb.base/step-bt.exp
5050 * gdb.base/step-line.exp
5051 * gdb.base/step-over-exit.exp
5052 * gdb.base/step-over-syscall.exp
5053 * gdb.base/step-resume-infcall.exp
5054 * gdb.base/step-test.exp
5055 * gdb.base/store.exp
5056 * gdb.base/structs3.exp
5057 * gdb.base/sym-file.exp
5058 * gdb.base/symbol-without-target_section.exp
5059 * gdb.base/term.exp
5060 * gdb.base/testenv.exp
5061 * gdb.base/ui-redirect.exp
5062 * gdb.base/until.exp
5063 * gdb.base/unwindonsignal.exp
5064 * gdb.base/value-double-free.exp
5065 * gdb.base/vla-datatypes.exp
5066 * gdb.base/vla-ptr.exp
5067 * gdb.base/vla-sideeffect.exp
5068 * gdb.base/volatile.exp
5069 * gdb.base/watch-cond-infcall.exp
5070 * gdb.base/watch-cond.exp
5071 * gdb.base/watch-non-mem.exp
5072 * gdb.base/watch-read.exp
5073 * gdb.base/watch-vfork.exp
5074 * gdb.base/watchpoint-cond-gone.exp
5075 * gdb.base/watchpoint-delete.exp
5076 * gdb.base/watchpoint-hw-hit-once.exp
5077 * gdb.base/watchpoint-hw.exp
5078 * gdb.base/watchpoint-stops-at-right-insn.exp
5079 * gdb.base/watchpoints.exp
5080 * gdb.base/wchar.exp
5081 * gdb.base/whatis-exp.exp
5082 * gdb.btrace/buffer-size.exp
5083 * gdb.btrace/data.exp
5084 * gdb.btrace/delta.exp
5085 * gdb.btrace/dlopen.exp
5086 * gdb.btrace/enable.exp
5087 * gdb.btrace/exception.exp
5088 * gdb.btrace/function_call_history.exp
5089 * gdb.btrace/gcore.exp
5090 * gdb.btrace/instruction_history.exp
5091 * gdb.btrace/nohist.exp
5092 * gdb.btrace/reconnect.exp
5093 * gdb.btrace/record_goto-step.exp
5094 * gdb.btrace/record_goto.exp
5095 * gdb.btrace/rn-dl-bind.exp
5096 * gdb.btrace/segv.exp
5097 * gdb.btrace/step.exp
5098 * gdb.btrace/stepi.exp
5099 * gdb.btrace/tailcall-only.exp
5100 * gdb.btrace/tailcall.exp
5101 * gdb.btrace/tsx.exp
5102 * gdb.btrace/unknown_functions.exp
5103 * gdb.btrace/vdso.exp
5104 * gdb.compile/compile-ifunc.exp
5105 * gdb.compile/compile-ops.exp
5106 * gdb.compile/compile-print.exp
5107 * gdb.compile/compile-setjmp.exp
5108 * gdb.cp/abstract-origin.exp
5109 * gdb.cp/ambiguous.exp
5110 * gdb.cp/annota2.exp
5111 * gdb.cp/annota3.exp
5112 * gdb.cp/anon-ns.exp
5113 * gdb.cp/anon-struct.exp
5114 * gdb.cp/anon-union.exp
5115 * gdb.cp/arg-reference.exp
5116 * gdb.cp/baseenum.exp
5117 * gdb.cp/bool.exp
5118 * gdb.cp/breakpoint.exp
5119 * gdb.cp/bs15503.exp
5120 * gdb.cp/call-c.exp
5121 * gdb.cp/casts.exp
5122 * gdb.cp/chained-calls.exp
5123 * gdb.cp/class2.exp
5124 * gdb.cp/classes.exp
5125 * gdb.cp/cmpd-minsyms.exp
5126 * gdb.cp/converts.exp
5127 * gdb.cp/cp-relocate.exp
5128 * gdb.cp/cpcompletion.exp
5129 * gdb.cp/cpexprs.exp
5130 * gdb.cp/cplabel.exp
5131 * gdb.cp/cplusfuncs.exp
5132 * gdb.cp/cpsizeof.exp
5133 * gdb.cp/ctti.exp
5134 * gdb.cp/derivation.exp
5135 * gdb.cp/destrprint.exp
5136 * gdb.cp/dispcxx.exp
5137 * gdb.cp/enum-class.exp
5138 * gdb.cp/exception.exp
5139 * gdb.cp/exceptprint.exp
5140 * gdb.cp/expand-psymtabs-cxx.exp
5141 * gdb.cp/expand-sals.exp
5142 * gdb.cp/extern-c.exp
5143 * gdb.cp/filename.exp
5144 * gdb.cp/formatted-ref.exp
5145 * gdb.cp/fpointer.exp
5146 * gdb.cp/gdb1355.exp
5147 * gdb.cp/gdb2495.exp
5148 * gdb.cp/hang.exp
5149 * gdb.cp/impl-this.exp
5150 * gdb.cp/infcall-dlopen.exp
5151 * gdb.cp/inherit.exp
5152 * gdb.cp/iostream.exp
5153 * gdb.cp/koenig.exp
5154 * gdb.cp/local.exp
5155 * gdb.cp/m-data.exp
5156 * gdb.cp/m-static.exp
5157 * gdb.cp/mb-ctor.exp
5158 * gdb.cp/mb-inline.exp
5159 * gdb.cp/mb-templates.exp
5160 * gdb.cp/member-name.exp
5161 * gdb.cp/member-ptr.exp
5162 * gdb.cp/meth-typedefs.exp
5163 * gdb.cp/method.exp
5164 * gdb.cp/method2.exp
5165 * gdb.cp/minsym-fallback.exp
5166 * gdb.cp/misc.exp
5167 * gdb.cp/namelessclass.exp
5168 * gdb.cp/namespace-enum.exp
5169 * gdb.cp/namespace-nested-import.exp
5170 * gdb.cp/namespace.exp
5171 * gdb.cp/nextoverthrow.exp
5172 * gdb.cp/no-dmgl-verbose.exp
5173 * gdb.cp/non-trivial-retval.exp
5174 * gdb.cp/noparam.exp
5175 * gdb.cp/nsdecl.exp
5176 * gdb.cp/nsimport.exp
5177 * gdb.cp/nsnested.exp
5178 * gdb.cp/nsnoimports.exp
5179 * gdb.cp/nsrecurs.exp
5180 * gdb.cp/nsstress.exp
5181 * gdb.cp/nsusing.exp
5182 * gdb.cp/operator.exp
5183 * gdb.cp/oranking.exp
5184 * gdb.cp/overload-const.exp
5185 * gdb.cp/overload.exp
5186 * gdb.cp/ovldbreak.exp
5187 * gdb.cp/ovsrch.exp
5188 * gdb.cp/paren-type.exp
5189 * gdb.cp/parse-lang.exp
5190 * gdb.cp/pass-by-ref.exp
5191 * gdb.cp/pr-1023.exp
5192 * gdb.cp/pr-1210.exp
5193 * gdb.cp/pr-574.exp
5194 * gdb.cp/pr10687.exp
5195 * gdb.cp/pr12028.exp
5196 * gdb.cp/pr17132.exp
5197 * gdb.cp/pr17494.exp
5198 * gdb.cp/pr9067.exp
5199 * gdb.cp/pr9167.exp
5200 * gdb.cp/pr9631.exp
5201 * gdb.cp/printmethod.exp
5202 * gdb.cp/psmang.exp
5203 * gdb.cp/psymtab-parameter.exp
5204 * gdb.cp/ptype-cv-cp.exp
5205 * gdb.cp/ptype-flags.exp
5206 * gdb.cp/re-set-overloaded.exp
5207 * gdb.cp/ref-types.exp
5208 * gdb.cp/rtti.exp
5209 * gdb.cp/scope-err.exp
5210 * gdb.cp/shadow.exp
5211 * gdb.cp/smartp.exp
5212 * gdb.cp/static-method.exp
5213 * gdb.cp/static-print-quit.exp
5214 * gdb.cp/temargs.exp
5215 * gdb.cp/templates.exp
5216 * gdb.cp/try_catch.exp
5217 * gdb.cp/typedef-operator.exp
5218 * gdb.cp/typeid.exp
5219 * gdb.cp/userdef.exp
5220 * gdb.cp/using-crash.exp
5221 * gdb.cp/var-tag.exp
5222 * gdb.cp/virtbase.exp
5223 * gdb.cp/virtfunc.exp
5224 * gdb.cp/virtfunc2.exp
5225 * gdb.cp/vla-cxx.exp
5226 * gdb.disasm/t01_mov.exp
5227 * gdb.disasm/t02_mova.exp
5228 * gdb.disasm/t03_add.exp
5229 * gdb.disasm/t04_sub.exp
5230 * gdb.disasm/t05_cmp.exp
5231 * gdb.disasm/t06_ari2.exp
5232 * gdb.disasm/t07_ari3.exp
5233 * gdb.disasm/t08_or.exp
5234 * gdb.disasm/t09_xor.exp
5235 * gdb.disasm/t10_and.exp
5236 * gdb.disasm/t11_logs.exp
5237 * gdb.disasm/t12_bit.exp
5238 * gdb.disasm/t13_otr.exp
5239 * gdb.dlang/circular.exp
5240 * gdb.dwarf2/arr-stride.exp
5241 * gdb.dwarf2/arr-subrange.exp
5242 * gdb.dwarf2/atomic-type.exp
5243 * gdb.dwarf2/bad-regnum.exp
5244 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5245 * gdb.dwarf2/callframecfa.exp
5246 * gdb.dwarf2/clztest.exp
5247 * gdb.dwarf2/corrupt.exp
5248 * gdb.dwarf2/data-loc.exp
5249 * gdb.dwarf2/dup-psym.exp
5250 * gdb.dwarf2/dw2-anon-mptr.exp
5251 * gdb.dwarf2/dw2-anonymous-func.exp
5252 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5253 * gdb.dwarf2/dw2-bad-unresolved.exp
5254 * gdb.dwarf2/dw2-basic.exp
5255 * gdb.dwarf2/dw2-canonicalize-type.exp
5256 * gdb.dwarf2/dw2-case-insensitive.exp
5257 * gdb.dwarf2/dw2-common-block.exp
5258 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5259 * gdb.dwarf2/dw2-compressed.exp
5260 * gdb.dwarf2/dw2-const.exp
5261 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5262 * gdb.dwarf2/dw2-cu-size.exp
5263 * gdb.dwarf2/dw2-dup-frame.exp
5264 * gdb.dwarf2/dw2-entry-value.exp
5265 * gdb.dwarf2/dw2-icycle.exp
5266 * gdb.dwarf2/dw2-ifort-parameter.exp
5267 * gdb.dwarf2/dw2-inline-break.exp
5268 * gdb.dwarf2/dw2-inline-param.exp
5269 * gdb.dwarf2/dw2-intercu.exp
5270 * gdb.dwarf2/dw2-intermix.exp
5271 * gdb.dwarf2/dw2-lexical-block-bare.exp
5272 * gdb.dwarf2/dw2-linkage-name-trust.exp
5273 * gdb.dwarf2/dw2-minsym-in-cu.exp
5274 * gdb.dwarf2/dw2-noloc.exp
5275 * gdb.dwarf2/dw2-op-call.exp
5276 * gdb.dwarf2/dw2-op-out-param.exp
5277 * gdb.dwarf2/dw2-opt-structptr.exp
5278 * gdb.dwarf2/dw2-param-error.exp
5279 * gdb.dwarf2/dw2-producer.exp
5280 * gdb.dwarf2/dw2-ranges-base.exp
5281 * gdb.dwarf2/dw2-ref-missing-frame.exp
5282 * gdb.dwarf2/dw2-reg-undefined.exp
5283 * gdb.dwarf2/dw2-regno-invalid.exp
5284 * gdb.dwarf2/dw2-restore.exp
5285 * gdb.dwarf2/dw2-restrict.exp
5286 * gdb.dwarf2/dw2-single-line-discriminators.exp
5287 * gdb.dwarf2/dw2-strp.exp
5288 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5289 * gdb.dwarf2/dw2-unresolved.exp
5290 * gdb.dwarf2/dw2-var-zero-addr.exp
5291 * gdb.dwarf2/dw4-sig-types.exp
5292 * gdb.dwarf2/dwz.exp
5293 * gdb.dwarf2/dynarr-ptr.exp
5294 * gdb.dwarf2/enum-type.exp
5295 * gdb.dwarf2/gdb-index.exp
5296 * gdb.dwarf2/implptr-64bit.exp
5297 * gdb.dwarf2/implptr-optimized-out.exp
5298 * gdb.dwarf2/implptr.exp
5299 * gdb.dwarf2/implref-array.exp
5300 * gdb.dwarf2/implref-const.exp
5301 * gdb.dwarf2/implref-global.exp
5302 * gdb.dwarf2/implref-struct.exp
5303 * gdb.dwarf2/mac-fileno.exp
5304 * gdb.dwarf2/main-subprogram.exp
5305 * gdb.dwarf2/member-ptr-forwardref.exp
5306 * gdb.dwarf2/method-ptr.exp
5307 * gdb.dwarf2/missing-sig-type.exp
5308 * gdb.dwarf2/nonvar-access.exp
5309 * gdb.dwarf2/opaque-type-lookup.exp
5310 * gdb.dwarf2/pieces-optimized-out.exp
5311 * gdb.dwarf2/pieces.exp
5312 * gdb.dwarf2/pr10770.exp
5313 * gdb.dwarf2/pr13961.exp
5314 * gdb.dwarf2/staticvirtual.exp
5315 * gdb.dwarf2/subrange.exp
5316 * gdb.dwarf2/symtab-producer.exp
5317 * gdb.dwarf2/trace-crash.exp
5318 * gdb.dwarf2/typeddwarf.exp
5319 * gdb.dwarf2/valop.exp
5320 * gdb.dwarf2/watch-notconst.exp
5321 * gdb.fortran/array-element.exp
5322 * gdb.fortran/charset.exp
5323 * gdb.fortran/common-block.exp
5324 * gdb.fortran/complex.exp
5325 * gdb.fortran/derived-type-function.exp
5326 * gdb.fortran/derived-type.exp
5327 * gdb.fortran/logical.exp
5328 * gdb.fortran/module.exp
5329 * gdb.fortran/multi-dim.exp
5330 * gdb.fortran/nested-funcs.exp
5331 * gdb.fortran/print-formatted.exp
5332 * gdb.fortran/subarray.exp
5333 * gdb.fortran/vla-alloc-assoc.exp
5334 * gdb.fortran/vla-datatypes.exp
5335 * gdb.fortran/vla-history.exp
5336 * gdb.fortran/vla-ptr-info.exp
5337 * gdb.fortran/vla-ptype-sub.exp
5338 * gdb.fortran/vla-ptype.exp
5339 * gdb.fortran/vla-sizeof.exp
5340 * gdb.fortran/vla-type.exp
5341 * gdb.fortran/vla-value-sub-arbitrary.exp
5342 * gdb.fortran/vla-value-sub-finish.exp
5343 * gdb.fortran/vla-value-sub.exp
5344 * gdb.fortran/vla-value.exp
5345 * gdb.fortran/whatis_type.exp
5346 * gdb.go/chan.exp
5347 * gdb.go/handcall.exp
5348 * gdb.go/hello.exp
5349 * gdb.go/integers.exp
5350 * gdb.go/methods.exp
5351 * gdb.go/package.exp
5352 * gdb.go/strings.exp
5353 * gdb.go/types.exp
5354 * gdb.go/unsafe.exp
5355 * gdb.guile/scm-arch.exp
5356 * gdb.guile/scm-block.exp
5357 * gdb.guile/scm-breakpoint.exp
5358 * gdb.guile/scm-cmd.exp
5359 * gdb.guile/scm-disasm.exp
5360 * gdb.guile/scm-equal.exp
5361 * gdb.guile/scm-frame-args.exp
5362 * gdb.guile/scm-frame-inline.exp
5363 * gdb.guile/scm-frame.exp
5364 * gdb.guile/scm-iterator.exp
5365 * gdb.guile/scm-math.exp
5366 * gdb.guile/scm-objfile.exp
5367 * gdb.guile/scm-ports.exp
5368 * gdb.guile/scm-symbol.exp
5369 * gdb.guile/scm-symtab.exp
5370 * gdb.guile/scm-value-cc.exp
5371 * gdb.guile/types-module.exp
5372 * gdb.linespec/break-ask.exp
5373 * gdb.linespec/cpexplicit.exp
5374 * gdb.linespec/explicit.exp
5375 * gdb.linespec/keywords.exp
5376 * gdb.linespec/linespec.exp
5377 * gdb.linespec/ls-dollar.exp
5378 * gdb.linespec/ls-errs.exp
5379 * gdb.linespec/skip-two.exp
5380 * gdb.linespec/thread.exp
5381 * gdb.mi/mi-async.exp
5382 * gdb.mi/mi-basics.exp
5383 * gdb.mi/mi-break.exp
5384 * gdb.mi/mi-catch-load.exp
5385 * gdb.mi/mi-cli.exp
5386 * gdb.mi/mi-cmd-param-changed.exp
5387 * gdb.mi/mi-console.exp
5388 * gdb.mi/mi-detach.exp
5389 * gdb.mi/mi-disassemble.exp
5390 * gdb.mi/mi-eval.exp
5391 * gdb.mi/mi-file-transfer.exp
5392 * gdb.mi/mi-file.exp
5393 * gdb.mi/mi-fill-memory.exp
5394 * gdb.mi/mi-inheritance-syntax-error.exp
5395 * gdb.mi/mi-linespec-err-cp.exp
5396 * gdb.mi/mi-logging.exp
5397 * gdb.mi/mi-memory-changed.exp
5398 * gdb.mi/mi-read-memory.exp
5399 * gdb.mi/mi-record-changed.exp
5400 * gdb.mi/mi-reg-undefined.exp
5401 * gdb.mi/mi-regs.exp
5402 * gdb.mi/mi-return.exp
5403 * gdb.mi/mi-reverse.exp
5404 * gdb.mi/mi-simplerun.exp
5405 * gdb.mi/mi-solib.exp
5406 * gdb.mi/mi-stack.exp
5407 * gdb.mi/mi-stepi.exp
5408 * gdb.mi/mi-syn-frame.exp
5409 * gdb.mi/mi-until.exp
5410 * gdb.mi/mi-var-block.exp
5411 * gdb.mi/mi-var-child.exp
5412 * gdb.mi/mi-var-cmd.exp
5413 * gdb.mi/mi-var-cp.exp
5414 * gdb.mi/mi-var-display.exp
5415 * gdb.mi/mi-var-invalidate.exp
5416 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5417 * gdb.mi/mi-vla-fortran.exp
5418 * gdb.mi/mi-watch.exp
5419 * gdb.mi/mi2-var-child.exp
5420 * gdb.mi/user-selected-context-sync.exp
5421 * gdb.modula2/unbounded-array.exp
5422 * gdb.multi/dummy-frame-restore.exp
5423 * gdb.multi/multi-arch-exec.exp
5424 * gdb.multi/multi-arch.exp
5425 * gdb.multi/tids.exp
5426 * gdb.multi/watchpoint-multi.exp
5427 * gdb.opencl/callfuncs.exp
5428 * gdb.opencl/convs_casts.exp
5429 * gdb.opencl/datatypes.exp
5430 * gdb.opencl/operators.exp
5431 * gdb.opencl/vec_comps.exp
5432 * gdb.opt/clobbered-registers-O2.exp
5433 * gdb.opt/inline-break.exp
5434 * gdb.opt/inline-bt.exp
5435 * gdb.opt/inline-cmds.exp
5436 * gdb.opt/inline-locals.exp
5437 * gdb.pascal/case-insensitive-symbols.exp
5438 * gdb.pascal/floats.exp
5439 * gdb.pascal/gdb11492.exp
5440 * gdb.python/lib-types.exp
5441 * gdb.python/py-arch.exp
5442 * gdb.python/py-as-string.exp
5443 * gdb.python/py-bad-printers.exp
5444 * gdb.python/py-block.exp
5445 * gdb.python/py-breakpoint-create-fail.exp
5446 * gdb.python/py-breakpoint.exp
5447 * gdb.python/py-caller-is.exp
5448 * gdb.python/py-cmd.exp
5449 * gdb.python/py-explore-cc.exp
5450 * gdb.python/py-explore.exp
5451 * gdb.python/py-finish-breakpoint.exp
5452 * gdb.python/py-finish-breakpoint2.exp
5453 * gdb.python/py-frame-args.exp
5454 * gdb.python/py-frame-inline.exp
5455 * gdb.python/py-frame.exp
5456 * gdb.python/py-framefilter-mi.exp
5457 * gdb.python/py-infthread.exp
5458 * gdb.python/py-lazy-string.exp
5459 * gdb.python/py-linetable.exp
5460 * gdb.python/py-mi-events.exp
5461 * gdb.python/py-mi-objfile.exp
5462 * gdb.python/py-mi.exp
5463 * gdb.python/py-objfile.exp
5464 * gdb.python/py-pp-integral.exp
5465 * gdb.python/py-pp-maint.exp
5466 * gdb.python/py-pp-re-notag.exp
5467 * gdb.python/py-pp-registration.exp
5468 * gdb.python/py-recurse-unwind.exp
5469 * gdb.python/py-strfns.exp
5470 * gdb.python/py-symbol.exp
5471 * gdb.python/py-symtab.exp
5472 * gdb.python/py-sync-interp.exp
5473 * gdb.python/py-typeprint.exp
5474 * gdb.python/py-unwind-maint.exp
5475 * gdb.python/py-unwind.exp
5476 * gdb.python/py-value-cc.exp
5477 * gdb.python/py-xmethods.exp
5478 * gdb.reverse/amd64-tailcall-reverse.exp
5479 * gdb.reverse/break-precsave.exp
5480 * gdb.reverse/break-reverse.exp
5481 * gdb.reverse/consecutive-precsave.exp
5482 * gdb.reverse/consecutive-reverse.exp
5483 * gdb.reverse/finish-precsave.exp
5484 * gdb.reverse/finish-reverse-bkpt.exp
5485 * gdb.reverse/finish-reverse.exp
5486 * gdb.reverse/fstatat-reverse.exp
5487 * gdb.reverse/getresuid-reverse.exp
5488 * gdb.reverse/i386-precsave.exp
5489 * gdb.reverse/i386-reverse.exp
5490 * gdb.reverse/i386-sse-reverse.exp
5491 * gdb.reverse/i387-env-reverse.exp
5492 * gdb.reverse/i387-stack-reverse.exp
5493 * gdb.reverse/insn-reverse.exp
5494 * gdb.reverse/machinestate-precsave.exp
5495 * gdb.reverse/machinestate.exp
5496 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5497 * gdb.reverse/pipe-reverse.exp
5498 * gdb.reverse/readv-reverse.exp
5499 * gdb.reverse/recvmsg-reverse.exp
5500 * gdb.reverse/rerun-prec.exp
5501 * gdb.reverse/s390-mvcle.exp
5502 * gdb.reverse/step-precsave.exp
5503 * gdb.reverse/step-reverse.exp
5504 * gdb.reverse/time-reverse.exp
5505 * gdb.reverse/until-precsave.exp
5506 * gdb.reverse/until-reverse.exp
5507 * gdb.reverse/waitpid-reverse.exp
5508 * gdb.reverse/watch-precsave.exp
5509 * gdb.reverse/watch-reverse.exp
5510 * gdb.rust/generics.exp
5511 * gdb.rust/methods.exp
5512 * gdb.rust/modules.exp
5513 * gdb.rust/simple.exp
5514 * gdb.server/connect-with-no-symbol-file.exp
5515 * gdb.server/ext-attach.exp
5516 * gdb.server/ext-restart.exp
5517 * gdb.server/ext-wrapper.exp
5518 * gdb.server/file-transfer.exp
5519 * gdb.server/server-exec-info.exp
5520 * gdb.server/server-kill.exp
5521 * gdb.server/server-mon.exp
5522 * gdb.server/wrapper.exp
5523 * gdb.stabs/exclfwd.exp
5524 * gdb.stabs/gdb11479.exp
5525 * gdb.threads/clone-new-thread-event.exp
5526 * gdb.threads/corethreads.exp
5527 * gdb.threads/current-lwp-dead.exp
5528 * gdb.threads/dlopen-libpthread.exp
5529 * gdb.threads/gcore-thread.exp
5530 * gdb.threads/sigstep-threads.exp
5531 * gdb.threads/watchpoint-fork.exp
5532 * gdb.trace/actions-changed.exp
5533 * gdb.trace/backtrace.exp
5534 * gdb.trace/change-loc.exp
5535 * gdb.trace/circ.exp
5536 * gdb.trace/collection.exp
5537 * gdb.trace/disconnected-tracing.exp
5538 * gdb.trace/ftrace.exp
5539 * gdb.trace/mi-trace-frame-collected.exp
5540 * gdb.trace/mi-trace-unavailable.exp
5541 * gdb.trace/mi-traceframe-changed.exp
5542 * gdb.trace/mi-tsv-changed.exp
5543 * gdb.trace/no-attach-trace.exp
5544 * gdb.trace/passc-dyn.exp
5545 * gdb.trace/qtro.exp
5546 * gdb.trace/range-stepping.exp
5547 * gdb.trace/read-memory.exp
5548 * gdb.trace/save-trace.exp
5549 * gdb.trace/signal.exp
5550 * gdb.trace/status-stop.exp
5551 * gdb.trace/tfile.exp
5552 * gdb.trace/trace-break.exp
5553 * gdb.trace/trace-buffer-size.exp
5554 * gdb.trace/trace-condition.exp
5555 * gdb.trace/tracefile-pseudo-reg.exp
5556 * gdb.trace/tstatus.exp
5557 * gdb.trace/unavailable.exp
5558 * gdb.trace/while-dyn.exp
5559 * gdb.trace/while-stepping.exp
5560
5561 2016-12-22 Doug Evans <xdje42@gmail.com>
5562
5563 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5564 and msymbols.
5565
5566 2016-12-19 Yao Qi <yao.qi@linaro.org>
5567
5568 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5569 (test_with_self): Don't call do_steps_and_nexts, and remove
5570 code about stepping into xmalloc.
5571
5572 2016-12-09 Yao Qi <yao.qi@linaro.org>
5573
5574 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5575
5576 2016-12-09 Yao Qi <yao.qi@linaro.org>
5577
5578 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5579
5580 2016-12-09 Pedro Alves <palves@redhat.com>
5581
5582 * gdb.base/all-architectures-0.exp: New file.
5583 * gdb.base/all-architectures-1.exp: New file.
5584 * gdb.base/all-architectures-2.exp: New file.
5585 * gdb.base/all-architectures-3.exp: New file.
5586 * gdb.base/all-architectures-4.exp: New file.
5587 * gdb.base/all-architectures-5.exp: New file.
5588 * gdb.base/all-architectures-6.exp: New file.
5589 * gdb.base/all-architectures-7.exp: New file.
5590 * gdb.base/all-architectures.exp.in: New file.
5591
5592 2016-12-09 Yao Qi <yao.qi@linaro.org>
5593
5594 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5595
5596 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5597
5598 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5599 possible.
5600 Remove useless pattern-matching code.
5601
5602 2016-12-02 Pedro Alves <palves@redhat.com>
5603
5604 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5605 procedure.
5606 (top level): Call it.
5607
5608 2016-12-02 Pedro Alves <palves@redhat.com>
5609
5610 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5611 New procedure.
5612 (top level): Call it.
5613
5614 2016-12-02 Pedro Alves <palves@redhat.com>
5615
5616 PR cli/20559
5617 * gdb.base/commands.exp (user_defined_command_args_eval): New
5618 procedure.
5619 (top level): Call it.
5620
5621 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5622
5623 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5624 timeout handling.
5625
5626 2016-12-02 Tom Tromey <tom@tromey.com>
5627
5628 * gdb.dwarf2/main-subprogram.c: New file.
5629 * gdb.dwarf2/main-subprogram.exp: New file.
5630
5631 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5632
5633 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5634 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5635 gdb_test_no_output for a couple of cases.
5636 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5637
5638 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5639
5640 Fix test names and standardize compilation error messages throughout
5641 the following files:
5642
5643 * gdb.ada/start.exp
5644 * gdb.arch/alpha-step.exp
5645 * gdb.arch/e500-prologue.exp
5646 * gdb.arch/ftrace-insn-reloc.exp
5647 * gdb.arch/gdb1291.exp
5648 * gdb.arch/gdb1431.exp
5649 * gdb.arch/gdb1558.exp
5650 * gdb.arch/i386-dr3-watch.exp
5651 * gdb.arch/i386-sse-stack-align.exp
5652 * gdb.arch/ia64-breakpoint-shadow.exp
5653 * gdb.arch/pa-nullify.exp
5654 * gdb.arch/powerpc-aix-prologue.exp
5655 * gdb.arch/thumb-bx-pc.exp
5656 * gdb.base/annota1.exp
5657 * gdb.base/annota3.exp
5658 * gdb.base/arrayidx.exp
5659 * gdb.base/assign.exp
5660 * gdb.base/attach.exp
5661 * gdb.base/auxv.exp
5662 * gdb.base/bang.exp
5663 * gdb.base/bfp-test.exp
5664 * gdb.base/bigcore.exp
5665 * gdb.base/bitfields2.exp
5666 * gdb.base/break-fun-addr.exp
5667 * gdb.base/break-probes.exp
5668 * gdb.base/call-rt-st.exp
5669 * gdb.base/callexit.exp
5670 * gdb.base/catch-fork-kill.exp
5671 * gdb.base/charset.exp
5672 * gdb.base/checkpoint.exp
5673 * gdb.base/comprdebug.exp
5674 * gdb.base/constvars.exp
5675 * gdb.base/coredump-filter.exp
5676 * gdb.base/cursal.exp
5677 * gdb.base/cvexpr.exp
5678 * gdb.base/detach.exp
5679 * gdb.base/display.exp
5680 * gdb.base/dmsym.exp
5681 * gdb.base/dprintf-pending.exp
5682 * gdb.base/dso2dso.exp
5683 * gdb.base/dtrace-probe.exp
5684 * gdb.base/dump.exp
5685 * gdb.base/enum_cond.exp
5686 * gdb.base/exe-lock.exp
5687 * gdb.base/exec-invalid-sysroot.exp
5688 * gdb.base/execl-update-breakpoints.exp
5689 * gdb.base/exprs.exp
5690 * gdb.base/fileio.exp
5691 * gdb.base/find.exp
5692 * gdb.base/finish.exp
5693 * gdb.base/fixsection.exp
5694 * gdb.base/foll-vfork.exp
5695 * gdb.base/frame-args.exp
5696 * gdb.base/gcore.exp
5697 * gdb.base/gdb1250.exp
5698 * gdb.base/global-var-nested-by-dso.exp
5699 * gdb.base/gnu-ifunc.exp
5700 * gdb.base/hashline1.exp
5701 * gdb.base/hashline2.exp
5702 * gdb.base/hashline3.exp
5703 * gdb.base/hbreak-in-shr-unsupported.exp
5704 * gdb.base/huge.exp
5705 * gdb.base/infcall-input.exp
5706 * gdb.base/info-fun.exp
5707 * gdb.base/info-shared.exp
5708 * gdb.base/jit-simple.exp
5709 * gdb.base/jit-so.exp
5710 * gdb.base/jit.exp
5711 * gdb.base/jump.exp
5712 * gdb.base/label.exp
5713 * gdb.base/lineinc.exp
5714 * gdb.base/logical.exp
5715 * gdb.base/longjmp.exp
5716 * gdb.base/macscp.exp
5717 * gdb.base/miscexprs.exp
5718 * gdb.base/new-ui-echo.exp
5719 * gdb.base/new-ui-pending-input.exp
5720 * gdb.base/new-ui.exp
5721 * gdb.base/nodebug.exp
5722 * gdb.base/nofield.exp
5723 * gdb.base/offsets.exp
5724 * gdb.base/overlays.exp
5725 * gdb.base/pending.exp
5726 * gdb.base/pointers.exp
5727 * gdb.base/pr11022.exp
5728 * gdb.base/printcmds.exp
5729 * gdb.base/prologue.exp
5730 * gdb.base/ptr-typedef.exp
5731 * gdb.base/realname-expand.exp
5732 * gdb.base/relativedebug.exp
5733 * gdb.base/relocate.exp
5734 * gdb.base/remote.exp
5735 * gdb.base/reread.exp
5736 * gdb.base/return2.exp
5737 * gdb.base/savedregs.exp
5738 * gdb.base/sep.exp
5739 * gdb.base/sepdebug.exp
5740 * gdb.base/sepsymtab.exp
5741 * gdb.base/set-inferior-tty.exp
5742 * gdb.base/setshow.exp
5743 * gdb.base/shlib-call.exp
5744 * gdb.base/sigaltstack.exp
5745 * gdb.base/siginfo-addr.exp
5746 * gdb.base/signals.exp
5747 * gdb.base/signull.exp
5748 * gdb.base/sigrepeat.exp
5749 * gdb.base/so-impl-ld.exp
5750 * gdb.base/solib-display.exp
5751 * gdb.base/solib-overlap.exp
5752 * gdb.base/solib-search.exp
5753 * gdb.base/solib-symbol.exp
5754 * gdb.base/structs.exp
5755 * gdb.base/structs2.exp
5756 * gdb.base/symtab-search-order.exp
5757 * gdb.base/twice.exp
5758 * gdb.base/unload.exp
5759 * gdb.base/varargs.exp
5760 * gdb.base/watchpoint-solib.exp
5761 * gdb.base/watchpoint.exp
5762 * gdb.base/whatis.exp
5763 * gdb.base/wrong_frame_bt_full.exp
5764 * gdb.btrace/dlopen.exp
5765 * gdb.cell/ea-standalone.exp
5766 * gdb.cell/ea-test.exp
5767 * gdb.cp/dispcxx.exp
5768 * gdb.cp/gdb2384.exp
5769 * gdb.cp/method2.exp
5770 * gdb.cp/nextoverthrow.exp
5771 * gdb.cp/pr10728.exp
5772 * gdb.disasm/am33.exp
5773 * gdb.disasm/h8300s.exp
5774 * gdb.disasm/mn10300.exp
5775 * gdb.disasm/sh3.exp
5776 * gdb.dwarf2/dw2-dir-file-name.exp
5777 * gdb.fortran/complex.exp
5778 * gdb.fortran/library-module.exp
5779 * gdb.guile/scm-pretty-print.exp
5780 * gdb.guile/scm-symbol.exp
5781 * gdb.guile/scm-type.exp
5782 * gdb.guile/scm-value.exp
5783 * gdb.linespec/linespec.exp
5784 * gdb.mi/gdb701.exp
5785 * gdb.mi/gdb792.exp
5786 * gdb.mi/mi-breakpoint-changed.exp
5787 * gdb.mi/mi-dprintf-pending.exp
5788 * gdb.mi/mi-dprintf.exp
5789 * gdb.mi/mi-exit-code.exp
5790 * gdb.mi/mi-pending.exp
5791 * gdb.mi/mi-solib.exp
5792 * gdb.mi/new-ui-mi-sync.exp
5793 * gdb.mi/pr11022.exp
5794 * gdb.mi/user-selected-context-sync.exp
5795 * gdb.opt/solib-intra-step.exp
5796 * gdb.python/py-events.exp
5797 * gdb.python/py-finish-breakpoint.exp
5798 * gdb.python/py-mi.exp
5799 * gdb.python/py-prettyprint.exp
5800 * gdb.python/py-shared.exp
5801 * gdb.python/py-symbol.exp
5802 * gdb.python/py-template.exp
5803 * gdb.python/py-type.exp
5804 * gdb.python/py-value.exp
5805 * gdb.reverse/solib-precsave.exp
5806 * gdb.reverse/solib-reverse.exp
5807 * gdb.server/solib-list.exp
5808 * gdb.stabs/weird.exp
5809 * gdb.threads/reconnect-signal.exp
5810 * gdb.threads/stepi-random-signal.exp
5811 * gdb.trace/actions.exp
5812 * gdb.trace/ax.exp
5813 * gdb.trace/backtrace.exp
5814 * gdb.trace/change-loc.exp
5815 * gdb.trace/deltrace.exp
5816 * gdb.trace/ftrace-lock.exp
5817 * gdb.trace/ftrace.exp
5818 * gdb.trace/infotrace.exp
5819 * gdb.trace/mi-tracepoint-changed.exp
5820 * gdb.trace/packetlen.exp
5821 * gdb.trace/passcount.exp
5822 * gdb.trace/pending.exp
5823 * gdb.trace/range-stepping.exp
5824 * gdb.trace/report.exp
5825 * gdb.trace/stap-trace.exp
5826 * gdb.trace/tfind.exp
5827 * gdb.trace/trace-break.exp
5828 * gdb.trace/trace-condition.exp
5829 * gdb.trace/trace-enable-disable.exp
5830 * gdb.trace/trace-mt.exp
5831 * gdb.trace/tracecmd.exp
5832 * gdb.trace/tspeed.exp
5833 * gdb.trace/tsv.exp
5834 * lib/perftest.exp
5835
5836 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5837
5838 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5839 with gdb_test_no_output.
5840 Use command as test name.
5841
5842 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5843
5844 Fix test names starting with uppercase throughout the files.
5845
5846 * gdb.ada/assign_1.exp
5847 * gdb.ada/boolean_expr.exp
5848 * gdb.base/arrayidx.exp
5849 * gdb.base/del.exp
5850 * gdb.base/gcore-buffer-overflow.exp
5851 * gdb.base/testenv.exp
5852 * gdb.compile/compile.exp
5853 * gdb.python/py-framefilter-invalidarg.exp
5854 * gdb.python/py-framefilter.exp
5855
5856 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5857
5858 Fix test names starting with uppercase throughout the files.
5859
5860 * gdb.ada/array_return.exp
5861 * gdb.ada/expr_delims.exp
5862 * gdb.ada/mi_dyn_arr.exp
5863 * gdb.ada/mi_interface.exp
5864 * gdb.ada/mi_var_array.exp
5865 * gdb.ada/watch_arg.exp
5866 * gdb.arch/alpha-step.exp
5867 * gdb.arch/altivec-regs.exp
5868 * gdb.arch/e500-regs.exp
5869 * gdb.arch/powerpc-d128-regs.exp
5870 * gdb.base/arrayidx.exp
5871 * gdb.base/break.exp
5872 * gdb.base/checkpoint.exp
5873 * gdb.base/debug-expr.exp
5874 * gdb.base/dmsym.exp
5875 * gdb.base/radix.exp
5876 * gdb.base/sepdebug.exp
5877 * gdb.base/testenv.exp
5878 * gdb.base/watch_thread_num.exp
5879 * gdb.base/watchpoint-cond-gone.exp
5880 * gdb.cell/break.exp
5881 * gdb.cell/ea-cache.exp
5882 * gdb.compile/compile.exp
5883 * gdb.cp/gdb2495.exp
5884 * gdb.gdb/selftest.exp
5885 * gdb.gdb/xfullpath.exp
5886 * gdb.go/hello.exp
5887 * gdb.go/integers.exp
5888 * gdb.objc/basicclass.exp
5889 * gdb.pascal/hello.exp
5890 * gdb.pascal/integers.exp
5891 * gdb.python/py-breakpoint.exp
5892 * gdb.python/py-cmd.exp
5893 * gdb.python/py-linetable.exp
5894 * gdb.python/py-xmethods.exp
5895 * gdb.python/python.exp
5896 * gdb.reverse/consecutive-precsave.exp
5897 * gdb.reverse/finish-precsave.exp
5898 * gdb.reverse/i386-precsave.exp
5899 * gdb.reverse/machinestate-precsave.exp
5900 * gdb.reverse/sigall-precsave.exp
5901 * gdb.reverse/solib-precsave.exp
5902 * gdb.reverse/step-precsave.exp
5903 * gdb.reverse/until-precsave.exp
5904 * gdb.reverse/watch-precsave.exp
5905 * gdb.threads/leader-exit.exp
5906 * gdb.threads/pthreads.exp
5907 * gdb.threads/wp-replication.exp
5908 * gdb.trace/actions.exp
5909 * gdb.trace/mi-tsv-changed.exp
5910 * gdb.trace/tsv.exp
5911
5912 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5913
5914 Fix test names starting with uppercase throughout the files.
5915
5916 * gdb.arch/i386-bp_permanent.exp
5917 * gdb.arch/i386-gnu-cfi.exp
5918 * gdb.base/disasm-end-cu.exp
5919 * gdb.base/macscp.exp
5920 * gdb.base/pending.exp
5921 * gdb.base/watch_thread_num.exp
5922 * gdb.cp/exception.exp
5923 * gdb.cp/gdb2495.exp
5924 * gdb.cp/local.exp
5925 * gdb.python/py-evsignal.exp
5926 * gdb.python/python.exp
5927 * gdb.trace/tracecmd.exp
5928
5929 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5930
5931 Fix test names starting with uppercase throughout the files.
5932
5933 * gdb.base/charset.exp
5934 * gdb.base/eval.exp
5935 * gdb.base/multi-forks.exp
5936 * gdb.guile/scm-progspace.exp
5937 * gdb.opencl/datatypes.exp
5938 * gdb.python/py-block.exp
5939 * gdb.python/py-function.exp
5940 * gdb.python/py-symbol.exp
5941 * gdb.python/py-symtab.exp
5942 * gdb.python/py-xmethods.exp
5943 * gdb.reverse/break-precsave.exp
5944 * gdb.reverse/break-reverse.exp
5945 * gdb.reverse/consecutive-precsave.exp
5946 * gdb.reverse/consecutive-reverse.exp
5947 * gdb.reverse/finish-precsave.exp
5948 * gdb.reverse/finish-reverse-bkpt.exp
5949 * gdb.reverse/finish-reverse.exp
5950 * gdb.reverse/fstatat-reverse.exp
5951 * gdb.reverse/getresuid-reverse.exp
5952 * gdb.reverse/i386-precsave.exp
5953 * gdb.reverse/i386-reverse.exp
5954 * gdb.reverse/i386-sse-reverse.exp
5955 * gdb.reverse/i387-stack-reverse.exp
5956 * gdb.reverse/insn-reverse.exp
5957 * gdb.reverse/machinestate-precsave.exp
5958 * gdb.reverse/machinestate.exp
5959 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5960 * gdb.reverse/pipe-reverse.exp
5961 * gdb.reverse/readv-reverse.exp
5962 * gdb.reverse/recvmsg-reverse.exp
5963 * gdb.reverse/rerun-prec.exp
5964 * gdb.reverse/s390-mvcle.exp
5965 * gdb.reverse/sigall-precsave.exp
5966 * gdb.reverse/sigall-reverse.exp
5967 * gdb.reverse/solib-precsave.exp
5968 * gdb.reverse/solib-reverse.exp
5969 * gdb.reverse/step-precsave.exp
5970 * gdb.reverse/step-reverse.exp
5971 * gdb.reverse/time-reverse.exp
5972 * gdb.reverse/until-precsave.exp
5973 * gdb.reverse/until-reverse.exp
5974 * gdb.reverse/waitpid-reverse.exp
5975 * gdb.reverse/watch-precsave.exp
5976 * gdb.reverse/watch-reverse.exp
5977
5978 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5979
5980 Fix test names starting with uppercase throughout the files.
5981
5982 * gdb.arch/i386-mpx-simple_segv.exp
5983 * gdb.arch/i386-mpx.exp
5984 * gdb.arch/i386-permbkpt.exp
5985 * gdb.arch/pa-nullify.exp
5986 * gdb.arch/powerpc-d128-regs.exp
5987 * gdb.arch/vsx-regs.exp
5988 * gdb.base/bfp-test.exp
5989 * gdb.base/break.exp
5990 * gdb.base/breakpoint-shadow.exp
5991 * gdb.base/callfuncs.exp
5992 * gdb.base/charset.exp
5993 * gdb.base/commands.exp
5994 * gdb.base/completion.exp
5995 * gdb.base/dfp-test.exp
5996 * gdb.base/echo.exp
5997 * gdb.base/ending-run.exp
5998 * gdb.base/eval.exp
5999 * gdb.base/expand-psymtabs.exp
6000 * gdb.base/float128.exp
6001 * gdb.base/floatn.exp
6002 * gdb.base/foll-exec-mode.exp
6003 * gdb.base/gdb1056.exp
6004 * gdb.base/gdb11531.exp
6005 * gdb.base/kill-after-signal.exp
6006 * gdb.base/multi-forks.exp
6007 * gdb.base/overlays.exp
6008 * gdb.base/pending.exp
6009 * gdb.base/sepdebug.exp
6010 * gdb.base/testenv.exp
6011 * gdb.base/valgrind-db-attach.exp
6012 * gdb.base/watch_thread_num.exp
6013 * gdb.base/watchpoint-cond-gone.exp
6014 * gdb.base/watchpoint.exp
6015 * gdb.base/watchpoints.exp
6016 * gdb.cp/arg-reference.exp
6017 * gdb.cp/baseenum.exp
6018 * gdb.cp/operator.exp
6019 * gdb.cp/shadow.exp
6020 * gdb.dwarf2/dw2-op-out-param.exp
6021 * gdb.dwarf2/dw2-reg-undefined.exp
6022 * gdb.go/chan.exp
6023 * gdb.go/hello.exp
6024 * gdb.go/integers.exp
6025 * gdb.go/methods.exp
6026 * gdb.go/package.exp
6027 * gdb.guile/scm-parameter.exp
6028 * gdb.guile/scm-progspace.exp
6029 * gdb.guile/scm-value.exp
6030 * gdb.mi/mi-pending.exp
6031 * gdb.mi/user-selected-context-sync.exp
6032 * gdb.multi/multi-attach.exp
6033 * gdb.multi/tids.exp
6034 * gdb.opt/clobbered-registers-O2.exp
6035 * gdb.pascal/floats.exp
6036 * gdb.pascal/integers.exp
6037 * gdb.python/py-block.exp
6038 * gdb.python/py-events.exp
6039 * gdb.python/py-parameter.exp
6040 * gdb.python/py-symbol.exp
6041 * gdb.python/py-symtab.exp
6042 * gdb.python/py-type.exp
6043 * gdb.python/py-value.exp
6044 * gdb.python/py-xmethods.exp
6045 * gdb.python/python.exp
6046 * gdb.reverse/break-precsave.exp
6047 * gdb.reverse/consecutive-precsave.exp
6048 * gdb.reverse/finish-precsave.exp
6049 * gdb.reverse/i386-precsave.exp
6050 * gdb.reverse/machinestate-precsave.exp
6051 * gdb.reverse/sigall-precsave.exp
6052 * gdb.reverse/solib-precsave.exp
6053 * gdb.reverse/step-precsave.exp
6054 * gdb.reverse/until-precsave.exp
6055 * gdb.reverse/watch-precsave.exp
6056 * gdb.server/ext-attach.exp
6057 * gdb.server/ext-restart.exp
6058 * gdb.server/ext-run.exp
6059 * gdb.server/ext-wrapper.exp
6060 * gdb.stabs/gdb11479.exp
6061 * gdb.stabs/weird.exp
6062 * gdb.threads/attach-many-short-lived-threads.exp
6063 * gdb.threads/kill.exp
6064 * gdb.threads/watchpoint-fork.exp
6065
6066 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6067
6068 Fix test names starting with uppercase throughout all the files below.
6069
6070 * gdb.ada/array_return.exp
6071 * gdb.ada/catch_ex.exp
6072 * gdb.ada/info_exc.exp
6073 * gdb.ada/mi_catch_ex.exp
6074 * gdb.ada/mi_dyn_arr.exp
6075 * gdb.ada/mi_ex_cond.exp
6076 * gdb.ada/mi_exc_info.exp
6077 * gdb.ada/mi_interface.exp
6078 * gdb.ada/mi_task_arg.exp
6079 * gdb.ada/mi_task_info.exp
6080 * gdb.ada/mi_var_array.exp
6081 * gdb.arch/alpha-step.exp
6082 * gdb.arch/amd64-disp-step.exp
6083 * gdb.arch/arm-disp-step.exp
6084 * gdb.arch/disp-step-insn-reloc.exp
6085 * gdb.arch/e500-prologue.exp
6086 * gdb.arch/ftrace-insn-reloc.exp
6087 * gdb.arch/gdb1558.exp
6088 * gdb.arch/i386-bp_permanent.exp
6089 * gdb.arch/i386-disp-step.exp
6090 * gdb.arch/i386-float.exp
6091 * gdb.arch/i386-gnu-cfi.exp
6092 * gdb.arch/ia64-breakpoint-shadow.exp
6093 * gdb.arch/mips16-thunks.exp
6094 * gdb.arch/pa-nullify.exp
6095 * gdb.arch/powerpc-aix-prologue.exp
6096 * gdb.arch/powerpc-power.exp
6097 * gdb.arch/ppc-dfp.exp
6098 * gdb.arch/s390-tdbregs.exp
6099 * gdb.arch/spu-info.exp
6100 * gdb.arch/spu-ls.exp
6101 * gdb.arch/thumb-bx-pc.exp
6102 * gdb.base/advance.exp
6103 * gdb.base/annota-input-while-running.exp
6104 * gdb.base/arrayidx.exp
6105 * gdb.base/asmlabel.exp
6106 * gdb.base/async.exp
6107 * gdb.base/attach-wait-input.exp
6108 * gdb.base/auto-connect-native-target.exp
6109 * gdb.base/batch-preserve-term-settings.exp
6110 * gdb.base/bfp-test.exp
6111 * gdb.base/bigcore.exp
6112 * gdb.base/bp-permanent.exp
6113 * gdb.base/break-always.exp
6114 * gdb.base/break-fun-addr.exp
6115 * gdb.base/break-idempotent.exp
6116 * gdb.base/break-main-file-remove-fail.exp
6117 * gdb.base/break-probes.exp
6118 * gdb.base/break-unload-file.exp
6119 * gdb.base/break.exp
6120 * gdb.base/call-ar-st.exp
6121 * gdb.base/call-rt-st.exp
6122 * gdb.base/call-sc.exp
6123 * gdb.base/call-signal-resume.exp
6124 * gdb.base/call-strs.exp
6125 * gdb.base/callexit.exp
6126 * gdb.base/callfuncs.exp
6127 * gdb.base/catch-gdb-caused-signals.exp
6128 * gdb.base/catch-signal-siginfo-cond.exp
6129 * gdb.base/catch-syscall.exp
6130 * gdb.base/compare-sections.exp
6131 * gdb.base/cond-eval-mode.exp
6132 * gdb.base/condbreak-call-false.exp
6133 * gdb.base/consecutive-step-over.exp
6134 * gdb.base/cursal.exp
6135 * gdb.base/disabled-location.exp
6136 * gdb.base/disasm-end-cu.exp
6137 * gdb.base/display.exp
6138 * gdb.base/double-prompt-target-event-error.exp
6139 * gdb.base/dprintf-bp-same-addr.exp
6140 * gdb.base/dprintf-detach.exp
6141 * gdb.base/dprintf-next.exp
6142 * gdb.base/dprintf-non-stop.exp
6143 * gdb.base/dprintf-pending.exp
6144 * gdb.base/dso2dso.exp
6145 * gdb.base/ending-run.exp
6146 * gdb.base/enum_cond.exp
6147 * gdb.base/examine-backward.exp
6148 * gdb.base/exe-lock.exp
6149 * gdb.base/exec-invalid-sysroot.exp
6150 * gdb.base/execl-update-breakpoints.exp
6151 * gdb.base/execution-termios.exp
6152 * gdb.base/fileio.exp
6153 * gdb.base/fixsection.exp
6154 * gdb.base/foll-exec-mode.exp
6155 * gdb.base/foll-exec.exp
6156 * gdb.base/fork-running-state.exp
6157 * gdb.base/frame-args.exp
6158 * gdb.base/fullpath-expand.exp
6159 * gdb.base/func-ptr.exp
6160 * gdb.base/gcore-relro-pie.exp
6161 * gdb.base/gdb1090.exp
6162 * gdb.base/gdb1555.exp
6163 * gdb.base/global-var-nested-by-dso.exp
6164 * gdb.base/gnu-ifunc.exp
6165 * gdb.base/hbreak-in-shr-unsupported.exp
6166 * gdb.base/hbreak-unmapped.exp
6167 * gdb.base/hook-stop.exp
6168 * gdb.base/infcall-input.exp
6169 * gdb.base/info-fun.exp
6170 * gdb.base/info-shared.exp
6171 * gdb.base/interrupt-noterm.exp
6172 * gdb.base/jit-so.exp
6173 * gdb.base/jit.exp
6174 * gdb.base/line-symtabs.exp
6175 * gdb.base/list.exp
6176 * gdb.base/longjmp.exp
6177 * gdb.base/macscp.exp
6178 * gdb.base/max-value-size.exp
6179 * gdb.base/nodebug.exp
6180 * gdb.base/nofield.exp
6181 * gdb.base/overlays.exp
6182 * gdb.base/paginate-after-ctrl-c-running.exp
6183 * gdb.base/paginate-bg-execution.exp
6184 * gdb.base/paginate-inferior-exit.exp
6185 * gdb.base/pending.exp
6186 * gdb.base/pr11022.exp
6187 * gdb.base/printcmds.exp
6188 * gdb.base/ptr-typedef.exp
6189 * gdb.base/ptype.exp
6190 * gdb.base/randomize.exp
6191 * gdb.base/range-stepping.exp
6192 * gdb.base/realname-expand.exp
6193 * gdb.base/relativedebug.exp
6194 * gdb.base/remote.exp
6195 * gdb.base/savedregs.exp
6196 * gdb.base/sepdebug.exp
6197 * gdb.base/set-noassign.exp
6198 * gdb.base/shlib-call.exp
6199 * gdb.base/shreloc.exp
6200 * gdb.base/sigaltstack.exp
6201 * gdb.base/sigbpt.exp
6202 * gdb.base/siginfo-addr.exp
6203 * gdb.base/siginfo-obj.exp
6204 * gdb.base/siginfo-thread.exp
6205 * gdb.base/signest.exp
6206 * gdb.base/signull.exp
6207 * gdb.base/sigrepeat.exp
6208 * gdb.base/skip.exp
6209 * gdb.base/so-impl-ld.exp
6210 * gdb.base/solib-corrupted.exp
6211 * gdb.base/solib-disc.exp
6212 * gdb.base/solib-display.exp
6213 * gdb.base/solib-overlap.exp
6214 * gdb.base/solib-search.exp
6215 * gdb.base/solib-symbol.exp
6216 * gdb.base/source-execution.exp
6217 * gdb.base/sss-bp-on-user-bp-2.exp
6218 * gdb.base/sss-bp-on-user-bp.exp
6219 * gdb.base/stack-checking.exp
6220 * gdb.base/stale-infcall.exp
6221 * gdb.base/step-break.exp
6222 * gdb.base/step-line.exp
6223 * gdb.base/step-over-exit.exp
6224 * gdb.base/step-test.exp
6225 * gdb.base/structs.exp
6226 * gdb.base/sym-file.exp
6227 * gdb.base/symtab-search-order.exp
6228 * gdb.base/term.exp
6229 * gdb.base/type-opaque.exp
6230 * gdb.base/unload.exp
6231 * gdb.base/until-nodebug.exp
6232 * gdb.base/until.exp
6233 * gdb.base/unwindonsignal.exp
6234 * gdb.base/watch-cond.exp
6235 * gdb.base/watch-non-mem.exp
6236 * gdb.base/watch_thread_num.exp
6237 * gdb.base/watchpoint-reuse-slot.exp
6238 * gdb.base/watchpoint-solib.exp
6239 * gdb.base/watchpoint.exp
6240 * gdb.btrace/dlopen.exp
6241 * gdb.cell/arch.exp
6242 * gdb.cell/break.exp
6243 * gdb.cell/bt.exp
6244 * gdb.cell/core.exp
6245 * gdb.cell/data.exp
6246 * gdb.cell/dwarfaddr.exp
6247 * gdb.cell/ea-cache.exp
6248 * gdb.cell/ea-standalone.exp
6249 * gdb.cell/ea-test.exp
6250 * gdb.cell/f-regs.exp
6251 * gdb.cell/fork.exp
6252 * gdb.cell/gcore.exp
6253 * gdb.cell/mem-access.exp
6254 * gdb.cell/ptype.exp
6255 * gdb.cell/registers.exp
6256 * gdb.cell/sizeof.exp
6257 * gdb.cell/solib-symbol.exp
6258 * gdb.cell/solib.exp
6259 * gdb.compile/compile-tls.exp
6260 * gdb.cp/exception.exp
6261 * gdb.cp/gdb2495.exp
6262 * gdb.cp/local.exp
6263 * gdb.cp/mb-inline.exp
6264 * gdb.cp/mb-templates.exp
6265 * gdb.cp/pr10687.exp
6266 * gdb.cp/pr9167.exp
6267 * gdb.cp/scope-err.exp
6268 * gdb.cp/templates.exp
6269 * gdb.cp/virtfunc.exp
6270 * gdb.dwarf2/dw2-dir-file-name.exp
6271 * gdb.dwarf2/dw2-single-line-discriminators.exp
6272 * gdb.fortran/complex.exp
6273 * gdb.fortran/library-module.exp
6274 * gdb.guile/guile.exp
6275 * gdb.guile/scm-cmd.exp
6276 * gdb.guile/scm-frame-inline.exp
6277 * gdb.guile/scm-objfile.exp
6278 * gdb.guile/scm-pretty-print.exp
6279 * gdb.guile/scm-symbol.exp
6280 * gdb.guile/scm-type.exp
6281 * gdb.guile/scm-value.exp
6282 * gdb.linespec/keywords.exp
6283 * gdb.linespec/ls-errs.exp
6284 * gdb.linespec/macro-relative.exp
6285 * gdb.linespec/thread.exp
6286 * gdb.mi/mi-breakpoint-changed.exp
6287 * gdb.mi/mi-dprintf-pending.exp
6288 * gdb.mi/mi-fullname-deleted.exp
6289 * gdb.mi/mi-logging.exp
6290 * gdb.mi/mi-pending.exp
6291 * gdb.mi/mi-solib.exp
6292 * gdb.mi/new-ui-mi-sync.exp
6293 * gdb.mi/user-selected-context-sync.exp
6294 * gdb.multi/dummy-frame-restore.exp
6295 * gdb.multi/multi-arch-exec.exp
6296 * gdb.multi/remove-inferiors.exp
6297 * gdb.multi/watchpoint-multi-exit.exp
6298 * gdb.opt/solib-intra-step.exp
6299 * gdb.perf/backtrace.exp
6300 * gdb.perf/single-step.exp
6301 * gdb.perf/skip-command.exp
6302 * gdb.perf/skip-prologue.exp
6303 * gdb.perf/solib.exp
6304 * gdb.python/lib-types.exp
6305 * gdb.python/py-as-string.exp
6306 * gdb.python/py-bad-printers.exp
6307 * gdb.python/py-block.exp
6308 * gdb.python/py-breakpoint.exp
6309 * gdb.python/py-cmd.exp
6310 * gdb.python/py-events.exp
6311 * gdb.python/py-evthreads.exp
6312 * gdb.python/py-finish-breakpoint.exp
6313 * gdb.python/py-finish-breakpoint2.exp
6314 * gdb.python/py-frame-inline.exp
6315 * gdb.python/py-frame.exp
6316 * gdb.python/py-inferior.exp
6317 * gdb.python/py-infthread.exp
6318 * gdb.python/py-mi.exp
6319 * gdb.python/py-objfile.exp
6320 * gdb.python/py-pp-maint.exp
6321 * gdb.python/py-pp-registration.exp
6322 * gdb.python/py-prettyprint.exp
6323 * gdb.python/py-recurse-unwind.exp
6324 * gdb.python/py-shared.exp
6325 * gdb.python/py-symbol.exp
6326 * gdb.python/py-symtab.exp
6327 * gdb.python/py-template.exp
6328 * gdb.python/py-type.exp
6329 * gdb.python/py-unwind-maint.exp
6330 * gdb.python/py-unwind.exp
6331 * gdb.python/py-value.exp
6332 * gdb.python/python.exp
6333 * gdb.reverse/finish-reverse-bkpt.exp
6334 * gdb.reverse/insn-reverse.exp
6335 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6336 * gdb.reverse/solib-precsave.exp
6337 * gdb.reverse/solib-reverse.exp
6338 * gdb.stabs/gdb11479.exp
6339 * gdb.stabs/weird.exp
6340 * gdb.threads/fork-child-threads.exp
6341 * gdb.threads/fork-plus-threads.exp
6342 * gdb.threads/fork-thread-pending.exp
6343 * gdb.threads/forking-threads-plus-breakpoint.exp
6344 * gdb.threads/hand-call-in-threads.exp
6345 * gdb.threads/interrupted-hand-call.exp
6346 * gdb.threads/linux-dp.exp
6347 * gdb.threads/local-watch-wrong-thread.exp
6348 * gdb.threads/next-while-other-thread-longjmps.exp
6349 * gdb.threads/non-ldr-exit.exp
6350 * gdb.threads/pending-step.exp
6351 * gdb.threads/print-threads.exp
6352 * gdb.threads/process-dies-while-detaching.exp
6353 * gdb.threads/process-dies-while-handling-bp.exp
6354 * gdb.threads/pthreads.exp
6355 * gdb.threads/queue-signal.exp
6356 * gdb.threads/reconnect-signal.exp
6357 * gdb.threads/signal-command-handle-nopass.exp
6358 * gdb.threads/signal-command-multiple-signals-pending.exp
6359 * gdb.threads/signal-delivered-right-thread.exp
6360 * gdb.threads/signal-sigtrap.exp
6361 * gdb.threads/sigthread.exp
6362 * gdb.threads/staticthreads.exp
6363 * gdb.threads/stepi-random-signal.exp
6364 * gdb.threads/thread-unwindonsignal.exp
6365 * gdb.threads/thread_check.exp
6366 * gdb.threads/thread_events.exp
6367 * gdb.threads/tid-reuse.exp
6368 * gdb.threads/tls-nodebug.exp
6369 * gdb.threads/tls-shared.exp
6370 * gdb.threads/tls-so_extern.exp
6371 * gdb.threads/tls.exp
6372 * gdb.threads/wp-replication.exp
6373 * gdb.trace/actions-changed.exp
6374 * gdb.trace/actions.exp
6375 * gdb.trace/backtrace.exp
6376 * gdb.trace/change-loc.exp
6377 * gdb.trace/collection.exp
6378 * gdb.trace/deltrace.exp
6379 * gdb.trace/disconnected-tracing.exp
6380 * gdb.trace/entry-values.exp
6381 * gdb.trace/ftrace-lock.exp
6382 * gdb.trace/ftrace.exp
6383 * gdb.trace/infotrace.exp
6384 * gdb.trace/mi-trace-frame-collected.exp
6385 * gdb.trace/mi-trace-unavailable.exp
6386 * gdb.trace/mi-traceframe-changed.exp
6387 * gdb.trace/mi-tracepoint-changed.exp
6388 * gdb.trace/mi-tsv-changed.exp
6389 * gdb.trace/no-attach-trace.exp
6390 * gdb.trace/packetlen.exp
6391 * gdb.trace/passc-dyn.exp
6392 * gdb.trace/passcount.exp
6393 * gdb.trace/pending.exp
6394 * gdb.trace/pr16508.exp
6395 * gdb.trace/qtro.exp
6396 * gdb.trace/range-stepping.exp
6397 * gdb.trace/read-memory.exp
6398 * gdb.trace/report.exp
6399 * gdb.trace/save-trace.exp
6400 * gdb.trace/signal.exp
6401 * gdb.trace/stap-trace.exp
6402 * gdb.trace/status-stop.exp
6403 * gdb.trace/strace.exp
6404 * gdb.trace/tfile.exp
6405 * gdb.trace/tfind.exp
6406 * gdb.trace/trace-break.exp
6407 * gdb.trace/trace-condition.exp
6408 * gdb.trace/trace-enable-disable.exp
6409 * gdb.trace/trace-mt.exp
6410 * gdb.trace/tracecmd.exp
6411 * gdb.trace/tracefile-pseudo-reg.exp
6412 * gdb.trace/tspeed.exp
6413 * gdb.trace/tstatus.exp
6414 * gdb.trace/tsv.exp
6415 * gdb.trace/unavailable.exp
6416 * gdb.trace/while-dyn.exp
6417 * gdb.trace/while-stepping.exp
6418 * lib/gdb-guile.exp
6419 * lib/gdb.exp
6420 * lib/mi-support.exp
6421 * lib/pascal.exp
6422 * lib/perftest.exp
6423 * lib/prelink-support.exp
6424 * lib/selftest-support.exp
6425
6426 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6427
6428 * Makefile.in: Include disable-implicit-rules.mk.
6429
6430 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6431
6432 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6433 non-byte-aligned bit fields.
6434
6435 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6436
6437 PR gdb/12616
6438 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6439 respects the DW_AT_data_bit_offset attribute.
6440
6441 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6442
6443 * gdb.base/default.exp: Fix output of "set language".
6444
6445 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6446
6447 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6448 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6449 make.
6450 * configure.ac: Remove checks for the make program.
6451 * configure: Re-generate.
6452
6453 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6454
6455 * gdb.python/py-recurse-unwind.c (main): Add loop.
6456 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6457 to read_register() and gdb.parse_and_eval(). Make each code
6458 call a separate case that can be individually tested.
6459 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6460 proc. Call cont_and_backtrace for each of the code paths that
6461 we want to test in the unwinder.
6462
6463 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6464
6465 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6466 the definition of struct S.
6467
6468 2016-11-11 Catherine Moore <clm@codesourcery.com>
6469
6470 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6471
6472 2016-11-09 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/commands.exp (runto_or_return): New procedure.
6475 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6476 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6477 (progvar_simple_while_test, progvar_complex_if_while_test)
6478 (if_while_breakpoint_command_test)
6479 (infrun_breakpoint_command_test, breakpoint_command_test)
6480 (user_defined_command_test, watchpoint_command_test)
6481 (test_command_prompt_position, redefine_hook_test)
6482 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6483 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6484 multi_line_input and multi_line. Remove gdb_expect and
6485 gdb_stop_suppressing_tests uses.
6486 * lib/gdb.exp (valnum_re): New global.
6487 (multi_line_input): New procedure.
6488
6489 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6490
6491 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6492 Remove.
6493 (test_setup): Define with proc_with_prefix.
6494 (test_cli_inferior): Likewise.
6495 (test_cli_thread): Likewise.
6496 (test_cli_frame): Likewise.
6497 (test_cli_select_frame): Likewise.
6498 (test_cli_up_down): Likewise.
6499 (test_mi_thread_select): Likewise.
6500 (test_mi_stack_select_frame): Likewise.
6501 (test_cli_in_mi_inferior): Likewise.
6502 (test_cli_in_mi_thread): Likewise.
6503 (test_cli_in_mi_frame): Likewise.
6504 (top level): Do not use with_test_prefix_procname.
6505
6506 2016-11-09 Pedro Alves <palves@redhat.com>
6507
6508 * gdb.base/commands.exp (gdbvar_simple_if_test)
6509 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6510 (progvar_simple_if_test, progvar_simple_while_test)
6511 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6512 (infrun_breakpoint_command_test, breakpoint_command_test)
6513 (user_defined_command_test, watchpoint_command_test)
6514 (test_command_prompt_position, deprecated_command_test)
6515 (bp_deleted_in_command, temporary_breakpoint_commands)
6516 (stray_arg0_test, source_file_with_indented_comment)
6517 (recursive_source_test, if_commands_test)
6518 (error_clears_commands_left, redefine_hook_test)
6519 (redefine_backtrace_test): Use proc_with_prefix.
6520 * lib/gdb.exp (proc_with_prefix): New proc.
6521
6522 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6523
6524 * gdb.base/tui-layout.c: New file.
6525 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6526 disassembly window contains very long lines.
6527
6528 2016-11-08 Tom Tromey <tom@tromey.com>
6529
6530 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6531 depend on Python 2.
6532
6533 2016-11-08 Tom Tromey <tom@tromey.com>
6534
6535 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6536 New method.
6537
6538 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6539
6540 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6541
6542 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6543
6544 * gdb.rust/simple.rs: Add test for univariant enums without
6545 discriminants and for encoded struct-like enums.
6546
6547 2016-10-28 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6550 gdb_test_multiple, tighten regexps and match symtabs and line
6551 tables incrementally.
6552
6553 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6554
6555 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6556 general.
6557
6558 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6559
6560 * gdb.base/exec-invalid-sysroot.exp: New file.
6561
6562 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6563
6564 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6565
6566 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6567
6568 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6569
6570 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6571
6572 * gdb.base/killed-outside.exp: Remove $options from a call to
6573 `prepare_for_testing'.
6574
6575 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6576
6577 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6578 Change test message.
6579
6580 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6581
6582 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6583 Update comment.
6584
6585 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6586
6587 * gdb.trace/mi-trace-save.exp: New file.
6588
6589 2016-10-13 Yao Qi <yao.qi@linaro.org>
6590
6591 * gdb.base/code_elim.exp (get_var_address): Remove.
6592 * gdb.base/relocate.exp: Likewise.
6593 * gdb.base/shreloc.exp: Likewise.
6594 * lib/gdb.exp (get_var_address): New.
6595
6596 2016-10-13 Yao Qi <yao.qi@linaro.org>
6597
6598 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6599 floating point tests if $skip_float_test is false.
6600
6601 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6602
6603 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6604 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6605 argc values.
6606 Add 1 to argc so we guarantee distinct initial/modified argc values.
6607
6608 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6609
6610 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6611
6612 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6613
6614 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6615 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6616 * gdb.arch/vsx-regs.exp: Likewise.
6617
6618 2016-10-07 Yao Qi <yao.qi@linaro.org>
6619
6620 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6621
6622 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6623
6624 * gdb.python/python.exp: Test decode_line("*0").
6625
6626 2016-10-06 Doug Evans <dje@google.com>
6627
6628 * gdb.python/py-value.exp (test_value_creation): Add test for large
6629 unsigned 64-bit value.
6630
6631 2016-10-06 Tom Tromey <tom@tromey.com>
6632
6633 * gdb.compile/compile.exp: Change java tests to rust.
6634 * gdb.base/setshow.exp: Change java tests to rust.
6635 * gdb.base/default.exp: Remove java from language list.
6636 * README (Examples): Update language example.
6637 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6638 test.
6639 * lib/gdb.exp (skip_java_tests): Remove.
6640 * lib/java.exp: Remove.
6641 * gdb.java: Remove.
6642
6643 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6644
6645 * gdb.arch/mips-fcr.exp: New test.
6646 * gdb.arch/mips-fcr.c: Source for the new test.
6647
6648 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6649
6650 * gdb.base/solib-disc.exp: Use `standard_output_file'
6651 throughout.
6652
6653 2016-10-06 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.base/jit-simple-dl.c: New file.
6656 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6657 * gdb.base/jit-simple.c: ... this.
6658 * gdb.base/jit-simple.exp (jit_run): Delete.
6659 (build_jit): New proc.
6660 (jit_test_reread): Recompile either the main program or the shared
6661 library, depending on what is being tested. Skip changing address
6662 if caller wants to. Compare before/after addresses. If testing
6663 standalone, explicitly load the binary. Test "maint info
6664 breakpoints".
6665 (top level): Add "standalone vs shared lib" and "change address"
6666 vs "same address" axes.
6667
6668 2016-10-06 Pedro Alves <palves@redhat.com>
6669
6670 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6671 call.
6672 (jit_run): Delete.
6673 (jit_test_reread): Use with_test_prefix. Reload the main binary
6674 explicitly. Compare the before/after addresses of the JIT
6675 descriptor.
6676
6677 2016-08-15 Doug Evans <dje@google.com>
6678
6679 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6680 for single bitfields is bool.
6681 * gdb.xml/tdesc-regs.exp: Ditto.
6682
6683 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6684
6685 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6686
6687 2016-10-05 Yao Qi <yao.qi@linaro.org>
6688
6689 * lib/gdb.exp (support_complex_tests): Return zero if
6690 gdb_skip_float_test return true.
6691
6692 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6693 Simon Marchi <simon.marchi@ericsson.com>
6694
6695 PR gdb/20487
6696 * gdb.mi/user-selected-context-sync.exp: New file.
6697 * gdb.mi/user-selected-context-sync.c: New file.
6698
6699 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6700 Simon Marchi <simon.marchi@ericsson.com>
6701
6702 PR gdb/20487
6703 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6704 =thread-select-event check.
6705
6706 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6707
6708 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6709 the compulsory L operand changes.
6710 * gdb.arch/powerpc-power.s: Likewise.
6711
6712 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6713
6714 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6715 * gdb.base/jit-attach-pie.c: New file.
6716 * gdb.base/jit-attach-pie.exp: New file.
6717
6718 2016-09-28 Pedro Alves <palves@redhat.com>
6719
6720 * gdb.base/infcall-input.c: New file.
6721 * gdb.base/infcall-input.exp: New file.
6722
6723 2016-09-22 Yao Qi <yao.qi@linaro.org>
6724
6725 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6726 (gdb_exit): Rename it to ...
6727 (gdbserver_gdb_exit): ... Close GDBserver.
6728 (gdb_exit): New proc, call gdbserver_gdb_exit.
6729 (mi_gdb_exit): Likewise.
6730
6731 2016-09-22 Yao Qi <yao.qi@linaro.org>
6732
6733 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6734 path.
6735 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6736 Remove duplication.
6737
6738 2016-09-22 Yao Qi <yao.qi@linaro.org>
6739
6740 * lib/gdbserver-support.exp: Check the existence of
6741 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6742
6743 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6744
6745 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6746
6747 2016-09-21 Tom Tromey <tom@tromey.com>
6748
6749 PR gdb/20604:
6750 * gdb.base/quit.exp: New file.
6751
6752 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6753
6754 * .gitignore: New file.
6755
6756 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6757
6758 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6759 throughout.
6760
6761 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6762
6763 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6764
6765 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 * gdb.cp/casts.cc (decltype): Move it ...
6768 (main): ... with its call to ...
6769 * gdb.cp/casts03.cc: ... a new file.
6770 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6771
6772 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6773
6774 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6775
6776 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6777
6778 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6779 and sync up the test with tests in gas/testsuite/gas/ppc.
6780 * gdb.arch/powerpc-power.exp: Likewise.
6781
6782 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6783
6784 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6785
6786 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6787 Jan Kratochvil <jan.kratochvil@redhat.com>
6788
6789 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6790 make m1's definition to be different from m2's. Use 'dummy' as an
6791 argument for probe 'two'.
6792
6793 2016-09-10 Jon Beniston <jon@beniston.com>
6794
6795 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6796 for sim target.
6797
6798 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6799
6800 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6801 variable declaration.
6802 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6803 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6804 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6805 received HWCAP as its argument.
6806
6807 2016-09-06 Pedro Alves <palves@redhat.com>
6808
6809 * gdb.base/new-ui-pending-input.c: New file.
6810 * gdb.base/new-ui-pending-input.exp: New file.
6811 * gdb.exp (clear_gdb_spawn_id): New procedure.
6812 (with_spawn_id): Check whether gdb_spawn_id exists before
6813 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6814 on exit.
6815
6816 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6817
6818 * gdb.base/float128.c: New file.
6819 * gdb.base/float128.exp: Likewise.
6820 * gdb.base/floatn.c: Likewise.
6821 * gdb.base/floatn.exp: Likewise.
6822
6823 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6824
6825 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6826
6827 2016-09-05 Pedro Alves <palves@redhat.com>
6828
6829 PR backtrace/19927
6830 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6831 unwinders are immediately called as side effect of "source" or
6832 "disable unwinder" commands.
6833 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6834
6835 2016-09-02 Yao Qi <yao.qi@linaro.org>
6836
6837 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6838 is true and $type is "float" or "double".
6839
6840 2016-09-02 Yao Qi <yao.qi@linaro.org>
6841
6842 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6843 true.
6844 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6845 * gdb.base/call-rt-st.exp: Likewise.
6846 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6847 return value instead of gdb,skip_float_test.
6848 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6849 (do_function_calls): Use its return value instead of
6850 gdb,skip_float_test.
6851 * gdb.base/finish.exp: Likewise.
6852 * gdb.base/funcargs.exp: Likewise.
6853 * gdb.base/return.exp: Likewise.
6854 * gdb.base/return2.exp: Likewise.
6855 * gdb.base/varargs.exp: Likewise.
6856 * lib/gdb.exp (gdb_skip_float_test): Change it to
6857 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6858
6859 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6860
6861 * gdb.multi/tids.exp: Test "thread apply all".
6862
6863 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6864
6865 * gdb.base/default.exp (tty): Remove.
6866
6867 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6868
6869 * gdb.python/py-recurse-unwind.c: New file.
6870 * gdb.python/py-recurse-unwind.py: New file.
6871 * gdb.python/py-recurse-unwind.exp: New file.
6872
6873 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6874
6875 * gdb.base/set-inferior-tty.exp: New file.
6876 * gdb.base/set-inferior-tty.c: New file.
6877
6878 2016-08-23 Pedro Alves <palves@redhat.com>
6879
6880 PR gdb/20494
6881 * gdb.base/new-ui-echo.c: New file.
6882 * gdb.base/new-ui-echo.exp: New file.
6883
6884 2016-08-23 Yao Qi <yao.qi@linaro.org>
6885
6886 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6887 gdbserver_spawn.
6888 * gdb.server/connect-without-multi-process.exp (do_test):
6889 Likewise.
6890
6891 2016-08-23 Yao Qi <yao.qi@linaro.org>
6892
6893 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6894 standalone_txt. Delete gdb_txt and standalone_txt on host
6895 and target. Spawn the binary on target. Copy files from
6896 target to host.
6897
6898 2016-08-22 Pedro Alves <palves@redhat.com>
6899
6900 PR gdb/20505
6901 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6902 with_test_prefix. Factor out bits to ...
6903 (test_no_vdso): ... this new procedure.
6904
6905 2016-08-19 Carl Love <cel@us.ibm.com>
6906
6907 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6908 maintaining separate logic for constructing the output path.
6909 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6910 * gdb.arch/ppc-dfp.exp: Likewise.
6911 * gdb.arch/ppc-fp.exp: Likewise.
6912 * gdb.arch/vsx-regs.exp: Likewise.
6913 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6914 binprefix for generating the additional binary files.
6915
6916 2016-08-19 Pedro Alves <palves@redhat.com>
6917
6918 * gdb.trace/mi-trace-frame-collected.exp
6919 (test_trace_frame_collected): On x32, expect two registers.
6920
6921 2016-08-18 Carl Love <cel@us.ibm.com>
6922
6923 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6924 and sync up the test with tests in gas/testsuite/gas/ppc.
6925 * gdb.arch/powerpc-power.exp: Likewise.
6926
6927 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6928
6929 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6930 expected error message.
6931
6932 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6933
6934 * gdb.multi/remove-inferiors.exp: New file.
6935 * gdb.multi/remove-inferiors.c: New file.
6936
6937 2016-08-12 Yao Qi <yao.qi@linaro.org>
6938
6939 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6940 argument list.
6941
6942 2016-08-10 Pedro Alves <palves@redhat.com>
6943
6944 PR gdb/19187
6945 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6946 setup_kfails.
6947
6948 2016-08-09 Pedro Alves <palves@redhat.com>
6949 Simon Marchi <simon.marchi@ericsson.com>
6950
6951 PR gdb/20418
6952 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6953 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6954
6955 2016-08-09 Pedro Alves <palves@redhat.com>
6956
6957 PR mi/20431
6958 * gdb.mi/mi-cmd-error.exp: New file.
6959
6960 2016-08-09 Pedro Alves <palves@redhat.com>
6961
6962 PR gdb/18653
6963 * gdb.base/signals-state-child.c: New file.
6964 * gdb.base/signals-state-child.exp: New file.
6965 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6966
6967 2016-08-09 Pedro Alves <palves@redhat.com>
6968
6969 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6970
6971 2016-08-03 Tom Tromey <tom@tromey.com>
6972
6973 PR python/18565:
6974 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6975
6976 2016-08-01 Yao Qi <yao.qi@linaro.org>
6977
6978 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6979 variable mode to "multi-process" if $multi_process is 1, otherwise
6980 set it to "single-process".
6981
6982 2016-08-01 Yao Qi <yao.qi@linaro.org>
6983
6984 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6985 * gdb.cp/cpexprs.exp: Likewise.
6986 * gdb.cp/m-static.exp: Likewise.
6987
6988 2016-07-26 Tom Tromey <tom@tromey.com>
6989
6990 PR python/20190:
6991 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6992 test.
6993
6994 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6995
6996 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6997 selecting assembly source files.
6998 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6999 assembly source files.
7000 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7001 assembly source files.
7002 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7003 selecting assembly source files.
7004
7005 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7006
7007 * gdb.base/new-ui.exp (do_test_invalid_args): New
7008 procedure.
7009
7010 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7011
7012 * gdb.btrace/reconnect.c: New file.
7013 * gdb.btrace/reconnect.exp: New file.
7014
7015 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7016
7017 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7018 to test_catch_syscall_group.
7019 (test_catch_syscall_group): New.
7020
7021 2016-07-21 Tom Tromey <tom@tromey.com>
7022
7023 * gdb.rust/simple.rs (main): Use empty struct expression.
7024 * gdb.rust/simple.exp: Add tests for empty struct expression.
7025
7026 2016-07-21 Yao Qi <yao.qi@linaro.org>
7027
7028 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7029 if gdb_skip_xml_test is true on some targets.
7030
7031 2016-07-21 Yao Qi <yao.qi@linaro.org>
7032
7033 * gdb.server/solib-list.exp: Unset last_loaded_file.
7034
7035 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7036
7037 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7038 "step into captured_main (args)".
7039
7040 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7041
7042 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7043
7044 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7045
7046 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7047
7048 2016-07-19 Pedro Alves <palves@redhat.com>
7049
7050 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7051 * gdb.opt/inline-bt.exp: Likewise.
7052 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7053 additional_flags=-Winline.
7054 * gdb.opt/inline-locals.exp: Likewise.
7055 * gdb.opt/inline-markers.c (ATTR): Define.
7056 (inlined_fn): Use it.
7057
7058 2016-07-19 Yao Qi <yao.qi@linaro.org>
7059
7060 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7061 (test_with_self): Remove some code. Remove argument executable.
7062 (top-level): Use do_self_tests.
7063
7064 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7065 Don Breazeal <donb@codesourcery.com>
7066
7067 * gdb.base/maint.exp: Escape paths used in regular expressions.
7068 * gdb.stabs/weird.exp: Likewise.
7069
7070 2016-07-13 Tom Tromey <tom@tromey.com>
7071
7072 PR python/15620, PR python/18620:
7073 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7074 (test_bkpt_events): New procs.
7075
7076 2016-07-13 Tom Tromey <tom@tromey.com>
7077
7078 PR python/17698:
7079 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7080 test.
7081 (test_watchpoints): Likewise.
7082 (test_bkpt_pending): New proc.
7083
7084 2016-07-13 Tom Tromey <tom@tromey.com>
7085
7086 PR cli/18053:
7087 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7088 completion test.
7089
7090 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7091
7092 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7093 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7094 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7095 f_label.
7096 (g): Rename g_end_lbl to g_label.
7097 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7098 low_pc and high_pc.
7099 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7100
7101 2016-07-12 Tom Tromey <tom@tromey.com>
7102
7103 PR python/19293:
7104 * gdb.python/py-unwind-maint.exp: Update tests.
7105
7106 2016-07-12 Yao Qi <yao.qi@linaro.org>
7107
7108 * lib/selftest-support.exp (selftest_setup): Match the output
7109 when captured_main is inlined.
7110
7111 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7112
7113 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7114 New variables.
7115 (print this%a, print this%b, print this): New tests.
7116 * gdb.fortran/derived-types.f90 (this): New object and
7117 initialization.
7118
7119 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7120
7121 * gdb.ada/arraydim.exp: Remove extra directory level in build
7122 directory.
7123
7124 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7125
7126 * lib/ada.exp: Remove extra directory level in build directory.
7127 * gdb.ada/cond_lang.exp: Likewise.
7128 * gdb.ada/exec_changed.exp: Likewise.
7129 * gdb.ada/lang_switch.exp: Likewise.
7130
7131 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7132
7133 * simple.rs: Add test for raw pointer subscripting.
7134 * simple.exp: Add test expectations.
7135
7136 2016-07-05 Yao Qi <yao.qi@linaro.org>
7137
7138 * gdb.mi/mi-reverse.exp: Match =record-started output.
7139
7140 2016-07-01 Pedro Alves <palves@redhat.com>
7141
7142 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7143 procedure.
7144 (jit_reader_test): Test the jit reader's unwinder.
7145 * gdb.base/jithost.c (jit_function_00_code): New global.
7146 (main): Use memcpy to fill in the mmapped code, instead of poking
7147 bytes manually here.
7148 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7149 value.
7150 (read_debug_info): Save the function's range.
7151 (read_sp): New function.
7152 (unwind_frame): Use it. Also unwind RBP.
7153 (get_frame_id): Use read_sp.
7154 (gdb_init_reader): Use calloc instead of malloc.
7155 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7156 parameter. Use gdb_test_multiple.
7157
7158 2016-07-01 Pedro Alves <palves@redhat.com>
7159 Antoine Tremblay <antoine.tremblay@ericsson.com>
7160
7161 * gdb.threads/process-dies-while-detaching.c: New file.
7162 * gdb.threads/process-dies-while-detaching.exp: New file.
7163
7164 2016-07-01 Pedro Alves <palves@redhat.com>
7165
7166 * gdb.multi/watchpoint-multi-exit.c: New file.
7167 * gdb.multi/watchpoint-multi-exit.exp: New file.
7168
7169 2016-06-30 Pedro Alves <palves@redhat.com>
7170
7171 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7172 unset inferior_spawn_id.
7173
7174 2016-06-30 Pedro Alves <palves@redhat.com>
7175
7176 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7177 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7178
7179 2016-06-29 Yao Qi <yao.qi@linaro.org>
7180
7181 * gdb.base/return.c: Add copyright header.
7182
7183 2016-06-29 Tom Tromey <tom@tromey.com>
7184
7185 PR python/20129:
7186 * gdb.python/py-framefilter.exp: Add tests for setting priority
7187 and disabling of non-existent frame filter.
7188
7189 2016-06-29 Yao Qi <yao.qi@linaro.org>
7190
7191 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7192 0x0f07ff.
7193
7194 2016-06-28 Yao Qi <yao.qi@linaro.org>
7195
7196 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7197 triplets. Start gdb, execute catch syscall, and continue. Check
7198 gdb's output to determine catch syscall is supported.
7199
7200 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7201
7202 * gdb.rust/simple.rs: Add test for returning unit in a function.
7203 * gdb.rust/simple.exp: Add expectation for functions returning
7204 unit.
7205
7206 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7207
7208 * gdb.python/py-breakpoint-create-fail.c,
7209 gdb.python/py-breakpoint-create-fail.exp,
7210 gdb.python/py-breakpoint-create-fail.py: New testcase.
7211
7212 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7213
7214 PR gdb/20239
7215 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7216 * gdb.rust/simple.exp: Add test expectations for new NonZero
7217 tests.
7218
7219 2016-06-24 David Taylor <dtaylor@emc.com>
7220
7221 * gdb.base/offsets.exp: New file.
7222 * gdb.base/offsets.c: New file.
7223
7224 2016-06-23 Tom Tromey <tom@tromey.com>
7225
7226 PR gdb/16483:
7227 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7228 before any filters are loaded.
7229
7230 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7231
7232 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7233 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7234 structs.
7235 * gdb.fortran/derived-type-function.exp: New file.
7236 * gdb.fortran/derived-type-function.f90: New file.
7237
7238
7239 2016-06-21 Pedro Alves <palves@redhat.com>
7240
7241 * gdb.base/new-ui.exp: New file.
7242 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7243 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7244 (with_spawn_id): New procedure.
7245
7246 2016-06-21 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.mi/mi-exec-run.exp: New file.
7249
7250 2016-06-21 Pedro Alves <palves@redhat.com>
7251
7252 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7253 breakpoint command's output on the main UI.
7254 (test_break): New procedure, factored out from calls in the top
7255 level.
7256 (top level): Use foreach_with_prefix to test MI as main UI and as
7257 separate UI.
7258
7259 2016-06-21 Pedro Alves <palves@redhat.com>
7260
7261 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7262 (test_awatch_creation_and_listing)
7263 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7264 Remove 'type' parameter.
7265 (test_watchpoint_all): New parameter mi_mode. Remove
7266 with_test_prefix.
7267 (top level): Use foreach_with_prefix, and add main/separate UI MI
7268 testing axis.
7269
7270 2016-06-21 Pedro Alves <palves@redhat.com>
7271
7272 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7273 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7274 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7275 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7276 (gdb_main_spawn_id, mi_spawn_id): Declare and
7277 comment.
7278 (mi_create_inferior_pty): New procedure,
7279 factored out from default_mi_gdb_start.
7280 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7281 procedures.
7282 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7283 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7284 Use mi_create_inferior_pty.
7285 (mi_gdb_start): Use eval to pass down args list.
7286
7287 2016-06-21 Pedro Alves <palves@redhat.com>
7288
7289 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7290 * gdb.opt/inline-cmds.exp: Add MI tests.
7291
7292 2016-06-21 Pedro Alves <palves@redhat.com>
7293
7294 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7295
7296 2016-06-21 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7299 (top level): Use it instead of mi_execute_to.
7300
7301 2016-06-21 Pedro Alves <palves@redhat.com>
7302
7303 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7304 (cont_handler_str): New.
7305 (signal_stop_handler): Set stop_handler_str instead of printing to
7306 stdout.
7307 (continue_handler): Set cont_handler_str instead of printing to
7308 stdout.
7309 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7310 mi_send_resuming_command. Print stop_handler_str and
7311 cont_handler_str instead of expecting the python events print
7312 directly.
7313
7314 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7315
7316 * gdb.base/jit-reader.exp: New file.
7317 * gdb.base/jithost.c: New file.
7318 * gdb.base/jithost.h: New file.
7319 * gdb.base/jitreader.c : New file.
7320 * gdb.base/jit-protocol.h: New file.
7321
7322 2016-06-17 Yao Qi <yao.qi@linaro.org>
7323
7324 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7325 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7326 and detach-on-fork. Adjust tests.
7327 (top level): Invoke break_cond_on_syscall with combinations of
7328 syscall, follow-fork-mode and detach-on-fork.
7329
7330 2016-06-17 Yao Qi <yao.qi@linaro.org>
7331
7332 * gdb.base/step-over-exit.c: New.
7333 * gdb.base/step-over-exit.exp: New.
7334
7335 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7336
7337 * gdb.base/float.exp: Add target check for nds32*-*-*.
7338 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7339
7340 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7341
7342 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7343 for unsupported target features.
7344 * gdb.base/call-rt-st.exp: Likewise.
7345 * gdb.base/call-sc.exp: Likewise.
7346 * gdb.base/call-signal-resume.exp: Likewise.
7347 * gdb.base/call-strs.exp: Likewise.
7348 * gdb.base/callexit.exp: Likewise.
7349 * gdb.base/callfuncs.exp: Likewise.
7350 * gdb.base/nodebug.exp: Likewise.
7351 * gdb.base/printcmds.exp: Likewise.
7352 * gdb.base/ptype.exp: Likewise.
7353 * gdb.base/structs.exp: Likewise.
7354 * gdb.base/unwindonsignal.exp: Likewise.
7355 * gdb.cp/gdb2495.exp: Likewise.
7356 * gdb.cp/templates.exp: Likewise.
7357 * gdb.cp/virtfunc.exp: Likewise.
7358 * gdb.threads/hand-call-in-threads.exp: Likewise.
7359 * gdb.threads/interrupted-hand-call.exp: Likewise.
7360 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7361
7362 2016-06-10 Tom Tromey <tom@tromey.com>
7363
7364 PR rust/20110:
7365 * gdb.rust/expr.exp: Add test for integer constant larger than
7366 i32.
7367
7368 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7369
7370 * gdb.fortran/nested-funcs.exp: New.
7371 * gdb.fortran/nested-funcs.f90: New.
7372
7373 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7374
7375 * gdb.base/examine-backward.c: New file.
7376 * gdb.base/examine-backward.exp: New file.
7377
7378 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7379
7380 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7381 matching.
7382
7383 2016-06-02 Tom Tromey <tom@tromey.com>
7384
7385 PR python/18984:
7386 * gdb.python/py-shared.exp: Add solib_name test.
7387
7388 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7389
7390 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7391
7392 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7393
7394 PR c++/19893
7395 * gdb.dwarf2/implref.exp: Rename to...
7396 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7397 * gdb.dwarf2/implref-array.c: New file.
7398 * gdb.dwarf2/implref-array.exp: Likewise.
7399 * gdb.dwarf2/implref-global.c: Likewise.
7400 * gdb.dwarf2/implref-global.exp: Likewise.
7401 * gdb.dwarf2/implref-struct.c: Likewise.
7402 * gdb.dwarf2/implref-struct.exp: Likewise.
7403
7404 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7405
7406 * gdb.trace/trace-condition.exp: Add 64bit tests.
7407
7408 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7409
7410 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7411 bits types.
7412 (main): Adapt to 8 to 64 bits types.
7413 * gdb.trace/trace-condition.exp: Add new tests.
7414
7415 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7416
7417 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7418
7419 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7420
7421 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7422 Move condition tests...
7423 * gdb.trace/trace-condition.exp: Here.
7424
7425 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7426
7427 * gdb.trace/trace-condition.exp: Add counter-case tests.
7428
7429 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7430
7431 PR c++/15231
7432 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7433 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7434
7435 2016-05-27 Pedro Alves <palves@redhat.com>
7436
7437 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7438 New procedure.
7439 (top level): Call it, and bail out of DejaGnu is known to be bad.
7440
7441 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7442
7443 * gdb.base/whatis.c: Extend the test case.
7444 * gdb.base/whatis.exp: Add additional tests.
7445
7446 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7447
7448 * gdb.fortran/type.f90: Add pointer variable.
7449 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7450
7451 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7452
7453 * gdb.fortran/vla-type.exp: Fix testcase name.
7454
7455 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7456
7457 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7458
7459 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7460
7461 * gdb.fortran/type.f90: Add nested structures.
7462 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7463 * gdb.fortran/derived-type.exp: Adapt expected output.
7464 * gdb.fortran/vla-type.exp: Adapt expected output.
7465
7466 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7467
7468 * gdb.fortran/whatis_type.exp: Adapt expected output.
7469
7470 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7471
7472 * gdb.fortran/print_type.exp: Fix expected output.
7473 * gdb.fortran/whatis_type.exp: Fix expected output.
7474
7475 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7476
7477 * gdb.fortran/whatis_type.exp: Use multi_line.
7478
7479 2016-05-24 Tom Tromey <tom@tromey.com>
7480
7481 PR python/17386:
7482 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7483 use value as an index.
7484
7485 2016-05-23 Tom Tromey <tom@tromey.com>
7486
7487 PR python/17981:
7488 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7489 no-breakpoint case.
7490
7491 2016-05-24 Pedro Alves <palves@redhat.com>
7492
7493 PR gdb/19828
7494 * gdb.threads/clone-attach-detach.c: New file.
7495 * gdb.threads/clone-attach-detach.exp: New file.
7496
7497 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7498
7499 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7500
7501 2016-05-23 Tom Tromey <tom@tromey.com>
7502
7503 PR python/19438, PR python/18393:
7504 * gdb.python/py-progspace.exp: Add "dir" test.
7505 * gdb.python/py-objfile.exp: Add "dir" test.
7506
7507 2016-05-23 Yao Qi <yao.qi@linaro.org>
7508
7509 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7510 * gdb.arch/thumb2-it.exp: Likewise.
7511
7512 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7513
7514 * gdb.mi/mi-threads-interrupt.c: New file.
7515 * gdb.mi/mi-threads-interrupt.exp: New file.
7516
7517 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7518
7519 PR gdb/18077
7520 * gdb.mi/mi-async-run.exp: New file.
7521 * gdb.mi/mi-async-run.c: New file.
7522
7523 2016-05-17 Tom Tromey <tom@tromey.com>
7524 Manish Goregaokar <manishsmail@gmail.com>
7525
7526 * lib/rust-support.exp: New file.
7527 * lib/gdb.exp (skip_rust_tests): New proc.
7528 (build_executable_from_specs): Handle rust.
7529 * lib/future.exp (gdb_find_rustc): New proc.
7530 (gdb_default_target_compile): Handle rust.
7531 * gdb.rust/expr.exp: New file.
7532 * gdb.rust/generics.exp: New file.
7533 * gdb.rust/generics.rs: New file.
7534 * gdb.rust/methods.exp: New file.
7535 * gdb.rust/methods.rs: New file.
7536 * gdb.rust/modules.exp: New file.
7537 * gdb.rust/modules.rs: New file.
7538 * gdb.rust/simple.exp: New file.
7539 * gdb.rust/simple.rs: New file.
7540
7541 2016-05-17 Tom Tromey <tom@tromey.com>
7542
7543 * gdb.base/default.exp (set language): Add rust.
7544
7545 2016-05-17 Tom Tromey <tom@tromey.com>
7546
7547 * gdb.gdb/unittest.exp: New file.
7548
7549 2016-05-16 Yao Qi <yao.qi@linaro.org>
7550
7551 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7552 shell_prompt. Update shell_prompt_re.
7553
7554 2016-05-12 Doug Evans <dje@google.com>
7555
7556 PR symtab/19999
7557 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7558 $options when building executable.
7559 * gdb.dwarf2/fission-loclists-pie.S: New file.
7560 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7561
7562 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7563
7564 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7565 of [is_remote target],
7566
7567 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7568
7569 * lib/gdb.exp (use_gdb_stub): New procedure.
7570
7571 2016-05-03 Yunlian Jiang <yunlian@google.com>
7572 Doug Evans <dje@google.com>
7573
7574 PR symtab/19914
7575 * gdb.dwarf2/dwp-sepdebug.c: New file.
7576 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7577
7578 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7579
7580 * gdb.base/detach.exp: Remove is_remote check.
7581
7582 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7583
7584 * gdb.base/annota-input-while-running.exp: Don't check for
7585 [is_remote target]. Enable annotations after running to main.
7586 Remove unused "set test..." line.
7587
7588 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7589
7590 * gdb.trace/trace-enable-disable.exp: New file.
7591 * gdb.trace/trace-enable-disable.c: New file.
7592
7593 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7594
7595 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7596 use it in info sharedlibrary test.
7597 * gdb.trace/ftrace-lock.exp: Likewise.
7598 * gdb.trace/ftrace.exp: Likewise.
7599 * gdb.trace/range-stepping.exp: Likewise.
7600 * gdb.trace/trace-break.exp: Likewise.
7601 * gdb.trace/trace-condition.exp: Likewise.
7602 * gdb.trace/trace-mt.exp: Likewise.
7603
7604 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7605
7606 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7607 (gdb_load_shlib): ... this.
7608 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7609 gdb_load_shlib.
7610 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7611 * gdb.base/ctxobj.exp: Likewise.
7612 * gdb.base/dprintf-pending.exp: Likewise.
7613 * gdb.base/dso2dso.exp: Likewise.
7614 * gdb.base/fixsection.exp: Likewise.
7615 * gdb.base/gcore-relro.exp: Likewise.
7616 * gdb.base/gdb1555.exp: Likewise.
7617 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7618 * gdb.base/gnu-ifunc.exp: Likewise.
7619 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7620 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7621 * gdb.base/pending.exp: Likewise.
7622 * gdb.base/print-file-var.exp: Likewise.
7623 * gdb.base/print-symbol-loading.exp: Likewise.
7624 * gdb.base/shlib-call.exp: Likewise.
7625 * gdb.base/shreloc.exp: Likewise.
7626 * gdb.base/so-impl-ld.exp: Likewise.
7627 * gdb.base/solib-disc.exp: Likewise.
7628 * gdb.base/solib-nodir.exp: Likewise.
7629 * gdb.base/solib-overlap.exp: Likewise.
7630 * gdb.base/solib-symbol.exp: Likewise.
7631 * gdb.base/solib-weak.exp (do_test): Likewise.
7632 * gdb.base/sym-file.exp: Likewise.
7633 * gdb.base/symtab-search-order.exp: Likewise.
7634 * gdb.base/type-opaque.exp: Likewise.
7635 * gdb.base/unload.exp: Likewise.
7636 * gdb.base/watchpoint-solib.exp: Likewise.
7637 * gdb.compile/compile.exp: Likewise.
7638 * gdb.cp/gdb2384.exp: Likewise.
7639 * gdb.cp/infcall-dlopen.exp: Likewise.
7640 * gdb.cp/re-set-overloaded.exp: Likewise.
7641 * gdb.fortran/library-module.exp: Likewise.
7642 * gdb.opt/solib-intra-step.exp: Likewise.
7643 * gdb.python/py-finish-breakpoint.exp: Likewise.
7644 * gdb.python/py-shared.exp: Likewise.
7645 * gdb.reverse/solib-precsave.exp: Likewise.
7646 * gdb.reverse/solib-reverse.exp: Likewise.
7647 * gdb.server/solib-list.exp: Likewise.
7648 * gdb.threads/dlopen-libpthread.exp: Likewise.
7649 * gdb.threads/tls-shared.exp: Likewise.
7650 * gdb.threads/tls-so_extern.exp: Likewise.
7651 * gdb.trace/change-loc.exp: Likewise.
7652 * gdb.trace/ftrace-lock.exp: Likewise.
7653 * gdb.trace/ftrace.exp: Likewise.
7654 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7655 * gdb.trace/pending.exp: Likewise.
7656 * gdb.trace/range-stepping.exp: Likewise.
7657 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7658 (strace_info_marker): Likewise.
7659 (strace_probe_marker): Likewise.
7660 (strace_trace_on_same_addr): Likewise.
7661 (strace_trace_on_diff_addr): Likewise.
7662 * gdb.trace/trace-break.exp: Likewise.
7663 * gdb.trace/trace-condition.exp: Likewise.
7664 * gdb.trace/trace-mt.exp: Likewise.
7665
7666 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7667
7668 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7669 result of gdb_remote_download.
7670 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7671 * gdb.base/dso2dso.exp: Likewise.
7672 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7673 * gdb.base/print-file-var.exp: Likewise.
7674 * gdb.base/shlib-call.exp: Likewise.
7675 * gdb.base/shreloc.exp: Likewise.
7676 * gdb.base/solib-overlap.exp: Likewise.
7677 * gdb.base/solib-weak.exp (do_test): Likewise.
7678 * gdb.base/unload.exp: Likewise.
7679
7680 2016-04-27 Yao Qi <yao.qi@linaro.org>
7681
7682 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7683 exists.
7684
7685 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7686
7687 * vla-type.exp: Print structure from toplevel.
7688
7689 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7690
7691 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7692 of dynamic types.
7693 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7694 of dynamic types.
7695
7696 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7697
7698 * gdb.fortran/vla-type.f90: New file.
7699 * gdb.fortran/vla-type.exp: New file.
7700
7701 2016-04-25 Yao Qi <yao.qi@linaro.org>
7702
7703 * gdb.base/branch-to-self.c: New file.
7704 * gdb.base/branch-to-self.exp: New file.
7705
7706 2016-04-22 Yao Qi <yao.qi@linaro.org>
7707
7708 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7709 more after $hex.
7710
7711 2016-04-22 Yao Qi <yao.qi@linaro.org>
7712
7713 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7714 * gdb.base/annota3.exp: Likewise.
7715
7716 2016-04-22 Yao Qi <yao.qi@linaro.org>
7717
7718 * gdb.reverse/step-precsave.exp: Do one step and test program
7719 stops in "callee" and do multiple steps until program goes out
7720 of "callee".
7721 * gdb.reverse/step-reverse.exp: Likewise.
7722
7723 2016-04-22 Yao Qi <yao.qi@linaro.org>
7724
7725 * gdb.trace/signal.exp: Also pass if
7726 $tracepoint_hits($i) > $iterations.
7727
7728 2016-04-22 Yao Qi <yao.qi@linaro.org>
7729
7730 * gdb.trace/signal.c: New file.
7731 * gdb.trace/signal.exp: New file.
7732
7733 2016-04-19 Doug Evans <xdje42@gmail.com>
7734
7735 * gdb.base/bad-file.exp: New file.
7736
7737 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7738
7739 * gdb.dwarf2/implref.exp: New file.
7740
7741 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7742
7743 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7744 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7745 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7746 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7747 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7748 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7749 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7750 * lib/fortran.exp (fortran_int4): New procedure.
7751 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7752 (fortran_logical4): Likewise.
7753
7754 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7755
7756 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7757
7758 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7759
7760 * lib/compiler.c: Add Intel specific preprocessor macros.
7761 * lib/compiler.cc: Likewise.
7762
7763 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7764
7765 * gdb.server/connect-with-no-symbol-file.c: New file.
7766 * gdb.server/connect-with-no-symbol-file.exp: New file.
7767
7768 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7769
7770 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7771
7772 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7773
7774 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7775 standard output directory.
7776
7777 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7778
7779 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7780
7781 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7782
7783 * gdb.btrace/instruction_history.c (loop): Add declaration.
7784
7785 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7786
7787 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7788
7789 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7790
7791 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7792 parentheses to print.
7793 (continue_handler): Likewise.
7794
7795 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7796
7797 * gdb.server/solib-list.exp: Remove is_remote check.
7798 Pass shlib= to gdb_compile. Don't link shared library with
7799 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7800 Run binary filename through "readlink -f" on the target.
7801
7802 2016-04-08 Pedro Alves <palves@redhat.com>
7803
7804 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7805 interpreter filename as argument to gdbserver_spawn.
7806 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7807 Return empty if $last_loaded_file does not exist.
7808
7809 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7810
7811 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7812 * gdb.base/jit-main.c: Use exit after usage.
7813
7814 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7815
7816 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7817 GDBHISTSIZE prior to the tests.
7818 * gdb.base/gdbinit-history.exp: Likewise.
7819
7820 2016-04-07 Pedro Alves <palves@redhat.com>
7821
7822 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7823 instead of build_executable. Use gdb_load_shlibs.
7824
7825 2016-04-07 Yao Qi <yao.qi@linaro.org>
7826
7827 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7828 Execute "si" command.
7829
7830 2016-04-07 Yao Qi <yao.qi@linaro.org>
7831
7832 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7833 number instead of the comments on some line.
7834
7835 2016-04-06 Don Breazeal <donb@codesourcery.com>
7836
7837 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7838 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7839
7840 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7841
7842 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7843 standard_output_file. Remove unused binfile variable.
7844
7845 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7846
7847 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7848 * gdb.python/py-mi-objfile.exp: Match "list main" output
7849 in console format.
7850
7851 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7852
7853 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7854 absolute.
7855
7856 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7857
7858 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7859 absolute.
7860 * gdb.trace/ftrace.exp: Likewise.
7861 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7862 targets as well.
7863 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7864 (gdb_load_shlibs): Copy libraries to test directory when testing
7865 natively. Only set solib-search-path if testing remotely.
7866 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7867
7868 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7869
7870 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7871 gdb_download. Use it even if the target is not remote.
7872 * gdb.base/jit.exp (compile_jit_test): Likewise.
7873 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7874 output directory if the destination board is local, otherwise use
7875 the standard remote_download from DejaGnu.
7876 (gdb_download): Remove.
7877 (gdb_load_shlibs): Use gdb_remote_download instead of
7878 gdb_download.
7879 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7880 Use gdb_remote_download instead of gdb_download. Use it even if
7881 the target is not remote.
7882 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7883 instead of gdb_download.
7884
7885 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7886
7887 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7888 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7889 run.
7890
7891 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7892
7893 PR gdb/19820
7894 * gdb.base/printcmds.exp: Add artificial arrays tests.
7895
7896 2016-03-31 Pedro Alves <palves@redhat.com>
7897
7898 PR gdb/19858
7899 * gdb.base/jit-main.c: Include unistd.h.
7900 (ATTACH): Define to 0 if not already defined.
7901 (wait_for_gdb, mypid): New globals.
7902 (WAIT_FOR_GDB): New macro.
7903 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7904 some breakpoint locations.
7905 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7906 New procedures.
7907 (one_jit_test): Add REATTACH parameter, and handle it. Use
7908 continue_to_test_location.
7909 (top level): Test attach, and adjusts calls to one_jit_test.
7910
7911 2016-03-31 Pedro Alves <palves@redhat.com>
7912
7913 PR gdb/19858
7914 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7915 BINSUFFIX parameter, and handle it.
7916 (top level): Adjust calls compile_jit_test.
7917
7918 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7919
7920 PR python/19743
7921 * gdb.python/py-mi-events-gdb.py: New file.
7922 * gdb.python/py-mi-events.c: New file.
7923 * gdb.python/py-mi-events.exp: New file.
7924
7925 2016-03-30 Yao Qi <yao.qi@linaro.org>
7926
7927 * gdb.reverse/until-precsave.exp: Match function name only.
7928 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7929 Move malloc to a condition block.
7930 * gdb.reverse/until-reverse.exp: Match function name only.
7931
7932 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7933
7934 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7935 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7936 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7937 variable for GPR 0 instead of assuming it is register 0.
7938 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7939 * lib/trace-support.exp: Add s390 registers.
7940
7941 2016-03-29 Yao Qi <yao.qi@linaro.org>
7942
7943 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7944
7945 2016-03-24 Yao Qi <yao.qi@linaro.org>
7946
7947 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7948 test message.
7949
7950 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7951
7952 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7953 maintaining separate logic for constructing the output path.
7954
7955 2016-03-16 Don Breazeal <donb@codesourcery.com>
7956
7957 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7958 Retry fork and waitpid on interrupted system call errors.
7959 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7960 Use with_timeout_factor to increase timeout by factor of 10.
7961
7962 2016-03-15 Don Breazeal <donb@codesourcery.com>
7963
7964 * gdb.cp/scope-err.cc: New test program.
7965 * gdb.cp/scope-err.exp: New test script.
7966 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7967 lines and "set breakpoint here" comment.
7968 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7969 Fixed some whitespace and format issues.
7970 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7971 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7972
7973 2016-03-15 Doug Evans <dje@google.com>
7974
7975 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7976 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7977 All callers updated. Add tests for enums, mixed flags register.
7978
7979 2016-03-15 Doug Evans <dje@google.com>
7980
7981 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7982 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7983
7984 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7985
7986 * gdb.base/default.exp: Add $_as_string to the list of expected
7987 convenience functions.
7988
7989 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7990
7991 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7992
7993 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7994
7995 * gdb.python/py-as-string.exp: New file.
7996 * gdb.python/py-as-string.c: New file.
7997
7998 2016-03-09 Pedro Alves <palves@redhat.com>
7999
8000 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8001 signal" -> "Thread NN received signal" output change.
8002 * gdb.threads/ia64-sigill.exp: Likewise.
8003 * gdb.threads/linux-dp.exp: Likewise.
8004 * gdb.threads/manythreads.exp: Likewise.
8005 * gdb.threads/pending-step.exp: Likewise.
8006 * gdb.threads/print-threads.exp: Likewise.
8007 * gdb.threads/sigstep-threads.exp: Likewise.
8008 * gdb.threads/staticthreads.exp: Likewise.
8009 * gdb.threads/tls.exp: Likewise.
8010
8011 2016-03-09 Pedro Alves <palves@redhat.com>
8012
8013 * gdb.base/command-line-input.exp: New file.
8014
8015 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8016
8017 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8018 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8019 * gdb.trace/pending.exp: Accept leading dot before function name.
8020 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8021 * lib/trace-support.exp: Set registers for ppc.
8022
8023 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8024
8025 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8026 use it for disassembly; accept .main in addition to main in backtrace.
8027
8028 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8029 Marcin Kościelnicki <koriakin@0x04.net>
8030
8031 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8032 (gdb_recursion_test_ptr): New global variable.
8033 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8034 gdb_recursion_test.
8035 (gdb_c_test): Ditto.
8036
8037 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8038
8039 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8040 ordering.
8041
8042 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8043
8044 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8045 (bar): Add bar_start_lbl label.
8046 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8047 of foo/bar for emitting DWARF and tracing.
8048
8049 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8050
8051 * analyze-racy-logs.py: Set executable bit.
8052
8053 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8054
8055 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8056 (CHECK_TARGET_TMP): Likewise.
8057 (check-single-racy): New rule.
8058 (check-parallel-racy): Likewise.
8059 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8060 (do-check-parallel-racy): New rule.
8061 (check-racy/%.exp): Likewise.
8062 * README (Racy testcases): New section.
8063 * analyze-racy-logs.py: New file.
8064
8065 2016-03-03 Doug Evans <dje@google.com>
8066
8067 * gdb.base/skip.exp: Use with_test_prefix.
8068
8069 2016-03-03 Yao Qi <yao.qi@linaro.org>
8070
8071 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8072 Invoke step_over_syscall "clone" and break_cond_on_syscall
8073 "clone".
8074 * gdb.base/step-over-clone.c: New file.
8075
8076 2016-03-03 Yao Qi <yao.qi@linaro.org>
8077
8078 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8079 code format.
8080
8081 2016-03-03 Yao Qi <yao.qi@linaro.org>
8082
8083 * gdb.base/disp-step-fork.c: Rename to ...
8084 * gdb.base/step-over-fork.c: ... it. New file.
8085 * gdb.base/disp-step-vfork.c: Rename to ...
8086 * gdb.base/step-over-vfork.c: ... it. New file.
8087 * gdb.base/disp-step-syscall.exp: Rename to ...
8088 * gdb.base/step-over-syscall.exp: ... it. New file.
8089 (disp_step_cross_syscall): Rename to ...
8090 (step_over_syscall): ... it.
8091
8092 2016-03-03 Yao Qi <yao.qi@linaro.org>
8093
8094 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8095 If target supports condition evaluation on target, invoke
8096 break_cond_on_syscall for fork and vfork.
8097
8098 2016-03-03 Yao Qi <yao.qi@linaro.org>
8099
8100 * gdb.base/disp-step-syscall.exp: Don't invoke
8101 support_displaced_stepping.
8102 (disp_step_cross_syscall): Test with displaced stepping off and
8103 on if supported.
8104
8105 2016-03-03 Yao Qi <yao.qi@linaro.org>
8106
8107 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8108 proc.
8109 (setup): New proc.
8110 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8111 and setup.
8112
8113 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8114
8115 * gdb.fortran/vla-history.exp: Remove breakpoint.
8116
8117 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8118
8119 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8120 exceeds timeout.
8121
8122 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8123
8124 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8125 breakpoint.
8126
8127 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8128
8129 * gdb.mi/vla.f90: Nullify pointer after declaration.
8130
8131 2016-03-01 Pedro Alves <palves@redhat.com>
8132
8133 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8134
8135 2016-03-01 Pedro Alves <palves@redhat.com>
8136
8137 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8138 before anything else.
8139 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8140 _GNU_SOURCE here.
8141 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8142 before anything else.
8143 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8144
8145 2016-03-01 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8148
8149 2016-03-01 Yao Qi <yao.qi@linaro.org>
8150
8151 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8152 prepare_for_testing.
8153
8154 2016-03-01 Yao Qi <yao.qi@linaro.org>
8155
8156 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8157
8158 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8159
8160 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8161 manually constructing the output path.
8162
8163 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8164
8165 * gdb.arch/s390-stackless.S: New.
8166 * gdb.arch/s390-stackless.exp: New.
8167
8168 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8169
8170 * gdb.dlang/circular.c: New file.
8171 * gdb.dlang/circular.exp: New file.
8172
8173 2016-02-26 Yao Qi <yao.qi@linaro.org>
8174
8175 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8176 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8177 (testcases): Update.
8178
8179 2016-02-26 Yao Qi <yao.qi@linaro.org>
8180
8181 * gdb.reverse/aarch64.c: Rename to ...
8182 * gdb.reverse/insn-reverse.c: ... it.
8183 * gdb.reverse/aarch64.exp: Rename to ...
8184 * gdb.reverse/insn-reverse.exp: ... it.
8185
8186 2016-02-26 Yao Qi <yao.qi@linaro.org>
8187
8188 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8189 (testcase_ftype): New.
8190 (testcases): New array.
8191 (n_testcases): New.
8192 (main): Call each element in testcases.
8193 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8194 (read_testcase): New.
8195 Do the tests in a loop.
8196
8197 2016-02-25 Yao Qi <yao.qi@linaro.org>
8198
8199 * gdb.base/branches.c: Remove.
8200
8201 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8202
8203 PR gdb/13808
8204 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8205
8206 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8207
8208 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8209
8210 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8211
8212 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8213 change x86_64 call_insn to 'callq'.
8214
8215 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8216
8217 * gdb.trace/tfile-avx.c: Move to...
8218 * gdb.trace/tracefile-pseudo-reg.c: Here.
8219 * gdb.trace/tfile-avx.exp: Move to...
8220 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8221
8222 2016-02-24 Gary Benson <gbenson@redhat.com>
8223
8224 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8225 message on attach.
8226
8227 2016-02-23 Doug Evans <dje@google.com>
8228
8229 * gdb.base/skip.c (test_skip): New function.
8230 (end_test_skip_file_and_function): New function.
8231 (test_skip_file_and_function): New function.
8232 * gdb.base/skip1.c (test_skip): New function.
8233 (skip1_test_skip_file_and_function): New function.
8234 * gdb.base/skip.exp: Add tests for new skip options.
8235 * gdb.base/skip-solib.exp: Update expected output.
8236 * gdb.perf/skip-command.cc: New file.
8237 * gdb.perf/skip-command.exp: New file.
8238 * gdb.perf/skip-command.py: New file.
8239
8240 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8241
8242 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8243 info registers pattern.
8244
8245 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8246
8247 * lib/future.exp: Add D support.
8248 (gdb_find_gdc): New proc.
8249 (gdb_default_target_compile): Add D support.
8250
8251 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8252
8253 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8254 user+system time.
8255 (trace_speed_test): Determine the iteration count for a time
8256 between 15..30 seconds.
8257
8258 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8259
8260 * gdb.arch/i386-mpx-sigsegv.c: New file.
8261 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8262 * gdb.arch/i386-mpx-simple_segv.c: New file.
8263 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8264
8265 2016-02-18 Yao Qi <yao.qi@linaro.org>
8266
8267 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8268 Don't call setup_kfail.
8269
8270 2016-02-18 Yao Qi <yao.qi@linaro.org>
8271
8272 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8273 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8274
8275 2016-02-16 Doug Evans <dje@google.com>
8276
8277 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8278 * gdb.base/skip1.c: Ditto.
8279 * gdb.base/skip.exp: Whitespace cleanup.
8280
8281 2016-02-16 Don Breazeal <donb@codesourcery.com>
8282
8283 PR remote/19496
8284 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8285 Remove kfail for PR remote/19496.
8286
8287 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8288
8289 * lib/gdb.exp (standard_temp_file): Return a path specific to
8290 the runtest invocation.
8291
8292 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8293
8294 * gdb.trace/save-trace.exp: Change relative path to be in the
8295 standard output directory.
8296
8297 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8298
8299 * gdb.arch/i386-prologue.c: Add missing prototypes.
8300
8301 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8302
8303 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8304 * gdb.arch/i386-prologue.exp: Likewise.
8305 * gdb.arch/i386-size.exp: Likewise.
8306
8307 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8308
8309 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8310 define object file path.
8311 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8312 file path.
8313 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8314 standard_output_file to define binfile.
8315
8316 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8317
8318 Fix compatibility with recent gfortran-5.3.1.
8319 * gdb.fortran/vla-history.exp (print vla1 allocated)
8320 (print vla2 allocated, print $2, print $3): Remove
8321 (print $4): Rename to ...
8322 (print $2): ... here.
8323 (print $9): Rename to ...
8324 (print $5): ... here.
8325 (print $10): Rename to ...
8326 (print $6): ... here.
8327 * gdb.fortran/vla.f90: Add pvla initialization.
8328
8329 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8330
8331 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8332 New test.
8333 * gdb.fortran/vla-value-sub.exp: Likewise.
8334
8335 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8336
8337 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8338
8339 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8340
8341 * i386-biarch-core.exp: Define corefile using
8342 standard_output_file.
8343
8344 2016-02-12 Yao Qi <yao.qi@linaro.org>
8345
8346 * gdb.arch/arm-single-step-kernel-helper.c: New.
8347 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8348
8349 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8350
8351 * gdb.btrace/tailcall-only.exp: New.
8352 * gdb.btrace/tailcall-only.c: New.
8353 * gdb.btrace/x86_64-tailcall-only.S: New.
8354 * gdb.btrace/i686-tailcall-only.S: New.
8355
8356 2016-02-11 Pedro Alves <palves@redhat.com>
8357
8358 * README (Parallel testing): Add missing double quotes.
8359
8360 2016-02-11 Pedro Alves <palves@redhat.com>
8361
8362 * README (Parallel testing): New section.
8363 (GDB_PARALLEL): Rewrite.
8364 (FORCE_PARALLEL): Document.
8365
8366 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8367
8368 * gdb.trace/tfile-avx.c: New test.
8369 * gdb.trace/tfile-avx.exp: New test.
8370
8371 2016-02-09 Keith Seitz <keiths@redhat.com>
8372
8373 PR breakpoints/19546
8374 * gdb.base/infcall-exec.c: New file.
8375 * gdb.base/infcall-exec2.c: New file.
8376 * gdb.base/infcall-exec.exp: New file.
8377
8378 2016-02-09 Keith Seitz <keiths@redhat.com>
8379
8380 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8381 (toplevel): Call test_bkpt_address.
8382
8383 2016-02-09 Keith Seitz <keiths@redhat.com>
8384
8385 PR python/19506
8386 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8387 (toplevel): Call test_bkpt_address.
8388
8389 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8390
8391 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8392 to AC_OUTPUT.
8393 * configure: Regenerate.
8394
8395 2016-02-09 Pedro Alves <palves@redhat.com>
8396
8397 PR breakpoints/19548
8398 * gdb.base/execl-update-breakpoints.c (some_function): New
8399 function.
8400 (main): Call it.
8401 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8402 Tighten expected GDB output.
8403
8404 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8405
8406 * Makefile.in (ALL_SUBDIRS): Remove.
8407 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8408 (distclean maintainer-clean realclean): Likewise.
8409 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8410 * configure: Regenerate.
8411 * gdb.ada/Makefile.in: Delete.
8412 * gdb.arch/Makefile.in: Likewise.
8413 * gdb.asm/Makefile.in: Likewise.
8414 * gdb.base/Makefile.in: Likewise.
8415 * gdb.btrace/Makefile.in: Likewise.
8416 * gdb.cell/Makefile.in: Likewise.
8417 * gdb.compile/Makefile.in: Likewise.
8418 * gdb.cp/Makefile.in: Likewise.
8419 * gdb.disasm/Makefile.in: Likewise.
8420 * gdb.dlang/Makefile.in: Likewise.
8421 * gdb.dwarf2/Makefile.in: Likewise.
8422 * gdb.fortran/Makefile.in: Likewise.
8423 * gdb.gdb/Makefile.in: Likewise.
8424 * gdb.go/Makefile.in: Likewise.
8425 * gdb.guile/Makefile.in: Likewise.
8426 * gdb.java/Makefile.in: Likewise.
8427 * gdb.linespec/Makefile.in: Likewise.
8428 * gdb.mi/Makefile.in: Likewise.
8429 * gdb.modula2/Makefile.in: Likewise.
8430 * gdb.multi/Makefile.in: Likewise.
8431 * gdb.objc/Makefile.in: Likewise.
8432 * gdb.opencl/Makefile.in: Likewise.
8433 * gdb.opt/Makefile.in: Likewise.
8434 * gdb.pascal/Makefile.in: Likewise.
8435 * gdb.perf/Makefile.in: Likewise.
8436 * gdb.python/Makefile.in: Likewise.
8437 * gdb.reverse/Makefile.in: Likewise.
8438 * gdb.server/Makefile.in: Likewise.
8439 * gdb.stabs/Makefile.in: Likewise.
8440 * gdb.threads/Makefile.in: Likewise.
8441 * gdb.trace/Makefile.in: Likewise.
8442 * gdb.xml/Makefile.in: Likewise.
8443 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8444 GDB_PARALLEL.
8445 (standard_output_file): Remove check for GDB_PARALLEL, always
8446 return path in outputs/$subdir/$testname.
8447
8448 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8449
8450 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8451 (site.exp): Assign abs_srcdir to tcl's srcdir.
8452
8453 2016-02-04 Yao Qi <yao.qi@linaro.org>
8454
8455 * gdb.base/foll-exec-mode.c: Include limits.h.
8456 (main): Add parameters argc and argv. Get directory from
8457 argv[0].
8458 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8459 compilation.
8460 * gdb.base/foll-exec.c: Include limits.h.
8461 (main): Add parameters argc and argv.
8462 Get directory from argv[0].
8463 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8464 Adjust tests on the number of lines as source code changed.
8465 * gdb.base/foll-vfork-exit.c: Include limits.h.
8466 (main): Add one line of statement before vfork.
8467 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8468 (main): Add parameters argc and argv. Get directory from
8469 argv[0].
8470 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8471 (setup_gdb): Set tbreak to skip some source lines.
8472 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8473 (main): Add parameters argc and argv. Get directory from
8474 argv[0].
8475 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8476 compilation.
8477 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8478 (main): Add parameters argc and argv. Get directory from
8479 argv[0].
8480 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8481 compilation.
8482
8483 2016-02-01 Doug Evans <dje@google.com>
8484
8485 * gdb.base/skip.exp: Clean up multiple references to same test name.
8486
8487 2016-02-01 Pedro Alves <palves@redhat.com>
8488
8489 PR remote/19496
8490 * gdb.threads/forking-threads-plus-breakpoint.exp
8491 (displaced_stepping_supported): New global.
8492 (probe_displaced_stepping_support): New procedure.
8493 (do_test): Add 'displaced' parameter, and use it.
8494 (top level): Check for displaced stepping support. Add displaced
8495 stepping on/off testing axis.
8496
8497 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8498
8499 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8500 pointer. Don't perform further tests on the unassociated pointer
8501 if the first test fails.
8502
8503 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8504
8505 * gdb.base/max-value-size.c: New file.
8506 * gdb.base/max-value-size.exp: New file.
8507 * gdb.base/huge.exp: Disable max-value-size for this test.
8508
8509 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8510
8511 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8512
8513 2016-01-28 Yao Qi <yao.qi@linaro.org>
8514
8515 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8516
8517 2016-01-25 Pedro Alves <palves@redhat.com>
8518
8519 PR threads/19461
8520 * gdb.base/fork-running-state.c: New file.
8521 * gdb.base/fork-running-state.exp: New file.
8522
8523 2016-01-25 Pedro Alves <palves@redhat.com>
8524
8525 PR gdb/19494
8526 * gdb.base/catch-fork-kill.c: New file.
8527 * gdb.base/catch-fork-kill.exp: New file.
8528
8529 2016-01-25 Pedro Alves <palves@redhat.com>
8530
8531 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8532 Delete, moved to lib/gdb.exp.
8533 * gdb.threads/forking-threads-plus-breakpoint.exp
8534 (foreach_with_prefix): Likewise.
8535 * gdb.threads/process-dies-while-handling-bp.exp
8536 (foreach_with_prefix): Likewise.
8537 * lib/gdb.exp (foreach_with_prefix): New procedure.
8538
8539 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8540
8541 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8542 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8543
8544 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8545
8546 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8547 endian targets.
8548
8549 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8550 Pedro Alves <palves@redhat.com>
8551
8552 Fix testsuite compatibility with Guile.
8553 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8554 number.
8555
8556 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8557
8558 Fix testsuite compatibility with Guile.
8559 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8560 (thread 1): New test for backtrace through signal handler.
8561
8562 2016-01-22 Yao Qi <yao.qi@linaro.org>
8563
8564 PR testsuite/19491
8565 * gdb.base/multi-forks.c: Include
8566 ../lib/unbuffer_output.c
8567 (main): Call gdb_unbuffer_output.
8568
8569 2016-01-21 Doug Evans <dje@google.com>
8570
8571 * lib/ada.exp (gdb_compile_ada): Fix typo.
8572
8573 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8574
8575 * gdb.base/break-fun-addr.exp: New file.
8576 * gdb.base/break-fun-addr1.c: New file.
8577 * gdb.base/break-fun-addr2.c: New file.
8578
8579 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8580
8581 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8582 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8583 enum flag values.
8584
8585 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8586
8587 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8588 when GDB can not set the vector return value. Add more comments
8589 for clarification.
8590
8591 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8592
8593 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8594 command.
8595
8596 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8597
8598 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8599
8600 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8601
8602 * Makefile.in (check-single): Pass --status to runtest.
8603 (check/%.exp): Likewise.
8604
8605 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8606
8607 * Makefile.in (check-parallel): Propagate return code from make
8608 do-check-parallel.
8609
8610 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8611
8612 * gdb.trace/ftrace.exp: Fix expected message on continue.
8613 * gdb.trace/pending.exp: Fix expected message on continue.
8614 * gdb.trace/trace-break.exp: Fix expected message on continue.
8615
8616 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8617
8618 * lib/gdb.exp (gdb_test): Remove unused global references.
8619
8620 2016-01-18 Pedro Alves <palves@redhat.com>
8621
8622 * gdb.base/async-shell.exp: Adjust expected output.
8623 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8624 * gdb.base/siginfo-thread.exp: Adjust expected output.
8625 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8626 * gdb.java/jnpe.exp: Adjust expected output.
8627 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8628 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8629 * gdb.threads/leader-exit.exp: Adjust expected output.
8630 * gdb.threads/manythreads.exp: Adjust expected output.
8631 * gdb.threads/pthreads.exp: Adjust expected output.
8632 * gdb.threads/schedlock.exp: Adjust expected output.
8633 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8634 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8635 expected output.
8636 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8637 output.
8638 * gdb.threads/sigthread.exp: Adjust expected output.
8639 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8640
8641 2016-01-18 Yao Qi <yao.qi@linaro.org>
8642
8643 * gdb.guile/scm-section-script.c: Replace @progbits with
8644 %progbits.
8645 * gdb.python/py-section-script.c: Likewise.
8646
8647 2016-01-15 Pedro Alves <palves@redhat.com>
8648
8649 * gdb.multi/tids.exp: Test star wildcard ranges.
8650
8651 2016-01-15 Pedro Alves <palves@redhat.com>
8652
8653 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8654 command from "thread apply" invocation.
8655 (thr_apply_info_thr_invalid): Default the expected output to the
8656 input tid list.
8657 (top level): Add tests that use convenience variables. Add tests
8658 for "thread apply" with a valid TID list, but missing the command.
8659
8660 2016-01-13 Pedro Alves <palves@redhat.com>
8661
8662 * gdb.base/default.exp: Expect $_gthread as well.
8663 * gdb.multi/tids.exp: Test $_gthread.
8664 * gdb.threads/thread-specific.exp: Test $_gthread.
8665
8666 2016-01-13 Pedro Alves <palves@redhat.com>
8667
8668 * gdb.multi/tids.exp: Test "info threads -gid".
8669
8670 2016-01-13 Pedro Alves <palves@redhat.com>
8671
8672 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8673 Breakpoint.thread.
8674 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8675
8676 2016-01-07 Pedro Alves <palves@redhat.com>
8677
8678 * gdb.base/break.exp: Adjust to output changes.
8679 * gdb.base/hbreak2.exp: Likewise.
8680 * gdb.base/sepdebug.exp: Likewise.
8681 * gdb.base/watch_thread_num.exp: Likewise.
8682 * gdb.linespec/keywords.exp: Likewise.
8683 * gdb.multi/info-threads.exp: Likewise.
8684 * gdb.threads/thread-find.exp: Likewise.
8685 * gdb.multi/tids.c: New file.
8686 * gdb.multi/tids.exp: New file.
8687
8688 2016-01-13 Pedro Alves <palves@redhat.com>
8689
8690 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8691
8692 2016-01-13 Pedro Alves <palves@redhat.com>
8693
8694 * gdb.base/default.exp: Expect $_inferior as well.
8695 * gdb.multi/base.exp: Test $_inferior.
8696
8697 2016-01-13 Pedro Alves <palves@redhat.com>
8698
8699 PR breakpoints/19388
8700 * gdb.base/catch-signal-siginfo-cond.c: New file.
8701 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8702
8703 2016-01-12 Josh Stone <jistone@redhat.com>
8704 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8705
8706 * gdb.base/catch-syscall.c (do_execve): New variable.
8707 (main): Conditionally trigger an execve.
8708 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8709 (test_catch_syscall_execve): New, check entry/return across execve.
8710 (do_syscall_tests): Call test_catch_syscall_execve.
8711
8712 2016-01-12 Pedro Alves <palves@redhat.com>
8713
8714 * gdb.base/random-signal.exp (do_test): New procedure, with body
8715 of testcase moved in.
8716
8717 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8718 Pedro Alves <palves@redhat.com>
8719
8720 * gdb.base/funcargs.exp (finish from indirectly called function):
8721 Reintroduce the case for 'First'.
8722
8723 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8724 Pedro Alves <palves@redhat.com>
8725
8726 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8727 (tcatch_vfork_then_child_follow_exec)
8728 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8729 identification.
8730
8731 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8732
8733 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8734 and repeats to unlimited.
8735 * gdb.python/py-value.exp: Likewise.
8736 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8737 and repeats to unlimited.
8738
8739 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8740
8741 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8742 and reordering the functions.
8743 * gdb.multi/hangout.c: Likewise.
8744 * gdb.multi/hello.c: Likewise.
8745
8746 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8747
8748 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8749 absolute.
8750 (SingleStatisticTestResult.report): Use dict.keys instead of
8751 dict.iterkeys.
8752
8753 2016-01-06 Pedro Alves <palves@redhat.com>
8754
8755 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8756
8757 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8758
8759 * gdb.btrace/dlopen.exp: New.
8760 * gdb.btrace/dlopen.c: New.
8761 * gdb.btrace/dlopen-dso.c: New.
8762
8763 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8764
8765 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8766 PATTERN argument is optional.
8767
8768 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8769
8770 * lib/ada.exp (target_compile_ada_from_dir): New function.
8771 (gdb_compile_ada): Reimplement avoiding the use of project files.
8772 * gdb.ada/gnat_ada.gpr: Delete.
8773 * gdb.ada/cond_lang.exp: Adjust test to make path before
8774 filename optional.
8775 * gdb.ada/small_reg_param.exp: Likewise.
8776
8777 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8778
8779 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8780
8781 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8782
8783 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8784 case.
8785
8786 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8787
8788 * gdb.base/break.exp: Remove dead code.
8789 * gdb.base/sepdebug.exp: Likewise.
8790
8791 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8792
8793 * gdb.asm/asm-source.exp: Remove HP-UX references.
8794 * gdb.base/annota1.exp: Likewise.
8795 * gdb.base/annota3.exp: Likewise.
8796 * gdb.base/attach.exp: Likewise.
8797 * gdb.base/bigcore.exp: Likewise.
8798 * gdb.base/break.exp: Likewise.
8799 * gdb.base/call-ar-st.exp: Likewise.
8800 * gdb.base/callfuncs.exp: Likewise.
8801 * gdb.base/catch-fork-static.exp: Likewise.
8802 * gdb.base/display.exp: Likewise.
8803 * gdb.base/foll-exec-mode.exp: Likewise.
8804 * gdb.base/foll-exec.exp: Likewise.
8805 * gdb.base/foll-fork.exp: Likewise.
8806 * gdb.base/foll-vfork.exp: Likewise.
8807 * gdb.base/funcargs.exp: Likewise.
8808 * gdb.base/hbreak2.exp: Likewise.
8809 * gdb.base/inferior-died.exp: Likewise.
8810 * gdb.base/interrupt.exp: Likewise.
8811 * gdb.base/multi-forks.exp: Likewise.
8812 * gdb.base/nodebug.exp: Likewise.
8813 * gdb.base/sepdebug.exp: Likewise.
8814 * gdb.base/solib1.c: Likewise.
8815 * gdb.base/step-test.exp: Likewise.
8816 * gdb.mi/non-stop.c: Likewise.
8817 * gdb.mi/pthreads.c: Likewise.
8818 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8819 * gdb.threads/pthreads.c: Likewise.
8820 * gdb.threads/staticthreads.exp: Likewise.
8821 * lib/future.exp: Likewise.
8822 * lib/gdb.exp: Likewise.
8823 * gdb.base/so-indr-cl.c: Remove.
8824 * gdb.base/so-indr-cl.exp: Likewise.
8825 * gdb.base/solib.c: Likewise.
8826 * gdb.base/solib.exp: Likewise.
8827 * gdb.base/solib2.c: Likewise.
8828
8829 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8830
8831 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8832 * gdb.base/call-ar-st.exp: Likewise.
8833 * gdb.base/callfuncs.exp: Likewise.
8834 * gdb.base/condbreak.exp: Likewise.
8835 * gdb.base/constvars.exp: Likewise.
8836 * gdb.base/hbreak2.exp: Likewise.
8837 * gdb.base/langs.exp: Likewise.
8838 * gdb.base/list.exp: Likewise.
8839 * gdb.base/long_long.exp: Likewise.
8840 * gdb.base/ptype.exp: Likewise.
8841 * gdb.base/scope.exp: Likewise.
8842 * gdb.base/signals.exp: Likewise.
8843 * gdb.base/so-impl-ld.exp: Likewise.
8844 * gdb.base/varargs.exp: Likewise.
8845 * gdb.base/volatile.exp: Likewise.
8846 * gdb.base/whatis.exp: Likewise.
8847 * gdb.cp/cplusfuncs.exp: Likewise.
8848 * gdb.cp/inherit.exp: Likewise.
8849 * gdb.cp/local.exp: Likewise.
8850 * gdb.cp/member-ptr.exp: Likewise.
8851 * gdb.cp/method.exp: Likewise.
8852 * gdb.cp/overload.exp: Likewise.
8853 * gdb.cp/templates.exp: Likewise.
8854 * gdb.stabs/weird.exp: Likewise.
8855 * lib/compiler.c: Likewise.
8856 * lib/compiler.cc: Likewise.
8857 * lib/cp-support.exp: Likewise.
8858 * lib/gdb.exp: Likewise.
8859
8860 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8861
8862 * configure.ac: Remove HP-UX case.
8863 * configure: Regenerate.
8864
8865 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8866
8867 * lib/gdb.exp (gdb_compile): Add function doc.
8868
8869 2015-12-17 Pedro Alves <palves@redhat.com>
8870
8871 PR threads/19354
8872 * gdb.multi/info-threads.exp: New file.
8873
8874 2015-12-15 Yao Qi <yao.qi@linaro.org>
8875
8876 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8877 is aarch64*-*-*.
8878
8879 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8880
8881 * gdb.base/history-duplicates.exp: Skip if no readline support.
8882
8883 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8884
8885 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8886
8887 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8888
8889 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8890
8891 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8892
8893 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8894 ctrl-C if nointerrupts target property is set.
8895 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8896 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8897 * gdb.base/paginate-bg-execution.exp: Likewise.
8898 * gdb.base/paginate-execution-startup.exp: Likewise.
8899 * gdb.base/random-signal.exp: Likewise.
8900 * gdb.base/range-stepping.exp: Likewise.
8901 * gdb.cp/annota2.exp: Likewise.
8902 * gdb.cp/annota3.exp: Likewise.
8903 * gdb.gdb/selftest.exp: Likewise.
8904 * gdb.threads/continue-pending-status.exp: Likewise.
8905 * gdb.threads/leader-exit.exp: Likewise.
8906 * gdb.threads/manythreads.exp: Likewise.
8907 * gdb.threads/pthreads.exp: Likewise.
8908 * gdb.threads/schedlock.exp: Likewise.
8909 * gdb.threads/sigthread.exp: Likewise.
8910
8911 2015-12-11 Don Breazeal <donb@codesourcery.com>
8912
8913 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8914 remote.
8915 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8916 * gdb.base/foll-exec.exp (main): Enable for target remote.
8917 * gdb.base/foll-fork.exp (main): Likewise.
8918 * gdb.base/foll-vfork.exp (main): Likewise.
8919 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8920 (proc continue_to_exit_bp_loc): Use clean_restart.
8921 * gdb.base/pie-execl.exp (main): Disable for target remote.
8922 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8923 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8924 * gdb.threads/execl.exp (main): Likewise.
8925 * gdb.threads/fork-child-threads.exp (main): Likewise.
8926 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8927 remote.
8928 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8929 remote.
8930 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8931 pid.tid style ptids, instead of just tid.
8932 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8933 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8934 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8935 ptids, instead of just tid.
8936
8937 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8938
8939 * gdb.base/list.exp (test_list_forward): Add end of file error
8940 test.
8941 (test_repeat_list_command): Add end of file error test.
8942 (test_list_backwards): Add beginning of file error test.
8943
8944 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8945
8946 * gdb.base/list.exp (test_list_invalid_args): New function,
8947 defined, and called.
8948
8949 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8950
8951 * gdb.base/list.exp (test_list): Make test names unique.
8952
8953 2015-12-11 Yao Qi <yao.qi@linaro.org>
8954
8955 * gdb.base/coremaker2.c: Remove.
8956
8957 2015-12-10 Pedro Alves <palves@redhat.com>
8958
8959 * gdb.multi/base.exp: Remove stale "spaces" references.
8960
8961 2015-12-10 Pedro Alves <palves@redhat.com>
8962
8963 * gdb.multi/base.exp: Don't use nowarnings.
8964 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8965 * gdb.multi/hangout.c: Include stdio.h.
8966 * gdb.multi/hello.c: Include stdlib.h.
8967 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8968 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8969 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8970
8971 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8972
8973 * gdb.dwarf2/dw2-ranges-base.c: New file.
8974 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8975 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8976 support additional line table, and debug ranges generation.
8977 (Dwarf::ranges): New function, generate .debug_ranges.
8978 (Dwarf::lines): Support generating simple line table programs.
8979 (Dwarf::assemble): Initialise new namespace variables.
8980
8981 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8982
8983 * gdb.base/async.exp (proc test_background): Add case for
8984 asynchronous execution not supported.
8985
8986 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8987
8988 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8989 format and change test names to make them unique.
8990
8991 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8992 Pedro Alves <pedro@redhat.com>
8993
8994 PR gdb/18702
8995 Add checking of floatformats setup on x86_64 hosts.
8996 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8997 (smallval, bigval): New labels/constants.
8998 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8999 float" after loading bigval and smallval.
9000
9001 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9002
9003 * gdb.ada/fun_overload_menu.exp: New testcase.
9004 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9005
9006 2015-12-04 Josh Stone <jistone@redhat.com>
9007
9008 * gdb.base/catch-fork-static.exp: New.
9009
9010 2015-12-03 Yao Qi <yao.qi@linaro.org>
9011
9012 * gdb.base/sizeof.c: Don't include stdio.h and
9013 ../lib/unbuffer_output.c.
9014 (main): New variable 'size' and 'value'. Remove printf and
9015 gdb_unbuffer_output. Assign return value to size and value.
9016 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9017 at the beginning.
9018 (check_sizeof): Check the result by printing variable 'size'.
9019 (check_valueof): Check the result by printing variable 'value'.
9020
9021 2015-12-01 Yao Qi <yao.qi@linaro.org>
9022
9023 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9024 for aarch64*-*-linux* target.
9025
9026 2015-11-30 Pedro Alves <palves@redhat.com>
9027
9028 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9029
9030 2015-11-30 Pedro Alves <palves@redhat.com>
9031
9032 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9033 Handle non-stop mode vCont replies.
9034
9035 2015-11-30 Pedro Alves <palves@redhat.com>
9036
9037 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9038 prepare_for_testing. Start gdb with "set non-stop on" appended to
9039 GDBFLAGS. Lax expected stop output.
9040
9041 2015-11-27 Yao Qi <yao.qi@linaro.org>
9042
9043 * gdb.arch/arm-neon.exp: New.
9044 * gdb.arch/arm-neon.c: New.
9045
9046 2015-11-27 Yao Qi <yao.qi@linaro.org>
9047
9048 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9049
9050 2015-11-27 Yao Qi <yao.qi@linaro.org>
9051
9052 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9053 frames-invalid annotation.
9054
9055 2015-11-27 Yao Qi <yao.qi@linaro.org>
9056
9057 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9058
9059 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9060
9061 * gdb.threads/names.exp: New file.
9062 * gdb.threads/names.c: New file.
9063 * README: Mention gdb,no_thread_names.
9064
9065 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9066
9067 PR 19297
9068 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9069 support" error.
9070
9071 2015-11-24 Pedro Alves <palves@redhat.com>
9072
9073 PR 17539
9074 * gdb.base/display.exp: Expect displays to be sorted in ascending
9075 order. Use multi_line.
9076 * gdb.base/solib-display.exp: Likewise.
9077
9078 2015-11-24 Pedro Alves <palves@redhat.com>
9079
9080 PR 17539
9081 * gdb.base/display.exp: Expect displays to be sorted in ascending
9082 order. Use multi_line.
9083 * gdb.base/solib-display.exp: Likewise.
9084
9085 2015-11-24 Pedro Alves <palves@redhat.com>
9086
9087 PR 17539
9088 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9089 threads in ascending order.
9090 * gdb.base/foll-fork.exp: Likewise.
9091 * gdb.base/foll-vfork.exp: Likewise.
9092 * gdb.base/multi-forks.exp: Likewise.
9093 * gdb.mi/mi-nonstop.exp: Likewise.
9094 * gdb.mi/mi-nsintrall.exp: Likewise.
9095 * gdb.multi/base.exp: Likewise.
9096 * gdb.multi/multi-arch.exp: Likewise.
9097 * gdb.python/py-inferior.exp: Likewise.
9098 * gdb.threads/break-while-running.exp: Likewise.
9099 * gdb.threads/execl.exp: Likewise.
9100 * gdb.threads/gcore-thread.exp: Likewise.
9101 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9102 * gdb.threads/kill.exp: Likewise.
9103 * gdb.threads/linux-dp.exp: Likewise.
9104 * gdb.threads/multiple-step-overs.exp: Likewise.
9105 * gdb.threads/next-bp-other-thread.exp: Likewise.
9106 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9107 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9108 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9109 * gdb.threads/thread-find.exp: Likewise.
9110 * gdb.threads/tls.exp: Likewise.
9111 * lib/mi-support.exp (mi_reverse_list): Delete.
9112 (mi_check_thread_states): No longer reverse list.
9113
9114 2015-11-24 Pedro Alves <palves@redhat.com>
9115
9116 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9117 use lowercase.
9118
9119 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9120
9121 * gdb.trace/actions.c: Include trace-common.h.
9122 (main): Add a location for a fast tracepoint.
9123 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9124 the normal tracepoints.
9125 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9126
9127 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9128
9129 * save-trace.exp: Factor out code to these...
9130 (gdb_save_tracepoints): New.
9131 (gdb_load_tracepoints): New.
9132 (do_save_load_test): New.
9133
9134 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9135
9136 * gdb.base/asmlabel.exp: New test.
9137 * gdb.base/asmlabel.c: New test case.
9138
9139 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9140
9141 * gdb.base/wrong_frame_bt_full-main.c: New file.
9142 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9143 * gdb.base/wrong_frame_bt_full.exp: New file.
9144
9145 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9146
9147 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9148
9149 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9150
9151 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9152 pstate register when comparing registers values in
9153 sparc64-*-linux-gnu targets to avoid spurious differences.
9154
9155 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9156
9157 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9158
9159 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9160
9161 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9162 as type argument to gdb_compile.
9163 * gdb.base/nested-subp2.exp: Likewise.
9164 * gdb.base/nested-subp3.exp: Likewise.
9165
9166 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9167
9168 * lib/dwarf.exp (_note): Fix left shift of negative value.
9169 * gdb.trace/trace-condition.exp: Likewise.
9170
9171 2015-11-13 Yao Qi <yao.qi@linaro.org>
9172
9173 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9174 comments about d10v.
9175 (test_scalar_returns): Likewise.
9176 * gdb.base/d10v.ld: Remove.
9177 * gdb.base/overlays.exp: Remove the target triplet checking for
9178 d10v-*-*.
9179 * gdb.base/structs.exp (test_struct_returns): Remove the
9180 comments about d10v.
9181 (test_struct_calls): Likewise.
9182
9183 2015-11-13 Yao Qi <yao.qi@linaro.org>
9184
9185 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9186 * gdb.base/gnu_vector.c: Don't include stdio.h.
9187 (main): Don't print res and call add_some_intvecs.
9188
9189 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9190
9191 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9192 macro.
9193 (func5): Removed.
9194 (func4): Use FAST_TRACEPOINT_LABEL.
9195 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9196 macro.
9197 (func): Removed.
9198 (thread_function): Use FAST_TRACEPOINT_LABEL.
9199 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9200 (func): Remove.
9201 (marker): Use FAST_TRACEPOINT_LABEL.
9202 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9203 (pendfunc1): Remove.
9204 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9205 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9206 (foo): Remove.
9207 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9208 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9209 macro.
9210 (func): Remove.
9211 (marker): Use FAST_TRACEPOINT_LABEL.
9212 * gdb.trace/trace-common.h: New header.
9213 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9214 macro.
9215 (func): Remove.
9216 (marker): Use FAST_TRACEPOINT_LABEL.
9217 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9218 (func): Remove.
9219 (thread_function): Use FAST_TRACEPOINT_LABEL.
9220
9221 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9222
9223 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9224 in front.
9225 * gdb.trace/change-loc.exp: Use global pcreg definition.
9226 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9227 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9228 in front.
9229 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9230 * gdb.trace/pending.exp: Likewise.
9231 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9232 * gdb.trace/trace-break.exp: Likewise.
9233 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9234 in front.
9235 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9236 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9237 in front.
9238 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9239
9240 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9241
9242 * gdb.ada/fin_fun_out: New testcase.
9243
9244 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9245
9246 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9247 value associated with DW_AT_byte_size.
9248 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9249 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9250 DW_AT_upper_bound.
9251
9252 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9253
9254 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9255 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9256 version.
9257 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9258 gdb.dwarf2/dw2-canonicalize-type.exp,
9259 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9260 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9261 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9262 provided by gdb_target_symbol_prefix_flags_asm.
9263 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9264 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9265 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9266 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9267 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9268 macros where needed). Use this macro for symbols which require
9269 the prefix provided by SYMBOL_PREFIX.
9270
9271 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9272
9273 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9274 New procs.
9275 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9276 representing expressions, of more than one list element.
9277 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9278 to prepend linker symbol prefix to f.
9279 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9280 table_1 and table_2.
9281 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9282 Likewise, for f and g.
9283 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9284 for ptr.
9285 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9286 for main.
9287 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9288 table_1_ptr and table_2_ptr.
9289
9290 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9291 Joel Brobecker <brobecker@adacore.com>
9292
9293 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9294
9295 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9296
9297 * gdb.reverse/s390-mvcle.c: New test.
9298 * gdb.reverse/s390-mvcle.exp: New file.
9299 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9300
9301 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9302
9303 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9304
9305 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9306
9307 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9308 reaching marker2.
9309 * gdb.reverse/getresuid-reverse.exp: Likewise.
9310 * gdb.reverse/pipe-reverse.exp: Likewise.
9311 * gdb.reverse/readv-reverse.exp: Likewise.
9312 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9313 * gdb.reverse/time-reverse.exp: Likewise.
9314 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9315
9316 2015-10-30 Yao Qi <yao.qi@linaro.org>
9317
9318 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9319 (empty_cycle): Remove.
9320 (main): Don't call empty_cycle. Don't use watch_count_done.
9321 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9322 empty_cycle. Rewrite the code counting HW watchpoints.
9323
9324 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9325
9326 * gdb.reverse/fstatat-reverse.c: New test.
9327 * gdb.reverse/fstatat-reverse.exp: New file.
9328 * gdb.reverse/getresuid-reverse.c: New test.
9329 * gdb.reverse/getresuid-reverse.exp: New file.
9330 * gdb.reverse/pipe-reverse.c: New test.
9331 * gdb.reverse/pipe-reverse.exp: New file.
9332 * gdb.reverse/readv-reverse.c: New test.
9333 * gdb.reverse/readv-reverse.exp: New file.
9334 * gdb.reverse/recvmsg-reverse.c: New test.
9335 * gdb.reverse/recvmsg-reverse.exp: New file.
9336 * gdb.reverse/time-reverse.c: New test.
9337 * gdb.reverse/time-reverse.exp: New file.
9338 * gdb.reverse/waitpid-reverse.c: New test.
9339 * gdb.reverse/waitpid-reverse.exp: New file.
9340
9341 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9342
9343 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9344
9345 2015-10-26 Doug Evans <dje@google.com>
9346
9347 PR symtab/17391
9348 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9349 * gdb.dwarf2/bad-regnum.c: New file.
9350 * gdb.dwarf2/bad-regnum.exp: New file.
9351
9352 2015-10-26 Doug Evans <dje@google.com>
9353
9354 PR python/18938
9355 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9356 file.
9357
9358 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9359
9360 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9361 for a change by "Mention language in compile error message".
9362
9363 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9364
9365 PR python/18073
9366 * gdb.python/py-type.c (C::a_method): New.
9367 (C::a_const_method): New.
9368 (C::a_static_method): New.
9369 (a_function): New.
9370 * gdb.python/py-type.exp (test_fields): Test getting fields
9371 from function and method.
9372
9373 2015-10-21 Keven Boell <keven.boell@intel.com>
9374
9375 * gdb.fortran/vla-alloc-assoc.exp: New file.
9376 * gdb.fortran/vla-datatypes.exp: New file.
9377 * gdb.fortran/vla-datatypes.f90: New file.
9378 * gdb.fortran/vla-history.exp: New file.
9379 * gdb.fortran/vla-ptype-sub.exp: New file.
9380 * gdb.fortran/vla-ptype.exp: New file.
9381 * gdb.fortran/vla-sizeof.exp: New file.
9382 * gdb.fortran/vla-sub.f90: New file.
9383 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9384 * gdb.fortran/vla-value-sub-finish.exp: New file.
9385 * gdb.fortran/vla-value-sub.exp: New file.
9386 * gdb.fortran/vla-value.exp: New file.
9387 * gdb.fortran/vla-ptr-info.exp: New file.
9388 * gdb.mi/mi-vla-fortran.exp: New file.
9389 * gdb.mi/vla.f90: New file.
9390
9391 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9392
9393 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9394 of hardwired timeout value.
9395
9396 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9397 Pedro Alves <palves@redhat.com>
9398
9399 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9400 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9401
9402 2015-10-19 Josh Stone <jistone@redhat.com>
9403
9404 * gdb.base/catch-syscall.c: Include <sched.h>.
9405 (unknown_syscall): New variable.
9406 (main): Trigger a vfork and an unknown syscall.
9407 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9408 (unknown_syscall_number): Likewise.
9409 (check_call_to_syscall): Accept an optional syscall pattern.
9410 (check_return_from_syscall): Likewise.
9411 (check_continue): Likewise.
9412 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9413 (test_catch_syscall_skipping_return): New test toggling off 'catch
9414 syscall' to step over the syscall return, then toggling back on.
9415 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9416 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9417 (do_syscall_tests): Call test_catch_syscall_without_args and
9418 test_catch_syscall_mid_vfork.
9419 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9420 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9421
9422 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9423
9424 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9425 print g_vE): Add new pass patterns.
9426 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9427 print various symbol names for vptr fields.
9428
9429 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9430
9431 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9432 results.
9433
9434 2015-10-12 Yao Qi <yao.qi@linaro.org>
9435
9436 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9437
9438 2015-10-12 Yao Qi <yao.qi@linaro.org>
9439
9440 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9441 is aarch64*-*-linux*.
9442
9443 2015-10-12 Yao Qi <yao.qi@linaro.org>
9444
9445 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9446 (can_relocate_bcond_true): ... it.
9447 (can_relocate_bcond_false): New function.
9448 (foo): Likewise.
9449 (can_relocate_bl): Likewise.
9450 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9451 can_relocate_bl.
9452
9453 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9454
9455 * gdb.base/nested-addr.c: New file.
9456 * gdb.base/nested-addr.exp: New testcase.
9457
9458 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9459
9460 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9461 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9462 its output. Ignore the output of "record goto begin" and instead
9463 check that GDB is replaying.
9464
9465 2015-10-09 Pedro Alves <palves@redhat.com>
9466
9467 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9468 (top level): Use it in the run with no args test.
9469
9470 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9471
9472 * gdb.dlang/properties.exp: New file.
9473
9474 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9475
9476 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9477 whether or not address 0x1000 is mapped on the target.
9478
9479 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9480
9481 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9482 build.
9483
9484 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9485
9486 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9487 instruction-history test.
9488
9489 2015-09-28 Doug Evans <dje@google.com>
9490
9491 * gdb.base/gcore.c (array_func): Add reference to static_array.
9492
9493 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9494
9495 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9496 source line.
9497
9498 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9499
9500 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9501 short or char as base type.
9502
9503 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9504
9505 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9506 to allow any size enum.
9507
9508 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9509
9510 * gdb.ada/array_ptr_renaming.exp: New testcase.
9511 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9512 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9513
9514 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9515
9516 * gdb.trace/ftrace-lock.c: New file.
9517 * gdb.trace/ftrace-lock.exp: New file.
9518
9519 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9520
9521 * gdb.arch/insn-reloc.c: New file.
9522 * gdb.arch/ftrace-insn-reloc.exp: New file.
9523
9524 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9525
9526 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9527 instruction.
9528 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9529 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9530 * gdb.trace/range-stepping.c: Likewise.
9531 * gdb.trace/trace-break.c: Likewise.
9532 * gdb.trace/trace-mt.c (thread_function): Likewise.
9533 * gdb.trace/ftrace.c (marker): Likewise.
9534 * gdb.trace/trace-condition.c (marker): Likewise.
9535 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9536 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9537 is_aarch64_target.
9538
9539 2015-09-18 Doug Evans <xdje42@gmail.com>
9540
9541 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9542 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9543
9544 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9545
9546 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9547 the breakpoint.
9548
9549 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9550
9551 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9552 the pending breakpoint. Remove timeout override for "Run till
9553 MI pending breakpoint on pendfunc3 on thread 2" test.
9554
9555 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9556
9557 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9558 filename pattern.
9559
9560 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9561
9562 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9563 in breakpoint filename pattern.
9564
9565 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9566
9567 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9568
9569 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9570
9571 * gdb.linespec/explicit.exp: Check for readline support for
9572 tab-completion tests. Fix obvious typo.
9573
9574 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9575
9576 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9577 and replay.
9578
9579 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9580
9581 * gdb.btrace/non-stop.c: New.
9582 * gdb.btrace/non-stop.exp: New.
9583
9584 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9585 Yao Qi <yao.qi@linaro.org>
9586
9587 * gdb.trace/trace-condition.c: New file.
9588 * gdb.trace/trace-condition.exp: New file.
9589
9590 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9591
9592 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9593 for testing bytecode compilation.
9594
9595 2015-09-16 Pedro Alves <palves@redhat.com>
9596 Sandra Loosemore <sandra@codesourcery.com>
9597
9598 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9599 (SECONDS): Redefine.
9600 (main): Call pthread_kill and alarm early.
9601 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9602 support.
9603 (test): If the target can't hardware step and doesn't support
9604 displaced stepping, increase the timeout.
9605
9606 2015-09-16 Pedro Alves <palves@redhat.com>
9607
9608 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9609 (enable_debug): New procedures.
9610 (test): Use them. Bail out if waiting for threads fails.
9611 (top level): Bail out if a test fails.
9612
9613 2015-09-16 Yao Qi <yao.qi@linaro.org>
9614
9615 * gdb.asm/asm-source.exp: Set asm-arch for
9616 aarch64*-*-* target.
9617 * gdb.asm/aarch64.inc: New file.
9618
9619 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9620
9621 * gdb.ada/array_of_variable_length.exp: New testcase.
9622 * gdb.ada/array_of_variable_length/foo.adb: New file.
9623 * gdb.ada/array_of_variable_length/pck.adb: New file.
9624 * gdb.ada/array_of_variable_length/pck.ads: New file.
9625
9626 2015-09-15 Doug Evans <dje@google.com>
9627
9628 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9629 of function static local variable.
9630
9631 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9632
9633 * gdb.threads/tls-so_extern.exp: New test file.
9634 * gdb.threads/tls-so_extern.c: New test file.
9635 * gdb.threads/tls-so_extern_main.c: New test file.
9636
9637 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9638
9639 * gdb.opt/solib-intra-step-lib.c: New file.
9640 * gdb.opt/solib-intra-step-main.c: New file.
9641 * gdb.opt/solib-intra-step.exp: New file.
9642
9643 2015-09-15 Pedro Alves <palves@redhat.com>
9644
9645 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9646 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9647
9648 2015-09-14 Pedro Alves <palves@redhat.com>
9649
9650 * gdb.base/hook-stop-continue.c: Delete.
9651 * gdb.base/hook-stop-continue.exp: Delete.
9652 * gdb.base/hook-stop-frame.c: Delete.
9653 * gdb.base/hook-stop-frame.exp: Delete.
9654 * gdb.base/hook-stop.c: New file.
9655 * gdb.base/hook-stop.exp: New file.
9656
9657 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9658
9659 * gdb.ada/access_to_packed_array.exp: New testcase.
9660 * gdb.ada/access_to_packed_array/foo.adb: New file.
9661 * gdb.ada/access_to_packed_array/pack.adb: New file.
9662 * gdb.ada/access_to_packed_array/pack.ads: New file.
9663
9664 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9665
9666 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9667 buffer size test.
9668
9669 2015-09-11 Don Breazeal <donb@codesourcery.com>
9670
9671 * gdb.base/foll-exec.c: Add copyright header. Fix
9672 formatting issues.
9673 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9674 (do_exec_tests): Use clean_restart in place of zap_session,
9675 and for test initialization. Fix formatting issues. Use
9676 fail in place of perror.
9677 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9678 an expect statement to match an expression with output from
9679 the program under debug.
9680 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9681 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9682 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9683 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9684 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9685
9686 2015-09-09 Doug Evans <dje@google.com>
9687
9688 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9689
9690 2015-09-09 Doug Evans <dje@google.com>
9691
9692 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9693
9694 2015-09-09 Doug Evans <dje@google.com>
9695
9696 * gdb.base/savedregs.exp: Fix typo.
9697
9698 2015-09-09 Pedro Alves <palves@redhat.com>
9699
9700 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9701
9702 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9703
9704 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9705 command actually switches threads. Give up on remaining
9706 tests if target fails to stop at breakpoint.
9707
9708 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9709
9710 * gdb.ada/funcall_char.exp: New testcase.
9711 * gdb.ada/funcall_char/foo.adb: New file.
9712
9713 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9714
9715 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9716 expected outputs. Add two testcases for completing ambiguous
9717 functions.
9718 * gdb.ada/complete/aux_pck.adb: New file.
9719 * gdb.ada/complete/aux_pck.ads: New file.
9720 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9721 Ambiguous_Func functions.
9722 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9723 * gdb.ada/complete/pck.adb: Likewise.
9724
9725 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9726
9727 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9728 failures to run the test program under GDB.
9729
9730 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9731
9732 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9733 to C.
9734
9735 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9736
9737 * gdb.base/run-after-attach.exp: New test file.
9738 * gdb.base/run-after-attach.c: New test file.
9739
9740 2015-08-26 Don Breazeal <donb@codesourcery.com>
9741
9742 * gdb.base/foll-exec-2.c: New test program.
9743 * gdb.base/foll-exec-2.exp: New test.
9744
9745 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9746
9747 * gdb.base/nested-subp1.exp: New file.
9748 * gdb.base/nested-subp1.c: New file.
9749 * gdb.base/nested-subp2.exp: New file.
9750 * gdb.base/nested-subp2.c: New file.
9751 * gdb.base/nested-subp3.exp: New file.
9752 * gdb.base/nested-subp3.c: New file.
9753
9754 2015-08-24 Pedro Alves <palves@redhat.com>
9755
9756 * gdb.server/connect-without-multi-process.c: New file.
9757 * gdb.server/connect-without-multi-process.exp: New file.
9758
9759 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9760
9761 * gdb.opt/inline-markers.c: Make z int.
9762
9763 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9764
9765 * gdb.opt/inline-markers.c: Make z volatile.
9766
9767 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9768
9769 * gdb.opt/inline-bt.c: New volatile global z.
9770 * gdb.opt/inline-cmds.c: Likewise.
9771 * gdb.opt/inline-locals.c: Likewise.
9772 * gdb.opt/inline-markers.c: New extern global z.
9773 (marker): Use z.
9774 (inline_fn): Likewise.
9775
9776 2015-08-24 Pedro Alves <palves@redhat.com>
9777
9778 * config/m32r-stub.exp: Remove file.
9779 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9780 * gdb.base/call-rt-st.exp: Likewise.
9781 * gdb.base/call-strs.exp: Likewise.
9782 * gdb.base/default.exp: Remove references to h8300-*-hms and
9783 *-*-udi*.
9784 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9785
9786 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9787
9788 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9789 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9790 and "return" use KFAIL when GDB can not read/write the vector
9791 return value.
9792
9793 2015-08-21 Gary Benson <gbenson@redhat.com>
9794
9795 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9796
9797 2015-08-20 Pedro Alves <palves@redhat.com>
9798
9799 * gdb.server/solib-list.exp: No longer expect an interior stop in
9800 non-stop mode.
9801
9802 2015-08-20 Pedro Alves <palves@redhat.com>
9803
9804 * gdb.server/connect-stopped-target.c: New file.
9805 * gdb.server/connect-stopped-target.exp: New file.
9806
9807 2015-08-20 Pedro Alves <palves@redhat.com>
9808
9809 * gdb.dwarf2/comp-unit-lang.exp: New file.
9810 * gdb.dwarf2/comp-unit-lang.c: New file.
9811
9812 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9813
9814 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9815 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9816
9817 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9818
9819 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9820 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9821
9822 2015-08-18 Doug Evans <dje@google.com>
9823 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9824
9825 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9826 skip_python_tests. New arg prompt_regexp.
9827 (skip_python_tests): New function.
9828 * lib/mi-support.exp (mi_skip_python_tests): New function.
9829 * gdb.python/py-mi-objfile-gdb.py: New file.
9830 * gdb.python/py-mi-objfile.c: New file.
9831 * gdb.python/py-mi-objfile.exp: New file.
9832
9833 2015-08-17 Keith Seitz <keiths@redhat.com>
9834
9835 * gdb.linespec/explicit.exp: Move strace test from here ...
9836 * gdb.trace/strace.exp: ... to here.
9837
9838 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9839
9840 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9841 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9842
9843 2015-08-14 Doug Evans <xdje42@gmail.com>
9844
9845 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9846 inferior before selecting a new file.
9847
9848 2015-08-14 Doug Evans <xdje42@gmail.com>
9849
9850 * gdb.mi/mi-disassemble.exp: Update.
9851 * gdb.base/disasm-optim.S: New file.
9852 * gdb.base/disasm-optim.c: New file.
9853 * gdb.base/disasm-optim.h: New file.
9854 * gdb.base/disasm-optim.exp: New file.
9855
9856 2015-08-14 Keith Seitz <keiths@redhat.com>
9857
9858 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9859 "evaluated-by".
9860
9861 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9862
9863 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9864
9865 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9866
9867 * gdb.ada/fun_renaming.exp: New testcase.
9868 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9869 * gdb.ada/fun_renaming/pack.adb: New file.
9870 * gdb.ada/fun_renaming/pack.ads: New file.
9871
9872 2015-08-12 Keith Seitz <keiths@redhat.com>
9873
9874 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9875 gdb_get_line_number.
9876
9877 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9878
9879 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9880 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9881 gdb.base/dso2dso.exp: New files.
9882
9883 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9884 Pedro Alves <palves@redhat.com>
9885 Keith Seitz <keiths@redhat.com>
9886
9887 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9888 GDBFLAGS.
9889
9890 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9891
9892 * gdb.base/gdbhistsize-history.exp
9893 (test_histsize_history_setting): Use save_vars.
9894 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9895 Use save_vars.
9896 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9897 * gdb.base/readline.exp: Use save_vars.
9898
9899 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9900
9901 * lib/gdb.exp (save_vars): New proc.
9902
9903 2015-08-11 Keith Seitz <keiths@redhat.com>
9904
9905 * gdb.base/help.exp: Update help_breakpoint_text.
9906
9907 2015-08-11 Keith Seitz <keiths@redhat.com>
9908
9909 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9910 (at toplevel): Call test_explicit_breakpoints.
9911 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9912 breakpoints.
9913 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9914 breakpoint conditions, "-cond".
9915
9916 2015-08-11 Keith Seitz <keiths@redhat.com>
9917
9918 * gdb.linespec/3explicit.c: New file.
9919 * gdb.linespec/cpexplicit.cc: New file.
9920 * gdb.linespec/cpexplicit.exp: New file.
9921 * gdb.linespec/explicit.c: New file.
9922 * gdb.linespec/explicit.exp: New file.
9923 * gdb.linespec/explicit2.c: New file.
9924 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9925 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9926 before using in the matching pattern.
9927 Clarify that `prefix' is a regular expression.
9928
9929 2015-08-11 Keith Seitz <keiths@redhat.com>
9930
9931 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9932 test.
9933 Add tests for missing ",FMT" and ",".
9934
9935 2015-08-10 Doug Evans <dje@google.com>
9936 Keith Seitz <keiths@redhat.com>
9937
9938 PR gdb/17960
9939 * gdb.base/completion.exp: Add location completer tests.
9940
9941 2015-08-07 Pedro Alves <palves@redhat.com>
9942
9943 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9944 tests here.
9945 (top level): Run do_test with and without displaced stepping.
9946
9947 2015-08-07 Pedro Alves <palves@redhat.com>
9948
9949 * gdb.base/valgrind-disp-step.c: New file.
9950 * gdb.base/valgrind-disp-step.exp: New file.
9951
9952 2015-08-07 Pedro Alves <palves@redhat.com>
9953
9954 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9955 Delete function.
9956 (main): Add alarm. Run an infinite loop instead of calling
9957 wait_threads.
9958 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9959 comment.
9960 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9961 Delete function.
9962 (main): Add alarm. Run an infinite loop instead of calling
9963 wait_threads.
9964 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9965 comment.
9966
9967 2015-08-07 Pedro Alves <palves@redhat.com>
9968
9969 * gdb.base/checkpoint-ns.exp: New file.
9970 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9971 standard_testfile.
9972
9973 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9974
9975 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9976 * gdb.btrace/instruction_history.exp: Update.
9977 * gdb.btrace/tsx.exp: New.
9978 * gdb.btrace/tsx.c: New.
9979
9980 2015-08-06 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9983 increase timeout.
9984 * gdb.reverse/until-precsave.exp: Bump timeouts.
9985
9986 2015-08-06 Pedro Alves <palves@redhat.com>
9987
9988 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9989
9990 2015-08-06 Pedro Alves <palves@redhat.com>
9991
9992 PR gdb/18749
9993 * gdb.threads/process-dies-while-handling-bp.c: New file.
9994 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9995
9996 2015-08-06 Pedro Alves <palves@redhat.com>
9997
9998 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9999 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10000
10001 2015-08-05 Pedro Alves <palves@redhat.com>
10002
10003 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10004 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10005
10006 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10007
10008 * gdb.base/bp-permanent.exp: Report test as unsupported if
10009 the target cannot stop at the permanent breakpoint.
10010
10011 2015-08-03 Doug Evans <dje@google.com>
10012
10013 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10014 10000.
10015
10016 2015-08-03 Doug Evans <dje@google.com>
10017
10018 * Makefile.in (workers/%.worker, build-perf): New rule.
10019 (GDB_PERFTEST_MODE): New variable.
10020 (check-perf): Use it.
10021 (clean): Clean up gdb.perf parallel build subdirs.
10022 * lib/build-piece.exp: New file.
10023 * lib/gdb.exp (make_gdb_parallel_path): New function
10024 (standard_output_file, standard_temp_file): Call it.
10025 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10026 of $GDB_PARALLEL.
10027 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10028
10029 2015-08-03 Doug Evans <dje@google.com>
10030
10031 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10032 (LOG_FILE_NAME): New global.
10033 (TextReporter.__init__): Initialize self.txt_sum.
10034 (TextReporter.report): Add support for multiple data-points.
10035 Move report to perftest.sum, put raw data in perftest.log.
10036 (TextReporter.start): Open sum and log files.
10037 (TextReporter.end): Close sum and log files.
10038 * gdb.perf/lib/perftest/testresult.py
10039 (SingleStatisticTestResult.record): Handle multiple data-points.
10040
10041 2015-07-31 Pedro Alves <palves@redhat.com>
10042
10043 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10044 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10045 kill_wait_spawned_process instead of explicit "kill -9".
10046 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10047 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10048 kill_wait_spawned_process.
10049 * gdb.base/attach-twice.exp: Likewise.
10050 * gdb.base/attach.exp: Likewise.
10051 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10052 gdb_test_multiple.
10053 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10054 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10055 kill_wait_spawned_process.
10056 * gdb.base/valgrind-infcall.exp: Likewise.
10057 * gdb.multi/multi-attach.exp: Likewise.
10058 * gdb.python/py-prompt.exp: Likewise.
10059 * gdb.python/py-sync-interp.exp: Likewise.
10060 * gdb.server/ext-attach.exp: Likewise.
10061 * gdb.threads/attach-into-signal.exp (corefunc): Use
10062 spawn_wait_for_attach, spawn_id_get_pid and
10063 kill_wait_spawned_process.
10064 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10065 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10066 spawn_id_get_pid and kill_wait_spawned_process.
10067 * gdb.threads/attach-stopped.exp (corefunc): Use
10068 spawn_wait_for_attach, spawn_id_get_pid and
10069 kill_wait_spawned_process.
10070 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10071 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10072 kill_wait_spawned_process instead of explicit "kill -9".
10073 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10074 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10075 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10076 processes. Don't map cygwin/windows pids here. Now returns a
10077 spawn id list.
10078
10079 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10080
10081 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10082 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10083 correct patch.
10084
10085 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10086
10087 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10088
10089 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10090
10091 Reapply:
10092 2014-05-21 Mark Wielaard <mjw@redhat.com>
10093
10094 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10095
10096 2015-07-30 Pedro Alves <palves@redhat.com>
10097
10098 * linux-low.c (handle_extended_wait): Set the child's last
10099 reported status to TARGET_WAITKIND_STOPPED.
10100
10101 2015-07-30 Pedro Alves <palves@redhat.com>
10102
10103 PR threads/18600
10104 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10105 only shows inferior 1.
10106
10107 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10108 Pedro Alves <palves@redhat.com>
10109
10110 PR threads/18600
10111 * gdb.threads/fork-plus-threads.c: New file.
10112 * gdb.threads/fork-plus-threads.exp: New file.
10113
10114 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10115
10116 * gdb.base/batch-preserve-term-settings.exp
10117 (test_terminal_settings_preserved_after_cli_exit): Use
10118 send_quit_command.
10119
10120 2015-07-29 Pedro Alves <palves@redhat.com>
10121 Don Breazeal <donb@codesourcery.com>
10122
10123 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10124 output from both inferior_spawn_id and gdb_spawn_id.
10125
10126 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10127
10128 * gdb.threads/attach-into-signal.exp (corefunc): Use
10129 with_test_prefix on nested loops, uniquefying the test messages.
10130
10131 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10132
10133 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10134 commit.
10135
10136 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10137
10138 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10139 New proc.
10140 (test_terminal_settings_preserved_after_sigterm): New test.
10141
10142 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10143
10144 * gdb.base/batch-preserve-term-settings.exp
10145 (test_terminal_settings_preserved_after_cli_exit): New test.
10146
10147 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10148
10149 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10150 manipulation of saved_gdbflags.
10151 (test_terminal_settings_preserved): Remove global declaration of
10152 the unused variable pagination_prompt. Remove manipulation of
10153 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10154 GDBFLAGS.
10155
10156 2015-07-29 Pedro Alves <palves@redhat.com>
10157
10158 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10159
10160 2015-07-29 Pedro Alves <palves@redhat.com>
10161
10162 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10163 at the top.
10164
10165 2015-07-29 Pedro Alves <palves@redhat.com>
10166
10167 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10168 (main): Call gdb_unbuffer_output.
10169 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10170 (main): Call gdb_unbuffer_output.
10171 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10172 (main): Call gdb_unbuffer_output.
10173 * gdb.base/call-strs.exp: Adjust to step over the
10174 gdb_unbuffer_output call.
10175 * gdb.base/catch-gdb-caused-signals.c: Include
10176 "../lib/unbuffer_output.c".
10177 (main): Call gdb_unbuffer_output.
10178 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10179 (main): Call gdb_unbuffer_output.
10180 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10181 (main): Call gdb_unbuffer_output.
10182 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10183 (main): Call gdb_unbuffer_output.
10184 * gdb.base/shlib-call.exp: Adjust to step over the
10185 gdb_unbuffer_output call.
10186 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10187 (main): Call gdb_unbuffer_output.
10188 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10189 (main): Call gdb_unbuffer_output.
10190 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10191 (main): Rename to ...
10192 (test): ... this.
10193 (main): Reimplement.
10194 * gdb.base/varargs.exp: Run to test instead of to main.
10195 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10196 (main): Call gdb_unbuffer_output.
10197
10198 2015-07-29 Pedro Alves <palves@redhat.com>
10199
10200 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10201 factore out from mi_continue_dprintf. For call-style dprintfs,
10202 expect dprintf output out of $inferior_spawn_id.
10203 (mi_continue_dprintf): Use mi_expect_dprintf.
10204 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10205 (main): Call gdb_unbuffer_output.
10206
10207 2015-07-29 Pedro Alves <palves@redhat.com>
10208
10209 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10210 (default_mi_gdb_start): Set inferior_spawn_id instead of
10211 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10212 gdb_spawn_id.
10213 (mi_gdb_test): Always expect inferior output from both
10214 $inferior_spawn_id and $gdb_spawn_id.
10215
10216 2015-07-29 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10219 send_inferior and $inferior_spawn_id.
10220
10221 2015-07-29 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.gdb/complaints.exp (test_initial_complaints)
10224 (test_serial_complaints, test_short_complaints): Use
10225 gdb_test_stdio.
10226 (test_empty_complaint): Handle $inferior_spawn_id !=
10227 $gdb_spawn_id.
10228
10229 2015-07-29 Pedro Alves <palves@redhat.com>
10230
10231 * gdb.base/varargs.exp: Use gdb_test_stdio.
10232
10233 2015-07-29 Pedro Alves <palves@redhat.com>
10234
10235 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10236
10237 2015-07-29 Pedro Alves <palves@redhat.com>
10238
10239 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10240
10241 2015-07-29 Pedro Alves <palves@redhat.com>
10242
10243 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10244 parameter into two new parameters, "inf_result" and "gdb_result".
10245 Expect inferior output and gdb output from $inferior_spawn_id and
10246 $gdb_spawn_id, respectively. Adjust all callers.
10247
10248 2015-07-29 Pedro Alves <palves@redhat.com>
10249
10250 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10251 of gdb_test_sequence.
10252
10253 2015-07-29 Pedro Alves <palves@redhat.com>
10254
10255 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10256 (saw_spurious_output): Expect inferior output from
10257 $inferior_spawn_id. Use gdb_test_stdio.
10258
10259 2015-07-29 Pedro Alves <palves@redhat.com>
10260
10261 * gdb.base/dprintf.exp: Use standard_testfile. Change
10262 prepare_for_testing call.
10263 (srcfile): Don't set.
10264 (restart): New procedure.
10265 (test_dprintf): New procecure, use to continue over dprintfs.
10266 (test_call, test_agent): New procedures, tests moved here.
10267 Restart gdb and recreate dprintfs. Adjust expected output.
10268
10269 2015-07-29 Pedro Alves <palves@redhat.com>
10270
10271 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10272
10273 2015-07-29 Pedro Alves <palves@redhat.com>
10274
10275 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10276
10277 2015-07-29 Pedro Alves <palves@redhat.com>
10278
10279 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10280 gdb_test_stdio.
10281
10282 2015-07-29 Pedro Alves <palves@redhat.com>
10283
10284 * lib/gdb.exp (gdb_test_stdio): New procedure.
10285
10286 2015-07-29 Pedro Alves <palves@redhat.com>
10287
10288 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10289
10290 2015-07-29 Pedro Alves <palves@redhat.com>
10291
10292 * gdb.base/call-signal-resume.exp: Remove check for
10293 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10294 * gdb.base/unwindonsignal.exp: Likewise.
10295 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10296 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10297
10298 2015-07-29 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.base/siginfo-addr.c (pass): New function.
10301 (handler): Call it iff si_addr is correct.
10302 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10303 Set a breakpoint at "pass" and continue to it.
10304
10305 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10306
10307 * gdb.python/py-objfile.exp: Make some tests have unique names.
10308 * gdb.python/py-pp-registration.exp: Likewise.
10309
10310 2015-07-28 Pedro Alves <palves@redhat.com>
10311
10312 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10313
10314 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10315
10316 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10317
10318 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10319
10320 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10321
10322 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10323
10324 * gdb.base/gdb-sigterm-2.exp: New test.
10325
10326 2015-07-25 Doug Evans <xdje42@gmail.com>
10327
10328 Revert:
10329 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10330 (workers/%.worker, build-perf): New rule.
10331 (GDB_PERFTEST_MODE): New variable.
10332 (check-perf): Use it.
10333 (clean): Clean up gdb.perf parallel build subdirs.
10334 * lib/build-piece.exp: New file.
10335 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10336 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10337 name.
10338 (standard_temp_file): Ditto.
10339 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10340 of $GDB_PARALLEL.
10341
10342 2015-07-24 Doug Evans <dje@google.com>
10343
10344 * gdb.perf/lib/perftest/utils.py: New file.
10345 * gdb.perf/gm-hello.cc: New file.
10346 * gdb.perf/gm-pervasive-typedef.cc: New file.
10347 * gdb.perf/gm-pervasive-typedef.h: New file.
10348 * gdb.perf/gm-std.cc: New file.
10349 * gdb.perf/gm-std.h: New file.
10350 * gdb.perf/gm-use-cerr.cc: New file.
10351 * gdb.perf/gm-utils.h: New file.
10352 * gdb.perf/gmonster-null-lookup.py: New file.
10353 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10354 * gdb.perf/gmonster-print-cerr.py: New file.
10355 * gdb.perf/gmonster-ptype-string.py: New file.
10356 * gdb.perf/gmonster-runto-main.py: New file.
10357 * gdb.perf/gmonster-select-file.py: New file.
10358 * gdb.perf/gmonster1-null-lookup.exp: New file.
10359 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10360 * gdb.perf/gmonster1-print-cerr.exp: New file.
10361 * gdb.perf/gmonster1-ptype-string.exp: New file.
10362 * gdb.perf/gmonster1-runto-main.exp: New file.
10363 * gdb.perf/gmonster1-select-file.exp: New file.
10364 * gdb.perf/gmonster1.cc: New file.
10365 * gdb.perf/gmonster1.exp: New file.
10366 * gdb.perf/gmonster2-null-lookup.exp: New file.
10367 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10368 * gdb.perf/gmonster2-print-cerr.exp: New file.
10369 * gdb.perf/gmonster2-ptype-string.exp: New file.
10370 * gdb.perf/gmonster2-runto-main.exp: New file.
10371 * gdb.perf/gmonster2-select-file.exp: New file.
10372 * gdb.perf/gmonster2.cc: New file.
10373 * gdb.perf/gmonster2.exp: New file.
10374
10375 2015-07-24 Doug Evans <dje@google.com>
10376
10377 * gdb.perf/README: New file.
10378 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10379 * lib/gen-perf-test.exp: New file.
10380
10381 2015-07-24 Doug Evans <dje@google.com>
10382
10383 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10384 (PerfTest::startup): New function.
10385 (PerfTest::run): Return result of calling body.
10386 (PerfTest::assemble): Rewrite.
10387 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10388 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10389 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10390 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10391 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10392
10393 2015-07-24 Doug Evans <dje@google.com>
10394
10395 * lib/gdb.exp (clean_restart): Make executable optional.
10396
10397 2015-07-24 Doug Evans <dje@google.com>
10398
10399 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10400 compiler_info references.
10401 * gdb.cp/temargs.exp: Ditto.
10402 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10403 (get_compiler_info): Early exit if already computed. Set compiler_info
10404 to "unknown" if there was a problem.
10405 (test_compiler_info): Add function comment. Call get_compiler_info.
10406
10407 2015-07-24 Doug Evans <dje@google.com>
10408
10409 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10410 (workers/%.worker, build-perf): New rule.
10411 (GDB_PERFTEST_MODE): New variable.
10412 (check-perf): Use it.
10413 (clean): Clean up gdb.perf parallel build subdirs.
10414 * lib/build-piece.exp: New file.
10415 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10416 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10417 name.
10418 (standard_temp_file): Ditto.
10419 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10420 of $GDB_PARALLEL.
10421
10422 2015-07-24 Doug Evans <dje@google.com>
10423
10424 * lib/future.exp (gdb_default_target_compile): New option
10425 "early_flags".
10426 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10427 --as-needed.
10428
10429 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10430
10431 * gdb.base/catch-syscall.exp: Call gdb_exit before
10432 gdb_skip_xml_test.
10433
10434 2015-07-24 Pedro Alves <palves@redhat.com>
10435
10436 * gdb.python/py-events.exp: Accept output between the stop event
10437 and the prompt.
10438 * gdb.python/py-evsignal.exp: Likewise.
10439 * gdb.python/py-evthreads.exp: Likewise.
10440
10441 2015-07-24 Pedro Alves <palves@redhat.com>
10442
10443 PR gdb/18717
10444 * gdb.threads/non-ldr-exit.c: New file.
10445 * gdb.threads/non-ldr-exit.exp: New file.
10446
10447 2015-07-24 Yao Qi <yao.qi@linaro.org>
10448
10449 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10450 restarting process.
10451
10452 2015-07-24 Yao Qi <yao.qi@linaro.org>
10453
10454 * gdb.server/ext-restart.exp: New file.
10455
10456 2015-07-24 Yao Qi <yao.qi@linaro.org>
10457
10458 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10459 argument options.
10460 * gdb.server/ext-wrapper.exp: New file.
10461
10462 2015-07-23 Doug Evans <dje@google.com>
10463
10464 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10465 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10466
10467 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10468
10469 * gdb.ada/var_arr_typedef.exp: New testcase.
10470 * gdb.ada/var_arr_typedef/pack.adb: New file.
10471 * gdb.ada/var_arr_typedef/pack.ads: New file.
10472 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10473
10474 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10475
10476 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10477
10478 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10479
10480 * gdb.arch/i386-biarch-core.exp: Replace istarget
10481 by "complete set gnutarget". Remove expectation for the "core-file"
10482 command.
10483
10484 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10485
10486 Revert the previous commit:
10487 Tests for validate symbol file using build-id.
10488
10489 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10490
10491 Tests for validate symbol file using build-id.
10492 * gdb.base/solib-mismatch-lib.c: New file.
10493 * gdb.base/solib-mismatch-libmod.c: New file.
10494 * gdb.base/solib-mismatch.c: New file.
10495 * gdb.base/solib-mismatch.exp: New file.
10496
10497 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10498
10499 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10500 nios2-*-linux*.
10501 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10502 * gdb.base/siginfo.exp: Likewise.
10503 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10504
10505 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10506
10507 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10508 Move it to ...
10509 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10510 ... here.
10511 * gdb.trace/range-stepping.exp: Check that the target supports
10512 range stepping.
10513
10514 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10515
10516 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10517
10518 2015-07-14 Pedro Alves <palves@redhat.com>
10519
10520 * gdb.base/killed-outside.exp: New file.
10521 * gdb.base/killed-outside.c: New file.
10522
10523 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10524
10525 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10526 (n at main): New.
10527 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10528
10529 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10530
10531 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10532 infcall tests instead of setting up for KFAIL.
10533
10534 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10535
10536 * gdb.btrace/record_goto-step.exp: New.
10537
10538 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10539
10540 PR compile/18484
10541 * gdb.compile/compile.c (struct struct_type): Add volatile to
10542 selffield's type.
10543 * gdb.compile/compile.exp
10544 (compile code struct_object.selffield = &struct_object): Skip further
10545 struct_object tests if this one xfails.
10546
10547 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10548
10549 PR exp/18617
10550 * gdb.trace/ax.exp: Add test.
10551
10552 2015-07-07 Yao Qi <yao.qi@linaro.org>
10553
10554 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10555 instead of istarget "aarch64*-*-*".
10556 * gdb.arch/aarch64-fp.exp: Likewise.
10557 * gdb.base/float.exp: Likewise.
10558 * gdb.reverse/aarch64.exp: Likewise.
10559 * lib/gdb.exp (is_aarch64_target): New proc.
10560
10561 2015-07-07 Yao Qi <yao.qi@linaro.org>
10562
10563 * lib/gdb.exp (is_aarch32_target): New proc.
10564 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10565 instead of "istarget "arm*-*-*"".
10566 * gdb.arch/arm-disp-step.exp: Likewise.
10567 * gdb.arch/thumb-bx-pc.exp: Likewise.
10568 * gdb.arch/thumb-prologue.exp: Likewise.
10569 * gdb.arch/thumb-singlestep.exp: Likewise.
10570 * gdb.base/disp-step-syscall.exp: Likewise.
10571 * gdb.base/float.exp: Likewise.
10572
10573 2015-07-07 Yao Qi <yao.qi@linaro.org>
10574
10575 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10576 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10577
10578 2015-07-07 Yao Qi <yao.qi@linaro.org>
10579
10580 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10581 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10582 if it exists.
10583 * gdb.multi/multi-arch.exp: Likewise.
10584
10585 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10586
10587 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10588 print.
10589
10590 2015-07-07 Yao Qi <yao.qi@linaro.org>
10591
10592 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10593
10594 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10595
10596 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10597 '[' and ']' characters.
10598
10599 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10600
10601 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10602
10603 2015-06-29 Pedro Alves <palves@redhat.com>
10604
10605 PR threads/18127
10606 * gdb.threads/hand-call-new-thread.c: New file.
10607 * gdb.threads/hand-call-new-thread.c: New file.
10608
10609 2015-06-26 Keith Seitz <keiths@redhat.com>
10610 Doug Evans <dje@google.com>
10611
10612 PR 16253
10613 * gdb.cp/var-tag-2.cc: New file.
10614 * gdb.cp/var-tag-3.cc: New file.
10615 * gdb.cp/var-tag-4.cc: New file.
10616 * gdb.cp/var-tag.cc: New file.
10617 * gdb.cp/var-tag.exp: New file.
10618
10619 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10620
10621 * gdb.base/history-duplicates.exp: New test.
10622
10623 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10624
10625 * gdb.base/completion.exp: Test the completion of the "focus"
10626 command.
10627
10628 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10629
10630 * gdb.arch/amd64-prologue-skip.S: New file.
10631 * gdb.arch/amd64-prologue-skip.exp: New file.
10632
10633 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10634
10635 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10636 is_address_zero_readable check.
10637
10638 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10639
10640 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10641 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10642
10643 2015-06-24 Yao Qi <yao.qi@linaro.org>
10644
10645 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10646 linux targets.
10647
10648 2015-06-24 Yao Qi <yao.qi@linaro.org>
10649
10650 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10651 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10652 * gdb.base/siginfo-thread.exp: Likewise.
10653
10654 2015-06-22 Yao Qi <yao.qi@linaro.org>
10655
10656 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10657
10658 2015-06-22 Yao Qi <yao.qi@linaro.org>
10659
10660 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10661 aarch64*-*-*.
10662 (skip_hw_watchpoint_tests): Likewise.
10663
10664 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10665
10666 * gdb.base/gdbinit-history.exp: Test the interaction between
10667 setting GDBHISTSIZE and setting the history size via .gdbinit.
10668
10669 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10670
10671 PR gdb/16999
10672 * gdb.base/gdbhistsize-history.exp: New test.
10673
10674 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10675
10676 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10677 with GDBHISTSIZE.
10678 * gdb.base/readline.exp: Likewise.
10679
10680 2015-06-17 Yao Qi <yao.qi@linaro.org>
10681
10682 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10683 line.
10684
10685 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10686
10687 * gdb.base/gdbinit-history.exp: Add test case to check that
10688 an unlimited history file does not get truncated on exit.
10689
10690 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10691
10692 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10693 (VECTOR): New macro. Use it...
10694 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10695 ...for these typedefs.
10696 (int8, char1, int1, double1): New typedefs.
10697 (struct just_int2, struct two_int2): New structures.
10698 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10699 (add_structvecs, add_singlevecs): New functions.
10700 (main): Call add_some_intvecs twice.
10701 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10702 the compile and exit upon failure. Try compiling for the "native"
10703 architecture. Test inferior function calls with vector arguments
10704 and vector return value handling with "finish" and "return".
10705
10706 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10707
10708 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10709 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10710 PE file.
10711 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10712
10713 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10714
10715 PR breakpoints/16465
10716 * gdb.mi/mi-dprintf-pending.c: New file.
10717 * gdb.mi/mi-dprintf-pending.exp: New test.
10718 * gdb.mi/mi-dprintf-pendshr.c: New file.
10719
10720 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10721 Mircea Gherzan <mircea.gherzan@intel.com>
10722
10723 * gdb.arch/i386-mpx-map.c: New file.
10724 * gdb.arch/i386-mpx-map.exp: New File.
10725
10726 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10727
10728 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10729 * gdb.arch/i386-mpx.exp: Indentation fixed.
10730
10731 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10732
10733 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10734 function and improved indentation.
10735 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10736 gdb_test_multiple. Added additional tests to skip the test.
10737
10738 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10739
10740 * gdb.arch/i386-avx512.c: Change path in include file.
10741 * gdb.arch/i386-avx512.exp: Change include dir path
10742 compilation flag.
10743 * gdb.arch/i386-mpx.c: Change path in include file.
10744 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10745 flag.
10746
10747 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10748
10749 * gdb.compile/compile-print.exp (compile print *vararray@3)
10750 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10751
10752 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10753
10754 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10755 (do not keep jit in memory): ... this.
10756 (expect 5): Change it to ...
10757 (expect no 5): ... this.
10758
10759 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10760
10761 PR gdb/15564
10762 * gdb.mi/mi-detach.exp: New file.
10763
10764 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10765
10766 PR symtab/18392
10767 * gdb.arch/amd64-tailcall-self.S: New file.
10768 * gdb.arch/amd64-tailcall-self.c: New file.
10769 * gdb.arch/amd64-tailcall-self.exp: New file.
10770
10771 2015-05-28 Don Breazeal <donb@codesourcery.com>
10772
10773 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10774 tests for remote targets by checking is_target_gdbserver.
10775
10776 2015-05-27 Doug Evans <dje@google.com>
10777
10778 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10779 * gdb.dwarf2/opaque-type-lookup.c: New file.
10780 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10781
10782 2015-05-26 Doug Evans <dje@google.com>
10783
10784 * gdb.cp/iostream.cc: New file.
10785 * gdb.cp/iostream.exp: New file.
10786
10787 2015-05-26 Doug Evans <dje@google.com>
10788
10789 * gdb.dwarf2/dw2-op-call.exp: Update.
10790 * gdb.dwarf2/dw4-sig-types.exp: Update.
10791 * gdb.dwarf2/implptr.exp: Update.
10792 * gdb.mi/mi-cmd-param-changed.exp: Update.
10793
10794 2015-05-26 Doug Evans <dje@google.com>
10795
10796 * gdb.python/py-lazy-string.c: New file.
10797 * gdb.python/py-lazy-string.exp: New file.
10798 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10799 (main): Update. Add estring3.
10800 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10801 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10802
10803 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10804 Yao Qi <yao.qi@linaro.org>
10805
10806 * gdb.reverse/aarch64.c: New.
10807 * gdb.reverse/aarch64.exp: New.
10808
10809 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10810
10811 * lib/gdb.exp (supports_process_record): Return true for
10812 aarch64*-linux*.
10813 (supports_reverse): Likewise.
10814
10815 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10816
10817 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10818 Use with_test_prefix.
10819
10820 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10821
10822 * gdb.base/completion.exp: Add test for completion of layout
10823 names.
10824
10825 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10826
10827 * lib/gdb.exp (skip_tui_tests): New proc.
10828 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10829
10830 2015-05-19 Pedro Alves <palves@redhat.com>
10831
10832 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10833 Save the whole env array instead of just HOME. Unset HISTSIZE in
10834 the environment while testing. Restore whole environment
10835 afterwards.
10836
10837 2015-05-16 Doug Evans <xdje42@gmail.com>
10838
10839 * gdb.guile/scm-ports.c: New file.
10840 * gdb.guile/scm-ports.exp: Add memory port tests.
10841
10842 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10843
10844 * gdb.compile/compile-print.c: New file.
10845 * gdb.compile/compile-print.exp: New file.
10846
10847 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10848
10849 * gdb.compile/compile-ops.exp: Cast param to void.
10850 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10851 (compile code struct_object.selffield = &struct_object): Add xfail.
10852
10853 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10854
10855 * gdb.ada/arr_enum_with_gap: New testcase.
10856
10857 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10858
10859 * gdb.ada/byte_packed_arr: New testcase.
10860
10861 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10862
10863 * gdb.ada/pckd_neg: New testcase.
10864
10865 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10866
10867 PR gdb/17820
10868 * gdb.base/gdbinit-history.exp: New test.
10869 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10870 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10871
10872 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10873
10874 * gdb.python/py-xmethods.cc: Enhance test case.
10875 * gdb.python/py-xmethods.exp: New tests.
10876 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10877 function.
10878 (B_indexoper): Likewise.
10879 (global_dm_list) : Add new xmethod worker functions.
10880
10881 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10882
10883 * gdb.base/coredump-filter.exp: Correctly unset
10884 "coredump_var_addr" array.
10885
10886 2015-05-08 Pedro Alves <palves@redhat.com>
10887
10888 * gdb.server/non-existing-program.exp: Unset spawn_id.
10889
10890 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10891
10892 PR python/18291
10893 * gdb.python/py-xmethods.exp: Add tests.
10894
10895 2015-05-08 Yao Qi <yao.qi@linaro.org>
10896
10897 PR gdb/18208
10898 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10899 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10900 function set_coredump_filter, and remove remote_exec call.
10901 Remove argument ipid. Callers update.
10902 (top level): Don't get inferior's PID.
10903
10904 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10905
10906 * gdb.base/watch_thread_num.exp: Skip test on targets without
10907 access watchpoints.
10908
10909 2015-05-06 Pedro Alves <palves@redhat.com>
10910
10911 PR server/18081
10912 * gdb.server/non-existing-program.exp: New file.
10913
10914 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10915
10916 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10917
10918 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.ada/out_of_line_in_inlined: New testcase.
10921
10922 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10923
10924 * gdb.ada/var_rec_arr: New testcase.
10925
10926 2015-04-30 Yao Qi <yao.qi@linaro.org>
10927
10928 * gdb.base/break-idempotent.exp: If
10929 skip_hw_watchpoint_multi_tests returns true, skip the tests
10930 on "rwatch" and "awatch".
10931
10932 2015-04-30 Yao Qi <yao.qi@linaro.org>
10933
10934 * gdb.base/relativedebug.exp: Invoke gdb command
10935 "info sharedlibrary", and if libc.so doesn't have debug info,
10936 skip the test.
10937
10938 2015-04-29 Doug Evans <dje@google.com>
10939
10940 * gdb.python/py-xmethods.exp: Add ptype tests.
10941 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10942 get_result_type method.
10943
10944 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10945
10946 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10947 the target does not support hardware watchpoints.
10948
10949 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10950
10951 * gdb.base/break-always.exp: Abort testing if writing to memory
10952 causes an error.
10953
10954 2015-04-28 Doug Evans <dje@google.com>
10955
10956 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10957 * gdb.python/py-pp-registration.exp: ... here. New file.
10958 * gdb.python/py-pp-registration.c: New file.
10959 * gdb.python/py-pp-registration.py: New file.
10960
10961 2015-04-28 Doug Evans <dje@google.com>
10962
10963 * gdb.python/py-bad-printers.c: New file.
10964 * gdb.python/py-bad-printers.py: New file.
10965 * gdb.python/py-bad-printers.exp: New file.
10966
10967 2015-04-28 Sasha Smundak <asmundak@google.com>
10968
10969 * gdb.python/py-type.exp: New test.
10970
10971 2015-04-28 Andy Wingo <wingo@igalia.com>
10972
10973 * gdb.python/py-parameter.exp:
10974 * gdb.guile/scm-parameter.exp: Escape the path that we are
10975 matching against, as it might contain characters that are special
10976 to regular expressions.
10977
10978 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10979
10980 * gdb.ada/rec_comp: New testcase.
10981
10982 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10983
10984 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10985 before using it.
10986
10987 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10988
10989 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10990 new tests for verilog output.
10991
10992 2015-04-24 Yao Qi <yao.qi@linaro.org>
10993
10994 * boards/remote-gdbserver-on-localhost.exp: New file.
10995
10996 2015-04-23 Pedro Alves <palves@redhat.com>
10997
10998 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10999 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11000 "end of file", remove $inferior_spawn_id from the indirect list.
11001
11002 2015-04-23 Pedro Alves <palves@redhat.com>
11003
11004 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11005
11006 2015-04-23 Pedro Alves <palves@redhat.com>
11007
11008 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11009 on $any_spawn_id instead of only on $gdb_spawn_id.
11010
11011 2015-04-21 Pierre Muller <muller@sourceware.org>
11012
11013 PR pascal/17815
11014 * lib/pascal.exp (gpc_compile): Add new option "class".
11015 (fpc_compile): Likewise.
11016 * gdb.pascal/case-insensitive-symbols.pas: New file.
11017 * gdb.pascal/case-insensitive-symbols.exp: New file.
11018
11019 2015-04-20 Gary Benson <gbenson@redhat.com>
11020
11021 * gdb.base/attach.exp: Fix three extended remote failures.
11022
11023 2015-04-17 Gary Benson <gbenson@redhat.com>
11024
11025 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11026 the main executable over the remote protocol.
11027
11028 2015-04-16 Pedro Alves <palves@redhat.com>
11029
11030 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11031 a new gdbserver if gdbserver_reconnect_p is set.
11032
11033 2015-04-16 Pedro Alves <palves@redhat.com>
11034
11035 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11036 is set, don't exit gdbserver.
11037
11038 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11039
11040 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11041 appropriate .insn, such that an older assembler can be used.
11042 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11043 the z/Architecture instruction set on 31-bit targets as well.
11044
11045 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11046
11047 * gdb.go/handcall.exp: Remove all logic related to the first
11048 breakpoint and rely on go_runto_main instead.
11049 * gdb.go/strings.exp: Likewise.
11050 * gdb.go/unsafe.exp: Likewise.
11051 * gdb.go/hello.exp: Likewise. Also rename the remaining
11052 breakpoint marker to "breakpoint 1".
11053 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11054 * gdb.go/strings.go: Likewise.
11055 * gdb.go/unsafe.go: Likewise.
11056 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11057 "set breakpoint 2 here" and rename the remaining breakpoint marker
11058 to "breakpoint 1".
11059
11060 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11061
11062 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11063 if itertools.imap is not present.
11064 * gdb.python/py-objfile.exp: Add parentheses.
11065 * gdb.python/py-type.exp: Same.
11066 * gdb.python/py-unwind-maint.py: Same.
11067
11068 2015-04-15 Yao Qi <yao.qi@linaro.org>
11069
11070 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11071 of ":$ptr_size" and set its form explicitly.
11072
11073 2015-04-15 Pedro Alves <palves@redhat.com>
11074 Yao Qi <yao.qi@linaro.org>
11075
11076 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11077 timeout by factor of 4.
11078 (test_regular_watch): Likewise.
11079 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11080 * gdb.reverse/sigall-reverse.exp: Likewise.
11081 * gdb.reverse/until-precsave.exp: Likewise.
11082 * lib/gdb.exp (with_timeout_factor): New proc.
11083 (gdb_expect): Move some code to ...
11084 (get_largest_timeout): ... here. New procedure.
11085
11086 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11087
11088 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11089
11090 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11091
11092 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11093 to write to the .text section.
11094
11095 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11096
11097 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11098 Handle the case of targets that do not provide PID information.
11099
11100 2015-04-13 Yao Qi <yao.qi@linaro.org>
11101
11102 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11103 and use expect instead of gdb_expect.
11104
11105 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11106
11107 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11108 "coredump_var_addr" to avoid naming conflict with other testcases.
11109
11110 2015-04-10 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11113 gdb_test_sequence and gdb_assert.
11114
11115 2015-04-10 Pedro Alves <palves@redhat.com>
11116
11117 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11118 test messages that don't include the breakpoint address.
11119
11120 2015-04-10 Yao Qi <yao.qi@linaro.org>
11121
11122 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11123 false for some offset and width combinations which aren't
11124 supported by linux kernel.
11125
11126 2015-04-10 Pedro Alves <palves@redhat.com>
11127
11128 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11129 procedure, factored out from ...
11130 (top level): ... here. Add "set displaced-stepping" testing axis.
11131 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11132 parameter "displaced". Use it.
11133 (top level): Use foreach and add "set displaced-stepping" testing
11134 axis.
11135
11136 2015-04-10 Pedro Alves <palves@redhat.com>
11137
11138 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11139 Remove comment.
11140 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11141 both the address of the instruction that triggers the watchpoint
11142 and the address of the instruction immediately after, and use
11143 those addresses for the test. Fix comment.
11144
11145 2015-04-10 Pedro Alves <palves@redhat.com>
11146
11147 * gdb.base/sigstep.exp (breakpoint_to_handler)
11148 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11149 Test "backtrace" in handler.
11150 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11151 (top level): Add new "displaced" test axis to
11152 breakpoint_to_handler, breakpoint_to_handler_entry and
11153 breakpoint_over_handler.
11154
11155 2015-04-10 Pedro Alves <palves@redhat.com>
11156
11157 PR gdb/18216
11158 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11159
11160 2015-04-10 Yao Qi <yao.qi@linaro.org>
11161
11162 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11163 (test_add_rn_pc): New function.
11164 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11165 (top level): Invoke test_add_rn_pc.
11166
11167 2015-04-10 Pedro Alves <palves@redhat.com>
11168
11169 PR gdb/13858
11170 * gdb.base/step-over-no-symbols.exp: New file.
11171
11172 2015-04-09 Andy Wingo <wingo@igalia.com>
11173
11174 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11175 after the Python tests.
11176
11177 2015-04-08 Keith Seitz <keiths@redhat.com>
11178
11179 PR python/16699
11180 * gdb.python/py-completion.exp: New tests for completion.
11181 * gdb.python/py-completion.py (CompleteLimit1): New class.
11182 (CompleteLimit2): Likewise.
11183 (CompleteLimit3): Likewise.
11184 (CompleteLimit4): Likewise.
11185 (CompleteLimit5): Likewise.
11186 (CompleteLimit6): Likewise.
11187 (CompleteLimit7): Likewise.
11188
11189 2015-04-08 Pedro Alves <palves@redhat.com>
11190
11191 PR gdb/18214
11192 PR gdb/18216
11193 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11194 function.
11195 (main): Install it as SIGUSR1 handler.
11196 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11197 parameter. Always use "setup" as prefix. Toggle "set
11198 displaced-stepping" off/on depending on global. Don't switch to
11199 thread 1 here.
11200 (top level): Add displaced stepping "off/on" test axis. Update
11201 "setup" calls. Wrap each subtest with with_test_prefix. Test
11202 continuing with a queued signal in each thread.
11203
11204 2015-04-08 Pedro Alves <palves@redhat.com>
11205
11206 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11207 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11208 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11209 Return early if running to main fails.
11210 * gdb.trace/while-stepping.exp: Likewise.
11211
11212 2015-04-07 Pedro Alves <palves@redhat.com>
11213
11214 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11215 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11216 interact with inferior program.
11217
11218 2015-04-07 Pedro Alves <palves@redhat.com>
11219
11220 * lib/gdb.exp (inferior_spawn_id): New global.
11221 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11222 spawn id after processing the user code.
11223 (default_gdb_start): Set inferior_spawn_id.
11224 (send_inferior): New procedure.
11225 * lib/gdbserver-support.exp (gdbserver_start): Set
11226 inferior_spawn_id.
11227 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11228
11229 2015-04-07 Pedro Alves <palves@redhat.com>
11230
11231 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11232 * lib/gdbserver-support.exp (gdbserver_start): Make
11233 $server_spawn_id global.
11234 (gdbserver_start): Don't wait for gdbserver's spawn id with
11235 expect_background.
11236 (close_gdbserver): New procedure.
11237 (gdb_exit): Rename the default version and reimplement.
11238
11239 2015-04-07 Pedro Alves <palves@redhat.com>
11240
11241 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11242 append the substituted item, not the original item.
11243
11244 2015-04-07 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11247 gdb_expect.
11248
11249 2015-04-07 Pedro Alves <palves@redhat.com>
11250
11251 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11252 output appearing once only.
11253
11254 2015-04-07 Pedro Alves <palves@redhat.com>
11255
11256 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11257 that doesn't expect anything. Return early if running to main
11258 fails.
11259
11260 2015-04-07 Yao Qi <yao.qi@linaro.org>
11261
11262 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11263 (child_function): Call alarm.
11264 (main): Move call to alarm into the loop.
11265 * gdb.threads/non-stop-fair-events.exp: Build program with
11266 -DTIMEOUT=$timeout.
11267
11268 2015-04-06 Doug Evans <xdje42@gmail.com>
11269
11270 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11271 Fix dest parameter to board_info.
11272 (fpc_compile): Ditto.
11273 (gdb_compile_pascal): Rename dest arg to destfile.
11274
11275 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11276
11277 * gdb.ada/funcall_ref.exp: New file.
11278 * gdb.ada/funcall_ref/foo.adb: New file.
11279
11280 2015-04-02 Yao Qi <yao.qi@linaro.org>
11281
11282 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11283 is remote.
11284
11285 2015-04-02 Gary Benson <gbenson@redhat.com>
11286
11287 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11288
11289 2015-04-01 Sasha Smundak <asmundak@google.com>
11290
11291 * gdb.python/py-unwind-maint.c: New file.
11292 * gdb.python/py-unwind-maint.exp: New test.
11293 * gdb.python/py-unwind-maint.py: New file.
11294 * gdb.python/py-unwind.c: New file.
11295 * gdb.python/py-unwind.exp: New test.
11296 * gdb.python/py-unwind.py: New test.
11297
11298 2015-04-01 Pedro Alves <palves@redhat.com>
11299
11300 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11301 to fail instead of non-existent $test.
11302
11303 2015-04-01 Pedro Alves <palves@redhat.com>
11304
11305 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11306 GDBFLAGS if not empty.
11307
11308 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11309
11310 * gdb.ada/complete.exp: Remove "multi_line".
11311 * gdb.ada/info_exc.exp: Remove "multi_line".
11312 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11313 * gdb.ada/ptype_field.exp: Remove "multi_line".
11314 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11315 * gdb.ada/tagged.exp: Remove "multi_line".
11316 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11317 [multi_line ...]
11318 * gdb.btrace/delta.exp: Likewise.
11319 * gdb.btrace/exception.exp: Likewise.
11320 * gdb.btrace/function_call_history.exp: Likewise.
11321 * gdb.btrace/instruction_history.exp: Likewise.
11322 * gdb.btrace/nohist.exp: Likewise.
11323 * gdb.btrace/record_goto.exp: Likewise.
11324 * gdb.btrace/segv.exp: Likewise.
11325 * gdb.btrace/stepi.exp: Likewise.
11326 * gdb.btrace/tailcall.exp: Likewise.
11327 * gdb.btrace/unknown_functions.exp: Likewise.
11328 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11329 * lib/gdb.exp: Add the "multi_line" helper.
11330
11331 2015-04-01 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.threads/tid-reuse.c: New file.
11334 * gdb.threads/tid-reuse.exp: New file.
11335
11336 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11337
11338 PR corefiles/16092
11339 * gdb.base/coredump-filter.c: New file.
11340 * gdb.base/coredump-filter.exp: Likewise.
11341
11342 2015-03-27 Petr Machata <pmachata@redhat.com>
11343
11344 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11345 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11346 (Dwarf::assemble): Initialize them.
11347 (Dwarf::lines): New function.
11348
11349 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11350
11351 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11352 SYMBOL_PREFIX for x86_64-*-cygwin.
11353
11354 2015-03-26 Andy Wingo <wingo@igalia.com>
11355
11356 PR symtab/18148
11357 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11358 const_value but not a location.
11359 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11360 location defined in non-main CUs are visible.
11361
11362 2015-03-26 Yao Qi <yao.qi@linaro.org>
11363
11364 PR testsuite/18139
11365 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11366 Add a line number entry for the same line.
11367 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11368 Add a line number entry for the same line.
11369
11370 2015-03-26 Yao Qi <yao.qi@linaro.org>
11371
11372 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11373 .int 0.
11374 (func): Likewise. Add .Lfunc_1 label.
11375 Use .Lfunc_1 label.
11376 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11377 .int 0.
11378 (func): Likewise.
11379 Use .Lfunc_1 label.
11380
11381 2015-03-26 Yao Qi <yao.qi@linaro.org>
11382
11383 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11384 Call gdb_compile instead to compile each .s files without debug
11385 information.
11386
11387 2015-03-26 Yao Qi <yao.qi@linaro.org>
11388
11389 * gdb.base/savedregs.exp (process_saved_regs): Make
11390 "Saved registers:" optional in the pattern.
11391
11392 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11393
11394 * gdb.btrace/next.exp: Merged into step.exp.
11395 * gdb.btrace/finish.exp: Merged into step.exp.
11396 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11397 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11398 "record goto" and checking the exact replay position.
11399 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11400 check for "Recording format" in "info record" output.
11401 * gdb.btrace/record_goto.exp: Choose test file based on target.
11402 * gdb.btrace/x86-record_goto.S: Renamed into ...
11403 * gdb.btrace/x86_64-record_goto.S: ... this.
11404 * gdb.btrace/i686-record_goto.S: New.
11405 * gdb.btrace/x86-tailcall.S: Renamed into ...
11406 * gdb.btrace/x86_64-tailcall.S: ... this.
11407 * gdb.btrace/i686-tailcall.S: New.
11408 * gdb.btrace/x86-tailcall.c: Renamed into ...
11409 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11410 separate statements. Update test.
11411 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11412 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11413 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11414 * gdb.btrace/tailcall.exp: Choose test file based on target.
11415 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11416
11417 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11418
11419 * gdb.btrace/exception.exp: Increase BTS buffer size.
11420
11421 2015-03-24 Pedro Alves <palves@redhat.com>
11422
11423 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11424
11425 2015-03-24 Pedro Alves <palves@redhat.com>
11426
11427 * gdb.threads/schedlock.exp (test_step): No longer expect that
11428 "set scheduler-locking step" with "next" over a function call runs
11429 threads unlocked.
11430
11431 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11432
11433 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11434
11435 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11436
11437 PR breakpoints/16466
11438 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11439 * gdb.mi/mi-pending.c (thread_func): New function.
11440 (int main): Add threading support required.
11441 * gdb.mi/mi-pending.exp: Add tests for this issue.
11442 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11443 (pendfunc2): Remove stdio dependency.
11444 * gdb.mi/mi-pendshr2.c: New file.
11445
11446 2015-03-23 Keith Seitz <keiths@redhat.com>
11447
11448 * gdb.linespec/keywords.c: New file.
11449 * gdb.linespec/keywords.exp: New file.
11450
11451 2015-03-23 Keith Seitz <keiths@redhat.com>
11452
11453 PR gdb/18021
11454 * gdb.dwarf2/staticvirtual.exp: New test.
11455
11456 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11457
11458 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11459 * README: Remove HP-UX and gdb.hp.
11460 (configuration):
11461 * configure: Regenerate.
11462 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11463 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11464 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11465 gdb.hp/gdb.defects/Makefile.
11466 * gdb.hp/Makefile.in: File deleted.
11467 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11468 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11469 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11470 * gdb.hp/gdb.aCC/run.c: File deleted.
11471 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11472 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11473 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11474 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11475 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11476 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11477 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11478 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11479 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11480 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11481 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11482 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11483 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11484 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11485 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11486 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11487 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11488 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11489 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11490 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11491 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11492 * gdb.hp/gdb.compat/average.c: File deleted.
11493 * gdb.hp/gdb.compat/sum.c: File deleted.
11494 * gdb.hp/gdb.compat/xdb.c: File deleted.
11495 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11496 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11497 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11498 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11499 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11500 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11501 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11502 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11503 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11504 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11505 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11506 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11507 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11508 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11509 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11510 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11511 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11512 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11513 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11514 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11515 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11516 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11517 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11518 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11519 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11520 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11521 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11522 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11523 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11524 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11525 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11526 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11527 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11528 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11529 * gdb.hp/tools/odump: File deleted.
11530
11531 2015-03-19 Pedro Alves <palves@redhat.com>
11532
11533 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11534 (saw_thread_3): New globals.
11535 (top level): Increment them when an event for the corresponding
11536 thread is seen.
11537 (no thread starvation): New test.
11538
11539 2015-03-19 Pedro Alves <palves@redhat.com>
11540
11541 * gdb.threads/continue-pending-status.c: New file.
11542 * gdb.threads/continue-pending-status.exp: New file.
11543
11544 2015-03-18 Pedro Alves <palves@redhat.com>
11545
11546 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11547 Use gdb_is_target_remote instead of is_remote. Use
11548 gdb_test_multiple instead of gdb_expect. Exit early if
11549 gdb_test_multiple hits its internal matches. Tighten stepi tests
11550 expected output. Fail on exit with any signal, instead of just
11551 SIGILL.
11552
11553 2015-03-18 Yao Qi <yao.qi@linaro.org>
11554
11555 PR tdep/18107
11556 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11557 variable.
11558 * gdb.base/catch-syscall.exp: Don't skip it on
11559 aarch64*-*-linux* target. Remove elements in all_syscalls.
11560 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11561 target.
11562 (setup_all_syscalls): New proc.
11563
11564 2015-03-16 Yao Qi <yao.qi@linaro.org>
11565
11566 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11567 (top level): Skip tests if valid_addr_p returns false for
11568 $cmd1 or $cmd2.
11569
11570 2015-03-11 Andy Wingo <wingo@igalia.com>
11571
11572 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11573
11574 2015-03-11 Yao Qi <yao.qi@linaro.org>
11575
11576 * gdb.base/catch-syscall.exp: Fix typo in comments.
11577
11578 2015-03-11 Yao Qi <yao.qi@linaro.org>
11579
11580 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11581
11582 2015-03-09 Pedro Alves <palves@redhat.com>
11583
11584 * dg-extract-results.py: Delete.
11585
11586 2015-03-09 Pedro Alves <palves@redhat.com>
11587
11588 Merge dg-extract-results.sh from GCC upstream (r218843).
11589
11590 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11591 * dg-extract-results.sh: Use --text with grep to avoid issues with
11592 binary files. Fall back to cat -v, if that doesn't work.
11593
11594 2015-03-05 Pedro Alves <palves@redhat.com>
11595
11596 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11597
11598 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11599
11600 * lib/mi-support.exp (mi_expect_interrupt): Accept
11601 alternative event for when in all-stop mode.
11602
11603 2015-03-04 Pedro Alves <palves@redhat.com>
11604
11605 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11606
11607 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11608
11609 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11610
11611 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11612
11613 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11614 regexps for GDB's current line display, accept a hex address
11615 preceding the line number.
11616
11617 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11618
11619 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11620 the 'arch1' variable for "s390*-linux*" targets.
11621
11622 2015-03-04 Pedro Alves <palves@redhat.com>
11623
11624 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11625 (main): Pass missing retval argument to pthread_join call.
11626
11627 2015-03-02 Pedro Alves <palves@redhat.com>
11628
11629 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11630 (top level): Call do_test with non-stop as well.
11631
11632 2015-03-02 Pedro Alves <palves@redhat.com>
11633
11634 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11635 -1.
11636
11637 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11638
11639 * gdb.arch/s390-vregs.exp: New test.
11640 * gdb.arch/s390-vregs.S: New file.
11641
11642 2015-02-27 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11645 call to catch_command_errors.
11646 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11647 catch_command_errors.
11648
11649 2015-02-27 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11652 "true" for boolean result.
11653 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11654 prototype of main.
11655
11656 2015-02-27 Pedro Alves <palves@redhat.com>
11657
11658 * lib/unbuffer_output.c: New file.
11659 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11660 (main): Call gdb_unbuffer_output.
11661
11662 2015-02-27 Yao Qi <yao.qi@linaro.org>
11663
11664 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11665 target.
11666
11667 2015-02-26 Doug Evans <dje@google.com>
11668
11669 * gdb.cp/class2.cc (Dbase, D): New classes.
11670 (main): New local delta.
11671 * gdb.cp/class2.exp: Test printing delta.
11672 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11673 (dynbar): New global.
11674 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11675
11676 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11677
11678 * gdb.compile/compile-ifunc.c: New file.
11679 * gdb.compile/compile-ifunc.exp: New file.
11680
11681 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11682
11683 * gdb.base/structs.exp: Check for correct struct on finish.
11684
11685 2015-02-26 Yao Qi <yao.qi@linaro.org>
11686
11687 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11688 is zero.
11689
11690 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11691
11692 * gdb.arch/cordic.ko.bz2: New file.
11693 * gdb.arch/cordic.ko.debug.bz2: New file.
11694 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11695
11696 2015-02-25 Yao Qi <yao.qi@linaro.org>
11697
11698 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11699 aarch64*-*-* target.
11700
11701 2015-02-23 Pedro Alves <palves@redhat.com>
11702
11703 * lib/gdb.exp (delete_breakpoints): Rewrite using
11704 gdb_test_multiple.
11705
11706 2015-02-23 Pedro Alves <palves@redhat.com>
11707
11708 * gdb.base/info-os.c: Include stdlib.h.
11709
11710 2015-02-22 Doug Evans <xdje42@gmail.com>
11711
11712 PR symtab/17855
11713 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11714 is read after symbols have been re-read.
11715 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11716 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11717
11718 2015-02-21 Doug Evans <dje@google.com>
11719
11720 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11721
11722 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11723
11724 PR corefiles/17808
11725 * gdb.arch/i386-biarch-core.core.bz2: New file.
11726 * gdb.arch/i386-biarch-core.exp: New file.
11727
11728 2015-02-21 Pedro Alves <palves@redhat.com>
11729
11730 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11731 runto_main fails.
11732
11733 2015-02-20 Pedro Alves <palves@redhat.com>
11734
11735 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11736 info probes.
11737
11738 2015-02-20 Pedro Alves <palves@redhat.com>
11739
11740 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11741
11742 2015-02-20 Pedro Alves <palves@redhat.com>
11743
11744 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11745 clean_restart before gdb_target_supports_trace.
11746
11747 2015-02-20 Pedro Alves <palves@redhat.com>
11748
11749 PR threads/18006
11750 * gdb.threads/clone-thread_db.c: New file.
11751 * gdb.threads/clone-thread_db.exp: New file.
11752
11753 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11754
11755 PR breakpoints/16812
11756 * gdb.base/catch-gdb-caused-signals.c: New file.
11757 * gdb.base/catch-gdb-caused-signals.exp: New file.
11758
11759 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11760
11761 * configure: Regenerated.
11762 * configure.ac: Use GDB_AC_TRANSFORM.
11763 * aclocal.m4: sinclude ../transform.m4.
11764
11765 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11766
11767 * lib/dtrace.exp: New file.
11768 * gdb.base/dtrace-probe.exp: Likewise.
11769 * gdb.base/dtrace-probe.d: Likewise.
11770 * gdb.base/dtrace-probe.c: Likewise.
11771 * lib/pdtrace.in: Likewise.
11772 * configure.ac: Output variables with the transformed names of
11773 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11774 * configure: Regenerated.
11775
11776 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11777
11778 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11779 expected message when trying to access $_probe_* convenience
11780 variables while not on a probe.
11781
11782 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11783
11784 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11785
11786 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11787
11788 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11789 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11790
11791 2015-02-10 Doug Evans <xdje42@gmail.com>
11792
11793 * lib/gdb.exp (gdb_load): Always return a result.
11794
11795 2015-02-10 Pedro Alves <palves@redhat.com>
11796
11797 * gdb.threads/signal-sigtrap.c: New file.
11798 * gdb.threads/signal-sigtrap.exp: New file.
11799
11800 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11801
11802 * gdb.trace/no-attach-trace.c: New file.
11803 * gdb.trace/no-attach-trace.exp: New file.
11804
11805 2015-02-09 Mark Wielaard <mjw@redhat.com>
11806
11807 * gdb.dwarf2/atomic.c: New file.
11808 * gdb.dwarf2/atomic-type.exp: Likewise.
11809
11810 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11811
11812 * gdb.btrace/buffer-size.exp: Update "info record" output.
11813 * gdb.btrace/delta.exp: Update "info record" output.
11814 * gdb.btrace/enable.exp: Update "info record" output.
11815 * gdb.btrace/finish.exp: Update "info record" output.
11816 * gdb.btrace/instruction_history.exp: Update "info record" output.
11817 * gdb.btrace/next.exp: Update "info record" output.
11818 * gdb.btrace/nexti.exp: Update "info record" output.
11819 * gdb.btrace/step.exp: Update "info record" output.
11820 * gdb.btrace/stepi.exp: Update "info record" output.
11821 * gdb.btrace/nohist.exp: Update "info record" output.
11822
11823 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11824
11825 * gdb.btrace/buffer-size: New.
11826
11827 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11828
11829 * gdb.btrace/delta.exp: Update "info record" output.
11830 * gdb.btrace/enable.exp: Update "info record" output.
11831 * gdb.btrace/finish.exp: Update "info record" output.
11832 * gdb.btrace/instruction_history.exp: Update "info record" output.
11833 * gdb.btrace/next.exp: Update "info record" output.
11834 * gdb.btrace/nexti.exp: Update "info record" output.
11835 * gdb.btrace/step.exp: Update "info record" output.
11836 * gdb.btrace/stepi.exp: Update "info record" output.
11837 * gdb.btrace/nohist.exp: Update "info record" output.
11838
11839 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11840
11841 PR gdb/15678
11842 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11843
11844 2015-02-06 Pedro Alves <palves@redhat.com>
11845
11846 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11847 macro.
11848 (seconds_left, again): New globals.
11849 (main): Wait seconds_left in a 1-second sleep loop instead of
11850 sleeping 180 seconds. If 'again' is set, reset the seconds
11851 counter.
11852 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11853 'again' in the inferior before detaching. Print the seconds left.
11854 (options): New global.
11855 (top level): Build program with -DTIMEOUT=$timeout.
11856
11857 2015-02-06 Pedro Alves <palves@redhat.com>
11858
11859 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11860 determine how many seconds to pass to 'alarm'.
11861 * gdb.base/gdb-sigterm.exp (top level): Build program with
11862 -DTIMEOUT=$timeout.
11863 (do_test): Return success/failure indication. Add more verbose
11864 logging. Don't fail if 200 single steps are seen. Instead, fail
11865 when the test times out.
11866 (passes): New global.
11867 (top level): Break the testing loop if testing fails on any
11868 iteration. Use gdb_assert.
11869
11870 2015-02-04 Don Breazeal <donb@codesourcery.com>
11871
11872 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11873 and initialize them.
11874 (ipc_cleanup): New function.
11875 (main): Don't declare shmid, semid, and msqid. Add a call to
11876 atexit so that we call ipc_cleanup on exit.
11877
11878 2015-02-04 Pedro Alves <palves@redhat.com>
11879
11880 * boards/native-extended-gdbserver.exp: Remove any target variant
11881 specifications from the board name before clearing the isremote
11882 flag from board_info.
11883
11884 2015-01-31 Doug Evans <xdje42@gmail.com>
11885
11886 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11887
11888 2015-01-31 Gary Benson <gbenson@redhat.com>
11889
11890 * gdb.base/completion.exp: Disable completion limiting for
11891 existing tests. Add new tests to check completion limiting.
11892 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11893
11894 2015-01-31 Doug Evans <xdje42@gmail.com>
11895
11896 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11897
11898 2015-01-31 Doug Evans <xdje42@gmail.com>
11899
11900 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11901 entries. Duplicate file section script entries.
11902 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11903 inlined entries. Add test for safe-path rejection.
11904 * gdb.python/py-section-script.c: Add duplicate inlined section script
11905 entries. Duplicate file section script entries.
11906 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11907 inlined entries. Add test for safe-path rejection.
11908
11909 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11910
11911 * gdb.ada/disc_arr_bound: New testcase.
11912
11913 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11914
11915 * gdb.ada/mi_var_array: New testcase.
11916
11917 2015-01-27 Doug Evans <dje@google.com>
11918
11919 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11920 Add test for objfile.filename, objfile.username after objfile
11921 has been unloaded.
11922
11923 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11924
11925 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11926 the second test to print the name attribute of value
11927 returned by the call to gdb.lookup_type, and adjust
11928 the expected output accordingly.
11929
11930 2015-01-25 Mark Wielaard <mjw@redhat.com>
11931
11932 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11933 * gdb.base/disp-step-fork.c: Include unistd.h.
11934 * gdb.base/siginfo-obj.c: Include stdio.h.
11935 * gdb.base/siginfo-thread.c: Likewise.
11936 * gdb.mi/non-stop.c: Include unistd.h.
11937 * gdb.mi/nsthrexec.c: Include stdio.h.
11938 * gdb.mi/pthreads.c: Include unistd.h.
11939 * gdb.modula2/unbounded1.c (main): Declare returns int.
11940 * gdb.reverse/consecutive-reverse.c: Likewise.
11941 * gdb.threads/create-fail.c: Include unistd.h.
11942 * gdb.threads/killed.c: Likewise.
11943 * gdb.threads/linux-dp.c: Likewise.
11944 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11945 * gdb.threads/non-ldr-exc-2.c: Likewise.
11946 * gdb.threads/non-ldr-exc-3.c: Likewise.
11947 * gdb.threads/non-ldr-exc-4.c: Likewise.
11948 * gdb.threads/pthreads.c: Include unistd.h.
11949 (main): Declare returns int.
11950 * gdb.threads/tls-main.c (foo): New declaration.
11951 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11952
11953 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11954
11955 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11956 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11957
11958 2015-01-15 Mark Wielaard <mjw@redhat.com>
11959
11960 * gdb.base/noreturn-return.c: New file.
11961 * gdb.base/noreturn-return.exp: New file.
11962 * gdb.base/noreturn-finish.c: New file.
11963 * gdb.base/noreturn-finish.exp: New file.
11964
11965 2015-01-23 Pedro Alves <palves@redhat.com>
11966
11967 * gdb.threads/continue-pending-after-query.c: New file.
11968 * gdb.threads/continue-pending-after-query.exp: New file.
11969
11970 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11971 Simon Marchi <simon.marchi@ericsson.com>
11972
11973 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11974 * gdb.base/valgrind-db-attach.exp: Same.
11975 * gdb.base/valgrind-infcall.exp: Same.
11976 * lib/mi-support.exp (default_mi_gdb_start): Same.
11977 * lib/prompt.exp (default_prompt_gdb_start): Same.
11978 * lib/gdb.exp (default_gdb_spawn): Same.
11979 (gdb_interact): New.
11980
11981
11982 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11983
11984 * gdb.compile/compile.exp (pointer to jit function): New test.
11985
11986 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11987
11988 * lib/gdb.exp (supports_process_record): Return true for
11989 powerpc*-*-linux*.
11990 (supports_reverse): Likewise.
11991
11992 2015-01-15 Don Breazeal <donb@codesourcery.com>
11993
11994 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11995 instead of checking whether the target board is remote and
11996 use spawn_wait_for_attach instead of exec/sleep.
11997 * gdb.base/attach-twice.exp: Likewise.
11998
11999 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12000
12001 * gdb.ada/var_arr_attrs: New testcase.
12002
12003 2015-01-14 Pedro Alves <palves@redhat.com>
12004 Joel Brobecker <brobecker@adacore.com>
12005
12006 PR gdb/17525
12007 * gdb.base/bp-cmds-execution-x-script.c: New file.
12008 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12009 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12010
12011 2015-01-14 Pedro Alves <palves@redhat.com>
12012
12013 PR cli/17828
12014 * gdb.base/batch-preserve-term-settings.c: New file.
12015 * gdb.base/batch-preserve-term-settings.exp: New file.
12016
12017 2015-01-13 Doug Evans <dje@google.com>
12018
12019 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12020 binary.
12021
12022 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12023
12024 * Makefile.in (clean mostlyclean): Do not delete *.py.
12025
12026 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12027
12028 * gdb.python/py-lookup-type.exp: New file.
12029
12030 2015-01-12 Pedro Alves <palves@redhat.com>
12031
12032 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12033 restore GDBFLAGS before returning.
12034
12035 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12036
12037 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12038 is_amd64_regs_target and is_x86_like_target.
12039
12040 2015-01-11 Doug Evans <xdje42@gmail.com>
12041
12042 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12043 is given without an explicit form.
12044 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12045 attributes.
12046 * gdb.dwarf/corrupt.exp: Ditto.
12047 * gdb.dwarf2/enum-type.exp: Ditto.
12048 * gdb.trace/entry-values.exp: Ditto.
12049 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12050
12051 2015-01-11 Doug Evans <xdje42@gmail.com>
12052
12053 PR gdb/15830
12054 * gdb.base/maint.exp: Remove references to "maint demangle".
12055 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12056 Add tests for explicitly specifying language to demangle.
12057 * gdb.dlang/demangle.exp: Ditto.
12058
12059 2015-01-09 Pedro Alves <palves@redhat.com>
12060
12061 * gdb.threads/non-stop-fair-events.c: New file.
12062 * gdb.threads/non-stop-fair-events.exp: New file.
12063
12064 2015-01-09 Pedro Alves <palves@redhat.com>
12065
12066 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12067 the global scope. Set a breakpoint after all threads are started
12068 rather than stepping over two source lines. Expect the prompt.
12069 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12070 global.
12071 (NUM): Now 15.
12072 (main): Use threads_started_barrier to wait for all threads to
12073 start. Main thread no longer calls thread_function. Exit after
12074 180 seconds.
12075 (loop): New function.
12076 (thread_function): Wait on threads_started_barrier barrier. Call
12077 'loop' at each iteration.
12078 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12079 threads have started, instead of hardcoding number of "next"
12080 steps. Use an access watchpoint instead of a write watchpoint.
12081
12082 2015-01-09 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12085 (thread_func): Wait on barrier.
12086 (main): Wait for all threads to start before stopping GDB.
12087 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12088 global.
12089 (thread1_func, thread2_func): Wait on barrier.
12090 (main): Wait for all threads to start before stopping GDB.
12091 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12092 New global.
12093 (thread1_func, thread2_func): Wait on barrier.
12094 (main): Wait for all threads to start before stopping GDB.
12095
12096 2015-01-09 Pedro Alves <palves@redhat.com>
12097
12098 * gdb.threads/attach-many-short-lived-threads.c: New file.
12099 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12100
12101 2014-01-09 Pedro Alves <palves@redhat.com>
12102
12103 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12104 instead of to thread 2.
12105 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12106 Add barrier around each pthread_create call instead of around all
12107 calls.
12108 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12109 Set a break on thread_function and have the child threads hit it
12110 one at at a time.
12111
12112 2015-01-09 Pedro Alves <palves@redhat.com>
12113
12114 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12115 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12116 false.
12117 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12118 checking whether the target board is remote.
12119 * gdb.multi/multi-attach.exp: Likewise.
12120 * gdb.python/py-sync-interp.exp: Likewise.
12121 * gdb.server/ext-attach.exp: Likewise.
12122 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12123 tests that need to attach, instead of checking whether the target
12124 board is remote at the top of the file.
12125
12126 2015-01-08 Yao Qi <yao@codesourcery.com>
12127
12128 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12129
12130 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12131
12132 Fix testcase compilation.
12133 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12134
12135 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12136
12137 * gdb.python/py-type.exp: Add a couple test about empty
12138 array creation, and negative-length array creation.
12139
12140 2015-01-02 Doug Evans <xdje42@gmail.com>
12141
12142 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12143
12144 2015-01-02 Doug Evans <dje@google.com>
12145
12146 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12147
12148 2014-12-29 Yao Qi <yao@codesourcery.com>
12149
12150 * gdb.trace/entry-values.exp: Update comments. Rename variable
12151 bar_call_foo to returned_from_foo.
12152
12153 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12154
12155 PR gdb/17394
12156 * gdb.linespec/break-asm-file.c: New file.
12157 * gdb.linespec/break-asm-file.exp: New file.
12158 * gdb.linespec/break-asm-file0.s: New file.
12159 * gdb.linespec/break-asm-file1.s: New file.
12160
12161 2014-12-18 Nigel Stephens <nigel@mips.com>
12162 Maciej W. Rozycki <macro@codesourcery.com>
12163
12164 * gdb.base/float.exp: Handle the new output from "info float" on
12165 MIPS targets.
12166
12167 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12168
12169 Fix MinGW compilation.
12170 * gdb.compile/compile-ops.exp: Update untested message if
12171 !skip_compile_feature_tests.
12172 * gdb.compile/compile-setjmp.exp: Likewise.
12173 * gdb.compile/compile-tls.exp: Likewise.
12174 * gdb.compile/compile.exp: Likewise.
12175 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12176 supported on this host".
12177
12178 2014-12-16 Doug Evans <xdje42@gmail.com>
12179
12180 * boards/stabs.exp: New file.
12181
12182 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12183
12184 * gdb.base/completion.exp: Adjust to format changes of "maint
12185 print user-registers".
12186
12187 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12188
12189 PR server/17457
12190 * gdb.arch/aarch64-fp.c: New file.
12191 * gdb.arch/aarch64-fp.exp: New file.
12192
12193 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12194
12195 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12196 r210637, r210913, r211666, r215400, r215817).
12197
12198 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12199 * dg-extract-results.py: New file.
12200 * dg-extract-results.sh: Use it if the environment seems
12201 suitable.
12202
12203 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12204
12205 * dg-extract-results.py (parse_run): Handle warnings that
12206 are printed before a test harness is run.
12207
12208 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12209
12210 * dg-extract-results.py (Named): Remove __cmp__ method.
12211 (output_variation): Use a key to sort variation.harnesses.
12212
12213 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12214
12215 * dg-extract-results.py: For Python 3, force sys.stdout to
12216 handle surrogate escape sequences.
12217 (safe_open): New function.
12218 (output_segment, main): Use it.
12219
12220 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12221
12222 * dg-extract-results.py (Prog.result_re): Include options
12223 in test name.
12224
12225 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12226
12227 * dg-extract-results.py (output_variation): Always sort if
12228 do_sum.
12229
12230 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12231
12232 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12233 as long as we get pagination notifications.
12234
12235 2014-12-15 Jason Merrill <jason@redhat.com>
12236
12237 * Makefile.in (check-gdb.%): Restore.
12238 * README: Mention it.
12239
12240 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12241
12242 * gdb.ada/str_uninit: New testcase.
12243
12244 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12245
12246 PR symtab/17642
12247 * gdb.base/vla-stub-define.c: New file.
12248 * gdb.base/vla-stub.c: New file.
12249 * gdb.base/vla-stub.exp: New file.
12250
12251 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12252 Jan Kratochvil <jan.kratochvil@redhat.com>
12253 Tom Tromey <tromey@redhat.com>
12254
12255 * configure.ac: Add gdb.compile/.
12256 * configure: Regenerate.
12257 * gdb.compile/Makefile.in: New file.
12258 * gdb.compile/compile-ops.exp: New file.
12259 * gdb.compile/compile-ops.c: New file.
12260 * gdb.compile/compile-tls.c: New file.
12261 * gdb.compile/compile-tls.exp: New file.
12262 * gdb.compile/compile-constvar.S: New file.
12263 * gdb.compile/compile-constvar.c: New file.
12264 * gdb.compile/compile-mod.c: New file.
12265 * gdb.compile/compile-nodebug.c: New file.
12266 * gdb.compile/compile-setjmp-mod.c: New file.
12267 * gdb.compile/compile-setjmp.c: New file.
12268 * gdb.compile/compile-setjmp.exp: New file.
12269 * gdb.compile/compile-shlib.c: New file.
12270 * gdb.compile/compile.c: New file.
12271 * gdb.compile/compile.exp: New file.
12272 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12273
12274 2014-12-12 Tom Tromey <tromey@redhat.com>
12275
12276 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12277 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12278
12279 2014-12-12 Doug Evans <dje@google.com>
12280
12281 * lib/gdb-python.exp (get_python_valueof): New function.
12282 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12283
12284 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12285
12286 * gdb.base/completion.exp: Add test for completion of "info
12287 registers ".
12288
12289 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12290
12291 * gdb.base/func-ptrs.c: New file.
12292 * gdb.base/func-ptrs.exp: New file.
12293
12294 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12295
12296 PR breakpoints/17012
12297 * gdb.base/dprintf-detach.c: New file.
12298 * gdb.base/dprintf-detach.exp: New file.
12299
12300 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12301
12302 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12303 * lib/gdb.exp (target_is_gdbserver): New procedure.
12304
12305 2014-12-08 Doug Evans <dje@google.com>
12306
12307 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12308
12309 2014-12-05 Yao Qi <yao@codesourcery.com>
12310
12311 * gdb.guile/scm-error.exp: Remove the third argument to
12312 gdb_remote_download.
12313 * gdb.guile/scm-frame-args.exp: Likewise.
12314 * gdb.guile/scm-section-script.exp: Likewise.
12315
12316 2014-12-05 Yao Qi <yao@codesourcery.com>
12317
12318 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12319
12320 2014-12-04 Doug Evans <dje@google.com>
12321
12322 * gdb.python/py-objfile.exp: Add tests for
12323 objfile.add_separate_debug_file.
12324
12325 2014-12-04 Doug Evans <dje@google.com>
12326
12327 * lib/gdb.exp (get_build_id): New function.
12328 (build_id_debug_filename_get): Rewrite to use it.
12329 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12330
12331 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12332
12333 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12334 `method(long)', not just 0x0.
12335 * gdb.cp/nsalias.exp: Align code labels to 4.
12336 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12337 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12338 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12339 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12340 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12341 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12342
12343 2014-12-02 Doug Evans <dje@google.com>
12344
12345 PR symtab/17602
12346 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12347 * gdb.cp/anon-ns2.cc: ... here. New file.
12348 * gdb.cp/anon-ns.exp: Update.
12349
12350 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12351
12352 * gdb.python/py-events.py (inferior_call_handler): New.
12353 (register_changed_handler, memory_changed_handler): New.
12354 (test_events.invoke): Register new handlers.
12355 * gdb.python/py-events.exp: Add tests for inferior call,
12356 memory_changed and register_changed events.
12357
12358 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12359
12360 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12361 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12362 if the linker doesn't understand this.
12363
12364 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12365
12366 * gdb.python/python.exp: Change expected reply to help().
12367
12368 2014-12-01 Yao Qi <yao@codesourcery.com>
12369
12370 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12371 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12372 * configure: Re-generated.
12373
12374 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12375
12376 * gdb.cp/chained-calls.cc: New file.
12377 * gdb.cp/chained-calls.exp: New file.
12378 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12379
12380 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12381
12382 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12383 * gdb.dwarf2/symtab-producer.exp: Same.
12384 * gdb.gdb/python-interrupts.exp: Same.
12385 * gdb.gdb/python-selftest.exp: Same.
12386 * gdb.python/py-linetable.exp: Same.
12387 * gdb.python/py-type.exp: Same.
12388 * gdb.python/py-value-cc.exp: Same.
12389 * gdb.python/py-value.exp: Same.
12390
12391 2014-11-28 Yao Qi <yao@codesourcery.com>
12392
12393 * gdb.base/break-probes.exp: Match library name prefixed with
12394 sysroot.
12395
12396 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12397
12398 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12399 test expected output. Add parentheses for the call to print.
12400 Remove L suffix from integers.
12401
12402 2014-11-26 Doug Evans <dje@google.com>
12403
12404 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12405
12406 2014-11-22 Yao Qi <yao@codesourcery.com>
12407
12408 * gdb.trace/entry-values.c: Remove asms.
12409 (foo): Add foo_label.
12410 (bar): Add bar_label.
12411 * gdb.trace/entry-values.exp: Remove code computing foo's
12412 length and bar's length.
12413 (Dwarf::assemble): Invoke function_range for bar and use
12414 MACRO_AT_func for foo.
12415
12416 2014-11-22 Yao Qi <yao@codesourcery.com>
12417
12418 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12419 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12420 Use .Lgcc43_procstart instead of gcc43.
12421
12422 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12423
12424 * gdb.ada/n_arr_bound: New testcase.
12425
12426 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12427
12428 PR breakpoints/10737
12429 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12430 test_catch_syscall_multi_arch.
12431 (test_catch_syscall_multi_arch): New function.
12432
12433 2014-11-20 Doug Evans <xdje42@gmail.com>
12434
12435 * gdb.base/maint.exp: Update expected output.
12436
12437 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12438
12439 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12440 4-byte instruction on S390.
12441
12442 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12443
12444 * gdb.ada/arr_arr: New testcase.
12445
12446 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12447
12448 * gdb.ada/pkd_arr_elem: New Testcase.
12449
12450 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12451
12452 * gdb.reverse/break-precsave: Expect completion message for
12453 core file reads.
12454 * gdb.reverse/consecutive-precsave.exp: Likewise.
12455 * gdb.reverse/finish-precsave.exp: Likewise.
12456 * gdb.reverse/i386-precsave.exp: Likewise.
12457 * gdb.reverse/machinestate-precsave.exp: Likewise.
12458 * gdb.reverse/sigall-precsave.exp: Likewise.
12459 * gdb.reverse/solib-precsave.exp: Likewise.
12460 * gdb.reverse/step-precsave.exp: Likewise.
12461 * gdb.reverse/until-precsave.exp: Likewise.
12462 * gdb.reverse/watch-precsave.exp: Likewise.
12463
12464 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12465
12466 * gdb.base/bp-permanent.c: Include unistd.h.
12467 * gdb.python/py-framefilter-mi.c (main): Add return type.
12468 * gdb.python/py-framefilter.c (main): Likewise.
12469 * gdb.trace/actions-changed.c (main): Likewise.
12470
12471 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12472
12473 * gdb.mi/until.c: Add eye-catchers.
12474 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12475 line numbers.
12476
12477 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12478
12479 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12480 function header variants in break1.c.
12481 * gdb.base/ena-dis-br.exp: Likewise.
12482 * gdb.base/hbreak2.exp: Likewise.
12483 * gdb.reverse/until-precsave.exp: Drop references to removed
12484 non-prototype function header variants in ur1.c.
12485 * gdb.reverse/until-reverse.exp: Likewise.
12486
12487 2014-11-17 Petr Machata <pmachata@redhat.com>
12488
12489 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12490 ${_cu_offset_size} bytes abbrev offset.
12491
12492 2014-11-15 Doug Evans <xdje42@gmail.com>
12493
12494 PR symtab/17559
12495 * gdb.base/line-symtabs.exp: New file.
12496 * gdb.base/line-symtabs.c: New file.
12497 * gdb.base/line-symtabs.h: New file.
12498
12499 2014-11-14 Yao Qi <yao@codesourcery.com>
12500
12501 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12502 (func): Add label func_label.
12503 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12504 Replace low_pc and high_pc with MACRO_AT_range.
12505 Replace name, low_pc and high_pc with MACRO_AT_func.
12506
12507 2014-11-14 Yao Qi <yao@codesourcery.com>
12508
12509 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12510 Replace name, low_pc and high_pc with MACRO_AT_func.
12511
12512 2014-11-14 Yao Qi <yao@codesourcery.com>
12513
12514 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12515 produce debug information.
12516 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12517
12518 2014-11-14 Yao Qi <yao@codesourcery.com>
12519
12520 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12521 object and get function length.
12522 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12523 with MACRO_AT_func.
12524 (top-level): Replace gdb_compile and clean_restart with
12525 prepare_for_testing.
12526 * gdb.dwarf2/main.c (main): Add label main_label.
12527
12528 2014-11-14 Yao Qi <yao@codesourcery.com>
12529
12530 * lib/dwarf.exp (function_range): New procedure.
12531 (Dwarf::_handle_macro_at_func): New procedure.
12532 (Dwarf::_handle_macro_at_range): New procedure.
12533 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12534
12535 2014-11-14 Yao Qi <yao@codesourcery.com>
12536
12537 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12538 (_handle_attribute): New procedure.
12539
12540 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12541
12542 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12543 * gdb.base/call-sc.c (zed): Likewise.
12544 * gdb.base/checkpoint.c (main): Likewise.
12545 * gdb.base/dump.c (main): Likewise.
12546 * gdb.base/gcore.c (main): Likewise.
12547 * gdb.base/huge.c (main): Likewise.
12548 * gdb.base/multi-forks.c (main): Likewise.
12549 * gdb.base/pr10179-a.c (main): Likewise.
12550 * gdb.base/savedregs.c (main): Likewise.
12551 * gdb.base/sigaltstack.c (main): Likewise.
12552 * gdb.base/siginfo.c (main): Likewise.
12553 * gdb.base/structs.c (zed): Likewise.
12554 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12555 * gdb.mi/mi-syn-frame.c (main): Likewise.
12556 * gdb.mi/until.c (foo, main): Likewise.
12557 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12558 * gdb.base/solib-weak.c (foo): Declare.
12559 * gdb.base/attach-twice.c: Include stdio.h.
12560 * gdb.base/weaklib1.c: Likewise.
12561 * gdb.base/weaklib2.c: Likewise.
12562 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12563 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12564 unistd.h.
12565 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12566 * gdb.mi/mi-exit-code.c: Likewise.
12567 * gdb.base/break-interp-lib.c: Include string.h.
12568 * gdb.base/coremaker.c: Likewise.
12569 * gdb.base/testenv.c: Likewise.
12570 * gdb.python/py-finish-breakpoint.c: Likewise.
12571 * gdb.base/inferior-died.c: Include sys/wait.h.
12572 * gdb.base/fileio.c: Include time.h.
12573 * gdb.base/async-shell.c: Include unistd.h.
12574 * gdb.base/dprintf-non-stop.c: Likewise.
12575 * gdb.base/info-os.c: Likewise.
12576 * gdb.mi/mi-console.c: Likewise.
12577 * gdb.mi/watch-nonstop.c: Likewise.
12578 * gdb.python/py-events.c: Likewise.
12579 * gdb.base/async.c (baz): Move up before its invocation.
12580 * gdb.base/code_elim2.c (my_global_func): Likewise.
12581 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12582 * gdb.base/advance.c (func2): Likewise.
12583
12584 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12585
12586 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12587 variant.
12588 * gdb.base/annota3.c: Likewise.
12589 * gdb.base/async.c: Likewise.
12590 * gdb.base/average.c: Likewise.
12591 * gdb.base/call-ar-st.c: Likewise.
12592 * gdb.base/call-rt-st.c: Likewise.
12593 * gdb.base/call-sc.c: Likewise.
12594 * gdb.base/call-strs.c: Likewise.
12595 * gdb.base/ending-run.c: Likewise.
12596 * gdb.base/execd-prog.c: Likewise.
12597 * gdb.base/exprs.c: Likewise.
12598 * gdb.base/foll-exec.c: Likewise.
12599 * gdb.base/foll-fork.c: Likewise.
12600 * gdb.base/foll-vfork.c: Likewise.
12601 * gdb.base/funcargs.c: Likewise.
12602 * gdb.base/gcore.c: Likewise.
12603 * gdb.base/jump.c: Likewise.
12604 * gdb.base/langs0.c: Likewise.
12605 * gdb.base/langs1.c: Likewise.
12606 * gdb.base/langs2.c: Likewise.
12607 * gdb.base/mips_pro.c: Likewise.
12608 * gdb.base/nodebug.c: Likewise.
12609 * gdb.base/opaque0.c: Likewise.
12610 * gdb.base/opaque1.c: Likewise.
12611 * gdb.base/recurse.c: Likewise.
12612 * gdb.base/run.c: Likewise.
12613 * gdb.base/scope0.c: Likewise.
12614 * gdb.base/scope1.c: Likewise.
12615 * gdb.base/setshow.c: Likewise.
12616 * gdb.base/setvar.c: Likewise.
12617 * gdb.base/shmain.c: Likewise.
12618 * gdb.base/shr1.c: Likewise.
12619 * gdb.base/shr2.c: Likewise.
12620 * gdb.base/sigall.c: Likewise.
12621 * gdb.base/signals.c: Likewise.
12622 * gdb.base/so-indr-cl.c: Likewise.
12623 * gdb.base/solib2.c: Likewise.
12624 * gdb.base/structs.c: Likewise.
12625 * gdb.base/sum.c: Likewise.
12626 * gdb.base/vforked-prog.c: Likewise.
12627 * gdb.base/watchpoint.c: Likewise.
12628 * gdb.reverse/shr2.c: Likewise.
12629 * gdb.reverse/until-reverse.c: Likewise.
12630 * gdb.reverse/ur1.c: Likewise.
12631 * gdb.reverse/watch-reverse.c: Likewise.
12632
12633 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12634
12635 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12636 variant.
12637 * gdb.base/sepdebug.exp: Drop references to removed code.
12638
12639 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12640
12641 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12642 variant. Preserve original line numbering.
12643 * gdb.base/list1.c: Likewise.
12644
12645 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12646
12647 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12648 variant.
12649 * gdb.base/break1.c: Likewise.
12650 * gdb.base/break.exp: Drop references to removed code.
12651
12652 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12653
12654 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12655 variant.
12656
12657 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12658
12659 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12660
12661 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12662
12663 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12664 logic into perform_all_tests() and invoke it with and without
12665 function header prototypes.
12666 (do_function_calls): Remove conditional XFAIL for PR 5318.
12667 (rerun_and_prepare): Remove duplicate code.
12668 (perform_all_tests): New. Main logic moved here.
12669
12670 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12671
12672 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12673 code guarded by #ifdef NO_PROTOTYPES.
12674 (t_double_many_args): Likewise.
12675 (DEF_FUNC_MANY_ARGS_1): Likewise.
12676 (DEF_FUNC_VALUES_1): Likewise.
12677 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12678 guarded by #ifdef PROTOTYPES.
12679
12680 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12681
12682 * gdb.mi/mi-console.c: Add eye-catcher.
12683 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12684 instead of literal line number.
12685
12686 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12687
12688 * gdb.base/shr2.c: Add eye-catcher.
12689 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12690 line number.
12691
12692 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12693
12694 * gdb.base/jump.c: Add eye-catchers.
12695 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12696 numbers.
12697
12698 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12699
12700 * gdb.base/execd-prog.c: Add eye-catchers.
12701 * gdb.base/foll-exec.c: Likewise.
12702 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12703 line numbers.
12704
12705 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12706
12707 * gdb.base/ending-run.c: Add eye-catchers.
12708 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12709 literal line numbers.
12710
12711 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12712
12713 * gdb.base/call-rt-st.c: Add eye-catchers.
12714 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12715 literal line numbers.
12716
12717 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12718
12719 * gdb.base/call-ar-st.c: Add eye-catchers.
12720 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12721 literal line numbers.
12722
12723 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12724
12725 * gdb.base/average.c: Add eye-catchers.
12726 * gdb.base/sum.c: Likewise.
12727 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12728 regexps dynamically.
12729
12730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12731
12732 * gdb.base/solib1.c: Add eye-catchers.
12733 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12734 literal line numbers.
12735
12736 2014-11-12 Pedro Alves <palves@redhat.com>
12737
12738 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12739 leader has exited.
12740
12741 2014-11-12 Pedro Alves <palves@redhat.com>
12742
12743 * gdb.arch/i386-bp_permanent.c: New file.
12744 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12745 (srcfile): Set to i386-bp_permanent.c.
12746 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12747 that stepi does not execute the 'leave' instruction, instead of
12748 testing it does execute.
12749 * gdb.base/bp-permanent.c: New file.
12750 * gdb.base/bp-permanent.exp: New file.
12751
12752 2014-11-10 Doug Evans <xdje42@gmail.com>
12753
12754 PR symtab/17564
12755 * gdb.base/symtab-search-order.exp: New file.
12756 * gdb.base/symtab-search-order.c: New file.
12757 * gdb.base/symtab-search-order-1.c: New file.
12758 * gdb.base/symtab-search-order-shlib-1.c: New file.
12759
12760 2014-11-07 Pedro Alves <palves@redhat.com>
12761
12762 PR gdb/17511
12763 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12764 i?86-*-linux*.
12765
12766 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12767
12768 PR c++/17494
12769 * gdb.cp/pr17494.cc: New file.
12770 * gdb.cp/pr17494.exp: New file.
12771
12772 2014-11-02 Yao Qi <yao@codesourcery.com>
12773
12774 * gdb.python/python.exp: Get working directory and match the
12775 output of "set extended-prompt \\w " with it.
12776
12777 2014-10-30 Doug Evans <dje@google.com>
12778
12779 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12780 in objfiles.
12781 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12782 in progspaces.
12783
12784 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12785
12786 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12787 * gdb.base/realname-expand.exp: Likewise.
12788 * gdb.linespec/macro-relative.exp: Likewise.
12789
12790 2014-10-29 Pedro Alves <palves@redhat.com>
12791
12792 PR gdb/17408
12793 * gdb.threads/schedlock.c (some_function): New function.
12794 (call_function): New global.
12795 (MAYBE_CALL_SOME_FUNCTION): New macro.
12796 (thread_function): Call it.
12797 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12798 and use it instead of a global counter. Adjust all callers.
12799 (get_current_thread): Use "find current thread" for test message
12800 here rather than having all callers pass down the same string.
12801 (goto_loop): New procedure, factored out from ...
12802 (my_continue): ... this.
12803 (step_ten_loops): Change parameter from test message to command to
12804 use. Adjust.
12805 (list_count): Delete global.
12806 (check_result): New procedure, factored out from duplicate top
12807 level code.
12808 (continue tests): Wrap in with_test_prefix.
12809 (test_step): New procedure, factored out from duplicate top level
12810 code.
12811 (top level): Test "step" in combination with all scheduler-locking
12812 modes. Test "next" in combination with all scheduler-locking
12813 modes, and in combination with stepping over a function call or
12814 not.
12815 * gdb.threads/next-bp-other-thread.c: New file.
12816 * gdb.threads/next-bp-other-thread.exp: New file.
12817
12818 2014-10-29 Pedro Alves <palves@redhat.com>
12819
12820 PR python/17372
12821 * gdb.python/python.exp: Test a multi-line command that spawns
12822 interactive Python.
12823 * gdb.base/multi-line-starts-subshell.exp: New file.
12824
12825 2014-10-29 Yao Qi <yao@codesourcery.com>
12826
12827 * gdb.base/fileio.exp: Make directories on host.
12828
12829 2014-10-29 Yao Qi <yao@codesourcery.com>
12830
12831 * gdb.base/fileio.c (test_write): Close the file.
12832
12833 2014-10-28 Pedro Alves <palves@redhat.com>
12834
12835 PR gdb/12623
12836 * gdb.base/sigstep.c (no_handler): New global.
12837 (main): If 'no_handler is true, set the signal handlers to
12838 SIG_IGN.
12839 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12840 with_sw_watch and no_handler parameters. Handle them.
12841 (top level) <stepping over handler when stopped at a breakpoint
12842 test>: Add a test axis for testing with a software watchpoint, and
12843 another for testing with the signal handler set to SIG_IGN.
12844 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12845 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12846
12847 2014-10-28 Pedro Alves <palves@redhat.com>
12848
12849 PR gdb/17511
12850 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12851 * gdb.base/sigstep.exp (other_handler_location): New global.
12852 (advance): Support stepping into the signal handler, and running
12853 commands while in the handler.
12854 (in_handler_map): New global.
12855 (top level): In the advance test, add combinations for getting
12856 into the handler with stepping commands, and for running commands
12857 in the handler. Add comment descripting the advancei tests.
12858
12859 2014-10-28 Pedro Alves <palves@redhat.com>
12860
12861 * gdb.base/sigstep.exp: Use build_executable instead of
12862 prepare_for_testing.
12863 (top level): Move code that starts GDB, runs to main and creates a
12864 display to ...
12865 (restart): ... this new procedure.
12866 (top level): Move backtrace from signal handler test to ...
12867 (validate_backtrace): ... this new procedure.
12868 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12869 with_test_prefix. Always restart GDB.
12870 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12871 with_test_prefix. Always restart GDB. No need to delete
12872 breakpoints after the test.
12873 (test_skip_handler): Remove prefix parameter.
12874 (skip_over_handler, breakpoint_to_handler)
12875 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12876 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12877 restart GDB. No need to delete breakpoints after the test.
12878 (top level): Use foreach to call the test procedures with
12879 different commands.
12880
12881 2014-10-28 Pedro Alves <palves@redhat.com>
12882
12883 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12884 instead of GNATS numbers.
12885 * gdb.base/sigbpt.exp: Likewise.
12886 * gdb.base/siginfo.exp: Likewise.
12887 * gdb.base/sigstep.exp: Likewise.
12888
12889 2014-10-27 Pedro Alves <palves@redhat.com>
12890
12891 * gdb.base/sigstep.c (dummy): New global.
12892 (main): Issue a couple writes to the new global.
12893 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12894 procedures.
12895 (skip_over_handler): Use test_skip_handler.
12896 (top level): Call skip_over_handler for stepi and nexti too.
12897 (breakpoint_over_handler): Use test_skip_handler.
12898 (top level): Call breakpoint_over_handler for stepi and nexti too.
12899
12900 2014-10-27 Yao Qi <yao@codesourcery.com>
12901
12902 * gdb.trace/tfile.c (adjust_function_address)
12903 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12904 function descriptor.
12905
12906 2014-10-24 Don Breazeal <donb@codesourcery.com>
12907
12908 * gdb.base/foll-fork.exp (test_follow_fork,
12909 catch_fork_child_follow): Check for updated fork messages emitted
12910 from infrun.c.
12911 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12912 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12913 vfork_and_exec_child_follow_through_step): Check for updated vfork
12914 messages emitted from infrun.c.
12915
12916 2014-10-24 Pedro Alves <palves@redhat.com>
12917
12918 * gdb.base/corefile.exp: Remove references to ultrix.
12919 * gdb.base/interrupt.exp: Likewise.
12920 * gdb.base/whatis.exp: Likewise.
12921 * gdb.gdb/selftest.exp: Likewise.
12922 * gdb.threads/manythreads.exp: Likewise.
12923 * gdb.threads/print-threads.exp: Likewise.
12924 * gdb.threads/pthreads.exp:: Likewise.
12925 * gdb.threads/schedlock.exp: Likewise.
12926
12927 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12928
12929 * gdb.cp/non-trivial-retval.cc: Add a test case.
12930 * gdb.cp/non-trivial-retval.exp: Add a test.
12931
12932 2014-10-20 Yao Qi <yao@codesourcery.com>
12933
12934 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12935 * gdb.python/py-objfile-script-gdb.py: New file.
12936 * gdb.python/py-objfile-script.exp: Update reference to
12937 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12938 of remote_download. Remove the dest file.
12939
12940 2014-10-20 Yao Qi <yao@codesourcery.com>
12941
12942 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12943 * gdb.base/step-line.exp: Likewise.
12944 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12945 * gdb.dwarf2/dw2-basic.exp: Likewise.
12946 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12947 * gdb.dwarf2/dw2-filename.exp: Likewise.
12948 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12949 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12950 * gdb.dwarf2/dw2-producer.exp: Likewise.
12951 * gdb.dwarf2/mac-fileno.exp: Likewise.
12952 * gdb.python/py-frame-args.exp: Likewise.
12953 * gdb.python/py-framefilter.exp: Likewise.
12954 * gdb.python/py-mi.exp: Likewise.
12955 * gdb.python/py-objfile-script.exp: Likewise
12956 * gdb.python/py-pp-integral.exp: Likewise.
12957 * gdb.python/py-pp-re-notag.exp: Likewise.
12958 * gdb.python/py-prettyprint.exp: Likewise.
12959 * gdb.python/py-section-script.exp: Likewise.
12960 * gdb.python/py-typeprint.exp: Likewise.
12961 * gdb.python/py-xmethods.exp: Likewise.
12962 * gdb.stabs/weird.exp: Likewise.
12963 * gdb.xml/tdesc-regs.exp: Likewise.
12964
12965 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12966
12967 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12968 (out_cu): Use addr_len for the size of addresses.
12969 (out_line): Likewise. Size DW_LNE_set_address instruction
12970 according to addr_len.
12971 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12972 (FUNC): Add START_INSNS to definition.
12973
12974 2014-10-18 Yao Qi <yao@codesourcery.com>
12975
12976 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12977 gdb_has_argv0 return true.
12978 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12979 check [target_info exists noargs], check [gdb_has_argv0]
12980 instead.
12981 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12982 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12983 procedures.
12984
12985 2014-10-17 Doug Evans <dje@google.com>
12986
12987 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12988 event.
12989 * gdb.python/py-events.py: Add clear_objfiles event.
12990
12991 2014-10-17 Doug Evans <dje@google.com>
12992
12993 * gdb.python/py-objfile.exp: Test progspace attribute.
12994
12995 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12996
12997 * gdb.guile/scm-breakpoint.exp: Do not assume any
12998 directory separators when matching source file paths.
12999 * gdb.python/py-breakpoint.exp: Likewise.
13000 * gdb.reverse/break-precsave.exp: Likewise.
13001 * gdb.reverse/break-reverse.exp: Likewise.
13002 * gdb.reverse/consecutive-precsave.exp: Likewise.
13003 * gdb.reverse/finish-precsave.exp: Likewise.
13004 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13005 * gdb.reverse/finish-reverse.exp: Likewise.
13006 * gdb.reverse/i386-precsave.exp: Likewise.
13007 * gdb.reverse/i387-env-reverse.exp: Likewise.
13008 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13009 * gdb.reverse/machinestate-precsave.exp: Likewise.
13010 * gdb.reverse/machinestate.exp: Likewise.
13011 * gdb.reverse/sigall-precsave.exp: Likewise.
13012 * gdb.reverse/solib-precsave.exp: Likewise.
13013 * gdb.reverse/step-precsave.exp: Likewise.
13014 * gdb.reverse/until-precsave.exp: Likewise.
13015 * gdb.reverse/watch-precsave.exp: Likewise.
13016 * gdb.reverse/watch-reverse.exp: Likewise.
13017
13018 2014-10-17 Yao Qi <yao@codesourcery.com>
13019
13020 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13021 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13022
13023 2014-10-17 Pedro Alves <palves@redhat.com>
13024
13025 PR gdb/17471
13026 * gdb.base/bg-execution-repeat.c: New file.
13027 * gdb.base/bg-execution-repeat.exp: New file.
13028
13029 2014-10-17 Pedro Alves <palves@redhat.com>
13030
13031 PR gdb/17300
13032 * gdb.base/continue-all-already-running.c: New file.
13033 * gdb.base/continue-all-already-running.exp: New file.
13034
13035 2014-10-17 Pedro Alves <palves@redhat.com>
13036
13037 PR gdb/17472
13038 * gdb.base/annota-input-while-running.c: New file.
13039 * gdb.base/annota-input-while-running.exp: New file.
13040
13041 2014-10-17 Pedro Alves <palves@redhat.com>
13042
13043 * gdb.base/callfuncs.exp: emove references to osf.
13044 * gdb.base/sigall.exp: Likewise.
13045 * gdb.gdb/selftest.exp: Likewise.
13046 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13047 * gdb.mi/non-stop.c: Likewise.
13048 * gdb.mi/pthreads.c: Likewise.
13049 * gdb.reverse/sigall-precsave.exp: Likewise.
13050 * gdb.reverse/sigall-reverse.exp: Likewise.
13051 * gdb.threads/pthreads.c: Likewise.
13052 * gdb.threads/pthreads.exp: Likewise.
13053
13054 2014-10-17 Yao Qi <yao@codesourcery.com>
13055
13056 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13057 check 'target_info exists noargs'.
13058 (test_command_prompt_position): Likewise.
13059 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13060 Remove "set args".
13061 (progvar_simple_while_test): Likewise.
13062 (progvar_complex_if_while_test): Likewise.
13063 (if_while_breakpoint_command_test): Likewise.
13064 (infrun_breakpoint_command_test): Likewise.
13065 (breakpoint_command_test): Likewise.
13066 (watchpoint_command_test): Likewise.
13067 (bp_deleted_in_command_test): Likewise.
13068 (temporary_breakpoint_commands): Likewise.
13069
13070 2014-10-16 Yao Qi <yao@codesourcery.com>
13071
13072 * gdb.base/remotetimeout.exp: Remove noargs checking.
13073
13074 2014-10-15 Pedro Alves <palves@redhat.com>
13075
13076 PR breakpoints/9649
13077 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13078 * gdb.base/breakpoint-in-ro-region.exp
13079 (probe_target_hardware_step): New procedure.
13080 (top level): Probe hardware stepping and hardware breakpoint
13081 support. Test stepping through a read-only region, with both
13082 "breakpoint auto-hw" on and off and both "always-inserted" on and
13083 off.
13084
13085 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13086
13087 * gdb.dlang/demangle.exp: Update for demangling changes.
13088
13089 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13090
13091 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13092 * gdb.cp/non-trivial-retval.exp: Add new tests.
13093
13094 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13095
13096 PR c++/13403
13097 PR c++/15154
13098 * gdb.cp/non-trivial-retval.cc: New file.
13099 * gdb.cp/non-trivial-retval.exp: New file.
13100
13101 2014-10-15 Yao Qi <yao@codesourcery.com>
13102
13103 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13104 remote host.
13105
13106 2014-10-15 Yao Qi <yao@codesourcery.com>
13107
13108 * gdb.python/py-symbol.exp: Match file base name if host is
13109 remote, otherwise match file name with dir name.
13110 * gdb.python/py-symtab.exp: Likewise.
13111 * gdb.python/python.exp: Likewise.
13112
13113 2014-10-15 Yao Qi <yao@codesourcery.com>
13114
13115 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13116 pattern.
13117 * gdb.python/py-symtab.exp: Likewise.
13118 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13119 locationn.
13120
13121 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13122
13123 * gdb.ada/addr_arith: New testcase.
13124
13125 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13126
13127 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13128 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13129 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13130 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13131
13132 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13133
13134 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13135 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13136 * gdb.arch/stap-eval-lang-ada.exp: New file.
13137
13138 2014-10-14 Yao Qi <yao@codesourcery.com>
13139
13140 * gdb.mi/mi-var-child.c (nothing1): New function.
13141 (nothing2): New function.
13142 (do_children_tests): Set function pointers by nothing1 and
13143 nothing2.
13144 * gdb.mi/mi-var-child.exp: Step over new added statements.
13145 Update test to match the new output.
13146 * gdb.mi/var-cmd.c (nothing1): New function.
13147 (nothing2): New function.
13148 (do_children_tests): Set function pointers by nothing1 and
13149 nothing2.
13150 * gdb.mi/mi-var-display.exp: Update test to match output.
13151 Step to the line specified by $line_dct_nothing.
13152 Increase the number of lines to step.
13153
13154 2014-10-14 Yao Qi <yao@codesourcery.com>
13155
13156 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13157 tests.
13158 * gdb.mi/mi2-var-child.exp: Likewise.
13159
13160 2014-10-13 Doug Evans <dje@google.com>
13161
13162 * gdb.python/py-objfile.exp: Change name of file name test.
13163
13164 2014-10-13 Doug Evans <dje@google.com>
13165
13166 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13167 from the start of the CU.
13168
13169 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13170 Yao Qi <yao@codesourcery.com>
13171
13172 Fix "save breakpoints" for "catch" command.
13173 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13174 Remove -nonewline. Match also the added "main" line.
13175
13176 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13177
13178 Fix "save breakpoints" for "disable $bpnum" command.
13179 * gdb.base/save-bp.c (main): Add label.
13180 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13181
13182 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13183
13184 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13185
13186 2014-10-11 Yao Qi <yao@codesourcery.com>
13187
13188 * gdb.server/server-kill.exp: Execute command
13189 "set remote trace-status-packet on" before "tstatus".
13190
13191 2014-10-11 Yao Qi <yao@codesourcery.com>
13192
13193 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13194 (main): Call getppid.
13195 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13196 and continue to it. Read variable "server_pid".
13197
13198 2014-10-11 Yao Qi <yao@codesourcery.com>
13199
13200 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13201
13202 2014-10-11 Yao Qi <yao@codesourcery.com>
13203
13204 * gdb.threads/thread-find.exp: Don't execute command
13205 "info threads".
13206 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13207 * gdb.threads/linux-dp.exp: Don't check the condition
13208 $threads_created equals to zero.
13209
13210 2014-10-10 Pedro Alves <palves@redhat.com>
13211
13212 * gdb.base/bigcore.exp: Remove references to IRIX.
13213 * gdb.base/funcargs.exp: Likewise.
13214 * gdb.base/interrupt.exp: Likewise.
13215 * gdb.base/mips_pro.exp: Likewise.
13216 * gdb.base/nodebug.exp: Likewise.
13217 * gdb.base/setvar.exp: Likewise.
13218 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13219
13220 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13221 Pedro Alves <palves@redhat.com>
13222
13223 PR symtab/14466
13224 * gdb.base/vdso-warning.c: New file.
13225 * gdb.base/vdso-warning.exp: New file.
13226
13227 2014-10-02 Doug Evans <dje@google.com>
13228
13229 * gdb.base/structs.c (main): Don't run forever.
13230
13231 2014-10-02 Pedro Alves <palves@redhat.com>
13232
13233 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13234 (top level) <stop threads 1, stop threads 2>: Use it.
13235
13236 2014-10-02 Pedro Alves <palves@redhat.com>
13237
13238 * gdb.threads/break-while-running.exp (test): Add new
13239 'update_thread_list' argument. Skip "info threads" if false.
13240 (top level): Add new 'update_thread_list' axis.
13241
13242 2014-10-02 Pedro Alves <palves@redhat.com>
13243
13244 PR breakpoints/17431
13245 * gdb.base/execl-update-breakpoints.c: New file.
13246 * gdb.base/execl-update-breakpoints.exp: New file.
13247
13248 2014-10-01 Pedro Alves <palves@redhat.com>
13249
13250 * gdb.base/breakpoint-in-ro-region.c: New file.
13251 * gdb.base/breakpoint-in-ro-region.exp: New file.
13252
13253 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13254
13255 * gdb.mi/mi-exit-code.exp: New file.
13256 * gdb.mi/mi-exit-code.c: New file.
13257
13258 2014-09-30 Yao Qi <yao@codesourcery.com>
13259
13260 * lib/prelink-support.exp (build_executable_own_libs): Error if
13261 the target isn't native.
13262
13263 2014-09-30 Yao Qi <yao@codesourcery.com>
13264
13265 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13266 false.
13267
13268 2014-09-22 Pedro Alves <palves@redhat.com>
13269
13270 * gdb.threads/break-while-running.exp: New file.
13271 * gdb.threads/break-while-running.c: New file.
13272
13273 2014-09-19 Yao Qi <yao@codesourcery.com>
13274
13275 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13276 Invoke test. Restart GDB with --readnow and invoke test again.
13277
13278 2014-09-19 Yao Qi <yao@codesourcery.com>
13279
13280 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13281 proc set_breakpoint_on_gcd_function. Invoke
13282 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13283 invoke set_breakpoint_on_gcd_function again.
13284
13285 2014-09-18 Doug Evans <dje@google.com>
13286
13287 * gdb.dwarf2/symtab-producer.exp: New file.
13288
13289 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13290
13291 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13292 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13293 * gdb.base/global-var-nested-by-dso.c: Likewise.
13294 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13295
13296 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13297 Pedro Alves <palves@redhat.com>
13298
13299 * gdb.base/watch-bitfields.exp: Pass string other than test file
13300 name to prepare_for_testing.
13301 (watch): New procedure.
13302 (expect_watchpoint): Use with_test_prefix.
13303 (top level): Factor out tests to ...
13304 (test_watch_location, test_regular_watch): ... these new
13305 procedures, and use with_test_prefix and gdb_continue_to_end.
13306
13307 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13308
13309 PR breakpoints/12526
13310 * gdb.base/watch-bitfields.exp: New file.
13311 * gdb.base/watch-bitfields.c: New file.
13312
13313 2014-09-16 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13316 software and hardware addresses, not software address against
13317 itself.
13318
13319 2014-09-16 Pedro Alves <palves@redhat.com>
13320
13321 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13322 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13323
13324 2014-09-16 Pedro Alves <palves@redhat.com>
13325
13326 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13327 files.
13328 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13329 "*-*-vxworks*" throughout.
13330 * gdb.base/break.exp: Likewise.
13331 * gdb.base/default.exp: Likewise.
13332 * gdb.base/scope.exp: Likewise.
13333 * gdb.base/sepdebug.exp: Likewise.
13334 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13335 throughout.
13336 * gdb.base/run.c: Likewise.
13337 * gdb.base/sepdebug.c: Likewise.
13338 * gdb.hp/gdb.aCC/run.c: Likewise.
13339 * gdb.reverse/until-reverse.c: Likewise.
13340 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13341
13342 2014-09-16 Yao Qi <yao@codesourcery.com>
13343
13344 * boards/local-remote-host-native.exp: New file.
13345
13346 2014-09-14 Doug Evans <xdje42@gmail.com>
13347
13348 * gdb.threads/queue-signal.c (thread_count): New variable.
13349 (thread_count_mutex, thread_count_condvar): New variables.
13350 (incr_thread_count, wait_all_threads_running): New functions.
13351 (main): Wait for all threads to be in their thread functions.
13352
13353 2014-09-13 Doug Evans <xdje42@gmail.com>
13354
13355 * gdb.threads/queue-signal.c: New file.
13356 * gdb.threads/queue-signal.exp: New file.
13357
13358 2014-09-13 Doug Evans <xdje42@gmail.com>
13359
13360 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13361 be consistent with what default_gdb_init uses.
13362 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13363 the plain text of the prompt. Add some logging printfs.
13364 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13365
13366 2014-09-12 Pedro Alves <palves@redhat.com>
13367
13368 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13369 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13370 * gdb.arch/i386-size-overlap.exp: Likewise.
13371 * gdb.arch/i386-size.exp: Likewise.
13372 * gdb.arch/i386-unwind.exp: Likewise.
13373 * gdb.base/a2-run.exp: Likewise.
13374 * gdb.base/break.exp: Likewise.
13375 * gdb.base/charset.exp: Likewise.
13376 * gdb.base/chng-syms.exp: Likewise.
13377 * gdb.base/commands.exp: Likewise.
13378 * gdb.base/dbx.exp: Likewise.
13379 * gdb.base/find.exp: Likewise.
13380 * gdb.base/funcargs.exp: Likewise.
13381 * gdb.base/jit-simple.exp: Likewise.
13382 * gdb.base/reread.exp: Likewise.
13383 * gdb.base/sepdebug.exp: Likewise.
13384 * gdb.base/step-bt.exp: Likewise.
13385 * gdb.cp/mb-inline.exp: Likewise.
13386 * gdb.cp/mb-templates.exp: Likewise.
13387 * gdb.objc/basicclass.exp: Likewise.
13388 * gdb.threads/killed.exp: Likewise.
13389
13390 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13391
13392 PR tdep/17379
13393 * gdb.arch/powerpc-stackless.S: New file.
13394 * gdb.arch/powerpc-stackless.exp: New file.
13395
13396 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13397
13398 * gdb.base/attach.c: Include unistd.h.
13399 (main): Call alarm. Add label postloop.
13400 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13401 gdb_breakpoint, gdb_continue_to_breakpoint.
13402 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13403
13404 2014-09-11 Pedro Alves <palves@redhat.com>
13405
13406 PR gdb/17347
13407 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13408 * gdb.base/attach.exp (test_command_line_attach_run): New
13409 procedure.
13410 (top level): Call it.
13411
13412 2014-09-11 Pedro Alves <palves@redhat.com>
13413
13414 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13415 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13416 (do_command_attach_tests): Use spawn_wait_for_attach.
13417 * gdb.base/solib-overlap.exp: Likewise.
13418 * gdb.multi/multi-attach.exp: Likewise.
13419 * gdb.python/py-prompt.exp: Likewise.
13420 * gdb.python/py-sync-interp.exp: Likewise.
13421 * gdb.server/ext-attach.exp: Likewise.
13422
13423 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13424
13425 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13426 command in testcase. Simplify testcase.
13427
13428 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13429
13430 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13431
13432 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13433
13434 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13435
13436 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13437
13438 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13439
13440 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13441
13442 * gdb.dwarf2/dynarr-ptr.c: New file.
13443 * gdb.dwarf2/dynarr-ptr.exp: New file.
13444
13445 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13446
13447 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13448 of 30 rather than hardcoding 120 for a slow test case. Take the
13449 `gdb,timeout' target setting into account for this calculation.
13450 Don't extend the timeout for the test cases that don't need it.
13451
13452 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13453
13454 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13455 a factor of 2 for a slow test case. Take the `gdb,timeout'
13456 target setting into account for this calculation.
13457 * gdb.reverse/until-precsave.exp: Increase the timeout by
13458 a factor of 15 and 3 respectively rather than adding 120
13459 for a pair of slow test cases. Take the `gdb,timeout'
13460 target setting into account for this calculation.
13461
13462 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13463
13464 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13465 timeout, don't pass one down to gdb_expect.
13466 (gdb_expect): Rework timeout selection.
13467
13468 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13469
13470 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13471 exception on timeout.
13472 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13473 (gdbserver_start_extended): Catch any `gdbserver_start' error
13474 exceptions.
13475 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13476 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13477 `gdbserver_gdb_load' error exceptions.
13478
13479 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13480
13481 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13482 120 on waiting for the TCP socket to open.
13483
13484 2014-09-09 Doug Evans <xdje42@gmail.com>
13485
13486 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13487 _caller_matches, _any_caller_is, _any_caller_matches.
13488
13489 2014-09-09 Doug Evans <xdje42@gmail.com>
13490
13491 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13492
13493 2014-09-09 Yao Qi <yao@codesourcery.com>
13494
13495 * gdb.mi/mi-var-display.exp: Set print symbol off.
13496
13497 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13498
13499 PR gdb/17035
13500 * gdb.base/commands.exp: Add tests to verify user-defined
13501 commands with empty bodies.
13502 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13503 python commands in `show user command`.
13504 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13505 scheme commands in `show user command`.
13506
13507 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13508
13509 PR python/17355
13510 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13511 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13512 * gdb.python/py-framefilter-invalidarg.exp: New file.
13513 * gdb.python/py-framefilter-invalidarg.py: New file.
13514
13515 2014-09-06 Doug Evans <xdje42@gmail.com>
13516
13517 PR 15276
13518 * gdb.python/py-caller-is.c: New file.
13519 * gdb.python/py-caller-is.exp: New file.
13520
13521 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13522
13523 PR gdb/17235
13524 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13525 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13526
13527 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13528
13529 PR fortran/17237
13530 * gdb.fortran/print-formatted.exp: New file.
13531 * gdb.fortran/print-formatted.f90: Likewise.
13532
13533 2014-09-03 Sasha Smundak <asmundak@google.com>
13534
13535 * gdb.python/py-frame.exp: Test Frame.read_register.
13536
13537 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13538
13539 PR python/16699
13540 * gdb.python/py-completion.exp: New file.
13541 * gdb.python/py-completion.py: Likewise.
13542
13543 2014-08-28 Doug Evans <dje@google.com>
13544
13545 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13546 eax,etc. are live with values set by gdb and thus the compiler can't
13547 use them.
13548 * gdb.arch/i386-pseudo.c (main): Ditto.
13549
13550 2014-08-27 Doug Evans <dje@google.com>
13551
13552 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13553
13554 2014-08-25 Doug Evans <dje@google.com>
13555
13556 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13557 (main): Ditto.
13558
13559 2014-08-25 Doug Evans <dje@google.com>
13560
13561 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13562
13563 2014-08-24 Yao Qi <yao@codesourcery.com>
13564
13565 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13566 symbol off.
13567 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13568
13569 2014-08-22 Doug Evans <dje@google.com>
13570
13571 PR 17276
13572 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13573 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13574 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13575
13576 2014-08-22 Yao Qi <yao@codesourcery.com>
13577
13578 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13579 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13580 * gdb.python/python.exp: Likewise. Use .py file on the host
13581 instead of the build.
13582
13583 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13584
13585 * gdb.threads/gcore-stale-thread.c: New file.
13586 * gdb.threads/gcore-stale-thread.exp: New file.
13587
13588 2014-08-21 Pedro Alves <palves@redhat.com>
13589
13590 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13591 * gdb.base/gcore-relro-pie.exp: Likewise.
13592 * gdb.base/gcore-relro.exp: Likewise.
13593 * gdb.base/gcore.exp: Likewise.
13594 * gdb.base/print-symbol-loading.exp: Likewise.
13595 * gdb.threads/gcore-thread.exp: Likewise.
13596 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13597
13598 2014-08-20 Pedro Alves <palves@redhat.com>
13599 Jan Kratochvil <jan.kratochvil@redhat.com>
13600
13601 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13602 configure.
13603 (EXPECT): Handle READ1 being set.
13604 (all): Depend on EXTRA_RULES.
13605 (check-read1, expect-read1, read1.so, read1): New rules.
13606 * README (Testsuite Parameters): Document the READ1 make variable.
13607 (Race detection): New section.
13608 * configure: Regenerate.
13609 * configure.ac: If build==host==target, and running under a
13610 GNU/glibc system, add read1 to the extra Makefile rules.
13611 (EXTRA_RULES): AC_SUBST it.
13612 * lib/read1.c: New file.
13613
13614 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13615
13616 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13617 the handling of variables declared as a typedef to an array
13618 which a DW_AT_data_location attribute.
13619
13620 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13621 Pedro Alves <palves@redhat.com>
13622
13623 PR symtab/14604
13624 PR symtab/14605
13625 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13626 gdb_test.
13627
13628 2014-08-19 Pedro Alves <palves@redhat.com>
13629
13630 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13631
13632 2014-08-19 Yao Qi <yao@codesourcery.com>
13633
13634 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13635 right line.
13636
13637 2014-08-18 David Blaikie <dblaikie@gmail.com>
13638
13639 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13640
13641 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13642
13643 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13644 attribute in array range.
13645
13646 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13647
13648 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13649
13650 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13651
13652 PR c++/17132
13653 * gdb.cp/pr17132.cc: New file.
13654 * gdb.cp/pr17132.exp: New file.
13655
13656 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13657
13658 * gdb.python/py-xmethods.py (A_getarrayind)
13659 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13660 Use 'print' with function call syntax.
13661 (E_method_matcher.match): Fix tab vs space indentation mixup.
13662
13663 2014-08-15 Yao Qi <yao@codesourcery.com>
13664
13665 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13666 false.
13667
13668 2014-08-15 Yao Qi <yao@codesourcery.com>
13669
13670 * gdb.cp/casts.exp: Set print symbol off.
13671 * gdb.cp/class2.exp: Likewise.
13672 * gdb.cp/overload.exp: Likewise.
13673 * gdb.cp/templates.exp: Likewise.
13674
13675 2014-08-11 Doug Evans <dje@google.com>
13676
13677 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13678 (test_load_shlib): Update.
13679
13680 2014-08-09 Yao Qi <yao@codesourcery.com>
13681
13682 * gdb.base/display.exp: Invoke is_address_zero_readable.
13683 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13684 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13685 * gdb.base/hbreak-unmapped.exp: Return if
13686 is_address_zero_readable returns true.
13687 * gdb.base/signest.exp: Likewise.
13688 * gdb.base/signull.exp: Likewise.
13689 * gdb.base/sigbpt.exp: Likewise.
13690 * gdb.guile/scm-disasm.exp: Do the test if
13691 is_address_zero_readable returns false.
13692 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13693 * gdb.python/py-arch.exp: Likewise.
13694 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13695 * lib/gdb.exp (is_address_zero_readable): New proc.
13696
13697 2014-08-09 Yao Qi <yao@codesourcery.com>
13698
13699 PR testsuite/13443
13700 * gdb.mi/mi-var-display.exp: Make test messages unique.
13701
13702 2014-08-04 Tom Tromey <tromey@redhat.com>
13703
13704 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13705 target 0".
13706
13707 2014-08-04 Tom Tromey <tromey@redhat.com>
13708
13709 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13710 "target_resume".
13711
13712 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13713
13714 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13715 inner_vla_struct_object_size.
13716 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13717 as xfail.
13718
13719 2014-07-30 Pedro Alves <palves@redhat.com>
13720
13721 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13722 comment.
13723
13724 2014-07-29 Yao Qi <yao@codesourcery.com>
13725
13726 PR gdb/17206
13727 * gdb.base/until-nodebug.exp: New.
13728
13729 2014-07-28 Doug Evans <xdje42@gmail.com>
13730
13731 PR guile/17203
13732 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13733 previously existing parameter, and previously ambiguously spelled
13734 parameter.
13735
13736 2014-07-28 Will Newton <will.newton@linaro.org>
13737
13738 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13739
13740 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13741 Doug Evans <xdje42@gmail.com>
13742
13743 PR guile/17146
13744 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13745
13746 2014-07-25 Pedro Alves <palves@redhat.com>
13747
13748 * gdb.threads/signal-command-handle-nopass.c: New file.
13749 * gdb.threads/signal-command-handle-nopass.exp: New file.
13750 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13751 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13752 * gdb.threads/signal-delivered-right-thread.c: New file.
13753 * gdb.threads/signal-delivered-right-thread.exp: New file.
13754
13755 2014-07-25 Pedro Alves <palves@redhat.com>
13756
13757 * gdb.base/double-prompt-target-event-error.exp
13758 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13759 match.
13760 (cancel_pagination_in_target_event): Rework double prompt
13761 detection.
13762 * gdb.base/paginate-after-ctrl-c-running.exp
13763 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13764 <return>' match.
13765 * gdb.base/paginate-bg-execution.exp
13766 (test_bg_execution_pagination_return)
13767 (test_bg_execution_pagination_cancel): Remove '-notransfer
13768 <return>' matches.
13769 * gdb.base/paginate-execution-startup.exp
13770 (test_fg_execution_pagination_return)
13771 (test_fg_execution_pagination_cancel): Remove '-notransfer
13772 <return>' matches.
13773 * gdb.base/paginate-inferior-exit.exp
13774 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13775 match.
13776 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13777 * lib/gdb.exp (pagination_prompt): Run text through
13778 string_to_regexp.
13779 (gdb_test_multiple): Match $pagination_prompt instead of
13780 "<return>".
13781 (string_to_regexp): Move to lib/gdb-utils.exp.
13782
13783 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13784
13785 * gdb.arch/amd64-entry-value-paramref.S: New file.
13786 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13787 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13788 * gdb.arch/amd64-optimout-repeat.S: New file.
13789 * gdb.arch/amd64-optimout-repeat.c: New file.
13790 * gdb.arch/amd64-optimout-repeat.exp: New file.
13791
13792 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13793
13794 PR gdb/17170
13795 * gdb.base/statistics.exp: New file.
13796
13797 2014-07-17 Doug Evans <dje@google.com>
13798
13799 PR gdb/17170
13800 * gdb.base/maint.exp: Update testing of per-command stats.
13801
13802 2014-07-16 Pedro Alves <palves@redhat.com>
13803
13804 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13805 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13806 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13807 (tfile_write_buf): New functions.
13808 (add_memory_block): Rewrite using the above.
13809 (adjust_function_address): New function.
13810 (FUNCTION_ADDRESS): New macro.
13811 (write_basic_trace_file): Remove short_x local, and use
13812 tfile_write_16. Change type of func_addr local to unsigned long
13813 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13814 here. Cast argument of add_memory_block to char pointer.
13815 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13816 (main): Remove parameters.
13817 * gdb.trace/tfile.exp: Remove nowarnings.
13818
13819 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13820
13821 * gdb.base/debug-expr.exp: Test string evaluation with
13822 "debug expression" on.
13823
13824 2014-07-15 Pedro Alves <palves@redhat.com>
13825
13826 * gdb.base/reread.exp: Use clean_restart.
13827
13828 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13829
13830 * gdb.arch/avr-flash-qualifer.c: New.
13831 * gdb.arch/avr-flash-qualifer.exp: New.
13832
13833 2014-07-14 Pedro Alves <palves@redhat.com>
13834
13835 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13836 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13837
13838 2014-07-14 Pedro Alves <palves@redhat.com>
13839
13840 * gdb.base/double-prompt-target-event-error.c: New file.
13841 * gdb.base/double-prompt-target-event-error.exp: New file.
13842
13843 2014-07-14 Pedro Alves <palves@redhat.com>
13844
13845 PR gdb/17072
13846 * gdb.base/paginate-inferior-exit.c: New file.
13847 * gdb.base/paginate-inferior-exit.exp: New file.
13848
13849 2014-07-14 Pedro Alves <palves@redhat.com>
13850
13851 PR gdb/17072
13852 * gdb.base/paginate-bg-execution.c: New file.
13853 * gdb.base/paginate-bg-execution.exp: New file.
13854
13855 2014-07-14 Pedro Alves <palves@redhat.com>
13856
13857 PR gdb/17072
13858 * gdb.base/paginate-execution-startup.c: New file.
13859 * gdb.base/paginate-execution-startup.exp: New file.
13860 * lib/gdb.exp (pagination_prompt): New global.
13861 (default_gdb_spawn): New procedure, factored out from
13862 default_gdb_spawn.
13863 (default_gdb_start): Adjust to call default_gdb_spawn.
13864 (gdb_spawn): New procedure.
13865
13866 2014-07-14 Pedro Alves <palves@redhat.com>
13867
13868 * lib/gdb.exp (gdb_assert): New procedure.
13869 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13870
13871 2014-07-14 Pedro Alves <palves@redhat.com>
13872
13873 * gdb.base/execution-termios.c: New file.
13874 * gdb.base/execution-termios.exp: New file.
13875
13876 2014-07-14 Tom Tromey <tromey@redhat.com>
13877
13878 * gdb.cp/vla-cxx.cc: New file.
13879 * gdb.cp/vla-cxx.exp: New file.
13880
13881 2014-07-14 Tom Tromey <tromey@redhat.com>
13882
13883 * gdb.reverse/rerun-prec.c: New file.
13884 * gdb.reverse/rerun-prec.exp: New file.
13885
13886 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13887 Maciej W. Rozycki <macro@codesourcery.com>
13888
13889 * lib/gdb-utils.exp: New file.
13890 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13891 inline `gdb_init_command' processing.
13892 (gdb_start_cmd): Likewise.
13893 * lib/mi-support.exp (mi_run_cmd): Likewise.
13894 * README: Document `gdb_init_command' and `gdb_init_commands'.
13895
13896 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13897
13898 Fix false FAIL running under a very long directory name.
13899 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13900 and "set print elements 10000". Twice.
13901
13902 2014-07-11 Yao Qi <yao@codesourcery.com>
13903
13904 * gdb.base/exprs.exp: "set print symbol off".
13905
13906 2014-07-11 Pedro Alves <palves@redhat.com>
13907
13908 * gdb.threads/kill.c: New file.
13909 * gdb.threads/kill.exp: New file.
13910
13911 2014-07-10 Yao Qi <yao@codesourcery.com>
13912
13913 * gdb.trace/tfile.c (write_basic_trace_file)
13914 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13915 address written to trace file.
13916
13917 2014-07-09 Pedro Alves <palves@redhat.com>
13918
13919 * gdb.base/attach-wait-input.exp: New file.
13920 * gdb.base/attach-wait-input.c: New file.
13921
13922 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13923
13924 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13925 setting up test structures.
13926 (main): Call new test function.
13927 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13928 test function, continue into test function and walk test
13929 structures.
13930
13931 2014-07-02 Yao Qi <yao@codesourcery.com>
13932
13933 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13934 'bar_start' at the beginning of functions 'foo' and 'bar'
13935 respectively.
13936 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13937 instead of 'foo' and 'bar'.
13938
13939 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13940
13941 * gdb.btrace/segv.exp: New.
13942 * gdb.btrace/segv.c: New.
13943
13944 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13945
13946 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13947 instruction.
13948
13949 2014-06-30 Mark Wielaard <mjw@redhat.com>
13950
13951 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13952 vulture, vilify, villar): New volatile array constants.
13953 (vindictive, vegetation): New const volatile array constants.
13954 * gdb.base/volatile.exp: Test volatile and const volatile array
13955 types.
13956
13957 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13958
13959 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13960 target lacks support for awatch, rwatch, or hbreak.
13961
13962 2014-06-27 Yao Qi <yao@codesourcery.com>
13963
13964 * gdb.multi/dummy-frame-restore.exp: New.
13965 * gdb.multi/dummy-frame-restore.c: New.
13966
13967 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13968
13969 * gdb.btrace/gcore.exp: New.
13970
13971 2014-06-23 Pedro Alves <palves@redhat.com>
13972
13973 * gdb.base/watchpoint-reuse-slot.c: New file.
13974 * gdb.base/watchpoint-reuse-slot.exp: New file.
13975
13976 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13977
13978 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13979 progspace's filename in 'info', 'enable' and 'disable' command
13980 tests.
13981
13982 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13983
13984 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13985 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13986 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13987
13988 2014-06-20 Gary Benson <gbenson@redhat.com>
13989
13990 * gdb.arch/i386-avx.exp: Fix include file location.
13991 * gdb.arch/i386-sse.exp: Likewise.
13992
13993 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13994
13995 * gdb.dlang/expression.exp: New file.
13996
13997 2014-06-19 Pedro Alves <palves@redhat.com>
13998
13999 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14000 out from ...
14001 (top level): ... here. Iterate running tests under different
14002 scheduler-locking settings.
14003
14004 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14005
14006 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14007 to DW_FORM_addr and use non-zero addresses.
14008
14009 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14010
14011 PR gdb/17017
14012 * gdb.python/py-xmethods.cc: Add global function call counters and
14013 increment them in their respective functions. Remove "cout"
14014 statements.
14015 * gdb.python/py-xmethods.exp: Make tests check the global function
14016 call counters instead of depending on inferior IO.
14017
14018 2014-06-18 Don Breazeal <donb@codesourcery.com>
14019
14020 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14021 Deleted procedure.
14022 (explicit_fork_parent_follow): Deleted procedure.
14023 (explicit_fork_child_follow): Deleted procedure.
14024 (test_follow_fork): New procedure.
14025 (do_fork_tests): Replace calls to deleted procedures with
14026 calls to test_follow_fork and reset GDB for subsequent
14027 procedure calls.
14028
14029 2014-06-17 Yao Qi <yao@codesourcery.com>
14030
14031 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14032 CP1252.
14033
14034 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14035
14036 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14037 Initialize ptr and S explicitly.
14038 (skip_type_update_when_not_use_rtti_test): Likewise.
14039
14040 2014-06-16 Keith Seitz <keiths@redhat.com>
14041
14042 PR mi/15863
14043 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14044 the inferior is started.
14045
14046 2014-06-16 Pedro Alves <palves@redhat.com>
14047
14048 * gdb.base/break-main-file-remove-fail.c: New file.
14049 * gdb.base/break-main-file-remove-fail.exp: New file.
14050 * gdb.base/break-unload-file.exp: Use build_executable instead of
14051 prepare_for_testing.
14052 (test_break): New parameter "initial_load". Handle it.
14053 (top level): Add initial_load cmdline/file axis.
14054
14055 2014-06-12 Tom Tromey <tromey@redhat.com>
14056
14057 * gdb.base/completion.exp: Don't use directory name in test.
14058
14059 2014-06-09 Gary Benson <gbenson@redhat.com>
14060
14061 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14062 separate the always-available ANSI-standard signals from the
14063 signals that require checking.
14064 (main): Likewise.
14065 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14066 Likewise.
14067 (main): Likewise.
14068
14069 2014-06-07 Keith Seitz <keiths@redhat.com>
14070
14071 Revert:
14072 PR c++/16253
14073 * gdb.cp/var-tag.cc: New file.
14074 * gdb.cp/var-tag.exp: New file.
14075 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14076 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14077 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14078 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14079
14080 2014-06-06 Doug Evans <xdje42@gmail.com>
14081
14082 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14083
14084 2014-06-06 Pedro Alves <palves@redhat.com>
14085
14086 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14087 in target debug output instead of looking at RSP packets,
14088 disabling the test on any target that uses hardware stepping.
14089 Update comments.
14090
14091 2014-06-06 Pedro Alves <palves@redhat.com>
14092
14093 * gdb.base/break-unload-file.exp: Fix typo.
14094
14095 2014-06-06 Yao Qi <yao@codesourcery.com>
14096
14097 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14098 from "jit_function" to "^jit_function".
14099
14100 2014-06-06 Yao Qi <yao@codesourcery.com>
14101
14102 * gdb.base/async.c (foo): Add one statement.
14103 * gdb.base/async.exp: Get the next instruction address and
14104 match the output of "nexti" by instruction address. Match
14105 the hex address in the output of "finish".
14106
14107 2014-06-06 Gary Benson <gbenson@redhat.com>
14108
14109 * gdb.base/call-signals.c: Remove preprocessor conditionals
14110 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14111 SIGSEGV and SIGTERM.
14112 * gdb.base/sigall.c: Likewise.
14113 * gdb.base/unwindonsignal.c: Likewise.
14114 * gdb.reverse/sigall-reverse.c: Likewise.
14115
14116 2014-06-06 Yao Qi <yao@codesourcery.com>
14117
14118 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14119 readable, skip the test.
14120
14121 2014-06-06 Yao Qi <yao@codesourcery.com>
14122
14123 * gdb.threads/staticthreads.c (thread_function): Move the line
14124 setting breakpoint on forward.
14125 * gdb.threads/staticthreads.exp: Update comments.
14126
14127 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14128
14129 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14130 "history-append! type error".
14131
14132 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14133
14134 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14135 erroneous dprintf expected input.
14136
14137 2014-06-04 Doug Evans <xdje42@gmail.com>
14138
14139 * gdb.guile/scm-generics.exp: Delete.
14140
14141 2014-06-04 Doug Evans <xdje42@gmail.com>
14142
14143 * gdb.guile/scm-breakpoint.exp: Update.
14144 Add tests for breakpoint registration.
14145
14146 2014-06-04 Tom Tromey <tromey@redhat.com>
14147
14148 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14149 VLA-in-union.
14150 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14151 inner_vla_struct, vla_union types. Initialize objects of those
14152 types and compute their sizes.
14153
14154 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14155 Hui Zhu <hui@codesourcery.com>
14156
14157 * gdb.base/fileio.exp: Add test for shell not available as well as
14158 available.
14159 * gdb.base/fileio.c (test_system): Check for shell twice.
14160
14161 2014-06-04 Yao Qi <yao@codesourcery.com>
14162
14163 * gdb.base/auto-connect-native-target.exp: Remove redundant
14164 space from the regexp pattern.
14165
14166 2014-06-04 Yao Qi <yao@codesourcery.com>
14167
14168 * gdb.base/default.exp: Replace "child" with "native" in
14169 regexp pattern.
14170
14171 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14172
14173 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14174 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14175 * gdb.python/py-xmethods.py: Python script supporting the
14176 new testcase and tests.
14177
14178 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14179 Pedro Alves <palves@redhat.com>
14180
14181 PR breakpoints/17000
14182 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14183 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14184
14185 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14186
14187 * gdb.base/subst.exp: Add tests to verify partial path matching
14188 output.
14189
14190 2014-06-03 Pedro Alves <palves@redhat.com>
14191
14192 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14193 target that doesn't use software single-stepping.
14194
14195 2014-06-03 Pedro Alves <palves@redhat.com>
14196
14197 PR breakpoints/17000
14198 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14199 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14200
14201 2014-06-02 Doug Evans <xdje42@gmail.com>
14202
14203 * gdb.guile/scm-parameter.exp: New file.
14204
14205 2014-06-02 Doug Evans <xdje42@gmail.com>
14206
14207 * gdb.guile/scm-cmd.c: New file.
14208 * gdb.guile/scm-cmd.exp: New file.
14209
14210 2014-06-02 Doug Evans <xdje42@gmail.com>
14211
14212 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14213 pretty-printer lookup.
14214 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14215 (make-pp_s-printer): Call it.
14216 (make-pretty-printer-from-dict): New function.
14217 (lookup-pretty-printer-maker-from-dict): New function.
14218 (*pretty-printer*): Simplify.
14219 (make-objfile-pp_s-printer): New function.
14220 (install-objfile-pretty-printers!): New function.
14221 (make-progspace-pp_s-printer): New function.
14222 (install-progspace-pretty-printers!): New function.
14223 * gdb.guile/scm-progspace.c: New file.
14224 * gdb.guile/scm-progspace.exp: New file.
14225
14226 2014-06-02 Pedro Alves <palves@redhat.com>
14227
14228 * gdb.base/dprintf-bp-same-addr.c: New file.
14229 * gdb.base/dprintf-bp-same-addr.exp: New file.
14230
14231 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14232
14233 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14234 * gdb.arch/powerpc-power.s: Likewise.
14235
14236 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14237
14238 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14239
14240 2014-06-01 Yao Qi <yao@codesourcery.com>
14241
14242 * gdb.base/watchpoint.exp (test_watch_location): Check null
14243 pointer can be dereferenced. If not, do the test, otherwise
14244 skip it.
14245
14246 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14247
14248 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14249 results.
14250 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14251
14252 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14253
14254 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14255 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14256 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14257 * gdb.arch/amd64-invalid-stack-top.c: New file.
14258 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14259
14260 2014-05-30 Pedro Alves <palves@redhat.com>
14261
14262 PR breakpoints/17000
14263 * gdb.base/sss-bp-on-user-bp.c: New file.
14264 * gdb.base/sss-bp-on-user-bp.exp: New file.
14265
14266 2014-05-30 David Blaikie <dblaikie@gmail.com>
14267
14268 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14269 gnu_inline semantics via attribute.
14270 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14271 source explicitly specifies the required semantics.
14272
14273 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14274
14275 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14276
14277 2014-05-29 Pedro Alves <palves@redhat.com>
14278 Tom Tromey <tromey@redhat.com>
14279
14280 * gdb.base/async-shell.exp: Don't enable target-async.
14281 * gdb.base/async.exp
14282 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14283 parameter. Adjust.
14284 (top level): Don't test with "target-async".
14285 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14286 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14287 * gdb.base/inferior-died.exp: Don't enable target-async.
14288 * gdb.base/interrupt-noterm.exp: Likewise.
14289 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14290 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14291 * gdb.mi/mi-nonstop.exp: Likewise.
14292 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14293 * gdb.mi/mi-nsintrall.exp: Likewise.
14294 * gdb.mi/mi-nsmoribund.exp: Likewise.
14295 * gdb.mi/mi-nsthrexec.exp: Likewise.
14296 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14297 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14298 * gdb.python/py-evsignal.exp: Don't enable target-async.
14299 * gdb.python/py-evthreads.exp: Likewise.
14300 * gdb.python/py-prompt.exp: Likewise.
14301 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14302 * gdb.server/solib-list.exp: Don't enable target-async.
14303 * gdb.threads/thread-specific-bp.exp: Likewise.
14304 * lib/mi-support.exp: Adjust to use mi-async.
14305
14306 2014-05-29 Pedro Alves <palves@redhat.com>
14307
14308 PR gdb/13860
14309 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14310 reason, even in sync mode.
14311
14312 2014-05-29 Pedro Alves <palves@redhat.com>
14313 Hui Zhu <hui@codesourcery.com>
14314
14315 PR PR15693
14316 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14317 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14318 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14319 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14320
14321 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14322
14323 * config/monitor.exp (gdb_target_monitor): Replace use of
14324 "set remotebaud" by "set serial baud".
14325
14326 2014-05-26 Andy Wingo <wingo@igalia.com>
14327
14328 * gdb.guile/scm-breakpoint.exp:
14329 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14330 properties instead of gdb-object-properties.
14331
14332 2014-05-26 Yao Qi <yao@codesourcery.com>
14333
14334 * gdb.server/no-thread-db.exp: Specify source file name
14335 explicitly when setting a breakpoint.
14336
14337 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14338
14339 * gdb.btrace/vdso.c: New.
14340 * gdb.btrace/vdso.exp: New.
14341
14342 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14343
14344 * gdb.base/gcore.exp (capture_command_output): Move ...
14345 * lib/gdb.exp (capture_command_output): ... here.
14346
14347 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14348
14349 * gdb.btrace/data.exp: Test memory access during btrace replay.
14350
14351 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14352
14353 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14354
14355 2014-05-21 Pedro Alves <palves@redhat.com>
14356
14357 PR gdb/13860
14358 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14359 (top level): Test that output related to execution commands is
14360 sent to the console with CLI commands, but not with MI commands.
14361 Test that breakpoint events are always mirrored to the console.
14362 Also expect the new source line to be output after a "next" in
14363 async mode too. Make it a pass/fail test.
14364 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14365 output.
14366 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14367
14368 2014-05-21 Pedro Alves <palves@redhat.com>
14369
14370 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14371 Use them to test variations of "list" after reaching a breakpoint.
14372 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14373 Test "list" with listsize 10 after reaching a breakpoint.
14374 * gdb.python/python.exp (decode_line current location line
14375 number): Adjust expected line number.
14376
14377 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14378
14379 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14380 behavior for $args, pass it directly to "run".
14381
14382 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14383
14384 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14385 30000 to 65536.
14386
14387 2014-05-21 Pedro Alves <palves@redhat.com>
14388
14389 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14390 auto-connect-native-target off".
14391 * gdb.base/auto-connect-native-target.c: New file.
14392 * gdb.base/auto-connect-native-target.exp: New file.
14393
14394 2014-05-21 Pedro Alves <palves@redhat.com>
14395
14396 * gdb.base/default.exp: Test "target native" instead of "target
14397 child".
14398
14399 2014-05-21 Mark Wielaard <mjw@redhat.com>
14400
14401 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14402
14403 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14404
14405 Fix TLS access for -static -pthread.
14406 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14407 <HAVE_TLS> (thread_function, main): Initialize it.
14408 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14409 Add clean_restart.
14410 <$have_tls != "">: Check TLSVAR.
14411
14412 2014-05-21 Pedro Alves <palves@redhat.com>
14413
14414 * gdb.base/dcache-line-read-error.c: New.
14415 * gdb.base/dcache-line-read-error.exp: New.
14416
14417 2014-05-20 Pedro Alves <palves@redhat.com>
14418
14419 * gdb.base/compare-sections.c: New file.
14420 * gdb.base/compare-sections.exp: New file.
14421
14422 2014-05-20 Pedro Alves <palves@redhat.com>
14423
14424 * gdb.base/break-idempotent.c: New file.
14425 * gdb.base/break-idempotent.exp: New file.
14426
14427 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14428
14429 * gdb.btrace/nohist.exp: New.
14430
14431 2014-05-20 Yao Qi <yao@codesourcery.com>
14432
14433 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14434 gdb.reverse directory and gdb_reverse_timeout exists in board
14435 setting.
14436 * README: Document gdb_reverse_timeout.
14437
14438 2014-05-20 Yao Qi <yao@codesourcery.com>
14439
14440 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14441 'test_file_name'. Treat args as a string instead of a list.
14442 (gdb_init): Rename argument 'args' by 'test_file_name'.
14443
14444 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14445
14446 * gdb.arch/powerpc-power.exp: New file.
14447 * gdb.arch/powerpc-power.s: New file.
14448
14449 2014-05-16 Doug Evans <dje@google.com>
14450
14451 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14452 * gdb.base/completion.exp: Check that all expected files exist
14453 before doing file completion.
14454
14455 2014-05-16 Doug Evans <dje@google.com>
14456
14457 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14458 Update.
14459 (do_syscall_tests_without_xml): Update.
14460
14461 2014-05-16 Pedro Alves <palves@redhat.com>
14462
14463 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14464 instead of "unknown output after running".
14465
14466 2014-05-16 Yao Qi <yao@codesourcery.com>
14467
14468 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14469 file1.txt from host at the end.
14470 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14471
14472 2014-05-15 Doug Evans <dje@google.com>
14473
14474 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14475 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14476 loading file. Add test for TU lookup.
14477
14478 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14479
14480 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14481 calling "-exec-arguments" or "set args" before running the
14482 inferior.
14483
14484 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14485
14486 * lib/mi-support.exp (mi_expect_stop): Expect message for
14487 inferiors that exit with non-zero exit code.
14488
14489 2014-05-14 Yao Qi <yao@codesourcery.com>
14490
14491 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14492 match absolute path on remote host.
14493 (test_file_list_exec_source_files): Remove "/" from the
14494 pattern.
14495
14496 2014-05-14 Yao Qi <yao@codesourcery.com>
14497
14498 * boards/local-remote-host-notty.exp (${board}_file): New
14499 proc.
14500
14501 2014-05-07 Kyle McMartin <kyle@redhat.com>
14502
14503 Pushed by Joel Brobecker <brobecker@adacore.com>.
14504 * gdb.arch/aarch64-atomic-inst.c: New file.
14505 * gdb.arch/aarch64-atomic-inst.exp: New file.
14506
14507 2014-05-07 Yao Qi <yao@codesourcery.com>
14508
14509 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14510 in current context" too.
14511
14512 2014-05-05 Keith Seitz <keiths@redhat.com>
14513
14514 * gdb.linespec/ls-dollar.exp: Add test for linespec
14515 file:convenience_variable.
14516
14517 2014-05-05 Yao Qi <yao@codesourcery.com>
14518
14519 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14520 traceframes into tfile and ctf trace files. Read data from
14521 trace file and test collected data.
14522 (gdb_collect_locals_test): Likewise.
14523 (gdb_unavailable_registers_test): Likewise.
14524 (gdb_unavailable_floats): Likewise.
14525 (gdb_collect_globals_test): Likewise.
14526 (top-level): Append "ctf" to trace_file_targets if GDB
14527 supports.
14528
14529 2014-05-05 Yao Qi <yao@codesourcery.com>
14530
14531 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14532 code to ...
14533 (gdb_collect_args_test_1): ... it. New proc.
14534 (gdb_collect_locals_test): Move some code to ...
14535 (gdb_collect_locals_test_1): ... it. New proc.
14536 (gdb_unavailable_registers_test): Move some code to ...
14537 (gdb_unavailable_registers_test_1): ... it. New proc.
14538 (gdb_unavailable_floats): Move some code to ...
14539 (gdb_unavailable_floats_1): ... it. New proc.
14540
14541 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14542
14543 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14544 probes to test for bitness recognition.
14545 * gdb.arch/amd64-stap-optional-prefix.exp
14546 (test_probe_value_without_reg): New procedure.
14547 Add code to test for different kinds of bitness.
14548
14549 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14550
14551 PR breakpoints/16889
14552 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14553 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14554
14555 2014-05-01 Pedro Alves <palves@redhat.com>
14556
14557 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14558 gdb_file_cmd if no file is specified.
14559 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14560 last_loaded_file to set the remote exec-file.
14561
14562 2014-05-01 Pedro Alves <palves@redhat.com>
14563
14564 * boards/local-remote-host.exp: New file.
14565
14566 2014-05-01 Pedro Alves <palves@redhat.com>
14567
14568 * boards/local-remote-host.exp: Rename to ...
14569 * boards/local-remote-host-notty.exp: ... this.
14570
14571 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14572
14573 * gdb.ada/dyn_arrayidx: New testcase.
14574
14575 2014-04-26 Yao Qi <yao@codesourcery.com>
14576
14577 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14578 and compute the length of function main. Save it in
14579 $main_length.
14580 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14581 (top-level): Use gdb_compile to compile objects into
14582 executable and restart GDB. Remove invocation to
14583 prepare_for_testing.
14584
14585 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14586 Pedro Alves <palves@redhat.com>
14587
14588 PR server/16255
14589 * gdb.multi/multi-attach.c: New file.
14590 * gdb.multi/multi-attach.exp: New file.
14591
14592 2014-04-25 Pedro Alves <palves@redhat.com>
14593
14594 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14595 user.
14596 (top level): Test that "set remote conditional-breakpoints-packet
14597 off" works as intended.
14598 * gdb.base/dprintf.exp: Test that "set remote
14599 breakpoint-commands-packet off" works as intended.
14600 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14601 New function.
14602 (top level): Call it.
14603 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14604 remote fast-tracepoints-packet off" works as intended.
14605 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14606 * lib/gdb.exp (gdb_is_target_remote): ... here.
14607
14608 2014-04-24 David Blaikie <dblaikie@gmail.com>
14609
14610 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14611 ensure clang would not discard them.
14612 * gdb.base/gdbvars.c: Ditto.
14613 * gdb.base/memattr.c: Ditto.
14614 * gdb.base/whatis.c: Ditto.
14615 * gdb.python/py-prettyprint.c: Ditto.
14616 * gdb.trace/actions.c: Ditto.
14617 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14618 ensure clang would not discard it.
14619
14620 2014-04-24 David Blaikie <dblaikie@gmail.com>
14621
14622 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14623 clang to emit the full definition of type required by the test
14624 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14625
14626 2014-04-24 David Blaikie <dblaikie@gmail.com>
14627
14628 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14629 coax Clang into emitting the definition of the type.
14630 * gdb.cp/pr10728-x.h (y): Ditto.
14631 * gdb.cp/pr10728-y.cc (y): Ditto.
14632
14633 2014-04-24 David Blaikie <dblaikie@gmail.com>
14634
14635 * gdb.base/label.exp: XFAIL label related tests under Clang.
14636 * gdb.cp/cplabel.exp: Ditto.
14637 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14638 under Clang those using labels.
14639
14640 2014-04-25 Yao Qi <yao@codesourcery.com>
14641
14642 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14643 double_label.
14644 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14645 partial_label and double_label.
14646
14647 2014-04-24 David Blaikie <dblaikie@gmail.com>
14648
14649 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14650
14651 2014-04-24 David Blaikie <dblaikie@gmail.com>
14652
14653 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14654 of the function to work across GCC and Clang.
14655 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14656 pointer types (const void ** const V void **).
14657
14658 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14659 Walfred Tedeschi <walfred.tedeschi@intel.com>
14660
14661 * Makefile.in (EXECUTABLES): Added i386-avx512.
14662 * gdb.arch/i386-avx512.c: New file.
14663 * gdb.arch/i386-avx512.exp: Likewise.
14664
14665 2014-04-23 Keith Seitz <keiths@redhat.com>
14666
14667 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14668 (mi_make_breakpoint_table): New procedure.
14669 (mi_create_breakpoint): Use mi_make_breakpoint
14670 and return the result.
14671 (mi_make_breakpoint): New procedure.
14672 (mi_build_kv_pairs): New procedure.
14673
14674 * gdb.mi/mi-break.exp: Remove unused globals,
14675 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14676 All callers updated.
14677 * gdb.mi/mi-dprintf.exp: Use variable to track command
14678 number.
14679 Update all callers of mi_create_breakpoint and use
14680 mi_make_breakpoint_table.
14681 Remove any unused global variables.
14682 * gdb.mi/mi-nonstop.exp: Likewise.
14683 * gdb.mi/mi-nsintrall.exp: Likewise.
14684 * gdb.mi/mi-nsmoribund.exp: Likewise.
14685 * gdb.mi/mi-nsthrexec.exp: Likewise.
14686 * gdb.mi/mi-reverse.exp: Likewise.
14687 * gdb.mi/mi-simplerun.exp: Likewise.
14688 * gdb.mi/mi-stepn.exp: Likewise.
14689 * gdb.mi/mi-syn-frame.exp: Likewise.
14690 * gdb.mi/mi-until.exp: Likewise.
14691 * gdb.mi/mi-var-cp.exp: Likewise.
14692 * gdb.mi/mi-var-display.exp: Likewise.
14693 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14694 * gdb.mi/mi2-var-child.exp: Likewise.
14695 * gdb.mi/mi-vla-c99.exp: Likewise.
14696 * lib/mi-support.exp: Likewise.
14697
14698 From Ian Lance Taylor <iant@cygnus.com>:
14699 * lib/gdb.exp (parse_args): New procedure.
14700
14701 2014-04-23 Pedro Alves <palves@redhat.com>
14702
14703 * gdb.base/break-unload-file.c: New file.
14704 * gdb.base/break-unload-file.exp: New file.
14705 * gdb.base/sym-file-lib.c (baz): New function.
14706 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14707 field.
14708 (load): Store the segment's mapped size.
14709 (unload): New function.
14710 (unload_shlib): New function.
14711 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14712 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14713 set a breakpoint at baz, and call it.
14714 * gdb.base/sym-file.exp: New tests for stale breakpoint
14715 instructions.
14716
14717 2014-04-23 Pedro Alves <palves@redhat.com>
14718
14719 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14720 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14721 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14722 * gdb.base/hbreak-unmapped.c: New file.
14723 * gdb.base/hbreak-unmapped.exp: New file.
14724 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14725 * lib/gdb.exp (gdb_is_target_remote): ... here.
14726
14727 2014-04-22 Pedro Alves <palves@redhat.com>
14728
14729 * gdb.base/consecutive-step-over.c: New file.
14730 * gdb.base/consecutive-step-over.exp: New file.
14731
14732 2014-04-22 Pedro Alves <palves@redhat.com>
14733
14734 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14735 instead of send_gdb/gdb_expect.
14736
14737 2014-04-22 Yao Qi <yao@codesourcery.com>
14738
14739 * lib/trace-support.exp (generate_tracefile): New procedure.
14740 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14741 return 0.
14742 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14743 if generate_tracefile returns 1.
14744
14745 2014-04-18 Tom Tromey <palves@redhat.com>
14746 Pedro alves <tromey@redhat.com>
14747
14748 PR backtrace/15558
14749 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14750 with a backtrace limit.
14751 * gdb.python/py-frame-inline.exp: Test running to an inline
14752 function with a backtrace limit, and printing the newest frame.
14753 * gdb.python/py-frame-inline.c (main): Call f.
14754
14755 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14756
14757 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14758
14759 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14760
14761 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14762 Drop prefix from unsupported source file path.
14763
14764 2014-04-17 Yao Qi <yao@codesourcery.com>
14765
14766 * lib/gdb.exp (with_target_charset): New proc.
14767 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14768 with_target_charset.
14769 (test_print_strings): Likewise.
14770 (test_repeat_bytes): Likewise.
14771 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14772 for some tests.
14773
14774 2014-04-16 Keith Seitz <keiths@redhat.com>
14775
14776 PR gdb/15827
14777 * gdb.dwarf2/corrupt.c: New file.
14778 * gdb.dwarf2/corrupt.exp: New file.
14779
14780 2014-04-16 Keith Seitz <keiths@redhat.com>
14781
14782 PR c++/16597
14783 * gdb.cp/namelessclass.cc: New file.
14784 * gdb.cp/namelessclass.exp: New file.
14785 * gdb.cp/namelessclass.S: New file.
14786
14787 2014-04-16 Doug Evans <dje@google.com>
14788
14789 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14790 Add comment.
14791 (gdbserver_default_get_comm_port): New function.
14792 (gdbserver_start): Check if board file provided
14793 "gdbserver,get_comm_port" and use it if so.
14794 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14795 (gdb,socketport): Set to "stdio".
14796 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14797 (stdio_gdbserver_template): Delete.
14798 (${board}_get_remote_address): Update.
14799 (${board}_build_remote_cmd): Delete.
14800 (${board}_get_comm_port): New function.
14801 (${board}_spawn): Update.
14802 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14803 Delete.
14804 (${board}_get_remote_address): Update.
14805 (${board}_get_comm_port): New function.
14806
14807 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14808
14809 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14810 appearing in any order.
14811
14812 2014-04-15 Doug Evans <dje@google.com>
14813
14814 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14815 uninitialized value of "description".
14816
14817 2014-04-15 Keith Seitz <keiths@redhat.com>
14818
14819 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14820 Remove unused globals.
14821 (test_running_the_program): Likewise.
14822 (test_controlled_execution): Likewise.
14823 (test_controlling_breakpoints): Likewise.
14824 (test_program_termination): Likewise.
14825
14826 2014-04-15 Keith Seitz <keiths@redhat.com>
14827
14828 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14829 unused globals.
14830 (test_rbreak_creation_and_listing): Likewise.
14831 (test_ignore_count): Likewise.
14832 (test_error): Likewise.
14833
14834 2014-04-15 Pedro Alves <palves@redhat.com>
14835
14836 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14837 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14838 sym-file-loader.c.
14839 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14840 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14841 to sym-file-loader.c.
14842 (struct library): Forward declare.
14843 (load_shlib, lookup_function): Change prototypes.
14844 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14845 (translate_offset): Remove declarations.
14846 (get_text_addr): New declaration.
14847 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14848 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14849 sym-file-loader.h.
14850 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14851 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14852 here from sym-file-loader.h.
14853 (struct library): New structure.
14854 (load_shlib, lookup_function): Change prototypes and adjust to
14855 work with a struct library.
14856 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14857 (translate_offset): Make static.
14858 (get_text_addr): New function.
14859 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14860
14861 2014-04-15 Pedro Alves <palves@redhat.com>
14862
14863 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14864
14865 2014-04-15 Pedro Alves <palves@redhat.com>
14866
14867 * gdb.base/sym-file-loader.c: Include <limits.h>.
14868 (SELF_LINK): New define.
14869 (get_origin): New function.
14870 (load_shlib): Use it.
14871 * gdb.base/sym-file.exp: Don't early return if the target is
14872 remote. Use runto_main, and issue fail is that fails. Use
14873 gdb_load_shlibs.
14874 (shlib_name): Delete.
14875 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14876
14877 2014-04-15 Pedro Alves <palves@redhat.com>
14878
14879 * gdb.base/sym-file.exp: Remove regex characters from test
14880 message. Don't refer to breakpoint numbers in test messages.
14881
14882 2014-04-14 Keith Seitz <keiths@redhat.com>
14883
14884 PR c++/16253
14885 * gdb.cp/var-tag.cc: New file.
14886 * gdb.cp/var-tag.exp: New file.
14887 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14888 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14889 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14890 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14891
14892 2014-04-14 Tom Tromey <tromey@redhat.com>
14893
14894 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14895 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14896 type.
14897 * gdb.cp/enum-class.exp: New file.
14898 * gdb.cp/enum-class.cc: New file.
14899
14900 2014-04-14 Tom Tromey <tromey@redhat.com>
14901
14902 * gdb.dwarf2/enum-type.exp: New file.
14903
14904 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14905
14906 * gdb.mi/mi-vla-c99.exp: New file.
14907 * gdb.mi/vla.c: New file.
14908
14909 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14910
14911 * gdb.base/vla-datatypes.c: New file.
14912 * gdb.base/vla-datatypes.exp: New file.
14913
14914 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14915
14916 * gdb.base/vla-ptr.c: New file.
14917 * gdb.base/vla-ptr.exp: New file.
14918
14919 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14920
14921 * gdb.dwarf2/count.exp: New file.
14922
14923 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14924
14925 * gdb.base/vla-sideeffect.c: New file.
14926 * gdb.base/vla-sideeffect.exp: New file.
14927
14928 2014-04-14 David Blaikie <dblaikie@gmail.com>
14929
14930 * gdb.mi/non-stop.c: Add return value for non-void function return
14931 statement.
14932 * gdb.threads/staticthreads.c: Ditto.
14933
14934 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14935 Doug Evans <xdje42@gmail.com>
14936
14937 * gdb.guile/scm-value.c: Improve test case.
14938 * gdb.guile/scm-value.exp: Add new test.
14939
14940 2014-04-11 David Blaikie <dblaikie@gmail.com>
14941
14942 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14943 override Clang's default.
14944
14945 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14946
14947 Revert the following changes (regressions):
14948
14949 * gdb.base/vla-sideeffect.c: New file.
14950 * gdb.base/vla-sideeffect.exp: New file.
14951
14952 * gdb.dwarf2/count.exp: New file.
14953
14954 * gdb.base/vla-multi.c: New file.
14955 * gdb.base/vla-multi.exp: New file.
14956
14957 * gdb.base/vla-ptr.c: New file.
14958 * gdb.base/vla-ptr.exp: New file.
14959
14960 * gdb.base/vla-datatypes.c: New file.
14961 * gdb.base/vla-datatypes.exp: New file.
14962
14963 * gdb.mi/mi-vla-c99.exp: New file.
14964 * gdb.mi/vla.c: New file.
14965
14966 2014-04-11 Keith Seitz <keiths@redhat.com>
14967
14968 PR c++/16675
14969 * gdb.cp/cpsizeof.exp: New file.
14970 * gdb.cp/cpsizeof.cc: New file.
14971
14972 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14973
14974 * gdb.mi/mi-vla-c99.exp: New file.
14975 * gdb.mi/vla.c: New file.
14976
14977 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14978
14979 * gdb.base/vla-datatypes.c: New file.
14980 * gdb.base/vla-datatypes.exp: New file.
14981
14982 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14983
14984 * gdb.base/vla-ptr.c: New file.
14985 * gdb.base/vla-ptr.exp: New file.
14986
14987 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14988
14989 * gdb.base/vla-multi.c: New file.
14990 * gdb.base/vla-multi.exp: New file.
14991
14992 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14993
14994 * gdb.dwarf2/count.exp: New file.
14995
14996 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14997
14998 * gdb.base/vla-sideeffect.c: New file.
14999 * gdb.base/vla-sideeffect.exp: New file.
15000
15001 2014-04-11 Yao Qi <yao@codesourcery.com>
15002
15003 * gdb.base/completion.exp: Check file exists before running tests
15004 on file completion.
15005
15006 2014-04-10 Pedro Alves <palves@redhat.com>
15007
15008 * gdb.base/cond-eval-mode.c: New file.
15009 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15010 prepare_for_testing to build the new file. Check result of
15011 runto_main.
15012 (test_break, test_watch): New procedures.
15013 (top level): Use them.
15014
15015 2014-04-08 Pierre Muller <muller@sourceware.org>
15016
15017 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15018 Ctrl-V use for mingw hosts.
15019
15020 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15021
15022 * gdb.python/py-value.c: Improve test case.
15023 * gdb.python/py-value.exp: Add new test.
15024
15025 2014-04-07 David Blaikie <dblaikie@gmail.com>
15026
15027 * lib/compiler.c: Identify the clang compiler.
15028 * lib/compiler.cc: Ditto.
15029
15030 2014-04-03 Yao Qi <yao@codesourcery.com>
15031
15032 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15033
15034 2014-04-01 Anton Blanchard <anton@samba.org>
15035
15036 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15037 messages unique.
15038
15039 2014-04-01 Anton Blanchard <anton@samba.org>
15040
15041 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15042 prepare_for_testing.
15043
15044 2014-04-01 Anton Blanchard <anton@samba.org>
15045
15046 * gdb.arch/ppc64-atomic-inst.c: Remove.
15047 * gdb.arch/ppc64-atomic-inst.S: New file.
15048 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15049
15050 2014-03-31 Doug Evans <dje@google.com>
15051
15052 * gdb.base/print-symbol-loading-lib.c: New file.
15053 * gdb.base/print-symbol-loading-main.c: New file.
15054 * gdb.base/print-symbol-loading.exp: New file.
15055
15056 2014-03-31 Yao Qi <yao@codesourcery.com>
15057
15058 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15059
15060 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15061
15062 * gdb.ada/mi_dyn_arr: New testcase.
15063
15064 2014-03-27 Doug Evans <dje@google.com>
15065
15066 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15067
15068 2014-03-27 Yao Qi <yao@codesourcery.com>
15069
15070 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15071 if target is nios2-*-*.
15072
15073 2014-03-26 Yao Qi <yao@codesourcery.com>
15074
15075 * lib/gdb.exp (readline_is_used): New proc.
15076 * gdb.base/completion.exp: Move tests on command complete up.
15077 Skip the rest of tests if readline is not used.
15078 * gdb.ada/complete.exp: Skp the test if readline is not
15079 used.
15080 * gdb.base/filesym.exp: Likewise.
15081 * gdb.base/macscp.exp: Likewise.
15082 * gdb.base/readline-ask.exp: Likewise.
15083 * gdb.base/readline.exp: Likewise.
15084 * gdb.python/py-cmd.exp: Likewise.
15085 * gdb.trace/tfile.exp: Likewise.
15086
15087 2014-03-26 Yao Qi <yao@codesourcery.com>
15088
15089 * gdb.base/macscp.exp: Fix code format issues.
15090
15091 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15092
15093 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15094 * gdb.asm/powerpc64le.inc: New file.
15095
15096 2014-03-25 Pedro Alves <palves@redhat.com>
15097 Doug Evans <dje@google.com>
15098
15099 * gdb.base/source-execution.c: New file.
15100 * gdb.base/source-execution.exp: New file.
15101 * gdb.base/source-execution.gdb: New file.
15102
15103 2014-03-24 Doug Evans <dje@google.com>
15104
15105 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15106 using fission.
15107
15108 2014-03-24 Hui Zhu <hui@codesourcery.com>
15109 Pedro Alves <palves@redhat.com>
15110
15111 PR breakpoints/16101
15112 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15113 test pass/fail messages. Detect missing support for dprintf when
15114 breakpoints are actually inserted.
15115 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15116 breakpoints are actually inserted.
15117 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15118 fails.
15119
15120 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15121
15122 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15123
15124 2014-03-22 Doug Evans <xdje42@gmail.com>
15125
15126 * gdb.python/python.exp (python not supported): Verify multi-line
15127 python command issues an error.
15128 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15129 guile command issues an error.
15130
15131 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15132
15133 * gdb.threads/thread-specific.exp: Handle the lack of usable
15134 $this_breakpoint and $this_thread.
15135
15136 2014-03-21 Hui Zhu <hui@codesourcery.com>
15137
15138 * gdb.base/attach.exp (do_command_attach_tests): New.
15139
15140 2014-03-20 Tom Tromey <tromey@redhat.com>
15141 Pedro Alves <palves@redhat.com>
15142
15143 PR cli/15718
15144 * gdb.base/condbreak-call-false.c: New file.
15145 * gdb.base/condbreak-call-false.exp: New file.
15146
15147 2014-03-20 Pedro Alves <palves@redhat.com>
15148
15149 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15150 Delete.
15151 (block_signals, unblock_signals): Delete.
15152 (child_function_2, main): Remove references to deleted variable
15153 and functions.
15154
15155 2014-03-20 Pedro Alves <palves@redhat.com>
15156
15157 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15158 Use pthread_kill to signal thread 2.
15159 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15160 Adjust to make the test send itself a signal rather than using the
15161 host's "kill" command.
15162
15163 2014-03-20 Pedro Alves <palves@redhat.com>
15164
15165 * gdb.threads/multiple-step-overs.c: New file.
15166 * gdb.threads/multiple-step-overs.exp: New file.
15167 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15168 Adjust expected infrun debug output.
15169
15170 2014-03-20 Pedro Alves <palves@redhat.com>
15171
15172 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15173 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15174
15175 2014-03-20 Pedro Alves <palves@redhat.com>
15176
15177 PR breakpoints/7143
15178 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15179 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15180 of gdb_test_multiple.
15181 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15182 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15183
15184 2014-03-20 Pedro Alves <palves@redhat.com>
15185
15186 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15187 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15188
15189 2014-03-19 Pedro Alves <palves@redhat.com>
15190
15191 * gdb.base/async.exp: Remove early return.
15192
15193 2014-03-19 Pedro Alves <palves@redhat.com>
15194
15195 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15196
15197 2014-03-19 Pedro Alves <palves@redhat.com>
15198
15199 * gdb.base/async.exp (test_background): Expect \r\n after
15200 "completed." in the fail pattern.
15201
15202 2014-03-19 Pedro Alves <palves@redhat.com>
15203
15204 * gdb.base/async.exp (test_background): New procedure.
15205 Use it for all background execution command tests.
15206
15207 2014-03-19 Pedro Alves <palves@redhat.com>
15208
15209 * gdb.base/async.exp: Use prepare_for_testing.
15210
15211 2014-03-19 Pedro Alves <palves@redhat.com>
15212
15213 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15214 the same line.
15215
15216 2014-03-19 Pedro Alves <palves@redhat.com>
15217
15218 * gdb.base/async.c (main): Add "jump here" and "until here" line
15219 marker comments.
15220 * gdb.base/async.exp (jump_here): New global.
15221 (jump& test): Use it.
15222 (until_here): New global.
15223 (until& test): Use it.
15224
15225 2014-03-19 Pedro Alves <palves@redhat.com>
15226
15227 * gdb.base/async.exp: Don't frob gdb_protocol.
15228
15229 2014-03-18 Doug Evans <xdje42@gmail.com>
15230
15231 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15232 Fix spelling of exec-done-display.
15233
15234 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15235
15236 PR gdb/15358
15237 * gdb.base/gdb-sigterm.c: New file.
15238 * gdb.base/gdb-sigterm.exp: New file.
15239
15240 2014-03-18 Pedro Alves <palves@redhat.com>
15241
15242 PR gdb/13860
15243 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15244 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15245 solib-event.
15246
15247 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15248
15249 * gdb.ada/pckd_arr_ren: New testcase.
15250
15251 2014-03-13 Doug Evans <xdje42@gmail.com>
15252
15253 PR guile/16612
15254 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15255 collect after discarding symbols.
15256
15257 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15258 Doug Evans <xdje42@gmail.com>
15259
15260 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15261 to history survives a gc.
15262
15263 2014-03-13 Pedro Alves <palves@redhat.com>
15264
15265 * gdb.base/default.exp: Don't test "target procfs".
15266
15267 2014-03-13 Pedro Alves <palves@redhat.com>
15268
15269 * gdb.base/default.exp: Update "target child" and "target procfs"
15270 tests to not expect "Unix".
15271
15272 2014-03-12 Tom Tromey <tromey@redhat.com>
15273
15274 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15275 New procs. Add target-async tests.
15276 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15277 Add target-async tests.
15278
15279 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15280
15281 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15282 'func_start' and 'func_end' for the beginning and end of the
15283 function code, respectively.
15284 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15285 'func_end' instead of 'func' and 'main'.
15286
15287 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15288
15289 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15290 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15291 generate the debug info assembler source.
15292
15293 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15294
15295 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15296 * gdb.dwarf2/arr-subrange.exp: Likewise.
15297 * gdb.dwarf2/dwz.exp: Likewise.
15298 * gdb.dwarf2/method-ptr.exp: Likewise.
15299 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15300 * gdb.dwarf2/subrange.exp: Likewise.
15301 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15302 * gdb.dwarf2/implptrpiece.exp: Likewise.
15303 * gdb.dwarf2/nostaticblock.exp: Likewise.
15304
15305 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15306
15307 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15308 directory to absolute path name arguments.
15309
15310 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15311
15312 * gdb.ada/tagged_access: New testcase.
15313
15314 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15315
15316 * gdb.btrace/data.exp: Update expected output.
15317
15318 2014-03-06 Yao Qi <yao@codesourcery.com>
15319
15320 * gdb.trace/pr16508.exp: New file.
15321
15322 2014-03-05 Pedro Alves <palves@redhat.com>
15323
15324 PR gdb/16575
15325 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15326 procedure.
15327 (top level): Adjust to use it. Add tests that exercise breakpoint
15328 interaction with the code-cache.
15329
15330 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15331
15332 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15333 test for 'history-append!'.
15334
15335 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15336
15337 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15338 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15339 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15340 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15341 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15342 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15343
15344 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15345
15346 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15347 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15348 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15349
15350 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15351
15352 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15353
15354 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15355
15356 * gdb.dwarf2/arr-stride.c: New file.
15357 * gdb.dwarf2/arr-stride.exp: New file.
15358
15359 2014-02-26 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15362 that won't ever trigger. Make sure that GDB reports the correct
15363 breakpoint that caused the stop.
15364
15365 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15366
15367 PR gdb/16626
15368 * gdb.base/auto-load-script: New file.
15369 * gdb.base/auto-load.c: New file.
15370 * gdb.base/auto-load.exp: New file.
15371
15372 PR gdb/16626
15373 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15374
15375 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15376
15377 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15378 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15379
15380 2014-02-24 Doug Evans <dje@google.com>
15381
15382 * lib/gdb.exp (run_on_host): Log error output if program fails.
15383
15384 2014-02-21 Pedro Alves <palves@redhat.com>
15385
15386 * gdb.threads/step-after-sr-lock.c: Rename to ...
15387 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15388 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15389 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15390 ... this.
15391
15392 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15393
15394 PR tdep/16397
15395 * gdb.arch/amd64-stap-special-operands.exp: New file.
15396 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15397 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15398 * gdb.arch/amd64-stap-triplet.S: Likewise.
15399 * gdb.arch/amd64-stap-triplet.c: Likewise.
15400
15401 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15402
15403 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15404 in .section pseudo-op.
15405
15406 2014-02-20 lin zuojian <manjian2006@gmail.com>
15407 Joel Brobecker <brobecker@adacore.com>
15408 Doug Evans <xdje42@gmail.com>
15409
15410 PR symtab/16581
15411 * gdb.dwarf2/dw2-icycle.S: New file.
15412 * gdb.dwarf2/dw2-icycle.c: New file.
15413 * gdb.dwarf2/dw2-icycle.exp: New file.
15414
15415 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15416
15417 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15418 operations on gdb.Value objects.
15419 * gdb.python/py-value-cc.exp: Add new test to test operations on
15420 gdb.Value objects.
15421
15422 2014-02-18 Doug Evans <dje@google.com>
15423
15424 * Makefile.in (TESTS): New variable.
15425 (expanded_tests, expanded_tests_or_none): New variables
15426 (check-single): Pass $(expanded_tests_or_none) to runtest.
15427 (check-parallel): Only run tests in $(TESTS) if non-empty.
15428 (check/no-matching-tests-found): New rule.
15429 * README: Document TESTS makefile variable.
15430
15431 2014-02-18 Doug Evans <dje@google.com>
15432
15433 * Makefile.in (check-parallel): rm -rf outputs temp.
15434
15435 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15436
15437 Fix "ERROR: no fileid for" in the testsuite.
15438 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15439
15440 2014-02-12 Doug Evans <dje@google.com>
15441
15442 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15443 (MISCELLANEOUS): New variable.
15444 (clean): rm -rf $(MISCELLANEOUS).
15445 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15446 dwp live in the same directory as symlinks, with each symlink pointed
15447 to a differently named file in a different directory.
15448
15449 2014-02-11 Doug Evans <dje@google.com>
15450
15451 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15452 of Tcl file commands.
15453
15454 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15455
15456 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15457 "kill -SIGUSR1 -1".
15458
15459 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15460
15461 * gdb.ada/tick_length_array_enum_idx: New testcase.
15462
15463 2014-02-10 Doug Evans <xdje42@gmail.com>
15464
15465 * configure.ac (AC_OUTPUT): Add gdb.guile.
15466 * configure: Regenerate.
15467 * lib/gdb-guile.exp: New file.
15468 * lib/gdb.exp (get_target_charset): New function.
15469 * gdb.base/help.exp: Update expected output from "apropos apropos".
15470 * gdb.guile/Makefile.in: New file.
15471 * gdb.guile/guile.exp: New file.
15472 * gdb.guile/scm-arch.c: New file.
15473 * gdb.guile/scm-arch.exp: New file.
15474 * gdb.guile/scm-block.c: New file.
15475 * gdb.guile/scm-block.exp: New file.
15476 * gdb.guile/scm-breakpoint.c: New file.
15477 * gdb.guile/scm-breakpoint.exp: New file.
15478 * gdb.guile/scm-disasm.c: New file.
15479 * gdb.guile/scm-disasm.exp: New file.
15480 * gdb.guile/scm-equal.c: New file.
15481 * gdb.guile/scm-equal.exp: New file.
15482 * gdb.guile/scm-error.exp: New file.
15483 * gdb.guile/scm-error.scm: New file.
15484 * gdb.guile/scm-frame-args.c: New file.
15485 * gdb.guile/scm-frame-args.exp: New file.
15486 * gdb.guile/scm-frame-args.scm: New file.
15487 * gdb.guile/scm-frame-inline.c: New file.
15488 * gdb.guile/scm-frame-inline.exp: New file.
15489 * gdb.guile/scm-frame.c: New file.
15490 * gdb.guile/scm-frame.exp: New file.
15491 * gdb.guile/scm-generics.exp: New file.
15492 * gdb.guile/scm-gsmob.exp: New file.
15493 * gdb.guile/scm-iterator.c: New file.
15494 * gdb.guile/scm-iterator.exp: New file.
15495 * gdb.guile/scm-math.c: New file.
15496 * gdb.guile/scm-math.exp: New file.
15497 * gdb.guile/scm-objfile-script-gdb.in: New file.
15498 * gdb.guile/scm-objfile-script.c: New file.
15499 * gdb.guile/scm-objfile-script.exp: New file.
15500 * gdb.guile/scm-objfile.c: New file.
15501 * gdb.guile/scm-objfile.exp: New file.
15502 * gdb.guile/scm-ports.exp: New file.
15503 * gdb.guile/scm-pretty-print.c: New file.
15504 * gdb.guile/scm-pretty-print.exp: New file.
15505 * gdb.guile/scm-pretty-print.scm: New file.
15506 * gdb.guile/scm-section-script.c: New file.
15507 * gdb.guile/scm-section-script.exp: New file.
15508 * gdb.guile/scm-section-script.scm: New file.
15509 * gdb.guile/scm-symbol.c: New file.
15510 * gdb.guile/scm-symbol.exp: New file.
15511 * gdb.guile/scm-symtab-2.c: New file.
15512 * gdb.guile/scm-symtab.c: New file.
15513 * gdb.guile/scm-symtab.exp: New file.
15514 * gdb.guile/scm-type.c: New file.
15515 * gdb.guile/scm-type.exp: New file.
15516 * gdb.guile/scm-value-cc.cc: New file.
15517 * gdb.guile/scm-value-cc.exp: New file.
15518 * gdb.guile/scm-value.c: New file.
15519 * gdb.guile/scm-value.exp: New file.
15520 * gdb.guile/source2.scm: New file.
15521 * gdb.guile/types-module.cc: New file.
15522 * gdb.guile/types-module.exp: New file.
15523
15524 2014-02-10 Yao Qi <yao@codesourcery.com>
15525
15526 PR testsuite/16543
15527 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15528 * configure: Regenerated.
15529 * Makefile.in: New file.
15530
15531 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15532
15533 * gdb.python/py-framefilter.exp: Fix typo.
15534
15535 2014-02-08 Yao Qi <yao@codesourcery.com>
15536
15537 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15538 that no =breakpoint-modified is emitted when breakpoints are
15539 modified through MI commands.
15540
15541 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15542 Pedro Alves <palves@redhat.com>
15543
15544 * gdb.threads/step-after-sr-lock.c: New file.
15545 * gdb.threads/step-after-sr-lock.exp: New file.
15546
15547 2014-02-07 Pedro Alves <palves@redhat.com>
15548
15549 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15550
15551 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15552
15553 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15554 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15555
15556 2014-02-06 Doug Evans <xdje42@gmail.com>
15557
15558 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15559 output.
15560
15561 * gdb.gdb/python-interrupts.exp: New file.
15562
15563 2014-02-05 Yao Qi <yao@codesourcery.com>
15564
15565 * gdb.trace/report.exp (use_collected_data): Test the output
15566 of "info threads" and "info inferiors".
15567
15568 2014-02-05 Yao Qi <yao@codesourcery.com>
15569
15570 Revert this patch:
15571
15572 2013-05-24 Yao Qi <yao@codesourcery.com>
15573
15574 * gdb.trace/tfile.exp: Test inferior and thread.
15575
15576 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15577
15578 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15579 on a function.
15580 * gdb.base/step-bt.c: Call hello via function pointer to make
15581 sure its first instruction is executed on powerpc64le-linux.
15582
15583 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15584
15585 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15586
15587 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15588
15589 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15590 of the test patterns for use on little-endian systems.
15591
15592 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15593
15594 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15595 (decimal_vector): Fix for little-endian.
15596
15597 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15598
15599 * gdb.arch/sparc-sysstep.exp: New file.
15600 * gdb.arch/sparc-sysstep.c: Likewise.
15601
15602 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15603
15604 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15605
15606 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15607
15608 2014-01-23 Tom Tromey <tromey@redhat.com>
15609
15610 * gdb.ada/array_char_idx: New testcase.
15611
15612 2014-01-23 Tom Tromey <tromey@redhat.com>
15613
15614 PR python/16487:
15615 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15616 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15617 classes.
15618
15619 2014-01-23 Tom Tromey <tromey@redhat.com>
15620
15621 PR python/16491:
15622 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15623 string from an inferior frame.
15624 * gdb.python/py-framefilter-mi.exp: Update.
15625
15626 2014-01-22 Doug Evans <dje@google.com>
15627
15628 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15629
15630 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15631
15632 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15633
15634 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15635
15636 * gdb.trace/entry-values.exp: Remove excess space character from
15637 regex patterns. Handle s390 call instruction.
15638
15639 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15640
15641 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15642 define "*_start" label. Make "name" static.
15643 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15644 ${name} by references to ${name}_start.
15645
15646 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15647
15648 * gdb.base/info-macros.exp: Remove "debug" from the compile
15649 options.
15650
15651 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15652
15653 * gdb.dlang/demangle.exp: New file.
15654
15655 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15656
15657 * gdb.dlang/primitive-types.exp: New file.
15658
15659 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15660
15661 * configure.ac: Create gdb.dlang/Makefile.
15662 * configure: Regenerate.
15663 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15664 * gdb.dlang/Makefile.in: New file.
15665 * lib/d-support.exp: New file.
15666 * lib/gdb.exp (skip_d_tests): New proc.
15667
15668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15669
15670 * gdb.btrace/delta.exp: Check reverse stepi.
15671 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15672 * gdb.btrace/finish.exp: New.
15673 * gdb.btrace/next.exp: New.
15674 * gdb.btrace/nexti.exp: New.
15675 * gdb.btrace/record_goto.c: Add comments.
15676 * gdb.btrace/step.exp: New.
15677 * gdb.btrace/stepi.exp: New.
15678 * gdb.btrace/multi-thread-step.c: New.
15679 * gdb.btrace/multi-thread-step.exp: New.
15680 * gdb.btrace/rn-dl-bind.c: New.
15681 * gdb.btrace/rn-dl-bind.exp: New.
15682 * gdb.btrace/data.c: New.
15683 * gdb.btrace/data.exp: New.
15684 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15685
15686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15687
15688 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15689 * gdb.btrace/exception.exp: Update.
15690 * gdb.btrace/instruction_history.exp: Update.
15691 * gdb.btrace/record_goto.exp: Update.
15692 * gdb.btrace/tailcall.exp: Update.
15693 * gdb.btrace/unknown_functions.exp: Update.
15694 * gdb.btrace/delta.exp: New.
15695
15696 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15697
15698 * gdb.btrace/record_goto.exp: Add backtrace test.
15699 * gdb.btrace/tailcall.exp: Add backtrace test.
15700
15701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15702
15703 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15704 * gdb.btrace/record_goto.c: New.
15705 * gdb.btrace/record_goto.exp: New.
15706 * gdb.btrace/x86-record_goto.S: New.
15707
15708 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15709
15710 * gdb.btrace/function_call_history.exp: Update tests.
15711 * gdb.btrace/instruction_history.exp: Update tests.
15712
15713 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15714
15715 * gdb.btrace/function_call_history.exp: Fix expected field
15716 order for "record function-call-history".
15717 Add new tests for "record function-call-history /c".
15718 * gdb.btrace/exception.cc: New.
15719 * gdb.btrace/exception.exp: New.
15720 * gdb.btrace/tailcall.exp: New.
15721 * gdb.btrace/x86-tailcall.S: New.
15722 * gdb.btrace/x86-tailcall.c: New.
15723 * gdb.btrace/unknown_functions.c: New.
15724 * gdb.btrace/unknown_functions.exp: New.
15725 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15726
15727 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15728
15729 * gdb.btrace/instruction_history.exp: Update.
15730 * gdb.btrace/function_call_history.exp: Update.
15731
15732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15733
15734 * gdb.btrace/function_call_history.exp: Fix expected function
15735 trace.
15736 * gdb.btrace/instruction_history.exp: Initialize traced.
15737 Remove traced_functions.
15738
15739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15740
15741 * gdb.btrace/function_call_history.exp: Update
15742 * gdb.btrace/instruction_history.exp: Update.
15743
15744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15745
15746 * gdb.btrace/enable.exp: Update expected text.
15747
15748 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15749
15750 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15751 bytes.
15752
15753 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15754
15755 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15756
15757 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15758
15759 * lib/gdb.exp (supports_process_record): Return true for
15760 arm*-linux*. (supports_reverse): Likewise.
15761
15762 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15763
15764 PR python/15464
15765 PR python/16113
15766 * gdb.python/py-type.c: Enhance test case.
15767 * gdb.python/py-value-cc.cc: Likewise
15768 * gdb.python/py-type.exp: Add new tests.
15769 * gdb.python/py-value-cc.exp: Likewise
15770
15771 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15772 Pedro Alves <palves@redhat.com>
15773
15774 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15775 Make "name" extern.
15776 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15777 references to ${name}_start by references to ${name}.
15778
15779 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15780
15781 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15782
15783 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15784
15785 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15786
15787 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15788 Pedro Alves <palves@redhat.com>
15789
15790 * gdb.mi/mi-info-os.exp: Connect to the target with
15791 mi_gdb_target_load.
15792
15793 2014-01-08 Pedro Alves <palves@redhat.com>
15794
15795 * gdb.threads/reconnect-signal.c: New file.
15796 * gdb.threads/reconnect-signal.exp: New file.
15797
15798 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15799
15800 * gdb.base/source-dir.exp: New file.
15801
15802 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15803
15804 * gdb.ada/mi_interface: New testcase.
15805
15806 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15807
15808 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15809 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15810 gdb.ada/pp-rec-component/pck.ads: New files.
15811
15812 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15813
15814 * gdb.python/py-pp-integral.c: New file.
15815 * gdb.python/py-pp-integral.py: New file.
15816 * gdb.python/py-pp-integral.exp: New file.
15817
15818 For older changes see ChangeLog-1993-2013.
15819 \f
15820 ;; Local Variables:
15821 ;; mode: change-log
15822 ;; left-margin: 8
15823 ;; fill-column: 74
15824 ;; version-control: never
15825 ;; End:
15826
15827 Copyright 2014-2019 Free Software Foundation, Inc.
15828 Copying and distribution of this file, with or without modification,
15829 are permitted provided the copyright notice and this notice are preserved.