testsuite: Record all gdb input to gdb.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f9e2e39d
AH
12019-05-17 Alan Hayward <alan.hayward@arm.com>
2
3 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4 (delete_breakpoints): Likewise.
5 (gdb_run_cmd): Likewise.
6 (gdb_start_cmd): Likewise.
7 (gdb_starti_cmd): Likewise.
8 (gdb_internal_error_resync): Likewise.
9 (gdb_test_multiple): Likewise.
10 (gdb_reinitialize_dir): Likewise.
11 (default_gdb_exit): Likewise.
12 (gdb_file_cmd): Mark kill as optional.
13 (default_gdb_start): Call gdb_stdin_log_init.
14 (send_gdb): Call gdb_stdin_log_write.
15 (rerun_to_main): Mark Y as an answer.
16 (gdb_stdin_log_init): New function.
17 (gdb_stdin_log_write): Likewise.
18
81f47ac2
AH
192019-05-17 Alan Hayward <alan.hayward@arm.com>
20
21 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
22 * gdb.base/debug-expr.exp: Likewise.
23 * gdb.base/foll-fork.exp: Likewise.
24 * gdb.base/foll-vfork.exp: Likewise.
25 * gdb.base/fork-print-inferior-events.exp: Likewise.
26 * gdb.base/gdb-sigterm.exp: Likewise.
27 * gdb.base/gdbinit-history.exp: Likewise.
28 * gdb.base/osabi.exp: Likewise.
29 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
30 * gdb.base/ui-redirect.exp: Likewise.
31 * gdb.gdb/unittest.exp: Likewise.
32 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
33 * gdb.mi/mi-watch.exp: Likewise.
34 * gdb.mi/new-ui-mi-sync.exp: Likewise.
35 * gdb.mi/user-selected-context-sync.exp: Likewise.
36 * gdb.python/python.exp: Disable debug test when debugging.
37 * gdb.threads/check-libthread-db.exp: Disable when debugging.
38 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
39 Likewise.
40 * gdb.threads/stepi-random-signal.exp: Likewise.
41
29b52314
AH
422019-05-17 Alan Hayward <alan.hayward@arm.com>
43
44 * Makefile.in: Pass through GDB_DEBUG.
45 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
46 (gdb,debug): Add board setting.
47 * lib/gdb.exp (default_gdb_start): Start debugging.
48 (gdb_debug_enabled): New procedure.
49 (gdb_debug_init): Likewise.
29b52314
AH
50
512019-05-17 Alan Hayward <alan.hayward@arm.com>
81f47ac2 52
29b52314
AH
53 * Makefile.in: Pass through GDB_DEBUG.
54 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
55 (gdb,debug): Add board setting.
56 * lib/gdb.exp (default_gdb_start): Start debugging.
57 (gdb_debug_enabled): New procedure.
58 (gdb_debug_init): Likewise.
29b52314 59
ca1285d1
AH
602019-05-17 Alan Hayward <alan.hayward@arm.com>
61
62 * gdb.base/ui-redirect.exp: Add debug redirect tests.
63
f3a09c80
AH
642019-05-17 Alan Hayward <alan.hayward@arm.com>
65
66 * gdb.base/ui-redirect.exp: Test redirection.
67
26648588
JV
682019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
69
70 * gdb.mi/mi-complete.exp: New file.
71 * gdb.mi/mi-complete.cc: Likewise.
72
14237686
AB
732019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
74
75 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
76 indexed and sliced arrays, and pointers to arrays.
77
e7bd7fba
TT
782019-05-14 Tom Tromey <tromey@adacore.com>
79
80 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
81 styling test.
82
2764128d
TV
832019-05-14 Tom de Vries <tdevries@suse.de>
84
85 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
86 selection entry encoding.
87
71bed2db
TT
882019-05-10 Tom Tromey <tromey@adacore.com>
89
90 * gdb.ada/info_exc.exp: Add "complete" test.
91
63b667ad
TV
922019-05-09 Tom de Vries <tdevries@suse.de>
93
94 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
95 CU-relative.
96
9cfd2b89
TV
972019-05-09 Tom de Vries <tdevries@suse.de>
98
99 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
100 CU-relative.
101
2228ef77
XR
1022019-05-08 Joel Brobecker <brobecker@adacore.com>
103
104 * gdb.ada/frame_arg_lang.exp: New testcase.
105 * gdb.ada/frame_arg_lang/bla.adb: New file.
106 * gdb.ada/frame_arg_lang/pck.ads: New file.
107 * gdb.ada/frame_arg_lang/pck.adb: New file.
108 * gdb.ada/frame_arg_lang/foo.c: New file.
109
80e55b13
TT
1102019-05-08 Tom Tromey <tromey@adacore.com>
111
112 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
113
9d3421af
TT
1142019-05-08 Tom Tromey <tromey@adacore.com>
115
116 * gdb.base/ptype-offsets.exp: Update tests.
117
844333e2
TT
1182019-05-08 Tom Tromey <tromey@adacore.com>
119
120 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
121 cases.
122 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
123 "short".
124
988915ee
TT
1252019-05-08 Tom Tromey <tromey@adacore.com>
126
127 * gdb.ada/vla.exp: New file.
128 * gdb.ada/vla/vla.adb: New file.
129
7bd55dac
TV
1302019-05-07 Tom de Vries <tdevries@suse.de>
131
132 * gdb.base/index-cache.exp (ls_host): Fix return statement.
133
75f06e9d
TV
1342019-05-07 Tom de Vries <tdevries@suse.de>
135
136 PR testsuite/24522
137 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
138 section.
139
77e7aaa4
TV
1402019-05-07 Tom de Vries <tdevries@suse.de>
141
142 PR testsuite/24522
143 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
144 .debug_aranges section.
145
456ba0fa
TV
1462019-05-07 Tom de Vries <tdevries@suse.de>
147
148 PR testsuite/24159
149 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
150
5a56d6a6
TV
1512019-05-06 Tom de Vries <tdevries@suse.de>
152
153 * lib/gdb.exp (exec_has_index_section): New proc.
154 * gdb.base/index-cache.exp: Handle case that binfile contains an index
155 section.
156
9d6d4be8
TV
1572019-05-04 Tom de Vries <tdevries@suse.de>
158
159 * boards/cc-with-debug-names.exp: New file.
160
222a8d25
TT
1612019-05-03 Tom Tromey <tromey@adacore.com>
162
163 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
164 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
165 * gdb.ada/char_enum.exp: Add test.
166
0fdfd794
TV
1672019-05-03 Tom de Vries <tdevries@suse.de>
168
169 * boards/cc-with-gdb-index.exp: New file.
170
80062eb9
AB
1712019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.rust/simple.exp: Add new test case.
174 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
175 (main): Initialise an instance of the new struct.
176
4504bbde
TT
1772019-05-01 Tom Tromey <tromey@adacore.com>
178
179 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
180 record.
181 (NPR): New variable.
182 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
183 test.
184
d48e62f4
TT
1852019-05-01 Tom Tromey <tromey@adacore.com>
186
187 * gdb.ada/packed_array_assign.exp: Add packed assignment
188 regression test.
189
f59f30f5
TV
1902019-05-01 Tom de Vries <tdevries@suse.de>
191
192 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
193
b70bfc54
TV
1942019-05-01 Tom de Vries <tdevries@suse.de>
195
196 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
197
15f18d14
AT
1982019-04-30 Ali Tamur <tamur@google.com>
199
200 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
201
2ff0a947
TT
2022019-04-30 Tom Tromey <tromey@adacore.com>
203
204 * lib/ada.exp (find_ada_tool): New proc.
205 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
206 * gdb.ada/catch_ex_std.exp: New file.
207 * gdb.ada/catch_ex_std/foo.adb: New file.
208 * gdb.ada/catch_ex_std/some_package.adb: New file.
209 * gdb.ada/catch_ex_std/some_package.ads: New file.
210
a776957c
TT
2112019-04-30 Tom Tromey <tromey@adacore.com>
212
213 PR c++/24470:
214 * gdb.cp/temargs.cc: Add test code from PR.
215
bc68014d
AB
2162019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * gdb.fortran/vla-datatypes.exp: Update expected results.
219 * gdb.fortran/vla-ptype.exp: Likewise.
220 * gdb.fortran/vla-type.exp: Likewise.
221 * gdb.fortran/vla-value.exp: Likewise.
222
f1fdc960
AB
2232019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
224
225 * gdb.fortran/ptr-indentation.exp: Update expected results.
226 * gdb.fortran/ptype-on-functions.exp: Likewise.
227 * gdb.fortran/vla-ptr-info.exp: Likewise.
228 * gdb.fortran/vla-value.exp: Likewise.
229
bf7a4de1
AB
2302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.fortran/ptype-on-functions.exp: New file.
233 * gdb.fortran/ptype-on-functions.f90: New file.
234
bbe75b9d
AB
2352019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
236
237 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
238 case void string.
239
1db455a7
AB
2402019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.fortran/complex.exp: Expand.
243 * gdb.fortran/complex.f: Renamed to...
244 * gdb.fortran/complex.f90: ...this, and extended to add more
245 complex values.
246
b6d03bb2
AB
2472019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
250 MODULO, CMPLX.
251
2e62ab40
AB
2522019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
253 Richard Bunt <richard.bunt@arm.com>
254
255 * gdb.base/max-depth.c: New file.
256 * gdb.base/max-depth.exp: New file.
257 * gdb.python/py-nested-maps.c: New file.
258 * gdb.python/py-nested-maps.exp: New file.
259 * gdb.python/py-nested-maps.py: New file.
260 * gdb.python/py-format-string.exp (test_max_depth): New proc.
261 (test_all_common): Call test_max_depth.
262 * gdb.fortran/max-depth.exp: New file.
263 * gdb.fortran/max-depth.f90: New file.
264 * gdb.go/max-depth.exp: New file.
265 * gdb.go/max-depth.go: New file.
266 * gdb.modula2/max-depth.exp: New file.
267 * gdb.modula2/max-depth.c: New file.
268 * lib/gdb.exp (get_print_expr_at_depths): New proc.
269
d2b584a5
TV
2702019-04-29 Tom de Vries <tdevries@suse.de>
271
272 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
273
136afab8
PW
2742019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
275
276 * gdb.base/callexit.exp: Test may-call-functions off.
277
725cbb63
KS
2782019-04-25 Keith Seitz <keiths@redhat.com>
279
280 PR c++/24367
281 * gdb.cp/meth-typedefs.cc (incomplete_struct)
282 (another_incomplete_struct, test_incomplete): New definitions.
283 (main): Use new definitions.
284 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
285 functions.
286
82433e3e
SDJ
2872019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
288
289 PR corefiles/11608
290 PR corefiles/18187
291 * gdb.base/coredump-filter-build-id.exp: New file.
292
dd06d4d6
AH
2932019-04-25 Alan Hayward <alan.hayward@arm.com>
294
295 * Makefile.in: Pass through GDBSERVER_DEBUG.
296 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
297 (gdbserver,debug): Add board setting.
298 * gdb.trace/tspeed.exp: Skip when debugging.
299 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
300 * lib/gdbserver-support.exp: Likewise
301
1670072e
TT
3022019-04-24 Tom Tromey <tromey@adacore.com>
303
304 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
305 Rust.
306
a59240a4
TT
3072019-04-24 Tom Tromey <tromey@adacore.com>
308
309 * gdb.arch/amd64-eval.exp: Test bitfield return.
310 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
311 (class Foo) <return_bitfields>: New method.
312 (main): Call it.
313
b907456c
AB
3142019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
315
316 * gdb.cp/many-args.cc: New file.
317 * gdb.cp/many-args.exp: New file.
318
5c565afd
TV
3192019-04-23 Tom de Vries <tdevries@suse.de>
320
321 PR gdb/24433
322 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
323
ba22ff86
AH
3242019-04-23 Alan Hayward <alan.hayward@arm.com>
325
326 * gdb.trace/backtrace.exp: Use nopie flag.
327 * gdb.trace/circ.exp: Likewise.
328 * gdb.trace/collection.exp: Likewise.
329 * gdb.trace/ftrace.exp: Likewise.
330 * gdb.trace/mi-trace-unavailable.exp: Likewise.
331 * gdb.trace/mi-traceframe-changed.exp: Likewise.
332 * gdb.trace/qtro.exp: Likewise.
333 * gdb.trace/read-memory.exp: Likewise.
334 * gdb.trace/report.exp: Likewise.
335 * gdb.trace/tfile.exp: Likewise.
336 * gdb.trace/tfind.exp: Likewise.
337 * gdb.trace/unavailable.exp: Likewise.
338
7905fc35
PA
3392019-04-22 Pedro Alves <palves@redhat.com>
340
341 * gdb.base/solib-probes-nosharedlibrary.c,
342 gdb.base/solib-probes-nosharedlibrary.exp: New files.
343
8ecb59f8
TT
3442019-04-19 Tom Tromey <tromey@adacore.com>
345
346 * gdb.ada/ptype_union.c: New file.
347 * gdb.ada/ptype_union.exp: New file.
348
62160ec9
TT
3492019-04-19 Tom Tromey <tromey@adacore.com>
350
351 PR symtab/24423:
352 * gdb.base/list0.h (foo): Add a control-l character.
353
36cd4ba5
TV
3542019-04-18 Tom de Vries <tdevries@suse.de>
355
356 PR gdb/24433
357 * boards/local-board.exp: Set sysroot to "".
358
b73715df
TV
3592019-04-18 Tom de Vries <tdevries@suse.de>
360 Pedro Alves <palves@redhat.com>
361
362 PR gdb/24454
363 * gdb.threads/vfork-follow-child-exec.c: New file.
364 * gdb.threads/vfork-follow-child-exec.exp: New file.
365 * gdb.threads/vfork-follow-child-exit.c: New file.
366 * gdb.threads/vfork-follow-child-exit.exp: New file.
367
4aa866af
LS
3682019-04-15 Leszek Swirski <leszeks@google.com>
369
370 * gdb.arch/amd64-eval.cc: New file.
371 * gdb.arch/amd64-eval.exp: New file.
372
e5a1a79a
AH
3732019-04-11 Alan Hayward <alan.hayward@arm.com>
374
375 * gdb.server/sysroot.c: New test.
376 * gdb.server/sysroot.exp: New file.
377 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
378 matching param.
379
41077b66
AB
3802019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb.base/align.exp: Extend test to cover structures containing
383 only static fields.
384
c30391f8
TV
3852019-04-11 Tom de Vries <tdevries@suse.de>
386
387 * boards/cc-with-dwz-m.exp: New file.
388 * boards/cc-with-dwz.exp: New file.
389 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
390
e242fd12
SM
3912019-04-09 Simon Marchi <simon.marchi@efficios.com>
392
393 * gdb.base/start-cpp.exp: New file.
394 * gdb.base/start-cpp.cc: New file.
395
2b0c8b01
KB
3962019-04-08 Kevin Buettner <kevinb@redhat.com>
397
398 * gdb.python/py-thrhandle.exp: Adjust tests to call
399 thread_from_handle instead of thread_from_thread_handle.
400
947210e5
KB
4012019-04-08 Kevin Buettner <kevinb@redhat.com>
402
403 * gdb.python/py-thrhandle.exp: Add tests for
404 gdb.InferiorThread.handle.
405
d7df6549
AB
4062019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
407
408 * gdb.python/py-function.exp: Check calling helper function from
409 all languages.
410 * lib/gdb.exp (gdb_supported_languages): New proc.
411
8bdc1658
AB
4122019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
413
414 * gdb.base/complex-parts.c: New file.
415 * gdb.base/complex-parts.exp: New file.
416
05caa1d2
TT
4172019-04-01 Tom Tromey <tromey@adacore.com>
418
419 PR symtab/23331:
420 * gdb.dwarf2/dw2-ranges-main.c: New file.
421 * gdb.dwarf2/dw2-ranges-psym.c: New file.
422 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
423
7734102d
EZ
4242019-03-30 Simon Marchi <simark@simark.ca>
425
426 * gdb.base/default.exp: Add values for $_gdb_major and
427 $_gdb_minor.
428
188e1fa9
TT
4292019-03-29 Tom Tromey <tromey@adacore.com>
430
431 * gdb.base/help.exp: Tighten apropos regexp.
432
2880242d
KS
4332019-03-29 Keith Seitz <keiths@redhat.com>
434
435 * gdb.fortran/array-bounds.exp: New file.
436 * gdb.fortran/array-bounds.f90: New file.
437
077cad8e
PW
4382019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
439
440 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
441
80047cfc
PW
4422019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
443
444 * gdb.multi/hello.c (main): Increase alarm timer.
445
f489207e
SL
4462019-03-28 Sandra Loosemore <sandra@codesourcery.com>
447
448 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
449 factor when no hardware watchpoint support.
450
c92df149
AH
4512019-03-28 Alan Hayward <alan.hayward@arm.com>
452 Pedro Alves <palves@redhat.com>
453
454 * boards/local-board.exp: set sysroot to /.
455
933aebfa
AH
4562019-03-27 Alan Hayward <alan.hayward@arm.com>
457
458 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
459 in child.
460
9f9aa852
AB
4612019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
464 field.
465 (make_container): Initialise new field.
466 * gdb.python/py-prettyprint.exp: Add new tests.
467 * gdb.python/py-prettyprint.py (class ContainerPrinter)
468 <display_hint>: New method.
469
3714a195
AB
4702019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
471
472 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
473 gdb_continue_to_breakpoint more throughout this test.
474 (run_lang_tests) Supply unique test names, and use
475 gdb_test_no_output.
476
18c77628
AB
4772019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
478
479 * gdb.base/finish-pretty.exp: Update expected results.
480 * gdb.base/pretty-print.c: New file.
481 * gdb.base/pretty-print.exp: New file.
482
9a93502f
PA
4832019-03-25 Pedro Alves <palves@redhat.com>
484
485 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
486 move comments outside list. Append '-i "" eof' section.
487
968aa7ae
AH
4882019-03-22 Alan Hayward <alan.hayward@arm.com>
489
490 * README: Add pie options.
491 * gdb.base/break-interp.exp: Ensure pie is disabled.
492 * gdb.base/dump.exp: Likewise.
493 * lib/gdb.exp (gdb_compile): Add pie option.
494
4c7d57e7
TT
4952019-03-19 Tom Tromey <tromey@adacore.com>
496
497 * gdb.mi/mi2-cli-display.c: New file.
498 * gdb.mi/mi2-cli-display.exp: New file.
499
bff8c71f
TT
5002019-03-18 Joel Brobecker <brobecker@adacore.com>
501 Tom Tromey <tromey@adacore.com>
502
503 * gdb.ada/ptype_array/pck.adb: New file.
504 * gdb.ada/ptype_array/pck.ads: New file.
505 * gdb.ada/ptype_array/foo.adb: New file.
506 * gdb.ada/ptype_array.exp: New file.
507
d085f989
TT
5082019-03-14 Tom Tromey <tromey@adacore.com>
509
510 * gdb.base/style.exp: Add "set style sources" test.
511
b4be1b06
SM
5122019-03-13 Simon Marchi <simon.marchi@ericsson.com>
513
514 * mi-breakpoint-location-ena-dis.exp: Rename to ...
515 * mi-breakpoint-multiple-locations.exp: ... this.
516 (make_breakpoints_pattern): New proc.
517 (do_test): Add mi_version parameter, test -break-insert,
518 -break-info and =breakpoint-created.
519
7cde5fc2
AB
5202019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
521
522 * config/default.exp: Remove 'load_lib gdb.exp'.
523 * config/monitor.exp: Likewise.
524 * config/sid.exp: Likewise.
525 * config/sim.exp: Likewise.
526 * config/slite.exp: Likewise.
527 * config/unix.exp: Likewise.
528 * gdb.base/default.exp: Remove unhelpful comment.
529
efbecbc1
AB
5302019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
531
532 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
533
0841c79a
AB
5342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
537
4a270568
AB
5382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * gdb.fortran/type-kinds.exp: Update expected results.
541
067630bd
AB
5422019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.fortran/type-kinds.exp: Test new integer type kind.
545
3be47f7a
AB
5462019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
547
548 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
549 function.
550 (test_basic_parsing_of_type_kinds): Expand types tested.
551 (test_parsing_invalid_type_kinds): New function.
552
4d00f5d8
AB
5532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
554
555 * gdb.fortran/intrinsics.exp: New file.
556 * gdb.fortran/intrinsics.f90: New file.
557 * gdb.fortran/type-kinds.exp: New file.
558
c8f91604
AB
5592019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 * gdb.fortran/dot-ops.exp: New file.
562
dd9f2c76
AB
5632019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
566 Check upper and lower case logical literals.
567
84ec9724
AB
5682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
569
570 * gdb.fortran/types.exp (test_float_literal_types_accepted):
571 Remove duplicate tests.
572
c3734e09
AH
5732019-03-06 Alan Hayward <alan.hayward@arm.com>
574
575 * lib/gdb.exp (builtin_cd): rename of cd.
576 (cd): Override builtin.
577
aa3cfbda
RB
5782019-03-06 Richard Bunt <richard.bunt@arm.com>
579
580 * gdb.fortran/function-calls.exp: New file.
581 * gdb.fortran/function-calls.f90: New test.
582
7b63ad86
RB
5832019-03-04 Richard Bunt <richard.bunt@arm.com>
584
585 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
586 on user program standard output.
587 * gdb.fortran/short-circuit-argument-list.f90: Record function
588 calls.
589
01abb042
AH
5902019-02-28 Alan Hayward <alan.hayward@arm.com>
591
c3734e09
AH
592 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
593 failure.
01abb042 594
92137da0
RO
5952019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
596
597 PR gdb/8527
598 * gdb.base/interrupt-daemon-attach.c,
599 gdb.base/interrupt-daemon-attach.exp: New test.
600
5862844d
PA
6012019-02-27 Pedro Alves <palves@redhat.com>
602
603 * gdb.base/page.exp: Add tests for "set width/height -1".
604
8ed25214
PA
6052019-02-27 Pedro Alves <palves@redhat.com>
606
607 * gdb.base/page.exp: Add tests for "set/show width/height" with
608 "infinite" values.
609
6c28e44a
TT
6102019-02-27 Tom Tromey <tromey@adacore.com>
611
612 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
613 2.4.
614 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
615 workaround.
616
bf9a735e
AB
6172019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
618
619 * gdb.base/align.exp: Extend to compile in both C and C++, and add
620 tests for structs with static members.
621
8791793c
TT
6222019-02-26 Tom Tromey <tromey@adacore.com>
623
624 * gdb.python/py-value.exp (test_value_from_buffer): Check for
625 ValueError, not TypeError.
626
bc2a507e
KB
6272019-02-26 Kevin Buettner <kevinb@redhat.com>
628
629 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
630 call from main program.
631
e0e7d3bd
JB
6322019-02-23 Joel Brobecker <brobecker@adacore.com>
633
634 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
635 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
636 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
637 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
638 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
639
9600246d
KS
6402019-02-22 Keith Seitz <keiths@redhat.com>
641
642 PR symtab/23853
643 * gdb.base/symlink-sourcefile.c: New file.
644 * gdb.base/symlink-sourcefile.exp: New file.
645
0c95f9ed
TT
6462019-02-20 Tom Tromey <tom@tromey.com>
647
648 * gdb.base/info_qt.exp: Update.
649
6caa91b6
SM
6502019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
651
652 * gdb.base/source.exp: Move "error in sourced script" code to
653 the end.
654 * gdb.base/source-error.gdb: Move contents to
655 source-error-1.gdb. Add new code to source source-error-1.gdb.
656 * gdb.base/source-error-1.gdb: New file, from previous
657 source-error.gdb.
658
6506371f
TT
6592019-02-17 Tom Tromey <tom@tromey.com>
660
661 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
662 for macro styling.
663 * gdb.base/style.c (SOME_MACRO): New macro.
664
a0087920
TT
6652019-02-17 Tom Tromey <tom@tromey.com>
666
667 * gdb.base/style.exp: Add line-wrapping tests.
668 * gdb.base/page.exp: Add test for quitting during pagination.
669
a2cd4f14
JB
6702019-02-17 Joel Brobecker <brobecker@adacore.com>
671
672 * gdb.ada/big_packed_array: New testcase.
673 * gdb.ada/homonym.exp: Fix incorrect expected output for
674 "break <homonym__get_value>" test.
675
9d70ffbc
WP
6762019-02-13 Weimin Pan <weimin.pan@oracle.com>
677
678 PR breakpoints/21870
679 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
680 and prepare_for_testing. Add comment.
681 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
682 redundant cleanup call. Clean up comment.
683
01c7ae81
WP
6842019-02-12 Weimin Pan <weimin.pan@oracle.com>
685
686 PR breakpoints/21870
687 * gdb.arch/aarch64-dbreg-contents.exp: New file.
688 * gdb.arch/aarch64-dbreg-contents.c: New file.
689
aff29d1c
JB
6902019-02-10 Joel Brobecker <brobecker@adacore.com>
691
692 * gdb.ada/mi_ref_changeable: New testcase.
693
df0da8a2
AH
6942019-02-07 Alan Hayward <alan.hayward@arm.com>
695
696 * gdb.base/attach.exp: Add double attach test.
697
bd447abb
SM
6982019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
699
700 * lib/gdb.exp (default_gdb_start): Don't match pagination
701 prompt.
702 (gdb_init): Set stty_init.
703
1dbc40b9
TT
7042019-01-27 Tom Tromey <tom@tromey.com>
705
706 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
707 skip_python_tests.
708
353229bf
AH
7092019-01-24 Alan Hayward <alan.hayward@arm.com>
710
711 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
712 New structure.
713 (struct struct_static_02_02): Likewise.
714 (struct struct_static_02_03): Likewise.
715 (struct struct_static_02_04): Likewise.
716 (struct struct_static_04_01): Likewise.
717 (struct struct_static_04_02): Likewise.
718 (struct struct_static_04_03): Likewise.
719 (struct struct_static_04_04): Likewise.
720 (struct struct_static_06_01): Likewise.
721 (struct struct_static_06_02): Likewise.
722 (struct struct_static_06_03): Likewise.
723 (struct struct_static_06_04): Likewise.
724 (cmp_struct_static_02_01): Likewise.
725 (cmp_struct_static_02_02): Likewise.
726 (cmp_struct_static_02_03): Likewise.
727 (cmp_struct_static_02_04): Likewise.
728 (cmp_struct_static_04_01): Likewise.
729 (cmp_struct_static_04_02): Likewise.
730 (cmp_struct_static_04_03): Likewise.
731 (cmp_struct_static_04_04): Likewise.
732 (cmp_struct_static_06_01): Likewise.
733 (cmp_struct_static_06_02): Likewise.
734 (cmp_struct_static_06_03): Likewise.
735 (cmp_struct_static_06_04): Likewise.
736 (call_all): Test new structs.
737 * gdb.base/infcall-nested-structs.exp: Likewise.
738
73021deb
AH
7392019-01-21 Alan Hayward <alan.hayward@arm.com>
740 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
741
fc65c7db
AH
7422019-01-21 Alan Hayward <alan.hayward@arm.com>
743 * gdb.base/stack-protector.c: New test.
744 * gdb.base/stack-protector.exp: New file.
745 * gdb.cp/ovldbreak.exp: Only allow a single break line.
746 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
747 option.
748 (gdb_compile): Remove stack protector for GCC and prevent
749 recursion.
750
c24bdb02
KS
7512019-01-16 Keith Seitz <keiths@redhat.com>
752
753 PR gdb/23773
754 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
755
6f072a10
PFC
7562019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
757
758 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
759 aliases.
760 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
761 tests.
762 * gdb.arch/powerpc-vector-regs.c: New file.
763 * gdb.arch/powerpc-vector-regs.exp: New file.
764
a7b8d682
PFC
7652019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
766
767 * gdb.arch/altivec-regs.exp: Fix the list passed to
768 gdb_expect_list when testing "info vector".
769
6eb6fb67
AB
7702019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
771
772 * gdb.base/style.exp: Don't include path in testname.
773
b56f80d8
KS
7742019-01-10 Keith Seitz <keiths@redhat.com>
775
776 PR gdb/23712
777 PR symtab/23010
778 * gdb.dwarf2/multidictionary.exp: New file.
779
041be526
SM
7802019-01-09 Simon Marchi <simon.marchi@ericsson.com>
781
782 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
783 (test_gnuv3_style_demangling): ... this.
784 (test_lucid_style_demangling): Remove.
785 (test_arm_style_demangling): Remove.
786 (test_hp_style_demangling): Remove.
787 (do_tests): Remove calls to the above.
788
d820d0c3
AB
7892019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
790
791 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
792 case.
793
f097f5ad
TT
7942019-01-06 Tom Tromey <tom@tromey.com>
795
796 PR gdb/28155:
797 * gdb.dwarf2/typedef-void-finish.exp: New file.
798
2cd8cc0b
TT
7992018-12-28 Tom Tromey <tom@tromey.com>
800 Simon Marchi <simark@simark.ca>
801
802 * gdb.base/jit-exec.exp: New file.
803 * gdb.base/jit-exec.c: New file.
804 * gdb.base/jit-execd.c: New file.
805
35fb8261
TT
8062018-12-28 Tom Tromey <tom@tromey.com>
807
808 * gdb.base/style.exp: Update test to check for address styling.
809
47fd17cd
TT
8102018-12-28 Tom Tromey <tom@tromey.com>
811
812 * gdb.base/style.exp: Add test for styling of "Reading symbols"
813 message.
814
d47032b7
TT
8152018-12-28 Tom Tromey <tom@tromey.com>
816
817 * gdb.base/style.exp: Add test for version number styling.
818
af79b68d
TT
8192018-12-28 Tom Tromey <tom@tromey.com>
820
821 * gdb.base/style.exp: Add test for print_address_symbolic.
822
0bb296cb
TT
8232018-12-28 Tom Tromey <tom@tromey.com>
824
825 * gdb.base/style.exp: Add test for breakpoint setting.
826
80ae2043
TT
8272018-12-28 Tom Tromey <tom@tromey.com>
828
829 * gdb.base/style.exp: Add test for variable names.
830
cbe56571
TT
8312018-12-28 Tom Tromey <tom@tromey.com>
832
833 * gdb.base/style.exp: New file.
834 * gdb.base/style.c: New file.
835
9162a27c
TT
8362018-12-28 Tom Tromey <tom@tromey.com>
837
838 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
839 "dumb".
840 * gdb.base/readline.exp (operate_and_get_next): Save and restore
841 the TERM environment variable.
842
bc543c90
TT
8432018-12-27 Tom Tromey <tom@tromey.com>
844
845 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
846 pagination test.
847
6f0ffe50
AB
8482018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
849
850 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
851 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
852
b5a1e557
PW
8532018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
854
855 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
856 Filename a.adb changed to bp_fun_addr.adb.
857 gdb.ada/bp_fun_addr.exp: Update test accordingly.
858
6e8b1ab2
JV
8592018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
860
861 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
862 non-PIE executables.
863 * README: Mention the gdb,nopie_flag board setting.
864 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
865 non-PIE executable.
866 * gdb.arch/amd64-entry-value.exp: Likewise.
867 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
868 * gdb.arch/i386-float.exp: Likewise.
869 * gdb.arch/i386-signal.exp: Likewise.
870 * gdb.mi/mi-reg-undefined.exp: Likewise.
871
d00a27c5
PM
8722018-12-21 Paul Marechal <paul.marechal@ericsson.com>
873
874 PR gdb/23974
875 * gdb.base/info-os.exp: Check return for unknown "info os" type.
876
161d081c
PW
8772018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
878
879 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
880 Update order of results accordingly.
881
b001de23
AB
8822018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
883
884 * gdb.base/annota1.exp: Update a test regexp.
885
99e1a184
AB
8862018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
887
888 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
889
7a81c1e2
PW
8902018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
891
892 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
893 (reuse_time): Initialize to REUSE_TIME_CAP.
894 (check_rc): New function.
895 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
896 Check pthread_create rc.
897 (spawner_thread_func): Check pthread_create and pthread_join rc.
898
73e8dc90
PA
8992018-12-08 Pedro Alves <palves@redhat.com>
900
901 * gdb.base/list.exp (test_forward_search): Rename to ...
902 (test_forward_reverse_search): ... this. Also test reverse-search
903 and the forward-search alias.
904
13f2ed32
AB
9052018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
906
907 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
908 local timeout variable before return, and remove all local timeout
909 variable entirely.
910 (gdb_load): Likewise.
911
64d27cfc
TV
9122018-12-01 Tom de Vries <tdevries@suse.de>
913
914 * gdb.base/gdb-caching-proc.exp: New file.
915
f63c03b4
SDJ
9162018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
917
918 * Makefile.in (TIMESTAMP): New variable.
919 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
920 command.
921 (check-single-racy): Likewise.
922 (check/%.exp): Likewise.
923 (check-racy/%.exp): Likewise.
924 (workers/%.worker): Likewise.
925 (build-perf): Likewise.
926 (check-perf): Likewise.
927 * README: Describe new "TS" and "TS_FORMAT" variables.
928 * print-ts.py: New file.
929
1c97054b
BF
9302018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
931
932 PR python/23714
933 * gdb.python/python.exp: Test command repetition after
934 gdb.execute.
935
1871a62d
AB
9362018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.opt/inline-break.exp: Add test that info breakpoint output
939 is correctly aligned.
940
fb5e1ed9
PW
9412018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
942
943 * gdb.ada/info_auto_lang.exp: New testcase.
944 * gdb.ada/info_auto_lang/global_pack.ads: New file.
945 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
946 * gdb.ada/info_auto_lang/some_c.c: New file.
947
43d397ca
PW
9482018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
949
950 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
951 FUNC_lang language syntax.
952
beddd671
PW
9532018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
954
955 * gdb.base/info_minsym.c: New file.
956 * gdb.base/info_minsym.exp: New file.
957
73fc52c4
TT
9582018-11-19 Tom Tromey <tom@tromey.com>
959
960 PR rust/23625:
961 * gdb.rust/simple.exp: Add ptype test. Update expected output.
962 * gdb.rust/expr.exp: Update expected output. Change one test.
963
994b876a
TT
9642018-11-19 Tom Tromey <tom@tromey.com>
965
966 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
967
6769f276
PA
9682018-11-19 Pedro Alves <palves@redhat.com>
969
970 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
971 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
972 see the expected warning.
973
38a72da0
AH
9742018-11-16 Alan Hayward <alan.hayward@arm.com>
975
976 PR gdb/22736:
977 * gdb.cp/infcall-nodebug-lib.c: New test.
978 * gdb.cp/infcall-nodebug-main.c: New test.
979 * gdb.cp/infcall-nodebug.exp: New file.
980
53a89d6e
SM
9812018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
982
983 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
984 completer tests.
985
9325300d
TV
9862018-11-09 Tom de Vries <tdevries@suse.de>
987
988 * gdb.base/msym-lang.c: New test.
989 * gdb.base/msym-lang.exp: New file.
990 * gdb.base/msym-lang-main.c: New test.
991
20f0d60d
TT
9922018-11-08 Tom Tromey <tom@tromey.com>
993
994 PR gdb/23555:
995 PR gdb/23838:
996 * gdb.base/warning.exp: New file.
997
b5420128
JB
9982018-11-08 Jan Beulich <jbeulich@suse.com>
999
1000 * testsuite/gdb.arch/i386-avx512.c,
1001 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1002
cd115d61
AB
10032018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1004
1005 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1006 point hardware.
1007
35ee2dc2
AB
10082018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1009
1010 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1011 * gdb.dwarf2/missing-type-name.exp: New file.
1012
31aceee8
TV
10132018-11-06 Tom de Vries <tdevries@suse.de>
1014
1015 * gdb.base/many-headers.c: New test.
1016 * gdb.base/many-headers.exp: New file.
1017
109be305
JW
10182018-11-06 Jim Wilson <jimw@sifive.com>
1019
1020 * gdb.base/code_elim.exp: For riscv, set additional_flags
1021 to include -msmall-data-limit=0.
1022
e2b7af72
JB
10232018-11-01 Joel Brobecker <brobecker@adacore.com>
1024
1025 * gdb.ada/watch_minus_l: New testcase.
1026
cdcda965
SM
10272018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1028
1029 * gdb.arch/aix-sighandle.c: New file.
1030 * gdb.arch/aix-sighandle.exp: New file.
1031
92dcebf3
AB
10322018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1033
1034 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1035 registers being unions.
1036
68b9ac18
TV
10372018-10-31 Tom de Vries <tdevries@suse.de>
1038
1039 * lib/valgrind.exp: New file.
1040 (vgdb_start, vgdb_stop): New procs, factored out of ...
1041 * gdb.base/valgrind-bt.exp: ... here, ...
1042 * gdb.base/valgrind-disp-step.exp: ... here and ...
1043 * gdb.base/valgrind-infcall.exp: ... here.
1044
1443936e
TV
10452018-10-31 Tom de Vries <tdevries@suse.de>
1046
1047 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1048
eb77c9df
AB
10492018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1050
1051 * gdb.dwarf2/void-type.c: New file.
1052 * gdb.dwarf2/void-type.exp: New file.
1053
82b5e646
PW
10542018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1055
1056 * gdb.base/info_qt.c: New file.
1057 * gdb.base/info_qt.exp: New file.
1058
8d619c01
EBM
10592018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1060
1061 * gdb.arch/powerpc-htm-regs.c: New file.
1062 * gdb.arch/powerpc-htm-regs.exp: New file.
1063
f2cf6173
EBM
10642018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1065
1066 * gdb.arch/powerpc-tar.c: New file.
1067 * gdb.arch/powerpc-tar.exp: New file.
1068
7ca18ed6
EBM
10692018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1070
1071 * gdb.arch/powerpc-ppr-dscr.c: New file.
1072 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1073
bfcc0eba
TV
10742018-10-25 Tom de Vries <tdevries@suse.de>
1075
1076 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1077
fe1a5cad
TV
10782018-10-24 Tom de Vries <tdevries@suse.de>
1079
1080 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1081 longer exists error.
1082
a76dc3b7
TV
10832018-10-24 Tom de Vries <tdevries@suse.de>
1084
1085 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1086
4df46df7
TV
10872018-10-24 Tom de Vries <tdevries@suse.de>
1088
1089 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1090 --db-attach in valgrind.
1091
0dbfcfff
AB
10922018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1093
1094 * gdb.arch/riscv-reg-aliases.c: New file.
1095 * gdb.arch/riscv-reg-aliases.exp: New file.
1096
b04480b1
AH
10972018-10-19 Alan Hayward <alan.hayward@arm.com>
1098
1099 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1100
2c6ac8d7
AH
11012018-10-19 Alan Hayward <alan.hayward@arm.com>
1102
1103 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1104
2bc69f25
AH
11052018-10-19 Alan Hayward <alan.hayward@arm.com>
1106
1107 * gdb.cp/ovldbreak.exp: Fix regexps.
1108
1f1ae3a3
AH
11092018-10-19 Alan Hayward <alan.hayward@arm.com>
1110
1111 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1112
94c18618
SDJ
11132018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1114
1115 PR cli/23785
1116 * gdb.base/restore.exp: New test to check if "restore" with an
1117 invalid file doesn't segfault.
1118
812cd6eb
TV
11192018-10-18 Tom de Vries <tdevries@suse.de>
1120
1121 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1122 * gdb.ada/excep_handle.exp: Same.
1123 * gdb.ada/mi_string_access.exp: Same.
1124 * gdb.ada/mi_var_union.exp: Same.
1125 * gdb.arch/arc-analyze-prologue.exp: Same.
1126 * gdb.arch/arc-decode-insn.exp: Same.
1127 * gdb.base/readnever.exp: Same.
1128 * gdb.fortran/printing-types.exp: Same.
1129 * gdb.guile/scm-lazy-string.exp: Same.
1130
c4b90788
TV
11312018-10-16 Tom de Vries <tdevries@suse.de>
1132
1133 PR gdb/23730
1134 * gdb.base/catch-follow-exec.c: Add copyright notice.
1135 * gdb.base/catch-follow-exec.exp: Rewrite to use
1136 gdb_spawn_with_cmdline_opts. Require gdb-native.
1137
8bca2978
SL
11382018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1139
1140 * gdb.trace/actions-changed.exp: Check for arch support.
1141 * gdb.trace/actions.exp: Likewise.
1142 * gdb.trace/ax.exp: Likewise.
1143 * gdb.trace/backtrace.exp: Likewise.
1144 * gdb.trace/change-loc.exp: Likewise.
1145 * gdb.trace/deltrace.exp: Likewise.
1146 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1147 * gdb.trace/ftrace.exp: Likewise.
1148 * gdb.trace/infotrace.exp: Check for arch support.
1149 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1150 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1151 * gdb.trace/mi-tsv-changed.exp: Likewise.
1152 * gdb.trace/packetlen.exp: Likewise.
1153 * gdb.trace/passc-dyn.exp: Likewise.
1154 * gdb.trace/passcount.exp: Likewise.
1155 * gdb.trace/pending.exp: Likewise.
1156 * gdb.trace/range-stepping.exp: Check for shlib support.
1157 * gdb.trace/report.exp: Check for arch support.
1158 * gdb.trace/save-trace.exp: Likewise.
1159 * gdb.trace/signal.exp: Check for signal support.
1160 * gdb.trace/tfind.exp: Check for arch support.
1161 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1162 * gdb.trace/trace-common.h: Add comment.
1163 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1164 * gdb.trace/trace-enable-disable.exp: Likewise.
1165 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1166 * gdb.trace/tracecmd.exp: Check for arch support.
1167 * gdb.trace/tspeed.exp: Check for shlib and target support.
1168 * gdb.trace/tstatus.exp: Check for arch support.
1169 * gdb.trace/tsv.exp: Likewise.
1170 * gdb.trace/while-dyn.exp: Likewise.
1171 * gdb.trace/while-stepping.exp: Likewise.
1172 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1173
f9c49bff
SM
11742018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1175
1176 * gdb.trace/tspeed.exp: Remove nowarnings.
1177 (prepare_for_trace_test): Declare "global ipalib".
1178 * gdb.trace/tspeed.c: Include unistd.h.
1179 (main): Remove superfluous printf argument.
1180
d4330bde
SL
11812018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1182
1183 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1184 directory prefix on the filename.
1185
8ecfd7bd
SDJ
11862018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1187
1188 * gdb.gdb/unittest.exp: Update expected message informing that
1189 selftests have been disabled.
1190 * gdb.server/unittest.exp: Likewise.
1191
58bbcd02
TV
11922018-10-09 Tom de Vries <tdevries@suse.de>
1193
1194 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1195 with runto_main.
1196
9f6b697b
WP
11972018-10-08 Weimin Pan <weimin.pan@oracle.com>
1198
1199 PR c++/16841
1200 * gdb.cp/virtbase2.cc: New file.
1201 * gdb.cp/virtbase2.exp: New file.
1202
add5ded5
TT
12032018-10-06 Tom Tromey <tom@tromey.com>
1204
1205 PR python/19399:
1206 * gdb.python/py-inferior.exp: Add architecture test.
1207
f9e48344
TT
12082018-10-06 Tom Tromey <tom@tromey.com>
1209
1210 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1211 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1212
2a8be203
TT
12132018-10-06 Tom Tromey <tom@tromey.com>
1214
1215 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1216 of a "throw" catchpoint.
1217
e04caa70
SDJ
12182018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1219
1220 * gdb.base/info-proc.exp: Update string expected from "help info
1221 proc".
1222
5ca8c39f
TT
12232018-10-04 Tom Tromey <tom@tromey.com>
1224
1225 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1226 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1227 (test_initial_complaints, test_empty_complaints): Update.
1228 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1229
3453e7e4
TT
12302018-10-04 Tom Tromey <tom@tromey.com>
1231
1232 PR cli/19551:
1233 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1234 * lib/gdb.exp (gdb_file_cmd): Update.
1235 * gdb.stabs/weird.exp (print_weird_var): Update.
1236 * gdb.server/solib-list.exp: Update.
1237 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1238 * gdb.mi/mi-cli.exp: Update.
1239 * gdb.linespec/linespec.exp: Update.
1240 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1241 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1242 * gdb.cp/cp-relocate.exp: Update.
1243 * gdb.base/sym-file.exp: Update.
1244 * gdb.base/relocate.exp: Update.
1245 * gdb.base/readnever.exp: Update.
1246 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1247 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1248 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1249 * gdb.base/code_elim.exp: Update.
1250 * gdb.base/break-unload-file.exp (test_break): Update.
1251 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1252 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1253 Update.
1254 * gdb.base/attach.exp (do_attach_tests): Update.
1255 * gdb.base/sepdebug.exp: Update.
1256 * gdb.python/py-section-script.exp: Update.
1257
6afcf761
TT
12582018-10-04 Tom Tromey <tom@tromey.com>
1259
1260 PR cli/22234:
1261 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1262 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1263 output.
1264
fef1b293
TT
12652018-10-04 Tom Tromey <tom@tromey.com>
1266
1267 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1268 set width and height to 0.
1269 (test_command_line_attach_run): Use -quiet.
1270
ca98345e
SL
12712018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1272
1273 * lib/gdb.exp (skip_ifunc_tests): New.
1274 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1275 other compile failures.
1276 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1277
ff34e6ae
SM
12782018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1279
1280 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1281 is_amd64_regs_target.
1282
6bb8890e
AH
12832018-10-01 Alan Hayward <alan.hayward@arm.com>
1284
1285 * gdb.arch/aarch64-sighandler-regs.c: New test.
1286 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1287 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1288
224d30d3
MM
12892018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1290
1291 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1292 assembly.
1293
f67ffa6a
AB
12942018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1295
1296 * gdb.base/frame-selection.exp: New file.
1297 * gdb.base/frame-selection.c: New file.
1298
9fc3183f
AH
12992018-09-27 Alan Hayward <alan.hayward@arm.com>
1300
1301 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1302 pthread barrier.
1303 (main): Likewise.
1304
d354055e
AB
13052018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1306
1307 * gdb.base/large-frame-1.c: New file.
1308 * gdb.base/large-frame-2.c: New file.
1309 * gdb.base/large-frame.exp: New file.
1310 * gdb.base/large-frame.h: New file.
1311
db727370
JL
13122018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1313
1314 PR gdb/20948
1315 * gdb.base/write_mem.exp: New test.
1316 * gdb.base/write_mem.c: Likewise.
1317
ae778caf
TT
13182018-09-23 Tom Tromey <tom@tromey.com>
1319
1320 PR python/18852:
1321 * gdb.python/py-parameter.exp: Add test for parameter that throws
1322 on "set".
1323
fd3ba736
TT
13242018-09-23 Tom Tromey <tom@tromey.com>
1325
1326 PR python/17284:
1327 * gdb.python/py-template.exp (test_template_arg): Add test for
1328 negative template argument number.
1329
39a24317
TT
13302018-09-23 Tom Tromey <tom@tromey.com>
1331
1332 PR python/14062:
1333 * gdb.python/python.exp: Add test for post_event error.
1334
f5769a2c
TT
13352018-09-23 Tom Tromey <tom@tromey.com>
1336
1337 PR python/18170:
1338 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1339 convert pointers to int and long.
1340
1c1e54f6
TT
13412018-09-23 Tom Tromey <tom@tromey.com>
1342
1343 PR python/20126:
1344 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1345 signed-ness conversion tests.
1346
fb4fa946
TT
13472018-09-23 Tom Tromey <tom@tromey.com>
1348
1349 PR python/18352;
1350 * gdb.python/py-value.exp (test_float_conversion): New proc.
1351 Use it.
1352
a466edac
HAQ
13532018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1354
1355 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1356
4ee9b0c5
SL
13572018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1358
1359 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1360 no readline.
1361 * gdb.base/utf8-identifiers.exp: Likewise.
1362 * gdb.cp/cpcompletion.exp: Likewise.
1363 * gdb.linespec/cpcompletion.exp: Likewise.
1364 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1365 * gdb.linespec/cpls-ops.exp: Likewise.
1366
23be8da7
RB
13672018-09-19 Richard Bunt <richard.bunt@arm.com>
1368 Chris January <chris.january@arm.com>
1369
1370 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1371 * gdb.fortran/short-circuit-argument-list.exp: New file.
1372 * gdb.fortran/short-circuit-argument-list.f90: New test.
1373
5031d0ae
SDJ
13742018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1375
1376 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1377 "arch=" keyword when executing "-stack-list-frames".
1378
b4c0d1a4
SDJ
13792018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1380
1381 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1382 "arch=" keyword when executing "-stack-list-frames".
1383
7a6d2b45
SDJ
13842018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1385
1386 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1387 break ada".
1388
8588b356
SM
13892018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1390
1391 PR python/23669
1392 * gdb.python/python.exp: Test gdb.execute("show commands").
1393
65e65158
TT
13942018-09-16 Tom Tromey <tom@tromey.com>
1395
1396 * gdb.base/new-ui.exp (do_execution_tests): Update.
1397 * gdb.base/dbx.exp (test_breakpoints): Update.
1398
bf326452
AH
13992018-09-14 Alan Hayward <alan.hayward@arm.com>
1400
1401 * lib/gdb.exp (gdb_simple_compile): Add proc.
1402 (is_elf_target): Use gdb_simple_compile.
1403 (skip_altivec_tests): Likewise.
1404 (skip_vsx_tests): Likewise.
1405 (skip_tsx_tests): Likewise.
1406 (skip_btrace_tests): Likewise.
1407 (skip_btrace_pt_tests): Likewise.
1408 (gdb_can_simple_compile): Likewise.
1409 (gdb_has_argv0): Likewise.
1410 (gdb_target_symbol_prefix): Likewise.
1411 (target_supports_scheduler_locking): Likewise.
1412
2361b0fb
TT
14132018-09-13 Tom Tromey <tom@tromey.com>
1414
1415 * Makefile.in (TAGS): Recognize proc_with_prefix and
1416 gdb_caching_proc.
1417
0ae1a321
SM
14182018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1419
1420 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1421 method.
1422
a40bf0c2
SM
14232018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1424
1425 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1426 and a few other Inferior properties when the Inferior is no
1427 longer valid.
1428
4a3fe98f
TT
14292018-09-13 Tom Tromey <tom@tromey.com>
1430
1431 PR rust/23650:
1432 * gdb.rust/simple.exp: Add test for enum field access error.
1433
098b2108
TT
14342018-09-13 Tom Tromey <tom@tromey.com>
1435
1436 PR rust/23626:
1437 * gdb.rust/simple.rs (EmptyEnum): New type.
1438 (main): Use it.
1439 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1440
1256af7d
SM
14412018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1442
1443 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1444 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1445 * gdb.python/py-symtab.exp: Update test printing an objfile.
1446
4aa8e6c2
SM
14472018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1448
1449 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1450 object.
1451
c221b2f7
AH
14522018-09-12 Alan Hayward <alan.hayward@arm.com>
1453
1454 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1455 (support_complex_tests): Use gdb_can_simple_compile.
1456 (is_ilp32_target): Likewise.
1457 (is_lp64_target): Likewise.
1458 (is_64_target): Likewise.
1459 (is_amd64_regs_target): Likewise.
1460 (is_aarch32_target): Likewise.
1461 (gdb_int128_helper): Likewise.
1462
6f1107b5
JK
14632018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1464
1465 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1466
1f5d1570
JG
14672018-09-10 Jerome Guitton <guitton@adacore.com>
1468
1469 * gdb.ada/same_component_name: Add test for case of tagged record
1470 with variable-length fields.
1471
cc330e39
XR
14722018-09-10 Xavier Roirand <roirand@adacore.com>
1473
1474 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1475 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1476 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1477 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1478
b9c50e9a
XR
14792018-09-10 Xavier Roirand <roirand@adacore.com>
1480
1481 * gdb.ada/mi_string_access.exp: New testcase.
1482 * gdb.ada/mi_string_access/bar.adb: New file.
1483 * gdb.ada/mi_string_access/pck.adb: New file.
1484 * gdb.ada/mi_string_access/pck.asd: New file.
1485
2963898f
XR
14862018-09-10 Xavier Roirand <roirand@adacore.com>
1487
1488 * gdb.ada/mi_var_union.exp: New testcase.
1489 * gdb.ada/mi_var_union/bar.adb: New file.
1490 * gdb.ada/mi_var_union/pck.adb: New file.
1491 * gdb.ada/mi_var_union/pck.asd: New file.
1492
1aac008f
TT
14932018-09-08 Tom Tromey <tom@tromey.com>
1494
1495 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1496
332cf4c9
TT
14972018-09-08 Tom Tromey <tom@tromey.com>
1498
1499 PR python/16047:
1500 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1501 (register_pretty_printers): Register new printer.
1502 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1503 test.
1504 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1505 (an_int_type3): New global.
1506
424da6cf
JB
15072018-09-08 Joel Brobecker <brobecker@adacore.com>
1508
1509 * gdb.ada/expr_with_funcall: New testcase.
1510
2a62dfa9
JB
15112018-09-08 Joel Brobecker <brobecker@adacore.com>
1512
1513 * gdb.ada/packed_array_assign: New testcase.
1514
96b6697f
AB
15152018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1516
1517 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1518 names, and add test prefixes to make test names unique.
1519
e4a62c65
TV
15202018-09-05 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.dwarf2/varval.exp: Add test.
1523
dd083ee2
GB
15242018-09-04 Gary Benson <gbenson@redhat.com>
1525
1526 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1527 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1528
aef9346c
TT
15292018-08-31 Tom Tromey <tom@tromey.com>
1530
1531 * gdb.rust/simple.rs: Rename second variable "v".
1532
c67f2e15
AB
15332018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1534
1535 * gdb.base/funcargs.c (use_a): New function.
1536 (recurse): Call use_a.
1537
078a0207
KS
15382018-08-29 Keith Seitz <keiths@redhat.com>
1539
1540 * gdb.compile/compile-cplus-anonymous.cc: New file.
1541 * gdb.compile/compile-cplus-anonymous.exp: New file.
1542 * gdb.compile/compile-cplus-array-decay.cc: New file.
1543 * gdb.compile/compile-cplus-array-decay.exp: New file.
1544 * gdb.compile/compile-cplus-inherit.cc: New file.
1545 * gdb.compile/compile-cplus-inherit.exp: New file.
1546 * gdb.compile/compile-cplus-member.cc: New file.
1547 * gdb.compile/compile-cplus-member.exp: New file.
1548 * gdb.compile/compile-cplus-method.cc: New file.
1549 * gdb.compile/compile-cplus-method.exp: New file.
1550 * gdb.compile/compile-cplus-mod.c: "New" file.
1551 * gdb.compile/compile-cplus-namespace.cc: New file.
1552 * gdb.compile/compile-cplus-namespace.exp: New file.
1553 * gdb.compile/compile-cplus-nested.cc: New file.
1554 * gdb.compile/compile-cplus-nested.exp: New file.
1555 * gdb.compile/compile-cplus-print.c: "New" file.
1556 * gdb.compile/compile-cplus-print.exp: "New" file.
1557 * gdb.compile/compile-cplus-virtual.cc: New file.
1558 * gdb.compile/compile-cplus-virtual.exp: New file.
1559 * gdb.compile/compile-cplus.c: "New" file.
1560 * gdb.compile/compile-cplus.exp: "New" file.
1561 * lib/compile-support.exp: New file.
1562
b0f492b9
GB
15632018-08-16 Gary Benson <gbenson@redhat.com>
1564
1565 PR gdb/13000:
1566 * gdb.base/batch-exit-status.exp: New file.
1567 * gdb.base/batch-exit-status.good-commands: Likewise.
1568 * gdb.base/batch-exit-status.bad-commands: Likewise.
1569
36eb4c5f
AH
15702018-08-29 Alan Hayward <alan.hayward@arm.com>
1571
1572 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1573 (struct struct02): Likewise.
1574 (struct struct03): Likewise.
1575 (struct struct04): Likewise.
1576 (struct struct_01_01): New struct.
1577 (struct struct_01_02): Likewise.
1578 (struct struct_01_03): Likewise.
1579 (struct struct_01_04): Likewise.
1580 (struct struct_02_01): Likewise.
1581 (struct struct_02_02): Likewise.
1582 (struct struct_02_03): Likewise.
1583 (struct struct_02_04): Likewise.
1584 (struct struct_04_01): Likewise.
1585 (struct struct_04_02): Likewise.
1586 (struct struct_04_03): Likewise.
1587 (struct struct_04_04): Likewise.
1588 (struct struct_05_01): Likewise.
1589 (struct struct_05_02): Likewise.
1590 (struct struct_05_03): Likewise.
1591 (struct struct_05_04): Likewise.
1592 (cmp_struct01): Remove function.
1593 (cmp_struct02): Likewise.
1594 (cmp_struct03): Likewise.
1595 (cmp_struct04): Likewise.
1596 (cmp_struct_01_01): Add Function.
1597 (cmp_struct_01_02): Likewise.
1598 (cmp_struct_01_03): Likewise.
1599 (cmp_struct_01_04): Likewise.
1600 (cmp_struct_02_01): Likewise.
1601 (cmp_struct_02_02): Likewise.
1602 (cmp_struct_02_03): Likewise.
1603 (cmp_struct_02_04): Likewise.
1604 (cmp_struct_04_01): Likewise.
1605 (cmp_struct_04_02): Likewise.
1606 (cmp_struct_04_03): Likewise.
1607 (cmp_struct_04_04): Likewise.
1608 (cmp_struct_05_01): Likewise.
1609 (cmp_struct_05_02): Likewise.
1610 (cmp_struct_05_03): Likewise.
1611 (cmp_struct_05_04): Likewise.
1612 (call_all): Add new structs.
1613 * gdb.base/infcall-nested-structs.exp: Likewise.
1614
3bf9c013
JV
16152018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1616
1617 * gdb.python/py-framefilter-mi.exp: Update regexp to
1618 check for "arch" field in frame output.
1619
450d1e88
KB
16202018-08-23 Kevin Buettner <kevinb@redhat.com>
1621
1622 * gdb.dwarf2/dw2-ranges-func.c: New file.
1623 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1624
ae739fe7
SM
16252018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1626
1627 * gdb.base/term.exp: Compare terminal settings with values from
1628 the inferior.
1629 * gdb.base/term.c: Get and set terminal settings.
1630
6d52907e
JV
16312018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1632
1633 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1634 accommodate new "arch" field in frame output.
1635 * gdb.mi/mi-return.exp: Likewise.
1636 * gdb.mi/mi-stack.exp: Likewise.
1637 * gdb.mi/mi-syn-frame.exp: Likewise.
1638 * gdb.mi/user-selected-context-sync.exp: Likewise.
1639
be2d111a
MS
16402018-08-19 Michael Spang <spang@google.com>
1641
1642 PR gdb/11786
1643 * gdb.base/gcore-tls-pie.c: New file.
1644 * gdb.base/gcore-tls-pie.exp: New file.
1645
ae3a7c47
KB
16462018-08-18 Kevin Buettner <kevinb@redhat.com>
1647
1648 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
1649 * gdb.dwarf2/varval.c: New file.
1650 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 1651
2ecae92e
AH
16522018-08-17 Alan Hayward <alan.hayward@arm.com>
1653
1654 PR gdb/18931
1655 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1656
c1854f1d
KS
16572018-08-16 Keith Seitz <keiths@redhat.com>
1658
1659 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1660 tests expected to pass.
1661
26fb3983
JV
16622018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1663
1664 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1665 -data-disassemble -a.
1666 (test_disassembly_bogus_args): Likewise.
1667
67943c00
AB
16682018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1669
1670 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1671
5ff2bbae
AB
16722018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1673
1674 * gdb.base/vla-optimized-out.exp: Add new test.
1675
e5bbcd0f
AB
16762018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1677
1678 * gdb.base/vla-optimized-out-o3.exp: Delete.
1679 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1680 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1681 deleted tests.
1682
9d4a934c
AB
16832018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1684
1685 PR gdb/18050:
1686 * gdb.server/extended-remote-restart.c: New file.
1687 * gdb.server/extended-remote-restart.exp: New file.
1688
045cf012
SM
16892018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1690
1691 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1692 "set variable index = 42".
1693
87d6a7aa
SM
16942018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1695
1696 * boards/index-cache-gdb.exp: New file.
1697 * gdb.dwarf2/index-cache.exp: New file.
1698 * gdb.dwarf2/index-cache.c: New file.
1699 * gdb.base/maint.exp: Check if we are using the index cache.
1700
96d68bd4
RO
17012018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1702
1703 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1704 MAKEFLAGS.
1705
5a699617
RO
17062018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1707
1708 * dg-extract-results.sh: Move to toplevel contrib.
1709 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1710 * Makefile.in (check-parallel-racy): Likewise.
1711
5bd18990
AB
17122018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1713
1714 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1715 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1716 tests if the target supports scheduler locking.
1717
3fbbcf47
TV
17182018-08-04 Tom de Vries <tdevries@suse.de>
1719
1720 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1721
3e1d3d8c
TT
17222018-08-02 Tom Tromey <tom@tromey.com>
1723
1724 PR symtab/16842.
1725 * gdb.cp/temargs.exp: Test "info address" of a template
1726 parameter.
1727
5abe0f0c
JV
17282018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1729
1730 * gdb.python/py-mi-var-info-path-expression.c: New file.
1731 * gdb.python/py-mi-var-info-path-expression.py: New file.
1732 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1733
fb66cde8
SDJ
17342018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1735
1736 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1737 error after "cannot resolve name" string.
1738
c708f4d2
AB
17392018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1740
1741 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1742 started.
1743 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1744
37cc0cae
TV
17452018-07-28 Tom de Vries <tdevries@suse.de>
1746
1747 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1748
63b4ecf7
TV
17492018-07-26 Tom de Vries <tdevries@suse.de>
1750
1751 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1752
3c3bb058
AB
17532018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1754
1755 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1756 is visible.
1757
9e7f3bbb
TV
17582018-07-26 Tom de Vries <tdevries@suse.de>
1759
1760 PR breakpoints/23366
1761 * gdb.base/catch-follow-exec.c: New test.
1762 * gdb.base/catch-follow-exec.exp: New file.
1763
16f808ec
TV
17642018-07-25 Tom de Vries <tdevries@suse.de>
1765
1766 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1767 vla-optimized-out.c.
1768
d7154a8d
JV
17692018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1770
1771 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1772 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1773
232a0032
TV
17742018-07-20 Tom de Vries <tdevries@suse.de>
1775
1776 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1777 NOCLONE macro.
1778 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1779
fbb1d502
TV
17802018-07-19 Tom de Vries <tdevries@suse.de>
1781
1782 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1783 regular expression.
1784
42dc7699
TV
17852018-07-18 Tom de Vries <tdevries@suse.de>
1786
1787 * gdb.base/vla-optimized-out.c: New test.
1788 * gdb.base/vla-optimized-out.exp: New file.
1789
7f1f7e23
SDJ
17902018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1791
1792 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1793 message "No address associated with hostname" when gdbserver
1794 cannot resolve the hostname.
1795
5759ebb3
PW
17962018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1797
1798 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1799 Add some test prefixes to make tests unique.
1800
3606ccab
PW
18012018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1802
1803 * gdb.base/frameapply.c: New file.
1804 * gdb.base/frameapply.exp: New file.
1805
529c08b2
PW
18062018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1807
1808 * gdb.base/skip.exp: Update expected error message.
1809
c7ab0aef
SDJ
18102018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1811 Jan Kratochvil <jan.kratochvil@redhat.com>
1812 Paul Fertser <fercerpav@gmail.com>
1813 Tsutomu Seki <sekiriki@gmail.com>
1814
1815 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1816 parameter.
1817 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1818 by default.
1819 * boards/native-gdbserver.exp: Likewise.
1820 * gdb.server/run-without-local-binary.exp: Improve regexp used
1821 for detecting when a remote debugging connection succeeds.
1822 * gdb.server/server-connect.exp: New file.
1823 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1824 Do not prefix the port number with ":".
1825 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1826 support for detecting and using it. Add '$debughost_gdbserver'
1827 to the list of arguments used to start gdbserver. Handle case
1828 when gdbserver cannot resolve a network name.
1829
16ff70dd
SDJ
18302018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1831
1832 PR c++/23373
1833 * gdb.base/ptype-offsets.cc (struct static_member): New
1834 struct.
1835 (main) <stmember>: New variable.
1836 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1837 with a static member in it.
1838
3541979f
AB
18392018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1840
1841 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1842 watchpoints enabled and disabled.
1843
c8ad9b9a
AB
18442018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1845
1846 * gdb.base/examine-backward.exp: Still run tests around address
1847 0x0, even if address 0x0 is not readable. Update the pattern for
1848 matching address 0x0 in expected output.
1849
e0e5e971
AB
18502018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1851
1852 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1853 malloc/free.
1854
1ea5da02
TV
18552018-07-04 Tom de Vries <tdevries@suse.de>
1856
1857 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1858
471b9d15
MR
18592018-07-02 Maciej W. Rozycki <macro@mips.com>
1860
1861 PR tdep/8282
1862 * gdb.arch/mips-disassembler-options.exp: New test.
1863 * gdb.arch/mips-disassembler-options.s: New test source.
1864
75acb486
PA
18652018-06-29 Pedro Alves <palves@redhat.com>
1866
1867 * gdb.threads/names.exp: Adjust expected "info threads" output.
1868
cd2bb709
PA
18692018-06-29 Pedro Alves <palves@redhat.com>
1870
1871 * gdb.opt/inline-break.exp (line number, address): Add "info
1872 break" tests.
1873
991ff292
PA
18742018-06-29 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1877 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1878 number and address and running to them.
1879
356819b6 18802018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
1881
1882 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1883
2512d7ef
JK
18842018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1885
1886 * lib/compiler.c: Remove executable permission flag.
1887
be1b6474
RB
18882018-06-28 Richard Bunt <richard.bunt@arm.com>
1889
1890 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1891 code.
1892 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1893
291f9a96
PT
18942018-06-28 Petr Tesarik <ptesarik@suse.cz>
1895
1896 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1897
ed6dfe51
PT
18982018-06-28 Petr Tesarik <ptesarik@suse.cz>
1899
1900 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1901 address argument is omitted.
1902
d4d429d5
PT
19032018-06-28 Petr Tesarik <ptesarik@suse.cz>
1904
1905 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1906
7ab6656f
OJ
19072018-06-27 Omair Javaid <omair.javaid@linaro.org>
1908
1909 PR gdb/21695
1910 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1911 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1912
a33ccfc7
TT
19132018-06-26 Tom Tromey <tom@tromey.com>
1914
1915 PR rust/22574:
1916 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1917 * gdb.rust/simple.rs (struct SimpleLayout): New.
1918
6d72d289
SM
19192018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1920
1921 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1922 "info registers" output.
1923
8363f9d5
RB
19242018-06-21 Richard Bunt <richard.bunt@arm.com>
1925
1926 * gdb.base/watchpoint-hw-attach.c: New test.
1927 * gdb.base/watchpoint-hw-attach.exp: New file.
1928
f00674fe
SM
19292018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1930
1931 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1932 through /bin/sh.
1933 * boards/dwarf4-gdb-index.exp: Likewise.
1934 * boards/fission-dwp.exp: Likewise.
1935
1d554008
UW
19362018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1937
1938 * gdb.base/float128.exp: Add comment and improved fail message
1939 to the failure case of "print large128" test.
1940
d0ac1c44
SM
19412018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1942
1943 * configure.ac: Remove AC_PREREQ.
1944 * configure: Re-generate.
1945
61b04dd0
PA
19462018-06-19 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1949 (func_extern_caller): New.
1950 (main): Call func_extern_caller.
1951 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1952 logic change.
1953
f63b508a
SM
19542018-06-18 Weimin Pan <weimin.pan@oracle.com>
1955
1956 PR gdb/16841
1957 * gdb.cp/typedef-base.cc: New file.
1958 * gdb.cp/typedef-base.exp: New file.
1959
0fe3a558
TV
19602018-06-18 Tom de Vries <tdevries@suse.de>
1961
1962 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1963
7010835a
AB
19642018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1965 Richard Bunt <Richard.Bunt@arm.com>
1966
1967 * gdb.threads/attach-slow-waitpid.c: New file.
1968 * gdb.threads/attach-slow-waitpid.exp: New file.
1969 * gdb.threads/slow-waitpid.c: New file.
1970
14897d65
PA
19712018-06-14 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.base/fork-running-state.c: Include <errno.h>.
1974 (exit_if_relative_exits): New.
1975 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1976 exits.
1977 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1978 child exits.
1979
5d9a0608
TV
19802018-06-14 Tom de Vries <tdevries@suse.de>
1981
1982 PR cli/22573
1983 * gdb.base/finish-pretty.c: New test.
1984 * gdb.base/finish-pretty.exp: New file.
1985
11ae5818
PA
19862018-06-14 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1989 gdb's expected startup output.
1990
1d39de44
PA
19912018-06-14 Pedro Alves <palves@redhat.com>
1992
1993 * lib/selftest-support.exp (selftest_setup): Remove inlined
1994 function handling.
1995
70ee0000
TV
19962018-06-14 Tom de Vries <tdevries@suse.de>
1997
1998 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1999 matching of breakpoint printing.
2000
11f4b608
TV
20012018-06-13 Tom de Vries <tdevries@suse.de>
2002
2003 PR testsuite/23269
2004 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2005 (fork_child): ... here, and ...
2006 (fork_parent): ... here.
2007
20082018-06-12 Tom de Vries <tdevries@suse.de>
2009
2010 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2011
9516f85a
AB
20122018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2013 Stephen Roberts <stephen.roberts@arm.com>
2014
2015 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2016 rewrite test to describe action performed, rather than possible
2017 failure.
2018
5045b3d7
GB
20192018-06-08 Gary Benson <gbenson@redhat.com>
2020
2021 * gdb.threads/check-libthread-db.exp: New file.
2022 * gdb.threads/check-libthread-db.c: Likewise.
2023
c61b06a1
TT
20242018-06-05 Tom Tromey <tom@tromey.com>
2025
2026 * gdb.base/default.exp: Update expected "show version" output.
2027
eb6af809
TT
20282018-06-05 Tom Tromey <tom@tromey.com>
2029
2030 PR cli/12326:
2031 * gdb.cp/static-print-quit.exp: Update.
2032 * lib/gdb.exp (pagination_prompt): Update.
2033 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2034 * gdb.python/python.exp: Update.
2035
178d6a63
JB
20362018-06-04 Joel Brobecker <brobecker@adacore.com>
2037
2038 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2039
8e817061
JB
20402018-06-01 Joel Brobecker <brobecker@adacore.com>
2041
2042 * gdb.ada/bp_fun_addr: New testcase.
2043
e86ca25f
TT
20442018-06-01 Tom Tromey <tom@tromey.com>
2045
2046 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2047 results.
2048 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2049 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2050 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2051 * gdb.base/maint.exp (maint_pass_if): Update.
2052
4b2dfa9d
MR
20532018-05-31 Maciej W. Rozycki <macro@mips.com>
2054
2055 * gdb.base/endian.exp: New test.
2056 * gdb.base/endian.c: New test source.
2057
45f25d6c
AB
20582018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2059
2060 PR gdb/23203
2061 * gdb.base/bt-selected-frame.c: New file.
2062 * gdb.base/bt-selected-frame.exp: New file.
2063 * lib/gdb.exp (get_current_frame_number): New function.
2064
d9f6d7f8
MR
20652018-05-24 Maciej W. Rozycki <macro@mips.com>
2066 Pedro Alves <palves@redhat.com>
2067
2068 * gdb.threads/tls-core.c: Include <stdlib.h>
2069 (thread_proc): Call `abort'.
2070 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2071 (tls_core_test): New procedure, bits factored out from ...
2072 (top level): ... here. Test both native cores and gcore cores.
2073
ff1cf532
TT
20742018-05-23 Tom Tromey <tom@tromey.com>
2075
2076 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2077
b98664d3
TT
20782018-05-23 Tom Tromey <tom@tromey.com>
2079
2080 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2081 symfile_complaints.
2082 (test_short_complaints): Likewise.
2083 (test_empty_complaints): Likewise.
2084 (test_initial_complaints): Update.
2085
4e9668d0
TT
20862018-05-23 Tom Tromey <tom@tromey.com>
2087
2088 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2089
43ba33c7
TT
20902018-05-23 Tom Tromey <tom@tromey.com>
2091
2092 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2093 (test_short_complaints): Update.
2094
035522c0
PA
20952018-05-22 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.base/remote.exp: Only gdb_start after compiling the
2098 testcase. Issue "disconnect" before testing "set remote" command
2099 defaults. Issue clean_restart before running to main.
2100
cc0be08f
PA
21012018-05-22 Pedro Alves <palves@redhat.com>
2102
2103 * gdb.base/remote.exp: Adjust expected output of "show remote
2104 memory-write-packet-size". Add tests for "set remote
2105 memory-write-packet-size 0" and "set remote
2106 memory-write-packet-size fixed/limit".
2107
b1b60145
PA
21082018-05-22 Pedro Alves <palves@redhat.com>
2109
2110 PR gdb/22973
2111 * gdb.base/utf8-identifiers.c: New file.
2112 * gdb.base/utf8-identifiers.exp: New file.
2113
0ec848ad
PFC
21142018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2115
2116 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2117
2c3305f6
PFC
21182018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2119
2120 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2121
ce1e8424
TT
21222018-05-18 Tom Tromey <tom@tromey.com>
2123
2124 * gdb.base/ptype-offsets.exp: Update.
2125
ddfe970e
KS
21262018-05-17 Keith Seitz <keiths@redhat.com>
2127
2128 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2129 in expected breakpoint stop locations.
2130 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2131 move to proper scope to test variable values.
2132 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2133 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2134 New functions.
2135 (main): Call not_inline_func3.
2136 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2137 inline_func1, inline_func2, and inline_func3. Test that when each
2138 breakpoint is hit, GDB properly reports both the stop location
2139 and the backtrace. Repeat tests for temporary breakpoints.
2140
0726fcc6
MR
21412018-05-15 Maciej W. Rozycki <macro@mips.com>
2142
2143 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2144 rather then trying to access it in determining whether the PID
2145 of `gdbserver' could have been retrieved.
2146
8ee22052
AB
21472018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2148
2149 * gdb.arch/amd64-init-x87-values.S: New file.
2150 * gdb.arch/amd64-init-x87-values.exp: New file.
2151
7785df48
JK
21522018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2153
2154 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2155
56bcdbea
TT
21562018-05-04 Tom Tromey <tom@tromey.com>
2157
2158 PR python/22730:
2159 * gdb.python/python.exp: Test multi-line execute.
2160
a913fffb
TT
21612018-05-04 Tom Tromey <tom@tromey.com>
2162
2163 PR python/22731:
2164 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2165
7a2c85f2
TT
21662018-05-04 Tom Tromey <tom@tromey.com>
2167
2168 PR gdb/11750:
2169 * gdb.base/define.exp: Test defining a user command inside a user
2170 command.
2171 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2172
a3b60e45
JK
21732018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2174 Pedro Alves <palves@redhat.com>
2175
2176 PR breakpoints/19806 and support for PR external/20207.
2177 * gdb.base/watchpoint-unaligned.c: New file.
2178 * gdb.base/watchpoint-unaligned.exp: New file.
2179
45fe4a03
AB
21802018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2181
2182 * gdb.base/maint.exp: Make test names unique, use
2183 test_prefix_command_help to test 'help maint info', and remove
2184 repeated test of 'help maint'.
2185
9be2ae8f
TT
21862018-05-04 Tom Tromey <tom@tromey.com>
2187
2188 PR gdb/22619:
2189 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2190 behavior.
2191
11859c31
AB
21922018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2193
2194 * gdb.base/maint.exp: Process output from 'maint print registers'
2195 line at a time.
2196
089a9490
AB
21972018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2198
2199 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2200 timeout.
2201
9b0797e2
AB
22022018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2205 filter pattern.
2206
f6ac5f3d
PA
22072018-05-02 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2210 to_log_command renames.
2211 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2212
77d3c63b
TT
22132018-05-02 Tom Tromey <tom@tromey.com>
2214
2215 * gdb.python/py-parameter.exp: Set test message.
2216
0489430a
TT
22172018-05-02 Tom Tromey <tom@tromey.com>
2218
2219 PR python/20084:
2220 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2221 PARAM_ZUINTEGER_UNLIMITED tests.
2222
1632f8ba
DR
22232018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2224
2225 PR rust/23124
2226 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2227 when casting.
2228
6d7bb824
TT
22292018-04-30 Tom Tromey <tom@tromey.com>
2230
2231 * gdb.python/py-type.exp: Check align attribute.
2232 * gdb.python/py-type.c: New "aligncheck" global.
2233
007e1530
TT
22342018-04-30 Tom Tromey <tom@tromey.com>
2235
2236 PR exp/17095:
2237 * gdb.dwarf2/dw2-align.exp: New file.
2238 * gdb.cp/align.exp: New file.
2239 * gdb.base/align.exp: New file.
2240 * lib/gdb.exp (gdb_int128_helper): New proc.
2241 (has_int128_c, has_int128_cxx): New caching procs.
2242
6873858b
TT
22432018-04-27 Tom Tromey <tom@tromey.com>
2244
2245 PR rust/22545:
2246 * gdb.rust/simple.exp: Add inclusive range tests.
2247
79188d8d
PA
22482018-04-26 Pedro Alves <palves@redhat.com>
2249
2250 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2251 ifunc breakpoint locations correctly of ifunc breakpoints set
2252 while the program resolves the ifunc.
2253
c7075ad5
PA
22542018-04-26 Pedro Alves <palves@redhat.com>
2255
2256 * gdb.base/gnu-ifunc-final.c: New file.
2257 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2258 * gdb.base/gnu-ifunc.exp (executable): Delete.
2259 (staticexecutable): Adjust.
2260 (lib_opts, exec_opts): Delete.
2261 (make_binsuffix, build, set-break): New procedures.
2262 (misc_tests): New, with tests factored out from the top level.
2263 (top level): Test different combinations of ifunc resolver name,
2264 resolver with and with debug info, and ifunc target with and
2265 without debug info. Wrap static tests with with_target_prefix.
2266
8388016d
PA
22672018-04-26 Pedro Alves <palves@redhat.com>
2268
2269 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2270 return type" warnings.
2271
249b5733
PA
22722018-04-25 Pedro Alves <palves@redhat.com>
2273
2274 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2275 killed".
2276 * gdb.base/kill-after-signal.exp: Likewise.
2277 * gdb.threads/kill.exp: Likewise.
2278
f67c0c91
SDJ
22792018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 Sergio Durigan Junior <sergiodj@redhat.com>
2281 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2284 regexps to expect for '[Inferior ... detached]' as well.
2285 * gdb.base/attach.exp: Likewise.
2286 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2287 "gdb_continue_to_end".
2288 (test_catch_syscall_with_wrong_args): Likewise.
2289 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2290 ']'. Don't set 'verbose' on.
2291 * gdb.base/foll-vfork.exp: Likewise.
2292 * gdb.base/fork-print-inferior-events.c: New file.
2293 * gdb.base/fork-print-inferior-events.exp: New file.
2294 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2295 '[Inferior ... has been killed]' message.
2296 * gdb.base/kill-after-signal.exp: Likewise.
2297 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2298 detach message.
2299 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2300 message.
2301 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2302 regexps to expect for '[Inferior ... detached]' as well.
2303 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2304
0a8ddac4
SM
23052018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2306
2307 PR gdb/23104
2308 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2309
d27d16bf
RB
23102018-04-19 Richard Bunt <richard.bunt@arm.com>
2311
2312 * gdb.threads/multiple-successive-infcall.c: New test.
2313 * gdb.threads/multiple-successive-infcall.exp: New file.
2314
a037790e
TT
23152018-04-17 Tom Tromey <tom@tromey.com>
2316
2317 * gdb.rust/simple.rs (Union): New type.
2318 (main): New local "u".
2319 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2320
e3a91079
AA
23212018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2322
2323 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2324 number information in output of "whereis" command.
2325 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2326
b744723f
AA
23272018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2328
2329 * gdb.ada/info_types.exp: Adjust expected output to the line
2330 numbers now printed by "info var/func/type".
2331 * gdb.base/completion.exp: Likewise.
2332 * gdb.base/included.exp: Likewise.
2333 * gdb.cp/cp-relocate.exp: Likewise.
2334 * gdb.cp/cplusfuncs.exp: Likewise.
2335 * gdb.cp/namespace.exp: Likewise.
2336 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2337
4a4495d6
MM
23382018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2339
2340 * gdb.btrace/cpu.exp: New.
2341
1d509aa6
MM
23422018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2343
2344 * gdb.base/step-indirect-call-thunk.exp: New.
2345 * gdb.base/step-indirect-call-thunk.c: New.
2346 * gdb.reverse/step-indirect-call-thunk.exp: New.
2347 * gdb.reverse/step-indirect-call-thunk.c: New.
2348
6295b6da
SM
23492018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2350
2351 * gdb.base/pie-fork.c: New file.
2352 * gdb.base/pie-fork.exp: New file.
2353
50146e70
TT
23542018-04-11 Tom Tromey <tom@tromey.com>
2355
2356 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2357
f50d8a2e
PA
23582018-04-10 Pedro Alves <palves@redhat.com>
2359
2360 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2361 exits. Instead loop running forever.
2362 (fork_parent): Run forever too.
2363
a0be7a36
SM
23642018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2365
2366 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2367 mi_continue_to_line.
2368 * gdb.mi/mi-stack.c (callee4): Add comment.
2369
9b73db36
SM
23702018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2371
2372 * gdb.mi/mi-stack.exp: Fix indentation.
2373
c912f608
SM
23742018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2375
2376 PR gdb/22979
2377 * gdb.arch/amd64-osabi.exp: New file.
2378
26540402
SM
23792018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2380
2381 PR gdb/22980
2382 * gdb.base/osabi.exp: New file.
2383
121ad66c 23842018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
2385
2386 * gdb.cp/static-typedef-print.exp: New file.
2387 * gdb.cp/static-typedef-print.cc: New file.
2388
3fcded8f
JB
23892018-03-27 Joel Brobecker <brobecker@adacore.com>
2390
2391 * gdb.ada/varsize_limit: New testcase.
2392
59cc4834
JB
23932018-03-27 Joel Brobecker <brobecker@adacore.com>
2394
2395 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2396
2397 * gdb.ada/notcplusplus: New testcase.
2398
2399 * gdb.base/c-linkage-name.c: New file.
2400 * gdb.base/c-linkage-name.exp: New testcase.
2401
4ca59a9f
TT
24022018-03-26 Tom Tromey <tom@tromey.com>
2403
2404 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2405 * gdb.python/py-framefilter.py (name_error): New global.
2406 (ErrorInName.function): Use name_error.
2407
978d6c75
TT
24082018-03-26 Tom Tromey <tom@tromey.com>
2409
2410 PR backtrace/15582:
2411 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2412
b7fee5a3
KS
24132018-03-23 Keith Seitz <keiths@redhat.com>
2414
2415 PR c++/22968
2416 * gdb.cp/subtypes.exp: New file.
2417 * gdb.cp/subtypes.h: New file.
2418 * gdb.cp/subtypes.cc: New file.
2419 * gdb.cp/subtypes-2.cc: New file.
2420
376be529
AB
24212018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2422
2423 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2424 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2425 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2426 -nostartfiles when compiling the test. Confirm that all registers
2427 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2428
066cfa98
AB
24292018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2430
2431 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2432 option, syntax was wrong anyway.
2433 * gdb.arch/arm-disp-step.exp: Likewise.
2434 * gdb.arch/sparc64-regs.exp: Likewise.
2435 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2436 option, syntax was wrong anyway, switch to use
2437 prepare_for_testing.
2438 * gdb.arch/i386-disp-step.exp: Likewise.
2439
079670b9
AA
24402018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2441
2442 * gdb.ada/exec_changed.exp: Replace "target_info exists
2443 use_gdb_stub" by "use_gdb_stub".
2444 * gdb.ada/start.exp: Likewise.
2445 * gdb.base/async-shell.exp: Likewise.
2446 * gdb.base/attach-pie-misread.exp: Likewise.
2447 * gdb.base/attach-wait-input.exp: Likewise.
2448 * gdb.base/break-entry.exp: Likewise.
2449 * gdb.base/break-interp.exp: Likewise.
2450 * gdb.base/dprintf-detach.exp: Likewise.
2451 * gdb.base/nostdlib.exp: Likewise.
2452 * gdb.base/solib-nodir.exp: Likewise.
2453 * gdb.base/statistics.exp: Likewise.
2454 * gdb.base/testenv.exp: Likewise.
2455 * gdb.mi/mi-exec-run.exp: Likewise.
2456 * gdb.mi/mi-start.exp: Likewise.
2457 * gdb.multi/dummy-frame-restore.exp: Likewise.
2458 * gdb.multi/multi-arch-exec.exp: Likewise.
2459 * gdb.multi/multi-arch.exp: Likewise.
2460 * gdb.multi/tids.exp: Likewise.
2461 * gdb.multi/watchpoint-multi.exp: Likewise.
2462 * gdb.python/py-events.exp: Likewise.
2463 * gdb.threads/attach-into-signal.exp: Likewise.
2464 * gdb.threads/attach-stopped.exp: Likewise.
2465 * gdb.threads/threadapply.exp: Likewise.
2466 * lib/selftest-support.exp: Likewise.
2467
26d6cec4
AA
24682018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2469
2470 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2471
4ee89e90
SR
24722018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2473
2474 * gdb.perf/template-breakpoints.cc: New file.
2475 * gdb.perf/template-breakpoints.exp: New file.
2476 * gdb.perf/template-breakpoints.py: New file.
2477
92630041
TT
24782018-03-19 Tom Tromey <tom@tromey.com>
2479
2480 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2481 y0.
2482 * gdb.rust/simple.exp: Test bare identifier form of struct
2483 initializer.
2484
76727919
TT
24852018-03-19 Tom Tromey <tom@tromey.com>
2486
2487 * gdb.gdb/observer.exp: Remove.
2488
194ed413
AA
24892018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2490
2491 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2492 "qualified" option when setting breakpoints.
2493 * gdb.trace/backtrace.exp: Likewise.
2494 * gdb.trace/circ.exp: Likewise.
2495 * gdb.trace/collection.exp: Likewise.
2496 * gdb.trace/disconnected-tracing.exp: Likewise.
2497 * gdb.trace/ftrace-lock.exp: Likewise.
2498 * gdb.trace/ftrace.exp: Likewise.
2499 * gdb.trace/infotrace.exp: Likewise.
2500 * gdb.trace/packetlen.exp: Likewise.
2501 * gdb.trace/passc-dyn.exp: Likewise.
2502 * gdb.trace/qtro.exp: Likewise.
2503 * gdb.trace/read-memory.exp: Likewise.
2504 * gdb.trace/report.exp: Likewise.
2505 * gdb.trace/signal.exp: Likewise.
2506 * gdb.trace/status-stop.exp: Likewise.
2507 * gdb.trace/strace.exp: Likewise.
2508 * gdb.trace/tfind.exp: Likewise.
2509 * gdb.trace/trace-break.exp: Likewise.
2510 * gdb.trace/trace-condition.exp: Likewise.
2511 * gdb.trace/trace-mt.exp: Likewise.
2512 * gdb.trace/tstatus.exp: Likewise.
2513 * gdb.trace/tsv.exp: Likewise.
2514 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2515 * gdb.trace/unavailable.exp: Likewise.
2516 * gdb.trace/while-dyn.exp: Likewise.
2517
8b067d2c
AA
25182018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2519
2520 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2521 that libinproctrace is copied to the target.
2522
3ae9ce5d
TT
25232018-03-14 Tom Tromey <tom@tromey.com>
2524
2525 PR cli/14977:
2526 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2527 a null pointer.
2528 * gdb.base/wchar.exp: Likewise.
2529
b8c2339b
TT
25302018-03-14 Tom Tromey <tom@tromey.com>
2531
2532 PR cli/19918:
2533 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2534 flag.
2535
4872dc46
SM
25362018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2537
2538 PR gdb/22841
2539 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2540 "target" to remote_exec.
2541
e4fe3756
SM
25422018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2543
2544 PR gdb/22841
2545 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2546 ${board}_upload): Remove.
2547
e95a97d4
AA
25482018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2549
2550 * gdb.cp/watch-cp.cc: New test.
2551 * gdb.cp/watch-cp.exp: New file.
2552
dbbb1059
AB
25532018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2554
2555 * gdb.base/infcall-nested-structs.exp: New file.
2556 * gdb.base/infcall-nested-structs.c: New file.
2557 * gdb.base/float.exp: Add riscv support.
2558
ecc054c0
TP
25592018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2560
2561 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2562 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2563
25e3c82c
SDJ
25642018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2565
2566 * gdb.server/abspath.exp: New file.
2567 * lib/gdb.exp (with_cwd): New procedure.
2568
3083294d
SM
25692018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2570
2571 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2572 use it.
2573 (gdb_is_target_remote_prompt): New proc.
2574 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2575 (gdb_is_target_native): Pass prompt parameter to
2576 gdb_is_target_1.
2577
3275ef47
SM
25782018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2579
2580 * gdb.base/load-command.c: New file.
2581 * gdb.base/load-command.exp: New file.
2582 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2583 (gdb_is_target_1): ...this, and generalize for other targets
2584 than just remote.
2585 (gdb_is_target_remote): Use gdb_is_target_1.
2586 (gdb_is_target_native): use gdb_is_target_1.
2587
6893c19a
TT
25882018-02-26 Tom Tromey <tom@tromey.com>
2589
2590 PR python/16497:
2591 * gdb.python/py-framefilter.exp: Update test.
2592
2ddeaf8a
TT
25932018-02-26 Tom Tromey <tom@tromey.com>
2594
2595 * gdb.dwarf2/variant.c: New file.
2596 * gdb.dwarf2/variant.exp: New file.
2597
c9317f21
TT
25982018-02-26 Tom Tromey <tom@tromey.com>
2599
2600 * gdb.rust/simple.exp: Accept more possible results in enum test.
2601
6f6d0c26
SM
26022018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2603
2604 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2605 parentheses.
2606
11b03145
MR
26072018-02-23 Maciej W. Rozycki <macro@mips.com>
2608
2609 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2610 name of a variable: $actual_linejj -> $actual_line.
2611
54a27fe5
JB
26122018-02-21 John Baldwin <jhb@FreeBSD.org>
2613
2614 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2615
de65820c
MM
26162018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2617
2618 * gdb.btrace/buffer-size.exp: Do not force BTS.
2619
980548fd
PA
26202018-02-14 Pedro Alves <palves@redhat.com>
2621
2622 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2623 getting a "Quit".
2624
c4e12631
MM
26252018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2626
2627 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2628 Fix test name.
2629
c2e0e465
SM
26302018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2631
2632 * gdb.cp/m-static.exp: Check type of optimized out static
2633 member.
2634
f7216783
AB
26352018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2638 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2639
0625771b
LS
26402018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2641 Leszek Swirski <leszeks@google.com>
2642
2643 * gdb.python/py-prettyprint.c
2644 (struct to_string_returns_value_inner,
2645 struct to_string_returns_value_wrapper): New.
2646 (main): Add tsrvw variable.
2647 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2648 ToStringReturnsValueWrapper): New classes.
2649 (register_pretty_printers): Register new pretty-printers.
2650 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2651 recursive pretty printer.
2652 * gdb.python/py-mi.exp: Likewise.
2653
59498c30
LS
26542018-02-01 Leszek Swirski <leszeks@google.com>
2655
2656 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2657 functions with the same name as an include file are parsed
2658 correctly.
2659
d4d38844
YQ
26602018-02-01 Yao Qi <yao.qi@linaro.org>
2661
2662 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2663 "\[^\r\n\]*".
2664
07e5f5cf
NP
26652018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2666
2667 * gdb.arch/powerpc-prologue-frame.s: New file.
2668 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2669 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2670
929b5ad4
JB
26712018-01-31 Joel Brobecker <brobecker@adacore.com>
2672
2673 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2674
e671cd59
PA
26752018-01-30 Pedro Alves <palves@redhat.com>
2676
2677 PR gdb/13211
2678 * gdb.base/interrupt-daemon.c: New.
2679 * gdb.base/interrupt-daemon.exp: New.
2680 * gdb.multi/multi-term-settings.c: New.
2681 * gdb.multi/multi-term-settings.exp: New.
2682
fc413dc4
JB
26832018-01-30 Joel Brobecker <brobecker@adacore.com>
2684
2685 * gdb.base/break.exp: Save the location where the breakpoint
2686 on break.c:47 was actually inserted when debugging the version
2687 compiled at -O2 and use it in the expected output of the "info
2688 break" test performed soon after.
2689
5c319bb2
PA
26902018-01-22 Pedro Alves <palves@redhat.com>
2691 Sergio Durigan Junior <sergiodj@redhat.com>
2692
2693 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2694 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2695
a9e40818
JB
26962018-01-22 Joel Brobecker <brobecker@adacore.com>
2697
2698 * gdb.base/break-include.c, gdb.base/break-include.inc,
2699 gdb.base/break-include.exp: New files.
2700 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2701 line number now being the actual line number where the breakpoint
2702 was inserted.
2703 * gdb.mi/mi-break.exp: Likewise.
2704 * gdb.mi/mi-reverse.exp: Likewise.
2705 * gdb.mi/mi-simplerun.exp: Ditto.
2706
e707fc44
AB
27072018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2708
2709 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2710 varobj.
2711 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2712
ae451627
AB
27132018-01-21 Don Breazeal <donb@codesourcery.com>
2714 Andrew Burgess <andrew.burgess@embecosm.com>
2715
2716 * gdb.mi/basics.c: Add new global.
2717 * gdb.mi/mi-frame-regs.exp: New file.
2718 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2719 case.
2720
b1b189e0
AB
27212018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2722
2723 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2724 non-parameter, and on an unknown symbol.
2725
fcfcc376
TT
27262018-01-19 Tom Tromey <tom@tromey.com>
2727
2728 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2729 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2730
634c1c31
AA
27312018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2732
2733 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2734 setrlimit and chdir to int.
2735
d6ad07fd
AA
27362018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2737
2738 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2739 function.
2740 (my_tend): Likewise.
2741 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2742 rationale of avoiding FP- and vector instructions.
2743
adf8243b
RK
27442018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2745
2746 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2747 "info reg" with "\[ \t\]*".
2748 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2749 "\[ \t\]+".
2750 * gdb.arch/s390-multiarch.exp: Ditto.
2751 * gdb.base/pc-fp.exp: Ditto.
2752 * gdb.reverse/i386-precsave.exp: Ditto.
2753 * gdb.reverse/i386-reverse.exp: Ditto.
2754 * gdb.reverse/i387-env-reverse.exp: Ditto.
2755 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2756
dcc06925
AA
27572018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2758
2759 * lib/gdb.exp (gdb_compile): Re-enable use of
2760 universal_compile_options for languages other than Rust.
2761
25d4fd80
AA
27622018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2763
2764 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2765
ee7f689e 27662018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
2767
2768 PR gdb/16577
2769 * gdb.base/solib-vanish.exp: New.
2770 * gdb.base/solib-vanish-main.c: New.
2771 * gdb.base/solib-vanish-lib1.c: New.
2772 * gdb.base/solib-vanish-lib2.c: New.
2773
d8447b6b
YQ
27742018-01-17 Yao Qi <yao.qi@linaro.org>
2775
2776 * gdb.compile/compile.exp: Match the address printed for
2777 frame in the output of command "bt".
2778
86d6a90c
TT
27792018-01-15 Tom Tromey <tom@tromey.com>
2780
2781 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2782 compute sp_reg.
2783
cbcdb1aa
AB
27842018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2785
2786 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2787 to prepare.
2788 (prepare): Return 0 on error, 1 on success.
2789
eea61984
PA
27902018-01-12 Pedro Alves <palves@redhat.com>
2791
2792 * gdb.base/continue-after-aborted-step-over.c: New.
2793 * gdb.base/continue-after-aborted-step-over.exp: New.
2794
6181e9c2
SM
27952018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2796
2797 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2798 options when not creating an executable.
2799
3cada740
PA
28002018-01-11 Pedro Alves <palves@redhat.com>
2801
2802 PR remote/22597
2803 * gdb.server/stop-reply-no-thread.c: New file.
2804 * gdb.server/stop-reply-no-thread.exp: New file.
2805
c63d3e8d
PA
28062018-01-10 Pedro Alves <palves@redhat.com>
2807
2808 PR gdb/22670
2809 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2810 functions too. Test setting breakpoints and printing C functions
2811 with no debug info too.
2812 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2813
d4c2a405
PA
28142018-01-10 Pedro Alves <palves@redhat.com>
2815
2816 PR gdb/22670
2817 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2818 a fail.
2819
8825213e
PA
28202018-01-10 Pedro Alves <palves@redhat.com>
2821
2822 PR gdb/22670
2823 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2824
605fd3c6
YQ
28252018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2826
2827 * gdb.server/unittest.exp: Match the output in non-development
2828 mode.
2829
1e5ded6c
YQ
28302018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2831
2832 * gdb.gdb/unittest.exp: Match output in non-development mode.
2833
30066b0b
JB
28342018-01-08 Joel Brobecker <brobecker@adacore.com>
2835
2836 * gdb.ada/access_tagged_param.exp: Relax expected output
2837 for value of "ObjL" in "continue" to pck.inspect breakpoint
2838 test.
2839
04bafb1e
XR
28402018-01-08 Joel Brobecker <brobecker@adacore.com>
2841
9f86398b
JB
2842 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2843 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 2844
e379cee6
PA
28452018-01-05 Pedro Alves <palves@redhat.com>
2846
2847 PR gdb/18653
2848 * gdb.base/libsegfault.exp: New.
2849
de63c46b
PA
28502018-01-05 Joel Brobecker <brobecker@adacore.com>
2851
2852 PR gdb/22670
2853 * gdb.ada/access_tagged_param.exp: New file.
2854 * gdb.ada/access_tagged_param/foo.adb: New file.
2855
f98fc17b
PA
28562018-01-05 Pedro Alves <palves@redhat.com>
2857
2858 PR gdb/22670
2859 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2860 exercise lower case too, and to exercise both full matching and
2861 wild matching.
2862
342f8240
JB
28632018-01-05 Joel Brobecker <brobecker@adacore.com>
2864
2865 * gdb.ada/rename_subscript_param: New testcase.
2866
7150d33c
JG
28672018-01-05 Jerome Guitton <guitton@adacore.com>
2868
2869 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2870
cc0e770c
JB
28712018-01-05 Joel Brobecker <brobecker@adacore.com>
2872
2873 * gdb.ada/convvar_comp: New testcase.
2874
672a41aa 28752018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
2876
2877 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2878 (My_Table): New global variable.
2879 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2880
7365ec2f
JB
28812018-01-04 Joel Brobecker <brobecker@adacore.com>
2882
2883 PR gdb/22670
2884 * gdb.ada/maint_with_ada: New testcase.
2885
289483b6
JB
28862018-01-04 Joel Brobecker <brobecker@adacore.com>
2887
2888 PR gdb/22670
2889 * gdb.ada/bp_c_mixed_case: New testcase.
2890
344420da
JB
28912018-01-04 Joel Brobecker <brobecker@adacore.com>
2892
2893 PR gdb/22670
2894 * gdb.ada/complete.exp: Add "complete break ada" test.
2895
66fc87a0
JB
28962018-01-04 Joel Brobecker <brobecker@adacore.com>
2897
2898 PR gdb/22670
2899 * gdb.ada/info_addr_mixed_case: New testcase.
2900
9f757bf7
XR
29012018-01-03 Xavier Roirand <roirand@adacore.com>
2902
2903 * gdb.ada/excep_handle.exp: New testcase.
2904 * gdb.ada/excep_handle/foo.adb: New file.
2905 * gdb.ada/excep_handle/pck.ads: New file.
2906
bd570f80
JB
29072018-01-03 Joel Brobecker <brobecker@adacore.com>
2908
2909 * gdb.base/step-line.c: Add extra empty line in copyright header.
2910 * gdb.base/step-line.inp: Likewise.
2911
9fe561ab
JB
29122018-01-02 Joel Brobecker <brobecker@adacore.com>
2913
2914 * gdb.ada/dyn_stride.exp: Add slice test.
2915
a405673c
JB
29162018-01-02 Joel Brobecker <brobecker@adacore.com>
2917
2918 * gdb.ada/dyn_stride: New testcase.
2919
cef0f868
SH
29202017-12-27 Stafford Horne <shorne@gmail.com>
2921
2922 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2923 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2924
b67d92b0
SH
29252017-12-27 Stafford Horne <shorne@gmail.com>
2926
2927 * gdb.base/reggroups.c: New file.
2928 * gdb.base/reggroups.exp: New file.
2929
eccab96d
JB
29302017-12-18 Joel Brobecker <brobecker@adacore.com>
2931
2932 * gdb.dwarf2/ada-valprint-error.c: New file.
2933 * gdb.dwarf2/ada-valprint-error.exp: New file.
2934
0e2da9f0
JB
29352017-12-18 Joel Brobecker <brobecker@adacore.com>
2936
2937 * gdb.ada/assign_arr: New testcase.
2938
cb923fcc
XR
29392017-12-18 Xavier Roirand <roirand@adacore.com>
2940
2941 * gdb.ada/funcall_ptr: New testcase.
2942
7c161838
SDJ
29432017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2944
2945 PR cli/16224
2946 * gdb.base/ptype-offsets.cc: New file.
2947 * gdb.base/ptype-offsets.exp: New file.
2948
1af17fd9
YQ
29492017-12-15 Yao Qi <yao.qi@linaro.org>
2950
2951 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2952 if XML is disabled.
2953
828d5846
XR
29542017-12-15 Xavier Roirand <roirand@adacore.com>
2955
2956 * gdb.ada/same_component_name: New testcase.
2957
79e8fcaa
JB
29582017-12-14 Joel Brobecker <brobecker@adacore.com>
2959
2960 * gdb.ada/str_binop_equal: New testcase.
2961
e05fa6f9
JB
29622017-12-14 Joel Brobecker <brobecker@adacore.com>
2963
2964 * gdb.ada/task_switch_in_core: New testcase.
2965
b89641ba
SM
29662017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2967
2968 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2969 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2970 call test_bkpt_qualified.
2971 (test_bkpt_qualified): New proc.
2972
6892d2e4
PA
29732017-12-13 Pedro Alves <palves@redhat.com>
2974
2975 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2976 Tighten regexp by matching with an anchor.
2977
a22ecf70
PA
29782017-12-13 Pedro Alves <palves@redhat.com>
2979
2980 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2981 ("expression with namespace"): New set of tests.
2982 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2983 (Nested::Test_NS::qux): New.
2984 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2985 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2986
9937536c
JB
29872017-12-13 Joel Brobecker <brobecker@adacore.com>
2988
2989 * gdb.base/server-del-break.c: New file.
2990 * gdb.base/server-del-break.exp: New file.
2991
fe49c6f5
SH
29922017-12-12 Stafford Horne <shorne@gmail.com>
2993
2994 * gdb.xml/tdesc-regs.exp: Add or1k support.
2995
c3d18620
SH
29962017-12-12 Stafford Horne <shorne@gmail.com>
2997
2998 * gdb.base/bp-permanent.c: Define nop of or1k.
2999
c5f9cfc8
JB
30002017-12-11 Joel Brobecker <brobecker@adacore.com>
3001
3002 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3003 output with components being reordered.
3004
a9c135fc
JB
30052017-12-11 Joel Brobecker <brobecker@adacore.com>
3006
3007 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3008 output with components being reordered.
3009
927aa2e7
JK
30102017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.base/maint.exp (check for .gdb_index): Check also for
3014 .debug_names.
3015 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3016 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3017 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3018 (.gdb_index used after symbol reloading): Support also .debug_names.
3019 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3020
f17d9474
YQ
30212017-12-08 Yao Qi <yao.qi@linaro.org>
3022
3023 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3024 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3025
a0de8c21
YQ
30262017-12-08 Yao Qi <yao.qi@linaro.org>
3027
3028 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3029 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3030
a738ea1d
YQ
30312017-12-08 Yao Qi <yao.qi@linaro.org>
3032
3033 * gdb.arch/aarch64-tagged-pointer.c: New file.
3034 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3035
1cd9a73b
SDJ
30362017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3037
3038 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3039 "int".
3040
fa6eb693
KS
30412017-12-07 Keith Seitz <keiths@redhat.com>
3042
3043 PR breakpoints/22569
3044 * gdb.linespec/ls-errs.exp: Change expected result of "break
3045 -source this file has spaces.c -line 3".
3046 Check that an explicit source file followed by whitespace is
3047 identified as an invalid explicit location.
3048
883fd55a
KS
30492017-12-07 Keith Seitz <keiths@redhat.com>
3050
3051 * gdb.cp/nested-types.cc: New file.
3052 * gdb.cp/nested-types.exp: New file.
3053 * lib/cp-support.exp: Load data-structures.exp library.
3054 (debug_cp_test_ptype_class): New global.
3055 (cp_ptype_class_verbose, next_line): New procedures.
3056 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3057 Add and document new return value.
3058 Switch the list of lines to a queue.
3059 Add support for new `type' key for nested type definitions.
3060 Add debugging/troubleshooting messages.
3061 * lib/data-structures.exp: New file.
3062
ec72db3e
SM
30632017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3064
3065 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3066 with proc_with_prefix, don't use with_test_prefix.
3067
99598d71
TT
30682017-12-07 Tom Tromey <tom@tromey.com>
3069
3070 * gdb.base/break.exp: Add test for empty "commands".
3071
a8806230
YQ
30722017-12-07 Yao Qi <yao.qi@linaro.org>
3073
3074 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3075 malloc and catch syscall.
3076
824cc835
PM
30772017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3078
3079 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3080 tests for explicit locations.
3081
7cc244de
PA
30822017-12-06 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3085 force-disabling XML descriptions.
3086
50a1fdd5
PA
30872017-12-04 Pedro Alves <palves@redhat.com>
3088
3089 PR gdb/22499
3090 * gdb.arch/amd64-disp-step-avx.S: New file.
3091 * gdb.arch/amd64-disp-step-avx.exp: New file.
3092
f0fb2488
PA
30932017-12-03 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3096 and <string.h>.
3097 (parent_function): Print distinct messages when waitpid fails, or
3098 the child exits with a signal, or the child exits for an unhandled
3099 reason.
3100 * gdb.threads/process-dies-while-detaching.exp
3101 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3102 it. Wait for both inferior output and GDB's prompt. Use an
3103 indirect spawn id list.
3104 (do_detach): New parameter 'child_exit'. Use it to compute
3105 expected inferior output.
3106 (test_detach, test_detach_watch, test_detach_killed_outside):
3107 Adjust to pass down the expected child exit kind.
3108
97cbe998
SDJ
31092017-12-01 Joel Brobecker <brobecker@adacore.com>
3110 Sergio Durigan Junior <sergiodj@redhat.com>
3111 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3114
40fc416f
SDJ
31152017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3116
3117 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3118 to 'symbol-file' and 'add-symbol-file' can be
3119 position-independent.
3120
1cc75e92
YQ
31212017-12-01 Yao Qi <yao.qi@linaro.org>
3122
3123 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3124 the URL in copyright header.
3125 * gdb.arch/aarch64-fp.exp: Likewise.
3126 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3127 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3128 * gdb.base/expand-psymtabs.exp: Likewise.
3129 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3130 * gdb.fortran/common-block.exp: Likewise.
3131 * gdb.fortran/common-block.f90: Likewise.
3132 * gdb.fortran/logical.exp: Likewise.
3133 * gdb.fortran/vla-datatypes.f90: Likewise.
3134 * gdb.fortran/vla-sub.f90: Likewise.
3135
875fb7a7
JB
31362017-11-30 Joel Brobecker <brobecker@adacore.com>
3137
3138 * gdb.ada/repeat_dyn: New testcase.
3139
6f14765f
UW
31402017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3141
3142 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3143 Update for changed thread numbering.
3144 * gdb.cell/bt.exp: Update for changed GDB output.
3145
f1af7b94
SM
31462017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3147
3148 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3149 setting isremote by hand.
3150 * boards/dwarf4-gdb-index.exp: Likewise.
3151 * boards/fission.exp: Likewise.
3152 * boards/stabs.exp: Likewise.
3153
e3919f3e
PA
31542017-11-30 Pedro Alves <palves@redhat.com>
3155
3156 * gdb.linespec/cpls-ops.exp
3157 (check_explicit_skips_function_argument): Extract the underlying
3158 type of size_t instead of hardcoding it.
3159
bd69330d
PA
31602017-11-29 Pedro Alves <palves@redhat.com>
3161
3162 PR c++/19436
3163 * gdb.linespec/cpls-abi-tag.cc: New file.
3164 * gdb.linespec/cpls-abi-tag.exp: New file.
3165
a20714ff
PA
31662017-11-29 Pedro Alves <palves@redhat.com>
3167
3168 * gdb.base/langs.exp: Use -qualified.
3169 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3170 it.
3171 * gdb.cp/namespace.exp: Use -qualified.
3172 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3173 (overload-3, template-overload, template-ret-type, const-overload)
3174 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3175 procedures.
3176 (test_driver): Call them.
3177 * gdb.cp/save-bp-qualified.cc: New.
3178 * gdb.cp/save-bp-qualified.exp: New.
3179 * gdb.linespec/explicit.exp: Test -qualified.
3180 * lib/completion-support.exp (completion::explicit_opts_list): Add
3181 "-qualified".
3182 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3183
f6f1d339
PM
31842017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3185
3186 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3187
02ca603a
TT
31882017-11-29 Tom Tromey <tom@tromey.com>
3189
3190 * gdb.base/relocate.exp: Update invalid argument test.
3191 Add new tests for invalid arguments.
3192
ed6c0bfb
TP
31932017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3194
3195 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3196 Return 0 as a long.
3197 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3198
f106e10e
TP
31992017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3200
3201 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3202 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3203 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3204 func ().
3205 * gdb.cp/shadow.cc (B.func): Return 0.
3206
10329bb2
JB
32072017-11-27 Joel Brobecker <brobecker@adacore.com>
3208
3209 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3210 expected output in gdb_expect call to allow the exception
3211 message to be present as well. Fix syntax confusion to avoid
3212 TCL thinking that exception_name is an array.
3213
617cd4bc
UW
32142017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3215
3216 * gdb.arch/spu-info.c: Include <unistd.h>.
3217 (do_signal_test): Fix broken calls to write.
3218 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3219 Fix checks for empty mailboxes. Update signal tests for corrected
3220 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
3221 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3222 * gdb.cell/arch.exp: Use standard_output_file.
3223 * gdb.cell/break.exp: Likewise.
3224 * gdb.cell/bt.exp: Likewise.
3225 * gdb.cell/core.exp: Likewise.
3226 * gdb.cell/dwarfaddr.exp: Likewise.
3227 * gdb.cell/ea-cache.exp: Likewise.
3228 * gdb.cell/ea-standalone.exp: Likewise.
3229 * gdb.cell/f-regs.exp: Likewise.
3230 * gdb.cell/fork.exp: Likewise.
3231 * gdb.cell/gcore.exp: Likewise.
3232 * gdb.cell/mem-access.exp: Likewise.
3233 * gdb.cell/ptype.exp: Likewise.
3234 * gdb.cell/registers.exp: Likewise.
3235 * gdb.cell/sizeof.exp: Likewise.
3236 * gdb.cell/solib-symbol.exp: Likewise.
3237 * gdb.cell/solib.exp: Likewise.
617cd4bc 3238
a81aaca0
PA
32392017-11-25 Pedro Alves <palves@redhat.com>
3240
3241 * gdb.base/complete-empty.exp: New file.
3242 * gdb.base/completion.exp: Adjust.
3243
6a3c6ee4
PA
32442017-11-25 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.linespec/cpls-ops.cc: New file.
3247 * gdb.linespec/cpls-ops.exp: New file.
3248 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3249 factored out from ...
3250 (test_complete_prefix_range): ... this.
3251
8955eb2d
PA
32522017-11-24 Pedro Alves <palves@redhat.com>
3253
3254 * gdb.linespec/cpcompletion.exp: New file.
3255 * gdb.linespec/cpls-hyphen.cc: New file.
3256 * gdb.linespec/cpls.cc: New file.
3257 * gdb.linespec/cpls2.cc: New file.
3258 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3259 test to use test_gdb_complete_unique. Add label completion,
3260 keyword completion and explicit location completion tests.
3261 * lib/completion-support.exp: New file.
3262
e547c119
JB
32632017-11-24 Joel Brobecker <brobecker@adacore.com>
3264
3265 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3266 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3267 when hitting an exception catchpoint.
3268
7c3c1aa8
YQ
32692017-11-22 Yao Qi <yao.qi@linaro.org>
3270
3271 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3272
41bd68f5
SM
32732017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3274
3275 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3276 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3277 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3278
1daad298
YQ
32792017-11-22 Yao Qi <yao.qi@linaro.org>
3280
3281 * gdb.base/info-os.exp: Pass pthreads.
3282 * gdb.multi/multi-attach.exp: Likewise.
3283
88465e87
YQ
32842017-11-22 Yao Qi <yao.qi@linaro.org>
3285
3286 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3287 compiler.
3288
dc196b23
YQ
32892017-11-22 Yao Qi <yao.qi@linaro.org>
3290
3291 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3292 * gdb.base/break-interp.exp: Likewise.
3293 * gdb.base/jit-attach-pie.exp: Likewise.
3294
2400729e
UW
32952017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3296
3297 * gdb.base/float128.c (large128): New variable.
3298 * gdb.base/float128.exp: Add test to print largest __float128 value.
3299
7a26362d
UW
33002017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3301
3302 * gdb.arch/vsx-regs.exp: Update register content checks.
3303
ed0f4273
UW
33042017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3305
3306 * gdb.arch/ppc-longdouble.exp: New file.
3307 * gdb.arch/ppc-longdouble.c: Likewise.
3308
a25d69c6
PA
33092017-11-21 Pedro Alves <palves@redhat.com>
3310
3311 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3312
73fcf641
PA
33132017-11-20 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3316 (long_double_typedef): New typedefs.
3317 Use DEF on double and long double.
3318 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3319 cases.
3320 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3321 and 'long_double_ptr_same_size' locals. Use them to decide
3322 whether cast from array/function to float is valid/invalid.
3323
71a3c369
TT
33242017-11-17 Tom Tromey <tom@tromey.com>
3325
3326 * gdb.rust/traits.rs: New file.
3327 * gdb.rust/traits.exp: New file.
3328
ced9779b
JB
33292017-11-17 Joel Brobecker <brobecker@adacore.com>
3330
3331 * gdb.ada/minsyms: New testcase.
3332
a0922d80
PA
33332017-11-16 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3336 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3337
ea04e54c
PA
33382017-11-16 Pedro Alves <palves@redhat.com>
3339
3340 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3341 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3342
e849ea89
PA
33432017-11-16 Pedro Alves <palves@redhat.com>
3344
3345 * gdb.server/reconnect-ctrl-c.c: New file.
3346 * gdb.server/reconnect-ctrl-c.exp: New file.
3347
d8ae99a7
PM
33482017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3349
3350 * gdb.python/py-rbreak.exp: New file.
3351 * gdb.python/py-rbreak.c: New file.
3352 * gdb.python/py-rbreak-func2.c: New file.
3353
968a13f8
PA
33542017-11-16 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3357 pattern.
3358 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3359 GDB.
3360
71774bc9
SM
33612017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3362
3363 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3364 regex.
3365
ddbb44cf
SM
33662017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3367
3368 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3369 test names.
3370
584a564f
PA
33712017-11-09 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3374 factored out from ...
3375 (top level): ... here, and adjusted to avoid expecting beyond the
3376 prompt in a single gdb_test_multiple.
3377
5ed7a928
PA
33782017-11-09 Pedro Alves <palves@redhat.com>
3379
3380 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3381 output.
3382 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3383 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3384 * gdb.server/ext-run.exp ("kill" test): Likewise.
3385 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3386
a60e0738
PA
33872017-11-09 Pedro Alves <palves@redhat.com>
3388
3389 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3390 match till end of line.
3391
2c88253f
PA
33922017-11-09 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3395
c7a38517
PA
33962017-11-09 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3399 New procedures, factored out from ...
3400 (top level): ... here, and adjusted to avoid expecting beyond the
3401 prompt in one go.
3402
f29f4b6b
PA
34032017-11-09 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3406 output. Fix '?' match.
3407
286acbb5
JB
34082017-11-08 Joel Brobecker <brobecker@adacore.com>
3409
3410 * gdb.ada/scoped_watch: New testcase.
3411 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3412 which is actually correct.
3413 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3414 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3415
62d7ae92
PA
34162017-11-08 Pedro Alves <palves@redhat.com>
3417
3418 * gdb.gdb/complaints.exp (test_initial_complaints)
3419 (test_serial_complaints, test_short_complaints): Call
3420 complaint_internal instead of complaint.
3421
280ca31f
DT
34222017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3423
3424 * gdb.threads/tls-core.c: New file.
3425 * gdb.threads/tls-core.exp: Likewise.
3426
b5ec771e
PA
34272017-11-08 Pedro Alves <palves@redhat.com>
3428
3429 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3430 (p Exported_Capitalized): New test.
3431 (p exported_capitalized): New test.
3432
a02b41a7
PA
34332017-11-07 Pedro Alves <palves@redhat.com>
3434
3435 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3436
95e95a6d
PA
34372017-11-07 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3440 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3441 (disable_invalid, disable_inverted, disable_negative): New
3442 procedures.
3443 ("bad numbers"): New set of tests.
3444
cee62dbd
PA
34452017-11-07 Pedro Alves <palves@redhat.com>
3446
3447 * gdb.cp/ena-dis-br-range.exp: Add tests.
3448
cc638e86
PA
34492017-11-07 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3452
d0fe4701
XR
34532017-11-07 Xavier Roirand <roirand@adacore.com>
3454 Pedro Alves <palves@redhat.com>
3455
3456 * gdb.base/ena-dis-br.exp: Add reference to
3457 gdb.cp/ena-dis-br-range.exp.
3458 * gdb.cp/ena-dis-br-range.exp: New file.
3459 * gdb.cp/ena-dis-br-range.cc: New file.
3460
46f67f80
PA
34612017-11-06 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/attach-non-pgrp-leader.c: New.
3464 * gdb.base/attach-non-pgrp-leader.exp: New.
3465
726e1356
PA
34662017-11-06 Pedro Alves <palves@redhat.com>
3467
3468 * configure.ac: No longer check for termio.h and sgtty.h.
3469 * configure: Regenerate.
3470 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3471 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3472 Remove termio and sgtty code.
3473
50ab6ace
YQ
34742017-11-03 Yao Qi <yao.qi@linaro.org>
3475
3476 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3477 in GDB is disabled.
3478
8e68731c
YQ
34792017-11-03 Yao Qi <yao.qi@linaro.org>
3480
3481 * gdb.python/py-thrhandle.exp: Skip it if python is not
3482 enabled.
3483
3a87ae65
SM
34842017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3485
3486 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3487 as a breakpoint command.
3488
484d8d36
MD
34892017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3490
3491 PR python/21213
3492 * gdb.python/py-infthread.exp: Test calling
3493 InferiorThread.inferior () multiple times in a row.
3494
4a27f119
KS
34952017-10-27 Keith Seitz <keiths@redhat.com>
3496
3497 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3498 Test "info break" for every inlined function breakpoint.
3499
bb11dd58
YQ
35002017-10-27 Yao Qi <yao.qi@linaro.org>
3501
3502 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3503
a43f3893
PF
35042017-10-26 Patrick Frants <osscontribute@gmail.com>
3505
3506 * gdb.cp/classes.exp (test_static_members): Test printing
3507 Outer::instance.
3508 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3509 (Inner::instance, Outer::instance): New.
3510
792ccf00
PA
35112017-10-24 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3514 extra console" test in two stages.
3515
eb2bfbad
PA
35162017-10-24 Pedro Alves <palves@redhat.com>
3517
3518 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3519
1f75a651
PA
35202017-10-24 Pedro Alves <palves@redhat.com>
3521
3522 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3523 loop.
3524
779990d9
PA
35252017-10-24 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3528 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3529
ad9b8f5d
PA
35302017-10-24 Pedro Alves <palves@redhat.com>
3531
3532 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3533 parameter and handle it. Don't output read value in test name.
3534
fee6da6e
PA
35352017-10-24 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3538 custom test name.
3539
10389c2c
PA
35402017-10-24 Pedro Alves <palves@redhat.com>
3541
3542 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3543 include the unstable output directory name in the test's name.
3544 (initial_setup_simple) <'set args'>: Use custom test name.
3545
a80e65a9
PA
35462017-10-24 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3549 with explicit test name.
3550
15763a09
PA
35512017-10-20 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3554 'wait -i'. Use gdb_assert and remote_close.
3555
49a4ce2e
AB
35562017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3557
3558 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3559 number from variable rather than hard-coded.
3560
a75868f5
PA
35612017-10-19 Pedro Alves <palves@redhat.com>
3562
3563 * gdb.base/long-inferior-output.c: New file.
3564 * gdb.base/long-inferior-output.exp: New file.
3565
c8ba13ad
KS
35662017-11-18 Keith Seitz <keiths@redhat.com>
3567
3568 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3569 method.
3570 (main): Call it.
3571 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3572 Add additional user-defined conversion operator tests.
3573
b27de576
PA
35742017-10-17 Pedro Alves <palves@redhat.com>
3575
3576 * boards/native-stdio-gdbserver.exp: Load "local-board".
3577
8484c955
PA
35782017-10-17 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.base/quit-live.c: New file.
3581 * gdb.base/quit-live.exp: New file.
3582
83d5a34d
KS
35832017-10-16 Keith Seitz <keiths@redhat.com>
3584
3585 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3586 (class_with_protected_typedef, class_with_private_typedef)
3587 (struct_with_public_typedef, struct_with_protected_typedef)
3588 (struct_with_private_typedef): New classes/structs.
3589 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3590 typedefs and access specifiers.
3591
739b3f1d
PA
35922017-10-16 Pedro Alves <palves@redhat.com>
3593 Simon Marchi <simon.marchi@polymtl.ca>
3594
3595 * README (Local vs Remote vs Native): New section.
3596 * boards/local-board.exp: New file, with bits factored out from
3597 ...
3598 * boards/native-extended-gdbserver.exp: ... here. Load
3599 "local-board".
3600 * boards/native-gdbserver.exp: Load "local-board".
3601 (${board}_spawn, ${board}_exec): Delete.
3602 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3603 ...
3604 * boards/stdio-gdbserver-base.exp: ... this new file.
3605 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3606 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3607 procedure.
3608 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3609 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3610 stdio_gdbserver_command.
3611 (${board}_get_remote_address, ${board}_get_comm_port)
3612 (${board}_download, ${board}_upload): Delete.
3613 (get_target_remote_pipe_cmd): New.
3614
fe68b953
SM
36152017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3616
3617 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3618 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3619 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3620 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3621 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3622 remove with_test_prefix.
3623
300b6685
PA
36242017-10-13 Pedro Alves <palves@redhat.com>
3625
3626 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3627 * gdb.base/annota1.exp: Use it instead of is_remote.
3628 * gdb.base/annota3.exp: Use it instead of is_remote.
3629 * gdb.cp/annota2.exp: Use it instead of is_remote.
3630 * gdb.cp/annota3.exp: Use it instead of is_remote.
3631 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3632
50500caf
PA
36332017-10-13 Pedro Alves <palves@redhat.com>
3634
3635 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3636 (test_num_test_vars, run_and_count_vars, find_env)
3637 (test_set_unset_env, test_inherit_env_var): New procedures.
3638 (top level): Use them.
3639
dad0c6d2
PA
36402017-10-13 Pedro Alves <palves@redhat.com>
3641
3642 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3643 also skip on stub-like targets.
3644
8b0553c1
PA
36452017-10-13 Pedro Alves <palves@redhat.com>
3646
3647 PR gdb/22293
3648 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3649 (top level): Move some tests to ...
3650 (test_not_found): ... this new procedure.
3651 (top level): Call it.
3652
7594f623
PA
36532017-10-13 Pedro Alves <palves@redhat.com>
3654
3655 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3656 expect different "info terminal" output if testing with a
3657 non-native target.
3658
ebe3b402
PA
36592017-10-13 Pedro Alves <palves@redhat.com>
3660 Simon Marchi <simon.marchi@polymtl.ca>
3661
3662 PR python/12966
3663 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3664
42f1b161
PA
36652017-10-13 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3668 already.
3669
8d6ef72b
PA
36702017-10-13 Pedro Alves <palves@redhat.com>
3671
3672 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3673 is_remote.
3674
d7bcd5b8
PA
36752017-10-13 Pedro Alves <palves@redhat.com>
3676
3677 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3678 is_remote.
3679
df479dc6
PA
36802017-10-13 Pedro Alves <palves@redhat.com>
3681
3682 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3683 is set.
3684 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3685 instead of is_remote.
3686
23fb630a
PA
36872017-10-13 Pedro Alves <palves@redhat.com>
3688
3689 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3690 (top level): Add comment.
3691
cc77b1dc
PA
36922017-10-13 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.base/remote.exp (top level): Fix comment typo and add
3695 missing return.
3696
27c9e813
PA
36972017-10-13 Pedro Alves <palves@redhat.com>
3698 Simon Marchi <simon.marchi@polymtl.ca>
3699
3700 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3701 calls and add comments. Skip test if use_gdb_stub is set.
3702 (top level): Use "set cwd" command instead of "cd" command.
3703
5e830d98
PA
37042017-10-13 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3707 is_remote target check.
3708
f5ca0032
PA
37092017-10-13 Pedro Alves <palves@redhat.com>
3710
3711 * gdb.base/scope.exp: Use build_executable + clean_restart +
3712 gdb_file_cmd instead of prepare_for_testing and no longer skip
3713 "before run" tests on is_remote target boards. Update comments.
3714 * boards/native-extended-gdbserver.exp
3715 (extended_gdbserver_load_last_file): New, factored out from ...
3716 (gdb_load): ... this. Move further below and add comment.
3717 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3718
8aed1c0d
PA
37192017-10-12 Pedro Alves <palves@redhat.com>
3720
3721 * gdb.base/attach.exp: Remove references to gdb64.
3722 * gdb.base/dbx.exp: Remove references to gdb64.
3723
cfa34c87
SM
37242017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3725 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/label.exp: Remove is_remote target check.
3728
9192b7de
PA
37292017-10-12 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/auvx.exp (coredir): Update comment.
3732 (top level) <core_works>: Use "set cwd" command instead of "cd"
3733 command.
3734
6bf0052d
PA
37352017-10-12 Pedro Alves <palves@redhat.com>
3736 Simon Marchi <simon.marchi@polymtl.ca>
3737
3738 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3739 target boards.
3740
e48ef82d
PA
37412017-10-12 Pedro Alves <palves@redhat.com>
3742 Simon Marchi <simon.marchi@polymtl.ca>
3743
3744 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3745 Instead skip if there's any gdb_protocol set.
3746
8d7aea57
SM
37472017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3748 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3751
30440677
PA
37522017-10-12 Pedro Alves <palves@redhat.com>
3753 Simon Marchi <simon.marchi@polymtl.ca>
3754
3755 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3756 instead of on dejagnu remote boards.
3757
4e04f045 37582017-10-12 Pedro Alves <palves@redhat.com>
175654b9 3759 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
3760
3761 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3762 checks. Use build_executable + clean_restart instead of
3763 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3764 of enabling non-stop after starting gdb.
3765
871a186e
PA
37662017-10-12 Pedro Alves <palves@redhat.com>
3767
3768 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3769 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3770 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3771 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3772
56d704da
AK
37732017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3774
3775 * gdb.arch/arc-tdesc-cpu.exp: New file.
3776 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3777
2f20e312
SM
37782017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3779
3780 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3781
65630365
PA
37822017-10-10 Pedro Alves <palves@redhat.com>
3783
3784 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3785 expect CLI output.
3786
bf469271
PA
37872017-10-10 Pedro Alves <palves@redhat.com>
3788
3789 * lib/selftest-support.exp (selftest_setup): Update for
3790 captured_command_loop's prototype change.
3791
777a42f1
PA
37922017-10-09 Pedro Alves <palves@redhat.com>
3793
3794 Test both arch1=>arch2 and arch2=>arch1.
3795
3796 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3797 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3798 factored out to...
3799 (append_arch1_options, append_arch2_options, append_arch_options)
3800 (build_executables): New procedures.
3801 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3802 local.
3803 (top level): Add new 'first_arch' testing axis.
3804
cbd2b4e3
PA
38052017-10-09 Pedro Alves <palves@redhat.com>
3806
3807 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3808 (barrier): New.
3809 (thread_start, all_started): New functions.
3810 (main): Spawn new thread and wait until it is scheduled.
3811 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3812 option.
3813 (do_test): Add 'selected_thread' parameter. Run to all_started
3814 instead of main. Explicitly set the breakpoint at main. Switch
3815 to the SELECTED_THREAD thread.
3816 (top level): Test handling the exec event with either the main
3817 thread or the second thread selected.
3818
5c9e4427
PA
38192017-10-09 Pedro Alves <palves@redhat.com>
3820
3821 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3822 logic. Move STOP marker after the value checks.
3823 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3824 regexp.
3825
b3b7c423
SL
38262017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3827
3828 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3829
3b4b2f16
UW
38302017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3831
3832 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3833 integer-to-dfp conversion.
3834 * gdb.base/dfp-test.exp: Likewise.
3835
5cd63fda
PA
38362017-10-04 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.multi/hangout.c: Include <unistd.h>.
3839 (hangout_loop): New function.
3840 (main): Call alarm. Call hangout_loop in a loop.
3841 * gdb.multi/hello.c: Include <unistd.h>.
3842 (hello_loop): New function.
3843 (main): Call alarm. Call hangout_loop in a loop.
3844 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3845 inferior with the other selected.
3846
4c71c105
SM
38472017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3848
3849 * gdb.mi/list-thread-groups-available.exp: New file.
3850 * gdb.mi/list-thread-groups-available.c: New file.
3851
bc3b087d
SDJ
38522017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3853
3854 * gdb.base/set-cwd.exp: Make it available on
3855 native-extended-gdbserver.
3856
d092c5a2
SDJ
38572017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3858
3859 * gdb.base/set-cwd.c: New file.
3860 * gdb.base/set-cwd.exp: Likewise.
3861
45320ffa
TT
38622017-10-02 Tom Tromey <tom@tromey.com>
3863
3864 PR rust/22236:
3865 * gdb.rust/simple.rs (main): New variable "fslice".
3866 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3867
b3e3859b
TT
38682017-10-02 Tom Tromey <tom@tromey.com>
3869
3870 * gdb.rust/simple.exp: Test ptype of a slice.
3871
01af5e0d
TT
38722017-10-02 Tom Tromey <tom@tromey.com>
3873
3874 * gdb.rust/simple.exp: Test index of slice.
3875
a9bbfbd8
TT
38762017-09-27 Tom Tromey <tom@tromey.com>
3877
3878 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3879
df8899e5
TP
38802017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3881 Pedro Alves <palves@redhat.com>
3882
3883 * gdb.base/compare-sections.exp (get value of read-only section): Read
3884 as unsigned value.
3885 (corrupt read-only section): Likewise and don't set written if patching
3886 failed.
3887
757bf54b
KB
38882017-09-21 Kevin Buettner <kevinb@redhat.com>
3889
3890 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3891 files.
3892
06871ae8
PA
38932017-09-20 Pedro Alves <palves@redhat.com>
3894
3895 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3896 symbol names in gdb's output.
3897 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3898
e5f25bc5
PA
38992017-09-20 Pedro Alves <palves@redhat.com>
3900
3901 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3902 Rename to ...
3903 (test_list_ambiguous_symbol): ... this and add a symbol name
3904 parameter. Adjust.
3905 (test_list_ambiguous_function): Reimplement on top of
3906 test_list_ambiguous_symbol and also test listing ambiguous
3907 variables.
3908 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3909 (ambiguous_fun): ... this.
3910 (ambiguous_var): New.
3911 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3912 (ambiguous_fun): ... this.
3913 (ambiguous_var): New.
3914
4e5a4f58
JB
39152017-09-19 John Baldwin <jhb@FreeBSD.org>
3916
3917 * gdb.base/starti.c: New file.
3918 * gdb.base/starti.exp: New file.
3919 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3920
26e53f3e
PA
39212017-09-14 Pedro Alves <palves@redhat.com>
3922
3923 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3924 (top level): Use it instead of runto.
3925
cb791d59
TT
39262017-09-11 Tom Tromey <tom@tromey.com>
3927
3928 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3929
7c96f8c1
TT
39302017-09-11 Tom Tromey <tom@tromey.com>
3931
3932 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3933 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3934
469412dd
CW
39352017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3936
3937 * gdb.fortran/printing-types.exp: New file.
3938 * gdb.fortran/printing-types.exp: New file.
3939
e0f86435
BH
39402017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3941
3942 * gdb.fortran/vla-ptype.exp: Fix typos.
3943 * gdb.fortran/vla-value.exp: Same.
3944
9e9af4be
BH
39452017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3946
3947 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3948 * gdb.mi/mi-var-child-f.exp: Likewise.
3949 * gdb.mi/mi-vla-fortran.exp: Likewise.
3950
a5ad232b
FP
39512017-09-08 Frank Penczek <frank.penczek@intel.com>
3952 Christoph Weinmann <christoph.t.weinmann@intel.com>
3953 Bernhard Heckel <bernhard.heckel@intel.com>
3954
3955 * gdb.fortran/ptr-indentation.f90: New file.
3956 * gdb.fortran/ptr-indentation.exp: New file.
3957
5aec60eb
TT
39582017-09-05 Tom Tromey <tom@tromey.com>
3959
3960 PR gdb/22010:
3961 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3962
8f8f8152
TP
39632017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3964
3965 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3966
fbd1b771
JK
39672017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 * gdb.threads/tls-nodebug-pie.c: New file.
3970 * gdb.threads/tls-nodebug-pie.exp: New file.
3971
5eb5f850
TT
39722017-09-05 Tom Tromey <tom@tromey.com>
3973
3974 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3975 for rust.
3976
ae780a21
SM
39772017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3978
3979 * gdb.multi/multi-arch-exec.exp: Test with different
3980 "follow-exec-mode" settings.
3981 (do_test): New procedure.
3982
3693fdb3
PA
39832017-09-04 Pedro Alves <palves@redhat.com>
3984
3985 * gdb.base/func-static.c (S::method const, S::method volatile)
3986 (S::method volatile const): New methods.
3987 (c_s, v_s, cv_s): New instances.
3988 (main): Call method() on them.
3989 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3990 (cannot_resolve): New procedure.
3991 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3992 print-quote-unquoted columns.
3993 (do_test): Test printing each scope too.
3994
e68cb8e0
PA
39952017-09-04 Pedro Alves <palves@redhat.com>
3996
3997 * gdb.base/local-static.exp: Also test with
3998 class::method::variable wholly quoted.
3999 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4000
858be34c
PA
40012017-09-04 Pedro Alves <palves@redhat.com>
4002
4003 * gdb.base/local-static.c: New.
4004 * gdb.base/local-static.cc: New.
4005 * gdb.base/local-static.exp: New.
4006
46a4882b
PA
40072017-09-04 Pedro Alves <palves@redhat.com>
4008
4009 * gdb.asm/asm-source.exp: Add casts to int.
4010 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4011 (dataglobal64_1, dataglobal64_2): New globals.
4012 * gdb.base/nodebug.exp: Test different expressions involving the
4013 new globals, with print, whatis and ptype. Add casts to int.
4014 * gdb.base/solib-display.exp: Add casts to int.
4015 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4016 * gdb.cp/m-static.exp: Add cast to int.
4017 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4018 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4019 tls variable with no debug info without a cast. Test with a cast
4020 to int too.
4021 * gdb.trace/entry-values.exp: Add casts.
4022
2c5a2be1
PA
40232017-09-04 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.base/nodebug.exp: Test that ptype's error about functions
4026 with unknown return type includes the function name too.
4027
7022349d
PA
40282017-09-04 Pedro Alves <palves@redhat.com>
4029
4030 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4031 return type of munmap in infcall.
4032 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4033 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4034 type of ftell in infcall.
4035 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4036 type of getpid in infcall.
4037 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4038 infcall.
4039 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4040 Bail on failure to extract the pid.
4041 * gdb.base/nodebug.c: #include <stdint.h>.
4042 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4043 New functions.
4044 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4045 Change expected output of print/whatis/ptype with functions with
4046 no debug info. Test all supported languages. Call
4047 test_call_promotion.
4048 * gdb.compile/compile.exp: Adjust expected output to expect
4049 warning.
4050 * gdb.threads/siginfo-threads.exp: Likewise.
4051
54990598
PA
40522017-09-04 Pedro Alves <palves@redhat.com>
4053
4054 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4055 "prototypes". Test calling float functions via prototyped and
4056 unprototyped function pointers.
4057 (perform_all_tests): New parameter "prototypes". Pass it down.
4058 (top level): Pass down "prototypes" parameter to
4059 perform_all_tests.
4060
34d16ea2
SM
40612017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4062
4063 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4064 Test with nested loops.
4065
9521ecda
SM
40662017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4067
4068 * gdb.base/commands.exp: Call the new procedures.
4069 (loop_break_test, loop_continue_test): New procedures.
4070
80a65e9b
SM
40712017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4072
4073 * gdb.base/commands.exp: Call new procedure.
4074 (define_if_without_arg_test): New procedure.
4075
e439fa14
PA
40762017-09-04 Pedro Alves <palves@redhat.com>
4077
4078 * gdb.base/list-ambiguous.exp: New file.
4079 * gdb.base/list-ambiguous0.c: New file.
4080 * gdb.base/list-ambiguous1.c: New file.
4081 * gdb.base/list.exp (test_list_range): Adjust expected output.
4082
0a2dde4a
SDJ
40832017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4084
4085 * gdb.base/share-env-with-gdbserver.c: New file.
4086 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4087
5e89eb3a
SM
40882017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4089
4090 * gdb.base/commands.exp (gdbvar_simple_if_test,
4091 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4092 progvar_simple_if_test, progvar_simple_while_test,
4093 progvar_complex_if_while_test, user_defined_command_test,
4094 user_defined_command_args_eval,
4095 user_defined_command_args_stack_test,
4096 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4097 temporary_breakpoint_commands,
4098 gdb_test_no_prompt, redefine_hook_test,
4099 redefine_backtrace_test): Remove "global gdb_prompt".
4100
fd437cbc
SM
41012017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4102
4103 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4104 New proc, call it from toplevel.
4105
87215ad1
SDJ
41062017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4107
4108 PR remote/21852
4109 * gdb.server/normal.c: New file, copied from gdb.base.
4110 * gdb.server/run-without-local-binary.exp: New file.
4111
58afddc6
WP
41122017-08-07 Weimin Pan <weimin.pan@oracle.com>
4113
4114 * gdb.arch/sparc64-adi.exp: New file.
4115 * gdb.arch/sparc64-adi.c: New file.
4116
5277199a
PA
41172017-08-22 Pedro Alves <palves@redhat.com>
4118
4119 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4120 (top level): Add "list all overloads" tests.
4121
14278e1f
TT
41222017-08-22 Tom Tromey <tom@tromey.com>
4123
4124 * gdb.gdb/xfullpath.exp: Remove.
4125
bf223d3e
PA
41262017-08-21 Pedro Alves <palves@redhat.com>
4127
4128 PR gdb/19487
4129 * gdb.base/symbol-alias.c: New.
4130 * gdb.base/symbol-alias2.c: New.
4131 * gdb.base/symbol-alias.exp: New.
4132
c973d0aa
PA
41332017-08-21 Pedro Alves <palves@redhat.com>
4134
4135 * gdb.base/dfp-test.c
4136 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4137 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4138 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4139 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4140 * gdb.base/whatis-ptype-typedefs.c: New.
4141 * gdb.base/whatis-ptype-typedefs.exp: New.
4142 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4143 (an_int, an_int_type, an_int_type2): New globals.
4144 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4145 involving typedefs and cast expressions.
4146 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4147 (lookup_typedefs_function): New.
4148 (typedefs_pretty_printers_dict): New.
4149 (top level): Register lookup_typedefs_function in
4150 gdb.pretty_printers.
4151
6d580b63
YQ
41522017-08-18 Yao Qi <yao.qi@linaro.org>
4153
4154 * gdb.server/unittest.exp: New.
4155
206726fb
SDJ
41562017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4157
4158 PR gdb/21954
4159 * gdb.base/environ.exp: Add test to check if 'unset environment'
4160 works.
4161
bf0ec4c2
AA
41622017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4163
4164 * lib/gdb.exp (universal_compile_options): New caching proc.
4165 (gdb_compile): Suppress GCC's coloring of messages.
4166
d6382fff
TT
41672017-08-14 Tom Tromey <tom@tromey.com>
4168
4169 PR gdb/21675:
4170 * gdb.base/printcmds.exp (test_radices): New function.
4171 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4172 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4173 * lib/gdb.exp (get_integer_valueof): Use p/d.
4174
c2c2dd9f
SM
41752017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4176
4177 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4178 characters.
4179
fdffd6f4
TT
41802017-08-05 Tom Tromey <tom@tromey.com>
4181
4182 * gdb.rust/simple.exp: Allow String to appear in a different
4183 namespace.
4184
27d41eac
YQ
41852017-07-26 Yao Qi <yao.qi@linaro.org>
4186
4187 * gdb.gdb/unittest.exp: Invoke command
4188 "maintenance check xml-descriptions".
4189
031ed05d
AA
41902017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4191
4192 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4193 calling context.
4194 (hex128): Drop erroneous calculation of parameters.
4195
dcd27ddf
SM
41962017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4197
4198 * gdb.python/py-unwind.exp: Disable stack protection when
4199 building test file.
4200
47e77640
PA
42012017-07-20 Pedro Alves <palves@redhat.com>
4202
4203 * gdb.base/default.exp (set language): Adjust expected output.
4204
62d2a18a
PA
42052017-07-20 Pedro Alves <palves@redhat.com>
4206
4207 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4208 (test_minsym): ... this, and make static.
4209 (get_pck__foo__bar__minsym): Rename to ...
4210 (get_test_minsym): ... this.
4211 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4212 symbol names and comments.
4213 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4214 (get_test_minsym): ... this.
4215 (pck__foo__bar__minsym__2): Rename to ...
4216 (test_minsym): ... this.
4217 (main): Adjust.
4218
c45ec17c
PA
42192017-07-17 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.base/completion.exp: Adjust expected output.
4222 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4223 the completer works.
4224
c6756f62
PA
42252017-07-17 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4228
5bd68487
AB
42292017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4230
4231 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4232
8880f2a9
TT
42332017-07-14 Tom Tromey <tom@tromey.com>
4234
4235 PR rust/21764:
4236 * gdb.rust/simple.exp: Add tests.
4237
65547233
TT
42382017-07-14 Tom Tromey <tom@tromey.com>
4239
4240 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4241
8f14146e
PA
42422017-07-14 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.linespec/base/one/thefile.cc (z1): New function.
4245 * gdb.linespec/base/two/thefile.cc (z2): New function.
4246 * gdb.linespec/linespec.exp: Add tests.
4247
b4365d02
AB
42482017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4249
4250 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4251 to mi_create_breakpoint.
4252
5d2cbaa5
AB
42532017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4254
4255 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4256 mi_create_breakpoint.
4257
11cb5716
IB
42582017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4259
4260 * gdb.dlang/demangle.exp: Update for demangling changes.
4261
03278692
TT
42622017-07-09 Tom Tromey <tom@tromey.com>
4263
4264 * gdb.dwarf2/shortpiece.exp: New file.
4265
33c5cd75
DB
42662017-07-06 David Blaikie <dblaikie@gmail.com>
4267
4268 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4269 built from fissiont-multi-cu{1,2}.c.
4270 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4271 except putting 'main' and 'func' in separate CUs in the same DWO file.
4272 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4273 test.
4274 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4275 test.
4276
8455d262
PA
42772017-07-06 Pedro Alves <palves@redhat.com>
4278
4279 * gdb.python/py-unwind.exp: Test flushregs.
4280
dc4bde35
SDJ
42812017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4282
4283 PR cli/21688
4284 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4285 tests for alias commands and trailing whitespace.
4286
51ed89aa
SDJ
42872017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4288
4289 PR cli/21688
4290 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4291 procedure. Call it.
4292
eb17d413
PA
42932017-06-29 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.base/printcmds.exp: Add tests.
4296
41664b45
DG
42972017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4298
4299 PR gdb/21337
4300 * gdb.base/reread-readsym.exp: New file.
4301 * gdb.base/reread-readsym.c: New file.
4302
75312ae3
KB
43032017-06-21 Kevin Buettner <kevinb@redhat.com>
4304
4305 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4306 subpattern.
4307
66953522
PB
43082017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4309
4310 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4311 extended mnemonic.
4312 * gdb.arch/powerpc-power9.s: Likewise.
4313
5524b525
AA
43142017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4315
4316 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4317 on 32-bit x86 targets. Exploit is_*_target macros where
4318 appropriate.
4319
03c8af18
AA
43202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4321
4322 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4323 register pieces.
4324
3bf31011
AA
43252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4326
4327 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4328 located in one or more DWARF pieces.
4329
805acca0
AA
43302017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4331
4332 * lib/gdb.exp (get_endianness): New proc.
4333 * gdb.arch/aarch64-fp.exp: Use it.
4334 * gdb.arch/altivec-regs.exp: Likewise.
4335 * gdb.arch/e500-regs.exp: Likewise.
4336 * gdb.arch/vsx-regs.exp: Likewise.
4337 * gdb.base/dump.exp: Likewise.
4338 * gdb.base/funcargs.exp: Likewise.
4339 * gdb.base/gnu_vector.exp: Likewise.
4340 * gdb.dwarf2/formdata16.exp: Likewise.
4341 * gdb.dwarf2/implptrpiece.exp: Likewise.
4342 * gdb.dwarf2/nonvar-access.exp: Likewise.
4343 * gdb.python/py-inferior.exp: Likewise.
4344 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4345
e9352324
AA
43462017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4347
4348 PR gdb/21226
4349 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4350 stack value pieces are taken from the LSB end.
4351
d5d1163e
AA
43522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4353
4354 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4355 variable at nonzero offset.
4356
0567c986
AA
43572017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4358
4359 * gdb.dwarf2/var-access.c: New file.
4360 * gdb.dwarf2/var-access.exp: New test.
4361 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4362
973e9aab
TT
43632017-06-12 Tom Tromey <tom@tromey.com>
4364
4365 * gdb.dwarf2/formdata16.exp: Add tests.
4366
d9109c80
TT
43672017-06-12 Tom Tromey <tom@tromey.com>
4368
4369 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4370
30a25466
TT
43712017-06-12 Tom Tromey <tom@tromey.com>
4372
4373 PR exp/16225:
4374 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4375 * gdb.arch/vsx-regs.exp: Update tests.
4376 * gdb.arch/s390-vregs.exp (hex128): New proc.
4377 Update test.
4378 * gdb.arch/altivec-regs.exp: Update tests.
4379
aefd8b33
SDJ
43802017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4381
4382 * gdb.base/startup-with-shell.c: New file.
4383 * gdb.base/startup-with-shell.exp: Likewise.
4384
2090129c
SDJ
43852017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4386
4387 * gdb.server/non-existing-program.exp: Update regex in order to
4388 reflect the fact that gdbserver is now using fork_inferior (with a
4389 shell) to startup the inferior.
4390
8e86a419
SM
43912017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4392
4393 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4394 support function calls from GDB.
4395
e6cf65f2
TT
43962017-05-21 Tom Tromey <tom@tromey.com>
4397
4398 PR rust/21466:
4399 * gdb.rust/unsized.exp: New file.
4400 * gdb.rust/unsized.rs: New file.
4401
43cc5389
TT
44022017-05-19 Tom Tromey <tom@tromey.com>
4403
4404 PR rust/21484:
4405 * gdb.rust/watch.exp: New file.
4406 * gdb.rust/watch.rs: New file.
4407
ec8df234
TT
44082017-05-18 Tom Tromey <tom@tromey.com>
4409
4410 * gdb.rust/simple.exp: Allow Box to be qualified.
4411
3e3e7fae
TP
44122017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4413
4414 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4415
59cc050d
PA
44162017-05-18 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.base/fileio.c (test_write, test_read, test_close)
4419 (test_fstat): Don't print 'ret' in the fail path.
4420
c8f6abd1
PA
44212017-05-18 Pedro Alves <palves@redhat.com>
4422
4423 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4424 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4425 (test_system, test_rename, test_unlink, test_time): Change
4426 prototypes.
4427 * gdb.base/fileio.exp (stop_msg): Adjust.
4428
d2a03b77
PA
44292017-05-18 Pedro Alves <palves@redhat.com>
4430
4431 * gdb.base/fileio.c (null_str): New global.
4432 (test_stat): Use it.
4433 * gdb.base/fileio.exp: Remove nowarnings.
4434
0d5c6999
YQ
44352017-05-17 Yao Qi <yao.qi@linaro.org>
4436
4437 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4438
21873064
YQ
44392017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4440
4441 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4442 argument command.
4443 (top-level): Invoke test_set_inferior_tty.
4444
d512d31c
PA
44452017-05-04 Pedro Alves <palves@redhat.com>
4446
4447 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4448 Add parens to print call for Python 3.
4449
90cef2ed
KS
44502017-05-03 Keith Seitz <keiths@redhat.com>
4451
4452 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4453 (main): Call it.
4454
14f819c8
TW
44552017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4456
4457 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4458 to prev and next.
4459
913aeadd
TW
44602017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4461
4462 * gdb.python/py-record-btrace.exp: Remove test for
4463 gdb.BtraceInstruction.error.
4464
a3be24ad
TW
44652017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4466
4467 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4468
ae20e79a
TW
44692017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4470
4471 * gdb.python/py-record-btrace-threads.c: New file.
4472 * gdb.python/py-record-btrace-threads.exp: New file.
4473
45ce1b47
SDJ
44742017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4475
4476 PR testsuite/8595
4477 * gdb.base/environ.exp: Make test available in all architectures.
4478 Move bits related to "info program" testing to
4479 gdb.base/info-program.exp. Rewrite tests to use the two new
4480 procedures mentione below.
4481 (test_set_show_env_var) New procedure.
4482 (test_set_show_env_var_equal): Likewise.
4483 * gdb.base/info-program.exp: New file.
4484
e15c3eb4
KS
44852017-04-27 Keith Seitz <keiths@redhat.com>
4486
4487 * gdb.cp/oranking.cc (test15): New function.
4488 (main): Call test15 and declare additional variables for testing.
4489 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4490 "p foo101('abc')" tests.
4491 Add tests for cv qualifier overloads.
4492 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4493 "lvalue reference overload" test.
4494 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4495 "print value of f1 on Child&& in f2" test.
4496
3a3fd0fd
PA
44972017-04-19 Pedro Alves <palves@redhat.com>
4498
4499 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4500 procedure.
4501 (top level): Call it.
4502 * lib/gdb.exp (gdb_define_cmd): New procedure.
4503
53375380
PA
45042017-04-12 Pedro Alves <palves@redhat.com>
4505
4506 PR gdb/21323
4507 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4508 (wchar): New global.
4509 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4510 (do_test_wide_char, wide_char_types_no_program, top level): Add
4511 wchar_t testing.
4512
53e710ac
PA
45132017-04-12 Pedro Alves <palves@redhat.com>
4514
4515 PR c++/21323
4516 * gdb.cp/wide_char_types.c: New file.
4517 * gdb.cp/wide_char_types.exp: New file.
4518
0ad9d8c7
SDJ
45192017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4520
4521 PR gdb/21352
4522 * gdb.trace/tsv.exp: Add test for "tsave -r".
4523
b1b45502
IB
45242017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4525
4526 * gdb.dlang/watch-loc.c: New file.
4527 * gdb.dlang/watch-loc.exp: New file.
4528
ec13808e
JK
45292017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4530
4531 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4532
fe5f7374
AK
45332017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4534
4535 * gdb.arch/arc-analyze-prologue.S: New file.
4536 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4537
eea78757
AK
45382017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4539
4540 * gdb.arch/arc-decode-insn.S: New file.
4541 * gdb.arch/arc-decode-insn.exp: Likewise.
4542
5badf10a
IR
45432017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4544
4545 PR tdep/20928
4546 * gdb.arch/sparc64-regs.exp: New file.
4547 * gdb.arch/sparc64-regs.S: Likewise.
4548
cee59b3f
TW
45492017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4550
4551 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4552 and memory view on Python 3.
4553
c0f55cc6
AV
45542017-03-20 Artemiy Volkov <artemiyv@acm.org>
4555 Keith Seitz <keiths@redhat.com>
4556
4557 PR gdb/14441
4558 * gdb.cp/demangle.exp: Add rvalue reference tests.
4559 * gdb.cp/rvalue-ref-casts.cc: New file.
4560 * gdb.cp/rvalue-ref-casts.exp: New file.
4561 * gdb.cp/rvalue-ref-overload.cc: New file.
4562 * gdb.cp/rvalue-ref-overload.exp: New file.
4563 * gdb.cp/rvalue-ref-params.cc: New file.
4564 * gdb.cp/rvalue-ref-params.exp: New file.
4565 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4566 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4567 * gdb.cp/rvalue-ref-types.cc: New file.
4568 * gdb.cp/rvalue-ref-types.exp: New file.
4569 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4570 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4571
51457a05
MAL
45722017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4573
4574 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4575 New procedure.
4576
5b291c04
MAL
45772017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4578
4579 * lib/mi-support.exp (mi_gdb_test): Add additional message
4580 for unexpected output.
4581
59a56148
AA
45822017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4583
4584 * gdb.base/examine-backward.c (Barrier): New character array
4585 constant, to ensure that TestStrings is preceded by a string
4586 terminator.
4587
7942e96e
AA
45882017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4589
4590 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4591 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4592 and implicit pointer into such a location.
4593
6ebac3fb
DE
45942017-03-16 Doug Evans <dje@google.com>
4595
4596 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4597
ec3b243d
TP
45982017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4599
4600 * gdb.cp/m-static.exp: Fix expectation for prototype of
4601 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
4602
46032017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
4604
4605 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4606 * gdb.guile/scm-lazy-string.c: New file.
4607 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4608 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4609 for pointer, array, typedef lazy strings.
4610
2cc36e25 46112017-03-16 Doug Evans <dje@google.com>
34b43320
DE
4612
4613 PR python/17728, python/18439, python/18779
4614 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4615 * gdb.python/py-lazy-string.c (pointer): New typedef.
4616 (main): New locals ptr, array, typedef_ptr.
4617 * gdb.python/py-value.exp: Move lazy string tests to ...
4618 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4619 array, typedef lazy strings.
ec3b243d 4620
0efcde63
AK
46212017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4622
4623 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4624 Add optional 'test' parameter.
4625
7978d7c3
SM
46262017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4627
4628 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4629 Skip for versions of DejaGnu < 1.5.
4630
896c0c1e
SM
46312017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4632
4633 * lib/gdb.exp (dejagnu_version): New proc.
4634 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4635 Use dejagnu_version.
4636
5f4d1085
KS
46372017-03-10 Keith Seitz <keiths@redhat.com>
4638
4639 PR c++/8128
4640 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4641 type from destructor regexps.
4642 Add a branch which actually passes the test.
4643 Adjust "ptype t5i" test names.
4644
1de05205
PA
46452017-03-08 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.base/step-over-exit.exp: Add explicit test message.
4648
c65d6b55
PA
46492017-03-08 Pedro Alves <palves@redhat.com>
4650
4651 PR gdb/18360
4652 * gdb.threads/interrupt-while-step-over.c: New file.
4653 * gdb.threads/interrupt-while-step-over.exp: New file.
4654
2e86a283
PA
46552017-03-08 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4658 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4659
25dcbff6
PA
46602017-03-08 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4663 PKRU as not supported as a PASS.
4664
dc9366eb
PA
46652017-03-08 Pedro Alves <palves@redhat.com>
4666
4667 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4668 prefix instead of $binfile1/$binfile2.
4669 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4670 in test message.
4671 * gdb.python/py-completion.exp: Use "load python file" as test
4672 messages instead of unstable path names.
4673
6e5d74e7
PA
46742017-03-08 Pedro Alves <palves@redhat.com>
4675 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 PR cli/21218
4678 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4679 New proc.
4680 (top level): Call it.
4681
9753a2f6
PA
46822017-03-08 Pedro Alves <palves@redhat.com>
4683
4684 PR tui/21216
4685 * gdb.tui/tui-nl-filtered-output.exp: New file.
4686
1a4dd9dd
PA
46872017-03-08 Pedro Alves <palves@redhat.com>
4688
4689 * gdb.base/completion.exp: Move TUI completion tests to ...
4690 * gdb.tui/completion.exp: ... this new file.
4691
7cbbff33
PA
46922017-03-08 Pedro Alves <palves@redhat.com>
4693
4694 * gdb.base/tui-disasm-long-lines.c,
4695 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4696 gdb.base/tui-layout.exp: Move to ...
4697 * gdb.tui/: ... this new directory.
4698
5f6fd321
PA
46992017-03-07 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.base/tui-layout.c: New file.
4702 * gdb.base/tui-layout.exp: New file.
4703
44959fa8
PA
47042017-03-07 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.base/tui-layout.c: Rename to ...
4707 * gdb.base/tui-disasm-long-lines.c: ... this.
4708 * gdb.base/tui-layout.exp: Rename to ...
4709 * gdb.base/tui-disasm-long-lines.exp: ... this.
4710
f8c4e718
PA
47112017-03-07 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4714
6dbb839a 47152017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
4716
4717 * i386-mpx-call.c: New file.
4718 * i386-mpx-call.exp: New file.
4719
65b48a81
PB
47202017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4721
4722 * gdb.arch/powerpc-power.exp: Delete test.
4723 * gdb.arch/powerpc-power.s: Likewise.
4724 * gdb.disasm/disassembler-options.exp: New test.
4725 * gdb.arch/powerpc-altivec.exp: Likewise.
4726 * gdb.arch/powerpc-altivec.s: Likewise.
4727 * gdb.arch/powerpc-altivec2.exp: Likewise.
4728 * gdb.arch/powerpc-altivec2.s: Likewise.
4729 * gdb.arch/powerpc-altivec3.exp: Likewise.
4730 * gdb.arch/powerpc-altivec3.s: Likewise.
4731 * gdb.arch/powerpc-power7.exp: Likewise.
4732 * gdb.arch/powerpc-power7.s: Likewise.
4733 * gdb.arch/powerpc-power8.exp: Likewise.
4734 * gdb.arch/powerpc-power8.s: Likewise.
4735 * gdb.arch/powerpc-power9.exp: Likewise.
4736 * gdb.arch/powerpc-power9.s: Likewise.
4737 * gdb.arch/powerpc-vsx.exp: Likewise.
4738 * gdb.arch/powerpc-vsx.s: Likewise.
4739 * gdb.arch/powerpc-vsx2.exp: Likewise.
4740 * gdb.arch/powerpc-vsx2.s: Likewise.
4741 * gdb.arch/powerpc-vsx3.exp: Likewise.
4742 * gdb.arch/powerpc-vsx3.s: Likewise.
4743 * gdb.arch/arm-disassembler-options.exp: Likewise.
4744 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4745 * gdb.arch/s390-disassembler-options.exp: Likewise.
4746
17cd4947
LM
47472017-02-23 Luis Machado <lgustavo@codesourcery.com>
4748
4749 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4750 (check_supported_features): ... this. Changed return type to void.
4751 (supports_rdseed): New static global.
4752 (rdseed): Check supports_rdseed.
4753 (initialize): Call check_supported_features.
4754
2039d74e
EBM
47552017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4756
4757 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4758 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4759 and lqarx/stqcx.
4760 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4761 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4762
a51d7ecf
EBM
47632017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4764
4765 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4766 uppercase.
4767
0224619f
JK
47682017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4769
4770 * gdb.dwarf2/formdata16.c: New file.
4771 * gdb.dwarf2/formdata16.exp: New file.
4772 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4773
216f72a1
JK
47742017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4775
4776 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4777 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4778 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4779 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4780 DW_AT_GNU_*.
4781
43988095
JK
47822017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4783
4784 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4785
99e8a4f9
SDJ
47862017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4787
4788 PR gdb/21164
4789 * gdb.base/maint.exp: Add testcases for when the commands do
4790 not have arguments.
4791
b58a8c0c
TP
47922017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4793
4794 * gdb.cp/chained-calls.exp: Use p instead of P.
4795
4e746bb6
TW
47962017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4797
4798 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4799 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4800
3f77c769
TT
48012017-02-14 Tom Tromey <tom@tromey.com>
4802
4803 PR python/13598:
4804 * gdb.python/py-events.exp: Add before_prompt event tests.
4805
075beec0
AA
48062017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4807
4808 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4809
bf5f525c
LM
48102017-02-13 Luis Machado <lgustavo@codesourcery.com>
4811
4812 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4813 (main): Call my_unique_function_name.
4814 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4815 completion of patterns with a single match.
4816 Add missing -re switches to gdb_test_multiple calls.
4817
13a66184
LM
48182017-02-13 Luis Machado <lgustavo@codesourcery.com>
4819
4820 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4821 return if core file is not recognized.
4822
26a06916
SM
48232017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4824
4825 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4826 and extra UIs.
4827
b761ca9e
SM
48282017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4829
4830 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4831 proc_with_prefix.
4832
b964bee0
TT
48332017-02-10 Tom Tromey <tom@tromey.com>
4834
4835 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4836
18da0c51
MG
48372017-02-10 Martin Galvan <martingalvan@sourceware.org>
4838
4839 PR gdb/21122
4840 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4841
604c4576
JG
48422017-02-08 Jerome Guitton <guitton@adacore.com>
4843
4844 * gdb.base/define.exp: Add test for command abbreviations
4845 in define.
4846
20b477a7
LM
48472017-02-06 Luis Machado <lgustavo@codesourcery.com>
4848
4849 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4850 * gdb.reverse/insn-reverse-x86.c: New file.
4851
3f7b46f2
IR
48522017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4853
4854 PR tdep/20936
4855 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4856
f0fd41c1
TT
48572017-02-03 Tom Tromey <tom@tromey.com>
4858
4859 PR rust/21097:
4860 * gdb.rust/simple.exp: Add new tests.
4861
5be5dbf0
PA
48622017-02-02 Pedro Alves <palves@redhat.com>
4863
4864 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4865 tests.
4866
7346ef59
AA
48672017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4868
4869 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4870 taking a 2-byte value out of a 4-byte DWARF implicit value on
4871 big-endian targets.
4872 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4873 logic. Add test cases for DW_OP_implicit.
4874
787f0025
MM
48752017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4876
4877 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4878
68777c29
MM
48792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4880
4881 * gdb.btrace/enable.exp: Call gdb_exit before
4882 skip_gdbserver_tests.
4883
0a1c7e28
MM
48842017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4885
4886 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4887 GDBFLAGS.
4888
b5ac99b0
MM
48892017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4890
4891 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4892 the test is skipped.
4893 * gdb.btrace/data.exp: Likewise.
4894 * gdb.btrace/delta.exp: Likewise.
4895 * gdb.btrace/dlopen.exp: Likewise.
4896 * gdb.btrace/enable-running.exp: Likewise.
4897 * gdb.btrace/enable.exp: Likewise.
4898 * gdb.btrace/exception.exp: Likewise.
4899 * gdb.btrace/function_call_history.exp: Likewise.
4900 * gdb.btrace/gcore.exp: Likewise.
4901 * gdb.btrace/instruction_history.exp: Likewise.
4902 * gdb.btrace/multi-thread-step.exp: Likewise.
4903 * gdb.btrace/nohist.exp: Likewise.
4904 * gdb.btrace/non-stop.exp: Likewise.
4905 * gdb.btrace/reconnect.exp: Likewise.
4906 * gdb.btrace/record_goto-step.exp: Likewise.
4907 * gdb.btrace/record_goto.exp: Likewise.
4908 * gdb.btrace/rn-dl-bind.exp: Likewise.
4909 * gdb.btrace/segv.exp: Likewise.
4910 * gdb.btrace/step.exp: Likewise.
4911 * gdb.btrace/stepi.exp: Likewise.
4912 * gdb.btrace/tailcall-only.exp: Likewise.
4913 * gdb.btrace/tailcall.exp: Likewise.
4914 * gdb.btrace/tsx.exp: Likewise.
4915 * gdb.btrace/unknown_functions.exp: Likewise.
4916 * gdb.btrace/vdso.exp: Likewise.
4917
cd4007e4
MM
49182017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4919
4920 * gdb.btrace/enable-running.c: New.
4921 * gdb.btrace/enable-running.exp: New.
4922
2735833d
WT
49232017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4924
4925 * gdb.arch/amd64-gs_base.c: New file.
4926 * gdb.arch/amd64-gs_base.exp: New file.
4927
b51e1e94
LM
49282017-01-26 Luis Machado <lgustavo@codesourcery.com>
4929
4930 * lib/memory.exp: Remove spurious empty newlines.
4931
72ca0410
SM
49322017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4933
4934 * gdb.python/py-bad-printers.exp: Load python file using "source".
4935 * gdb.python/py-events.exp: Likewise.
4936 * gdb.python/py-evsignal.exp: Likewise.
4937 * gdb.python/py-evthreads.exp: Likewise.
4938 * gdb.python/py-frame-args.exp: Likewise.
4939 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4940 * gdb.python/py-framefilter-mi.exp: Likewise.
4941 * gdb.python/py-framefilter.exp: Likewise.
4942 * gdb.python/py-mi.exp: Likewise.
4943 * gdb.python/py-pp-maint.exp: Likewise.
4944 * gdb.python/py-pp-registration.exp: Likewise.
4945 * gdb.python/py-prettyprint.exp: Likewise.
4946 (run_lang_tests): Likewise.
4947 * gdb.python/py-typeprint.exp: Likewise.
4948
e309aa65
LM
49492017-01-26 Luis Machado <lgustavo@codesourcery.com>
4950
4951 * lib/memory.exp: New file.
4952 * lib/gdb.exp: Load memory.exp.
4953 * gdb.base/memattr.exp (delete_memory): Move proc to
4954 lib/memory.exp and rename to delete_memory_regions.
4955 Replace delete_memory with delete_memory_regions.
4956 Cleanup memory regions before tests.
4957 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4958 before tests.
4959
515aff23
LM
49602017-01-26 Luis Machado <lgustavo@codesourcery.com>
4961
4962 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4963 files.
4964 (initialize): New function conditionally defined.
4965 (testcases): Move within conditional block.
4966 (main): Call initialize.
4967 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4968 of gdb.reverse/insn-reverse.c.
4969 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4970 gdb.reverse/insn-reverse.c.
4971
d8b49cf0
YQ
49722017-01-26 Yao Qi <yao.qi@linaro.org>
4973
4974 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4975 disassemble on address 0.
4976
f13a9a0c
YQ
49772017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4978 Yao Qi <yao.qi@linaro.org>
4979
4980 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4981 * gdb.dwarf2/implptr-64bit.S: Remove.
4982 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4983 variables in caller's context. Add DW_OP_implicit_value.
4984
5ac95241
YQ
49852017-01-25 Yao Qi <yao.qi@linaro.org>
4986
4987 * lib/dwarf.exp (Dwarf::_location): Handle
4988 DW_OP_GNU_implicit_pointer with proper size.
4989
23e82930
LM
49902017-01-20 Luis Machado <lgustavo@codesourcery.com>
4991
4992 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4993 and add untested calls.
4994
d334ae25
LM
49952017-01-20 Luis Machado <lgustavo@codesourcery.com>
4996
4997 * gdb.python/python.exp: Check line number against what GDB thinks
4998 the line number is for func1.
4999
f5e6296e
IB
50002017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5001
5002 * gdb.dlang/debug-expr.exp: New file.
5003
5b362f04
LM
50042016-12-23 Luis Machado <lgustavo@codesourcery.com>
5005
5006 Fix test names for the following files:
5007
5008 * gdb.ada/exec_changed.exp
5009 * gdb.ada/info_types.exp
5010 * gdb.arch/aarch64-atomic-inst.exp
5011 * gdb.arch/aarch64-fp.exp
5012 * gdb.arch/altivec-abi.exp
5013 * gdb.arch/altivec-regs.exp
5014 * gdb.arch/amd64-byte.exp
5015 * gdb.arch/amd64-disp-step.exp
5016 * gdb.arch/amd64-dword.exp
5017 * gdb.arch/amd64-entry-value-inline.exp
5018 * gdb.arch/amd64-entry-value-param.exp
5019 * gdb.arch/amd64-entry-value-paramref.exp
5020 * gdb.arch/amd64-entry-value.exp
5021 * gdb.arch/amd64-i386-address.exp
5022 * gdb.arch/amd64-invalid-stack-middle.exp
5023 * gdb.arch/amd64-invalid-stack-top.exp
5024 * gdb.arch/amd64-optimout-repeat.exp
5025 * gdb.arch/amd64-prologue-skip.exp
5026 * gdb.arch/amd64-prologue-xmm.exp
5027 * gdb.arch/amd64-stap-special-operands.exp
5028 * gdb.arch/amd64-stap-wrong-subexp.exp
5029 * gdb.arch/amd64-tailcall-cxx.exp
5030 * gdb.arch/amd64-tailcall-noret.exp
5031 * gdb.arch/amd64-tailcall-ret.exp
5032 * gdb.arch/amd64-tailcall-self.exp
5033 * gdb.arch/amd64-word.exp
5034 * gdb.arch/arm-bl-branch-dest.exp
5035 * gdb.arch/arm-disp-step.exp
5036 * gdb.arch/arm-neon.exp
5037 * gdb.arch/arm-single-step-kernel-helper.exp
5038 * gdb.arch/avr-flash-qualifier.exp
5039 * gdb.arch/disp-step-insn-reloc.exp
5040 * gdb.arch/e500-abi.exp
5041 * gdb.arch/e500-regs.exp
5042 * gdb.arch/ftrace-insn-reloc.exp
5043 * gdb.arch/i386-avx512.exp
5044 * gdb.arch/i386-bp_permanent.exp
5045 * gdb.arch/i386-byte.exp
5046 * gdb.arch/i386-cfi-notcurrent.exp
5047 * gdb.arch/i386-disp-step.exp
5048 * gdb.arch/i386-dr3-watch.exp
5049 * gdb.arch/i386-float.exp
5050 * gdb.arch/i386-gnu-cfi.exp
5051 * gdb.arch/i386-mpx-map.exp
5052 * gdb.arch/i386-mpx-sigsegv.exp
5053 * gdb.arch/i386-mpx-simple_segv.exp
5054 * gdb.arch/i386-mpx.exp
5055 * gdb.arch/i386-permbkpt.exp
5056 * gdb.arch/i386-prologue.exp
5057 * gdb.arch/i386-signal.exp
5058 * gdb.arch/i386-size-overlap.exp
5059 * gdb.arch/i386-unwind.exp
5060 * gdb.arch/i386-word.exp
5061 * gdb.arch/mips-fcr.exp
5062 * gdb.arch/powerpc-d128-regs.exp
5063 * gdb.arch/powerpc-stackless.exp
5064 * gdb.arch/ppc64-atomic-inst.exp
5065 * gdb.arch/s390-stackless.exp
5066 * gdb.arch/s390-tdbregs.exp
5067 * gdb.arch/s390-vregs.exp
5068 * gdb.arch/sparc-sysstep.exp
5069 * gdb.arch/thumb-bx-pc.exp
5070 * gdb.arch/thumb-singlestep.exp
5071 * gdb.arch/thumb2-it.exp
5072 * gdb.arch/vsx-regs.exp
5073 * gdb.asm/asm-source.exp
5074 * gdb.base/a2-run.exp
5075 * gdb.base/advance.exp
5076 * gdb.base/all-bin.exp
5077 * gdb.base/anon.exp
5078 * gdb.base/args.exp
5079 * gdb.base/arithmet.exp
5080 * gdb.base/async-shell.exp
5081 * gdb.base/async.exp
5082 * gdb.base/attach-pie-noexec.exp
5083 * gdb.base/attach-twice.exp
5084 * gdb.base/auto-load.exp
5085 * gdb.base/bang.exp
5086 * gdb.base/bitfields.exp
5087 * gdb.base/break-always.exp
5088 * gdb.base/break-caller-line.exp
5089 * gdb.base/break-entry.exp
5090 * gdb.base/break-inline.exp
5091 * gdb.base/break-on-linker-gcd-function.exp
5092 * gdb.base/break-probes.exp
5093 * gdb.base/break.exp
5094 * gdb.base/breakpoint-shadow.exp
5095 * gdb.base/call-ar-st.exp
5096 * gdb.base/call-sc.exp
5097 * gdb.base/call-signal-resume.exp
5098 * gdb.base/call-strs.exp
5099 * gdb.base/callfuncs.exp
5100 * gdb.base/catch-fork-static.exp
5101 * gdb.base/catch-gdb-caused-signals.exp
5102 * gdb.base/catch-load.exp
5103 * gdb.base/catch-signal-fork.exp
5104 * gdb.base/catch-signal.exp
5105 * gdb.base/catch-syscall.exp
5106 * gdb.base/charset.exp
5107 * gdb.base/checkpoint.exp
5108 * gdb.base/chng-syms.exp
5109 * gdb.base/code-expr.exp
5110 * gdb.base/code_elim.exp
5111 * gdb.base/commands.exp
5112 * gdb.base/completion.exp
5113 * gdb.base/complex.exp
5114 * gdb.base/cond-expr.exp
5115 * gdb.base/condbreak.exp
5116 * gdb.base/consecutive.exp
5117 * gdb.base/continue-all-already-running.exp
5118 * gdb.base/coredump-filter.exp
5119 * gdb.base/corefile.exp
5120 * gdb.base/dbx.exp
5121 * gdb.base/debug-expr.exp
5122 * gdb.base/define.exp
5123 * gdb.base/del.exp
5124 * gdb.base/disabled-location.exp
5125 * gdb.base/disasm-end-cu.exp
5126 * gdb.base/disasm-optim.exp
5127 * gdb.base/display.exp
5128 * gdb.base/duplicate-bp.exp
5129 * gdb.base/ena-dis-br.exp
5130 * gdb.base/ending-run.exp
5131 * gdb.base/enumval.exp
5132 * gdb.base/environ.exp
5133 * gdb.base/eu-strip-infcall.exp
5134 * gdb.base/eval-avoid-side-effects.exp
5135 * gdb.base/eval-skip.exp
5136 * gdb.base/exitsignal.exp
5137 * gdb.base/expand-psymtabs.exp
5138 * gdb.base/filesym.exp
5139 * gdb.base/find-unmapped.exp
5140 * gdb.base/finish.exp
5141 * gdb.base/float.exp
5142 * gdb.base/foll-exec-mode.exp
5143 * gdb.base/foll-exec.exp
5144 * gdb.base/foll-fork.exp
5145 * gdb.base/fortran-sym-case.exp
5146 * gdb.base/freebpcmd.exp
5147 * gdb.base/func-ptr.exp
5148 * gdb.base/func-ptrs.exp
5149 * gdb.base/funcargs.exp
5150 * gdb.base/gcore-buffer-overflow.exp
5151 * gdb.base/gcore-relro-pie.exp
5152 * gdb.base/gcore-relro.exp
5153 * gdb.base/gcore.exp
5154 * gdb.base/gdb1090.exp
5155 * gdb.base/gdb11530.exp
5156 * gdb.base/gdb11531.exp
5157 * gdb.base/gdb1821.exp
5158 * gdb.base/gdbindex-stabs.exp
5159 * gdb.base/gdbvars.exp
5160 * gdb.base/hbreak.exp
5161 * gdb.base/hbreak2.exp
5162 * gdb.base/included.exp
5163 * gdb.base/infcall-input.exp
5164 * gdb.base/inferior-died.exp
5165 * gdb.base/infnan.exp
5166 * gdb.base/info-macros.exp
5167 * gdb.base/info-os.exp
5168 * gdb.base/info-proc.exp
5169 * gdb.base/info-shared.exp
5170 * gdb.base/info-target.exp
5171 * gdb.base/infoline.exp
5172 * gdb.base/interp.exp
5173 * gdb.base/interrupt.exp
5174 * gdb.base/jit-reader.exp
5175 * gdb.base/jit-simple.exp
5176 * gdb.base/kill-after-signal.exp
5177 * gdb.base/kill-detach-inferiors-cmd.exp
5178 * gdb.base/label.exp
5179 * gdb.base/langs.exp
5180 * gdb.base/ldbl_e308.exp
5181 * gdb.base/line-symtabs.exp
5182 * gdb.base/linespecs.exp
5183 * gdb.base/list.exp
5184 * gdb.base/long_long.exp
5185 * gdb.base/longest-types.exp
5186 * gdb.base/maint.exp
5187 * gdb.base/max-value-size.exp
5188 * gdb.base/memattr.exp
5189 * gdb.base/mips_pro.exp
5190 * gdb.base/morestack.exp
5191 * gdb.base/moribund-step.exp
5192 * gdb.base/multi-forks.exp
5193 * gdb.base/nested-addr.exp
5194 * gdb.base/nextoverexit.exp
5195 * gdb.base/noreturn-finish.exp
5196 * gdb.base/noreturn-return.exp
5197 * gdb.base/nostdlib.exp
5198 * gdb.base/offsets.exp
5199 * gdb.base/opaque.exp
5200 * gdb.base/pc-fp.exp
5201 * gdb.base/permissions.exp
5202 * gdb.base/print-symbol-loading.exp
5203 * gdb.base/prologue-include.exp
5204 * gdb.base/psymtab.exp
5205 * gdb.base/ptype.exp
5206 * gdb.base/random-signal.exp
5207 * gdb.base/randomize.exp
5208 * gdb.base/range-stepping.exp
5209 * gdb.base/readline-ask.exp
5210 * gdb.base/recpar.exp
5211 * gdb.base/recurse.exp
5212 * gdb.base/relational.exp
5213 * gdb.base/restore.exp
5214 * gdb.base/return-nodebug.exp
5215 * gdb.base/return.exp
5216 * gdb.base/run-after-attach.exp
5217 * gdb.base/save-bp.exp
5218 * gdb.base/scope.exp
5219 * gdb.base/sect-cmd.exp
5220 * gdb.base/set-lang-auto.exp
5221 * gdb.base/set-noassign.exp
5222 * gdb.base/setvar.exp
5223 * gdb.base/sigall.exp
5224 * gdb.base/sigbpt.exp
5225 * gdb.base/siginfo-addr.exp
5226 * gdb.base/siginfo-infcall.exp
5227 * gdb.base/siginfo-obj.exp
5228 * gdb.base/siginfo.exp
5229 * gdb.base/signals-state-child.exp
5230 * gdb.base/signest.exp
5231 * gdb.base/sigstep.exp
5232 * gdb.base/sizeof.exp
5233 * gdb.base/skip.exp
5234 * gdb.base/solib-corrupted.exp
5235 * gdb.base/solib-nodir.exp
5236 * gdb.base/solib-search.exp
5237 * gdb.base/stack-checking.exp
5238 * gdb.base/stale-infcall.exp
5239 * gdb.base/stap-probe.exp
5240 * gdb.base/start.exp
5241 * gdb.base/step-break.exp
5242 * gdb.base/step-bt.exp
5243 * gdb.base/step-line.exp
5244 * gdb.base/step-over-exit.exp
5245 * gdb.base/step-over-syscall.exp
5246 * gdb.base/step-resume-infcall.exp
5247 * gdb.base/step-test.exp
5248 * gdb.base/store.exp
5249 * gdb.base/structs3.exp
5250 * gdb.base/sym-file.exp
5251 * gdb.base/symbol-without-target_section.exp
5252 * gdb.base/term.exp
5253 * gdb.base/testenv.exp
5254 * gdb.base/ui-redirect.exp
5255 * gdb.base/until.exp
5256 * gdb.base/unwindonsignal.exp
5257 * gdb.base/value-double-free.exp
5258 * gdb.base/vla-datatypes.exp
5259 * gdb.base/vla-ptr.exp
5260 * gdb.base/vla-sideeffect.exp
5261 * gdb.base/volatile.exp
5262 * gdb.base/watch-cond-infcall.exp
5263 * gdb.base/watch-cond.exp
5264 * gdb.base/watch-non-mem.exp
5265 * gdb.base/watch-read.exp
5266 * gdb.base/watch-vfork.exp
5267 * gdb.base/watchpoint-cond-gone.exp
5268 * gdb.base/watchpoint-delete.exp
5269 * gdb.base/watchpoint-hw-hit-once.exp
5270 * gdb.base/watchpoint-hw.exp
5271 * gdb.base/watchpoint-stops-at-right-insn.exp
5272 * gdb.base/watchpoints.exp
5273 * gdb.base/wchar.exp
5274 * gdb.base/whatis-exp.exp
5275 * gdb.btrace/buffer-size.exp
5276 * gdb.btrace/data.exp
5277 * gdb.btrace/delta.exp
5278 * gdb.btrace/dlopen.exp
5279 * gdb.btrace/enable.exp
5280 * gdb.btrace/exception.exp
5281 * gdb.btrace/function_call_history.exp
5282 * gdb.btrace/gcore.exp
5283 * gdb.btrace/instruction_history.exp
5284 * gdb.btrace/nohist.exp
5285 * gdb.btrace/reconnect.exp
5286 * gdb.btrace/record_goto-step.exp
5287 * gdb.btrace/record_goto.exp
5288 * gdb.btrace/rn-dl-bind.exp
5289 * gdb.btrace/segv.exp
5290 * gdb.btrace/step.exp
5291 * gdb.btrace/stepi.exp
5292 * gdb.btrace/tailcall-only.exp
5293 * gdb.btrace/tailcall.exp
5294 * gdb.btrace/tsx.exp
5295 * gdb.btrace/unknown_functions.exp
5296 * gdb.btrace/vdso.exp
5297 * gdb.compile/compile-ifunc.exp
5298 * gdb.compile/compile-ops.exp
5299 * gdb.compile/compile-print.exp
5300 * gdb.compile/compile-setjmp.exp
5301 * gdb.cp/abstract-origin.exp
5302 * gdb.cp/ambiguous.exp
5303 * gdb.cp/annota2.exp
5304 * gdb.cp/annota3.exp
5305 * gdb.cp/anon-ns.exp
5306 * gdb.cp/anon-struct.exp
5307 * gdb.cp/anon-union.exp
5308 * gdb.cp/arg-reference.exp
5309 * gdb.cp/baseenum.exp
5310 * gdb.cp/bool.exp
5311 * gdb.cp/breakpoint.exp
5312 * gdb.cp/bs15503.exp
5313 * gdb.cp/call-c.exp
5314 * gdb.cp/casts.exp
5315 * gdb.cp/chained-calls.exp
5316 * gdb.cp/class2.exp
5317 * gdb.cp/classes.exp
5318 * gdb.cp/cmpd-minsyms.exp
5319 * gdb.cp/converts.exp
5320 * gdb.cp/cp-relocate.exp
5321 * gdb.cp/cpcompletion.exp
5322 * gdb.cp/cpexprs.exp
5323 * gdb.cp/cplabel.exp
5324 * gdb.cp/cplusfuncs.exp
5325 * gdb.cp/cpsizeof.exp
5326 * gdb.cp/ctti.exp
5327 * gdb.cp/derivation.exp
5328 * gdb.cp/destrprint.exp
5329 * gdb.cp/dispcxx.exp
5330 * gdb.cp/enum-class.exp
5331 * gdb.cp/exception.exp
5332 * gdb.cp/exceptprint.exp
5333 * gdb.cp/expand-psymtabs-cxx.exp
5334 * gdb.cp/expand-sals.exp
5335 * gdb.cp/extern-c.exp
5336 * gdb.cp/filename.exp
5337 * gdb.cp/formatted-ref.exp
5338 * gdb.cp/fpointer.exp
5339 * gdb.cp/gdb1355.exp
5340 * gdb.cp/gdb2495.exp
5341 * gdb.cp/hang.exp
5342 * gdb.cp/impl-this.exp
5343 * gdb.cp/infcall-dlopen.exp
5344 * gdb.cp/inherit.exp
5345 * gdb.cp/iostream.exp
5346 * gdb.cp/koenig.exp
5347 * gdb.cp/local.exp
5348 * gdb.cp/m-data.exp
5349 * gdb.cp/m-static.exp
5350 * gdb.cp/mb-ctor.exp
5351 * gdb.cp/mb-inline.exp
5352 * gdb.cp/mb-templates.exp
5353 * gdb.cp/member-name.exp
5354 * gdb.cp/member-ptr.exp
5355 * gdb.cp/meth-typedefs.exp
5356 * gdb.cp/method.exp
5357 * gdb.cp/method2.exp
5358 * gdb.cp/minsym-fallback.exp
5359 * gdb.cp/misc.exp
5360 * gdb.cp/namelessclass.exp
5361 * gdb.cp/namespace-enum.exp
5362 * gdb.cp/namespace-nested-import.exp
5363 * gdb.cp/namespace.exp
5364 * gdb.cp/nextoverthrow.exp
5365 * gdb.cp/no-dmgl-verbose.exp
5366 * gdb.cp/non-trivial-retval.exp
5367 * gdb.cp/noparam.exp
5368 * gdb.cp/nsdecl.exp
5369 * gdb.cp/nsimport.exp
5370 * gdb.cp/nsnested.exp
5371 * gdb.cp/nsnoimports.exp
5372 * gdb.cp/nsrecurs.exp
5373 * gdb.cp/nsstress.exp
5374 * gdb.cp/nsusing.exp
5375 * gdb.cp/operator.exp
5376 * gdb.cp/oranking.exp
5377 * gdb.cp/overload-const.exp
5378 * gdb.cp/overload.exp
5379 * gdb.cp/ovldbreak.exp
5380 * gdb.cp/ovsrch.exp
5381 * gdb.cp/paren-type.exp
5382 * gdb.cp/parse-lang.exp
5383 * gdb.cp/pass-by-ref.exp
5384 * gdb.cp/pr-1023.exp
5385 * gdb.cp/pr-1210.exp
5386 * gdb.cp/pr-574.exp
5387 * gdb.cp/pr10687.exp
5388 * gdb.cp/pr12028.exp
5389 * gdb.cp/pr17132.exp
5390 * gdb.cp/pr17494.exp
5391 * gdb.cp/pr9067.exp
5392 * gdb.cp/pr9167.exp
5393 * gdb.cp/pr9631.exp
5394 * gdb.cp/printmethod.exp
5395 * gdb.cp/psmang.exp
5396 * gdb.cp/psymtab-parameter.exp
5397 * gdb.cp/ptype-cv-cp.exp
5398 * gdb.cp/ptype-flags.exp
5399 * gdb.cp/re-set-overloaded.exp
5400 * gdb.cp/ref-types.exp
5401 * gdb.cp/rtti.exp
5402 * gdb.cp/scope-err.exp
5403 * gdb.cp/shadow.exp
5404 * gdb.cp/smartp.exp
5405 * gdb.cp/static-method.exp
5406 * gdb.cp/static-print-quit.exp
5407 * gdb.cp/temargs.exp
5408 * gdb.cp/templates.exp
5409 * gdb.cp/try_catch.exp
5410 * gdb.cp/typedef-operator.exp
5411 * gdb.cp/typeid.exp
5412 * gdb.cp/userdef.exp
5413 * gdb.cp/using-crash.exp
5414 * gdb.cp/var-tag.exp
5415 * gdb.cp/virtbase.exp
5416 * gdb.cp/virtfunc.exp
5417 * gdb.cp/virtfunc2.exp
5418 * gdb.cp/vla-cxx.exp
5419 * gdb.disasm/t01_mov.exp
5420 * gdb.disasm/t02_mova.exp
5421 * gdb.disasm/t03_add.exp
5422 * gdb.disasm/t04_sub.exp
5423 * gdb.disasm/t05_cmp.exp
5424 * gdb.disasm/t06_ari2.exp
5425 * gdb.disasm/t07_ari3.exp
5426 * gdb.disasm/t08_or.exp
5427 * gdb.disasm/t09_xor.exp
5428 * gdb.disasm/t10_and.exp
5429 * gdb.disasm/t11_logs.exp
5430 * gdb.disasm/t12_bit.exp
5431 * gdb.disasm/t13_otr.exp
5432 * gdb.dlang/circular.exp
5433 * gdb.dwarf2/arr-stride.exp
5434 * gdb.dwarf2/arr-subrange.exp
5435 * gdb.dwarf2/atomic-type.exp
5436 * gdb.dwarf2/bad-regnum.exp
5437 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5438 * gdb.dwarf2/callframecfa.exp
5439 * gdb.dwarf2/clztest.exp
5440 * gdb.dwarf2/corrupt.exp
5441 * gdb.dwarf2/data-loc.exp
5442 * gdb.dwarf2/dup-psym.exp
5443 * gdb.dwarf2/dw2-anon-mptr.exp
5444 * gdb.dwarf2/dw2-anonymous-func.exp
5445 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5446 * gdb.dwarf2/dw2-bad-unresolved.exp
5447 * gdb.dwarf2/dw2-basic.exp
5448 * gdb.dwarf2/dw2-canonicalize-type.exp
5449 * gdb.dwarf2/dw2-case-insensitive.exp
5450 * gdb.dwarf2/dw2-common-block.exp
5451 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5452 * gdb.dwarf2/dw2-compressed.exp
5453 * gdb.dwarf2/dw2-const.exp
5454 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5455 * gdb.dwarf2/dw2-cu-size.exp
5456 * gdb.dwarf2/dw2-dup-frame.exp
5457 * gdb.dwarf2/dw2-entry-value.exp
5458 * gdb.dwarf2/dw2-icycle.exp
5459 * gdb.dwarf2/dw2-ifort-parameter.exp
5460 * gdb.dwarf2/dw2-inline-break.exp
5461 * gdb.dwarf2/dw2-inline-param.exp
5462 * gdb.dwarf2/dw2-intercu.exp
5463 * gdb.dwarf2/dw2-intermix.exp
5464 * gdb.dwarf2/dw2-lexical-block-bare.exp
5465 * gdb.dwarf2/dw2-linkage-name-trust.exp
5466 * gdb.dwarf2/dw2-minsym-in-cu.exp
5467 * gdb.dwarf2/dw2-noloc.exp
5468 * gdb.dwarf2/dw2-op-call.exp
5469 * gdb.dwarf2/dw2-op-out-param.exp
5470 * gdb.dwarf2/dw2-opt-structptr.exp
5471 * gdb.dwarf2/dw2-param-error.exp
5472 * gdb.dwarf2/dw2-producer.exp
5473 * gdb.dwarf2/dw2-ranges-base.exp
5474 * gdb.dwarf2/dw2-ref-missing-frame.exp
5475 * gdb.dwarf2/dw2-reg-undefined.exp
5476 * gdb.dwarf2/dw2-regno-invalid.exp
5477 * gdb.dwarf2/dw2-restore.exp
5478 * gdb.dwarf2/dw2-restrict.exp
5479 * gdb.dwarf2/dw2-single-line-discriminators.exp
5480 * gdb.dwarf2/dw2-strp.exp
5481 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5482 * gdb.dwarf2/dw2-unresolved.exp
5483 * gdb.dwarf2/dw2-var-zero-addr.exp
5484 * gdb.dwarf2/dw4-sig-types.exp
5485 * gdb.dwarf2/dwz.exp
5486 * gdb.dwarf2/dynarr-ptr.exp
5487 * gdb.dwarf2/enum-type.exp
5488 * gdb.dwarf2/gdb-index.exp
5489 * gdb.dwarf2/implptr-64bit.exp
5490 * gdb.dwarf2/implptr-optimized-out.exp
5491 * gdb.dwarf2/implptr.exp
5492 * gdb.dwarf2/implref-array.exp
5493 * gdb.dwarf2/implref-const.exp
5494 * gdb.dwarf2/implref-global.exp
5495 * gdb.dwarf2/implref-struct.exp
5496 * gdb.dwarf2/mac-fileno.exp
5497 * gdb.dwarf2/main-subprogram.exp
5498 * gdb.dwarf2/member-ptr-forwardref.exp
5499 * gdb.dwarf2/method-ptr.exp
5500 * gdb.dwarf2/missing-sig-type.exp
5501 * gdb.dwarf2/nonvar-access.exp
5502 * gdb.dwarf2/opaque-type-lookup.exp
5503 * gdb.dwarf2/pieces-optimized-out.exp
5504 * gdb.dwarf2/pieces.exp
5505 * gdb.dwarf2/pr10770.exp
5506 * gdb.dwarf2/pr13961.exp
5507 * gdb.dwarf2/staticvirtual.exp
5508 * gdb.dwarf2/subrange.exp
5509 * gdb.dwarf2/symtab-producer.exp
5510 * gdb.dwarf2/trace-crash.exp
5511 * gdb.dwarf2/typeddwarf.exp
5512 * gdb.dwarf2/valop.exp
5513 * gdb.dwarf2/watch-notconst.exp
5514 * gdb.fortran/array-element.exp
5515 * gdb.fortran/charset.exp
5516 * gdb.fortran/common-block.exp
5517 * gdb.fortran/complex.exp
5518 * gdb.fortran/derived-type-function.exp
5519 * gdb.fortran/derived-type.exp
5520 * gdb.fortran/logical.exp
5521 * gdb.fortran/module.exp
5522 * gdb.fortran/multi-dim.exp
5523 * gdb.fortran/nested-funcs.exp
5524 * gdb.fortran/print-formatted.exp
5525 * gdb.fortran/subarray.exp
5526 * gdb.fortran/vla-alloc-assoc.exp
5527 * gdb.fortran/vla-datatypes.exp
5528 * gdb.fortran/vla-history.exp
5529 * gdb.fortran/vla-ptr-info.exp
5530 * gdb.fortran/vla-ptype-sub.exp
5531 * gdb.fortran/vla-ptype.exp
5532 * gdb.fortran/vla-sizeof.exp
5533 * gdb.fortran/vla-type.exp
5534 * gdb.fortran/vla-value-sub-arbitrary.exp
5535 * gdb.fortran/vla-value-sub-finish.exp
5536 * gdb.fortran/vla-value-sub.exp
5537 * gdb.fortran/vla-value.exp
5538 * gdb.fortran/whatis_type.exp
5539 * gdb.go/chan.exp
5540 * gdb.go/handcall.exp
5541 * gdb.go/hello.exp
5542 * gdb.go/integers.exp
5543 * gdb.go/methods.exp
5544 * gdb.go/package.exp
5545 * gdb.go/strings.exp
5546 * gdb.go/types.exp
5547 * gdb.go/unsafe.exp
5548 * gdb.guile/scm-arch.exp
5549 * gdb.guile/scm-block.exp
5550 * gdb.guile/scm-breakpoint.exp
5551 * gdb.guile/scm-cmd.exp
5552 * gdb.guile/scm-disasm.exp
5553 * gdb.guile/scm-equal.exp
5554 * gdb.guile/scm-frame-args.exp
5555 * gdb.guile/scm-frame-inline.exp
5556 * gdb.guile/scm-frame.exp
5557 * gdb.guile/scm-iterator.exp
5558 * gdb.guile/scm-math.exp
5559 * gdb.guile/scm-objfile.exp
5560 * gdb.guile/scm-ports.exp
5561 * gdb.guile/scm-symbol.exp
5562 * gdb.guile/scm-symtab.exp
5563 * gdb.guile/scm-value-cc.exp
5564 * gdb.guile/types-module.exp
5565 * gdb.linespec/break-ask.exp
5566 * gdb.linespec/cpexplicit.exp
5567 * gdb.linespec/explicit.exp
5568 * gdb.linespec/keywords.exp
5569 * gdb.linespec/linespec.exp
5570 * gdb.linespec/ls-dollar.exp
5571 * gdb.linespec/ls-errs.exp
5572 * gdb.linespec/skip-two.exp
5573 * gdb.linespec/thread.exp
5574 * gdb.mi/mi-async.exp
5575 * gdb.mi/mi-basics.exp
5576 * gdb.mi/mi-break.exp
5577 * gdb.mi/mi-catch-load.exp
5578 * gdb.mi/mi-cli.exp
5579 * gdb.mi/mi-cmd-param-changed.exp
5580 * gdb.mi/mi-console.exp
5581 * gdb.mi/mi-detach.exp
5582 * gdb.mi/mi-disassemble.exp
5583 * gdb.mi/mi-eval.exp
5584 * gdb.mi/mi-file-transfer.exp
5585 * gdb.mi/mi-file.exp
5586 * gdb.mi/mi-fill-memory.exp
5587 * gdb.mi/mi-inheritance-syntax-error.exp
5588 * gdb.mi/mi-linespec-err-cp.exp
5589 * gdb.mi/mi-logging.exp
5590 * gdb.mi/mi-memory-changed.exp
5591 * gdb.mi/mi-read-memory.exp
5592 * gdb.mi/mi-record-changed.exp
5593 * gdb.mi/mi-reg-undefined.exp
5594 * gdb.mi/mi-regs.exp
5595 * gdb.mi/mi-return.exp
5596 * gdb.mi/mi-reverse.exp
5597 * gdb.mi/mi-simplerun.exp
5598 * gdb.mi/mi-solib.exp
5599 * gdb.mi/mi-stack.exp
5600 * gdb.mi/mi-stepi.exp
5601 * gdb.mi/mi-syn-frame.exp
5602 * gdb.mi/mi-until.exp
5603 * gdb.mi/mi-var-block.exp
5604 * gdb.mi/mi-var-child.exp
5605 * gdb.mi/mi-var-cmd.exp
5606 * gdb.mi/mi-var-cp.exp
5607 * gdb.mi/mi-var-display.exp
5608 * gdb.mi/mi-var-invalidate.exp
5609 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5610 * gdb.mi/mi-vla-fortran.exp
5611 * gdb.mi/mi-watch.exp
5612 * gdb.mi/mi2-var-child.exp
5613 * gdb.mi/user-selected-context-sync.exp
5614 * gdb.modula2/unbounded-array.exp
5615 * gdb.multi/dummy-frame-restore.exp
5616 * gdb.multi/multi-arch-exec.exp
5617 * gdb.multi/multi-arch.exp
5618 * gdb.multi/tids.exp
5619 * gdb.multi/watchpoint-multi.exp
5620 * gdb.opencl/callfuncs.exp
5621 * gdb.opencl/convs_casts.exp
5622 * gdb.opencl/datatypes.exp
5623 * gdb.opencl/operators.exp
5624 * gdb.opencl/vec_comps.exp
5625 * gdb.opt/clobbered-registers-O2.exp
5626 * gdb.opt/inline-break.exp
5627 * gdb.opt/inline-bt.exp
5628 * gdb.opt/inline-cmds.exp
5629 * gdb.opt/inline-locals.exp
5630 * gdb.pascal/case-insensitive-symbols.exp
5631 * gdb.pascal/floats.exp
5632 * gdb.pascal/gdb11492.exp
5633 * gdb.python/lib-types.exp
5634 * gdb.python/py-arch.exp
5635 * gdb.python/py-as-string.exp
5636 * gdb.python/py-bad-printers.exp
5637 * gdb.python/py-block.exp
5638 * gdb.python/py-breakpoint-create-fail.exp
5639 * gdb.python/py-breakpoint.exp
5640 * gdb.python/py-caller-is.exp
5641 * gdb.python/py-cmd.exp
5642 * gdb.python/py-explore-cc.exp
5643 * gdb.python/py-explore.exp
5644 * gdb.python/py-finish-breakpoint.exp
5645 * gdb.python/py-finish-breakpoint2.exp
5646 * gdb.python/py-frame-args.exp
5647 * gdb.python/py-frame-inline.exp
5648 * gdb.python/py-frame.exp
5649 * gdb.python/py-framefilter-mi.exp
5650 * gdb.python/py-infthread.exp
5651 * gdb.python/py-lazy-string.exp
5652 * gdb.python/py-linetable.exp
5653 * gdb.python/py-mi-events.exp
5654 * gdb.python/py-mi-objfile.exp
5655 * gdb.python/py-mi.exp
5656 * gdb.python/py-objfile.exp
5657 * gdb.python/py-pp-integral.exp
5658 * gdb.python/py-pp-maint.exp
5659 * gdb.python/py-pp-re-notag.exp
5660 * gdb.python/py-pp-registration.exp
5661 * gdb.python/py-recurse-unwind.exp
5662 * gdb.python/py-strfns.exp
5663 * gdb.python/py-symbol.exp
5664 * gdb.python/py-symtab.exp
5665 * gdb.python/py-sync-interp.exp
5666 * gdb.python/py-typeprint.exp
5667 * gdb.python/py-unwind-maint.exp
5668 * gdb.python/py-unwind.exp
5669 * gdb.python/py-value-cc.exp
5670 * gdb.python/py-xmethods.exp
5671 * gdb.reverse/amd64-tailcall-reverse.exp
5672 * gdb.reverse/break-precsave.exp
5673 * gdb.reverse/break-reverse.exp
5674 * gdb.reverse/consecutive-precsave.exp
5675 * gdb.reverse/consecutive-reverse.exp
5676 * gdb.reverse/finish-precsave.exp
5677 * gdb.reverse/finish-reverse-bkpt.exp
5678 * gdb.reverse/finish-reverse.exp
5679 * gdb.reverse/fstatat-reverse.exp
5680 * gdb.reverse/getresuid-reverse.exp
5681 * gdb.reverse/i386-precsave.exp
5682 * gdb.reverse/i386-reverse.exp
5683 * gdb.reverse/i386-sse-reverse.exp
5684 * gdb.reverse/i387-env-reverse.exp
5685 * gdb.reverse/i387-stack-reverse.exp
5686 * gdb.reverse/insn-reverse.exp
5687 * gdb.reverse/machinestate-precsave.exp
5688 * gdb.reverse/machinestate.exp
5689 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5690 * gdb.reverse/pipe-reverse.exp
5691 * gdb.reverse/readv-reverse.exp
5692 * gdb.reverse/recvmsg-reverse.exp
5693 * gdb.reverse/rerun-prec.exp
5694 * gdb.reverse/s390-mvcle.exp
5695 * gdb.reverse/step-precsave.exp
5696 * gdb.reverse/step-reverse.exp
5697 * gdb.reverse/time-reverse.exp
5698 * gdb.reverse/until-precsave.exp
5699 * gdb.reverse/until-reverse.exp
5700 * gdb.reverse/waitpid-reverse.exp
5701 * gdb.reverse/watch-precsave.exp
5702 * gdb.reverse/watch-reverse.exp
5703 * gdb.rust/generics.exp
5704 * gdb.rust/methods.exp
5705 * gdb.rust/modules.exp
5706 * gdb.rust/simple.exp
5707 * gdb.server/connect-with-no-symbol-file.exp
5708 * gdb.server/ext-attach.exp
5709 * gdb.server/ext-restart.exp
5710 * gdb.server/ext-wrapper.exp
5711 * gdb.server/file-transfer.exp
5712 * gdb.server/server-exec-info.exp
5713 * gdb.server/server-kill.exp
5714 * gdb.server/server-mon.exp
5715 * gdb.server/wrapper.exp
5716 * gdb.stabs/exclfwd.exp
5717 * gdb.stabs/gdb11479.exp
5718 * gdb.threads/clone-new-thread-event.exp
5719 * gdb.threads/corethreads.exp
5720 * gdb.threads/current-lwp-dead.exp
5721 * gdb.threads/dlopen-libpthread.exp
5722 * gdb.threads/gcore-thread.exp
5723 * gdb.threads/sigstep-threads.exp
5724 * gdb.threads/watchpoint-fork.exp
5725 * gdb.trace/actions-changed.exp
5726 * gdb.trace/backtrace.exp
5727 * gdb.trace/change-loc.exp
5728 * gdb.trace/circ.exp
5729 * gdb.trace/collection.exp
5730 * gdb.trace/disconnected-tracing.exp
5731 * gdb.trace/ftrace.exp
5732 * gdb.trace/mi-trace-frame-collected.exp
5733 * gdb.trace/mi-trace-unavailable.exp
5734 * gdb.trace/mi-traceframe-changed.exp
5735 * gdb.trace/mi-tsv-changed.exp
5736 * gdb.trace/no-attach-trace.exp
5737 * gdb.trace/passc-dyn.exp
5738 * gdb.trace/qtro.exp
5739 * gdb.trace/range-stepping.exp
5740 * gdb.trace/read-memory.exp
5741 * gdb.trace/save-trace.exp
5742 * gdb.trace/signal.exp
5743 * gdb.trace/status-stop.exp
5744 * gdb.trace/tfile.exp
5745 * gdb.trace/trace-break.exp
5746 * gdb.trace/trace-buffer-size.exp
5747 * gdb.trace/trace-condition.exp
5748 * gdb.trace/tracefile-pseudo-reg.exp
5749 * gdb.trace/tstatus.exp
5750 * gdb.trace/unavailable.exp
5751 * gdb.trace/while-dyn.exp
5752 * gdb.trace/while-stepping.exp
5753
34c41c68
DE
57542016-12-22 Doug Evans <xdje42@gmail.com>
5755
5756 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5757 and msymbols.
5758
16e69324
YQ
57592016-12-19 Yao Qi <yao.qi@linaro.org>
5760
5761 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5762 (test_with_self): Don't call do_steps_and_nexts, and remove
5763 code about stepping into xmalloc.
5764
f94f411b
YQ
57652016-12-09 Yao Qi <yao.qi@linaro.org>
5766
5767 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5768
57692016-12-09 Yao Qi <yao.qi@linaro.org>
5770
5771 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5772
f1b5deee
PA
57732016-12-09 Pedro Alves <palves@redhat.com>
5774
5775 * gdb.base/all-architectures-0.exp: New file.
5776 * gdb.base/all-architectures-1.exp: New file.
5777 * gdb.base/all-architectures-2.exp: New file.
5778 * gdb.base/all-architectures-3.exp: New file.
5779 * gdb.base/all-architectures-4.exp: New file.
5780 * gdb.base/all-architectures-5.exp: New file.
5781 * gdb.base/all-architectures-6.exp: New file.
5782 * gdb.base/all-architectures-7.exp: New file.
5783 * gdb.base/all-architectures.exp.in: New file.
5784
364ca42e
YQ
57852016-12-09 Yao Qi <yao.qi@linaro.org>
5786
5787 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5788
107c2d62
LM
57892016-12-02 Luis Machado <lgustavo@codesourcery.com>
5790
5791 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5792 possible.
5793 Remove useless pattern-matching code.
5794
df3ee9ca
PA
57952016-12-02 Pedro Alves <palves@redhat.com>
5796
5797 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5798 procedure.
5799 (top level): Call it.
5800
ec835369
PA
58012016-12-02 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5804 New procedure.
5805 (top level): Call it.
5806
01770bbd
PA
58072016-12-02 Pedro Alves <palves@redhat.com>
5808
5809 PR cli/20559
5810 * gdb.base/commands.exp (user_defined_command_args_eval): New
5811 procedure.
5812 (top level): Call it.
5813
008459ea
LM
58142016-12-02 Luis Machado <lgustavo@codesourcery.com>
5815
5816 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5817 timeout handling.
5818
0c1b455e
TT
58192016-12-02 Tom Tromey <tom@tromey.com>
5820
5821 * gdb.dwarf2/main-subprogram.c: New file.
5822 * gdb.dwarf2/main-subprogram.exp: New file.
5823
018572b8
LM
58242016-12-01 Luis Machado <lgustavo@codesourcery.com>
5825
5826 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5827 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5828 gdb_test_no_output for a couple of cases.
5829 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5830
84c93cd5
LM
58312016-12-01 Luis Machado <lgustavo@codesourcery.com>
5832
5833 Fix test names and standardize compilation error messages throughout
5834 the following files:
5835
5836 * gdb.ada/start.exp
5837 * gdb.arch/alpha-step.exp
5838 * gdb.arch/e500-prologue.exp
5839 * gdb.arch/ftrace-insn-reloc.exp
5840 * gdb.arch/gdb1291.exp
5841 * gdb.arch/gdb1431.exp
5842 * gdb.arch/gdb1558.exp
5843 * gdb.arch/i386-dr3-watch.exp
5844 * gdb.arch/i386-sse-stack-align.exp
5845 * gdb.arch/ia64-breakpoint-shadow.exp
5846 * gdb.arch/pa-nullify.exp
5847 * gdb.arch/powerpc-aix-prologue.exp
5848 * gdb.arch/thumb-bx-pc.exp
5849 * gdb.base/annota1.exp
5850 * gdb.base/annota3.exp
5851 * gdb.base/arrayidx.exp
5852 * gdb.base/assign.exp
5853 * gdb.base/attach.exp
5854 * gdb.base/auxv.exp
5855 * gdb.base/bang.exp
5856 * gdb.base/bfp-test.exp
5857 * gdb.base/bigcore.exp
5858 * gdb.base/bitfields2.exp
5859 * gdb.base/break-fun-addr.exp
5860 * gdb.base/break-probes.exp
5861 * gdb.base/call-rt-st.exp
5862 * gdb.base/callexit.exp
5863 * gdb.base/catch-fork-kill.exp
5864 * gdb.base/charset.exp
5865 * gdb.base/checkpoint.exp
5866 * gdb.base/comprdebug.exp
5867 * gdb.base/constvars.exp
5868 * gdb.base/coredump-filter.exp
5869 * gdb.base/cursal.exp
5870 * gdb.base/cvexpr.exp
5871 * gdb.base/detach.exp
5872 * gdb.base/display.exp
5873 * gdb.base/dmsym.exp
5874 * gdb.base/dprintf-pending.exp
5875 * gdb.base/dso2dso.exp
5876 * gdb.base/dtrace-probe.exp
5877 * gdb.base/dump.exp
5878 * gdb.base/enum_cond.exp
5879 * gdb.base/exe-lock.exp
5880 * gdb.base/exec-invalid-sysroot.exp
5881 * gdb.base/execl-update-breakpoints.exp
5882 * gdb.base/exprs.exp
5883 * gdb.base/fileio.exp
5884 * gdb.base/find.exp
5885 * gdb.base/finish.exp
5886 * gdb.base/fixsection.exp
5887 * gdb.base/foll-vfork.exp
5888 * gdb.base/frame-args.exp
5889 * gdb.base/gcore.exp
5890 * gdb.base/gdb1250.exp
5891 * gdb.base/global-var-nested-by-dso.exp
5892 * gdb.base/gnu-ifunc.exp
5893 * gdb.base/hashline1.exp
5894 * gdb.base/hashline2.exp
5895 * gdb.base/hashline3.exp
5896 * gdb.base/hbreak-in-shr-unsupported.exp
5897 * gdb.base/huge.exp
5898 * gdb.base/infcall-input.exp
5899 * gdb.base/info-fun.exp
5900 * gdb.base/info-shared.exp
5901 * gdb.base/jit-simple.exp
5902 * gdb.base/jit-so.exp
5903 * gdb.base/jit.exp
5904 * gdb.base/jump.exp
5905 * gdb.base/label.exp
5906 * gdb.base/lineinc.exp
5907 * gdb.base/logical.exp
5908 * gdb.base/longjmp.exp
5909 * gdb.base/macscp.exp
5910 * gdb.base/miscexprs.exp
5911 * gdb.base/new-ui-echo.exp
5912 * gdb.base/new-ui-pending-input.exp
5913 * gdb.base/new-ui.exp
5914 * gdb.base/nodebug.exp
5915 * gdb.base/nofield.exp
5916 * gdb.base/offsets.exp
5917 * gdb.base/overlays.exp
5918 * gdb.base/pending.exp
5919 * gdb.base/pointers.exp
5920 * gdb.base/pr11022.exp
5921 * gdb.base/printcmds.exp
5922 * gdb.base/prologue.exp
5923 * gdb.base/ptr-typedef.exp
5924 * gdb.base/realname-expand.exp
5925 * gdb.base/relativedebug.exp
5926 * gdb.base/relocate.exp
5927 * gdb.base/remote.exp
5928 * gdb.base/reread.exp
5929 * gdb.base/return2.exp
5930 * gdb.base/savedregs.exp
5931 * gdb.base/sep.exp
5932 * gdb.base/sepdebug.exp
5933 * gdb.base/sepsymtab.exp
5934 * gdb.base/set-inferior-tty.exp
5935 * gdb.base/setshow.exp
5936 * gdb.base/shlib-call.exp
5937 * gdb.base/sigaltstack.exp
5938 * gdb.base/siginfo-addr.exp
5939 * gdb.base/signals.exp
5940 * gdb.base/signull.exp
5941 * gdb.base/sigrepeat.exp
5942 * gdb.base/so-impl-ld.exp
5943 * gdb.base/solib-display.exp
5944 * gdb.base/solib-overlap.exp
5945 * gdb.base/solib-search.exp
5946 * gdb.base/solib-symbol.exp
5947 * gdb.base/structs.exp
5948 * gdb.base/structs2.exp
5949 * gdb.base/symtab-search-order.exp
5950 * gdb.base/twice.exp
5951 * gdb.base/unload.exp
5952 * gdb.base/varargs.exp
5953 * gdb.base/watchpoint-solib.exp
5954 * gdb.base/watchpoint.exp
5955 * gdb.base/whatis.exp
5956 * gdb.base/wrong_frame_bt_full.exp
5957 * gdb.btrace/dlopen.exp
5958 * gdb.cell/ea-standalone.exp
5959 * gdb.cell/ea-test.exp
5960 * gdb.cp/dispcxx.exp
5961 * gdb.cp/gdb2384.exp
5962 * gdb.cp/method2.exp
5963 * gdb.cp/nextoverthrow.exp
5964 * gdb.cp/pr10728.exp
5965 * gdb.disasm/am33.exp
5966 * gdb.disasm/h8300s.exp
5967 * gdb.disasm/mn10300.exp
5968 * gdb.disasm/sh3.exp
5969 * gdb.dwarf2/dw2-dir-file-name.exp
5970 * gdb.fortran/complex.exp
5971 * gdb.fortran/library-module.exp
5972 * gdb.guile/scm-pretty-print.exp
5973 * gdb.guile/scm-symbol.exp
5974 * gdb.guile/scm-type.exp
5975 * gdb.guile/scm-value.exp
5976 * gdb.linespec/linespec.exp
5977 * gdb.mi/gdb701.exp
5978 * gdb.mi/gdb792.exp
5979 * gdb.mi/mi-breakpoint-changed.exp
5980 * gdb.mi/mi-dprintf-pending.exp
5981 * gdb.mi/mi-dprintf.exp
5982 * gdb.mi/mi-exit-code.exp
5983 * gdb.mi/mi-pending.exp
5984 * gdb.mi/mi-solib.exp
5985 * gdb.mi/new-ui-mi-sync.exp
5986 * gdb.mi/pr11022.exp
5987 * gdb.mi/user-selected-context-sync.exp
5988 * gdb.opt/solib-intra-step.exp
5989 * gdb.python/py-events.exp
5990 * gdb.python/py-finish-breakpoint.exp
5991 * gdb.python/py-mi.exp
5992 * gdb.python/py-prettyprint.exp
5993 * gdb.python/py-shared.exp
5994 * gdb.python/py-symbol.exp
5995 * gdb.python/py-template.exp
5996 * gdb.python/py-type.exp
5997 * gdb.python/py-value.exp
5998 * gdb.reverse/solib-precsave.exp
5999 * gdb.reverse/solib-reverse.exp
6000 * gdb.server/solib-list.exp
6001 * gdb.stabs/weird.exp
6002 * gdb.threads/reconnect-signal.exp
6003 * gdb.threads/stepi-random-signal.exp
6004 * gdb.trace/actions.exp
6005 * gdb.trace/ax.exp
6006 * gdb.trace/backtrace.exp
6007 * gdb.trace/change-loc.exp
6008 * gdb.trace/deltrace.exp
6009 * gdb.trace/ftrace-lock.exp
6010 * gdb.trace/ftrace.exp
6011 * gdb.trace/infotrace.exp
6012 * gdb.trace/mi-tracepoint-changed.exp
6013 * gdb.trace/packetlen.exp
6014 * gdb.trace/passcount.exp
6015 * gdb.trace/pending.exp
6016 * gdb.trace/range-stepping.exp
6017 * gdb.trace/report.exp
6018 * gdb.trace/stap-trace.exp
6019 * gdb.trace/tfind.exp
6020 * gdb.trace/trace-break.exp
6021 * gdb.trace/trace-condition.exp
6022 * gdb.trace/trace-enable-disable.exp
6023 * gdb.trace/trace-mt.exp
6024 * gdb.trace/tracecmd.exp
6025 * gdb.trace/tspeed.exp
6026 * gdb.trace/tsv.exp
6027 * lib/perftest.exp
6028
fb9feb35
LM
60292016-12-01 Luis Machado <lgustavo@codesourcery.com>
6030
6031 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6032 with gdb_test_no_output.
6033 Use command as test name.
6034
cd2ddb6c
LM
60352016-12-01 Luis Machado <lgustavo@codesourcery.com>
6036
6037 Fix test names starting with uppercase throughout the files.
6038
6039 * gdb.ada/assign_1.exp
6040 * gdb.ada/boolean_expr.exp
6041 * gdb.base/arrayidx.exp
6042 * gdb.base/del.exp
6043 * gdb.base/gcore-buffer-overflow.exp
6044 * gdb.base/testenv.exp
6045 * gdb.compile/compile.exp
6046 * gdb.python/py-framefilter-invalidarg.exp
6047 * gdb.python/py-framefilter.exp
6048
bb95117e
LM
60492016-12-01 Luis Machado <lgustavo@codesourcery.com>
6050
6051 Fix test names starting with uppercase throughout the files.
6052
6053 * gdb.ada/array_return.exp
6054 * gdb.ada/expr_delims.exp
6055 * gdb.ada/mi_dyn_arr.exp
6056 * gdb.ada/mi_interface.exp
6057 * gdb.ada/mi_var_array.exp
6058 * gdb.ada/watch_arg.exp
6059 * gdb.arch/alpha-step.exp
6060 * gdb.arch/altivec-regs.exp
6061 * gdb.arch/e500-regs.exp
6062 * gdb.arch/powerpc-d128-regs.exp
6063 * gdb.base/arrayidx.exp
6064 * gdb.base/break.exp
6065 * gdb.base/checkpoint.exp
6066 * gdb.base/debug-expr.exp
6067 * gdb.base/dmsym.exp
6068 * gdb.base/radix.exp
6069 * gdb.base/sepdebug.exp
6070 * gdb.base/testenv.exp
6071 * gdb.base/watch_thread_num.exp
6072 * gdb.base/watchpoint-cond-gone.exp
6073 * gdb.cell/break.exp
6074 * gdb.cell/ea-cache.exp
6075 * gdb.compile/compile.exp
6076 * gdb.cp/gdb2495.exp
6077 * gdb.gdb/selftest.exp
6078 * gdb.gdb/xfullpath.exp
6079 * gdb.go/hello.exp
6080 * gdb.go/integers.exp
6081 * gdb.objc/basicclass.exp
6082 * gdb.pascal/hello.exp
6083 * gdb.pascal/integers.exp
6084 * gdb.python/py-breakpoint.exp
6085 * gdb.python/py-cmd.exp
6086 * gdb.python/py-linetable.exp
6087 * gdb.python/py-xmethods.exp
6088 * gdb.python/python.exp
6089 * gdb.reverse/consecutive-precsave.exp
6090 * gdb.reverse/finish-precsave.exp
6091 * gdb.reverse/i386-precsave.exp
6092 * gdb.reverse/machinestate-precsave.exp
6093 * gdb.reverse/sigall-precsave.exp
6094 * gdb.reverse/solib-precsave.exp
6095 * gdb.reverse/step-precsave.exp
6096 * gdb.reverse/until-precsave.exp
6097 * gdb.reverse/watch-precsave.exp
6098 * gdb.threads/leader-exit.exp
6099 * gdb.threads/pthreads.exp
6100 * gdb.threads/wp-replication.exp
6101 * gdb.trace/actions.exp
6102 * gdb.trace/mi-tsv-changed.exp
6103 * gdb.trace/tsv.exp
6104
de97fdd4
LM
61052016-12-01 Luis Machado <lgustavo@codesourcery.com>
6106
6107 Fix test names starting with uppercase throughout the files.
6108
6109 * gdb.arch/i386-bp_permanent.exp
6110 * gdb.arch/i386-gnu-cfi.exp
6111 * gdb.base/disasm-end-cu.exp
6112 * gdb.base/macscp.exp
6113 * gdb.base/pending.exp
6114 * gdb.base/watch_thread_num.exp
6115 * gdb.cp/exception.exp
6116 * gdb.cp/gdb2495.exp
6117 * gdb.cp/local.exp
6118 * gdb.python/py-evsignal.exp
6119 * gdb.python/python.exp
6120 * gdb.trace/tracecmd.exp
6121
9f058c10
LM
61222016-12-01 Luis Machado <lgustavo@codesourcery.com>
6123
6124 Fix test names starting with uppercase throughout the files.
6125
6126 * gdb.base/charset.exp
6127 * gdb.base/eval.exp
6128 * gdb.base/multi-forks.exp
6129 * gdb.guile/scm-progspace.exp
6130 * gdb.opencl/datatypes.exp
6131 * gdb.python/py-block.exp
6132 * gdb.python/py-function.exp
6133 * gdb.python/py-symbol.exp
6134 * gdb.python/py-symtab.exp
6135 * gdb.python/py-xmethods.exp
6136 * gdb.reverse/break-precsave.exp
6137 * gdb.reverse/break-reverse.exp
6138 * gdb.reverse/consecutive-precsave.exp
6139 * gdb.reverse/consecutive-reverse.exp
6140 * gdb.reverse/finish-precsave.exp
6141 * gdb.reverse/finish-reverse-bkpt.exp
6142 * gdb.reverse/finish-reverse.exp
6143 * gdb.reverse/fstatat-reverse.exp
6144 * gdb.reverse/getresuid-reverse.exp
6145 * gdb.reverse/i386-precsave.exp
6146 * gdb.reverse/i386-reverse.exp
6147 * gdb.reverse/i386-sse-reverse.exp
6148 * gdb.reverse/i387-stack-reverse.exp
6149 * gdb.reverse/insn-reverse.exp
6150 * gdb.reverse/machinestate-precsave.exp
6151 * gdb.reverse/machinestate.exp
6152 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6153 * gdb.reverse/pipe-reverse.exp
6154 * gdb.reverse/readv-reverse.exp
6155 * gdb.reverse/recvmsg-reverse.exp
6156 * gdb.reverse/rerun-prec.exp
6157 * gdb.reverse/s390-mvcle.exp
6158 * gdb.reverse/sigall-precsave.exp
6159 * gdb.reverse/sigall-reverse.exp
6160 * gdb.reverse/solib-precsave.exp
6161 * gdb.reverse/solib-reverse.exp
6162 * gdb.reverse/step-precsave.exp
6163 * gdb.reverse/step-reverse.exp
6164 * gdb.reverse/time-reverse.exp
6165 * gdb.reverse/until-precsave.exp
6166 * gdb.reverse/until-reverse.exp
6167 * gdb.reverse/waitpid-reverse.exp
6168 * gdb.reverse/watch-precsave.exp
6169 * gdb.reverse/watch-reverse.exp
6170
cdc7edd7
LM
61712016-12-01 Luis Machado <lgustavo@codesourcery.com>
6172
6173 Fix test names starting with uppercase throughout the files.
6174
6175 * gdb.arch/i386-mpx-simple_segv.exp
6176 * gdb.arch/i386-mpx.exp
6177 * gdb.arch/i386-permbkpt.exp
6178 * gdb.arch/pa-nullify.exp
6179 * gdb.arch/powerpc-d128-regs.exp
6180 * gdb.arch/vsx-regs.exp
6181 * gdb.base/bfp-test.exp
6182 * gdb.base/break.exp
6183 * gdb.base/breakpoint-shadow.exp
6184 * gdb.base/callfuncs.exp
6185 * gdb.base/charset.exp
6186 * gdb.base/commands.exp
6187 * gdb.base/completion.exp
6188 * gdb.base/dfp-test.exp
6189 * gdb.base/echo.exp
6190 * gdb.base/ending-run.exp
6191 * gdb.base/eval.exp
6192 * gdb.base/expand-psymtabs.exp
6193 * gdb.base/float128.exp
6194 * gdb.base/floatn.exp
6195 * gdb.base/foll-exec-mode.exp
6196 * gdb.base/gdb1056.exp
6197 * gdb.base/gdb11531.exp
6198 * gdb.base/kill-after-signal.exp
6199 * gdb.base/multi-forks.exp
6200 * gdb.base/overlays.exp
6201 * gdb.base/pending.exp
6202 * gdb.base/sepdebug.exp
6203 * gdb.base/testenv.exp
6204 * gdb.base/valgrind-db-attach.exp
6205 * gdb.base/watch_thread_num.exp
6206 * gdb.base/watchpoint-cond-gone.exp
6207 * gdb.base/watchpoint.exp
6208 * gdb.base/watchpoints.exp
6209 * gdb.cp/arg-reference.exp
6210 * gdb.cp/baseenum.exp
6211 * gdb.cp/operator.exp
6212 * gdb.cp/shadow.exp
6213 * gdb.dwarf2/dw2-op-out-param.exp
6214 * gdb.dwarf2/dw2-reg-undefined.exp
6215 * gdb.go/chan.exp
6216 * gdb.go/hello.exp
6217 * gdb.go/integers.exp
6218 * gdb.go/methods.exp
6219 * gdb.go/package.exp
6220 * gdb.guile/scm-parameter.exp
6221 * gdb.guile/scm-progspace.exp
6222 * gdb.guile/scm-value.exp
6223 * gdb.mi/mi-pending.exp
6224 * gdb.mi/user-selected-context-sync.exp
6225 * gdb.multi/multi-attach.exp
6226 * gdb.multi/tids.exp
6227 * gdb.opt/clobbered-registers-O2.exp
6228 * gdb.pascal/floats.exp
6229 * gdb.pascal/integers.exp
6230 * gdb.python/py-block.exp
6231 * gdb.python/py-events.exp
6232 * gdb.python/py-parameter.exp
6233 * gdb.python/py-symbol.exp
6234 * gdb.python/py-symtab.exp
6235 * gdb.python/py-type.exp
6236 * gdb.python/py-value.exp
6237 * gdb.python/py-xmethods.exp
6238 * gdb.python/python.exp
6239 * gdb.reverse/break-precsave.exp
6240 * gdb.reverse/consecutive-precsave.exp
6241 * gdb.reverse/finish-precsave.exp
6242 * gdb.reverse/i386-precsave.exp
6243 * gdb.reverse/machinestate-precsave.exp
6244 * gdb.reverse/sigall-precsave.exp
6245 * gdb.reverse/solib-precsave.exp
6246 * gdb.reverse/step-precsave.exp
6247 * gdb.reverse/until-precsave.exp
6248 * gdb.reverse/watch-precsave.exp
6249 * gdb.server/ext-attach.exp
6250 * gdb.server/ext-restart.exp
6251 * gdb.server/ext-run.exp
6252 * gdb.server/ext-wrapper.exp
6253 * gdb.stabs/gdb11479.exp
6254 * gdb.stabs/weird.exp
6255 * gdb.threads/attach-many-short-lived-threads.exp
6256 * gdb.threads/kill.exp
6257 * gdb.threads/watchpoint-fork.exp
6258
bc6c7af4
LM
62592016-12-01 Luis Machado <lgustavo@codesourcery.com>
6260
6261 Fix test names starting with uppercase throughout all the files below.
6262
6263 * gdb.ada/array_return.exp
6264 * gdb.ada/catch_ex.exp
6265 * gdb.ada/info_exc.exp
6266 * gdb.ada/mi_catch_ex.exp
6267 * gdb.ada/mi_dyn_arr.exp
6268 * gdb.ada/mi_ex_cond.exp
6269 * gdb.ada/mi_exc_info.exp
6270 * gdb.ada/mi_interface.exp
6271 * gdb.ada/mi_task_arg.exp
6272 * gdb.ada/mi_task_info.exp
6273 * gdb.ada/mi_var_array.exp
6274 * gdb.arch/alpha-step.exp
6275 * gdb.arch/amd64-disp-step.exp
6276 * gdb.arch/arm-disp-step.exp
6277 * gdb.arch/disp-step-insn-reloc.exp
6278 * gdb.arch/e500-prologue.exp
6279 * gdb.arch/ftrace-insn-reloc.exp
6280 * gdb.arch/gdb1558.exp
6281 * gdb.arch/i386-bp_permanent.exp
6282 * gdb.arch/i386-disp-step.exp
6283 * gdb.arch/i386-float.exp
6284 * gdb.arch/i386-gnu-cfi.exp
6285 * gdb.arch/ia64-breakpoint-shadow.exp
6286 * gdb.arch/mips16-thunks.exp
6287 * gdb.arch/pa-nullify.exp
6288 * gdb.arch/powerpc-aix-prologue.exp
6289 * gdb.arch/powerpc-power.exp
6290 * gdb.arch/ppc-dfp.exp
6291 * gdb.arch/s390-tdbregs.exp
6292 * gdb.arch/spu-info.exp
6293 * gdb.arch/spu-ls.exp
6294 * gdb.arch/thumb-bx-pc.exp
6295 * gdb.base/advance.exp
6296 * gdb.base/annota-input-while-running.exp
6297 * gdb.base/arrayidx.exp
6298 * gdb.base/asmlabel.exp
6299 * gdb.base/async.exp
6300 * gdb.base/attach-wait-input.exp
6301 * gdb.base/auto-connect-native-target.exp
6302 * gdb.base/batch-preserve-term-settings.exp
6303 * gdb.base/bfp-test.exp
6304 * gdb.base/bigcore.exp
6305 * gdb.base/bp-permanent.exp
6306 * gdb.base/break-always.exp
6307 * gdb.base/break-fun-addr.exp
6308 * gdb.base/break-idempotent.exp
6309 * gdb.base/break-main-file-remove-fail.exp
6310 * gdb.base/break-probes.exp
6311 * gdb.base/break-unload-file.exp
6312 * gdb.base/break.exp
6313 * gdb.base/call-ar-st.exp
6314 * gdb.base/call-rt-st.exp
6315 * gdb.base/call-sc.exp
6316 * gdb.base/call-signal-resume.exp
6317 * gdb.base/call-strs.exp
6318 * gdb.base/callexit.exp
6319 * gdb.base/callfuncs.exp
6320 * gdb.base/catch-gdb-caused-signals.exp
6321 * gdb.base/catch-signal-siginfo-cond.exp
6322 * gdb.base/catch-syscall.exp
6323 * gdb.base/compare-sections.exp
6324 * gdb.base/cond-eval-mode.exp
6325 * gdb.base/condbreak-call-false.exp
6326 * gdb.base/consecutive-step-over.exp
6327 * gdb.base/cursal.exp
6328 * gdb.base/disabled-location.exp
6329 * gdb.base/disasm-end-cu.exp
6330 * gdb.base/display.exp
6331 * gdb.base/double-prompt-target-event-error.exp
6332 * gdb.base/dprintf-bp-same-addr.exp
6333 * gdb.base/dprintf-detach.exp
6334 * gdb.base/dprintf-next.exp
6335 * gdb.base/dprintf-non-stop.exp
6336 * gdb.base/dprintf-pending.exp
6337 * gdb.base/dso2dso.exp
6338 * gdb.base/ending-run.exp
6339 * gdb.base/enum_cond.exp
6340 * gdb.base/examine-backward.exp
6341 * gdb.base/exe-lock.exp
6342 * gdb.base/exec-invalid-sysroot.exp
6343 * gdb.base/execl-update-breakpoints.exp
6344 * gdb.base/execution-termios.exp
6345 * gdb.base/fileio.exp
6346 * gdb.base/fixsection.exp
6347 * gdb.base/foll-exec-mode.exp
6348 * gdb.base/foll-exec.exp
6349 * gdb.base/fork-running-state.exp
6350 * gdb.base/frame-args.exp
6351 * gdb.base/fullpath-expand.exp
6352 * gdb.base/func-ptr.exp
6353 * gdb.base/gcore-relro-pie.exp
6354 * gdb.base/gdb1090.exp
6355 * gdb.base/gdb1555.exp
6356 * gdb.base/global-var-nested-by-dso.exp
6357 * gdb.base/gnu-ifunc.exp
6358 * gdb.base/hbreak-in-shr-unsupported.exp
6359 * gdb.base/hbreak-unmapped.exp
6360 * gdb.base/hook-stop.exp
6361 * gdb.base/infcall-input.exp
6362 * gdb.base/info-fun.exp
6363 * gdb.base/info-shared.exp
6364 * gdb.base/interrupt-noterm.exp
6365 * gdb.base/jit-so.exp
6366 * gdb.base/jit.exp
6367 * gdb.base/line-symtabs.exp
6368 * gdb.base/list.exp
6369 * gdb.base/longjmp.exp
6370 * gdb.base/macscp.exp
6371 * gdb.base/max-value-size.exp
6372 * gdb.base/nodebug.exp
6373 * gdb.base/nofield.exp
6374 * gdb.base/overlays.exp
6375 * gdb.base/paginate-after-ctrl-c-running.exp
6376 * gdb.base/paginate-bg-execution.exp
6377 * gdb.base/paginate-inferior-exit.exp
6378 * gdb.base/pending.exp
6379 * gdb.base/pr11022.exp
6380 * gdb.base/printcmds.exp
6381 * gdb.base/ptr-typedef.exp
6382 * gdb.base/ptype.exp
6383 * gdb.base/randomize.exp
6384 * gdb.base/range-stepping.exp
6385 * gdb.base/realname-expand.exp
6386 * gdb.base/relativedebug.exp
6387 * gdb.base/remote.exp
6388 * gdb.base/savedregs.exp
6389 * gdb.base/sepdebug.exp
6390 * gdb.base/set-noassign.exp
6391 * gdb.base/shlib-call.exp
6392 * gdb.base/shreloc.exp
6393 * gdb.base/sigaltstack.exp
6394 * gdb.base/sigbpt.exp
6395 * gdb.base/siginfo-addr.exp
6396 * gdb.base/siginfo-obj.exp
6397 * gdb.base/siginfo-thread.exp
6398 * gdb.base/signest.exp
6399 * gdb.base/signull.exp
6400 * gdb.base/sigrepeat.exp
6401 * gdb.base/skip.exp
6402 * gdb.base/so-impl-ld.exp
6403 * gdb.base/solib-corrupted.exp
6404 * gdb.base/solib-disc.exp
6405 * gdb.base/solib-display.exp
6406 * gdb.base/solib-overlap.exp
6407 * gdb.base/solib-search.exp
6408 * gdb.base/solib-symbol.exp
6409 * gdb.base/source-execution.exp
6410 * gdb.base/sss-bp-on-user-bp-2.exp
6411 * gdb.base/sss-bp-on-user-bp.exp
6412 * gdb.base/stack-checking.exp
6413 * gdb.base/stale-infcall.exp
6414 * gdb.base/step-break.exp
6415 * gdb.base/step-line.exp
6416 * gdb.base/step-over-exit.exp
6417 * gdb.base/step-test.exp
6418 * gdb.base/structs.exp
6419 * gdb.base/sym-file.exp
6420 * gdb.base/symtab-search-order.exp
6421 * gdb.base/term.exp
6422 * gdb.base/type-opaque.exp
6423 * gdb.base/unload.exp
6424 * gdb.base/until-nodebug.exp
6425 * gdb.base/until.exp
6426 * gdb.base/unwindonsignal.exp
6427 * gdb.base/watch-cond.exp
6428 * gdb.base/watch-non-mem.exp
6429 * gdb.base/watch_thread_num.exp
6430 * gdb.base/watchpoint-reuse-slot.exp
6431 * gdb.base/watchpoint-solib.exp
6432 * gdb.base/watchpoint.exp
6433 * gdb.btrace/dlopen.exp
6434 * gdb.cell/arch.exp
6435 * gdb.cell/break.exp
6436 * gdb.cell/bt.exp
6437 * gdb.cell/core.exp
6438 * gdb.cell/data.exp
6439 * gdb.cell/dwarfaddr.exp
6440 * gdb.cell/ea-cache.exp
6441 * gdb.cell/ea-standalone.exp
6442 * gdb.cell/ea-test.exp
6443 * gdb.cell/f-regs.exp
6444 * gdb.cell/fork.exp
6445 * gdb.cell/gcore.exp
6446 * gdb.cell/mem-access.exp
6447 * gdb.cell/ptype.exp
6448 * gdb.cell/registers.exp
6449 * gdb.cell/sizeof.exp
6450 * gdb.cell/solib-symbol.exp
6451 * gdb.cell/solib.exp
6452 * gdb.compile/compile-tls.exp
6453 * gdb.cp/exception.exp
6454 * gdb.cp/gdb2495.exp
6455 * gdb.cp/local.exp
6456 * gdb.cp/mb-inline.exp
6457 * gdb.cp/mb-templates.exp
6458 * gdb.cp/pr10687.exp
6459 * gdb.cp/pr9167.exp
6460 * gdb.cp/scope-err.exp
6461 * gdb.cp/templates.exp
6462 * gdb.cp/virtfunc.exp
6463 * gdb.dwarf2/dw2-dir-file-name.exp
6464 * gdb.dwarf2/dw2-single-line-discriminators.exp
6465 * gdb.fortran/complex.exp
6466 * gdb.fortran/library-module.exp
6467 * gdb.guile/guile.exp
6468 * gdb.guile/scm-cmd.exp
6469 * gdb.guile/scm-frame-inline.exp
6470 * gdb.guile/scm-objfile.exp
6471 * gdb.guile/scm-pretty-print.exp
6472 * gdb.guile/scm-symbol.exp
6473 * gdb.guile/scm-type.exp
6474 * gdb.guile/scm-value.exp
6475 * gdb.linespec/keywords.exp
6476 * gdb.linespec/ls-errs.exp
6477 * gdb.linespec/macro-relative.exp
6478 * gdb.linespec/thread.exp
6479 * gdb.mi/mi-breakpoint-changed.exp
6480 * gdb.mi/mi-dprintf-pending.exp
6481 * gdb.mi/mi-fullname-deleted.exp
6482 * gdb.mi/mi-logging.exp
6483 * gdb.mi/mi-pending.exp
6484 * gdb.mi/mi-solib.exp
6485 * gdb.mi/new-ui-mi-sync.exp
6486 * gdb.mi/user-selected-context-sync.exp
6487 * gdb.multi/dummy-frame-restore.exp
6488 * gdb.multi/multi-arch-exec.exp
6489 * gdb.multi/remove-inferiors.exp
6490 * gdb.multi/watchpoint-multi-exit.exp
6491 * gdb.opt/solib-intra-step.exp
6492 * gdb.perf/backtrace.exp
6493 * gdb.perf/single-step.exp
6494 * gdb.perf/skip-command.exp
6495 * gdb.perf/skip-prologue.exp
6496 * gdb.perf/solib.exp
6497 * gdb.python/lib-types.exp
6498 * gdb.python/py-as-string.exp
6499 * gdb.python/py-bad-printers.exp
6500 * gdb.python/py-block.exp
6501 * gdb.python/py-breakpoint.exp
6502 * gdb.python/py-cmd.exp
6503 * gdb.python/py-events.exp
6504 * gdb.python/py-evthreads.exp
6505 * gdb.python/py-finish-breakpoint.exp
6506 * gdb.python/py-finish-breakpoint2.exp
6507 * gdb.python/py-frame-inline.exp
6508 * gdb.python/py-frame.exp
6509 * gdb.python/py-inferior.exp
6510 * gdb.python/py-infthread.exp
6511 * gdb.python/py-mi.exp
6512 * gdb.python/py-objfile.exp
6513 * gdb.python/py-pp-maint.exp
6514 * gdb.python/py-pp-registration.exp
6515 * gdb.python/py-prettyprint.exp
6516 * gdb.python/py-recurse-unwind.exp
6517 * gdb.python/py-shared.exp
6518 * gdb.python/py-symbol.exp
6519 * gdb.python/py-symtab.exp
6520 * gdb.python/py-template.exp
6521 * gdb.python/py-type.exp
6522 * gdb.python/py-unwind-maint.exp
6523 * gdb.python/py-unwind.exp
6524 * gdb.python/py-value.exp
6525 * gdb.python/python.exp
6526 * gdb.reverse/finish-reverse-bkpt.exp
6527 * gdb.reverse/insn-reverse.exp
6528 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6529 * gdb.reverse/solib-precsave.exp
6530 * gdb.reverse/solib-reverse.exp
6531 * gdb.stabs/gdb11479.exp
6532 * gdb.stabs/weird.exp
6533 * gdb.threads/fork-child-threads.exp
6534 * gdb.threads/fork-plus-threads.exp
6535 * gdb.threads/fork-thread-pending.exp
6536 * gdb.threads/forking-threads-plus-breakpoint.exp
6537 * gdb.threads/hand-call-in-threads.exp
6538 * gdb.threads/interrupted-hand-call.exp
6539 * gdb.threads/linux-dp.exp
6540 * gdb.threads/local-watch-wrong-thread.exp
6541 * gdb.threads/next-while-other-thread-longjmps.exp
6542 * gdb.threads/non-ldr-exit.exp
6543 * gdb.threads/pending-step.exp
6544 * gdb.threads/print-threads.exp
6545 * gdb.threads/process-dies-while-detaching.exp
6546 * gdb.threads/process-dies-while-handling-bp.exp
6547 * gdb.threads/pthreads.exp
6548 * gdb.threads/queue-signal.exp
6549 * gdb.threads/reconnect-signal.exp
6550 * gdb.threads/signal-command-handle-nopass.exp
6551 * gdb.threads/signal-command-multiple-signals-pending.exp
6552 * gdb.threads/signal-delivered-right-thread.exp
6553 * gdb.threads/signal-sigtrap.exp
6554 * gdb.threads/sigthread.exp
6555 * gdb.threads/staticthreads.exp
6556 * gdb.threads/stepi-random-signal.exp
6557 * gdb.threads/thread-unwindonsignal.exp
6558 * gdb.threads/thread_check.exp
6559 * gdb.threads/thread_events.exp
6560 * gdb.threads/tid-reuse.exp
6561 * gdb.threads/tls-nodebug.exp
6562 * gdb.threads/tls-shared.exp
6563 * gdb.threads/tls-so_extern.exp
6564 * gdb.threads/tls.exp
6565 * gdb.threads/wp-replication.exp
6566 * gdb.trace/actions-changed.exp
6567 * gdb.trace/actions.exp
6568 * gdb.trace/backtrace.exp
6569 * gdb.trace/change-loc.exp
6570 * gdb.trace/collection.exp
6571 * gdb.trace/deltrace.exp
6572 * gdb.trace/disconnected-tracing.exp
6573 * gdb.trace/entry-values.exp
6574 * gdb.trace/ftrace-lock.exp
6575 * gdb.trace/ftrace.exp
6576 * gdb.trace/infotrace.exp
6577 * gdb.trace/mi-trace-frame-collected.exp
6578 * gdb.trace/mi-trace-unavailable.exp
6579 * gdb.trace/mi-traceframe-changed.exp
6580 * gdb.trace/mi-tracepoint-changed.exp
6581 * gdb.trace/mi-tsv-changed.exp
6582 * gdb.trace/no-attach-trace.exp
6583 * gdb.trace/packetlen.exp
6584 * gdb.trace/passc-dyn.exp
6585 * gdb.trace/passcount.exp
6586 * gdb.trace/pending.exp
6587 * gdb.trace/pr16508.exp
6588 * gdb.trace/qtro.exp
6589 * gdb.trace/range-stepping.exp
6590 * gdb.trace/read-memory.exp
6591 * gdb.trace/report.exp
6592 * gdb.trace/save-trace.exp
6593 * gdb.trace/signal.exp
6594 * gdb.trace/stap-trace.exp
6595 * gdb.trace/status-stop.exp
6596 * gdb.trace/strace.exp
6597 * gdb.trace/tfile.exp
6598 * gdb.trace/tfind.exp
6599 * gdb.trace/trace-break.exp
6600 * gdb.trace/trace-condition.exp
6601 * gdb.trace/trace-enable-disable.exp
6602 * gdb.trace/trace-mt.exp
6603 * gdb.trace/tracecmd.exp
6604 * gdb.trace/tracefile-pseudo-reg.exp
6605 * gdb.trace/tspeed.exp
6606 * gdb.trace/tstatus.exp
6607 * gdb.trace/tsv.exp
6608 * gdb.trace/unavailable.exp
6609 * gdb.trace/while-dyn.exp
6610 * gdb.trace/while-stepping.exp
6611 * lib/gdb-guile.exp
6612 * lib/gdb.exp
6613 * lib/mi-support.exp
6614 * lib/pascal.exp
6615 * lib/perftest.exp
6616 * lib/prelink-support.exp
6617 * lib/selftest-support.exp
6618
ad02e4fe
SM
66192016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6620
6621 * Makefile.in: Include disable-implicit-rules.mk.
6622
22347e55
AA
66232016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6624
6625 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6626 non-byte-aligned bit fields.
6627
da5b30da
AA
66282016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6629
6630 PR gdb/12616
6631 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6632 respects the DW_AT_data_bit_offset attribute.
6633
b593ecca
SM
66342016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6635
6636 * gdb.base/default.exp: Fix output of "set language".
6637
3b165252
SM
66382016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6639
6640 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6641 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6642 make.
6643 * configure.ac: Remove checks for the make program.
6644 * configure: Re-generate.
6645
1a2f3d7f
KB
66462016-11-16 Kevin Buettner <kevinb@redhat.com>
6647
6648 * gdb.python/py-recurse-unwind.c (main): Add loop.
6649 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6650 to read_register() and gdb.parse_and_eval(). Make each code
6651 call a separate case that can be individually tested.
6652 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6653 proc. Call cont_and_backtrace for each of the code paths that
6654 we want to test in the unwinder.
6655
b7f38fda
AA
66562016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6657
6658 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6659 the definition of struct S.
6660
1f8db343
CM
66612016-11-11 Catherine Moore <clm@codesourcery.com>
6662
6663 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6664
fad0c9fb
PA
66652016-11-09 Pedro Alves <palves@redhat.com>
6666
6667 * gdb.base/commands.exp (runto_or_return): New procedure.
6668 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6669 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6670 (progvar_simple_while_test, progvar_complex_if_while_test)
6671 (if_while_breakpoint_command_test)
6672 (infrun_breakpoint_command_test, breakpoint_command_test)
6673 (user_defined_command_test, watchpoint_command_test)
6674 (test_command_prompt_position, redefine_hook_test)
6675 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6676 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6677 multi_line_input and multi_line. Remove gdb_expect and
6678 gdb_stop_suppressing_tests uses.
6679 * lib/gdb.exp (valnum_re): New global.
6680 (multi_line_input): New procedure.
6681
8354c62c
SM
66822016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6683
6684 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6685 Remove.
6686 (test_setup): Define with proc_with_prefix.
6687 (test_cli_inferior): Likewise.
6688 (test_cli_thread): Likewise.
6689 (test_cli_frame): Likewise.
6690 (test_cli_select_frame): Likewise.
6691 (test_cli_up_down): Likewise.
6692 (test_mi_thread_select): Likewise.
6693 (test_mi_stack_select_frame): Likewise.
6694 (test_cli_in_mi_inferior): Likewise.
6695 (test_cli_in_mi_thread): Likewise.
6696 (test_cli_in_mi_frame): Likewise.
6697 (top level): Do not use with_test_prefix_procname.
6698
64f367a2
PA
66992016-11-09 Pedro Alves <palves@redhat.com>
6700
6701 * gdb.base/commands.exp (gdbvar_simple_if_test)
6702 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6703 (progvar_simple_if_test, progvar_simple_while_test)
6704 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6705 (infrun_breakpoint_command_test, breakpoint_command_test)
6706 (user_defined_command_test, watchpoint_command_test)
6707 (test_command_prompt_position, deprecated_command_test)
6708 (bp_deleted_in_command, temporary_breakpoint_commands)
6709 (stray_arg0_test, source_file_with_indented_comment)
6710 (recursive_source_test, if_commands_test)
6711 (error_clears_commands_left, redefine_hook_test)
6712 (redefine_backtrace_test): Use proc_with_prefix.
6713 * lib/gdb.exp (proc_with_prefix): New proc.
6714
0bb65f1e
AA
67152016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6716
6717 * gdb.base/tui-layout.c: New file.
6718 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6719 disassembly window contains very long lines.
6720
7353f247
TT
67212016-11-08 Tom Tromey <tom@tromey.com>
6722
6723 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6724 depend on Python 2.
6725
30a7bb83
TT
67262016-11-08 Tom Tromey <tom@tromey.com>
6727
6728 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6729 New method.
6730
cdf5a07c
MG
67312016-10-29 Manish Goregaokar <manish@mozilla.com>
6732
2806dc7e 6733 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 6734
51a789c3
MG
67352016-10-27 Manish Goregaokar <manish@mozilla.com>
6736
2806dc7e
PA
6737 * gdb.rust/simple.rs: Add test for univariant enums without
6738 discriminants and for encoded struct-like enums.
51a789c3 6739
f610ab6d
PA
67402016-10-28 Pedro Alves <palves@redhat.com>
6741
6742 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6743 gdb_test_multiple, tighten regexps and match symtabs and line
6744 tables incrementally.
6745
b129b0ca
LM
67462016-10-28 Luis Machado <lgustavo@codesourcery.com>
6747
6748 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6749 general.
6750
ecf45d2c
SL
67512016-10-25 Luis Machado <lgustavo@codesourcery.com>
6752
6753 * gdb.base/exec-invalid-sysroot.exp: New file.
6754
b8d38ee4
JK
67552016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6756
6757 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6758
f90fd8c2
JK
67592016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6760
6761 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6762
2d2476aa
MR
67632016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6764
2806dc7e
PA
6765 * gdb.base/killed-outside.exp: Remove $options from a call to
6766 `prepare_for_testing'.
2d2476aa 6767
e42b25a0
SM
67682016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6769
6770 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6771 Change test message.
6772
3ccdb432
SM
67732016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6774
6775 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6776 Update comment.
6777
5bad3170
SM
67782016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6779
6780 * gdb.trace/mi-trace-save.exp: New file.
6781
5ad9dba7
YQ
67822016-10-13 Yao Qi <yao.qi@linaro.org>
6783
6784 * gdb.base/code_elim.exp (get_var_address): Remove.
6785 * gdb.base/relocate.exp: Likewise.
6786 * gdb.base/shreloc.exp: Likewise.
6787 * lib/gdb.exp (get_var_address): New.
6788
62df7e21
YQ
67892016-10-13 Yao Qi <yao.qi@linaro.org>
6790
6791 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6792 floating point tests if $skip_float_test is false.
6793
4dac951e
LM
67942016-10-12 Luis Machado <lgustavo@codesourcery.com>
6795
6796 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6797 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6798 argc values.
6799 Add 1 to argc so we guarantee distinct initial/modified argc values.
6800
8f1a8fc4
JK
68012016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6802
6803 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6804
16c85b5d
JK
68052016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6806
6807 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6808 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6809 * gdb.arch/vsx-regs.exp: Likewise.
6810
1d0e042a
YQ
68112016-10-07 Yao Qi <yao.qi@linaro.org>
6812
6813 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6814
68dadef5
MM
68152016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6816
6817 * gdb.python/python.exp: Test decode_line("*0").
6818
33fa2c6e
DE
68192016-10-06 Doug Evans <dje@google.com>
6820
6821 * gdb.python/py-value.exp (test_value_creation): Add test for large
6822 unsigned 64-bit value.
6823
9c37b5ae
TT
68242016-10-06 Tom Tromey <tom@tromey.com>
6825
6826 * gdb.compile/compile.exp: Change java tests to rust.
6827 * gdb.base/setshow.exp: Change java tests to rust.
6828 * gdb.base/default.exp: Remove java from language list.
6829 * README (Examples): Update language example.
6830 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6831 test.
6832 * lib/gdb.exp (skip_java_tests): Remove.
6833 * lib/java.exp: Remove.
6834 * gdb.java: Remove.
6835
78b86327
MR
68362016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6837
6838 * gdb.arch/mips-fcr.exp: New test.
6839 * gdb.arch/mips-fcr.c: Source for the new test.
6840
7470adbb
MR
68412016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6842
6843 * gdb.base/solib-disc.exp: Use `standard_output_file'
6844 throughout.
6845
4a556533
PA
68462016-10-06 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.base/jit-simple-dl.c: New file.
6849 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6850 * gdb.base/jit-simple.c: ... this.
6851 * gdb.base/jit-simple.exp (jit_run): Delete.
6852 (build_jit): New proc.
6853 (jit_test_reread): Recompile either the main program or the shared
6854 library, depending on what is being tested. Skip changing address
6855 if caller wants to. Compare before/after addresses. If testing
6856 standalone, explicitly load the binary. Test "maint info
6857 breakpoints".
6858 (top level): Add "standalone vs shared lib" and "change address"
6859 vs "same address" axes.
6860
5a122fbc
PA
68612016-10-06 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6864 call.
6865 (jit_run): Delete.
6866 (jit_test_reread): Use with_test_prefix. Reload the main binary
6867 explicitly. Compare the before/after addresses of the JIT
6868 descriptor.
6869
ee8da4b8
DE
68702016-08-15 Doug Evans <dje@google.com>
6871
6872 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6873 for single bitfields is bool.
6874 * gdb.xml/tdesc-regs.exp: Ditto.
6875
f389f6fe
JK
68762016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6877
6878 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6879
fdebf1a4
YQ
68802016-10-05 Yao Qi <yao.qi@linaro.org>
6881
6882 * lib/gdb.exp (support_complex_tests): Return zero if
6883 gdb_skip_float_test return true.
6884
9c36d954 68852016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 6886 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
6887
6888 PR gdb/20487
6889 * gdb.mi/user-selected-context-sync.exp: New file.
6890 * gdb.mi/user-selected-context-sync.c: New file.
6891
4034d0ff 68922016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 6893 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
6894
6895 PR gdb/20487
6896 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6897 =thread-select-event check.
6898
a4297203
PB
68992016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6900
6901 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6902 the compulsory L operand changes.
6903 * gdb.arch/powerpc-power.s: Likewise.
6904
bb805577
JK
69052016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6908 * gdb.base/jit-attach-pie.c: New file.
6909 * gdb.base/jit-attach-pie.exp: New file.
6910
6d61dee5
PA
69112016-09-28 Pedro Alves <palves@redhat.com>
6912
6913 * gdb.base/infcall-input.c: New file.
6914 * gdb.base/infcall-input.exp: New file.
6915
f73842fc
YQ
69162016-09-22 Yao Qi <yao.qi@linaro.org>
6917
6918 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6919 (gdb_exit): Rename it to ...
6920 (gdbserver_gdb_exit): ... Close GDBserver.
6921 (gdb_exit): New proc, call gdbserver_gdb_exit.
6922 (mi_gdb_exit): Likewise.
6923
90681dab
YQ
69242016-09-22 Yao Qi <yao.qi@linaro.org>
6925
6926 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6927 path.
6928 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6929 Remove duplication.
6930
9c211fd8
YQ
69312016-09-22 Yao Qi <yao.qi@linaro.org>
6932
6933 * lib/gdbserver-support.exp: Check the existence of
6934 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6935
ad0a504f
AK
69362016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6937
6938 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6939
36cf1806
TT
69402016-09-21 Tom Tromey <tom@tromey.com>
6941
6942 PR gdb/20604:
6943 * gdb.base/quit.exp: New file.
6944
74172ecf
SM
69452016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6946
6947 * .gitignore: New file.
6948
3d0ec882
MR
69492016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6950
6951 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6952 throughout.
6953
8193adea
AA
69542016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6955
6956 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6957
d41a5c09
JK
69582016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 * gdb.cp/casts.cc (decltype): Move it ...
6961 (main): ... with its call to ...
6962 * gdb.cp/casts03.cc: ... a new file.
6963 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6964
d2dfe700
JK
69652016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6966
6967 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6968
e2a92b16
PB
69692016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6970
6971 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6972 and sync up the test with tests in gas/testsuite/gas/ppc.
6973 * gdb.arch/powerpc-power.exp: Likewise.
6974
49b4de64
JK
69752016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6976
6977 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6978
2c29df25
SDJ
69792016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6980 Jan Kratochvil <jan.kratochvil@redhat.com>
6981
6982 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6983 make m1's definition to be different from m2's. Use 'dummy' as an
6984 argument for probe 'two'.
6985
cc3c2846
JB
69862016-09-10 Jon Beniston <jon@beniston.com>
6987
6988 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6989 for sim target.
6990
e1b2624a
AA
69912016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6992
6993 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6994 variable declaration.
6995 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6996 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6997 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6998 received HWCAP as its argument.
6999
4295e285
PA
70002016-09-06 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.base/new-ui-pending-input.c: New file.
7003 * gdb.base/new-ui-pending-input.exp: New file.
7004 * gdb.exp (clear_gdb_spawn_id): New procedure.
7005 (with_spawn_id): Check whether gdb_spawn_id exists before
7006 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7007 on exit.
7008
00d5215e
UW
70092016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7010
7011 * gdb.base/float128.c: New file.
7012 * gdb.base/float128.exp: Likewise.
7013 * gdb.base/floatn.c: Likewise.
7014 * gdb.base/floatn.exp: Likewise.
7015
a9ff5f12
UW
70162016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7017
7018 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7019
f245535c
PA
70202016-09-05 Pedro Alves <palves@redhat.com>
7021
7022 PR backtrace/19927
7023 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7024 unwinders are immediately called as side effect of "source" or
7025 "disable unwinder" commands.
7026 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7027
ae9cf263
YQ
70282016-09-02 Yao Qi <yao.qi@linaro.org>
7029
7030 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7031 is true and $type is "float" or "double".
7032
27aba047
YQ
70332016-09-02 Yao Qi <yao.qi@linaro.org>
7034
7035 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7036 true.
7037 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7038 * gdb.base/call-rt-st.exp: Likewise.
7039 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7040 return value instead of gdb,skip_float_test.
7041 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7042 (do_function_calls): Use its return value instead of
7043 gdb,skip_float_test.
7044 * gdb.base/finish.exp: Likewise.
7045 * gdb.base/funcargs.exp: Likewise.
7046 * gdb.base/return.exp: Likewise.
7047 * gdb.base/return2.exp: Likewise.
7048 * gdb.base/varargs.exp: Likewise.
7049 * lib/gdb.exp (gdb_skip_float_test): Change it to
7050 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7051
5af962df
AA
70522016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7053
7054 * gdb.multi/tids.exp: Test "thread apply all".
7055
7fac6910
JK
70562016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 * gdb.base/default.exp (tty): Remove.
7059
bb1fe4ac
KB
70602016-08-24 Kevin Buettner <kevinb@redhat.com>
7061
2806dc7e
PA
7062 * gdb.python/py-recurse-unwind.c: New file.
7063 * gdb.python/py-recurse-unwind.py: New file.
7064 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 7065
0a1ddfa6
SM
70662016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7067
7068 * gdb.base/set-inferior-tty.exp: New file.
7069 * gdb.base/set-inferior-tty.c: New file.
7070
d9de1fe3
PA
70712016-08-23 Pedro Alves <palves@redhat.com>
7072
7073 PR gdb/20494
7074 * gdb.base/new-ui-echo.c: New file.
7075 * gdb.base/new-ui-echo.exp: New file.
7076
e9d9abd7
YQ
70772016-08-23 Yao Qi <yao.qi@linaro.org>
7078
7079 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7080 gdbserver_spawn.
7081 * gdb.server/connect-without-multi-process.exp (do_test):
7082 Likewise.
7083
3589529e
YQ
70842016-08-23 Yao Qi <yao.qi@linaro.org>
7085
7086 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7087 standalone_txt. Delete gdb_txt and standalone_txt on host
7088 and target. Spawn the binary on target. Copy files from
7089 target to host.
7090
6bb90213
PA
70912016-08-22 Pedro Alves <palves@redhat.com>
7092
7093 PR gdb/20505
7094 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7095 with_test_prefix. Factor out bits to ...
7096 (test_no_vdso): ... this new procedure.
7097
20c2c024
CL
70982016-08-19 Carl Love <cel@us.ibm.com>
7099
7100 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7101 maintaining separate logic for constructing the output path.
7102 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7103 * gdb.arch/ppc-dfp.exp: Likewise.
7104 * gdb.arch/ppc-fp.exp: Likewise.
7105 * gdb.arch/vsx-regs.exp: Likewise.
7106 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7107 binprefix for generating the additional binary files.
7108
0646e07d
PA
71092016-08-19 Pedro Alves <palves@redhat.com>
7110
7111 * gdb.trace/mi-trace-frame-collected.exp
7112 (test_trace_frame_collected): On x32, expect two registers.
7113
46da9242
CL
71142016-08-18 Carl Love <cel@us.ibm.com>
7115
7116 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7117 and sync up the test with tests in gas/testsuite/gas/ppc.
7118 * gdb.arch/powerpc-power.exp: Likewise.
7119
eb2332d7
SM
71202016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7121
7122 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7123 expected error message.
7124
63c61e04
SM
71252016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7126
7127 * gdb.multi/remove-inferiors.exp: New file.
7128 * gdb.multi/remove-inferiors.c: New file.
7129
7b17065f
YQ
71302016-08-12 Yao Qi <yao.qi@linaro.org>
7131
7132 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7133 argument list.
7134
01d3dedf
PA
71352016-08-10 Pedro Alves <palves@redhat.com>
7136
7137 PR gdb/19187
7138 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7139 setup_kfails.
7140
3eb7562a
PA
71412016-08-09 Pedro Alves <palves@redhat.com>
7142 Simon Marchi <simon.marchi@ericsson.com>
7143
7144 PR gdb/20418
7145 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7146 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7147
80614914
PA
71482016-08-09 Pedro Alves <palves@redhat.com>
7149
7150 PR mi/20431
7151 * gdb.mi/mi-cmd-error.exp: New file.
7152
f348d89a
PA
71532016-08-09 Pedro Alves <palves@redhat.com>
7154
7155 PR gdb/18653
7156 * gdb.base/signals-state-child.c: New file.
7157 * gdb.base/signals-state-child.exp: New file.
7158 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7159
e5ca03b4
PA
71602016-08-09 Pedro Alves <palves@redhat.com>
7161
7162 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7163
282a0691
TT
71642016-08-03 Tom Tromey <tom@tromey.com>
7165
7166 PR python/18565:
7167 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7168
41bfcd63
YQ
71692016-08-01 Yao Qi <yao.qi@linaro.org>
7170
7171 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7172 variable mode to "multi-process" if $multi_process is 1, otherwise
7173 set it to "single-process".
7174
e3465b24
YQ
71752016-08-01 Yao Qi <yao.qi@linaro.org>
7176
7177 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7178 * gdb.cp/cpexprs.exp: Likewise.
7179 * gdb.cp/m-static.exp: Likewise.
7180
0b31a4bc
TT
71812016-07-26 Tom Tromey <tom@tromey.com>
7182
7183 PR python/20190:
7184 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7185 test.
7186
e0461dbb
MM
71872016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7188
7189 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7190 selecting assembly source files.
7191 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7192 assembly source files.
7193 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7194 assembly source files.
7195 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7196 selecting assembly source files.
7197
8194e927
SM
71982016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7199
7200 * gdb.base/new-ui.exp (do_test_invalid_args): New
7201 procedure.
7202
c0272db5
TW
72032016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7204
7205 * gdb.btrace/reconnect.c: New file.
7206 * gdb.btrace/reconnect.exp: New file.
7207
e3487908
GKB
72082016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7209
7210 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7211 to test_catch_syscall_group.
7212 (test_catch_syscall_group): New.
7213
12df5c00
TT
72142016-07-21 Tom Tromey <tom@tromey.com>
7215
7216 * gdb.rust/simple.rs (main): Use empty struct expression.
7217 * gdb.rust/simple.exp: Add tests for empty struct expression.
7218
bae62ee2
YQ
72192016-07-21 Yao Qi <yao.qi@linaro.org>
7220
7221 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7222 if gdb_skip_xml_test is true on some targets.
7223
b1b53fb3
YQ
72242016-07-21 Yao Qi <yao.qi@linaro.org>
7225
7226 * gdb.server/solib-list.exp: Unset last_loaded_file.
7227
027d97f8
JK
72282016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7229
7230 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7231 "step into captured_main (args)".
7232
7674d381
JK
72332016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7234
7235 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7236
72b5d099
JK
72372016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7238
7239 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7240
1f960ced
PA
72412016-07-19 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7244 * gdb.opt/inline-bt.exp: Likewise.
7245 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7246 additional_flags=-Winline.
7247 * gdb.opt/inline-locals.exp: Likewise.
7248 * gdb.opt/inline-markers.c (ATTR): Define.
7249 (inlined_fn): Use it.
7250
f25827c1
YQ
72512016-07-19 Yao Qi <yao.qi@linaro.org>
7252
7253 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7254 (test_with_self): Remove some code. Remove argument executable.
7255 (top-level): Use do_self_tests.
7256
37539ebe
DB
72572016-07-15 Zachary Welch <zwelch@codesourcery.com>
7258 Don Breazeal <donb@codesourcery.com>
7259
7260 * gdb.base/maint.exp: Escape paths used in regular expressions.
7261 * gdb.stabs/weird.exp: Likewise.
7262
dac790e1
TT
72632016-07-13 Tom Tromey <tom@tromey.com>
7264
7265 PR python/15620, PR python/18620:
7266 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7267 (test_bkpt_events): New procs.
7268
93daf339
TT
72692016-07-13 Tom Tromey <tom@tromey.com>
7270
7271 PR python/17698:
7272 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7273 test.
7274 (test_watchpoints): Likewise.
7275 (test_bkpt_pending): New proc.
7276
6571a381
TT
72772016-07-13 Tom Tromey <tom@tromey.com>
7278
7279 PR cli/18053:
7280 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7281 completion test.
7282
e8732474
JK
72832016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7286 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7287 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7288 f_label.
7289 (g): Rename g_end_lbl to g_label.
7290 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7291 low_pc and high_pc.
7292 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7293
e0f3fd7c
TT
72942016-07-12 Tom Tromey <tom@tromey.com>
7295
7296 PR python/19293:
7297 * gdb.python/py-unwind-maint.exp: Update tests.
7298
3cfe46b6
YQ
72992016-07-12 Yao Qi <yao.qi@linaro.org>
7300
7301 * lib/selftest-support.exp (selftest_setup): Match the output
7302 when captured_main is inlined.
7303
4f19a0e6
WT
73042016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7305
7306 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7307 New variables.
7308 (print this%a, print this%b, print this): New tests.
7309 * gdb.fortran/derived-types.f90 (this): New object and
7310 initialization.
7311
986cf455
SM
73122016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7313
7314 * gdb.ada/arraydim.exp: Remove extra directory level in build
7315 directory.
7316
f0464b23
SM
73172016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7318
7319 * lib/ada.exp: Remove extra directory level in build directory.
7320 * gdb.ada/cond_lang.exp: Likewise.
7321 * gdb.ada/exec_changed.exp: Likewise.
7322 * gdb.ada/lang_switch.exp: Likewise.
7323
42d94011
MG
73242016-07-06 Manish Goregaokar <manish@mozilla.com>
7325
2806dc7e
PA
7326 * simple.rs: Add test for raw pointer subscripting.
7327 * simple.exp: Add test expectations.
42d94011 7328
647c264c
YQ
73292016-07-05 Yao Qi <yao.qi@linaro.org>
7330
7331 * gdb.mi/mi-reverse.exp: Match =record-started output.
7332
20aa2c60
PA
73332016-07-01 Pedro Alves <palves@redhat.com>
7334
7335 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7336 procedure.
7337 (jit_reader_test): Test the jit reader's unwinder.
7338 * gdb.base/jithost.c (jit_function_00_code): New global.
7339 (main): Use memcpy to fill in the mmapped code, instead of poking
7340 bytes manually here.
7341 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7342 value.
7343 (read_debug_info): Save the function's range.
7344 (read_sp): New function.
7345 (unwind_frame): Use it. Also unwind RBP.
7346 (get_frame_id): Use read_sp.
7347 (gdb_init_reader): Use calloc instead of malloc.
7348 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7349 parameter. Use gdb_test_multiple.
7350
ced2dffb
PA
73512016-07-01 Pedro Alves <palves@redhat.com>
7352 Antoine Tremblay <antoine.tremblay@ericsson.com>
7353
7354 * gdb.threads/process-dies-while-detaching.c: New file.
7355 * gdb.threads/process-dies-while-detaching.exp: New file.
7356
63000888
PA
73572016-07-01 Pedro Alves <palves@redhat.com>
7358
7359 * gdb.multi/watchpoint-multi-exit.c: New file.
7360 * gdb.multi/watchpoint-multi-exit.exp: New file.
7361
038d4868
PA
73622016-06-30 Pedro Alves <palves@redhat.com>
7363
7364 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7365 unset inferior_spawn_id.
7366
994e9c83
PA
73672016-06-30 Pedro Alves <palves@redhat.com>
7368
7369 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7370 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7371
e5653468
YQ
73722016-06-29 Yao Qi <yao.qi@linaro.org>
7373
7374 * gdb.base/return.c: Add copyright header.
7375
803b47e5
TT
73762016-06-29 Tom Tromey <tom@tromey.com>
7377
7378 PR python/20129:
7379 * gdb.python/py-framefilter.exp: Add tests for setting priority
7380 and disabling of non-existent frame filter.
7381
28244707
YQ
73822016-06-29 Yao Qi <yao.qi@linaro.org>
7383
7384 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7385 0x0f07ff.
7386
a31d2f06
YQ
73872016-06-28 Yao Qi <yao.qi@linaro.org>
7388
7389 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7390 triplets. Start gdb, execute catch syscall, and continue. Check
7391 gdb's output to determine catch syscall is supported.
7392
921d8f54
MG
73932016-06-27 Manish Goregaokar <manish@mozilla.com>
7394
25d49b86
PA
7395 * gdb.rust/simple.rs: Add test for returning unit in a function.
7396 * gdb.rust/simple.exp: Add expectation for functions returning
7397 unit.
921d8f54 7398
f4952523
PMR
73992016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7400
7401 * gdb.python/py-breakpoint-create-fail.c,
7402 gdb.python/py-breakpoint-create-fail.exp,
7403 gdb.python/py-breakpoint-create-fail.py: New testcase.
7404
fccb08f8
MG
74052016-06-25 Manish Goregaokar <manish@mozilla.com>
7406
7407 PR gdb/20239
7408 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
7409 * gdb.rust/simple.exp: Add test expectations for new NonZero
7410 tests.
fccb08f8 7411
6b850546
DT
74122016-06-24 David Taylor <dtaylor@emc.com>
7413
7414 * gdb.base/offsets.exp: New file.
7415 * gdb.base/offsets.c: New file.
7416
17621150
TT
74172016-06-23 Tom Tromey <tom@tromey.com>
7418
7419 PR gdb/16483:
7420 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7421 before any filters are loaded.
7422
04d59df6
WT
74232016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7424
7425 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7426 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7427 structs.
7428 * gdb.fortran/derived-type-function.exp: New file.
7429 * gdb.fortran/derived-type-function.f90: New file.
7430
7431
ac69f786
PA
74322016-06-21 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/new-ui.exp: New file.
7435 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7436 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7437 (with_spawn_id): New procedure.
7438
49940788
PA
74392016-06-21 Pedro Alves <palves@redhat.com>
7440
7441 * gdb.mi/mi-exec-run.exp: New file.
7442
ef274d26
PA
74432016-06-21 Pedro Alves <palves@redhat.com>
7444
7445 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7446 breakpoint command's output on the main UI.
7447 (test_break): New procedure, factored out from calls in the top
7448 level.
7449 (top level): Use foreach_with_prefix to test MI as main UI and as
7450 separate UI.
7451
468afe6c
PA
74522016-06-21 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7455 (test_awatch_creation_and_listing)
7456 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7457 Remove 'type' parameter.
7458 (test_watchpoint_all): New parameter mi_mode. Remove
7459 with_test_prefix.
7460 (top level): Use foreach_with_prefix, and add main/separate UI MI
7461 testing axis.
7462
51f77c37
PA
74632016-06-21 Pedro Alves <palves@redhat.com>
7464
7465 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7466 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7467 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7468 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7469 (gdb_main_spawn_id, mi_spawn_id): Declare and
7470 comment.
7471 (mi_create_inferior_pty): New procedure,
7472 factored out from default_mi_gdb_start.
7473 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7474 procedures.
7475 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7476 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7477 Use mi_create_inferior_pty.
7478 (mi_gdb_start): Use eval to pass down args list.
7479
8980e177
PA
74802016-06-21 Pedro Alves <palves@redhat.com>
7481
7482 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7483 * gdb.opt/inline-cmds.exp: Add MI tests.
7484
f38d3ad1
PA
74852016-06-21 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7488
45db7c09
PA
74892016-06-21 Pedro Alves <palves@redhat.com>
7490
7491 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7492 (top level): Use it instead of mi_execute_to.
7493
5a069ab3
PA
74942016-06-21 Pedro Alves <palves@redhat.com>
7495
7496 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7497 (cont_handler_str): New.
7498 (signal_stop_handler): Set stop_handler_str instead of printing to
7499 stdout.
7500 (continue_handler): Set cont_handler_str instead of printing to
7501 stdout.
7502 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7503 mi_send_resuming_command. Print stop_handler_str and
7504 cont_handler_str instead of expecting the python events print
7505 directly.
7506
2838cc1d
SD
75072016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7508
7509 * gdb.base/jit-reader.exp: New file.
7510 * gdb.base/jithost.c: New file.
7511 * gdb.base/jithost.h: New file.
7512 * gdb.base/jitreader.c : New file.
7513 * gdb.base/jit-protocol.h: New file.
7514
21a77091
YQ
75152016-06-17 Yao Qi <yao.qi@linaro.org>
7516
7517 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7518 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7519 and detach-on-fork. Adjust tests.
7520 (top level): Invoke break_cond_on_syscall with combinations of
7521 syscall, follow-fork-mode and detach-on-fork.
7522
f50bf8e5
YQ
75232016-06-17 Yao Qi <yao.qi@linaro.org>
7524
7525 * gdb.base/step-over-exit.c: New.
7526 * gdb.base/step-over-exit.exp: New.
7527
a28d8e50
YTL
75282016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7529
7530 * gdb.base/float.exp: Add target check for nds32*-*-*.
7531 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7532
cad8e26d
AB
75332016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7534
7535 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7536 for unsupported target features.
7537 * gdb.base/call-rt-st.exp: Likewise.
7538 * gdb.base/call-sc.exp: Likewise.
7539 * gdb.base/call-signal-resume.exp: Likewise.
7540 * gdb.base/call-strs.exp: Likewise.
7541 * gdb.base/callexit.exp: Likewise.
7542 * gdb.base/callfuncs.exp: Likewise.
7543 * gdb.base/nodebug.exp: Likewise.
7544 * gdb.base/printcmds.exp: Likewise.
7545 * gdb.base/ptype.exp: Likewise.
7546 * gdb.base/structs.exp: Likewise.
7547 * gdb.base/unwindonsignal.exp: Likewise.
7548 * gdb.cp/gdb2495.exp: Likewise.
7549 * gdb.cp/templates.exp: Likewise.
7550 * gdb.cp/virtfunc.exp: Likewise.
7551 * gdb.threads/hand-call-in-threads.exp: Likewise.
7552 * gdb.threads/interrupted-hand-call.exp: Likewise.
7553 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7554
347dc102
TT
75552016-06-10 Tom Tromey <tom@tromey.com>
7556
7557 PR rust/20110:
7558 * gdb.rust/expr.exp: Add test for integer constant larger than
7559 i32.
7560
5e13cf25
BH
75612016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7562
7563 * gdb.fortran/nested-funcs.exp: New.
7564 * gdb.fortran/nested-funcs.f90: New.
7565
bb556f1f
TK
75662016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7567
7568 * gdb.base/examine-backward.c: New file.
7569 * gdb.base/examine-backward.exp: New file.
7570
38b022b4
SM
75712016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7572
7573 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7574 matching.
7575
1b40ec05
TT
75762016-06-02 Tom Tromey <tom@tromey.com>
7577
7578 PR python/18984:
7579 * gdb.python/py-shared.exp: Add solib_name test.
7580
193bd378
SM
75812016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7582
7583 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7584
3326303b
MG
75852016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7586
7587 PR c++/19893
7588 * gdb.dwarf2/implref.exp: Rename to...
7589 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7590 * gdb.dwarf2/implref-array.c: New file.
7591 * gdb.dwarf2/implref-array.exp: Likewise.
7592 * gdb.dwarf2/implref-global.c: Likewise.
7593 * gdb.dwarf2/implref-global.exp: Likewise.
7594 * gdb.dwarf2/implref-struct.c: Likewise.
7595 * gdb.dwarf2/implref-struct.exp: Likewise.
7596
825c8ef2
AT
75972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7598
7599 * gdb.trace/trace-condition.exp: Add 64bit tests.
7600
2320162a
AT
76012016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7602
7603 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7604 bits types.
7605 (main): Adapt to 8 to 64 bits types.
7606 * gdb.trace/trace-condition.exp: Add new tests.
7607
a7818233
AT
76082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7609
7610 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7611
0d336466
AT
76122016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7613
7614 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7615 Move condition tests...
7616 * gdb.trace/trace-condition.exp: Here.
7617
7faeb45a
AT
76182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7619
7620 * gdb.trace/trace-condition.exp: Add counter-case tests.
7621
e385593e
JK
76222016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7623
7624 PR c++/15231
7625 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7626 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7627
744608cc
PA
76282016-05-27 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7631 New procedure.
7632 (top level): Call it, and bail out of DejaGnu is known to be bad.
7633
ac775bf4
AB
76342016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7635
7636 * gdb.base/whatis.c: Extend the test case.
7637 * gdb.base/whatis.exp: Add additional tests.
7638
2bbad2ea
BH
76392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7640
7641* gdb.fortran/type.f90: Add pointer variable.
7642* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7643
8b70175d
BH
76442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7645
7646 * gdb.fortran/vla-type.exp: Fix testcase name.
7647
86d8a848
BH
76482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7649
7650 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7651
e188eb36
BH
76522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7653
7654 * gdb.fortran/type.f90: Add nested structures.
7655 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7656 * gdb.fortran/derived-type.exp: Adapt expected output.
7657 * gdb.fortran/vla-type.exp: Adapt expected output.
7658
9b2db1fd
BH
76592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7660
7661 * gdb.fortran/whatis_type.exp: Adapt expected output.
7662
72b17055
BH
76632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7664
7665 * gdb.fortran/print_type.exp: Fix expected output.
7666 * gdb.fortran/whatis_type.exp: Fix expected output.
7667
3cd81d8d
BH
76682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7669
7670 * gdb.fortran/whatis_type.exp: Use multi_line.
7671
ddae9462
TT
76722016-05-24 Tom Tromey <tom@tromey.com>
7673
7674 PR python/17386:
7675 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7676 use value as an index.
7677
1957f6b8
TT
76782016-05-23 Tom Tromey <tom@tromey.com>
7679
7680 PR python/17981:
7681 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7682 no-breakpoint case.
7683
026a9174
PA
76842016-05-24 Pedro Alves <palves@redhat.com>
7685
7686 PR gdb/19828
7687 * gdb.threads/clone-attach-detach.c: New file.
7688 * gdb.threads/clone-attach-detach.exp: New file.
7689
e70a7231
FR
76902016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7691
7692 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7693
0f6ed0e0
TT
76942016-05-23 Tom Tromey <tom@tromey.com>
7695
7696 PR python/19438, PR python/18393:
7697 * gdb.python/py-progspace.exp: Add "dir" test.
7698 * gdb.python/py-objfile.exp: Add "dir" test.
7699
ffd19d61
YQ
77002016-05-23 Yao Qi <yao.qi@linaro.org>
7701
7702 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7703 * gdb.arch/thumb2-it.exp: Likewise.
7704
9e8f9b05
SM
77052016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7706
7707 * gdb.mi/mi-threads-interrupt.c: New file.
7708 * gdb.mi/mi-threads-interrupt.exp: New file.
7709
61c6156d
SM
77102016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7711
7712 PR gdb/18077
7713 * gdb.mi/mi-async-run.exp: New file.
7714 * gdb.mi/mi-async-run.c: New file.
7715
67218854
TT
77162016-05-17 Tom Tromey <tom@tromey.com>
7717 Manish Goregaokar <manishsmail@gmail.com>
7718
7719 * lib/rust-support.exp: New file.
7720 * lib/gdb.exp (skip_rust_tests): New proc.
7721 (build_executable_from_specs): Handle rust.
7722 * lib/future.exp (gdb_find_rustc): New proc.
7723 (gdb_default_target_compile): Handle rust.
7724 * gdb.rust/expr.exp: New file.
7725 * gdb.rust/generics.exp: New file.
7726 * gdb.rust/generics.rs: New file.
7727 * gdb.rust/methods.exp: New file.
7728 * gdb.rust/methods.rs: New file.
7729 * gdb.rust/modules.exp: New file.
7730 * gdb.rust/modules.rs: New file.
7731 * gdb.rust/simple.exp: New file.
7732 * gdb.rust/simple.rs: New file.
7733
c44af4eb
TT
77342016-05-17 Tom Tromey <tom@tromey.com>
7735
7736 * gdb.base/default.exp (set language): Add rust.
7737
dcd1f979
TT
77382016-05-17 Tom Tromey <tom@tromey.com>
7739
7740 * gdb.gdb/unittest.exp: New file.
7741
155b7f57
YQ
77422016-05-16 Yao Qi <yao.qi@linaro.org>
7743
7744 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7745 shell_prompt. Update shell_prompt_re.
7746
8ddd5a6c
DE
77472016-05-12 Doug Evans <dje@google.com>
7748
7749 PR symtab/19999
7750 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7751 $options when building executable.
7752 * gdb.dwarf2/fission-loclists-pie.S: New file.
7753 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7754
02e370d9
SM
77552016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7756
7757 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7758 of [is_remote target],
7759
8929ad8b
SM
77602016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7761
7762 * lib/gdb.exp (use_gdb_stub): New procedure.
7763
6c447423
DE
77642016-05-03 Yunlian Jiang <yunlian@google.com>
7765 Doug Evans <dje@google.com>
7766
7767 PR symtab/19914
7768 * gdb.dwarf2/dwp-sepdebug.c: New file.
7769 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7770
444e826c
SM
77712016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7772
7773 * gdb.base/detach.exp: Remove is_remote check.
7774
740feeaa
SM
77752016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7776
7777 * gdb.base/annota-input-while-running.exp: Don't check for
7778 [is_remote target]. Enable annotations after running to main.
7779 Remove unused "set test..." line.
7780
9080ac9d
SM
77812016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7782
7783 * gdb.trace/trace-enable-disable.exp: New file.
7784 * gdb.trace/trace-enable-disable.c: New file.
7785
952ebca5
SM
77862016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7787
7788 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7789 use it in info sharedlibrary test.
7790 * gdb.trace/ftrace-lock.exp: Likewise.
7791 * gdb.trace/ftrace.exp: Likewise.
7792 * gdb.trace/range-stepping.exp: Likewise.
7793 * gdb.trace/trace-break.exp: Likewise.
7794 * gdb.trace/trace-condition.exp: Likewise.
7795 * gdb.trace/trace-mt.exp: Likewise.
7796
d9019901
SM
77972016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7798
7799 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7800 (gdb_load_shlib): ... this.
7801 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7802 gdb_load_shlib.
7803 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7804 * gdb.base/ctxobj.exp: Likewise.
7805 * gdb.base/dprintf-pending.exp: Likewise.
7806 * gdb.base/dso2dso.exp: Likewise.
7807 * gdb.base/fixsection.exp: Likewise.
7808 * gdb.base/gcore-relro.exp: Likewise.
7809 * gdb.base/gdb1555.exp: Likewise.
7810 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7811 * gdb.base/gnu-ifunc.exp: Likewise.
7812 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7813 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7814 * gdb.base/pending.exp: Likewise.
7815 * gdb.base/print-file-var.exp: Likewise.
7816 * gdb.base/print-symbol-loading.exp: Likewise.
7817 * gdb.base/shlib-call.exp: Likewise.
7818 * gdb.base/shreloc.exp: Likewise.
7819 * gdb.base/so-impl-ld.exp: Likewise.
7820 * gdb.base/solib-disc.exp: Likewise.
7821 * gdb.base/solib-nodir.exp: Likewise.
7822 * gdb.base/solib-overlap.exp: Likewise.
7823 * gdb.base/solib-symbol.exp: Likewise.
7824 * gdb.base/solib-weak.exp (do_test): Likewise.
7825 * gdb.base/sym-file.exp: Likewise.
7826 * gdb.base/symtab-search-order.exp: Likewise.
7827 * gdb.base/type-opaque.exp: Likewise.
7828 * gdb.base/unload.exp: Likewise.
7829 * gdb.base/watchpoint-solib.exp: Likewise.
7830 * gdb.compile/compile.exp: Likewise.
7831 * gdb.cp/gdb2384.exp: Likewise.
7832 * gdb.cp/infcall-dlopen.exp: Likewise.
7833 * gdb.cp/re-set-overloaded.exp: Likewise.
7834 * gdb.fortran/library-module.exp: Likewise.
7835 * gdb.opt/solib-intra-step.exp: Likewise.
7836 * gdb.python/py-finish-breakpoint.exp: Likewise.
7837 * gdb.python/py-shared.exp: Likewise.
7838 * gdb.reverse/solib-precsave.exp: Likewise.
7839 * gdb.reverse/solib-reverse.exp: Likewise.
7840 * gdb.server/solib-list.exp: Likewise.
7841 * gdb.threads/dlopen-libpthread.exp: Likewise.
7842 * gdb.threads/tls-shared.exp: Likewise.
7843 * gdb.threads/tls-so_extern.exp: Likewise.
7844 * gdb.trace/change-loc.exp: Likewise.
7845 * gdb.trace/ftrace-lock.exp: Likewise.
7846 * gdb.trace/ftrace.exp: Likewise.
7847 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7848 * gdb.trace/pending.exp: Likewise.
7849 * gdb.trace/range-stepping.exp: Likewise.
7850 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7851 (strace_info_marker): Likewise.
7852 (strace_probe_marker): Likewise.
7853 (strace_trace_on_same_addr): Likewise.
7854 (strace_trace_on_diff_addr): Likewise.
7855 * gdb.trace/trace-break.exp: Likewise.
7856 * gdb.trace/trace-condition.exp: Likewise.
7857 * gdb.trace/trace-mt.exp: Likewise.
7858
fca4cfd9
SM
78592016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7860
7861 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7862 result of gdb_remote_download.
7863 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7864 * gdb.base/dso2dso.exp: Likewise.
7865 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7866 * gdb.base/print-file-var.exp: Likewise.
7867 * gdb.base/shlib-call.exp: Likewise.
7868 * gdb.base/shreloc.exp: Likewise.
7869 * gdb.base/solib-overlap.exp: Likewise.
7870 * gdb.base/solib-weak.exp (do_test): Likewise.
7871 * gdb.base/unload.exp: Likewise.
7872
11cf4ffb
YQ
78732016-04-27 Yao Qi <yao.qi@linaro.org>
7874
7875 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7876 exists.
7877
3e2e34f8
KB
78782016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7879
7880 * vla-type.exp: Print structure from toplevel.
7881
8f07e298
BH
78822016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7883
7884 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7885 of dynamic types.
7886 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7887 of dynamic types.
7888
9920b434
BH
78892016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7890
7891 * gdb.fortran/vla-type.f90: New file.
7892 * gdb.fortran/vla-type.exp: New file.
7893
f3abeff5
YQ
78942016-04-25 Yao Qi <yao.qi@linaro.org>
7895
7896 * gdb.base/branch-to-self.c: New file.
7897 * gdb.base/branch-to-self.exp: New file.
7898
0a5d52f0
YQ
78992016-04-22 Yao Qi <yao.qi@linaro.org>
7900
7901 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7902 more after $hex.
7903
495346f6
YQ
79042016-04-22 Yao Qi <yao.qi@linaro.org>
7905
7906 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7907 * gdb.base/annota3.exp: Likewise.
7908
4a7e075c
YQ
79092016-04-22 Yao Qi <yao.qi@linaro.org>
7910
7911 * gdb.reverse/step-precsave.exp: Do one step and test program
7912 stops in "callee" and do multiple steps until program goes out
7913 of "callee".
7914 * gdb.reverse/step-reverse.exp: Likewise.
7915
5b061e98
YQ
79162016-04-22 Yao Qi <yao.qi@linaro.org>
7917
7918 * gdb.trace/signal.exp: Also pass if
7919 $tracepoint_hits($i) > $iterations.
7920
5c5dc57f
YQ
79212016-04-22 Yao Qi <yao.qi@linaro.org>
7922
7923 * gdb.trace/signal.c: New file.
7924 * gdb.trace/signal.exp: New file.
7925
a55411b9
DE
79262016-04-19 Doug Evans <xdje42@gmail.com>
7927
7928 * gdb.base/bad-file.exp: New file.
7929
a22df60a
MG
79302016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7931
7932 * gdb.dwarf2/implref.exp: New file.
7933
0c13f7e5
BH
79342016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7935
7936 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7937 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7938 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7939 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7940 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7941 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7942 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7943 * lib/fortran.exp (fortran_int4): New procedure.
7944 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7945 (fortran_logical4): Likewise.
7946
9b9b09e9
BH
79472016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7948
7949 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7950
a14d1f4d
BH
79512016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7952
7953 * lib/compiler.c: Add Intel specific preprocessor macros.
7954 * lib/compiler.cc: Likewise.
25d49b86 7955
7d49b1d0
LM
79562016-04-13 Luis Machado <lgustavo@codesourcery.com>
7957
7958 * gdb.server/connect-with-no-symbol-file.c: New file.
7959 * gdb.server/connect-with-no-symbol-file.exp: New file.
7960
8392fa22
SM
79612016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7962
7963 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7964
8c4c4aeb
SM
79652016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7966
7967 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7968 standard output directory.
7969
45e3745e
AT
79702016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7971
7972 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7973
e26b7e41
MM
79742016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7975
7976 * gdb.btrace/instruction_history.c (loop): Add declaration.
7977
8ce09462
AT
79782016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7979
7980 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7981
2e88a1ea
SM
79822016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7983
7984 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7985 parentheses to print.
7986 (continue_handler): Likewise.
7987
f48e22e3
SM
79882016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7989
7990 * gdb.server/solib-list.exp: Remove is_remote check.
7991 Pass shlib= to gdb_compile. Don't link shared library with
7992 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7993 Run binary filename through "readlink -f" on the target.
7994
096be756
PA
79952016-04-08 Pedro Alves <palves@redhat.com>
7996
7997 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7998 interpreter filename as argument to gdbserver_spawn.
7999 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8000 Return empty if $last_loaded_file does not exist.
8001
06500533
JK
80022016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8003
8004 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8005 * gdb.base/jit-main.c: Use exit after usage.
8006
2d35e871
JK
80072016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8008
8009 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8010 GDBHISTSIZE prior to the tests.
8011 * gdb.base/gdbinit-history.exp: Likewise.
8012
80132016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
8014
8015 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8016 instead of build_executable. Use gdb_load_shlibs.
8017
c8064e7e
YQ
80182016-04-07 Yao Qi <yao.qi@linaro.org>
8019
8020 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8021 Execute "si" command.
8022
bde47561
YQ
80232016-04-07 Yao Qi <yao.qi@linaro.org>
8024
8025 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8026 number instead of the comments on some line.
8027
b16f8a3b
DB
80282016-04-06 Don Breazeal <donb@codesourcery.com>
8029
8030 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8031 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8032
c2f901df
SM
80332016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8034
8035 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8036 standard_output_file. Remove unused binfile variable.
8037
ac17fda0
CU
80382016-04-05 Catalin Udma <catalin.udma@freescale.com>
8039
8040 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8041 * gdb.python/py-mi-objfile.exp: Match "list main" output
8042 in console format.
8043
03a8c4df
SM
80442016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8045
8046 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8047 absolute.
8048
6e774b13
SM
80492016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8050
8051 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8052 absolute.
8053 * gdb.trace/ftrace.exp: Likewise.
8054 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8055 targets as well.
8056 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8057 (gdb_load_shlibs): Copy libraries to test directory when testing
8058 natively. Only set solib-search-path if testing remotely.
8059 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8060
7817ea46
SM
80612016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8062
8063 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8064 gdb_download. Use it even if the target is not remote.
8065 * gdb.base/jit.exp (compile_jit_test): Likewise.
8066 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8067 output directory if the destination board is local, otherwise use
8068 the standard remote_download from DejaGnu.
8069 (gdb_download): Remove.
8070 (gdb_load_shlibs): Use gdb_remote_download instead of
8071 gdb_download.
8072 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8073 Use gdb_remote_download instead of gdb_download. Use it even if
8074 the target is not remote.
8075 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8076 instead of gdb_download.
8077
7beb7f68
SM
80782016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8079
8080 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8081 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8082 run.
8083
cc63428a
AV
80842016-04-01 Artemiy Volkov <artemiyv@acm.org>
8085
8086 PR gdb/19820
8087 * gdb.base/printcmds.exp: Add artificial arrays tests.
8088
64cdf930
PA
80892016-03-31 Pedro Alves <palves@redhat.com>
8090
8091 PR gdb/19858
8092 * gdb.base/jit-main.c: Include unistd.h.
8093 (ATTACH): Define to 0 if not already defined.
8094 (wait_for_gdb, mypid): New globals.
8095 (WAIT_FOR_GDB): New macro.
8096 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8097 some breakpoint locations.
8098 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8099 New procedures.
8100 (one_jit_test): Add REATTACH parameter, and handle it. Use
8101 continue_to_test_location.
8102 (top level): Test attach, and adjusts calls to one_jit_test.
8103
40dea8cb
PA
81042016-03-31 Pedro Alves <palves@redhat.com>
8105
8106 PR gdb/19858
8107 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8108 BINSUFFIX parameter, and handle it.
8109 (top level): Adjust calls compile_jit_test.
8110
e7ea3ec7
CU
81112016-03-31 Catalin Udma <catalin.udma@freescale.com>
8112
8113 PR python/19743
8114 * gdb.python/py-mi-events-gdb.py: New file.
8115 * gdb.python/py-mi-events.c: New file.
8116 * gdb.python/py-mi-events.exp: New file.
8117
e6359af3
YQ
81182016-03-30 Yao Qi <yao.qi@linaro.org>
8119
8120 * gdb.reverse/until-precsave.exp: Match function name only.
8121 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8122 Move malloc to a condition block.
8123 * gdb.reverse/until-reverse.exp: Match function name only.
8124
a4105d04
MK
81252016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8126
8127 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8128 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8129 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8130 variable for GPR 0 instead of assuming it is register 0.
8131 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8132 * lib/trace-support.exp: Add s390 registers.
8133
bfa6adb9
YQ
81342016-03-29 Yao Qi <yao.qi@linaro.org>
8135
8136 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8137
1e6697ea
YQ
81382016-03-24 Yao Qi <yao.qi@linaro.org>
8139
8140 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8141 test message.
8142
64bcd522
AA
81432016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8144
8145 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8146 maintaining separate logic for constructing the output path.
8147
7868401b
DB
81482016-03-16 Don Breazeal <donb@codesourcery.com>
8149
8150 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8151 Retry fork and waitpid on interrupted system call errors.
8152 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8153 Use with_timeout_factor to increase timeout by factor of 10.
8154
1cafadb4
DB
81552016-03-15 Don Breazeal <donb@codesourcery.com>
8156
8157 * gdb.cp/scope-err.cc: New test program.
8158 * gdb.cp/scope-err.exp: New test script.
8159 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8160 lines and "set breakpoint here" comment.
8161 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8162 Fixed some whitespace and format issues.
8163 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8164 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8165
81516450
DE
81662016-03-15 Doug Evans <dje@google.com>
8167
8168 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8169 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8170 All callers updated. Add tests for enums, mixed flags register.
8171
aa52b601
DE
81722016-03-15 Doug Evans <dje@google.com>
8173
8174 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8175 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8176
fa4ff313
SM
81772016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8178
8179 * gdb.base/default.exp: Add $_as_string to the list of expected
8180 convenience functions.
8181
f2403c39
AB
81822016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8183
8184 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8185
f2f3ccb9
SM
81862016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8187
8188 * gdb.python/py-as-string.exp: New file.
8189 * gdb.python/py-as-string.c: New file.
8190
00dbd492
PA
81912016-03-09 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8194 signal" -> "Thread NN received signal" output change.
8195 * gdb.threads/ia64-sigill.exp: Likewise.
8196 * gdb.threads/linux-dp.exp: Likewise.
8197 * gdb.threads/manythreads.exp: Likewise.
8198 * gdb.threads/pending-step.exp: Likewise.
8199 * gdb.threads/print-threads.exp: Likewise.
8200 * gdb.threads/sigstep-threads.exp: Likewise.
8201 * gdb.threads/staticthreads.exp: Likewise.
8202 * gdb.threads/tls.exp: Likewise.
8203
1e6697ea
YQ
82042016-03-09 Pedro Alves <palves@redhat.com>
8205
8206 * gdb.base/command-line-input.exp: New file.
8207
b04fd3be
MK
82082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8209
8210 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8211 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8212 * gdb.trace/pending.exp: Accept leading dot before function name.
8213 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8214 * lib/trace-support.exp: Set registers for ppc.
8215
98fa59e9
MK
82162016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8217
8218 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8219 use it for disassembly; accept .main in addition to main in backtrace.
8220
f77198c8
MK
82212016-03-09 Wei-cheng Wang <cole945@gmail.com>
8222 Marcin Kościelnicki <koriakin@0x04.net>
8223
8224 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8225 (gdb_recursion_test_ptr): New global variable.
8226 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8227 gdb_recursion_test.
8228 (gdb_c_test): Ditto.
8229
ba84e0da
MK
82302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8231
8232 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8233 ordering.
8234
4366d36e
MK
82352016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8236
8237 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8238 (bar): Add bar_start_lbl label.
8239 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8240 of foo/bar for emitting DWARF and tracing.
8241
5eb264df
SDJ
82422016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8243
8244 * analyze-racy-logs.py: Set executable bit.
8245
fb6a751f
SDJ
82462016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8247
8248 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8249 (CHECK_TARGET_TMP): Likewise.
8250 (check-single-racy): New rule.
8251 (check-parallel-racy): Likewise.
8252 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8253 (do-check-parallel-racy): New rule.
8254 (check-racy/%.exp): Likewise.
8255 * README (Racy testcases): New section.
8256 * analyze-racy-logs.py: New file.
8257
bdf7e230
DE
82582016-03-03 Doug Evans <dje@google.com>
8259
8260 * gdb.base/skip.exp: Use with_test_prefix.
8261
4719d415
YQ
82622016-03-03 Yao Qi <yao.qi@linaro.org>
8263
8264 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8265 Invoke step_over_syscall "clone" and break_cond_on_syscall
8266 "clone".
8267 * gdb.base/step-over-clone.c: New file.
8268
ea507862
YQ
82692016-03-03 Yao Qi <yao.qi@linaro.org>
8270
8271 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8272 code format.
8273
8fc8cbda
YQ
82742016-03-03 Yao Qi <yao.qi@linaro.org>
8275
8276 * gdb.base/disp-step-fork.c: Rename to ...
8277 * gdb.base/step-over-fork.c: ... it. New file.
8278 * gdb.base/disp-step-vfork.c: Rename to ...
8279 * gdb.base/step-over-vfork.c: ... it. New file.
8280 * gdb.base/disp-step-syscall.exp: Rename to ...
8281 * gdb.base/step-over-syscall.exp: ... it. New file.
8282 (disp_step_cross_syscall): Rename to ...
8283 (step_over_syscall): ... it.
8284
92fa70b0
YQ
82852016-03-03 Yao Qi <yao.qi@linaro.org>
8286
8287 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8288 If target supports condition evaluation on target, invoke
8289 break_cond_on_syscall for fork and vfork.
8290
e197ad3c
YQ
82912016-03-03 Yao Qi <yao.qi@linaro.org>
8292
8293 * gdb.base/disp-step-syscall.exp: Don't invoke
8294 support_displaced_stepping.
8295 (disp_step_cross_syscall): Test with displaced stepping off and
8296 on if supported.
8297
0b47da9f
YQ
82982016-03-03 Yao Qi <yao.qi@linaro.org>
8299
8300 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8301 proc.
8302 (setup): New proc.
8303 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8304 and setup.
8305
065ab6dc
BH
83062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8307
8308 * gdb.fortran/vla-history.exp: Remove breakpoint.
8309
07e448ad 83102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8311
25d49b86
PA
8312 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8313 exceeds timeout.
07e448ad 8314
9ac2d526 83152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8316
25d49b86
PA
8317 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8318 breakpoint.
9ac2d526 8319
17807369
BH
83202016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8321
8322 * gdb.mi/vla.f90: Nullify pointer after declaration.
8323
86e501af
PA
83242016-03-01 Pedro Alves <palves@redhat.com>
8325
8326 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8327
1e903e32
PA
83282016-03-01 Pedro Alves <palves@redhat.com>
8329
8330 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8331 before anything else.
8332 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8333 _GNU_SOURCE here.
8334 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8335 before anything else.
8336 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8337
6ccb54e2
PA
83382016-03-01 Pedro Alves <palves@redhat.com>
8339
8340 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8341
30ca9da1
YQ
83422016-03-01 Yao Qi <yao.qi@linaro.org>
8343
8344 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8345 prepare_for_testing.
8346
dc856b38
YQ
83472016-03-01 Yao Qi <yao.qi@linaro.org>
8348
8349 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8350
4a932159
AA
83512016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8352
8353 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8354 manually constructing the output path.
8355
f2489477
AA
83562016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8357
8358 * gdb.arch/s390-stackless.S: New.
8359 * gdb.arch/s390-stackless.exp: New.
8360
38899f16
IB
83612016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8362
8363 * gdb.dlang/circular.c: New file.
8364 * gdb.dlang/circular.exp: New file.
8365
9fde51ed
YQ
83662016-02-26 Yao Qi <yao.qi@linaro.org>
8367
8368 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8369 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8370 (testcases): Update.
8371
ce90fefe
YQ
83722016-02-26 Yao Qi <yao.qi@linaro.org>
8373
8374 * gdb.reverse/aarch64.c: Rename to ...
8375 * gdb.reverse/insn-reverse.c: ... it.
8376 * gdb.reverse/aarch64.exp: Rename to ...
8377 * gdb.reverse/insn-reverse.exp: ... it.
8378
3263bceb
YQ
83792016-02-26 Yao Qi <yao.qi@linaro.org>
8380
8381 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8382 (testcase_ftype): New.
8383 (testcases): New array.
8384 (n_testcases): New.
8385 (main): Call each element in testcases.
8386 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8387 (read_testcase): New.
8388 Do the tests in a loop.
8389
6cb59ff1
YQ
83902016-02-25 Yao Qi <yao.qi@linaro.org>
8391
8392 * gdb.base/branches.c: Remove.
8393
ae91f625
MK
83942016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8395
8396 PR gdb/13808
8397 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8398
678b48b7
MK
83992016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8400
8401 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8402
7337a6f2
MK
84032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8404
8405 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8406 change x86_64 call_insn to 'callq'.
8407
861ca91f
AT
84082016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8409
8410 * gdb.trace/tfile-avx.c: Move to...
8411 * gdb.trace/tracefile-pseudo-reg.c: Here.
8412 * gdb.trace/tfile-avx.exp: Move to...
8413 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8414
bf74e428
GB
84152016-02-24 Gary Benson <gbenson@redhat.com>
8416
8417 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8418 message on attach.
8419
cce0e923
DE
84202016-02-23 Doug Evans <dje@google.com>
8421
8422 * gdb.base/skip.c (test_skip): New function.
8423 (end_test_skip_file_and_function): New function.
8424 (test_skip_file_and_function): New function.
8425 * gdb.base/skip1.c (test_skip): New function.
8426 (skip1_test_skip_file_and_function): New function.
8427 * gdb.base/skip.exp: Add tests for new skip options.
8428 * gdb.base/skip-solib.exp: Update expected output.
8429 * gdb.perf/skip-command.cc: New file.
8430 * gdb.perf/skip-command.exp: New file.
8431 * gdb.perf/skip-command.py: New file.
8432
4000e47e
MK
84332016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8434
8435 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8436 info registers pattern.
8437
24f75ead
IB
84382016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8439
8440 * lib/future.exp: Add D support.
8441 (gdb_find_gdc): New proc.
8442 (gdb_default_target_compile): Add D support.
8443
fbb7bcbe
WW
84442016-02-18 Wei-cheng Wang <cole945@gmail.com>
8445
8446 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8447 user+system time.
8448 (trace_speed_test): Determine the iteration count for a time
8449 between 15..30 seconds.
8450
012b3a21
WT
84512016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8452
8453 * gdb.arch/i386-mpx-sigsegv.c: New file.
8454 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8455 * gdb.arch/i386-mpx-simple_segv.c: New file.
8456 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8457
2d5189bd
YQ
84582016-02-18 Yao Qi <yao.qi@linaro.org>
8459
8460 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8461 Don't call setup_kfail.
8462
40fb20d0
YQ
84632016-02-18 Yao Qi <yao.qi@linaro.org>
8464
8465 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8466 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8467
21b1f8d2
DE
84682016-02-16 Doug Evans <dje@google.com>
8469
8470 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8471 * gdb.base/skip1.c: Ditto.
8472 * gdb.base/skip.exp: Whitespace cleanup.
8473
4041ed77
DB
84742016-02-16 Don Breazeal <donb@codesourcery.com>
8475
8476 PR remote/19496
8477 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8478 Remove kfail for PR remote/19496.
8479
c4ef31bf
SM
84802016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8481
8482 * lib/gdb.exp (standard_temp_file): Return a path specific to
8483 the runtest invocation.
8484
266b65b3
SM
84852016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8486
8487 * gdb.trace/save-trace.exp: Change relative path to be in the
8488 standard output directory.
8489
a7a0a6a9
JK
84902016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 * gdb.arch/i386-prologue.c: Add missing prototypes.
8493
c99dbb42
JK
84942016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8495
8496 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8497 * gdb.arch/i386-prologue.exp: Likewise.
8498 * gdb.arch/i386-size.exp: Likewise.
8499
aa480355
SM
85002016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8501
8502 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8503 define object file path.
8504 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8505 file path.
8506 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8507 standard_output_file to define binfile.
8508
ba881f50
JK
85092016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8510
8511 Fix compatibility with recent gfortran-5.3.1.
8512 * gdb.fortran/vla-history.exp (print vla1 allocated)
8513 (print vla2 allocated, print $2, print $3): Remove
8514 (print $4): Rename to ...
8515 (print $2): ... here.
8516 (print $9): Rename to ...
8517 (print $5): ... here.
8518 (print $10): Rename to ...
8519 (print $6): ... here.
8520 * gdb.fortran/vla.f90: Add pvla initialization.
8521
e9fb005c
JK
85222016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8523
8524 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8525 New test.
8526 * gdb.fortran/vla-value-sub.exp: Likewise.
8527
e44e00ff
MK
85282016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8529
8530 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8531
97e94151
SM
85322016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8533
8534 * i386-biarch-core.exp: Define corefile using
8535 standard_output_file.
8536
01113bc1
YQ
85372016-02-12 Yao Qi <yao.qi@linaro.org>
8538
8539 * gdb.arch/arm-single-step-kernel-helper.c: New.
8540 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8541
33b4777c
MM
85422016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8543
8544 * gdb.btrace/tailcall-only.exp: New.
8545 * gdb.btrace/tailcall-only.c: New.
8546 * gdb.btrace/x86_64-tailcall-only.S: New.
8547 * gdb.btrace/i686-tailcall-only.S: New.
8548
acc23c11
PA
85492016-02-11 Pedro Alves <palves@redhat.com>
8550
8551 * README (Parallel testing): Add missing double quotes.
8552
e352bf0a
PA
85532016-02-11 Pedro Alves <palves@redhat.com>
8554
8555 * README (Parallel testing): New section.
8556 (GDB_PARALLEL): Rewrite.
8557 (FORCE_PARALLEL): Document.
8558
9f5fed78
MK
85592016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8560
8561 * gdb.trace/tfile-avx.c: New test.
8562 * gdb.trace/tfile-avx.exp: New test.
8563
9ef9e6a6
KS
85642016-02-09 Keith Seitz <keiths@redhat.com>
8565
8566 PR breakpoints/19546
8567 * gdb.base/infcall-exec.c: New file.
8568 * gdb.base/infcall-exec2.c: New file.
8569 * gdb.base/infcall-exec.exp: New file.
8570
a96e36da
KS
85712016-02-09 Keith Seitz <keiths@redhat.com>
8572
8573 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8574 (toplevel): Call test_bkpt_address.
8575
9f61929f
KS
85762016-02-09 Keith Seitz <keiths@redhat.com>
8577
8578 PR python/19506
8579 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8580 (toplevel): Call test_bkpt_address.
8581
1e94266c
SM
85822016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8583
8584 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8585 to AC_OUTPUT.
8586 * configure: Regenerate.
8587
2a7f3dff
PA
85882016-02-09 Pedro Alves <palves@redhat.com>
8589
8590 PR breakpoints/19548
8591 * gdb.base/execl-update-breakpoints.c (some_function): New
8592 function.
8593 (main): Call it.
8594 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8595 Tighten expected GDB output.
8596
2151ccc5
SM
85972016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8598
8599 * Makefile.in (ALL_SUBDIRS): Remove.
8600 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8601 (distclean maintainer-clean realclean): Likewise.
8602 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8603 * configure: Regenerate.
8604 * gdb.ada/Makefile.in: Delete.
8605 * gdb.arch/Makefile.in: Likewise.
8606 * gdb.asm/Makefile.in: Likewise.
8607 * gdb.base/Makefile.in: Likewise.
8608 * gdb.btrace/Makefile.in: Likewise.
8609 * gdb.cell/Makefile.in: Likewise.
8610 * gdb.compile/Makefile.in: Likewise.
8611 * gdb.cp/Makefile.in: Likewise.
8612 * gdb.disasm/Makefile.in: Likewise.
8613 * gdb.dlang/Makefile.in: Likewise.
8614 * gdb.dwarf2/Makefile.in: Likewise.
8615 * gdb.fortran/Makefile.in: Likewise.
8616 * gdb.gdb/Makefile.in: Likewise.
8617 * gdb.go/Makefile.in: Likewise.
8618 * gdb.guile/Makefile.in: Likewise.
8619 * gdb.java/Makefile.in: Likewise.
8620 * gdb.linespec/Makefile.in: Likewise.
8621 * gdb.mi/Makefile.in: Likewise.
8622 * gdb.modula2/Makefile.in: Likewise.
8623 * gdb.multi/Makefile.in: Likewise.
8624 * gdb.objc/Makefile.in: Likewise.
8625 * gdb.opencl/Makefile.in: Likewise.
8626 * gdb.opt/Makefile.in: Likewise.
8627 * gdb.pascal/Makefile.in: Likewise.
8628 * gdb.perf/Makefile.in: Likewise.
8629 * gdb.python/Makefile.in: Likewise.
8630 * gdb.reverse/Makefile.in: Likewise.
8631 * gdb.server/Makefile.in: Likewise.
8632 * gdb.stabs/Makefile.in: Likewise.
8633 * gdb.threads/Makefile.in: Likewise.
8634 * gdb.trace/Makefile.in: Likewise.
8635 * gdb.xml/Makefile.in: Likewise.
8636 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8637 GDB_PARALLEL.
8638 (standard_output_file): Remove check for GDB_PARALLEL, always
8639 return path in outputs/$subdir/$testname.
8640
437277d4
SM
86412016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8642
8643 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8644 (site.exp): Assign abs_srcdir to tcl's srcdir.
8645
31d913c7
YQ
86462016-02-04 Yao Qi <yao.qi@linaro.org>
8647
8648 * gdb.base/foll-exec-mode.c: Include limits.h.
8649 (main): Add parameters argc and argv. Get directory from
8650 argv[0].
8651 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8652 compilation.
8653 * gdb.base/foll-exec.c: Include limits.h.
8654 (main): Add parameters argc and argv.
8655 Get directory from argv[0].
8656 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8657 Adjust tests on the number of lines as source code changed.
8658 * gdb.base/foll-vfork-exit.c: Include limits.h.
8659 (main): Add one line of statement before vfork.
8660 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8661 (main): Add parameters argc and argv. Get directory from
8662 argv[0].
8663 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8664 (setup_gdb): Set tbreak to skip some source lines.
8665 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8666 (main): Add parameters argc and argv. Get directory from
8667 argv[0].
8668 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8669 compilation.
8670 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8671 (main): Add parameters argc and argv. Get directory from
8672 argv[0].
8673 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8674 compilation.
8675
9482b9fb
DE
86762016-02-01 Doug Evans <dje@google.com>
8677
8678 * gdb.base/skip.exp: Clean up multiple references to same test name.
8679
6b2e4f10
PA
86802016-02-01 Pedro Alves <palves@redhat.com>
8681
ccb6afd6 8682 PR remote/19496
6b2e4f10
PA
8683 * gdb.threads/forking-threads-plus-breakpoint.exp
8684 (displaced_stepping_supported): New global.
8685 (probe_displaced_stepping_support): New procedure.
8686 (do_test): Add 'displaced' parameter, and use it.
8687 (top level): Check for displaced stepping support. Add displaced
8688 stepping on/off testing axis.
8689
37a8db1a
AB
86902016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8691
8692 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8693 pointer. Don't perform further tests on the unassociated pointer
8694 if the first test fails.
8695
5fdf6324
AB
86962016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8697
8698 * gdb.base/max-value-size.c: New file.
8699 * gdb.base/max-value-size.exp: New file.
8700 * gdb.base/huge.exp: Disable max-value-size for this test.
8701
935c6144
IB
87022016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8703
8704 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8705
7fe8399d
YQ
87062016-01-28 Yao Qi <yao.qi@linaro.org>
8707
8708 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8709
a2077e25
PA
87102016-01-25 Pedro Alves <palves@redhat.com>
8711
8712 PR threads/19461
8713 * gdb.base/fork-running-state.c: New file.
8714 * gdb.base/fork-running-state.exp: New file.
8715
1d2736d4
PA
87162016-01-25 Pedro Alves <palves@redhat.com>
8717
8718 PR gdb/19494
8719 * gdb.base/catch-fork-kill.c: New file.
8720 * gdb.base/catch-fork-kill.exp: New file.
8721
f1da4b11
PA
87222016-01-25 Pedro Alves <palves@redhat.com>
8723
8724 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8725 Delete, moved to lib/gdb.exp.
8726 * gdb.threads/forking-threads-plus-breakpoint.exp
8727 (foreach_with_prefix): Likewise.
8728 * gdb.threads/process-dies-while-handling-bp.exp
8729 (foreach_with_prefix): Likewise.
8730 * lib/gdb.exp (foreach_with_prefix): New procedure.
8731
45f38546
MK
87322016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8733
8734 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8735 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8736
dc29a1ce
MK
87372016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8738
8739 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8740 endian targets.
8741
092127d7
JK
87422016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8743 Pedro Alves <palves@redhat.com>
8744
8745 Fix testsuite compatibility with Guile.
8746 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8747 number.
8748
31d765d3
JK
87492016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8750
8751 Fix testsuite compatibility with Guile.
8752 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8753 (thread 1): New test for backtrace through signal handler.
8754
1ac78c04
YQ
87552016-01-22 Yao Qi <yao.qi@linaro.org>
8756
8757 PR testsuite/19491
8758 * gdb.base/multi-forks.c: Include
8759 ../lib/unbuffer_output.c
8760 (main): Call gdb_unbuffer_output.
8761
4f5946a8
DE
87622016-01-21 Doug Evans <dje@google.com>
8763
8764 * lib/ada.exp (gdb_compile_ada): Fix typo.
8765
305e13e6
JB
87662016-01-21 Joel Brobecker <brobecker@adacore.com>
8767
8768 * gdb.base/break-fun-addr.exp: New file.
8769 * gdb.base/break-fun-addr1.c: New file.
8770 * gdb.base/break-fun-addr2.c: New file.
8771
5f5dfff6
SM
87722016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8773
8774 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8775 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8776 enum flag values.
8777
fd356fa2
AA
87782016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779
8780 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8781 when GDB can not set the vector return value. Add more comments
8782 for clarification.
8783
9df22175
AT
87842016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8785
8786 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8787 command.
8788
41d1845e
SM
87892016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8790
8791 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8792
01ac6840
SM
87932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8794
8795 * Makefile.in (check-single): Pass --status to runtest.
8796 (check/%.exp): Likewise.
8797
87982016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8799
8800 * Makefile.in (check-parallel): Propagate return code from make
8801 do-check-parallel.
8802
bd0a71fa
MK
88032016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8804
8805 * gdb.trace/ftrace.exp: Fix expected message on continue.
8806 * gdb.trace/pending.exp: Fix expected message on continue.
8807 * gdb.trace/trace-break.exp: Fix expected message on continue.
8808
8bcbad33
SM
88092016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8810
8811 * lib/gdb.exp (gdb_test): Remove unused global references.
8812
f303dbd6
PA
88132016-01-18 Pedro Alves <palves@redhat.com>
8814
8815 * gdb.base/async-shell.exp: Adjust expected output.
8816 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8817 * gdb.base/siginfo-thread.exp: Adjust expected output.
8818 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8819 * gdb.java/jnpe.exp: Adjust expected output.
8820 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8821 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8822 * gdb.threads/leader-exit.exp: Adjust expected output.
8823 * gdb.threads/manythreads.exp: Adjust expected output.
8824 * gdb.threads/pthreads.exp: Adjust expected output.
8825 * gdb.threads/schedlock.exp: Adjust expected output.
8826 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8827 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8828 expected output.
8829 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8830 output.
8831 * gdb.threads/sigthread.exp: Adjust expected output.
8832 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8833
b2789696
YQ
88342016-01-18 Yao Qi <yao.qi@linaro.org>
8835
8836 * gdb.guile/scm-section-script.c: Replace @progbits with
8837 %progbits.
8838 * gdb.python/py-section-script.c: Likewise.
8839
71ef29a8
PA
88402016-01-15 Pedro Alves <palves@redhat.com>
8841
8842 * gdb.multi/tids.exp: Test star wildcard ranges.
8843
3f5b7598
PA
88442016-01-15 Pedro Alves <palves@redhat.com>
8845
8846 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8847 command from "thread apply" invocation.
8848 (thr_apply_info_thr_invalid): Default the expected output to the
8849 input tid list.
8850 (top level): Add tests that use convenience variables. Add tests
8851 for "thread apply" with a valid TID list, but missing the command.
8852
663f6d42
PA
88532016-01-13 Pedro Alves <palves@redhat.com>
8854
8855 * gdb.base/default.exp: Expect $_gthread as well.
8856 * gdb.multi/tids.exp: Test $_gthread.
8857 * gdb.threads/thread-specific.exp: Test $_gthread.
8858
c84f6bbf
PA
88592016-01-13 Pedro Alves <palves@redhat.com>
8860
8861 * gdb.multi/tids.exp: Test "info threads -gid".
8862
22a02324
PA
88632016-01-13 Pedro Alves <palves@redhat.com>
8864
8865 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8866 Breakpoint.thread.
8867 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8868
5d5658a1
PA
88692016-01-07 Pedro Alves <palves@redhat.com>
8870
8871 * gdb.base/break.exp: Adjust to output changes.
8872 * gdb.base/hbreak2.exp: Likewise.
8873 * gdb.base/sepdebug.exp: Likewise.
8874 * gdb.base/watch_thread_num.exp: Likewise.
8875 * gdb.linespec/keywords.exp: Likewise.
8876 * gdb.multi/info-threads.exp: Likewise.
8877 * gdb.threads/thread-find.exp: Likewise.
8878 * gdb.multi/tids.c: New file.
8879 * gdb.multi/tids.exp: New file.
8880
84654457
PA
88812016-01-13 Pedro Alves <palves@redhat.com>
8882
8883 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8884
e3940304
PA
88852016-01-13 Pedro Alves <palves@redhat.com>
8886
8887 * gdb.base/default.exp: Expect $_inferior as well.
8888 * gdb.multi/base.exp: Test $_inferior.
8889
a911d87a
PA
88902016-01-13 Pedro Alves <palves@redhat.com>
8891
8892 PR breakpoints/19388
8893 * gdb.base/catch-signal-siginfo-cond.c: New file.
8894 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8895
82075af2
JS
88962016-01-12 Josh Stone <jistone@redhat.com>
8897 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8898
8899 * gdb.base/catch-syscall.c (do_execve): New variable.
8900 (main): Conditionally trigger an execve.
8901 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8902 (test_catch_syscall_execve): New, check entry/return across execve.
8903 (do_syscall_tests): Call test_catch_syscall_execve.
8904
e46eeedd
PA
89052016-01-12 Pedro Alves <palves@redhat.com>
8906
8907 * gdb.base/random-signal.exp (do_test): New procedure, with body
8908 of testcase moved in.
8909
01d8c27e
JK
89102016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8911 Pedro Alves <palves@redhat.com>
8912
8913 * gdb.base/funcargs.exp (finish from indirectly called function):
8914 Reintroduce the case for 'First'.
8915
9a706302
JK
89162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8917 Pedro Alves <palves@redhat.com>
8918
8919 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8920 (tcatch_vfork_then_child_follow_exec)
8921 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8922 identification.
8923
c0ecb95f
JK
89242016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8925
8926 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8927 and repeats to unlimited.
8928 * gdb.python/py-value.exp: Likewise.
8929 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8930 and repeats to unlimited.
8931
6cfc1fcb
JK
89322016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8933
8934 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8935 and reordering the functions.
8936 * gdb.multi/hangout.c: Likewise.
8937 * gdb.multi/hello.c: Likewise.
8938
582a1b00
SM
89392016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8940
8941 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8942 absolute.
8943 (SingleStatisticTestResult.report): Use dict.keys instead of
8944 dict.iterkeys.
8945
79bc59cb
PA
89462016-01-06 Pedro Alves <palves@redhat.com>
8947
8948 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8949
43368e1d
MM
89502016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8951
8952 * gdb.btrace/dlopen.exp: New.
8953 * gdb.btrace/dlopen.c: New.
8954 * gdb.btrace/dlopen-dso.c: New.
8955
79fad5b8
SL
89562015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8957
8958 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8959 PATTERN argument is optional.
8960
ab8314b3
JB
89612015-12-24 Joel Brobecker <brobecker@adacore.com>
8962
8963 * lib/ada.exp (target_compile_ada_from_dir): New function.
8964 (gdb_compile_ada): Reimplement avoiding the use of project files.
8965 * gdb.ada/gnat_ada.gpr: Delete.
8966 * gdb.ada/cond_lang.exp: Adjust test to make path before
8967 filename optional.
8968 * gdb.ada/small_reg_param.exp: Likewise.
8969
fe33faff
SM
89702015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8971
8972 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8973
6d265cb4
TP
89742015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8975
8976 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8977 case.
8978
10125099
SM
89792015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8980
8981 * gdb.base/break.exp: Remove dead code.
8982 * gdb.base/sepdebug.exp: Likewise.
8983
3ca22649
SM
89842015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8985
8986 * gdb.asm/asm-source.exp: Remove HP-UX references.
8987 * gdb.base/annota1.exp: Likewise.
8988 * gdb.base/annota3.exp: Likewise.
8989 * gdb.base/attach.exp: Likewise.
8990 * gdb.base/bigcore.exp: Likewise.
8991 * gdb.base/break.exp: Likewise.
8992 * gdb.base/call-ar-st.exp: Likewise.
8993 * gdb.base/callfuncs.exp: Likewise.
8994 * gdb.base/catch-fork-static.exp: Likewise.
8995 * gdb.base/display.exp: Likewise.
8996 * gdb.base/foll-exec-mode.exp: Likewise.
8997 * gdb.base/foll-exec.exp: Likewise.
8998 * gdb.base/foll-fork.exp: Likewise.
8999 * gdb.base/foll-vfork.exp: Likewise.
9000 * gdb.base/funcargs.exp: Likewise.
9001 * gdb.base/hbreak2.exp: Likewise.
9002 * gdb.base/inferior-died.exp: Likewise.
9003 * gdb.base/interrupt.exp: Likewise.
9004 * gdb.base/multi-forks.exp: Likewise.
9005 * gdb.base/nodebug.exp: Likewise.
9006 * gdb.base/sepdebug.exp: Likewise.
9007 * gdb.base/solib1.c: Likewise.
9008 * gdb.base/step-test.exp: Likewise.
9009 * gdb.mi/non-stop.c: Likewise.
9010 * gdb.mi/pthreads.c: Likewise.
9011 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9012 * gdb.threads/pthreads.c: Likewise.
9013 * gdb.threads/staticthreads.exp: Likewise.
9014 * lib/future.exp: Likewise.
9015 * lib/gdb.exp: Likewise.
9016 * gdb.base/so-indr-cl.c: Remove.
9017 * gdb.base/so-indr-cl.exp: Likewise.
9018 * gdb.base/solib.c: Likewise.
9019 * gdb.base/solib.exp: Likewise.
9020 * gdb.base/solib2.c: Likewise.
9021
b6304613
SM
90222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9023
9024 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9025 * gdb.base/call-ar-st.exp: Likewise.
9026 * gdb.base/callfuncs.exp: Likewise.
9027 * gdb.base/condbreak.exp: Likewise.
9028 * gdb.base/constvars.exp: Likewise.
9029 * gdb.base/hbreak2.exp: Likewise.
9030 * gdb.base/langs.exp: Likewise.
9031 * gdb.base/list.exp: Likewise.
9032 * gdb.base/long_long.exp: Likewise.
9033 * gdb.base/ptype.exp: Likewise.
9034 * gdb.base/scope.exp: Likewise.
9035 * gdb.base/signals.exp: Likewise.
9036 * gdb.base/so-impl-ld.exp: Likewise.
9037 * gdb.base/varargs.exp: Likewise.
9038 * gdb.base/volatile.exp: Likewise.
9039 * gdb.base/whatis.exp: Likewise.
9040 * gdb.cp/cplusfuncs.exp: Likewise.
9041 * gdb.cp/inherit.exp: Likewise.
9042 * gdb.cp/local.exp: Likewise.
9043 * gdb.cp/member-ptr.exp: Likewise.
9044 * gdb.cp/method.exp: Likewise.
9045 * gdb.cp/overload.exp: Likewise.
9046 * gdb.cp/templates.exp: Likewise.
9047 * gdb.stabs/weird.exp: Likewise.
9048 * lib/compiler.c: Likewise.
9049 * lib/compiler.cc: Likewise.
9050 * lib/cp-support.exp: Likewise.
9051 * lib/gdb.exp: Likewise.
9052
bf401b07
SM
90532015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9054
9055 * configure.ac: Remove HP-UX case.
9056 * configure: Regenerate.
9057
aff9c0f8
SM
90582015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9059
9060 * lib/gdb.exp (gdb_compile): Add function doc.
9061
a6904d5a
PA
90622015-12-17 Pedro Alves <palves@redhat.com>
9063
9064 PR threads/19354
9065 * gdb.multi/info-threads.exp: New file.
9066
a22279dd
YQ
90672015-12-15 Yao Qi <yao.qi@linaro.org>
9068
9069 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9070 is aarch64*-*-*.
9071
0588c796
SL
90722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9073
9074 * gdb.base/history-duplicates.exp: Skip if no readline support.
9075
5d978e17
SL
90762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9077
9078 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9079
7e763b86
SL
90802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9081
9082 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9083
87a3a92c
SL
90842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9085
9086 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9087 ctrl-C if nointerrupts target property is set.
9088 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9089 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9090 * gdb.base/paginate-bg-execution.exp: Likewise.
9091 * gdb.base/paginate-execution-startup.exp: Likewise.
9092 * gdb.base/random-signal.exp: Likewise.
9093 * gdb.base/range-stepping.exp: Likewise.
9094 * gdb.cp/annota2.exp: Likewise.
9095 * gdb.cp/annota3.exp: Likewise.
9096 * gdb.gdb/selftest.exp: Likewise.
9097 * gdb.threads/continue-pending-status.exp: Likewise.
9098 * gdb.threads/leader-exit.exp: Likewise.
9099 * gdb.threads/manythreads.exp: Likewise.
9100 * gdb.threads/pthreads.exp: Likewise.
9101 * gdb.threads/schedlock.exp: Likewise.
9102 * gdb.threads/sigthread.exp: Likewise.
9103
a8f077dc
DB
91042015-12-11 Don Breazeal <donb@codesourcery.com>
9105
9106 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9107 remote.
9108 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9109 * gdb.base/foll-exec.exp (main): Enable for target remote.
9110 * gdb.base/foll-fork.exp (main): Likewise.
9111 * gdb.base/foll-vfork.exp (main): Likewise.
9112 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9113 (proc continue_to_exit_bp_loc): Use clean_restart.
9114 * gdb.base/pie-execl.exp (main): Disable for target remote.
9115 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9116 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9117 * gdb.threads/execl.exp (main): Likewise.
9118 * gdb.threads/fork-child-threads.exp (main): Likewise.
9119 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9120 remote.
9121 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9122 remote.
9123 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9124 pid.tid style ptids, instead of just tid.
9125 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9126 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9127 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9128 ptids, instead of just tid.
9129
3b2464a8
AB
91302015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9131
9132 * gdb.base/list.exp (test_list_forward): Add end of file error
9133 test.
9134 (test_repeat_list_command): Add end of file error test.
9135 (test_list_backwards): Add beginning of file error test.
9136
a0def019
AB
91372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9138
9139 * gdb.base/list.exp (test_list_invalid_args): New function,
9140 defined, and called.
9141
5c000dff
AB
91422015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9143
9144 * gdb.base/list.exp (test_list): Make test names unique.
9145
f1637ebe
YQ
91462015-12-11 Yao Qi <yao.qi@linaro.org>
9147
9148 * gdb.base/coremaker2.c: Remove.
9149
36d6fc0a
PA
91502015-12-10 Pedro Alves <palves@redhat.com>
9151
9152 * gdb.multi/base.exp: Remove stale "spaces" references.
9153
762f7747
PA
91542015-12-10 Pedro Alves <palves@redhat.com>
9155
9156 * gdb.multi/base.exp: Don't use nowarnings.
9157 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9158 * gdb.multi/hangout.c: Include stdio.h.
9159 * gdb.multi/hello.c: Include stdlib.h.
9160 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9161 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9162 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9163
28d2bfb9
AB
91642015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9165
9166 * gdb.dwarf2/dw2-ranges-base.c: New file.
9167 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9168 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9169 support additional line table, and debug ranges generation.
9170 (Dwarf::ranges): New function, generate .debug_ranges.
9171 (Dwarf::lines): Support generating simple line table programs.
9172 (Dwarf::assemble): Initialise new namespace variables.
9173
5fc2beac
KB
91742015-12-09 Kevin Buettner <kevinb@redhat.com>
9175
9176 * gdb.base/async.exp (proc test_background): Add case for
9177 asynchronous execution not supported.
9178
1c35a88f
LM
91792015-12-09 Luis Machado <lgustavo@codesourcery.com>
9180
9181 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9182 format and change test names to make them unique.
9183
b593e3d9
RK
91842015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9185 Pedro Alves <pedro@redhat.com>
9186
9187 PR gdb/18702
9188 Add checking of floatformats setup on x86_64 hosts.
9189 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9190 (smallval, bigval): New labels/constants.
9191 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9192 float" after loading bigval and smallval.
9193
d72413e6
PMR
91942015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9195
9196 * gdb.ada/fun_overload_menu.exp: New testcase.
9197 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9198
ece66d65
JS
91992015-12-04 Josh Stone <jistone@redhat.com>
9200
9201 * gdb.base/catch-fork-static.exp: New.
9202
41d0efca
YQ
92032015-12-03 Yao Qi <yao.qi@linaro.org>
9204
9205 * gdb.base/sizeof.c: Don't include stdio.h and
9206 ../lib/unbuffer_output.c.
9207 (main): New variable 'size' and 'value'. Remove printf and
9208 gdb_unbuffer_output. Assign return value to size and value.
9209 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9210 at the beginning.
9211 (check_sizeof): Check the result by printing variable 'size'.
9212 (check_valueof): Check the result by printing variable 'value'.
9213
99fd02d9
YQ
92142015-12-01 Yao Qi <yao.qi@linaro.org>
9215
9216 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9217 for aarch64*-*-linux* target.
9218
f2faf941
PA
92192015-11-30 Pedro Alves <palves@redhat.com>
9220
9221 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9222
04bf20c5
PA
92232015-11-30 Pedro Alves <palves@redhat.com>
9224
9225 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9226 Handle non-stop mode vCont replies.
9227
09df4675
PA
92282015-11-30 Pedro Alves <palves@redhat.com>
9229
9230 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9231 prepare_for_testing. Start gdb with "set non-stop on" appended to
9232 GDBFLAGS. Lax expected stop output.
9233
58b584af
YQ
92342015-11-27 Yao Qi <yao.qi@linaro.org>
9235
9236 * gdb.arch/arm-neon.exp: New.
9237 * gdb.arch/arm-neon.c: New.
9238
dfcb77a8
YQ
92392015-11-27 Yao Qi <yao.qi@linaro.org>
9240
9241 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9242
88e8ec1b
YQ
92432015-11-27 Yao Qi <yao.qi@linaro.org>
9244
9245 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9246 frames-invalid annotation.
9247
bfde72c2
YQ
92482015-11-27 Yao Qi <yao.qi@linaro.org>
9249
9250 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9251
f6512a69
SM
92522015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9253
9254 * gdb.threads/names.exp: New file.
9255 * gdb.threads/names.c: New file.
9256 * README: Mention gdb,no_thread_names.
9257
46a3515b
MM
92582015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9259
9260 PR 19297
9261 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9262 support" error.
9263
62147a22
PA
92642015-11-24 Pedro Alves <palves@redhat.com>
9265
9266 PR 17539
9267 * gdb.base/display.exp: Expect displays to be sorted in ascending
9268 order. Use multi_line.
9269 * gdb.base/solib-display.exp: Likewise.
9270
2f341b6e
PA
92712015-11-24 Pedro Alves <palves@redhat.com>
9272
9273 PR 17539
25d49b86
PA
9274 * gdb.base/display.exp: Expect displays to be sorted in ascending
9275 order. Use multi_line.
9276 * gdb.base/solib-display.exp: Likewise.
2f341b6e 9277
7e0aa6aa
PA
92782015-11-24 Pedro Alves <palves@redhat.com>
9279
9280 PR 17539
9281 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9282 threads in ascending order.
9283 * gdb.base/foll-fork.exp: Likewise.
9284 * gdb.base/foll-vfork.exp: Likewise.
9285 * gdb.base/multi-forks.exp: Likewise.
9286 * gdb.mi/mi-nonstop.exp: Likewise.
9287 * gdb.mi/mi-nsintrall.exp: Likewise.
9288 * gdb.multi/base.exp: Likewise.
9289 * gdb.multi/multi-arch.exp: Likewise.
9290 * gdb.python/py-inferior.exp: Likewise.
9291 * gdb.threads/break-while-running.exp: Likewise.
9292 * gdb.threads/execl.exp: Likewise.
9293 * gdb.threads/gcore-thread.exp: Likewise.
9294 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9295 * gdb.threads/kill.exp: Likewise.
9296 * gdb.threads/linux-dp.exp: Likewise.
9297 * gdb.threads/multiple-step-overs.exp: Likewise.
9298 * gdb.threads/next-bp-other-thread.exp: Likewise.
9299 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9300 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9301 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9302 * gdb.threads/thread-find.exp: Likewise.
9303 * gdb.threads/tls.exp: Likewise.
9304 * lib/mi-support.exp (mi_reverse_list): Delete.
9305 (mi_check_thread_states): No longer reverse list.
9306
2cc57ad8
PA
93072015-11-24 Pedro Alves <palves@redhat.com>
9308
9309 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9310 use lowercase.
9311
c93e8391
SM
93122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9313
9314 * gdb.trace/actions.c: Include trace-common.h.
9315 (main): Add a location for a fast tracepoint.
9316 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9317 the normal tracepoints.
9318 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9319
045ccf91
SM
93202015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9321
9322 * save-trace.exp: Factor out code to these...
9323 (gdb_save_tracepoints): New.
9324 (gdb_load_tracepoints): New.
9325 (do_save_load_test): New.
9326
5506f9f6
KB
93272015-11-23 Kevin Buettner <kevinb@redhat.com>
9328
9329 * gdb.base/asmlabel.exp: New test.
9330 * gdb.base/asmlabel.c: New test case.
9331
16c3b12f
JB
93322015-11-23 Joel Brobecker <brobecker@adacore.com>
9333
9334 * gdb.base/wrong_frame_bt_full-main.c: New file.
9335 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9336 * gdb.base/wrong_frame_bt_full.exp: New file.
9337
155bfbd3
JB
93382015-11-23 Joel Brobecker <brobecker@adacore.com>
9339
9340 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9341
bb097445
JM
93422015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9343
206853a0 9344 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
9345 pstate register when comparing registers values in
9346 sparc64-*-linux-gnu targets to avoid spurious differences.
9347
9c88ed8f
JM
93482015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9349
206853a0 9350 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 9351
96161e25
SL
93522015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9353
9354 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9355 as type argument to gdb_compile.
9356 * gdb.base/nested-subp2.exp: Likewise.
9357 * gdb.base/nested-subp3.exp: Likewise.
9358
340c2830
DV
93592015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9360
9361 * lib/dwarf.exp (_note): Fix left shift of negative value.
9362 * gdb.trace/trace-condition.exp: Likewise.
9363
c1862d0f
YQ
93642015-11-13 Yao Qi <yao.qi@linaro.org>
9365
9366 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9367 comments about d10v.
9368 (test_scalar_returns): Likewise.
9369 * gdb.base/d10v.ld: Remove.
9370 * gdb.base/overlays.exp: Remove the target triplet checking for
9371 d10v-*-*.
9372 * gdb.base/structs.exp (test_struct_returns): Remove the
9373 comments about d10v.
9374 (test_struct_calls): Likewise.
9375
77ae9c19
YQ
93762015-11-13 Yao Qi <yao.qi@linaro.org>
9377
9378 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9379 * gdb.base/gnu_vector.c: Don't include stdio.h.
9380 (main): Don't print res and call add_some_intvecs.
9381
430e004e
MK
93822015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9383
9384 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9385 macro.
9386 (func5): Removed.
9387 (func4): Use FAST_TRACEPOINT_LABEL.
9388 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9389 macro.
9390 (func): Removed.
9391 (thread_function): Use FAST_TRACEPOINT_LABEL.
9392 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9393 (func): Remove.
9394 (marker): Use FAST_TRACEPOINT_LABEL.
9395 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9396 (pendfunc1): Remove.
9397 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9398 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9399 (foo): Remove.
9400 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9401 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9402 macro.
9403 (func): Remove.
9404 (marker): Use FAST_TRACEPOINT_LABEL.
9405 * gdb.trace/trace-common.h: New header.
9406 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9407 macro.
9408 (func): Remove.
9409 (marker): Use FAST_TRACEPOINT_LABEL.
9410 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9411 (func): Remove.
9412 (thread_function): Use FAST_TRACEPOINT_LABEL.
9413
6e7675a7
MK
94142015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9415
9416 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9417 in front.
9418 * gdb.trace/change-loc.exp: Use global pcreg definition.
9419 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9420 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9421 in front.
9422 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9423 * gdb.trace/pending.exp: Likewise.
9424 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9425 * gdb.trace/trace-break.exp: Likewise.
9426 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9427 in front.
9428 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9429 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9430 in front.
9431 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9432
dddc0e16
JB
94332015-11-09 Joel Brobecker <brobecker@adacore.com>
9434
9435 * gdb.ada/fin_fun_out: New testcase.
9436
c6f0b406
KB
94372015-11-07 Kevin Buettner <kevinb@redhat.com>
9438
9439 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9440 value associated with DW_AT_byte_size.
9441 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9442 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9443 DW_AT_upper_bound.
9444
f01dcfd9
KB
94452015-11-07 Kevin Buettner <kevinb@redhat.com>
9446
9447 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9448 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9449 version.
9450 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9451 gdb.dwarf2/dw2-canonicalize-type.exp,
9452 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9453 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9454 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9455 provided by gdb_target_symbol_prefix_flags_asm.
9456 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9457 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9458 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9459 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9460 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9461 macros where needed). Use this macro for symbols which require
9462 the prefix provided by SYMBOL_PREFIX.
9463
2223449a
KB
94642015-11-05 Kevin Buettner <kevinb@redhat.com>
9465
9466 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9467 New procs.
9468 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9469 representing expressions, of more than one list element.
9470 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9471 to prepend linker symbol prefix to f.
9472 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9473 table_1 and table_2.
9474 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9475 Likewise, for f and g.
9476 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9477 for ptr.
9478 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9479 for main.
9480 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9481 table_1_ptr and table_2_ptr.
9482
6f2f1a3a
JK
94832015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9484 Joel Brobecker <brobecker@adacore.com>
9485
9486 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9487
566c56c9
MK
94882015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9489
9490 * gdb.reverse/s390-mvcle.c: New test.
9491 * gdb.reverse/s390-mvcle.exp: New file.
9492 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9493
d5f0636b
MK
94942015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9495
9496 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9497
7ad8b86c
MK
94982015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9499
9500 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9501 reaching marker2.
9502 * gdb.reverse/getresuid-reverse.exp: Likewise.
9503 * gdb.reverse/pipe-reverse.exp: Likewise.
9504 * gdb.reverse/readv-reverse.exp: Likewise.
9505 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9506 * gdb.reverse/time-reverse.exp: Likewise.
9507 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9508
4081c0f1
YQ
95092015-10-30 Yao Qi <yao.qi@linaro.org>
9510
9511 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9512 (empty_cycle): Remove.
9513 (main): Don't call empty_cycle. Don't use watch_count_done.
9514 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9515 empty_cycle. Rewrite the code counting HW watchpoints.
9516
452b4ba5
MK
95172015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9518
9519 * gdb.reverse/fstatat-reverse.c: New test.
9520 * gdb.reverse/fstatat-reverse.exp: New file.
9521 * gdb.reverse/getresuid-reverse.c: New test.
9522 * gdb.reverse/getresuid-reverse.exp: New file.
9523 * gdb.reverse/pipe-reverse.c: New test.
9524 * gdb.reverse/pipe-reverse.exp: New file.
9525 * gdb.reverse/readv-reverse.c: New test.
9526 * gdb.reverse/readv-reverse.exp: New file.
9527 * gdb.reverse/recvmsg-reverse.c: New test.
9528 * gdb.reverse/recvmsg-reverse.exp: New file.
9529 * gdb.reverse/time-reverse.c: New test.
9530 * gdb.reverse/time-reverse.exp: New file.
9531 * gdb.reverse/waitpid-reverse.c: New test.
9532 * gdb.reverse/waitpid-reverse.exp: New file.
9533
5e2e7507
JK
95342015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9535
9536 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9537
0fde2c53
DE
95382015-10-26 Doug Evans <dje@google.com>
9539
9540 PR symtab/17391
9541 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9542 * gdb.dwarf2/bad-regnum.c: New file.
9543 * gdb.dwarf2/bad-regnum.exp: New file.
9544
1a70ae97
DE
95452015-10-26 Doug Evans <dje@google.com>
9546
9547 PR python/18938
9548 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9549 file.
9550
27dc26ab
JK
95512015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9552
9553 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9554 for a change by "Mention language in compile error message".
9555
bed91f4d
SM
95562015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9557
9558 PR python/18073
9559 * gdb.python/py-type.c (C::a_method): New.
9560 (C::a_const_method): New.
9561 (C::a_static_method): New.
9562 (a_function): New.
9563 * gdb.python/py-type.exp (test_fields): Test getting fields
9564 from function and method.
9565
3f2f83dd
KB
95662015-10-21 Keven Boell <keven.boell@intel.com>
9567
9568 * gdb.fortran/vla-alloc-assoc.exp: New file.
9569 * gdb.fortran/vla-datatypes.exp: New file.
9570 * gdb.fortran/vla-datatypes.f90: New file.
9571 * gdb.fortran/vla-history.exp: New file.
9572 * gdb.fortran/vla-ptype-sub.exp: New file.
9573 * gdb.fortran/vla-ptype.exp: New file.
9574 * gdb.fortran/vla-sizeof.exp: New file.
9575 * gdb.fortran/vla-sub.f90: New file.
9576 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9577 * gdb.fortran/vla-value-sub-finish.exp: New file.
9578 * gdb.fortran/vla-value-sub.exp: New file.
9579 * gdb.fortran/vla-value.exp: New file.
9580 * gdb.fortran/vla-ptr-info.exp: New file.
9581 * gdb.mi/mi-vla-fortran.exp: New file.
9582 * gdb.mi/vla.f90: New file.
9583
27145d50
SL
95842015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9585
9586 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9587 of hardwired timeout value.
9588
5f3ff4f8
JK
95892015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9590 Pedro Alves <palves@redhat.com>
9591
9592 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9593 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9594
bfd09d20
JS
95952015-10-19 Josh Stone <jistone@redhat.com>
9596
9597 * gdb.base/catch-syscall.c: Include <sched.h>.
9598 (unknown_syscall): New variable.
9599 (main): Trigger a vfork and an unknown syscall.
9600 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9601 (unknown_syscall_number): Likewise.
9602 (check_call_to_syscall): Accept an optional syscall pattern.
9603 (check_return_from_syscall): Likewise.
9604 (check_continue): Likewise.
9605 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9606 (test_catch_syscall_skipping_return): New test toggling off 'catch
9607 syscall' to step over the syscall return, then toggling back on.
9608 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9609 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9610 (do_syscall_tests): Call test_catch_syscall_without_args and
9611 test_catch_syscall_mid_vfork.
9612 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9613 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9614
b32b93c6
AS
96152015-10-19 Andrew Stubbs <ams@codesourcery.com>
9616
9617 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9618 print g_vE): Add new pass patterns.
9619 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9620 print various symbol names for vptr fields.
9621
9d622bda
AB
96222015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9623
9624 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9625 results.
9626
0fd8ac1c
YQ
96272015-10-12 Yao Qi <yao.qi@linaro.org>
9628
9629 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9630
34240514
YQ
96312015-10-12 Yao Qi <yao.qi@linaro.org>
9632
9633 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9634 is aarch64*-*-linux*.
9635
8240f442
YQ
96362015-10-12 Yao Qi <yao.qi@linaro.org>
9637
9638 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9639 (can_relocate_bcond_true): ... it.
9640 (can_relocate_bcond_false): New function.
9641 (foo): Likewise.
9642 (can_relocate_bl): Likewise.
9643 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9644 can_relocate_bl.
9645
2520f728
PMR
96462015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9647
9648 * gdb.base/nested-addr.c: New file.
9649 * gdb.base/nested-addr.exp: New testcase.
9650
abcef95a
MM
96512015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9652
9653 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9654 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9655 its output. Ignore the output of "record goto begin" and instead
9656 check that GDB is replaying.
9657
145e3ddb
PA
96582015-10-09 Pedro Alves <palves@redhat.com>
9659
9660 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9661 (top level): Use it in the run with no args test.
9662
d5d8c4e1
IB
96632015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9664
9665 * gdb.dlang/properties.exp: New file.
9666
06e635ef
SL
96672015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9668
9669 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9670 whether or not address 0x1000 is mapped on the target.
9671
e019fd1d
SM
96722015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9673
9674 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9675 build.
9676
77ba2a67
MM
96772015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9678
9679 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9680 instruction-history test.
9681
c60eb31f
DE
96822015-09-28 Doug Evans <dje@google.com>
9683
9684 * gdb.base/gcore.c (array_func): Add reference to static_array.
9685
9a3c8263
SM
96862015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9687
9688 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9689 source line.
9690
9720e656
SL
96912015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9692
9693 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9694 short or char as base type.
9695
938d3bf2
SL
96962015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9697
9698 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9699 to allow any size enum.
9700
e6c2c623
PMR
97012015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9702
9703 * gdb.ada/array_ptr_renaming.exp: New testcase.
9704 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9705 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9706
06da0f77
PL
97072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9708
9709 * gdb.trace/ftrace-lock.c: New file.
9710 * gdb.trace/ftrace-lock.exp: New file.
9711
4f51c22a
PL
97122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9713
9714 * gdb.arch/insn-reloc.c: New file.
9715 * gdb.arch/ftrace-insn-reloc.exp: New file.
9716
7041adf4
PL
97172015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9718
9719 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9720 instruction.
9721 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9722 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9723 * gdb.trace/range-stepping.c: Likewise.
9724 * gdb.trace/trace-break.c: Likewise.
9725 * gdb.trace/trace-mt.c (thread_function): Likewise.
9726 * gdb.trace/ftrace.c (marker): Likewise.
9727 * gdb.trace/trace-condition.c (marker): Likewise.
9728 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9729 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9730 is_aarch64_target.
9731
015d2e7e
DE
97322015-09-18 Doug Evans <xdje42@gmail.com>
9733
9734 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9735 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9736
26b188a2
SL
97372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9738
9739 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9740 the breakpoint.
9741
79dc332b
SL
97422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9743
9744 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9745 the pending breakpoint. Remove timeout override for "Run till
9746 MI pending breakpoint on pendfunc3 on thread 2" test.
9747
f57929f2
SL
97482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9749
9750 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9751 filename pattern.
9752
3f469b17
SL
97532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9754
9755 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9756 in breakpoint filename pattern.
9757
515b89b3
SL
97582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9759
7800dbe4
SL
9760 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9761
97622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9763
515b89b3
SL
9764 * gdb.linespec/explicit.exp: Check for readline support for
9765 tab-completion tests. Fix obvious typo.
9766
d2939ba2
MM
97672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9768
9769 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9770 and replay.
9771
cbb55fa7
MM
97722015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9773
9774 * gdb.btrace/non-stop.c: New.
9775 * gdb.btrace/non-stop.exp: New.
9776
43691ca1
PL
97772015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9778 Yao Qi <yao.qi@linaro.org>
9779
9780 * gdb.trace/trace-condition.c: New file.
9781 * gdb.trace/trace-condition.exp: New file.
9782
d78908cf
WW
97832015-09-16 Wei-cheng Wang <cole945@gmail.com>
9784
9785 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9786 for testing bytecode compilation.
9787
1ed415e2
PA
97882015-09-16 Pedro Alves <palves@redhat.com>
9789 Sandra Loosemore <sandra@codesourcery.com>
9790
9791 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9792 (SECONDS): Redefine.
9793 (main): Call pthread_kill and alarm early.
9794 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9795 support.
9796 (test): If the target can't hardware step and doesn't support
9797 displaced stepping, increase the timeout.
9798
d136eff5
PA
97992015-09-16 Pedro Alves <palves@redhat.com>
9800
9801 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9802 (enable_debug): New procedures.
9803 (test): Use them. Bail out if waiting for threads fails.
9804 (top level): Bail out if a test fails.
9805
991f019c
YQ
98062015-09-16 Yao Qi <yao.qi@linaro.org>
9807
9808 * gdb.asm/asm-source.exp: Set asm-arch for
9809 aarch64*-*-* target.
9810 * gdb.asm/aarch64.inc: New file.
9811
bfca584f
PMR
98122015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9813
9814 * gdb.ada/array_of_variable_length.exp: New testcase.
9815 * gdb.ada/array_of_variable_length/foo.adb: New file.
9816 * gdb.ada/array_of_variable_length/pck.adb: New file.
9817 * gdb.ada/array_of_variable_length/pck.ads: New file.
9818
b326e587
DE
98192015-09-15 Doug Evans <dje@google.com>
9820
9821 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9822 of function static local variable.
9823
5382cfab
PW
98242015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9825
9826 * gdb.threads/tls-so_extern.exp: New test file.
9827 * gdb.threads/tls-so_extern.c: New test file.
9828 * gdb.threads/tls-so_extern_main.c: New test file.
9829
141c5cc4
JK
98302015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9831
9832 * gdb.opt/solib-intra-step-lib.c: New file.
9833 * gdb.opt/solib-intra-step-main.c: New file.
9834 * gdb.opt/solib-intra-step.exp: New file.
9835
d15dcecd
PA
98362015-09-15 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9839 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9840
4c2f2a79
PA
98412015-09-14 Pedro Alves <palves@redhat.com>
9842
9843 * gdb.base/hook-stop-continue.c: Delete.
9844 * gdb.base/hook-stop-continue.exp: Delete.
9845 * gdb.base/hook-stop-frame.c: Delete.
9846 * gdb.base/hook-stop-frame.exp: Delete.
9847 * gdb.base/hook-stop.c: New file.
9848 * gdb.base/hook-stop.exp: New file.
9849
919e6dbe
PMR
98502015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9851
9852 * gdb.ada/access_to_packed_array.exp: New testcase.
9853 * gdb.ada/access_to_packed_array/foo.adb: New file.
9854 * gdb.ada/access_to_packed_array/pack.adb: New file.
9855 * gdb.ada/access_to_packed_array/pack.ads: New file.
9856
157280a4
MM
98572015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9858
9859 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9860 buffer size test.
9861
2fd33e94
DB
98622015-09-11 Don Breazeal <donb@codesourcery.com>
9863
9864 * gdb.base/foll-exec.c: Add copyright header. Fix
9865 formatting issues.
9866 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9867 (do_exec_tests): Use clean_restart in place of zap_session,
9868 and for test initialization. Fix formatting issues. Use
9869 fail in place of perror.
9870 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9871 an expect statement to match an expression with output from
9872 the program under debug.
9873 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9874 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9875 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9876 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9877 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9878
e70b6e8e
DE
98792015-09-09 Doug Evans <dje@google.com>
9880
9881 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9882
7a551a51
DE
98832015-09-09 Doug Evans <dje@google.com>
9884
9885 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9886
4c666f84
DE
98872015-09-09 Doug Evans <dje@google.com>
9888
9889 * gdb.base/savedregs.exp: Fix typo.
9890
243a9253
PA
98912015-09-09 Pedro Alves <palves@redhat.com>
9892
9893 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9894
c0fa8fbd
SL
98952015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9896
9897 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9898 command actually switches threads. Give up on remaining
9899 tests if target fails to stop at breakpoint.
9900
cd7c1778
PMR
99012015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9902
9903 * gdb.ada/funcall_char.exp: New testcase.
9904 * gdb.ada/funcall_char/foo.adb: New file.
9905
dc5c8746
PMR
99062015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9907
9908 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9909 expected outputs. Add two testcases for completing ambiguous
9910 functions.
9911 * gdb.ada/complete/aux_pck.adb: New file.
9912 * gdb.ada/complete/aux_pck.ads: New file.
9913 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9914 Ambiguous_Func functions.
9915 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9916 * gdb.ada/complete/pck.adb: Likewise.
9917
4e83a1e7
UW
99182015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9919
9920 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9921 failures to run the test program under GDB.
9922
8ce74153
LM
99232015-08-26 Luis Machado <lgustavo@codesourcery.com>
9924
9925 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9926 to C.
9927
e9756d52
PP
99282015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9929
9930 * gdb.base/run-after-attach.exp: New test file.
9931 * gdb.base/run-after-attach.c: New test file.
9932
8d37573b
DB
99332015-08-26 Don Breazeal <donb@codesourcery.com>
9934
9935 * gdb.base/foll-exec-2.c: New test program.
9936 * gdb.base/foll-exec-2.exp: New test.
9937
63e43d3a
PMR
99382015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9939
9940 * gdb.base/nested-subp1.exp: New file.
9941 * gdb.base/nested-subp1.c: New file.
9942 * gdb.base/nested-subp2.exp: New file.
9943 * gdb.base/nested-subp2.c: New file.
9944 * gdb.base/nested-subp3.exp: New file.
9945 * gdb.base/nested-subp3.c: New file.
9946
3d40fbb5
PA
99472015-08-24 Pedro Alves <palves@redhat.com>
9948
9949 * gdb.server/connect-without-multi-process.c: New file.
9950 * gdb.server/connect-without-multi-process.exp: New file.
9951
4422ac93
LM
99522015-08-24 Luis Machado <lgustavo@codesourcery.com>
9953
9954 * gdb.opt/inline-markers.c: Make z int.
9955
91dddb86
LM
99562015-08-24 Luis Machado <lgustavo@codesourcery.com>
9957
9958 * gdb.opt/inline-markers.c: Make z volatile.
9959
a48847ee
LM
99602015-08-24 Luis Machado <lgustavo@codesourcery.com>
9961
9962 * gdb.opt/inline-bt.c: New volatile global z.
9963 * gdb.opt/inline-cmds.c: Likewise.
9964 * gdb.opt/inline-locals.c: Likewise.
9965 * gdb.opt/inline-markers.c: New extern global z.
9966 (marker): Use z.
9967 (inline_fn): Likewise.
9968
0ebbc52b
PA
99692015-08-24 Pedro Alves <palves@redhat.com>
9970
9971 * config/m32r-stub.exp: Remove file.
9972 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9973 * gdb.base/call-rt-st.exp: Likewise.
9974 * gdb.base/call-strs.exp: Likewise.
9975 * gdb.base/default.exp: Remove references to h8300-*-hms and
9976 *-*-udi*.
9977 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9978
77c365df
AA
99792015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9980
9981 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9982 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9983 and "return" use KFAIL when GDB can not read/write the vector
9984 return value.
9985
4313b8c0
GB
99862015-08-21 Gary Benson <gbenson@redhat.com>
9987
9988 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9989
0e433b32
PA
99902015-08-20 Pedro Alves <palves@redhat.com>
9991
9992 * gdb.server/solib-list.exp: No longer expect an interior stop in
9993 non-stop mode.
9994
221e1a37
PA
99952015-08-20 Pedro Alves <palves@redhat.com>
9996
9997 * gdb.server/connect-stopped-target.c: New file.
9998 * gdb.server/connect-stopped-target.exp: New file.
9999
40e3ad0e
PA
100002015-08-20 Pedro Alves <palves@redhat.com>
10001
10002 * gdb.dwarf2/comp-unit-lang.exp: New file.
10003 * gdb.dwarf2/comp-unit-lang.c: New file.
10004
af39b327
PMR
100052015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10006
10007 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10008 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10009
7d45c7c3 100102015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 10011
7d45c7c3
KB
10012 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10013 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10014
4d6cceb4
DE
100152015-08-18 Doug Evans <dje@google.com>
10016 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10017
10018 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10019 skip_python_tests. New arg prompt_regexp.
10020 (skip_python_tests): New function.
10021 * lib/mi-support.exp (mi_skip_python_tests): New function.
10022 * gdb.python/py-mi-objfile-gdb.py: New file.
10023 * gdb.python/py-mi-objfile.c: New file.
10024 * gdb.python/py-mi-objfile.exp: New file.
10025
ad89c2aa
KS
100262015-08-17 Keith Seitz <keiths@redhat.com>
10027
10028 * gdb.linespec/explicit.exp: Move strace test from here ...
10029 * gdb.trace/strace.exp: ... to here.
10030
e3ae3c43
PP
100312015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10032
10033 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10034 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10035
604b2636
DE
100362015-08-14 Doug Evans <xdje42@gmail.com>
10037
10038 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10039 inferior before selecting a new file.
10040
6ff0ba5f
DE
100412015-08-14 Doug Evans <xdje42@gmail.com>
10042
10043 * gdb.mi/mi-disassemble.exp: Update.
10044 * gdb.base/disasm-optim.S: New file.
10045 * gdb.base/disasm-optim.c: New file.
10046 * gdb.base/disasm-optim.h: New file.
10047 * gdb.base/disasm-optim.exp: New file.
10048
9ca98f92
KS
100492015-08-14 Keith Seitz <keiths@redhat.com>
10050
10051 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10052 "evaluated-by".
10053
52bbc560
JB
100542015-08-13 Joel Brobecker <brobecker@adacore.com>
10055
10056 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10057
5d8c3ed3
PMR
100582015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10059
10060 * gdb.ada/fun_renaming.exp: New testcase.
10061 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10062 * gdb.ada/fun_renaming/pack.adb: New file.
10063 * gdb.ada/fun_renaming/pack.ads: New file.
10064
ea8812bc
KS
100652015-08-12 Keith Seitz <keiths@redhat.com>
10066
10067 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10068 gdb_get_line_number.
10069
4dafcdeb
JB
100702015-08-12 Joel Brobecker <brobecker@adacore.com>
10071
10072 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10073 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10074 gdb.base/dso2dso.exp: New files.
10075
5ba32597
SDJ
100762015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10077 Pedro Alves <palves@redhat.com>
10078 Keith Seitz <keiths@redhat.com>
10079
10080 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10081 GDBFLAGS.
10082
b6dafabf
PP
100832015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10084
10085 * gdb.base/gdbhistsize-history.exp
10086 (test_histsize_history_setting): Use save_vars.
10087 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10088 Use save_vars.
10089 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10090 * gdb.base/readline.exp: Use save_vars.
10091
abe8e607
PP
100922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10093
10094 * lib/gdb.exp (save_vars): New proc.
10095
629500fa
KS
100962015-08-11 Keith Seitz <keiths@redhat.com>
10097
10098 * gdb.base/help.exp: Update help_breakpoint_text.
10099
eb8c4e2e
KS
101002015-08-11 Keith Seitz <keiths@redhat.com>
10101
10102 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10103 (at toplevel): Call test_explicit_breakpoints.
10104 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10105 breakpoints.
10106 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10107 breakpoint conditions, "-cond".
10108
87f0e720
KS
101092015-08-11 Keith Seitz <keiths@redhat.com>
10110
10111 * gdb.linespec/3explicit.c: New file.
10112 * gdb.linespec/cpexplicit.cc: New file.
10113 * gdb.linespec/cpexplicit.exp: New file.
10114 * gdb.linespec/explicit.c: New file.
10115 * gdb.linespec/explicit.exp: New file.
10116 * gdb.linespec/explicit2.c: New file.
10117 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10118 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10119 before using in the matching pattern.
10120 Clarify that `prefix' is a regular expression.
10121
f00aae0f
KS
101222015-08-11 Keith Seitz <keiths@redhat.com>
10123
10124 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10125 test.
10126 Add tests for missing ",FMT" and ",".
10127
e27852be
DE
101282015-08-10 Doug Evans <dje@google.com>
10129 Keith Seitz <keiths@redhat.com>
10130
10131 PR gdb/17960
10132 * gdb.base/completion.exp: Add location completer tests.
10133
7f03bd92
PA
101342015-08-07 Pedro Alves <palves@redhat.com>
10135
10136 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10137 tests here.
10138 (top level): Run do_test with and without displaced stepping.
10139
3fc8eb30
PA
101402015-08-07 Pedro Alves <palves@redhat.com>
10141
10142 * gdb.base/valgrind-disp-step.c: New file.
10143 * gdb.base/valgrind-disp-step.exp: New file.
10144
d4569d7b
PA
101452015-08-07 Pedro Alves <palves@redhat.com>
10146
10147 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10148 Delete function.
10149 (main): Add alarm. Run an infinite loop instead of calling
10150 wait_threads.
10151 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10152 comment.
10153 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10154 Delete function.
10155 (main): Add alarm. Run an infinite loop instead of calling
10156 wait_threads.
10157 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10158 comment.
10159
e1316e60
PA
101602015-08-07 Pedro Alves <palves@redhat.com>
10161
10162 * gdb.base/checkpoint-ns.exp: New file.
10163 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10164 standard_testfile.
10165
da8c46d2
MM
101662015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10167
10168 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10169 * gdb.btrace/instruction_history.exp: Update.
10170 * gdb.btrace/tsx.exp: New.
10171 * gdb.btrace/tsx.c: New.
10172
de1c2c52
PA
101732015-08-06 Pedro Alves <palves@redhat.com>
10174
10175 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10176 increase timeout.
10177 * gdb.reverse/until-precsave.exp: Bump timeouts.
10178
782e0bf4
PA
101792015-08-06 Pedro Alves <palves@redhat.com>
10180
10181 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10182
83e97ed0
PA
101832015-08-06 Pedro Alves <palves@redhat.com>
10184
10185 PR gdb/18749
10186 * gdb.threads/process-dies-while-handling-bp.c: New file.
10187 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10188
863d01bd
PA
101892015-08-06 Pedro Alves <palves@redhat.com>
10190
10191 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10192 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10193
0a39bb32
PA
101942015-08-05 Pedro Alves <palves@redhat.com>
10195
10196 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10197 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10198
ee2d2b10
SL
101992015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10200
10201 * gdb.base/bp-permanent.exp: Report test as unsupported if
10202 the target cannot stop at the permanent breakpoint.
10203
4e1bdb00
DE
102042015-08-03 Doug Evans <dje@google.com>
10205
10206 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10207 10000.
10208
3d338901
DE
102092015-08-03 Doug Evans <dje@google.com>
10210
10211 * Makefile.in (workers/%.worker, build-perf): New rule.
10212 (GDB_PERFTEST_MODE): New variable.
10213 (check-perf): Use it.
10214 (clean): Clean up gdb.perf parallel build subdirs.
10215 * lib/build-piece.exp: New file.
10216 * lib/gdb.exp (make_gdb_parallel_path): New function
10217 (standard_output_file, standard_temp_file): Call it.
10218 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10219 of $GDB_PARALLEL.
10220 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10221
af061d3e
DE
102222015-08-03 Doug Evans <dje@google.com>
10223
8e1afc81 10224 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
10225 (LOG_FILE_NAME): New global.
10226 (TextReporter.__init__): Initialize self.txt_sum.
10227 (TextReporter.report): Add support for multiple data-points.
10228 Move report to perftest.sum, put raw data in perftest.log.
10229 (TextReporter.start): Open sum and log files.
10230 (TextReporter.end): Close sum and log files.
8e1afc81
DE
10231 * gdb.perf/lib/perftest/testresult.py
10232 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 10233
2c8c5d37
PA
102342015-07-31 Pedro Alves <palves@redhat.com>
10235
10236 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10237 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10238 kill_wait_spawned_process instead of explicit "kill -9".
10239 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10240 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10241 kill_wait_spawned_process.
10242 * gdb.base/attach-twice.exp: Likewise.
10243 * gdb.base/attach.exp: Likewise.
10244 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10245 gdb_test_multiple.
10246 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10247 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10248 kill_wait_spawned_process.
10249 * gdb.base/valgrind-infcall.exp: Likewise.
10250 * gdb.multi/multi-attach.exp: Likewise.
10251 * gdb.python/py-prompt.exp: Likewise.
10252 * gdb.python/py-sync-interp.exp: Likewise.
10253 * gdb.server/ext-attach.exp: Likewise.
10254 * gdb.threads/attach-into-signal.exp (corefunc): Use
10255 spawn_wait_for_attach, spawn_id_get_pid and
10256 kill_wait_spawned_process.
10257 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10258 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10259 spawn_id_get_pid and kill_wait_spawned_process.
10260 * gdb.threads/attach-stopped.exp (corefunc): Use
10261 spawn_wait_for_attach, spawn_id_get_pid and
10262 kill_wait_spawned_process.
10263 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10264 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10265 kill_wait_spawned_process instead of explicit "kill -9".
10266 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10267 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10268 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10269 processes. Don't map cygwin/windows pids here. Now returns a
10270 spawn id list.
10271
032a0fca
SL
102722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10273
10274 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10275 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10276 correct patch.
10277
61a934ca
SL
102782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10279
10280 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10281
4bc4d428
SL
102822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10283
10284 Reapply:
10285 2014-05-21 Mark Wielaard <mjw@redhat.com>
10286
10287 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10288
998d452a
PA
102892015-07-30 Pedro Alves <palves@redhat.com>
10290
10291 * linux-low.c (handle_extended_wait): Set the child's last
10292 reported status to TARGET_WAITKIND_STOPPED.
10293
69dde7dc
PA
102942015-07-30 Pedro Alves <palves@redhat.com>
10295
10296 PR threads/18600
10297 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10298 only shows inferior 1.
10299
4dd63d48
PA
103002015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10301 Pedro Alves <palves@redhat.com>
10302
10303 PR threads/18600
10304 * gdb.threads/fork-plus-threads.c: New file.
10305 * gdb.threads/fork-plus-threads.exp: New file.
10306
d618e4c5
PP
103072015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10308
10309 * gdb.base/batch-preserve-term-settings.exp
10310 (test_terminal_settings_preserved_after_cli_exit): Use
10311 send_quit_command.
10312
1eef6428
PA
103132015-07-29 Pedro Alves <palves@redhat.com>
10314 Don Breazeal <donb@codesourcery.com>
10315
10316 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10317 output from both inferior_spawn_id and gdb_spawn_id.
10318
7da5b897
SDJ
103192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10320
10321 * gdb.threads/attach-into-signal.exp (corefunc): Use
10322 with_test_prefix on nested loops, uniquefying the test messages.
10323
dac804df
SDJ
103242015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10325
10326 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10327 commit.
10328
06265e53
PP
103292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10330
10331 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10332 New proc.
10333 (test_terminal_settings_preserved_after_sigterm): New test.
10334
18206ca3
PP
103352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10336
10337 * gdb.base/batch-preserve-term-settings.exp
10338 (test_terminal_settings_preserved_after_cli_exit): New test.
10339
90074d11
PP
103402015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10341
10342 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10343 manipulation of saved_gdbflags.
10344 (test_terminal_settings_preserved): Remove global declaration of
10345 the unused variable pagination_prompt. Remove manipulation of
10346 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10347 GDBFLAGS.
10348
eb1a7902
PA
103492015-07-29 Pedro Alves <palves@redhat.com>
10350
10351 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10352
8b75dd3b
PA
103532015-07-29 Pedro Alves <palves@redhat.com>
10354
10355 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10356 at the top.
10357
dedad4e3
PA
103582015-07-29 Pedro Alves <palves@redhat.com>
10359
10360 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10361 (main): Call gdb_unbuffer_output.
10362 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10363 (main): Call gdb_unbuffer_output.
10364 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10365 (main): Call gdb_unbuffer_output.
10366 * gdb.base/call-strs.exp: Adjust to step over the
10367 gdb_unbuffer_output call.
10368 * gdb.base/catch-gdb-caused-signals.c: Include
10369 "../lib/unbuffer_output.c".
10370 (main): Call gdb_unbuffer_output.
10371 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10372 (main): Call gdb_unbuffer_output.
10373 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10374 (main): Call gdb_unbuffer_output.
10375 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10376 (main): Call gdb_unbuffer_output.
10377 * gdb.base/shlib-call.exp: Adjust to step over the
10378 gdb_unbuffer_output call.
10379 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10380 (main): Call gdb_unbuffer_output.
10381 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10382 (main): Call gdb_unbuffer_output.
10383 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10384 (main): Rename to ...
10385 (test): ... this.
10386 (main): Reimplement.
10387 * gdb.base/varargs.exp: Run to test instead of to main.
10388 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10389 (main): Call gdb_unbuffer_output.
10390
58789a91
PA
103912015-07-29 Pedro Alves <palves@redhat.com>
10392
10393 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10394 factore out from mi_continue_dprintf. For call-style dprintfs,
10395 expect dprintf output out of $inferior_spawn_id.
10396 (mi_continue_dprintf): Use mi_expect_dprintf.
10397 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10398 (main): Call gdb_unbuffer_output.
10399
e8376742
PA
104002015-07-29 Pedro Alves <palves@redhat.com>
10401
10402 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10403 (default_mi_gdb_start): Set inferior_spawn_id instead of
10404 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10405 gdb_spawn_id.
10406 (mi_gdb_test): Always expect inferior output from both
10407 $inferior_spawn_id and $gdb_spawn_id.
10408
08280010
PA
104092015-07-29 Pedro Alves <palves@redhat.com>
10410
10411 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10412 send_inferior and $inferior_spawn_id.
10413
4d30e432
PA
104142015-07-29 Pedro Alves <palves@redhat.com>
10415
10416 * gdb.gdb/complaints.exp (test_initial_complaints)
10417 (test_serial_complaints, test_short_complaints): Use
10418 gdb_test_stdio.
10419 (test_empty_complaint): Handle $inferior_spawn_id !=
10420 $gdb_spawn_id.
10421
0d30a335
PA
104222015-07-29 Pedro Alves <palves@redhat.com>
10423
10424 * gdb.base/varargs.exp: Use gdb_test_stdio.
10425
39413b29
PA
104262015-07-29 Pedro Alves <palves@redhat.com>
10427
10428 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10429
7cb000a9
PA
104302015-07-29 Pedro Alves <palves@redhat.com>
10431
10432 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10433
d7b8ac82
PA
104342015-07-29 Pedro Alves <palves@redhat.com>
10435
10436 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10437 parameter into two new parameters, "inf_result" and "gdb_result".
10438 Expect inferior output and gdb output from $inferior_spawn_id and
10439 $gdb_spawn_id, respectively. Adjust all callers.
10440
789c3a0c
PA
104412015-07-29 Pedro Alves <palves@redhat.com>
10442
10443 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10444 of gdb_test_sequence.
10445
77e760c3
PA
104462015-07-29 Pedro Alves <palves@redhat.com>
10447
10448 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10449 (saw_spurious_output): Expect inferior output from
10450 $inferior_spawn_id. Use gdb_test_stdio.
10451
8396d2cd
PA
104522015-07-29 Pedro Alves <palves@redhat.com>
10453
10454 * gdb.base/dprintf.exp: Use standard_testfile. Change
10455 prepare_for_testing call.
10456 (srcfile): Don't set.
10457 (restart): New procedure.
10458 (test_dprintf): New procecure, use to continue over dprintfs.
10459 (test_call, test_agent): New procedures, tests moved here.
10460 Restart gdb and recreate dprintfs. Adjust expected output.
10461
2051d61f
PA
104622015-07-29 Pedro Alves <palves@redhat.com>
10463
10464 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10465
452397af
PA
104662015-07-29 Pedro Alves <palves@redhat.com>
10467
10468 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10469
8aed9555
PA
104702015-07-29 Pedro Alves <palves@redhat.com>
10471
10472 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10473 gdb_test_stdio.
10474
188a61b4
PA
104752015-07-29 Pedro Alves <palves@redhat.com>
10476
10477 * lib/gdb.exp (gdb_test_stdio): New procedure.
10478
12264a45
PA
104792015-07-29 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10482
23ffc893
PA
104832015-07-29 Pedro Alves <palves@redhat.com>
10484
10485 * gdb.base/call-signal-resume.exp: Remove check for
10486 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10487 * gdb.base/unwindonsignal.exp: Likewise.
10488 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10489 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10490
65566918
PA
104912015-07-29 Pedro Alves <palves@redhat.com>
10492
10493 * gdb.base/siginfo-addr.c (pass): New function.
10494 (handler): Call it iff si_addr is correct.
10495 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10496 Set a breakpoint at "pass" and continue to it.
10497
d60a9221
SDJ
104982015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10499
10500 * gdb.python/py-objfile.exp: Make some tests have unique names.
10501 * gdb.python/py-pp-registration.exp: Likewise.
10502
bde40b8f
PA
105032015-07-28 Pedro Alves <palves@redhat.com>
10504
10505 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10506
13e1dec8
SM
105072015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10508
10509 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10510
da33c9a7
SM
105112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10512
10513 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10514
077836f7
PP
105152015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10516
10517 * gdb.base/gdb-sigterm-2.exp: New test.
10518
b8cc7b2e
DE
105192015-07-25 Doug Evans <xdje42@gmail.com>
10520
10521 Revert:
10522 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10523 (workers/%.worker, build-perf): New rule.
10524 (GDB_PERFTEST_MODE): New variable.
10525 (check-perf): Use it.
10526 (clean): Clean up gdb.perf parallel build subdirs.
10527 * lib/build-piece.exp: New file.
10528 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10529 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10530 name.
10531 (standard_temp_file): Ditto.
10532 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10533 of $GDB_PARALLEL.
10534
c8bd4544
DE
105352015-07-24 Doug Evans <dje@google.com>
10536
10537 * gdb.perf/lib/perftest/utils.py: New file.
10538 * gdb.perf/gm-hello.cc: New file.
10539 * gdb.perf/gm-pervasive-typedef.cc: New file.
10540 * gdb.perf/gm-pervasive-typedef.h: New file.
10541 * gdb.perf/gm-std.cc: New file.
10542 * gdb.perf/gm-std.h: New file.
10543 * gdb.perf/gm-use-cerr.cc: New file.
10544 * gdb.perf/gm-utils.h: New file.
10545 * gdb.perf/gmonster-null-lookup.py: New file.
10546 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10547 * gdb.perf/gmonster-print-cerr.py: New file.
10548 * gdb.perf/gmonster-ptype-string.py: New file.
10549 * gdb.perf/gmonster-runto-main.py: New file.
10550 * gdb.perf/gmonster-select-file.py: New file.
10551 * gdb.perf/gmonster1-null-lookup.exp: New file.
10552 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10553 * gdb.perf/gmonster1-print-cerr.exp: New file.
10554 * gdb.perf/gmonster1-ptype-string.exp: New file.
10555 * gdb.perf/gmonster1-runto-main.exp: New file.
10556 * gdb.perf/gmonster1-select-file.exp: New file.
10557 * gdb.perf/gmonster1.cc: New file.
10558 * gdb.perf/gmonster1.exp: New file.
10559 * gdb.perf/gmonster2-null-lookup.exp: New file.
10560 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10561 * gdb.perf/gmonster2-print-cerr.exp: New file.
10562 * gdb.perf/gmonster2-ptype-string.exp: New file.
10563 * gdb.perf/gmonster2-runto-main.exp: New file.
10564 * gdb.perf/gmonster2-select-file.exp: New file.
10565 * gdb.perf/gmonster2.cc: New file.
10566 * gdb.perf/gmonster2.exp: New file.
10567
6eab34f3
DE
105682015-07-24 Doug Evans <dje@google.com>
10569
10570 * gdb.perf/README: New file.
10571 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10572 * lib/gen-perf-test.exp: New file.
10573
63738bfd
DE
105742015-07-24 Doug Evans <dje@google.com>
10575
10576 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10577 (PerfTest::startup): New function.
10578 (PerfTest::run): Return result of calling body.
10579 (PerfTest::assemble): Rewrite.
10580 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10581 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10582 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10583 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10584 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10585
7b606f95
DE
105862015-07-24 Doug Evans <dje@google.com>
10587
10588 * lib/gdb.exp (clean_restart): Make executable optional.
10589
a97b16b8
DE
105902015-07-24 Doug Evans <dje@google.com>
10591
10592 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10593 compiler_info references.
10594 * gdb.cp/temargs.exp: Ditto.
10595 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10596 (get_compiler_info): Early exit if already computed. Set compiler_info
10597 to "unknown" if there was a problem.
10598 (test_compiler_info): Add function comment. Call get_compiler_info.
10599
35baa57f
DE
106002015-07-24 Doug Evans <dje@google.com>
10601
10602 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10603 (workers/%.worker, build-perf): New rule.
10604 (GDB_PERFTEST_MODE): New variable.
10605 (check-perf): Use it.
10606 (clean): Clean up gdb.perf parallel build subdirs.
10607 * lib/build-piece.exp: New file.
10608 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10609 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10610 name.
10611 (standard_temp_file): Ditto.
10612 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10613 of $GDB_PARALLEL.
10614
6ebea266
DE
106152015-07-24 Doug Evans <dje@google.com>
10616
10617 * lib/future.exp (gdb_default_target_compile): New option
10618 "early_flags".
10619 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10620 --as-needed.
10621
1e76a7e9
SDJ
106222015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10623
10624 * gdb.base/catch-syscall.exp: Call gdb_exit before
10625 gdb_skip_xml_test.
10626
5068630a
PA
106272015-07-24 Pedro Alves <palves@redhat.com>
10628
10629 * gdb.python/py-events.exp: Accept output between the stop event
10630 and the prompt.
10631 * gdb.python/py-evsignal.exp: Likewise.
10632 * gdb.python/py-evthreads.exp: Likewise.
10633
77598427
PA
106342015-07-24 Pedro Alves <palves@redhat.com>
10635
10636 PR gdb/18717
10637 * gdb.threads/non-ldr-exit.c: New file.
10638 * gdb.threads/non-ldr-exit.exp: New file.
10639
11e6c98f
YQ
106402015-07-24 Yao Qi <yao.qi@linaro.org>
10641
10642 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10643 restarting process.
10644
51aee833
YQ
106452015-07-24 Yao Qi <yao.qi@linaro.org>
10646
10647 * gdb.server/ext-restart.exp: New file.
10648
8cfe207c
YQ
106492015-07-24 Yao Qi <yao.qi@linaro.org>
10650
10651 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10652 argument options.
10653 * gdb.server/ext-wrapper.exp: New file.
10654
cc12ce38
DE
106552015-07-23 Doug Evans <dje@google.com>
10656
10657 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10658 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10659
d0d84780
PMR
106602015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10661
10662 * gdb.ada/var_arr_typedef.exp: New testcase.
10663 * gdb.ada/var_arr_typedef/pack.adb: New file.
10664 * gdb.ada/var_arr_typedef/pack.ads: New file.
10665 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10666
8b558f79
JB
106672015-07-20 Joel Brobecker <brobecker@adacore.com>
10668
10669 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10670
775a3298
JK
106712015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10672
10673 * gdb.arch/i386-biarch-core.exp: Replace istarget
10674 by "complete set gnutarget". Remove expectation for the "core-file"
10675 command.
10676
db1ff28b
JK
106772015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10678
10679 Revert the previous commit:
10680 Tests for validate symbol file using build-id.
10681
0a94970d
JK
106822015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10683
10684 Tests for validate symbol file using build-id.
10685 * gdb.base/solib-mismatch-lib.c: New file.
10686 * gdb.base/solib-mismatch-libmod.c: New file.
10687 * gdb.base/solib-mismatch.c: New file.
10688 * gdb.base/solib-mismatch.exp: New file.
10689
03346981
SL
106902015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10691
10692 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10693 nios2-*-linux*.
10694 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10695 * gdb.base/siginfo.exp: Likewise.
10696 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10697
42422cc7
PL
106982015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10699
10700 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10701 Move it to ...
10702 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10703 ... here.
10704 * gdb.trace/range-stepping.exp: Check that the target supports
10705 range stepping.
10706
cfa68bae
JK
107072015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10708
10709 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10710
8ffdba26
PA
107112015-07-14 Pedro Alves <palves@redhat.com>
10712
10713 * gdb.base/killed-outside.exp: New file.
10714 * gdb.base/killed-outside.c: New file.
10715
218a5a11
JK
107162015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10717
10718 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10719 (n at main): New.
10720 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10721
e03ed3c6
AA
107222015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10723
10724 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10725 infcall tests instead of setting up for KFAIL.
10726
485668e5
MM
107272015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10728
10729 * gdb.btrace/record_goto-step.exp: New.
10730
08464196
JK
107312015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10732
10733 PR compile/18484
10734 * gdb.compile/compile.c (struct struct_type): Add volatile to
10735 selffield's type.
10736 * gdb.compile/compile.exp
10737 (compile code struct_object.selffield = &struct_object): Skip further
10738 struct_object tests if this one xfails.
10739
bcf5c1d9
RC
107402015-07-08 Robert O'Callahan <robert@ocallahan.org>
10741
10742 PR exp/18617
10743 * gdb.trace/ax.exp: Add test.
10744
4931af25
YQ
107452015-07-07 Yao Qi <yao.qi@linaro.org>
10746
10747 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10748 instead of istarget "aarch64*-*-*".
10749 * gdb.arch/aarch64-fp.exp: Likewise.
10750 * gdb.base/float.exp: Likewise.
10751 * gdb.reverse/aarch64.exp: Likewise.
10752 * lib/gdb.exp (is_aarch64_target): New proc.
10753
9fcf688e
YQ
107542015-07-07 Yao Qi <yao.qi@linaro.org>
10755
10756 * lib/gdb.exp (is_aarch32_target): New proc.
10757 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10758 instead of "istarget "arm*-*-*"".
10759 * gdb.arch/arm-disp-step.exp: Likewise.
10760 * gdb.arch/thumb-bx-pc.exp: Likewise.
10761 * gdb.arch/thumb-prologue.exp: Likewise.
10762 * gdb.arch/thumb-singlestep.exp: Likewise.
10763 * gdb.base/disp-step-syscall.exp: Likewise.
10764 * gdb.base/float.exp: Likewise.
10765
fbd8d50d
YQ
107662015-07-07 Yao Qi <yao.qi@linaro.org>
10767
10768 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10769 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10770
71be1fdc
YQ
107712015-07-07 Yao Qi <yao.qi@linaro.org>
10772
10773 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10774 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10775 if it exists.
10776 * gdb.multi/multi-arch.exp: Likewise.
10777
3e221d36
SM
107782015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10779
10780 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10781 print.
10782
d441430b
YQ
107832015-07-07 Yao Qi <yao.qi@linaro.org>
10784
10785 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10786
06f810bd
MG
107872015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10788
10789 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10790 '[' and ']' characters.
10791
5e61e7c0
IB
107922015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10793
10794 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10795
28bf096c
PA
107962015-06-29 Pedro Alves <palves@redhat.com>
10797
10798 PR threads/18127
10799 * gdb.threads/hand-call-new-thread.c: New file.
10800 * gdb.threads/hand-call-new-thread.c: New file.
10801
ee93cd5e
KS
108022015-06-26 Keith Seitz <keiths@redhat.com>
10803 Doug Evans <dje@google.com>
10804
10805 PR 16253
10806 * gdb.cp/var-tag-2.cc: New file.
10807 * gdb.cp/var-tag-3.cc: New file.
10808 * gdb.cp/var-tag-4.cc: New file.
10809 * gdb.cp/var-tag.cc: New file.
10810 * gdb.cp/var-tag.exp: New file.
10811
fc637f04
PP
108122015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10813
10814 * gdb.base/history-duplicates.exp: New test.
10815
2e52ae68
PP
108162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10817
10818 * gdb.base/completion.exp: Test the completion of the "focus"
10819 command.
10820
6e22494e
JK
108212015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10822
10823 * gdb.arch/amd64-prologue-skip.S: New file.
10824 * gdb.arch/amd64-prologue-skip.exp: New file.
10825
bf7b9cd9
SM
108262015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10827
10828 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10829 is_address_zero_readable check.
10830
201e8dfd
PB
108312015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10832
10833 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10834 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10835
5cd867b4
YQ
108362015-06-24 Yao Qi <yao.qi@linaro.org>
10837
10838 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10839 linux targets.
10840
4d7be007
YQ
108412015-06-24 Yao Qi <yao.qi@linaro.org>
10842
10843 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10844 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10845 * gdb.base/siginfo-thread.exp: Likewise.
10846
07fcd301
YQ
108472015-06-22 Yao Qi <yao.qi@linaro.org>
10848
10849 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10850
52042a00
YQ
108512015-06-22 Yao Qi <yao.qi@linaro.org>
10852
10853 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10854 aarch64*-*-*.
10855 (skip_hw_watchpoint_tests): Likewise.
10856
74bd41ce
PP
108572015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10858
10859 * gdb.base/gdbinit-history.exp: Test the interaction between
10860 setting GDBHISTSIZE and setting the history size via .gdbinit.
10861
bc460514
PP
108622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10863
10864 PR gdb/16999
10865 * gdb.base/gdbhistsize-history.exp: New test.
10866
b58c513b
PP
108672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10868
10869 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10870 with GDBHISTSIZE.
10871 * gdb.base/readline.exp: Likewise.
10872
92046791
YQ
108732015-06-17 Yao Qi <yao.qi@linaro.org>
10874
10875 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10876 line.
10877
2093d2d3
PP
108782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10879
10880 * gdb.base/gdbinit-history.exp: Add test case to check that
10881 an unlimited history file does not get truncated on exit.
10882
e6c693af
AA
108832015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10884
10885 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10886 (VECTOR): New macro. Use it...
10887 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10888 ...for these typedefs.
10889 (int8, char1, int1, double1): New typedefs.
10890 (struct just_int2, struct two_int2): New structures.
10891 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10892 (add_structvecs, add_singlevecs): New functions.
10893 (main): Call add_some_intvecs twice.
10894 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10895 the compile and exit upon failure. Try compiling for the "native"
10896 architecture. Test inferior function calls with vector arguments
10897 and vector return value handling with "finish" and "return".
10898
c74f7d1c
JT
108992015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10900
10901 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10902 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10903 PE file.
10904 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10905
98aa42ee
AT
109062015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10907
10908 PR breakpoints/16465
10909 * gdb.mi/mi-dprintf-pending.c: New file.
10910 * gdb.mi/mi-dprintf-pending.exp: New test.
10911 * gdb.mi/mi-dprintf-pendshr.c: New file.
10912
7d73c23c 109132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 10914 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
10915
10916 * gdb.arch/i386-mpx-map.c: New file.
10917 * gdb.arch/i386-mpx-map.exp: New File.
10918
109192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10920
10921 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10922 * gdb.arch/i386-mpx.exp: Indentation fixed.
10923
109242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10925
10926 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10927 function and improved indentation.
10928 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10929 gdb_test_multiple. Added additional tests to skip the test.
10930
109312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10932
10933 * gdb.arch/i386-avx512.c: Change path in include file.
10934 * gdb.arch/i386-avx512.exp: Change include dir path
10935 compilation flag.
10936 * gdb.arch/i386-mpx.c: Change path in include file.
10937 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10938 flag.
10939
d5eba19a
JK
109402015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10941
10942 * gdb.compile/compile-print.exp (compile print *vararray@3)
10943 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10944
7f361056
JK
109452015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10946
10947 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10948 (do not keep jit in memory): ... this.
10949 (expect 5): Change it to ...
10950 (expect no 5): ... this.
10951
3b462ec2
SM
109522015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10953
10954 PR gdb/15564
10955 * gdb.mi/mi-detach.exp: New file.
10956
e0619de6
JK
109572015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10958
10959 PR symtab/18392
10960 * gdb.arch/amd64-tailcall-self.S: New file.
10961 * gdb.arch/amd64-tailcall-self.c: New file.
10962 * gdb.arch/amd64-tailcall-self.exp: New file.
10963
e970cb34
DB
109642015-05-28 Don Breazeal <donb@codesourcery.com>
10965
10966 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10967 tests for remote targets by checking is_target_gdbserver.
10968
b2e2f908
DE
109692015-05-27 Doug Evans <dje@google.com>
10970
10971 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10972 * gdb.dwarf2/opaque-type-lookup.c: New file.
10973 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10974
82c7be31
DE
109752015-05-26 Doug Evans <dje@google.com>
10976
10977 * gdb.cp/iostream.cc: New file.
10978 * gdb.cp/iostream.exp: New file.
10979
b4f54984
DE
109802015-05-26 Doug Evans <dje@google.com>
10981
10982 * gdb.dwarf2/dw2-op-call.exp: Update.
10983 * gdb.dwarf2/dw4-sig-types.exp: Update.
10984 * gdb.dwarf2/implptr.exp: Update.
10985 * gdb.mi/mi-cmd-param-changed.exp: Update.
10986
4ea6efe9
DE
109872015-05-26 Doug Evans <dje@google.com>
10988
10989 * gdb.python/py-lazy-string.c: New file.
10990 * gdb.python/py-lazy-string.exp: New file.
10991 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10992 (main): Update. Add estring3.
10993 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10994 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10995
f6bb7db3
YQ
109962015-05-26 Omair Javaid <omair.javaid@linaro.org>
10997 Yao Qi <yao.qi@linaro.org>
10998
10999 * gdb.reverse/aarch64.c: New.
11000 * gdb.reverse/aarch64.exp: New.
11001
a81bfbd0
OJ
110022015-05-26 Omair Javaid <omair.javaid@linaro.org>
11003
25d49b86
PA
11004 * lib/gdb.exp (supports_process_record): Return true for
11005 aarch64*-linux*.
a81bfbd0
OJ
11006 (supports_reverse): Likewise.
11007
158bf1b4
PP
110082015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11009
11010 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11011 Use with_test_prefix.
11012
a0145030
AB
110132015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11014
11015 * gdb.base/completion.exp: Add test for completion of layout
11016 names.
11017
ebe3b578
AB
110182015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11019
11020 * lib/gdb.exp (skip_tui_tests): New proc.
11021 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11022
84204ed7
PA
110232015-05-19 Pedro Alves <palves@redhat.com>
11024
11025 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11026 Save the whole env array instead of just HOME. Unset HISTSIZE in
11027 the environment while testing. Restore whole environment
11028 afterwards.
11029
37442ce1
DE
110302015-05-16 Doug Evans <xdje42@gmail.com>
11031
11032 * gdb.guile/scm-ports.c: New file.
11033 * gdb.guile/scm-ports.exp: Add memory port tests.
11034
36de76f9
JK
110352015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11036
11037 * gdb.compile/compile-print.c: New file.
11038 * gdb.compile/compile-print.exp: New file.
11039
3a9558c4
JK
110402015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11041
11042 * gdb.compile/compile-ops.exp: Cast param to void.
11043 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11044 (compile code struct_object.selffield = &struct_object): Add xfail.
11045
aa715135
JG
110462015-05-15 Joel Brobecker <brobecker@adacore.com>
11047
11048 * gdb.ada/arr_enum_with_gap: New testcase.
11049
931e5bc3
JG
110502015-05-15 Joel Brobecker <brobecker@adacore.com>
11051
11052 * gdb.ada/byte_packed_arr: New testcase.
11053
9cd4d857
JB
110542015-05-15 Joel Brobecker <brobecker@adacore.com>
11055
11056 * gdb.ada/pckd_neg: New testcase.
11057
ebfd00d2
PP
110582015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11059
11060 PR gdb/17820
11061 * gdb.base/gdbinit-history.exp: New test.
11062 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11063 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11064
4c082a81
SC
110652015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11066
11067 * gdb.python/py-xmethods.cc: Enhance test case.
11068 * gdb.python/py-xmethods.exp: New tests.
11069 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11070 function.
11071 (B_indexoper): Likewise.
11072 (global_dm_list) : Add new xmethod worker functions.
11073
f7797074
SDJ
110742015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11075
11076 * gdb.base/coredump-filter.exp: Correctly unset
11077 "coredump_var_addr" array.
11078
a4674e4e
PA
110792015-05-08 Pedro Alves <palves@redhat.com>
11080
11081 * gdb.server/non-existing-program.exp: Unset spawn_id.
11082
df2eb078
SC
110832015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11084
11085 PR python/18291
11086 * gdb.python/py-xmethods.exp: Add tests.
11087
422349a3
YQ
110882015-05-08 Yao Qi <yao.qi@linaro.org>
11089
11090 PR gdb/18208
11091 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11092 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11093 function set_coredump_filter, and remove remote_exec call.
11094 Remove argument ipid. Callers update.
11095 (top level): Don't get inferior's PID.
11096
63fc80ce
AA
110972015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11098
11099 * gdb.base/watch_thread_num.exp: Skip test on targets without
11100 access watchpoints.
11101
80ad801e
PA
111022015-05-06 Pedro Alves <palves@redhat.com>
11103
11104 PR server/18081
11105 * gdb.server/non-existing-program.exp: New file.
11106
0fa7fe50
JB
111072015-05-05 Joel Brobecker <brobecker@adacore.com>
11108
11109 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11110
3ea89b92
PMR
111112015-05-05 Joel Brobecker <brobecker@adacore.com>
11112
11113 * gdb.ada/out_of_line_in_inlined: New testcase.
11114
87b8eff0
JB
111152015-05-05 Joel Brobecker <brobecker@adacore.com>
11116
11117 * gdb.ada/var_rec_arr: New testcase.
11118
5fccc635
YQ
111192015-04-30 Yao Qi <yao.qi@linaro.org>
11120
11121 * gdb.base/break-idempotent.exp: If
11122 skip_hw_watchpoint_multi_tests returns true, skip the tests
11123 on "rwatch" and "awatch".
11124
42d38f42
YQ
111252015-04-30 Yao Qi <yao.qi@linaro.org>
11126
11127 * gdb.base/relativedebug.exp: Invoke gdb command
11128 "info sharedlibrary", and if libc.so doesn't have debug info,
11129 skip the test.
11130
2ce1cdbf
DE
111312015-04-29 Doug Evans <dje@google.com>
11132
11133 * gdb.python/py-xmethods.exp: Add ptype tests.
11134 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11135 get_result_type method.
11136
f24a38c5
LM
111372015-04-29 Luis Machado <lgustavo@codesourcery.com>
11138
11139 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11140 the target does not support hardware watchpoints.
11141
ecbf2b3c
LM
111422015-04-29 Luis Machado <lgustavo@codesourcery.com>
11143
11144 * gdb.base/break-always.exp: Abort testing if writing to memory
11145 causes an error.
11146
34f5f757
DE
111472015-04-28 Doug Evans <dje@google.com>
11148
11149 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11150 * gdb.python/py-pp-registration.exp: ... here. New file.
11151 * gdb.python/py-pp-registration.c: New file.
11152 * gdb.python/py-pp-registration.py: New file.
11153
69b4374a
DE
111542015-04-28 Doug Evans <dje@google.com>
11155
11156 * gdb.python/py-bad-printers.c: New file.
11157 * gdb.python/py-bad-printers.py: New file.
11158 * gdb.python/py-bad-printers.exp: New file.
11159
59fb7612
SS
111602015-04-28 Sasha Smundak <asmundak@google.com>
11161
11162 * gdb.python/py-type.exp: New test.
11163
2631b16a
AW
111642015-04-28 Andy Wingo <wingo@igalia.com>
11165
11166 * gdb.python/py-parameter.exp:
11167 * gdb.guile/scm-parameter.exp: Escape the path that we are
11168 matching against, as it might contain characters that are special
11169 to regular expressions.
11170
460efde1
JB
111712015-04-27 Joel Brobecker <brobecker@adacore.com>
11172
11173 * gdb.ada/rec_comp: New testcase.
11174
2d369d8e
SDJ
111752015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11176
11177 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11178 before using it.
11179
cf75d6c3
AB
111802015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11181
11182 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11183 new tests for verilog output.
11184
8dbe7ca5
YQ
111852015-04-24 Yao Qi <yao.qi@linaro.org>
11186
11187 * boards/remote-gdbserver-on-localhost.exp: New file.
11188
4ef9fb2f
PA
111892015-04-23 Pedro Alves <palves@redhat.com>
11190
11191 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11192 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11193 "end of file", remove $inferior_spawn_id from the indirect list.
11194
0a803169
PA
111952015-04-23 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11198
749ef8f8
PA
111992015-04-23 Pedro Alves <palves@redhat.com>
11200
11201 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11202 on $any_spawn_id instead of only on $gdb_spawn_id.
11203
8aae4344
PM
112042015-04-21 Pierre Muller <muller@sourceware.org>
11205
11206 PR pascal/17815
11207 * lib/pascal.exp (gpc_compile): Add new option "class".
11208 (fpc_compile): Likewise.
11209 * gdb.pascal/case-insensitive-symbols.pas: New file.
11210 * gdb.pascal/case-insensitive-symbols.exp: New file.
11211
1586c8fb
GB
112122015-04-20 Gary Benson <gbenson@redhat.com>
11213
11214 * gdb.base/attach.exp: Fix three extended remote failures.
11215
1b6e6f5c
GB
112162015-04-17 Gary Benson <gbenson@redhat.com>
11217
11218 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11219 the main executable over the remote protocol.
11220
e797481d
PA
112212015-04-16 Pedro Alves <palves@redhat.com>
11222
11223 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11224 a new gdbserver if gdbserver_reconnect_p is set.
11225
1ca99c42
PA
112262015-04-16 Pedro Alves <palves@redhat.com>
11227
11228 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11229 is set, don't exit gdbserver.
11230
af9fd6f8
AA
112312015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11232
11233 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11234 appropriate .insn, such that an older assembler can be used.
11235 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11236 the z/Architecture instruction set on 31-bit targets as well.
11237
04ff1e61
AA
112382015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11239
11240 * gdb.go/handcall.exp: Remove all logic related to the first
11241 breakpoint and rely on go_runto_main instead.
11242 * gdb.go/strings.exp: Likewise.
11243 * gdb.go/unsafe.exp: Likewise.
11244 * gdb.go/hello.exp: Likewise. Also rename the remaining
11245 breakpoint marker to "breakpoint 1".
11246 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11247 * gdb.go/strings.go: Likewise.
11248 * gdb.go/unsafe.go: Likewise.
11249 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11250 "set breakpoint 2 here" and rename the remaining breakpoint marker
11251 to "breakpoint 1".
11252
40d2f8d6
SM
112532015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11254
11255 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11256 if itertools.imap is not present.
11257 * gdb.python/py-objfile.exp: Add parentheses.
11258 * gdb.python/py-type.exp: Same.
11259 * gdb.python/py-unwind-maint.py: Same.
11260
8cbc97c6
YQ
112612015-04-15 Yao Qi <yao.qi@linaro.org>
11262
11263 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11264 of ":$ptr_size" and set its form explicitly.
11265
45fd756c
YQ
112662015-04-15 Pedro Alves <palves@redhat.com>
11267 Yao Qi <yao.qi@linaro.org>
11268
11269 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11270 timeout by factor of 4.
11271 (test_regular_watch): Likewise.
11272 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11273 * gdb.reverse/sigall-reverse.exp: Likewise.
11274 * gdb.reverse/until-precsave.exp: Likewise.
11275 * lib/gdb.exp (with_timeout_factor): New proc.
11276 (gdb_expect): Move some code to ...
11277 (get_largest_timeout): ... here. New procedure.
11278
9e811bc3
LM
112792015-04-14 Luis Machado <lgustavo@codesourcery.com>
11280
11281 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11282
0ff6fcb2
LM
112832015-04-13 Luis Machado <lgustavo@codesourcery.com>
11284
11285 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11286 to write to the .text section.
11287
7578d5f7
LM
112882015-04-13 Luis Machado <lgustavo@codesourcery.com>
11289
11290 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11291 Handle the case of targets that do not provide PID information.
11292
2efe15c4
YQ
112932015-04-13 Yao Qi <yao.qi@linaro.org>
11294
11295 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11296 and use expect instead of gdb_expect.
11297
8cd8f2f8
SDJ
112982015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11299
11300 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11301 "coredump_var_addr" to avoid naming conflict with other testcases.
11302
9ee41772
PA
113032015-04-10 Pedro Alves <palves@redhat.com>
11304
11305 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11306 gdb_test_sequence and gdb_assert.
11307
07473109
PA
113082015-04-10 Pedro Alves <palves@redhat.com>
11309
11310 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11311 test messages that don't include the breakpoint address.
11312
de3db44c
YQ
113132015-04-10 Yao Qi <yao.qi@linaro.org>
11314
11315 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11316 false for some offset and width combinations which aren't
11317 supported by linux kernel.
11318
c79d856c
PA
113192015-04-10 Pedro Alves <palves@redhat.com>
11320
11321 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11322 procedure, factored out from ...
11323 (top level): ... here. Add "set displaced-stepping" testing axis.
11324 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11325 parameter "displaced". Use it.
11326 (top level): Use foreach and add "set displaced-stepping" testing
11327 axis.
11328
ebc90b50
PA
113292015-04-10 Pedro Alves <palves@redhat.com>
11330
11331 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11332 Remove comment.
11333 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11334 both the address of the instruction that triggers the watchpoint
11335 and the address of the instruction immediately after, and use
11336 those addresses for the test. Fix comment.
11337
8f572e5c
PA
113382015-04-10 Pedro Alves <palves@redhat.com>
11339
11340 * gdb.base/sigstep.exp (breakpoint_to_handler)
11341 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11342 Test "backtrace" in handler.
11343 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11344 (top level): Add new "displaced" test axis to
11345 breakpoint_to_handler, breakpoint_to_handler_entry and
11346 breakpoint_over_handler.
11347
8d707a12
PA
113482015-04-10 Pedro Alves <palves@redhat.com>
11349
11350 PR gdb/18216
11351 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11352
ef713951
YQ
113532015-04-10 Yao Qi <yao.qi@linaro.org>
11354
11355 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11356 (test_add_rn_pc): New function.
11357 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11358 (top level): Invoke test_add_rn_pc.
11359
906d60cf
PA
113602015-04-10 Pedro Alves <palves@redhat.com>
11361
11362 PR gdb/13858
11363 * gdb.base/step-over-no-symbols.exp: New file.
11364
f2983cc3
AW
113652015-04-09 Andy Wingo <wingo@igalia.com>
11366
11367 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11368 after the Python tests.
11369
6d62641c
SDJ
113702015-04-08 Keith Seitz <keiths@redhat.com>
11371
11372 PR python/16699
11373 * gdb.python/py-completion.exp: New tests for completion.
11374 * gdb.python/py-completion.py (CompleteLimit1): New class.
11375 (CompleteLimit2): Likewise.
11376 (CompleteLimit3): Likewise.
11377 (CompleteLimit4): Likewise.
11378 (CompleteLimit5): Likewise.
11379 (CompleteLimit6): Likewise.
11380 (CompleteLimit7): Likewise.
11381
f3770638
PA
113822015-04-08 Pedro Alves <palves@redhat.com>
11383
11384 PR gdb/18214
11385 PR gdb/18216
11386 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11387 function.
11388 (main): Install it as SIGUSR1 handler.
11389 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11390 parameter. Always use "setup" as prefix. Toggle "set
11391 displaced-stepping" off/on depending on global. Don't switch to
11392 thread 1 here.
11393 (top level): Add displaced stepping "off/on" test axis. Update
11394 "setup" calls. Wrap each subtest with with_test_prefix. Test
11395 continuing with a queued signal in each thread.
11396
4496bed7
PA
113972015-04-08 Pedro Alves <palves@redhat.com>
11398
11399 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11400 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11401 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11402 Return early if running to main fails.
11403 * gdb.trace/while-stepping.exp: Likewise.
11404
b97fde92
PA
114052015-04-07 Pedro Alves <palves@redhat.com>
11406
11407 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11408 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11409 interact with inferior program.
11410
f71c18e7
PA
114112015-04-07 Pedro Alves <palves@redhat.com>
11412
11413 * lib/gdb.exp (inferior_spawn_id): New global.
11414 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11415 spawn id after processing the user code.
11416 (default_gdb_start): Set inferior_spawn_id.
11417 (send_inferior): New procedure.
11418 * lib/gdbserver-support.exp (gdbserver_start): Set
11419 inferior_spawn_id.
11420 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11421
6423214f
PA
114222015-04-07 Pedro Alves <palves@redhat.com>
11423
11424 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11425 * lib/gdbserver-support.exp (gdbserver_start): Make
11426 $server_spawn_id global.
11427 (gdbserver_start): Don't wait for gdbserver's spawn id with
11428 expect_background.
11429 (close_gdbserver): New procedure.
11430 (gdb_exit): Rename the default version and reimplement.
11431
71c0ee8c
PA
114322015-04-07 Pedro Alves <palves@redhat.com>
11433
72f4393d 11434 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
11435 append the substituted item, not the original item.
11436
203bc29b
PA
114372015-04-07 Pedro Alves <palves@redhat.com>
11438
11439 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11440 gdb_expect.
11441
508a3ddf
PA
114422015-04-07 Pedro Alves <palves@redhat.com>
11443
11444 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11445 output appearing once only.
11446
9f6dbe2b
PA
114472015-04-07 Pedro Alves <palves@redhat.com>
11448
11449 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11450 that doesn't expect anything. Return early if running to main
11451 fails.
11452
337532fa
YQ
114532015-04-07 Yao Qi <yao.qi@linaro.org>
11454
11455 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11456 (child_function): Call alarm.
11457 (main): Move call to alarm into the loop.
11458 * gdb.threads/non-stop-fair-events.exp: Build program with
11459 -DTIMEOUT=$timeout.
11460
01b622d4
DE
114612015-04-06 Doug Evans <xdje42@gmail.com>
11462
11463 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11464 Fix dest parameter to board_info.
11465 (fpc_compile): Ditto.
11466 (gdb_compile_pascal): Rename dest arg to destfile.
11467
961f4160
PMR
114682015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11469
11470 * gdb.ada/funcall_ref.exp: New file.
11471 * gdb.ada/funcall_ref/foo.adb: New file.
11472
cafda597
YQ
114732015-04-02 Yao Qi <yao.qi@linaro.org>
11474
11475 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11476 is remote.
11477
fed040c6
GB
114782015-04-02 Gary Benson <gbenson@redhat.com>
11479
11480 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11481
d11916aa
SS
114822015-04-01 Sasha Smundak <asmundak@google.com>
11483
11484 * gdb.python/py-unwind-maint.c: New file.
11485 * gdb.python/py-unwind-maint.exp: New test.
11486 * gdb.python/py-unwind-maint.py: New file.
11487 * gdb.python/py-unwind.c: New file.
11488 * gdb.python/py-unwind.exp: New test.
11489 * gdb.python/py-unwind.py: New test.
11490
a1471180
PA
114912015-04-01 Pedro Alves <palves@redhat.com>
11492
11493 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11494 to fail instead of non-existent $test.
11495
0bbeccb1
PA
114962015-04-01 Pedro Alves <palves@redhat.com>
11497
11498 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11499 GDBFLAGS if not empty.
11500
3c724c8c
PMR
115012015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11502
11503 * gdb.ada/complete.exp: Remove "multi_line".
11504 * gdb.ada/info_exc.exp: Remove "multi_line".
11505 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11506 * gdb.ada/ptype_field.exp: Remove "multi_line".
11507 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11508 * gdb.ada/tagged.exp: Remove "multi_line".
11509 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11510 [multi_line ...]
11511 * gdb.btrace/delta.exp: Likewise.
11512 * gdb.btrace/exception.exp: Likewise.
11513 * gdb.btrace/function_call_history.exp: Likewise.
11514 * gdb.btrace/instruction_history.exp: Likewise.
11515 * gdb.btrace/nohist.exp: Likewise.
11516 * gdb.btrace/record_goto.exp: Likewise.
11517 * gdb.btrace/segv.exp: Likewise.
11518 * gdb.btrace/stepi.exp: Likewise.
11519 * gdb.btrace/tailcall.exp: Likewise.
11520 * gdb.btrace/unknown_functions.exp: Likewise.
11521 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11522 * lib/gdb.exp: Add the "multi_line" helper.
11523
4eec2deb
PA
115242015-04-01 Pedro Alves <palves@redhat.com>
11525
11526 * gdb.threads/tid-reuse.c: New file.
11527 * gdb.threads/tid-reuse.exp: New file.
11528
df8411da
SDJ
115292015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11530
11531 PR corefiles/16092
11532 * gdb.base/coredump-filter.c: New file.
11533 * gdb.base/coredump-filter.exp: Likewise.
11534
6ef37366
PM
115352015-03-27 Petr Machata <pmachata@redhat.com>
11536
11537 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11538 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11539 (Dwarf::assemble): Initialize them.
11540 (Dwarf::lines): New function.
11541
7ec911b0
JT
115422015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11543
11544 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11545 SYMBOL_PREFIX for x86_64-*-cygwin.
11546
ff908ebf
AW
115472015-03-26 Andy Wingo <wingo@igalia.com>
11548
11549 PR symtab/18148
11550 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11551 const_value but not a location.
11552 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11553 location defined in non-main CUs are visible.
11554
6d5f0679
YQ
115552015-03-26 Yao Qi <yao.qi@linaro.org>
11556
11557 PR testsuite/18139
11558 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11559 Add a line number entry for the same line.
11560 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11561 Add a line number entry for the same line.
11562
2898689b
YQ
115632015-03-26 Yao Qi <yao.qi@linaro.org>
11564
11565 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11566 .int 0.
11567 (func): Likewise. Add .Lfunc_1 label.
11568 Use .Lfunc_1 label.
11569 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11570 .int 0.
11571 (func): Likewise.
11572 Use .Lfunc_1 label.
11573
85180498
YQ
115742015-03-26 Yao Qi <yao.qi@linaro.org>
11575
11576 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11577 Call gdb_compile instead to compile each .s files without debug
11578 information.
11579
8aa08a8d
YQ
115802015-03-26 Yao Qi <yao.qi@linaro.org>
11581
11582 * gdb.base/savedregs.exp (process_saved_regs): Make
11583 "Saved registers:" optional in the pattern.
11584
66849923
MM
115852015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11586
11587 * gdb.btrace/next.exp: Merged into step.exp.
11588 * gdb.btrace/finish.exp: Merged into step.exp.
11589 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11590 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11591 "record goto" and checking the exact replay position.
11592 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11593 check for "Recording format" in "info record" output.
11594 * gdb.btrace/record_goto.exp: Choose test file based on target.
11595 * gdb.btrace/x86-record_goto.S: Renamed into ...
11596 * gdb.btrace/x86_64-record_goto.S: ... this.
11597 * gdb.btrace/i686-record_goto.S: New.
11598 * gdb.btrace/x86-tailcall.S: Renamed into ...
11599 * gdb.btrace/x86_64-tailcall.S: ... this.
11600 * gdb.btrace/i686-tailcall.S: New.
11601 * gdb.btrace/x86-tailcall.c: Renamed into ...
11602 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11603 separate statements. Update test.
11604 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11605 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11606 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11607 * gdb.btrace/tailcall.exp: Choose test file based on target.
11608 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11609
11cc1b74
MM
116102015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11611
11612 * gdb.btrace/exception.exp: Increase BTS buffer size.
11613
a25d8bf9
PA
116142015-03-24 Pedro Alves <palves@redhat.com>
11615
11616 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11617
856e7dd6
PA
116182015-03-24 Pedro Alves <palves@redhat.com>
11619
11620 * gdb.threads/schedlock.exp (test_step): No longer expect that
11621 "set scheduler-locking step" with "next" over a function call runs
11622 threads unlocked.
11623
ad235a41
AT
116242015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11625
11626 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11627
15630549
AT
116282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11629
11630 PR breakpoints/16466
11631 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11632 * gdb.mi/mi-pending.c (thread_func): New function.
11633 (int main): Add threading support required.
11634 * gdb.mi/mi-pending.exp: Add tests for this issue.
11635 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11636 (pendfunc2): Remove stdio dependency.
11637 * gdb.mi/mi-pendshr2.c: New file.
11638
693dca06
KS
116392015-03-23 Keith Seitz <keiths@redhat.com>
11640
11641 * gdb.linespec/keywords.c: New file.
11642 * gdb.linespec/keywords.exp: New file.
11643
7e993ebf
KS
116442015-03-23 Keith Seitz <keiths@redhat.com>
11645
11646 PR gdb/18021
11647 * gdb.dwarf2/staticvirtual.exp: New test.
11648
bc23328c
JK
116492015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11650
11651 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11652 * README: Remove HP-UX and gdb.hp.
11653 (configuration):
11654 * configure: Regenerate.
11655 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11656 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11657 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11658 gdb.hp/gdb.defects/Makefile.
11659 * gdb.hp/Makefile.in: File deleted.
11660 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11661 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11662 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11663 * gdb.hp/gdb.aCC/run.c: File deleted.
11664 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11665 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11666 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11667 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11668 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11669 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11670 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11671 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11672 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11673 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11674 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11675 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11676 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11677 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11678 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11679 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11680 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11681 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11682 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11683 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11684 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11685 * gdb.hp/gdb.compat/average.c: File deleted.
11686 * gdb.hp/gdb.compat/sum.c: File deleted.
11687 * gdb.hp/gdb.compat/xdb.c: File deleted.
11688 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11689 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11690 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11691 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11692 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11693 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11694 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11695 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11696 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11697 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11698 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11699 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11700 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11701 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11702 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11703 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11704 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11705 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11706 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11707 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11708 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11709 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11710 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11711 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11712 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11713 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11714 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11715 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11716 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11717 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11718 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11719 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11720 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11721 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11722 * gdb.hp/tools/odump: File deleted.
11723
8bf3b159
PA
117242015-03-19 Pedro Alves <palves@redhat.com>
11725
11726 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11727 (saw_thread_3): New globals.
11728 (top level): Increment them when an event for the corresponding
11729 thread is seen.
11730 (no thread starvation): New test.
11731
eb54c8bf
PA
117322015-03-19 Pedro Alves <palves@redhat.com>
11733
11734 * gdb.threads/continue-pending-status.c: New file.
11735 * gdb.threads/continue-pending-status.exp: New file.
11736
32d2e5d6
PA
117372015-03-18 Pedro Alves <palves@redhat.com>
11738
11739 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11740 Use gdb_is_target_remote instead of is_remote. Use
11741 gdb_test_multiple instead of gdb_expect. Exit early if
11742 gdb_test_multiple hits its internal matches. Tighten stepi tests
11743 expected output. Fail on exit with any signal, instead of just
11744 SIGILL.
11745
f68f11b7
YQ
117462015-03-18 Yao Qi <yao.qi@linaro.org>
11747
11748 PR tdep/18107
11749 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11750 variable.
11751 * gdb.base/catch-syscall.exp: Don't skip it on
11752 aarch64*-*-linux* target. Remove elements in all_syscalls.
11753 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11754 target.
11755 (setup_all_syscalls): New proc.
11756
ca5fd19b
YQ
117572015-03-16 Yao Qi <yao.qi@linaro.org>
11758
11759 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11760 (top level): Skip tests if valid_addr_p returns false for
11761 $cmd1 or $cmd2.
11762
85642ba0
AW
117632015-03-11 Andy Wingo <wingo@igalia.com>
11764
11765 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11766
e03f9645
YQ
117672015-03-11 Yao Qi <yao.qi@linaro.org>
11768
11769 * gdb.base/catch-syscall.exp: Fix typo in comments.
11770
5d0962b2
YQ
117712015-03-11 Yao Qi <yao.qi@linaro.org>
11772
11773 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11774
b2df3cef
PA
117752015-03-09 Pedro Alves <palves@redhat.com>
11776
11777 * dg-extract-results.py: Delete.
11778
ef878e53
PA
117792015-03-09 Pedro Alves <palves@redhat.com>
11780
11781 Merge dg-extract-results.sh from GCC upstream (r218843).
11782
11783 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11784 * dg-extract-results.sh: Use --text with grep to avoid issues with
11785 binary files. Fall back to cat -v, if that doesn't work.
11786
9494d219
PA
117872015-03-05 Pedro Alves <palves@redhat.com>
11788
11789 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11790
a8d9763a
SM
117912015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11792
11793 * lib/mi-support.exp (mi_expect_interrupt): Accept
11794 alternative event for when in all-stop mode.
11795
be9957b8
PA
117962015-03-04 Pedro Alves <palves@redhat.com>
11797
11798 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11799
d57be0f4 118002015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
11801
11802 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11803
c214c7cf
AA
118042015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11805
11806 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11807 regexps for GDB's current line display, accept a hex address
11808 preceding the line number.
11809
6d74a497
AA
118102015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11811
11812 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11813 the 'arch1' variable for "s390*-linux*" targets.
11814
511aee7c
PA
118152015-03-04 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11818 (main): Pass missing retval argument to pthread_join call.
11819
95e50b27
PA
118202015-03-02 Pedro Alves <palves@redhat.com>
11821
11822 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11823 (top level): Call do_test with non-stop as well.
11824
28054d69
PA
118252015-03-02 Pedro Alves <palves@redhat.com>
11826
11827 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11828 -1.
11829
4fa5d7b4
AA
118302015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11831
11832 * gdb.arch/s390-vregs.exp: New test.
11833 * gdb.arch/s390-vregs.S: New file.
11834
97c18565
PA
118352015-02-27 Pedro Alves <palves@redhat.com>
11836
11837 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11838 call to catch_command_errors.
11839 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11840 catch_command_errors.
11841
a37bfa30
PA
118422015-02-27 Pedro Alves <palves@redhat.com>
11843
11844 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11845 "true" for boolean result.
11846 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11847 prototype of main.
11848
6f98576f
PA
118492015-02-27 Pedro Alves <palves@redhat.com>
11850
11851 * lib/unbuffer_output.c: New file.
11852 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11853 (main): Call gdb_unbuffer_output.
11854
eba5ab56
YQ
118552015-02-27 Yao Qi <yao.qi@linaro.org>
11856
11857 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11858 target.
11859
0def5aaa
DE
118602015-02-26 Doug Evans <dje@google.com>
11861
11862 * gdb.cp/class2.cc (Dbase, D): New classes.
11863 (main): New local delta.
11864 * gdb.cp/class2.exp: Test printing delta.
11865 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11866 (dynbar): New global.
11867 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11868
081a1c2c
JK
118692015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11870
11871 * gdb.compile/compile-ifunc.c: New file.
11872 * gdb.compile/compile-ifunc.exp: New file.
11873
2f41223f
AT
118742015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11875
11876 * gdb.base/structs.exp: Check for correct struct on finish.
11877
03eddd80
YQ
118782015-02-26 Yao Qi <yao.qi@linaro.org>
11879
11880 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11881 is zero.
11882
80c57053
JK
118832015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11884
11885 * gdb.arch/cordic.ko.bz2: New file.
11886 * gdb.arch/cordic.ko.debug.bz2: New file.
11887 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11888
21613c12
YQ
118892015-02-25 Yao Qi <yao.qi@linaro.org>
11890
11891 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11892 aarch64*-*-* target.
11893
d8b901ed
PA
118942015-02-23 Pedro Alves <palves@redhat.com>
11895
11896 * lib/gdb.exp (delete_breakpoints): Rewrite using
11897 gdb_test_multiple.
11898
e5b85ead
PA
118992015-02-23 Pedro Alves <palves@redhat.com>
11900
11901 * gdb.base/info-os.c: Include stdlib.h.
11902
85c3a371
DE
119032015-02-22 Doug Evans <xdje42@gmail.com>
11904
11905 PR symtab/17855
11906 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11907 is read after symbols have been re-read.
11908 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11909 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11910
96553a0c
DE
119112015-02-21 Doug Evans <dje@google.com>
11912
11913 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11914
97a0c697
JK
119152015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11916
11917 PR corefiles/17808
11918 * gdb.arch/i386-biarch-core.core.bz2: New file.
11919 * gdb.arch/i386-biarch-core.exp: New file.
11920
a47cd6e9
PA
119212015-02-21 Pedro Alves <palves@redhat.com>
11922
11923 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11924 runto_main fails.
11925
c5facdc4
PA
119262015-02-20 Pedro Alves <palves@redhat.com>
11927
11928 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11929 info probes.
11930
2db9a427
PA
119312015-02-20 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11934
60fb7e9e
PA
119352015-02-20 Pedro Alves <palves@redhat.com>
11936
11937 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11938 clean_restart before gdb_target_supports_trace.
11939
5c5019c2
PA
119402015-02-20 Pedro Alves <palves@redhat.com>
11941
11942 PR threads/18006
11943 * gdb.threads/clone-thread_db.c: New file.
11944 * gdb.threads/clone-thread_db.exp: New file.
11945
c9587f88
AT
119462015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11947
11948 PR breakpoints/16812
11949 * gdb.base/catch-gdb-caused-signals.c: New file.
11950 * gdb.base/catch-gdb-caused-signals.exp: New file.
11951
f6a88844
JM
119522015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11953
11954 * configure: Regenerated.
11955 * configure.ac: Use GDB_AC_TRANSFORM.
11956 * aclocal.m4: sinclude ../transform.m4.
11957
497c491b
JM
119582015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11959
11960 * lib/dtrace.exp: New file.
11961 * gdb.base/dtrace-probe.exp: Likewise.
11962 * gdb.base/dtrace-probe.d: Likewise.
11963 * gdb.base/dtrace-probe.c: Likewise.
11964 * lib/pdtrace.in: Likewise.
11965 * configure.ac: Output variables with the transformed names of
11966 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11967 * configure: Regenerated.
11968
03e98035
JM
119692015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11970
11971 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11972 expected message when trying to access $_probe_* convenience
11973 variables while not on a probe.
11974
63cc30e9
JK
119752015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11976
11977 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11978
0703599a
PA
119792015-02-11 Pedro Alves <pedro@codesourcery.com>
11980
11981 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11982 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11983
7e60a48e
DE
119842015-02-10 Doug Evans <xdje42@gmail.com>
11985
11986 * lib/gdb.exp (gdb_load): Always return a result.
11987
01b088bc
PA
119882015-02-10 Pedro Alves <palves@redhat.com>
11989
11990 * gdb.threads/signal-sigtrap.c: New file.
11991 * gdb.threads/signal-sigtrap.exp: New file.
11992
b05ec7a5
AT
119932015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11994
11995 * gdb.trace/no-attach-trace.c: New file.
11996 * gdb.trace/no-attach-trace.exp: New file.
11997
a2c2acaf
MW
119982015-02-09 Mark Wielaard <mjw@redhat.com>
11999
12000 * gdb.dwarf2/atomic.c: New file.
12001 * gdb.dwarf2/atomic-type.exp: Likewise.
12002
31fd9caa
MM
120032015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12004
12005 * gdb.btrace/buffer-size.exp: Update "info record" output.
12006 * gdb.btrace/delta.exp: Update "info record" output.
12007 * gdb.btrace/enable.exp: Update "info record" output.
12008 * gdb.btrace/finish.exp: Update "info record" output.
12009 * gdb.btrace/instruction_history.exp: Update "info record" output.
12010 * gdb.btrace/next.exp: Update "info record" output.
12011 * gdb.btrace/nexti.exp: Update "info record" output.
12012 * gdb.btrace/step.exp: Update "info record" output.
12013 * gdb.btrace/stepi.exp: Update "info record" output.
12014 * gdb.btrace/nohist.exp: Update "info record" output.
12015
d33501a5
MM
120162015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12017
12018 * gdb.btrace/buffer-size: New.
12019
f4abbc16
MM
120202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12021
12022 * gdb.btrace/delta.exp: Update "info record" output.
12023 * gdb.btrace/enable.exp: Update "info record" output.
12024 * gdb.btrace/finish.exp: Update "info record" output.
12025 * gdb.btrace/instruction_history.exp: Update "info record" output.
12026 * gdb.btrace/next.exp: Update "info record" output.
12027 * gdb.btrace/nexti.exp: Update "info record" output.
12028 * gdb.btrace/step.exp: Update "info record" output.
12029 * gdb.btrace/stepi.exp: Update "info record" output.
12030 * gdb.btrace/nohist.exp: Update "info record" output.
12031
b9d61307
SM
120322015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12033
12034 PR gdb/15678
12035 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12036
e584fdbc
PA
120372015-02-06 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12040 macro.
12041 (seconds_left, again): New globals.
12042 (main): Wait seconds_left in a 1-second sleep loop instead of
12043 sleeping 180 seconds. If 'again' is set, reset the seconds
12044 counter.
12045 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12046 'again' in the inferior before detaching. Print the seconds left.
12047 (options): New global.
12048 (top level): Build program with -DTIMEOUT=$timeout.
12049
77f41761
PA
120502015-02-06 Pedro Alves <palves@redhat.com>
12051
12052 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12053 determine how many seconds to pass to 'alarm'.
12054 * gdb.base/gdb-sigterm.exp (top level): Build program with
12055 -DTIMEOUT=$timeout.
12056 (do_test): Return success/failure indication. Add more verbose
12057 logging. Don't fail if 200 single steps are seen. Instead, fail
12058 when the test times out.
12059 (passes): New global.
12060 (top level): Break the testing loop if testing fails on any
12061 iteration. Use gdb_assert.
12062
b9394193
DB
120632015-02-04 Don Breazeal <donb@codesourcery.com>
12064
12065 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12066 and initialize them.
12067 (ipc_cleanup): New function.
12068 (main): Don't declare shmid, semid, and msqid. Add a call to
12069 atexit so that we call ipc_cleanup on exit.
12070
42d9e528
PA
120712015-02-04 Pedro Alves <palves@redhat.com>
12072
12073 * boards/native-extended-gdbserver.exp: Remove any target variant
12074 specifications from the board name before clearing the isremote
12075 flag from board_info.
12076
ae6ae975
DE
120772015-01-31 Doug Evans <xdje42@gmail.com>
12078
12079 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12080
cfb069a8
GB
120812015-01-31 Gary Benson <gbenson@redhat.com>
12082
12083 * gdb.base/completion.exp: Disable completion limiting for
12084 existing tests. Add new tests to check completion limiting.
12085 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12086
5dd31d79
DE
120872015-01-31 Doug Evans <xdje42@gmail.com>
12088
12089 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12090
9f050062
DE
120912015-01-31 Doug Evans <xdje42@gmail.com>
12092
12093 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12094 entries. Duplicate file section script entries.
12095 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12096 inlined entries. Add test for safe-path rejection.
12097 * gdb.python/py-section-script.c: Add duplicate inlined section script
12098 entries. Duplicate file section script entries.
12099 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12100 inlined entries. Add test for safe-path rejection.
12101
df25ebbd
JB
121022015-01-29 Joel Brobecker <brobecker@adacore.com>
12103
12104 * gdb.ada/disc_arr_bound: New testcase.
12105
4a0ca9ec
JB
121062015-01-29 Joel Brobecker <brobecker@adacore.com>
12107
12108 * gdb.ada/mi_var_array: New testcase.
12109
3a8b707a
DE
121102015-01-27 Doug Evans <dje@google.com>
12111
12112 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12113 Add test for objfile.filename, objfile.username after objfile
12114 has been unloaded.
12115
f8313f6e
JB
121162015-01-26 Joel Brobecker <brobecker@adacore.com>
12117
12118 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12119 the second test to print the name attribute of value
12120 returned by the call to gdb.lookup_type, and adjust
12121 the expected output accordingly.
12122
37bc665e
MW
121232015-01-25 Mark Wielaard <mjw@redhat.com>
12124
12125 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12126 * gdb.base/disp-step-fork.c: Include unistd.h.
12127 * gdb.base/siginfo-obj.c: Include stdio.h.
12128 * gdb.base/siginfo-thread.c: Likewise.
12129 * gdb.mi/non-stop.c: Include unistd.h.
12130 * gdb.mi/nsthrexec.c: Include stdio.h.
12131 * gdb.mi/pthreads.c: Include unistd.h.
12132 * gdb.modula2/unbounded1.c (main): Declare returns int.
12133 * gdb.reverse/consecutive-reverse.c: Likewise.
12134 * gdb.threads/create-fail.c: Include unistd.h.
12135 * gdb.threads/killed.c: Likewise.
12136 * gdb.threads/linux-dp.c: Likewise.
12137 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12138 * gdb.threads/non-ldr-exc-2.c: Likewise.
12139 * gdb.threads/non-ldr-exc-3.c: Likewise.
12140 * gdb.threads/non-ldr-exc-4.c: Likewise.
12141 * gdb.threads/pthreads.c: Include unistd.h.
12142 (main): Declare returns int.
12143 * gdb.threads/tls-main.c (foo): New declaration.
12144 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12145
f7e5394d
SM
121462015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12147
12148 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12149 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12150
743649fd
MW
121512015-01-15 Mark Wielaard <mjw@redhat.com>
12152
12153 * gdb.base/noreturn-return.c: New file.
12154 * gdb.base/noreturn-return.exp: New file.
12155 * gdb.base/noreturn-finish.c: New file.
12156 * gdb.base/noreturn-finish.exp: New file.
12157
198297aa
PA
121582015-01-23 Pedro Alves <palves@redhat.com>
12159
12160 * gdb.threads/continue-pending-after-query.c: New file.
12161 * gdb.threads/continue-pending-after-query.exp: New file.
12162
717cf30c
AG
121632015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12164 Simon Marchi <simon.marchi@ericsson.com>
12165
12166 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12167 * gdb.base/valgrind-db-attach.exp: Same.
12168 * gdb.base/valgrind-infcall.exp: Same.
12169 * lib/mi-support.exp (default_mi_gdb_start): Same.
12170 * lib/prompt.exp (default_prompt_gdb_start): Same.
12171 * lib/gdb.exp (default_gdb_spawn): Same.
12172 (gdb_interact): New.
12173
12174
4b62a76e
JK
121752015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12176
12177 * gdb.compile/compile.exp (pointer to jit function): New test.
12178
b4cdae6f
WW
121792015-01-17 Wei-cheng Wang <cole945@gmail.com>
12180
12181 * lib/gdb.exp (supports_process_record): Return true for
12182 powerpc*-*-linux*.
12183 (supports_reverse): Likewise.
12184
d221e7ef
DB
121852015-01-15 Don Breazeal <donb@codesourcery.com>
12186
12187 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12188 instead of checking whether the target board is remote and
12189 use spawn_wait_for_attach instead of exec/sleep.
12190 * gdb.base/attach-twice.exp: Likewise.
12191
bafffb51
JB
121922015-01-15 Joel Brobecker <brobecker@adacore.com>
12193
12194 * gdb.ada/var_arr_attrs: New testcase.
12195
5589af0e
PA
121962015-01-14 Pedro Alves <palves@redhat.com>
12197 Joel Brobecker <brobecker@adacore.com>
12198
12199 PR gdb/17525
12200 * gdb.base/bp-cmds-execution-x-script.c: New file.
12201 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12202 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12203
6c400b59
PA
122042015-01-14 Pedro Alves <palves@redhat.com>
12205
12206 PR cli/17828
12207 * gdb.base/batch-preserve-term-settings.c: New file.
12208 * gdb.base/batch-preserve-term-settings.exp: New file.
12209
e02c96a7
DE
122102015-01-13 Doug Evans <dje@google.com>
12211
12212 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12213 binary.
12214
576fd14c
JB
122152015-01-13 Joel Brobecker <brobecker@adacore.com>
12216
12217 * Makefile.in (clean mostlyclean): Do not delete *.py.
12218
04dccad0
JB
122192015-01-13 Joel Brobecker <brobecker@adacore.com>
12220
12221 * gdb.python/py-lookup-type.exp: New file.
12222
3d230f71
PA
122232015-01-12 Pedro Alves <palves@redhat.com>
12224
12225 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12226 restore GDBFLAGS before returning.
12227
7e67715d
JK
122282015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12229
12230 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12231 is_amd64_regs_target and is_x86_like_target.
12232
f2e0d4b4
DE
122332015-01-11 Doug Evans <xdje42@gmail.com>
12234
12235 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12236 is given without an explicit form.
12237 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12238 attributes.
12239 * gdb.dwarf/corrupt.exp: Ditto.
12240 * gdb.dwarf2/enum-type.exp: Ditto.
12241 * gdb.trace/entry-values.exp: Ditto.
12242 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12243
439250fb
DE
122442015-01-11 Doug Evans <xdje42@gmail.com>
12245
12246 PR gdb/15830
12247 * gdb.base/maint.exp: Remove references to "maint demangle".
12248 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12249 Add tests for explicitly specifying language to demangle.
12250 * gdb.dlang/demangle.exp: Ditto.
12251
ede9f622
PA
122522015-01-09 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.threads/non-stop-fair-events.c: New file.
12255 * gdb.threads/non-stop-fair-events.exp: New file.
12256
a7b796db
PA
122572015-01-09 Pedro Alves <palves@redhat.com>
12258
12259 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12260 the global scope. Set a breakpoint after all threads are started
12261 rather than stepping over two source lines. Expect the prompt.
12262 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12263 global.
12264 (NUM): Now 15.
12265 (main): Use threads_started_barrier to wait for all threads to
12266 start. Main thread no longer calls thread_function. Exit after
12267 180 seconds.
12268 (loop): New function.
12269 (thread_function): Wait on threads_started_barrier barrier. Call
12270 'loop' at each iteration.
12271 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12272 threads have started, instead of hardcoding number of "next"
12273 steps. Use an access watchpoint instead of a write watchpoint.
12274
9665ffdd
PA
122752015-01-09 Pedro Alves <palves@redhat.com>
12276
12277 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12278 (thread_func): Wait on barrier.
12279 (main): Wait for all threads to start before stopping GDB.
12280 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12281 global.
12282 (thread1_func, thread2_func): Wait on barrier.
12283 (main): Wait for all threads to start before stopping GDB.
12284 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12285 New global.
12286 (thread1_func, thread2_func): Wait on barrier.
12287 (main): Wait for all threads to start before stopping GDB.
12288
c945a99f
PA
122892015-01-09 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.threads/attach-many-short-lived-threads.c: New file.
12292 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12293
c1a747c1
PA
122942014-01-09 Pedro Alves <palves@redhat.com>
12295
12296 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12297 instead of to thread 2.
12298 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12299 Add barrier around each pthread_create call instead of around all
12300 calls.
12301 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12302 Set a break on thread_function and have the child threads hit it
12303 one at at a time.
12304
60b3033e
PA
123052015-01-09 Pedro Alves <palves@redhat.com>
12306
12307 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12308 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12309 false.
12310 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12311 checking whether the target board is remote.
12312 * gdb.multi/multi-attach.exp: Likewise.
12313 * gdb.python/py-sync-interp.exp: Likewise.
12314 * gdb.server/ext-attach.exp: Likewise.
12315 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12316 tests that need to attach, instead of checking whether the target
12317 board is remote at the top of the file.
12318
acc018ac
YQ
123192015-01-08 Yao Qi <yao@codesourcery.com>
12320
12321 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12322
50a18af8
JK
123232015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12324
12325 Fix testcase compilation.
12326 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12327
8503d6e1
JB
123282015-01-06 Joel Brobecker <brobecker@adacore.com>
12329
12330 * gdb.python/py-type.exp: Add a couple test about empty
12331 array creation, and negative-length array creation.
12332
cc73dbcc
DE
123332015-01-02 Doug Evans <xdje42@gmail.com>
12334
12335 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12336
0300bbc7
DE
123372015-01-02 Doug Evans <dje@google.com>
12338
12339 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12340
9d85a0ec
YQ
123412014-12-29 Yao Qi <yao@codesourcery.com>
12342
12343 * gdb.trace/entry-values.exp: Update comments. Rename variable
12344 bar_call_foo to returned_from_foo.
12345
87186c6a
MMN
123462014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12347
12348 PR gdb/17394
12349 * gdb.linespec/break-asm-file.c: New file.
12350 * gdb.linespec/break-asm-file.exp: New file.
12351 * gdb.linespec/break-asm-file0.s: New file.
12352 * gdb.linespec/break-asm-file1.s: New file.
12353
1bab7383
YQ
123542014-12-18 Nigel Stephens <nigel@mips.com>
12355 Maciej W. Rozycki <macro@codesourcery.com>
12356
12357 * gdb.base/float.exp: Handle the new output from "info float" on
12358 MIPS targets.
12359
1bc1068a
JK
123602014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12361
12362 Fix MinGW compilation.
12363 * gdb.compile/compile-ops.exp: Update untested message if
12364 !skip_compile_feature_tests.
12365 * gdb.compile/compile-setjmp.exp: Likewise.
12366 * gdb.compile/compile-tls.exp: Likewise.
12367 * gdb.compile/compile.exp: Likewise.
12368 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12369 supported on this host".
12370
b6615d10
DE
123712014-12-16 Doug Evans <xdje42@gmail.com>
12372
12373 * boards/stabs.exp: New file.
12374
25dda427
AA
123752014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12376
12377 * gdb.base/completion.exp: Adjust to format changes of "maint
12378 print user-registers".
12379
bf330350
CU
123802014-12-16 Catalin Udma <catalin.udma@freescale.com>
12381
12382 PR server/17457
12383 * gdb.arch/aarch64-fp.c: New file.
12384 * gdb.arch/aarch64-fp.exp: New file.
12385
395cf596
SDJ
123862014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12387
12388 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12389 r210637, r210913, r211666, r215400, r215817).
12390
12391 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12392 * dg-extract-results.py: New file.
12393 * dg-extract-results.sh: Use it if the environment seems
12394 suitable.
12395
12396 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12397
12398 * dg-extract-results.py (parse_run): Handle warnings that
12399 are printed before a test harness is run.
12400
12401 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12402
12403 * dg-extract-results.py (Named): Remove __cmp__ method.
12404 (output_variation): Use a key to sort variation.harnesses.
12405
12406 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12407
12408 * dg-extract-results.py: For Python 3, force sys.stdout to
12409 handle surrogate escape sequences.
12410 (safe_open): New function.
12411 (output_segment, main): Use it.
12412
12413 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12414
12415 * dg-extract-results.py (Prog.result_re): Include options
12416 in test name.
12417
12418 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12419
12420 * dg-extract-results.py (output_variation): Always sort if
12421 do_sum.
12422
e882ef3c
SM
124232014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12424
12425 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12426 as long as we get pagination notifications.
12427
4992aa20
JM
124282014-12-15 Jason Merrill <jason@redhat.com>
12429
12430 * Makefile.in (check-gdb.%): Restore.
12431 * README: Mention it.
12432
c1b5a1a6
JB
124332014-12-13 Joel Brobecker <brobecker@adacore.com>
12434
12435 * gdb.ada/str_uninit: New testcase.
12436
5537b577
JK
124372014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12438
12439 PR symtab/17642
12440 * gdb.base/vla-stub-define.c: New file.
12441 * gdb.base/vla-stub.c: New file.
12442 * gdb.base/vla-stub.exp: New file.
12443
bb2ec1b3
TT
124442014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12445 Jan Kratochvil <jan.kratochvil@redhat.com>
12446 Tom Tromey <tromey@redhat.com>
12447
12448 * configure.ac: Add gdb.compile/.
12449 * configure: Regenerate.
12450 * gdb.compile/Makefile.in: New file.
12451 * gdb.compile/compile-ops.exp: New file.
12452 * gdb.compile/compile-ops.c: New file.
12453 * gdb.compile/compile-tls.c: New file.
12454 * gdb.compile/compile-tls.exp: New file.
12455 * gdb.compile/compile-constvar.S: New file.
12456 * gdb.compile/compile-constvar.c: New file.
12457 * gdb.compile/compile-mod.c: New file.
12458 * gdb.compile/compile-nodebug.c: New file.
12459 * gdb.compile/compile-setjmp-mod.c: New file.
12460 * gdb.compile/compile-setjmp.c: New file.
12461 * gdb.compile/compile-setjmp.exp: New file.
12462 * gdb.compile/compile-shlib.c: New file.
12463 * gdb.compile/compile.c: New file.
12464 * gdb.compile/compile.exp: New file.
12465 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12466
4ff709eb
TT
124672014-12-12 Tom Tromey <tromey@redhat.com>
12468
12469 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12470 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12471
6dddd6a5
DE
124722014-12-12 Doug Evans <dje@google.com>
12473
12474 * lib/gdb-python.exp (get_python_valueof): New function.
12475 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12476
71c24708
AA
124772014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12478
12479 * gdb.base/completion.exp: Add test for completion of "info
12480 registers ".
12481
3e29f34a
MR
124822014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12483
12484 * gdb.base/func-ptrs.c: New file.
12485 * gdb.base/func-ptrs.exp: New file.
12486
fc126975
SM
124872014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12488
12489 PR breakpoints/17012
12490 * gdb.base/dprintf-detach.c: New file.
12491 * gdb.base/dprintf-detach.exp: New file.
12492
0a46d518
SM
124932014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12494
12495 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12496 * lib/gdb.exp (target_is_gdbserver): New procedure.
12497
a0be3e44
DE
124982014-12-08 Doug Evans <dje@google.com>
12499
12500 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12501
df1b803a
YQ
125022014-12-05 Yao Qi <yao@codesourcery.com>
12503
12504 * gdb.guile/scm-error.exp: Remove the third argument to
12505 gdb_remote_download.
12506 * gdb.guile/scm-frame-args.exp: Likewise.
12507 * gdb.guile/scm-section-script.exp: Likewise.
12508
ddb9f679
YQ
125092014-12-05 Yao Qi <yao@codesourcery.com>
12510
12511 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12512
86e4ed39
DE
125132014-12-04 Doug Evans <dje@google.com>
12514
12515 * gdb.python/py-objfile.exp: Add tests for
12516 objfile.add_separate_debug_file.
12517
7c50a931
DE
125182014-12-04 Doug Evans <dje@google.com>
12519
12520 * lib/gdb.exp (get_build_id): New function.
12521 (build_id_debug_filename_get): Rewrite to use it.
12522 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12523
621661e3
MR
125242014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12525
12526 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12527 `method(long)', not just 0x0.
12528 * gdb.cp/nsalias.exp: Align code labels to 4.
12529 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12530 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12531 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12532 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12533 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12534 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12535
29f0c3b7
DE
125362014-12-02 Doug Evans <dje@google.com>
12537
e1e061e7 12538 PR symtab/17602
29f0c3b7 12539 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 12540 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
12541 * gdb.cp/anon-ns.exp: Update.
12542
162078c8
NB
125432014-12-02 Nick Bull <nicholaspbull@gmail.com>
12544
12545 * gdb.python/py-events.py (inferior_call_handler): New.
12546 (register_changed_handler, memory_changed_handler): New.
12547 (test_events.invoke): Register new handlers.
12548 * gdb.python/py-events.exp: Add tests for inferior call,
12549 memory_changed and register_changed events.
12550
fdb09caf
AA
125512014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12552
12553 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12554 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12555 if the linker doesn't understand this.
12556
55cfb2c4
SM
125572014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12558
12559 * gdb.python/python.exp: Change expected reply to help().
12560
9e8cd6df
YQ
125612014-12-01 Yao Qi <yao@codesourcery.com>
12562
12563 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12564 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12565 * configure: Re-generated.
12566
6c659fc2
SC
125672014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12568
12569 * gdb.cp/chained-calls.cc: New file.
12570 * gdb.cp/chained-calls.exp: New file.
12571 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12572
d7fc3181
SM
125732014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12574
12575 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12576 * gdb.dwarf2/symtab-producer.exp: Same.
12577 * gdb.gdb/python-interrupts.exp: Same.
12578 * gdb.gdb/python-selftest.exp: Same.
12579 * gdb.python/py-linetable.exp: Same.
12580 * gdb.python/py-type.exp: Same.
12581 * gdb.python/py-value-cc.exp: Same.
12582 * gdb.python/py-value.exp: Same.
12583
10e79639
YQ
125842014-11-28 Yao Qi <yao@codesourcery.com>
12585
12586 * gdb.base/break-probes.exp: Match library name prefixed with
12587 sysroot.
12588
f28a0564
SM
125892014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12590
12591 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12592 test expected output. Add parentheses for the call to print.
12593 Remove L suffix from integers.
12594
3fe1ce1d
DE
125952014-11-26 Doug Evans <dje@google.com>
12596
12597 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12598
84429e27
YQ
125992014-11-22 Yao Qi <yao@codesourcery.com>
12600
12601 * gdb.trace/entry-values.c: Remove asms.
12602 (foo): Add foo_label.
12603 (bar): Add bar_label.
12604 * gdb.trace/entry-values.exp: Remove code computing foo's
12605 length and bar's length.
12606 (Dwarf::assemble): Invoke function_range for bar and use
12607 MACRO_AT_func for foo.
12608
26741859
YQ
126092014-11-22 Yao Qi <yao@codesourcery.com>
12610
12611 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12612 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12613 Use .Lgcc43_procstart instead of gcc43.
12614
45e44d27
JB
126152014-11-21 Joel Brobecker <brobecker@adacore.com>
12616
12617 * gdb.ada/n_arr_bound: New testcase.
12618
458c8db8
SDJ
126192014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12620
12621 PR breakpoints/10737
12622 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12623 test_catch_syscall_multi_arch.
12624 (test_catch_syscall_multi_arch): New function.
12625
43f3e411
DE
126262014-11-20 Doug Evans <xdje42@gmail.com>
12627
12628 * gdb.base/maint.exp: Update expected output.
12629
0d7b2549
AA
126302014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12631
12632 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12633 4-byte instruction on S390.
12634
8908fca5
JB
126352014-11-19 Joel Brobecker <brobecker@adacore.com>
12636
12637 * gdb.ada/arr_arr: New testcase.
12638
4a46959e
JB
126392014-11-19 Joel Brobecker <brobecker@adacore.com>
12640
12641 * gdb.ada/pkd_arr_elem: New Testcase.
12642
470e2f4e
LM
126432014-11-18 Luis Machado <lgustavo@codesourcery.com>
12644
12645 * gdb.reverse/break-precsave: Expect completion message for
12646 core file reads.
12647 * gdb.reverse/consecutive-precsave.exp: Likewise.
12648 * gdb.reverse/finish-precsave.exp: Likewise.
12649 * gdb.reverse/i386-precsave.exp: Likewise.
12650 * gdb.reverse/machinestate-precsave.exp: Likewise.
12651 * gdb.reverse/sigall-precsave.exp: Likewise.
12652 * gdb.reverse/solib-precsave.exp: Likewise.
12653 * gdb.reverse/step-precsave.exp: Likewise.
12654 * gdb.reverse/until-precsave.exp: Likewise.
12655 * gdb.reverse/watch-precsave.exp: Likewise.
12656
a267f3ad
AA
126572014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12658
12659 * gdb.base/bp-permanent.c: Include unistd.h.
12660 * gdb.python/py-framefilter-mi.c (main): Add return type.
12661 * gdb.python/py-framefilter.c (main): Likewise.
12662 * gdb.trace/actions-changed.c (main): Likewise.
12663
12084a9a
AA
126642014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12665
12666 * gdb.mi/until.c: Add eye-catchers.
12667 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12668 line numbers.
12669
dc7e1a77
AA
126702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12671
12672 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12673 function header variants in break1.c.
12674 * gdb.base/ena-dis-br.exp: Likewise.
12675 * gdb.base/hbreak2.exp: Likewise.
12676 * gdb.reverse/until-precsave.exp: Drop references to removed
12677 non-prototype function header variants in ur1.c.
12678 * gdb.reverse/until-reverse.exp: Likewise.
12679
41c77605
PM
126802014-11-17 Petr Machata <pmachata@redhat.com>
12681
12682 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12683 ${_cu_offset_size} bytes abbrev offset.
12684
34248c3a
DE
126852014-11-15 Doug Evans <xdje42@gmail.com>
12686
12687 PR symtab/17559
12688 * gdb.base/line-symtabs.exp: New file.
12689 * gdb.base/line-symtabs.c: New file.
12690 * gdb.base/line-symtabs.h: New file.
12691
646da059
YQ
126922014-11-14 Yao Qi <yao@codesourcery.com>
12693
12694 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12695 (func): Add label func_label.
12696 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12697 Replace low_pc and high_pc with MACRO_AT_range.
12698 Replace name, low_pc and high_pc with MACRO_AT_func.
12699
9301ebe6
YQ
127002014-11-14 Yao Qi <yao@codesourcery.com>
12701
12702 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12703 Replace name, low_pc and high_pc with MACRO_AT_func.
12704
f166b542
YQ
127052014-11-14 Yao Qi <yao@codesourcery.com>
12706
12707 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12708 produce debug information.
12709 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12710
0f6e71e3
YQ
127112014-11-14 Yao Qi <yao@codesourcery.com>
12712
12713 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12714 object and get function length.
12715 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12716 with MACRO_AT_func.
12717 (top-level): Replace gdb_compile and clean_restart with
12718 prepare_for_testing.
12719 * gdb.dwarf2/main.c (main): Add label main_label.
12720
876c4df9
YQ
127212014-11-14 Yao Qi <yao@codesourcery.com>
12722
12723 * lib/dwarf.exp (function_range): New procedure.
12724 (Dwarf::_handle_macro_at_func): New procedure.
12725 (Dwarf::_handle_macro_at_range): New procedure.
12726 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12727
02ad9cf1
YQ
127282014-11-14 Yao Qi <yao@codesourcery.com>
12729
12730 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12731 (_handle_attribute): New procedure.
12732
a59add0c
AA
127332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12734
12735 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12736 * gdb.base/call-sc.c (zed): Likewise.
12737 * gdb.base/checkpoint.c (main): Likewise.
12738 * gdb.base/dump.c (main): Likewise.
12739 * gdb.base/gcore.c (main): Likewise.
12740 * gdb.base/huge.c (main): Likewise.
12741 * gdb.base/multi-forks.c (main): Likewise.
12742 * gdb.base/pr10179-a.c (main): Likewise.
12743 * gdb.base/savedregs.c (main): Likewise.
12744 * gdb.base/sigaltstack.c (main): Likewise.
12745 * gdb.base/siginfo.c (main): Likewise.
12746 * gdb.base/structs.c (zed): Likewise.
12747 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12748 * gdb.mi/mi-syn-frame.c (main): Likewise.
12749 * gdb.mi/until.c (foo, main): Likewise.
12750 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12751 * gdb.base/solib-weak.c (foo): Declare.
12752 * gdb.base/attach-twice.c: Include stdio.h.
12753 * gdb.base/weaklib1.c: Likewise.
12754 * gdb.base/weaklib2.c: Likewise.
12755 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12756 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12757 unistd.h.
12758 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12759 * gdb.mi/mi-exit-code.c: Likewise.
12760 * gdb.base/break-interp-lib.c: Include string.h.
12761 * gdb.base/coremaker.c: Likewise.
12762 * gdb.base/testenv.c: Likewise.
12763 * gdb.python/py-finish-breakpoint.c: Likewise.
12764 * gdb.base/inferior-died.c: Include sys/wait.h.
12765 * gdb.base/fileio.c: Include time.h.
12766 * gdb.base/async-shell.c: Include unistd.h.
12767 * gdb.base/dprintf-non-stop.c: Likewise.
12768 * gdb.base/info-os.c: Likewise.
12769 * gdb.mi/mi-console.c: Likewise.
12770 * gdb.mi/watch-nonstop.c: Likewise.
12771 * gdb.python/py-events.c: Likewise.
12772 * gdb.base/async.c (baz): Move up before its invocation.
12773 * gdb.base/code_elim2.c (my_global_func): Likewise.
12774 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12775 * gdb.base/advance.c (func2): Likewise.
12776
3b5d5997
AA
127772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12778
12779 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12780 variant.
12781 * gdb.base/annota3.c: Likewise.
12782 * gdb.base/async.c: Likewise.
12783 * gdb.base/average.c: Likewise.
12784 * gdb.base/call-ar-st.c: Likewise.
12785 * gdb.base/call-rt-st.c: Likewise.
12786 * gdb.base/call-sc.c: Likewise.
12787 * gdb.base/call-strs.c: Likewise.
12788 * gdb.base/ending-run.c: Likewise.
12789 * gdb.base/execd-prog.c: Likewise.
12790 * gdb.base/exprs.c: Likewise.
12791 * gdb.base/foll-exec.c: Likewise.
12792 * gdb.base/foll-fork.c: Likewise.
12793 * gdb.base/foll-vfork.c: Likewise.
12794 * gdb.base/funcargs.c: Likewise.
12795 * gdb.base/gcore.c: Likewise.
12796 * gdb.base/jump.c: Likewise.
12797 * gdb.base/langs0.c: Likewise.
12798 * gdb.base/langs1.c: Likewise.
12799 * gdb.base/langs2.c: Likewise.
12800 * gdb.base/mips_pro.c: Likewise.
12801 * gdb.base/nodebug.c: Likewise.
12802 * gdb.base/opaque0.c: Likewise.
12803 * gdb.base/opaque1.c: Likewise.
12804 * gdb.base/recurse.c: Likewise.
12805 * gdb.base/run.c: Likewise.
12806 * gdb.base/scope0.c: Likewise.
12807 * gdb.base/scope1.c: Likewise.
12808 * gdb.base/setshow.c: Likewise.
12809 * gdb.base/setvar.c: Likewise.
12810 * gdb.base/shmain.c: Likewise.
12811 * gdb.base/shr1.c: Likewise.
12812 * gdb.base/shr2.c: Likewise.
12813 * gdb.base/sigall.c: Likewise.
12814 * gdb.base/signals.c: Likewise.
12815 * gdb.base/so-indr-cl.c: Likewise.
12816 * gdb.base/solib2.c: Likewise.
12817 * gdb.base/structs.c: Likewise.
12818 * gdb.base/sum.c: Likewise.
12819 * gdb.base/vforked-prog.c: Likewise.
12820 * gdb.base/watchpoint.c: Likewise.
12821 * gdb.reverse/shr2.c: Likewise.
12822 * gdb.reverse/until-reverse.c: Likewise.
12823 * gdb.reverse/ur1.c: Likewise.
12824 * gdb.reverse/watch-reverse.c: Likewise.
12825
066a77c5
AA
128262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12827
12828 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12829 variant.
12830 * gdb.base/sepdebug.exp: Drop references to removed code.
12831
4f204ea5
AA
128322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12833
12834 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12835 variant. Preserve original line numbering.
12836 * gdb.base/list1.c: Likewise.
12837
3b377a3a
AA
128382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12839
12840 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12841 variant.
12842 * gdb.base/break1.c: Likewise.
12843 * gdb.base/break.exp: Drop references to removed code.
12844
e444df73
AA
128452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12846
12847 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12848 variant.
12849
8008f2a7
AA
128502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12851
12852 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12853
a5a06887
AA
128542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12855
12856 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12857 logic into perform_all_tests() and invoke it with and without
12858 function header prototypes.
12859 (do_function_calls): Remove conditional XFAIL for PR 5318.
12860 (rerun_and_prepare): Remove duplicate code.
12861 (perform_all_tests): New. Main logic moved here.
12862
44dba9b9
AA
128632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12864
12865 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12866 code guarded by #ifdef NO_PROTOTYPES.
12867 (t_double_many_args): Likewise.
12868 (DEF_FUNC_MANY_ARGS_1): Likewise.
12869 (DEF_FUNC_VALUES_1): Likewise.
12870 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12871 guarded by #ifdef PROTOTYPES.
12872
d1fbcd56
AA
128732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12874
12875 * gdb.mi/mi-console.c: Add eye-catcher.
12876 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12877 instead of literal line number.
12878
b0e59b8f
AA
128792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12880
12881 * gdb.base/shr2.c: Add eye-catcher.
12882 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12883 line number.
12884
78f98cca
AA
128852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12886
12887 * gdb.base/jump.c: Add eye-catchers.
12888 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12889 numbers.
12890
58fa2af0
AA
128912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12892
12893 * gdb.base/execd-prog.c: Add eye-catchers.
12894 * gdb.base/foll-exec.c: Likewise.
12895 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12896 line numbers.
12897
04e5059b
AA
128982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12899
12900 * gdb.base/ending-run.c: Add eye-catchers.
12901 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12902 literal line numbers.
12903
dbfdb174
AA
129042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12905
12906 * gdb.base/call-rt-st.c: Add eye-catchers.
12907 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12908 literal line numbers.
12909
888a2ade
AA
129102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12911
12912 * gdb.base/call-ar-st.c: Add eye-catchers.
12913 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12914 literal line numbers.
12915
6acc2dde
AA
129162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12917
12918 * gdb.base/average.c: Add eye-catchers.
12919 * gdb.base/sum.c: Likewise.
12920 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12921 regexps dynamically.
12922
9ecfcd1d
AA
129232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12924
12925 * gdb.base/solib1.c: Add eye-catchers.
12926 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12927 literal line numbers.
12928
78708b7c
PA
129292014-11-12 Pedro Alves <palves@redhat.com>
12930
12931 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12932 leader has exited.
12933
af48d08f
PA
129342014-11-12 Pedro Alves <palves@redhat.com>
12935
12936 * gdb.arch/i386-bp_permanent.c: New file.
12937 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12938 (srcfile): Set to i386-bp_permanent.c.
12939 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12940 that stepi does not execute the 'leave' instruction, instead of
12941 testing it does execute.
12942 * gdb.base/bp-permanent.c: New file.
12943 * gdb.base/bp-permanent.exp: New file.
12944
af3768e9
DE
129452014-11-10 Doug Evans <xdje42@gmail.com>
12946
12947 PR symtab/17564
12948 * gdb.base/symtab-search-order.exp: New file.
12949 * gdb.base/symtab-search-order.c: New file.
12950 * gdb.base/symtab-search-order-1.c: New file.
12951 * gdb.base/symtab-search-order-shlib-1.c: New file.
12952
9de00a4a
PA
129532014-11-07 Pedro Alves <palves@redhat.com>
12954
12955 PR gdb/17511
12956 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12957 i?86-*-linux*.
12958
e0f52461
SC
129592014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12960
12961 PR c++/17494
12962 * gdb.cp/pr17494.cc: New file.
12963 * gdb.cp/pr17494.exp: New file.
12964
6ce8c980
YQ
129652014-11-02 Yao Qi <yao@codesourcery.com>
12966
12967 * gdb.python/python.exp: Get working directory and match the
12968 output of "set extended-prompt \\w " with it.
12969
02be9a71
DE
129702014-10-30 Doug Evans <dje@google.com>
12971
12972 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12973 in objfiles.
12974 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12975 in progspaces.
12976
3bdff46b
LM
129772014-10-30 Janis Johnson <janisjo@codesourcery.com>
12978
12979 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12980 * gdb.base/realname-expand.exp: Likewise.
12981 * gdb.linespec/macro-relative.exp: Likewise.
12982
ab917dfb
PA
129832014-10-29 Pedro Alves <palves@redhat.com>
12984
12985 PR gdb/17408
12986 * gdb.threads/schedlock.c (some_function): New function.
12987 (call_function): New global.
12988 (MAYBE_CALL_SOME_FUNCTION): New macro.
12989 (thread_function): Call it.
12990 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12991 and use it instead of a global counter. Adjust all callers.
12992 (get_current_thread): Use "find current thread" for test message
12993 here rather than having all callers pass down the same string.
12994 (goto_loop): New procedure, factored out from ...
12995 (my_continue): ... this.
12996 (step_ten_loops): Change parameter from test message to command to
12997 use. Adjust.
12998 (list_count): Delete global.
12999 (check_result): New procedure, factored out from duplicate top
13000 level code.
13001 (continue tests): Wrap in with_test_prefix.
13002 (test_step): New procedure, factored out from duplicate top level
13003 code.
13004 (top level): Test "step" in combination with all scheduler-locking
13005 modes. Test "next" in combination with all scheduler-locking
13006 modes, and in combination with stepping over a function call or
13007 not.
13008 * gdb.threads/next-bp-other-thread.c: New file.
13009 * gdb.threads/next-bp-other-thread.exp: New file.
13010
d3d4baed
PA
130112014-10-29 Pedro Alves <palves@redhat.com>
13012
13013 PR python/17372
13014 * gdb.python/python.exp: Test a multi-line command that spawns
13015 interactive Python.
13016 * gdb.base/multi-line-starts-subshell.exp: New file.
13017
563e8d85
YQ
130182014-10-29 Yao Qi <yao@codesourcery.com>
13019
13020 * gdb.base/fileio.exp: Make directories on host.
13021
0ea4d52e
YQ
130222014-10-29 Yao Qi <yao@codesourcery.com>
13023
13024 * gdb.base/fileio.c (test_write): Close the file.
13025
7f5ef605
PA
130262014-10-28 Pedro Alves <palves@redhat.com>
13027
13028 PR gdb/12623
13029 * gdb.base/sigstep.c (no_handler): New global.
13030 (main): If 'no_handler is true, set the signal handlers to
13031 SIG_IGN.
13032 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13033 with_sw_watch and no_handler parameters. Handle them.
13034 (top level) <stepping over handler when stopped at a breakpoint
13035 test>: Add a test axis for testing with a software watchpoint, and
13036 another for testing with the signal handler set to SIG_IGN.
13037 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13038 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13039
abbdbd03
PA
130402014-10-28 Pedro Alves <palves@redhat.com>
13041
13042 PR gdb/17511
13043 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13044 * gdb.base/sigstep.exp (other_handler_location): New global.
13045 (advance): Support stepping into the signal handler, and running
13046 commands while in the handler.
13047 (in_handler_map): New global.
13048 (top level): In the advance test, add combinations for getting
13049 into the handler with stepping commands, and for running commands
13050 in the handler. Add comment descripting the advancei tests.
13051
1df4399f
PA
130522014-10-28 Pedro Alves <palves@redhat.com>
13053
13054 * gdb.base/sigstep.exp: Use build_executable instead of
13055 prepare_for_testing.
13056 (top level): Move code that starts GDB, runs to main and creates a
13057 display to ...
13058 (restart): ... this new procedure.
13059 (top level): Move backtrace from signal handler test to ...
13060 (validate_backtrace): ... this new procedure.
13061 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13062 with_test_prefix. Always restart GDB.
13063 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13064 with_test_prefix. Always restart GDB. No need to delete
13065 breakpoints after the test.
13066 (test_skip_handler): Remove prefix parameter.
13067 (skip_over_handler, breakpoint_to_handler)
13068 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13069 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13070 restart GDB. No need to delete breakpoints after the test.
13071 (top level): Use foreach to call the test procedures with
13072 different commands.
13073
a5b6e449
PA
130742014-10-28 Pedro Alves <palves@redhat.com>
13075
13076 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13077 instead of GNATS numbers.
13078 * gdb.base/sigbpt.exp: Likewise.
13079 * gdb.base/siginfo.exp: Likewise.
13080 * gdb.base/sigstep.exp: Likewise.
13081
e5f8a7cc
PA
130822014-10-27 Pedro Alves <palves@redhat.com>
13083
13084 * gdb.base/sigstep.c (dummy): New global.
13085 (main): Issue a couple writes to the new global.
13086 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13087 procedures.
13088 (skip_over_handler): Use test_skip_handler.
13089 (top level): Call skip_over_handler for stepi and nexti too.
13090 (breakpoint_over_handler): Use test_skip_handler.
13091 (top level): Call breakpoint_over_handler for stepi and nexti too.
13092
763905a3
YQ
130932014-10-27 Yao Qi <yao@codesourcery.com>
13094
13095 * gdb.trace/tfile.c (adjust_function_address)
13096 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13097 function descriptor.
13098
6f259a23
DB
130992014-10-24 Don Breazeal <donb@codesourcery.com>
13100
13101 * gdb.base/foll-fork.exp (test_follow_fork,
13102 catch_fork_child_follow): Check for updated fork messages emitted
13103 from infrun.c.
13104 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13105 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13106 vfork_and_exec_child_follow_through_step): Check for updated vfork
13107 messages emitted from infrun.c.
13108
09dd9a69
PA
131092014-10-24 Pedro Alves <palves@redhat.com>
13110
13111 * gdb.base/corefile.exp: Remove references to ultrix.
13112 * gdb.base/interrupt.exp: Likewise.
13113 * gdb.base/whatis.exp: Likewise.
13114 * gdb.gdb/selftest.exp: Likewise.
13115 * gdb.threads/manythreads.exp: Likewise.
13116 * gdb.threads/print-threads.exp: Likewise.
13117 * gdb.threads/pthreads.exp:: Likewise.
13118 * gdb.threads/schedlock.exp: Likewise.
13119
3433cfa5
SC
131202014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13121
13122 * gdb.cp/non-trivial-retval.cc: Add a test case.
13123 * gdb.cp/non-trivial-retval.exp: Add a test.
13124
092f880b
YQ
131252014-10-20 Yao Qi <yao@codesourcery.com>
13126
13127 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13128 * gdb.python/py-objfile-script-gdb.py: New file.
13129 * gdb.python/py-objfile-script.exp: Update reference to
13130 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13131 of remote_download. Remove the dest file.
13132
acbdb7f3
YQ
131332014-10-20 Yao Qi <yao@codesourcery.com>
13134
13135 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13136 * gdb.base/step-line.exp: Likewise.
13137 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13138 * gdb.dwarf2/dw2-basic.exp: Likewise.
13139 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13140 * gdb.dwarf2/dw2-filename.exp: Likewise.
13141 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13142 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13143 * gdb.dwarf2/dw2-producer.exp: Likewise.
13144 * gdb.dwarf2/mac-fileno.exp: Likewise.
13145 * gdb.python/py-frame-args.exp: Likewise.
13146 * gdb.python/py-framefilter.exp: Likewise.
13147 * gdb.python/py-mi.exp: Likewise.
13148 * gdb.python/py-objfile-script.exp: Likewise
13149 * gdb.python/py-pp-integral.exp: Likewise.
13150 * gdb.python/py-pp-re-notag.exp: Likewise.
13151 * gdb.python/py-prettyprint.exp: Likewise.
13152 * gdb.python/py-section-script.exp: Likewise.
13153 * gdb.python/py-typeprint.exp: Likewise.
13154 * gdb.python/py-xmethods.exp: Likewise.
13155 * gdb.stabs/weird.exp: Likewise.
13156 * gdb.xml/tdesc-regs.exp: Likewise.
13157
bd286a29
KCY
131582014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13159
13160 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13161 (out_cu): Use addr_len for the size of addresses.
13162 (out_line): Likewise. Size DW_LNE_set_address instruction
13163 according to addr_len.
13164 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13165 (FUNC): Add START_INSNS to definition.
13166
673dc4a0
YQ
131672014-10-18 Yao Qi <yao@codesourcery.com>
13168
13169 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13170 gdb_has_argv0 return true.
13171 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13172 check [target_info exists noargs], check [gdb_has_argv0]
13173 instead.
13174 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13175 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13176 procedures.
13177
4ffbba72
DE
131782014-10-17 Doug Evans <dje@google.com>
13179
13180 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13181 event.
13182 * gdb.python/py-events.py: Add clear_objfiles event.
13183
d096d8c1
DE
131842014-10-17 Doug Evans <dje@google.com>
13185
13186 * gdb.python/py-objfile.exp: Test progspace attribute.
13187
a80db015
LM
131882014-10-17 Luis Machado <lgustavo@codesourcery.com>
13189
13190 * gdb.guile/scm-breakpoint.exp: Do not assume any
13191 directory separators when matching source file paths.
13192 * gdb.python/py-breakpoint.exp: Likewise.
13193 * gdb.reverse/break-precsave.exp: Likewise.
13194 * gdb.reverse/break-reverse.exp: Likewise.
13195 * gdb.reverse/consecutive-precsave.exp: Likewise.
13196 * gdb.reverse/finish-precsave.exp: Likewise.
13197 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13198 * gdb.reverse/finish-reverse.exp: Likewise.
13199 * gdb.reverse/i386-precsave.exp: Likewise.
13200 * gdb.reverse/i387-env-reverse.exp: Likewise.
13201 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13202 * gdb.reverse/machinestate-precsave.exp: Likewise.
13203 * gdb.reverse/machinestate.exp: Likewise.
13204 * gdb.reverse/sigall-precsave.exp: Likewise.
13205 * gdb.reverse/solib-precsave.exp: Likewise.
13206 * gdb.reverse/step-precsave.exp: Likewise.
13207 * gdb.reverse/until-precsave.exp: Likewise.
13208 * gdb.reverse/watch-precsave.exp: Likewise.
13209 * gdb.reverse/watch-reverse.exp: Likewise.
13210
b22089ab
YQ
132112014-10-17 Yao Qi <yao@codesourcery.com>
13212
13213 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13214 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13215
6c4486e6
PA
132162014-10-17 Pedro Alves <palves@redhat.com>
13217
13218 PR gdb/17471
13219 * gdb.base/bg-execution-repeat.c: New file.
13220 * gdb.base/bg-execution-repeat.exp: New file.
13221
0ff33695
PA
132222014-10-17 Pedro Alves <palves@redhat.com>
13223
13224 PR gdb/17300
13225 * gdb.base/continue-all-already-running.c: New file.
13226 * gdb.base/continue-all-already-running.exp: New file.
13227
6fdebc3d
PA
132282014-10-17 Pedro Alves <palves@redhat.com>
13229
13230 PR gdb/17472
13231 * gdb.base/annota-input-while-running.c: New file.
13232 * gdb.base/annota-input-while-running.exp: New file.
13233
32a8097b
PA
132342014-10-17 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.base/callfuncs.exp: emove references to osf.
13237 * gdb.base/sigall.exp: Likewise.
13238 * gdb.gdb/selftest.exp: Likewise.
13239 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13240 * gdb.mi/non-stop.c: Likewise.
13241 * gdb.mi/pthreads.c: Likewise.
13242 * gdb.reverse/sigall-precsave.exp: Likewise.
13243 * gdb.reverse/sigall-reverse.exp: Likewise.
13244 * gdb.threads/pthreads.c: Likewise.
13245 * gdb.threads/pthreads.exp: Likewise.
13246
7a3517ff
YQ
132472014-10-17 Yao Qi <yao@codesourcery.com>
13248
13249 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13250 check 'target_info exists noargs'.
13251 (test_command_prompt_position): Likewise.
13252 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13253 Remove "set args".
13254 (progvar_simple_while_test): Likewise.
13255 (progvar_complex_if_while_test): Likewise.
13256 (if_while_breakpoint_command_test): Likewise.
13257 (infrun_breakpoint_command_test): Likewise.
13258 (breakpoint_command_test): Likewise.
13259 (watchpoint_command_test): Likewise.
13260 (bp_deleted_in_command_test): Likewise.
13261 (temporary_breakpoint_commands): Likewise.
13262
bb99c472
YQ
132632014-10-16 Yao Qi <yao@codesourcery.com>
13264
13265 * gdb.base/remotetimeout.exp: Remove noargs checking.
13266
7c16b83e
PA
132672014-10-15 Pedro Alves <palves@redhat.com>
13268
13269 PR breakpoints/9649
13270 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13271 * gdb.base/breakpoint-in-ro-region.exp
13272 (probe_target_hardware_step): New procedure.
13273 (top level): Probe hardware stepping and hardware breakpoint
13274 support. Test stepping through a read-only region, with both
13275 "breakpoint auto-hw" on and off and both "always-inserted" on and
13276 off.
13277
35a49624
IB
132782014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13279
13280 * gdb.dlang/demangle.exp: Update for demangling changes.
13281
2d1c107c
SC
132822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13283
13284 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13285 * gdb.cp/non-trivial-retval.exp: Add new tests.
13286
778811d5
SC
132872014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13288
13289 PR c++/13403
13290 PR c++/15154
13291 * gdb.cp/non-trivial-retval.cc: New file.
13292 * gdb.cp/non-trivial-retval.exp: New file.
13293
10c5f0a8
YQ
132942014-10-15 Yao Qi <yao@codesourcery.com>
13295
13296 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13297 remote host.
13298
65d7b369
YQ
132992014-10-15 Yao Qi <yao@codesourcery.com>
13300
13301 * gdb.python/py-symbol.exp: Match file base name if host is
13302 remote, otherwise match file name with dir name.
13303 * gdb.python/py-symtab.exp: Likewise.
13304 * gdb.python/python.exp: Likewise.
13305
46dc1394
YQ
133062014-10-15 Yao Qi <yao@codesourcery.com>
13307
13308 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13309 pattern.
13310 * gdb.python/py-symtab.exp: Likewise.
13311 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13312 locationn.
13313
c40cc657
JB
133142014-10-14 Joel Brobecker <brobecker@adacore.com>
13315
13316 * gdb.ada/addr_arith: New testcase.
13317
2abf49e1
MR
133182014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13319
13320 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13321 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13322 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13323 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13324
f7088df3
SDJ
133252014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13326
13327 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13328 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13329 * gdb.arch/stap-eval-lang-ada.exp: New file.
13330
4dc06805
YQ
133312014-10-14 Yao Qi <yao@codesourcery.com>
13332
13333 * gdb.mi/mi-var-child.c (nothing1): New function.
13334 (nothing2): New function.
13335 (do_children_tests): Set function pointers by nothing1 and
13336 nothing2.
13337 * gdb.mi/mi-var-child.exp: Step over new added statements.
13338 Update test to match the new output.
13339 * gdb.mi/var-cmd.c (nothing1): New function.
13340 (nothing2): New function.
13341 (do_children_tests): Set function pointers by nothing1 and
13342 nothing2.
13343 * gdb.mi/mi-var-display.exp: Update test to match output.
13344 Step to the line specified by $line_dct_nothing.
13345 Increase the number of lines to step.
13346
46a93de2
YQ
133472014-10-14 Yao Qi <yao@codesourcery.com>
13348
13349 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13350 tests.
13351 * gdb.mi/mi2-var-child.exp: Likewise.
13352
14ea52ee
DE
133532014-10-13 Doug Evans <dje@google.com>
13354
13355 * gdb.python/py-objfile.exp: Change name of file name test.
13356
e5c6e92b
DE
133572014-10-13 Doug Evans <dje@google.com>
13358
13359 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13360 from the start of the CU.
13361
c780cc2f
JK
133622014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13363 Yao Qi <yao@codesourcery.com>
13364
13365 Fix "save breakpoints" for "catch" command.
13366 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13367 Remove -nonewline. Match also the added "main" line.
13368
99894e11
JK
133692014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13370
13371 Fix "save breakpoints" for "disable $bpnum" command.
13372 * gdb.base/save-bp.c (main): Add label.
13373 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13374
6e1ac5a3
JK
133752014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13376
13377 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13378
754dd2b0
YQ
133792014-10-11 Yao Qi <yao@codesourcery.com>
13380
13381 * gdb.server/server-kill.exp: Execute command
13382 "set remote trace-status-packet on" before "tstatus".
13383
f90183d7
YQ
133842014-10-11 Yao Qi <yao@codesourcery.com>
13385
13386 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13387 (main): Call getppid.
13388 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13389 and continue to it. Read variable "server_pid".
13390
bf40a607
YQ
133912014-10-11 Yao Qi <yao@codesourcery.com>
13392
13393 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13394
052ca370
YQ
133952014-10-11 Yao Qi <yao@codesourcery.com>
13396
13397 * gdb.threads/thread-find.exp: Don't execute command
13398 "info threads".
13399 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13400 * gdb.threads/linux-dp.exp: Don't check the condition
13401 $threads_created equals to zero.
13402
3831839c
PA
134032014-10-10 Pedro Alves <palves@redhat.com>
13404
13405 * gdb.base/bigcore.exp: Remove references to IRIX.
13406 * gdb.base/funcargs.exp: Likewise.
13407 * gdb.base/interrupt.exp: Likewise.
13408 * gdb.base/mips_pro.exp: Likewise.
13409 * gdb.base/nodebug.exp: Likewise.
13410 * gdb.base/setvar.exp: Likewise.
13411 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13412
8b9a549d
PA
134132014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13414 Pedro Alves <palves@redhat.com>
13415
13416 PR symtab/14466
13417 * gdb.base/vdso-warning.c: New file.
13418 * gdb.base/vdso-warning.exp: New file.
13419
d48ba5e8
DE
134202014-10-02 Doug Evans <dje@google.com>
13421
13422 * gdb.base/structs.c (main): Don't run forever.
13423
2278c276
PA
134242014-10-02 Pedro Alves <palves@redhat.com>
13425
13426 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13427 (top level) <stop threads 1, stop threads 2>: Use it.
13428
b57bacec
PA
134292014-10-02 Pedro Alves <palves@redhat.com>
13430
13431 * gdb.threads/break-while-running.exp (test): Add new
13432 'update_thread_list' argument. Skip "info threads" if false.
13433 (top level): Add new 'update_thread_list' axis.
13434
13fd3ff3
PA
134352014-10-02 Pedro Alves <palves@redhat.com>
13436
13437 PR breakpoints/17431
13438 * gdb.base/execl-update-breakpoints.c: New file.
13439 * gdb.base/execl-update-breakpoints.exp: New file.
13440
0fec99e8
PA
134412014-10-01 Pedro Alves <palves@redhat.com>
13442
13443 * gdb.base/breakpoint-in-ro-region.c: New file.
13444 * gdb.base/breakpoint-in-ro-region.exp: New file.
13445
2ddf4301
SM
134462014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13447
13448 * gdb.mi/mi-exit-code.exp: New file.
13449 * gdb.mi/mi-exit-code.c: New file.
13450
6a5f3f43
YQ
134512014-09-30 Yao Qi <yao@codesourcery.com>
13452
13453 * lib/prelink-support.exp (build_executable_own_libs): Error if
13454 the target isn't native.
13455
345bcc73
YQ
134562014-09-30 Yao Qi <yao@codesourcery.com>
13457
13458 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13459 false.
13460
a25a5a45
PA
134612014-09-22 Pedro Alves <palves@redhat.com>
13462
13463 * gdb.threads/break-while-running.exp: New file.
13464 * gdb.threads/break-while-running.c: New file.
13465
00ba3162
YQ
134662014-09-19 Yao Qi <yao@codesourcery.com>
13467
13468 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13469 Invoke test. Restart GDB with --readnow and invoke test again.
13470
c3b7b696
YQ
134712014-09-19 Yao Qi <yao@codesourcery.com>
13472
13473 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13474 proc set_breakpoint_on_gcd_function. Invoke
13475 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13476 invoke set_breakpoint_on_gcd_function again.
13477
2b4fd423
DE
134782014-09-18 Doug Evans <dje@google.com>
13479
13480 * gdb.dwarf2/symtab-producer.exp: New file.
13481
a5947601
SDJ
134822014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13483
13484 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13485 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13486 * gdb.base/global-var-nested-by-dso.c: Likewise.
13487 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13488
91c19059
SDJ
134892014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13490 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.base/watch-bitfields.exp: Pass string other than test file
13493 name to prepare_for_testing.
13494 (watch): New procedure.
13495 (expect_watchpoint): Use with_test_prefix.
13496 (top level): Factor out tests to ...
13497 (test_watch_location, test_regular_watch): ... these new
13498 procedures, and use with_test_prefix and gdb_continue_to_end.
13499
bb9d5f81
PP
135002014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13501
13502 PR breakpoints/12526
13503 * gdb.base/watch-bitfields.exp: New file.
13504 * gdb.base/watch-bitfields.c: New file.
13505
635856f5
PA
135062014-09-16 Pedro Alves <palves@redhat.com>
13507
13508 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13509 software and hardware addresses, not software address against
13510 itself.
13511
7280ceea
PA
135122014-09-16 Pedro Alves <palves@redhat.com>
13513
13514 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13515 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13516
428b16bd
PA
135172014-09-16 Pedro Alves <palves@redhat.com>
13518
13519 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13520 files.
13521 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13522 "*-*-vxworks*" throughout.
13523 * gdb.base/break.exp: Likewise.
13524 * gdb.base/default.exp: Likewise.
13525 * gdb.base/scope.exp: Likewise.
13526 * gdb.base/sepdebug.exp: Likewise.
13527 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13528 throughout.
13529 * gdb.base/run.c: Likewise.
13530 * gdb.base/sepdebug.c: Likewise.
13531 * gdb.hp/gdb.aCC/run.c: Likewise.
13532 * gdb.reverse/until-reverse.c: Likewise.
13533 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13534
666d413c
YQ
135352014-09-16 Yao Qi <yao@codesourcery.com>
13536
13537 * boards/local-remote-host-native.exp: New file.
13538
57cbd724
DE
135392014-09-14 Doug Evans <xdje42@gmail.com>
13540
13541 * gdb.threads/queue-signal.c (thread_count): New variable.
13542 (thread_count_mutex, thread_count_condvar): New variables.
13543 (incr_thread_count, wait_all_threads_running): New functions.
13544 (main): Wait for all threads to be in their thread functions.
13545
81219e53
DE
135462014-09-13 Doug Evans <xdje42@gmail.com>
13547
13548 * gdb.threads/queue-signal.c: New file.
13549 * gdb.threads/queue-signal.exp: New file.
13550
3714cea7
DE
135512014-09-13 Doug Evans <xdje42@gmail.com>
13552
13553 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13554 be consistent with what default_gdb_init uses.
13555 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13556 the plain text of the prompt. Add some logging printfs.
13557 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13558
fa43b1d7
PA
135592014-09-12 Pedro Alves <palves@redhat.com>
13560
13561 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13562 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13563 * gdb.arch/i386-size-overlap.exp: Likewise.
13564 * gdb.arch/i386-size.exp: Likewise.
13565 * gdb.arch/i386-unwind.exp: Likewise.
13566 * gdb.base/a2-run.exp: Likewise.
13567 * gdb.base/break.exp: Likewise.
13568 * gdb.base/charset.exp: Likewise.
13569 * gdb.base/chng-syms.exp: Likewise.
13570 * gdb.base/commands.exp: Likewise.
13571 * gdb.base/dbx.exp: Likewise.
13572 * gdb.base/find.exp: Likewise.
13573 * gdb.base/funcargs.exp: Likewise.
13574 * gdb.base/jit-simple.exp: Likewise.
13575 * gdb.base/reread.exp: Likewise.
13576 * gdb.base/sepdebug.exp: Likewise.
13577 * gdb.base/step-bt.exp: Likewise.
13578 * gdb.cp/mb-inline.exp: Likewise.
13579 * gdb.cp/mb-templates.exp: Likewise.
13580 * gdb.objc/basicclass.exp: Likewise.
13581 * gdb.threads/killed.exp: Likewise.
13582
9d9bf2df
EBM
135832014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13584
13585 PR tdep/17379
13586 * gdb.arch/powerpc-stackless.S: New file.
13587 * gdb.arch/powerpc-stackless.exp: New file.
13588
1cf2f1b0
JK
135892014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13590
13591 * gdb.base/attach.c: Include unistd.h.
13592 (main): Call alarm. Add label postloop.
13593 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13594 gdb_breakpoint, gdb_continue_to_breakpoint.
13595 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13596
98880d46
PA
135972014-09-11 Pedro Alves <palves@redhat.com>
13598
13599 PR gdb/17347
13600 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13601 * gdb.base/attach.exp (test_command_line_attach_run): New
13602 procedure.
13603 (top level): Call it.
13604
4c92ff2c
PA
136052014-09-11 Pedro Alves <palves@redhat.com>
13606
13607 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13608 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13609 (do_command_attach_tests): Use spawn_wait_for_attach.
13610 * gdb.base/solib-overlap.exp: Likewise.
13611 * gdb.multi/multi-attach.exp: Likewise.
13612 * gdb.python/py-prompt.exp: Likewise.
13613 * gdb.python/py-sync-interp.exp: Likewise.
13614 * gdb.server/ext-attach.exp: Likewise.
13615
3adc1a7d
GKB
136162014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13617
13618 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13619 command in testcase. Simplify testcase.
13620
96334934
JB
136212014-09-10 Joel Brobecker <brobecker@adacore.com>
13622
13623 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13624
eb479039
JB
136252014-09-10 Joel Brobecker <brobecker@adacore.com>
13626
13627 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13628
deede10c
JB
136292014-09-10 Joel Brobecker <brobecker@adacore.com>
13630
13631 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13632
7828a5f5
JB
136332014-09-10 Joel Brobecker <brobecker@adacore.com>
13634
13635 * gdb.dwarf2/dynarr-ptr.c: New file.
13636 * gdb.dwarf2/dynarr-ptr.exp: New file.
13637
33aeebcf
MR
136382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13639
13640 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13641 of 30 rather than hardcoding 120 for a slow test case. Take the
13642 `gdb,timeout' target setting into account for this calculation.
13643 Don't extend the timeout for the test cases that don't need it.
13644
7b415901
MR
136452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13646
13647 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13648 a factor of 2 for a slow test case. Take the `gdb,timeout'
13649 target setting into account for this calculation.
13650 * gdb.reverse/until-precsave.exp: Increase the timeout by
13651 a factor of 15 and 3 respectively rather than adding 120
13652 for a pair of slow test cases. Take the `gdb,timeout'
13653 target setting into account for this calculation.
13654
4a40f85a
MR
136552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13656
13657 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13658 timeout, don't pass one down to gdb_expect.
13659 (gdb_expect): Rework timeout selection.
13660
09635af7
MR
136612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13662
13663 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13664 exception on timeout.
13665 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13666 (gdbserver_start_extended): Catch any `gdbserver_start' error
13667 exceptions.
13668 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13669 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13670 `gdbserver_gdb_load' error exceptions.
13671
2bdd10b7
MR
136722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13673
13674 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13675 120 on waiting for the TCP socket to open.
13676
316935f0
DE
136772014-09-09 Doug Evans <xdje42@gmail.com>
13678
13679 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13680 _caller_matches, _any_caller_is, _any_caller_matches.
13681
83740597
DE
136822014-09-09 Doug Evans <xdje42@gmail.com>
13683
13684 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13685
4c122fc3
YQ
136862014-09-09 Yao Qi <yao@codesourcery.com>
13687
13688 * gdb.mi/mi-var-display.exp: Set print symbol off.
13689
a9f116cb
GKB
136902014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13691
13692 PR gdb/17035
13693 * gdb.base/commands.exp: Add tests to verify user-defined
13694 commands with empty bodies.
13695 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13696 python commands in `show user command`.
13697 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13698 scheme commands in `show user command`.
13699
c75bd3a2
JK
137002014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13701
13702 PR python/17355
13703 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13704 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13705 * gdb.python/py-framefilter-invalidarg.exp: New file.
13706 * gdb.python/py-framefilter-invalidarg.py: New file.
13707
faa42425
DE
137082014-09-06 Doug Evans <xdje42@gmail.com>
13709
13710 PR 15276
13711 * gdb.python/py-caller-is.c: New file.
13712 * gdb.python/py-caller-is.exp: New file.
13713
474ca4f6
SDJ
137142014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13715
13716 PR gdb/17235
13717 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13718 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13719
eb0b0463
SDJ
137202014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13721
13722 PR fortran/17237
13723 * gdb.fortran/print-formatted.exp: New file.
13724 * gdb.fortran/print-formatted.f90: Likewise.
13725
5f3b99cf
SS
137262014-09-03 Sasha Smundak <asmundak@google.com>
13727
13728 * gdb.python/py-frame.exp: Test Frame.read_register.
13729
7d793aa9
SDJ
137302014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13731
13732 PR python/16699
13733 * gdb.python/py-completion.exp: New file.
13734 * gdb.python/py-completion.py: Likewise.
13735
fb0576e9
DE
137362014-08-28 Doug Evans <dje@google.com>
13737
13738 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13739 eax,etc. are live with values set by gdb and thus the compiler can't
13740 use them.
13741 * gdb.arch/i386-pseudo.c (main): Ditto.
13742
ee92b0dd
DE
137432014-08-27 Doug Evans <dje@google.com>
13744
13745 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13746
6649db35
DE
137472014-08-25 Doug Evans <dje@google.com>
13748
13749 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13750 (main): Ditto.
13751
564b7600
DE
137522014-08-25 Doug Evans <dje@google.com>
13753
13754 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13755
3881fb67
YQ
137562014-08-24 Yao Qi <yao@codesourcery.com>
13757
13758 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13759 symbol off.
13760 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13761
a05a36a5
DE
137622014-08-22 Doug Evans <dje@google.com>
13763
13764 PR 17276
13765 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13766 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13767 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13768
7c343b48
YQ
137692014-08-22 Yao Qi <yao@codesourcery.com>
13770
13771 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13772 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13773 * gdb.python/python.exp: Likewise. Use .py file on the host
13774 instead of the build.
13775
22fd09ae
JK
137762014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13777
13778 * gdb.threads/gcore-stale-thread.c: New file.
13779 * gdb.threads/gcore-stale-thread.exp: New file.
13780
a8454a7c
PA
137812014-08-21 Pedro Alves <palves@redhat.com>
13782
13783 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13784 * gdb.base/gcore-relro-pie.exp: Likewise.
13785 * gdb.base/gcore-relro.exp: Likewise.
13786 * gdb.base/gcore.exp: Likewise.
13787 * gdb.base/print-symbol-loading.exp: Likewise.
13788 * gdb.threads/gcore-thread.exp: Likewise.
13789 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13790
2a31c623
PA
137912014-08-20 Pedro Alves <palves@redhat.com>
13792 Jan Kratochvil <jan.kratochvil@redhat.com>
13793
13794 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13795 configure.
13796 (EXPECT): Handle READ1 being set.
13797 (all): Depend on EXTRA_RULES.
13798 (check-read1, expect-read1, read1.so, read1): New rules.
13799 * README (Testsuite Parameters): Document the READ1 make variable.
13800 (Race detection): New section.
13801 * configure: Regenerate.
13802 * configure.ac: If build==host==target, and running under a
13803 GNU/glibc system, add read1 to the extra Makefile rules.
13804 (EXTRA_RULES): AC_SUBST it.
13805 * lib/read1.c: New file.
13806
d36430db
JB
138072014-08-20 Joel Brobecker <brobecker@adacore.com>
13808
13809 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13810 the handling of variables declared as a typedef to an array
13811 which a DW_AT_data_location attribute.
13812
9a0dc9e3
PA
138132014-08-19 Andrew Burgess <aburgess@broadcom.com>
13814 Pedro Alves <palves@redhat.com>
13815
13816 PR symtab/14604
13817 PR symtab/14605
13818 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13819 gdb_test.
13820
0718a8da
PA
138212014-08-19 Pedro Alves <palves@redhat.com>
13822
13823 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13824
13b448cd
YQ
138252014-08-19 Yao Qi <yao@codesourcery.com>
13826
13827 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13828 right line.
13829
1cbf5077
DB
138302014-08-18 David Blaikie <dblaikie@gmail.com>
13831
13832 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13833
bf0fae19
JB
138342014-08-18 Joel Brobecker <brobecker@adacore.com>
13835
13836 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13837 attribute in array range.
13838
3c8c5dcc
JB
138392014-08-18 Joel Brobecker <brobecker@adacore.com>
13840
13841 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13842
e66d4446
SC
138432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13844
13845 PR c++/17132
13846 * gdb.cp/pr17132.cc: New file.
13847 * gdb.cp/pr17132.exp: New file.
13848
940df408
SC
138492014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13850
13851 * gdb.python/py-xmethods.py (A_getarrayind)
13852 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13853 Use 'print' with function call syntax.
13854 (E_method_matcher.match): Fix tab vs space indentation mixup.
13855
ebcc6c3a
YQ
138562014-08-15 Yao Qi <yao@codesourcery.com>
13857
13858 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13859 false.
13860
775e0f04
YQ
138612014-08-15 Yao Qi <yao@codesourcery.com>
13862
13863 * gdb.cp/casts.exp: Set print symbol off.
13864 * gdb.cp/class2.exp: Likewise.
13865 * gdb.cp/overload.exp: Likewise.
13866 * gdb.cp/templates.exp: Likewise.
13867
d769e349
DE
138682014-08-11 Doug Evans <dje@google.com>
13869
13870 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13871 (test_load_shlib): Update.
13872
20c6f1e1
YQ
138732014-08-09 Yao Qi <yao@codesourcery.com>
13874
13875 * gdb.base/display.exp: Invoke is_address_zero_readable.
13876 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13877 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13878 * gdb.base/hbreak-unmapped.exp: Return if
13879 is_address_zero_readable returns true.
13880 * gdb.base/signest.exp: Likewise.
13881 * gdb.base/signull.exp: Likewise.
13882 * gdb.base/sigbpt.exp: Likewise.
13883 * gdb.guile/scm-disasm.exp: Do the test if
13884 is_address_zero_readable returns false.
13885 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13886 * gdb.python/py-arch.exp: Likewise.
13887 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13888 * lib/gdb.exp (is_address_zero_readable): New proc.
13889
5792e8e3
YQ
138902014-08-09 Yao Qi <yao@codesourcery.com>
13891
13892 PR testsuite/13443
13893 * gdb.mi/mi-var-display.exp: Make test messages unique.
13894
3cecbbbe
TT
138952014-08-04 Tom Tromey <tromey@redhat.com>
13896
13897 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13898 target 0".
13899
00b51ff5
TT
139002014-08-04 Tom Tromey <tromey@redhat.com>
13901
13902 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13903 "target_resume".
13904
6908c509
JB
139052014-08-01 Joel Brobecker <brobecker@adacore.com>
13906
13907 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13908 inner_vla_struct_object_size.
13909 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13910 as xfail.
13911
cc6563d2
PA
139122014-07-30 Pedro Alves <palves@redhat.com>
13913
13914 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13915 comment.
13916
7e09a223
YQ
139172014-07-29 Yao Qi <yao@codesourcery.com>
13918
13919 PR gdb/17206
13920 * gdb.base/until-nodebug.exp: New.
13921
7ebdbe92
DE
139222014-07-28 Doug Evans <xdje42@gmail.com>
13923
13924 PR guile/17203
13925 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13926 previously existing parameter, and previously ambiguously spelled
13927 parameter.
13928
fdb1adc6
WN
139292014-07-28 Will Newton <will.newton@linaro.org>
13930
13931 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13932
186fcde0
DE
139332014-07-26 Ludovic Courtès <ludo@gnu.org>
13934 Doug Evans <xdje42@gmail.com>
13935
13936 PR guile/17146
13937 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13938
70509625
PA
139392014-07-25 Pedro Alves <palves@redhat.com>
13940
13941 * gdb.threads/signal-command-handle-nopass.c: New file.
13942 * gdb.threads/signal-command-handle-nopass.exp: New file.
13943 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13944 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13945 * gdb.threads/signal-delivered-right-thread.c: New file.
13946 * gdb.threads/signal-delivered-right-thread.exp: New file.
13947
c3f814a1
PA
139482014-07-25 Pedro Alves <palves@redhat.com>
13949
13950 * gdb.base/double-prompt-target-event-error.exp
13951 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13952 match.
13953 (cancel_pagination_in_target_event): Rework double prompt
13954 detection.
13955 * gdb.base/paginate-after-ctrl-c-running.exp
13956 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13957 <return>' match.
13958 * gdb.base/paginate-bg-execution.exp
13959 (test_bg_execution_pagination_return)
13960 (test_bg_execution_pagination_cancel): Remove '-notransfer
13961 <return>' matches.
13962 * gdb.base/paginate-execution-startup.exp
13963 (test_fg_execution_pagination_return)
13964 (test_fg_execution_pagination_cancel): Remove '-notransfer
13965 <return>' matches.
13966 * gdb.base/paginate-inferior-exit.exp
13967 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13968 match.
13969 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13970 * lib/gdb.exp (pagination_prompt): Run text through
13971 string_to_regexp.
13972 (gdb_test_multiple): Match $pagination_prompt instead of
13973 "<return>".
13974 (string_to_regexp): Move to lib/gdb-utils.exp.
13975
e214cf6c
JK
139762014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13977
13978 * gdb.arch/amd64-entry-value-paramref.S: New file.
13979 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13980 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13981 * gdb.arch/amd64-optimout-repeat.S: New file.
13982 * gdb.arch/amd64-optimout-repeat.c: New file.
13983 * gdb.arch/amd64-optimout-repeat.exp: New file.
13984
17d0c5c8
JK
139852014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13986
13987 PR gdb/17170
13988 * gdb.base/statistics.exp: New file.
13989
b8b8facf
DE
139902014-07-17 Doug Evans <dje@google.com>
13991
74b49205 13992 PR gdb/17170
b8b8facf
DE
13993 * gdb.base/maint.exp: Update testing of per-command stats.
13994
1b5d0ab3
PA
139952014-07-16 Pedro Alves <palves@redhat.com>
13996
13997 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13998 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13999 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14000 (tfile_write_buf): New functions.
14001 (add_memory_block): Rewrite using the above.
14002 (adjust_function_address): New function.
14003 (FUNCTION_ADDRESS): New macro.
14004 (write_basic_trace_file): Remove short_x local, and use
14005 tfile_write_16. Change type of func_addr local to unsigned long
14006 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14007 here. Cast argument of add_memory_block to char pointer.
14008 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14009 (main): Remove parameters.
14010 * gdb.trace/tfile.exp: Remove nowarnings.
14011
4d974e88
SM
140122014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14013
14014 * gdb.base/debug-expr.exp: Test string evaluation with
14015 "debug expression" on.
14016
41e99568
PA
140172014-07-15 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.base/reread.exp: Use clean_restart.
14020
487d9753
PL
140212014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14022
14023 * gdb.arch/avr-flash-qualifer.c: New.
14024 * gdb.arch/avr-flash-qualifer.exp: New.
14025
cc1c52ad
PA
140262014-07-14 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14029 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14030
1e973570
PA
140312014-07-14 Pedro Alves <palves@redhat.com>
14032
14033 * gdb.base/double-prompt-target-event-error.c: New file.
14034 * gdb.base/double-prompt-target-event-error.exp: New file.
14035
93d6eb10
PA
140362014-07-14 Pedro Alves <palves@redhat.com>
14037
14038 PR gdb/17072
14039 * gdb.base/paginate-inferior-exit.c: New file.
14040 * gdb.base/paginate-inferior-exit.exp: New file.
14041
0017922d
PA
140422014-07-14 Pedro Alves <palves@redhat.com>
14043
14044 PR gdb/17072
14045 * gdb.base/paginate-bg-execution.c: New file.
14046 * gdb.base/paginate-bg-execution.exp: New file.
14047
94696ad3
PA
140482014-07-14 Pedro Alves <palves@redhat.com>
14049
14050 PR gdb/17072
14051 * gdb.base/paginate-execution-startup.c: New file.
14052 * gdb.base/paginate-execution-startup.exp: New file.
14053 * lib/gdb.exp (pagination_prompt): New global.
14054 (default_gdb_spawn): New procedure, factored out from
14055 default_gdb_spawn.
14056 (default_gdb_start): Adjust to call default_gdb_spawn.
14057 (gdb_spawn): New procedure.
14058
bd293940
PA
140592014-07-14 Pedro Alves <palves@redhat.com>
14060
14061 * lib/gdb.exp (gdb_assert): New procedure.
14062 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14063
c933f875
PA
140642014-07-14 Pedro Alves <palves@redhat.com>
14065
14066 * gdb.base/execution-termios.c: New file.
14067 * gdb.base/execution-termios.exp: New file.
14068
d98b7a16
TT
140692014-07-14 Tom Tromey <tromey@redhat.com>
14070
14071 * gdb.cp/vla-cxx.cc: New file.
14072 * gdb.cp/vla-cxx.exp: New file.
14073
548740d6
TT
140742014-07-14 Tom Tromey <tromey@redhat.com>
14075
14076 * gdb.reverse/rerun-prec.c: New file.
14077 * gdb.reverse/rerun-prec.exp: New file.
14078
a25eb028
MR
140792014-07-12 Maciej W. Rozycki <macro@mips.com>
14080 Maciej W. Rozycki <macro@codesourcery.com>
14081
14082 * lib/gdb-utils.exp: New file.
14083 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14084 inline `gdb_init_command' processing.
14085 (gdb_start_cmd): Likewise.
14086 * lib/mi-support.exp (mi_run_cmd): Likewise.
14087 * README: Document `gdb_init_command' and `gdb_init_commands'.
14088
218c2655
JK
140892014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14090
14091 Fix false FAIL running under a very long directory name.
14092 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14093 and "set print elements 10000". Twice.
14094
5401fde3
YQ
140952014-07-11 Yao Qi <yao@codesourcery.com>
14096
14097 * gdb.base/exprs.exp: "set print symbol off".
14098
e76126e8
PA
140992014-07-11 Pedro Alves <palves@redhat.com>
14100
14101 * gdb.threads/kill.c: New file.
14102 * gdb.threads/kill.exp: New file.
14103
2d6f0de6
YQ
141042014-07-10 Yao Qi <yao@codesourcery.com>
14105
14106 * gdb.trace/tfile.c (write_basic_trace_file)
14107 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14108 address written to trace file.
14109
7180e04a
PA
141102014-07-09 Pedro Alves <palves@redhat.com>
14111
14112 * gdb.base/attach-wait-input.exp: New file.
14113 * gdb.base/attach-wait-input.c: New file.
14114
9a9a7608
AB
141152014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14116
14117 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14118 setting up test structures.
14119 (main): Call new test function.
14120 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14121 test function, continue into test function and walk test
14122 structures.
14123
161ac41e
YQ
141242014-07-02 Yao Qi <yao@codesourcery.com>
14125
14126 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14127 'bar_start' at the beginning of functions 'foo' and 'bar'
14128 respectively.
14129 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14130 instead of 'foo' and 'bar'.
14131
1f267ae3
MM
141322014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14133
14134 * gdb.btrace/segv.exp: New.
14135 * gdb.btrace/segv.c: New.
14136
2b239efb
LM
141372014-07-02 Luis Machado <lgustavo@codesourcery.com>
14138
14139 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14140 instruction.
14141
cf363f18
MW
141422014-06-30 Mark Wielaard <mjw@redhat.com>
14143
14144 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14145 vulture, vilify, villar): New volatile array constants.
14146 (vindictive, vegetation): New const volatile array constants.
14147 * gdb.base/volatile.exp: Test volatile and const volatile array
14148 types.
14149
aebf9d24
AA
141502014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14151
14152 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14153 target lacks support for awatch, rwatch, or hbreak.
14154
b67a2c6f
YQ
141552014-06-27 Yao Qi <yao@codesourcery.com>
14156
14157 * gdb.multi/dummy-frame-restore.exp: New.
14158 * gdb.multi/dummy-frame-restore.c: New.
14159
aef92902
MM
141602014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14161
14162 * gdb.btrace/gcore.exp: New.
14163
8e9db26e
PA
141642014-06-23 Pedro Alves <palves@redhat.com>
14165
14166 * gdb.base/watchpoint-reuse-slot.c: New file.
14167 * gdb.base/watchpoint-reuse-slot.exp: New file.
14168
70afc5b7
SC
141692014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14170
14171 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14172 progspace's filename in 'info', 'enable' and 'disable' command
14173 tests.
14174
b972bd9c
JK
141752014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14176
14177 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14178 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14179 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14180
125f8a3d
GB
141812014-06-20 Gary Benson <gbenson@redhat.com>
14182
14183 * gdb.arch/i386-avx.exp: Fix include file location.
14184 * gdb.arch/i386-sse.exp: Likewise.
14185
3ed9baed
IB
141862014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14187
14188 * gdb.dlang/expression.exp: New file.
14189
034f788c
PA
141902014-06-19 Pedro Alves <palves@redhat.com>
14191
14192 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14193 out from ...
14194 (top level): ... here. Iterate running tests under different
14195 scheduler-locking settings.
14196
45371d0c
LM
141972014-06-18 Luis Machado <lgustavo@codesourcery.com>
14198
14199 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14200 to DW_FORM_addr and use non-zero addresses.
14201
5d376983
SC
142022014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14203
14204 PR gdb/17017
14205 * gdb.python/py-xmethods.cc: Add global function call counters and
14206 increment them in their respective functions. Remove "cout"
14207 statements.
14208 * gdb.python/py-xmethods.exp: Make tests check the global function
14209 call counters instead of depending on inferior IO.
14210
a1aa2221
LM
142112014-06-18 Don Breazeal <donb@codesourcery.com>
14212
14213 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14214 Deleted procedure.
14215 (explicit_fork_parent_follow): Deleted procedure.
14216 (explicit_fork_child_follow): Deleted procedure.
14217 (test_follow_fork): New procedure.
14218 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 14219 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
14220 procedure calls.
14221
0fc05997
YQ
142222014-06-17 Yao Qi <yao@codesourcery.com>
14223
14224 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14225 CP1252.
14226
70795c52
LM
142272014-06-17 Luis Machado <lgustavo@codesourcery.com>
14228
14229 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14230 Initialize ptr and S explicitly.
14231 (skip_type_update_when_not_use_rtti_test): Likewise.
14232
6be47f0c
KS
142332014-06-16 Keith Seitz <keiths@redhat.com>
14234
14235 PR mi/15863
14236 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14237 the inferior is started.
14238
d03de421
PA
142392014-06-16 Pedro Alves <palves@redhat.com>
14240
14241 * gdb.base/break-main-file-remove-fail.c: New file.
14242 * gdb.base/break-main-file-remove-fail.exp: New file.
14243 * gdb.base/break-unload-file.exp: Use build_executable instead of
14244 prepare_for_testing.
14245 (test_break): New parameter "initial_load". Handle it.
14246 (top level): Add initial_load cmdline/file axis.
14247
f9579b99
TT
142482014-06-12 Tom Tromey <tromey@redhat.com>
14249
14250 * gdb.base/completion.exp: Don't use directory name in test.
14251
3657956b
GB
142522014-06-09 Gary Benson <gbenson@redhat.com>
14253
14254 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14255 separate the always-available ANSI-standard signals from the
14256 signals that require checking.
14257 (main): Likewise.
14258 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14259 Likewise.
14260 (main): Likewise.
14261
4186eb54
KS
142622014-06-07 Keith Seitz <keiths@redhat.com>
14263
14264 Revert:
14265 PR c++/16253
14266 * gdb.cp/var-tag.cc: New file.
14267 * gdb.cp/var-tag.exp: New file.
14268 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14269 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14270 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14271 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14272
25326a28 142732014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
14274
14275 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14276
829155c9
PA
142772014-06-06 Pedro Alves <palves@redhat.com>
14278
14279 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14280 in target debug output instead of looking at RSP packets,
14281 disabling the test on any target that uses hardware stepping.
14282 Update comments.
14283
61c8d22e
PA
142842014-06-06 Pedro Alves <palves@redhat.com>
14285
14286 * gdb.base/break-unload-file.exp: Fix typo.
14287
d9a47287
YQ
142882014-06-06 Yao Qi <yao@codesourcery.com>
14289
14290 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14291 from "jit_function" to "^jit_function".
14292
e5e01dbf
YQ
142932014-06-06 Yao Qi <yao@codesourcery.com>
14294
14295 * gdb.base/async.c (foo): Add one statement.
14296 * gdb.base/async.exp: Get the next instruction address and
14297 match the output of "nexti" by instruction address. Match
14298 the hex address in the output of "finish".
14299
73ba372c
GB
143002014-06-06 Gary Benson <gbenson@redhat.com>
14301
14302 * gdb.base/call-signals.c: Remove preprocessor conditionals
14303 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14304 SIGSEGV and SIGTERM.
14305 * gdb.base/sigall.c: Likewise.
14306 * gdb.base/unwindonsignal.c: Likewise.
14307 * gdb.reverse/sigall-reverse.c: Likewise.
14308
831517df
YQ
143092014-06-06 Yao Qi <yao@codesourcery.com>
14310
14311 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14312 readable, skip the test.
14313
b8b91e98
YQ
143142014-06-06 Yao Qi <yao@codesourcery.com>
14315
14316 * gdb.threads/staticthreads.c (thread_function): Move the line
14317 setting breakpoint on forward.
14318 * gdb.threads/staticthreads.exp: Update comments.
14319
fb934770
LC
143202014-06-05 Ludovic Courtès <ludo@gnu.org>
14321
14322 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14323 "history-append! type error".
14324
6ef284bd
SM
143252014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14326
14327 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14328 erroneous dprintf expected input.
14329
a872e241
DE
143302014-06-04 Doug Evans <xdje42@gmail.com>
14331
14332 * gdb.guile/scm-generics.exp: Delete.
14333
16f691fb
DE
143342014-06-04 Doug Evans <xdje42@gmail.com>
14335
14336 * gdb.guile/scm-breakpoint.exp: Update.
14337 Add tests for breakpoint registration.
14338
012370f6
TT
143392014-06-04 Tom Tromey <tromey@redhat.com>
14340
14341 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14342 VLA-in-union.
14343 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14344 inner_vla_struct, vla_union types. Initialize objects of those
14345 types and compute their sizes.
14346
9f5a4cef
HZ
143472014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14348 Hui Zhu <hui@codesourcery.com>
14349
14350 * gdb.base/fileio.exp: Add test for shell not available as well as
14351 available.
14352 * gdb.base/fileio.c (test_system): Check for shell twice.
14353
90a45c4d
YQ
143542014-06-04 Yao Qi <yao@codesourcery.com>
14355
14356 * gdb.base/auto-connect-native-target.exp: Remove redundant
14357 space from the regexp pattern.
14358
70017e41
YQ
143592014-06-04 Yao Qi <yao@codesourcery.com>
14360
14361 * gdb.base/default.exp: Replace "child" with "native" in
14362 regexp pattern.
14363
883964a7
SC
143642014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14365
14366 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14367 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14368 * gdb.python/py-xmethods.py: Python script supporting the
14369 new testcase and tests.
14370
ef370185
JB
143712014-06-03 Joel Brobecker <brobecker@adacore.com>
14372 Pedro Alves <palves@redhat.com>
14373
14374 PR breakpoints/17000
14375 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14376 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14377
1e2ccb61
BM
143782014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14379
14380 * gdb.base/subst.exp: Add tests to verify partial path matching
14381 output.
14382
c6ec5ab2
PA
143832014-06-03 Pedro Alves <palves@redhat.com>
14384
14385 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14386 target that doesn't use software single-stepping.
14387
835c559f
PA
143882014-06-03 Pedro Alves <palves@redhat.com>
14389
14390 PR breakpoints/17000
14391 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14392 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14393
06eb1586
DE
143942014-06-02 Doug Evans <xdje42@gmail.com>
14395
14396 * gdb.guile/scm-parameter.exp: New file.
14397
e698b8c4
DE
143982014-06-02 Doug Evans <xdje42@gmail.com>
14399
14400 * gdb.guile/scm-cmd.c: New file.
14401 * gdb.guile/scm-cmd.exp: New file.
14402
ded03782
DE
144032014-06-02 Doug Evans <xdje42@gmail.com>
14404
14405 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14406 pretty-printer lookup.
14407 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14408 (make-pp_s-printer): Call it.
14409 (make-pretty-printer-from-dict): New function.
14410 (lookup-pretty-printer-maker-from-dict): New function.
14411 (*pretty-printer*): Simplify.
14412 (make-objfile-pp_s-printer): New function.
14413 (install-objfile-pretty-printers!): New function.
14414 (make-progspace-pp_s-printer): New function.
14415 (install-progspace-pretty-printers!): New function.
14416 * gdb.guile/scm-progspace.c: New file.
14417 * gdb.guile/scm-progspace.exp: New file.
14418
41fac0cf
PA
144192014-06-02 Pedro Alves <palves@redhat.com>
14420
14421 * gdb.base/dprintf-bp-same-addr.c: New file.
14422 * gdb.base/dprintf-bp-same-addr.exp: New file.
14423
96ae5695
EBM
144242014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14425
14426 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14427 * gdb.arch/powerpc-power.s: Likewise.
14428
da02b3a8
JB
144292014-06-02 Joel Brobecker <brobecker@adacore.com>
14430
14431 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14432
c72b2e7b
YQ
144332014-06-01 Yao Qi <yao@codesourcery.com>
14434
14435 * gdb.base/watchpoint.exp (test_watch_location): Check null
14436 pointer can be dereferenced. If not, do the test, otherwise
14437 skip it.
14438
53e8a631
AB
144392014-05-30 Andrew Burgess <aburgess@broadcom.com>
14440
14441 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14442 results.
14443 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14444
938f0e2f
AB
144452014-05-30 Andrew Burgess <aburgess@broadcom.com>
14446
14447 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14448 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14449 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14450 * gdb.arch/amd64-invalid-stack-top.c: New file.
14451 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14452
9ba6657a
PA
144532014-05-30 Pedro Alves <palves@redhat.com>
14454
14455 PR breakpoints/17000
14456 * gdb.base/sss-bp-on-user-bp.c: New file.
14457 * gdb.base/sss-bp-on-user-bp.exp: New file.
14458
522c09bf
DB
144592014-05-30 David Blaikie <dblaikie@gmail.com>
14460
14461 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14462 gnu_inline semantics via attribute.
14463 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14464 source explicitly specifies the required semantics.
14465
bf4ef81e
MR
144662014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14467
14468 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14469
329ea579
PA
144702014-05-29 Pedro Alves <palves@redhat.com>
14471 Tom Tromey <tromey@redhat.com>
14472
14473 * gdb.base/async-shell.exp: Don't enable target-async.
14474 * gdb.base/async.exp
14475 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14476 parameter. Adjust.
14477 (top level): Don't test with "target-async".
14478 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14479 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14480 * gdb.base/inferior-died.exp: Don't enable target-async.
14481 * gdb.base/interrupt-noterm.exp: Likewise.
14482 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14483 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14484 * gdb.mi/mi-nonstop.exp: Likewise.
14485 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14486 * gdb.mi/mi-nsintrall.exp: Likewise.
14487 * gdb.mi/mi-nsmoribund.exp: Likewise.
14488 * gdb.mi/mi-nsthrexec.exp: Likewise.
14489 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14490 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14491 * gdb.python/py-evsignal.exp: Don't enable target-async.
14492 * gdb.python/py-evthreads.exp: Likewise.
14493 * gdb.python/py-prompt.exp: Likewise.
14494 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14495 * gdb.server/solib-list.exp: Don't enable target-async.
14496 * gdb.threads/thread-specific-bp.exp: Likewise.
14497 * lib/mi-support.exp: Adjust to use mi-async.
14498
fd664c91
PA
144992014-05-29 Pedro Alves <palves@redhat.com>
14500
14501 PR gdb/13860
14502 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14503 reason, even in sync mode.
14504
251bde03
PA
145052014-05-29 Pedro Alves <palves@redhat.com>
14506 Hui Zhu <hui@codesourcery.com>
14507
14508 PR PR15693
14509 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14510 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14511 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14512 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14513
7f3c0343
JB
145142014-05-28 Joel Brobecker <brobecker@adacore.com>
14515
14516 * config/monitor.exp (gdb_target_monitor): Replace use of
14517 "set remotebaud" by "set serial baud".
14518
b2715b27
AW
145192014-05-26 Andy Wingo <wingo@igalia.com>
14520
14521 * gdb.guile/scm-breakpoint.exp:
14522 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14523 properties instead of gdb-object-properties.
14524
498a4489
YQ
145252014-05-26 Yao Qi <yao@codesourcery.com>
14526
14527 * gdb.server/no-thread-db.exp: Specify source file name
14528 explicitly when setting a breakpoint.
14529
589fdceb
MM
145302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14531
14532 * gdb.btrace/vdso.c: New.
14533 * gdb.btrace/vdso.exp: New.
14534
e9089e05
MM
145352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14536
14537 * gdb.base/gcore.exp (capture_command_output): Move ...
14538 * lib/gdb.exp (capture_command_output): ... here.
14539
67b5c0c1
MM
145402014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14541
14542 * gdb.btrace/data.exp: Test memory access during btrace replay.
14543
a2199296
SM
145442014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14545
14546 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14547
17b2616c
PA
145482014-05-21 Pedro Alves <palves@redhat.com>
14549
14550 PR gdb/13860
14551 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14552 (top level): Test that output related to execution commands is
14553 sent to the console with CLI commands, but not with MI commands.
14554 Test that breakpoint events are always mirrored to the console.
14555 Also expect the new source line to be output after a "next" in
14556 async mode too. Make it a pass/fail test.
14557 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14558 output.
14559 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14560
5166082f
PA
145612014-05-21 Pedro Alves <palves@redhat.com>
14562
14563 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14564 Use them to test variations of "list" after reaching a breakpoint.
14565 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14566 Test "list" with listsize 10 after reaching a breakpoint.
14567 * gdb.python/python.exp (decode_line current location line
14568 number): Adjust expected line number.
14569
2f25d70f
SM
145702014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14571
14572 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14573 behavior for $args, pass it directly to "run".
14574
ff604a67
MR
145752014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14576
14577 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14578 30000 to 65536.
14579
6a3cb8e8
PA
145802014-05-21 Pedro Alves <palves@redhat.com>
14581
14582 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14583 auto-connect-native-target off".
14584 * gdb.base/auto-connect-native-target.c: New file.
14585 * gdb.base/auto-connect-native-target.exp: New file.
14586
4ebfc96e
PA
145872014-05-21 Pedro Alves <palves@redhat.com>
14588
14589 * gdb.base/default.exp: Test "target native" instead of "target
14590 child".
14591
36d46afb
MW
145922014-05-21 Mark Wielaard <mjw@redhat.com>
14593
14594 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14595
5876f503
JK
145962014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14597
14598 Fix TLS access for -static -pthread.
14599 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14600 <HAVE_TLS> (thread_function, main): Initialize it.
14601 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14602 Add clean_restart.
14603 <$have_tls != "">: Check TLSVAR.
14604
0256a6ac
PA
146052014-05-21 Pedro Alves <palves@redhat.com>
14606
14607 * gdb.base/dcache-line-read-error.c: New.
14608 * gdb.base/dcache-line-read-error.exp: New.
14609
936d2992
PA
146102014-05-20 Pedro Alves <palves@redhat.com>
14611
14612 * gdb.base/compare-sections.c: New file.
14613 * gdb.base/compare-sections.exp: New file.
14614
802e8e6d
PA
146152014-05-20 Pedro Alves <palves@redhat.com>
14616
14617 * gdb.base/break-idempotent.c: New file.
14618 * gdb.base/break-idempotent.exp: New file.
14619
e59fa00f
MM
146202014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14621
14622 * gdb.btrace/nohist.exp: New.
14623
8b696e31
YQ
146242014-05-20 Yao Qi <yao@codesourcery.com>
14625
14626 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14627 gdb.reverse directory and gdb_reverse_timeout exists in board
14628 setting.
14629 * README: Document gdb_reverse_timeout.
14630
73c9764f
YQ
146312014-05-20 Yao Qi <yao@codesourcery.com>
14632
14633 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14634 'test_file_name'. Treat args as a string instead of a list.
14635 (gdb_init): Rename argument 'args' by 'test_file_name'.
14636
f1f4348a
JK
146372014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14638
14639 * gdb.arch/powerpc-power.exp: New file.
14640 * gdb.arch/powerpc-power.s: New file.
14641
0dbe70ce
DE
146422014-05-16 Doug Evans <dje@google.com>
14643
14644 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
14645 * gdb.base/completion.exp: Check that all expected files exist
14646 before doing file completion.
0dbe70ce 14647
8d551b02
DE
146482014-05-16 Doug Evans <dje@google.com>
14649
14650 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14651 Update.
14652 (do_syscall_tests_without_xml): Update.
14653
73eb7709
PA
146542014-05-16 Pedro Alves <palves@redhat.com>
14655
14656 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14657 instead of "unknown output after running".
14658
3fae92fc
YQ
146592014-05-16 Yao Qi <yao@codesourcery.com>
14660
14661 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14662 file1.txt from host at the end.
14663 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14664
c2b2ccc5
DE
146652014-05-15 Doug Evans <dje@google.com>
14666
14667 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14668 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14669 loading file. Add test for TU lookup.
14670
8c217a4b
SM
146712014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14672
14673 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14674 calling "-exec-arguments" or "set args" before running the
14675 inferior.
14676
3deb39c6
SM
146772014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14678
14679 * lib/mi-support.exp (mi_expect_stop): Expect message for
14680 inferiors that exit with non-zero exit code.
14681
71a79f8c
YQ
146822014-05-14 Yao Qi <yao@codesourcery.com>
14683
14684 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14685 match absolute path on remote host.
14686 (test_file_list_exec_source_files): Remove "/" from the
14687 pattern.
14688
f23fcd46
YQ
146892014-05-14 Yao Qi <yao@codesourcery.com>
14690
14691 * boards/local-remote-host-notty.exp (${board}_file): New
14692 proc.
14693
9404b58f
KM
146942014-05-07 Kyle McMartin <kyle@redhat.com>
14695
14696 Pushed by Joel Brobecker <brobecker@adacore.com>.
14697 * gdb.arch/aarch64-atomic-inst.c: New file.
14698 * gdb.arch/aarch64-atomic-inst.exp: New file.
14699
5e45f04c
YQ
147002014-05-07 Yao Qi <yao@codesourcery.com>
14701
14702 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14703 in current context" too.
14704
c888a17d
KS
147052014-05-05 Keith Seitz <keiths@redhat.com>
14706
14707 * gdb.linespec/ls-dollar.exp: Add test for linespec
14708 file:convenience_variable.
14709
290a839c
YQ
147102014-05-05 Yao Qi <yao@codesourcery.com>
14711
14712 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14713 traceframes into tfile and ctf trace files. Read data from
14714 trace file and test collected data.
14715 (gdb_collect_locals_test): Likewise.
14716 (gdb_unavailable_registers_test): Likewise.
14717 (gdb_unavailable_floats): Likewise.
14718 (gdb_collect_globals_test): Likewise.
14719 (top-level): Append "ctf" to trace_file_targets if GDB
14720 supports.
14721
b5262cd0
YQ
147222014-05-05 Yao Qi <yao@codesourcery.com>
14723
14724 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14725 code to ...
14726 (gdb_collect_args_test_1): ... it. New proc.
14727 (gdb_collect_locals_test): Move some code to ...
14728 (gdb_collect_locals_test_1): ... it. New proc.
14729 (gdb_unavailable_registers_test): Move some code to ...
14730 (gdb_unavailable_registers_test_1): ... it. New proc.
14731 (gdb_unavailable_floats): Move some code to ...
14732 (gdb_unavailable_floats_1): ... it. New proc.
14733
30a1e6cc
SDJ
147342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14735
14736 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14737 probes to test for bitness recognition.
14738 * gdb.arch/amd64-stap-optional-prefix.exp
14739 (test_probe_value_without_reg): New procedure.
14740 Add code to test for different kinds of bitness.
14741
f33da99a
SDJ
147422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14743
14744 PR breakpoints/16889
14745 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14746 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14747
5b80f00d
PA
147482014-05-01 Pedro Alves <palves@redhat.com>
14749
14750 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14751 gdb_file_cmd if no file is specified.
14752 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14753 last_loaded_file to set the remote exec-file.
14754
f8c2a73c
PA
147552014-05-01 Pedro Alves <palves@redhat.com>
14756
14757 * boards/local-remote-host.exp: New file.
14758
be6e8ac7
PA
147592014-05-01 Pedro Alves <palves@redhat.com>
14760
14761 * boards/local-remote-host.exp: Rename to ...
14762 * boards/local-remote-host-notty.exp: ... this.
14763
cac0dc8f
JB
147642014-04-28 Joel Brobecker <brobecker@adacore.com>
14765
14766 * gdb.ada/dyn_arrayidx: New testcase.
14767
9730e6cc
YQ
147682014-04-26 Yao Qi <yao@codesourcery.com>
14769
14770 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14771 and compute the length of function main. Save it in
14772 $main_length.
14773 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14774 (top-level): Use gdb_compile to compile objects into
14775 executable and restart GDB. Remove invocation to
14776 prepare_for_testing.
14777
7ae1a6a6
PA
147782014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14779 Pedro Alves <palves@redhat.com>
14780
14781 PR server/16255
14782 * gdb.multi/multi-attach.c: New file.
14783 * gdb.multi/multi-attach.exp: New file.
14784
4082afcc
PA
147852014-04-25 Pedro Alves <palves@redhat.com>
14786
14787 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14788 user.
14789 (top level): Test that "set remote conditional-breakpoints-packet
14790 off" works as intended.
14791 * gdb.base/dprintf.exp: Test that "set remote
14792 breakpoint-commands-packet off" works as intended.
14793 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14794 New function.
14795 (top level): Call it.
14796 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14797 remote fast-tracepoints-packet off" works as intended.
14798 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14799 * lib/gdb.exp (gdb_is_target_remote): ... here.
14800
2abc3f8d
DB
148012014-04-24 David Blaikie <dblaikie@gmail.com>
14802
14803 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14804 ensure clang would not discard them.
14805 * gdb.base/gdbvars.c: Ditto.
14806 * gdb.base/memattr.c: Ditto.
14807 * gdb.base/whatis.c: Ditto.
14808 * gdb.python/py-prettyprint.c: Ditto.
14809 * gdb.trace/actions.c: Ditto.
14810 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14811 ensure clang would not discard it.
14812
bfd39632
DB
148132014-04-24 David Blaikie <dblaikie@gmail.com>
14814
14815 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14816 clang to emit the full definition of type required by the test
14817 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14818
22842ff6
DB
148192014-04-24 David Blaikie <dblaikie@gmail.com>
14820
14821 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14822 coax Clang into emitting the definition of the type.
14823 * gdb.cp/pr10728-x.h (y): Ditto.
14824 * gdb.cp/pr10728-y.cc (y): Ditto.
14825
c2e827ad
DB
148262014-04-24 David Blaikie <dblaikie@gmail.com>
14827
14828 * gdb.base/label.exp: XFAIL label related tests under Clang.
14829 * gdb.cp/cplabel.exp: Ditto.
14830 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14831 under Clang those using labels.
14832
4c2d33e7
YQ
148332014-04-25 Yao Qi <yao@codesourcery.com>
14834
14835 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14836 double_label.
14837 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14838 partial_label and double_label.
14839
56083b99
DB
148402014-04-24 David Blaikie <dblaikie@gmail.com>
14841
14842 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14843
25d4e99d
DB
148442014-04-24 David Blaikie <dblaikie@gmail.com>
14845
14846 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14847 of the function to work across GCC and Clang.
14848 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14849 pointer types (const void ** const V void **).
14850
01f9f808
MS
148512014-04-24 Michael Sturm <michael.sturm@mintel.com>
14852 Walfred Tedeschi <walfred.tedeschi@intel.com>
14853
14854 * Makefile.in (EXECUTABLES): Added i386-avx512.
14855 * gdb.arch/i386-avx512.c: New file.
14856 * gdb.arch/i386-avx512.exp: Likewise.
14857
4b48d439
KS
148582014-04-23 Keith Seitz <keiths@redhat.com>
14859
14860 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14861 (mi_make_breakpoint_table): New procedure.
14862 (mi_create_breakpoint): Use mi_make_breakpoint
14863 and return the result.
14864 (mi_make_breakpoint): New procedure.
14865 (mi_build_kv_pairs): New procedure.
14866
14867 * gdb.mi/mi-break.exp: Remove unused globals,
14868 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14869 All callers updated.
14870 * gdb.mi/mi-dprintf.exp: Use variable to track command
14871 number.
14872 Update all callers of mi_create_breakpoint and use
14873 mi_make_breakpoint_table.
14874 Remove any unused global variables.
14875 * gdb.mi/mi-nonstop.exp: Likewise.
14876 * gdb.mi/mi-nsintrall.exp: Likewise.
14877 * gdb.mi/mi-nsmoribund.exp: Likewise.
14878 * gdb.mi/mi-nsthrexec.exp: Likewise.
14879 * gdb.mi/mi-reverse.exp: Likewise.
14880 * gdb.mi/mi-simplerun.exp: Likewise.
14881 * gdb.mi/mi-stepn.exp: Likewise.
14882 * gdb.mi/mi-syn-frame.exp: Likewise.
14883 * gdb.mi/mi-until.exp: Likewise.
14884 * gdb.mi/mi-var-cp.exp: Likewise.
14885 * gdb.mi/mi-var-display.exp: Likewise.
14886 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14887 * gdb.mi/mi2-var-child.exp: Likewise.
14888 * gdb.mi/mi-vla-c99.exp: Likewise.
14889 * lib/mi-support.exp: Likewise.
14890
14891 From Ian Lance Taylor <iant@cygnus.com>:
14892 * lib/gdb.exp (parse_args): New procedure.
14893
08351840
PA
148942014-04-23 Pedro Alves <palves@redhat.com>
14895
14896 * gdb.base/break-unload-file.c: New file.
14897 * gdb.base/break-unload-file.exp: New file.
14898 * gdb.base/sym-file-lib.c (baz): New function.
14899 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14900 field.
14901 (load): Store the segment's mapped size.
14902 (unload): New function.
14903 (unload_shlib): New function.
14904 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14905 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14906 set a breakpoint at baz, and call it.
14907 * gdb.base/sym-file.exp: New tests for stale breakpoint
14908 instructions.
14909
076855f9
PA
149102014-04-23 Pedro Alves <palves@redhat.com>
14911
14912 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14913 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14914 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14915 * gdb.base/hbreak-unmapped.c: New file.
14916 * gdb.base/hbreak-unmapped.exp: New file.
14917 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14918 * lib/gdb.exp (gdb_is_target_remote): ... here.
14919
483805cf
PA
149202014-04-22 Pedro Alves <palves@redhat.com>
14921
14922 * gdb.base/consecutive-step-over.c: New file.
14923 * gdb.base/consecutive-step-over.exp: New file.
14924
06d97543
PA
149252014-04-22 Pedro Alves <palves@redhat.com>
14926
14927 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14928 instead of send_gdb/gdb_expect.
14929
b4429ea2
YQ
149302014-04-22 Yao Qi <yao@codesourcery.com>
14931
14932 * lib/trace-support.exp (generate_tracefile): New procedure.
14933 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14934 return 0.
14935 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14936 if generate_tracefile returns 1.
14937
51d48146
PA
149382014-04-18 Tom Tromey <palves@redhat.com>
14939 Pedro alves <tromey@redhat.com>
14940
14941 PR backtrace/15558
14942 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14943 with a backtrace limit.
14944 * gdb.python/py-frame-inline.exp: Test running to an inline
14945 function with a backtrace limit, and printing the newest frame.
14946 * gdb.python/py-frame-inline.c (main): Call f.
14947
bd1dce5f
MS
149482014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14949
14950 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14951
40d1a503
MS
149522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14953
14954 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14955 Drop prefix from unsupported source file path.
14956
389b98f7
YQ
149572014-04-17 Yao Qi <yao@codesourcery.com>
14958
14959 * lib/gdb.exp (with_target_charset): New proc.
14960 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14961 with_target_charset.
14962 (test_print_strings): Likewise.
14963 (test_repeat_bytes): Likewise.
14964 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14965 for some tests.
14966
22869d73
KS
149672014-04-16 Keith Seitz <keiths@redhat.com>
14968
14969 PR gdb/15827
14970 * gdb.dwarf2/corrupt.c: New file.
14971 * gdb.dwarf2/corrupt.exp: New file.
14972
c4f87ca6
KS
149732014-04-16 Keith Seitz <keiths@redhat.com>
14974
14975 PR c++/16597
14976 * gdb.cp/namelessclass.cc: New file.
14977 * gdb.cp/namelessclass.exp: New file.
14978 * gdb.cp/namelessclass.S: New file.
14979
ab19de87
DE
149802014-04-16 Doug Evans <dje@google.com>
14981
14982 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14983 Add comment.
14984 (gdbserver_default_get_comm_port): New function.
14985 (gdbserver_start): Check if board file provided
14986 "gdbserver,get_comm_port" and use it if so.
14987 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14988 (gdb,socketport): Set to "stdio".
14989 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14990 (stdio_gdbserver_template): Delete.
14991 (${board}_get_remote_address): Update.
14992 (${board}_build_remote_cmd): Delete.
14993 (${board}_get_comm_port): New function.
14994 (${board}_spawn): Update.
14995 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14996 Delete.
14997 (${board}_get_remote_address): Update.
14998 (${board}_get_comm_port): New function.
14999
fc98a809
AB
150002014-04-16 Andrew Burgess <aburgess@broadcom.com>
15001
15002 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15003 appearing in any order.
15004
87fd9e6e
DE
150052014-04-15 Doug Evans <dje@google.com>
15006
15007 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15008 uninitialized value of "description".
15009
099fc3ea
KS
150102014-04-15 Keith Seitz <keiths@redhat.com>
15011
15012 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15013 Remove unused globals.
15014 (test_running_the_program): Likewise.
15015 (test_controlled_execution): Likewise.
15016 (test_controlling_breakpoints): Likewise.
15017 (test_program_termination): Likewise.
15018
5da151d4
KS
150192014-04-15 Keith Seitz <keiths@redhat.com>
15020
15021 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15022 unused globals.
15023 (test_rbreak_creation_and_listing): Likewise.
15024 (test_ignore_count): Likewise.
15025 (test_error): Likewise.
15026
35e5d2f0
PA
150272014-04-15 Pedro Alves <palves@redhat.com>
15028
15029 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15030 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15031 sym-file-loader.c.
15032 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15033 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15034 to sym-file-loader.c.
15035 (struct library): Forward declare.
15036 (load_shlib, lookup_function): Change prototypes.
15037 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15038 (translate_offset): Remove declarations.
15039 (get_text_addr): New declaration.
15040 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15041 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15042 sym-file-loader.h.
15043 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15044 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15045 here from sym-file-loader.h.
15046 (struct library): New structure.
15047 (load_shlib, lookup_function): Change prototypes and adjust to
15048 work with a struct library.
15049 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15050 (translate_offset): Make static.
15051 (get_text_addr): New function.
15052 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15053
eb4c1710
PA
150542014-04-15 Pedro Alves <palves@redhat.com>
15055
15056 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15057
2d1baf52
PA
150582014-04-15 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.base/sym-file-loader.c: Include <limits.h>.
15061 (SELF_LINK): New define.
15062 (get_origin): New function.
15063 (load_shlib): Use it.
15064 * gdb.base/sym-file.exp: Don't early return if the target is
15065 remote. Use runto_main, and issue fail is that fails. Use
15066 gdb_load_shlibs.
15067 (shlib_name): Delete.
15068 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15069
7dd6df01
PA
150702014-04-15 Pedro Alves <palves@redhat.com>
15071
15072 * gdb.base/sym-file.exp: Remove regex characters from test
15073 message. Don't refer to breakpoint numbers in test messages.
15074
b50c8614
KS
150752014-04-14 Keith Seitz <keiths@redhat.com>
15076
15077 PR c++/16253
15078 * gdb.cp/var-tag.cc: New file.
15079 * gdb.cp/var-tag.exp: New file.
15080 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15081 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15082 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15083 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15084
3d567982
TT
150852014-04-14 Tom Tromey <tromey@redhat.com>
15086
15087 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15088 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15089 type.
15090 * gdb.cp/enum-class.exp: New file.
15091 * gdb.cp/enum-class.cc: New file.
15092
0626fc76
TT
150932014-04-14 Tom Tromey <tromey@redhat.com>
15094
15095 * gdb.dwarf2/enum-type.exp: New file.
15096
dca325b3
SA
150972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15098
15099 * gdb.mi/mi-vla-c99.exp: New file.
15100 * gdb.mi/vla.c: New file.
15101
5854b38a
SA
151022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15103
15104 * gdb.base/vla-datatypes.c: New file.
15105 * gdb.base/vla-datatypes.exp: New file.
15106
463bb957
SA
151072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15108
15109 * gdb.base/vla-ptr.c: New file.
15110 * gdb.base/vla-ptr.exp: New file.
15111
3dd170be
SA
151122014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15113
15114 * gdb.dwarf2/count.exp: New file.
15115
5ecaaa66
SA
151162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15117
15118 * gdb.base/vla-sideeffect.c: New file.
15119 * gdb.base/vla-sideeffect.exp: New file.
15120
41f1ada5
DB
151212014-04-14 David Blaikie <dblaikie@gmail.com>
15122
15123 * gdb.mi/non-stop.c: Add return value for non-void function return
15124 statement.
15125 * gdb.threads/staticthreads.c: Ditto.
15126
0be03e84
DE
151272014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15128 Doug Evans <xdje42@gmail.com>
15129
15130 * gdb.guile/scm-value.c: Improve test case.
15131 * gdb.guile/scm-value.exp: Add new test.
15132
f180a1fb
DB
151332014-04-11 David Blaikie <dblaikie@gmail.com>
15134
15135 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15136 override Clang's default.
15137
6b662e19
JB
151382014-04-11 Joel Brobecker <brobecker@adacore.com>
15139
15140 Revert the following changes (regressions):
15141
15142 * gdb.base/vla-sideeffect.c: New file.
15143 * gdb.base/vla-sideeffect.exp: New file.
15144
15145 * gdb.dwarf2/count.exp: New file.
15146
15147 * gdb.base/vla-multi.c: New file.
15148 * gdb.base/vla-multi.exp: New file.
15149
15150 * gdb.base/vla-ptr.c: New file.
15151 * gdb.base/vla-ptr.exp: New file.
15152
15153 * gdb.base/vla-datatypes.c: New file.
15154 * gdb.base/vla-datatypes.exp: New file.
15155
15156 * gdb.mi/mi-vla-c99.exp: New file.
15157 * gdb.mi/vla.c: New file.
15158
245a5f0b
KS
151592014-04-11 Keith Seitz <keiths@redhat.com>
15160
15161 PR c++/16675
15162 * gdb.cp/cpsizeof.exp: New file.
15163 * gdb.cp/cpsizeof.cc: New file.
15164
58a84dcf
SA
151652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15166
191a8a90
JB
15167 * gdb.mi/mi-vla-c99.exp: New file.
15168 * gdb.mi/vla.c: New file.
58a84dcf 15169
c8655f75
SA
151702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15171
15172 * gdb.base/vla-datatypes.c: New file.
15173 * gdb.base/vla-datatypes.exp: New file.
15174
024e13b4
SA
151752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15176
15177 * gdb.base/vla-ptr.c: New file.
15178 * gdb.base/vla-ptr.exp: New file.
15179
1a237e0e
SA
151802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15181
15182 * gdb.base/vla-multi.c: New file.
15183 * gdb.base/vla-multi.exp: New file.
15184
504f3432
SA
151852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15186
15187 * gdb.dwarf2/count.exp: New file.
15188
3bce8237
SA
151892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15190
191a8a90
JB
15191 * gdb.base/vla-sideeffect.c: New file.
15192 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 15193
322f9c21
YQ
151942014-04-11 Yao Qi <yao@codesourcery.com>
15195
15196 * gdb.base/completion.exp: Check file exists before running tests
15197 on file completion.
15198
d708bcd1
PA
151992014-04-10 Pedro Alves <palves@redhat.com>
15200
15201 * gdb.base/cond-eval-mode.c: New file.
15202 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15203 prepare_for_testing to build the new file. Check result of
15204 runto_main.
15205 (test_break, test_watch): New procedures.
15206 (top level): Use them.
15207
ae1d2761
PM
152082014-04-08 Pierre Muller <muller@sourceware.org>
15209
15210 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15211 Ctrl-V use for mingw hosts.
15212
7af389b8
SC
152132014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15214
15215 * gdb.python/py-value.c: Improve test case.
15216 * gdb.python/py-value.exp: Add new test.
15217
5e703181
DE
152182014-04-07 David Blaikie <dblaikie@gmail.com>
15219
15220 * lib/compiler.c: Identify the clang compiler.
15221 * lib/compiler.cc: Ditto.
15222
9810b410
YQ
152232014-04-03 Yao Qi <yao@codesourcery.com>
15224
15225 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15226
98d1b8dc
AB
152272014-04-01 Anton Blanchard <anton@samba.org>
15228
15229 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15230 messages unique.
15231
3114cea1
AB
152322014-04-01 Anton Blanchard <anton@samba.org>
15233
15234 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15235 prepare_for_testing.
15236
62f7182c
AB
152372014-04-01 Anton Blanchard <anton@samba.org>
15238
15239 * gdb.arch/ppc64-atomic-inst.c: Remove.
15240 * gdb.arch/ppc64-atomic-inst.S: New file.
15241 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15242
770e7fc7
DE
152432014-03-31 Doug Evans <dje@google.com>
15244
15245 * gdb.base/print-symbol-loading-lib.c: New file.
15246 * gdb.base/print-symbol-loading-main.c: New file.
15247 * gdb.base/print-symbol-loading.exp: New file.
15248
46e2bafa
YQ
152492014-03-31 Yao Qi <yao@codesourcery.com>
15250
15251 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15252
8776cfe9
JB
152532014-03-28 Joel Brobecker <brobecker@adacore.com>
15254
15255 * gdb.ada/mi_dyn_arr: New testcase.
15256
5d1ef361
DE
152572014-03-27 Doug Evans <dje@google.com>
15258
15259 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15260
b5bee914
YQ
152612014-03-27 Yao Qi <yao@codesourcery.com>
15262
15263 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15264 if target is nios2-*-*.
15265
0d4d0e77
YQ
152662014-03-26 Yao Qi <yao@codesourcery.com>
15267
15268 * lib/gdb.exp (readline_is_used): New proc.
15269 * gdb.base/completion.exp: Move tests on command complete up.
15270 Skip the rest of tests if readline is not used.
15271 * gdb.ada/complete.exp: Skp the test if readline is not
15272 used.
15273 * gdb.base/filesym.exp: Likewise.
15274 * gdb.base/macscp.exp: Likewise.
15275 * gdb.base/readline-ask.exp: Likewise.
15276 * gdb.base/readline.exp: Likewise.
15277 * gdb.python/py-cmd.exp: Likewise.
15278 * gdb.trace/tfile.exp: Likewise.
15279
29361eee
YQ
152802014-03-26 Yao Qi <yao@codesourcery.com>
15281
15282 * gdb.base/macscp.exp: Fix code format issues.
15283
bc9a5525
UW
152842014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15285
15286 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15287 * gdb.asm/powerpc64le.inc: New file.
15288
d3839ede
PA
152892014-03-25 Pedro Alves <palves@redhat.com>
15290 Doug Evans <dje@google.com>
15291
15292 * gdb.base/source-execution.c: New file.
15293 * gdb.base/source-execution.exp: New file.
15294 * gdb.base/source-execution.gdb: New file.
15295
01672a57
DE
152962014-03-24 Doug Evans <dje@google.com>
15297
15298 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15299 using fission.
15300
88bbeca9
HZ
153012014-03-24 Hui Zhu <hui@codesourcery.com>
15302 Pedro Alves <palves@redhat.com>
15303
15304 PR breakpoints/16101
15305 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15306 test pass/fail messages. Detect missing support for dprintf when
15307 breakpoints are actually inserted.
15308 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15309 breakpoints are actually inserted.
15310 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15311 fails.
15312
d2348791
JK
153132014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15314
15315 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15316
feef67ab
DE
153172014-03-22 Doug Evans <xdje42@gmail.com>
15318
15319 * gdb.python/python.exp (python not supported): Verify multi-line
15320 python command issues an error.
25d743f9 15321 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 15322 guile command issues an error.
feef67ab 15323
ecebef6a
MR
153242014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15325
15326 * gdb.threads/thread-specific.exp: Handle the lack of usable
15327 $this_breakpoint and $this_thread.
15328
ccdd1909
HZ
153292014-03-21 Hui Zhu <hui@codesourcery.com>
15330
15331 * gdb.base/attach.exp (do_command_attach_tests): New.
15332
beb460e8
PA
153332014-03-20 Tom Tromey <tromey@redhat.com>
15334 Pedro Alves <palves@redhat.com>
15335
15336 PR cli/15718
15337 * gdb.base/condbreak-call-false.c: New file.
15338 * gdb.base/condbreak-call-false.exp: New file.
15339
40acf43a
PA
153402014-03-20 Pedro Alves <palves@redhat.com>
15341
15342 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15343 Delete.
15344 (block_signals, unblock_signals): Delete.
15345 (child_function_2, main): Remove references to deleted variable
15346 and functions.
15347
9f5e1e02
PA
153482014-03-20 Pedro Alves <palves@redhat.com>
15349
15350 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15351 Use pthread_kill to signal thread 2.
15352 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15353 Adjust to make the test send itself a signal rather than using the
15354 host's "kill" command.
15355
99619bea
PA
153562014-03-20 Pedro Alves <palves@redhat.com>
15357
15358 * gdb.threads/multiple-step-overs.c: New file.
15359 * gdb.threads/multiple-step-overs.exp: New file.
15360 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15361 Adjust expected infrun debug output.
15362
2adfaa28
PA
153632014-03-20 Pedro Alves <palves@redhat.com>
15364
15365 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15366 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15367
31e77af2
PA
153682014-03-20 Pedro Alves <palves@redhat.com>
15369
15370 PR breakpoints/7143
15371 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15372 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15373 of gdb_test_multiple.
15374 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15375 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15376
b9f437de
PA
153772014-03-20 Pedro Alves <palves@redhat.com>
15378
15379 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15380 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15381
05adc73e
PA
153822014-03-19 Pedro Alves <palves@redhat.com>
15383
15384 * gdb.base/async.exp: Remove early return.
15385
6048b950
PA
153862014-03-19 Pedro Alves <palves@redhat.com>
15387
15388 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15389
8bcfb00a
PA
153902014-03-19 Pedro Alves <palves@redhat.com>
15391
15392 * gdb.base/async.exp (test_background): Expect \r\n after
15393 "completed." in the fail pattern.
15394
884e37dc
PA
153952014-03-19 Pedro Alves <palves@redhat.com>
15396
15397 * gdb.base/async.exp (test_background): New procedure.
15398 Use it for all background execution command tests.
15399
148e57e2
PA
154002014-03-19 Pedro Alves <palves@redhat.com>
15401
15402 * gdb.base/async.exp: Use prepare_for_testing.
15403
f48088c7
PA
154042014-03-19 Pedro Alves <palves@redhat.com>
15405
15406 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15407 the same line.
15408
e2f6c966
PA
154092014-03-19 Pedro Alves <palves@redhat.com>
15410
15411 * gdb.base/async.c (main): Add "jump here" and "until here" line
15412 marker comments.
15413 * gdb.base/async.exp (jump_here): New global.
15414 (jump& test): Use it.
15415 (until_here): New global.
15416 (until& test): Use it.
15417
c30568d4
PA
154182014-03-19 Pedro Alves <palves@redhat.com>
15419
15420 * gdb.base/async.exp: Don't frob gdb_protocol.
15421
0172b6a7
DE
154222014-03-18 Doug Evans <xdje42@gmail.com>
15423
15424 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15425 Fix spelling of exec-done-display.
15426
06c868a8
JK
154272014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15428
15429 PR gdb/15358
15430 * gdb.base/gdb-sigterm.c: New file.
15431 * gdb.base/gdb-sigterm.exp: New file.
15432
0c7e1a46
PA
154332014-03-18 Pedro Alves <palves@redhat.com>
15434
15435 PR gdb/13860
15436 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15437 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15438 solib-event.
15439
f7c77d93
JB
154402014-03-17 Joel Brobecker <brobecker@adacore.com>
15441
15442 * gdb.ada/pckd_arr_ren: New testcase.
15443
5a1e8c7a
DE
154442014-03-13 Doug Evans <xdje42@gmail.com>
15445
15446 PR guile/16612
15447 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15448 collect after discarding symbols.
15449
350e1a76
DE
154502014-03-13 Ludovic Courtès <ludo@gnu.org>
15451 Doug Evans <xdje42@gmail.com>
15452
15453 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15454 to history survives a gc.
15455
a69900ae
PA
154562014-03-13 Pedro Alves <palves@redhat.com>
15457
15458 * gdb.base/default.exp: Don't test "target procfs".
15459
5db9f0bd
PA
154602014-03-13 Pedro Alves <palves@redhat.com>
15461
15462 * gdb.base/default.exp: Update "target child" and "target procfs"
15463 tests to not expect "Unix".
15464
b3ccfe11
TT
154652014-03-12 Tom Tromey <tromey@redhat.com>
15466
15467 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15468 New procs. Add target-async tests.
15469 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15470 Add target-async tests.
15471
646f4417
AA
154722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15473
15474 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15475 'func_start' and 'func_end' for the beginning and end of the
15476 function code, respectively.
15477 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15478 'func_end' instead of 'func' and 'main'.
15479
288c211f
AA
154802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15481
15482 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15483 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15484 generate the debug info assembler source.
15485
e0c0f156
AA
154862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15487
15488 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15489 * gdb.dwarf2/arr-subrange.exp: Likewise.
15490 * gdb.dwarf2/dwz.exp: Likewise.
15491 * gdb.dwarf2/method-ptr.exp: Likewise.
15492 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15493 * gdb.dwarf2/subrange.exp: Likewise.
15494 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15495 * gdb.dwarf2/implptrpiece.exp: Likewise.
15496 * gdb.dwarf2/nostaticblock.exp: Likewise.
15497
0e5c4555
AA
154982014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15499
15500 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15501 directory to absolute path name arguments.
15502
5ec18f2b
JG
155032014-03-10 Joel Brobecker <brobecker@adacore.com>
15504
15505 * gdb.ada/tagged_access: New testcase.
15506
847fc4f2
MM
155072014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15508
15509 * gdb.btrace/data.exp: Update expected output.
15510
cc3da688
YQ
155112014-03-06 Yao Qi <yao@codesourcery.com>
15512
15513 * gdb.trace/pr16508.exp: New file.
15514
0f26cec1
PA
155152014-03-05 Pedro Alves <palves@redhat.com>
15516
15517 PR gdb/16575
15518 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15519 procedure.
15520 (top level): Adjust to use it. Add tests that exercise breakpoint
15521 interaction with the code-cache.
15522
7a5a839f
LC
155232014-02-26 Ludovic Courtès <ludo@gnu.org>
15524
15525 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15526 test for 'history-append!'.
15527
31aa7e4e
JB
155282014-02-26 Joel Brobecker <brobecker@adacore.com>
15529
15530 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15531 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15532 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15533 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15534 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15535 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15536
1b588015
JB
155372014-02-26 Joel Brobecker <brobecker@adacore.com>
15538
15539 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15540 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15541 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15542
55426c9d
JB
155432014-02-26 Joel Brobecker <brobecker@adacore.com>
15544
15545 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15546
dc53a7ad
JB
155472014-02-26 Joel Brobecker <brobecker@adacore.com>
15548
15549 * gdb.dwarf2/arr-stride.c: New file.
15550 * gdb.dwarf2/arr-stride.exp: New file.
15551
12ab52e9
PA
155522014-02-26 Pedro Alves <palves@redhat.com>
15553
15554 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15555 that won't ever trigger. Make sure that GDB reports the correct
15556 breakpoint that caused the stop.
15557
849c862e
JK
155582014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15559
15560 PR gdb/16626
15561 * gdb.base/auto-load-script: New file.
15562 * gdb.base/auto-load.c: New file.
15563 * gdb.base/auto-load.exp: New file.
15564
71b7d793
JK
15565 PR gdb/16626
15566 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15567
e2f0d509
JK
155682014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15569
15570 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15571 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15572
50cc37c8
DE
155732014-02-24 Doug Evans <dje@google.com>
15574
15575 * lib/gdb.exp (run_on_host): Log error output if program fails.
15576
ea4758f2
PA
155772014-02-21 Pedro Alves <palves@redhat.com>
15578
15579 * gdb.threads/step-after-sr-lock.c: Rename to ...
15580 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15581 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15583 ... this.
15584
d7b30f67
SDJ
155852014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15586
15587 PR tdep/16397
15588 * gdb.arch/amd64-stap-special-operands.exp: New file.
15589 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15590 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15591 * gdb.arch/amd64-stap-triplet.S: Likewise.
15592 * gdb.arch/amd64-stap-triplet.c: Likewise.
15593
83deb43f
JB
155942014-02-20 Joel Brobecker <brobecker@adacore.com>
15595
15596 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15597 in .section pseudo-op.
15598
adde2bff
DE
155992014-02-20 lin zuojian <manjian2006@gmail.com>
15600 Joel Brobecker <brobecker@adacore.com>
15601 Doug Evans <xdje42@gmail.com>
15602
15603 PR symtab/16581
15604 * gdb.dwarf2/dw2-icycle.S: New file.
15605 * gdb.dwarf2/dw2-icycle.c: New file.
15606 * gdb.dwarf2/dw2-icycle.exp: New file.
15607
f7bd0f78
SC
156082014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15609
15610 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15611 operations on gdb.Value objects.
15612 * gdb.python/py-value-cc.exp: Add new test to test operations on
15613 gdb.Value objects.
15614
c17ef0d5
DE
156152014-02-18 Doug Evans <dje@google.com>
15616
15617 * Makefile.in (TESTS): New variable.
15618 (expanded_tests, expanded_tests_or_none): New variables
15619 (check-single): Pass $(expanded_tests_or_none) to runtest.
15620 (check-parallel): Only run tests in $(TESTS) if non-empty.
15621 (check/no-matching-tests-found): New rule.
15622 * README: Document TESTS makefile variable.
15623
5dd3176f
DE
156242014-02-18 Doug Evans <dje@google.com>
15625
15626 * Makefile.in (check-parallel): rm -rf outputs temp.
15627
0b10be4f
JK
156282014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15629
15630 Fix "ERROR: no fileid for" in the testsuite.
15631 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15632
85f224e7
DE
156332014-02-12 Doug Evans <dje@google.com>
15634
15635 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15636 (MISCELLANEOUS): New variable.
15637 (clean): rm -rf $(MISCELLANEOUS).
15638 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15639 dwp live in the same directory as symlinks, with each symlink pointed
15640 to a differently named file in a different directory.
15641
149b30ff
DE
156422014-02-11 Doug Evans <dje@google.com>
15643
15644 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15645 of Tcl file commands.
15646
1dfdac32
MK
156472014-02-10 Mark Kettenis <kettenis@gnu.org>
15648
15649 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15650 "kill -SIGUSR1 -1".
15651
aa4fb036
JB
156522014-02-10 Joel Brobecker <brobecker@adacore.com>
15653
15654 * gdb.ada/tick_length_array_enum_idx: New testcase.
15655
ed3ef339
DE
156562014-02-10 Doug Evans <xdje42@gmail.com>
15657
15658 * configure.ac (AC_OUTPUT): Add gdb.guile.
15659 * configure: Regenerate.
15660 * lib/gdb-guile.exp: New file.
15661 * lib/gdb.exp (get_target_charset): New function.
15662 * gdb.base/help.exp: Update expected output from "apropos apropos".
15663 * gdb.guile/Makefile.in: New file.
15664 * gdb.guile/guile.exp: New file.
15665 * gdb.guile/scm-arch.c: New file.
15666 * gdb.guile/scm-arch.exp: New file.
15667 * gdb.guile/scm-block.c: New file.
15668 * gdb.guile/scm-block.exp: New file.
15669 * gdb.guile/scm-breakpoint.c: New file.
15670 * gdb.guile/scm-breakpoint.exp: New file.
15671 * gdb.guile/scm-disasm.c: New file.
15672 * gdb.guile/scm-disasm.exp: New file.
15673 * gdb.guile/scm-equal.c: New file.
15674 * gdb.guile/scm-equal.exp: New file.
15675 * gdb.guile/scm-error.exp: New file.
15676 * gdb.guile/scm-error.scm: New file.
15677 * gdb.guile/scm-frame-args.c: New file.
15678 * gdb.guile/scm-frame-args.exp: New file.
15679 * gdb.guile/scm-frame-args.scm: New file.
15680 * gdb.guile/scm-frame-inline.c: New file.
15681 * gdb.guile/scm-frame-inline.exp: New file.
15682 * gdb.guile/scm-frame.c: New file.
15683 * gdb.guile/scm-frame.exp: New file.
15684 * gdb.guile/scm-generics.exp: New file.
15685 * gdb.guile/scm-gsmob.exp: New file.
15686 * gdb.guile/scm-iterator.c: New file.
15687 * gdb.guile/scm-iterator.exp: New file.
15688 * gdb.guile/scm-math.c: New file.
15689 * gdb.guile/scm-math.exp: New file.
15690 * gdb.guile/scm-objfile-script-gdb.in: New file.
15691 * gdb.guile/scm-objfile-script.c: New file.
15692 * gdb.guile/scm-objfile-script.exp: New file.
15693 * gdb.guile/scm-objfile.c: New file.
15694 * gdb.guile/scm-objfile.exp: New file.
15695 * gdb.guile/scm-ports.exp: New file.
15696 * gdb.guile/scm-pretty-print.c: New file.
15697 * gdb.guile/scm-pretty-print.exp: New file.
15698 * gdb.guile/scm-pretty-print.scm: New file.
15699 * gdb.guile/scm-section-script.c: New file.
15700 * gdb.guile/scm-section-script.exp: New file.
15701 * gdb.guile/scm-section-script.scm: New file.
15702 * gdb.guile/scm-symbol.c: New file.
15703 * gdb.guile/scm-symbol.exp: New file.
15704 * gdb.guile/scm-symtab-2.c: New file.
15705 * gdb.guile/scm-symtab.c: New file.
15706 * gdb.guile/scm-symtab.exp: New file.
15707 * gdb.guile/scm-type.c: New file.
15708 * gdb.guile/scm-type.exp: New file.
15709 * gdb.guile/scm-value-cc.cc: New file.
15710 * gdb.guile/scm-value-cc.exp: New file.
15711 * gdb.guile/scm-value.c: New file.
15712 * gdb.guile/scm-value.exp: New file.
15713 * gdb.guile/source2.scm: New file.
15714 * gdb.guile/types-module.cc: New file.
15715 * gdb.guile/types-module.exp: New file.
15716
7026a7c1
YQ
157172014-02-10 Yao Qi <yao@codesourcery.com>
15718
15719 PR testsuite/16543
15720 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15721 * configure: Regenerated.
15722 * Makefile.in: New file.
15723
6c466447
AS
157242014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15725
15726 * gdb.python/py-framefilter.exp: Fix typo.
15727
6e854735
YQ
157282014-02-08 Yao Qi <yao@codesourcery.com>
15729
15730 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15731 that no =breakpoint-modified is emitted when breakpoints are
15732 modified through MI commands.
15733
d137e6dc
PA
157342014-02-07 Pedro Alves <pedro@codesourcery.com>
15735 Pedro Alves <palves@redhat.com>
15736
15737 * gdb.threads/step-after-sr-lock.c: New file.
15738 * gdb.threads/step-after-sr-lock.exp: New file.
15739
b5ee5a50
PA
157402014-02-07 Pedro Alves <palves@redhat.com>
15741
15742 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15743
3c77faf3
JK
157442014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15745
15746 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15747 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15748
6dddc817
DE
157492014-02-06 Doug Evans <xdje42@gmail.com>
15750
15751 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15752 output.
15753
15754 * gdb.gdb/python-interrupts.exp: New file.
15755
de7b2893
YQ
157562014-02-05 Yao Qi <yao@codesourcery.com>
15757
15758 * gdb.trace/report.exp (use_collected_data): Test the output
15759 of "info threads" and "info inferiors".
15760
66d032ac
YQ
157612014-02-05 Yao Qi <yao@codesourcery.com>
15762
15763 Revert this patch:
15764
15765 2013-05-24 Yao Qi <yao@codesourcery.com>
15766
15767 * gdb.trace/tfile.exp: Test inferior and thread.
15768
591a12a1
UW
157692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15770
15771 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15772 on a function.
15773 * gdb.base/step-bt.c: Call hello via function pointer to make
15774 sure its first instruction is executed on powerpc64le-linux.
15775
0ff3e01f
UW
157762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15777
15778 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15779
084ee545
UW
157802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15781
15782 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15783 of the test patterns for use on little-endian systems.
15784
6ed14ff3
UW
157852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15786
15787 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15788 (decimal_vector): Fix for little-endian.
15789
401e27fd
JM
157902014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15791
15792 * gdb.arch/sparc-sysstep.exp: New file.
15793 * gdb.arch/sparc-sysstep.c: Likewise.
15794
15795 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15796
8b924729
EBM
157972014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15798
15799 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15800
fb151210
JB
158012014-01-23 Tom Tromey <tromey@redhat.com>
15802
15803 * gdb.ada/array_char_idx: New testcase.
15804
0740f8d8
TT
158052014-01-23 Tom Tromey <tromey@redhat.com>
15806
15807 PR python/16487:
15808 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15809 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15810 classes.
15811
21909fa1
TT
158122014-01-23 Tom Tromey <tromey@redhat.com>
15813
15814 PR python/16491:
15815 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15816 string from an inferior frame.
15817 * gdb.python/py-framefilter-mi.exp: Update.
15818
87ce2a04
DE
158192014-01-22 Doug Evans <dje@google.com>
15820
15821 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15822
237b092b
AA
158232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15824
15825 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15826
d674a709
AA
158272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15828
15829 * gdb.trace/entry-values.exp: Remove excess space character from
15830 regex patterns. Handle s390 call instruction.
15831
20fa3390
AA
158322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15833
15834 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15835 define "*_start" label. Make "name" static.
15836 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15837 ${name} by references to ${name}_start.
15838
78466714
AA
158392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15840
15841 * gdb.base/info-macros.exp: Remove "debug" from the compile
15842 options.
15843
ec9f644a
IB
158442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15845
15846 * gdb.dlang/demangle.exp: New file.
15847
94b1b47e
IB
158482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15849
15850 * gdb.dlang/primitive-types.exp: New file.
15851
7f420862
IB
158522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15853
15854 * configure.ac: Create gdb.dlang/Makefile.
15855 * configure: Regenerate.
15856 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15857 * gdb.dlang/Makefile.in: New file.
15858 * lib/d-support.exp: New file.
15859 * lib/gdb.exp (skip_d_tests): New proc.
15860
52834460
MM
158612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15862
15863 * gdb.btrace/delta.exp: Check reverse stepi.
15864 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15865 * gdb.btrace/finish.exp: New.
15866 * gdb.btrace/next.exp: New.
15867 * gdb.btrace/nexti.exp: New.
15868 * gdb.btrace/record_goto.c: Add comments.
15869 * gdb.btrace/step.exp: New.
15870 * gdb.btrace/stepi.exp: New.
15871 * gdb.btrace/multi-thread-step.c: New.
15872 * gdb.btrace/multi-thread-step.exp: New.
15873 * gdb.btrace/rn-dl-bind.c: New.
15874 * gdb.btrace/rn-dl-bind.exp: New.
15875 * gdb.btrace/data.c: New.
15876 * gdb.btrace/data.exp: New.
15877 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15878
6e07b1d2
MM
158792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15880
15881 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15882 * gdb.btrace/exception.exp: Update.
15883 * gdb.btrace/instruction_history.exp: Update.
15884 * gdb.btrace/record_goto.exp: Update.
15885 * gdb.btrace/tailcall.exp: Update.
15886 * gdb.btrace/unknown_functions.exp: Update.
15887 * gdb.btrace/delta.exp: New.
15888
0b722aec
MM
158892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15890
15891 * gdb.btrace/record_goto.exp: Add backtrace test.
15892 * gdb.btrace/tailcall.exp: Add backtrace test.
15893
066ce621
MM
158942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15895
15896 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15897 * gdb.btrace/record_goto.c: New.
15898 * gdb.btrace/record_goto.exp: New.
15899 * gdb.btrace/x86-record_goto.S: New.
15900
0688d04e
MM
159012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15902
15903 * gdb.btrace/function_call_history.exp: Update tests.
15904 * gdb.btrace/instruction_history.exp: Update tests.
15905
8710b709
MM
159062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15907
15908 * gdb.btrace/function_call_history.exp: Fix expected field
15909 order for "record function-call-history".
15910 Add new tests for "record function-call-history /c".
15911 * gdb.btrace/exception.cc: New.
15912 * gdb.btrace/exception.exp: New.
15913 * gdb.btrace/tailcall.exp: New.
15914 * gdb.btrace/x86-tailcall.S: New.
15915 * gdb.btrace/x86-tailcall.c: New.
15916 * gdb.btrace/unknown_functions.c: New.
15917 * gdb.btrace/unknown_functions.exp: New.
15918 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15919
5de9129b
MM
159202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15921
15922 * gdb.btrace/instruction_history.exp: Update.
15923 * gdb.btrace/function_call_history.exp: Update.
15924
23a7fe75
MM
159252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15926
15927 * gdb.btrace/function_call_history.exp: Fix expected function
15928 trace.
15929 * gdb.btrace/instruction_history.exp: Initialize traced.
15930 Remove traced_functions.
15931
724c7dd8
MM
159322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15933
15934 * gdb.btrace/function_call_history.exp: Update
15935 * gdb.btrace/instruction_history.exp: Update.
15936
6d78d93b
MM
159372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15938
15939 * gdb.btrace/enable.exp: Update expected text.
15940
93a360cc
OJ
159412014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15942
15943 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15944 bytes.
15945
3772b53f
MR
159462014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15947
15948 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15949
596662fa
OJ
159502014-01-15 Omair Javaid <omair.javaid@linaro.org>
15951
15952 * lib/gdb.exp (supports_process_record): Return true for
15953 arm*-linux*. (supports_reverse): Likewise.
15954
b5b08fb4
SC
159552014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15956
15957 PR python/15464
15958 PR python/16113
15959 * gdb.python/py-type.c: Enhance test case.
15960 * gdb.python/py-value-cc.cc: Likewise
15961 * gdb.python/py-type.exp: Add new tests.
15962 * gdb.python/py-value-cc.exp: Likewise
15963
52d7fb13
AA
159642014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15965 Pedro Alves <palves@redhat.com>
15966
15967 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15968 Make "name" extern.
15969 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15970 references to ${name}_start by references to ${name}.
15971
a2cd8cfe
JB
159722014-01-10 Joel Brobecker <brobecker@adacore.com>
15973
15974 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15975
4e23fced
JB
159762014-01-10 Joel Brobecker <brobecker@adacore.com>
15977
15978 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15979
c6a9e42c
PA
159802014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15981 Pedro Alves <palves@redhat.com>
15982
15983 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 15984 mi_gdb_target_load.
c6a9e42c 15985
b7ea362b
PA
159862014-01-08 Pedro Alves <palves@redhat.com>
15987
15988 * gdb.threads/reconnect-signal.c: New file.
15989 * gdb.threads/reconnect-signal.exp: New file.
15990
5e3f4fab
EBM
159912014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15992
15993 * gdb.base/source-dir.exp: New file.
15994
79301218
JB
159952014-01-07 Joel Brobecker <brobecker@adacore.com>
15996
15997 * gdb.ada/mi_interface: New testcase.
15998
8e355c5d
JB
159992014-01-07 Joel Brobecker <brobecker@adacore.com>
16000
16001 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16002 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16003 gdb.ada/pp-rec-component/pck.ads: New files.
16004
c0d48811
JB
160052014-01-07 Joel Brobecker <brobecker@adacore.com>
16006
16007 * gdb.python/py-pp-integral.c: New file.
16008 * gdb.python/py-pp-integral.py: New file.
16009 * gdb.python/py-pp-integral.exp: New file.
16010
17b609c3 16011For older changes see ChangeLog-1993-2013.
c906108c 16012\f
8d8cb839
EZ
16013;; Local Variables:
16014;; mode: change-log
16015;; left-margin: 8
16016;; fill-column: 74
16017;; version-control: never
16018;; End:
902f2ccb 16019
42a4f53d 16020 Copyright 2014-2019 Free Software Foundation, Inc.
902f2ccb
MC
16021 Copying and distribution of this file, with or without modification,
16022 are permitted provided the copyright notice and this notice are preserved.
This page took 3.429823 seconds and 4 git commands to generate.