]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9370fd51
AB
12020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
4 output of backtrace.
5
7c184d33
TT
62020-10-09 Tom Tromey <tromey@adacore.com>
7
8 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
9 (Rec): Add field. Fix range.
10 * gdb.ada/scalar_storage.exp: Update.
11
3d87245c
HD
122020-10-09 Hannes Domani <ssbssa@yahoo.de>
13
14 PR exp/26714
15 * gdb.base/printcmds.exp: Add tests for void results.
16
f5c4b229
JV
172020-10-09 Jan Vrany <jan.vrany@labware.com>
18
19 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
20 is emmited for both 'set directories' and 'directory' commands.
21
b2701685
TT
222020-10-08 Tom Tromey <tom@tromey.com>
23
24 * gdb.base/style.exp: Check that "main"'s name is styled.
25
e86efb33
TT
262020-10-07 Tom Tromey <tromey@adacore.com>
27
28 * gdb.base/find.exp: Rename some tests.
29
30897591
GB
302020-10-06 Gary Benson <gbenson@redhat.com>
31
32 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
33 * gdb.base/list1.c (unused): Likewise.
34
ced4a4c1
GB
352020-10-06 Gary Benson <gbenson@redhat.com>
36
37 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
38 __attribute__ ((used)).
39 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
40
ed3bdac4
AB
412020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
44 make use of regions throughout.
45 * gdb.base/overlays.exp: Enclose string with variableds in "..",
46 not {...}.
47 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
48
cd096ec8
HD
492020-10-05 Hannes Domani <ssbssa@yahoo.de>
50
51 * gdb.base/call-sc.c: Fix return struct on stack test case.
52 * gdb.base/call-sc.exp: Likewise.
53
3ee6f75d
GB
542020-10-02 Gary Benson <gbenson@redhat.com>
55
56 * README: Fix "paralell".
57
f65825ec
GB
582020-09-30 Gary Benson <gbenson@redhat.com>
59
60 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
61 Convert directive to lowercase.
62 (.Labbrev1_begin): Add missing label.
63 (abbrev code 0x1): Remove DW_AT_stmt_list.
64 (.Ldie_b): Likewise.
65
5f278258
TT
662020-09-27 Tom Tromey <tom@tromey.com>
67
68 * gdb.tui/new-layout.exp: Use with_test_prefix.
69
8f9929bb
GR
702020-09-26 Gareth Rees <grees@undo.io> (tiny change)
71
72 PR python/26586
73 * gdb.python/python.exp: add test cases for the from_tty
74 argument to gdb.execute.
75
c20c017b
GB
762020-09-25 Gary Benson <gbenson@redhat.com>
77
78 * gdb.base/infcall-nested-structs.exp.tcl: Add
79 additional_flags=-Wno-tautological-compare for C++
80 tests when compiling using Clang.
81
68d654af
GB
822020-09-25 Gary Benson <gbenson@redhat.com>
83
84 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
85 for .c files.
86
b551a89f
TT
872020-09-24 Tom Tromey <tromey@adacore.com>
88
89 PR tui/26638:
90 * gdb.tui/list.exp: Check output of "focus next".
91
20a5fcbd
TT
922020-09-23 Tom Tromey <tom@tromey.com>
93
94 * gdb.dwarf2/intbits.exp: New file.
95 * gdb.dwarf2/intbits.c: New file.
96
b167e53f
PA
972020-09-20 Pedro Alves <pedro@palves.net>
98
99 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
100 spawn_id before calling remote_close. Close secondary MI channel.
101
dbc49e9f
PA
1022020-09-20 Pedro Alves <pedro@palves.net>
103
104 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
105 fails.
106
c8d5abea
AB
1072020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * gdb.fortran/array-slices.exp: Update expected results.
110 * gdb.fortran/class-allocatable-array.exp: Likewise.
111 * gdb.fortran/multi-dim.exp: Likewise.
112 * gdb.fortran/vla-type.exp: Likewise.
113 * gdb.mi/mi-vla-fortran.exp: Likewise.
114
14f9473c
VC
1152020-09-18 Victor Collod <vcollod@nvidia.com>
116
117 PR gdb/26635
118 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
119 compatible with i386, and move it to...
120 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
121 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
122 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
123
e8ef12b9
PA
1242020-09-18 Pedro Alves <pedro@palves.net>
125
126 PR gdb/26631
127 * gdb.multi/multi-target-thread-find.exp: New file.
128
e11daf7a
PA
1292020-09-18 Pedro Alves <pedro@palves.net>
130
131 * gdb.multi/multi-target-continue.exp: New file, factored out from
132 multi-target.exp.
133 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
134 multi-target.exp.
135 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
136 multi-target.exp.
137 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
138 multi-target.exp.
139 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
140 multi-target.exp.
141 * gdb.multi/multi-target.exp.tcl: New file, factored out from
142 multi-target.exp.
143 * gdb.multi/multi-target.exp: Delete.
144
d0edc2b8
AB
1452020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
146
147 * gdb.fortran/array-slices.exp: Add missing message data.
148
7474326c
PA
1492020-09-17 Pedro Alves <pedro@palves.net>
150
151 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
152
dd23068d
PA
1532020-09-17 Pedro Alves <pedro@palves.net>
154
155 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
156 full prototype.
157
0640a543
PA
1582020-09-17 Pedro Alves <pedro@palves.net>
159
160 * gdb.python/py-as-string.c: Add cast.
161
ef0cdbc1
PA
1622020-09-17 Pedro Alves <pedro@palves.net>
163
164 * gdb.base/sizeof.c (fill): Add cast.
165
3a5eeb8b
PA
1662020-09-17 Pedro Alves <pedro@palves.net>
167
168 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
169
a8129512
PA
1702020-09-17 Pedro Alves <pedro@palves.net>
171
172 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
173 linkage name.
174 * gdb.base/prologue.exp: Use print /d.
175 * gdb.base/symbol-alias.exp: Handle C++ output.
176 * gdb.base/symbol-alias2.c: Handle C++ output.
177 [__cplusplus] (func): Explicitly specify linkage name.
178
a83cdcb6
PA
1792020-09-17 Pedro Alves <pedro@palves.net>
180
181 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
182 (struct my_key_t): ... this. Adjust all references.
183 (struct value_t): Rename to ...
184 (struct my_value_t): ... this. Adjust all references.
185 (create_map, add_map_element, create_map_map)
186 (add_map_map_element): Add casts.
187
d4bcee5c
PA
1882020-09-17 Pedro Alves <pedro@palves.net>
189
190 * gdb.python/py-framefilter-mi.c (funca): Add casts.
191 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
192
81f90489
PA
1932020-09-17 Pedro Alves <pedro@palves.net>
194
195 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
196
0a229804
PA
1972020-09-17 Pedro Alves <pedro@palves.net>
198
199 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
200 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
201 (charfoo, intfoo): Define full prototype.
202 * gdb.base/ptype1.c (charfoo): Define full prototype.
203 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
204 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
205
c3e5138d
PA
2062020-09-17 Pedro Alves <pedro@palves.net>
207
208 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
209 Don't define.
210 (utf_32_string): Compile for both C and C++.
211 * gdb.base/charset.exp: Use "print /d".
212
151fdbad
PA
2132020-09-17 Pedro Alves <pedro@palves.net>
214
215 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
216 (nullptr): Rename to ...
217 (null_ptr): ... this.
218 * gdb.base/watchpoint.exp: Adjust to rename.
219
18a25b64
PA
2202020-09-17 Pedro Alves <pedro@palves.net>
221
222 * gdb.base/printcmds.c (three, flag_enum_without_zero)
223 (three_not_flag): Add casts.
224
11fac337
PA
2252020-09-17 Pedro Alves <pedro@palves.net>
226
227 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
228 char array.
229 (main): Add references to Barrier, TestStrings, TestStringsH and
230 TestStringsW.
231 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
232 and expect a full prototype in C++.
233
52626c58
PA
2342020-09-17 Pedro Alves <pedro@palves.net>
235
236 * gdb.base/nested-addr.c (main): Add cast.
237 * gdb.base/nested-addr.exp: Use "print /d".
238
52bb0902
PA
2392020-09-17 Pedro Alves <pedro@palves.net>
240
241 * gdb.base/break.exp (func): New. Use it throughout when
242 expecting a function name.
243
73e18ac9
PA
2442020-09-17 Pedro Alves <pedro@palves.net>
245
246 * gdb.base/display.exp: Issue "set print asm-demangle on".
247
c8b18808
PA
2482020-09-17 Pedro Alves <pedro@palves.net>
249
250 * gdb.base/find.c: Include <string.h>.
251 (init_bufs): Add cast.
252 * gdb.base/find.exp: Issue "set print asm-demangle on".
253
fe830662
TT
2542020-09-16 Tom Tromey <tromey@adacore.com>
255
256 PR gdb/26598:
257 * gdb.base/skipcxx.exp: New file.
258 * gdb.base/skipcxx.cc: New file.
259
945ff6e2
TV
2602020-09-16 Tom de Vries <tdevries@suse.de>
261
262 PR testsuite/26617
263 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
264 WITH_DEBUG_SECTIONS is defined.
265 (xstr, str): New macro.
266 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
267 to get start and size of _Dmain.
268 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
269 using additional_flags.
270
da1df1db
TBA
2712020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
272
273 * gdb.base/bp-cmds-sourced-script.c: New file.
274 * gdb.base/bp-cmds-sourced-script.exp: New test.
275 * gdb.base/bp-cmds-sourced-script.gdb: New file.
276
337882d4
TV
2772020-09-16 Tom de Vries <tdevries@suse.de>
278
279 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
280 get the gdb prompt after issuing "monitor exit".
281
7361f908
TV
2822020-09-16 Tom de Vries <tdevries@suse.de>
283
284 PR testsuite/26624
285 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
286
4d91ddd3
TV
2872020-09-16 Tom de Vries <tdevries@suse.de>
288
289 PR testsuite/26618
290 * gdb.tui/new-layout.exp: Escape unbalanced braces.
291
08cc37dd
TT
2922020-09-15 Tom Tromey <tromey@adacore.com>
293
294 PR rust/26197:
295 * lib/rust-support.exp (rust_llvm_version): New proc.
296 * gdb.rust/simple.exp: Check rust_llvm_version.
297
ee6372f2
TV
2982020-09-14 Tom de Vries <tdevries@suse.de>
299
300 * gdb.rust/traits.exp: Fix PATH warning.
301
dc3a371e
PA
3022020-09-13 Pedro Alves <pedro@palves.net>
303
304 * gdb.base/catch-follow-exec.c (main): Add explicit return
305 statement.
306 * gdb.base/catch-signal.c (main): Likewise.
307 * gdb.base/condbreak-call-false.c (main): Likewise.
308 * gdb.base/consecutive.c (main): Add explicit return
309 statement and return type.
310 * gdb.base/cursal.c (main): Add explicit return statement.
311 * gdb.base/cvexpr.c (main): Likewise.
312 * gdb.base/display.c (main): Add explicit return statement and
313 return type.
314 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
315 * gdb.base/endianity.c (main): Likewise.
316 * gdb.base/execd-prog.c (main): Likewise.
317 * gdb.base/gdb1090.c (main): Likewise.
318 * gdb.base/info_qt.c (main): Likewise.
319 * gdb.base/lineinc.c (main): Likewise.
320 * gdb.base/load-command.c (main): Likewise.
321 * gdb.base/macscp1.c (main): Likewise.
322 * gdb.base/pr10179-a.c (main): Likewise.
323 * gdb.base/quit-live.c (main): Likewise.
324 * gdb.base/scope0.c (main): Likewise.
325 * gdb.base/settings.c (main): Likewise.
326 * gdb.base/stack-checking.c (main): Return int.
327 * gdb.base/varargs.c (main): Add explicit return statement.
328 * gdb.cp/ambiguous.cc (main): Likewise.
329 * gdb.cp/anon-struct.cc (main): Likewise.
330 * gdb.cp/anon-union.cc (main): Likewise.
331 * gdb.cp/bool.cc (main): Likewise.
332 * gdb.cp/bs15503.cc (main): Likewise.
333 * gdb.cp/cplusfuncs.cc (main): Likewise.
334 * gdb.cp/cttiadd.cc (main): Likewise.
335 * gdb.cp/extern-c.cc (main): Likewise.
336 * gdb.cp/filename.cc (main): Likewise.
337 * gdb.cp/formatted-ref.cc (main): Likewise.
338 * gdb.cp/mb-ctor.cc (main): Likewise.
339 * gdb.cp/member-ptr.cc (main): Likewise.
340 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
341 * gdb.cp/overload-const.cc (main): Likewise.
342 * gdb.cp/paren-type.cc (main): Likewise.
343 * gdb.cp/parse-lang.cc (main): Likewise.
344 * gdb.cp/pr-1023.cc (main): Likewise.
345 * gdb.cp/psmang1.cc (main): Likewise.
346 * gdb.cp/readnow-language.cc (main): Likewise.
347 * gdb.cp/ref-params.cc (main): Likewise.
348 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
349 * gdb.cp/virtbase2.cc (main): Likewise.
350 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
351 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
352 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
353 * gdb.mi/mi-console.c (main): Likewise.
354 * gdb.mi/mi-read-memory.c (main): Likewise.
355 * gdb.modula2/multidim.c (main): Likewise.
356 * gdb.opt/inline-small-func.c (main): Likewise.
357 * gdb.python/py-rbreak.c (main): Likewise.
358 * gdb.stabs/exclfwd1.c (main): Likewise.
359 * gdb.trace/qtro.c (main): Likewise.
360
af26601c
PA
3612020-09-13 Pedro Alves <pedro@palves.net>
362
363 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
364 instead of getenv.
365
2f4b83cd
PA
3662020-09-13 Pedro Alves <pedro@palves.net>
367
368 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
369 instead of spawning GDB with remote_spawn.
370 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
371 gdb_spawn instead of spawning GDB with remote_spawn.
372
c49da0e4
PA
3732020-09-13 Pedro Alves <pedro@palves.net>
374
375 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
376 file and add calls to first and second.
377 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
378 add call to f.
379
6791b117
PA
3802020-09-13 Pedro Alves <pedro@palves.net>
381
382 * gdb.mi/mi-break-qualified.cc: New file.
383 * gdb.mi/mi-break-qualified.exp: New file.
384 * lib/mi-support.exp (mi_create_breakpoint_multi)
385 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
386 procedures.
387 (mi_create_breakpoint_1): New, factored out from
388 mi_create_breakpoint.
389
3b8d4c5c
PA
3902020-09-13 Pedro Alves <pedro@palves.net>
391
392 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
393 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
394 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
395 (register_class): Delete.
396 (main): Don't call register_class.
397
d5f96005
PA
3982020-09-13 Pedro Alves <pedro@palves.net>
399
400 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
401 (do_tests): Remove "calling method for small class" test.
402 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
403 (register_class): Delete.
404 (main): Don't call register_class.
405 * gdb.cp/call-method-register.exp: New file, based on bits removed
406 from classes.exp.
407 * gdb.cp/call-method-register.cc: New file, based on bits removed
408 from classes.cc.
409
77f2120b
PA
4102020-09-13 Pedro Alves <pedro@palves.net>
411
412 * gdb.base/msym-bp-2.c: New.
413 * gdb.base/msym-bp-shl-lib.c: New file.
414 * gdb.base/msym-bp-shl-main-2.c: New file.
415 * gdb.base/msym-bp-shl-main.c: New file.
416 * gdb.base/msym-bp-shl.exp: New file.
417 * gdb.base/msym-bp.c: New file.
418 * gdb.base/msym-bp.exp: New file.
419
32aea73e
JB
4202020-09-13 Joel Brobecker <brobecker@adacore.com>
421
422 * gdb.base/default.exp: Change $_gdb_major to 11.
423
2a67f09d
FW
4242020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
425 Felix Willgerodt <Felix.Willgerodt@intel.com>
426
427 * x86-avx512bf16.c: New file.
428 * x86-avx512bf16.exp: Likewise.
429 * lib/gdb.exp (skip_avx512bf16_tests): New function.
430
ad570dd7
TV
4312020-09-11 Tom de Vries <tdevries@suse.de>
432
433 PR exp/26602
434 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
435
a56f7391
TBA
4362020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
437
438 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
439
918619e5
AM
4402020-09-10 Alan Modra <amodra@gmail.com>
441
442 PR 26597
443 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
444
cac1e71d
TV
4452020-09-08 Tom de Vries <tdevries@suse.de>
446
447 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
448 after gdb_starti_cmd.
449
c5cd900e
AKS
4502020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
451
452 * lib/fortran.exp (fortran_complex8): New proc.
453 (fortran_complex16): New proc.
454 * gdb.fortran/complex.exp: Use routines from fortran.exp
455 * gdb.fortran/pointer-to-pointer.exp: Likewise.
456 * gdb.fortran/vla-ptr-info.exp: Likewise.
457
8f5c6526
TV
4582020-09-03 Tom de Vries <tdevries@suse.de>
459
460 PR breakpoint/26546
461 * gdb.base/label-without-address.exp: Runto main first.
462
02c6f3f1
TT
4632020-09-02 Tom Tromey <tromey@adacore.com>
464
465 * gdb.ada/mi_var_access.exp: Test children of access variable.
466 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
467 * gdb.ada/mi_var_array.exp: Update.
468
efe24f05
KB
4692020-08-31 Kevin Buettner <kevinb@redhat.com>
470
471 * gdb.base/corefile.exp (warning-free): XFAIL test when running
472 on docker w/ AUFS storage driver.
473
973695d6
KB
4742020-08-31 Kevin Buettner <kevinb@redhat.com>
475
476 * gdb.base/corefile2.exp (renamed binfile): New tests.
477
f3bd50f1
SM
4782020-08-31 Simon Marchi <simon.marchi@efficios.com>
479
480 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
481
22b9b4b0
SL
4822020-08-31 Simon Marchi <simon.marchi@efficios.com>
483
484 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
485 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
486
8efaf6b3
SM
4872020-08-31 Simon Marchi <simon.marchi@efficios.com>
488
489 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
490 output, printing a "not saved" value from history and printing a
491 convenience variable created from a "not saved" value.
492
e840f2e3
TV
4932020-08-31 Tom de Vries <tdevries@suse.de>
494
495 * gdb.base/eh_return.exp: Use nopie.
496
8f57f343
PA
4972020-08-28 Pedro Alves <pedro@palves.net>
498
499 * gdb.base/advance-until-multiple-locations.exp
500 (advance_overload, until_overload): Adjust to match the
501 frame/function header instead of the source line text.
502
626d2320
TV
5032020-08-28 Tom de Vries <tdevries@suse.de>
504
505 * gdb.base/label-without-address.c: New test.
506 * gdb.base/label-without-address.exp: New file.
507
df631783
PA
5082020-08-27 Pedro Alves <pedro@palves.net>
509
510 PR gdb/26523
511 PR gdb/26524
512 * gdb.base/advance-until-multiple-locations.cc: New.
513 * gdb.base/advance-until-multiple-locations.exp: New.
514
48b076bb
SM
5152020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
516
517 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
518
c2015ce4
AB
5192020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
520
521 * gdb.arch/amd64-byte.exp: Make test names unique, use
522 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
523 * gdb.arch/amd64-dword.exp: Likewise.
524 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
525 * gdb.arch/amd64-stap-special-operands.exp: Make test names
526 unique.
527 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
528 * gdb.arch/amd64-word.exp: Make test names unique, use
529 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
530 * gdb.arch/i386-byte.exp: Make test names unique, use
531 gdb_breakpoint.
532 * gdb.arch/i386-word.exp: Likewise.
533
995d3a19
SV
5342020-08-25 Shahab Vahedi <shahab@synopsys.com>
535
536 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
537
8cac2b31
SM
5382020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
539
540 PR gdb/26532
541 * gdb.threads/stepi-random-signal.exp: Update pattern.
542
2bc19622
SM
5432020-08-25 Simon Marchi <simon.marchi@efficios.com>
544
545 PR gdb/26532
546 * gdb.base/ui-redirect.exp: Update pattern.
547
b04aa1fc
GB
5482020-08-25 Gary Benson <gbenson@redhat.com>
549
550 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
551 when compiling with clang.
8571e9c8 552 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 553
9f68b453
GB
5542020-08-25 Gary Benson <gbenson@redhat.com>
555
556 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
557 Add additional_flags=-Wno-inaccessible-base when compiling
558 with GCC >= 10.1 or clang. Add additional_flags=-w when
559 compiling with GCC < 10.
560
3945d2d7
GM
5612020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
562
563 PR m2/26372
fc5d6901
SM
564 * gdb.modula2/multidim.c: New file.
565 * gdb.modula2/multidim.exp: New file.
3945d2d7 566
60122dbe
SM
5672020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
568
569 * lib/gdb.exp (runto): Always emit fail on internal error.
570
1eb8556f
SM
5712020-08-24 Simon Marchi <simon.marchi@efficios.com>
572
573 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
574 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
575 Likewise.
576 * gdb.threads/stepi-random-signal.exp: Likewise.
577
33bf4c5c
TBA
5782020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
579
580 * gdb.base/print-file-var.exp: Fix typo "breapoint".
581 * gdb.trace/strace.exp: Ditto.
582
c2fd7fae
AKS
5832020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
584
585 * gdb.fortran/vla-type.exp: Skip commands not required for
586 the Flang compiled binaries after prologue fix.
587
326afb72
TT
5882020-08-17 Tom de Vries <tdevries@suse.de>
589 Tom Tromey <tromey@adacore.com>
590
591 PR rust/26197:
592 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
593
3ae7ab99
TT
5942020-08-17 Tom Tromey <tromey@adacore.com>
595
596 * gdb.ada/mi_var_access.exp: New file.
597 * gdb.ada/mi_var_access/mi_access.adb: New file.
598 * gdb.ada/mi_var_access/pck.adb: New file.
599 * gdb.ada/mi_var_access/pck.ads: New file.
600
f569c1c5
TV
6012020-08-16 Tom de Vries <tdevries@suse.de>
602
603 PR gdb/25350
604 * gdb.base/eh_return.c: New test.
605 * gdb.base/eh_return.exp: New file.
606
3d11c30a
TV
6072020-08-15 Tom de Vries <tdevries@suse.de>
608
609 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
610 (mixed_func_1d_): Use fortran_charlen_t in decl.
611
547ce8f0
TV
6122020-08-15 Tom de Vries <tdevries@suse.de>
613
614 PR backtrace/26390
615 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
616 Update expected pattern.
617
a54a7f13
PA
6182020-08-13 Pedro Alves <pedro@palves.net>
619
620 * gdb.fortran/complex.exp: Check skip_fortran_tests.
621 * gdb.fortran/library-module.exp: Likewise.
622 * gdb.fortran/logical.exp: Likewise.
623 * gdb.fortran/module.exp: Likewise.
624 * gdb.fortran/print_type.exp: Likewise.
625 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
626 * gdb.fortran/vla-datatypes.exp: Likewise.
627 * gdb.fortran/vla-history.exp: Likewise.
628 * gdb.fortran/vla-ptr-info.exp: Likewise.
629 * gdb.fortran/vla-ptype-sub.exp: Likewise.
630 * gdb.fortran/vla-ptype.exp: Likewise.
631 * gdb.fortran/vla-sizeof.exp: Likewise.
632 * gdb.fortran/vla-type.exp: Likewise.
633 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
634 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
635 * gdb.fortran/vla-value-sub.exp: Likewise.
636 * gdb.fortran/vla-value.exp: Likewise.
637
7a82e903
PA
6382020-08-13 Pedro Alves <pedro@palves.net>
639
640 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
641 * gdb.ada/access_to_packed_array.exp: Likewise.
642 * gdb.ada/access_to_unbounded_array.exp: Likewise.
643 * gdb.ada/addr_arith.exp: Likewise.
644 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
645 * gdb.ada/arr_arr.exp: Likewise.
646 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
647 * gdb.ada/array_bounds.exp: Likewise.
648 * gdb.ada/array_of_variable_length.exp: Likewise.
649 * gdb.ada/array_ptr_renaming.exp: Likewise.
650 * gdb.ada/array_subscript_addr.exp: Likewise.
651 * gdb.ada/arraydim.exp: Likewise.
652 * gdb.ada/arrayparam.exp: Likewise.
653 * gdb.ada/arrayptr.exp: Likewise.
654 * gdb.ada/assign_1.exp: Likewise.
655 * gdb.ada/assign_arr.exp: Likewise.
656 * gdb.ada/atomic_enum.exp: Likewise.
657 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
658 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
659 * gdb.ada/bias.exp: Likewise.
660 * gdb.ada/boolean_expr.exp: Likewise.
661 * gdb.ada/bp_c_mixed_case.exp: Likewise.
662 * gdb.ada/bp_enum_homonym.exp: Likewise.
663 * gdb.ada/bp_inlined_func.exp: Likewise.
664 * gdb.ada/bp_on_var.exp: Likewise.
665 * gdb.ada/bp_range_type.exp: Likewise.
666 * gdb.ada/bp_reset.exp: Likewise.
667 * gdb.ada/call_pn.exp: Likewise.
668 * gdb.ada/catch_assert_if.exp: Likewise.
669 * gdb.ada/catch_ex.exp: Likewise.
670 * gdb.ada/catch_ex_std.exp: Likewise.
671 * gdb.ada/char_enum.exp: Likewise.
672 * gdb.ada/char_param.exp: Likewise.
673 * gdb.ada/complete.exp: Likewise.
674 * gdb.ada/cond_lang.exp: Likewise.
675 * gdb.ada/convvar_comp.exp: Likewise.
676 * gdb.ada/dgopt.exp: Likewise.
677 * gdb.ada/disc_arr_bound.exp: Likewise.
678 * gdb.ada/display_nested.exp: Likewise.
679 * gdb.ada/dot_all.exp: Likewise.
680 * gdb.ada/dyn_loc.exp: Likewise.
681 * gdb.ada/dyn_stride.exp: Likewise.
682 * gdb.ada/excep_handle.exp: Likewise.
683 * gdb.ada/expr_delims.exp: Likewise.
684 * gdb.ada/expr_with_funcall.exp: Likewise.
685 * gdb.ada/exprs.exp: Likewise.
686 * gdb.ada/fin_fun_out.exp: Likewise.
687 * gdb.ada/fixed_cmp.exp: Likewise.
688 * gdb.ada/formatted_ref.exp: Likewise.
689 * gdb.ada/frame_arg_lang.exp: Likewise.
690 * gdb.ada/frame_args.exp: Likewise.
691 * gdb.ada/fullname_bp.exp: Likewise.
692 * gdb.ada/fun_addr.exp: Likewise.
693 * gdb.ada/fun_in_declare.exp: Likewise.
694 * gdb.ada/fun_overload_menu.exp: Likewise.
695 * gdb.ada/fun_renaming.exp: Likewise.
696 * gdb.ada/funcall_char.exp: Likewise.
697 * gdb.ada/funcall_param.exp: Likewise.
698 * gdb.ada/funcall_ptr.exp: Likewise.
699 * gdb.ada/funcall_ref.exp: Likewise.
700 * gdb.ada/homonym.exp: Likewise.
701 * gdb.ada/info_addr_mixed_case.exp: Likewise.
702 * gdb.ada/info_auto_lang.exp: Likewise.
703 * gdb.ada/info_exc.exp: Likewise.
704 * gdb.ada/info_types.exp: Likewise.
705 * gdb.ada/int_deref.exp: Likewise.
706 * gdb.ada/interface.exp: Likewise.
707 * gdb.ada/iwide.exp: Likewise.
708 * gdb.ada/lang_switch.exp: Likewise.
709 * gdb.ada/length_cond.exp: Likewise.
710 * gdb.ada/maint_with_ada.exp: Likewise.
711 * gdb.ada/mi_catch_assert.exp: Likewise.
712 * gdb.ada/mi_catch_ex.exp: Likewise.
713 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
714 * gdb.ada/mi_dyn_arr.exp: Likewise.
715 * gdb.ada/mi_ex_cond.exp: Likewise.
716 * gdb.ada/mi_exc_info.exp: Likewise.
717 * gdb.ada/mi_interface.exp: Likewise.
718 * gdb.ada/mi_prot.exp: Likewise.
719 * gdb.ada/mi_ref_changeable.exp: Likewise.
720 * gdb.ada/mi_string_access.exp: Likewise.
721 * gdb.ada/mi_task_arg.exp: Likewise.
722 * gdb.ada/mi_task_info.exp: Likewise.
723 * gdb.ada/mi_var_array.exp: Likewise.
724 * gdb.ada/mi_var_union.exp: Likewise.
725 * gdb.ada/mi_variant.exp: Likewise.
726 * gdb.ada/minsyms.exp: Likewise.
727 * gdb.ada/mod_from_name.exp: Likewise.
728 * gdb.ada/nested.exp: Likewise.
729 * gdb.ada/null_array.exp: Likewise.
730 * gdb.ada/optim_drec.exp: Likewise.
731 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
732 * gdb.ada/packed_array_assign.exp: Likewise.
733 * gdb.ada/packed_tagged.exp: Likewise.
734 * gdb.ada/pp-rec-component.exp: Likewise.
735 * gdb.ada/print_chars.exp: Likewise.
736 * gdb.ada/print_pc.exp: Likewise.
737 * gdb.ada/ptr_typedef.exp: Likewise.
738 * gdb.ada/ptype_arith_binop.exp: Likewise.
739 * gdb.ada/ptype_array.exp: Likewise.
740 * gdb.ada/ptype_field.exp: Likewise.
741 * gdb.ada/ptype_tagged_param.exp: Likewise.
742 * gdb.ada/ptype_union.exp: Likewise.
743 * gdb.ada/py_range.exp: Likewise.
744 * gdb.ada/py_taft.exp: Likewise.
745 * gdb.ada/rdv_wait.exp: Likewise.
746 * gdb.ada/rec_comp.exp: Likewise.
747 * gdb.ada/rec_return.exp: Likewise.
748 * gdb.ada/ref_param.exp: Likewise.
749 * gdb.ada/ref_tick_size.exp: Likewise.
750 * gdb.ada/rename_subscript_param.exp: Likewise.
751 * gdb.ada/repeat_dyn.exp: Likewise.
752 * gdb.ada/same_component_name.exp: Likewise.
753 * gdb.ada/same_enum.exp: Likewise.
754 * gdb.ada/scalar_storage.exp: Likewise.
755 * gdb.ada/set_wstr.exp: Likewise.
756 * gdb.ada/small_reg_param.exp: Likewise.
757 * gdb.ada/str_binop_equal.exp: Likewise.
758 * gdb.ada/str_ref_cmp.exp: Likewise.
759 * gdb.ada/str_uninit.exp: Likewise.
760 * gdb.ada/sub_variant.exp: Likewise.
761 * gdb.ada/sym_print_name.exp: Likewise.
762 * gdb.ada/taft_type.exp: Likewise.
763 * gdb.ada/tagged.exp: Likewise.
764 * gdb.ada/tagged_access.exp: Likewise.
765 * gdb.ada/task_bp.exp: Likewise.
766 * gdb.ada/task_switch_in_core.exp: Likewise.
767 * gdb.ada/tasks.exp: Likewise.
768 * gdb.ada/tick_last_segv.exp: Likewise.
769 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
770 * gdb.ada/type_coercion.exp: Likewise.
771 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
772 * gdb.ada/unchecked_union.exp: Likewise.
773 * gdb.ada/uninitialized_vars.exp: Likewise.
774 * gdb.ada/var_arr_attrs.exp: Likewise.
775 * gdb.ada/var_arr_typedef.exp: Likewise.
776 * gdb.ada/var_rec_arr.exp: Likewise.
777 * gdb.ada/variant-record.exp: Likewise.
778 * gdb.ada/variant.exp: Likewise.
779 * gdb.ada/variant_record_packed_array.exp: Likewise.
780 * gdb.ada/varsize_limit.exp: Likewise.
781 * gdb.ada/whatis_array_val.exp: Likewise.
782 * gdb.ada/widewide.exp: Likewise.
783 * gdb.ada/win_fu_syms.exp: Likewise.
784
7852020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
786
787 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
788
10c381b5
AB
7892020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
790
791 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
792 unset the array variable.
793
8f34b746
TV
7942020-08-03 Tom de Vries <tdevries@suse.de>
795
796 PR symtab/26333
797 * lib/dwarf.exp (DW_LNE_user): New proc.
798 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
799 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
800
0245e136
KB
8012020-07-31 Kevin Buettner <kevinb@redhat.com>
802
803 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
804 to 'uintptr_t'
805 (inttypes.h): Include.
806
9ef1ec5d
KB
8072020-07-31 Kevin Buettner <kevinb@redhat.com>
808
809 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
810 (C5_24k): Delete.
811 (C5_8k, C5_64k, C5_256k): New macros.
812 (buf_ro): Allocate 256 KiB of initialized data.
813
4c55e970
TBA
8142020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
815
816 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
817 that attempt to overwrite an existing condition with a condition
818 that fails parsing and also with a condition that parses fine
819 but contains junk at the end.
820
1e620590
TBA
8212020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
822
823 * gdb.base/condbreak-bad.c: New test.
824 * gdb.base/condbreak-bad.exp: New file.
825
e12dcc50
TV
8262020-07-30 Tom de Vries <tdevries@suse.de>
827
828 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
829 out of ...
830 (GDBInfoModuleSymbols::check_entry): ... here.
831 (GDBInfoModuleSymbols::check_optional_entry): New proc.
832 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
833 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
834
6cc64caa
TV
8352020-07-30 Tom de Vries <tdevries@suse.de>
836
837 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
838 "__class_some_module_Number_t" optional.
839
90fd07fc
TV
8402020-07-29 Tom de Vries <tdevries@suse.de>
841
842 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
843 multiple locations.
844
f5c79e97
TV
8452020-07-29 Tom de Vries <tdevries@suse.de>
846
847 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
848 rather than function name.
849
f75a0693
AB
8502020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
851
852 PR symtab/26270:
853 * gdb.cp/disasm-func-name.cc: New file.
854 * gdb.cp/disasm-func-name.exp: New file.
855
4888741a
TT
8562020-07-28 Tom Tromey <tromey@adacore.com>
857
858 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
859 'varval' location.
860
43d5901d
AB
8612020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
862
863 * gdb.python/py-unwind.py: Update to make use of a register
864 descriptor.
865
14fa8fb3
AB
8662020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * gdb.python/py-arch-reg-names.exp: Add additional tests.
869
e79eb02f
AB
8702020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 PR fortran/23051
873 PR fortran/26139
874 * gdb.fortran/class-allocatable-array.exp: New file.
875 * gdb.fortran/class-allocatable-array.f90: New file.
876 * gdb.fortran/pointer-to-pointer.exp: New file.
877 * gdb.fortran/pointer-to-pointer.f90: New file.
878
876518dd
TV
8792020-07-25 Tom de Vries <tdevries@suse.de>
880
881 PR symtab/26243
882 * gdb.dwarf2/dw2-line-number-zero.c: New test.
883 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
884
6dcfb80a
TV
8852020-07-24 Tom de Vries <tdevries@suse.de>
886
887 PR testsuite/26293
888 * gdb.ada/mi_prot.exp: Require gnatmake-8.
889
e7bc9db8
PA
8902020-07-23 Pedro Alves <pedro@palves.net>
891
892 * gdb.server/server-kill.exp (prepare): New, factored out from the
893 top level.
894 (kill_server): New.
895 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
896 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
897
78344df7
AB
8982020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
899
900 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
901
25dfed24
SL
9022020-07-22 Sandra Loosemore <sandra@codesourcery.com>
903
904 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
905 Initialize to empty string at top level.
906 (gdb_wrapper_init): Revert check for file existence on build.
907 Build the wrapper in its default place, not a build-specific
908 location. When host == build, make the pathname absolute.
909 (gdb_compile): Delete leftover declaration of
910 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
911 string instead of uninitialized.
912
7da515fd
KB
9132020-07-22 Kevin Buettner <kevinb@redhat.com>
914
915 * gdb.base/corefile2.exp: New file.
916 * gdb.base/coremaker2.exp: New file.
917
9c5ec5c2
KB
9182020-07-22 Kevin Buettner <kevinb@redhat.com>
919
920 * gdb.base/coredump-filter.exp: Add second
921 non-Private-Shared-Anon-File test.
922 (test_disasm): Rename binfile for test which is expected
923 to fail.
924
f9e233c9
KB
9252020-07-22 Kevin Buettner <kevinb@redhat.com>
926
927 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
928 data in core file".
929 * gdb.base/coremaker.c (buf2ro): New global.
930 (mmapdata): Add a read-only mmap mapping.
931
94c265d7
KB
9322020-07-22 Kevin Buettner <kevinb@redhat.com>
933
934 PR corefiles/25631
935 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
936 New test.
937 * gdb.base/coremaker.c (buf3): New global.
938 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
939 flags.
940
9412020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
942
943 * gdb.base/coremaker.c (filler_ro): New global constant.
944
32fa152e
TT
9452020-07-22 Tom Tromey <tromey@adacore.com>
946
947 * gdb.ada/mi_prot.exp: New file.
948 * gdb.ada/mi_prot/pkg.adb: New file.
949 * gdb.ada/mi_prot/pkg.ads: New file.
950 * gdb.ada/mi_prot/prot.adb: New file.
951
c8474dc3
TBA
9522020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
953
954 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
955 loads two JITers.
956
baf8791e
AB
9572020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
958
959 * gdb.python/py-arch-reg-groups.exp: Additional tests.
960
f7306dac
AB
9612020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
962
963 * gdb.python/py-arch-reg-names.exp: Additional tests.
964
6d3d6e4b
TV
9652020-07-21 Tom de Vries <tdevries@suse.de>
966
967 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
968 breakpoint locations".
969 * gdb.reverse/solib-reverse.exp: Same.
970
803d0592
TV
9712020-07-21 Tom de Vries <tdevries@suse.de>
972
973 * gdb.reverse/step-reverse.c (callee): Merge statements.
974
e9bdc510
TV
9752020-07-21 Tom de Vries <tdevries@suse.de>
976
977 * gdb.fortran/info-modules.exp (info module variables): Allow missing
978 line numbers for some variables.
979
f0f9e75a
TV
9802020-07-21 Tom de Vries <tdevries@suse.de>
981
982 * gdb.opt/inline-locals.c (init_array): New func.
983 (func1): Use init_array.
984 * gdb.opt/inline-locals.exp: Update pattern.
985
bd460ecb
TV
9862020-07-21 Tom de Vries <tdevries@suse.de>
987
988 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
989 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
990
ae5369e7
LC
9912020-07-20 Ludovic Courtès <ludo@gnu.org>
992
993 * gdb.guile/source2.scm: Add #f first argument to 'format'.
994 * gdb.guile/types-module.exp: Remove "ERROR:" from
995 regexps since Guile 3.0 no longer prints that.
996
68cf161c
LC
9972020-07-20 Ludovic Courtès <ludo@gnu.org>
998
999 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1000 error regexp to match on Guile 2.2.
1001
c14b4913
GB
10022020-07-20 Gary Benson <gbenson@redhat.com>
1003
1004 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1005 with clang.
1006
b243ba58
TV
10072020-07-20 Tom de Vries <tdevries@suse.de>
1008
1009 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1010 (omp_set_lock_in_order): New function.
1011 (single_scope, multi_scope, nested_func, nested_parallel): Use
1012 omp_set_lock_in_order and omp_unset_lock.
1013 (main): Init and destroy lock and lock2.
1014
c06ad8b5
TV
10152020-07-20 Tom de Vries <tdevries@suse.de>
1016
1017 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1018
6e22f117
TV
10192020-07-20 Tom de Vries <tdevries@suse.de>
1020
1021 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1022
33176ea7
TV
10232020-07-17 Tom de Vries <tdevries@suse.de>
1024
1025 * gdb.base/valgrind-infcall-2.c: New test.
1026 * gdb.base/valgrind-infcall-2.exp: New file.
1027 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1028
90c3ec2d
TV
10292020-07-17 Tom de Vries <tdevries@suse.de>
1030
1031 * gdb.dlang/circular.c (found): Use found_label as label name.
1032 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1033 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1034 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1035 * gdb.dwarf2/ada-linkage-name.exp: Same.
1036 * gdb.dwarf2/arr-subrange.exp: Same.
1037 * gdb.dwarf2/atomic-type.exp: Same.
1038 * gdb.dwarf2/comp-unit-lang.exp: Same.
1039 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1040 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1041 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1042 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1043 * gdb.dwarf2/implptr-64bit.exp: Same.
1044 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1045 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1046 * gdb.dwarf2/imported-unit.exp: Same.
1047 * gdb.dwarf2/main-subprogram.exp: Same.
1048 * gdb.dwarf2/missing-type-name.exp: Same.
1049 * gdb.dwarf2/nonvar-access.exp: Same.
1050 * gdb.dwarf2/struct-with-sig.exp: Same.
1051 * gdb.dwarf2/typedef-void-finish.exp: Same.
1052 * gdb.dwarf2/void-type.exp: Same.
1053
10da644d
TV
10542020-07-17 Tom de Vries <tdevries@suse.de>
1055
1056 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1057 src parameter.
1058 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1059 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1060 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1061 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1062 * gdb.dwarf2/dwz.exp: Same.
1063 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1064 * gdb.dwarf2/implref-array.exp: Same.
1065 * gdb.dwarf2/implref-const.exp: Same.
1066 * gdb.dwarf2/implref-global.exp: Same.
1067 * gdb.dwarf2/implref-struct.exp: Same.
1068 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1069 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1070 * gdb.dwarf2/var-access.exp: Same.
1071 * gdb.dwarf2/varval.exp: Same.
1072 * gdb.trace/entry-values.exp: Same.
1073
315e6afc
TV
10742020-07-17 Tom de Vries <tdevries@suse.de>
1075
1076 * lib/dwarf.exp (Dwarf::extern): Remove.
1077 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1078 * gdb.dlang/circular.exp: Same.
1079 * gdb.dwarf2/comp-unit-lang.exp: Same.
1080 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1081 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1082 * gdb.dwarf2/dwz.exp: Same.
1083 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1084 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1085 * gdb.dwarf2/imported-unit.exp: Same.
1086 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1087
5597c940
SL
10882020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1089
1090 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1091 Use double quotes instead of single quotes.
1092
d0ce17d8
CT
10932020-07-16 Caroline Tice <cmtice@google.com>
1094
1095 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1096 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1097
853772cc
TV
10982020-07-16 Tom de Vries <tdevries@suse.de>
1099
1100 * lib/dwarf.exp (program): Initialize _line.
1101 (DW_LNE_end_sequence): Reinitialize _line.
1102 (DW_LNS_advance_line): Update _line.
1103 (line): New proc.
1104 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1105 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1106 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1107 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1108 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1109 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1110
fe07b572
AB
11112020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1112
1113 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1114 generic.
1115
52781cce
TV
11162020-07-15 Tom de Vries <tdevries@suse.de>
1117
1118 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1119 is_amd64_regs_target.
1120
3dcc261c
AB
11212020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1122
1123 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1124 * gdb.fortran/ptype-on-functions.f90: Likewise.
1125
054a0959
SM
11262020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1127
1128 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1129 values in documentation for addr_size to 4 and 8.
1130
ccb9eba6
AB
11312020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1132
1133 * gdb.arch/amd64-osabi.exp: Update.
1134 * gdb.arch/arm-disassembler-options.exp: Update.
1135 * gdb.arch/powerpc-disassembler-options.exp: Update.
1136 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1137 * gdb.arch/s390-disassembler-options.exp: Update.
1138 * gdb.base/all-architectures.exp.tcl: Update.
1139 * gdb.base/attach-pie-noexec.exp: Update.
1140 * gdb.base/catch-syscall.exp: Update.
1141 * gdb.xml/tdesc-arch.exp: Update.
1142
025a39a7
TV
11432020-07-14 Tom de Vries <tdevries@suse.de>
1144
1145 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1146 (local_gettid): ... this.
1147 (fn): Update.
1148
74e4b667
SL
11492020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1150
1151 * gdb.base/info_sources.exp: Skip directory match tests on
1152 remote hosts.
1153
f413dd74
GB
11542020-07-13 Gary Benson <gbenson@redhat.com>
1155
1156 * gdb.base/savedregs.exp (caller): Use parentheses to
1157 make expected expression evaluation ordering explicit.
1158
915771bb
GB
11592020-07-13 Gary Benson <gbenson@redhat.com>
1160
1161 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1162
2a122642
GB
11632020-07-13 Gary Benson <gbenson@redhat.com>
1164
1165 * gdb.base/bigcore.c (main): Use a volatile pointer when
1166 attempting to trigger a SIGSEGV.
1167 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1168 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1169 * gdb.base/savedregs.c (thrower): Likewise.
1170 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1171
3f00c730
GB
11722020-07-13 Gary Benson <gbenson@redhat.com>
1173
1174 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1175 defining and using VLA structure fields into...
1176 * gdb.base/vla-struct-fields.c: New file.
1177 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1178 tests into...
1179 * gdb.base/vla-struct-fields.exp: New file.
1180
963eeee4
TV
11812020-07-13 Tom de Vries <tdevries@suse.de>
1182
1183 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1184 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1185 * gdb.base/gold-gdb-index.exp: Same.
1186 * gdb.base/morestack.exp: Same.
1187
0ed35c9a
DX
11882020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1189
1190 PR rust/26121
1191 * gdb.rust/modules.rs: Prevent linker from discarding test
1192 symbol.
1193
4fdba23d
PA
11942020-07-10 Pedro Alves <pedro@palves.net>
1195
1196 PR gdb/26199
1197 * gdb.multi/multi-target.c (exit_thread): New.
1198 (thread_start): Break loop if EXIT_THREAD.
1199 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1200 (top level) Call test_no_resumed.
1201
15f3b077
TT
12022020-07-08 Tom Tromey <tromey@adacore.com>
1203
1204 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1205 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1206
9fc501fd
AB
12072020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1208
1209 PR python/22748
1210 * gdb.opt/inline-frame-tailcall.c: New file.
1211 * gdb.opt/inline-frame-tailcall.exp: New file.
1212 * gdb.python/py-unwind-inline.c: New file.
1213 * gdb.python/py-unwind-inline.exp: New file.
1214 * gdb.python/py-unwind-inline.py: New file.
1215
64cb3757
AB
12162020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1217
1218 * gdb.python/py-arch-reg-groups.exp: New file.
1219
0f767f94
AB
12202020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1221
1222 * gdb.python/py-arch-reg-names.exp: New file.
1223
87dbc774
AB
12242020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1225
1226 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1227 gdb.PendingFrame.architecture method.
1228
d8cc8af6
TV
12292020-07-06 Tom de Vries <tdevries@suse.de>
1230
1231 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1232
3c8ea5be
PA
12332020-07-03 Pedro Alves <palves@redhat.com>
1234
1235 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1236 explicitly write negative numbers.
1237 * gdb.base/structs2.exp: Adjust expected output.
1238
bf90c83a
PA
12392020-07-03 Pedro Alves <palves@redhat.com>
1240
1241 * gdb.base/charset.c (init_string): Change all char parameters to
1242 unsigned char parameters.
1243
2eb82157
PA
12442020-07-03 Pedro Alves <palves@redhat.com>
1245
1246 * gdb.base/call-sc.exp (start_scalars_test): Use
1247 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1248 * gdb.base/overlays.c: Remove references to PARAMS.
1249 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1250 * gdb.base/reread.exp: Don't set 'prototypes' global.
1251 * gdb.base/structs.exp (start_structs_test): Use
1252 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1253 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1254 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1255 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1256 call.
1257 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1258
9adda7af
PA
12592020-07-03 Pedro Alves <palves@redhat.com>
1260
1261 * gdb.base/m32rovly.c: Delete.
1262 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1263
2a17c803
PW
12642020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1265
1266 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1267 of gdb_py_test_multiple.
1268 * gdb.python/py-cmd.exp: Likewise.
1269 * gdb.python/py-events.exp: Likewise.
1270 * gdb.python/py-function.exp: Likewise.
1271 * gdb.python/py-inferior.exp: Likewise.
1272 * gdb.python/py-infthread.exp: Likewise.
1273 * gdb.python/py-linetable.exp: Likewise.
1274 * gdb.python/py-parameter.exp: Likewise.
1275 * gdb.python/py-value.exp: Likewise.
1276
b011fe1a
TV
12772020-06-30 Tom de Vries <tdevries@suse.de>
1278
1279 PR testsuite/26175
1280 * lib/future.exp (gdb_default_target_compile): Detect and handle
1281 early_flags.
1282
df5b8876
SM
12832020-06-29 Simon Marchi <simon.marchi@efficios.com>
1284
1285 * boards/simavr.exp (gdb_load): Catch errors when closing
1286 previous connection. Close connection, wait for process and
1287 unset simavr_spawn_id on failure.
1288
a3ca48cd
TV
12892020-06-29 Tom de Vries <tdevries@suse.de>
1290
1291 * lib/gdb.exp (unknown): Make test-case unresolved.
1292
b0237c0e
TV
12932020-06-29 Tom de Vries <tdevries@suse.de>
1294
1295 PR gdb/25475
1296 * gdb.server/solib-list.exp: Verify that the symbol reload
1297 confirmation question is asked.
1298
c0b3b3bd
PW
12992020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1300
1301 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1302 have a input seq nr in each pass message.
fe4c3d43 1303 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1304 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1305 * gdb.python/python.exp: Make test names unique,
1306 use gdb_test_multiline instead of gdb_py_test_multiple,
1307 use $gdb_test_name.
1308 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1309
1776e3e5
NA
13102020-06-26 Nick Alcock <nick.alcock@oracle.com>
1311
1312 * configure.ac: Add --enable-libctf.
1313 * aclocal.m4: sinclude ../config/enable.m4.
1314 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1315 * lib/gdb.exp (skip_ctf_tests): Use it.
1316 * gdb.base/ctf-constvars.exp: Error message tweak.
1317 * gdb.base/ctf-ptype.exp: Likewise.
1318 * configure: Regenerate.
1319
f53b3eeb
GB
13202020-06-26 Gary Benson <gbenson@redhat.com>
1321
1322 * gdb.cp/try_catch.cc: Include string.h.
1323 (main): Replace comparison against string literal with
1324 strcmp, avoiding build failure with -Wstring-compare.
1325 Add "marker test-complete".
1326 * gdb.cp/try_catch.exp: Run the test to the above marker,
1327 then verify that the value of "test" is still true.
1328
6d74da72
AB
13292020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1332
2e52d038
AB
13332020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1334
1335 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1336
3b9fce96
AB
13372020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1338
1339 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1340 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1341 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1342 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1343 * gdb.arch/riscv-tdesc-loading.exp: New file.
1344
ed69cbc8
AB
13452020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1348
767a879e
AB
13492020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1350
1351 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1352 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1353 * gdb.arch/riscv-tdesc-regs.c: New file.
1354 * gdb.arch/riscv-tdesc-regs.exp: New file.
1355
221db974
PA
13562020-06-24 Pedro Alves <palves@redhat.com>
1357
1358 * gdb.arch/amd64-entry-value-paramref.exp: Use
1359 prepare_for_testing_full and don't pass "c++" for the .S file
1360 build spec.
1361 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1362 $options, since it's an assembly file. Remove -Wno-deprecated.
1363 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1364 compiling C++ programs.
1365
331733cd
PA
13662020-06-24 Pedro Alves <palves@redhat.com>
1367
1368 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1369 Clang, add "-Wno-unknown-warning-option" to the options.
1370
caa7fd04
AB
13712020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1372
1373 * gdb.xml/tdesc-reload.c: New file.
1374 * gdb.xml/tdesc-reload.exp: New file.
1375 * gdb.xml/maint-xml-dump-01.xml: New file.
1376 * gdb.xml/maint-xml-dump-02.xml: New file.
1377 * gdb.xml/maint-xml-dump.exp: New file.
1378
bb8d1260
SL
13792020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1380
1381 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1382 Adjust for omitted commands when TUI is disabled.
1383
7e4b9c4c
GB
13842020-06-23 Gary Benson <gbenson@redhat.com>
1385 Pedro Alves <palves@redhat.com>
1386
1387 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1388 * gdb.cp/nsimport.cc: Likewise.
1389 * gdb.cp/nsnested.cc: Likewise.
1390 * gdb.cp/nsnoimports.cc: Likewise.
1391 * gdb.cp/nsusing.cc: Likewise.
1392 * gdb.cp/smartp.cc: Likewise.
1393 * gdb.python/py-pp-integral.c: Likewise.
1394 * gdb.python/py-pp-re-notag.c: Likewise.
1395
2e573c0a
GB
13962020-06-23 Gary Benson <gbenson@redhat.com>
1397
1398 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1399 * gdb.cp/nsimport.cc: Likewise.
1400 * gdb.cp/nsnested.cc: Likewise.
1401 * gdb.cp/nsnoimports.cc: Likewise.
1402 * gdb.cp/nsusing.cc: Likewise.
1403 * gdb.cp/smartp.cc: Likewise.
1404 * gdb.python/py-pp-integral.c: Likewise.
1405 * gdb.python/py-pp-re-notag.c: Likewise.
1406
746ebfe8
PW
14072020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1408
1409 * gdb.base/default-args.exp: New test.
1410 * gdb.base/default-args.c: New file.
1411 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1412 * gdb.base/default.exp: Update to new help text.
1413 * gdb.base/help.exp: Likewise.
1414 * gdb.base/page.exp: Likewise.
1415 * gdb.base/style.exp: Likewise.
1416 * gdb.guile/guile.exp: Likewise.
1417 * gdb.python/python.exp: Likewise.
1418
e822f2cd
SL
14192020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1420
1421 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1422 remote host. Fix search path syntax on Windows host.
1423
48e9cc84
PW
14242020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1425
1426 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1427 over 'exec-file-mismatch'.
1428 * gdb.base/attach.c: Mark should_exit volatile.
1429 * gdb.base/attach2.c: Likewise. Add a comment explaining
1430 why the sleep cannot be big.
1431 * gdb.base/attach3.c: New file.
1432
160f8a8f
SL
14332020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1434
1435 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1436 prefix optional.
1437
4d91c2a4
SL
14382020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1439
1440 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1441 for remote host.
1442
87f83f20
SL
14432020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1444 Hafiz Abid Qadeer <abidh@codesourcery.com>
1445
1446 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1447 file sent to remote host.
1448 (top level): Allow int32_t as type of 32-bit register.
1449
37ab8655
TV
14502020-06-19 Tom de Vries <tdevries@suse.de>
1451
1452 * lib/gdb.exp (gdb_note): New proc.
1453 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1454 (gdb_default_target_compile): ... here. Only call
1455 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1456 (use_gdb_compile): Change to array.
1457 (toplevel): Update sets of use_gdb_compile to specify language.
1458 Warn about default_target_compile override. Store dejagnu's version
1459 of default_target_compile in dejagnu_default_target_compile.
1460
a8a56685
TV
14612020-06-18 Tom de Vries <tdevries@suse.de>
1462
1463 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1464 (default_gdb_init): ... here.
1465
581bea2c
SL
14662020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1467
1468 Fix TUI support checks in gdb.tui tests.
1469
1470 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1471 just say UNSUPPORTED.
1472 * gdb.tui/corefile-run.exp: Likewise.
1473 * gdb.tui/empty.exp: Likewise.
1474 * gdb.tui/list-before.exp: Likewise.
1475 * gdb.tui/list.exp: Likewise.
1476 * gdb.tui/main.exp: Likewise.
1477 * gdb.tui/regs.exp: Likewise.
1478 * gdb.tui/resize.exp: Likewise.
1479 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1480 * gdb.tui/tui-layout-asm.exp: Likewise.
1481 * gdb.tui/tui-missing-src.exp: Likewise.
1482 * gdb.tui/winheight.exp: Likewise.
1483 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1484
05e682e3
SL
14852020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1486
1487 Fix TCL error in gdb.python/py-format-string.exp.
1488
1489 * gdb.python/py-format-string.exp: Move test for python support
1490 earlier, out of function body.
1491
efb763a5
SM
14922020-06-15 Simon Marchi <simon.marchi@efficios.com>
1493
1494 * gdb.base/index-cache-load-twice.c: New.
1495 * gdb.base/index-cache-load-twice.exp: New.
1496
43327b20
KS
14972020-06-17 Keith Seitz <keiths@redhat.com>
1498
99cf27cf 1499 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1500 when executing "gdb --configuration".
1501
081e778c
TV
15022020-06-17 Tom de Vries <tdevries@suse.de>
1503
1504 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1505 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1506 conditional on presence of gdb_tcl_unknown.
1507 (gdb_finish): Make override undo conditional on presence of
1508 gdb_tcl_unknown.
1509
d2d1ea20
TT
15102020-06-16 Tom Tromey <tom@tromey.com>
1511
1512 * gdb.python/tui-window.py (failwin): New function. Register it
1513 as a TUI window type.
1514 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1515
c802e8a7
GB
15162020-06-16 Gary Benson <gbenson@redhat.com>
1517
1518 * gdb.python/py-nested-maps.c (create_map): Add missing return
1519 value.
1520 (create_map_map): Likewise.
1521
ff08abb8
TBA
15222020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1523
1524 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1525 variable.
1526 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1527 and use the already-defined 'options' variable.
1528
a29d5112
AB
15292020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1530 Tom de Vries <tdevries@suse.de>
1531
1532 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1533 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1534 (gdb_setup_known_globals): New proc.
1535 (gdb_cleanup_globals): New proc.
1536 * lib/gdb.exp (load_lib): New override proc.
1537 (gdb_stdin_log_init): Set var in_file as persistent global.
1538 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1539 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1540 fpc_compiler as persistent global.
1541
8c74a764
TV
15422020-06-12 Tom de Vries <tdevries@suse.de>
1543
1544 * lib/tuiterm.exp (spawn): Rename to ...
1545 (tui_spawn): ... this.
1546 (toplevel): Move rename of spawn ...
1547 (gdb_init_tuiterm): ... here. New proc.
1548 (gdb_finish_tuiterm): New proc.
1549 * lib/gdb.exp (gdb_finish_hooks): New global var.
1550 (gdb_finish): Handle gdb_finish_hooks.
1551 (tuiterm_env): New proc.
1552 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1553 tuiterm_env.
1554 * gdb.tui/basic.exp: Same.
1555 * gdb.tui/corefile-run.exp: Same.
1556 * gdb.tui/empty.exp: Same.
1557 * gdb.tui/list-before.exp: Same.
1558 * gdb.tui/list.exp: Same.
1559 * gdb.tui/main.exp: Same.
1560 * gdb.tui/new-layout.exp: Same.
1561 * gdb.tui/regs.exp: Same.
1562 * gdb.tui/resize.exp: Same.
1563 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1564 * gdb.tui/tui-layout-asm.exp: Same.
1565 * gdb.tui/tui-missing-src.exp: Same.
1566 * gdb.tui/winheight.exp: Same.
1567
26783bce
TV
15682020-06-12 Tom de Vries <tdevries@suse.de>
1569
1570 PR testsuite/26110
1571 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1572 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1573
2b4e6a3f
TT
15742020-06-11 Tom Tromey <tom@tromey.com>
1575
1576 PR gdb/18318:
1577 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1578 floating point tests.
1579
2f33032a
KS
15802020-06-11 Keith Seitz <keiths@redhat.com>
1581
1582 PR gdb/21356
1583 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1584 vla_struct.
1585 Add new struct vla_typedef and union vla_typedef_union and
1586 corresponding instantiation objects.
1587 Initialize new objects.
1588 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1589 and vla_typedef_union_object.
1590 Fixup type for vla_struct_object.
1591
a8baf0a3
TV
15922020-06-11 Tom de Vries <tdevries@suse.de>
1593
1594 * lib/gdb.exp (with_override): New proc, factored out of ...
1595 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1596
7ab96794
TV
15972020-06-10 Tom de Vries <tdevries@suse.de>
1598
1599 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1600
cab5c3b7
SM
16012020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1602
1603 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1604 parameter, update callers.
1605
f8c41851
SM
16062020-06-04 Simon Marchi <simon.marchi@efficios.com>
1607
1608 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1609 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1610 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1611
1c07a73f
TV
16122020-06-04 Tom de Vries <tdevries@suse.de>
1613
1614 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1615
95146b5d
TV
16162020-06-04 Tom de Vries <tdevries@suse.de>
1617
1618 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1619 exp_continue.
1620
0cfcd4f0
TV
16212020-06-04 Tom de Vries <tdevries@suse.de>
1622
1623 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1624
f9b5d5ea
TV
16252020-06-03 Tom de Vries <tdevries@suse.de>
1626
1627 PR symtab/26046
1628 * gdb.cp/breakpoint-locs-2.cc: New test.
1629 * gdb.cp/breakpoint-locs.cc: New test.
1630 * gdb.cp/breakpoint-locs.exp: New file.
1631 * gdb.cp/breakpoint-locs.h: New test.
1632
5144dfba
TV
16332020-06-03 Tom de Vries <tdevries@suse.de>
1634
1635 PR testsuite/25609
1636 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1637 value of global verbose.
1638 * gdb.base/jit-elf.exp: Same.
1639 * gdb.base/jit-reader.exp: Same.
1640
621eacdf
TV
16412020-06-02 Tom de Vries <tdevries@suse.de>
1642
1643 * gdb.dwarf2/multidictionary.exp: Don't use
1644 gdb_spawn_with_cmdline_opts.
1645
1313c56e
AB
16462020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1647
1648 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1649 use_header case.
1650 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1651 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1652 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1653 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1654 * gdb.dwarf2/dw2-inline-header.c: New file.
1655 * gdb.dwarf2/dw2-inline-header.h: New file.
1656
f68f85b5
PA
16572020-05-30 Pedro Alves <palves@redhat.com>
1658
1659 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1660 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1661
678048e8
GB
16622020-05-29 Gary Benson <gbenson@redhat.com>
1663
1664 * gdb.compile/compile-cplus.exp (additional_flags): Also
1665 set when building with clang.
1666 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1667 when building with clang.
1668
9fcafd23
GB
16692020-05-29 Gary Benson <gbenson@redhat.com>
1670
1671 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1672 building with clang.
1673 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1674
735d5a07
GB
16752020-05-29 Gary Benson <gbenson@redhat.com>
1676
1677 * gdb.cp/koenig.exp (prepare_for_testing): Add
1678 additional_flags=-Wno-unused-comparison.
1679 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1680
4ad2c6a0
GB
16812020-05-28 Gary Benson <gbenson@redhat.com>
1682
1683 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1684 statement.
1685
09fe663e
GB
16862020-05-28 Gary Benson <gbenson@redhat.com>
1687
1688 * gdb.cp/classes.exp (prepare_for_testing): Add
1689 additional_flags=-Wno-deprecated-register.
1690 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1691 * gdb.cp/misc.exp: Likewise.
1692
cee00f17
GB
16932020-05-28 Gary Benson <gbenson@redhat.com>
1694
1695 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1696 (test_op_new::operator new): Add return statement.
1697 (test_op_new_array::operator new[]): Likewise.
1698
636edd00
PA
16992020-05-27 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1702 check. Use test_gdb_complete_unique instead of
1703 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1704 test_gdb_complete_multiple instead of
1705 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1706
c2b75043
LM
17072020-05-27 Luis Machado <luis.machado@linaro.org>
1708
1709 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1710 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1711 * gdb.arch/arm-disassembler-options.exp: Likewise.
1712 * gdb.arch/arm-disp-step.exp: Likewise.
1713 * gdb.arch/thumb-prologue.exp: Likewise.
1714 * gdb.base/async.exp: Likewise.
1715 * gdb.base/auxv.exp: Likewise.
1716 * gdb.base/complex-parts.exp: Likewise.
1717 * gdb.base/ena-dis-br.exp: Likewise.
1718 * gdb.base/foll-exec.exp: Likewise.
1719 * gdb.base/permissions.exp: Likewise.
1720 * gdb.base/relocate.exp: Likewise.
1721 * gdb.base/return2.exp: Likewise.
1722 * gdb.base/sigbpt.exp: Likewise.
1723 * gdb.base/siginfo-obj.exp: Likewise.
1724 * gdb.cp/converts.exp: Likewise.
1725 * gdb.cp/exceptprint.exp: Likewise.
1726 * gdb.cp/inherit.exp: Likewise.
1727 * gdb.cp/nsnoimports.exp: Likewise.
1728 * gdb.cp/virtbase2.exp: Likewise.
1729 * gdb.mi/mi-var-cmd.exp: Likewise.
1730 * gdb.mi/var-cmd.c: Likewise.
1731
53a47a3e
TT
17322020-05-26 Tom Tromey <tromey@adacore.com>
1733
1734 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1735
0bc2354b
TT
17362020-05-26 Tom Tromey <tromey@adacore.com>
1737
1738 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1739 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1740 type.
1741 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1742 variable.
1743
0db49895
CBG
17442020-05-26 Christian Biesinger <cbiesinger@google.com>
1745
1746 * Makefile.in: Use = instead of == for the test command
1747 for portability.
1748
40d22035
TV
17492020-05-26 Tom de Vries <tdevries@suse.de>
1750
1751 * gdb.base/gold-gdb-index-2.c: New test.
1752 * gdb.base/gold-gdb-index.c: New test.
1753 * gdb.base/gold-gdb-index.exp: New file.
1754 * gdb.base/gold-gdb-index.h: New test.
1755
043e2e02
TV
17562020-05-25 Tom de Vries <tdevries@suse.de>
1757
1758 * boards/gold-gdb-index.exp: New file.
1759
462f72c5
SM
17602020-05-25 Simon Marchi <simon.marchi@efficios.com>
1761
1762 * boards/simavr.exp: New file.
1763
6cf66e76
SM
17642020-05-25 Simon Marchi <simon.marchi@efficios.com>
1765
1766 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1767 * gdb.base/inferior-args.exp: New file.
1768 * gdb.base/inferior-args.c: New file.
1769
75d04512
SM
17702020-05-25 Simon Marchi <simon.marchi@efficios.com>
1771
1772 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1773 inferior_args. Pass it to gdb_reload.
1774 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1775 inferior_args.
1776 (gdb_reload): Add inferior_args argument.
1777 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1778 pass it to gdbserver_run.
1779 * boards/native-gdbserver.exp: Do not set noargs.
1780 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1781 inferior_args argument.
1782 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1783 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1784 * gdb.base/args.exp: Likewise.
1785
42cf1844
TV
17862020-05-25 Tom de Vries <tdevries@suse.de>
1787
1788 * lib/gdb.exp (exec_is_pie): Add comment.
1789
8f7d38ef
TV
17902020-05-25 Tom de Vries <tdevries@suse.de>
1791
1792 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1793 instead of $binfile in the untested message.
1794
465e1b0f
TV
17952020-05-25 Tom de Vries <tdevries@suse.de>
1796
1797 PR testsuite/26031
1798 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1799
3c5a0e02
TV
18002020-05-25 Tom de Vries <tdevries@suse.de>
1801
1802 * boards/gold.exp: New file.
1803
0a4f5f8c
TT
18042020-05-23 Tom Tromey <tom@tromey.com>
1805
1806 * gdb.base/style.exp: Remove completion styling test.
1807 * lib/gdb-utils.exp (style): Remove completion styles.
1808
eca1f90c
TT
18092020-05-23 Tom Tromey <tom@tromey.com>
1810
1811 * gdb.base/style.exp: Add completion styling test.
1812 * lib/gdb-utils.exp (style): Add completion styles.
1813
7c13f4e8
AB
18142020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1815
1816 * gdb.base/annota1.exp: Update expected results.
1817 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1818 test name.
1819 * gdb.cp/annota3.exp: Update expected results.
1820
41977d16
SM
18212020-05-20 Simon Marchi <simon.marchi@efficios.com>
1822
1823 PR gdb/26016
1824 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1825 against MAP_FAILED.
1826 * gdb.base/coremaker.c (mmapdata): Likewise.
1827 * gdb.base/jit-reader-host.c (main): Likewise.
1828 * gdb.base/sym-file-loader.c (load): Likewise.
1829 (load_shlib): Likewise.
1830
b4757f2e
TT
18312020-05-20 Tom Tromey <tromey@adacore.com>
1832
1833 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1834
9a0bacfb
TV
18352020-05-20 Tom de Vries <tdevries@suse.de>
1836
1837 PR symtab/25833
1838 * gdb.base/with-mf-inc.c: New test.
1839 * gdb.base/with-mf-main.c: New test.
1840 * gdb.base/with-mf.exp: New file.
1841
76571211
TT
18422020-05-19 Tom Tromey <tromey@adacore.com>
1843
1844 * gdb.rust/simple.exp: Restore missing test result.
1845
4cd9f3d5
TV
18462020-05-19 Tom de Vries <tdevries@suse.de>
1847
1848 * gdb.base/gdb-caching-proc.exp: Fix typo.
1849
7d874253
TT
18502020-05-19 Tom Tromey <tromey@adacore.com>
1851
1852 * gdb.rust/simple.exp: Add some test descriptions.
1853 (test_one_slice): Use with_test_prefix.
1854
1d727695
TV
18552020-05-18 Tom de Vries <tdevries@suse.de>
1856
1857 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1858
7f32a4d5
PA
18592020-05-17 Pedro Alves <palves@redhat.com>
1860
1861 PR gdb/25741
1862 * gdb.base/hw-sw-break-same-address.exp: New file.
1863
7cfd74cf
PA
18642020-05-16 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1867 LAST_LOADED_FILE accordingly.
1868
57b4f16e
PW
18692020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1870
1871 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1872
7c05caf7
PW
18732020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1874
1875 * gdb.base/help.exp: Test apropos and help for commands
1876 having aliases. Fixed comments not starting with an
1877 upper-case letter or not finishing with a dot.
1878
7aa1b46f
PW
18792020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1880
3b3aaacb
PW
1881 * gdb.base/alias.exp: Update help output check.
1882
57b4f16e 18832020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1884
7aa1b46f
PW
1885 * gdb.base/default.exp: Update output following fixes.
1886
0605465f
PW
18872020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1888
1889 * gdb.base/alias.exp: Test aliases starting with a prefix of
1890 another alias.
1891
86e4e63d
GB
18922020-05-15 Gary Benson <gbenson@redhat.com>
1893
1894 * gdb.base/info-os.c (main): Add return statement.
1895 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1896 * gdb.base/large-frame-2.c (func): Likewise.
1897 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1898 * gdb.base/pr10179-b.c (foo2): Likewise.
1899 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1900 * gdb.base/watch-cond.c (func): Likewise.
1901 * gdb.multi/goodbye.c (verylongfun): Likewise.
1902 * gdb.multi/hello.c (commonfun): Likewise.
1903 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1904 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1905 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1906 Likewise.
1907 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1908 * gdb.threads/interrupt-while-step-over.c (child_function):
1909 Likewise.
1910 * gdb.trace/actions-changed.c (end): Likewise.
1911
163df4df
GB
19122020-05-15 Gary Benson <gbenson@redhat.com>
1913
1914 * gdb.opencl/callfuncs.exp: Report when test skipped.
1915 * gdb.opencl/convs_casts.exp: Likewise.
1916 * gdb.opencl/datatypes.exp: Likewise.
1917 * gdb.opencl/operators.exp: Likewise.
1918 * gdb.opencl/vec_comps.exp: Likewise.
1919
6dbc505a
TV
19202020-05-15 Tom de Vries <tdevries@suse.de>
1921
1922 * gdb.base/align.exp.in: Rename to ...
1923 * gdb.base/align.exp.tcl: ... this.
1924 * gdb.base/align-c++.exp: Update.
1925 * gdb.base/align-c.exp: Update.
1926 * gdb.base/all-architectures.exp.in: Rename to ...
1927 * gdb.base/all-architectures.exp: ... this.
1928 * gdb.base/all-architectures-0.exp: Update.
1929 * gdb.base/all-architectures-1.exp: Update.
1930 * gdb.base/all-architectures-2.exp: Update.
1931 * gdb.base/all-architectures-3.exp: Update.
1932 * gdb.base/all-architectures-4.exp: Update.
1933 * gdb.base/all-architectures-5.exp: Update.
1934 * gdb.base/all-architectures-6.exp: Update.
1935 * gdb.base/all-architectures-7.exp: Update.
1936 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1937 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1938 * gdb.base/infcall-nested-structs-c++.exp: Update.
1939 * gdb.base/infcall-nested-structs-c.exp: Update.
1940 * gdb.base/info-types.exp.in: Rename to ...
1941 * gdb.base/info-types.exp.tcl: ... this.
1942 * gdb.base/info-types-c++.exp: Update.
1943 * gdb.base/info-types-c.exp: Update.
1944 * gdb.base/max-depth.exp.in: Rename to ...
1945 * gdb.base/max-depth.exp.tcl: ... this.
1946 * gdb.base/max-depth-c++.exp: Update.
1947 * gdb.base/max-depth-c.exp: Update.
1948 * gdb.cp/cpexprs.exp.in: Rename to ...
1949 * gdb.cp/cpexprs.exp.tcl: ... this.
1950 * gdb.cp/cpexprs-debug-types.exp: Update.
1951 * gdb.cp/cpexprs.exp: Update.
1952 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1953 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1954 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1955 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1956 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1957 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1958 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1959 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1960 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1961 * gdb.dwarf2/clang-debug-names.exp: Update.
1962
d1034d78
AB
19632020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1964
1965 * lib/check-test-names.exp: Remove code that prevents this file
1966 loading when tests are run in parallel.
1967
3c5c3649
PA
19682020-05-15 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.multi/multi-kill.exp (start_inferior): Remove
1971 'testpid' parameter. Refer to namespace variable directly.
1972 (testpid): Declare as namespace variable.
1973
272c36b8
PA
19742020-05-15 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.multi/multi-kill.exp: Wrap in namespace.
1977 (start_inferior): Add TESTPID parameter. Use it instead of the
1978 testpid global.
1979 (top level): Define empty TESTPID array, and pass it down to
1980 start_inferior.
1981
02eba61a
TV
19822020-05-14 Tom de Vries <tdevries@suse.de>
1983
1984 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1985 output.
1986
971a3747
TV
19872020-05-14 Tom de Vries <tdevries@suse.de>
1988
1989 * gdb.base/align.exp: Split into ...
1990 * gdb.base/align.exp.in: ...
1991 * gdb.base/align-c++.exp: ...
1992 * gdb.base/align-c.exp: ... these.
1993 * gdb.base/infcall-nested-structs.exp: Split into ...
1994 * gdb.base/infcall-nested-structs.exp.in: ...
1995 * gdb.base/infcall-nested-structs-c++.exp: ...
1996 * gdb.base/infcall-nested-structs-c.exp: ... these.
1997 * gdb.base/info-types.exp: Split into ...
1998 * gdb.base/info-types.exp.in: ...
1999 * gdb.base/info-types-c++.exp: ...
2000 * gdb.base/info-types-c.exp: ... these.
2001 * gdb.base/max-depth.exp: Split into ...
2002 * gdb.base/max-depth.exp.in: ...
2003 * gdb.base/max-depth-c++.exp: ...
2004 * gdb.base/max-depth-c.exp: ... these.
2005 * gdb.cp/infcall-nodebug.exp: Split into ...
2006 * gdb.cp/infcall-nodebug.exp.in: ...
2007 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2008 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2009 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2010 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2011
a05575d3
TBA
20122020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2013 Pedro Alves <palves@redhat.com>
2014
2015 * gdb.multi/multi-exit.c: New file.
2016 * gdb.multi/multi-exit.exp: New file.
2017 * gdb.multi/multi-kill.c: New file.
2018 * gdb.multi/multi-kill.exp: New file.
2019
6ad82919
TBA
20202020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2021
2022 * gdb.base/annota1.exp: Update the expected output.
2023 * gdb.cp/annota2.exp: Ditto.
2024
843f4d93
AB
20252020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2026
2027 * lib/check-test-names.exp: Disable when testing is being run in
2028 parallel.
2029
c7c66341
TV
20302020-05-12 Tom de Vries <tdevries@suse.de>
2031
2032 * gdb.base/jit-elf.exp: Fix string concat.
2033
1b59ca1c
TV
20342020-05-12 Tom de Vries <tdevries@suse.de>
2035
2036 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2037 messages.
2038
b4991d29
TV
20392020-05-12 Tom de Vries <tdevries@suse.de>
2040
2041 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2042
dbb0ab10
TV
20432020-05-12 Tom de Vries <tdevries@suse.de>
2044
2045 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2046 * gdb.ada/mi_catch_ex.exp: Same.
2047 * gdb.ada/mi_catch_ex_hand.exp: Same.
2048
7549fed8
TV
20492020-05-12 Tom de Vries <tdevries@suse.de>
2050
2051 * gdb.fortran/complex.exp: Use with_test_prefix.
2052
af2d5cd8
TV
20532020-05-12 Tom de Vries <tdevries@suse.de>
2054
2055 * gdb.trace/passcount.exp: Fix test-names.
2056
7c121311
TV
20572020-05-12 Tom de Vries <tdevries@suse.de>
2058
2059 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2060
c9f3b40e
TV
20612020-05-12 Tom de Vries <tdevries@suse.de>
2062
2063 * gdb.gdb/complaints.exp: Use with_test_prefix.
2064 * gdb.xml/tdesc-regs.exp: Same.
2065 * gdb.opt/inline-locals.exp: Fix test name.
2066
111b33f0
TV
20672020-05-12 Tom de Vries <tdevries@suse.de>
2068
2069 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2070 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2071 * gdb.dwarf2/implref-struct.exp: Same.
2072 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2073 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2074
ebf47080
SM
20752020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2076
2077 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2078
d30dcd12
AB
20792020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2080
2081 * lib/check-test-names.exp (all_test_names): New module variable.
2082 (counts): Add 'duplicates' field.
2083 (_check_duplicates): New procedure.
2084 (check): Also check for duplicates.
2085 (do_log_summary): Print duplicates count.
2086 (do_reset_vars): Reset counter for duplicate test names, and
2087 discard all know test names.
2088
34584c09
AB
20892020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2090
2091 * lib/gdb.exp: Include check-test-names.exp library.
2092 * lib/check-test-names.exp: New file.
2093
e0002117
TV
20942020-05-11 Tom de Vries <tdevries@suse.de>
2095
2096 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2097
53f539a3
KS
20982020-05-11 Keith Seitz <keiths@redhat.com>
2099
2100 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2101
113ee09a
TV
21022020-05-11 Tom de Vries <tdevries@suse.de>
2103
2104 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2105 * gdb.cp/cpexprs.exp.in: .. here.
2106 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2107 cpexprs.exp.
2108
ba3e70b0
KS
21092020-05-11 Keith Seitz <keiths@redhat.com>
2110
2111 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2112 test names.
2113 * gdb.ada/arrayptr.exp: Likewise.
2114 * gdb.ada/assign_arr.exp: Likewise.
2115 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2116 * gdb.ada/bp_on_var.exp: Likewise.
2117 * gdb.ada/call_pn.exp: Likewise.
2118 * gdb.ada/complete.exp: Likewise.
2119 * gdb.ada/fun_overload_menu.exp: Likewise.
2120 * gdb.ada/funcall_param.exp: Likewise.
2121 * gdb.ada/funcall_ref.exp: Likewise.
2122 * gdb.ada/packed_array_assign.exp: Likewise.
2123 * gdb.ada/same_component_name.exp: Likewise.
2124 * gdb.ada/type_coercion.exp: Likewise.
2125 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2126 * gdb.ada/variant_record_packed_array.exp: Likewise.
2127
3ee6bb11
TV
21282020-05-11 Tom de Vries <tdevries@suse.de>
2129
2130 PR symtab/25941
2131 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2132 out of ...
2133 * gdb.dwarf2/clang-debug-names.exp: ... here.
2134 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2135 clang-debug-names.exp.in.
2136 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2137 * gdb.dwarf2/clang-debug-names-2.c: New test.
2138
86cd6bc8
AKS
21392020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2140
2141 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2142 (fortran_runto_main): New Proc, fortran version of runto_main.
2143 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2144 * gdb.fortran/array-bounds.exp: Likewise.
2145 * gdb.fortran/array-slices.exp: Likewise.
2146 * gdb.fortran/block-data.exp: Likewise.
2147 * gdb.fortran/charset.exp: Likewise.
2148 * gdb.fortran/common-block.exp: Likewise.
2149 * gdb.fortran/complex.exp: Likewise.
2150 * gdb.fortran/derived-type-function.exp: Likewise.
2151 * gdb.fortran/derived-type.exp: Likewise.
2152 * gdb.fortran/info-modules.exp: Likewise.
2153 * gdb.fortran/info-types.exp: Likewise.
2154 * gdb.fortran/intrinsics.exp: Likewise.
2155 * gdb.fortran/library-module.exp: Likewise.
2156 * gdb.fortran/logical.exp: Likewise.
2157 * gdb.fortran/max-depth.exp: Likewise.
2158 * gdb.fortran/module.exp: Likewise.
2159 * gdb.fortran/multi-dim.exp: Likewise.
2160 * gdb.fortran/nested-funcs.exp: Likewise.
2161 * gdb.fortran/print-formatted.exp: Likewise.
2162 * gdb.fortran/print_type.exp: Likewise.
2163 * gdb.fortran/printing-types.exp: Likewise.
2164 * gdb.fortran/ptr-indentation.exp: Likewise.
2165 * gdb.fortran/ptype-on-functions.exp: Likewise.
2166 * gdb.fortran/subarray.exp: Likewise.
2167 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2168 * gdb.fortran/vla-datatypes.exp: Likewise.
2169 * gdb.fortran/vla-history.exp: Likewise.
2170 * gdb.fortran/vla-ptr-info.exp: Likewise.
2171 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2172 * gdb.fortran/vla-ptype.exp: Likewise.
2173 * gdb.fortran/vla-sizeof.exp: Likewise.
2174 * gdb.fortran/vla-type.exp: Likewise.
2175 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2176 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2177 * gdb.fortran/vla-value-sub.exp: Likewise.
2178 * gdb.fortran/vla-value.exp: Likewise.
2179 * gdb.fortran/whatis_type.exp: Likewise.
2180 * gdb.mi/mi-var-child-f.exp: Likewise.
2181
6dc55ce9 21822020-05-09 Tom de Vries <tdevries@suse.de>
2183
2184 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2185
283cb58c
TV
21862020-05-08 Tom de Vries <tdevries@suse.de>
2187
2188 * gdb.dwarf2/clang-debug-names.c: New test.
2189 * gdb.dwarf2/clang-debug-names.exp: New file.
2190
ac4a4f1c
SM
21912020-05-06 Simon Marchi <simon.marchi@efficios.com>
2192
2193 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2194 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2195
24fe640b
TV
21962020-05-06 Tom de Vries <tdevries@suse.de>
2197
2198 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2199 breakpoint is at a "recommended breakpoint location".
2200 * gdb.reverse/consecutive-reverse.exp: Same.
2201
0d8683a3
TV
22022020-05-06 Tom de Vries <tdevries@suse.de>
2203
2204 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2205 address.
2206
b8983c46
TV
22072020-05-06 Tom de Vries <tdevries@suse.de>
2208
2209 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2210
abf6d805
TV
22112020-05-06 Tom de Vries <tdevries@suse.de>
2212
2213 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2214 info for r.
2215
0fc2a808
TV
22162020-05-06 Tom de Vries <tdevries@suse.de>
2217
2218 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2219 necessary.
2220
873dd427
TV
22212020-05-06 Tom de Vries <tdevries@suse.de>
2222
2223 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2224 void.
2225
7c99e7e2
TV
22262020-05-06 Tom de Vries <tdevries@suse.de>
2227
2228 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2229 of ...
2230 * gdb.base/async.exp: ... here.
2231 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2232 "recommended breakpoint location".
2233
6173d6a6
TV
22342020-05-06 Tom de Vries <tdevries@suse.de>
2235
2236 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2237
6015a067
TV
22382020-05-04 Tom de Vries <tdevries@suse.de>
2239
2240 * gdb.base/async.exp: Check whether instruction addresses are a
2241 "recommended breakpoint location".
2242
3b6acaee
TT
22432020-05-03 Tom Tromey <tom@tromey.com>
2244
2245 * gdb.base/sepdebug.exp: Remove "catch" test.
2246 * gdb.base/break.exp: Remove "catch" test.
2247 * gdb.base/default.exp: Update expected output.
2248
5beb4d17
TV
22492020-05-02 Tom de Vries <tdevries@suse.de>
2250
2251 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2252 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2253 * gdb.arch/i386-mpx-map.exp: Same.
2254 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2255 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2256 * gdb.arch/i386-mpx.exp: Same.
2257
8caf140d
TV
22582020-05-02 Tom de Vries <tdevries@suse.de>
2259
2260 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2261
693196cb
TV
22622020-05-01 Tom de Vries <tdevries@suse.de>
2263
2264 * gdb.ada/operator_bp.exp: Allow more than required amount of
2265 breakpoint.
2266
53ae0aa9
TV
22672020-05-01 Tom de Vries <tdevries@suse.de>
2268
2269 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2270
ee9d1e5f
HD
22712020-04-30 Hannes Domani <ssbssa@yahoo.de>
2272
2273 PR gdb/18706
2274 * gdb.cp/stub-array-size.cc: New test.
2275 * gdb.cp/stub-array-size.exp: New file.
2276 * gdb.cp/stub-array-size.h: New test.
2277 * gdb.cp/stub-array-size2.cc: New test.
2278
d5cf82c0
HD
22792020-04-30 Hannes Domani <ssbssa@yahoo.de>
2280
2281 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2282 output to the new format.
2283
42e165c3
SM
22842020-04-29 Simon Marchi <simon.marchi@efficios.com>
2285
2286 * gdb.base/break.exp: Use with_test_prefix.
2287
6e4e3fe1
TV
22882020-04-29 Tom de Vries <tdevries@suse.de>
2289
2290 * lib/gdb.exp (debug_types): New proc.
2291 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2292 * gdb.python/py-symtab.exp: Same.
2293
d642b692
HD
22942020-04-29 Hannes Domani <ssbssa@yahoo.de>
2295
2296 PR gdb/17320
2297 * gdb.base/pretty-array.c: New test.
2298 * gdb.base/pretty-array.exp: New file.
2299
ea90f227
TV
23002020-04-29 Tom de Vries <tdevries@suse.de>
2301
2302 PR symtab/25889
2303 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2304 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2305 and include cpexprs.exp.
2306
a65189c9
TV
23072020-04-28 Mark Williams <mark@myosotissp.com>
2308
2309 PR gdb/24480
2310 * dw4-toplevel-types.exp: Test for top level types.
2311 * dw4-toplevel-types.cc: Test for top level types.
2312
32d1f47a
TBA
23132020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2314
2315 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2316 (theads -> threads).
2317
56a4f5a1
TV
23182020-04-28 Tom de Vries <tdevries@suse.de>
2319
2320 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2321
0b2f8a3b
TV
23222020-04-28 Tom de Vries <tdevries@suse.de>
2323
2324 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2325
5390c717
TV
23262020-04-28 Tom de Vries <tdevries@suse.de>
2327
2328 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2329
15cd93d0
TV
23302020-04-28 Tom de Vries <tdevries@suse.de>
2331
2332 * gdb.dwarf2/main-foo.c: New test.
2333 * gdb.dwarf2/struct-with-sig.exp: New file.
2334
d472f0fb
TV
23352020-04-25 Tom de Vries <tdevries@suse.de>
2336
2337 * boards/debug-types.exp: New file.
2338
8d840e05
AB
23392020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2340
2341 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2342
bcfe6157
TT
23432020-04-24 Tom Tromey <tom@tromey.com>
2344
2345 PR symtab/12707:
2346 * gdb.python/py-symbol.exp: Update expected results for
2347 linkage_name test.
2348 * gdb.cp/print-demangle.exp: New file.
2349 * gdb.base/c-linkage-name.exp: Fix test.
2350 * gdb.guile/scm-symbol.exp: Update expected results for
2351 linkage_name test.
2352
f049a313
TT
23532020-04-24 Tom Tromey <tom@tromey.com>
2354
2355 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2356 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2357 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2358 assembler.
2359
7cf28874
TV
23602020-04-24 Tom de Vries <tdevries@suse.de>
2361
2362 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2363 C++.
2364
dac2fef7
TT
23652020-04-24 Tom Tromey <tromey@adacore.com>
2366
2367 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2368 values.
2369 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2370 values. Update test for minimal encodings.
2371 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2372 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2373 values. Update test for minimal encodings.
2374
1acda803
TT
23752020-04-24 Tom Tromey <tromey@adacore.com>
2376
2377 PR python/23662:
2378 * gdb.ada/variant.exp: Add Python checks.
2379 * gdb.rust/simple.exp: Add dynamic type checks.
2380
adfb9815
TT
23812020-04-24 Tom Tromey <tromey@adacore.com>
2382
2383 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2384 Make array type matching more lax.
2385 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2386 * gdb.ada/mi_variant.exp: New file.
2387 * gdb.ada/mi_variant/pck.ads: New file.
2388 * gdb.ada/mi_variant/pkg.adb: New file.
2389 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2390 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2391
7d79de9a
TT
23922020-04-24 Tom Tromey <tromey@adacore.com>
2393
2394 * gdb.ada/variant.exp: Add dynamic field offset tests.
2395 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2396 * gdb.ada/variant/pkg.adb: Add new variables.
2397
f8e89861
TT
23982020-04-24 Tom Tromey <tromey@adacore.com>
2399
2400 * gdb.ada/variant.exp: New file
2401 * gdb.ada/variant/pkg.adb: New file
2402 * gdb.ada/variant/pck.adb: New file
2403
86e887ae
TV
24042020-04-24 Tom de Vries <tdevries@suse.de>
2405
2406 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2407
88428775
TV
24082020-04-24 Tom de Vries <tdevries@suse.de>
2409
2410 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2411 flags.
2412
4e86f6e7
TV
24132020-04-24 Tom de Vries <tdevries@suse.de>
2414
2415 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2416
2016d3e6
TV
24172020-04-24 Tom de Vries <tdevries@suse.de>
2418
2419 * lib/gdb.exp (default_gdb_start): Handle eof.
2420 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2421 failure.
2422 * gdb.base/readnever.exp: Handle clean_restart failure.
2423
70bc38f5
TV
24242020-04-23 Tom de Vries <tdevries@suse.de>
2425
2426 * gdb.base/decl-before-def.exp: Run to main and print a again.
2427
de82891c
TV
24282020-04-23 Tom de Vries <tdevries@suse.de>
2429
2430 * gdb.base/decl-before-def-decl.c: New test.
2431 * gdb.base/decl-before-def-def.c: New test.
2432 * gdb.base/decl-before-def.exp: New file.
2433
96038148
TV
24342020-04-23 Tom de Vries <tdevries@suse.de>
2435
2436 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2437
54ac3df1
TV
24382020-04-22 Tom de Vries <tdevries@suse.de>
2439
2440 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2441 debug_info_offset.
2442 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2443 before $objsfile in the line line.
2444
714534e1
TV
24452020-04-22 Tom de Vries <tdevries@suse.de>
2446
2447 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2448
16a7dbf4
MS
24492020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2450
2451 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2452 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2453 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2454 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2455 * gdb.base/jit-protocol.h: Update definitions to match all usage
2456 contexts.
2457
24582020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2459
2460 * gdb.base: Rename all jit related test and source files.
2461
24622020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2463
2464 * gdb.base/jit-reader.exp: Relax register output check.
2465
317d2668
TV
24662020-04-22 Tom de Vries <tdevries@suse.de>
2467
2468 PR symtab/25764
2469 * gdb.base/psym-external-decl-2.c: New test.
2470 * gdb.base/psym-external-decl.c: New test.
2471 * gdb.base/psym-external-decl.exp: New file.
2472 * gdb.threads/tls.exp: Add PR25807 kfail.
2473
eea9e357
TV
24742020-04-22 Tom de Vries <tdevries@suse.de>
2475
2476 PR symtab/25801
2477 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2478 in "info source" output.
2479
3d5afab3
TV
24802020-04-22 Tom de Vries <tdevries@suse.de>
2481
2482 PR symtab/25700
2483 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2484 symtab for imported_unit.c.
2485
b32102f6
GB
24862020-04-21 Gary Benson <gbenson@redhat.com>
2487
2488 * gdb.base/advance.c (func): New argument, to match call site.
2489 (func2, func3): Add return statements.
2490
d43b7a2d
TBA
24912020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2492
2493 * gdb.multi/run-only-second-inf.c: New file.
2494 * gdb.multi/run-only-second-inf.exp: New file.
2495
d89edf9b
MM
24962020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2497
2498 * gdb.btrace/multi-inferior.c: New test.
2499 * gdb.btrace/multi-inferior.exp: New file.
2500
1a476b6d
MM
25012020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2502
2503 * gdb.btrace/enable-new-thread.c: New test.
2504 * gdb.btrace/enable-new-thread.exp: New file.
2505
4778a5f8
TV
25062020-04-21 Tom de Vries <tdevries@suse.de>
2507
2508 PR gdb/25471
2509 * gdb.threads/killed-outside.c: New test.
2510 * gdb.threads/killed-outside.exp: New file.
2511
9b2c992c
GB
25122020-04-20 Gary Benson <gbenson@redhat.com>
2513
2514 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2515 * gdb.base/nested-subp2.exp: Likewise.
2516 * gdb.base/nested-subp3.exp: Likewise.
2517
b5d1d6f7
GB
25182020-04-20 Gary Benson <gbenson@redhat.com>
2519
2520 * gdb.base/nested-subp1.exp: Disable test when using clang.
2521 * gdb.base/nested-subp2.exp: Likewise.
2522 * gdb.base/nested-subp3.exp: Likewise.
2523
25230285
GB
25242020-04-20 Gary Benson <gbenson@redhat.com>
2525
2526 * gdb.cp/exception.cc: Fix compilation error with clang.
2527
fa93cc8f
GB
25282020-04-20 Gary Benson <gbenson@redhat.com>
2529
809730f3 2530 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2531
e0c45f30
GB
25322020-04-20 Gary Benson <gbenson@redhat.com>
2533
2534 * gdb.base/jit-main.c: Fix compilation error with clang.
2535
4ddfec93
KR
25362020-04-17 Kamil Rytarowski <n54@gmx.com>
2537
2538 * gdb.base/attach-twice.c: Include "sys/types.h".
2539 (PTRACE_ATTACH): Add fallback definition.
2540 (main): Pass `0' to the 4th argument of `ptrace'.
2541
2bed205e
KR
25422020-04-17 Kamil Rytarowski <n54@gmx.com>
2543
2544 * gdb.base/fork-running-state.c: Include "signal.h".
2545
0743fc83
TT
25462020-04-17 Tom Tromey <tromey@adacore.com>
2547
2548 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2549 Update tests.
2550 * gdb.btrace/cpu.exp: Update tests.
2551 * gdb.base/maint.exp: Update tests.
2552 * gdb.base/default.exp: Update tests.
2553 * gdb.base/completion.exp: Update tests.
2554
efba5c23
TV
25552020-04-16 Tom de Vries <tdevries@suse.de>
2556
2557 PR symtab/25791
2558 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2559 (ensure_gdb_index): and factor out and move ...
2560 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2561 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2562
d191d716
TV
25632020-04-16 Tom de Vries <tdevries@suse.de>
2564
2565 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2566 loading exec.
2567
99f1bc6a
AB
25682020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2569
2570 * gdb.base/many-completions.exp: New file.
2571
194d088f
TV
25722020-04-14 Tom de Vries <tdevries@suse.de>
2573
2574 PR symtab/25718
2575 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2576
c1a66c06
TV
25772020-04-14 Tom de Vries <tdevries@suse.de>
2578
2579 PR symtab/25720
2580 * gdb.base/maint-expand-symbols-header-file.c: New test.
2581 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2582 * gdb.base/maint-expand-symbols-header-file.h: New test.
2583
21b0982c
AB
25842020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2585
2586 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2587 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2588 get_func_info.
2589 (get_func_info): Delete.
2590 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2591 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2592 * lib/dwarf.exp (get_func_info): New function.
2593
dd1cab06
TV
25942020-04-13 Tom de Vries <tdevries@suse.de>
2595
2596 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2597 to what find_gnatmake does.
2598
71ea2b6b
TV
25992020-04-10 Tom de Vries <tdevries@suse.de>
2600
2601 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2602 -readnow.
2603
bdfc1e8a
TV
26042020-04-10 Tom de Vries <tdevries@suse.de>
2605
2606 PR cli/25808
2607 * gdb.base/style.c: Add leading newlines.
2608 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2609 Check listing of main's one-line body.
2610
14ca8ecf
TV
26112020-04-08 Tom de Vries <tdevries@suse.de>
2612
2613 * lib/gdb.exp (psymtabs_p): New proc.
2614 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2615 importing unit" unsupported if there are no partial symbols.
2616
e21d048f
TV
26172020-04-08 Tom de Vries <tdevries@suse.de>
2618
2619 PR testsuite/25760
2620 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2621
25c11aca
TV
26222020-04-07 Tom de Vries <tdevries@suse.de>
2623
2624 PR symtab/25796
2625 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2626
5707e24b
TV
26272020-04-07 Tom de Vries <tdevries@suse.de>
2628
2629 * gdb.base/check-psymtab.c: New test.
2630 * gdb.base/check-psymtab.exp: New file.
2631
6ee448cc
TT
26322020-04-06 Tom Tromey <tromey@adacore.com>
2633
2634 * gdb.ada/variant-record/proc.adb: New file.
2635 * gdb.ada/variant-record/value.adb: New file.
2636 * gdb.ada/variant-record/value.s: New file.
2637 * gdb.ada/variant-record.exp: New file.
2638
9e7c9a03
HD
26392020-04-03 Hannes Domani <ssbssa@yahoo.de>
2640
2641 PR gdb/25325
2642 * gdb.cp/typed-enum.cc: New test.
2643 * gdb.cp/typed-enum.exp: New file.
2644
c90d28ac
AB
26452020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2646
2647 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2648 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2649 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2650 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2651 * gdb.opt/inline-small-func.c: New file.
2652 * gdb.opt/inline-small-func.exp: New file.
2653 * gdb.opt/inline-small-func.h: New file.
2654
34e9a9fa
AB
26552020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2656
2657 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2658 function.
2659
6a354911
AB
26602020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2661
2662 * lib/dwarf.exp (function_range): Allow compiler options to be
2663 specified.
2664
880d9777
TV
26652020-04-02 Tom de Vries <tdevries@suse.de>
2666
2667 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2668 __attribute__((always_inline)).
2669 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2670
f32682ea
TV
26712020-04-02 Tom de Vries <tdevries@suse.de>
2672
2673 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2674 (gdbserver_gdb_exit): ... here. Add timeout warning.
2675 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2676 (connect_target_extended_remote): Append new server_spawn_id to
2677 server_spawn_ids.
2678 (cleanup): New proc.
2679 (setup, <toplevel>): Call cleanup.
2680
d3214198
TV
26812020-04-02 Tom de Vries <tdevries@suse.de>
2682
2683 * gdb.base/main-psymtab.exp: New file.
2684
cc77ed24
TV
26852020-04-02 Tom de Vries <tdevries@suse.de>
2686
2687 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2688
3638a098
TT
26892020-04-01 Tom Tromey <tom@tromey.com>
2690
2691 * gdb.base/complex-parts.exp: Add type tests.
2692
c34e8714
TT
26932020-04-01 Tom Tromey <tom@tromey.com>
2694
2695 * gdb.base/complex-parts.exp: Add arithmetic tests.
2696
981c08ce
TT
26972020-04-01 Tom Tromey <tom@tromey.com>
2698
2699 * gdb.compile/compile.exp: Update.
2700 * gdb.compile/compile-cplus.exp: Update.
2701 * gdb.base/varargs.exp: Update.
2702 * gdb.base/floatn.exp: Update.
2703 * gdb.base/endianity.exp: Update.
2704 * gdb.base/callfuncs.exp (do_function_calls): Update.
2705 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2706 (complex_float_integral_args): Update.
2707 * gdb.base/complex.exp: Update.
2708 * gdb.base/complex-parts.exp: Update.
2709
3d1cfd43
TT
27102020-04-01 Tom Tromey <tromey@adacore.com>
2711
2712 * gdb.rust/union.rs: New file.
2713 * gdb.rust/union.exp: New file.
2714 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2715 (main): Update.
2716 * gdb.rust/simple.exp: Move union tests to union.exp.
2717
e033dfa9
TT
27182020-04-01 Tom Tromey <tromey@adacore.com>
2719
2720 * gdb.rust/simple.rs (main): Remove "y0".
2721
53cccef1
TBA
27222020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2723
2724 * gdb.multi/stop-all-on-exit.c: New test.
2725 * gdb.multi/stop-all-on-exit.exp: New file.
2726
60e22c1e
HD
27272020-04-01 Hannes Domani <ssbssa@yahoo.de>
2728
2729 PR gdb/24789
2730 * gdb.cp/misc.cc: Add integer reference variable.
2731 * gdb.cp/misc.exp: Add test.
2732
e139a727
TBA
27332020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2734
2735 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2736 scenario to cover execution until the end and also the case
2737
16b0db75
TV
27382020-03-31 Tom de Vries <tdevries@suse.de>
2739
2740 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2741 c. Use "maint info symtabs" to check symtab expansion.
2742
c0502da6
TV
27432020-03-30 Tom de Vries <tdevries@suse.de>
2744
2745 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2746 unsupported.
2747 (verify_psymtab_expanded): Move ...
2748 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2749 test.
2750 (readnow): New proc.
2751
5935fd15
AB
27522020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2753
2754 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2755 with $hex.
2756
1773be9e
TT
27572020-03-20 Tom Tromey <tromey@adacore.com>
2758
2759 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2760
70304be9
TT
27612020-03-20 Tom Tromey <tromey@adacore.com>
2762
2763 * gdb.ada/sub_variant/subv.adb: New file.
2764 * gdb.ada/sub_variant.exp: New file.
2765
0dd7b8f7
TV
27662020-03-20 Tom de Vries <tdevries@suse.de>
2767
2768 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2769 first break fails.
2770 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2771
cada5fc9
AB
27722020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 * gdb.server/exit-multiple-threads.c: New file.
2775 * gdb.server/exit-multiple-threads.exp: New file.
2776
6b8c53f2
AB
27772020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * gdb.fortran/mixed-lang-stack.c: New file.
2780 * gdb.fortran/mixed-lang-stack.cpp: New file.
2781 * gdb.fortran/mixed-lang-stack.exp: New file.
2782 * gdb.fortran/mixed-lang-stack.f90: New file.
2783
19a2740f
AB
27842020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2785
2786 * gdb.linespec/cp-completion-aliases.cc: New file.
2787 * gdb.linespec/cp-completion-aliases.exp: New file.
2788
d8c8b848
TV
27892020-03-19 Tom de Vries <tdevries@suse.de>
2790
2791 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2792 more precise.
2793
a9933ccf
TV
27942020-03-18 Tom de Vries <tdevries@suse.de>
2795
2796 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2797 * gdb.dwarf2/break-inline-psymtab.c: New test.
2798 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2799
2f89101f
TV
28002020-03-16 Tom de Vries <tdevries@suse.de>
2801
2802 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2803 cache_verify and cache_verify_proc.
2804
6b9374f1
TV
28052020-03-15 Tom de Vries <tdevries@suse.de>
2806
2807 * gdb.server/solib-list.exp: Handle
2808 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2809
eaeaf44c
TV
28102020-03-15 Tom de Vries <tdevries@suse.de>
2811
2812 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2813 objfiles".
2814
3293bbaf
TT
28152020-03-14 Tom Tromey <tom@tromey.com>
2816
2817 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2818
ab44624c
TV
28192020-03-14 Tom de Vries <tdevries@suse.de>
2820
2821 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2822
54c43825
TV
28232020-03-14 Tom de Vries <tdevries@suse.de>
2824
2825 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2826 result in line-by-line fashion.
2827
2ac70237
TV
28282020-03-14 Tom de Vries <tdevries@suse.de>
2829
2830 * lib/gdb.exp (supports_statement_frontiers): New proc.
2831 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2832
09546b56
TV
28332020-03-14 Tom de Vries <tdevries@suse.de>
2834
2835 * gdb.base/printcmds.exp: Add missing quoting for "print
2836 teststring2".
2837
a1f6a07c
TT
28382020-03-13 Tom Tromey <tom@tromey.com>
2839
2840 * gdb.base/printcmds.exp (test_print_strings): Add regression
2841 test.
2842 * gdb.base/printcmds.c (charptr): New typedef.
2843 (teststring2): New global.
2844
1b83d09c
AB
28452020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2846
2847 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2848 full path in the test name.
2849 (test_ld): Add some with_test_prefix blocks to make test names
2850 unique.
2851
2d61316c
TV
28522020-03-13 Tom de Vries <tdevries@suse.de>
2853
2854 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2855
2e9145ac
TV
28562020-03-13 Tom de Vries <tdevries@suse.de>
2857
2858 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2859
96c7f873
TV
28602020-03-13 Tom de Vries <tdevries@suse.de>
2861
2862 PR symtab/25646
2863 * gdb.dwarf2/imported-unit.exp: Add test.
2864
49ba92c0
TV
28652020-03-13 Tom de Vries <tdevries@suse.de>
2866
2867 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2868 (var1, var2): New variable.
2869 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2870 matching symbols.
2871
301b21e0
TV
28722020-03-13 Tom de Vries <tdevries@suse.de>
2873
2874 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2875 (Term::command): Use prompt prefix.
2876 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2877 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2878 command_no_prompt_prefix instead of prefix.
2879 * gdb.tui/tui-layout-asm.exp: Same.
2880
3f512721
SM
28812020-03-12 Simon Marchi <simon.marchi@efficios.com>
2882
2883 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2884
40310f30
SM
28852020-03-12 Simon Marchi <simon.marchi@efficios.com>
2886
2887 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2888 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2889 on" while stepping over the test instruction, match printed
2890 message.
2891
09252140
TV
28922020-03-12 Tom de Vries <tdevries@suse.de>
2893
2894 * gdb.base/info-types.exp: Use exp_continue during matching of output
2895 of "info types".
2896
14e9c72c
TV
28972020-03-12 Tom de Vries <tdevries@suse.de>
2898
2899 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2900
e515d67e
TV
29012020-03-12 Tom de Vries <tdevries@suse.de>
2902
2903 * gdb.fortran/module.exp: Use exp_continue during matching of output
2904 of "info variable -n".
2905
307eafd8
TV
29062020-03-12 Tom de Vries <tdevries@suse.de>
2907
2908 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2909 gdb.dwarf2/dw2-ranges-base.c.
2910
9a2de3fc
TV
29112020-03-12 Tom de Vries <tdevries@suse.de>
2912
2913 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2914 in presence of GLIBC debuginfo.
2915
3217502e
TV
29162020-03-12 Tom de Vries <tdevries@suse.de>
2917
2918 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2919 $core.
2920
1281424c
TV
29212020-03-12 Tom de Vries <tdevries@suse.de>
2922
2923 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2924 more precise.
2925
038b97fc
SM
29262020-03-11 Simon Marchi <simon.marchi@efficios.com>
2927
2928 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2929 from Unix to Windows path.
2930
5308d1e7
TV
29312020-03-11 Tom de Vries <tdevries@suse.de>
2932
2933 * gdb.ada/minsyms.exp: Set language to ada.
2934
f870f78f
TV
29352020-03-11 Tom de Vries <tdevries@suse.de>
2936
2937 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2938
5a13315d
TV
29392020-03-11 Tom de Vries <tdevries@suse.de>
2940
2941 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2942
976862ed
TT
29432020-03-11 Tom Tromey <tromey@adacore.com>
2944
2945 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2946
7462c383
TV
29472020-03-11 Tom de Vries <tdevries@suse.de>
2948
2949 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2950
1c6c46a0
TV
29512020-03-11 Tom de Vries <tdevries@suse.de>
2952
2953 * gdb.base/break-interp.exp: Limit verbose scope.
2954
44f41bb7
TV
29552020-03-11 Tom de Vries <tdevries@suse.de>
2956
2957 * gdb.fortran/logical.f90: Define variable with character type.
2958 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2959
b76f3a42
TV
29602020-03-11 Tom de Vries <tdevries@suse.de>
2961
2962 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2963
1c33af77
TV
29642020-03-11 Tom de Vries <tdevries@suse.de>
2965
2966 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2967 symtabs.
2968
8c95582d
AB
29692020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2970 Bernd Edlinger <bernd.edlinger@hotmail.de>
2971
2972 * gdb.cp/step-and-next-inline.cc: New file.
2973 * gdb.cp/step-and-next-inline.exp: New file.
2974 * gdb.cp/step-and-next-inline.h: New file.
2975 * gdb.dwarf2/dw2-is-stmt.c: New file.
2976 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2977 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2978 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2979 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2980
cecf8547
AB
29812020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2982
2983 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2984 is-stmt flag in the line table.
2985
0ba678c9
TV
29862020-03-09 Tom de Vries <tdevries@suse.de>
2987
2988 * lib/gdb.exp (cached_file): Create cache dir.
2989
72fbdf83
TV
29902020-03-07 Tom de Vries <tdevries@suse.de>
2991
2992 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2993 * gdb.cp/rvalue-ref-params.exp: Same.
2994
436b5e99
TV
29952020-03-06 Tom de Vries <tdevries@suse.de>
2996
2997 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2998 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2999
09f2921c
TV
30002020-03-06 Tom de Vries <tdevries@suse.de>
3001
3002 * README: Fix "the the".
3003 * gdb.base/dprintf.exp: Same.
3004
50a3cc5d
TV
30052020-03-05 Tom de Vries <tdevries@suse.de>
3006
3007 * gdb.base/maint.exp: Update "main print statistics" expected output.
3008
0a709cba
AKS
30092020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3010
3011 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3012 (fortran_int8): Likewise.
3013 (fortran_real4): Likewise.
3014 (fortran_real8): Likewise.
3015 (fortran_complex4): Likewise.
3016 (fortran_logical4): Likewise.
3017 (fortran_character1): Likewise.
3018
5e5d66b6
AB
30192020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3020
3021 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3022 printed as true.
3023
7b973adc
SDJ
30242020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3025
3026 * gdb.base/printcmds.exp: Add test to verify printf of a
3027 variable holding an address.
3028
478e490a
TV
30292020-03-03 Tom de Vries <tdevries@suse.de>
3030
3031 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3032
1ef44e86
TV
30332020-03-03 Tom de Vries <tdevries@suse.de>
3034
3035 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3036 gdb_test_multiple call.
3037
b98cc2cf
TV
30382020-03-03 Tom de Vries <tdevries@suse.de>
3039
3040 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3041 gdb_test_multiple calls.
3042
63e163f2
AB
30432020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3044
3045 * gdb.base/default.exp: Remove test of 'set history filename'.
3046 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3047 filename to the empty string.
3048 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3049 and GDBHISTSIZE.
3050
24ed6739
AB
30512020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3052
3053 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3054 disabled.
3055
590003dc 30562020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3057 Tom de Vries <tdevries@suse.de>
590003dc
TV
3058
3059 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3060 -prompt prefix, before user_code argument. Add -lbl option likewise.
3061 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3062 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3063 argument.
3064 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3065 have "\r\n" at start-of-line, instead of at end-of-line.
3066
f5e46084
SM
30672020-02-28 Simon Marchi <simon.marchi@efficios.com>
3068
3069 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3070 libinproctrace.so.
3071
f7a7000d
LM
30722020-02-28 Luis Machado <luis.machado@linaro.org>
3073
3074 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3075 to "p/x".
3076
718e0816
LM
30772020-02-28 Luis Machado <luis.machado@linaro.org>
3078
3079 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3080 asm/ptrace.h and error.h.
3081
13c3a74a
TV
30822020-02-28 Tom de Vries <tdevries@suse.de>
3083
3084 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3085 (struct wrapper, do_something, mundane/symada__cS): Move ...
3086 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3087 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3088 Update "print symada__cS before partial symtab expansion" regexp.
3089 Update breakpoint location. Flush symbol cache after expansion.
3090
85d2d5bb
LM
30912020-02-28 Luis Machado <luis.machado@linaro.org>
3092
3093 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3094
3608f86c
TV
30952020-02-27 Tom de Vries <tdevries@suse.de>
3096
3097 * config/sid.exp: Remove unused globals.
3098 * gdb.base/attach.exp: Same.
3099 * gdb.base/catch-load.exp: Same.
3100 * gdb.base/dbx.exp: Same.
3101 * lib/gdb.exp: Same.
3102 * lib/mi-support.exp: Same.
3103 * lib/prompt.exp: Same.
3104
c8d4f6df
TV
31052020-02-27 Tom de Vries <tdevries@suse.de>
3106
3107 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3108 not set.
3109
0d79cdc4
AM
31102020-02-26 Aaron Merey <amerey@redhat.com>
3111
3112 * gdb.debuginfod: New directory for debuginfod tests.
3113 * gdb.debuginfod/main.c: New test file.
3114 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3115
0dce4280
TV
31162020-02-26 Tom de Vries <tdevries@suse.de>
3117
3118 PR gdb/25603
3119 * gdb.base/persistent-lang.cc: New test.
3120 * gdb.base/persistent-lang.exp: New file.
3121
9e80cfa1
AB
31222020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3123
3124 * gdb.fortran/derived-type-striding.exp: Add a new test.
3125 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3126 new test.
3127
2078dbb2
AB
31282020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3129
3130 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3131 names.
3132
70d49700
TV
31332020-02-25 Tom de Vries <tdevries@suse.de>
3134
3135 PR go/18926
3136 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3137
a88ef40d
TV
31382020-02-24 Tom de Vries <tdevries@suse.de>
3139
3140 PR gdb/25592
3141 * gdb.base/info-locals-unused-static-var.c: New test.
3142 * gdb.base/info-locals-unused-static-var.exp: New file.
3143
01b1af32
TT
31442020-02-22 Tom Tromey <tom@tromey.com>
3145
3146 * gdb.python/tui-window.exp: New file.
3147 * gdb.python/tui-window.py: New file.
3148
7c043ba6
TT
31492020-02-22 Tom Tromey <tom@tromey.com>
3150
3151 PR tui/17850:
3152 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3153 tests.
3154
c22fef7e
TT
31552020-02-22 Tom Tromey <tom@tromey.com>
3156
3157 * gdb.tui/new-layout.exp: Add sub-layout tests.
3158
ee325b61
TT
31592020-02-22 Tom Tromey <tom@tromey.com>
3160
3161 * gdb.tui/new-layout.exp: New file.
3162
3f0cbb04
TT
31632020-02-22 Tom Tromey <tom@tromey.com>
3164
3165 * gdb.rust/rust-style.rs: New file.
3166 * gdb.rust/rust-style.exp: New file.
3167 * gdb.base/style.exp: Test structure printing.
3168 * gdb.base/style.c (struct some_struct): New type.
3169 (enum etype): New type.
3170 (struct_value): New global.
3171
75525152
TV
31722020-02-21 Tom de Vries <tdevries@suse.de>
3173
3174 PR go/18926
3175 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3176 Remove blanket xfails. Use message argument for gdb_breakpoint.
3177 Make continuing to breakpoint test conditional on setting breakpoint.
3178 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3179 DW_AT_name attribute. Add xfail for GCC PR93866.
3180
bd360d30
AB
31812020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3182
3183 * gdb.dwarf2/cpp-linkage-name.c: New file.
3184 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3185
c7adb09f 31862020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3187
3188 * lib/gdb.exp (gdb_wrapper_init): Reset
3189 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3190 not exist.
3191
a9c79803
TV
31922020-02-20 Tom de Vries <tdevries@suse.de>
3193
3194 PR go/17018
3195 * gdb.go/hello.exp: Copy ...
3196 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3197 print of st to print value of global definition. Add xfail for GCC
3198 PR93844.
3199 * gdb.go/hello.exp: Remove printing of st before definition.
3200 * gdb.go/hello.go: Copy ...
3201 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3202 to st.
3203 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3204
d7445728
TV
32052020-02-20 Tom de Vries <tdevries@suse.de>
3206
3207 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3208 (gdb_simple_compile): Handle compile_flags go by using .go extension
3209 for source file.
3210 * gdb.go/chan.exp: Use support_go_compile.
3211 * gdb.go/handcall.exp: Same.
3212 * gdb.go/hello.exp: Same.
3213 * gdb.go/integers.exp: Same.
3214 * gdb.go/max-depth.exp: Same.
3215 * gdb.go/methods.exp: Same.
3216 * gdb.go/package.exp: Same.
3217 * gdb.go/strings.exp: Same.
3218 * gdb.go/types.exp: Same.
3219 * gdb.go/unsafe.exp: Same.
3220
c9c41e6d
TV
32212020-02-19 Tom de Vries <tdevries@suse.de>
3222
3223 * gdb.python/lib-types.exp: Make xfail more strict.
3224
f20ff837
TV
32252020-02-19 Tom de Vries <tdevries@suse.de>
3226
3227 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3228
08410482
DE
32292020-02-19 Doug Evans <dje@google.com>
3230
3231 PR rust/25535
3232 * gdb.rust/simple.exp: Add test.
3233 * gdb.rust/simple.rs: Add test.
3234
623563f7
TV
32352020-02-19 Tom de Vries <tdevries@suse.de>
3236
3237 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3238 output line-by-line.
3239
d3308cfd
TV
32402020-02-19 Tom de Vries <tdevries@suse.de>
3241
3242 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3243
86cbc5dc
TV
32442020-02-19 Tom de Vries <tdevries@suse.de>
3245
3246 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3247 prelink.
3248
9db2b96b
TV
32492020-02-19 Tom de Vries <tdevries@suse.de>
3250
3251 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3252 (gdb_do_cache): Use gdb_do_cache_wrap.
3253 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3254
89e2fdc5
TV
32552020-02-19 Tom de Vries <tdevries@suse.de>
3256
3257 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3258 gdb_compile option.
3259
373d7ac0
SM
32602020-02-18 Simon Marchi <simon.marchi@efficios.com>
3261
3262 * gdb.base/printcmds.exp (test_print_enums): Update expected
3263 output.
3264
b29a2df0
SM
32652020-02-18 Simon Marchi <simon.marchi@efficios.com>
3266
3267 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3268 for "unknown".
3269
6740f0cc
SM
32702020-02-18 Simon Marchi <simon.marchi@efficios.com>
3271
3272 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3273 enumerator.
3274
edd45eb0
SM
32752020-02-18 Simon Marchi <simon.marchi@efficios.com>
3276
3277 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3278 FE_, add FE_NONE.
3279 (three): Update.
3280 (enum flag_enum_without_zero): New enum.
3281 (flag_enum_without_zero): New variable.
3282 (enum not_flag_enum): New enum.
3283 (three_not_flag): New variable.
3284 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3285 (test_print_enums): Add more tests for printing flag enums.
3286
d4295de4
TV
32872020-02-18 Tom de Vries <tdevries@suse.de>
3288
3289 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3290 (gdb_compile_ada): ... here.
3291 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3292 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3293
f251f505
TT
32942020-02-14 Tom Tromey <tom@tromey.com>
3295
3296 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3297 build directory.
3298 * boards/gdbserver-base.exp: Update path to gdbserver.
3299
8f432634
TV
33002020-02-13 Tom de Vries <tdevries@suse.de>
3301
3302 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3303
92b6eaf7
TV
33042020-02-13 Tom de Vries <tdevries@suse.de>
3305
3306 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3307 are missing.
3308
f3b0f7fe
TV
33092020-02-13 Tom de Vries <tdevries@suse.de>
3310
3311 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3312 call.
3313
f6be8713
SDJ
33142020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3315
3316 PR tui/25126
3317 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3318 * gdb.base/cached-source-file.c: New file.
3319 * gdb.base/cached-source-file.exp: New file.
3320
b2770d5e
TV
33212020-02-11 Tom de Vries <tdevries@suse.de>
3322
3323 PR testsuite/25488
3324 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3325
44f6938e
TV
33262020-02-10 Tom de Vries <tdevries@suse.de>
3327
3328 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3329
5f0e2eb7
MR
33302020-02-10 Maciej W. Rozycki <macro@wdc.com>
3331
3332 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3333 and $after_addr are both integers before making a comparison.
3334
46ce2b6f
TV
33352020-02-09 Tom de Vries <tdevries@suse.de>
3336
3337 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3338 command output and paste it into gdb.log. If any, paste catch message
3339 to gdb.log.
3340
5abbbe1d
TT
33412020-02-07 Tom Tromey <tromey@adacore.com>
3342
3343 PR breakpoints/24915:
3344 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3345
1d5d29e7
SV
33462020-02-06 Shahab Vahedi <shahab@synopsys.com>
3347
3348 * gdb.tui/tui-missing-src.exp: Add the "missing source
3349 file" test for the TUI.
3350
b0999b9b
AB
33512020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3352
3353 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3354 including a port number in the output.
3355
c3b149eb
AKS
33562020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3357
3358 * lib/fortran.exp (fortran_int4): Handle clang.
3359 (fortran_int8): Likewise.
3360 (fortran_real4): Likewise.
3361 (fortran_real8): Likewise.
3362 (fortran_complex4): Likewise.
3363 (fortran_logical4): Likewise.
3364 (fortran_character1): Likewise.
3365
f8dcc90b
TV
33662020-02-04 Tom de Vries <tdevries@suse.de>
3367
3368 * README (Race detection): Add note.
3369
f90ac7c2
TV
33702020-02-04 Tom de Vries <tdevries@suse.de>
3371
3372 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3373
780636ae
TV
33742020-02-04 Tom de Vries <tdevries@suse.de>
3375
3376 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3377
5d2e1193
RA
33782020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3379
3380 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3381 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3382 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3383 blttar, bnetarl.
3384 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3385 binary for blttar, bnetarl.
3386 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3387 wait instruction. Delete ldmx test.
3388 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3389
e409c542
AKS
33902020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3391
3392 * gdb.fortran/array-bounds-high.exp: New file.
3393 * gdb.fortran/array-bounds-high.f90: New file.
3394
b0029748
LD
33952020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3396
3397 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3398 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3399
195a8287
TV
34002020-02-01 Tom de Vries <tdevries@suse.de>
3401
3402 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3403
42330a68
AB
34042020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3405
3406 PR tui/9765
3407 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3408 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3409
b62a8028
LM
34102020-01-29 Luis Machado <luis.machado@linaro.org>
3411
3412 * gdb.arch/aarch64-brk-patterns.c: New source file.
3413 * gdb.arch/aarch64-brk-patterns.exp: New test.
3414
5f440116
TBA
34152020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3416
3417 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3418 GCC/Clang version.
3419 * gdb.cp/pass-by-ref.exp: Ditto.
3420
ee2a6fc6
TV
34212020-01-29 Tom de Vries <tdevries@suse.de>
3422
3423 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3424 * gdb.threads/watchpoint-fork-mt.c: Same.
3425 * gdb.threads/watchpoint-fork-parent.c: Same.
3426 * gdb.threads/watchpoint-fork-st.c: Same.
3427 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3428
16b10d6e
LM
34292020-01-27 Luis Machado <luis.machado@linaro.org>
3430
3431 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3432 sitting at a syscall instruction when we hit the syscall function's
3433 breakpoint.
3434 Check PC against one obtained with the x command.
3435 Validate syscall number.
3436 (step_over_syscall): Don't continue to the syscall instruction if
3437 we're already there.
3438
b1468492
PW
34392020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3440
3441 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3442
7ffa82e1
AB
34432020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3444
3445 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3446 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3447
3d92a3e3
AB
34482020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3449
3450 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3451 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3452
94a72be7
AB
34532020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3454
3455 * gdb.base/maint.exp: Update line table parsing test.
3456 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3457
53af73bf
PA
34582020-01-24 Pedro Alves <palves@redhat.com>
3459
3460 PR gdb/25410
3461 * gdb.multi/multi-re-run-1.c: New.
3462 * gdb.multi/multi-re-run-2.c: New.
3463 * gdb.multi/multi-re-run.exp: New.
3464
1ba1ac88
AB
34652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3466
3467 PR gdb/23718
3468 * gdb.server/server-kill-python.exp: New file.
3469
f3364a6d
AB
34702020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3471
3472 * gdb.server/multi-ui-errors.c: New file.
3473 * gdb.server/multi-ui-errors.exp: New file.
3474
733d0a67
AB
34752020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3476
3477 PR tui/9765
3478 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3479
4f13c1c0
TT
34802020-01-19 Tom Tromey <tom@tromey.com>
3481
3482 * gdb.tui/main.exp: Add check for plain "file".
3483
40c94099
CB
34842020-01-16 Christian Biesinger <cbiesinger@google.com>
3485
3486 * lib/gdb.exp: Fix spelling error (seperatelly).
3487
ff47f4f0
TT
34882020-01-14 Tom Tromey <tom@tromey.com>
3489
3490 PR symtab/12535:
3491 * gdb.python/python.exp: Test decode_line with empty string
3492 argument.
3493
717c684d
BE
34942020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3495
3496 * gdb.base/skip-inline.exp: Extend test.
3497
44e4c775
AB
34982020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3499
3500 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3501 * gdb.dwarf2/dw2-bad-elf.c: New file.
3502 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3503
d93c6db7
AB
35042020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3505
3506 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3507 _line_saw_file.
3508
9a6d629c
AB
35092020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3510
3511 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3512 border.
3513
d9ebdab7
TBA
35142020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3515
3516 * gdb.multi/multi-target.exp (setup): Factor out "info
3517 connections" and "info inferiors" tests to ...
3518 (test_info_inferiors): ... this new procedure.
3519 (top level): Run new "info-inferiors" tests.
3520
f3c469b9
PA
35212020-01-10 Pedro Alves <palves@redhat.com>
3522
3523 * gdb.server/bkpt-other-inferior.exp: New file.
3524
121b3efd
PA
35252020-01-10 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3528 of "add-inferior".
3529 * gdb.base/quit-live.exp: Likewise.
3530 * gdb.base/remote-exec-file.exp: Likewise.
3531 * gdb.guile/scm-progspace.exp: Likewise.
3532 * gdb.linespec/linespec.exp: Likewise.
3533 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3534 * gdb.mi/user-selected-context-sync.exp: Likewise.
3535 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3536 "info inferiors" tests.
3537 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3538 "add-inferior".
3539 * gdb.multi/watchpoint-multi.exp: Likewise.
3540 * gdb.python/py-inferior.exp: Likewise.
3541 * gdb.server/extended-remote-restart.exp: Likewise.
3542 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3543 "info inferiors".
3544 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3545 * gdb.trace/report.exp: Likewise.
3546
1dadb1dd
PA
35472020-01-10 Pedro Alves <palves@redhat.com>
3548
3549 * gdb.multi/multi-target.c: New file.
3550 * gdb.multi/multi-target.exp: New file.
3551 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3552 mode requested, but remote does not support non-stop".
3553
78f2c40a
PA
35542020-01-10 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3557 disconnect before reconnecting.
3558
e7af6c70
TBA
35592020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3560 Pedro Alves <palves@redhat.com>
3561
3562 * gdb.server/connect-without-multi-process.exp: Also test
3563 continuing to end.
3564
acdf84a6
PA
35652020-01-10 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.base/remote-exec-file.exp: New file.
3568
873657b9
PA
35692020-01-10 Pedro Alves <palves@redhat.com>
3570
3571 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3572 output.
3573 * gdb.threads/async.c: New.
3574 * gdb.threads/async.exp: New.
3575 * gdb.multi/tids-gid-reset.c: New.
3576 * gdb.multi/tids-gid-reset.exp: New.
3577
7f0ae84c
GB
35782020-01-10 George Barrett <bob@bob131.so>
3579
3580 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3581 to help in finding the image relocation offset.
3582 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3583 options in arguments.
3584 (stap_test_no_debuginfo): Likewise.
3585 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3586 test variants.
3587 (stap_test): Add null semaphore relocation test.
3588
47e9d49d
GB
35892020-01-10 George Barrett <bob@bob131.so>
3590
3591 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3592 * gdb.base/stap-probe.exp: Likewise.
3593 (stap_test): Pass argument as an additional flag.
3594 (stap_test_no_debuginfo): Likewise.
3595 (stap_test): Check `info probes stap' output for semaphore
3596 addresses if the test binary is supposed to have them.
3597
f5a7c406
AB
35982020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3599
3600 * gdb.tui/basic.exp: Add more scrolling tests.
3601
9ae6bf64
TT
36022020-01-09 Tom Tromey <tom@tromey.com>
3603
3604 PR tui/18932:
3605 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3606 meangingful value.
3607 (Term::command, Term::resize): Update.
3608 * gdb.tui/basic.exp: Add scrolling test.
3609
b2efe70c
AB
36102020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3611
3612 * gdb.tui/tui-layout-asm.exp: New file.
3613
3804da7e
AB
36142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3615
3616 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3617
b40aa28f
AB
36182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3619
3620 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3621 (Term::enter_tui): Use Term::prepare_for_tui.
3622
63ffd7c9
AB
36232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3624
3625 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3626 called.
3627
3be966f6
AB
36282020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3629
3630 * gdb.base/skip.exp: Fix race condition in test.
3631
153d79c4
AB
36322020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3633
3634 * gdb.base/backtrace.c: New file.
3635 * gdb.base/backtrace.exp: New file.
3636
f2302a34
AB
36372020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3638
3639 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3640
6ec1d75e
PW
36412020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3642
3643 * gdb.base/style.exp: Test that warnings are styled.
3644
c296cbe6
BE
36452019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3646
3647 * gdb.base/line65535.exp: New file.
3648 * gdb.base/line65535.c: New file.
3649
b28a729d
SM
36502019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3651
3652 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3653 * lib/gnat_debug_info_test.adb: New file.
3654 * gdb.ada/ptype_tagged_param.exp: Use
3655 gnat_runtime_has_debug_info, expect a different output if
3656 runtime does not have debug info.
3657
7f2d7a0d
SM
36582019-12-20 Simon Marchi <simon.marchi@efficios.com>
3659
3660 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3661 (another) quote in test name.
3662
f3bce483
SM
36632019-12-20 Simon Marchi <simon.marchi@efficios.com>
3664
3665 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3666 Add quote in test name.
3667
c855a912
TBA
36682019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3669
3670 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3671 directory instead.
3672 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3673 * gdb.cp/pass-by-ref-2.cc: New file.
3674 * gdb.cp/pass-by-ref-2.exp: New file.
3675
fc9d2d72
TT
36762019-12-20 Tom Tromey <tom@tromey.com>
3677
3678 * gdb.tui/list-before.exp: New file.
3679
77b97e00
TT
36802019-12-20 Tom Tromey <tom@tromey.com>
3681
3682 * gdb.tui/list.exp: Check for source on initial listing.
3683
f69656d0
TT
36842019-12-11 Tom Tromey <tromey@adacore.com>
3685
3686 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3687 Add crlf test.
3688
99a55965
SM
36892019-12-18 Simon Marchi <simon.marchi@efficios.com>
3690
3691 * gdb.base/default.exp: Update value of $_gdb_major.
3692
5024637f
BE
36932019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3694
3695 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3696
b63634be
BE
36972019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3698
3699 * gdb.base/skip.exp: Whitespace fix.
3700
45d73523
BE
37012019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3702
3703 * gdb.base/skip-inline.c: New file.
3704 * gdb.base/skip-inline.exp: New file.
3705
d043f8c8
SM
37062019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3707
3708 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3709 jit_function_00 to jit_function_stack_mangle.
3710 * gdb.base/jithost.c (jit_function_t): Rename to...
3711 (jit_function_stack_mangle_t): ... this.
3712 (jit_function_add_t): New typedef.
3713 (jit_function_00_code): Rename to...
3714 (jit_function_stack_mangle_code): ... this, make static.
3715 (jit_function_add_code): New.
3716 (main): Generate "add" function and call it. Adjust to changes
3717 in jithost_abi.
3718 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3719 (struct jithost_abi) <begin, end>: Remove fields.
3720 <object, function_stack_mangle, function_add>: New fields.
3721 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3722 code_end>: Remove fields.
3723 <func_stack_mangle>: New field.
3724 (read_debug_info): Adjust to renaming, create block for "add"
3725 function.
3726 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3727
873de05c
TT
37282019-12-11 Tom Tromey <tom@tromey.com>
3729
3730 * gdb.tui/resize.exp: Fix regexp.
3731 * gdb.tui/regs.exp: Fix regexps.
3732 * gdb.tui/main.exp: Fix regexp.
3733
3d979945
TT
37342019-12-11 Tom Tromey <tom@tromey.com>
3735
3736 * gdb.tui/resize.exp: Update.
3737 * gdb.tui/empty.exp (layouts): Update.
3738
2192a9d3
TT
37392019-12-11 Tom Tromey <tom@tromey.com>
3740
3741 * gdb.tui/regs.exp: Update.
3742 * gdb.tui/empty.exp (layouts): Update.
3743 * gdb.tui/basic.exp: Update.
3744 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3745
d8edc8b7
PW
37462019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3747
3748 * gdb.base/options.exp: Add -raw-values in the print completion list.
3749 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3750
4c12d936
KB
37512019-12-10 Kevin Buettner <kevinb@redhat.com>
3752
3753 * gdb.threads/omp-par-scope.c: New file.
3754 * gdb/threads/omp-par-scope.exp: New file.
3755
26b911fb
KB
37562019-12-10 Kevin Buettner <kevinb@redhat.com>
3757
bb47f919
KB
3758 * lib/gdb.exp (support_nested_function_tests): New proc.
3759
37602019-12-10 Kevin Buettner <kevinb@redhat.com>
3761
3762 * lib/gdb.exp (gdb_compile_openmp): New proc.
3763 (build_executable_from_specs): Add an "openmp" option.
3764 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3765
6c71eb7d
TT
37662019-12-10 Tom Tromey <tromey@adacore.com>
3767
3768 * gdb.ada/unchecked_union.exp: New file.
3769 * gdb.ada/unchecked_union/pck.adb: New file.
3770 * gdb.ada/unchecked_union/pck.ads: New file.
3771 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3772 * gdb-utils.exp (string_to_regexp): Also quote "?".
3773
bac7c5cf
GB
37742019-12-10 George Barrett <bob@bob131.so>
3775
3776 Test scripted probe breakpoints.
3777 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3778 * gdb.python/py-breakpoint.c (main): Likewise.
3779 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3780 specifier test.
3781 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3782
330f1d38
TBA
37832019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3784
3785 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3786 an rvalue parameter.
3787 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3788 parameter.
3789
b43315e2
AB
37902019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3791
3792 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3793 modules.
3794
54f73dad
AB
37952019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3796
3797 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3798 broken version of GCC.
3799
d57cbee9
AB
38002019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3801
3802 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3803 sym-info-cmds library.
3804 * gdb.fortran/info-types.exp: Likewise.
3805 * lib/sym-info-cmds.exp: New file.
3806
c14aab8c
TV
38072019-12-08 Tom de Vries <tdevries@suse.de>
3808
3809 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3810
aa2d5a42
KS
38112019-12-07 Keith Seitz <keiths@redhat.com>
3812
3813 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3814 * gdb.base/corefile-buildid-shlib.c: New file.
3815 * gdb.base/corefile-buildid.c: New file.
3816 * gdb.base/corefile-buildid.exp: New file.
3817
93e55f0a
TV
38182019-12-06 Tom de Vries <tdevries@suse.de>
3819
3820 * gdb.dwarf2/varval.exp: Add decl before def test.
3821
c7d12402
TBA
38222019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3823
3824 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3825
06acc08f
TBA
38262019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3827
3828 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3829 CV and reference conversion for overload resolution.
3830 * gdb.cp/rvalue-ref-overload.exp: Test it.
3831
e0fad1ea
PW
38322019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3833
3834 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3835 * gdb.base/frameapply.exp: Test faas without command.
3836
8d70a9f0
AB
38372019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3838
3839 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3840 Fortran tests.
3841 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3842 order.
3843
36c8fb93
AB
38442019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3845
3846 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3847 casting to type with no kind specified.
3848 (test_basic_parsing_of_type_kinds): Additional tests for types
3849 with no kind specified, and add tests for single/double
3850 precision/complex types.
3851
4139ff00
TT
38522019-12-04 Tom Tromey <tromey@adacore.com>
3853
3854 * gdb.base/endianity.c (struct other) <x>: New field.
3855 (main): Initialize it.
3856 * gdb.base/endianity.exp: Update.
3857
a05cf17a
TT
38582019-12-04 Tom Tromey <tromey@adacore.com>
3859
3860 * gdb.ada/scalar_storage/storage.adb: New file.
3861 * gdb.ada/scalar_storage/pck.adb: New file.
3862 * gdb.ada/scalar_storage/pck.ads: New file.
3863 * gdb.ada/scalar_storage.exp: New file.
3864
103a685e
TT
38652019-12-04 Tom Tromey <tromey@adacore.com>
3866
3867 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3868 (main): Initialize it.
3869 * gdb.base/endianity.exp: Update.
3870
c2512106
AB
38712019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3872
3873 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3874
293b38d6
AB
38752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3876
3877 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3878 -symbol-info-module-functions and -symbol-info-module-variables.
3879
216a7e6b
AB
38802019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3881
3882 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3883
5bbd8269
AB
38842019-12-01 Richard Bunt <richard.bunt@arm.com>
3885 Andrew Burgess <andrew.burgess@embecosm.com>
3886
3887 * gdb.fortran/derived-type-striding.exp: New file.
3888 * gdb.fortran/derived-type-striding.f90: New file.
3889 * gdb.fortran/array-slices.exp: New file.
3890 * gdb.fortran/array-slices.f90: New file.
3891
be09caf1
PW
38922019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3893
3894 * gdb.base/define.exp: Test . in command names.
3895 * gdb.base/setshow.exp: Update test, as . is now part of
3896 command name.
3897
643c0cbe
PW
38982019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3899
3900 * gdb.base/define-prefix.exp: New file.
3901
dcdec678
AB
39022019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3903
3904 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3905 compile.
3906 (skip_btrace_pt_tests): Likewise.
3907
640ab947
AB
39082019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3909
3910 * gdb.fortran/info-modules.exp: Compile source files in correct
3911 order.
3912
d22670f0
KB
39132019-11-27 Kevin Buettner <kevinb@redhat.com>
3914
3915 * gdb.dwarf2/imported-unit.exp: New file.
3916 * gdb.dwarf2/imported-unit.c: New file.
3917
db5960b4
AB
39182019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3919
3920 * gdb.mi/mi-fortran-modules-2.f90: New file.
3921 * gdb.mi/mi-fortran-modules.exp: New file.
3922 * gdb.mi/mi-fortran-modules.f90: New file.
3923
7dc42066
AB
39242019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3925
3926 * gdb.mi/mi-sym-info-1.c: New file.
3927 * gdb.mi/mi-sym-info-2.c: New file.
3928 * gdb.mi/mi-sym-info.exp: New file.
3929
0dfeecca
TT
39302019-11-22 Tom Tromey <tromey@adacore.com>
3931
3932 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3933 * gdb.ada/tasks/foo.adb: Add another stopping location.
3934
34877895
PJ
39352019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3936
3937 * gdb.base/endianity.c: New test.
3938 * gdb.base/endianity.exp: New file.
3939
2e84f897
LD
39402019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3941
3942 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3943
65d1cd5f
TV
39442019-11-21 Tom de Vries <tdevries@suse.de>
3945
3946 PR gdb/24956
3947 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3948
4f22c3f4
SDJ
39492019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3950
3951 * gdb.python/py-progspace.exp: Add missing parentheses on some
3952 'print' commands.
3953
9f6ad286
TT
39542019-11-19 Tom Tromey <tom@tromey.com>
3955
3956 * gdb.tui/winheight.exp: New file.
3957
0b8dbf3f
AB
39582019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3959
3960 * gdb.base/ctf-whatis.c: Delete.
3961 * gdb.base/ctf-whatis.exp: Delete.
3962 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3963
f833b7a7
AB
39642019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3965
3966 * gdb.base/ctf-cvexpr.exp: Delete.
3967 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3968
30d0a636
AB
39692019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3970
3971 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3972 the compiler. Clean up header comment a little.
3973 * gdb.base/ctf-ptype.exp: Likewise.
3974 * gdb.base/ctf-whatis.exp: Likewise.
3975 * lib/gdb.exp (skip_ctf_tests): New proc.
3976
494409bb
SDJ
39772019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3978
3979 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3980 * gdb.tui/corefile-run.exp: New file.
3981
55708e99
TT
39822019-11-14 Tom Tromey <tromey@adacore.com>
3983
3984 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3985 regression tests.
3986
45e42163
TT
39872019-11-12 Tom Tromey <tom@tromey.com>
3988
3989 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3990 after any command. Expect prompt after WAIT_FOR is seen.
3991 (enter_tui): Enable resize messages.
3992 (command): Expect command in output.
3993 (get_line): Avoid error when cursor appears to be off-screen.
3994 (dump_screen): Include screen size in title.
3995 (_do_resize): New proc, from "resize".
3996 (resize): Rewrite. Do resize in two steps.
3997 * gdb.tui/empty.exp (layouts): Fix entries.
3998 (check_boxes): Remove xfail.
3999 (check_text): Dump screen on failure.
4000
086baaf1
AB
40012019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4002
4003 * gdb.python/py-symbol.exp: Add test for
4004 gdb.lookup_static_symbols.
4005
09ff83af
AB
40062019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4007
4008 * gdb.python/py-symbol.c: Declare and call function from new
4009 py-symbol-2.c file.
4010 * gdb.python/py-symbol.exp: Compile both source files, and add new
4011 tests for gdb.lookup_static_symbol.
4012 * gdb.python/py-symbol-2.c: New file.
4013
11af934b
TV
40142019-11-02 Tom de Vries <tdevries@suse.de>
4015
4016 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4017 * gdb.base/anon.exp: Same.
4018 * gdb.base/auto-connect-native-target.exp: Same.
4019 * gdb.base/call-ar-st.exp: Same.
4020 * gdb.base/catch-syscall.exp: Same.
4021 * gdb.base/commands.exp: Same.
4022 * gdb.base/default.exp: Same.
4023 * gdb.base/display.exp: Same.
4024 * gdb.base/float.exp: Same.
4025 * gdb.base/foll-fork.exp: Same.
4026 * gdb.base/help.exp: Same.
4027 * gdb.base/info-macros.exp: Same.
4028 * gdb.base/info-proc.exp: Same.
4029 * gdb.base/info-target.exp: Same.
4030 * gdb.base/long_long.exp: Same.
4031 * gdb.base/macscp.exp: Same.
4032 * gdb.base/memattr.exp: Same.
4033 * gdb.base/nofield.exp: Same.
4034 * gdb.base/pointers.exp: Same.
4035 * gdb.base/printcmds.exp: Same.
4036 * gdb.base/ptype.exp: Same.
4037 * gdb.base/restore.exp: Same.
4038 * gdb.base/return.exp: Same.
4039 * gdb.base/scope.exp: Same.
4040 * gdb.base/set-noassign.exp: Same.
4041 * gdb.base/setshow.exp: Same.
4042 * gdb.base/shlib-call.exp: Same.
4043 * gdb.base/signals.exp: Same.
4044 * gdb.base/sigstep.exp: Same.
4045 * gdb.base/skip.exp: Same.
4046 * gdb.base/solib-symbol.exp: Same.
4047 * gdb.base/stap-probe.exp: Same.
4048 * gdb.base/step-line.exp: Same.
4049 * gdb.base/step-test.exp: Same.
4050 * gdb.base/style.exp: Same.
4051 * gdb.base/varargs.exp: Same.
4052 * gdb.base/vla-datatypes.exp: Same.
4053 * gdb.base/vla-ptr.exp: Same.
4054 * gdb.base/vla-sideeffect.exp: Same.
4055 * gdb.base/volatile.exp: Same.
4056 * gdb.base/watch-cond-infcall.exp: Same.
4057 * gdb.base/watchpoint.exp: Same.
4058
e96ec2ba
TV
40592019-11-02 Tom de Vries <tdevries@suse.de>
4060
4061 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4062 * gdb.cp/cpexprs.exp: Same.
4063 * gdb.cp/except-multi-location.exp: Same.
4064 * gdb.cp/exceptprint.exp: Same.
4065 * gdb.cp/gdb2384.exp: Same.
4066 * gdb.cp/inherit.exp: Same.
4067 * gdb.cp/m-static.exp: Same.
4068 * gdb.cp/meth-typedefs.exp: Same.
4069 * gdb.cp/misc.exp: Same.
4070 * gdb.cp/namespace.exp: Same.
4071 * gdb.cp/non-trivial-retval.exp: Same.
4072 * gdb.cp/overload.exp: Same.
4073 * gdb.cp/pr17132.exp: Same.
4074 * gdb.cp/re-set-overloaded.exp: Same.
4075 * gdb.cp/rvalue-ref-types.exp: Same.
4076 * gdb.cp/templates.exp: Same.
4077
bd5766ec
LM
40782019-11-01 Luis Machado <luis.machado@linaro.org>
4079
4080 PR gdb/25124
4081
4082 * gdb.arch/pr25124.S: New file.
4083 * gdb.arch/pr25124.exp: New file.
4084
165f8965
AB
40852019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4086
4087 * gdb.fortran/info-modules.exp: Update expected results, and add
4088 additional tests for 'info module functinos', and 'info module
4089 variables'.
4090 * gdb.fortran/info-types.exp: Update expected results.
4091 * gdb.fortran/info-types.f90: Extend testcase with additional
4092 module variables and functions.
4093
59c35742
AB
40942019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4095
4096 * gdb.fortran/info-modules.exp: New file.
4097 * gdb.fortran/info-types.exp: Build with new file.
4098 * gdb.fortran/info-types.f90: Include and use new module.
4099 * gdb.fortran/info-types-2.f90: New file.
4100
f3fb2519
PW
41012019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4102
4103 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4104 * gdb.base/settings.exp: Test all settings types using
4105 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4106 that now verifies that the value of "maint show" is the same as
4107 returned by the settings functions. Test the type of the
4108 maintenance settings.
4109 * gdb.base/default.exp: Update show_conv_list.
4110
d1e36019
TV
41112019-10-31 Tom de Vries <tdevries@suse.de>
4112
4113 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4114 gdb_test.
4115 * gdb.arch/amd64-disp-step.exp: Same.
4116 * gdb.asm/asm-source.exp: Same.
4117 * gdb.btrace/buffer-size.exp: Same.
4118 * gdb.btrace/cpu.exp: Same.
4119 * gdb.btrace/enable.exp: Same.
4120 * gdb.dwarf2/count.exp: Same.
4121 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4122 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4123 * gdb.fortran/vla-datatypes.exp: Same.
4124 * gdb.fortran/vla-history.exp: Same.
4125 * gdb.fortran/vla-ptype.exp: Same.
4126 * gdb.fortran/vla-value.exp: Same.
4127 * gdb.fortran/whatis_type.exp: Same.
4128 * gdb.guile/guile.exp: Same.
4129 * gdb.multi/tids.exp: Same.
4130 * gdb.python/py-finish-breakpoint.exp: Same.
4131 * gdb.python/py-framefilter.exp: Same.
4132 * gdb.python/py-pp-registration.exp: Same.
4133 * gdb.python/py-xmethods.exp: Same.
4134 * gdb.python/python.exp: Same.
4135 * gdb.server/connect-with-no-symbol-file.exp: Same.
4136 * gdb.server/no-thread-db.exp: Same.
4137 * gdb.server/run-without-local-binary.exp: Same.
4138 * gdb.stabs/weird.exp: Same.
4139 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4140 * gdb.threads/thread-find.exp: Same.
4141 * gdb.threads/tls-shared.exp: Same.
4142 * gdb.threads/tls.exp: Same.
4143 * gdb.threads/wp-replication.exp: Same.
4144 * gdb.trace/ax.exp: Same.
4145 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4146
3d11e68e
TV
41472019-10-31 Tom de Vries <tdevries@suse.de>
4148
4149 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4150 * gdb.ada/array_subscript_addr.exp: Same.
4151 * gdb.ada/arrayidx.exp: Same.
4152 * gdb.ada/arrayparam.exp: Same.
4153 * gdb.ada/arrayptr.exp: Same.
4154 * gdb.ada/boolean_expr.exp: Same.
4155 * gdb.ada/call_pn.exp: Same.
4156 * gdb.ada/complete.exp: Same.
4157 * gdb.ada/fixed_cmp.exp: Same.
4158 * gdb.ada/fun_addr.exp: Same.
4159 * gdb.ada/funcall_param.exp: Same.
4160 * gdb.ada/interface.exp: Same.
4161 * gdb.ada/mod_from_name.exp: Same.
4162 * gdb.ada/null_array.exp: Same.
4163 * gdb.ada/packed_array.exp: Same.
4164 * gdb.ada/packed_tagged.exp: Same.
4165 * gdb.ada/print_chars.exp: Same.
4166 * gdb.ada/print_pc.exp: Same.
4167 * gdb.ada/ptype_arith_binop.exp: Same.
4168 * gdb.ada/ptype_field.exp: Same.
4169 * gdb.ada/ptype_tagged_param.exp: Same.
4170 * gdb.ada/rec_return.exp: Same.
4171 * gdb.ada/ref_tick_size.exp: Same.
4172 * gdb.ada/str_ref_cmp.exp: Same.
4173 * gdb.ada/taft_type.exp: Same.
4174 * gdb.ada/tagged.exp: Same.
4175 * gdb.ada/type_coercion.exp: Same.
4176 * gdb.ada/uninitialized_vars.exp: Same.
4177
60b6ede8
TV
41782019-10-30 Tom de Vries <tdevries@suse.de>
4179
4180 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4181
30baf67b
TV
41822019-10-26 Tom de Vries <tdevries@suse.de>
4183
4184 * gdb.base/bigcore.c: Fix typos in comments.
4185 * gdb.base/ctf-ptype.c: Same.
4186 * gdb.base/long_long.c: Same.
4187 * gdb.dwarf2/dw2-op-out-param.S: Same.
4188 * gdb.python/py-evthreads.c: Same.
4189 * gdb.reverse/i387-stack-reverse.c: Same.
4190 * gdb.trace/tfile.c: Same.
4191 * lib/compiler.c: Same.
4192 * lib/compiler.cc: Same.
4193
158da0d1
TV
41942019-10-25 Tom de Vries <tdevries@suse.de>
4195
4196 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4197 gdb_test_multiple calls.
4198 * gdb.reverse/sigall-reverse.exp: Same.
4199 * gdb.reverse/solib-precsave.exp: Same.
4200 * gdb.reverse/solib-reverse.exp: Same.
4201 * gdb.reverse/until-precsave.exp: Same.
4202 * gdb.reverse/until-reverse.exp: Same.
4203
4ccdfbec
TV
42042019-10-24 Tom de Vries <tdevries@suse.de>
4205
4206 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4207 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4208 kfail using -wrap pattern flag and convenience variable
4209 gdb_test_name.
4210
33d569b7
AB
42112019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4212
4213 * gdb.python/py-progspace.exp: Add tests for the
4214 Progspace.block_for_pc method.
4215
4d0b984b
TT
42162019-10-23 Tom Tromey <tom@tromey.com>
4217
4218 * configure: Rebuild.
4219 * aclocal.m4: Use m4_include, not sinclude.
4220
94cb3754
TV
42212019-10-21 Tom de Vries <tdevries@suse.de>
4222
4223 * gdb.base/infcall-nested-structs.c: Add
4224 __attribute__((noinline,noclone)) to all functions.
4225 (call_all): Add missing variable initialization. Simplify return value.
4226 (breakpt): Increment volatile variable, to prevent call from being
4227 optimized out.
4228 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4229
062f1fc1
TV
42302019-10-17 Tom de Vries <tdevries@suse.de>
4231
4232 * gdb.fortran/module.exp: Allow info variables to print info for files
4233 other than module.f90.
4234
0b54364d
AB
42352019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4236
4237 * gdb.fortran/module.exp: Extend with 'info variables' test.
4238
7ff5fae7
AB
42392019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4240
4241 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4242 F77_FOR_TARGET.
4243
d10eccaa
TV
42442019-10-16 Tom de Vries <tdevries@suse.de>
4245
4246 PR tdep/25096
4247 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4248
745ff14e
TV
42492019-10-16 Tom de Vries <tdevries@suse.de>
4250
4251 PR tdep/24104
4252 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4253 Add KFAIL for PR tdep/25096.
4254
03e1ab94
TV
42552019-10-16 Tom de Vries <tdevries@suse.de>
4256
4257 PR testsuite/25059
4258 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4259
b17fcc10
TV
42602019-10-16 Tom de Vries <tdevries@suse.de>
4261
4262 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4263 as signed.
4264
9223170f
SM
42652019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4266
4267 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4268 one instead of increasing timeout.
4269
d6e76313
TV
42702019-10-13 Tom de Vries <tdevries@suse.de>
4271
4272 PR record/25038
4273 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4274 * gdb.reverse/sigall-reverse.exp: Same.
4275 * gdb.reverse/solib-precsave.exp: Same.
4276 * gdb.reverse/solib-reverse.exp: Same.
4277 * gdb.reverse/step-precsave.exp: Same.
4278 * gdb.reverse/until-precsave.exp: Same.
4279 * gdb.reverse/until-reverse.exp: Same.
4280 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4281
6dfc0041
AA
42822019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4283
4284 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4285 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4286 (cmp_struct_05_01, cmp_struct_static_02_01)
4287 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4288 comparisons.
4289
abcf2cc8
TV
42902019-10-10 Tom de Vries <tdevries@suse.de>
4291
4292 PR testsuite/24888
4293 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4294 gnatlink.
4295
a50faaf6
TV
42962019-10-09 Tom de Vries <tdevries@suse.de>
4297
4298 PR testsuite/25048
4299 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4300
60ff3cd7
AB
43012019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4302
4303 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4304 exceptions due to missing debug information.
4305
dfee8566
TV
43062019-10-07 Tom de Vries <tdevries@suse.de>
4307
4308 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4309
3d63690a
AB
43102019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4311
4312 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4313 * gdb.base/annota1.exp: Update to use gdb_test_name.
4314
30d1f018
WP
43152019-10-07 Weimin Pan <weimin.pan@oracle.com>
4316
4317 * gdb.base/ctf-whatis.exp: New file.
4318 * gdb.base/ctf-whatis.c: New file.
4319 * gdb.base/ctf-ptype.exp: New file.
4320 * gdb.base/ctf-ptype.c: New file.
4321 * gdb.base/ctf-constvars.exp: New file.
4322 * gdb.base/ctf-constvars.c: New file.
4323 * gdb.base/ctf-cvexpr.exp: New file.
4324
4dbbb47c
TV
43252019-10-04 Tom de Vries <tdevries@suse.de>
4326
4327 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4328 for loop.
4329
77c2dba3
TT
43302019-10-03 Tom Tromey <tom@tromey.com>
4331
4332 PR rust/24976:
4333 * gdb.rust/simple.rs (Union2): New type.
4334 (main): Use Union2.
4335 * gdb.rust/simple.exp: Add test.
4336
179aed7f
AB
43372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4338
4339 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4340 nested function prefix.
4341
0a4b0913
AB
43422019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4343 Richard Bunt <richard.bunt@arm.com>
4344 Andrew Burgess <andrew.burgess@embecosm.com>
4345
4346 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4347 nested functions.
4348 * gdb.fortran/nested-funcs.f90: Update expected results.
4349 * gdb.fortran/nested-funcs-2.exp: New file.
4350 * gdb.fortran/nested-funcs-2.f90: New file.
4351
082cce05
AB
43522019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4353
4354 * gdb.python/py-parameter.exp: Make test names unique.
4355 * gdb.python/py-template.exp: Likewise.
4356 * gdb.python/py-value.exp: Likewise.
4357
2b74ba5a
AB
43582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4359
4360 * gdb.base/break-interp.exp: Reduce test name duplication.
4361 * gdb.base/call-sc.exp: Likewise.
4362 * gdb.base/callfuncs.exp: Likewise.
4363 * gdb.base/charset.exp: Likewise.
4364 * gdb.base/dump.exp: Likewise.
4365 * gdb.base/ena-dis-br.exp: Likewise.
4366 * gdb.base/relational.exp: Likewise.
4367 * gdb.base/step-over-syscall.exp: Likewise.
4368 * gdb.base/structs.exp: Likewise.
4369
58eb20d5
AB
43702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4371
4372 * gdb.linespec/explicit.exp: Make test names unique.
4373 * gdb.linespec/ls-errs.exp: Likewise.
4374
4d421147
AB
43752019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4376
4377 * gdb.reverse/break-precsave.exp: Make test names unique.
4378 * gdb.reverse/break-reverse.exp: Likewise.
4379 * gdb.reverse/finish-precsave.exp: Likewise.
4380 * gdb.reverse/finish-reverse.exp: Likewise.
4381 * gdb.reverse/machinestate-precsave.exp: Likewise.
4382 * gdb.reverse/machinestate.exp: Likewise.
4383 * gdb.reverse/readv-reverse.exp: Likewise.
4384 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4385 * gdb.reverse/sigall-precsave.exp: Likewise.
4386 * gdb.reverse/sigall-reverse.exp: Likewise.
4387 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4388 * gdb.reverse/watch-precsave.exp: Likewise.
4389 * gdb.reverse/watch-reverse.exp: Likewise.
4390
d8c06f22
AB
43912019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.threads/stop-with-handle.c: New file.
4394 * gdb.threads/stop-with-handle.exp: New file.
4395
3a56ed86
TV
43962019-10-03 Tom de Vries <tdevries@suse.de>
4397
4398 PR testsuite/25059
4399 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4400 directory" line to be missing.
4401
42275044
TV
44022019-10-03 Tom de Vries <tdevries@suse.de>
4403
4404 PR testsuite/25059
4405 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4406 type optional.
4407
9ef62df0
AA
44082019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4409
4410 * gdb.python/py-format-string.c (string.h): New include.
4411 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4412 the same value, for endianness-independence.
4413 * gdb.python/py-format-string.exp (default_regexp_dict)
4414 (test_pretty_structs, test_format): Adjust expected output to the
4415 changed initialization.
4416
37f6a7f4
TT
44172019-10-02 Tom Tromey <tromey@adacore.com>
4418
4419 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4420
1d58d6a2
PA
44212019-10-02 Pedro Alves <palves@redhat.com>
4422 Andrew Burgess <andrew.burgess@embecosm.com>
4423
4424 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4425 "print-file-var.h".
4426 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4427 (get_version_1): Print this_version_id and its address.
4428 Add extern "C" wrappers around interface functions.
4429 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4430 "print-file-var.h".
4431 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4432 (get_version_2): Print this_version_id and its address.
4433 Add extern "C" wrappers around interface functions.
4434 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4435 <stddef.h> and "print-file-var.h".
4436 Add extern "C" wrappers around interface functions.
4437 [VERSION_ID_MAIN] (this_version_id): Define.
4438 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4439 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4440 up extern "C" blocks.
4441 * gdb.base/print-file-var.exp (test): New, factored out from top
4442 level.
4443 (top level): Test all combinations of attribute hidden or not,
4444 dlopen or not, and this_version_id symbol in main file or not.
4445 Compile tests as both C++ and C, make test names unique.
4446
d770d56f
TT
44472019-10-01 Tom Tromey <tom@tromey.com>
4448
4449 * gdb.base/style.exp: Test "show logging filename".
4450
7f6aba03
TT
44512019-10-01 Tom Tromey <tom@tromey.com>
4452
4453 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4454 * gdb.base/style.exp: Add metadata style test.
4455
14309bb6
TT
44562019-10-01 Tom Tromey <tom@tromey.com>
4457
4458 * gdb.base/style.exp: Test "pwd".
4459
2a3c1174
PA
44602019-10-01 Tom Tromey <tom@tromey.com>
4461
4462 * gdb.base/style.exp: Update tests.
4463
53d666ec
AA
44642019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4465
4466 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4467 'six' to unsigned.
4468 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4469 'five'. Use an all-ones bit pattern for each.
4470 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4471 to its changed values.
4472
4a56a520
TT
44732019-09-30 Tom Tromey <tromey@adacore.com>
4474
4475 * gdb.rust/traits.rs: Disable all warnings.
4476
0df0352a
TV
44772019-09-29 Tom de Vries <tdevries@suse.de>
4478
aac66a4c 4479 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4480
73d9a918
TV
44812019-09-29 Tom de Vries <tdevries@suse.de>
4482
4483 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4484
060b3ab4
TV
44852019-09-27 Tom de Vries <tdevries@suse.de>
4486
4487 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4488
68f7d34d
TV
44892019-09-27 Tom de Vries <tdevries@suse.de>
4490
4491 PR record/23188
4492 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4493
5d63b30a
TT
44942019-09-26 Tom Tromey <tromey@adacore.com>
4495
4496 * gdb.ada/py_taft.exp: New file.
4497 * gdb.ada/py_taft/main.adb: New file.
4498 * gdb.ada/py_taft/pkg.adb: New file.
4499 * gdb.ada/py_taft/pkg.ads: New file.
4500
3d435220
TV
45012019-09-24 Tom de Vries <tdevries@suse.de>
4502
4503 PR gdb/24598
4504 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4505
77d03678
TV
45062019-09-22 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.base/restore.exp: Allow register variables to be optimized out at
4509 -O0.
4510
abf516c6
UW
45112019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4512
4513 * gdb.arch/spu-info.exp: Remove file.
4514 * gdb.arch/spu-info.c: Remove file.
4515 * gdb.arch/spu-ls.exp: Remove file.
4516 * gdb.arch/spu-ls.c: Remove file.
4517
4518 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4519 * gdb.asm/spu.inc: Remove file.
4520
4521 * gdb.base/dump.exp: Remove support for spu*-*-*.
4522 * gdb.base/stack-checking.exp: Likewise.
4523 * gdb.base/overlays.exp: Likewise.
4524 * gdb.base/ovlymgr.c: Likewise.
4525 * gdb.base/spu.ld: Remove file.
4526
4527 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4528 * gdb.cp/cpexprs.exp: Likewise.
4529 * gdb.cp/exception.exp: Likewise.
4530 * gdb.cp/gdb2495.exp: Likewise.
4531 * gdb.cp/mb-templates.exp: Likewise.
4532 * gdb.cp/pr9167.exp: Likewise.
4533 * gdb.cp/userdef.exp: Likewise.
4534
4535 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4536
4537 * gdb.cell: Remove directory.
4538 * lib/cell.exp: Remove file.
4539
e452e88f
TV
45402019-09-19 Tom de Vries <tdevries@suse.de>
4541
4542 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4543
8a625130
TV
45442019-09-19 Tom de Vries <tdevries@suse.de>
4545
4546 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4547
81dc3ab5
TV
45482019-09-19 Tom de Vries <tdevries@suse.de>
4549
4550 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4551 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4552 (gdb_target_cmd): ... here.
4553 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4554 value 2.
4555
b078f3ac
AB
45562019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4557
4558 * gdb.base/source-dir.exp: Avoid having directory names in test
4559 names.
4560
f1b620e9
MG
45612019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4562
4563 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4564 directory.
4565
67f3ed6a
AB
45662019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4567
4568 * gdb.base/list-missing-source.exp: New file.
4569
d1b70248
TV
45702019-09-14 Tom de Vries <tdevries@suse.de>
4571
4572 PR teststuite/24599
4573 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4574 * lib/ada.exp (gnatmake_version_at_least): New proc.
4575
5fabdcd6
AB
45762019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4577
4578 * gdb.base/maint.exp: Use exec_has_index_section.
4579
aa17805f
AB
45802019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4581
4582 * gdb.base/maint.exp: Add test for 'maint info sections'.
4583
25e5c209
TV
45842019-09-12 Tom de Vries <tdevries@suse.de>
4585
4586 * gdb.base/store.exp: Allow register variables to be optimized out at
4587 -O0.
4588
4993045d
PW
45892019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4590
4591 * gdb.ada/rdv_wait.exp: Update to new task names.
4592 * gdb.base/task_switch_in_core.exp: Likewise.
4593 * gdb.base/info_sources_base.c: Likewise.
4594
8a516164
TT
45952019-09-10 Tom Tromey <tromey@adacore.com>
4596
4597 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4598
aa391654
TT
45992019-09-10 Tom Tromey <tromey@adacore.com>
4600
4601 * gdb.ada/dgopt.exp: New file.
4602 * gdb.ada/dgopt/x.adb: New file.
4603
8634b462
TT
46042019-09-08 Tom Tromey <tom@tromey.com>
4605
4606 * gdb.tui/resize.exp: Remove setup_xfail.
4607 * gdb.tui/regs.exp: Remove setup_xfail.
4608 * gdb.tui/basic.exp: Remove setup_xfail.
4609
736b0f76
DB
46102019-09-06 David Blaikie <dblaikie@gmail.com>
4611
4612 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4613 * gdb.cp/cplabel.exp: Ditto.
4614 * gdb.linespec/ls-errs.exp: Ditto.
4615
30331a6c
TV
46162019-09-05 Tom de Vries <tdevries@suse.de>
4617
4618 * lib/gdb.exp (cmp_file_string): New proc.
4619 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4620 runto_main. Verify save breakpoints output.
4621
98b0ebab
PW
46222019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4623
4624 * gdb.base/info-var.exp: Test info variables without running
4625 to main, to avoid expect's buffer overflow.
4626
4e962e74
TT
46272019-09-03 Tom Tromey <tromey@adacore.com>
4628
4629 * gdb.ada/bias.exp: New file.
4630 * gdb.ada/bias/bias.adb: New file.
4631 * gdb.ada/print_chars.exp: Add regression test.
4632 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4633 (MC): New variable.
4634
2ea1a07a
SL
46352019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4636
4637 * gdb.base/argv0-symlink.exp: Run only on native target
4638 and local host.
4639
8077c50d
TV
46402019-08-29 Tom de Vries <tdevries@suse.de>
4641
4642 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4643 diverse debug info.
4644 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4645
48352473
TV
46462019-08-28 Tom de Vries <tdevries@suse.de>
4647
4648 * gdb.base/info-var.exp: Allow info variables to print info for files
4649 other than info-var-f1.c and info-var-f2.c.
4650
d8f27c60
AB
46512019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4652
4653 * gdb.fortran/info-types.exp: Add module.
4654 * gdb.fortran/info-types.f90: Update expected results.
4655
1f20c35e
AB
46562019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4657
4658 * gdb.fortran/info-types.exp: New file.
4659 * gdb.fortran/info-types.f90: New file.
4660 * lib/fortran.exp (fortran_character1): New proc.
4661
4acfdd20
AB
46622019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4663
4664 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4665 functions'. Reindent as needed.
4666 * gdb.base/info-var-f1.c: New file.
4667 * gdb.base/info-var-f2.c: New file.
4668 * gdb.base/info-var.exp: New file.
4669 * gdb.base/info-var.h: New file.
4670
5c31b358
TV
46712019-08-26 Tom de Vries <tdevries@suse.de>
4672
4673 PR c++/24852
4674 * gdb.cp/no-libstdcxx-probe.exp: New test.
4675
b694989f
TV
46762019-08-26 Tom de Vries <tdevries@suse.de>
4677
4678 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4679 * tests need to be skipped.
4680 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4681 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4682 mi_skip_libstdcxx_probe_tests.
4683
d9c4ba53
SDJ
46842019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4685
4686 * gdb.python/py-xmethods.exp: Use raw strings when passing
4687 arguments to SimpleXMethodMatcher.
4688
395fad09
TV
46892019-08-22 Tom de Vries <tdevries@suse.de>
4690
4691 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4692 more informative.
4693
26c957f1
PA
46942019-08-21 Pedro Alves <palves@redhat.com>
4695
4696 * gdb.base/with.exp: Test "with" with no arguments.
4697
61f80d5d
TV
46982019-08-21 Tom de Vries <tdevries@suse.de>
4699
4700 * gdb.base/gdb-caching-proc.exp: Sort files.
4701
d7a11d13
TV
47022019-08-20 Tom de Vries <tdevries@suse.de>
4703
4704 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4705 compilation.
4706
34dafe9f
TV
47072019-08-16 Tom de Vries <tdevries@suse.de>
4708
4709 * gdb.base/compare-sections.exp ("after run to main"): Allow
4710 mismatched read-only sections for PIE executables.
4711
398fdd60
TT
47122019-08-16 Tom Tromey <tom@tromey.com>
4713
4714 * lib/tuiterm.exp (_csi_Z): New proc.
4715 * gdb.tui/basic.exp: Update window positions.
4716 * gdb.tui/empty.exp: Update window positions.
4717
d8f9e51c
SL
47182019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4719
4720 * gdb.base/examine-backward.exp: Correct regexp for
4721 "examine 3 bytes backward from ${address_zero}".
4722
3df505f6
TT
47232019-08-15 Tom Tromey <tom@tromey.com>
4724
4725 * gdb.tui/empty.exp: Enable resizing tests.
4726
272560b5
TT
47272019-08-15 Tom Tromey <tromey@adacore.com>
4728
4729 * gdb.ada/char_enum.exp: Add regression tests.
4730 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4731 and '0'.
4732 (Char, Gchar): Update.
4733 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4734
08235187
CB
47352019-08-15 Christian Biesinger <cbiesinger@google.com>
4736
4737 * gdb.python/python.exp: Expect a leading underscore on
4738 GdbOutput{,Error}File.
4739
22a2ab04
SL
47402019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4741
4742 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4743 Windows host.
4744
835b995b
SL
47452019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4746
4747 * gdb.base/batch-preserve-term-settings.exp
4748 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4749
97dd8e07
CB
47502019-08-15 Christian Biesinger <cbiesinger@google.com>
4751
4752 * lib/gdb.exp: When running on a mingw target, replace
4753 /x/ with x:/.
4754
75faf5c4
AH
47552019-08-14 Alan Hayward <alan.hayward@arm.com>
4756
4757 * gdb.arch/aarch64-prologue.c: New test.
4758 * gdb.arch/aarch64-prologue.exp: New file.
4759
abc6c00f
TV
47602019-08-13 Tom de Vries <tdevries@suse.de>
4761
4762 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4763 Thread.
4764
74c2c1f4
SL
47652019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4766
4767 * gdb.python/py-completion.exp: Download the .py file to the host
4768 and use its host pathname. Conditionalize tests that use
4769 tab completion and manipulate files on the build machine.
4770 * gdb.python/py-events.exp: Download the .py file to the host
4771 and use its host pathname.
4772 * gdb.python/py-evsignal.exp: Likewise.
4773 * gdb.python/py-evthreads.exp: Likewise.
4774 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4775 pathname syntax.
4776 * gdb.python/py-framefilter.exp: Download the .py file to the right
4777 place on the host. Match Windows pathname syntax.
4778 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4779 .py file to the host and use its host pathname.
4780 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4781 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4782 build pathname. Skip symlink test on Windows host. Add missing
4783 newline at end of file.
4784 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4785 and use its host pathname.
4786 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4787 * gdb.python/py-section-script.exp: Use host location of binfile
4788 on safe-path. Use correct path separator on Windows host.
4789 Reorder alternatives in gdb_test_multiple to prevent matching
4790 the wrong alternative on success.
4791 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4792
ca2589f3
PP
47932019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4794
4795 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4796 expect the GDB inferior to no longer immediately stop after
4797 being resumed with "signal SIGINT".
4798
020a839d
SL
47992019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4800
4801 * gdb.linespec/break-ask.exp: Generalize regexps to match
4802 Windows pathnames too.
4803
128d6509
TV
48042019-08-08 Tom de Vries <tdevries@suse.de>
4805
4806 PR testsuite/24862
4807 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4808
590042fc
PW
48092019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4810
4811 * gdb.base/style.exp: Update tests for help doc new invariants.
4812 * gdb.base/help.exp: Likewise.
4813
046bebe1
TT
48142019-08-06 Tom Tromey <tom@tromey.com>
4815
4816 * gdb.base/style.exp: Add disassemble test.
4817 * gdb.base/style.c (some_called_function): New function.
4818 (main): Use it.
4819
0b27c27d
CB
48202019-08-05 Christian Biesinger <cbiesinger@google.com>
4821
4822 * gdb.python/py-block.exp: Test dictionary access on blocks.
4823
580f1034
SM
48242019-08-05 Simon Marchi <simon.marchi@efficios.com>
4825
4826 PR gdb/24863
4827 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4828 -list-thread-groups --available test when running under
4829 check-read1.
4830
d86bd7cb
TV
48312019-08-05 Tom de Vries <tdevries@suse.de>
4832
4833 PR testsuite/24863
4834 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4835 * gdb.base/help.exp: Use with_read1_timeout_factor.
4836 * gdb.base/info-macros.exp: Same.
4837 * gdb.cp/nested-types.exp: Same.
4838
a80cf5d8
TV
48392019-08-05 Tom de Vries <tdevries@suse.de>
4840
4841 * lib/gdb.exp (version_at_least): Factor out of ...
4842 (tcl_version_at_least): ... here.
4843 (gdb_compile): Fail if pie results in non-PIE executable.
4844 (readelf_version, readelf_prints_pie): New proc.
4845 (exec_is_pie): Return -1 if unknown.
4846
d0962838
TV
48472019-08-05 Tom de Vries <tdevries@suse.de>
4848
4849 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4850
2252ff3d
SL
48512019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4852
4853 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4854
26655f53
SL
48552019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4856
4857 * lib/completion-support.exp (test_gdb_complete_none): Skip
4858 tab completion tests if no readline support.
4859 (test_gdb_complete_unique_re): Likewise.
4860 (test_gdb_complete_multiple): Likewise.
4861
db4dc13e
PW
48622019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4863
4864 * gdb.base/info_sources.exp: New file.
4865 * gdb.base/info_sources.c: New file.
4866 * gdb.base/info_sources_base.c: New file.
4867
0eba165a
PFC
48682019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4869
4870 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4871 prefix argument.
4872 (test_exit_status): Add prefix argument.
4873
59bd512b
TV
48742019-08-01 Tom de Vries <tdevries@suse.de>
4875
4876 PR testsuite/24863
4877 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4878 calling exp_continue for new thread and thread exited messages.
4879
2a3ad588
TV
48802019-08-01 Tom de Vries <tdevries@suse.de>
4881
4882 PR testsuite/24863
4883 * gdb.base/structs.exp: Fix check-read1 timeout using
4884 gdb_test_sequence.
4885 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4886
117eb594
TV
48872019-08-01 Tom de Vries <tdevries@suse.de>
4888
4889 PR testsuite/24863
4890 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4891 line.
4892
ed591340
TV
48932019-08-01 Tom de Vries <tdevries@suse.de>
4894
4895 PR testsuite/24863
4896 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4897
aa3b6533
TT
48982019-07-30 Tom Tromey <tromey@adacore.com>
4899
4900 * gdb.ada/display_nested.exp: New file.
4901 * gdb.ada/display_nested/foo.adb: New file.
4902 * gdb.ada/display_nested/pack.adb: New file.
4903 * gdb.ada/display_nested/pack.ads: New file.
4904
2906593f
CB
49052019-07-30 Christian Biesinger <cbiesinger@google.com>
4906
4907 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4908 namespace.
4909 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4910
0f575925
TV
49112019-07-30 Tom de Vries <tdevries@suse.de>
4912
4913 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4914 instead.
4915
b13057d9
TV
49162019-07-30 Tom de Vries <tdevries@suse.de>
4917
4918 PR testsuite/24834
4919 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4920 (exec_is_pie): New proc.
4921
5c4dde85
CB
49222019-07-29 Christian Biesinger <cbiesinger@google.com>
4923
4924 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4925
c620ed88
CB
49262019-07-29 Christian Biesinger <cbiesinger@google.com>
4927
4928 * gdb.python/py-objfile.c: Add global and static vars.
4929 * gdb.python/py-objfile.exp: Test new functions Objfile.
4930 lookup_global_symbol and lookup_static_symbol.
4931
3d235706
TT
49322019-07-29 Tom Tromey <tom@tromey.com>
4933
4934 * lib/tuiterm.exp (Term::_csi_@): New proc.
4935 (Term::_csi_X): Don't move cursor.
4936
c7e4c0a6
PW
49372019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4938
4939 * gdb.base/options.exp: Update backtrace - completion to
4940 new option -frame-info.
4941 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4942 Test new 'set print frame-info'. Test backtrace -frame-info
4943 overriding 'set print frame-info'.
4944 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4945 Test new 'set print frame-info'.
4946 Verify consistency of backtrace with and without filters, with and
4947 without -no-filters.
4948 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4949 default.
4950
de28a3b7
TV
49512019-07-29 Tom de Vries <tdevries@suse.de>
4952
4953 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4954 no arguments".
4955
507dd60e
TV
49562019-07-29 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4959 is a substring of the first for "complete non-unique file name".
4960
5beafce9
TV
49612019-07-29 Tom de Vries <tdevries@suse.de>
4962
4963 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4964 with ".*".
4965
2d274232
TV
49662019-07-29 Tom de Vries <tdevries@suse.de>
4967
4968 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4969 Pass prompt_regexp parameter to gdb_test_multiple calls.
4970
9197cd8b
TV
49712019-07-29 Tom de Vries <tdevries@suse.de>
4972
4973 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4974 print registers" regexps.
9197cd8b 4975
b528dae0
TV
49762019-07-29 Tom de Vries <tdevries@suse.de>
4977
4978 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4979
d17725d7
TV
49802019-07-29 Tom de Vries <tdevries@suse.de>
4981
4982 PR gdb/24855
4983 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4984 (skip_python_tests_prompt): Add prompt_regexp argument to
4985 gdb_test_multiple calls.
4986
52b75bf1
TT
49872019-07-27 Tom Tromey <tom@tromey.com>
4988
4989 * gdb.tui/main.exp: New file.
4990
2b1d00c2
TT
49912019-07-27 Tom Tromey <tom@tromey.com>
4992
4993 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4994 optional.
4995 * gdb.tui/empty.exp: New file.
4996
ded631d5
TT
49972019-07-27 Tom Tromey <tom@tromey.com>
4998
4999 * lib/tuiterm.exp (spawn): New proc.
5000 (Term::resize): New proc.
5001 * gdb.tui/resize.exp: New file.
5002
58ac439d
TT
50032019-07-27 Tom Tromey <tom@tromey.com>
5004
5005 * gdb.tui/list.exp: New file.
5006
fe1f56ee
TT
50072019-07-27 Tom Tromey <tom@tromey.com>
5008
5009 * gdb.tui/regs.exp: New file.
5010
f790b310
TT
50112019-07-27 Tom Tromey <tom@tromey.com>
5012
5013 * gdb.tui/basic.exp: Add "layout split" test.
5014
d95fc6ee
TT
50152019-07-27 Tom Tromey <tom@tromey.com>
5016
5017 * gdb.tui/basic.exp: Add "layout asm" test.
5018
c3786b3a
TT
50192019-07-27 Tom Tromey <tom@tromey.com>
5020
5021 * lib/tuiterm.exp: New file.
5022 * gdb.tui/basic.exp: New file.
5023
98a617f8
KB
50242019-07-27 Kevin Buettner <kevinb@redhat.com>
5025
5026 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5027 Enable tests associated with this flag. Adjust regex
5028 referencing "foo_low" to now refer to "foo_cold" instead.
5029
5c076da4
KB
50302019-07-27 Kevin Buettner <kevinb@redhat.com>
5031
5032 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5033 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5034 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5035 foo_cold. Revise comments to match.
5036 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5037 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5038 were wrapped into this proc; Call do_test in loop from outermost
5039 level.
5040 (foo_low): Rename all occurrences to "foo_cold".
5041 (backtrace from baz): New test.
5042 (x2/i foo_cold): New test.
5043 (info line *foo_cold): New test.
5044
1512d3b7
TV
50452019-07-26 Tom de Vries <tdevries@suse.de>
5046
5047 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5048
297989a1
TV
50492019-07-25 Tom de Vries <tdevries@suse.de>
5050
5051 PR testsuite/24830
5052 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5053 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5054 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5055 (skip_libstdcxx_probe_tests): ... here.
5056 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5057
b3b965fb
TV
50582019-07-24 Tom de Vries <tdevries@suse.de>
5059
5060 PR testsuite/24807
5061 * gdb.objc/basicclass.m: Include stdio.h.
5062 * gdb.objc/nondebug.m: Same.
5063 * gdb.objc/objcdecode.m: Same.
5064
4625b4d0
TV
50652019-07-24 Tom de Vries <tdevries@suse.de>
5066
5067 PR testsuite/24612
5068 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5069 additional_flags.
5070
024a5840
TV
50712019-07-24 Tom de Vries <tdevries@suse.de>
5072
5073 PR testsuite/24831
5074 * gdb.multi/tids.exp: Update error messages for info threads.
5075
c76ddaa3
TV
50762019-07-24 Tom de Vries <tdevries@suse.de>
5077
5078 * gdb.base/info-types.exp: Allow info types to print info for more than
5079 one file.
5080
9a618ef6
TV
50812019-07-23 Tom de Vries <tdevries@suse.de>
5082
5083 PR testsuite/24842
5084 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5085 gdb_spawn_with_cmdline_opts.
5086
40eadf04
SP
50872019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5088
5089 * gdb.arch/arm-cmse-sgstubs.c: New test.
5090 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5091
5ba29434
TV
50922019-07-23 Tom de Vries <tdevries@suse.de>
5093
5094 PR testsuite/24711
5095 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5096 issuing next command.
5097
a8e9d247
AB
50982019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5099
5100 * gdb.ada/info_auto_lang.exp: Update expected results.
5101 * gdb.base/info-types.c: Add additional types to check.
5102 * gdb.base/info-types.exp: Update expected results.
5103
eb86c5e2
AB
51042019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5105
5106 * gdb.base/info-types.c: New file.
5107 * gdb.base/info-types.exp: New file.
5108
01e175fe
AB
51092019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5110
5111 * gdb.arch/riscv-bp-infcall.c: New file.
5112 * gdb.arch/riscv-bp-infcall.exp: New file.
5113
6b78c3f8
AB
51142019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5115
5116 PR breakpoints/24541
5117 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5118
da738167
TV
51192019-07-14 Tom de Vries <tdevries@suse.de>
5120
5121 PR testsuite/24760
5122 * gdb.objc/basicclass.exp: Fix unterminated string.
5123
0d4e84ed
AB
51242019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5125 Andrew Burgess <andrew.burgess@embecosm.com>
5126
5127 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5128 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5129 negative bounds.
5130 * gdb.fortran/vla-value.exp: Print elements of an array with
5131 negative bounds.
5132 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5133 testing.
5134
021d8588
AB
51352019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5136
5137 * gdb.base/options.exp (expect_string): Dequote strings in
5138 results.
5139 (test-string): Test strings with different quoting and reindent.
5140
f06f1252
TT
51412019-07-10 Tom Tromey <tromey@adacore.com>
5142
5143 * gdb.ada/mi_ex_cond.exp: Update expected results.
5144 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5145 * gdb.ada/mi_catch_ex.exp: Update expected results.
5146 * gdb.ada/mi_catch_assert.exp: Update expected results.
5147 * gdb.ada/catch_ex.exp (catch_exception_info)
5148 (catch_exception_entry, catch_assert_entry)
5149 (catch_unhandled_entry): Update.
5150 * gdb.ada/catch_assert_if.exp: Update expected results.
5151
b863685d
RB
51522019-07-10 Richard Bunt <richard.bunt@arm.com>
5153 Stephen Roberts <stephen.roberts@arm.com>
5154
5155 * gdb.base/define.exp: Restore original prompt.
5156
cb1e4e32
PA
51572019-07-09 Pedro Alves <palves@redhat.com>
5158
5159 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5160 breakpoints" output.
5161 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5162 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5163 throw" creates breakpoint.
5164 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5165 'type="catchpoint"'.
5166
b58a68fe
PA
51672019-07-09 Pedro Alves <palves@redhat.com>
5168
5169 PR c++/15468
5170 * gdb.cp/except-multi-location-lib.cc: New.
5171 * gdb.cp/except-multi-location-main.cc: New.
5172 * gdb.cp/except-multi-location.exp: New.
5173
0826779b
PW
51742019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5175
5176 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5177 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5178 argument and update callers.
5179
5b0e2db4
AB
51802019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5181
5182 * gdb.arch/amd64-break-on-asm-line.S: New file.
5183 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5184
1f6f6e21
PW
51852019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5186
5187 * gdb.base/printcmds.exp: Test printing C string and
5188 C wide string convenience vars without transiting via the inferior.
5189 Also make test names unique.
5190
ea142fbf
AH
51912019-07-08 Alan Hayward <alan.hayward@arm.com>
5192
5862c886 5193 PR breakpoints/25011
ea142fbf
AH
5194 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5195
213fd9fa
PA
51962019-07-04 Pedro Alves <palves@redhat.com>
5197
5198 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5199 body returned ok(0), break(3) or continue(4).
5200 * gdb.testsuite/foreach_with_prefix.exp: New file.
5201
2b40fda7
AH
52022019-07-04 Alan Hayward <alan.hayward@arm.com>
5203
5204 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5205
a26c8de0
PA
52062019-07-03 Pedro Alves <palves@redhat.com>
5207
5208 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5209 "return -code".
5210
5f4ba3e7
PA
52112019-07-03 Pedro Alves <palves@redhat.com>
5212
5213 PR cli/24732
5214 * gdb.base/shell.exp: Load completion-support.exp.
5215 Adjust expected error output. Add completion tests.
5216
a994424f
PA
52172019-07-03 Pedro Alves <palves@redhat.com>
5218
5219 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5220 string_to_regexp.
5221
3d9be6f5
PA
52222019-07-03 Pedro Alves <palves@redhat.com>
5223
5224 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5225 (expect_integer): Adjust to expect "-string".
5226 (expect_string): New.
5227 (all_options): Expect "-string".
5228 (test-flag, test-boolean): Adjust to expect "-string".
5229 (test-string): New proc.
5230 (top level): Call it.
5231
41fc454c
PA
52322019-07-03 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5235 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5236 the expected output in the success.
5237
b2b2a215
PA
52382019-07-03 Pedro Alves <palves@redhat.com>
5239
5240 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5241 Split one gdb_test_multiple call in two to avoid a race.
5242
fdbc9870
PA
52432019-07-03 Pedro Alves <palves@redhat.com>
5244
5245 * gdb.base/with.c: New file.
5246 * gdb.base/with.exp: New file.
5247
c6ac8931
PA
52482019-07-03 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.base/settings.exp: Replace all references to "maint
5251 test-settings set" with references to "maint set test-settings",
5252 and all references to "maint test-settings show" with references
5253 to "maint show test-settings".
5254
970f9d09
PA
52552019-07-03 Pedro Alves <palves@redhat.com>
5256
5257 * gdb.base/settings.exp (test-string): Adjust expected out when
5258 testing "maint test-settings show filename"
5259
54d66006
PA
52602019-07-02 Pedro Alves <palves@redhat.com>
5261
5262 * gdb.base/options.exp (test-info-threads): New procedure.
5263 (top level): Call it.
5264
10d06d82
TT
52652019-06-28 Tom Tromey <tromey@adacore.com>
5266
5267 * gdb.dwarf2/ada-linkage-name.c: New file.
5268 * gdb.dwarf2/ada-linkage-name.exp: New file.
5269
3d507ff2
TT
52702019-06-27 Tom Tromey <tromey@adacore.com>
5271
d039f014 5272 PR c++/20020:
3d507ff2
TT
5273 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5274
8af58ffe
TV
52752019-06-26 Tom de Vries <tdevries@suse.de>
5276
5277 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5278
22e21752
TV
52792019-06-26 Tom de Vries <tdevries@suse.de>
5280
5281 * gdb.base/index-cache.exp: Add back missing debug option.
5282
b65b566c
PW
52832019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5284
5285 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5286
5c2c8c69
TV
52872019-06-25 Tom de Vries <tdevries@suse.de>
5288
5289 PR testsuite/24727
5290 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5291
164e3873
TV
52922019-06-24 Tom de Vries <tdevries@suse.de>
5293
5294 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5295
824eacee
TV
52962019-06-24 Tom de Vries <tdevries@suse.de>
5297
5298 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5299 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5300 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5301
385b97d3
TV
53022019-06-24 Tom de Vries <tdevries@suse.de>
5303
5304 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5305
c596f180
TV
53062019-06-21 Tom de Vries <tdevries@suse.de>
5307
5308 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5309
b13a7d03
TV
53102019-06-21 Tom de Vries <tdevries@suse.de>
5311
5312 PR testsuite/24518
5313 PR ada/24713
5314 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5315 index.
5316
899277ae
TT
53172019-06-19 Tom Tromey <tromey@adacore.com>
5318
5319 * gdb.ada/length_cond.exp: Add intro comment.
5320
680e1bee
TT
53212019-06-19 Tom Tromey <tromey@adacore.com>
5322
5323 * gdb.ada/length_cond.exp: New file.
5324 * gdb.ada/length_cond/length_cond.adb: New file.
5325 * gdb.ada/length_cond/pck.adb: New file.
5326 * gdb.ada/length_cond/pck.ads: New file.
5327
0ed4690a
TV
53282019-06-18 Tom de Vries <tdevries@suse.de>
5329
5330 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5331
d20ed5fd
TT
53322019-06-18 Tom Tromey <tromey@adacore.com>
5333
5334 * gdb.base/list0.h: Add comment explaining control character.
5335
86e04673
TV
53362019-06-18 Tom de Vries <tdevries@suse.de>
5337
5338 * boards/fission.exp: Break up long debug_flags line.
5339
c4973306
SM
53402019-06-16 Tom de Vries <tdevries@suse.de>
5341
5342 PR gdb/24445
5343 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5344 generated index.
5345
93cb9841
AB
53462019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5347
5348 PR gdb/24686
5349 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5350 improve detection of bug gdb/24541.
5351
399aaebd
SM
53522019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5353
5354 PR gdb/24669
5355 * gdb.base/index-cache.exp (uses_readnow,
5356 expecting_index_cache_use): Define global variable.
5357 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5358 expecting_index_cache_use.
5359
584a927c
AB
53602019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5361 Andrew Burgess <andrew.burgess@embecosm.com>
5362
5363 * gdb.fortran/pointers.f90: New file.
5364 * gdb.fortran/print_type.exp: New file.
5365 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5366 * gdb.fortran/vla-type.exp: Likewise.
5367 * gdb.fortran/vla-value.exp: Likewise.
5368 * gdb.mi/mi-vla-fortran.exp: Likewise.
5369
30056ea0
AB
53702019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5371
5372 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5373 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5374 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5375 as a stop reason.
5376
ec8e2b6d
AB
53772019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5378
5379 * gdb.base/annota1.exp: Update expected results.
5380 * gdb.cp/annota2.exp: Likewise.
5381 * gdb.cp/annota3.exp: Likewise.
5382
09e4c4e1
AB
53832019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5384
5385 * gdb.base/style-logging.exp: Remove path from test name.
5386
0735b091
TT
53872019-06-14 Tom Tromey <tromey@adacore.com>
5388
5389 PR gdb/24502:
5390 * gdb.base/style-logging.exp: New file.
5391
f5686554
TT
53922019-06-14 Tom Tromey <tromey@adacore.com>
5393
5394 * gdb.base/symfile-warn.exp: New file.
5395 * gdb.base/symfile-warn.c: New file.
5396
a0c1ffed
TT
53972019-06-14 Tom Tromey <tromey@adacore.com>
5398
5399 * gdb.base/annotate-symlink.exp: New file.
5400
f411722c
TT
54012019-06-14 Tom Tromey <tromey@adacore.com>
5402
5403 * gdb.ada/set_wstr.exp: Add reassignment test.
5404
4268ec18
TT
54052019-06-14 Tom Tromey <tromey@adacore.com>
5406
5407 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5408 'unchecked_access and 'unrestricted_access as well.
5409
9a9e394b
TT
54102019-06-14 Tom Tromey <tromey@adacore.com>
5411
5412 PR ada/24539:
5413 * gdb.ada/vla.exp: Update tests.
5414 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5415 pragma.
5416
4c048731
PA
54172019-06-13 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.base/settings.exp (test-integer): Test junk after
5420 "unlimited".
5421
6665660a
PA
54222019-06-13 Pedro Alves <palves@redhat.com>
5423
5424 * gdb.base/options.exp (test-thread-apply): New.
5425 (top level): Call it.
5426
5d707134
PA
54272019-06-13 Pedro Alves <palves@redhat.com>
5428
5429 * gdb.base/options.exp (test-frame-apply): New.
5430 (top level): Test print commands with different "frame apply"
5431 prefixes.
5432
e2a689da
PA
54332019-06-13 Pedro Alves <palves@redhat.com>
5434
e79be6e5 5435 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5436 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5437 'max_completions' parameter and handle it.
5438 (test_gdb_completion_offers_commands): New.
5439
90a1ef87
PA
54402019-06-13 Pedro Alves <palves@redhat.com>
5441
5442 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5443
d4c16835
PA
54442019-06-13 Pedro Alves <palves@redhat.com>
5445
5446 * gdb.base/options.exp (test-backtrace): New.
5447 (top level): Call it.
5448
2daf894e
PA
54492019-06-13 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.guile/scm-frame-args.exp: Use "set print
5452 raw-frame-arguments" instead of "set print raw frame-arguments".
5453 * gdb.python/py-frame-args.exp: Likewise.
5454
e6ed716c
PA
54552019-06-13 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.compile/compile.exp: Adjust expected output to option
5458 processing changes.
5459
7d8062de
PA
54602019-06-13 Pedro Alves <palves@redhat.com>
5461
5462 * gdb.base/options.exp: Build executable.
5463 (test-print): New procedure.
5464 (top level): Call it, once for "print" and another for "compile
5465 print".
5466
9d0faba9
PA
54672019-06-13 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.base/options.c: New file.
5470 * gdb.base/options.exp: New file.
5471
dee7b4c8
PA
54722019-06-13 Pedro Alves <palves@redhat.com>
5473
5474 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5475 that "o" is ambiguous.
5476
dca0f6c0
PA
54772019-06-13 Pedro Alves <palves@redhat.com>
5478
5479 * gdb.base/settings.c: New file.
5480 * gdb.base/settings.exp: New file.
5481
ccf46844
PA
54822019-06-13 Pedro Alves <palves@redhat.com>
5483
5484 * gdb.base/completion.exp: Fix comment typo.
5485
b9a3f842
PA
54862019-06-13 Pedro Alves <palves@redhat.com>
5487
5488 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5489 foo --1" test.
5490
d106773e
PA
54912019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5492
5493 * gdb.fortran/block-data.f: New.
5494 * gdb.fortran/block-data.exp: New.
5495
fea82da0
TV
54962019-06-11 Tom de Vries <tdevries@suse.de>
5497
5498 PR testsuite/24521
5499 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5500 message.
5501
8c2e74f1
TV
55022019-06-11 Tom de Vries <tdevries@suse.de>
5503
5504 PR testsuite/24521
5505 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5506
b49851c8
TV
55072019-06-11 Tom de Vries <tdevries@suse.de>
5508
5509 * boards/readnow.exp: New file.
5510
a7067863
AB
55112019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5512
5513 * gdb.fortran/vla-sizeof.exp: Update expected results.
5514
1a3da2cd
AB
55152019-06-06 Amos Bird <amosbird@gmail.com>
5516
5517 * gdb.base/annota1.exp (thread_switch): Add test for
5518 thread-exited annotation.
5519
3847a7bf
TT
55202019-06-06 Tom Tromey <tromey@adacore.com>
5521
5522 * gdb.base/maint.exp: Expect command started/finished output.
5523
0088ba59
AB
55242019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5525
5526 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5527 comment.
5528 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5529
312617a3
AB
55302019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5531
5532 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5533 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5534 * gdb.arch/riscv-unwind-long-insn.c: New file.
5535 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5536
e1f2e1a2
CB
55372019-06-04 Christian Biesinger <cbiesinger@google.com>
5538
d3238f7d 5539 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5540
206584bd
PW
55412019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5542
5543 * lib/gdb.exp (help_list_trailer): New regexp variable
5544 factorizing the help trailer message.
5545 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5546 arg to allow to better factorize various tests.
5547 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5548 (test_prefix_command_help): Use help_list_trailer.
5549 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5550 * gdb.guile/scm-cmd.exp: Likewise.
5551 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5552 * gdb.base/help.exp: Use test_user_defined_class_help.
5553 * gdb.base/style.exp: Add tests for styling of help and apropos.
5554 * lib/gdb-utils.exp (style): Add title and highlight styles.
5555
708dc93e
PW
55562019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5557
5558 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5559 $_shell_exitsignal.
5560 * gdb.base/default.exp: Update for new convenience variables.
5561
f49055a5
TT
55622019-05-29 Tom Tromey <tromey@adacore.com>
5563
5564 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5565 to "break complete ada" test case's regexp.
5566
4330d61d
TT
55672019-05-29 Tom Tromey <tromey@adacore.com>
5568
5569 PR c++/20020:
5570 * gdb.cp/constexpr-field.exp: New file.
5571 * gdb.cp/constexpr-field.cc: New file.
5572
000439d5
TT
55732019-05-29 Tom Tromey <tromey@adacore.com>
5574
5575 * gdb.base/finish.exp (finish_no_print): New proc.
5576 (finish_tests): Call it.
5577
5a01c34c
TV
55782019-05-24 Tom de Vries <tdevries@suse.de>
5579
5580 * gdb.dwarf2/gdb-add-index.exp: New file.
5581
18125b16
TT
55822019-05-22 Tom Tromey <tromey@adacore.com>
5583
5584 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5585 * gdb.base/style.exp: Use "style".
5586 * lib/gdb-utils.exp (style): New proc.
5587
af1a8d03
TV
55882019-05-22 Tom de Vries <tdevries@suse.de>
5589
5590 * gdb.base/align.exp: Require c++11.
5591
e7fe496b
TV
55922019-05-22 Tom de Vries <tdevries@suse.de>
5593
5594 PR testsuite/24586
5595 * gdb.python/py-mi-var-info-path-expression.exp: Call
5596 mi_skip_python_tests to check if python is supported.
5597
8fca4da0
AH
55982019-05-22 Alan Hayward <alan.hayward@arm.com>
5599
5600 * gdb.arch/aarch64-pauth.c: New test.
5601 * gdb.arch/aarch64-pauth.exp: New file.
5602
b7060614
AH
56032019-05-22 Alan Hayward <alan.hayward@arm.com>
5604
5605 * README (Re-running Tests Outside The Testsuite): New section.
5606
669d0468
TV
56072019-05-21 Tom de Vries <tdevries@suse.de>
5608
5609 * gdb.arch/amd64-eval.exp: Require c++11.
5610 * gdb.base/max-depth.exp: Same.
5611 * gdb.compile/compile-cplus-array-decay.exp: Same.
5612 * gdb.cp/meth-typedefs.exp: Same.
5613 * gdb.cp/subtypes.exp: Same.
5614 * gdb.cp/temargs.exp: Same.
5615
ce3ebcaa
AH
56162019-05-21 Alan Hayward <alan.hayward@arm.com>
5617
5618 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5619
34d11c68
AB
56202019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5621
5622 PR gdb/18644
5623 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5624 * gdb.fortran/printing-types.exp: Add new test.
5625 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5626 testing.
5627 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5628 setup_kfail call.
5629
87781e84
AH
56302019-05-17 Alan Hayward <alan.hayward@arm.com>
5631
5632 * README (Running the Testsuite): Change example.
5633 (Testsuite Parameters): Remove TRANSCRIPT.
5634 * lib/gdb.exp: Remove TRANSCRIPT check.
5635
b420b89e
AH
56362019-05-17 Alan Hayward <alan.hayward@arm.com>
5637
5638 * README (Testsuite Parameters): Add replay logging to
5639 GDBSERVER_DEBUG.
5640 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5641 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5642 as a comma separated list.
5643 (gdb_debug_init): Override procedure.
5644
408e9b8b
AH
56452019-05-17 Alan Hayward <alan.hayward@arm.com>
5646
5647 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5648 (gdb_write_cmd_file): New procedure.
5649 * lib/gdbserver-support.exp (gdbserver_start): Call
5650 gdbserver_write_cmd_file.
5651 (gdbserver_write_cmd_file): New procedure.
5652
f9e2e39d
AH
56532019-05-17 Alan Hayward <alan.hayward@arm.com>
5654
5655 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5656 (delete_breakpoints): Likewise.
5657 (gdb_run_cmd): Likewise.
5658 (gdb_start_cmd): Likewise.
5659 (gdb_starti_cmd): Likewise.
5660 (gdb_internal_error_resync): Likewise.
5661 (gdb_test_multiple): Likewise.
5662 (gdb_reinitialize_dir): Likewise.
5663 (default_gdb_exit): Likewise.
5664 (gdb_file_cmd): Mark kill as optional.
5665 (default_gdb_start): Call gdb_stdin_log_init.
5666 (send_gdb): Call gdb_stdin_log_write.
5667 (rerun_to_main): Mark Y as an answer.
5668 (gdb_stdin_log_init): New function.
5669 (gdb_stdin_log_write): Likewise.
5670
81f47ac2
AH
56712019-05-17 Alan Hayward <alan.hayward@arm.com>
5672
5673 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5674 * gdb.base/debug-expr.exp: Likewise.
5675 * gdb.base/foll-fork.exp: Likewise.
5676 * gdb.base/foll-vfork.exp: Likewise.
5677 * gdb.base/fork-print-inferior-events.exp: Likewise.
5678 * gdb.base/gdb-sigterm.exp: Likewise.
5679 * gdb.base/gdbinit-history.exp: Likewise.
5680 * gdb.base/osabi.exp: Likewise.
5681 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5682 * gdb.base/ui-redirect.exp: Likewise.
5683 * gdb.gdb/unittest.exp: Likewise.
5684 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5685 * gdb.mi/mi-watch.exp: Likewise.
5686 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5687 * gdb.mi/user-selected-context-sync.exp: Likewise.
5688 * gdb.python/python.exp: Disable debug test when debugging.
5689 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5690 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5691 Likewise.
5692 * gdb.threads/stepi-random-signal.exp: Likewise.
5693
29b52314
AH
56942019-05-17 Alan Hayward <alan.hayward@arm.com>
5695
5696 * Makefile.in: Pass through GDB_DEBUG.
5697 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5698 (gdb,debug): Add board setting.
5699 * lib/gdb.exp (default_gdb_start): Start debugging.
5700 (gdb_debug_enabled): New procedure.
5701 (gdb_debug_init): Likewise.
29b52314
AH
5702
57032019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5704
29b52314
AH
5705 * Makefile.in: Pass through GDB_DEBUG.
5706 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5707 (gdb,debug): Add board setting.
5708 * lib/gdb.exp (default_gdb_start): Start debugging.
5709 (gdb_debug_enabled): New procedure.
5710 (gdb_debug_init): Likewise.
29b52314 5711
ca1285d1
AH
57122019-05-17 Alan Hayward <alan.hayward@arm.com>
5713
5714 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5715
f3a09c80
AH
57162019-05-17 Alan Hayward <alan.hayward@arm.com>
5717
5718 * gdb.base/ui-redirect.exp: Test redirection.
5719
26648588
JV
57202019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5721
5722 * gdb.mi/mi-complete.exp: New file.
5723 * gdb.mi/mi-complete.cc: Likewise.
5724
14237686
AB
57252019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5726
5727 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5728 indexed and sliced arrays, and pointers to arrays.
5729
e7bd7fba
TT
57302019-05-14 Tom Tromey <tromey@adacore.com>
5731
5732 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5733 styling test.
5734
2764128d
TV
57352019-05-14 Tom de Vries <tdevries@suse.de>
5736
5737 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5738 selection entry encoding.
5739
71bed2db
TT
57402019-05-10 Tom Tromey <tromey@adacore.com>
5741
5742 * gdb.ada/info_exc.exp: Add "complete" test.
5743
63b667ad
TV
57442019-05-09 Tom de Vries <tdevries@suse.de>
5745
5746 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5747 CU-relative.
5748
9cfd2b89
TV
57492019-05-09 Tom de Vries <tdevries@suse.de>
5750
5751 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5752 CU-relative.
5753
2228ef77
XR
57542019-05-08 Joel Brobecker <brobecker@adacore.com>
5755
5756 * gdb.ada/frame_arg_lang.exp: New testcase.
5757 * gdb.ada/frame_arg_lang/bla.adb: New file.
5758 * gdb.ada/frame_arg_lang/pck.ads: New file.
5759 * gdb.ada/frame_arg_lang/pck.adb: New file.
5760 * gdb.ada/frame_arg_lang/foo.c: New file.
5761
80e55b13
TT
57622019-05-08 Tom Tromey <tromey@adacore.com>
5763
5764 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5765
9d3421af
TT
57662019-05-08 Tom Tromey <tromey@adacore.com>
5767
5768 * gdb.base/ptype-offsets.exp: Update tests.
5769
844333e2
TT
57702019-05-08 Tom Tromey <tromey@adacore.com>
5771
5772 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5773 cases.
5774 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5775 "short".
5776
988915ee
TT
57772019-05-08 Tom Tromey <tromey@adacore.com>
5778
5779 * gdb.ada/vla.exp: New file.
5780 * gdb.ada/vla/vla.adb: New file.
5781
7bd55dac
TV
57822019-05-07 Tom de Vries <tdevries@suse.de>
5783
5784 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5785
75f06e9d
TV
57862019-05-07 Tom de Vries <tdevries@suse.de>
5787
5788 PR testsuite/24522
5789 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5790 section.
5791
77e7aaa4
TV
57922019-05-07 Tom de Vries <tdevries@suse.de>
5793
5794 PR testsuite/24522
5795 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5796 .debug_aranges section.
5797
456ba0fa
TV
57982019-05-07 Tom de Vries <tdevries@suse.de>
5799
5800 PR testsuite/24159
5801 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5802
5a56d6a6
TV
58032019-05-06 Tom de Vries <tdevries@suse.de>
5804
5805 * lib/gdb.exp (exec_has_index_section): New proc.
5806 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5807 section.
5808
9d6d4be8
TV
58092019-05-04 Tom de Vries <tdevries@suse.de>
5810
5811 * boards/cc-with-debug-names.exp: New file.
5812
222a8d25
TT
58132019-05-03 Tom Tromey <tromey@adacore.com>
5814
5815 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5816 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5817 * gdb.ada/char_enum.exp: Add test.
5818
0fdfd794
TV
58192019-05-03 Tom de Vries <tdevries@suse.de>
5820
5821 * boards/cc-with-gdb-index.exp: New file.
5822
80062eb9
AB
58232019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5824
5825 * gdb.rust/simple.exp: Add new test case.
5826 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5827 (main): Initialise an instance of the new struct.
5828
4504bbde
TT
58292019-05-01 Tom Tromey <tromey@adacore.com>
5830
5831 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5832 record.
5833 (NPR): New variable.
5834 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5835 test.
5836
d48e62f4
TT
58372019-05-01 Tom Tromey <tromey@adacore.com>
5838
5839 * gdb.ada/packed_array_assign.exp: Add packed assignment
5840 regression test.
5841
f59f30f5
TV
58422019-05-01 Tom de Vries <tdevries@suse.de>
5843
5844 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5845
b70bfc54
TV
58462019-05-01 Tom de Vries <tdevries@suse.de>
5847
5848 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5849
15f18d14
AT
58502019-04-30 Ali Tamur <tamur@google.com>
5851
5852 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5853
2ff0a947
TT
58542019-04-30 Tom Tromey <tromey@adacore.com>
5855
5856 * lib/ada.exp (find_ada_tool): New proc.
5857 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5858 * gdb.ada/catch_ex_std.exp: New file.
5859 * gdb.ada/catch_ex_std/foo.adb: New file.
5860 * gdb.ada/catch_ex_std/some_package.adb: New file.
5861 * gdb.ada/catch_ex_std/some_package.ads: New file.
5862
a776957c
TT
58632019-04-30 Tom Tromey <tromey@adacore.com>
5864
5865 PR c++/24470:
5866 * gdb.cp/temargs.cc: Add test code from PR.
5867
bc68014d
AB
58682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5869
5870 * gdb.fortran/vla-datatypes.exp: Update expected results.
5871 * gdb.fortran/vla-ptype.exp: Likewise.
5872 * gdb.fortran/vla-type.exp: Likewise.
5873 * gdb.fortran/vla-value.exp: Likewise.
5874
f1fdc960
AB
58752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5876
5877 * gdb.fortran/ptr-indentation.exp: Update expected results.
5878 * gdb.fortran/ptype-on-functions.exp: Likewise.
5879 * gdb.fortran/vla-ptr-info.exp: Likewise.
5880 * gdb.fortran/vla-value.exp: Likewise.
5881
bf7a4de1
AB
58822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5883
5884 * gdb.fortran/ptype-on-functions.exp: New file.
5885 * gdb.fortran/ptype-on-functions.f90: New file.
5886
bbe75b9d
AB
58872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5888
5889 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5890 case void string.
5891
1db455a7
AB
58922019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5893
5894 * gdb.fortran/complex.exp: Expand.
5895 * gdb.fortran/complex.f: Renamed to...
5896 * gdb.fortran/complex.f90: ...this, and extended to add more
5897 complex values.
5898
b6d03bb2
AB
58992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5900
5901 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5902 MODULO, CMPLX.
5903
2e62ab40
AB
59042019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5905 Richard Bunt <richard.bunt@arm.com>
5906
5907 * gdb.base/max-depth.c: New file.
5908 * gdb.base/max-depth.exp: New file.
5909 * gdb.python/py-nested-maps.c: New file.
5910 * gdb.python/py-nested-maps.exp: New file.
5911 * gdb.python/py-nested-maps.py: New file.
5912 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5913 (test_all_common): Call test_max_depth.
5914 * gdb.fortran/max-depth.exp: New file.
5915 * gdb.fortran/max-depth.f90: New file.
5916 * gdb.go/max-depth.exp: New file.
5917 * gdb.go/max-depth.go: New file.
5918 * gdb.modula2/max-depth.exp: New file.
5919 * gdb.modula2/max-depth.c: New file.
5920 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5921
d2b584a5
TV
59222019-04-29 Tom de Vries <tdevries@suse.de>
5923
5924 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5925
136afab8
PW
59262019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5927
5928 * gdb.base/callexit.exp: Test may-call-functions off.
5929
725cbb63
KS
59302019-04-25 Keith Seitz <keiths@redhat.com>
5931
5932 PR c++/24367
5933 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5934 (another_incomplete_struct, test_incomplete): New definitions.
5935 (main): Use new definitions.
5936 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5937 functions.
5938
701adfb0
PA
59392019-04-25 Ali Tamur <tamur@google.com>
5940
5941 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5942
82433e3e
SDJ
59432019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5944
5945 PR corefiles/11608
5946 PR corefiles/18187
5947 * gdb.base/coredump-filter-build-id.exp: New file.
5948
dd06d4d6
AH
59492019-04-25 Alan Hayward <alan.hayward@arm.com>
5950
e79be6e5
SM
5951 * Makefile.in: Pass through GDBSERVER_DEBUG.
5952 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5953 (gdbserver,debug): Add board setting.
5954 * gdb.trace/tspeed.exp: Skip when debugging.
5955 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5956 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5957
1670072e
TT
59582019-04-24 Tom Tromey <tromey@adacore.com>
5959
5960 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5961 Rust.
5962
a59240a4
TT
59632019-04-24 Tom Tromey <tromey@adacore.com>
5964
5965 * gdb.arch/amd64-eval.exp: Test bitfield return.
5966 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5967 (class Foo) <return_bitfields>: New method.
5968 (main): Call it.
5969
b907456c
AB
59702019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * gdb.cp/many-args.cc: New file.
5973 * gdb.cp/many-args.exp: New file.
5974
5c565afd
TV
59752019-04-23 Tom de Vries <tdevries@suse.de>
5976
5977 PR gdb/24433
5978 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5979
ba22ff86
AH
59802019-04-23 Alan Hayward <alan.hayward@arm.com>
5981
5982 * gdb.trace/backtrace.exp: Use nopie flag.
5983 * gdb.trace/circ.exp: Likewise.
5984 * gdb.trace/collection.exp: Likewise.
5985 * gdb.trace/ftrace.exp: Likewise.
5986 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5987 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5988 * gdb.trace/qtro.exp: Likewise.
5989 * gdb.trace/read-memory.exp: Likewise.
5990 * gdb.trace/report.exp: Likewise.
5991 * gdb.trace/tfile.exp: Likewise.
5992 * gdb.trace/tfind.exp: Likewise.
5993 * gdb.trace/unavailable.exp: Likewise.
5994
7905fc35
PA
59952019-04-22 Pedro Alves <palves@redhat.com>
5996
5997 * gdb.base/solib-probes-nosharedlibrary.c,
5998 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5999
8ecb59f8
TT
60002019-04-19 Tom Tromey <tromey@adacore.com>
6001
6002 * gdb.ada/ptype_union.c: New file.
6003 * gdb.ada/ptype_union.exp: New file.
6004
62160ec9
TT
60052019-04-19 Tom Tromey <tromey@adacore.com>
6006
6007 PR symtab/24423:
6008 * gdb.base/list0.h (foo): Add a control-l character.
6009
36cd4ba5
TV
60102019-04-18 Tom de Vries <tdevries@suse.de>
6011
6012 PR gdb/24433
6013 * boards/local-board.exp: Set sysroot to "".
6014
b73715df
TV
60152019-04-18 Tom de Vries <tdevries@suse.de>
6016 Pedro Alves <palves@redhat.com>
6017
6018 PR gdb/24454
6019 * gdb.threads/vfork-follow-child-exec.c: New file.
6020 * gdb.threads/vfork-follow-child-exec.exp: New file.
6021 * gdb.threads/vfork-follow-child-exit.c: New file.
6022 * gdb.threads/vfork-follow-child-exit.exp: New file.
6023
4aa866af
LS
60242019-04-15 Leszek Swirski <leszeks@google.com>
6025
6026 * gdb.arch/amd64-eval.cc: New file.
6027 * gdb.arch/amd64-eval.exp: New file.
6028
e5a1a79a
AH
60292019-04-11 Alan Hayward <alan.hayward@arm.com>
6030
6031 * gdb.server/sysroot.c: New test.
6032 * gdb.server/sysroot.exp: New file.
6033 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6034 matching param.
6035
41077b66
AB
60362019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6037
6038 * gdb.base/align.exp: Extend test to cover structures containing
6039 only static fields.
6040
c30391f8
TV
60412019-04-11 Tom de Vries <tdevries@suse.de>
6042
6043 * boards/cc-with-dwz-m.exp: New file.
6044 * boards/cc-with-dwz.exp: New file.
6045 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6046
e242fd12
SM
60472019-04-09 Simon Marchi <simon.marchi@efficios.com>
6048
6049 * gdb.base/start-cpp.exp: New file.
6050 * gdb.base/start-cpp.cc: New file.
6051
2b0c8b01
KB
60522019-04-08 Kevin Buettner <kevinb@redhat.com>
6053
6054 * gdb.python/py-thrhandle.exp: Adjust tests to call
6055 thread_from_handle instead of thread_from_thread_handle.
6056
947210e5
KB
60572019-04-08 Kevin Buettner <kevinb@redhat.com>
6058
6059 * gdb.python/py-thrhandle.exp: Add tests for
6060 gdb.InferiorThread.handle.
6061
d7df6549
AB
60622019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6063
6064 * gdb.python/py-function.exp: Check calling helper function from
6065 all languages.
6066 * lib/gdb.exp (gdb_supported_languages): New proc.
6067
8bdc1658
AB
60682019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6069
6070 * gdb.base/complex-parts.c: New file.
6071 * gdb.base/complex-parts.exp: New file.
6072
05caa1d2
TT
60732019-04-01 Tom Tromey <tromey@adacore.com>
6074
6075 PR symtab/23331:
6076 * gdb.dwarf2/dw2-ranges-main.c: New file.
6077 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6078 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6079
7734102d
EZ
60802019-03-30 Simon Marchi <simark@simark.ca>
6081
6082 * gdb.base/default.exp: Add values for $_gdb_major and
6083 $_gdb_minor.
6084
188e1fa9
TT
60852019-03-29 Tom Tromey <tromey@adacore.com>
6086
6087 * gdb.base/help.exp: Tighten apropos regexp.
6088
2880242d
KS
60892019-03-29 Keith Seitz <keiths@redhat.com>
6090
6091 * gdb.fortran/array-bounds.exp: New file.
6092 * gdb.fortran/array-bounds.f90: New file.
6093
077cad8e
PW
60942019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6095
6096 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6097
80047cfc
PW
60982019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6099
6100 * gdb.multi/hello.c (main): Increase alarm timer.
6101
f489207e
SL
61022019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6103
6104 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6105 factor when no hardware watchpoint support.
6106
c92df149
AH
61072019-03-28 Alan Hayward <alan.hayward@arm.com>
6108 Pedro Alves <palves@redhat.com>
6109
6110 * boards/local-board.exp: set sysroot to /.
6111
933aebfa
AH
61122019-03-27 Alan Hayward <alan.hayward@arm.com>
6113
6114 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6115 in child.
6116
9f9aa852
AB
61172019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6118
6119 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6120 field.
6121 (make_container): Initialise new field.
6122 * gdb.python/py-prettyprint.exp: Add new tests.
6123 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6124 <display_hint>: New method.
6125
3714a195
AB
61262019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6127
6128 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6129 gdb_continue_to_breakpoint more throughout this test.
6130 (run_lang_tests) Supply unique test names, and use
6131 gdb_test_no_output.
6132
18c77628
AB
61332019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6134
6135 * gdb.base/finish-pretty.exp: Update expected results.
6136 * gdb.base/pretty-print.c: New file.
6137 * gdb.base/pretty-print.exp: New file.
6138
9a93502f
PA
61392019-03-25 Pedro Alves <palves@redhat.com>
6140
6141 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6142 move comments outside list. Append '-i "" eof' section.
6143
968aa7ae
AH
61442019-03-22 Alan Hayward <alan.hayward@arm.com>
6145
34a7f2a4 6146 PR testsuite/25016
968aa7ae
AH
6147 * README: Add pie options.
6148 * gdb.base/break-interp.exp: Ensure pie is disabled.
6149 * gdb.base/dump.exp: Likewise.
6150 * lib/gdb.exp (gdb_compile): Add pie option.
6151
4c7d57e7
TT
61522019-03-19 Tom Tromey <tromey@adacore.com>
6153
6154 * gdb.mi/mi2-cli-display.c: New file.
6155 * gdb.mi/mi2-cli-display.exp: New file.
6156
bff8c71f
TT
61572019-03-18 Joel Brobecker <brobecker@adacore.com>
6158 Tom Tromey <tromey@adacore.com>
6159
6160 * gdb.ada/ptype_array/pck.adb: New file.
6161 * gdb.ada/ptype_array/pck.ads: New file.
6162 * gdb.ada/ptype_array/foo.adb: New file.
6163 * gdb.ada/ptype_array.exp: New file.
6164
d085f989
TT
61652019-03-14 Tom Tromey <tromey@adacore.com>
6166
6167 * gdb.base/style.exp: Add "set style sources" test.
6168
b4be1b06
SM
61692019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6170
6171 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6172 * mi-breakpoint-multiple-locations.exp: ... this.
6173 (make_breakpoints_pattern): New proc.
6174 (do_test): Add mi_version parameter, test -break-insert,
6175 -break-info and =breakpoint-created.
6176
7cde5fc2
AB
61772019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6178
6179 * config/default.exp: Remove 'load_lib gdb.exp'.
6180 * config/monitor.exp: Likewise.
6181 * config/sid.exp: Likewise.
6182 * config/sim.exp: Likewise.
6183 * config/slite.exp: Likewise.
6184 * config/unix.exp: Likewise.
6185 * gdb.base/default.exp: Remove unhelpful comment.
6186
efbecbc1
AB
61872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6188
6189 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6190
0841c79a
AB
61912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6192
6193 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6194
4a270568
AB
61952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6196
6197 * gdb.fortran/type-kinds.exp: Update expected results.
6198
067630bd
AB
61992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6202
3be47f7a
AB
62032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6204
6205 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6206 function.
6207 (test_basic_parsing_of_type_kinds): Expand types tested.
6208 (test_parsing_invalid_type_kinds): New function.
6209
4d00f5d8
AB
62102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6211
6212 * gdb.fortran/intrinsics.exp: New file.
6213 * gdb.fortran/intrinsics.f90: New file.
6214 * gdb.fortran/type-kinds.exp: New file.
6215
c8f91604
AB
62162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6217
6218 * gdb.fortran/dot-ops.exp: New file.
6219
dd9f2c76
AB
62202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6221
6222 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6223 Check upper and lower case logical literals.
6224
84ec9724
AB
62252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6226
6227 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6228 Remove duplicate tests.
6229
c3734e09
AH
62302019-03-06 Alan Hayward <alan.hayward@arm.com>
6231
6232 * lib/gdb.exp (builtin_cd): rename of cd.
6233 (cd): Override builtin.
6234
aa3cfbda
RB
62352019-03-06 Richard Bunt <richard.bunt@arm.com>
6236
6237 * gdb.fortran/function-calls.exp: New file.
6238 * gdb.fortran/function-calls.f90: New test.
6239
7b63ad86
RB
62402019-03-04 Richard Bunt <richard.bunt@arm.com>
6241
6242 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6243 on user program standard output.
6244 * gdb.fortran/short-circuit-argument-list.f90: Record function
6245 calls.
6246
01abb042
AH
62472019-02-28 Alan Hayward <alan.hayward@arm.com>
6248
c3734e09
AH
6249 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6250 failure.
01abb042 6251
92137da0
RO
62522019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6253
6254 PR gdb/8527
6255 * gdb.base/interrupt-daemon-attach.c,
6256 gdb.base/interrupt-daemon-attach.exp: New test.
6257
5862844d
PA
62582019-02-27 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.base/page.exp: Add tests for "set width/height -1".
6261
8ed25214
PA
62622019-02-27 Pedro Alves <palves@redhat.com>
6263
6264 * gdb.base/page.exp: Add tests for "set/show width/height" with
6265 "infinite" values.
6266
6c28e44a
TT
62672019-02-27 Tom Tromey <tromey@adacore.com>
6268
6269 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6270 2.4.
6271 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6272 workaround.
6273
bf9a735e
AB
62742019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6275
6276 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6277 tests for structs with static members.
6278
8791793c
TT
62792019-02-26 Tom Tromey <tromey@adacore.com>
6280
6281 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6282 ValueError, not TypeError.
6283
bc2a507e
KB
62842019-02-26 Kevin Buettner <kevinb@redhat.com>
6285
6286 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6287 call from main program.
6288
e0e7d3bd
JB
62892019-02-23 Joel Brobecker <brobecker@adacore.com>
6290
6291 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6292 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6293 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6294 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6295 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6296
9600246d
KS
62972019-02-22 Keith Seitz <keiths@redhat.com>
6298
6299 PR symtab/23853
6300 * gdb.base/symlink-sourcefile.c: New file.
6301 * gdb.base/symlink-sourcefile.exp: New file.
6302
0c95f9ed
TT
63032019-02-20 Tom Tromey <tom@tromey.com>
6304
6305 * gdb.base/info_qt.exp: Update.
6306
6caa91b6
SM
63072019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6308
6309 * gdb.base/source.exp: Move "error in sourced script" code to
6310 the end.
6311 * gdb.base/source-error.gdb: Move contents to
6312 source-error-1.gdb. Add new code to source source-error-1.gdb.
6313 * gdb.base/source-error-1.gdb: New file, from previous
6314 source-error.gdb.
6315
6506371f
TT
63162019-02-17 Tom Tromey <tom@tromey.com>
6317
6318 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6319 for macro styling.
6320 * gdb.base/style.c (SOME_MACRO): New macro.
6321
a0087920
TT
63222019-02-17 Tom Tromey <tom@tromey.com>
6323
6324 * gdb.base/style.exp: Add line-wrapping tests.
6325 * gdb.base/page.exp: Add test for quitting during pagination.
6326
a2cd4f14
JB
63272019-02-17 Joel Brobecker <brobecker@adacore.com>
6328
6329 * gdb.ada/big_packed_array: New testcase.
6330 * gdb.ada/homonym.exp: Fix incorrect expected output for
6331 "break <homonym__get_value>" test.
6332
9d70ffbc
WP
63332019-02-13 Weimin Pan <weimin.pan@oracle.com>
6334
6335 PR breakpoints/21870
6336 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6337 and prepare_for_testing. Add comment.
6338 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6339 redundant cleanup call. Clean up comment.
6340
01c7ae81
WP
63412019-02-12 Weimin Pan <weimin.pan@oracle.com>
6342
6343 PR breakpoints/21870
6344 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6345 * gdb.arch/aarch64-dbreg-contents.c: New file.
6346
aff29d1c
JB
63472019-02-10 Joel Brobecker <brobecker@adacore.com>
6348
6349 * gdb.ada/mi_ref_changeable: New testcase.
6350
df0da8a2
AH
63512019-02-07 Alan Hayward <alan.hayward@arm.com>
6352
6353 * gdb.base/attach.exp: Add double attach test.
6354
bd447abb
SM
63552019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6356
6357 * lib/gdb.exp (default_gdb_start): Don't match pagination
6358 prompt.
6359 (gdb_init): Set stty_init.
6360
1dbc40b9
TT
63612019-01-27 Tom Tromey <tom@tromey.com>
6362
6363 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6364 skip_python_tests.
6365
353229bf
AH
63662019-01-24 Alan Hayward <alan.hayward@arm.com>
6367
6368 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6369 New structure.
6370 (struct struct_static_02_02): Likewise.
6371 (struct struct_static_02_03): Likewise.
6372 (struct struct_static_02_04): Likewise.
6373 (struct struct_static_04_01): Likewise.
6374 (struct struct_static_04_02): Likewise.
6375 (struct struct_static_04_03): Likewise.
6376 (struct struct_static_04_04): Likewise.
6377 (struct struct_static_06_01): Likewise.
6378 (struct struct_static_06_02): Likewise.
6379 (struct struct_static_06_03): Likewise.
6380 (struct struct_static_06_04): Likewise.
6381 (cmp_struct_static_02_01): Likewise.
6382 (cmp_struct_static_02_02): Likewise.
6383 (cmp_struct_static_02_03): Likewise.
6384 (cmp_struct_static_02_04): Likewise.
6385 (cmp_struct_static_04_01): Likewise.
6386 (cmp_struct_static_04_02): Likewise.
6387 (cmp_struct_static_04_03): Likewise.
6388 (cmp_struct_static_04_04): Likewise.
6389 (cmp_struct_static_06_01): Likewise.
6390 (cmp_struct_static_06_02): Likewise.
6391 (cmp_struct_static_06_03): Likewise.
6392 (cmp_struct_static_06_04): Likewise.
6393 (call_all): Test new structs.
6394 * gdb.base/infcall-nested-structs.exp: Likewise.
6395
73021deb
AH
63962019-01-21 Alan Hayward <alan.hayward@arm.com>
6397 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6398
fc65c7db
AH
63992019-01-21 Alan Hayward <alan.hayward@arm.com>
6400 * gdb.base/stack-protector.c: New test.
6401 * gdb.base/stack-protector.exp: New file.
6402 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6403 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6404 option.
6405 (gdb_compile): Remove stack protector for GCC and prevent
6406 recursion.
6407
c24bdb02
KS
64082019-01-16 Keith Seitz <keiths@redhat.com>
6409
6410 PR gdb/23773
6411 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6412
6f072a10
PFC
64132019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6414
6415 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6416 aliases.
6417 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6418 tests.
6419 * gdb.arch/powerpc-vector-regs.c: New file.
6420 * gdb.arch/powerpc-vector-regs.exp: New file.
6421
a7b8d682
PFC
64222019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6423
6424 * gdb.arch/altivec-regs.exp: Fix the list passed to
6425 gdb_expect_list when testing "info vector".
6426
6eb6fb67
AB
64272019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6428
6429 * gdb.base/style.exp: Don't include path in testname.
6430
b56f80d8
KS
64312019-01-10 Keith Seitz <keiths@redhat.com>
6432
6433 PR gdb/23712
6434 PR symtab/23010
6435 * gdb.dwarf2/multidictionary.exp: New file.
6436
041be526
SM
64372019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6438
6439 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6440 (test_gnuv3_style_demangling): ... this.
6441 (test_lucid_style_demangling): Remove.
6442 (test_arm_style_demangling): Remove.
6443 (test_hp_style_demangling): Remove.
6444 (do_tests): Remove calls to the above.
6445
d820d0c3
AB
64462019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6447
6448 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6449 case.
6450
f097f5ad
TT
64512019-01-06 Tom Tromey <tom@tromey.com>
6452
6453 PR gdb/28155:
6454 * gdb.dwarf2/typedef-void-finish.exp: New file.
6455
2cd8cc0b
TT
64562018-12-28 Tom Tromey <tom@tromey.com>
6457 Simon Marchi <simark@simark.ca>
6458
6459 * gdb.base/jit-exec.exp: New file.
6460 * gdb.base/jit-exec.c: New file.
6461 * gdb.base/jit-execd.c: New file.
6462
35fb8261
TT
64632018-12-28 Tom Tromey <tom@tromey.com>
6464
6465 * gdb.base/style.exp: Update test to check for address styling.
6466
47fd17cd
TT
64672018-12-28 Tom Tromey <tom@tromey.com>
6468
6469 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6470 message.
6471
d47032b7
TT
64722018-12-28 Tom Tromey <tom@tromey.com>
6473
6474 * gdb.base/style.exp: Add test for version number styling.
6475
af79b68d
TT
64762018-12-28 Tom Tromey <tom@tromey.com>
6477
6478 * gdb.base/style.exp: Add test for print_address_symbolic.
6479
0bb296cb
TT
64802018-12-28 Tom Tromey <tom@tromey.com>
6481
6482 * gdb.base/style.exp: Add test for breakpoint setting.
6483
80ae2043
TT
64842018-12-28 Tom Tromey <tom@tromey.com>
6485
6486 * gdb.base/style.exp: Add test for variable names.
6487
cbe56571
TT
64882018-12-28 Tom Tromey <tom@tromey.com>
6489
6490 * gdb.base/style.exp: New file.
6491 * gdb.base/style.c: New file.
6492
9162a27c
TT
64932018-12-28 Tom Tromey <tom@tromey.com>
6494
6495 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6496 "dumb".
6497 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6498 the TERM environment variable.
6499
bc543c90
TT
65002018-12-27 Tom Tromey <tom@tromey.com>
6501
6502 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6503 pagination test.
6504
6f0ffe50
AB
65052018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6506
6507 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6508 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6509
b5a1e557
PW
65102018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6511
6512 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6513 Filename a.adb changed to bp_fun_addr.adb.
6514 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6515
6e8b1ab2
JV
65162018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6517
6518 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6519 non-PIE executables.
6520 * README: Mention the gdb,nopie_flag board setting.
6521 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6522 non-PIE executable.
6523 * gdb.arch/amd64-entry-value.exp: Likewise.
6524 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6525 * gdb.arch/i386-float.exp: Likewise.
6526 * gdb.arch/i386-signal.exp: Likewise.
6527 * gdb.mi/mi-reg-undefined.exp: Likewise.
6528
d00a27c5
PM
65292018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6530
6531 PR gdb/23974
6532 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6533
161d081c
PW
65342018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6535
6536 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6537 Update order of results accordingly.
6538
b001de23
AB
65392018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6540
6541 * gdb.base/annota1.exp: Update a test regexp.
6542
99e1a184
AB
65432018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6544
6545 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6546
7a81c1e2
PW
65472018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6548
6549 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6550 (reuse_time): Initialize to REUSE_TIME_CAP.
6551 (check_rc): New function.
6552 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6553 Check pthread_create rc.
6554 (spawner_thread_func): Check pthread_create and pthread_join rc.
6555
73e8dc90
PA
65562018-12-08 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.base/list.exp (test_forward_search): Rename to ...
6559 (test_forward_reverse_search): ... this. Also test reverse-search
6560 and the forward-search alias.
6561
13f2ed32
AB
65622018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6563
6564 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6565 local timeout variable before return, and remove all local timeout
6566 variable entirely.
6567 (gdb_load): Likewise.
6568
64d27cfc
TV
65692018-12-01 Tom de Vries <tdevries@suse.de>
6570
6571 * gdb.base/gdb-caching-proc.exp: New file.
6572
f63c03b4
SDJ
65732018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6574
6575 * Makefile.in (TIMESTAMP): New variable.
6576 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6577 command.
6578 (check-single-racy): Likewise.
6579 (check/%.exp): Likewise.
6580 (check-racy/%.exp): Likewise.
6581 (workers/%.worker): Likewise.
6582 (build-perf): Likewise.
6583 (check-perf): Likewise.
6584 * README: Describe new "TS" and "TS_FORMAT" variables.
6585 * print-ts.py: New file.
6586
1c97054b
BF
65872018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6588
6589 PR python/23714
6590 * gdb.python/python.exp: Test command repetition after
6591 gdb.execute.
6592
1871a62d
AB
65932018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6594
6595 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6596 is correctly aligned.
6597
fb5e1ed9
PW
65982018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6599
6600 * gdb.ada/info_auto_lang.exp: New testcase.
6601 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6602 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6603 * gdb.ada/info_auto_lang/some_c.c: New file.
6604
43d397ca
PW
66052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6606
6607 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6608 FUNC_lang language syntax.
6609
beddd671
PW
66102018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6611
6612 * gdb.base/info_minsym.c: New file.
6613 * gdb.base/info_minsym.exp: New file.
6614
73fc52c4
TT
66152018-11-19 Tom Tromey <tom@tromey.com>
6616
6617 PR rust/23625:
6618 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6619 * gdb.rust/expr.exp: Update expected output. Change one test.
6620
994b876a
TT
66212018-11-19 Tom Tromey <tom@tromey.com>
6622
6623 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6624
6769f276
PA
66252018-11-19 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6628 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6629 see the expected warning.
6630
38a72da0
AH
66312018-11-16 Alan Hayward <alan.hayward@arm.com>
6632
6633 PR gdb/22736:
6634 * gdb.cp/infcall-nodebug-lib.c: New test.
6635 * gdb.cp/infcall-nodebug-main.c: New test.
6636 * gdb.cp/infcall-nodebug.exp: New file.
6637
53a89d6e
SM
66382018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6639
6640 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6641 completer tests.
6642
9325300d
TV
66432018-11-09 Tom de Vries <tdevries@suse.de>
6644
6645 * gdb.base/msym-lang.c: New test.
6646 * gdb.base/msym-lang.exp: New file.
6647 * gdb.base/msym-lang-main.c: New test.
6648
20f0d60d
TT
66492018-11-08 Tom Tromey <tom@tromey.com>
6650
6651 PR gdb/23555:
6652 PR gdb/23838:
6653 * gdb.base/warning.exp: New file.
6654
b5420128
JB
66552018-11-08 Jan Beulich <jbeulich@suse.com>
6656
6657 * testsuite/gdb.arch/i386-avx512.c,
6658 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6659
cd115d61
AB
66602018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6661
6662 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6663 point hardware.
6664
35ee2dc2
AB
66652018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6666
6667 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6668 * gdb.dwarf2/missing-type-name.exp: New file.
6669
31aceee8
TV
66702018-11-06 Tom de Vries <tdevries@suse.de>
6671
6672 * gdb.base/many-headers.c: New test.
6673 * gdb.base/many-headers.exp: New file.
6674
109be305
JW
66752018-11-06 Jim Wilson <jimw@sifive.com>
6676
6677 * gdb.base/code_elim.exp: For riscv, set additional_flags
6678 to include -msmall-data-limit=0.
6679
e2b7af72
JB
66802018-11-01 Joel Brobecker <brobecker@adacore.com>
6681
6682 * gdb.ada/watch_minus_l: New testcase.
6683
cdcda965
SM
66842018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6685
6686 * gdb.arch/aix-sighandle.c: New file.
6687 * gdb.arch/aix-sighandle.exp: New file.
6688
92dcebf3
AB
66892018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6690
6691 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6692 registers being unions.
6693
68b9ac18
TV
66942018-10-31 Tom de Vries <tdevries@suse.de>
6695
6696 * lib/valgrind.exp: New file.
6697 (vgdb_start, vgdb_stop): New procs, factored out of ...
6698 * gdb.base/valgrind-bt.exp: ... here, ...
6699 * gdb.base/valgrind-disp-step.exp: ... here and ...
6700 * gdb.base/valgrind-infcall.exp: ... here.
6701
1443936e
TV
67022018-10-31 Tom de Vries <tdevries@suse.de>
6703
6704 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6705
eb77c9df
AB
67062018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6707
6708 * gdb.dwarf2/void-type.c: New file.
6709 * gdb.dwarf2/void-type.exp: New file.
6710
82b5e646
PW
67112018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6712
6713 * gdb.base/info_qt.c: New file.
6714 * gdb.base/info_qt.exp: New file.
6715
8d619c01
EBM
67162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6717
6718 * gdb.arch/powerpc-htm-regs.c: New file.
6719 * gdb.arch/powerpc-htm-regs.exp: New file.
6720
f2cf6173
EBM
67212018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6722
6723 * gdb.arch/powerpc-tar.c: New file.
6724 * gdb.arch/powerpc-tar.exp: New file.
6725
7ca18ed6
EBM
67262018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6727
6728 * gdb.arch/powerpc-ppr-dscr.c: New file.
6729 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6730
bfcc0eba
TV
67312018-10-25 Tom de Vries <tdevries@suse.de>
6732
6733 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6734
fe1a5cad
TV
67352018-10-24 Tom de Vries <tdevries@suse.de>
6736
6737 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6738 longer exists error.
6739
a76dc3b7
TV
67402018-10-24 Tom de Vries <tdevries@suse.de>
6741
6742 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6743
4df46df7
TV
67442018-10-24 Tom de Vries <tdevries@suse.de>
6745
6746 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6747 --db-attach in valgrind.
6748
0dbfcfff
AB
67492018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6750
6751 * gdb.arch/riscv-reg-aliases.c: New file.
6752 * gdb.arch/riscv-reg-aliases.exp: New file.
6753
b04480b1
AH
67542018-10-19 Alan Hayward <alan.hayward@arm.com>
6755
6756 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6757
2c6ac8d7
AH
67582018-10-19 Alan Hayward <alan.hayward@arm.com>
6759
6760 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6761
2bc69f25
AH
67622018-10-19 Alan Hayward <alan.hayward@arm.com>
6763
6764 * gdb.cp/ovldbreak.exp: Fix regexps.
6765
1f1ae3a3
AH
67662018-10-19 Alan Hayward <alan.hayward@arm.com>
6767
6768 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6769
94c18618
SDJ
67702018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6771
6772 PR cli/23785
6773 * gdb.base/restore.exp: New test to check if "restore" with an
6774 invalid file doesn't segfault.
6775
812cd6eb
TV
67762018-10-18 Tom de Vries <tdevries@suse.de>
6777
6778 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6779 * gdb.ada/excep_handle.exp: Same.
6780 * gdb.ada/mi_string_access.exp: Same.
6781 * gdb.ada/mi_var_union.exp: Same.
6782 * gdb.arch/arc-analyze-prologue.exp: Same.
6783 * gdb.arch/arc-decode-insn.exp: Same.
6784 * gdb.base/readnever.exp: Same.
6785 * gdb.fortran/printing-types.exp: Same.
6786 * gdb.guile/scm-lazy-string.exp: Same.
6787
c4b90788
TV
67882018-10-16 Tom de Vries <tdevries@suse.de>
6789
6790 PR gdb/23730
6791 * gdb.base/catch-follow-exec.c: Add copyright notice.
6792 * gdb.base/catch-follow-exec.exp: Rewrite to use
6793 gdb_spawn_with_cmdline_opts. Require gdb-native.
6794
8bca2978
SL
67952018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6796
6797 * gdb.trace/actions-changed.exp: Check for arch support.
6798 * gdb.trace/actions.exp: Likewise.
6799 * gdb.trace/ax.exp: Likewise.
6800 * gdb.trace/backtrace.exp: Likewise.
6801 * gdb.trace/change-loc.exp: Likewise.
6802 * gdb.trace/deltrace.exp: Likewise.
6803 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6804 * gdb.trace/ftrace.exp: Likewise.
6805 * gdb.trace/infotrace.exp: Check for arch support.
6806 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6807 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6808 * gdb.trace/mi-tsv-changed.exp: Likewise.
6809 * gdb.trace/packetlen.exp: Likewise.
6810 * gdb.trace/passc-dyn.exp: Likewise.
6811 * gdb.trace/passcount.exp: Likewise.
6812 * gdb.trace/pending.exp: Likewise.
6813 * gdb.trace/range-stepping.exp: Check for shlib support.
6814 * gdb.trace/report.exp: Check for arch support.
6815 * gdb.trace/save-trace.exp: Likewise.
6816 * gdb.trace/signal.exp: Check for signal support.
6817 * gdb.trace/tfind.exp: Check for arch support.
6818 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6819 * gdb.trace/trace-common.h: Add comment.
6820 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6821 * gdb.trace/trace-enable-disable.exp: Likewise.
6822 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6823 * gdb.trace/tracecmd.exp: Check for arch support.
6824 * gdb.trace/tspeed.exp: Check for shlib and target support.
6825 * gdb.trace/tstatus.exp: Check for arch support.
6826 * gdb.trace/tsv.exp: Likewise.
6827 * gdb.trace/while-dyn.exp: Likewise.
6828 * gdb.trace/while-stepping.exp: Likewise.
6829 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6830
f9c49bff
SM
68312018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6832
6833 * gdb.trace/tspeed.exp: Remove nowarnings.
6834 (prepare_for_trace_test): Declare "global ipalib".
6835 * gdb.trace/tspeed.c: Include unistd.h.
6836 (main): Remove superfluous printf argument.
6837
d4330bde
SL
68382018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6839
6840 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6841 directory prefix on the filename.
6842
8ecfd7bd
SDJ
68432018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6844
6845 * gdb.gdb/unittest.exp: Update expected message informing that
6846 selftests have been disabled.
6847 * gdb.server/unittest.exp: Likewise.
6848
58bbcd02
TV
68492018-10-09 Tom de Vries <tdevries@suse.de>
6850
6851 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6852 with runto_main.
6853
9f6b697b
WP
68542018-10-08 Weimin Pan <weimin.pan@oracle.com>
6855
6856 PR c++/16841
6857 * gdb.cp/virtbase2.cc: New file.
6858 * gdb.cp/virtbase2.exp: New file.
6859
add5ded5
TT
68602018-10-06 Tom Tromey <tom@tromey.com>
6861
6862 PR python/19399:
6863 * gdb.python/py-inferior.exp: Add architecture test.
6864
f9e48344
TT
68652018-10-06 Tom Tromey <tom@tromey.com>
6866
6867 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6868 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6869
2a8be203
TT
68702018-10-06 Tom Tromey <tom@tromey.com>
6871
6872 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6873 of a "throw" catchpoint.
6874
e04caa70
SDJ
68752018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6876
6877 * gdb.base/info-proc.exp: Update string expected from "help info
6878 proc".
6879
5ca8c39f
TT
68802018-10-04 Tom Tromey <tom@tromey.com>
6881
6882 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6883 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6884 (test_initial_complaints, test_empty_complaints): Update.
6885 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6886
3453e7e4
TT
68872018-10-04 Tom Tromey <tom@tromey.com>
6888
6889 PR cli/19551:
6890 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6891 * lib/gdb.exp (gdb_file_cmd): Update.
6892 * gdb.stabs/weird.exp (print_weird_var): Update.
6893 * gdb.server/solib-list.exp: Update.
6894 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6895 * gdb.mi/mi-cli.exp: Update.
6896 * gdb.linespec/linespec.exp: Update.
6897 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6898 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6899 * gdb.cp/cp-relocate.exp: Update.
6900 * gdb.base/sym-file.exp: Update.
6901 * gdb.base/relocate.exp: Update.
6902 * gdb.base/readnever.exp: Update.
6903 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6904 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6905 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6906 * gdb.base/code_elim.exp: Update.
6907 * gdb.base/break-unload-file.exp (test_break): Update.
6908 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6909 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6910 Update.
6911 * gdb.base/attach.exp (do_attach_tests): Update.
6912 * gdb.base/sepdebug.exp: Update.
6913 * gdb.python/py-section-script.exp: Update.
6914
6afcf761
TT
69152018-10-04 Tom Tromey <tom@tromey.com>
6916
6917 PR cli/22234:
6918 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6919 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6920 output.
6921
fef1b293
TT
69222018-10-04 Tom Tromey <tom@tromey.com>
6923
6924 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6925 set width and height to 0.
6926 (test_command_line_attach_run): Use -quiet.
6927
ca98345e
SL
69282018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6929
6930 * lib/gdb.exp (skip_ifunc_tests): New.
6931 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6932 other compile failures.
6933 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6934
ff34e6ae
SM
69352018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6936
6937 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6938 is_amd64_regs_target.
6939
6bb8890e
AH
69402018-10-01 Alan Hayward <alan.hayward@arm.com>
6941
6942 * gdb.arch/aarch64-sighandler-regs.c: New test.
6943 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6944 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6945
224d30d3
MM
69462018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6947
6948 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6949 assembly.
6950
f67ffa6a
AB
69512018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6952
6953 * gdb.base/frame-selection.exp: New file.
6954 * gdb.base/frame-selection.c: New file.
6955
9fc3183f
AH
69562018-09-27 Alan Hayward <alan.hayward@arm.com>
6957
6958 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6959 pthread barrier.
6960 (main): Likewise.
6961
d354055e
AB
69622018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6963
6964 * gdb.base/large-frame-1.c: New file.
6965 * gdb.base/large-frame-2.c: New file.
6966 * gdb.base/large-frame.exp: New file.
6967 * gdb.base/large-frame.h: New file.
6968
db727370
JL
69692018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6970
6971 PR gdb/20948
6972 * gdb.base/write_mem.exp: New test.
6973 * gdb.base/write_mem.c: Likewise.
6974
ae778caf
TT
69752018-09-23 Tom Tromey <tom@tromey.com>
6976
6977 PR python/18852:
6978 * gdb.python/py-parameter.exp: Add test for parameter that throws
6979 on "set".
6980
fd3ba736
TT
69812018-09-23 Tom Tromey <tom@tromey.com>
6982
6983 PR python/17284:
6984 * gdb.python/py-template.exp (test_template_arg): Add test for
6985 negative template argument number.
6986
39a24317
TT
69872018-09-23 Tom Tromey <tom@tromey.com>
6988
6989 PR python/14062:
6990 * gdb.python/python.exp: Add test for post_event error.
6991
f5769a2c
TT
69922018-09-23 Tom Tromey <tom@tromey.com>
6993
6994 PR python/18170:
6995 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6996 convert pointers to int and long.
6997
1c1e54f6
TT
69982018-09-23 Tom Tromey <tom@tromey.com>
6999
7000 PR python/20126:
7001 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7002 signed-ness conversion tests.
7003
fb4fa946
TT
70042018-09-23 Tom Tromey <tom@tromey.com>
7005
7006 PR python/18352;
7007 * gdb.python/py-value.exp (test_float_conversion): New proc.
7008 Use it.
7009
a466edac
HAQ
70102018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7011
7012 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7013
4ee9b0c5
SL
70142018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7015
7016 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7017 no readline.
7018 * gdb.base/utf8-identifiers.exp: Likewise.
7019 * gdb.cp/cpcompletion.exp: Likewise.
7020 * gdb.linespec/cpcompletion.exp: Likewise.
7021 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7022 * gdb.linespec/cpls-ops.exp: Likewise.
7023
23be8da7
RB
70242018-09-19 Richard Bunt <richard.bunt@arm.com>
7025 Chris January <chris.january@arm.com>
7026
7027 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7028 * gdb.fortran/short-circuit-argument-list.exp: New file.
7029 * gdb.fortran/short-circuit-argument-list.f90: New test.
7030
5031d0ae
SDJ
70312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7032
7033 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7034 "arch=" keyword when executing "-stack-list-frames".
7035
b4c0d1a4
SDJ
70362018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7037
7038 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7039 "arch=" keyword when executing "-stack-list-frames".
7040
7a6d2b45
SDJ
70412018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7042
7043 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7044 break ada".
7045
8588b356
SM
70462018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7047
7048 PR python/23669
7049 * gdb.python/python.exp: Test gdb.execute("show commands").
7050
65e65158
TT
70512018-09-16 Tom Tromey <tom@tromey.com>
7052
7053 * gdb.base/new-ui.exp (do_execution_tests): Update.
7054 * gdb.base/dbx.exp (test_breakpoints): Update.
7055
bf326452
AH
70562018-09-14 Alan Hayward <alan.hayward@arm.com>
7057
7058 * lib/gdb.exp (gdb_simple_compile): Add proc.
7059 (is_elf_target): Use gdb_simple_compile.
7060 (skip_altivec_tests): Likewise.
7061 (skip_vsx_tests): Likewise.
7062 (skip_tsx_tests): Likewise.
7063 (skip_btrace_tests): Likewise.
7064 (skip_btrace_pt_tests): Likewise.
7065 (gdb_can_simple_compile): Likewise.
7066 (gdb_has_argv0): Likewise.
7067 (gdb_target_symbol_prefix): Likewise.
7068 (target_supports_scheduler_locking): Likewise.
7069
2361b0fb
TT
70702018-09-13 Tom Tromey <tom@tromey.com>
7071
7072 * Makefile.in (TAGS): Recognize proc_with_prefix and
7073 gdb_caching_proc.
7074
0ae1a321
SM
70752018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7076
7077 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7078 method.
7079
a40bf0c2
SM
70802018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7081
7082 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7083 and a few other Inferior properties when the Inferior is no
7084 longer valid.
7085
4a3fe98f
TT
70862018-09-13 Tom Tromey <tom@tromey.com>
7087
7088 PR rust/23650:
7089 * gdb.rust/simple.exp: Add test for enum field access error.
7090
098b2108
TT
70912018-09-13 Tom Tromey <tom@tromey.com>
7092
7093 PR rust/23626:
7094 * gdb.rust/simple.rs (EmptyEnum): New type.
7095 (main): Use it.
7096 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7097
1256af7d
SM
70982018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7099
7100 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7101 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7102 * gdb.python/py-symtab.exp: Update test printing an objfile.
7103
4aa8e6c2
SM
71042018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7105
7106 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7107 object.
7108
c221b2f7
AH
71092018-09-12 Alan Hayward <alan.hayward@arm.com>
7110
7111 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7112 (support_complex_tests): Use gdb_can_simple_compile.
7113 (is_ilp32_target): Likewise.
7114 (is_lp64_target): Likewise.
7115 (is_64_target): Likewise.
7116 (is_amd64_regs_target): Likewise.
7117 (is_aarch32_target): Likewise.
7118 (gdb_int128_helper): Likewise.
7119
6f1107b5
JK
71202018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7121
7122 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7123
1f5d1570
JG
71242018-09-10 Jerome Guitton <guitton@adacore.com>
7125
7126 * gdb.ada/same_component_name: Add test for case of tagged record
7127 with variable-length fields.
7128
cc330e39
XR
71292018-09-10 Xavier Roirand <roirand@adacore.com>
7130
7131 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7132 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7133 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7134 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7135
b9c50e9a
XR
71362018-09-10 Xavier Roirand <roirand@adacore.com>
7137
7138 * gdb.ada/mi_string_access.exp: New testcase.
7139 * gdb.ada/mi_string_access/bar.adb: New file.
7140 * gdb.ada/mi_string_access/pck.adb: New file.
7141 * gdb.ada/mi_string_access/pck.asd: New file.
7142
2963898f
XR
71432018-09-10 Xavier Roirand <roirand@adacore.com>
7144
7145 * gdb.ada/mi_var_union.exp: New testcase.
7146 * gdb.ada/mi_var_union/bar.adb: New file.
7147 * gdb.ada/mi_var_union/pck.adb: New file.
7148 * gdb.ada/mi_var_union/pck.asd: New file.
7149
1aac008f
TT
71502018-09-08 Tom Tromey <tom@tromey.com>
7151
7152 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7153
332cf4c9
TT
71542018-09-08 Tom Tromey <tom@tromey.com>
7155
7156 PR python/16047:
7157 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7158 (register_pretty_printers): Register new printer.
7159 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7160 test.
7161 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7162 (an_int_type3): New global.
7163
424da6cf
JB
71642018-09-08 Joel Brobecker <brobecker@adacore.com>
7165
7166 * gdb.ada/expr_with_funcall: New testcase.
7167
2a62dfa9
JB
71682018-09-08 Joel Brobecker <brobecker@adacore.com>
7169
7170 * gdb.ada/packed_array_assign: New testcase.
7171
96b6697f
AB
71722018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7173
7174 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7175 names, and add test prefixes to make test names unique.
7176
e4a62c65
TV
71772018-09-05 Tom de Vries <tdevries@suse.de>
7178
7179 * gdb.dwarf2/varval.exp: Add test.
7180
dd083ee2
GB
71812018-09-04 Gary Benson <gbenson@redhat.com>
7182
7183 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7184 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7185
aef9346c
TT
71862018-08-31 Tom Tromey <tom@tromey.com>
7187
7188 * gdb.rust/simple.rs: Rename second variable "v".
7189
c67f2e15
AB
71902018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7191
7192 * gdb.base/funcargs.c (use_a): New function.
7193 (recurse): Call use_a.
7194
078a0207
KS
71952018-08-29 Keith Seitz <keiths@redhat.com>
7196
7197 * gdb.compile/compile-cplus-anonymous.cc: New file.
7198 * gdb.compile/compile-cplus-anonymous.exp: New file.
7199 * gdb.compile/compile-cplus-array-decay.cc: New file.
7200 * gdb.compile/compile-cplus-array-decay.exp: New file.
7201 * gdb.compile/compile-cplus-inherit.cc: New file.
7202 * gdb.compile/compile-cplus-inherit.exp: New file.
7203 * gdb.compile/compile-cplus-member.cc: New file.
7204 * gdb.compile/compile-cplus-member.exp: New file.
7205 * gdb.compile/compile-cplus-method.cc: New file.
7206 * gdb.compile/compile-cplus-method.exp: New file.
7207 * gdb.compile/compile-cplus-mod.c: "New" file.
7208 * gdb.compile/compile-cplus-namespace.cc: New file.
7209 * gdb.compile/compile-cplus-namespace.exp: New file.
7210 * gdb.compile/compile-cplus-nested.cc: New file.
7211 * gdb.compile/compile-cplus-nested.exp: New file.
7212 * gdb.compile/compile-cplus-print.c: "New" file.
7213 * gdb.compile/compile-cplus-print.exp: "New" file.
7214 * gdb.compile/compile-cplus-virtual.cc: New file.
7215 * gdb.compile/compile-cplus-virtual.exp: New file.
7216 * gdb.compile/compile-cplus.c: "New" file.
7217 * gdb.compile/compile-cplus.exp: "New" file.
7218 * lib/compile-support.exp: New file.
7219
b0f492b9
GB
72202018-08-16 Gary Benson <gbenson@redhat.com>
7221
7222 PR gdb/13000:
7223 * gdb.base/batch-exit-status.exp: New file.
7224 * gdb.base/batch-exit-status.good-commands: Likewise.
7225 * gdb.base/batch-exit-status.bad-commands: Likewise.
7226
36eb4c5f
AH
72272018-08-29 Alan Hayward <alan.hayward@arm.com>
7228
7229 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7230 (struct struct02): Likewise.
7231 (struct struct03): Likewise.
7232 (struct struct04): Likewise.
7233 (struct struct_01_01): New struct.
7234 (struct struct_01_02): Likewise.
7235 (struct struct_01_03): Likewise.
7236 (struct struct_01_04): Likewise.
7237 (struct struct_02_01): Likewise.
7238 (struct struct_02_02): Likewise.
7239 (struct struct_02_03): Likewise.
7240 (struct struct_02_04): Likewise.
7241 (struct struct_04_01): Likewise.
7242 (struct struct_04_02): Likewise.
7243 (struct struct_04_03): Likewise.
7244 (struct struct_04_04): Likewise.
7245 (struct struct_05_01): Likewise.
7246 (struct struct_05_02): Likewise.
7247 (struct struct_05_03): Likewise.
7248 (struct struct_05_04): Likewise.
7249 (cmp_struct01): Remove function.
7250 (cmp_struct02): Likewise.
7251 (cmp_struct03): Likewise.
7252 (cmp_struct04): Likewise.
7253 (cmp_struct_01_01): Add Function.
7254 (cmp_struct_01_02): Likewise.
7255 (cmp_struct_01_03): Likewise.
7256 (cmp_struct_01_04): Likewise.
7257 (cmp_struct_02_01): Likewise.
7258 (cmp_struct_02_02): Likewise.
7259 (cmp_struct_02_03): Likewise.
7260 (cmp_struct_02_04): Likewise.
7261 (cmp_struct_04_01): Likewise.
7262 (cmp_struct_04_02): Likewise.
7263 (cmp_struct_04_03): Likewise.
7264 (cmp_struct_04_04): Likewise.
7265 (cmp_struct_05_01): Likewise.
7266 (cmp_struct_05_02): Likewise.
7267 (cmp_struct_05_03): Likewise.
7268 (cmp_struct_05_04): Likewise.
7269 (call_all): Add new structs.
7270 * gdb.base/infcall-nested-structs.exp: Likewise.
7271
3bf9c013
JV
72722018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7273
7274 * gdb.python/py-framefilter-mi.exp: Update regexp to
7275 check for "arch" field in frame output.
7276
450d1e88
KB
72772018-08-23 Kevin Buettner <kevinb@redhat.com>
7278
7279 * gdb.dwarf2/dw2-ranges-func.c: New file.
7280 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7281
ae739fe7
SM
72822018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7283
7284 * gdb.base/term.exp: Compare terminal settings with values from
7285 the inferior.
7286 * gdb.base/term.c: Get and set terminal settings.
7287
6d52907e
JV
72882018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7289
7290 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7291 accommodate new "arch" field in frame output.
7292 * gdb.mi/mi-return.exp: Likewise.
7293 * gdb.mi/mi-stack.exp: Likewise.
7294 * gdb.mi/mi-syn-frame.exp: Likewise.
7295 * gdb.mi/user-selected-context-sync.exp: Likewise.
7296
be2d111a
MS
72972018-08-19 Michael Spang <spang@google.com>
7298
7299 PR gdb/11786
7300 * gdb.base/gcore-tls-pie.c: New file.
7301 * gdb.base/gcore-tls-pie.exp: New file.
7302
ae3a7c47
KB
73032018-08-18 Kevin Buettner <kevinb@redhat.com>
7304
7305 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7306 * gdb.dwarf2/varval.c: New file.
7307 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7308
2ecae92e
AH
73092018-08-17 Alan Hayward <alan.hayward@arm.com>
7310
7311 PR gdb/18931
7312 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7313
c1854f1d
KS
73142018-08-16 Keith Seitz <keiths@redhat.com>
7315
7316 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7317 tests expected to pass.
7318
26fb3983
JV
73192018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7320
7321 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7322 -data-disassemble -a.
7323 (test_disassembly_bogus_args): Likewise.
7324
67943c00
AB
73252018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7326
7327 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7328
5ff2bbae
AB
73292018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7330
7331 * gdb.base/vla-optimized-out.exp: Add new test.
7332
e5bbcd0f
AB
73332018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7334
7335 * gdb.base/vla-optimized-out-o3.exp: Delete.
7336 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7337 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7338 deleted tests.
7339
9d4a934c
AB
73402018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7341
7342 PR gdb/18050:
7343 * gdb.server/extended-remote-restart.c: New file.
7344 * gdb.server/extended-remote-restart.exp: New file.
7345
045cf012
SM
73462018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7347
7348 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7349 "set variable index = 42".
7350
87d6a7aa
SM
73512018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7352
7353 * boards/index-cache-gdb.exp: New file.
7354 * gdb.dwarf2/index-cache.exp: New file.
7355 * gdb.dwarf2/index-cache.c: New file.
7356 * gdb.base/maint.exp: Check if we are using the index cache.
7357
96d68bd4
RO
73582018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7359
7360 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7361 MAKEFLAGS.
7362
5a699617
RO
73632018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7364
7365 * dg-extract-results.sh: Move to toplevel contrib.
7366 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7367 * Makefile.in (check-parallel-racy): Likewise.
7368
5bd18990
AB
73692018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7370
7371 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7372 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7373 tests if the target supports scheduler locking.
7374
3fbbcf47
TV
73752018-08-04 Tom de Vries <tdevries@suse.de>
7376
7377 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7378
3e1d3d8c
TT
73792018-08-02 Tom Tromey <tom@tromey.com>
7380
7381 PR symtab/16842.
7382 * gdb.cp/temargs.exp: Test "info address" of a template
7383 parameter.
7384
5abe0f0c
JV
73852018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7386
7387 * gdb.python/py-mi-var-info-path-expression.c: New file.
7388 * gdb.python/py-mi-var-info-path-expression.py: New file.
7389 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7390
fb66cde8
SDJ
73912018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7392
7393 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7394 error after "cannot resolve name" string.
7395
c708f4d2
AB
73962018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7397
7398 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7399 started.
7400 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7401
37cc0cae
TV
74022018-07-28 Tom de Vries <tdevries@suse.de>
7403
7404 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7405
63b4ecf7
TV
74062018-07-26 Tom de Vries <tdevries@suse.de>
7407
7408 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7409
3c3bb058
AB
74102018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7411
7412 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7413 is visible.
7414
9e7f3bbb
TV
74152018-07-26 Tom de Vries <tdevries@suse.de>
7416
7417 PR breakpoints/23366
7418 * gdb.base/catch-follow-exec.c: New test.
7419 * gdb.base/catch-follow-exec.exp: New file.
7420
16f808ec
TV
74212018-07-25 Tom de Vries <tdevries@suse.de>
7422
7423 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7424 vla-optimized-out.c.
7425
d7154a8d
JV
74262018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7427
7428 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7429 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7430
232a0032
TV
74312018-07-20 Tom de Vries <tdevries@suse.de>
7432
7433 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7434 NOCLONE macro.
7435 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7436
fbb1d502
TV
74372018-07-19 Tom de Vries <tdevries@suse.de>
7438
7439 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7440 regular expression.
7441
42dc7699
TV
74422018-07-18 Tom de Vries <tdevries@suse.de>
7443
7444 * gdb.base/vla-optimized-out.c: New test.
7445 * gdb.base/vla-optimized-out.exp: New file.
7446
7f1f7e23
SDJ
74472018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7448
7449 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7450 message "No address associated with hostname" when gdbserver
7451 cannot resolve the hostname.
7452
5759ebb3
PW
74532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7454
7455 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7456 Add some test prefixes to make tests unique.
7457
3606ccab
PW
74582018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7459
7460 * gdb.base/frameapply.c: New file.
7461 * gdb.base/frameapply.exp: New file.
7462
529c08b2
PW
74632018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7464
7465 * gdb.base/skip.exp: Update expected error message.
7466
c7ab0aef
SDJ
74672018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7468 Jan Kratochvil <jan.kratochvil@redhat.com>
7469 Paul Fertser <fercerpav@gmail.com>
7470 Tsutomu Seki <sekiriki@gmail.com>
7471
7472 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7473 parameter.
7474 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7475 by default.
7476 * boards/native-gdbserver.exp: Likewise.
7477 * gdb.server/run-without-local-binary.exp: Improve regexp used
7478 for detecting when a remote debugging connection succeeds.
7479 * gdb.server/server-connect.exp: New file.
7480 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7481 Do not prefix the port number with ":".
7482 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7483 support for detecting and using it. Add '$debughost_gdbserver'
7484 to the list of arguments used to start gdbserver. Handle case
7485 when gdbserver cannot resolve a network name.
7486
16ff70dd
SDJ
74872018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7488
7489 PR c++/23373
7490 * gdb.base/ptype-offsets.cc (struct static_member): New
7491 struct.
7492 (main) <stmember>: New variable.
7493 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7494 with a static member in it.
7495
3541979f
AB
74962018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7497
7498 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7499 watchpoints enabled and disabled.
7500
c8ad9b9a
AB
75012018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7502
7503 * gdb.base/examine-backward.exp: Still run tests around address
7504 0x0, even if address 0x0 is not readable. Update the pattern for
7505 matching address 0x0 in expected output.
7506
e0e5e971
AB
75072018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7508
7509 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7510 malloc/free.
7511
1ea5da02
TV
75122018-07-04 Tom de Vries <tdevries@suse.de>
7513
7514 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7515
471b9d15
MR
75162018-07-02 Maciej W. Rozycki <macro@mips.com>
7517
7518 PR tdep/8282
7519 * gdb.arch/mips-disassembler-options.exp: New test.
7520 * gdb.arch/mips-disassembler-options.s: New test source.
7521
75acb486
PA
75222018-06-29 Pedro Alves <palves@redhat.com>
7523
7524 * gdb.threads/names.exp: Adjust expected "info threads" output.
7525
cd2bb709
PA
75262018-06-29 Pedro Alves <palves@redhat.com>
7527
7528 * gdb.opt/inline-break.exp (line number, address): Add "info
7529 break" tests.
7530
991ff292
PA
75312018-06-29 Pedro Alves <palves@redhat.com>
7532
7533 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7534 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7535 number and address and running to them.
7536
356819b6 75372018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7538
7539 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7540
2512d7ef
JK
75412018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7542
7543 * lib/compiler.c: Remove executable permission flag.
7544
be1b6474
RB
75452018-06-28 Richard Bunt <richard.bunt@arm.com>
7546
7547 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7548 code.
7549 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7550
291f9a96
PT
75512018-06-28 Petr Tesarik <ptesarik@suse.cz>
7552
7553 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7554
ed6dfe51
PT
75552018-06-28 Petr Tesarik <ptesarik@suse.cz>
7556
7557 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7558 address argument is omitted.
7559
d4d429d5
PT
75602018-06-28 Petr Tesarik <ptesarik@suse.cz>
7561
7562 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7563
7ab6656f
OJ
75642018-06-27 Omair Javaid <omair.javaid@linaro.org>
7565
7566 PR gdb/21695
7567 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7568 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7569
a33ccfc7
TT
75702018-06-26 Tom Tromey <tom@tromey.com>
7571
7572 PR rust/22574:
7573 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7574 * gdb.rust/simple.rs (struct SimpleLayout): New.
7575
6d72d289
SM
75762018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7577
7578 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7579 "info registers" output.
7580
8363f9d5
RB
75812018-06-21 Richard Bunt <richard.bunt@arm.com>
7582
7583 * gdb.base/watchpoint-hw-attach.c: New test.
7584 * gdb.base/watchpoint-hw-attach.exp: New file.
7585
f00674fe
SM
75862018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7587
7588 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7589 through /bin/sh.
7590 * boards/dwarf4-gdb-index.exp: Likewise.
7591 * boards/fission-dwp.exp: Likewise.
7592
1d554008
UW
75932018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7594
7595 * gdb.base/float128.exp: Add comment and improved fail message
7596 to the failure case of "print large128" test.
7597
d0ac1c44
SM
75982018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7599
7600 * configure.ac: Remove AC_PREREQ.
7601 * configure: Re-generate.
7602
61b04dd0
PA
76032018-06-19 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7606 (func_extern_caller): New.
7607 (main): Call func_extern_caller.
7608 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7609 logic change.
7610
f63b508a
SM
76112018-06-18 Weimin Pan <weimin.pan@oracle.com>
7612
7613 PR gdb/16841
7614 * gdb.cp/typedef-base.cc: New file.
7615 * gdb.cp/typedef-base.exp: New file.
7616
0fe3a558
TV
76172018-06-18 Tom de Vries <tdevries@suse.de>
7618
7619 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7620
7010835a
AB
76212018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7622 Richard Bunt <Richard.Bunt@arm.com>
7623
7624 * gdb.threads/attach-slow-waitpid.c: New file.
7625 * gdb.threads/attach-slow-waitpid.exp: New file.
7626 * gdb.threads/slow-waitpid.c: New file.
7627
14897d65
PA
76282018-06-14 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.base/fork-running-state.c: Include <errno.h>.
7631 (exit_if_relative_exits): New.
7632 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7633 exits.
7634 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7635 child exits.
7636
5d9a0608
TV
76372018-06-14 Tom de Vries <tdevries@suse.de>
7638
7639 PR cli/22573
7640 * gdb.base/finish-pretty.c: New test.
7641 * gdb.base/finish-pretty.exp: New file.
7642
11ae5818
PA
76432018-06-14 Pedro Alves <palves@redhat.com>
7644
7645 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7646 gdb's expected startup output.
7647
1d39de44
PA
76482018-06-14 Pedro Alves <palves@redhat.com>
7649
7650 * lib/selftest-support.exp (selftest_setup): Remove inlined
7651 function handling.
7652
70ee0000
TV
76532018-06-14 Tom de Vries <tdevries@suse.de>
7654
7655 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7656 matching of breakpoint printing.
7657
11f4b608
TV
76582018-06-13 Tom de Vries <tdevries@suse.de>
7659
7660 PR testsuite/23269
7661 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7662 (fork_child): ... here, and ...
7663 (fork_parent): ... here.
7664
76652018-06-12 Tom de Vries <tdevries@suse.de>
7666
7667 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7668
9516f85a
AB
76692018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7670 Stephen Roberts <stephen.roberts@arm.com>
7671
7672 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7673 rewrite test to describe action performed, rather than possible
7674 failure.
7675
5045b3d7
GB
76762018-06-08 Gary Benson <gbenson@redhat.com>
7677
7678 * gdb.threads/check-libthread-db.exp: New file.
7679 * gdb.threads/check-libthread-db.c: Likewise.
7680
c61b06a1
TT
76812018-06-05 Tom Tromey <tom@tromey.com>
7682
7683 * gdb.base/default.exp: Update expected "show version" output.
7684
eb6af809
TT
76852018-06-05 Tom Tromey <tom@tromey.com>
7686
7687 PR cli/12326:
7688 * gdb.cp/static-print-quit.exp: Update.
7689 * lib/gdb.exp (pagination_prompt): Update.
7690 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7691 * gdb.python/python.exp: Update.
7692
178d6a63
JB
76932018-06-04 Joel Brobecker <brobecker@adacore.com>
7694
7695 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7696
8e817061
JB
76972018-06-01 Joel Brobecker <brobecker@adacore.com>
7698
7699 * gdb.ada/bp_fun_addr: New testcase.
7700
e86ca25f
TT
77012018-06-01 Tom Tromey <tom@tromey.com>
7702
7703 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7704 results.
7705 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7706 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7707 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7708 * gdb.base/maint.exp (maint_pass_if): Update.
7709
4b2dfa9d
MR
77102018-05-31 Maciej W. Rozycki <macro@mips.com>
7711
7712 * gdb.base/endian.exp: New test.
7713 * gdb.base/endian.c: New test source.
7714
45f25d6c
AB
77152018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7716
7717 PR gdb/23203
7718 * gdb.base/bt-selected-frame.c: New file.
7719 * gdb.base/bt-selected-frame.exp: New file.
7720 * lib/gdb.exp (get_current_frame_number): New function.
7721
d9f6d7f8
MR
77222018-05-24 Maciej W. Rozycki <macro@mips.com>
7723 Pedro Alves <palves@redhat.com>
7724
7725 * gdb.threads/tls-core.c: Include <stdlib.h>
7726 (thread_proc): Call `abort'.
7727 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7728 (tls_core_test): New procedure, bits factored out from ...
7729 (top level): ... here. Test both native cores and gcore cores.
7730
ff1cf532
TT
77312018-05-23 Tom Tromey <tom@tromey.com>
7732
7733 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7734
b98664d3
TT
77352018-05-23 Tom Tromey <tom@tromey.com>
7736
7737 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7738 symfile_complaints.
7739 (test_short_complaints): Likewise.
7740 (test_empty_complaints): Likewise.
7741 (test_initial_complaints): Update.
7742
4e9668d0
TT
77432018-05-23 Tom Tromey <tom@tromey.com>
7744
7745 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7746
43ba33c7
TT
77472018-05-23 Tom Tromey <tom@tromey.com>
7748
7749 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7750 (test_short_complaints): Update.
7751
035522c0
PA
77522018-05-22 Pedro Alves <palves@redhat.com>
7753
7754 * gdb.base/remote.exp: Only gdb_start after compiling the
7755 testcase. Issue "disconnect" before testing "set remote" command
7756 defaults. Issue clean_restart before running to main.
7757
cc0be08f
PA
77582018-05-22 Pedro Alves <palves@redhat.com>
7759
7760 * gdb.base/remote.exp: Adjust expected output of "show remote
7761 memory-write-packet-size". Add tests for "set remote
7762 memory-write-packet-size 0" and "set remote
7763 memory-write-packet-size fixed/limit".
7764
b1b60145
PA
77652018-05-22 Pedro Alves <palves@redhat.com>
7766
7767 PR gdb/22973
7768 * gdb.base/utf8-identifiers.c: New file.
7769 * gdb.base/utf8-identifiers.exp: New file.
7770
0ec848ad
PFC
77712018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7772
7773 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7774
2c3305f6
PFC
77752018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7776
7777 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7778
ce1e8424
TT
77792018-05-18 Tom Tromey <tom@tromey.com>
7780
7781 * gdb.base/ptype-offsets.exp: Update.
7782
ddfe970e
KS
77832018-05-17 Keith Seitz <keiths@redhat.com>
7784
7785 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7786 in expected breakpoint stop locations.
7787 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7788 move to proper scope to test variable values.
7789 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7790 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7791 New functions.
7792 (main): Call not_inline_func3.
7793 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7794 inline_func1, inline_func2, and inline_func3. Test that when each
7795 breakpoint is hit, GDB properly reports both the stop location
7796 and the backtrace. Repeat tests for temporary breakpoints.
7797
0726fcc6
MR
77982018-05-15 Maciej W. Rozycki <macro@mips.com>
7799
7800 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7801 rather then trying to access it in determining whether the PID
7802 of `gdbserver' could have been retrieved.
7803
8ee22052
AB
78042018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7805
7806 * gdb.arch/amd64-init-x87-values.S: New file.
7807 * gdb.arch/amd64-init-x87-values.exp: New file.
7808
7785df48
JK
78092018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7810
7811 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7812
56bcdbea
TT
78132018-05-04 Tom Tromey <tom@tromey.com>
7814
7815 PR python/22730:
7816 * gdb.python/python.exp: Test multi-line execute.
7817
a913fffb
TT
78182018-05-04 Tom Tromey <tom@tromey.com>
7819
7820 PR python/22731:
7821 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7822
7a2c85f2
TT
78232018-05-04 Tom Tromey <tom@tromey.com>
7824
7825 PR gdb/11750:
7826 * gdb.base/define.exp: Test defining a user command inside a user
7827 command.
7828 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7829
a3b60e45
JK
78302018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7831 Pedro Alves <palves@redhat.com>
7832
7833 PR breakpoints/19806 and support for PR external/20207.
7834 * gdb.base/watchpoint-unaligned.c: New file.
7835 * gdb.base/watchpoint-unaligned.exp: New file.
7836
45fe4a03
AB
78372018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7838
7839 * gdb.base/maint.exp: Make test names unique, use
7840 test_prefix_command_help to test 'help maint info', and remove
7841 repeated test of 'help maint'.
7842
9be2ae8f
TT
78432018-05-04 Tom Tromey <tom@tromey.com>
7844
7845 PR gdb/22619:
7846 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7847 behavior.
7848
11859c31
AB
78492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7850
7851 * gdb.base/maint.exp: Process output from 'maint print registers'
7852 line at a time.
7853
089a9490
AB
78542018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7855
7856 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7857 timeout.
7858
9b0797e2
AB
78592018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7860
7861 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7862 filter pattern.
7863
f6ac5f3d
PA
78642018-05-02 Pedro Alves <palves@redhat.com>
7865
7866 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7867 to_log_command renames.
7868 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7869
77d3c63b
TT
78702018-05-02 Tom Tromey <tom@tromey.com>
7871
7872 * gdb.python/py-parameter.exp: Set test message.
7873
0489430a
TT
78742018-05-02 Tom Tromey <tom@tromey.com>
7875
7876 PR python/20084:
7877 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7878 PARAM_ZUINTEGER_UNLIMITED tests.
7879
1632f8ba
DR
78802018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7881
7882 PR rust/23124
7883 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7884 when casting.
7885
6d7bb824
TT
78862018-04-30 Tom Tromey <tom@tromey.com>
7887
7888 * gdb.python/py-type.exp: Check align attribute.
7889 * gdb.python/py-type.c: New "aligncheck" global.
7890
007e1530
TT
78912018-04-30 Tom Tromey <tom@tromey.com>
7892
7893 PR exp/17095:
7894 * gdb.dwarf2/dw2-align.exp: New file.
7895 * gdb.cp/align.exp: New file.
7896 * gdb.base/align.exp: New file.
7897 * lib/gdb.exp (gdb_int128_helper): New proc.
7898 (has_int128_c, has_int128_cxx): New caching procs.
7899
6873858b
TT
79002018-04-27 Tom Tromey <tom@tromey.com>
7901
7902 PR rust/22545:
7903 * gdb.rust/simple.exp: Add inclusive range tests.
7904
79188d8d
PA
79052018-04-26 Pedro Alves <palves@redhat.com>
7906
7907 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7908 ifunc breakpoint locations correctly of ifunc breakpoints set
7909 while the program resolves the ifunc.
7910
c7075ad5
PA
79112018-04-26 Pedro Alves <palves@redhat.com>
7912
7913 * gdb.base/gnu-ifunc-final.c: New file.
7914 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7915 * gdb.base/gnu-ifunc.exp (executable): Delete.
7916 (staticexecutable): Adjust.
7917 (lib_opts, exec_opts): Delete.
7918 (make_binsuffix, build, set-break): New procedures.
7919 (misc_tests): New, with tests factored out from the top level.
7920 (top level): Test different combinations of ifunc resolver name,
7921 resolver with and with debug info, and ifunc target with and
7922 without debug info. Wrap static tests with with_target_prefix.
7923
8388016d
PA
79242018-04-26 Pedro Alves <palves@redhat.com>
7925
7926 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7927 return type" warnings.
7928
249b5733
PA
79292018-04-25 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7932 killed".
7933 * gdb.base/kill-after-signal.exp: Likewise.
7934 * gdb.threads/kill.exp: Likewise.
7935
f67c0c91
SDJ
79362018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7937 Sergio Durigan Junior <sergiodj@redhat.com>
7938 Pedro Alves <palves@redhat.com>
7939
7940 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7941 regexps to expect for '[Inferior ... detached]' as well.
7942 * gdb.base/attach.exp: Likewise.
7943 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7944 "gdb_continue_to_end".
7945 (test_catch_syscall_with_wrong_args): Likewise.
7946 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7947 ']'. Don't set 'verbose' on.
7948 * gdb.base/foll-vfork.exp: Likewise.
7949 * gdb.base/fork-print-inferior-events.c: New file.
7950 * gdb.base/fork-print-inferior-events.exp: New file.
7951 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7952 '[Inferior ... has been killed]' message.
7953 * gdb.base/kill-after-signal.exp: Likewise.
7954 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7955 detach message.
7956 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7957 message.
7958 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7959 regexps to expect for '[Inferior ... detached]' as well.
7960 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7961
0a8ddac4
SM
79622018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7963
7964 PR gdb/23104
7965 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7966
701adfb0
PA
79672018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7968
7969 PR gdb/23095
7970 * gdb.base/break-probes.exp: Pass shlib_load to
7971 prepare_for_testing. Set normal_bp to r_debug_state if target is
7972 bsd.
7973
d27d16bf
RB
79742018-04-19 Richard Bunt <richard.bunt@arm.com>
7975
7976 * gdb.threads/multiple-successive-infcall.c: New test.
7977 * gdb.threads/multiple-successive-infcall.exp: New file.
7978
a037790e
TT
79792018-04-17 Tom Tromey <tom@tromey.com>
7980
7981 * gdb.rust/simple.rs (Union): New type.
7982 (main): New local "u".
7983 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7984
e3a91079
AA
79852018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7986
7987 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7988 number information in output of "whereis" command.
7989 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7990
b744723f
AA
79912018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7992
7993 * gdb.ada/info_types.exp: Adjust expected output to the line
7994 numbers now printed by "info var/func/type".
7995 * gdb.base/completion.exp: Likewise.
7996 * gdb.base/included.exp: Likewise.
7997 * gdb.cp/cp-relocate.exp: Likewise.
7998 * gdb.cp/cplusfuncs.exp: Likewise.
7999 * gdb.cp/namespace.exp: Likewise.
8000 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8001
4a4495d6
MM
80022018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8003
8004 * gdb.btrace/cpu.exp: New.
8005
1d509aa6
MM
80062018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8007
8008 * gdb.base/step-indirect-call-thunk.exp: New.
8009 * gdb.base/step-indirect-call-thunk.c: New.
8010 * gdb.reverse/step-indirect-call-thunk.exp: New.
8011 * gdb.reverse/step-indirect-call-thunk.c: New.
8012
6295b6da
SM
80132018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8014
8015 * gdb.base/pie-fork.c: New file.
8016 * gdb.base/pie-fork.exp: New file.
8017
50146e70
TT
80182018-04-11 Tom Tromey <tom@tromey.com>
8019
8020 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8021
f50d8a2e
PA
80222018-04-10 Pedro Alves <palves@redhat.com>
8023
8024 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8025 exits. Instead loop running forever.
8026 (fork_parent): Run forever too.
8027
a0be7a36
SM
80282018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8029
8030 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8031 mi_continue_to_line.
8032 * gdb.mi/mi-stack.c (callee4): Add comment.
8033
9b73db36
SM
80342018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8035
8036 * gdb.mi/mi-stack.exp: Fix indentation.
8037
c912f608
SM
80382018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8039
8040 PR gdb/22979
8041 * gdb.arch/amd64-osabi.exp: New file.
8042
26540402
SM
80432018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8044
8045 PR gdb/22980
8046 * gdb.base/osabi.exp: New file.
8047
121ad66c 80482018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8049
8050 * gdb.cp/static-typedef-print.exp: New file.
8051 * gdb.cp/static-typedef-print.cc: New file.
8052
3fcded8f
JB
80532018-03-27 Joel Brobecker <brobecker@adacore.com>
8054
8055 * gdb.ada/varsize_limit: New testcase.
8056
59cc4834
JB
80572018-03-27 Joel Brobecker <brobecker@adacore.com>
8058
8059 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8060
8061 * gdb.ada/notcplusplus: New testcase.
8062
8063 * gdb.base/c-linkage-name.c: New file.
8064 * gdb.base/c-linkage-name.exp: New testcase.
8065
4ca59a9f
TT
80662018-03-26 Tom Tromey <tom@tromey.com>
8067
8068 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8069 * gdb.python/py-framefilter.py (name_error): New global.
8070 (ErrorInName.function): Use name_error.
8071
978d6c75
TT
80722018-03-26 Tom Tromey <tom@tromey.com>
8073
8074 PR backtrace/15582:
8075 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8076
b7fee5a3
KS
80772018-03-23 Keith Seitz <keiths@redhat.com>
8078
8079 PR c++/22968
8080 * gdb.cp/subtypes.exp: New file.
8081 * gdb.cp/subtypes.h: New file.
8082 * gdb.cp/subtypes.cc: New file.
8083 * gdb.cp/subtypes-2.cc: New file.
8084
376be529
AB
80852018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8086
8087 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8088 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8089 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8090 -nostartfiles when compiling the test. Confirm that all registers
8091 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8092
066cfa98
AB
80932018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8094
8095 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8096 option, syntax was wrong anyway.
8097 * gdb.arch/arm-disp-step.exp: Likewise.
8098 * gdb.arch/sparc64-regs.exp: Likewise.
8099 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8100 option, syntax was wrong anyway, switch to use
8101 prepare_for_testing.
8102 * gdb.arch/i386-disp-step.exp: Likewise.
8103
079670b9
AA
81042018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8105
8106 * gdb.ada/exec_changed.exp: Replace "target_info exists
8107 use_gdb_stub" by "use_gdb_stub".
8108 * gdb.ada/start.exp: Likewise.
8109 * gdb.base/async-shell.exp: Likewise.
8110 * gdb.base/attach-pie-misread.exp: Likewise.
8111 * gdb.base/attach-wait-input.exp: Likewise.
8112 * gdb.base/break-entry.exp: Likewise.
8113 * gdb.base/break-interp.exp: Likewise.
8114 * gdb.base/dprintf-detach.exp: Likewise.
8115 * gdb.base/nostdlib.exp: Likewise.
8116 * gdb.base/solib-nodir.exp: Likewise.
8117 * gdb.base/statistics.exp: Likewise.
8118 * gdb.base/testenv.exp: Likewise.
8119 * gdb.mi/mi-exec-run.exp: Likewise.
8120 * gdb.mi/mi-start.exp: Likewise.
8121 * gdb.multi/dummy-frame-restore.exp: Likewise.
8122 * gdb.multi/multi-arch-exec.exp: Likewise.
8123 * gdb.multi/multi-arch.exp: Likewise.
8124 * gdb.multi/tids.exp: Likewise.
8125 * gdb.multi/watchpoint-multi.exp: Likewise.
8126 * gdb.python/py-events.exp: Likewise.
8127 * gdb.threads/attach-into-signal.exp: Likewise.
8128 * gdb.threads/attach-stopped.exp: Likewise.
8129 * gdb.threads/threadapply.exp: Likewise.
8130 * lib/selftest-support.exp: Likewise.
8131
26d6cec4
AA
81322018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8133
8134 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8135
4ee89e90
SR
81362018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8137
8138 * gdb.perf/template-breakpoints.cc: New file.
8139 * gdb.perf/template-breakpoints.exp: New file.
8140 * gdb.perf/template-breakpoints.py: New file.
8141
92630041
TT
81422018-03-19 Tom Tromey <tom@tromey.com>
8143
8144 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8145 y0.
8146 * gdb.rust/simple.exp: Test bare identifier form of struct
8147 initializer.
8148
76727919
TT
81492018-03-19 Tom Tromey <tom@tromey.com>
8150
8151 * gdb.gdb/observer.exp: Remove.
8152
194ed413
AA
81532018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8154
8155 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8156 "qualified" option when setting breakpoints.
8157 * gdb.trace/backtrace.exp: Likewise.
8158 * gdb.trace/circ.exp: Likewise.
8159 * gdb.trace/collection.exp: Likewise.
8160 * gdb.trace/disconnected-tracing.exp: Likewise.
8161 * gdb.trace/ftrace-lock.exp: Likewise.
8162 * gdb.trace/ftrace.exp: Likewise.
8163 * gdb.trace/infotrace.exp: Likewise.
8164 * gdb.trace/packetlen.exp: Likewise.
8165 * gdb.trace/passc-dyn.exp: Likewise.
8166 * gdb.trace/qtro.exp: Likewise.
8167 * gdb.trace/read-memory.exp: Likewise.
8168 * gdb.trace/report.exp: Likewise.
8169 * gdb.trace/signal.exp: Likewise.
8170 * gdb.trace/status-stop.exp: Likewise.
8171 * gdb.trace/strace.exp: Likewise.
8172 * gdb.trace/tfind.exp: Likewise.
8173 * gdb.trace/trace-break.exp: Likewise.
8174 * gdb.trace/trace-condition.exp: Likewise.
8175 * gdb.trace/trace-mt.exp: Likewise.
8176 * gdb.trace/tstatus.exp: Likewise.
8177 * gdb.trace/tsv.exp: Likewise.
8178 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8179 * gdb.trace/unavailable.exp: Likewise.
8180 * gdb.trace/while-dyn.exp: Likewise.
8181
8b067d2c
AA
81822018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8183
8184 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8185 that libinproctrace is copied to the target.
8186
3ae9ce5d
TT
81872018-03-14 Tom Tromey <tom@tromey.com>
8188
8189 PR cli/14977:
8190 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8191 a null pointer.
8192 * gdb.base/wchar.exp: Likewise.
8193
b8c2339b
TT
81942018-03-14 Tom Tromey <tom@tromey.com>
8195
8196 PR cli/19918:
8197 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8198 flag.
8199
4872dc46
SM
82002018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8201
8202 PR gdb/22841
8203 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8204 "target" to remote_exec.
8205
e4fe3756
SM
82062018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8207
8208 PR gdb/22841
8209 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8210 ${board}_upload): Remove.
8211
e95a97d4
AA
82122018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8213
8214 * gdb.cp/watch-cp.cc: New test.
8215 * gdb.cp/watch-cp.exp: New file.
8216
dbbb1059
AB
82172018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8218
8219 * gdb.base/infcall-nested-structs.exp: New file.
8220 * gdb.base/infcall-nested-structs.c: New file.
8221 * gdb.base/float.exp: Add riscv support.
8222
ecc054c0
TP
82232018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8224
8225 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8226 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8227
25e3c82c
SDJ
82282018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8229
8230 * gdb.server/abspath.exp: New file.
8231 * lib/gdb.exp (with_cwd): New procedure.
8232
3083294d
SM
82332018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8234
8235 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8236 use it.
8237 (gdb_is_target_remote_prompt): New proc.
8238 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8239 (gdb_is_target_native): Pass prompt parameter to
8240 gdb_is_target_1.
8241
3275ef47
SM
82422018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8243
8244 * gdb.base/load-command.c: New file.
8245 * gdb.base/load-command.exp: New file.
8246 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8247 (gdb_is_target_1): ...this, and generalize for other targets
8248 than just remote.
8249 (gdb_is_target_remote): Use gdb_is_target_1.
8250 (gdb_is_target_native): use gdb_is_target_1.
8251
6893c19a
TT
82522018-02-26 Tom Tromey <tom@tromey.com>
8253
8254 PR python/16497:
8255 * gdb.python/py-framefilter.exp: Update test.
8256
2ddeaf8a
TT
82572018-02-26 Tom Tromey <tom@tromey.com>
8258
8259 * gdb.dwarf2/variant.c: New file.
8260 * gdb.dwarf2/variant.exp: New file.
8261
c9317f21
TT
82622018-02-26 Tom Tromey <tom@tromey.com>
8263
8264 * gdb.rust/simple.exp: Accept more possible results in enum test.
8265
6f6d0c26
SM
82662018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8267
8268 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8269 parentheses.
8270
11b03145
MR
82712018-02-23 Maciej W. Rozycki <macro@mips.com>
8272
8273 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8274 name of a variable: $actual_linejj -> $actual_line.
8275
54a27fe5
JB
82762018-02-21 John Baldwin <jhb@FreeBSD.org>
8277
8278 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8279
de65820c
MM
82802018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8281
8282 * gdb.btrace/buffer-size.exp: Do not force BTS.
8283
980548fd
PA
82842018-02-14 Pedro Alves <palves@redhat.com>
8285
8286 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8287 getting a "Quit".
8288
c4e12631
MM
82892018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8290
8291 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8292 Fix test name.
8293
c2e0e465
SM
82942018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8295
8296 * gdb.cp/m-static.exp: Check type of optimized out static
8297 member.
8298
f7216783
AB
82992018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8300
8301 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8302 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8303
0625771b
LS
83042018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8305 Leszek Swirski <leszeks@google.com>
8306
8307 * gdb.python/py-prettyprint.c
8308 (struct to_string_returns_value_inner,
8309 struct to_string_returns_value_wrapper): New.
8310 (main): Add tsrvw variable.
8311 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8312 ToStringReturnsValueWrapper): New classes.
8313 (register_pretty_printers): Register new pretty-printers.
8314 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8315 recursive pretty printer.
8316 * gdb.python/py-mi.exp: Likewise.
8317
59498c30
LS
83182018-02-01 Leszek Swirski <leszeks@google.com>
8319
8320 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8321 functions with the same name as an include file are parsed
8322 correctly.
8323
d4d38844
YQ
83242018-02-01 Yao Qi <yao.qi@linaro.org>
8325
8326 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8327 "\[^\r\n\]*".
8328
07e5f5cf
NP
83292018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8330
8331 * gdb.arch/powerpc-prologue-frame.s: New file.
8332 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8333 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8334
929b5ad4
JB
83352018-01-31 Joel Brobecker <brobecker@adacore.com>
8336
8337 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8338
e671cd59
PA
83392018-01-30 Pedro Alves <palves@redhat.com>
8340
8341 PR gdb/13211
8342 * gdb.base/interrupt-daemon.c: New.
8343 * gdb.base/interrupt-daemon.exp: New.
8344 * gdb.multi/multi-term-settings.c: New.
8345 * gdb.multi/multi-term-settings.exp: New.
8346
fc413dc4
JB
83472018-01-30 Joel Brobecker <brobecker@adacore.com>
8348
8349 * gdb.base/break.exp: Save the location where the breakpoint
8350 on break.c:47 was actually inserted when debugging the version
8351 compiled at -O2 and use it in the expected output of the "info
8352 break" test performed soon after.
8353
5c319bb2
PA
83542018-01-22 Pedro Alves <palves@redhat.com>
8355 Sergio Durigan Junior <sergiodj@redhat.com>
8356
8357 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8358 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8359
a9e40818
JB
83602018-01-22 Joel Brobecker <brobecker@adacore.com>
8361
8362 * gdb.base/break-include.c, gdb.base/break-include.inc,
8363 gdb.base/break-include.exp: New files.
8364 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8365 line number now being the actual line number where the breakpoint
8366 was inserted.
8367 * gdb.mi/mi-break.exp: Likewise.
8368 * gdb.mi/mi-reverse.exp: Likewise.
8369 * gdb.mi/mi-simplerun.exp: Ditto.
8370
e707fc44
AB
83712018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8372
8373 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8374 varobj.
8375 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8376
ae451627
AB
83772018-01-21 Don Breazeal <donb@codesourcery.com>
8378 Andrew Burgess <andrew.burgess@embecosm.com>
8379
8380 * gdb.mi/basics.c: Add new global.
8381 * gdb.mi/mi-frame-regs.exp: New file.
8382 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8383 case.
8384
b1b189e0
AB
83852018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8386
8387 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8388 non-parameter, and on an unknown symbol.
8389
fcfcc376
TT
83902018-01-19 Tom Tromey <tom@tromey.com>
8391
8392 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8393 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8394
634c1c31
AA
83952018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8396
8397 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8398 setrlimit and chdir to int.
8399
d6ad07fd
AA
84002018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8401
8402 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8403 function.
8404 (my_tend): Likewise.
8405 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8406 rationale of avoiding FP- and vector instructions.
8407
adf8243b
RK
84082018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8409
8410 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8411 "info reg" with "\[ \t\]*".
8412 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8413 "\[ \t\]+".
8414 * gdb.arch/s390-multiarch.exp: Ditto.
8415 * gdb.base/pc-fp.exp: Ditto.
8416 * gdb.reverse/i386-precsave.exp: Ditto.
8417 * gdb.reverse/i386-reverse.exp: Ditto.
8418 * gdb.reverse/i387-env-reverse.exp: Ditto.
8419 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8420
dcc06925
AA
84212018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8422
8423 * lib/gdb.exp (gdb_compile): Re-enable use of
8424 universal_compile_options for languages other than Rust.
8425
25d4fd80
AA
84262018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8427
8428 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8429
ee7f689e 84302018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8431
8432 PR gdb/16577
8433 * gdb.base/solib-vanish.exp: New.
8434 * gdb.base/solib-vanish-main.c: New.
8435 * gdb.base/solib-vanish-lib1.c: New.
8436 * gdb.base/solib-vanish-lib2.c: New.
8437
d8447b6b
YQ
84382018-01-17 Yao Qi <yao.qi@linaro.org>
8439
8440 * gdb.compile/compile.exp: Match the address printed for
8441 frame in the output of command "bt".
8442
86d6a90c
TT
84432018-01-15 Tom Tromey <tom@tromey.com>
8444
8445 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8446 compute sp_reg.
8447
cbcdb1aa
AB
84482018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8449
8450 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8451 to prepare.
8452 (prepare): Return 0 on error, 1 on success.
8453
eea61984
PA
84542018-01-12 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.base/continue-after-aborted-step-over.c: New.
8457 * gdb.base/continue-after-aborted-step-over.exp: New.
8458
6181e9c2
SM
84592018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8460
8461 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8462 options when not creating an executable.
8463
3cada740
PA
84642018-01-11 Pedro Alves <palves@redhat.com>
8465
8466 PR remote/22597
8467 * gdb.server/stop-reply-no-thread.c: New file.
8468 * gdb.server/stop-reply-no-thread.exp: New file.
8469
c63d3e8d
PA
84702018-01-10 Pedro Alves <palves@redhat.com>
8471
8472 PR gdb/22670
8473 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8474 functions too. Test setting breakpoints and printing C functions
8475 with no debug info too.
8476 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8477
d4c2a405
PA
84782018-01-10 Pedro Alves <palves@redhat.com>
8479
8480 PR gdb/22670
8481 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8482 a fail.
8483
8825213e
PA
84842018-01-10 Pedro Alves <palves@redhat.com>
8485
8486 PR gdb/22670
8487 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8488
605fd3c6
YQ
84892018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8490
8491 * gdb.server/unittest.exp: Match the output in non-development
8492 mode.
8493
1e5ded6c
YQ
84942018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8495
8496 * gdb.gdb/unittest.exp: Match output in non-development mode.
8497
30066b0b
JB
84982018-01-08 Joel Brobecker <brobecker@adacore.com>
8499
8500 * gdb.ada/access_tagged_param.exp: Relax expected output
8501 for value of "ObjL" in "continue" to pck.inspect breakpoint
8502 test.
8503
04bafb1e
XR
85042018-01-08 Joel Brobecker <brobecker@adacore.com>
8505
9f86398b
JB
8506 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8507 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8508
e379cee6
PA
85092018-01-05 Pedro Alves <palves@redhat.com>
8510
8511 PR gdb/18653
8512 * gdb.base/libsegfault.exp: New.
8513
de63c46b
PA
85142018-01-05 Joel Brobecker <brobecker@adacore.com>
8515
8516 PR gdb/22670
8517 * gdb.ada/access_tagged_param.exp: New file.
8518 * gdb.ada/access_tagged_param/foo.adb: New file.
8519
f98fc17b
PA
85202018-01-05 Pedro Alves <palves@redhat.com>
8521
8522 PR gdb/22670
8523 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8524 exercise lower case too, and to exercise both full matching and
8525 wild matching.
8526
342f8240
JB
85272018-01-05 Joel Brobecker <brobecker@adacore.com>
8528
8529 * gdb.ada/rename_subscript_param: New testcase.
8530
7150d33c
JG
85312018-01-05 Jerome Guitton <guitton@adacore.com>
8532
8533 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8534
cc0e770c
JB
85352018-01-05 Joel Brobecker <brobecker@adacore.com>
8536
8537 * gdb.ada/convvar_comp: New testcase.
8538
672a41aa 85392018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8540
8541 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8542 (My_Table): New global variable.
8543 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8544
7365ec2f
JB
85452018-01-04 Joel Brobecker <brobecker@adacore.com>
8546
8547 PR gdb/22670
8548 * gdb.ada/maint_with_ada: New testcase.
8549
289483b6
JB
85502018-01-04 Joel Brobecker <brobecker@adacore.com>
8551
8552 PR gdb/22670
8553 * gdb.ada/bp_c_mixed_case: New testcase.
8554
344420da
JB
85552018-01-04 Joel Brobecker <brobecker@adacore.com>
8556
8557 PR gdb/22670
8558 * gdb.ada/complete.exp: Add "complete break ada" test.
8559
66fc87a0
JB
85602018-01-04 Joel Brobecker <brobecker@adacore.com>
8561
8562 PR gdb/22670
8563 * gdb.ada/info_addr_mixed_case: New testcase.
8564
9f757bf7
XR
85652018-01-03 Xavier Roirand <roirand@adacore.com>
8566
8567 * gdb.ada/excep_handle.exp: New testcase.
8568 * gdb.ada/excep_handle/foo.adb: New file.
8569 * gdb.ada/excep_handle/pck.ads: New file.
8570
bd570f80
JB
85712018-01-03 Joel Brobecker <brobecker@adacore.com>
8572
8573 * gdb.base/step-line.c: Add extra empty line in copyright header.
8574 * gdb.base/step-line.inp: Likewise.
8575
9fe561ab
JB
85762018-01-02 Joel Brobecker <brobecker@adacore.com>
8577
8578 * gdb.ada/dyn_stride.exp: Add slice test.
8579
a405673c
JB
85802018-01-02 Joel Brobecker <brobecker@adacore.com>
8581
8582 * gdb.ada/dyn_stride: New testcase.
8583
cef0f868
SH
85842017-12-27 Stafford Horne <shorne@gmail.com>
8585
8586 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8587 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8588
b67d92b0
SH
85892017-12-27 Stafford Horne <shorne@gmail.com>
8590
8591 * gdb.base/reggroups.c: New file.
8592 * gdb.base/reggroups.exp: New file.
8593
eccab96d
JB
85942017-12-18 Joel Brobecker <brobecker@adacore.com>
8595
8596 * gdb.dwarf2/ada-valprint-error.c: New file.
8597 * gdb.dwarf2/ada-valprint-error.exp: New file.
8598
0e2da9f0
JB
85992017-12-18 Joel Brobecker <brobecker@adacore.com>
8600
8601 * gdb.ada/assign_arr: New testcase.
8602
cb923fcc
XR
86032017-12-18 Xavier Roirand <roirand@adacore.com>
8604
8605 * gdb.ada/funcall_ptr: New testcase.
8606
7c161838
SDJ
86072017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8608
8609 PR cli/16224
8610 * gdb.base/ptype-offsets.cc: New file.
8611 * gdb.base/ptype-offsets.exp: New file.
8612
1af17fd9
YQ
86132017-12-15 Yao Qi <yao.qi@linaro.org>
8614
8615 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8616 if XML is disabled.
8617
828d5846
XR
86182017-12-15 Xavier Roirand <roirand@adacore.com>
8619
8620 * gdb.ada/same_component_name: New testcase.
8621
79e8fcaa
JB
86222017-12-14 Joel Brobecker <brobecker@adacore.com>
8623
8624 * gdb.ada/str_binop_equal: New testcase.
8625
e05fa6f9
JB
86262017-12-14 Joel Brobecker <brobecker@adacore.com>
8627
8628 * gdb.ada/task_switch_in_core: New testcase.
8629
b89641ba
SM
86302017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8631
8632 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8633 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8634 call test_bkpt_qualified.
8635 (test_bkpt_qualified): New proc.
8636
6892d2e4
PA
86372017-12-13 Pedro Alves <palves@redhat.com>
8638
8639 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8640 Tighten regexp by matching with an anchor.
8641
a22ecf70
PA
86422017-12-13 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8645 ("expression with namespace"): New set of tests.
8646 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8647 (Nested::Test_NS::qux): New.
8648 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8649 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8650
9937536c
JB
86512017-12-13 Joel Brobecker <brobecker@adacore.com>
8652
8653 * gdb.base/server-del-break.c: New file.
8654 * gdb.base/server-del-break.exp: New file.
8655
fe49c6f5
SH
86562017-12-12 Stafford Horne <shorne@gmail.com>
8657
8658 * gdb.xml/tdesc-regs.exp: Add or1k support.
8659
c3d18620
SH
86602017-12-12 Stafford Horne <shorne@gmail.com>
8661
8662 * gdb.base/bp-permanent.c: Define nop of or1k.
8663
c5f9cfc8
JB
86642017-12-11 Joel Brobecker <brobecker@adacore.com>
8665
8666 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8667 output with components being reordered.
8668
a9c135fc
JB
86692017-12-11 Joel Brobecker <brobecker@adacore.com>
8670
8671 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8672 output with components being reordered.
8673
927aa2e7
JK
86742017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8675 Pedro Alves <palves@redhat.com>
8676
8677 * gdb.base/maint.exp (check for .gdb_index): Check also for
8678 .debug_names.
8679 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8680 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8681 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8682 (.gdb_index used after symbol reloading): Support also .debug_names.
8683 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8684
f17d9474
YQ
86852017-12-08 Yao Qi <yao.qi@linaro.org>
8686
8687 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8688 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8689
a0de8c21
YQ
86902017-12-08 Yao Qi <yao.qi@linaro.org>
8691
8692 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8693 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8694
a738ea1d
YQ
86952017-12-08 Yao Qi <yao.qi@linaro.org>
8696
8697 * gdb.arch/aarch64-tagged-pointer.c: New file.
8698 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8699
1cd9a73b
SDJ
87002017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8701
8702 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8703 "int".
8704
fa6eb693
KS
87052017-12-07 Keith Seitz <keiths@redhat.com>
8706
8707 PR breakpoints/22569
8708 * gdb.linespec/ls-errs.exp: Change expected result of "break
8709 -source this file has spaces.c -line 3".
8710 Check that an explicit source file followed by whitespace is
8711 identified as an invalid explicit location.
8712
883fd55a
KS
87132017-12-07 Keith Seitz <keiths@redhat.com>
8714
8715 * gdb.cp/nested-types.cc: New file.
8716 * gdb.cp/nested-types.exp: New file.
8717 * lib/cp-support.exp: Load data-structures.exp library.
8718 (debug_cp_test_ptype_class): New global.
8719 (cp_ptype_class_verbose, next_line): New procedures.
8720 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8721 Add and document new return value.
8722 Switch the list of lines to a queue.
8723 Add support for new `type' key for nested type definitions.
8724 Add debugging/troubleshooting messages.
8725 * lib/data-structures.exp: New file.
8726
ec72db3e
SM
87272017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8728
8729 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8730 with proc_with_prefix, don't use with_test_prefix.
8731
99598d71
TT
87322017-12-07 Tom Tromey <tom@tromey.com>
8733
8734 * gdb.base/break.exp: Add test for empty "commands".
8735
a8806230
YQ
87362017-12-07 Yao Qi <yao.qi@linaro.org>
8737
8738 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8739 malloc and catch syscall.
8740
824cc835
PM
87412017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8742
e79be6e5 8743 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8744 tests for explicit locations.
8745
7cc244de
PA
87462017-12-06 Pedro Alves <palves@redhat.com>
8747
8748 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8749 force-disabling XML descriptions.
8750
50a1fdd5
PA
87512017-12-04 Pedro Alves <palves@redhat.com>
8752
8753 PR gdb/22499
8754 * gdb.arch/amd64-disp-step-avx.S: New file.
8755 * gdb.arch/amd64-disp-step-avx.exp: New file.
8756
f0fb2488
PA
87572017-12-03 Pedro Alves <palves@redhat.com>
8758
8759 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8760 and <string.h>.
8761 (parent_function): Print distinct messages when waitpid fails, or
8762 the child exits with a signal, or the child exits for an unhandled
8763 reason.
8764 * gdb.threads/process-dies-while-detaching.exp
8765 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8766 it. Wait for both inferior output and GDB's prompt. Use an
8767 indirect spawn id list.
8768 (do_detach): New parameter 'child_exit'. Use it to compute
8769 expected inferior output.
8770 (test_detach, test_detach_watch, test_detach_killed_outside):
8771 Adjust to pass down the expected child exit kind.
8772
97cbe998
SDJ
87732017-12-01 Joel Brobecker <brobecker@adacore.com>
8774 Sergio Durigan Junior <sergiodj@redhat.com>
8775 Pedro Alves <palves@redhat.com>
8776
8777 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8778
40fc416f
SDJ
87792017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8780
8781 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8782 to 'symbol-file' and 'add-symbol-file' can be
8783 position-independent.
8784
1cc75e92
YQ
87852017-12-01 Yao Qi <yao.qi@linaro.org>
8786
8787 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8788 the URL in copyright header.
8789 * gdb.arch/aarch64-fp.exp: Likewise.
8790 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8791 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8792 * gdb.base/expand-psymtabs.exp: Likewise.
8793 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8794 * gdb.fortran/common-block.exp: Likewise.
8795 * gdb.fortran/common-block.f90: Likewise.
8796 * gdb.fortran/logical.exp: Likewise.
8797 * gdb.fortran/vla-datatypes.f90: Likewise.
8798 * gdb.fortran/vla-sub.f90: Likewise.
8799
875fb7a7
JB
88002017-11-30 Joel Brobecker <brobecker@adacore.com>
8801
8802 * gdb.ada/repeat_dyn: New testcase.
8803
6f14765f
UW
88042017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8805
8806 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8807 Update for changed thread numbering.
8808 * gdb.cell/bt.exp: Update for changed GDB output.
8809
f1af7b94
SM
88102017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8811
8812 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8813 setting isremote by hand.
8814 * boards/dwarf4-gdb-index.exp: Likewise.
8815 * boards/fission.exp: Likewise.
8816 * boards/stabs.exp: Likewise.
8817
e3919f3e
PA
88182017-11-30 Pedro Alves <palves@redhat.com>
8819
8820 * gdb.linespec/cpls-ops.exp
8821 (check_explicit_skips_function_argument): Extract the underlying
8822 type of size_t instead of hardcoding it.
8823
bd69330d
PA
88242017-11-29 Pedro Alves <palves@redhat.com>
8825
8826 PR c++/19436
8827 * gdb.linespec/cpls-abi-tag.cc: New file.
8828 * gdb.linespec/cpls-abi-tag.exp: New file.
8829
a20714ff
PA
88302017-11-29 Pedro Alves <palves@redhat.com>
8831
8832 * gdb.base/langs.exp: Use -qualified.
8833 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8834 it.
8835 * gdb.cp/namespace.exp: Use -qualified.
8836 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8837 (overload-3, template-overload, template-ret-type, const-overload)
8838 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8839 procedures.
8840 (test_driver): Call them.
8841 * gdb.cp/save-bp-qualified.cc: New.
8842 * gdb.cp/save-bp-qualified.exp: New.
8843 * gdb.linespec/explicit.exp: Test -qualified.
8844 * lib/completion-support.exp (completion::explicit_opts_list): Add
8845 "-qualified".
8846 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8847
f6f1d339
PM
88482017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8849
8850 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8851
02ca603a
TT
88522017-11-29 Tom Tromey <tom@tromey.com>
8853
8854 * gdb.base/relocate.exp: Update invalid argument test.
8855 Add new tests for invalid arguments.
8856
ed6c0bfb
TP
88572017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8858
8859 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8860 Return 0 as a long.
8861 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8862
f106e10e
TP
88632017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8864
8865 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8866 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8867 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8868 func ().
8869 * gdb.cp/shadow.cc (B.func): Return 0.
8870
10329bb2
JB
88712017-11-27 Joel Brobecker <brobecker@adacore.com>
8872
8873 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8874 expected output in gdb_expect call to allow the exception
8875 message to be present as well. Fix syntax confusion to avoid
8876 TCL thinking that exception_name is an array.
8877
617cd4bc
UW
88782017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8879
8880 * gdb.arch/spu-info.c: Include <unistd.h>.
8881 (do_signal_test): Fix broken calls to write.
8882 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8883 Fix checks for empty mailboxes. Update signal tests for corrected
8884 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8885 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8886 * gdb.cell/arch.exp: Use standard_output_file.
8887 * gdb.cell/break.exp: Likewise.
8888 * gdb.cell/bt.exp: Likewise.
8889 * gdb.cell/core.exp: Likewise.
8890 * gdb.cell/dwarfaddr.exp: Likewise.
8891 * gdb.cell/ea-cache.exp: Likewise.
8892 * gdb.cell/ea-standalone.exp: Likewise.
8893 * gdb.cell/f-regs.exp: Likewise.
8894 * gdb.cell/fork.exp: Likewise.
8895 * gdb.cell/gcore.exp: Likewise.
8896 * gdb.cell/mem-access.exp: Likewise.
8897 * gdb.cell/ptype.exp: Likewise.
8898 * gdb.cell/registers.exp: Likewise.
8899 * gdb.cell/sizeof.exp: Likewise.
8900 * gdb.cell/solib-symbol.exp: Likewise.
8901 * gdb.cell/solib.exp: Likewise.
617cd4bc 8902
a81aaca0
PA
89032017-11-25 Pedro Alves <palves@redhat.com>
8904
8905 * gdb.base/complete-empty.exp: New file.
8906 * gdb.base/completion.exp: Adjust.
8907
6a3c6ee4
PA
89082017-11-25 Pedro Alves <palves@redhat.com>
8909
8910 * gdb.linespec/cpls-ops.cc: New file.
8911 * gdb.linespec/cpls-ops.exp: New file.
8912 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8913 factored out from ...
8914 (test_complete_prefix_range): ... this.
8915
8955eb2d
PA
89162017-11-24 Pedro Alves <palves@redhat.com>
8917
8918 * gdb.linespec/cpcompletion.exp: New file.
8919 * gdb.linespec/cpls-hyphen.cc: New file.
8920 * gdb.linespec/cpls.cc: New file.
8921 * gdb.linespec/cpls2.cc: New file.
8922 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8923 test to use test_gdb_complete_unique. Add label completion,
8924 keyword completion and explicit location completion tests.
8925 * lib/completion-support.exp: New file.
8926
e547c119
JB
89272017-11-24 Joel Brobecker <brobecker@adacore.com>
8928
8929 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8930 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8931 when hitting an exception catchpoint.
8932
7c3c1aa8
YQ
89332017-11-22 Yao Qi <yao.qi@linaro.org>
8934
8935 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8936
41bd68f5
SM
89372017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8938
8939 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8940 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8941 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8942
1daad298
YQ
89432017-11-22 Yao Qi <yao.qi@linaro.org>
8944
8945 * gdb.base/info-os.exp: Pass pthreads.
8946 * gdb.multi/multi-attach.exp: Likewise.
8947
88465e87
YQ
89482017-11-22 Yao Qi <yao.qi@linaro.org>
8949
8950 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8951 compiler.
8952
dc196b23
YQ
89532017-11-22 Yao Qi <yao.qi@linaro.org>
8954
8955 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8956 * gdb.base/break-interp.exp: Likewise.
8957 * gdb.base/jit-attach-pie.exp: Likewise.
8958
2400729e
UW
89592017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8960
8961 * gdb.base/float128.c (large128): New variable.
8962 * gdb.base/float128.exp: Add test to print largest __float128 value.
8963
7a26362d
UW
89642017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8965
8966 * gdb.arch/vsx-regs.exp: Update register content checks.
8967
ed0f4273
UW
89682017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8969
8970 * gdb.arch/ppc-longdouble.exp: New file.
8971 * gdb.arch/ppc-longdouble.c: Likewise.
8972
a25d69c6
PA
89732017-11-21 Pedro Alves <palves@redhat.com>
8974
8975 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8976
73fcf641
PA
89772017-11-20 Pedro Alves <palves@redhat.com>
8978
8979 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8980 (long_double_typedef): New typedefs.
8981 Use DEF on double and long double.
8982 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8983 cases.
8984 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8985 and 'long_double_ptr_same_size' locals. Use them to decide
8986 whether cast from array/function to float is valid/invalid.
8987
71a3c369
TT
89882017-11-17 Tom Tromey <tom@tromey.com>
8989
8990 * gdb.rust/traits.rs: New file.
8991 * gdb.rust/traits.exp: New file.
8992
ced9779b
JB
89932017-11-17 Joel Brobecker <brobecker@adacore.com>
8994
8995 * gdb.ada/minsyms: New testcase.
8996
a0922d80
PA
89972017-11-16 Pedro Alves <palves@redhat.com>
8998
8999 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9000 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9001
ea04e54c
PA
90022017-11-16 Pedro Alves <palves@redhat.com>
9003
9004 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9005 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9006
e849ea89
PA
90072017-11-16 Pedro Alves <palves@redhat.com>
9008
9009 * gdb.server/reconnect-ctrl-c.c: New file.
9010 * gdb.server/reconnect-ctrl-c.exp: New file.
9011
d8ae99a7
PM
90122017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9013
9014 * gdb.python/py-rbreak.exp: New file.
9015 * gdb.python/py-rbreak.c: New file.
9016 * gdb.python/py-rbreak-func2.c: New file.
9017
968a13f8
PA
90182017-11-16 Pedro Alves <palves@redhat.com>
9019
9020 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9021 pattern.
9022 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9023 GDB.
9024
71774bc9
SM
90252017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9026
9027 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9028 regex.
9029
ddbb44cf
SM
90302017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9031
9032 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9033 test names.
9034
584a564f
PA
90352017-11-09 Pedro Alves <palves@redhat.com>
9036
9037 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9038 factored out from ...
9039 (top level): ... here, and adjusted to avoid expecting beyond the
9040 prompt in a single gdb_test_multiple.
9041
5ed7a928
PA
90422017-11-09 Pedro Alves <palves@redhat.com>
9043
9044 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9045 output.
9046 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9047 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9048 * gdb.server/ext-run.exp ("kill" test): Likewise.
9049 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9050
a60e0738
PA
90512017-11-09 Pedro Alves <palves@redhat.com>
9052
9053 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9054 match till end of line.
9055
2c88253f
PA
90562017-11-09 Pedro Alves <palves@redhat.com>
9057
9058 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9059
c7a38517
PA
90602017-11-09 Pedro Alves <palves@redhat.com>
9061
9062 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9063 New procedures, factored out from ...
9064 (top level): ... here, and adjusted to avoid expecting beyond the
9065 prompt in one go.
9066
f29f4b6b
PA
90672017-11-09 Pedro Alves <palves@redhat.com>
9068
9069 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9070 output. Fix '?' match.
9071
286acbb5
JB
90722017-11-08 Joel Brobecker <brobecker@adacore.com>
9073
9074 * gdb.ada/scoped_watch: New testcase.
9075 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9076 which is actually correct.
9077 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9078 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9079
62d7ae92
PA
90802017-11-08 Pedro Alves <palves@redhat.com>
9081
9082 * gdb.gdb/complaints.exp (test_initial_complaints)
9083 (test_serial_complaints, test_short_complaints): Call
9084 complaint_internal instead of complaint.
9085
280ca31f
DT
90862017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9087
9088 * gdb.threads/tls-core.c: New file.
9089 * gdb.threads/tls-core.exp: Likewise.
9090
b5ec771e
PA
90912017-11-08 Pedro Alves <palves@redhat.com>
9092
9093 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9094 (p Exported_Capitalized): New test.
9095 (p exported_capitalized): New test.
9096
a02b41a7
PA
90972017-11-07 Pedro Alves <palves@redhat.com>
9098
9099 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9100
95e95a6d
PA
91012017-11-07 Pedro Alves <palves@redhat.com>
9102
9103 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9104 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9105 (disable_invalid, disable_inverted, disable_negative): New
9106 procedures.
9107 ("bad numbers"): New set of tests.
9108
cee62dbd
PA
91092017-11-07 Pedro Alves <palves@redhat.com>
9110
9111 * gdb.cp/ena-dis-br-range.exp: Add tests.
9112
cc638e86
PA
91132017-11-07 Pedro Alves <palves@redhat.com>
9114
9115 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9116
d0fe4701
XR
91172017-11-07 Xavier Roirand <roirand@adacore.com>
9118 Pedro Alves <palves@redhat.com>
9119
9120 * gdb.base/ena-dis-br.exp: Add reference to
9121 gdb.cp/ena-dis-br-range.exp.
9122 * gdb.cp/ena-dis-br-range.exp: New file.
9123 * gdb.cp/ena-dis-br-range.cc: New file.
9124
46f67f80
PA
91252017-11-06 Pedro Alves <palves@redhat.com>
9126
9127 * gdb.base/attach-non-pgrp-leader.c: New.
9128 * gdb.base/attach-non-pgrp-leader.exp: New.
9129
726e1356
PA
91302017-11-06 Pedro Alves <palves@redhat.com>
9131
9132 * configure.ac: No longer check for termio.h and sgtty.h.
9133 * configure: Regenerate.
9134 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9135 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9136 Remove termio and sgtty code.
9137
50ab6ace
YQ
91382017-11-03 Yao Qi <yao.qi@linaro.org>
9139
9140 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9141 in GDB is disabled.
9142
8e68731c
YQ
91432017-11-03 Yao Qi <yao.qi@linaro.org>
9144
9145 * gdb.python/py-thrhandle.exp: Skip it if python is not
9146 enabled.
9147
3a87ae65
SM
91482017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9149
9150 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9151 as a breakpoint command.
9152
484d8d36
MD
91532017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9154
9155 PR python/21213
9156 * gdb.python/py-infthread.exp: Test calling
9157 InferiorThread.inferior () multiple times in a row.
9158
4a27f119
KS
91592017-10-27 Keith Seitz <keiths@redhat.com>
9160
9161 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9162 Test "info break" for every inlined function breakpoint.
9163
bb11dd58
YQ
91642017-10-27 Yao Qi <yao.qi@linaro.org>
9165
9166 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9167
a43f3893
PF
91682017-10-26 Patrick Frants <osscontribute@gmail.com>
9169
9170 * gdb.cp/classes.exp (test_static_members): Test printing
9171 Outer::instance.
9172 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9173 (Inner::instance, Outer::instance): New.
9174
792ccf00
PA
91752017-10-24 Pedro Alves <palves@redhat.com>
9176
9177 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9178 extra console" test in two stages.
9179
eb2bfbad
PA
91802017-10-24 Pedro Alves <palves@redhat.com>
9181
9182 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9183
1f75a651
PA
91842017-10-24 Pedro Alves <palves@redhat.com>
9185
9186 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9187 loop.
9188
779990d9
PA
91892017-10-24 Pedro Alves <palves@redhat.com>
9190
9191 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9192 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9193
ad9b8f5d
PA
91942017-10-24 Pedro Alves <palves@redhat.com>
9195
9196 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9197 parameter and handle it. Don't output read value in test name.
9198
fee6da6e
PA
91992017-10-24 Pedro Alves <palves@redhat.com>
9200
9201 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9202 custom test name.
9203
10389c2c
PA
92042017-10-24 Pedro Alves <palves@redhat.com>
9205
9206 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9207 include the unstable output directory name in the test's name.
9208 (initial_setup_simple) <'set args'>: Use custom test name.
9209
a80e65a9
PA
92102017-10-24 Pedro Alves <palves@redhat.com>
9211
9212 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9213 with explicit test name.
9214
15763a09
PA
92152017-10-20 Pedro Alves <palves@redhat.com>
9216
9217 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9218 'wait -i'. Use gdb_assert and remote_close.
9219
49a4ce2e
AB
92202017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9221
9222 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9223 number from variable rather than hard-coded.
9224
a75868f5
PA
92252017-10-19 Pedro Alves <palves@redhat.com>
9226
9227 * gdb.base/long-inferior-output.c: New file.
9228 * gdb.base/long-inferior-output.exp: New file.
9229
c8ba13ad
KS
92302017-11-18 Keith Seitz <keiths@redhat.com>
9231
9232 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9233 method.
9234 (main): Call it.
9235 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9236 Add additional user-defined conversion operator tests.
9237
b27de576
PA
92382017-10-17 Pedro Alves <palves@redhat.com>
9239
9240 * boards/native-stdio-gdbserver.exp: Load "local-board".
9241
8484c955
PA
92422017-10-17 Pedro Alves <palves@redhat.com>
9243
9244 * gdb.base/quit-live.c: New file.
9245 * gdb.base/quit-live.exp: New file.
9246
83d5a34d
KS
92472017-10-16 Keith Seitz <keiths@redhat.com>
9248
9249 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9250 (class_with_protected_typedef, class_with_private_typedef)
9251 (struct_with_public_typedef, struct_with_protected_typedef)
9252 (struct_with_private_typedef): New classes/structs.
9253 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9254 typedefs and access specifiers.
9255
739b3f1d
PA
92562017-10-16 Pedro Alves <palves@redhat.com>
9257 Simon Marchi <simon.marchi@polymtl.ca>
9258
9259 * README (Local vs Remote vs Native): New section.
9260 * boards/local-board.exp: New file, with bits factored out from
9261 ...
9262 * boards/native-extended-gdbserver.exp: ... here. Load
9263 "local-board".
9264 * boards/native-gdbserver.exp: Load "local-board".
9265 (${board}_spawn, ${board}_exec): Delete.
9266 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9267 ...
9268 * boards/stdio-gdbserver-base.exp: ... this new file.
9269 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9270 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9271 procedure.
9272 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9273 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9274 stdio_gdbserver_command.
9275 (${board}_get_remote_address, ${board}_get_comm_port)
9276 (${board}_download, ${board}_upload): Delete.
9277 (get_target_remote_pipe_cmd): New.
9278
fe68b953
SM
92792017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9280
9281 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9282 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9283 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9284 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9285 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9286 remove with_test_prefix.
9287
300b6685
PA
92882017-10-13 Pedro Alves <palves@redhat.com>
9289
9290 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9291 * gdb.base/annota1.exp: Use it instead of is_remote.
9292 * gdb.base/annota3.exp: Use it instead of is_remote.
9293 * gdb.cp/annota2.exp: Use it instead of is_remote.
9294 * gdb.cp/annota3.exp: Use it instead of is_remote.
9295 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9296
50500caf
PA
92972017-10-13 Pedro Alves <palves@redhat.com>
9298
9299 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9300 (test_num_test_vars, run_and_count_vars, find_env)
9301 (test_set_unset_env, test_inherit_env_var): New procedures.
9302 (top level): Use them.
9303
dad0c6d2
PA
93042017-10-13 Pedro Alves <palves@redhat.com>
9305
9306 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9307 also skip on stub-like targets.
9308
8b0553c1
PA
93092017-10-13 Pedro Alves <palves@redhat.com>
9310
9311 PR gdb/22293
9312 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9313 (top level): Move some tests to ...
9314 (test_not_found): ... this new procedure.
9315 (top level): Call it.
9316
7594f623
PA
93172017-10-13 Pedro Alves <palves@redhat.com>
9318
9319 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9320 expect different "info terminal" output if testing with a
9321 non-native target.
9322
ebe3b402
PA
93232017-10-13 Pedro Alves <palves@redhat.com>
9324 Simon Marchi <simon.marchi@polymtl.ca>
9325
9326 PR python/12966
9327 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9328
42f1b161
PA
93292017-10-13 Pedro Alves <palves@redhat.com>
9330
9331 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9332 already.
9333
8d6ef72b
PA
93342017-10-13 Pedro Alves <palves@redhat.com>
9335
9336 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9337 is_remote.
9338
d7bcd5b8
PA
93392017-10-13 Pedro Alves <palves@redhat.com>
9340
9341 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9342 is_remote.
9343
df479dc6
PA
93442017-10-13 Pedro Alves <palves@redhat.com>
9345
9346 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9347 is set.
9348 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9349 instead of is_remote.
9350
23fb630a
PA
93512017-10-13 Pedro Alves <palves@redhat.com>
9352
9353 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9354 (top level): Add comment.
9355
cc77b1dc
PA
93562017-10-13 Pedro Alves <palves@redhat.com>
9357
9358 * gdb.base/remote.exp (top level): Fix comment typo and add
9359 missing return.
9360
27c9e813
PA
93612017-10-13 Pedro Alves <palves@redhat.com>
9362 Simon Marchi <simon.marchi@polymtl.ca>
9363
9364 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9365 calls and add comments. Skip test if use_gdb_stub is set.
9366 (top level): Use "set cwd" command instead of "cd" command.
9367
5e830d98
PA
93682017-10-13 Pedro Alves <palves@redhat.com>
9369
9370 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9371 is_remote target check.
9372
f5ca0032
PA
93732017-10-13 Pedro Alves <palves@redhat.com>
9374
9375 * gdb.base/scope.exp: Use build_executable + clean_restart +
9376 gdb_file_cmd instead of prepare_for_testing and no longer skip
9377 "before run" tests on is_remote target boards. Update comments.
9378 * boards/native-extended-gdbserver.exp
9379 (extended_gdbserver_load_last_file): New, factored out from ...
9380 (gdb_load): ... this. Move further below and add comment.
9381 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9382
8aed1c0d
PA
93832017-10-12 Pedro Alves <palves@redhat.com>
9384
9385 * gdb.base/attach.exp: Remove references to gdb64.
9386 * gdb.base/dbx.exp: Remove references to gdb64.
9387
cfa34c87
SM
93882017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9389 Pedro Alves <palves@redhat.com>
9390
9391 * gdb.base/label.exp: Remove is_remote target check.
9392
9192b7de
PA
93932017-10-12 Pedro Alves <palves@redhat.com>
9394
9395 * gdb.base/auvx.exp (coredir): Update comment.
9396 (top level) <core_works>: Use "set cwd" command instead of "cd"
9397 command.
9398
6bf0052d
PA
93992017-10-12 Pedro Alves <palves@redhat.com>
9400 Simon Marchi <simon.marchi@polymtl.ca>
9401
9402 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9403 target boards.
9404
e48ef82d
PA
94052017-10-12 Pedro Alves <palves@redhat.com>
9406 Simon Marchi <simon.marchi@polymtl.ca>
9407
9408 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9409 Instead skip if there's any gdb_protocol set.
9410
8d7aea57
SM
94112017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9412 Pedro Alves <palves@redhat.com>
9413
9414 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9415
30440677
PA
94162017-10-12 Pedro Alves <palves@redhat.com>
9417 Simon Marchi <simon.marchi@polymtl.ca>
9418
9419 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9420 instead of on dejagnu remote boards.
9421
4e04f045 94222017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9423 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9424
9425 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9426 checks. Use build_executable + clean_restart instead of
9427 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9428 of enabling non-stop after starting gdb.
9429
871a186e
PA
94302017-10-12 Pedro Alves <palves@redhat.com>
9431
9432 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9433 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9434 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9435 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9436
56d704da
AK
94372017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9438
9439 * gdb.arch/arc-tdesc-cpu.exp: New file.
9440 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9441
2f20e312
SM
94422017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9443
9444 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9445
65630365
PA
94462017-10-10 Pedro Alves <palves@redhat.com>
9447
9448 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9449 expect CLI output.
9450
bf469271
PA
94512017-10-10 Pedro Alves <palves@redhat.com>
9452
9453 * lib/selftest-support.exp (selftest_setup): Update for
9454 captured_command_loop's prototype change.
9455
777a42f1
PA
94562017-10-09 Pedro Alves <palves@redhat.com>
9457
9458 Test both arch1=>arch2 and arch2=>arch1.
9459
9460 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9461 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9462 factored out to...
9463 (append_arch1_options, append_arch2_options, append_arch_options)
9464 (build_executables): New procedures.
9465 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9466 local.
9467 (top level): Add new 'first_arch' testing axis.
9468
cbd2b4e3
PA
94692017-10-09 Pedro Alves <palves@redhat.com>
9470
9471 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9472 (barrier): New.
9473 (thread_start, all_started): New functions.
9474 (main): Spawn new thread and wait until it is scheduled.
9475 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9476 option.
9477 (do_test): Add 'selected_thread' parameter. Run to all_started
9478 instead of main. Explicitly set the breakpoint at main. Switch
9479 to the SELECTED_THREAD thread.
9480 (top level): Test handling the exec event with either the main
9481 thread or the second thread selected.
9482
5c9e4427
PA
94832017-10-09 Pedro Alves <palves@redhat.com>
9484
9485 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9486 logic. Move STOP marker after the value checks.
9487 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9488 regexp.
9489
b3b7c423
SL
94902017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9491
9492 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9493
3b4b2f16
UW
94942017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9495
9496 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9497 integer-to-dfp conversion.
9498 * gdb.base/dfp-test.exp: Likewise.
9499
5cd63fda
PA
95002017-10-04 Pedro Alves <palves@redhat.com>
9501
9502 * gdb.multi/hangout.c: Include <unistd.h>.
9503 (hangout_loop): New function.
9504 (main): Call alarm. Call hangout_loop in a loop.
9505 * gdb.multi/hello.c: Include <unistd.h>.
9506 (hello_loop): New function.
9507 (main): Call alarm. Call hangout_loop in a loop.
9508 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9509 inferior with the other selected.
9510
4c71c105
SM
95112017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9512
9513 * gdb.mi/list-thread-groups-available.exp: New file.
9514 * gdb.mi/list-thread-groups-available.c: New file.
9515
bc3b087d
SDJ
95162017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9517
9518 * gdb.base/set-cwd.exp: Make it available on
9519 native-extended-gdbserver.
9520
d092c5a2
SDJ
95212017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9522
9523 * gdb.base/set-cwd.c: New file.
9524 * gdb.base/set-cwd.exp: Likewise.
9525
45320ffa
TT
95262017-10-02 Tom Tromey <tom@tromey.com>
9527
9528 PR rust/22236:
9529 * gdb.rust/simple.rs (main): New variable "fslice".
9530 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9531
b3e3859b
TT
95322017-10-02 Tom Tromey <tom@tromey.com>
9533
9534 * gdb.rust/simple.exp: Test ptype of a slice.
9535
01af5e0d
TT
95362017-10-02 Tom Tromey <tom@tromey.com>
9537
9538 * gdb.rust/simple.exp: Test index of slice.
9539
a9bbfbd8
TT
95402017-09-27 Tom Tromey <tom@tromey.com>
9541
9542 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9543
df8899e5
TP
95442017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9545 Pedro Alves <palves@redhat.com>
9546
9547 * gdb.base/compare-sections.exp (get value of read-only section): Read
9548 as unsigned value.
9549 (corrupt read-only section): Likewise and don't set written if patching
9550 failed.
9551
757bf54b
KB
95522017-09-21 Kevin Buettner <kevinb@redhat.com>
9553
9554 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9555 files.
9556
06871ae8
PA
95572017-09-20 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9560 symbol names in gdb's output.
9561 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9562
e5f25bc5
PA
95632017-09-20 Pedro Alves <palves@redhat.com>
9564
9565 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9566 Rename to ...
9567 (test_list_ambiguous_symbol): ... this and add a symbol name
9568 parameter. Adjust.
9569 (test_list_ambiguous_function): Reimplement on top of
9570 test_list_ambiguous_symbol and also test listing ambiguous
9571 variables.
9572 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9573 (ambiguous_fun): ... this.
9574 (ambiguous_var): New.
9575 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9576 (ambiguous_fun): ... this.
9577 (ambiguous_var): New.
9578
4e5a4f58
JB
95792017-09-19 John Baldwin <jhb@FreeBSD.org>
9580
9581 * gdb.base/starti.c: New file.
9582 * gdb.base/starti.exp: New file.
9583 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9584
26e53f3e
PA
95852017-09-14 Pedro Alves <palves@redhat.com>
9586
9587 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9588 (top level): Use it instead of runto.
9589
cb791d59
TT
95902017-09-11 Tom Tromey <tom@tromey.com>
9591
9592 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9593
7c96f8c1
TT
95942017-09-11 Tom Tromey <tom@tromey.com>
9595
9596 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9597 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9598
469412dd
CW
95992017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9600
9601 * gdb.fortran/printing-types.exp: New file.
9602 * gdb.fortran/printing-types.exp: New file.
9603
e0f86435
BH
96042017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9605
9606 * gdb.fortran/vla-ptype.exp: Fix typos.
9607 * gdb.fortran/vla-value.exp: Same.
9608
9e9af4be
BH
96092017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9610
9611 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9612 * gdb.mi/mi-var-child-f.exp: Likewise.
9613 * gdb.mi/mi-vla-fortran.exp: Likewise.
9614
a5ad232b 96152017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9616 Christoph Weinmann <christoph.t.weinmann@intel.com>
9617 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9618
9619 * gdb.fortran/ptr-indentation.f90: New file.
9620 * gdb.fortran/ptr-indentation.exp: New file.
9621
5aec60eb
TT
96222017-09-05 Tom Tromey <tom@tromey.com>
9623
9624 PR gdb/22010:
9625 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9626
8f8f8152
TP
96272017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9628
9629 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9630
fbd1b771
JK
96312017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9632
9633 * gdb.threads/tls-nodebug-pie.c: New file.
9634 * gdb.threads/tls-nodebug-pie.exp: New file.
9635
5eb5f850
TT
96362017-09-05 Tom Tromey <tom@tromey.com>
9637
9638 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9639 for rust.
9640
ae780a21
SM
96412017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9642
9643 * gdb.multi/multi-arch-exec.exp: Test with different
9644 "follow-exec-mode" settings.
9645 (do_test): New procedure.
9646
3693fdb3
PA
96472017-09-04 Pedro Alves <palves@redhat.com>
9648
9649 * gdb.base/func-static.c (S::method const, S::method volatile)
9650 (S::method volatile const): New methods.
9651 (c_s, v_s, cv_s): New instances.
9652 (main): Call method() on them.
9653 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9654 (cannot_resolve): New procedure.
9655 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9656 print-quote-unquoted columns.
9657 (do_test): Test printing each scope too.
9658
e68cb8e0
PA
96592017-09-04 Pedro Alves <palves@redhat.com>
9660
9661 * gdb.base/local-static.exp: Also test with
9662 class::method::variable wholly quoted.
9663 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9664
858be34c
PA
96652017-09-04 Pedro Alves <palves@redhat.com>
9666
9667 * gdb.base/local-static.c: New.
9668 * gdb.base/local-static.cc: New.
9669 * gdb.base/local-static.exp: New.
9670
46a4882b
PA
96712017-09-04 Pedro Alves <palves@redhat.com>
9672
9673 * gdb.asm/asm-source.exp: Add casts to int.
9674 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9675 (dataglobal64_1, dataglobal64_2): New globals.
9676 * gdb.base/nodebug.exp: Test different expressions involving the
9677 new globals, with print, whatis and ptype. Add casts to int.
9678 * gdb.base/solib-display.exp: Add casts to int.
9679 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9680 * gdb.cp/m-static.exp: Add cast to int.
9681 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9682 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9683 tls variable with no debug info without a cast. Test with a cast
9684 to int too.
9685 * gdb.trace/entry-values.exp: Add casts.
9686
2c5a2be1
PA
96872017-09-04 Pedro Alves <palves@redhat.com>
9688
9689 * gdb.base/nodebug.exp: Test that ptype's error about functions
9690 with unknown return type includes the function name too.
9691
7022349d
PA
96922017-09-04 Pedro Alves <palves@redhat.com>
9693
9694 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9695 return type of munmap in infcall.
9696 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9697 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9698 type of ftell in infcall.
9699 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9700 type of getpid in infcall.
9701 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9702 infcall.
9703 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9704 Bail on failure to extract the pid.
9705 * gdb.base/nodebug.c: #include <stdint.h>.
9706 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9707 New functions.
9708 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9709 Change expected output of print/whatis/ptype with functions with
9710 no debug info. Test all supported languages. Call
9711 test_call_promotion.
9712 * gdb.compile/compile.exp: Adjust expected output to expect
9713 warning.
9714 * gdb.threads/siginfo-threads.exp: Likewise.
9715
54990598
PA
97162017-09-04 Pedro Alves <palves@redhat.com>
9717
9718 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9719 "prototypes". Test calling float functions via prototyped and
9720 unprototyped function pointers.
9721 (perform_all_tests): New parameter "prototypes". Pass it down.
9722 (top level): Pass down "prototypes" parameter to
9723 perform_all_tests.
9724
34d16ea2
SM
97252017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9726
9727 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9728 Test with nested loops.
9729
9521ecda
SM
97302017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9731
9732 * gdb.base/commands.exp: Call the new procedures.
9733 (loop_break_test, loop_continue_test): New procedures.
9734
80a65e9b
SM
97352017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9736
9737 * gdb.base/commands.exp: Call new procedure.
9738 (define_if_without_arg_test): New procedure.
9739
e439fa14
PA
97402017-09-04 Pedro Alves <palves@redhat.com>
9741
9742 * gdb.base/list-ambiguous.exp: New file.
9743 * gdb.base/list-ambiguous0.c: New file.
9744 * gdb.base/list-ambiguous1.c: New file.
9745 * gdb.base/list.exp (test_list_range): Adjust expected output.
9746
0a2dde4a
SDJ
97472017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9748
9749 * gdb.base/share-env-with-gdbserver.c: New file.
9750 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9751
5e89eb3a
SM
97522017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9753
9754 * gdb.base/commands.exp (gdbvar_simple_if_test,
9755 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9756 progvar_simple_if_test, progvar_simple_while_test,
9757 progvar_complex_if_while_test, user_defined_command_test,
9758 user_defined_command_args_eval,
9759 user_defined_command_args_stack_test,
9760 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9761 temporary_breakpoint_commands,
9762 gdb_test_no_prompt, redefine_hook_test,
9763 redefine_backtrace_test): Remove "global gdb_prompt".
9764
fd437cbc
SM
97652017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9766
9767 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9768 New proc, call it from toplevel.
9769
87215ad1
SDJ
97702017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9771
9772 PR remote/21852
9773 * gdb.server/normal.c: New file, copied from gdb.base.
9774 * gdb.server/run-without-local-binary.exp: New file.
9775
58afddc6
WP
97762017-08-07 Weimin Pan <weimin.pan@oracle.com>
9777
9778 * gdb.arch/sparc64-adi.exp: New file.
9779 * gdb.arch/sparc64-adi.c: New file.
9780
5277199a
PA
97812017-08-22 Pedro Alves <palves@redhat.com>
9782
9783 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9784 (top level): Add "list all overloads" tests.
9785
14278e1f
TT
97862017-08-22 Tom Tromey <tom@tromey.com>
9787
9788 * gdb.gdb/xfullpath.exp: Remove.
9789
bf223d3e
PA
97902017-08-21 Pedro Alves <palves@redhat.com>
9791
9792 PR gdb/19487
9793 * gdb.base/symbol-alias.c: New.
9794 * gdb.base/symbol-alias2.c: New.
9795 * gdb.base/symbol-alias.exp: New.
9796
c973d0aa
PA
97972017-08-21 Pedro Alves <palves@redhat.com>
9798
9799 * gdb.base/dfp-test.c
9800 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9801 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9802 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9803 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9804 * gdb.base/whatis-ptype-typedefs.c: New.
9805 * gdb.base/whatis-ptype-typedefs.exp: New.
9806 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9807 (an_int, an_int_type, an_int_type2): New globals.
9808 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9809 involving typedefs and cast expressions.
9810 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9811 (lookup_typedefs_function): New.
9812 (typedefs_pretty_printers_dict): New.
9813 (top level): Register lookup_typedefs_function in
9814 gdb.pretty_printers.
9815
6d580b63
YQ
98162017-08-18 Yao Qi <yao.qi@linaro.org>
9817
9818 * gdb.server/unittest.exp: New.
9819
206726fb
SDJ
98202017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9821
9822 PR gdb/21954
9823 * gdb.base/environ.exp: Add test to check if 'unset environment'
9824 works.
9825
bf0ec4c2
AA
98262017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9827
9828 * lib/gdb.exp (universal_compile_options): New caching proc.
9829 (gdb_compile): Suppress GCC's coloring of messages.
9830
d6382fff
TT
98312017-08-14 Tom Tromey <tom@tromey.com>
9832
9833 PR gdb/21675:
9834 * gdb.base/printcmds.exp (test_radices): New function.
9835 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9836 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9837 * lib/gdb.exp (get_integer_valueof): Use p/d.
9838
c2c2dd9f
SM
98392017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9840
9841 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9842 characters.
9843
fdffd6f4
TT
98442017-08-05 Tom Tromey <tom@tromey.com>
9845
9846 * gdb.rust/simple.exp: Allow String to appear in a different
9847 namespace.
9848
27d41eac
YQ
98492017-07-26 Yao Qi <yao.qi@linaro.org>
9850
9851 * gdb.gdb/unittest.exp: Invoke command
9852 "maintenance check xml-descriptions".
9853
031ed05d
AA
98542017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9855
9856 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9857 calling context.
9858 (hex128): Drop erroneous calculation of parameters.
9859
dcd27ddf
SM
98602017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9861
9862 * gdb.python/py-unwind.exp: Disable stack protection when
9863 building test file.
9864
47e77640
PA
98652017-07-20 Pedro Alves <palves@redhat.com>
9866
9867 * gdb.base/default.exp (set language): Adjust expected output.
9868
62d2a18a
PA
98692017-07-20 Pedro Alves <palves@redhat.com>
9870
9871 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9872 (test_minsym): ... this, and make static.
9873 (get_pck__foo__bar__minsym): Rename to ...
9874 (get_test_minsym): ... this.
9875 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9876 symbol names and comments.
9877 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9878 (get_test_minsym): ... this.
9879 (pck__foo__bar__minsym__2): Rename to ...
9880 (test_minsym): ... this.
9881 (main): Adjust.
9882
c45ec17c
PA
98832017-07-17 Pedro Alves <palves@redhat.com>
9884
9885 * gdb.base/completion.exp: Adjust expected output.
9886 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9887 the completer works.
9888
c6756f62
PA
98892017-07-17 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9892
5bd68487
AB
98932017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9894
9895 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9896
8880f2a9
TT
98972017-07-14 Tom Tromey <tom@tromey.com>
9898
9899 PR rust/21764:
9900 * gdb.rust/simple.exp: Add tests.
9901
65547233
TT
99022017-07-14 Tom Tromey <tom@tromey.com>
9903
9904 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9905
8f14146e
PA
99062017-07-14 Pedro Alves <palves@redhat.com>
9907
9908 * gdb.linespec/base/one/thefile.cc (z1): New function.
9909 * gdb.linespec/base/two/thefile.cc (z2): New function.
9910 * gdb.linespec/linespec.exp: Add tests.
9911
b4365d02
AB
99122017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9913
9914 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9915 to mi_create_breakpoint.
9916
5d2cbaa5
AB
99172017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9918
9919 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9920 mi_create_breakpoint.
9921
11cb5716
IB
99222017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9923
9924 * gdb.dlang/demangle.exp: Update for demangling changes.
9925
03278692
TT
99262017-07-09 Tom Tromey <tom@tromey.com>
9927
9928 * gdb.dwarf2/shortpiece.exp: New file.
9929
33c5cd75
DB
99302017-07-06 David Blaikie <dblaikie@gmail.com>
9931
9932 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9933 built from fissiont-multi-cu{1,2}.c.
9934 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9935 except putting 'main' and 'func' in separate CUs in the same DWO file.
9936 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9937 test.
9938 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9939 test.
9940
8455d262
PA
99412017-07-06 Pedro Alves <palves@redhat.com>
9942
9943 * gdb.python/py-unwind.exp: Test flushregs.
9944
dc4bde35
SDJ
99452017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9946
9947 PR cli/21688
9948 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9949 tests for alias commands and trailing whitespace.
9950
51ed89aa
SDJ
99512017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9952
9953 PR cli/21688
9954 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9955 procedure. Call it.
9956
eb17d413
PA
99572017-06-29 Pedro Alves <palves@redhat.com>
9958
9959 * gdb.base/printcmds.exp: Add tests.
9960
41664b45
DG
99612017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9962
9963 PR gdb/21337
9964 * gdb.base/reread-readsym.exp: New file.
9965 * gdb.base/reread-readsym.c: New file.
9966
75312ae3
KB
99672017-06-21 Kevin Buettner <kevinb@redhat.com>
9968
9969 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9970 subpattern.
9971
66953522
PB
99722017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9973
9974 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9975 extended mnemonic.
9976 * gdb.arch/powerpc-power9.s: Likewise.
9977
5524b525
AA
99782017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9979
9980 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9981 on 32-bit x86 targets. Exploit is_*_target macros where
9982 appropriate.
9983
03c8af18
AA
99842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9985
9986 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9987 register pieces.
9988
3bf31011
AA
99892017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9990
9991 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9992 located in one or more DWARF pieces.
9993
805acca0
AA
99942017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9995
9996 * lib/gdb.exp (get_endianness): New proc.
9997 * gdb.arch/aarch64-fp.exp: Use it.
9998 * gdb.arch/altivec-regs.exp: Likewise.
9999 * gdb.arch/e500-regs.exp: Likewise.
10000 * gdb.arch/vsx-regs.exp: Likewise.
10001 * gdb.base/dump.exp: Likewise.
10002 * gdb.base/funcargs.exp: Likewise.
10003 * gdb.base/gnu_vector.exp: Likewise.
10004 * gdb.dwarf2/formdata16.exp: Likewise.
10005 * gdb.dwarf2/implptrpiece.exp: Likewise.
10006 * gdb.dwarf2/nonvar-access.exp: Likewise.
10007 * gdb.python/py-inferior.exp: Likewise.
10008 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10009
e9352324
AA
100102017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10011
10012 PR gdb/21226
10013 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10014 stack value pieces are taken from the LSB end.
10015
d5d1163e
AA
100162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10017
10018 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10019 variable at nonzero offset.
10020
0567c986
AA
100212017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10022
10023 * gdb.dwarf2/var-access.c: New file.
10024 * gdb.dwarf2/var-access.exp: New test.
10025 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10026
973e9aab
TT
100272017-06-12 Tom Tromey <tom@tromey.com>
10028
10029 * gdb.dwarf2/formdata16.exp: Add tests.
10030
d9109c80
TT
100312017-06-12 Tom Tromey <tom@tromey.com>
10032
10033 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10034
30a25466
TT
100352017-06-12 Tom Tromey <tom@tromey.com>
10036
10037 PR exp/16225:
10038 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10039 * gdb.arch/vsx-regs.exp: Update tests.
10040 * gdb.arch/s390-vregs.exp (hex128): New proc.
10041 Update test.
10042 * gdb.arch/altivec-regs.exp: Update tests.
10043
aefd8b33
SDJ
100442017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10045
10046 * gdb.base/startup-with-shell.c: New file.
10047 * gdb.base/startup-with-shell.exp: Likewise.
10048
2090129c
SDJ
100492017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10050
10051 * gdb.server/non-existing-program.exp: Update regex in order to
10052 reflect the fact that gdbserver is now using fork_inferior (with a
10053 shell) to startup the inferior.
10054
8e86a419
SM
100552017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10056
10057 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10058 support function calls from GDB.
10059
e6cf65f2
TT
100602017-05-21 Tom Tromey <tom@tromey.com>
10061
10062 PR rust/21466:
10063 * gdb.rust/unsized.exp: New file.
10064 * gdb.rust/unsized.rs: New file.
10065
43cc5389
TT
100662017-05-19 Tom Tromey <tom@tromey.com>
10067
10068 PR rust/21484:
10069 * gdb.rust/watch.exp: New file.
10070 * gdb.rust/watch.rs: New file.
10071
ec8df234
TT
100722017-05-18 Tom Tromey <tom@tromey.com>
10073
10074 * gdb.rust/simple.exp: Allow Box to be qualified.
10075
3e3e7fae
TP
100762017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10077
10078 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10079
59cc050d
PA
100802017-05-18 Pedro Alves <palves@redhat.com>
10081
10082 * gdb.base/fileio.c (test_write, test_read, test_close)
10083 (test_fstat): Don't print 'ret' in the fail path.
10084
c8f6abd1
PA
100852017-05-18 Pedro Alves <palves@redhat.com>
10086
10087 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10088 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10089 (test_system, test_rename, test_unlink, test_time): Change
10090 prototypes.
10091 * gdb.base/fileio.exp (stop_msg): Adjust.
10092
d2a03b77
PA
100932017-05-18 Pedro Alves <palves@redhat.com>
10094
10095 * gdb.base/fileio.c (null_str): New global.
10096 (test_stat): Use it.
10097 * gdb.base/fileio.exp: Remove nowarnings.
10098
0d5c6999
YQ
100992017-05-17 Yao Qi <yao.qi@linaro.org>
10100
10101 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10102
21873064
YQ
101032017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10104
10105 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10106 argument command.
10107 (top-level): Invoke test_set_inferior_tty.
10108
d512d31c
PA
101092017-05-04 Pedro Alves <palves@redhat.com>
10110
10111 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10112 Add parens to print call for Python 3.
10113
90cef2ed
KS
101142017-05-03 Keith Seitz <keiths@redhat.com>
10115
10116 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10117 (main): Call it.
10118
14f819c8
TW
101192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10120
10121 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10122 to prev and next.
10123
913aeadd
TW
101242017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10125
10126 * gdb.python/py-record-btrace.exp: Remove test for
10127 gdb.BtraceInstruction.error.
10128
a3be24ad
TW
101292017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10130
10131 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10132
ae20e79a
TW
101332017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10134
10135 * gdb.python/py-record-btrace-threads.c: New file.
10136 * gdb.python/py-record-btrace-threads.exp: New file.
10137
45ce1b47
SDJ
101382017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10139
10140 PR testsuite/8595
10141 * gdb.base/environ.exp: Make test available in all architectures.
10142 Move bits related to "info program" testing to
10143 gdb.base/info-program.exp. Rewrite tests to use the two new
10144 procedures mentione below.
10145 (test_set_show_env_var) New procedure.
10146 (test_set_show_env_var_equal): Likewise.
10147 * gdb.base/info-program.exp: New file.
10148
e15c3eb4
KS
101492017-04-27 Keith Seitz <keiths@redhat.com>
10150
10151 * gdb.cp/oranking.cc (test15): New function.
10152 (main): Call test15 and declare additional variables for testing.
10153 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10154 "p foo101('abc')" tests.
10155 Add tests for cv qualifier overloads.
10156 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10157 "lvalue reference overload" test.
10158 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10159 "print value of f1 on Child&& in f2" test.
10160
3a3fd0fd
PA
101612017-04-19 Pedro Alves <palves@redhat.com>
10162
10163 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10164 procedure.
10165 (top level): Call it.
10166 * lib/gdb.exp (gdb_define_cmd): New procedure.
10167
53375380
PA
101682017-04-12 Pedro Alves <palves@redhat.com>
10169
10170 PR gdb/21323
10171 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10172 (wchar): New global.
10173 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10174 (do_test_wide_char, wide_char_types_no_program, top level): Add
10175 wchar_t testing.
10176
53e710ac
PA
101772017-04-12 Pedro Alves <palves@redhat.com>
10178
10179 PR c++/21323
10180 * gdb.cp/wide_char_types.c: New file.
10181 * gdb.cp/wide_char_types.exp: New file.
10182
0ad9d8c7
SDJ
101832017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10184
10185 PR gdb/21352
10186 * gdb.trace/tsv.exp: Add test for "tsave -r".
10187
b1b45502
IB
101882017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10189
10190 * gdb.dlang/watch-loc.c: New file.
10191 * gdb.dlang/watch-loc.exp: New file.
10192
ec13808e
JK
101932017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10194
10195 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10196
fe5f7374
AK
101972017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10198
10199 * gdb.arch/arc-analyze-prologue.S: New file.
10200 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10201
eea78757
AK
102022017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10203
10204 * gdb.arch/arc-decode-insn.S: New file.
10205 * gdb.arch/arc-decode-insn.exp: Likewise.
10206
5badf10a
IR
102072017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10208
10209 PR tdep/20928
10210 * gdb.arch/sparc64-regs.exp: New file.
10211 * gdb.arch/sparc64-regs.S: Likewise.
10212
cee59b3f
TW
102132017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10214
10215 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10216 and memory view on Python 3.
10217
c0f55cc6
AV
102182017-03-20 Artemiy Volkov <artemiyv@acm.org>
10219 Keith Seitz <keiths@redhat.com>
10220
10221 PR gdb/14441
10222 * gdb.cp/demangle.exp: Add rvalue reference tests.
10223 * gdb.cp/rvalue-ref-casts.cc: New file.
10224 * gdb.cp/rvalue-ref-casts.exp: New file.
10225 * gdb.cp/rvalue-ref-overload.cc: New file.
10226 * gdb.cp/rvalue-ref-overload.exp: New file.
10227 * gdb.cp/rvalue-ref-params.cc: New file.
10228 * gdb.cp/rvalue-ref-params.exp: New file.
10229 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10230 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10231 * gdb.cp/rvalue-ref-types.cc: New file.
10232 * gdb.cp/rvalue-ref-types.exp: New file.
10233 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10234 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10235
51457a05
MAL
102362017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10237
10238 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10239 New procedure.
10240
5b291c04
MAL
102412017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10242
10243 * lib/mi-support.exp (mi_gdb_test): Add additional message
10244 for unexpected output.
10245
59a56148
AA
102462017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10247
10248 * gdb.base/examine-backward.c (Barrier): New character array
10249 constant, to ensure that TestStrings is preceded by a string
10250 terminator.
10251
7942e96e
AA
102522017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10253
10254 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10255 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10256 and implicit pointer into such a location.
10257
6ebac3fb
DE
102582017-03-16 Doug Evans <dje@google.com>
10259
10260 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10261
ec3b243d
TP
102622017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10263
10264 * gdb.cp/m-static.exp: Fix expectation for prototype of
10265 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10266
102672017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10268
10269 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10270 * gdb.guile/scm-lazy-string.c: New file.
10271 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10272 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10273 for pointer, array, typedef lazy strings.
10274
2cc36e25 102752017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10276
10277 PR python/17728, python/18439, python/18779
10278 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10279 * gdb.python/py-lazy-string.c (pointer): New typedef.
10280 (main): New locals ptr, array, typedef_ptr.
10281 * gdb.python/py-value.exp: Move lazy string tests to ...
10282 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10283 array, typedef lazy strings.
ec3b243d 10284
0efcde63
AK
102852017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10286
10287 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10288 Add optional 'test' parameter.
10289
7978d7c3
SM
102902017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10291
10292 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10293 Skip for versions of DejaGnu < 1.5.
10294
896c0c1e
SM
102952017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10296
10297 * lib/gdb.exp (dejagnu_version): New proc.
10298 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10299 Use dejagnu_version.
10300
5f4d1085
KS
103012017-03-10 Keith Seitz <keiths@redhat.com>
10302
10303 PR c++/8128
10304 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10305 type from destructor regexps.
10306 Add a branch which actually passes the test.
10307 Adjust "ptype t5i" test names.
10308
1de05205
PA
103092017-03-08 Pedro Alves <palves@redhat.com>
10310
10311 * gdb.base/step-over-exit.exp: Add explicit test message.
10312
c65d6b55
PA
103132017-03-08 Pedro Alves <palves@redhat.com>
10314
10315 PR gdb/18360
10316 * gdb.threads/interrupt-while-step-over.c: New file.
10317 * gdb.threads/interrupt-while-step-over.exp: New file.
10318
2e86a283
PA
103192017-03-08 Pedro Alves <palves@redhat.com>
10320
10321 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10322 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10323
25dcbff6
PA
103242017-03-08 Pedro Alves <palves@redhat.com>
10325
10326 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10327 PKRU as not supported as a PASS.
10328
dc9366eb
PA
103292017-03-08 Pedro Alves <palves@redhat.com>
10330
10331 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10332 prefix instead of $binfile1/$binfile2.
10333 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10334 in test message.
10335 * gdb.python/py-completion.exp: Use "load python file" as test
10336 messages instead of unstable path names.
10337
6e5d74e7
PA
103382017-03-08 Pedro Alves <palves@redhat.com>
10339 Jan Kratochvil <jan.kratochvil@redhat.com>
10340
10341 PR cli/21218
10342 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10343 New proc.
10344 (top level): Call it.
10345
9753a2f6
PA
103462017-03-08 Pedro Alves <palves@redhat.com>
10347
10348 PR tui/21216
10349 * gdb.tui/tui-nl-filtered-output.exp: New file.
10350
1a4dd9dd
PA
103512017-03-08 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.base/completion.exp: Move TUI completion tests to ...
10354 * gdb.tui/completion.exp: ... this new file.
10355
7cbbff33
PA
103562017-03-08 Pedro Alves <palves@redhat.com>
10357
10358 * gdb.base/tui-disasm-long-lines.c,
10359 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10360 gdb.base/tui-layout.exp: Move to ...
10361 * gdb.tui/: ... this new directory.
10362
5f6fd321
PA
103632017-03-07 Pedro Alves <palves@redhat.com>
10364
10365 * gdb.base/tui-layout.c: New file.
10366 * gdb.base/tui-layout.exp: New file.
10367
44959fa8
PA
103682017-03-07 Pedro Alves <palves@redhat.com>
10369
10370 * gdb.base/tui-layout.c: Rename to ...
10371 * gdb.base/tui-disasm-long-lines.c: ... this.
10372 * gdb.base/tui-layout.exp: Rename to ...
10373 * gdb.base/tui-disasm-long-lines.exp: ... this.
10374
f8c4e718
PA
103752017-03-07 Pedro Alves <palves@redhat.com>
10376
10377 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10378
6dbb839a 103792017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10380
10381 * i386-mpx-call.c: New file.
10382 * i386-mpx-call.exp: New file.
10383
65b48a81
PB
103842017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10385
10386 * gdb.arch/powerpc-power.exp: Delete test.
10387 * gdb.arch/powerpc-power.s: Likewise.
10388 * gdb.disasm/disassembler-options.exp: New test.
10389 * gdb.arch/powerpc-altivec.exp: Likewise.
10390 * gdb.arch/powerpc-altivec.s: Likewise.
10391 * gdb.arch/powerpc-altivec2.exp: Likewise.
10392 * gdb.arch/powerpc-altivec2.s: Likewise.
10393 * gdb.arch/powerpc-altivec3.exp: Likewise.
10394 * gdb.arch/powerpc-altivec3.s: Likewise.
10395 * gdb.arch/powerpc-power7.exp: Likewise.
10396 * gdb.arch/powerpc-power7.s: Likewise.
10397 * gdb.arch/powerpc-power8.exp: Likewise.
10398 * gdb.arch/powerpc-power8.s: Likewise.
10399 * gdb.arch/powerpc-power9.exp: Likewise.
10400 * gdb.arch/powerpc-power9.s: Likewise.
10401 * gdb.arch/powerpc-vsx.exp: Likewise.
10402 * gdb.arch/powerpc-vsx.s: Likewise.
10403 * gdb.arch/powerpc-vsx2.exp: Likewise.
10404 * gdb.arch/powerpc-vsx2.s: Likewise.
10405 * gdb.arch/powerpc-vsx3.exp: Likewise.
10406 * gdb.arch/powerpc-vsx3.s: Likewise.
10407 * gdb.arch/arm-disassembler-options.exp: Likewise.
10408 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10409 * gdb.arch/s390-disassembler-options.exp: Likewise.
10410
17cd4947
LM
104112017-02-23 Luis Machado <lgustavo@codesourcery.com>
10412
10413 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10414 (check_supported_features): ... this. Changed return type to void.
10415 (supports_rdseed): New static global.
10416 (rdseed): Check supports_rdseed.
10417 (initialize): Call check_supported_features.
10418
2039d74e
EBM
104192017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10420
10421 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10422 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10423 and lqarx/stqcx.
10424 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10425 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10426
a51d7ecf
EBM
104272017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10428
10429 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10430 uppercase.
10431
0224619f
JK
104322017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10433
10434 * gdb.dwarf2/formdata16.c: New file.
10435 * gdb.dwarf2/formdata16.exp: New file.
10436 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10437
216f72a1
JK
104382017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10439
10440 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10441 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10442 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10443 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10444 DW_AT_GNU_*.
10445
43988095
JK
104462017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10447
10448 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10449
99e8a4f9
SDJ
104502017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10451
10452 PR gdb/21164
10453 * gdb.base/maint.exp: Add testcases for when the commands do
10454 not have arguments.
10455
b58a8c0c
TP
104562017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10457
10458 * gdb.cp/chained-calls.exp: Use p instead of P.
10459
4e746bb6
TW
104602017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10461
10462 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10463 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10464
3f77c769
TT
104652017-02-14 Tom Tromey <tom@tromey.com>
10466
10467 PR python/13598:
10468 * gdb.python/py-events.exp: Add before_prompt event tests.
10469
075beec0
AA
104702017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10471
10472 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10473
bf5f525c
LM
104742017-02-13 Luis Machado <lgustavo@codesourcery.com>
10475
10476 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10477 (main): Call my_unique_function_name.
10478 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10479 completion of patterns with a single match.
10480 Add missing -re switches to gdb_test_multiple calls.
10481
13a66184
LM
104822017-02-13 Luis Machado <lgustavo@codesourcery.com>
10483
10484 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10485 return if core file is not recognized.
10486
26a06916
SM
104872017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10488
10489 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10490 and extra UIs.
10491
b761ca9e
SM
104922017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10493
10494 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10495 proc_with_prefix.
10496
b964bee0
TT
104972017-02-10 Tom Tromey <tom@tromey.com>
10498
10499 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10500
18da0c51
MG
105012017-02-10 Martin Galvan <martingalvan@sourceware.org>
10502
10503 PR gdb/21122
10504 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10505
604c4576
JG
105062017-02-08 Jerome Guitton <guitton@adacore.com>
10507
10508 * gdb.base/define.exp: Add test for command abbreviations
10509 in define.
10510
20b477a7
LM
105112017-02-06 Luis Machado <lgustavo@codesourcery.com>
10512
10513 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10514 * gdb.reverse/insn-reverse-x86.c: New file.
10515
3f7b46f2
IR
105162017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10517
10518 PR tdep/20936
10519 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10520
f0fd41c1
TT
105212017-02-03 Tom Tromey <tom@tromey.com>
10522
10523 PR rust/21097:
10524 * gdb.rust/simple.exp: Add new tests.
10525
5be5dbf0
PA
105262017-02-02 Pedro Alves <palves@redhat.com>
10527
10528 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10529 tests.
10530
7346ef59
AA
105312017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10532
10533 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10534 taking a 2-byte value out of a 4-byte DWARF implicit value on
10535 big-endian targets.
10536 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10537 logic. Add test cases for DW_OP_implicit.
10538
787f0025
MM
105392017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10540
10541 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10542
68777c29
MM
105432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10544
10545 * gdb.btrace/enable.exp: Call gdb_exit before
10546 skip_gdbserver_tests.
10547
0a1c7e28
MM
105482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10549
10550 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10551 GDBFLAGS.
10552
b5ac99b0
MM
105532017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10554
10555 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10556 the test is skipped.
10557 * gdb.btrace/data.exp: Likewise.
10558 * gdb.btrace/delta.exp: Likewise.
10559 * gdb.btrace/dlopen.exp: Likewise.
10560 * gdb.btrace/enable-running.exp: Likewise.
10561 * gdb.btrace/enable.exp: Likewise.
10562 * gdb.btrace/exception.exp: Likewise.
10563 * gdb.btrace/function_call_history.exp: Likewise.
10564 * gdb.btrace/gcore.exp: Likewise.
10565 * gdb.btrace/instruction_history.exp: Likewise.
10566 * gdb.btrace/multi-thread-step.exp: Likewise.
10567 * gdb.btrace/nohist.exp: Likewise.
10568 * gdb.btrace/non-stop.exp: Likewise.
10569 * gdb.btrace/reconnect.exp: Likewise.
10570 * gdb.btrace/record_goto-step.exp: Likewise.
10571 * gdb.btrace/record_goto.exp: Likewise.
10572 * gdb.btrace/rn-dl-bind.exp: Likewise.
10573 * gdb.btrace/segv.exp: Likewise.
10574 * gdb.btrace/step.exp: Likewise.
10575 * gdb.btrace/stepi.exp: Likewise.
10576 * gdb.btrace/tailcall-only.exp: Likewise.
10577 * gdb.btrace/tailcall.exp: Likewise.
10578 * gdb.btrace/tsx.exp: Likewise.
10579 * gdb.btrace/unknown_functions.exp: Likewise.
10580 * gdb.btrace/vdso.exp: Likewise.
10581
cd4007e4
MM
105822017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10583
10584 * gdb.btrace/enable-running.c: New.
10585 * gdb.btrace/enable-running.exp: New.
10586
2735833d
WT
105872017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10588
10589 * gdb.arch/amd64-gs_base.c: New file.
10590 * gdb.arch/amd64-gs_base.exp: New file.
10591
b51e1e94
LM
105922017-01-26 Luis Machado <lgustavo@codesourcery.com>
10593
10594 * lib/memory.exp: Remove spurious empty newlines.
10595
72ca0410
SM
105962017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10597
10598 * gdb.python/py-bad-printers.exp: Load python file using "source".
10599 * gdb.python/py-events.exp: Likewise.
10600 * gdb.python/py-evsignal.exp: Likewise.
10601 * gdb.python/py-evthreads.exp: Likewise.
10602 * gdb.python/py-frame-args.exp: Likewise.
10603 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10604 * gdb.python/py-framefilter-mi.exp: Likewise.
10605 * gdb.python/py-framefilter.exp: Likewise.
10606 * gdb.python/py-mi.exp: Likewise.
10607 * gdb.python/py-pp-maint.exp: Likewise.
10608 * gdb.python/py-pp-registration.exp: Likewise.
10609 * gdb.python/py-prettyprint.exp: Likewise.
10610 (run_lang_tests): Likewise.
10611 * gdb.python/py-typeprint.exp: Likewise.
10612
e309aa65
LM
106132017-01-26 Luis Machado <lgustavo@codesourcery.com>
10614
10615 * lib/memory.exp: New file.
10616 * lib/gdb.exp: Load memory.exp.
10617 * gdb.base/memattr.exp (delete_memory): Move proc to
10618 lib/memory.exp and rename to delete_memory_regions.
10619 Replace delete_memory with delete_memory_regions.
10620 Cleanup memory regions before tests.
10621 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10622 before tests.
10623
515aff23
LM
106242017-01-26 Luis Machado <lgustavo@codesourcery.com>
10625
10626 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10627 files.
10628 (initialize): New function conditionally defined.
10629 (testcases): Move within conditional block.
10630 (main): Call initialize.
10631 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10632 of gdb.reverse/insn-reverse.c.
10633 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10634 gdb.reverse/insn-reverse.c.
10635
d8b49cf0
YQ
106362017-01-26 Yao Qi <yao.qi@linaro.org>
10637
10638 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10639 disassemble on address 0.
10640
f13a9a0c
YQ
106412017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10642 Yao Qi <yao.qi@linaro.org>
10643
10644 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10645 * gdb.dwarf2/implptr-64bit.S: Remove.
10646 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10647 variables in caller's context. Add DW_OP_implicit_value.
10648
5ac95241
YQ
106492017-01-25 Yao Qi <yao.qi@linaro.org>
10650
10651 * lib/dwarf.exp (Dwarf::_location): Handle
10652 DW_OP_GNU_implicit_pointer with proper size.
10653
23e82930
LM
106542017-01-20 Luis Machado <lgustavo@codesourcery.com>
10655
10656 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10657 and add untested calls.
10658
d334ae25
LM
106592017-01-20 Luis Machado <lgustavo@codesourcery.com>
10660
10661 * gdb.python/python.exp: Check line number against what GDB thinks
10662 the line number is for func1.
10663
f5e6296e
IB
106642017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10665
10666 * gdb.dlang/debug-expr.exp: New file.
10667
5b362f04
LM
106682016-12-23 Luis Machado <lgustavo@codesourcery.com>
10669
10670 Fix test names for the following files:
10671
10672 * gdb.ada/exec_changed.exp
10673 * gdb.ada/info_types.exp
10674 * gdb.arch/aarch64-atomic-inst.exp
10675 * gdb.arch/aarch64-fp.exp
10676 * gdb.arch/altivec-abi.exp
10677 * gdb.arch/altivec-regs.exp
10678 * gdb.arch/amd64-byte.exp
10679 * gdb.arch/amd64-disp-step.exp
10680 * gdb.arch/amd64-dword.exp
10681 * gdb.arch/amd64-entry-value-inline.exp
10682 * gdb.arch/amd64-entry-value-param.exp
10683 * gdb.arch/amd64-entry-value-paramref.exp
10684 * gdb.arch/amd64-entry-value.exp
10685 * gdb.arch/amd64-i386-address.exp
10686 * gdb.arch/amd64-invalid-stack-middle.exp
10687 * gdb.arch/amd64-invalid-stack-top.exp
10688 * gdb.arch/amd64-optimout-repeat.exp
10689 * gdb.arch/amd64-prologue-skip.exp
10690 * gdb.arch/amd64-prologue-xmm.exp
10691 * gdb.arch/amd64-stap-special-operands.exp
10692 * gdb.arch/amd64-stap-wrong-subexp.exp
10693 * gdb.arch/amd64-tailcall-cxx.exp
10694 * gdb.arch/amd64-tailcall-noret.exp
10695 * gdb.arch/amd64-tailcall-ret.exp
10696 * gdb.arch/amd64-tailcall-self.exp
10697 * gdb.arch/amd64-word.exp
10698 * gdb.arch/arm-bl-branch-dest.exp
10699 * gdb.arch/arm-disp-step.exp
10700 * gdb.arch/arm-neon.exp
10701 * gdb.arch/arm-single-step-kernel-helper.exp
10702 * gdb.arch/avr-flash-qualifier.exp
10703 * gdb.arch/disp-step-insn-reloc.exp
10704 * gdb.arch/e500-abi.exp
10705 * gdb.arch/e500-regs.exp
10706 * gdb.arch/ftrace-insn-reloc.exp
10707 * gdb.arch/i386-avx512.exp
10708 * gdb.arch/i386-bp_permanent.exp
10709 * gdb.arch/i386-byte.exp
10710 * gdb.arch/i386-cfi-notcurrent.exp
10711 * gdb.arch/i386-disp-step.exp
10712 * gdb.arch/i386-dr3-watch.exp
10713 * gdb.arch/i386-float.exp
10714 * gdb.arch/i386-gnu-cfi.exp
10715 * gdb.arch/i386-mpx-map.exp
10716 * gdb.arch/i386-mpx-sigsegv.exp
10717 * gdb.arch/i386-mpx-simple_segv.exp
10718 * gdb.arch/i386-mpx.exp
10719 * gdb.arch/i386-permbkpt.exp
10720 * gdb.arch/i386-prologue.exp
10721 * gdb.arch/i386-signal.exp
10722 * gdb.arch/i386-size-overlap.exp
10723 * gdb.arch/i386-unwind.exp
10724 * gdb.arch/i386-word.exp
10725 * gdb.arch/mips-fcr.exp
10726 * gdb.arch/powerpc-d128-regs.exp
10727 * gdb.arch/powerpc-stackless.exp
10728 * gdb.arch/ppc64-atomic-inst.exp
10729 * gdb.arch/s390-stackless.exp
10730 * gdb.arch/s390-tdbregs.exp
10731 * gdb.arch/s390-vregs.exp
10732 * gdb.arch/sparc-sysstep.exp
10733 * gdb.arch/thumb-bx-pc.exp
10734 * gdb.arch/thumb-singlestep.exp
10735 * gdb.arch/thumb2-it.exp
10736 * gdb.arch/vsx-regs.exp
10737 * gdb.asm/asm-source.exp
10738 * gdb.base/a2-run.exp
10739 * gdb.base/advance.exp
10740 * gdb.base/all-bin.exp
10741 * gdb.base/anon.exp
10742 * gdb.base/args.exp
10743 * gdb.base/arithmet.exp
10744 * gdb.base/async-shell.exp
10745 * gdb.base/async.exp
10746 * gdb.base/attach-pie-noexec.exp
10747 * gdb.base/attach-twice.exp
10748 * gdb.base/auto-load.exp
10749 * gdb.base/bang.exp
10750 * gdb.base/bitfields.exp
10751 * gdb.base/break-always.exp
10752 * gdb.base/break-caller-line.exp
10753 * gdb.base/break-entry.exp
10754 * gdb.base/break-inline.exp
10755 * gdb.base/break-on-linker-gcd-function.exp
10756 * gdb.base/break-probes.exp
10757 * gdb.base/break.exp
10758 * gdb.base/breakpoint-shadow.exp
10759 * gdb.base/call-ar-st.exp
10760 * gdb.base/call-sc.exp
10761 * gdb.base/call-signal-resume.exp
10762 * gdb.base/call-strs.exp
10763 * gdb.base/callfuncs.exp
10764 * gdb.base/catch-fork-static.exp
10765 * gdb.base/catch-gdb-caused-signals.exp
10766 * gdb.base/catch-load.exp
10767 * gdb.base/catch-signal-fork.exp
10768 * gdb.base/catch-signal.exp
10769 * gdb.base/catch-syscall.exp
10770 * gdb.base/charset.exp
10771 * gdb.base/checkpoint.exp
10772 * gdb.base/chng-syms.exp
10773 * gdb.base/code-expr.exp
10774 * gdb.base/code_elim.exp
10775 * gdb.base/commands.exp
10776 * gdb.base/completion.exp
10777 * gdb.base/complex.exp
10778 * gdb.base/cond-expr.exp
10779 * gdb.base/condbreak.exp
10780 * gdb.base/consecutive.exp
10781 * gdb.base/continue-all-already-running.exp
10782 * gdb.base/coredump-filter.exp
10783 * gdb.base/corefile.exp
10784 * gdb.base/dbx.exp
10785 * gdb.base/debug-expr.exp
10786 * gdb.base/define.exp
10787 * gdb.base/del.exp
10788 * gdb.base/disabled-location.exp
10789 * gdb.base/disasm-end-cu.exp
10790 * gdb.base/disasm-optim.exp
10791 * gdb.base/display.exp
10792 * gdb.base/duplicate-bp.exp
10793 * gdb.base/ena-dis-br.exp
10794 * gdb.base/ending-run.exp
10795 * gdb.base/enumval.exp
10796 * gdb.base/environ.exp
10797 * gdb.base/eu-strip-infcall.exp
10798 * gdb.base/eval-avoid-side-effects.exp
10799 * gdb.base/eval-skip.exp
10800 * gdb.base/exitsignal.exp
10801 * gdb.base/expand-psymtabs.exp
10802 * gdb.base/filesym.exp
10803 * gdb.base/find-unmapped.exp
10804 * gdb.base/finish.exp
10805 * gdb.base/float.exp
10806 * gdb.base/foll-exec-mode.exp
10807 * gdb.base/foll-exec.exp
10808 * gdb.base/foll-fork.exp
10809 * gdb.base/fortran-sym-case.exp
10810 * gdb.base/freebpcmd.exp
10811 * gdb.base/func-ptr.exp
10812 * gdb.base/func-ptrs.exp
10813 * gdb.base/funcargs.exp
10814 * gdb.base/gcore-buffer-overflow.exp
10815 * gdb.base/gcore-relro-pie.exp
10816 * gdb.base/gcore-relro.exp
10817 * gdb.base/gcore.exp
10818 * gdb.base/gdb1090.exp
10819 * gdb.base/gdb11530.exp
10820 * gdb.base/gdb11531.exp
10821 * gdb.base/gdb1821.exp
10822 * gdb.base/gdbindex-stabs.exp
10823 * gdb.base/gdbvars.exp
10824 * gdb.base/hbreak.exp
10825 * gdb.base/hbreak2.exp
10826 * gdb.base/included.exp
10827 * gdb.base/infcall-input.exp
10828 * gdb.base/inferior-died.exp
10829 * gdb.base/infnan.exp
10830 * gdb.base/info-macros.exp
10831 * gdb.base/info-os.exp
10832 * gdb.base/info-proc.exp
10833 * gdb.base/info-shared.exp
10834 * gdb.base/info-target.exp
10835 * gdb.base/infoline.exp
10836 * gdb.base/interp.exp
10837 * gdb.base/interrupt.exp
10838 * gdb.base/jit-reader.exp
10839 * gdb.base/jit-simple.exp
10840 * gdb.base/kill-after-signal.exp
10841 * gdb.base/kill-detach-inferiors-cmd.exp
10842 * gdb.base/label.exp
10843 * gdb.base/langs.exp
10844 * gdb.base/ldbl_e308.exp
10845 * gdb.base/line-symtabs.exp
10846 * gdb.base/linespecs.exp
10847 * gdb.base/list.exp
10848 * gdb.base/long_long.exp
10849 * gdb.base/longest-types.exp
10850 * gdb.base/maint.exp
10851 * gdb.base/max-value-size.exp
10852 * gdb.base/memattr.exp
10853 * gdb.base/mips_pro.exp
10854 * gdb.base/morestack.exp
10855 * gdb.base/moribund-step.exp
10856 * gdb.base/multi-forks.exp
10857 * gdb.base/nested-addr.exp
10858 * gdb.base/nextoverexit.exp
10859 * gdb.base/noreturn-finish.exp
10860 * gdb.base/noreturn-return.exp
10861 * gdb.base/nostdlib.exp
10862 * gdb.base/offsets.exp
10863 * gdb.base/opaque.exp
10864 * gdb.base/pc-fp.exp
10865 * gdb.base/permissions.exp
10866 * gdb.base/print-symbol-loading.exp
10867 * gdb.base/prologue-include.exp
10868 * gdb.base/psymtab.exp
10869 * gdb.base/ptype.exp
10870 * gdb.base/random-signal.exp
10871 * gdb.base/randomize.exp
10872 * gdb.base/range-stepping.exp
10873 * gdb.base/readline-ask.exp
10874 * gdb.base/recpar.exp
10875 * gdb.base/recurse.exp
10876 * gdb.base/relational.exp
10877 * gdb.base/restore.exp
10878 * gdb.base/return-nodebug.exp
10879 * gdb.base/return.exp
10880 * gdb.base/run-after-attach.exp
10881 * gdb.base/save-bp.exp
10882 * gdb.base/scope.exp
10883 * gdb.base/sect-cmd.exp
10884 * gdb.base/set-lang-auto.exp
10885 * gdb.base/set-noassign.exp
10886 * gdb.base/setvar.exp
10887 * gdb.base/sigall.exp
10888 * gdb.base/sigbpt.exp
10889 * gdb.base/siginfo-addr.exp
10890 * gdb.base/siginfo-infcall.exp
10891 * gdb.base/siginfo-obj.exp
10892 * gdb.base/siginfo.exp
10893 * gdb.base/signals-state-child.exp
10894 * gdb.base/signest.exp
10895 * gdb.base/sigstep.exp
10896 * gdb.base/sizeof.exp
10897 * gdb.base/skip.exp
10898 * gdb.base/solib-corrupted.exp
10899 * gdb.base/solib-nodir.exp
10900 * gdb.base/solib-search.exp
10901 * gdb.base/stack-checking.exp
10902 * gdb.base/stale-infcall.exp
10903 * gdb.base/stap-probe.exp
10904 * gdb.base/start.exp
10905 * gdb.base/step-break.exp
10906 * gdb.base/step-bt.exp
10907 * gdb.base/step-line.exp
10908 * gdb.base/step-over-exit.exp
10909 * gdb.base/step-over-syscall.exp
10910 * gdb.base/step-resume-infcall.exp
10911 * gdb.base/step-test.exp
10912 * gdb.base/store.exp
10913 * gdb.base/structs3.exp
10914 * gdb.base/sym-file.exp
10915 * gdb.base/symbol-without-target_section.exp
10916 * gdb.base/term.exp
10917 * gdb.base/testenv.exp
10918 * gdb.base/ui-redirect.exp
10919 * gdb.base/until.exp
10920 * gdb.base/unwindonsignal.exp
10921 * gdb.base/value-double-free.exp
10922 * gdb.base/vla-datatypes.exp
10923 * gdb.base/vla-ptr.exp
10924 * gdb.base/vla-sideeffect.exp
10925 * gdb.base/volatile.exp
10926 * gdb.base/watch-cond-infcall.exp
10927 * gdb.base/watch-cond.exp
10928 * gdb.base/watch-non-mem.exp
10929 * gdb.base/watch-read.exp
10930 * gdb.base/watch-vfork.exp
10931 * gdb.base/watchpoint-cond-gone.exp
10932 * gdb.base/watchpoint-delete.exp
10933 * gdb.base/watchpoint-hw-hit-once.exp
10934 * gdb.base/watchpoint-hw.exp
10935 * gdb.base/watchpoint-stops-at-right-insn.exp
10936 * gdb.base/watchpoints.exp
10937 * gdb.base/wchar.exp
10938 * gdb.base/whatis-exp.exp
10939 * gdb.btrace/buffer-size.exp
10940 * gdb.btrace/data.exp
10941 * gdb.btrace/delta.exp
10942 * gdb.btrace/dlopen.exp
10943 * gdb.btrace/enable.exp
10944 * gdb.btrace/exception.exp
10945 * gdb.btrace/function_call_history.exp
10946 * gdb.btrace/gcore.exp
10947 * gdb.btrace/instruction_history.exp
10948 * gdb.btrace/nohist.exp
10949 * gdb.btrace/reconnect.exp
10950 * gdb.btrace/record_goto-step.exp
10951 * gdb.btrace/record_goto.exp
10952 * gdb.btrace/rn-dl-bind.exp
10953 * gdb.btrace/segv.exp
10954 * gdb.btrace/step.exp
10955 * gdb.btrace/stepi.exp
10956 * gdb.btrace/tailcall-only.exp
10957 * gdb.btrace/tailcall.exp
10958 * gdb.btrace/tsx.exp
10959 * gdb.btrace/unknown_functions.exp
10960 * gdb.btrace/vdso.exp
10961 * gdb.compile/compile-ifunc.exp
10962 * gdb.compile/compile-ops.exp
10963 * gdb.compile/compile-print.exp
10964 * gdb.compile/compile-setjmp.exp
10965 * gdb.cp/abstract-origin.exp
10966 * gdb.cp/ambiguous.exp
10967 * gdb.cp/annota2.exp
10968 * gdb.cp/annota3.exp
10969 * gdb.cp/anon-ns.exp
10970 * gdb.cp/anon-struct.exp
10971 * gdb.cp/anon-union.exp
10972 * gdb.cp/arg-reference.exp
10973 * gdb.cp/baseenum.exp
10974 * gdb.cp/bool.exp
10975 * gdb.cp/breakpoint.exp
10976 * gdb.cp/bs15503.exp
10977 * gdb.cp/call-c.exp
10978 * gdb.cp/casts.exp
10979 * gdb.cp/chained-calls.exp
10980 * gdb.cp/class2.exp
10981 * gdb.cp/classes.exp
10982 * gdb.cp/cmpd-minsyms.exp
10983 * gdb.cp/converts.exp
10984 * gdb.cp/cp-relocate.exp
10985 * gdb.cp/cpcompletion.exp
10986 * gdb.cp/cpexprs.exp
10987 * gdb.cp/cplabel.exp
10988 * gdb.cp/cplusfuncs.exp
10989 * gdb.cp/cpsizeof.exp
10990 * gdb.cp/ctti.exp
10991 * gdb.cp/derivation.exp
10992 * gdb.cp/destrprint.exp
10993 * gdb.cp/dispcxx.exp
10994 * gdb.cp/enum-class.exp
10995 * gdb.cp/exception.exp
10996 * gdb.cp/exceptprint.exp
10997 * gdb.cp/expand-psymtabs-cxx.exp
10998 * gdb.cp/expand-sals.exp
10999 * gdb.cp/extern-c.exp
11000 * gdb.cp/filename.exp
11001 * gdb.cp/formatted-ref.exp
11002 * gdb.cp/fpointer.exp
11003 * gdb.cp/gdb1355.exp
11004 * gdb.cp/gdb2495.exp
11005 * gdb.cp/hang.exp
11006 * gdb.cp/impl-this.exp
11007 * gdb.cp/infcall-dlopen.exp
11008 * gdb.cp/inherit.exp
11009 * gdb.cp/iostream.exp
11010 * gdb.cp/koenig.exp
11011 * gdb.cp/local.exp
11012 * gdb.cp/m-data.exp
11013 * gdb.cp/m-static.exp
11014 * gdb.cp/mb-ctor.exp
11015 * gdb.cp/mb-inline.exp
11016 * gdb.cp/mb-templates.exp
11017 * gdb.cp/member-name.exp
11018 * gdb.cp/member-ptr.exp
11019 * gdb.cp/meth-typedefs.exp
11020 * gdb.cp/method.exp
11021 * gdb.cp/method2.exp
11022 * gdb.cp/minsym-fallback.exp
11023 * gdb.cp/misc.exp
11024 * gdb.cp/namelessclass.exp
11025 * gdb.cp/namespace-enum.exp
11026 * gdb.cp/namespace-nested-import.exp
11027 * gdb.cp/namespace.exp
11028 * gdb.cp/nextoverthrow.exp
11029 * gdb.cp/no-dmgl-verbose.exp
11030 * gdb.cp/non-trivial-retval.exp
11031 * gdb.cp/noparam.exp
11032 * gdb.cp/nsdecl.exp
11033 * gdb.cp/nsimport.exp
11034 * gdb.cp/nsnested.exp
11035 * gdb.cp/nsnoimports.exp
11036 * gdb.cp/nsrecurs.exp
11037 * gdb.cp/nsstress.exp
11038 * gdb.cp/nsusing.exp
11039 * gdb.cp/operator.exp
11040 * gdb.cp/oranking.exp
11041 * gdb.cp/overload-const.exp
11042 * gdb.cp/overload.exp
11043 * gdb.cp/ovldbreak.exp
11044 * gdb.cp/ovsrch.exp
11045 * gdb.cp/paren-type.exp
11046 * gdb.cp/parse-lang.exp
11047 * gdb.cp/pass-by-ref.exp
11048 * gdb.cp/pr-1023.exp
11049 * gdb.cp/pr-1210.exp
11050 * gdb.cp/pr-574.exp
11051 * gdb.cp/pr10687.exp
11052 * gdb.cp/pr12028.exp
11053 * gdb.cp/pr17132.exp
11054 * gdb.cp/pr17494.exp
11055 * gdb.cp/pr9067.exp
11056 * gdb.cp/pr9167.exp
11057 * gdb.cp/pr9631.exp
11058 * gdb.cp/printmethod.exp
11059 * gdb.cp/psmang.exp
11060 * gdb.cp/psymtab-parameter.exp
11061 * gdb.cp/ptype-cv-cp.exp
11062 * gdb.cp/ptype-flags.exp
11063 * gdb.cp/re-set-overloaded.exp
11064 * gdb.cp/ref-types.exp
11065 * gdb.cp/rtti.exp
11066 * gdb.cp/scope-err.exp
11067 * gdb.cp/shadow.exp
11068 * gdb.cp/smartp.exp
11069 * gdb.cp/static-method.exp
11070 * gdb.cp/static-print-quit.exp
11071 * gdb.cp/temargs.exp
11072 * gdb.cp/templates.exp
11073 * gdb.cp/try_catch.exp
11074 * gdb.cp/typedef-operator.exp
11075 * gdb.cp/typeid.exp
11076 * gdb.cp/userdef.exp
11077 * gdb.cp/using-crash.exp
11078 * gdb.cp/var-tag.exp
11079 * gdb.cp/virtbase.exp
11080 * gdb.cp/virtfunc.exp
11081 * gdb.cp/virtfunc2.exp
11082 * gdb.cp/vla-cxx.exp
11083 * gdb.disasm/t01_mov.exp
11084 * gdb.disasm/t02_mova.exp
11085 * gdb.disasm/t03_add.exp
11086 * gdb.disasm/t04_sub.exp
11087 * gdb.disasm/t05_cmp.exp
11088 * gdb.disasm/t06_ari2.exp
11089 * gdb.disasm/t07_ari3.exp
11090 * gdb.disasm/t08_or.exp
11091 * gdb.disasm/t09_xor.exp
11092 * gdb.disasm/t10_and.exp
11093 * gdb.disasm/t11_logs.exp
11094 * gdb.disasm/t12_bit.exp
11095 * gdb.disasm/t13_otr.exp
11096 * gdb.dlang/circular.exp
11097 * gdb.dwarf2/arr-stride.exp
11098 * gdb.dwarf2/arr-subrange.exp
11099 * gdb.dwarf2/atomic-type.exp
11100 * gdb.dwarf2/bad-regnum.exp
11101 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11102 * gdb.dwarf2/callframecfa.exp
11103 * gdb.dwarf2/clztest.exp
11104 * gdb.dwarf2/corrupt.exp
11105 * gdb.dwarf2/data-loc.exp
11106 * gdb.dwarf2/dup-psym.exp
11107 * gdb.dwarf2/dw2-anon-mptr.exp
11108 * gdb.dwarf2/dw2-anonymous-func.exp
11109 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11110 * gdb.dwarf2/dw2-bad-unresolved.exp
11111 * gdb.dwarf2/dw2-basic.exp
11112 * gdb.dwarf2/dw2-canonicalize-type.exp
11113 * gdb.dwarf2/dw2-case-insensitive.exp
11114 * gdb.dwarf2/dw2-common-block.exp
11115 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11116 * gdb.dwarf2/dw2-compressed.exp
11117 * gdb.dwarf2/dw2-const.exp
11118 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11119 * gdb.dwarf2/dw2-cu-size.exp
11120 * gdb.dwarf2/dw2-dup-frame.exp
11121 * gdb.dwarf2/dw2-entry-value.exp
11122 * gdb.dwarf2/dw2-icycle.exp
11123 * gdb.dwarf2/dw2-ifort-parameter.exp
11124 * gdb.dwarf2/dw2-inline-break.exp
11125 * gdb.dwarf2/dw2-inline-param.exp
11126 * gdb.dwarf2/dw2-intercu.exp
11127 * gdb.dwarf2/dw2-intermix.exp
11128 * gdb.dwarf2/dw2-lexical-block-bare.exp
11129 * gdb.dwarf2/dw2-linkage-name-trust.exp
11130 * gdb.dwarf2/dw2-minsym-in-cu.exp
11131 * gdb.dwarf2/dw2-noloc.exp
11132 * gdb.dwarf2/dw2-op-call.exp
11133 * gdb.dwarf2/dw2-op-out-param.exp
11134 * gdb.dwarf2/dw2-opt-structptr.exp
11135 * gdb.dwarf2/dw2-param-error.exp
11136 * gdb.dwarf2/dw2-producer.exp
11137 * gdb.dwarf2/dw2-ranges-base.exp
11138 * gdb.dwarf2/dw2-ref-missing-frame.exp
11139 * gdb.dwarf2/dw2-reg-undefined.exp
11140 * gdb.dwarf2/dw2-regno-invalid.exp
11141 * gdb.dwarf2/dw2-restore.exp
11142 * gdb.dwarf2/dw2-restrict.exp
11143 * gdb.dwarf2/dw2-single-line-discriminators.exp
11144 * gdb.dwarf2/dw2-strp.exp
11145 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11146 * gdb.dwarf2/dw2-unresolved.exp
11147 * gdb.dwarf2/dw2-var-zero-addr.exp
11148 * gdb.dwarf2/dw4-sig-types.exp
11149 * gdb.dwarf2/dwz.exp
11150 * gdb.dwarf2/dynarr-ptr.exp
11151 * gdb.dwarf2/enum-type.exp
11152 * gdb.dwarf2/gdb-index.exp
11153 * gdb.dwarf2/implptr-64bit.exp
11154 * gdb.dwarf2/implptr-optimized-out.exp
11155 * gdb.dwarf2/implptr.exp
11156 * gdb.dwarf2/implref-array.exp
11157 * gdb.dwarf2/implref-const.exp
11158 * gdb.dwarf2/implref-global.exp
11159 * gdb.dwarf2/implref-struct.exp
11160 * gdb.dwarf2/mac-fileno.exp
11161 * gdb.dwarf2/main-subprogram.exp
11162 * gdb.dwarf2/member-ptr-forwardref.exp
11163 * gdb.dwarf2/method-ptr.exp
11164 * gdb.dwarf2/missing-sig-type.exp
11165 * gdb.dwarf2/nonvar-access.exp
11166 * gdb.dwarf2/opaque-type-lookup.exp
11167 * gdb.dwarf2/pieces-optimized-out.exp
11168 * gdb.dwarf2/pieces.exp
11169 * gdb.dwarf2/pr10770.exp
11170 * gdb.dwarf2/pr13961.exp
11171 * gdb.dwarf2/staticvirtual.exp
11172 * gdb.dwarf2/subrange.exp
11173 * gdb.dwarf2/symtab-producer.exp
11174 * gdb.dwarf2/trace-crash.exp
11175 * gdb.dwarf2/typeddwarf.exp
11176 * gdb.dwarf2/valop.exp
11177 * gdb.dwarf2/watch-notconst.exp
11178 * gdb.fortran/array-element.exp
11179 * gdb.fortran/charset.exp
11180 * gdb.fortran/common-block.exp
11181 * gdb.fortran/complex.exp
11182 * gdb.fortran/derived-type-function.exp
11183 * gdb.fortran/derived-type.exp
11184 * gdb.fortran/logical.exp
11185 * gdb.fortran/module.exp
11186 * gdb.fortran/multi-dim.exp
11187 * gdb.fortran/nested-funcs.exp
11188 * gdb.fortran/print-formatted.exp
11189 * gdb.fortran/subarray.exp
11190 * gdb.fortran/vla-alloc-assoc.exp
11191 * gdb.fortran/vla-datatypes.exp
11192 * gdb.fortran/vla-history.exp
11193 * gdb.fortran/vla-ptr-info.exp
11194 * gdb.fortran/vla-ptype-sub.exp
11195 * gdb.fortran/vla-ptype.exp
11196 * gdb.fortran/vla-sizeof.exp
11197 * gdb.fortran/vla-type.exp
11198 * gdb.fortran/vla-value-sub-arbitrary.exp
11199 * gdb.fortran/vla-value-sub-finish.exp
11200 * gdb.fortran/vla-value-sub.exp
11201 * gdb.fortran/vla-value.exp
11202 * gdb.fortran/whatis_type.exp
11203 * gdb.go/chan.exp
11204 * gdb.go/handcall.exp
11205 * gdb.go/hello.exp
11206 * gdb.go/integers.exp
11207 * gdb.go/methods.exp
11208 * gdb.go/package.exp
11209 * gdb.go/strings.exp
11210 * gdb.go/types.exp
11211 * gdb.go/unsafe.exp
11212 * gdb.guile/scm-arch.exp
11213 * gdb.guile/scm-block.exp
11214 * gdb.guile/scm-breakpoint.exp
11215 * gdb.guile/scm-cmd.exp
11216 * gdb.guile/scm-disasm.exp
11217 * gdb.guile/scm-equal.exp
11218 * gdb.guile/scm-frame-args.exp
11219 * gdb.guile/scm-frame-inline.exp
11220 * gdb.guile/scm-frame.exp
11221 * gdb.guile/scm-iterator.exp
11222 * gdb.guile/scm-math.exp
11223 * gdb.guile/scm-objfile.exp
11224 * gdb.guile/scm-ports.exp
11225 * gdb.guile/scm-symbol.exp
11226 * gdb.guile/scm-symtab.exp
11227 * gdb.guile/scm-value-cc.exp
11228 * gdb.guile/types-module.exp
11229 * gdb.linespec/break-ask.exp
11230 * gdb.linespec/cpexplicit.exp
11231 * gdb.linespec/explicit.exp
11232 * gdb.linespec/keywords.exp
11233 * gdb.linespec/linespec.exp
11234 * gdb.linespec/ls-dollar.exp
11235 * gdb.linespec/ls-errs.exp
11236 * gdb.linespec/skip-two.exp
11237 * gdb.linespec/thread.exp
11238 * gdb.mi/mi-async.exp
11239 * gdb.mi/mi-basics.exp
11240 * gdb.mi/mi-break.exp
11241 * gdb.mi/mi-catch-load.exp
11242 * gdb.mi/mi-cli.exp
11243 * gdb.mi/mi-cmd-param-changed.exp
11244 * gdb.mi/mi-console.exp
11245 * gdb.mi/mi-detach.exp
11246 * gdb.mi/mi-disassemble.exp
11247 * gdb.mi/mi-eval.exp
11248 * gdb.mi/mi-file-transfer.exp
11249 * gdb.mi/mi-file.exp
11250 * gdb.mi/mi-fill-memory.exp
11251 * gdb.mi/mi-inheritance-syntax-error.exp
11252 * gdb.mi/mi-linespec-err-cp.exp
11253 * gdb.mi/mi-logging.exp
11254 * gdb.mi/mi-memory-changed.exp
11255 * gdb.mi/mi-read-memory.exp
11256 * gdb.mi/mi-record-changed.exp
11257 * gdb.mi/mi-reg-undefined.exp
11258 * gdb.mi/mi-regs.exp
11259 * gdb.mi/mi-return.exp
11260 * gdb.mi/mi-reverse.exp
11261 * gdb.mi/mi-simplerun.exp
11262 * gdb.mi/mi-solib.exp
11263 * gdb.mi/mi-stack.exp
11264 * gdb.mi/mi-stepi.exp
11265 * gdb.mi/mi-syn-frame.exp
11266 * gdb.mi/mi-until.exp
11267 * gdb.mi/mi-var-block.exp
11268 * gdb.mi/mi-var-child.exp
11269 * gdb.mi/mi-var-cmd.exp
11270 * gdb.mi/mi-var-cp.exp
11271 * gdb.mi/mi-var-display.exp
11272 * gdb.mi/mi-var-invalidate.exp
11273 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11274 * gdb.mi/mi-vla-fortran.exp
11275 * gdb.mi/mi-watch.exp
11276 * gdb.mi/mi2-var-child.exp
11277 * gdb.mi/user-selected-context-sync.exp
11278 * gdb.modula2/unbounded-array.exp
11279 * gdb.multi/dummy-frame-restore.exp
11280 * gdb.multi/multi-arch-exec.exp
11281 * gdb.multi/multi-arch.exp
11282 * gdb.multi/tids.exp
11283 * gdb.multi/watchpoint-multi.exp
11284 * gdb.opencl/callfuncs.exp
11285 * gdb.opencl/convs_casts.exp
11286 * gdb.opencl/datatypes.exp
11287 * gdb.opencl/operators.exp
11288 * gdb.opencl/vec_comps.exp
11289 * gdb.opt/clobbered-registers-O2.exp
11290 * gdb.opt/inline-break.exp
11291 * gdb.opt/inline-bt.exp
11292 * gdb.opt/inline-cmds.exp
11293 * gdb.opt/inline-locals.exp
11294 * gdb.pascal/case-insensitive-symbols.exp
11295 * gdb.pascal/floats.exp
11296 * gdb.pascal/gdb11492.exp
11297 * gdb.python/lib-types.exp
11298 * gdb.python/py-arch.exp
11299 * gdb.python/py-as-string.exp
11300 * gdb.python/py-bad-printers.exp
11301 * gdb.python/py-block.exp
11302 * gdb.python/py-breakpoint-create-fail.exp
11303 * gdb.python/py-breakpoint.exp
11304 * gdb.python/py-caller-is.exp
11305 * gdb.python/py-cmd.exp
11306 * gdb.python/py-explore-cc.exp
11307 * gdb.python/py-explore.exp
11308 * gdb.python/py-finish-breakpoint.exp
11309 * gdb.python/py-finish-breakpoint2.exp
11310 * gdb.python/py-frame-args.exp
11311 * gdb.python/py-frame-inline.exp
11312 * gdb.python/py-frame.exp
11313 * gdb.python/py-framefilter-mi.exp
11314 * gdb.python/py-infthread.exp
11315 * gdb.python/py-lazy-string.exp
11316 * gdb.python/py-linetable.exp
11317 * gdb.python/py-mi-events.exp
11318 * gdb.python/py-mi-objfile.exp
11319 * gdb.python/py-mi.exp
11320 * gdb.python/py-objfile.exp
11321 * gdb.python/py-pp-integral.exp
11322 * gdb.python/py-pp-maint.exp
11323 * gdb.python/py-pp-re-notag.exp
11324 * gdb.python/py-pp-registration.exp
11325 * gdb.python/py-recurse-unwind.exp
11326 * gdb.python/py-strfns.exp
11327 * gdb.python/py-symbol.exp
11328 * gdb.python/py-symtab.exp
11329 * gdb.python/py-sync-interp.exp
11330 * gdb.python/py-typeprint.exp
11331 * gdb.python/py-unwind-maint.exp
11332 * gdb.python/py-unwind.exp
11333 * gdb.python/py-value-cc.exp
11334 * gdb.python/py-xmethods.exp
11335 * gdb.reverse/amd64-tailcall-reverse.exp
11336 * gdb.reverse/break-precsave.exp
11337 * gdb.reverse/break-reverse.exp
11338 * gdb.reverse/consecutive-precsave.exp
11339 * gdb.reverse/consecutive-reverse.exp
11340 * gdb.reverse/finish-precsave.exp
11341 * gdb.reverse/finish-reverse-bkpt.exp
11342 * gdb.reverse/finish-reverse.exp
11343 * gdb.reverse/fstatat-reverse.exp
11344 * gdb.reverse/getresuid-reverse.exp
11345 * gdb.reverse/i386-precsave.exp
11346 * gdb.reverse/i386-reverse.exp
11347 * gdb.reverse/i386-sse-reverse.exp
11348 * gdb.reverse/i387-env-reverse.exp
11349 * gdb.reverse/i387-stack-reverse.exp
11350 * gdb.reverse/insn-reverse.exp
11351 * gdb.reverse/machinestate-precsave.exp
11352 * gdb.reverse/machinestate.exp
11353 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11354 * gdb.reverse/pipe-reverse.exp
11355 * gdb.reverse/readv-reverse.exp
11356 * gdb.reverse/recvmsg-reverse.exp
11357 * gdb.reverse/rerun-prec.exp
11358 * gdb.reverse/s390-mvcle.exp
11359 * gdb.reverse/step-precsave.exp
11360 * gdb.reverse/step-reverse.exp
11361 * gdb.reverse/time-reverse.exp
11362 * gdb.reverse/until-precsave.exp
11363 * gdb.reverse/until-reverse.exp
11364 * gdb.reverse/waitpid-reverse.exp
11365 * gdb.reverse/watch-precsave.exp
11366 * gdb.reverse/watch-reverse.exp
11367 * gdb.rust/generics.exp
11368 * gdb.rust/methods.exp
11369 * gdb.rust/modules.exp
11370 * gdb.rust/simple.exp
11371 * gdb.server/connect-with-no-symbol-file.exp
11372 * gdb.server/ext-attach.exp
11373 * gdb.server/ext-restart.exp
11374 * gdb.server/ext-wrapper.exp
11375 * gdb.server/file-transfer.exp
11376 * gdb.server/server-exec-info.exp
11377 * gdb.server/server-kill.exp
11378 * gdb.server/server-mon.exp
11379 * gdb.server/wrapper.exp
11380 * gdb.stabs/exclfwd.exp
11381 * gdb.stabs/gdb11479.exp
11382 * gdb.threads/clone-new-thread-event.exp
11383 * gdb.threads/corethreads.exp
11384 * gdb.threads/current-lwp-dead.exp
11385 * gdb.threads/dlopen-libpthread.exp
11386 * gdb.threads/gcore-thread.exp
11387 * gdb.threads/sigstep-threads.exp
11388 * gdb.threads/watchpoint-fork.exp
11389 * gdb.trace/actions-changed.exp
11390 * gdb.trace/backtrace.exp
11391 * gdb.trace/change-loc.exp
11392 * gdb.trace/circ.exp
11393 * gdb.trace/collection.exp
11394 * gdb.trace/disconnected-tracing.exp
11395 * gdb.trace/ftrace.exp
11396 * gdb.trace/mi-trace-frame-collected.exp
11397 * gdb.trace/mi-trace-unavailable.exp
11398 * gdb.trace/mi-traceframe-changed.exp
11399 * gdb.trace/mi-tsv-changed.exp
11400 * gdb.trace/no-attach-trace.exp
11401 * gdb.trace/passc-dyn.exp
11402 * gdb.trace/qtro.exp
11403 * gdb.trace/range-stepping.exp
11404 * gdb.trace/read-memory.exp
11405 * gdb.trace/save-trace.exp
11406 * gdb.trace/signal.exp
11407 * gdb.trace/status-stop.exp
11408 * gdb.trace/tfile.exp
11409 * gdb.trace/trace-break.exp
11410 * gdb.trace/trace-buffer-size.exp
11411 * gdb.trace/trace-condition.exp
11412 * gdb.trace/tracefile-pseudo-reg.exp
11413 * gdb.trace/tstatus.exp
11414 * gdb.trace/unavailable.exp
11415 * gdb.trace/while-dyn.exp
11416 * gdb.trace/while-stepping.exp
11417
34c41c68
DE
114182016-12-22 Doug Evans <xdje42@gmail.com>
11419
11420 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11421 and msymbols.
11422
16e69324
YQ
114232016-12-19 Yao Qi <yao.qi@linaro.org>
11424
11425 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11426 (test_with_self): Don't call do_steps_and_nexts, and remove
11427 code about stepping into xmalloc.
11428
f94f411b
YQ
114292016-12-09 Yao Qi <yao.qi@linaro.org>
11430
11431 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11432
114332016-12-09 Yao Qi <yao.qi@linaro.org>
11434
11435 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11436
f1b5deee
PA
114372016-12-09 Pedro Alves <palves@redhat.com>
11438
11439 * gdb.base/all-architectures-0.exp: New file.
11440 * gdb.base/all-architectures-1.exp: New file.
11441 * gdb.base/all-architectures-2.exp: New file.
11442 * gdb.base/all-architectures-3.exp: New file.
11443 * gdb.base/all-architectures-4.exp: New file.
11444 * gdb.base/all-architectures-5.exp: New file.
11445 * gdb.base/all-architectures-6.exp: New file.
11446 * gdb.base/all-architectures-7.exp: New file.
11447 * gdb.base/all-architectures.exp.in: New file.
11448
364ca42e
YQ
114492016-12-09 Yao Qi <yao.qi@linaro.org>
11450
11451 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11452
107c2d62
LM
114532016-12-02 Luis Machado <lgustavo@codesourcery.com>
11454
11455 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11456 possible.
11457 Remove useless pattern-matching code.
11458
df3ee9ca
PA
114592016-12-02 Pedro Alves <palves@redhat.com>
11460
11461 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11462 procedure.
11463 (top level): Call it.
11464
ec835369
PA
114652016-12-02 Pedro Alves <palves@redhat.com>
11466
11467 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11468 New procedure.
11469 (top level): Call it.
11470
01770bbd
PA
114712016-12-02 Pedro Alves <palves@redhat.com>
11472
11473 PR cli/20559
11474 * gdb.base/commands.exp (user_defined_command_args_eval): New
11475 procedure.
11476 (top level): Call it.
11477
008459ea
LM
114782016-12-02 Luis Machado <lgustavo@codesourcery.com>
11479
11480 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11481 timeout handling.
11482
0c1b455e
TT
114832016-12-02 Tom Tromey <tom@tromey.com>
11484
11485 * gdb.dwarf2/main-subprogram.c: New file.
11486 * gdb.dwarf2/main-subprogram.exp: New file.
11487
018572b8
LM
114882016-12-01 Luis Machado <lgustavo@codesourcery.com>
11489
11490 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11491 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11492 gdb_test_no_output for a couple of cases.
11493 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11494
84c93cd5
LM
114952016-12-01 Luis Machado <lgustavo@codesourcery.com>
11496
11497 Fix test names and standardize compilation error messages throughout
11498 the following files:
11499
11500 * gdb.ada/start.exp
11501 * gdb.arch/alpha-step.exp
11502 * gdb.arch/e500-prologue.exp
11503 * gdb.arch/ftrace-insn-reloc.exp
11504 * gdb.arch/gdb1291.exp
11505 * gdb.arch/gdb1431.exp
11506 * gdb.arch/gdb1558.exp
11507 * gdb.arch/i386-dr3-watch.exp
11508 * gdb.arch/i386-sse-stack-align.exp
11509 * gdb.arch/ia64-breakpoint-shadow.exp
11510 * gdb.arch/pa-nullify.exp
11511 * gdb.arch/powerpc-aix-prologue.exp
11512 * gdb.arch/thumb-bx-pc.exp
11513 * gdb.base/annota1.exp
11514 * gdb.base/annota3.exp
11515 * gdb.base/arrayidx.exp
11516 * gdb.base/assign.exp
11517 * gdb.base/attach.exp
11518 * gdb.base/auxv.exp
11519 * gdb.base/bang.exp
11520 * gdb.base/bfp-test.exp
11521 * gdb.base/bigcore.exp
11522 * gdb.base/bitfields2.exp
11523 * gdb.base/break-fun-addr.exp
11524 * gdb.base/break-probes.exp
11525 * gdb.base/call-rt-st.exp
11526 * gdb.base/callexit.exp
11527 * gdb.base/catch-fork-kill.exp
11528 * gdb.base/charset.exp
11529 * gdb.base/checkpoint.exp
11530 * gdb.base/comprdebug.exp
11531 * gdb.base/constvars.exp
11532 * gdb.base/coredump-filter.exp
11533 * gdb.base/cursal.exp
11534 * gdb.base/cvexpr.exp
11535 * gdb.base/detach.exp
11536 * gdb.base/display.exp
11537 * gdb.base/dmsym.exp
11538 * gdb.base/dprintf-pending.exp
11539 * gdb.base/dso2dso.exp
11540 * gdb.base/dtrace-probe.exp
11541 * gdb.base/dump.exp
11542 * gdb.base/enum_cond.exp
11543 * gdb.base/exe-lock.exp
11544 * gdb.base/exec-invalid-sysroot.exp
11545 * gdb.base/execl-update-breakpoints.exp
11546 * gdb.base/exprs.exp
11547 * gdb.base/fileio.exp
11548 * gdb.base/find.exp
11549 * gdb.base/finish.exp
11550 * gdb.base/fixsection.exp
11551 * gdb.base/foll-vfork.exp
11552 * gdb.base/frame-args.exp
11553 * gdb.base/gcore.exp
11554 * gdb.base/gdb1250.exp
11555 * gdb.base/global-var-nested-by-dso.exp
11556 * gdb.base/gnu-ifunc.exp
11557 * gdb.base/hashline1.exp
11558 * gdb.base/hashline2.exp
11559 * gdb.base/hashline3.exp
11560 * gdb.base/hbreak-in-shr-unsupported.exp
11561 * gdb.base/huge.exp
11562 * gdb.base/infcall-input.exp
11563 * gdb.base/info-fun.exp
11564 * gdb.base/info-shared.exp
11565 * gdb.base/jit-simple.exp
11566 * gdb.base/jit-so.exp
11567 * gdb.base/jit.exp
11568 * gdb.base/jump.exp
11569 * gdb.base/label.exp
11570 * gdb.base/lineinc.exp
11571 * gdb.base/logical.exp
11572 * gdb.base/longjmp.exp
11573 * gdb.base/macscp.exp
11574 * gdb.base/miscexprs.exp
11575 * gdb.base/new-ui-echo.exp
11576 * gdb.base/new-ui-pending-input.exp
11577 * gdb.base/new-ui.exp
11578 * gdb.base/nodebug.exp
11579 * gdb.base/nofield.exp
11580 * gdb.base/offsets.exp
11581 * gdb.base/overlays.exp
11582 * gdb.base/pending.exp
11583 * gdb.base/pointers.exp
11584 * gdb.base/pr11022.exp
11585 * gdb.base/printcmds.exp
11586 * gdb.base/prologue.exp
11587 * gdb.base/ptr-typedef.exp
11588 * gdb.base/realname-expand.exp
11589 * gdb.base/relativedebug.exp
11590 * gdb.base/relocate.exp
11591 * gdb.base/remote.exp
11592 * gdb.base/reread.exp
11593 * gdb.base/return2.exp
11594 * gdb.base/savedregs.exp
11595 * gdb.base/sep.exp
11596 * gdb.base/sepdebug.exp
11597 * gdb.base/sepsymtab.exp
11598 * gdb.base/set-inferior-tty.exp
11599 * gdb.base/setshow.exp
11600 * gdb.base/shlib-call.exp
11601 * gdb.base/sigaltstack.exp
11602 * gdb.base/siginfo-addr.exp
11603 * gdb.base/signals.exp
11604 * gdb.base/signull.exp
11605 * gdb.base/sigrepeat.exp
11606 * gdb.base/so-impl-ld.exp
11607 * gdb.base/solib-display.exp
11608 * gdb.base/solib-overlap.exp
11609 * gdb.base/solib-search.exp
11610 * gdb.base/solib-symbol.exp
11611 * gdb.base/structs.exp
11612 * gdb.base/structs2.exp
11613 * gdb.base/symtab-search-order.exp
11614 * gdb.base/twice.exp
11615 * gdb.base/unload.exp
11616 * gdb.base/varargs.exp
11617 * gdb.base/watchpoint-solib.exp
11618 * gdb.base/watchpoint.exp
11619 * gdb.base/whatis.exp
11620 * gdb.base/wrong_frame_bt_full.exp
11621 * gdb.btrace/dlopen.exp
11622 * gdb.cell/ea-standalone.exp
11623 * gdb.cell/ea-test.exp
11624 * gdb.cp/dispcxx.exp
11625 * gdb.cp/gdb2384.exp
11626 * gdb.cp/method2.exp
11627 * gdb.cp/nextoverthrow.exp
11628 * gdb.cp/pr10728.exp
11629 * gdb.disasm/am33.exp
11630 * gdb.disasm/h8300s.exp
11631 * gdb.disasm/mn10300.exp
11632 * gdb.disasm/sh3.exp
11633 * gdb.dwarf2/dw2-dir-file-name.exp
11634 * gdb.fortran/complex.exp
11635 * gdb.fortran/library-module.exp
11636 * gdb.guile/scm-pretty-print.exp
11637 * gdb.guile/scm-symbol.exp
11638 * gdb.guile/scm-type.exp
11639 * gdb.guile/scm-value.exp
11640 * gdb.linespec/linespec.exp
11641 * gdb.mi/gdb701.exp
11642 * gdb.mi/gdb792.exp
11643 * gdb.mi/mi-breakpoint-changed.exp
11644 * gdb.mi/mi-dprintf-pending.exp
11645 * gdb.mi/mi-dprintf.exp
11646 * gdb.mi/mi-exit-code.exp
11647 * gdb.mi/mi-pending.exp
11648 * gdb.mi/mi-solib.exp
11649 * gdb.mi/new-ui-mi-sync.exp
11650 * gdb.mi/pr11022.exp
11651 * gdb.mi/user-selected-context-sync.exp
11652 * gdb.opt/solib-intra-step.exp
11653 * gdb.python/py-events.exp
11654 * gdb.python/py-finish-breakpoint.exp
11655 * gdb.python/py-mi.exp
11656 * gdb.python/py-prettyprint.exp
11657 * gdb.python/py-shared.exp
11658 * gdb.python/py-symbol.exp
11659 * gdb.python/py-template.exp
11660 * gdb.python/py-type.exp
11661 * gdb.python/py-value.exp
11662 * gdb.reverse/solib-precsave.exp
11663 * gdb.reverse/solib-reverse.exp
11664 * gdb.server/solib-list.exp
11665 * gdb.stabs/weird.exp
11666 * gdb.threads/reconnect-signal.exp
11667 * gdb.threads/stepi-random-signal.exp
11668 * gdb.trace/actions.exp
11669 * gdb.trace/ax.exp
11670 * gdb.trace/backtrace.exp
11671 * gdb.trace/change-loc.exp
11672 * gdb.trace/deltrace.exp
11673 * gdb.trace/ftrace-lock.exp
11674 * gdb.trace/ftrace.exp
11675 * gdb.trace/infotrace.exp
11676 * gdb.trace/mi-tracepoint-changed.exp
11677 * gdb.trace/packetlen.exp
11678 * gdb.trace/passcount.exp
11679 * gdb.trace/pending.exp
11680 * gdb.trace/range-stepping.exp
11681 * gdb.trace/report.exp
11682 * gdb.trace/stap-trace.exp
11683 * gdb.trace/tfind.exp
11684 * gdb.trace/trace-break.exp
11685 * gdb.trace/trace-condition.exp
11686 * gdb.trace/trace-enable-disable.exp
11687 * gdb.trace/trace-mt.exp
11688 * gdb.trace/tracecmd.exp
11689 * gdb.trace/tspeed.exp
11690 * gdb.trace/tsv.exp
11691 * lib/perftest.exp
11692
fb9feb35
LM
116932016-12-01 Luis Machado <lgustavo@codesourcery.com>
11694
11695 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11696 with gdb_test_no_output.
11697 Use command as test name.
11698
cd2ddb6c
LM
116992016-12-01 Luis Machado <lgustavo@codesourcery.com>
11700
11701 Fix test names starting with uppercase throughout the files.
11702
11703 * gdb.ada/assign_1.exp
11704 * gdb.ada/boolean_expr.exp
11705 * gdb.base/arrayidx.exp
11706 * gdb.base/del.exp
11707 * gdb.base/gcore-buffer-overflow.exp
11708 * gdb.base/testenv.exp
11709 * gdb.compile/compile.exp
11710 * gdb.python/py-framefilter-invalidarg.exp
11711 * gdb.python/py-framefilter.exp
11712
bb95117e
LM
117132016-12-01 Luis Machado <lgustavo@codesourcery.com>
11714
11715 Fix test names starting with uppercase throughout the files.
11716
11717 * gdb.ada/array_return.exp
11718 * gdb.ada/expr_delims.exp
11719 * gdb.ada/mi_dyn_arr.exp
11720 * gdb.ada/mi_interface.exp
11721 * gdb.ada/mi_var_array.exp
11722 * gdb.ada/watch_arg.exp
11723 * gdb.arch/alpha-step.exp
11724 * gdb.arch/altivec-regs.exp
11725 * gdb.arch/e500-regs.exp
11726 * gdb.arch/powerpc-d128-regs.exp
11727 * gdb.base/arrayidx.exp
11728 * gdb.base/break.exp
11729 * gdb.base/checkpoint.exp
11730 * gdb.base/debug-expr.exp
11731 * gdb.base/dmsym.exp
11732 * gdb.base/radix.exp
11733 * gdb.base/sepdebug.exp
11734 * gdb.base/testenv.exp
11735 * gdb.base/watch_thread_num.exp
11736 * gdb.base/watchpoint-cond-gone.exp
11737 * gdb.cell/break.exp
11738 * gdb.cell/ea-cache.exp
11739 * gdb.compile/compile.exp
11740 * gdb.cp/gdb2495.exp
11741 * gdb.gdb/selftest.exp
11742 * gdb.gdb/xfullpath.exp
11743 * gdb.go/hello.exp
11744 * gdb.go/integers.exp
11745 * gdb.objc/basicclass.exp
11746 * gdb.pascal/hello.exp
11747 * gdb.pascal/integers.exp
11748 * gdb.python/py-breakpoint.exp
11749 * gdb.python/py-cmd.exp
11750 * gdb.python/py-linetable.exp
11751 * gdb.python/py-xmethods.exp
11752 * gdb.python/python.exp
11753 * gdb.reverse/consecutive-precsave.exp
11754 * gdb.reverse/finish-precsave.exp
11755 * gdb.reverse/i386-precsave.exp
11756 * gdb.reverse/machinestate-precsave.exp
11757 * gdb.reverse/sigall-precsave.exp
11758 * gdb.reverse/solib-precsave.exp
11759 * gdb.reverse/step-precsave.exp
11760 * gdb.reverse/until-precsave.exp
11761 * gdb.reverse/watch-precsave.exp
11762 * gdb.threads/leader-exit.exp
11763 * gdb.threads/pthreads.exp
11764 * gdb.threads/wp-replication.exp
11765 * gdb.trace/actions.exp
11766 * gdb.trace/mi-tsv-changed.exp
11767 * gdb.trace/tsv.exp
11768
de97fdd4
LM
117692016-12-01 Luis Machado <lgustavo@codesourcery.com>
11770
11771 Fix test names starting with uppercase throughout the files.
11772
11773 * gdb.arch/i386-bp_permanent.exp
11774 * gdb.arch/i386-gnu-cfi.exp
11775 * gdb.base/disasm-end-cu.exp
11776 * gdb.base/macscp.exp
11777 * gdb.base/pending.exp
11778 * gdb.base/watch_thread_num.exp
11779 * gdb.cp/exception.exp
11780 * gdb.cp/gdb2495.exp
11781 * gdb.cp/local.exp
11782 * gdb.python/py-evsignal.exp
11783 * gdb.python/python.exp
11784 * gdb.trace/tracecmd.exp
11785
9f058c10
LM
117862016-12-01 Luis Machado <lgustavo@codesourcery.com>
11787
11788 Fix test names starting with uppercase throughout the files.
11789
11790 * gdb.base/charset.exp
11791 * gdb.base/eval.exp
11792 * gdb.base/multi-forks.exp
11793 * gdb.guile/scm-progspace.exp
11794 * gdb.opencl/datatypes.exp
11795 * gdb.python/py-block.exp
11796 * gdb.python/py-function.exp
11797 * gdb.python/py-symbol.exp
11798 * gdb.python/py-symtab.exp
11799 * gdb.python/py-xmethods.exp
11800 * gdb.reverse/break-precsave.exp
11801 * gdb.reverse/break-reverse.exp
11802 * gdb.reverse/consecutive-precsave.exp
11803 * gdb.reverse/consecutive-reverse.exp
11804 * gdb.reverse/finish-precsave.exp
11805 * gdb.reverse/finish-reverse-bkpt.exp
11806 * gdb.reverse/finish-reverse.exp
11807 * gdb.reverse/fstatat-reverse.exp
11808 * gdb.reverse/getresuid-reverse.exp
11809 * gdb.reverse/i386-precsave.exp
11810 * gdb.reverse/i386-reverse.exp
11811 * gdb.reverse/i386-sse-reverse.exp
11812 * gdb.reverse/i387-stack-reverse.exp
11813 * gdb.reverse/insn-reverse.exp
11814 * gdb.reverse/machinestate-precsave.exp
11815 * gdb.reverse/machinestate.exp
11816 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11817 * gdb.reverse/pipe-reverse.exp
11818 * gdb.reverse/readv-reverse.exp
11819 * gdb.reverse/recvmsg-reverse.exp
11820 * gdb.reverse/rerun-prec.exp
11821 * gdb.reverse/s390-mvcle.exp
11822 * gdb.reverse/sigall-precsave.exp
11823 * gdb.reverse/sigall-reverse.exp
11824 * gdb.reverse/solib-precsave.exp
11825 * gdb.reverse/solib-reverse.exp
11826 * gdb.reverse/step-precsave.exp
11827 * gdb.reverse/step-reverse.exp
11828 * gdb.reverse/time-reverse.exp
11829 * gdb.reverse/until-precsave.exp
11830 * gdb.reverse/until-reverse.exp
11831 * gdb.reverse/waitpid-reverse.exp
11832 * gdb.reverse/watch-precsave.exp
11833 * gdb.reverse/watch-reverse.exp
11834
cdc7edd7
LM
118352016-12-01 Luis Machado <lgustavo@codesourcery.com>
11836
11837 Fix test names starting with uppercase throughout the files.
11838
11839 * gdb.arch/i386-mpx-simple_segv.exp
11840 * gdb.arch/i386-mpx.exp
11841 * gdb.arch/i386-permbkpt.exp
11842 * gdb.arch/pa-nullify.exp
11843 * gdb.arch/powerpc-d128-regs.exp
11844 * gdb.arch/vsx-regs.exp
11845 * gdb.base/bfp-test.exp
11846 * gdb.base/break.exp
11847 * gdb.base/breakpoint-shadow.exp
11848 * gdb.base/callfuncs.exp
11849 * gdb.base/charset.exp
11850 * gdb.base/commands.exp
11851 * gdb.base/completion.exp
11852 * gdb.base/dfp-test.exp
11853 * gdb.base/echo.exp
11854 * gdb.base/ending-run.exp
11855 * gdb.base/eval.exp
11856 * gdb.base/expand-psymtabs.exp
11857 * gdb.base/float128.exp
11858 * gdb.base/floatn.exp
11859 * gdb.base/foll-exec-mode.exp
11860 * gdb.base/gdb1056.exp
11861 * gdb.base/gdb11531.exp
11862 * gdb.base/kill-after-signal.exp
11863 * gdb.base/multi-forks.exp
11864 * gdb.base/overlays.exp
11865 * gdb.base/pending.exp
11866 * gdb.base/sepdebug.exp
11867 * gdb.base/testenv.exp
11868 * gdb.base/valgrind-db-attach.exp
11869 * gdb.base/watch_thread_num.exp
11870 * gdb.base/watchpoint-cond-gone.exp
11871 * gdb.base/watchpoint.exp
11872 * gdb.base/watchpoints.exp
11873 * gdb.cp/arg-reference.exp
11874 * gdb.cp/baseenum.exp
11875 * gdb.cp/operator.exp
11876 * gdb.cp/shadow.exp
11877 * gdb.dwarf2/dw2-op-out-param.exp
11878 * gdb.dwarf2/dw2-reg-undefined.exp
11879 * gdb.go/chan.exp
11880 * gdb.go/hello.exp
11881 * gdb.go/integers.exp
11882 * gdb.go/methods.exp
11883 * gdb.go/package.exp
11884 * gdb.guile/scm-parameter.exp
11885 * gdb.guile/scm-progspace.exp
11886 * gdb.guile/scm-value.exp
11887 * gdb.mi/mi-pending.exp
11888 * gdb.mi/user-selected-context-sync.exp
11889 * gdb.multi/multi-attach.exp
11890 * gdb.multi/tids.exp
11891 * gdb.opt/clobbered-registers-O2.exp
11892 * gdb.pascal/floats.exp
11893 * gdb.pascal/integers.exp
11894 * gdb.python/py-block.exp
11895 * gdb.python/py-events.exp
11896 * gdb.python/py-parameter.exp
11897 * gdb.python/py-symbol.exp
11898 * gdb.python/py-symtab.exp
11899 * gdb.python/py-type.exp
11900 * gdb.python/py-value.exp
11901 * gdb.python/py-xmethods.exp
11902 * gdb.python/python.exp
11903 * gdb.reverse/break-precsave.exp
11904 * gdb.reverse/consecutive-precsave.exp
11905 * gdb.reverse/finish-precsave.exp
11906 * gdb.reverse/i386-precsave.exp
11907 * gdb.reverse/machinestate-precsave.exp
11908 * gdb.reverse/sigall-precsave.exp
11909 * gdb.reverse/solib-precsave.exp
11910 * gdb.reverse/step-precsave.exp
11911 * gdb.reverse/until-precsave.exp
11912 * gdb.reverse/watch-precsave.exp
11913 * gdb.server/ext-attach.exp
11914 * gdb.server/ext-restart.exp
11915 * gdb.server/ext-run.exp
11916 * gdb.server/ext-wrapper.exp
11917 * gdb.stabs/gdb11479.exp
11918 * gdb.stabs/weird.exp
11919 * gdb.threads/attach-many-short-lived-threads.exp
11920 * gdb.threads/kill.exp
11921 * gdb.threads/watchpoint-fork.exp
11922
bc6c7af4
LM
119232016-12-01 Luis Machado <lgustavo@codesourcery.com>
11924
11925 Fix test names starting with uppercase throughout all the files below.
11926
11927 * gdb.ada/array_return.exp
11928 * gdb.ada/catch_ex.exp
11929 * gdb.ada/info_exc.exp
11930 * gdb.ada/mi_catch_ex.exp
11931 * gdb.ada/mi_dyn_arr.exp
11932 * gdb.ada/mi_ex_cond.exp
11933 * gdb.ada/mi_exc_info.exp
11934 * gdb.ada/mi_interface.exp
11935 * gdb.ada/mi_task_arg.exp
11936 * gdb.ada/mi_task_info.exp
11937 * gdb.ada/mi_var_array.exp
11938 * gdb.arch/alpha-step.exp
11939 * gdb.arch/amd64-disp-step.exp
11940 * gdb.arch/arm-disp-step.exp
11941 * gdb.arch/disp-step-insn-reloc.exp
11942 * gdb.arch/e500-prologue.exp
11943 * gdb.arch/ftrace-insn-reloc.exp
11944 * gdb.arch/gdb1558.exp
11945 * gdb.arch/i386-bp_permanent.exp
11946 * gdb.arch/i386-disp-step.exp
11947 * gdb.arch/i386-float.exp
11948 * gdb.arch/i386-gnu-cfi.exp
11949 * gdb.arch/ia64-breakpoint-shadow.exp
11950 * gdb.arch/mips16-thunks.exp
11951 * gdb.arch/pa-nullify.exp
11952 * gdb.arch/powerpc-aix-prologue.exp
11953 * gdb.arch/powerpc-power.exp
11954 * gdb.arch/ppc-dfp.exp
11955 * gdb.arch/s390-tdbregs.exp
11956 * gdb.arch/spu-info.exp
11957 * gdb.arch/spu-ls.exp
11958 * gdb.arch/thumb-bx-pc.exp
11959 * gdb.base/advance.exp
11960 * gdb.base/annota-input-while-running.exp
11961 * gdb.base/arrayidx.exp
11962 * gdb.base/asmlabel.exp
11963 * gdb.base/async.exp
11964 * gdb.base/attach-wait-input.exp
11965 * gdb.base/auto-connect-native-target.exp
11966 * gdb.base/batch-preserve-term-settings.exp
11967 * gdb.base/bfp-test.exp
11968 * gdb.base/bigcore.exp
11969 * gdb.base/bp-permanent.exp
11970 * gdb.base/break-always.exp
11971 * gdb.base/break-fun-addr.exp
11972 * gdb.base/break-idempotent.exp
11973 * gdb.base/break-main-file-remove-fail.exp
11974 * gdb.base/break-probes.exp
11975 * gdb.base/break-unload-file.exp
11976 * gdb.base/break.exp
11977 * gdb.base/call-ar-st.exp
11978 * gdb.base/call-rt-st.exp
11979 * gdb.base/call-sc.exp
11980 * gdb.base/call-signal-resume.exp
11981 * gdb.base/call-strs.exp
11982 * gdb.base/callexit.exp
11983 * gdb.base/callfuncs.exp
11984 * gdb.base/catch-gdb-caused-signals.exp
11985 * gdb.base/catch-signal-siginfo-cond.exp
11986 * gdb.base/catch-syscall.exp
11987 * gdb.base/compare-sections.exp
11988 * gdb.base/cond-eval-mode.exp
11989 * gdb.base/condbreak-call-false.exp
11990 * gdb.base/consecutive-step-over.exp
11991 * gdb.base/cursal.exp
11992 * gdb.base/disabled-location.exp
11993 * gdb.base/disasm-end-cu.exp
11994 * gdb.base/display.exp
11995 * gdb.base/double-prompt-target-event-error.exp
11996 * gdb.base/dprintf-bp-same-addr.exp
11997 * gdb.base/dprintf-detach.exp
11998 * gdb.base/dprintf-next.exp
11999 * gdb.base/dprintf-non-stop.exp
12000 * gdb.base/dprintf-pending.exp
12001 * gdb.base/dso2dso.exp
12002 * gdb.base/ending-run.exp
12003 * gdb.base/enum_cond.exp
12004 * gdb.base/examine-backward.exp
12005 * gdb.base/exe-lock.exp
12006 * gdb.base/exec-invalid-sysroot.exp
12007 * gdb.base/execl-update-breakpoints.exp
12008 * gdb.base/execution-termios.exp
12009 * gdb.base/fileio.exp
12010 * gdb.base/fixsection.exp
12011 * gdb.base/foll-exec-mode.exp
12012 * gdb.base/foll-exec.exp
12013 * gdb.base/fork-running-state.exp
12014 * gdb.base/frame-args.exp
12015 * gdb.base/fullpath-expand.exp
12016 * gdb.base/func-ptr.exp
12017 * gdb.base/gcore-relro-pie.exp
12018 * gdb.base/gdb1090.exp
12019 * gdb.base/gdb1555.exp
12020 * gdb.base/global-var-nested-by-dso.exp
12021 * gdb.base/gnu-ifunc.exp
12022 * gdb.base/hbreak-in-shr-unsupported.exp
12023 * gdb.base/hbreak-unmapped.exp
12024 * gdb.base/hook-stop.exp
12025 * gdb.base/infcall-input.exp
12026 * gdb.base/info-fun.exp
12027 * gdb.base/info-shared.exp
12028 * gdb.base/interrupt-noterm.exp
12029 * gdb.base/jit-so.exp
12030 * gdb.base/jit.exp
12031 * gdb.base/line-symtabs.exp
12032 * gdb.base/list.exp
12033 * gdb.base/longjmp.exp
12034 * gdb.base/macscp.exp
12035 * gdb.base/max-value-size.exp
12036 * gdb.base/nodebug.exp
12037 * gdb.base/nofield.exp
12038 * gdb.base/overlays.exp
12039 * gdb.base/paginate-after-ctrl-c-running.exp
12040 * gdb.base/paginate-bg-execution.exp
12041 * gdb.base/paginate-inferior-exit.exp
12042 * gdb.base/pending.exp
12043 * gdb.base/pr11022.exp
12044 * gdb.base/printcmds.exp
12045 * gdb.base/ptr-typedef.exp
12046 * gdb.base/ptype.exp
12047 * gdb.base/randomize.exp
12048 * gdb.base/range-stepping.exp
12049 * gdb.base/realname-expand.exp
12050 * gdb.base/relativedebug.exp
12051 * gdb.base/remote.exp
12052 * gdb.base/savedregs.exp
12053 * gdb.base/sepdebug.exp
12054 * gdb.base/set-noassign.exp
12055 * gdb.base/shlib-call.exp
12056 * gdb.base/shreloc.exp
12057 * gdb.base/sigaltstack.exp
12058 * gdb.base/sigbpt.exp
12059 * gdb.base/siginfo-addr.exp
12060 * gdb.base/siginfo-obj.exp
12061 * gdb.base/siginfo-thread.exp
12062 * gdb.base/signest.exp
12063 * gdb.base/signull.exp
12064 * gdb.base/sigrepeat.exp
12065 * gdb.base/skip.exp
12066 * gdb.base/so-impl-ld.exp
12067 * gdb.base/solib-corrupted.exp
12068 * gdb.base/solib-disc.exp
12069 * gdb.base/solib-display.exp
12070 * gdb.base/solib-overlap.exp
12071 * gdb.base/solib-search.exp
12072 * gdb.base/solib-symbol.exp
12073 * gdb.base/source-execution.exp
12074 * gdb.base/sss-bp-on-user-bp-2.exp
12075 * gdb.base/sss-bp-on-user-bp.exp
12076 * gdb.base/stack-checking.exp
12077 * gdb.base/stale-infcall.exp
12078 * gdb.base/step-break.exp
12079 * gdb.base/step-line.exp
12080 * gdb.base/step-over-exit.exp
12081 * gdb.base/step-test.exp
12082 * gdb.base/structs.exp
12083 * gdb.base/sym-file.exp
12084 * gdb.base/symtab-search-order.exp
12085 * gdb.base/term.exp
12086 * gdb.base/type-opaque.exp
12087 * gdb.base/unload.exp
12088 * gdb.base/until-nodebug.exp
12089 * gdb.base/until.exp
12090 * gdb.base/unwindonsignal.exp
12091 * gdb.base/watch-cond.exp
12092 * gdb.base/watch-non-mem.exp
12093 * gdb.base/watch_thread_num.exp
12094 * gdb.base/watchpoint-reuse-slot.exp
12095 * gdb.base/watchpoint-solib.exp
12096 * gdb.base/watchpoint.exp
12097 * gdb.btrace/dlopen.exp
12098 * gdb.cell/arch.exp
12099 * gdb.cell/break.exp
12100 * gdb.cell/bt.exp
12101 * gdb.cell/core.exp
12102 * gdb.cell/data.exp
12103 * gdb.cell/dwarfaddr.exp
12104 * gdb.cell/ea-cache.exp
12105 * gdb.cell/ea-standalone.exp
12106 * gdb.cell/ea-test.exp
12107 * gdb.cell/f-regs.exp
12108 * gdb.cell/fork.exp
12109 * gdb.cell/gcore.exp
12110 * gdb.cell/mem-access.exp
12111 * gdb.cell/ptype.exp
12112 * gdb.cell/registers.exp
12113 * gdb.cell/sizeof.exp
12114 * gdb.cell/solib-symbol.exp
12115 * gdb.cell/solib.exp
12116 * gdb.compile/compile-tls.exp
12117 * gdb.cp/exception.exp
12118 * gdb.cp/gdb2495.exp
12119 * gdb.cp/local.exp
12120 * gdb.cp/mb-inline.exp
12121 * gdb.cp/mb-templates.exp
12122 * gdb.cp/pr10687.exp
12123 * gdb.cp/pr9167.exp
12124 * gdb.cp/scope-err.exp
12125 * gdb.cp/templates.exp
12126 * gdb.cp/virtfunc.exp
12127 * gdb.dwarf2/dw2-dir-file-name.exp
12128 * gdb.dwarf2/dw2-single-line-discriminators.exp
12129 * gdb.fortran/complex.exp
12130 * gdb.fortran/library-module.exp
12131 * gdb.guile/guile.exp
12132 * gdb.guile/scm-cmd.exp
12133 * gdb.guile/scm-frame-inline.exp
12134 * gdb.guile/scm-objfile.exp
12135 * gdb.guile/scm-pretty-print.exp
12136 * gdb.guile/scm-symbol.exp
12137 * gdb.guile/scm-type.exp
12138 * gdb.guile/scm-value.exp
12139 * gdb.linespec/keywords.exp
12140 * gdb.linespec/ls-errs.exp
12141 * gdb.linespec/macro-relative.exp
12142 * gdb.linespec/thread.exp
12143 * gdb.mi/mi-breakpoint-changed.exp
12144 * gdb.mi/mi-dprintf-pending.exp
12145 * gdb.mi/mi-fullname-deleted.exp
12146 * gdb.mi/mi-logging.exp
12147 * gdb.mi/mi-pending.exp
12148 * gdb.mi/mi-solib.exp
12149 * gdb.mi/new-ui-mi-sync.exp
12150 * gdb.mi/user-selected-context-sync.exp
12151 * gdb.multi/dummy-frame-restore.exp
12152 * gdb.multi/multi-arch-exec.exp
12153 * gdb.multi/remove-inferiors.exp
12154 * gdb.multi/watchpoint-multi-exit.exp
12155 * gdb.opt/solib-intra-step.exp
12156 * gdb.perf/backtrace.exp
12157 * gdb.perf/single-step.exp
12158 * gdb.perf/skip-command.exp
12159 * gdb.perf/skip-prologue.exp
12160 * gdb.perf/solib.exp
12161 * gdb.python/lib-types.exp
12162 * gdb.python/py-as-string.exp
12163 * gdb.python/py-bad-printers.exp
12164 * gdb.python/py-block.exp
12165 * gdb.python/py-breakpoint.exp
12166 * gdb.python/py-cmd.exp
12167 * gdb.python/py-events.exp
12168 * gdb.python/py-evthreads.exp
12169 * gdb.python/py-finish-breakpoint.exp
12170 * gdb.python/py-finish-breakpoint2.exp
12171 * gdb.python/py-frame-inline.exp
12172 * gdb.python/py-frame.exp
12173 * gdb.python/py-inferior.exp
12174 * gdb.python/py-infthread.exp
12175 * gdb.python/py-mi.exp
12176 * gdb.python/py-objfile.exp
12177 * gdb.python/py-pp-maint.exp
12178 * gdb.python/py-pp-registration.exp
12179 * gdb.python/py-prettyprint.exp
12180 * gdb.python/py-recurse-unwind.exp
12181 * gdb.python/py-shared.exp
12182 * gdb.python/py-symbol.exp
12183 * gdb.python/py-symtab.exp
12184 * gdb.python/py-template.exp
12185 * gdb.python/py-type.exp
12186 * gdb.python/py-unwind-maint.exp
12187 * gdb.python/py-unwind.exp
12188 * gdb.python/py-value.exp
12189 * gdb.python/python.exp
12190 * gdb.reverse/finish-reverse-bkpt.exp
12191 * gdb.reverse/insn-reverse.exp
12192 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12193 * gdb.reverse/solib-precsave.exp
12194 * gdb.reverse/solib-reverse.exp
12195 * gdb.stabs/gdb11479.exp
12196 * gdb.stabs/weird.exp
12197 * gdb.threads/fork-child-threads.exp
12198 * gdb.threads/fork-plus-threads.exp
12199 * gdb.threads/fork-thread-pending.exp
12200 * gdb.threads/forking-threads-plus-breakpoint.exp
12201 * gdb.threads/hand-call-in-threads.exp
12202 * gdb.threads/interrupted-hand-call.exp
12203 * gdb.threads/linux-dp.exp
12204 * gdb.threads/local-watch-wrong-thread.exp
12205 * gdb.threads/next-while-other-thread-longjmps.exp
12206 * gdb.threads/non-ldr-exit.exp
12207 * gdb.threads/pending-step.exp
12208 * gdb.threads/print-threads.exp
12209 * gdb.threads/process-dies-while-detaching.exp
12210 * gdb.threads/process-dies-while-handling-bp.exp
12211 * gdb.threads/pthreads.exp
12212 * gdb.threads/queue-signal.exp
12213 * gdb.threads/reconnect-signal.exp
12214 * gdb.threads/signal-command-handle-nopass.exp
12215 * gdb.threads/signal-command-multiple-signals-pending.exp
12216 * gdb.threads/signal-delivered-right-thread.exp
12217 * gdb.threads/signal-sigtrap.exp
12218 * gdb.threads/sigthread.exp
12219 * gdb.threads/staticthreads.exp
12220 * gdb.threads/stepi-random-signal.exp
12221 * gdb.threads/thread-unwindonsignal.exp
12222 * gdb.threads/thread_check.exp
12223 * gdb.threads/thread_events.exp
12224 * gdb.threads/tid-reuse.exp
12225 * gdb.threads/tls-nodebug.exp
12226 * gdb.threads/tls-shared.exp
12227 * gdb.threads/tls-so_extern.exp
12228 * gdb.threads/tls.exp
12229 * gdb.threads/wp-replication.exp
12230 * gdb.trace/actions-changed.exp
12231 * gdb.trace/actions.exp
12232 * gdb.trace/backtrace.exp
12233 * gdb.trace/change-loc.exp
12234 * gdb.trace/collection.exp
12235 * gdb.trace/deltrace.exp
12236 * gdb.trace/disconnected-tracing.exp
12237 * gdb.trace/entry-values.exp
12238 * gdb.trace/ftrace-lock.exp
12239 * gdb.trace/ftrace.exp
12240 * gdb.trace/infotrace.exp
12241 * gdb.trace/mi-trace-frame-collected.exp
12242 * gdb.trace/mi-trace-unavailable.exp
12243 * gdb.trace/mi-traceframe-changed.exp
12244 * gdb.trace/mi-tracepoint-changed.exp
12245 * gdb.trace/mi-tsv-changed.exp
12246 * gdb.trace/no-attach-trace.exp
12247 * gdb.trace/packetlen.exp
12248 * gdb.trace/passc-dyn.exp
12249 * gdb.trace/passcount.exp
12250 * gdb.trace/pending.exp
12251 * gdb.trace/pr16508.exp
12252 * gdb.trace/qtro.exp
12253 * gdb.trace/range-stepping.exp
12254 * gdb.trace/read-memory.exp
12255 * gdb.trace/report.exp
12256 * gdb.trace/save-trace.exp
12257 * gdb.trace/signal.exp
12258 * gdb.trace/stap-trace.exp
12259 * gdb.trace/status-stop.exp
12260 * gdb.trace/strace.exp
12261 * gdb.trace/tfile.exp
12262 * gdb.trace/tfind.exp
12263 * gdb.trace/trace-break.exp
12264 * gdb.trace/trace-condition.exp
12265 * gdb.trace/trace-enable-disable.exp
12266 * gdb.trace/trace-mt.exp
12267 * gdb.trace/tracecmd.exp
12268 * gdb.trace/tracefile-pseudo-reg.exp
12269 * gdb.trace/tspeed.exp
12270 * gdb.trace/tstatus.exp
12271 * gdb.trace/tsv.exp
12272 * gdb.trace/unavailable.exp
12273 * gdb.trace/while-dyn.exp
12274 * gdb.trace/while-stepping.exp
12275 * lib/gdb-guile.exp
12276 * lib/gdb.exp
12277 * lib/mi-support.exp
12278 * lib/pascal.exp
12279 * lib/perftest.exp
12280 * lib/prelink-support.exp
12281 * lib/selftest-support.exp
12282
ad02e4fe
SM
122832016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12284
12285 * Makefile.in: Include disable-implicit-rules.mk.
12286
22347e55
AA
122872016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12288
12289 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12290 non-byte-aligned bit fields.
12291
da5b30da
AA
122922016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12293
12294 PR gdb/12616
12295 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12296 respects the DW_AT_data_bit_offset attribute.
12297
b593ecca
SM
122982016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12299
12300 * gdb.base/default.exp: Fix output of "set language".
12301
3b165252
SM
123022016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12303
12304 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12305 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12306 make.
12307 * configure.ac: Remove checks for the make program.
12308 * configure: Re-generate.
12309
1a2f3d7f
KB
123102016-11-16 Kevin Buettner <kevinb@redhat.com>
12311
12312 * gdb.python/py-recurse-unwind.c (main): Add loop.
12313 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12314 to read_register() and gdb.parse_and_eval(). Make each code
12315 call a separate case that can be individually tested.
12316 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12317 proc. Call cont_and_backtrace for each of the code paths that
12318 we want to test in the unwinder.
12319
b7f38fda
AA
123202016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12321
12322 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12323 the definition of struct S.
12324
1f8db343
CM
123252016-11-11 Catherine Moore <clm@codesourcery.com>
12326
12327 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12328
fad0c9fb
PA
123292016-11-09 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.base/commands.exp (runto_or_return): New procedure.
12332 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12333 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12334 (progvar_simple_while_test, progvar_complex_if_while_test)
12335 (if_while_breakpoint_command_test)
12336 (infrun_breakpoint_command_test, breakpoint_command_test)
12337 (user_defined_command_test, watchpoint_command_test)
12338 (test_command_prompt_position, redefine_hook_test)
12339 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12340 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12341 multi_line_input and multi_line. Remove gdb_expect and
12342 gdb_stop_suppressing_tests uses.
12343 * lib/gdb.exp (valnum_re): New global.
12344 (multi_line_input): New procedure.
12345
8354c62c
SM
123462016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12347
12348 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12349 Remove.
12350 (test_setup): Define with proc_with_prefix.
12351 (test_cli_inferior): Likewise.
12352 (test_cli_thread): Likewise.
12353 (test_cli_frame): Likewise.
12354 (test_cli_select_frame): Likewise.
12355 (test_cli_up_down): Likewise.
12356 (test_mi_thread_select): Likewise.
12357 (test_mi_stack_select_frame): Likewise.
12358 (test_cli_in_mi_inferior): Likewise.
12359 (test_cli_in_mi_thread): Likewise.
12360 (test_cli_in_mi_frame): Likewise.
12361 (top level): Do not use with_test_prefix_procname.
12362
64f367a2
PA
123632016-11-09 Pedro Alves <palves@redhat.com>
12364
12365 * gdb.base/commands.exp (gdbvar_simple_if_test)
12366 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12367 (progvar_simple_if_test, progvar_simple_while_test)
12368 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12369 (infrun_breakpoint_command_test, breakpoint_command_test)
12370 (user_defined_command_test, watchpoint_command_test)
12371 (test_command_prompt_position, deprecated_command_test)
12372 (bp_deleted_in_command, temporary_breakpoint_commands)
12373 (stray_arg0_test, source_file_with_indented_comment)
12374 (recursive_source_test, if_commands_test)
12375 (error_clears_commands_left, redefine_hook_test)
12376 (redefine_backtrace_test): Use proc_with_prefix.
12377 * lib/gdb.exp (proc_with_prefix): New proc.
12378
0bb65f1e
AA
123792016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12380
12381 * gdb.base/tui-layout.c: New file.
12382 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12383 disassembly window contains very long lines.
12384
7353f247
TT
123852016-11-08 Tom Tromey <tom@tromey.com>
12386
12387 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12388 depend on Python 2.
12389
30a7bb83
TT
123902016-11-08 Tom Tromey <tom@tromey.com>
12391
12392 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12393 New method.
12394
cdf5a07c
MG
123952016-10-29 Manish Goregaokar <manish@mozilla.com>
12396
2806dc7e 12397 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12398
51a789c3
MG
123992016-10-27 Manish Goregaokar <manish@mozilla.com>
12400
2806dc7e
PA
12401 * gdb.rust/simple.rs: Add test for univariant enums without
12402 discriminants and for encoded struct-like enums.
51a789c3 12403
f610ab6d
PA
124042016-10-28 Pedro Alves <palves@redhat.com>
12405
12406 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12407 gdb_test_multiple, tighten regexps and match symtabs and line
12408 tables incrementally.
12409
b129b0ca
LM
124102016-10-28 Luis Machado <lgustavo@codesourcery.com>
12411
12412 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12413 general.
12414
ecf45d2c
SL
124152016-10-25 Luis Machado <lgustavo@codesourcery.com>
12416
12417 * gdb.base/exec-invalid-sysroot.exp: New file.
12418
b8d38ee4
JK
124192016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12420
12421 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12422
f90fd8c2
JK
124232016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12424
12425 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12426
2d2476aa
MR
124272016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12428
2806dc7e
PA
12429 * gdb.base/killed-outside.exp: Remove $options from a call to
12430 `prepare_for_testing'.
2d2476aa 12431
e42b25a0
SM
124322016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12433
12434 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12435 Change test message.
12436
3ccdb432
SM
124372016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12438
12439 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12440 Update comment.
12441
5bad3170
SM
124422016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12443
12444 * gdb.trace/mi-trace-save.exp: New file.
12445
5ad9dba7
YQ
124462016-10-13 Yao Qi <yao.qi@linaro.org>
12447
12448 * gdb.base/code_elim.exp (get_var_address): Remove.
12449 * gdb.base/relocate.exp: Likewise.
12450 * gdb.base/shreloc.exp: Likewise.
12451 * lib/gdb.exp (get_var_address): New.
12452
62df7e21
YQ
124532016-10-13 Yao Qi <yao.qi@linaro.org>
12454
12455 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12456 floating point tests if $skip_float_test is false.
12457
4dac951e
LM
124582016-10-12 Luis Machado <lgustavo@codesourcery.com>
12459
12460 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12461 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12462 argc values.
12463 Add 1 to argc so we guarantee distinct initial/modified argc values.
12464
8f1a8fc4
JK
124652016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12466
12467 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12468
16c85b5d
JK
124692016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12470
12471 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12472 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12473 * gdb.arch/vsx-regs.exp: Likewise.
12474
1d0e042a
YQ
124752016-10-07 Yao Qi <yao.qi@linaro.org>
12476
12477 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12478
68dadef5
MM
124792016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12480
12481 * gdb.python/python.exp: Test decode_line("*0").
12482
33fa2c6e
DE
124832016-10-06 Doug Evans <dje@google.com>
12484
12485 * gdb.python/py-value.exp (test_value_creation): Add test for large
12486 unsigned 64-bit value.
12487
9c37b5ae
TT
124882016-10-06 Tom Tromey <tom@tromey.com>
12489
12490 * gdb.compile/compile.exp: Change java tests to rust.
12491 * gdb.base/setshow.exp: Change java tests to rust.
12492 * gdb.base/default.exp: Remove java from language list.
12493 * README (Examples): Update language example.
12494 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12495 test.
12496 * lib/gdb.exp (skip_java_tests): Remove.
12497 * lib/java.exp: Remove.
12498 * gdb.java: Remove.
12499
78b86327
MR
125002016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12501
12502 * gdb.arch/mips-fcr.exp: New test.
12503 * gdb.arch/mips-fcr.c: Source for the new test.
12504
7470adbb
MR
125052016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12506
12507 * gdb.base/solib-disc.exp: Use `standard_output_file'
12508 throughout.
12509
4a556533
PA
125102016-10-06 Pedro Alves <palves@redhat.com>
12511
12512 * gdb.base/jit-simple-dl.c: New file.
12513 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12514 * gdb.base/jit-simple.c: ... this.
12515 * gdb.base/jit-simple.exp (jit_run): Delete.
12516 (build_jit): New proc.
12517 (jit_test_reread): Recompile either the main program or the shared
12518 library, depending on what is being tested. Skip changing address
12519 if caller wants to. Compare before/after addresses. If testing
12520 standalone, explicitly load the binary. Test "maint info
12521 breakpoints".
12522 (top level): Add "standalone vs shared lib" and "change address"
12523 vs "same address" axes.
12524
5a122fbc
PA
125252016-10-06 Pedro Alves <palves@redhat.com>
12526
12527 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12528 call.
12529 (jit_run): Delete.
12530 (jit_test_reread): Use with_test_prefix. Reload the main binary
12531 explicitly. Compare the before/after addresses of the JIT
12532 descriptor.
12533
ee8da4b8
DE
125342016-08-15 Doug Evans <dje@google.com>
12535
12536 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12537 for single bitfields is bool.
12538 * gdb.xml/tdesc-regs.exp: Ditto.
12539
f389f6fe
JK
125402016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12541
12542 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12543
fdebf1a4
YQ
125442016-10-05 Yao Qi <yao.qi@linaro.org>
12545
12546 * lib/gdb.exp (support_complex_tests): Return zero if
12547 gdb_skip_float_test return true.
12548
9c36d954 125492016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12550 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12551
12552 PR gdb/20487
12553 * gdb.mi/user-selected-context-sync.exp: New file.
12554 * gdb.mi/user-selected-context-sync.c: New file.
12555
4034d0ff 125562016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12557 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12558
12559 PR gdb/20487
12560 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12561 =thread-select-event check.
12562
a4297203
PB
125632016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12564
12565 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12566 the compulsory L operand changes.
12567 * gdb.arch/powerpc-power.s: Likewise.
12568
bb805577
JK
125692016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12570
12571 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12572 * gdb.base/jit-attach-pie.c: New file.
12573 * gdb.base/jit-attach-pie.exp: New file.
12574
6d61dee5
PA
125752016-09-28 Pedro Alves <palves@redhat.com>
12576
12577 * gdb.base/infcall-input.c: New file.
12578 * gdb.base/infcall-input.exp: New file.
12579
f73842fc
YQ
125802016-09-22 Yao Qi <yao.qi@linaro.org>
12581
12582 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12583 (gdb_exit): Rename it to ...
12584 (gdbserver_gdb_exit): ... Close GDBserver.
12585 (gdb_exit): New proc, call gdbserver_gdb_exit.
12586 (mi_gdb_exit): Likewise.
12587
90681dab
YQ
125882016-09-22 Yao Qi <yao.qi@linaro.org>
12589
12590 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12591 path.
12592 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12593 Remove duplication.
12594
9c211fd8
YQ
125952016-09-22 Yao Qi <yao.qi@linaro.org>
12596
12597 * lib/gdbserver-support.exp: Check the existence of
12598 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12599
ad0a504f
AK
126002016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12601
12602 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12603
36cf1806
TT
126042016-09-21 Tom Tromey <tom@tromey.com>
12605
12606 PR gdb/20604:
12607 * gdb.base/quit.exp: New file.
12608
74172ecf
SM
126092016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12610
12611 * .gitignore: New file.
12612
3d0ec882
MR
126132016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12614
12615 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12616 throughout.
12617
8193adea
AA
126182016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12619
12620 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12621
d41a5c09
JK
126222016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12623
12624 * gdb.cp/casts.cc (decltype): Move it ...
12625 (main): ... with its call to ...
12626 * gdb.cp/casts03.cc: ... a new file.
12627 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12628
d2dfe700
JK
126292016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12630
12631 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12632
e2a92b16
PB
126332016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12634
12635 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12636 and sync up the test with tests in gas/testsuite/gas/ppc.
12637 * gdb.arch/powerpc-power.exp: Likewise.
12638
49b4de64
JK
126392016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12640
12641 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12642
2c29df25
SDJ
126432016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12644 Jan Kratochvil <jan.kratochvil@redhat.com>
12645
12646 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12647 make m1's definition to be different from m2's. Use 'dummy' as an
12648 argument for probe 'two'.
12649
cc3c2846
JB
126502016-09-10 Jon Beniston <jon@beniston.com>
12651
12652 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12653 for sim target.
12654
e1b2624a
AA
126552016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12656
12657 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12658 variable declaration.
12659 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12660 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12661 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12662 received HWCAP as its argument.
12663
4295e285
PA
126642016-09-06 Pedro Alves <palves@redhat.com>
12665
12666 * gdb.base/new-ui-pending-input.c: New file.
12667 * gdb.base/new-ui-pending-input.exp: New file.
12668 * gdb.exp (clear_gdb_spawn_id): New procedure.
12669 (with_spawn_id): Check whether gdb_spawn_id exists before
12670 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12671 on exit.
12672
00d5215e
UW
126732016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12674
12675 * gdb.base/float128.c: New file.
12676 * gdb.base/float128.exp: Likewise.
12677 * gdb.base/floatn.c: Likewise.
12678 * gdb.base/floatn.exp: Likewise.
12679
a9ff5f12
UW
126802016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12681
12682 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12683
f245535c
PA
126842016-09-05 Pedro Alves <palves@redhat.com>
12685
12686 PR backtrace/19927
12687 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12688 unwinders are immediately called as side effect of "source" or
12689 "disable unwinder" commands.
12690 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12691
ae9cf263
YQ
126922016-09-02 Yao Qi <yao.qi@linaro.org>
12693
12694 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12695 is true and $type is "float" or "double".
12696
27aba047
YQ
126972016-09-02 Yao Qi <yao.qi@linaro.org>
12698
12699 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12700 true.
12701 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12702 * gdb.base/call-rt-st.exp: Likewise.
12703 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12704 return value instead of gdb,skip_float_test.
12705 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12706 (do_function_calls): Use its return value instead of
12707 gdb,skip_float_test.
12708 * gdb.base/finish.exp: Likewise.
12709 * gdb.base/funcargs.exp: Likewise.
12710 * gdb.base/return.exp: Likewise.
12711 * gdb.base/return2.exp: Likewise.
12712 * gdb.base/varargs.exp: Likewise.
12713 * lib/gdb.exp (gdb_skip_float_test): Change it to
12714 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12715
5af962df
AA
127162016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12717
12718 * gdb.multi/tids.exp: Test "thread apply all".
12719
7fac6910
JK
127202016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12721
12722 * gdb.base/default.exp (tty): Remove.
12723
bb1fe4ac
KB
127242016-08-24 Kevin Buettner <kevinb@redhat.com>
12725
2806dc7e
PA
12726 * gdb.python/py-recurse-unwind.c: New file.
12727 * gdb.python/py-recurse-unwind.py: New file.
12728 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12729
0a1ddfa6
SM
127302016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12731
12732 * gdb.base/set-inferior-tty.exp: New file.
12733 * gdb.base/set-inferior-tty.c: New file.
12734
d9de1fe3
PA
127352016-08-23 Pedro Alves <palves@redhat.com>
12736
12737 PR gdb/20494
12738 * gdb.base/new-ui-echo.c: New file.
12739 * gdb.base/new-ui-echo.exp: New file.
12740
e9d9abd7
YQ
127412016-08-23 Yao Qi <yao.qi@linaro.org>
12742
12743 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12744 gdbserver_spawn.
12745 * gdb.server/connect-without-multi-process.exp (do_test):
12746 Likewise.
12747
3589529e
YQ
127482016-08-23 Yao Qi <yao.qi@linaro.org>
12749
12750 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12751 standalone_txt. Delete gdb_txt and standalone_txt on host
12752 and target. Spawn the binary on target. Copy files from
12753 target to host.
12754
6bb90213
PA
127552016-08-22 Pedro Alves <palves@redhat.com>
12756
12757 PR gdb/20505
12758 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12759 with_test_prefix. Factor out bits to ...
12760 (test_no_vdso): ... this new procedure.
12761
20c2c024
CL
127622016-08-19 Carl Love <cel@us.ibm.com>
12763
12764 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12765 maintaining separate logic for constructing the output path.
12766 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12767 * gdb.arch/ppc-dfp.exp: Likewise.
12768 * gdb.arch/ppc-fp.exp: Likewise.
12769 * gdb.arch/vsx-regs.exp: Likewise.
12770 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12771 binprefix for generating the additional binary files.
12772
0646e07d
PA
127732016-08-19 Pedro Alves <palves@redhat.com>
12774
12775 * gdb.trace/mi-trace-frame-collected.exp
12776 (test_trace_frame_collected): On x32, expect two registers.
12777
46da9242
CL
127782016-08-18 Carl Love <cel@us.ibm.com>
12779
12780 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12781 and sync up the test with tests in gas/testsuite/gas/ppc.
12782 * gdb.arch/powerpc-power.exp: Likewise.
12783
eb2332d7
SM
127842016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12785
12786 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12787 expected error message.
12788
63c61e04
SM
127892016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12790
12791 * gdb.multi/remove-inferiors.exp: New file.
12792 * gdb.multi/remove-inferiors.c: New file.
12793
7b17065f
YQ
127942016-08-12 Yao Qi <yao.qi@linaro.org>
12795
12796 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12797 argument list.
12798
01d3dedf
PA
127992016-08-10 Pedro Alves <palves@redhat.com>
12800
12801 PR gdb/19187
12802 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12803 setup_kfails.
12804
3eb7562a
PA
128052016-08-09 Pedro Alves <palves@redhat.com>
12806 Simon Marchi <simon.marchi@ericsson.com>
12807
12808 PR gdb/20418
12809 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12810 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12811
80614914
PA
128122016-08-09 Pedro Alves <palves@redhat.com>
12813
12814 PR mi/20431
12815 * gdb.mi/mi-cmd-error.exp: New file.
12816
f348d89a
PA
128172016-08-09 Pedro Alves <palves@redhat.com>
12818
12819 PR gdb/18653
12820 * gdb.base/signals-state-child.c: New file.
12821 * gdb.base/signals-state-child.exp: New file.
12822 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12823
e5ca03b4
PA
128242016-08-09 Pedro Alves <palves@redhat.com>
12825
12826 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12827
282a0691
TT
128282016-08-03 Tom Tromey <tom@tromey.com>
12829
12830 PR python/18565:
12831 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12832
41bfcd63
YQ
128332016-08-01 Yao Qi <yao.qi@linaro.org>
12834
12835 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12836 variable mode to "multi-process" if $multi_process is 1, otherwise
12837 set it to "single-process".
12838
e3465b24
YQ
128392016-08-01 Yao Qi <yao.qi@linaro.org>
12840
12841 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12842 * gdb.cp/cpexprs.exp: Likewise.
12843 * gdb.cp/m-static.exp: Likewise.
12844
0b31a4bc
TT
128452016-07-26 Tom Tromey <tom@tromey.com>
12846
12847 PR python/20190:
12848 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12849 test.
12850
e0461dbb
MM
128512016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12852
12853 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12854 selecting assembly source files.
12855 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12856 assembly source files.
12857 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12858 assembly source files.
12859 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12860 selecting assembly source files.
12861
8194e927
SM
128622016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12863
12864 * gdb.base/new-ui.exp (do_test_invalid_args): New
12865 procedure.
12866
c0272db5
TW
128672016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12868
12869 * gdb.btrace/reconnect.c: New file.
12870 * gdb.btrace/reconnect.exp: New file.
12871
e3487908
GKB
128722016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12873
12874 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12875 to test_catch_syscall_group.
12876 (test_catch_syscall_group): New.
12877
12df5c00
TT
128782016-07-21 Tom Tromey <tom@tromey.com>
12879
12880 * gdb.rust/simple.rs (main): Use empty struct expression.
12881 * gdb.rust/simple.exp: Add tests for empty struct expression.
12882
bae62ee2
YQ
128832016-07-21 Yao Qi <yao.qi@linaro.org>
12884
12885 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12886 if gdb_skip_xml_test is true on some targets.
12887
b1b53fb3
YQ
128882016-07-21 Yao Qi <yao.qi@linaro.org>
12889
12890 * gdb.server/solib-list.exp: Unset last_loaded_file.
12891
027d97f8
JK
128922016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12893
12894 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12895 "step into captured_main (args)".
12896
7674d381
JK
128972016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12898
12899 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12900
72b5d099
JK
129012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12902
12903 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12904
1f960ced
PA
129052016-07-19 Pedro Alves <palves@redhat.com>
12906
12907 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12908 * gdb.opt/inline-bt.exp: Likewise.
12909 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12910 additional_flags=-Winline.
12911 * gdb.opt/inline-locals.exp: Likewise.
12912 * gdb.opt/inline-markers.c (ATTR): Define.
12913 (inlined_fn): Use it.
12914
f25827c1
YQ
129152016-07-19 Yao Qi <yao.qi@linaro.org>
12916
12917 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12918 (test_with_self): Remove some code. Remove argument executable.
12919 (top-level): Use do_self_tests.
12920
37539ebe
DB
129212016-07-15 Zachary Welch <zwelch@codesourcery.com>
12922 Don Breazeal <donb@codesourcery.com>
12923
12924 * gdb.base/maint.exp: Escape paths used in regular expressions.
12925 * gdb.stabs/weird.exp: Likewise.
12926
dac790e1
TT
129272016-07-13 Tom Tromey <tom@tromey.com>
12928
12929 PR python/15620, PR python/18620:
12930 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12931 (test_bkpt_events): New procs.
12932
93daf339
TT
129332016-07-13 Tom Tromey <tom@tromey.com>
12934
12935 PR python/17698:
12936 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12937 test.
12938 (test_watchpoints): Likewise.
12939 (test_bkpt_pending): New proc.
12940
6571a381
TT
129412016-07-13 Tom Tromey <tom@tromey.com>
12942
12943 PR cli/18053:
12944 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12945 completion test.
12946
e8732474
JK
129472016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12948
12949 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12950 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12951 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12952 f_label.
12953 (g): Rename g_end_lbl to g_label.
12954 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12955 low_pc and high_pc.
12956 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12957
e0f3fd7c
TT
129582016-07-12 Tom Tromey <tom@tromey.com>
12959
12960 PR python/19293:
12961 * gdb.python/py-unwind-maint.exp: Update tests.
12962
3cfe46b6
YQ
129632016-07-12 Yao Qi <yao.qi@linaro.org>
12964
12965 * lib/selftest-support.exp (selftest_setup): Match the output
12966 when captured_main is inlined.
12967
4f19a0e6
WT
129682016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12969
12970 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12971 New variables.
12972 (print this%a, print this%b, print this): New tests.
12973 * gdb.fortran/derived-types.f90 (this): New object and
12974 initialization.
12975
986cf455
SM
129762016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12977
12978 * gdb.ada/arraydim.exp: Remove extra directory level in build
12979 directory.
12980
f0464b23
SM
129812016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12982
12983 * lib/ada.exp: Remove extra directory level in build directory.
12984 * gdb.ada/cond_lang.exp: Likewise.
12985 * gdb.ada/exec_changed.exp: Likewise.
12986 * gdb.ada/lang_switch.exp: Likewise.
12987
42d94011
MG
129882016-07-06 Manish Goregaokar <manish@mozilla.com>
12989
2806dc7e
PA
12990 * simple.rs: Add test for raw pointer subscripting.
12991 * simple.exp: Add test expectations.
42d94011 12992
647c264c
YQ
129932016-07-05 Yao Qi <yao.qi@linaro.org>
12994
12995 * gdb.mi/mi-reverse.exp: Match =record-started output.
12996
20aa2c60
PA
129972016-07-01 Pedro Alves <palves@redhat.com>
12998
12999 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13000 procedure.
13001 (jit_reader_test): Test the jit reader's unwinder.
13002 * gdb.base/jithost.c (jit_function_00_code): New global.
13003 (main): Use memcpy to fill in the mmapped code, instead of poking
13004 bytes manually here.
13005 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13006 value.
13007 (read_debug_info): Save the function's range.
13008 (read_sp): New function.
13009 (unwind_frame): Use it. Also unwind RBP.
13010 (get_frame_id): Use read_sp.
13011 (gdb_init_reader): Use calloc instead of malloc.
13012 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13013 parameter. Use gdb_test_multiple.
13014
ced2dffb
PA
130152016-07-01 Pedro Alves <palves@redhat.com>
13016 Antoine Tremblay <antoine.tremblay@ericsson.com>
13017
13018 * gdb.threads/process-dies-while-detaching.c: New file.
13019 * gdb.threads/process-dies-while-detaching.exp: New file.
13020
63000888
PA
130212016-07-01 Pedro Alves <palves@redhat.com>
13022
13023 * gdb.multi/watchpoint-multi-exit.c: New file.
13024 * gdb.multi/watchpoint-multi-exit.exp: New file.
13025
038d4868
PA
130262016-06-30 Pedro Alves <palves@redhat.com>
13027
13028 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13029 unset inferior_spawn_id.
13030
994e9c83
PA
130312016-06-30 Pedro Alves <palves@redhat.com>
13032
13033 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13034 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13035
e5653468
YQ
130362016-06-29 Yao Qi <yao.qi@linaro.org>
13037
13038 * gdb.base/return.c: Add copyright header.
13039
803b47e5
TT
130402016-06-29 Tom Tromey <tom@tromey.com>
13041
13042 PR python/20129:
13043 * gdb.python/py-framefilter.exp: Add tests for setting priority
13044 and disabling of non-existent frame filter.
13045
28244707
YQ
130462016-06-29 Yao Qi <yao.qi@linaro.org>
13047
13048 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13049 0x0f07ff.
13050
a31d2f06
YQ
130512016-06-28 Yao Qi <yao.qi@linaro.org>
13052
13053 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13054 triplets. Start gdb, execute catch syscall, and continue. Check
13055 gdb's output to determine catch syscall is supported.
13056
921d8f54
MG
130572016-06-27 Manish Goregaokar <manish@mozilla.com>
13058
25d49b86
PA
13059 * gdb.rust/simple.rs: Add test for returning unit in a function.
13060 * gdb.rust/simple.exp: Add expectation for functions returning
13061 unit.
921d8f54 13062
f4952523
PMR
130632016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13064
13065 * gdb.python/py-breakpoint-create-fail.c,
13066 gdb.python/py-breakpoint-create-fail.exp,
13067 gdb.python/py-breakpoint-create-fail.py: New testcase.
13068
fccb08f8
MG
130692016-06-25 Manish Goregaokar <manish@mozilla.com>
13070
13071 PR gdb/20239
13072 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13073 * gdb.rust/simple.exp: Add test expectations for new NonZero
13074 tests.
fccb08f8 13075
6b850546
DT
130762016-06-24 David Taylor <dtaylor@emc.com>
13077
13078 * gdb.base/offsets.exp: New file.
13079 * gdb.base/offsets.c: New file.
13080
17621150
TT
130812016-06-23 Tom Tromey <tom@tromey.com>
13082
13083 PR gdb/16483:
13084 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13085 before any filters are loaded.
13086
04d59df6
WT
130872016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13088
13089 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13090 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13091 structs.
13092 * gdb.fortran/derived-type-function.exp: New file.
13093 * gdb.fortran/derived-type-function.f90: New file.
13094
13095
ac69f786
PA
130962016-06-21 Pedro Alves <palves@redhat.com>
13097
13098 * gdb.base/new-ui.exp: New file.
13099 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13100 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13101 (with_spawn_id): New procedure.
13102
49940788
PA
131032016-06-21 Pedro Alves <palves@redhat.com>
13104
13105 * gdb.mi/mi-exec-run.exp: New file.
13106
ef274d26
PA
131072016-06-21 Pedro Alves <palves@redhat.com>
13108
13109 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13110 breakpoint command's output on the main UI.
13111 (test_break): New procedure, factored out from calls in the top
13112 level.
13113 (top level): Use foreach_with_prefix to test MI as main UI and as
13114 separate UI.
13115
468afe6c
PA
131162016-06-21 Pedro Alves <palves@redhat.com>
13117
13118 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13119 (test_awatch_creation_and_listing)
13120 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13121 Remove 'type' parameter.
13122 (test_watchpoint_all): New parameter mi_mode. Remove
13123 with_test_prefix.
13124 (top level): Use foreach_with_prefix, and add main/separate UI MI
13125 testing axis.
13126
51f77c37
PA
131272016-06-21 Pedro Alves <palves@redhat.com>
13128
13129 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13130 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13131 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13132 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13133 (gdb_main_spawn_id, mi_spawn_id): Declare and
13134 comment.
13135 (mi_create_inferior_pty): New procedure,
13136 factored out from default_mi_gdb_start.
13137 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13138 procedures.
13139 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13140 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13141 Use mi_create_inferior_pty.
13142 (mi_gdb_start): Use eval to pass down args list.
13143
8980e177
PA
131442016-06-21 Pedro Alves <palves@redhat.com>
13145
13146 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13147 * gdb.opt/inline-cmds.exp: Add MI tests.
13148
f38d3ad1
PA
131492016-06-21 Pedro Alves <palves@redhat.com>
13150
13151 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13152
45db7c09
PA
131532016-06-21 Pedro Alves <palves@redhat.com>
13154
13155 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13156 (top level): Use it instead of mi_execute_to.
13157
5a069ab3
PA
131582016-06-21 Pedro Alves <palves@redhat.com>
13159
13160 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13161 (cont_handler_str): New.
13162 (signal_stop_handler): Set stop_handler_str instead of printing to
13163 stdout.
13164 (continue_handler): Set cont_handler_str instead of printing to
13165 stdout.
13166 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13167 mi_send_resuming_command. Print stop_handler_str and
13168 cont_handler_str instead of expecting the python events print
13169 directly.
13170
2838cc1d
SD
131712016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13172
13173 * gdb.base/jit-reader.exp: New file.
13174 * gdb.base/jithost.c: New file.
13175 * gdb.base/jithost.h: New file.
13176 * gdb.base/jitreader.c : New file.
13177 * gdb.base/jit-protocol.h: New file.
13178
21a77091
YQ
131792016-06-17 Yao Qi <yao.qi@linaro.org>
13180
13181 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13182 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13183 and detach-on-fork. Adjust tests.
13184 (top level): Invoke break_cond_on_syscall with combinations of
13185 syscall, follow-fork-mode and detach-on-fork.
13186
f50bf8e5
YQ
131872016-06-17 Yao Qi <yao.qi@linaro.org>
13188
13189 * gdb.base/step-over-exit.c: New.
13190 * gdb.base/step-over-exit.exp: New.
13191
a28d8e50
YTL
131922016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13193
13194 * gdb.base/float.exp: Add target check for nds32*-*-*.
13195 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13196
cad8e26d
AB
131972016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13198
13199 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13200 for unsupported target features.
13201 * gdb.base/call-rt-st.exp: Likewise.
13202 * gdb.base/call-sc.exp: Likewise.
13203 * gdb.base/call-signal-resume.exp: Likewise.
13204 * gdb.base/call-strs.exp: Likewise.
13205 * gdb.base/callexit.exp: Likewise.
13206 * gdb.base/callfuncs.exp: Likewise.
13207 * gdb.base/nodebug.exp: Likewise.
13208 * gdb.base/printcmds.exp: Likewise.
13209 * gdb.base/ptype.exp: Likewise.
13210 * gdb.base/structs.exp: Likewise.
13211 * gdb.base/unwindonsignal.exp: Likewise.
13212 * gdb.cp/gdb2495.exp: Likewise.
13213 * gdb.cp/templates.exp: Likewise.
13214 * gdb.cp/virtfunc.exp: Likewise.
13215 * gdb.threads/hand-call-in-threads.exp: Likewise.
13216 * gdb.threads/interrupted-hand-call.exp: Likewise.
13217 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13218
347dc102
TT
132192016-06-10 Tom Tromey <tom@tromey.com>
13220
13221 PR rust/20110:
13222 * gdb.rust/expr.exp: Add test for integer constant larger than
13223 i32.
13224
5e13cf25
BH
132252016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13226
13227 * gdb.fortran/nested-funcs.exp: New.
13228 * gdb.fortran/nested-funcs.f90: New.
13229
bb556f1f
TK
132302016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13231
13232 * gdb.base/examine-backward.c: New file.
13233 * gdb.base/examine-backward.exp: New file.
13234
38b022b4
SM
132352016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13236
13237 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13238 matching.
13239
1b40ec05
TT
132402016-06-02 Tom Tromey <tom@tromey.com>
13241
13242 PR python/18984:
13243 * gdb.python/py-shared.exp: Add solib_name test.
13244
193bd378
SM
132452016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13246
13247 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13248
3326303b
MG
132492016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13250
13251 PR c++/19893
13252 * gdb.dwarf2/implref.exp: Rename to...
13253 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13254 * gdb.dwarf2/implref-array.c: New file.
13255 * gdb.dwarf2/implref-array.exp: Likewise.
13256 * gdb.dwarf2/implref-global.c: Likewise.
13257 * gdb.dwarf2/implref-global.exp: Likewise.
13258 * gdb.dwarf2/implref-struct.c: Likewise.
13259 * gdb.dwarf2/implref-struct.exp: Likewise.
13260
825c8ef2
AT
132612016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13262
13263 * gdb.trace/trace-condition.exp: Add 64bit tests.
13264
2320162a
AT
132652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13266
13267 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13268 bits types.
13269 (main): Adapt to 8 to 64 bits types.
13270 * gdb.trace/trace-condition.exp: Add new tests.
13271
a7818233
AT
132722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13273
13274 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13275
0d336466
AT
132762016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13277
13278 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13279 Move condition tests...
13280 * gdb.trace/trace-condition.exp: Here.
13281
7faeb45a
AT
132822016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13283
13284 * gdb.trace/trace-condition.exp: Add counter-case tests.
13285
e385593e
JK
132862016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13287
13288 PR c++/15231
13289 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13290 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13291
744608cc
PA
132922016-05-27 Pedro Alves <palves@redhat.com>
13293
13294 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13295 New procedure.
13296 (top level): Call it, and bail out of DejaGnu is known to be bad.
13297
ac775bf4
AB
132982016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13299
13300 * gdb.base/whatis.c: Extend the test case.
13301 * gdb.base/whatis.exp: Add additional tests.
13302
2bbad2ea
BH
133032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13304
13305* gdb.fortran/type.f90: Add pointer variable.
13306* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13307
8b70175d
BH
133082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13309
13310 * gdb.fortran/vla-type.exp: Fix testcase name.
13311
86d8a848
BH
133122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13313
13314 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13315
e188eb36
BH
133162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13317
13318 * gdb.fortran/type.f90: Add nested structures.
13319 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13320 * gdb.fortran/derived-type.exp: Adapt expected output.
13321 * gdb.fortran/vla-type.exp: Adapt expected output.
13322
9b2db1fd
BH
133232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13324
13325 * gdb.fortran/whatis_type.exp: Adapt expected output.
13326
72b17055
BH
133272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13328
13329 * gdb.fortran/print_type.exp: Fix expected output.
13330 * gdb.fortran/whatis_type.exp: Fix expected output.
13331
3cd81d8d
BH
133322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13333
13334 * gdb.fortran/whatis_type.exp: Use multi_line.
13335
ddae9462
TT
133362016-05-24 Tom Tromey <tom@tromey.com>
13337
13338 PR python/17386:
13339 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13340 use value as an index.
13341
1957f6b8
TT
133422016-05-23 Tom Tromey <tom@tromey.com>
13343
13344 PR python/17981:
13345 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13346 no-breakpoint case.
13347
026a9174
PA
133482016-05-24 Pedro Alves <palves@redhat.com>
13349
13350 PR gdb/19828
13351 * gdb.threads/clone-attach-detach.c: New file.
13352 * gdb.threads/clone-attach-detach.exp: New file.
13353
e70a7231
FR
133542016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13355
13356 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13357
0f6ed0e0
TT
133582016-05-23 Tom Tromey <tom@tromey.com>
13359
13360 PR python/19438, PR python/18393:
13361 * gdb.python/py-progspace.exp: Add "dir" test.
13362 * gdb.python/py-objfile.exp: Add "dir" test.
13363
ffd19d61
YQ
133642016-05-23 Yao Qi <yao.qi@linaro.org>
13365
13366 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13367 * gdb.arch/thumb2-it.exp: Likewise.
13368
9e8f9b05
SM
133692016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13370
13371 * gdb.mi/mi-threads-interrupt.c: New file.
13372 * gdb.mi/mi-threads-interrupt.exp: New file.
13373
61c6156d
SM
133742016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13375
13376 PR gdb/18077
13377 * gdb.mi/mi-async-run.exp: New file.
13378 * gdb.mi/mi-async-run.c: New file.
13379
67218854
TT
133802016-05-17 Tom Tromey <tom@tromey.com>
13381 Manish Goregaokar <manishsmail@gmail.com>
13382
13383 * lib/rust-support.exp: New file.
13384 * lib/gdb.exp (skip_rust_tests): New proc.
13385 (build_executable_from_specs): Handle rust.
13386 * lib/future.exp (gdb_find_rustc): New proc.
13387 (gdb_default_target_compile): Handle rust.
13388 * gdb.rust/expr.exp: New file.
13389 * gdb.rust/generics.exp: New file.
13390 * gdb.rust/generics.rs: New file.
13391 * gdb.rust/methods.exp: New file.
13392 * gdb.rust/methods.rs: New file.
13393 * gdb.rust/modules.exp: New file.
13394 * gdb.rust/modules.rs: New file.
13395 * gdb.rust/simple.exp: New file.
13396 * gdb.rust/simple.rs: New file.
13397
c44af4eb
TT
133982016-05-17 Tom Tromey <tom@tromey.com>
13399
13400 * gdb.base/default.exp (set language): Add rust.
13401
dcd1f979
TT
134022016-05-17 Tom Tromey <tom@tromey.com>
13403
13404 * gdb.gdb/unittest.exp: New file.
13405
155b7f57
YQ
134062016-05-16 Yao Qi <yao.qi@linaro.org>
13407
13408 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13409 shell_prompt. Update shell_prompt_re.
13410
8ddd5a6c
DE
134112016-05-12 Doug Evans <dje@google.com>
13412
13413 PR symtab/19999
13414 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13415 $options when building executable.
13416 * gdb.dwarf2/fission-loclists-pie.S: New file.
13417 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13418
02e370d9
SM
134192016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13420
13421 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13422 of [is_remote target],
13423
8929ad8b
SM
134242016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13425
13426 * lib/gdb.exp (use_gdb_stub): New procedure.
13427
6c447423
DE
134282016-05-03 Yunlian Jiang <yunlian@google.com>
13429 Doug Evans <dje@google.com>
13430
13431 PR symtab/19914
13432 * gdb.dwarf2/dwp-sepdebug.c: New file.
13433 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13434
444e826c
SM
134352016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13436
13437 * gdb.base/detach.exp: Remove is_remote check.
13438
740feeaa
SM
134392016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13440
13441 * gdb.base/annota-input-while-running.exp: Don't check for
13442 [is_remote target]. Enable annotations after running to main.
13443 Remove unused "set test..." line.
13444
9080ac9d
SM
134452016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13446
13447 * gdb.trace/trace-enable-disable.exp: New file.
13448 * gdb.trace/trace-enable-disable.c: New file.
13449
952ebca5
SM
134502016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13451
13452 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13453 use it in info sharedlibrary test.
13454 * gdb.trace/ftrace-lock.exp: Likewise.
13455 * gdb.trace/ftrace.exp: Likewise.
13456 * gdb.trace/range-stepping.exp: Likewise.
13457 * gdb.trace/trace-break.exp: Likewise.
13458 * gdb.trace/trace-condition.exp: Likewise.
13459 * gdb.trace/trace-mt.exp: Likewise.
13460
d9019901
SM
134612016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13462
13463 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13464 (gdb_load_shlib): ... this.
13465 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13466 gdb_load_shlib.
13467 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13468 * gdb.base/ctxobj.exp: Likewise.
13469 * gdb.base/dprintf-pending.exp: Likewise.
13470 * gdb.base/dso2dso.exp: Likewise.
13471 * gdb.base/fixsection.exp: Likewise.
13472 * gdb.base/gcore-relro.exp: Likewise.
13473 * gdb.base/gdb1555.exp: Likewise.
13474 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13475 * gdb.base/gnu-ifunc.exp: Likewise.
13476 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13477 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13478 * gdb.base/pending.exp: Likewise.
13479 * gdb.base/print-file-var.exp: Likewise.
13480 * gdb.base/print-symbol-loading.exp: Likewise.
13481 * gdb.base/shlib-call.exp: Likewise.
13482 * gdb.base/shreloc.exp: Likewise.
13483 * gdb.base/so-impl-ld.exp: Likewise.
13484 * gdb.base/solib-disc.exp: Likewise.
13485 * gdb.base/solib-nodir.exp: Likewise.
13486 * gdb.base/solib-overlap.exp: Likewise.
13487 * gdb.base/solib-symbol.exp: Likewise.
13488 * gdb.base/solib-weak.exp (do_test): Likewise.
13489 * gdb.base/sym-file.exp: Likewise.
13490 * gdb.base/symtab-search-order.exp: Likewise.
13491 * gdb.base/type-opaque.exp: Likewise.
13492 * gdb.base/unload.exp: Likewise.
13493 * gdb.base/watchpoint-solib.exp: Likewise.
13494 * gdb.compile/compile.exp: Likewise.
13495 * gdb.cp/gdb2384.exp: Likewise.
13496 * gdb.cp/infcall-dlopen.exp: Likewise.
13497 * gdb.cp/re-set-overloaded.exp: Likewise.
13498 * gdb.fortran/library-module.exp: Likewise.
13499 * gdb.opt/solib-intra-step.exp: Likewise.
13500 * gdb.python/py-finish-breakpoint.exp: Likewise.
13501 * gdb.python/py-shared.exp: Likewise.
13502 * gdb.reverse/solib-precsave.exp: Likewise.
13503 * gdb.reverse/solib-reverse.exp: Likewise.
13504 * gdb.server/solib-list.exp: Likewise.
13505 * gdb.threads/dlopen-libpthread.exp: Likewise.
13506 * gdb.threads/tls-shared.exp: Likewise.
13507 * gdb.threads/tls-so_extern.exp: Likewise.
13508 * gdb.trace/change-loc.exp: Likewise.
13509 * gdb.trace/ftrace-lock.exp: Likewise.
13510 * gdb.trace/ftrace.exp: Likewise.
13511 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13512 * gdb.trace/pending.exp: Likewise.
13513 * gdb.trace/range-stepping.exp: Likewise.
13514 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13515 (strace_info_marker): Likewise.
13516 (strace_probe_marker): Likewise.
13517 (strace_trace_on_same_addr): Likewise.
13518 (strace_trace_on_diff_addr): Likewise.
13519 * gdb.trace/trace-break.exp: Likewise.
13520 * gdb.trace/trace-condition.exp: Likewise.
13521 * gdb.trace/trace-mt.exp: Likewise.
13522
fca4cfd9
SM
135232016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13524
13525 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13526 result of gdb_remote_download.
13527 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13528 * gdb.base/dso2dso.exp: Likewise.
13529 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13530 * gdb.base/print-file-var.exp: Likewise.
13531 * gdb.base/shlib-call.exp: Likewise.
13532 * gdb.base/shreloc.exp: Likewise.
13533 * gdb.base/solib-overlap.exp: Likewise.
13534 * gdb.base/solib-weak.exp (do_test): Likewise.
13535 * gdb.base/unload.exp: Likewise.
13536
11cf4ffb
YQ
135372016-04-27 Yao Qi <yao.qi@linaro.org>
13538
13539 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13540 exists.
13541
3e2e34f8
KB
135422016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13543
13544 * vla-type.exp: Print structure from toplevel.
13545
8f07e298
BH
135462016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13547
13548 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13549 of dynamic types.
13550 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13551 of dynamic types.
13552
9920b434
BH
135532016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13554
13555 * gdb.fortran/vla-type.f90: New file.
13556 * gdb.fortran/vla-type.exp: New file.
13557
f3abeff5
YQ
135582016-04-25 Yao Qi <yao.qi@linaro.org>
13559
13560 * gdb.base/branch-to-self.c: New file.
13561 * gdb.base/branch-to-self.exp: New file.
13562
0a5d52f0
YQ
135632016-04-22 Yao Qi <yao.qi@linaro.org>
13564
13565 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13566 more after $hex.
13567
495346f6
YQ
135682016-04-22 Yao Qi <yao.qi@linaro.org>
13569
13570 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13571 * gdb.base/annota3.exp: Likewise.
13572
4a7e075c
YQ
135732016-04-22 Yao Qi <yao.qi@linaro.org>
13574
13575 * gdb.reverse/step-precsave.exp: Do one step and test program
13576 stops in "callee" and do multiple steps until program goes out
13577 of "callee".
13578 * gdb.reverse/step-reverse.exp: Likewise.
13579
5b061e98
YQ
135802016-04-22 Yao Qi <yao.qi@linaro.org>
13581
13582 * gdb.trace/signal.exp: Also pass if
13583 $tracepoint_hits($i) > $iterations.
13584
5c5dc57f
YQ
135852016-04-22 Yao Qi <yao.qi@linaro.org>
13586
13587 * gdb.trace/signal.c: New file.
13588 * gdb.trace/signal.exp: New file.
13589
a55411b9
DE
135902016-04-19 Doug Evans <xdje42@gmail.com>
13591
13592 * gdb.base/bad-file.exp: New file.
13593
a22df60a
MG
135942016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13595
13596 * gdb.dwarf2/implref.exp: New file.
13597
0c13f7e5
BH
135982016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13599
13600 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13601 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13602 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13603 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13604 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13605 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13606 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13607 * lib/fortran.exp (fortran_int4): New procedure.
13608 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13609 (fortran_logical4): Likewise.
13610
9b9b09e9
BH
136112016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13612
13613 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13614
a14d1f4d
BH
136152016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13616
13617 * lib/compiler.c: Add Intel specific preprocessor macros.
13618 * lib/compiler.cc: Likewise.
25d49b86 13619
7d49b1d0
LM
136202016-04-13 Luis Machado <lgustavo@codesourcery.com>
13621
13622 * gdb.server/connect-with-no-symbol-file.c: New file.
13623 * gdb.server/connect-with-no-symbol-file.exp: New file.
13624
8392fa22
SM
136252016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13626
13627 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13628
8c4c4aeb
SM
136292016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13630
13631 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13632 standard output directory.
13633
45e3745e
AT
136342016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13635
13636 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13637
e26b7e41
MM
136382016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13639
13640 * gdb.btrace/instruction_history.c (loop): Add declaration.
13641
8ce09462
AT
136422016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13643
13644 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13645
2e88a1ea
SM
136462016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13647
13648 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13649 parentheses to print.
13650 (continue_handler): Likewise.
13651
f48e22e3
SM
136522016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13653
13654 * gdb.server/solib-list.exp: Remove is_remote check.
13655 Pass shlib= to gdb_compile. Don't link shared library with
13656 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13657 Run binary filename through "readlink -f" on the target.
13658
096be756
PA
136592016-04-08 Pedro Alves <palves@redhat.com>
13660
13661 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13662 interpreter filename as argument to gdbserver_spawn.
13663 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13664 Return empty if $last_loaded_file does not exist.
13665
06500533
JK
136662016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13667
13668 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13669 * gdb.base/jit-main.c: Use exit after usage.
13670
2d35e871
JK
136712016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13672
13673 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13674 GDBHISTSIZE prior to the tests.
13675 * gdb.base/gdbinit-history.exp: Likewise.
13676
136772016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13678
13679 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13680 instead of build_executable. Use gdb_load_shlibs.
13681
c8064e7e
YQ
136822016-04-07 Yao Qi <yao.qi@linaro.org>
13683
13684 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13685 Execute "si" command.
13686
bde47561
YQ
136872016-04-07 Yao Qi <yao.qi@linaro.org>
13688
13689 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13690 number instead of the comments on some line.
13691
b16f8a3b
DB
136922016-04-06 Don Breazeal <donb@codesourcery.com>
13693
13694 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13695 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13696
c2f901df
SM
136972016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13698
13699 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13700 standard_output_file. Remove unused binfile variable.
13701
ac17fda0
CU
137022016-04-05 Catalin Udma <catalin.udma@freescale.com>
13703
13704 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13705 * gdb.python/py-mi-objfile.exp: Match "list main" output
13706 in console format.
13707
03a8c4df
SM
137082016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13709
13710 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13711 absolute.
13712
6e774b13
SM
137132016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13714
13715 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13716 absolute.
13717 * gdb.trace/ftrace.exp: Likewise.
13718 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13719 targets as well.
13720 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13721 (gdb_load_shlibs): Copy libraries to test directory when testing
13722 natively. Only set solib-search-path if testing remotely.
13723 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13724
7817ea46
SM
137252016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13726
13727 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13728 gdb_download. Use it even if the target is not remote.
13729 * gdb.base/jit.exp (compile_jit_test): Likewise.
13730 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13731 output directory if the destination board is local, otherwise use
13732 the standard remote_download from DejaGnu.
13733 (gdb_download): Remove.
13734 (gdb_load_shlibs): Use gdb_remote_download instead of
13735 gdb_download.
13736 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13737 Use gdb_remote_download instead of gdb_download. Use it even if
13738 the target is not remote.
13739 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13740 instead of gdb_download.
13741
7beb7f68
SM
137422016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13743
13744 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13745 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13746 run.
13747
cc63428a
AV
137482016-04-01 Artemiy Volkov <artemiyv@acm.org>
13749
13750 PR gdb/19820
13751 * gdb.base/printcmds.exp: Add artificial arrays tests.
13752
64cdf930
PA
137532016-03-31 Pedro Alves <palves@redhat.com>
13754
13755 PR gdb/19858
13756 * gdb.base/jit-main.c: Include unistd.h.
13757 (ATTACH): Define to 0 if not already defined.
13758 (wait_for_gdb, mypid): New globals.
13759 (WAIT_FOR_GDB): New macro.
13760 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13761 some breakpoint locations.
13762 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13763 New procedures.
13764 (one_jit_test): Add REATTACH parameter, and handle it. Use
13765 continue_to_test_location.
13766 (top level): Test attach, and adjusts calls to one_jit_test.
13767
40dea8cb
PA
137682016-03-31 Pedro Alves <palves@redhat.com>
13769
13770 PR gdb/19858
13771 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13772 BINSUFFIX parameter, and handle it.
13773 (top level): Adjust calls compile_jit_test.
13774
e7ea3ec7
CU
137752016-03-31 Catalin Udma <catalin.udma@freescale.com>
13776
13777 PR python/19743
13778 * gdb.python/py-mi-events-gdb.py: New file.
13779 * gdb.python/py-mi-events.c: New file.
13780 * gdb.python/py-mi-events.exp: New file.
13781
e6359af3
YQ
137822016-03-30 Yao Qi <yao.qi@linaro.org>
13783
13784 * gdb.reverse/until-precsave.exp: Match function name only.
13785 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13786 Move malloc to a condition block.
13787 * gdb.reverse/until-reverse.exp: Match function name only.
13788
a4105d04
MK
137892016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13790
13791 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13792 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13793 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13794 variable for GPR 0 instead of assuming it is register 0.
13795 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13796 * lib/trace-support.exp: Add s390 registers.
13797
bfa6adb9
YQ
137982016-03-29 Yao Qi <yao.qi@linaro.org>
13799
13800 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13801
1e6697ea
YQ
138022016-03-24 Yao Qi <yao.qi@linaro.org>
13803
13804 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13805 test message.
13806
64bcd522
AA
138072016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13808
13809 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13810 maintaining separate logic for constructing the output path.
13811
7868401b
DB
138122016-03-16 Don Breazeal <donb@codesourcery.com>
13813
13814 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13815 Retry fork and waitpid on interrupted system call errors.
13816 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13817 Use with_timeout_factor to increase timeout by factor of 10.
13818
1cafadb4
DB
138192016-03-15 Don Breazeal <donb@codesourcery.com>
13820
13821 * gdb.cp/scope-err.cc: New test program.
13822 * gdb.cp/scope-err.exp: New test script.
13823 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13824 lines and "set breakpoint here" comment.
13825 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13826 Fixed some whitespace and format issues.
13827 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13828 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13829
81516450
DE
138302016-03-15 Doug Evans <dje@google.com>
13831
13832 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13833 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13834 All callers updated. Add tests for enums, mixed flags register.
13835
aa52b601
DE
138362016-03-15 Doug Evans <dje@google.com>
13837
13838 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13839 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13840
fa4ff313
SM
138412016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13842
13843 * gdb.base/default.exp: Add $_as_string to the list of expected
13844 convenience functions.
13845
f2403c39
AB
138462016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13847
13848 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13849
f2f3ccb9
SM
138502016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13851
13852 * gdb.python/py-as-string.exp: New file.
13853 * gdb.python/py-as-string.c: New file.
13854
00dbd492
PA
138552016-03-09 Pedro Alves <palves@redhat.com>
13856
13857 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13858 signal" -> "Thread NN received signal" output change.
13859 * gdb.threads/ia64-sigill.exp: Likewise.
13860 * gdb.threads/linux-dp.exp: Likewise.
13861 * gdb.threads/manythreads.exp: Likewise.
13862 * gdb.threads/pending-step.exp: Likewise.
13863 * gdb.threads/print-threads.exp: Likewise.
13864 * gdb.threads/sigstep-threads.exp: Likewise.
13865 * gdb.threads/staticthreads.exp: Likewise.
13866 * gdb.threads/tls.exp: Likewise.
13867
1e6697ea
YQ
138682016-03-09 Pedro Alves <palves@redhat.com>
13869
13870 * gdb.base/command-line-input.exp: New file.
13871
b04fd3be
MK
138722016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13873
13874 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13875 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13876 * gdb.trace/pending.exp: Accept leading dot before function name.
13877 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13878 * lib/trace-support.exp: Set registers for ppc.
13879
98fa59e9
MK
138802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13881
13882 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13883 use it for disassembly; accept .main in addition to main in backtrace.
13884
f77198c8
MK
138852016-03-09 Wei-cheng Wang <cole945@gmail.com>
13886 Marcin Kościelnicki <koriakin@0x04.net>
13887
13888 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13889 (gdb_recursion_test_ptr): New global variable.
13890 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13891 gdb_recursion_test.
13892 (gdb_c_test): Ditto.
13893
ba84e0da
MK
138942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13895
13896 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13897 ordering.
13898
4366d36e
MK
138992016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13900
13901 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13902 (bar): Add bar_start_lbl label.
13903 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13904 of foo/bar for emitting DWARF and tracing.
13905
5eb264df
SDJ
139062016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13907
13908 * analyze-racy-logs.py: Set executable bit.
13909
fb6a751f
SDJ
139102016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13911
13912 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13913 (CHECK_TARGET_TMP): Likewise.
13914 (check-single-racy): New rule.
13915 (check-parallel-racy): Likewise.
13916 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13917 (do-check-parallel-racy): New rule.
13918 (check-racy/%.exp): Likewise.
13919 * README (Racy testcases): New section.
13920 * analyze-racy-logs.py: New file.
13921
bdf7e230
DE
139222016-03-03 Doug Evans <dje@google.com>
13923
13924 * gdb.base/skip.exp: Use with_test_prefix.
13925
4719d415
YQ
139262016-03-03 Yao Qi <yao.qi@linaro.org>
13927
13928 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13929 Invoke step_over_syscall "clone" and break_cond_on_syscall
13930 "clone".
13931 * gdb.base/step-over-clone.c: New file.
13932
ea507862
YQ
139332016-03-03 Yao Qi <yao.qi@linaro.org>
13934
13935 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13936 code format.
13937
8fc8cbda
YQ
139382016-03-03 Yao Qi <yao.qi@linaro.org>
13939
13940 * gdb.base/disp-step-fork.c: Rename to ...
13941 * gdb.base/step-over-fork.c: ... it. New file.
13942 * gdb.base/disp-step-vfork.c: Rename to ...
13943 * gdb.base/step-over-vfork.c: ... it. New file.
13944 * gdb.base/disp-step-syscall.exp: Rename to ...
13945 * gdb.base/step-over-syscall.exp: ... it. New file.
13946 (disp_step_cross_syscall): Rename to ...
13947 (step_over_syscall): ... it.
13948
92fa70b0
YQ
139492016-03-03 Yao Qi <yao.qi@linaro.org>
13950
13951 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13952 If target supports condition evaluation on target, invoke
13953 break_cond_on_syscall for fork and vfork.
13954
e197ad3c
YQ
139552016-03-03 Yao Qi <yao.qi@linaro.org>
13956
13957 * gdb.base/disp-step-syscall.exp: Don't invoke
13958 support_displaced_stepping.
13959 (disp_step_cross_syscall): Test with displaced stepping off and
13960 on if supported.
13961
0b47da9f
YQ
139622016-03-03 Yao Qi <yao.qi@linaro.org>
13963
13964 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13965 proc.
13966 (setup): New proc.
13967 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13968 and setup.
13969
065ab6dc
BH
139702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13971
13972 * gdb.fortran/vla-history.exp: Remove breakpoint.
13973
07e448ad 139742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13975
25d49b86
PA
13976 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13977 exceeds timeout.
07e448ad 13978
9ac2d526 139792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13980
25d49b86
PA
13981 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13982 breakpoint.
9ac2d526 13983
17807369
BH
139842016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13985
13986 * gdb.mi/vla.f90: Nullify pointer after declaration.
13987
86e501af
PA
139882016-03-01 Pedro Alves <palves@redhat.com>
13989
13990 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13991
1e903e32
PA
139922016-03-01 Pedro Alves <palves@redhat.com>
13993
13994 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13995 before anything else.
13996 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13997 _GNU_SOURCE here.
13998 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13999 before anything else.
14000 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14001
6ccb54e2
PA
140022016-03-01 Pedro Alves <palves@redhat.com>
14003
14004 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14005
30ca9da1
YQ
140062016-03-01 Yao Qi <yao.qi@linaro.org>
14007
14008 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14009 prepare_for_testing.
14010
dc856b38
YQ
140112016-03-01 Yao Qi <yao.qi@linaro.org>
14012
14013 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14014
4a932159
AA
140152016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14016
14017 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14018 manually constructing the output path.
14019
f2489477
AA
140202016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14021
14022 * gdb.arch/s390-stackless.S: New.
14023 * gdb.arch/s390-stackless.exp: New.
14024
38899f16
IB
140252016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14026
14027 * gdb.dlang/circular.c: New file.
14028 * gdb.dlang/circular.exp: New file.
14029
9fde51ed
YQ
140302016-02-26 Yao Qi <yao.qi@linaro.org>
14031
14032 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14033 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14034 (testcases): Update.
14035
ce90fefe
YQ
140362016-02-26 Yao Qi <yao.qi@linaro.org>
14037
14038 * gdb.reverse/aarch64.c: Rename to ...
14039 * gdb.reverse/insn-reverse.c: ... it.
14040 * gdb.reverse/aarch64.exp: Rename to ...
14041 * gdb.reverse/insn-reverse.exp: ... it.
14042
3263bceb
YQ
140432016-02-26 Yao Qi <yao.qi@linaro.org>
14044
14045 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14046 (testcase_ftype): New.
14047 (testcases): New array.
14048 (n_testcases): New.
14049 (main): Call each element in testcases.
14050 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14051 (read_testcase): New.
14052 Do the tests in a loop.
14053
6cb59ff1
YQ
140542016-02-25 Yao Qi <yao.qi@linaro.org>
14055
14056 * gdb.base/branches.c: Remove.
14057
ae91f625
MK
140582016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14059
14060 PR gdb/13808
14061 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14062
678b48b7
MK
140632016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14064
14065 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14066
7337a6f2
MK
140672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14068
14069 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14070 change x86_64 call_insn to 'callq'.
14071
861ca91f
AT
140722016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14073
14074 * gdb.trace/tfile-avx.c: Move to...
14075 * gdb.trace/tracefile-pseudo-reg.c: Here.
14076 * gdb.trace/tfile-avx.exp: Move to...
14077 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14078
bf74e428
GB
140792016-02-24 Gary Benson <gbenson@redhat.com>
14080
14081 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14082 message on attach.
14083
cce0e923
DE
140842016-02-23 Doug Evans <dje@google.com>
14085
14086 * gdb.base/skip.c (test_skip): New function.
14087 (end_test_skip_file_and_function): New function.
14088 (test_skip_file_and_function): New function.
14089 * gdb.base/skip1.c (test_skip): New function.
14090 (skip1_test_skip_file_and_function): New function.
14091 * gdb.base/skip.exp: Add tests for new skip options.
14092 * gdb.base/skip-solib.exp: Update expected output.
14093 * gdb.perf/skip-command.cc: New file.
14094 * gdb.perf/skip-command.exp: New file.
14095 * gdb.perf/skip-command.py: New file.
14096
4000e47e
MK
140972016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14098
14099 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14100 info registers pattern.
14101
24f75ead
IB
141022016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14103
14104 * lib/future.exp: Add D support.
14105 (gdb_find_gdc): New proc.
14106 (gdb_default_target_compile): Add D support.
14107
fbb7bcbe
WW
141082016-02-18 Wei-cheng Wang <cole945@gmail.com>
14109
14110 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14111 user+system time.
14112 (trace_speed_test): Determine the iteration count for a time
14113 between 15..30 seconds.
14114
012b3a21
WT
141152016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14116
14117 * gdb.arch/i386-mpx-sigsegv.c: New file.
14118 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14119 * gdb.arch/i386-mpx-simple_segv.c: New file.
14120 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14121
2d5189bd
YQ
141222016-02-18 Yao Qi <yao.qi@linaro.org>
14123
14124 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14125 Don't call setup_kfail.
14126
40fb20d0
YQ
141272016-02-18 Yao Qi <yao.qi@linaro.org>
14128
14129 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14130 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14131
21b1f8d2
DE
141322016-02-16 Doug Evans <dje@google.com>
14133
14134 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14135 * gdb.base/skip1.c: Ditto.
14136 * gdb.base/skip.exp: Whitespace cleanup.
14137
4041ed77
DB
141382016-02-16 Don Breazeal <donb@codesourcery.com>
14139
14140 PR remote/19496
14141 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14142 Remove kfail for PR remote/19496.
14143
c4ef31bf
SM
141442016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14145
14146 * lib/gdb.exp (standard_temp_file): Return a path specific to
14147 the runtest invocation.
14148
266b65b3
SM
141492016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14150
14151 * gdb.trace/save-trace.exp: Change relative path to be in the
14152 standard output directory.
14153
a7a0a6a9
JK
141542016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14155
14156 * gdb.arch/i386-prologue.c: Add missing prototypes.
14157
c99dbb42
JK
141582016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14159
14160 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14161 * gdb.arch/i386-prologue.exp: Likewise.
14162 * gdb.arch/i386-size.exp: Likewise.
14163
aa480355
SM
141642016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14165
14166 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14167 define object file path.
14168 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14169 file path.
14170 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14171 standard_output_file to define binfile.
14172
ba881f50
JK
141732016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14174
14175 Fix compatibility with recent gfortran-5.3.1.
14176 * gdb.fortran/vla-history.exp (print vla1 allocated)
14177 (print vla2 allocated, print $2, print $3): Remove
14178 (print $4): Rename to ...
14179 (print $2): ... here.
14180 (print $9): Rename to ...
14181 (print $5): ... here.
14182 (print $10): Rename to ...
14183 (print $6): ... here.
14184 * gdb.fortran/vla.f90: Add pvla initialization.
14185
e9fb005c
JK
141862016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14187
14188 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14189 New test.
14190 * gdb.fortran/vla-value-sub.exp: Likewise.
14191
e44e00ff
MK
141922016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14193
14194 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14195
97e94151
SM
141962016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14197
14198 * i386-biarch-core.exp: Define corefile using
14199 standard_output_file.
14200
01113bc1
YQ
142012016-02-12 Yao Qi <yao.qi@linaro.org>
14202
14203 * gdb.arch/arm-single-step-kernel-helper.c: New.
14204 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14205
33b4777c
MM
142062016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14207
14208 * gdb.btrace/tailcall-only.exp: New.
14209 * gdb.btrace/tailcall-only.c: New.
14210 * gdb.btrace/x86_64-tailcall-only.S: New.
14211 * gdb.btrace/i686-tailcall-only.S: New.
14212
acc23c11
PA
142132016-02-11 Pedro Alves <palves@redhat.com>
14214
14215 * README (Parallel testing): Add missing double quotes.
14216
e352bf0a
PA
142172016-02-11 Pedro Alves <palves@redhat.com>
14218
14219 * README (Parallel testing): New section.
14220 (GDB_PARALLEL): Rewrite.
14221 (FORCE_PARALLEL): Document.
14222
9f5fed78
MK
142232016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14224
14225 * gdb.trace/tfile-avx.c: New test.
14226 * gdb.trace/tfile-avx.exp: New test.
14227
9ef9e6a6
KS
142282016-02-09 Keith Seitz <keiths@redhat.com>
14229
14230 PR breakpoints/19546
14231 * gdb.base/infcall-exec.c: New file.
14232 * gdb.base/infcall-exec2.c: New file.
14233 * gdb.base/infcall-exec.exp: New file.
14234
a96e36da
KS
142352016-02-09 Keith Seitz <keiths@redhat.com>
14236
14237 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14238 (toplevel): Call test_bkpt_address.
14239
9f61929f
KS
142402016-02-09 Keith Seitz <keiths@redhat.com>
14241
14242 PR python/19506
14243 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14244 (toplevel): Call test_bkpt_address.
14245
1e94266c
SM
142462016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14247
14248 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14249 to AC_OUTPUT.
14250 * configure: Regenerate.
14251
2a7f3dff
PA
142522016-02-09 Pedro Alves <palves@redhat.com>
14253
14254 PR breakpoints/19548
14255 * gdb.base/execl-update-breakpoints.c (some_function): New
14256 function.
14257 (main): Call it.
14258 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14259 Tighten expected GDB output.
14260
2151ccc5
SM
142612016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14262
14263 * Makefile.in (ALL_SUBDIRS): Remove.
14264 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14265 (distclean maintainer-clean realclean): Likewise.
14266 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14267 * configure: Regenerate.
14268 * gdb.ada/Makefile.in: Delete.
14269 * gdb.arch/Makefile.in: Likewise.
14270 * gdb.asm/Makefile.in: Likewise.
14271 * gdb.base/Makefile.in: Likewise.
14272 * gdb.btrace/Makefile.in: Likewise.
14273 * gdb.cell/Makefile.in: Likewise.
14274 * gdb.compile/Makefile.in: Likewise.
14275 * gdb.cp/Makefile.in: Likewise.
14276 * gdb.disasm/Makefile.in: Likewise.
14277 * gdb.dlang/Makefile.in: Likewise.
14278 * gdb.dwarf2/Makefile.in: Likewise.
14279 * gdb.fortran/Makefile.in: Likewise.
14280 * gdb.gdb/Makefile.in: Likewise.
14281 * gdb.go/Makefile.in: Likewise.
14282 * gdb.guile/Makefile.in: Likewise.
14283 * gdb.java/Makefile.in: Likewise.
14284 * gdb.linespec/Makefile.in: Likewise.
14285 * gdb.mi/Makefile.in: Likewise.
14286 * gdb.modula2/Makefile.in: Likewise.
14287 * gdb.multi/Makefile.in: Likewise.
14288 * gdb.objc/Makefile.in: Likewise.
14289 * gdb.opencl/Makefile.in: Likewise.
14290 * gdb.opt/Makefile.in: Likewise.
14291 * gdb.pascal/Makefile.in: Likewise.
14292 * gdb.perf/Makefile.in: Likewise.
14293 * gdb.python/Makefile.in: Likewise.
14294 * gdb.reverse/Makefile.in: Likewise.
14295 * gdb.server/Makefile.in: Likewise.
14296 * gdb.stabs/Makefile.in: Likewise.
14297 * gdb.threads/Makefile.in: Likewise.
14298 * gdb.trace/Makefile.in: Likewise.
14299 * gdb.xml/Makefile.in: Likewise.
14300 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14301 GDB_PARALLEL.
14302 (standard_output_file): Remove check for GDB_PARALLEL, always
14303 return path in outputs/$subdir/$testname.
14304
437277d4
SM
143052016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14306
14307 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14308 (site.exp): Assign abs_srcdir to tcl's srcdir.
14309
31d913c7
YQ
143102016-02-04 Yao Qi <yao.qi@linaro.org>
14311
14312 * gdb.base/foll-exec-mode.c: Include limits.h.
14313 (main): Add parameters argc and argv. Get directory from
14314 argv[0].
14315 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14316 compilation.
14317 * gdb.base/foll-exec.c: Include limits.h.
14318 (main): Add parameters argc and argv.
14319 Get directory from argv[0].
14320 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14321 Adjust tests on the number of lines as source code changed.
14322 * gdb.base/foll-vfork-exit.c: Include limits.h.
14323 (main): Add one line of statement before vfork.
14324 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14325 (main): Add parameters argc and argv. Get directory from
14326 argv[0].
14327 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14328 (setup_gdb): Set tbreak to skip some source lines.
14329 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14330 (main): Add parameters argc and argv. Get directory from
14331 argv[0].
14332 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14333 compilation.
14334 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14335 (main): Add parameters argc and argv. Get directory from
14336 argv[0].
14337 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14338 compilation.
14339
9482b9fb
DE
143402016-02-01 Doug Evans <dje@google.com>
14341
14342 * gdb.base/skip.exp: Clean up multiple references to same test name.
14343
6b2e4f10
PA
143442016-02-01 Pedro Alves <palves@redhat.com>
14345
ccb6afd6 14346 PR remote/19496
6b2e4f10
PA
14347 * gdb.threads/forking-threads-plus-breakpoint.exp
14348 (displaced_stepping_supported): New global.
14349 (probe_displaced_stepping_support): New procedure.
14350 (do_test): Add 'displaced' parameter, and use it.
14351 (top level): Check for displaced stepping support. Add displaced
14352 stepping on/off testing axis.
14353
37a8db1a
AB
143542016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14355
14356 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14357 pointer. Don't perform further tests on the unassociated pointer
14358 if the first test fails.
14359
5fdf6324
AB
143602016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14361
14362 * gdb.base/max-value-size.c: New file.
14363 * gdb.base/max-value-size.exp: New file.
14364 * gdb.base/huge.exp: Disable max-value-size for this test.
14365
935c6144
IB
143662016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14367
14368 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14369
7fe8399d
YQ
143702016-01-28 Yao Qi <yao.qi@linaro.org>
14371
14372 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14373
a2077e25
PA
143742016-01-25 Pedro Alves <palves@redhat.com>
14375
14376 PR threads/19461
14377 * gdb.base/fork-running-state.c: New file.
14378 * gdb.base/fork-running-state.exp: New file.
14379
1d2736d4
PA
143802016-01-25 Pedro Alves <palves@redhat.com>
14381
14382 PR gdb/19494
14383 * gdb.base/catch-fork-kill.c: New file.
14384 * gdb.base/catch-fork-kill.exp: New file.
14385
f1da4b11
PA
143862016-01-25 Pedro Alves <palves@redhat.com>
14387
14388 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14389 Delete, moved to lib/gdb.exp.
14390 * gdb.threads/forking-threads-plus-breakpoint.exp
14391 (foreach_with_prefix): Likewise.
14392 * gdb.threads/process-dies-while-handling-bp.exp
14393 (foreach_with_prefix): Likewise.
14394 * lib/gdb.exp (foreach_with_prefix): New procedure.
14395
45f38546
MK
143962016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14397
14398 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14399 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14400
dc29a1ce
MK
144012016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14402
14403 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14404 endian targets.
14405
092127d7
JK
144062016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14407 Pedro Alves <palves@redhat.com>
14408
14409 Fix testsuite compatibility with Guile.
14410 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14411 number.
14412
31d765d3
JK
144132016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14414
14415 Fix testsuite compatibility with Guile.
14416 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14417 (thread 1): New test for backtrace through signal handler.
14418
1ac78c04
YQ
144192016-01-22 Yao Qi <yao.qi@linaro.org>
14420
14421 PR testsuite/19491
14422 * gdb.base/multi-forks.c: Include
14423 ../lib/unbuffer_output.c
14424 (main): Call gdb_unbuffer_output.
14425
4f5946a8
DE
144262016-01-21 Doug Evans <dje@google.com>
14427
14428 * lib/ada.exp (gdb_compile_ada): Fix typo.
14429
305e13e6
JB
144302016-01-21 Joel Brobecker <brobecker@adacore.com>
14431
14432 * gdb.base/break-fun-addr.exp: New file.
14433 * gdb.base/break-fun-addr1.c: New file.
14434 * gdb.base/break-fun-addr2.c: New file.
14435
5f5dfff6
SM
144362016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14437
14438 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14439 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14440 enum flag values.
14441
fd356fa2
AA
144422016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14443
14444 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14445 when GDB can not set the vector return value. Add more comments
14446 for clarification.
14447
9df22175
AT
144482016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14449
14450 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14451 command.
14452
41d1845e
SM
144532016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14454
14455 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14456
01ac6840
SM
144572016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14458
14459 * Makefile.in (check-single): Pass --status to runtest.
14460 (check/%.exp): Likewise.
14461
144622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14463
14464 * Makefile.in (check-parallel): Propagate return code from make
14465 do-check-parallel.
14466
bd0a71fa
MK
144672016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14468
14469 * gdb.trace/ftrace.exp: Fix expected message on continue.
14470 * gdb.trace/pending.exp: Fix expected message on continue.
14471 * gdb.trace/trace-break.exp: Fix expected message on continue.
14472
8bcbad33
SM
144732016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14474
14475 * lib/gdb.exp (gdb_test): Remove unused global references.
14476
f303dbd6
PA
144772016-01-18 Pedro Alves <palves@redhat.com>
14478
14479 * gdb.base/async-shell.exp: Adjust expected output.
14480 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14481 * gdb.base/siginfo-thread.exp: Adjust expected output.
14482 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14483 * gdb.java/jnpe.exp: Adjust expected output.
14484 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14485 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14486 * gdb.threads/leader-exit.exp: Adjust expected output.
14487 * gdb.threads/manythreads.exp: Adjust expected output.
14488 * gdb.threads/pthreads.exp: Adjust expected output.
14489 * gdb.threads/schedlock.exp: Adjust expected output.
14490 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14491 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14492 expected output.
14493 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14494 output.
14495 * gdb.threads/sigthread.exp: Adjust expected output.
14496 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14497
b2789696
YQ
144982016-01-18 Yao Qi <yao.qi@linaro.org>
14499
14500 * gdb.guile/scm-section-script.c: Replace @progbits with
14501 %progbits.
14502 * gdb.python/py-section-script.c: Likewise.
14503
71ef29a8
PA
145042016-01-15 Pedro Alves <palves@redhat.com>
14505
14506 * gdb.multi/tids.exp: Test star wildcard ranges.
14507
3f5b7598
PA
145082016-01-15 Pedro Alves <palves@redhat.com>
14509
14510 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14511 command from "thread apply" invocation.
14512 (thr_apply_info_thr_invalid): Default the expected output to the
14513 input tid list.
14514 (top level): Add tests that use convenience variables. Add tests
14515 for "thread apply" with a valid TID list, but missing the command.
14516
663f6d42
PA
145172016-01-13 Pedro Alves <palves@redhat.com>
14518
14519 * gdb.base/default.exp: Expect $_gthread as well.
14520 * gdb.multi/tids.exp: Test $_gthread.
14521 * gdb.threads/thread-specific.exp: Test $_gthread.
14522
c84f6bbf
PA
145232016-01-13 Pedro Alves <palves@redhat.com>
14524
14525 * gdb.multi/tids.exp: Test "info threads -gid".
14526
22a02324
PA
145272016-01-13 Pedro Alves <palves@redhat.com>
14528
14529 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14530 Breakpoint.thread.
14531 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14532
5d5658a1
PA
145332016-01-07 Pedro Alves <palves@redhat.com>
14534
14535 * gdb.base/break.exp: Adjust to output changes.
14536 * gdb.base/hbreak2.exp: Likewise.
14537 * gdb.base/sepdebug.exp: Likewise.
14538 * gdb.base/watch_thread_num.exp: Likewise.
14539 * gdb.linespec/keywords.exp: Likewise.
14540 * gdb.multi/info-threads.exp: Likewise.
14541 * gdb.threads/thread-find.exp: Likewise.
14542 * gdb.multi/tids.c: New file.
14543 * gdb.multi/tids.exp: New file.
14544
84654457
PA
145452016-01-13 Pedro Alves <palves@redhat.com>
14546
14547 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14548
e3940304
PA
145492016-01-13 Pedro Alves <palves@redhat.com>
14550
14551 * gdb.base/default.exp: Expect $_inferior as well.
14552 * gdb.multi/base.exp: Test $_inferior.
14553
a911d87a
PA
145542016-01-13 Pedro Alves <palves@redhat.com>
14555
14556 PR breakpoints/19388
14557 * gdb.base/catch-signal-siginfo-cond.c: New file.
14558 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14559
82075af2
JS
145602016-01-12 Josh Stone <jistone@redhat.com>
14561 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14562
14563 * gdb.base/catch-syscall.c (do_execve): New variable.
14564 (main): Conditionally trigger an execve.
14565 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14566 (test_catch_syscall_execve): New, check entry/return across execve.
14567 (do_syscall_tests): Call test_catch_syscall_execve.
14568
e46eeedd
PA
145692016-01-12 Pedro Alves <palves@redhat.com>
14570
14571 * gdb.base/random-signal.exp (do_test): New procedure, with body
14572 of testcase moved in.
14573
01d8c27e
JK
145742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14575 Pedro Alves <palves@redhat.com>
14576
14577 * gdb.base/funcargs.exp (finish from indirectly called function):
14578 Reintroduce the case for 'First'.
14579
9a706302
JK
145802016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14581 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14584 (tcatch_vfork_then_child_follow_exec)
14585 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14586 identification.
14587
c0ecb95f
JK
145882016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14589
14590 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14591 and repeats to unlimited.
14592 * gdb.python/py-value.exp: Likewise.
14593 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14594 and repeats to unlimited.
14595
6cfc1fcb
JK
145962016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14597
14598 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14599 and reordering the functions.
14600 * gdb.multi/hangout.c: Likewise.
14601 * gdb.multi/hello.c: Likewise.
14602
582a1b00
SM
146032016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14604
14605 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14606 absolute.
14607 (SingleStatisticTestResult.report): Use dict.keys instead of
14608 dict.iterkeys.
14609
79bc59cb
PA
146102016-01-06 Pedro Alves <palves@redhat.com>
14611
14612 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14613
43368e1d
MM
146142016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14615
14616 * gdb.btrace/dlopen.exp: New.
14617 * gdb.btrace/dlopen.c: New.
14618 * gdb.btrace/dlopen-dso.c: New.
14619
79fad5b8
SL
146202015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14621
14622 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14623 PATTERN argument is optional.
14624
ab8314b3
JB
146252015-12-24 Joel Brobecker <brobecker@adacore.com>
14626
14627 * lib/ada.exp (target_compile_ada_from_dir): New function.
14628 (gdb_compile_ada): Reimplement avoiding the use of project files.
14629 * gdb.ada/gnat_ada.gpr: Delete.
14630 * gdb.ada/cond_lang.exp: Adjust test to make path before
14631 filename optional.
14632 * gdb.ada/small_reg_param.exp: Likewise.
14633
fe33faff
SM
146342015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14635
14636 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14637
6d265cb4
TP
146382015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14639
14640 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14641 case.
14642
10125099
SM
146432015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14644
14645 * gdb.base/break.exp: Remove dead code.
14646 * gdb.base/sepdebug.exp: Likewise.
14647
3ca22649
SM
146482015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14649
14650 * gdb.asm/asm-source.exp: Remove HP-UX references.
14651 * gdb.base/annota1.exp: Likewise.
14652 * gdb.base/annota3.exp: Likewise.
14653 * gdb.base/attach.exp: Likewise.
14654 * gdb.base/bigcore.exp: Likewise.
14655 * gdb.base/break.exp: Likewise.
14656 * gdb.base/call-ar-st.exp: Likewise.
14657 * gdb.base/callfuncs.exp: Likewise.
14658 * gdb.base/catch-fork-static.exp: Likewise.
14659 * gdb.base/display.exp: Likewise.
14660 * gdb.base/foll-exec-mode.exp: Likewise.
14661 * gdb.base/foll-exec.exp: Likewise.
14662 * gdb.base/foll-fork.exp: Likewise.
14663 * gdb.base/foll-vfork.exp: Likewise.
14664 * gdb.base/funcargs.exp: Likewise.
14665 * gdb.base/hbreak2.exp: Likewise.
14666 * gdb.base/inferior-died.exp: Likewise.
14667 * gdb.base/interrupt.exp: Likewise.
14668 * gdb.base/multi-forks.exp: Likewise.
14669 * gdb.base/nodebug.exp: Likewise.
14670 * gdb.base/sepdebug.exp: Likewise.
14671 * gdb.base/solib1.c: Likewise.
14672 * gdb.base/step-test.exp: Likewise.
14673 * gdb.mi/non-stop.c: Likewise.
14674 * gdb.mi/pthreads.c: Likewise.
14675 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14676 * gdb.threads/pthreads.c: Likewise.
14677 * gdb.threads/staticthreads.exp: Likewise.
14678 * lib/future.exp: Likewise.
14679 * lib/gdb.exp: Likewise.
14680 * gdb.base/so-indr-cl.c: Remove.
14681 * gdb.base/so-indr-cl.exp: Likewise.
14682 * gdb.base/solib.c: Likewise.
14683 * gdb.base/solib.exp: Likewise.
14684 * gdb.base/solib2.c: Likewise.
14685
b6304613
SM
146862015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14687
14688 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14689 * gdb.base/call-ar-st.exp: Likewise.
14690 * gdb.base/callfuncs.exp: Likewise.
14691 * gdb.base/condbreak.exp: Likewise.
14692 * gdb.base/constvars.exp: Likewise.
14693 * gdb.base/hbreak2.exp: Likewise.
14694 * gdb.base/langs.exp: Likewise.
14695 * gdb.base/list.exp: Likewise.
14696 * gdb.base/long_long.exp: Likewise.
14697 * gdb.base/ptype.exp: Likewise.
14698 * gdb.base/scope.exp: Likewise.
14699 * gdb.base/signals.exp: Likewise.
14700 * gdb.base/so-impl-ld.exp: Likewise.
14701 * gdb.base/varargs.exp: Likewise.
14702 * gdb.base/volatile.exp: Likewise.
14703 * gdb.base/whatis.exp: Likewise.
14704 * gdb.cp/cplusfuncs.exp: Likewise.
14705 * gdb.cp/inherit.exp: Likewise.
14706 * gdb.cp/local.exp: Likewise.
14707 * gdb.cp/member-ptr.exp: Likewise.
14708 * gdb.cp/method.exp: Likewise.
14709 * gdb.cp/overload.exp: Likewise.
14710 * gdb.cp/templates.exp: Likewise.
14711 * gdb.stabs/weird.exp: Likewise.
14712 * lib/compiler.c: Likewise.
14713 * lib/compiler.cc: Likewise.
14714 * lib/cp-support.exp: Likewise.
14715 * lib/gdb.exp: Likewise.
14716
bf401b07
SM
147172015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14718
14719 * configure.ac: Remove HP-UX case.
14720 * configure: Regenerate.
14721
aff9c0f8
SM
147222015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14723
14724 * lib/gdb.exp (gdb_compile): Add function doc.
14725
a6904d5a
PA
147262015-12-17 Pedro Alves <palves@redhat.com>
14727
14728 PR threads/19354
14729 * gdb.multi/info-threads.exp: New file.
14730
a22279dd
YQ
147312015-12-15 Yao Qi <yao.qi@linaro.org>
14732
14733 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14734 is aarch64*-*-*.
14735
0588c796
SL
147362015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14737
14738 * gdb.base/history-duplicates.exp: Skip if no readline support.
14739
5d978e17
SL
147402015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14741
14742 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14743
7e763b86
SL
147442015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14745
14746 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14747
87a3a92c
SL
147482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14749
14750 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14751 ctrl-C if nointerrupts target property is set.
14752 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14753 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14754 * gdb.base/paginate-bg-execution.exp: Likewise.
14755 * gdb.base/paginate-execution-startup.exp: Likewise.
14756 * gdb.base/random-signal.exp: Likewise.
14757 * gdb.base/range-stepping.exp: Likewise.
14758 * gdb.cp/annota2.exp: Likewise.
14759 * gdb.cp/annota3.exp: Likewise.
14760 * gdb.gdb/selftest.exp: Likewise.
14761 * gdb.threads/continue-pending-status.exp: Likewise.
14762 * gdb.threads/leader-exit.exp: Likewise.
14763 * gdb.threads/manythreads.exp: Likewise.
14764 * gdb.threads/pthreads.exp: Likewise.
14765 * gdb.threads/schedlock.exp: Likewise.
14766 * gdb.threads/sigthread.exp: Likewise.
14767
a8f077dc
DB
147682015-12-11 Don Breazeal <donb@codesourcery.com>
14769
14770 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14771 remote.
14772 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14773 * gdb.base/foll-exec.exp (main): Enable for target remote.
14774 * gdb.base/foll-fork.exp (main): Likewise.
14775 * gdb.base/foll-vfork.exp (main): Likewise.
14776 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14777 (proc continue_to_exit_bp_loc): Use clean_restart.
14778 * gdb.base/pie-execl.exp (main): Disable for target remote.
14779 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14780 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14781 * gdb.threads/execl.exp (main): Likewise.
14782 * gdb.threads/fork-child-threads.exp (main): Likewise.
14783 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14784 remote.
14785 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14786 remote.
14787 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14788 pid.tid style ptids, instead of just tid.
14789 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14790 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14791 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14792 ptids, instead of just tid.
14793
3b2464a8
AB
147942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14795
14796 * gdb.base/list.exp (test_list_forward): Add end of file error
14797 test.
14798 (test_repeat_list_command): Add end of file error test.
14799 (test_list_backwards): Add beginning of file error test.
14800
a0def019
AB
148012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14802
14803 * gdb.base/list.exp (test_list_invalid_args): New function,
14804 defined, and called.
14805
5c000dff
AB
148062015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14807
14808 * gdb.base/list.exp (test_list): Make test names unique.
14809
f1637ebe
YQ
148102015-12-11 Yao Qi <yao.qi@linaro.org>
14811
14812 * gdb.base/coremaker2.c: Remove.
14813
36d6fc0a
PA
148142015-12-10 Pedro Alves <palves@redhat.com>
14815
14816 * gdb.multi/base.exp: Remove stale "spaces" references.
14817
762f7747
PA
148182015-12-10 Pedro Alves <palves@redhat.com>
14819
14820 * gdb.multi/base.exp: Don't use nowarnings.
14821 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14822 * gdb.multi/hangout.c: Include stdio.h.
14823 * gdb.multi/hello.c: Include stdlib.h.
14824 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14825 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14826 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14827
28d2bfb9
AB
148282015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14829
14830 * gdb.dwarf2/dw2-ranges-base.c: New file.
14831 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14832 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14833 support additional line table, and debug ranges generation.
14834 (Dwarf::ranges): New function, generate .debug_ranges.
14835 (Dwarf::lines): Support generating simple line table programs.
14836 (Dwarf::assemble): Initialise new namespace variables.
14837
5fc2beac
KB
148382015-12-09 Kevin Buettner <kevinb@redhat.com>
14839
14840 * gdb.base/async.exp (proc test_background): Add case for
14841 asynchronous execution not supported.
14842
1c35a88f
LM
148432015-12-09 Luis Machado <lgustavo@codesourcery.com>
14844
14845 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14846 format and change test names to make them unique.
14847
b593e3d9
RK
148482015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14849 Pedro Alves <pedro@redhat.com>
14850
14851 PR gdb/18702
14852 Add checking of floatformats setup on x86_64 hosts.
14853 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14854 (smallval, bigval): New labels/constants.
14855 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14856 float" after loading bigval and smallval.
14857
d72413e6
PMR
148582015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14859
14860 * gdb.ada/fun_overload_menu.exp: New testcase.
14861 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14862
ece66d65
JS
148632015-12-04 Josh Stone <jistone@redhat.com>
14864
14865 * gdb.base/catch-fork-static.exp: New.
14866
41d0efca
YQ
148672015-12-03 Yao Qi <yao.qi@linaro.org>
14868
14869 * gdb.base/sizeof.c: Don't include stdio.h and
14870 ../lib/unbuffer_output.c.
14871 (main): New variable 'size' and 'value'. Remove printf and
14872 gdb_unbuffer_output. Assign return value to size and value.
14873 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14874 at the beginning.
14875 (check_sizeof): Check the result by printing variable 'size'.
14876 (check_valueof): Check the result by printing variable 'value'.
14877
99fd02d9
YQ
148782015-12-01 Yao Qi <yao.qi@linaro.org>
14879
14880 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14881 for aarch64*-*-linux* target.
14882
f2faf941
PA
148832015-11-30 Pedro Alves <palves@redhat.com>
14884
14885 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14886
04bf20c5
PA
148872015-11-30 Pedro Alves <palves@redhat.com>
14888
14889 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14890 Handle non-stop mode vCont replies.
14891
09df4675
PA
148922015-11-30 Pedro Alves <palves@redhat.com>
14893
14894 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14895 prepare_for_testing. Start gdb with "set non-stop on" appended to
14896 GDBFLAGS. Lax expected stop output.
14897
58b584af
YQ
148982015-11-27 Yao Qi <yao.qi@linaro.org>
14899
14900 * gdb.arch/arm-neon.exp: New.
14901 * gdb.arch/arm-neon.c: New.
14902
dfcb77a8
YQ
149032015-11-27 Yao Qi <yao.qi@linaro.org>
14904
14905 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14906
88e8ec1b
YQ
149072015-11-27 Yao Qi <yao.qi@linaro.org>
14908
14909 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14910 frames-invalid annotation.
14911
bfde72c2
YQ
149122015-11-27 Yao Qi <yao.qi@linaro.org>
14913
14914 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14915
f6512a69
SM
149162015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14917
14918 * gdb.threads/names.exp: New file.
14919 * gdb.threads/names.c: New file.
14920 * README: Mention gdb,no_thread_names.
14921
46a3515b
MM
149222015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14923
14924 PR 19297
14925 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14926 support" error.
14927
62147a22
PA
149282015-11-24 Pedro Alves <palves@redhat.com>
14929
14930 PR 17539
14931 * gdb.base/display.exp: Expect displays to be sorted in ascending
14932 order. Use multi_line.
14933 * gdb.base/solib-display.exp: Likewise.
14934
2f341b6e
PA
149352015-11-24 Pedro Alves <palves@redhat.com>
14936
14937 PR 17539
25d49b86
PA
14938 * gdb.base/display.exp: Expect displays to be sorted in ascending
14939 order. Use multi_line.
14940 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14941
7e0aa6aa
PA
149422015-11-24 Pedro Alves <palves@redhat.com>
14943
14944 PR 17539
14945 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14946 threads in ascending order.
14947 * gdb.base/foll-fork.exp: Likewise.
14948 * gdb.base/foll-vfork.exp: Likewise.
14949 * gdb.base/multi-forks.exp: Likewise.
14950 * gdb.mi/mi-nonstop.exp: Likewise.
14951 * gdb.mi/mi-nsintrall.exp: Likewise.
14952 * gdb.multi/base.exp: Likewise.
14953 * gdb.multi/multi-arch.exp: Likewise.
14954 * gdb.python/py-inferior.exp: Likewise.
14955 * gdb.threads/break-while-running.exp: Likewise.
14956 * gdb.threads/execl.exp: Likewise.
14957 * gdb.threads/gcore-thread.exp: Likewise.
14958 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14959 * gdb.threads/kill.exp: Likewise.
14960 * gdb.threads/linux-dp.exp: Likewise.
14961 * gdb.threads/multiple-step-overs.exp: Likewise.
14962 * gdb.threads/next-bp-other-thread.exp: Likewise.
14963 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14964 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14965 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14966 * gdb.threads/thread-find.exp: Likewise.
14967 * gdb.threads/tls.exp: Likewise.
14968 * lib/mi-support.exp (mi_reverse_list): Delete.
14969 (mi_check_thread_states): No longer reverse list.
14970
2cc57ad8
PA
149712015-11-24 Pedro Alves <palves@redhat.com>
14972
14973 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14974 use lowercase.
14975
c93e8391
SM
149762015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14977
14978 * gdb.trace/actions.c: Include trace-common.h.
14979 (main): Add a location for a fast tracepoint.
14980 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14981 the normal tracepoints.
14982 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14983
045ccf91
SM
149842015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14985
14986 * save-trace.exp: Factor out code to these...
14987 (gdb_save_tracepoints): New.
14988 (gdb_load_tracepoints): New.
14989 (do_save_load_test): New.
14990
5506f9f6
KB
149912015-11-23 Kevin Buettner <kevinb@redhat.com>
14992
14993 * gdb.base/asmlabel.exp: New test.
14994 * gdb.base/asmlabel.c: New test case.
14995
16c3b12f
JB
149962015-11-23 Joel Brobecker <brobecker@adacore.com>
14997
14998 * gdb.base/wrong_frame_bt_full-main.c: New file.
14999 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15000 * gdb.base/wrong_frame_bt_full.exp: New file.
15001
155bfbd3
JB
150022015-11-23 Joel Brobecker <brobecker@adacore.com>
15003
15004 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15005
bb097445
JM
150062015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15007
206853a0 15008 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15009 pstate register when comparing registers values in
15010 sparc64-*-linux-gnu targets to avoid spurious differences.
15011
9c88ed8f
JM
150122015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15013
206853a0 15014 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15015
96161e25
SL
150162015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15017
15018 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15019 as type argument to gdb_compile.
15020 * gdb.base/nested-subp2.exp: Likewise.
15021 * gdb.base/nested-subp3.exp: Likewise.
15022
340c2830
DV
150232015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15024
15025 * lib/dwarf.exp (_note): Fix left shift of negative value.
15026 * gdb.trace/trace-condition.exp: Likewise.
15027
c1862d0f
YQ
150282015-11-13 Yao Qi <yao.qi@linaro.org>
15029
15030 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15031 comments about d10v.
15032 (test_scalar_returns): Likewise.
15033 * gdb.base/d10v.ld: Remove.
15034 * gdb.base/overlays.exp: Remove the target triplet checking for
15035 d10v-*-*.
15036 * gdb.base/structs.exp (test_struct_returns): Remove the
15037 comments about d10v.
15038 (test_struct_calls): Likewise.
15039
77ae9c19
YQ
150402015-11-13 Yao Qi <yao.qi@linaro.org>
15041
15042 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15043 * gdb.base/gnu_vector.c: Don't include stdio.h.
15044 (main): Don't print res and call add_some_intvecs.
15045
430e004e
MK
150462015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15047
15048 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15049 macro.
15050 (func5): Removed.
15051 (func4): Use FAST_TRACEPOINT_LABEL.
15052 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15053 macro.
15054 (func): Removed.
15055 (thread_function): Use FAST_TRACEPOINT_LABEL.
15056 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15057 (func): Remove.
15058 (marker): Use FAST_TRACEPOINT_LABEL.
15059 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15060 (pendfunc1): Remove.
15061 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15062 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15063 (foo): Remove.
15064 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15065 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15066 macro.
15067 (func): Remove.
15068 (marker): Use FAST_TRACEPOINT_LABEL.
15069 * gdb.trace/trace-common.h: New header.
15070 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15071 macro.
15072 (func): Remove.
15073 (marker): Use FAST_TRACEPOINT_LABEL.
15074 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15075 (func): Remove.
15076 (thread_function): Use FAST_TRACEPOINT_LABEL.
15077
6e7675a7
MK
150782015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15079
15080 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15081 in front.
15082 * gdb.trace/change-loc.exp: Use global pcreg definition.
15083 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15084 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15085 in front.
15086 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15087 * gdb.trace/pending.exp: Likewise.
15088 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15089 * gdb.trace/trace-break.exp: Likewise.
15090 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15091 in front.
15092 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15093 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15094 in front.
15095 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15096
dddc0e16
JB
150972015-11-09 Joel Brobecker <brobecker@adacore.com>
15098
15099 * gdb.ada/fin_fun_out: New testcase.
15100
c6f0b406
KB
151012015-11-07 Kevin Buettner <kevinb@redhat.com>
15102
15103 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15104 value associated with DW_AT_byte_size.
15105 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15106 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15107 DW_AT_upper_bound.
15108
f01dcfd9
KB
151092015-11-07 Kevin Buettner <kevinb@redhat.com>
15110
15111 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15112 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15113 version.
15114 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15115 gdb.dwarf2/dw2-canonicalize-type.exp,
15116 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15117 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15118 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15119 provided by gdb_target_symbol_prefix_flags_asm.
15120 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15121 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15122 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15123 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15124 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15125 macros where needed). Use this macro for symbols which require
15126 the prefix provided by SYMBOL_PREFIX.
15127
2223449a
KB
151282015-11-05 Kevin Buettner <kevinb@redhat.com>
15129
15130 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15131 New procs.
15132 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15133 representing expressions, of more than one list element.
15134 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15135 to prepend linker symbol prefix to f.
15136 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15137 table_1 and table_2.
15138 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15139 Likewise, for f and g.
15140 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15141 for ptr.
15142 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15143 for main.
15144 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15145 table_1_ptr and table_2_ptr.
15146
6f2f1a3a
JK
151472015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15148 Joel Brobecker <brobecker@adacore.com>
15149
15150 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15151
566c56c9
MK
151522015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15153
15154 * gdb.reverse/s390-mvcle.c: New test.
15155 * gdb.reverse/s390-mvcle.exp: New file.
15156 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15157
d5f0636b
MK
151582015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15159
15160 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15161
7ad8b86c
MK
151622015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15163
15164 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15165 reaching marker2.
15166 * gdb.reverse/getresuid-reverse.exp: Likewise.
15167 * gdb.reverse/pipe-reverse.exp: Likewise.
15168 * gdb.reverse/readv-reverse.exp: Likewise.
15169 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15170 * gdb.reverse/time-reverse.exp: Likewise.
15171 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15172
4081c0f1
YQ
151732015-10-30 Yao Qi <yao.qi@linaro.org>
15174
15175 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15176 (empty_cycle): Remove.
15177 (main): Don't call empty_cycle. Don't use watch_count_done.
15178 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15179 empty_cycle. Rewrite the code counting HW watchpoints.
15180
452b4ba5
MK
151812015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15182
15183 * gdb.reverse/fstatat-reverse.c: New test.
15184 * gdb.reverse/fstatat-reverse.exp: New file.
15185 * gdb.reverse/getresuid-reverse.c: New test.
15186 * gdb.reverse/getresuid-reverse.exp: New file.
15187 * gdb.reverse/pipe-reverse.c: New test.
15188 * gdb.reverse/pipe-reverse.exp: New file.
15189 * gdb.reverse/readv-reverse.c: New test.
15190 * gdb.reverse/readv-reverse.exp: New file.
15191 * gdb.reverse/recvmsg-reverse.c: New test.
15192 * gdb.reverse/recvmsg-reverse.exp: New file.
15193 * gdb.reverse/time-reverse.c: New test.
15194 * gdb.reverse/time-reverse.exp: New file.
15195 * gdb.reverse/waitpid-reverse.c: New test.
15196 * gdb.reverse/waitpid-reverse.exp: New file.
15197
5e2e7507
JK
151982015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15199
15200 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15201
0fde2c53
DE
152022015-10-26 Doug Evans <dje@google.com>
15203
15204 PR symtab/17391
15205 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15206 * gdb.dwarf2/bad-regnum.c: New file.
15207 * gdb.dwarf2/bad-regnum.exp: New file.
15208
1a70ae97
DE
152092015-10-26 Doug Evans <dje@google.com>
15210
15211 PR python/18938
15212 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15213 file.
15214
27dc26ab
JK
152152015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15216
15217 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15218 for a change by "Mention language in compile error message".
15219
bed91f4d
SM
152202015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15221
15222 PR python/18073
15223 * gdb.python/py-type.c (C::a_method): New.
15224 (C::a_const_method): New.
15225 (C::a_static_method): New.
15226 (a_function): New.
15227 * gdb.python/py-type.exp (test_fields): Test getting fields
15228 from function and method.
15229
3f2f83dd
KB
152302015-10-21 Keven Boell <keven.boell@intel.com>
15231
15232 * gdb.fortran/vla-alloc-assoc.exp: New file.
15233 * gdb.fortran/vla-datatypes.exp: New file.
15234 * gdb.fortran/vla-datatypes.f90: New file.
15235 * gdb.fortran/vla-history.exp: New file.
15236 * gdb.fortran/vla-ptype-sub.exp: New file.
15237 * gdb.fortran/vla-ptype.exp: New file.
15238 * gdb.fortran/vla-sizeof.exp: New file.
15239 * gdb.fortran/vla-sub.f90: New file.
15240 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15241 * gdb.fortran/vla-value-sub-finish.exp: New file.
15242 * gdb.fortran/vla-value-sub.exp: New file.
15243 * gdb.fortran/vla-value.exp: New file.
15244 * gdb.fortran/vla-ptr-info.exp: New file.
15245 * gdb.mi/mi-vla-fortran.exp: New file.
15246 * gdb.mi/vla.f90: New file.
15247
27145d50
SL
152482015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15249
15250 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15251 of hardwired timeout value.
15252
5f3ff4f8
JK
152532015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15254 Pedro Alves <palves@redhat.com>
15255
15256 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15257 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15258
bfd09d20
JS
152592015-10-19 Josh Stone <jistone@redhat.com>
15260
15261 * gdb.base/catch-syscall.c: Include <sched.h>.
15262 (unknown_syscall): New variable.
15263 (main): Trigger a vfork and an unknown syscall.
15264 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15265 (unknown_syscall_number): Likewise.
15266 (check_call_to_syscall): Accept an optional syscall pattern.
15267 (check_return_from_syscall): Likewise.
15268 (check_continue): Likewise.
15269 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15270 (test_catch_syscall_skipping_return): New test toggling off 'catch
15271 syscall' to step over the syscall return, then toggling back on.
15272 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15273 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15274 (do_syscall_tests): Call test_catch_syscall_without_args and
15275 test_catch_syscall_mid_vfork.
15276 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15277 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15278
b32b93c6
AS
152792015-10-19 Andrew Stubbs <ams@codesourcery.com>
15280
15281 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15282 print g_vE): Add new pass patterns.
15283 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15284 print various symbol names for vptr fields.
15285
9d622bda
AB
152862015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15287
15288 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15289 results.
15290
0fd8ac1c
YQ
152912015-10-12 Yao Qi <yao.qi@linaro.org>
15292
15293 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15294
34240514
YQ
152952015-10-12 Yao Qi <yao.qi@linaro.org>
15296
15297 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15298 is aarch64*-*-linux*.
15299
8240f442
YQ
153002015-10-12 Yao Qi <yao.qi@linaro.org>
15301
15302 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15303 (can_relocate_bcond_true): ... it.
15304 (can_relocate_bcond_false): New function.
15305 (foo): Likewise.
15306 (can_relocate_bl): Likewise.
15307 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15308 can_relocate_bl.
15309
2520f728
PMR
153102015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15311
15312 * gdb.base/nested-addr.c: New file.
15313 * gdb.base/nested-addr.exp: New testcase.
15314
abcef95a
MM
153152015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15316
15317 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15318 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15319 its output. Ignore the output of "record goto begin" and instead
15320 check that GDB is replaying.
15321
145e3ddb
PA
153222015-10-09 Pedro Alves <palves@redhat.com>
15323
15324 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15325 (top level): Use it in the run with no args test.
15326
d5d8c4e1
IB
153272015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15328
15329 * gdb.dlang/properties.exp: New file.
15330
06e635ef
SL
153312015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15332
15333 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15334 whether or not address 0x1000 is mapped on the target.
15335
e019fd1d
SM
153362015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15337
15338 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15339 build.
15340
77ba2a67
MM
153412015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15342
15343 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15344 instruction-history test.
15345
c60eb31f
DE
153462015-09-28 Doug Evans <dje@google.com>
15347
15348 * gdb.base/gcore.c (array_func): Add reference to static_array.
15349
9a3c8263
SM
153502015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15351
15352 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15353 source line.
15354
9720e656
SL
153552015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15356
15357 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15358 short or char as base type.
15359
938d3bf2
SL
153602015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15361
15362 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15363 to allow any size enum.
15364
e6c2c623
PMR
153652015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15366
15367 * gdb.ada/array_ptr_renaming.exp: New testcase.
15368 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15369 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15370
06da0f77
PL
153712015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15372
15373 * gdb.trace/ftrace-lock.c: New file.
15374 * gdb.trace/ftrace-lock.exp: New file.
15375
4f51c22a
PL
153762015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15377
15378 * gdb.arch/insn-reloc.c: New file.
15379 * gdb.arch/ftrace-insn-reloc.exp: New file.
15380
7041adf4
PL
153812015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15382
15383 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15384 instruction.
15385 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15386 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15387 * gdb.trace/range-stepping.c: Likewise.
15388 * gdb.trace/trace-break.c: Likewise.
15389 * gdb.trace/trace-mt.c (thread_function): Likewise.
15390 * gdb.trace/ftrace.c (marker): Likewise.
15391 * gdb.trace/trace-condition.c (marker): Likewise.
15392 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15393 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15394 is_aarch64_target.
15395
015d2e7e
DE
153962015-09-18 Doug Evans <xdje42@gmail.com>
15397
15398 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15399 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15400
26b188a2
SL
154012015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15402
15403 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15404 the breakpoint.
15405
79dc332b
SL
154062015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15407
15408 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15409 the pending breakpoint. Remove timeout override for "Run till
15410 MI pending breakpoint on pendfunc3 on thread 2" test.
15411
f57929f2
SL
154122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15413
15414 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15415 filename pattern.
15416
3f469b17
SL
154172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15418
15419 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15420 in breakpoint filename pattern.
15421
515b89b3
SL
154222015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15423
7800dbe4
SL
15424 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15425
154262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15427
515b89b3
SL
15428 * gdb.linespec/explicit.exp: Check for readline support for
15429 tab-completion tests. Fix obvious typo.
15430
d2939ba2
MM
154312015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15432
15433 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15434 and replay.
15435
cbb55fa7
MM
154362015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15437
15438 * gdb.btrace/non-stop.c: New.
15439 * gdb.btrace/non-stop.exp: New.
15440
43691ca1
PL
154412015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15442 Yao Qi <yao.qi@linaro.org>
15443
15444 * gdb.trace/trace-condition.c: New file.
15445 * gdb.trace/trace-condition.exp: New file.
15446
d78908cf
WW
154472015-09-16 Wei-cheng Wang <cole945@gmail.com>
15448
15449 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15450 for testing bytecode compilation.
15451
1ed415e2
PA
154522015-09-16 Pedro Alves <palves@redhat.com>
15453 Sandra Loosemore <sandra@codesourcery.com>
15454
15455 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15456 (SECONDS): Redefine.
15457 (main): Call pthread_kill and alarm early.
15458 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15459 support.
15460 (test): If the target can't hardware step and doesn't support
15461 displaced stepping, increase the timeout.
15462
d136eff5
PA
154632015-09-16 Pedro Alves <palves@redhat.com>
15464
15465 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15466 (enable_debug): New procedures.
15467 (test): Use them. Bail out if waiting for threads fails.
15468 (top level): Bail out if a test fails.
15469
991f019c
YQ
154702015-09-16 Yao Qi <yao.qi@linaro.org>
15471
15472 * gdb.asm/asm-source.exp: Set asm-arch for
15473 aarch64*-*-* target.
15474 * gdb.asm/aarch64.inc: New file.
15475
bfca584f
PMR
154762015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15477
15478 * gdb.ada/array_of_variable_length.exp: New testcase.
15479 * gdb.ada/array_of_variable_length/foo.adb: New file.
15480 * gdb.ada/array_of_variable_length/pck.adb: New file.
15481 * gdb.ada/array_of_variable_length/pck.ads: New file.
15482
b326e587
DE
154832015-09-15 Doug Evans <dje@google.com>
15484
15485 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15486 of function static local variable.
15487
5382cfab
PW
154882015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15489
15490 * gdb.threads/tls-so_extern.exp: New test file.
15491 * gdb.threads/tls-so_extern.c: New test file.
15492 * gdb.threads/tls-so_extern_main.c: New test file.
15493
141c5cc4
JK
154942015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15495
15496 * gdb.opt/solib-intra-step-lib.c: New file.
15497 * gdb.opt/solib-intra-step-main.c: New file.
15498 * gdb.opt/solib-intra-step.exp: New file.
15499
d15dcecd
PA
155002015-09-15 Pedro Alves <palves@redhat.com>
15501
15502 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15503 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15504
4c2f2a79
PA
155052015-09-14 Pedro Alves <palves@redhat.com>
15506
15507 * gdb.base/hook-stop-continue.c: Delete.
15508 * gdb.base/hook-stop-continue.exp: Delete.
15509 * gdb.base/hook-stop-frame.c: Delete.
15510 * gdb.base/hook-stop-frame.exp: Delete.
15511 * gdb.base/hook-stop.c: New file.
15512 * gdb.base/hook-stop.exp: New file.
15513
919e6dbe
PMR
155142015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15515
15516 * gdb.ada/access_to_packed_array.exp: New testcase.
15517 * gdb.ada/access_to_packed_array/foo.adb: New file.
15518 * gdb.ada/access_to_packed_array/pack.adb: New file.
15519 * gdb.ada/access_to_packed_array/pack.ads: New file.
15520
157280a4
MM
155212015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15522
15523 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15524 buffer size test.
15525
2fd33e94
DB
155262015-09-11 Don Breazeal <donb@codesourcery.com>
15527
15528 * gdb.base/foll-exec.c: Add copyright header. Fix
15529 formatting issues.
15530 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15531 (do_exec_tests): Use clean_restart in place of zap_session,
15532 and for test initialization. Fix formatting issues. Use
15533 fail in place of perror.
15534 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15535 an expect statement to match an expression with output from
15536 the program under debug.
15537 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15538 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15539 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15540 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15541 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15542
e70b6e8e
DE
155432015-09-09 Doug Evans <dje@google.com>
15544
15545 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15546
7a551a51
DE
155472015-09-09 Doug Evans <dje@google.com>
15548
15549 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15550
4c666f84
DE
155512015-09-09 Doug Evans <dje@google.com>
15552
15553 * gdb.base/savedregs.exp: Fix typo.
15554
243a9253
PA
155552015-09-09 Pedro Alves <palves@redhat.com>
15556
15557 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15558
c0fa8fbd
SL
155592015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15560
15561 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15562 command actually switches threads. Give up on remaining
15563 tests if target fails to stop at breakpoint.
15564
cd7c1778
PMR
155652015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15566
15567 * gdb.ada/funcall_char.exp: New testcase.
15568 * gdb.ada/funcall_char/foo.adb: New file.
15569
dc5c8746
PMR
155702015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15571
15572 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15573 expected outputs. Add two testcases for completing ambiguous
15574 functions.
15575 * gdb.ada/complete/aux_pck.adb: New file.
15576 * gdb.ada/complete/aux_pck.ads: New file.
15577 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15578 Ambiguous_Func functions.
15579 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15580 * gdb.ada/complete/pck.adb: Likewise.
15581
4e83a1e7
UW
155822015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15583
15584 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15585 failures to run the test program under GDB.
15586
8ce74153
LM
155872015-08-26 Luis Machado <lgustavo@codesourcery.com>
15588
15589 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15590 to C.
15591
e9756d52
PP
155922015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15593
15594 * gdb.base/run-after-attach.exp: New test file.
15595 * gdb.base/run-after-attach.c: New test file.
15596
8d37573b
DB
155972015-08-26 Don Breazeal <donb@codesourcery.com>
15598
15599 * gdb.base/foll-exec-2.c: New test program.
15600 * gdb.base/foll-exec-2.exp: New test.
15601
63e43d3a
PMR
156022015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15603
15604 * gdb.base/nested-subp1.exp: New file.
15605 * gdb.base/nested-subp1.c: New file.
15606 * gdb.base/nested-subp2.exp: New file.
15607 * gdb.base/nested-subp2.c: New file.
15608 * gdb.base/nested-subp3.exp: New file.
15609 * gdb.base/nested-subp3.c: New file.
15610
3d40fbb5
PA
156112015-08-24 Pedro Alves <palves@redhat.com>
15612
15613 * gdb.server/connect-without-multi-process.c: New file.
15614 * gdb.server/connect-without-multi-process.exp: New file.
15615
4422ac93
LM
156162015-08-24 Luis Machado <lgustavo@codesourcery.com>
15617
15618 * gdb.opt/inline-markers.c: Make z int.
15619
91dddb86
LM
156202015-08-24 Luis Machado <lgustavo@codesourcery.com>
15621
15622 * gdb.opt/inline-markers.c: Make z volatile.
15623
a48847ee
LM
156242015-08-24 Luis Machado <lgustavo@codesourcery.com>
15625
15626 * gdb.opt/inline-bt.c: New volatile global z.
15627 * gdb.opt/inline-cmds.c: Likewise.
15628 * gdb.opt/inline-locals.c: Likewise.
15629 * gdb.opt/inline-markers.c: New extern global z.
15630 (marker): Use z.
15631 (inline_fn): Likewise.
15632
0ebbc52b
PA
156332015-08-24 Pedro Alves <palves@redhat.com>
15634
15635 * config/m32r-stub.exp: Remove file.
15636 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15637 * gdb.base/call-rt-st.exp: Likewise.
15638 * gdb.base/call-strs.exp: Likewise.
15639 * gdb.base/default.exp: Remove references to h8300-*-hms and
15640 *-*-udi*.
15641 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15642
77c365df
AA
156432015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15644
15645 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15646 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15647 and "return" use KFAIL when GDB can not read/write the vector
15648 return value.
15649
4313b8c0
GB
156502015-08-21 Gary Benson <gbenson@redhat.com>
15651
15652 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15653
0e433b32
PA
156542015-08-20 Pedro Alves <palves@redhat.com>
15655
15656 * gdb.server/solib-list.exp: No longer expect an interior stop in
15657 non-stop mode.
15658
221e1a37
PA
156592015-08-20 Pedro Alves <palves@redhat.com>
15660
15661 * gdb.server/connect-stopped-target.c: New file.
15662 * gdb.server/connect-stopped-target.exp: New file.
15663
40e3ad0e
PA
156642015-08-20 Pedro Alves <palves@redhat.com>
15665
15666 * gdb.dwarf2/comp-unit-lang.exp: New file.
15667 * gdb.dwarf2/comp-unit-lang.c: New file.
15668
af39b327
PMR
156692015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15670
15671 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15672 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15673
7d45c7c3 156742015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15675
7d45c7c3
KB
15676 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15677 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15678
4d6cceb4
DE
156792015-08-18 Doug Evans <dje@google.com>
15680 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15681
15682 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15683 skip_python_tests. New arg prompt_regexp.
15684 (skip_python_tests): New function.
15685 * lib/mi-support.exp (mi_skip_python_tests): New function.
15686 * gdb.python/py-mi-objfile-gdb.py: New file.
15687 * gdb.python/py-mi-objfile.c: New file.
15688 * gdb.python/py-mi-objfile.exp: New file.
15689
ad89c2aa
KS
156902015-08-17 Keith Seitz <keiths@redhat.com>
15691
15692 * gdb.linespec/explicit.exp: Move strace test from here ...
15693 * gdb.trace/strace.exp: ... to here.
15694
e3ae3c43
PP
156952015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15696
15697 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15698 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15699
604b2636
DE
157002015-08-14 Doug Evans <xdje42@gmail.com>
15701
15702 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15703 inferior before selecting a new file.
15704
6ff0ba5f
DE
157052015-08-14 Doug Evans <xdje42@gmail.com>
15706
15707 * gdb.mi/mi-disassemble.exp: Update.
15708 * gdb.base/disasm-optim.S: New file.
15709 * gdb.base/disasm-optim.c: New file.
15710 * gdb.base/disasm-optim.h: New file.
15711 * gdb.base/disasm-optim.exp: New file.
15712
9ca98f92
KS
157132015-08-14 Keith Seitz <keiths@redhat.com>
15714
15715 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15716 "evaluated-by".
15717
52bbc560
JB
157182015-08-13 Joel Brobecker <brobecker@adacore.com>
15719
15720 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15721
5d8c3ed3
PMR
157222015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15723
15724 * gdb.ada/fun_renaming.exp: New testcase.
15725 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15726 * gdb.ada/fun_renaming/pack.adb: New file.
15727 * gdb.ada/fun_renaming/pack.ads: New file.
15728
ea8812bc
KS
157292015-08-12 Keith Seitz <keiths@redhat.com>
15730
15731 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15732 gdb_get_line_number.
15733
4dafcdeb
JB
157342015-08-12 Joel Brobecker <brobecker@adacore.com>
15735
15736 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15737 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15738 gdb.base/dso2dso.exp: New files.
15739
5ba32597
SDJ
157402015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15741 Pedro Alves <palves@redhat.com>
15742 Keith Seitz <keiths@redhat.com>
15743
15744 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15745 GDBFLAGS.
15746
b6dafabf
PP
157472015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15748
15749 * gdb.base/gdbhistsize-history.exp
15750 (test_histsize_history_setting): Use save_vars.
15751 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15752 Use save_vars.
15753 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15754 * gdb.base/readline.exp: Use save_vars.
15755
abe8e607
PP
157562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15757
15758 * lib/gdb.exp (save_vars): New proc.
15759
629500fa
KS
157602015-08-11 Keith Seitz <keiths@redhat.com>
15761
15762 * gdb.base/help.exp: Update help_breakpoint_text.
15763
eb8c4e2e
KS
157642015-08-11 Keith Seitz <keiths@redhat.com>
15765
15766 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15767 (at toplevel): Call test_explicit_breakpoints.
15768 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15769 breakpoints.
15770 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15771 breakpoint conditions, "-cond".
15772
87f0e720
KS
157732015-08-11 Keith Seitz <keiths@redhat.com>
15774
15775 * gdb.linespec/3explicit.c: New file.
15776 * gdb.linespec/cpexplicit.cc: New file.
15777 * gdb.linespec/cpexplicit.exp: New file.
15778 * gdb.linespec/explicit.c: New file.
15779 * gdb.linespec/explicit.exp: New file.
15780 * gdb.linespec/explicit2.c: New file.
15781 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15782 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15783 before using in the matching pattern.
15784 Clarify that `prefix' is a regular expression.
15785
f00aae0f
KS
157862015-08-11 Keith Seitz <keiths@redhat.com>
15787
15788 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15789 test.
15790 Add tests for missing ",FMT" and ",".
15791
e27852be
DE
157922015-08-10 Doug Evans <dje@google.com>
15793 Keith Seitz <keiths@redhat.com>
15794
15795 PR gdb/17960
15796 * gdb.base/completion.exp: Add location completer tests.
15797
7f03bd92
PA
157982015-08-07 Pedro Alves <palves@redhat.com>
15799
15800 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15801 tests here.
15802 (top level): Run do_test with and without displaced stepping.
15803
3fc8eb30
PA
158042015-08-07 Pedro Alves <palves@redhat.com>
15805
15806 * gdb.base/valgrind-disp-step.c: New file.
15807 * gdb.base/valgrind-disp-step.exp: New file.
15808
d4569d7b
PA
158092015-08-07 Pedro Alves <palves@redhat.com>
15810
15811 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15812 Delete function.
15813 (main): Add alarm. Run an infinite loop instead of calling
15814 wait_threads.
15815 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15816 comment.
15817 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15818 Delete function.
15819 (main): Add alarm. Run an infinite loop instead of calling
15820 wait_threads.
15821 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15822 comment.
15823
e1316e60
PA
158242015-08-07 Pedro Alves <palves@redhat.com>
15825
15826 * gdb.base/checkpoint-ns.exp: New file.
15827 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15828 standard_testfile.
15829
da8c46d2
MM
158302015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15831
15832 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15833 * gdb.btrace/instruction_history.exp: Update.
15834 * gdb.btrace/tsx.exp: New.
15835 * gdb.btrace/tsx.c: New.
15836
de1c2c52
PA
158372015-08-06 Pedro Alves <palves@redhat.com>
15838
15839 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15840 increase timeout.
15841 * gdb.reverse/until-precsave.exp: Bump timeouts.
15842
782e0bf4
PA
158432015-08-06 Pedro Alves <palves@redhat.com>
15844
15845 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15846
83e97ed0
PA
158472015-08-06 Pedro Alves <palves@redhat.com>
15848
15849 PR gdb/18749
15850 * gdb.threads/process-dies-while-handling-bp.c: New file.
15851 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15852
863d01bd
PA
158532015-08-06 Pedro Alves <palves@redhat.com>
15854
15855 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15856 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15857
0a39bb32
PA
158582015-08-05 Pedro Alves <palves@redhat.com>
15859
15860 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15861 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15862
ee2d2b10
SL
158632015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15864
15865 * gdb.base/bp-permanent.exp: Report test as unsupported if
15866 the target cannot stop at the permanent breakpoint.
15867
4e1bdb00
DE
158682015-08-03 Doug Evans <dje@google.com>
15869
15870 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15871 10000.
15872
3d338901
DE
158732015-08-03 Doug Evans <dje@google.com>
15874
15875 * Makefile.in (workers/%.worker, build-perf): New rule.
15876 (GDB_PERFTEST_MODE): New variable.
15877 (check-perf): Use it.
15878 (clean): Clean up gdb.perf parallel build subdirs.
15879 * lib/build-piece.exp: New file.
15880 * lib/gdb.exp (make_gdb_parallel_path): New function
15881 (standard_output_file, standard_temp_file): Call it.
15882 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15883 of $GDB_PARALLEL.
15884 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15885
af061d3e
DE
158862015-08-03 Doug Evans <dje@google.com>
15887
8e1afc81 15888 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15889 (LOG_FILE_NAME): New global.
15890 (TextReporter.__init__): Initialize self.txt_sum.
15891 (TextReporter.report): Add support for multiple data-points.
15892 Move report to perftest.sum, put raw data in perftest.log.
15893 (TextReporter.start): Open sum and log files.
15894 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15895 * gdb.perf/lib/perftest/testresult.py
15896 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15897
2c8c5d37
PA
158982015-07-31 Pedro Alves <palves@redhat.com>
15899
15900 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15901 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15902 kill_wait_spawned_process instead of explicit "kill -9".
15903 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15904 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15905 kill_wait_spawned_process.
15906 * gdb.base/attach-twice.exp: Likewise.
15907 * gdb.base/attach.exp: Likewise.
15908 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15909 gdb_test_multiple.
15910 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15911 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15912 kill_wait_spawned_process.
15913 * gdb.base/valgrind-infcall.exp: Likewise.
15914 * gdb.multi/multi-attach.exp: Likewise.
15915 * gdb.python/py-prompt.exp: Likewise.
15916 * gdb.python/py-sync-interp.exp: Likewise.
15917 * gdb.server/ext-attach.exp: Likewise.
15918 * gdb.threads/attach-into-signal.exp (corefunc): Use
15919 spawn_wait_for_attach, spawn_id_get_pid and
15920 kill_wait_spawned_process.
15921 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15922 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15923 spawn_id_get_pid and kill_wait_spawned_process.
15924 * gdb.threads/attach-stopped.exp (corefunc): Use
15925 spawn_wait_for_attach, spawn_id_get_pid and
15926 kill_wait_spawned_process.
15927 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15928 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15929 kill_wait_spawned_process instead of explicit "kill -9".
15930 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15931 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15932 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15933 processes. Don't map cygwin/windows pids here. Now returns a
15934 spawn id list.
15935
032a0fca
SL
159362015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15937
15938 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15939 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15940 correct patch.
15941
61a934ca
SL
159422015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15943
15944 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15945
4bc4d428
SL
159462015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15947
15948 Reapply:
15949 2014-05-21 Mark Wielaard <mjw@redhat.com>
15950
15951 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15952
998d452a
PA
159532015-07-30 Pedro Alves <palves@redhat.com>
15954
15955 * linux-low.c (handle_extended_wait): Set the child's last
15956 reported status to TARGET_WAITKIND_STOPPED.
15957
69dde7dc
PA
159582015-07-30 Pedro Alves <palves@redhat.com>
15959
15960 PR threads/18600
15961 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15962 only shows inferior 1.
15963
4dd63d48
PA
159642015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15965 Pedro Alves <palves@redhat.com>
15966
15967 PR threads/18600
15968 * gdb.threads/fork-plus-threads.c: New file.
15969 * gdb.threads/fork-plus-threads.exp: New file.
15970
d618e4c5
PP
159712015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15972
15973 * gdb.base/batch-preserve-term-settings.exp
15974 (test_terminal_settings_preserved_after_cli_exit): Use
15975 send_quit_command.
15976
1eef6428
PA
159772015-07-29 Pedro Alves <palves@redhat.com>
15978 Don Breazeal <donb@codesourcery.com>
15979
15980 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15981 output from both inferior_spawn_id and gdb_spawn_id.
15982
7da5b897
SDJ
159832015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15984
15985 * gdb.threads/attach-into-signal.exp (corefunc): Use
15986 with_test_prefix on nested loops, uniquefying the test messages.
15987
dac804df
SDJ
159882015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15989
15990 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15991 commit.
15992
06265e53
PP
159932015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15994
15995 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15996 New proc.
15997 (test_terminal_settings_preserved_after_sigterm): New test.
15998
18206ca3
PP
159992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16000
16001 * gdb.base/batch-preserve-term-settings.exp
16002 (test_terminal_settings_preserved_after_cli_exit): New test.
16003
90074d11
PP
160042015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16005
16006 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16007 manipulation of saved_gdbflags.
16008 (test_terminal_settings_preserved): Remove global declaration of
16009 the unused variable pagination_prompt. Remove manipulation of
16010 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16011 GDBFLAGS.
16012
eb1a7902
PA
160132015-07-29 Pedro Alves <palves@redhat.com>
16014
16015 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16016
8b75dd3b
PA
160172015-07-29 Pedro Alves <palves@redhat.com>
16018
16019 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16020 at the top.
16021
dedad4e3
PA
160222015-07-29 Pedro Alves <palves@redhat.com>
16023
16024 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16025 (main): Call gdb_unbuffer_output.
16026 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16027 (main): Call gdb_unbuffer_output.
16028 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16029 (main): Call gdb_unbuffer_output.
16030 * gdb.base/call-strs.exp: Adjust to step over the
16031 gdb_unbuffer_output call.
16032 * gdb.base/catch-gdb-caused-signals.c: Include
16033 "../lib/unbuffer_output.c".
16034 (main): Call gdb_unbuffer_output.
16035 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16036 (main): Call gdb_unbuffer_output.
16037 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16038 (main): Call gdb_unbuffer_output.
16039 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16040 (main): Call gdb_unbuffer_output.
16041 * gdb.base/shlib-call.exp: Adjust to step over the
16042 gdb_unbuffer_output call.
16043 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16044 (main): Call gdb_unbuffer_output.
16045 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16046 (main): Call gdb_unbuffer_output.
16047 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16048 (main): Rename to ...
16049 (test): ... this.
16050 (main): Reimplement.
16051 * gdb.base/varargs.exp: Run to test instead of to main.
16052 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16053 (main): Call gdb_unbuffer_output.
16054
58789a91
PA
160552015-07-29 Pedro Alves <palves@redhat.com>
16056
16057 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16058 factore out from mi_continue_dprintf. For call-style dprintfs,
16059 expect dprintf output out of $inferior_spawn_id.
16060 (mi_continue_dprintf): Use mi_expect_dprintf.
16061 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16062 (main): Call gdb_unbuffer_output.
16063
e8376742
PA
160642015-07-29 Pedro Alves <palves@redhat.com>
16065
16066 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16067 (default_mi_gdb_start): Set inferior_spawn_id instead of
16068 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16069 gdb_spawn_id.
16070 (mi_gdb_test): Always expect inferior output from both
16071 $inferior_spawn_id and $gdb_spawn_id.
16072
08280010
PA
160732015-07-29 Pedro Alves <palves@redhat.com>
16074
16075 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16076 send_inferior and $inferior_spawn_id.
16077
4d30e432
PA
160782015-07-29 Pedro Alves <palves@redhat.com>
16079
16080 * gdb.gdb/complaints.exp (test_initial_complaints)
16081 (test_serial_complaints, test_short_complaints): Use
16082 gdb_test_stdio.
16083 (test_empty_complaint): Handle $inferior_spawn_id !=
16084 $gdb_spawn_id.
16085
0d30a335
PA
160862015-07-29 Pedro Alves <palves@redhat.com>
16087
16088 * gdb.base/varargs.exp: Use gdb_test_stdio.
16089
39413b29
PA
160902015-07-29 Pedro Alves <palves@redhat.com>
16091
16092 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16093
7cb000a9
PA
160942015-07-29 Pedro Alves <palves@redhat.com>
16095
16096 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16097
d7b8ac82
PA
160982015-07-29 Pedro Alves <palves@redhat.com>
16099
16100 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16101 parameter into two new parameters, "inf_result" and "gdb_result".
16102 Expect inferior output and gdb output from $inferior_spawn_id and
16103 $gdb_spawn_id, respectively. Adjust all callers.
16104
789c3a0c
PA
161052015-07-29 Pedro Alves <palves@redhat.com>
16106
16107 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16108 of gdb_test_sequence.
16109
77e760c3
PA
161102015-07-29 Pedro Alves <palves@redhat.com>
16111
16112 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16113 (saw_spurious_output): Expect inferior output from
16114 $inferior_spawn_id. Use gdb_test_stdio.
16115
8396d2cd
PA
161162015-07-29 Pedro Alves <palves@redhat.com>
16117
16118 * gdb.base/dprintf.exp: Use standard_testfile. Change
16119 prepare_for_testing call.
16120 (srcfile): Don't set.
16121 (restart): New procedure.
16122 (test_dprintf): New procecure, use to continue over dprintfs.
16123 (test_call, test_agent): New procedures, tests moved here.
16124 Restart gdb and recreate dprintfs. Adjust expected output.
16125
2051d61f
PA
161262015-07-29 Pedro Alves <palves@redhat.com>
16127
16128 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16129
452397af
PA
161302015-07-29 Pedro Alves <palves@redhat.com>
16131
16132 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16133
8aed9555
PA
161342015-07-29 Pedro Alves <palves@redhat.com>
16135
16136 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16137 gdb_test_stdio.
16138
188a61b4
PA
161392015-07-29 Pedro Alves <palves@redhat.com>
16140
16141 * lib/gdb.exp (gdb_test_stdio): New procedure.
16142
12264a45
PA
161432015-07-29 Pedro Alves <palves@redhat.com>
16144
16145 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16146
23ffc893
PA
161472015-07-29 Pedro Alves <palves@redhat.com>
16148
16149 * gdb.base/call-signal-resume.exp: Remove check for
16150 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16151 * gdb.base/unwindonsignal.exp: Likewise.
16152 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16153 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16154
65566918
PA
161552015-07-29 Pedro Alves <palves@redhat.com>
16156
16157 * gdb.base/siginfo-addr.c (pass): New function.
16158 (handler): Call it iff si_addr is correct.
16159 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16160 Set a breakpoint at "pass" and continue to it.
16161
d60a9221
SDJ
161622015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16163
16164 * gdb.python/py-objfile.exp: Make some tests have unique names.
16165 * gdb.python/py-pp-registration.exp: Likewise.
16166
bde40b8f
PA
161672015-07-28 Pedro Alves <palves@redhat.com>
16168
16169 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16170
13e1dec8
SM
161712015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16172
16173 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16174
da33c9a7
SM
161752015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16176
16177 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16178
077836f7
PP
161792015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16180
16181 * gdb.base/gdb-sigterm-2.exp: New test.
16182
b8cc7b2e
DE
161832015-07-25 Doug Evans <xdje42@gmail.com>
16184
16185 Revert:
16186 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16187 (workers/%.worker, build-perf): New rule.
16188 (GDB_PERFTEST_MODE): New variable.
16189 (check-perf): Use it.
16190 (clean): Clean up gdb.perf parallel build subdirs.
16191 * lib/build-piece.exp: New file.
16192 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16193 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16194 name.
16195 (standard_temp_file): Ditto.
16196 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16197 of $GDB_PARALLEL.
16198
c8bd4544
DE
161992015-07-24 Doug Evans <dje@google.com>
16200
16201 * gdb.perf/lib/perftest/utils.py: New file.
16202 * gdb.perf/gm-hello.cc: New file.
16203 * gdb.perf/gm-pervasive-typedef.cc: New file.
16204 * gdb.perf/gm-pervasive-typedef.h: New file.
16205 * gdb.perf/gm-std.cc: New file.
16206 * gdb.perf/gm-std.h: New file.
16207 * gdb.perf/gm-use-cerr.cc: New file.
16208 * gdb.perf/gm-utils.h: New file.
16209 * gdb.perf/gmonster-null-lookup.py: New file.
16210 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16211 * gdb.perf/gmonster-print-cerr.py: New file.
16212 * gdb.perf/gmonster-ptype-string.py: New file.
16213 * gdb.perf/gmonster-runto-main.py: New file.
16214 * gdb.perf/gmonster-select-file.py: New file.
16215 * gdb.perf/gmonster1-null-lookup.exp: New file.
16216 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16217 * gdb.perf/gmonster1-print-cerr.exp: New file.
16218 * gdb.perf/gmonster1-ptype-string.exp: New file.
16219 * gdb.perf/gmonster1-runto-main.exp: New file.
16220 * gdb.perf/gmonster1-select-file.exp: New file.
16221 * gdb.perf/gmonster1.cc: New file.
16222 * gdb.perf/gmonster1.exp: New file.
16223 * gdb.perf/gmonster2-null-lookup.exp: New file.
16224 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16225 * gdb.perf/gmonster2-print-cerr.exp: New file.
16226 * gdb.perf/gmonster2-ptype-string.exp: New file.
16227 * gdb.perf/gmonster2-runto-main.exp: New file.
16228 * gdb.perf/gmonster2-select-file.exp: New file.
16229 * gdb.perf/gmonster2.cc: New file.
16230 * gdb.perf/gmonster2.exp: New file.
16231
6eab34f3
DE
162322015-07-24 Doug Evans <dje@google.com>
16233
16234 * gdb.perf/README: New file.
16235 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16236 * lib/gen-perf-test.exp: New file.
16237
63738bfd
DE
162382015-07-24 Doug Evans <dje@google.com>
16239
16240 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16241 (PerfTest::startup): New function.
16242 (PerfTest::run): Return result of calling body.
16243 (PerfTest::assemble): Rewrite.
16244 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16245 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16246 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16247 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16248 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16249
7b606f95
DE
162502015-07-24 Doug Evans <dje@google.com>
16251
16252 * lib/gdb.exp (clean_restart): Make executable optional.
16253
a97b16b8
DE
162542015-07-24 Doug Evans <dje@google.com>
16255
16256 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16257 compiler_info references.
16258 * gdb.cp/temargs.exp: Ditto.
16259 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16260 (get_compiler_info): Early exit if already computed. Set compiler_info
16261 to "unknown" if there was a problem.
16262 (test_compiler_info): Add function comment. Call get_compiler_info.
16263
35baa57f
DE
162642015-07-24 Doug Evans <dje@google.com>
16265
16266 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16267 (workers/%.worker, build-perf): New rule.
16268 (GDB_PERFTEST_MODE): New variable.
16269 (check-perf): Use it.
16270 (clean): Clean up gdb.perf parallel build subdirs.
16271 * lib/build-piece.exp: New file.
16272 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16273 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16274 name.
16275 (standard_temp_file): Ditto.
16276 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16277 of $GDB_PARALLEL.
16278
6ebea266
DE
162792015-07-24 Doug Evans <dje@google.com>
16280
16281 * lib/future.exp (gdb_default_target_compile): New option
16282 "early_flags".
16283 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16284 --as-needed.
16285
1e76a7e9
SDJ
162862015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16287
16288 * gdb.base/catch-syscall.exp: Call gdb_exit before
16289 gdb_skip_xml_test.
16290
5068630a
PA
162912015-07-24 Pedro Alves <palves@redhat.com>
16292
16293 * gdb.python/py-events.exp: Accept output between the stop event
16294 and the prompt.
16295 * gdb.python/py-evsignal.exp: Likewise.
16296 * gdb.python/py-evthreads.exp: Likewise.
16297
77598427
PA
162982015-07-24 Pedro Alves <palves@redhat.com>
16299
16300 PR gdb/18717
16301 * gdb.threads/non-ldr-exit.c: New file.
16302 * gdb.threads/non-ldr-exit.exp: New file.
16303
11e6c98f
YQ
163042015-07-24 Yao Qi <yao.qi@linaro.org>
16305
16306 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16307 restarting process.
16308
51aee833
YQ
163092015-07-24 Yao Qi <yao.qi@linaro.org>
16310
16311 * gdb.server/ext-restart.exp: New file.
16312
8cfe207c
YQ
163132015-07-24 Yao Qi <yao.qi@linaro.org>
16314
16315 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16316 argument options.
16317 * gdb.server/ext-wrapper.exp: New file.
16318
cc12ce38
DE
163192015-07-23 Doug Evans <dje@google.com>
16320
16321 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16322 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16323
d0d84780
PMR
163242015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16325
16326 * gdb.ada/var_arr_typedef.exp: New testcase.
16327 * gdb.ada/var_arr_typedef/pack.adb: New file.
16328 * gdb.ada/var_arr_typedef/pack.ads: New file.
16329 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16330
8b558f79
JB
163312015-07-20 Joel Brobecker <brobecker@adacore.com>
16332
16333 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16334
775a3298
JK
163352015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16336
16337 * gdb.arch/i386-biarch-core.exp: Replace istarget
16338 by "complete set gnutarget". Remove expectation for the "core-file"
16339 command.
16340
db1ff28b
JK
163412015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16342
16343 Revert the previous commit:
16344 Tests for validate symbol file using build-id.
16345
0a94970d
JK
163462015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16347
16348 Tests for validate symbol file using build-id.
16349 * gdb.base/solib-mismatch-lib.c: New file.
16350 * gdb.base/solib-mismatch-libmod.c: New file.
16351 * gdb.base/solib-mismatch.c: New file.
16352 * gdb.base/solib-mismatch.exp: New file.
16353
03346981
SL
163542015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16355
16356 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16357 nios2-*-linux*.
16358 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16359 * gdb.base/siginfo.exp: Likewise.
16360 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16361
42422cc7
PL
163622015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16363
16364 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16365 Move it to ...
16366 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16367 ... here.
16368 * gdb.trace/range-stepping.exp: Check that the target supports
16369 range stepping.
16370
cfa68bae
JK
163712015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16372
16373 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16374
8ffdba26
PA
163752015-07-14 Pedro Alves <palves@redhat.com>
16376
16377 * gdb.base/killed-outside.exp: New file.
16378 * gdb.base/killed-outside.c: New file.
16379
218a5a11
JK
163802015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16381
16382 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16383 (n at main): New.
16384 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16385
e03ed3c6
AA
163862015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16387
16388 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16389 infcall tests instead of setting up for KFAIL.
16390
485668e5
MM
163912015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16392
16393 * gdb.btrace/record_goto-step.exp: New.
16394
08464196
JK
163952015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16396
16397 PR compile/18484
16398 * gdb.compile/compile.c (struct struct_type): Add volatile to
16399 selffield's type.
16400 * gdb.compile/compile.exp
16401 (compile code struct_object.selffield = &struct_object): Skip further
16402 struct_object tests if this one xfails.
16403
bcf5c1d9
RC
164042015-07-08 Robert O'Callahan <robert@ocallahan.org>
16405
16406 PR exp/18617
16407 * gdb.trace/ax.exp: Add test.
16408
4931af25
YQ
164092015-07-07 Yao Qi <yao.qi@linaro.org>
16410
16411 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16412 instead of istarget "aarch64*-*-*".
16413 * gdb.arch/aarch64-fp.exp: Likewise.
16414 * gdb.base/float.exp: Likewise.
16415 * gdb.reverse/aarch64.exp: Likewise.
16416 * lib/gdb.exp (is_aarch64_target): New proc.
16417
9fcf688e
YQ
164182015-07-07 Yao Qi <yao.qi@linaro.org>
16419
16420 * lib/gdb.exp (is_aarch32_target): New proc.
16421 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16422 instead of "istarget "arm*-*-*"".
16423 * gdb.arch/arm-disp-step.exp: Likewise.
16424 * gdb.arch/thumb-bx-pc.exp: Likewise.
16425 * gdb.arch/thumb-prologue.exp: Likewise.
16426 * gdb.arch/thumb-singlestep.exp: Likewise.
16427 * gdb.base/disp-step-syscall.exp: Likewise.
16428 * gdb.base/float.exp: Likewise.
16429
fbd8d50d
YQ
164302015-07-07 Yao Qi <yao.qi@linaro.org>
16431
16432 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16433 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16434
71be1fdc
YQ
164352015-07-07 Yao Qi <yao.qi@linaro.org>
16436
16437 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16438 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16439 if it exists.
16440 * gdb.multi/multi-arch.exp: Likewise.
16441
3e221d36
SM
164422015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16443
16444 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16445 print.
16446
d441430b
YQ
164472015-07-07 Yao Qi <yao.qi@linaro.org>
16448
16449 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16450
06f810bd
MG
164512015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16452
16453 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16454 '[' and ']' characters.
16455
5e61e7c0
IB
164562015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16457
16458 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16459
28bf096c
PA
164602015-06-29 Pedro Alves <palves@redhat.com>
16461
16462 PR threads/18127
16463 * gdb.threads/hand-call-new-thread.c: New file.
16464 * gdb.threads/hand-call-new-thread.c: New file.
16465
ee93cd5e
KS
164662015-06-26 Keith Seitz <keiths@redhat.com>
16467 Doug Evans <dje@google.com>
16468
16469 PR 16253
16470 * gdb.cp/var-tag-2.cc: New file.
16471 * gdb.cp/var-tag-3.cc: New file.
16472 * gdb.cp/var-tag-4.cc: New file.
16473 * gdb.cp/var-tag.cc: New file.
16474 * gdb.cp/var-tag.exp: New file.
16475
fc637f04
PP
164762015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16477
16478 * gdb.base/history-duplicates.exp: New test.
16479
2e52ae68
PP
164802015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16481
16482 * gdb.base/completion.exp: Test the completion of the "focus"
16483 command.
16484
6e22494e
JK
164852015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16486
16487 * gdb.arch/amd64-prologue-skip.S: New file.
16488 * gdb.arch/amd64-prologue-skip.exp: New file.
16489
bf7b9cd9
SM
164902015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16491
16492 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16493 is_address_zero_readable check.
16494
201e8dfd
PB
164952015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16496
16497 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16498 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16499
5cd867b4
YQ
165002015-06-24 Yao Qi <yao.qi@linaro.org>
16501
16502 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16503 linux targets.
16504
4d7be007
YQ
165052015-06-24 Yao Qi <yao.qi@linaro.org>
16506
16507 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16508 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16509 * gdb.base/siginfo-thread.exp: Likewise.
16510
07fcd301
YQ
165112015-06-22 Yao Qi <yao.qi@linaro.org>
16512
16513 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16514
52042a00
YQ
165152015-06-22 Yao Qi <yao.qi@linaro.org>
16516
16517 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16518 aarch64*-*-*.
16519 (skip_hw_watchpoint_tests): Likewise.
16520
74bd41ce
PP
165212015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16522
16523 * gdb.base/gdbinit-history.exp: Test the interaction between
16524 setting GDBHISTSIZE and setting the history size via .gdbinit.
16525
bc460514
PP
165262015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16527
16528 PR gdb/16999
16529 * gdb.base/gdbhistsize-history.exp: New test.
16530
b58c513b
PP
165312015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16532
16533 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16534 with GDBHISTSIZE.
16535 * gdb.base/readline.exp: Likewise.
16536
92046791
YQ
165372015-06-17 Yao Qi <yao.qi@linaro.org>
16538
16539 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16540 line.
16541
2093d2d3
PP
165422015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16543
16544 * gdb.base/gdbinit-history.exp: Add test case to check that
16545 an unlimited history file does not get truncated on exit.
16546
e6c693af
AA
165472015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16548
16549 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16550 (VECTOR): New macro. Use it...
16551 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16552 ...for these typedefs.
16553 (int8, char1, int1, double1): New typedefs.
16554 (struct just_int2, struct two_int2): New structures.
16555 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16556 (add_structvecs, add_singlevecs): New functions.
16557 (main): Call add_some_intvecs twice.
16558 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16559 the compile and exit upon failure. Try compiling for the "native"
16560 architecture. Test inferior function calls with vector arguments
16561 and vector return value handling with "finish" and "return".
16562
c74f7d1c
JT
165632015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16564
16565 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16566 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16567 PE file.
16568 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16569
98aa42ee
AT
165702015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16571
16572 PR breakpoints/16465
16573 * gdb.mi/mi-dprintf-pending.c: New file.
16574 * gdb.mi/mi-dprintf-pending.exp: New test.
16575 * gdb.mi/mi-dprintf-pendshr.c: New file.
16576
7d73c23c 165772015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16578 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16579
16580 * gdb.arch/i386-mpx-map.c: New file.
16581 * gdb.arch/i386-mpx-map.exp: New File.
16582
165832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16584
16585 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16586 * gdb.arch/i386-mpx.exp: Indentation fixed.
16587
165882015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16589
16590 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16591 function and improved indentation.
16592 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16593 gdb_test_multiple. Added additional tests to skip the test.
16594
165952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16596
16597 * gdb.arch/i386-avx512.c: Change path in include file.
16598 * gdb.arch/i386-avx512.exp: Change include dir path
16599 compilation flag.
16600 * gdb.arch/i386-mpx.c: Change path in include file.
16601 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16602 flag.
16603
d5eba19a
JK
166042015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16605
16606 * gdb.compile/compile-print.exp (compile print *vararray@3)
16607 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16608
7f361056
JK
166092015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16610
16611 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16612 (do not keep jit in memory): ... this.
16613 (expect 5): Change it to ...
16614 (expect no 5): ... this.
16615
3b462ec2
SM
166162015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16617
16618 PR gdb/15564
16619 * gdb.mi/mi-detach.exp: New file.
16620
e0619de6
JK
166212015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16622
16623 PR symtab/18392
16624 * gdb.arch/amd64-tailcall-self.S: New file.
16625 * gdb.arch/amd64-tailcall-self.c: New file.
16626 * gdb.arch/amd64-tailcall-self.exp: New file.
16627
e970cb34
DB
166282015-05-28 Don Breazeal <donb@codesourcery.com>
16629
16630 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16631 tests for remote targets by checking is_target_gdbserver.
16632
b2e2f908
DE
166332015-05-27 Doug Evans <dje@google.com>
16634
16635 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16636 * gdb.dwarf2/opaque-type-lookup.c: New file.
16637 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16638
82c7be31
DE
166392015-05-26 Doug Evans <dje@google.com>
16640
16641 * gdb.cp/iostream.cc: New file.
16642 * gdb.cp/iostream.exp: New file.
16643
b4f54984
DE
166442015-05-26 Doug Evans <dje@google.com>
16645
16646 * gdb.dwarf2/dw2-op-call.exp: Update.
16647 * gdb.dwarf2/dw4-sig-types.exp: Update.
16648 * gdb.dwarf2/implptr.exp: Update.
16649 * gdb.mi/mi-cmd-param-changed.exp: Update.
16650
4ea6efe9
DE
166512015-05-26 Doug Evans <dje@google.com>
16652
16653 * gdb.python/py-lazy-string.c: New file.
16654 * gdb.python/py-lazy-string.exp: New file.
16655 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16656 (main): Update. Add estring3.
16657 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16658 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16659
f6bb7db3
YQ
166602015-05-26 Omair Javaid <omair.javaid@linaro.org>
16661 Yao Qi <yao.qi@linaro.org>
16662
16663 * gdb.reverse/aarch64.c: New.
16664 * gdb.reverse/aarch64.exp: New.
16665
a81bfbd0
OJ
166662015-05-26 Omair Javaid <omair.javaid@linaro.org>
16667
25d49b86
PA
16668 * lib/gdb.exp (supports_process_record): Return true for
16669 aarch64*-linux*.
a81bfbd0
OJ
16670 (supports_reverse): Likewise.
16671
158bf1b4
PP
166722015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16673
16674 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16675 Use with_test_prefix.
16676
a0145030
AB
166772015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16678
16679 * gdb.base/completion.exp: Add test for completion of layout
16680 names.
16681
ebe3b578
AB
166822015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16683
16684 * lib/gdb.exp (skip_tui_tests): New proc.
16685 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16686
84204ed7
PA
166872015-05-19 Pedro Alves <palves@redhat.com>
16688
16689 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16690 Save the whole env array instead of just HOME. Unset HISTSIZE in
16691 the environment while testing. Restore whole environment
16692 afterwards.
16693
37442ce1
DE
166942015-05-16 Doug Evans <xdje42@gmail.com>
16695
16696 * gdb.guile/scm-ports.c: New file.
16697 * gdb.guile/scm-ports.exp: Add memory port tests.
16698
36de76f9
JK
166992015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16700
16701 * gdb.compile/compile-print.c: New file.
16702 * gdb.compile/compile-print.exp: New file.
16703
3a9558c4
JK
167042015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16705
16706 * gdb.compile/compile-ops.exp: Cast param to void.
16707 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16708 (compile code struct_object.selffield = &struct_object): Add xfail.
16709
aa715135
JG
167102015-05-15 Joel Brobecker <brobecker@adacore.com>
16711
16712 * gdb.ada/arr_enum_with_gap: New testcase.
16713
931e5bc3
JG
167142015-05-15 Joel Brobecker <brobecker@adacore.com>
16715
16716 * gdb.ada/byte_packed_arr: New testcase.
16717
9cd4d857
JB
167182015-05-15 Joel Brobecker <brobecker@adacore.com>
16719
16720 * gdb.ada/pckd_neg: New testcase.
16721
ebfd00d2
PP
167222015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16723
16724 PR gdb/17820
16725 * gdb.base/gdbinit-history.exp: New test.
16726 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16727 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16728
4c082a81
SC
167292015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16730
16731 * gdb.python/py-xmethods.cc: Enhance test case.
16732 * gdb.python/py-xmethods.exp: New tests.
16733 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16734 function.
16735 (B_indexoper): Likewise.
16736 (global_dm_list) : Add new xmethod worker functions.
16737
f7797074
SDJ
167382015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16739
16740 * gdb.base/coredump-filter.exp: Correctly unset
16741 "coredump_var_addr" array.
16742
a4674e4e
PA
167432015-05-08 Pedro Alves <palves@redhat.com>
16744
16745 * gdb.server/non-existing-program.exp: Unset spawn_id.
16746
df2eb078
SC
167472015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16748
16749 PR python/18291
16750 * gdb.python/py-xmethods.exp: Add tests.
16751
422349a3
YQ
167522015-05-08 Yao Qi <yao.qi@linaro.org>
16753
16754 PR gdb/18208
16755 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16756 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16757 function set_coredump_filter, and remove remote_exec call.
16758 Remove argument ipid. Callers update.
16759 (top level): Don't get inferior's PID.
16760
63fc80ce
AA
167612015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16762
16763 * gdb.base/watch_thread_num.exp: Skip test on targets without
16764 access watchpoints.
16765
80ad801e
PA
167662015-05-06 Pedro Alves <palves@redhat.com>
16767
16768 PR server/18081
16769 * gdb.server/non-existing-program.exp: New file.
16770
0fa7fe50
JB
167712015-05-05 Joel Brobecker <brobecker@adacore.com>
16772
16773 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16774
3ea89b92
PMR
167752015-05-05 Joel Brobecker <brobecker@adacore.com>
16776
16777 * gdb.ada/out_of_line_in_inlined: New testcase.
16778
87b8eff0
JB
167792015-05-05 Joel Brobecker <brobecker@adacore.com>
16780
16781 * gdb.ada/var_rec_arr: New testcase.
16782
5fccc635
YQ
167832015-04-30 Yao Qi <yao.qi@linaro.org>
16784
16785 * gdb.base/break-idempotent.exp: If
16786 skip_hw_watchpoint_multi_tests returns true, skip the tests
16787 on "rwatch" and "awatch".
16788
42d38f42
YQ
167892015-04-30 Yao Qi <yao.qi@linaro.org>
16790
16791 * gdb.base/relativedebug.exp: Invoke gdb command
16792 "info sharedlibrary", and if libc.so doesn't have debug info,
16793 skip the test.
16794
2ce1cdbf
DE
167952015-04-29 Doug Evans <dje@google.com>
16796
16797 * gdb.python/py-xmethods.exp: Add ptype tests.
16798 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16799 get_result_type method.
16800
f24a38c5
LM
168012015-04-29 Luis Machado <lgustavo@codesourcery.com>
16802
16803 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16804 the target does not support hardware watchpoints.
16805
ecbf2b3c
LM
168062015-04-29 Luis Machado <lgustavo@codesourcery.com>
16807
16808 * gdb.base/break-always.exp: Abort testing if writing to memory
16809 causes an error.
16810
34f5f757
DE
168112015-04-28 Doug Evans <dje@google.com>
16812
16813 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16814 * gdb.python/py-pp-registration.exp: ... here. New file.
16815 * gdb.python/py-pp-registration.c: New file.
16816 * gdb.python/py-pp-registration.py: New file.
16817
69b4374a
DE
168182015-04-28 Doug Evans <dje@google.com>
16819
16820 * gdb.python/py-bad-printers.c: New file.
16821 * gdb.python/py-bad-printers.py: New file.
16822 * gdb.python/py-bad-printers.exp: New file.
16823
59fb7612
SS
168242015-04-28 Sasha Smundak <asmundak@google.com>
16825
16826 * gdb.python/py-type.exp: New test.
16827
2631b16a
AW
168282015-04-28 Andy Wingo <wingo@igalia.com>
16829
16830 * gdb.python/py-parameter.exp:
16831 * gdb.guile/scm-parameter.exp: Escape the path that we are
16832 matching against, as it might contain characters that are special
16833 to regular expressions.
16834
460efde1
JB
168352015-04-27 Joel Brobecker <brobecker@adacore.com>
16836
16837 * gdb.ada/rec_comp: New testcase.
16838
2d369d8e
SDJ
168392015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16840
16841 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16842 before using it.
16843
cf75d6c3
AB
168442015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16845
16846 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16847 new tests for verilog output.
16848
8dbe7ca5
YQ
168492015-04-24 Yao Qi <yao.qi@linaro.org>
16850
16851 * boards/remote-gdbserver-on-localhost.exp: New file.
16852
4ef9fb2f
PA
168532015-04-23 Pedro Alves <palves@redhat.com>
16854
16855 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16856 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16857 "end of file", remove $inferior_spawn_id from the indirect list.
16858
0a803169
PA
168592015-04-23 Pedro Alves <palves@redhat.com>
16860
16861 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16862
749ef8f8
PA
168632015-04-23 Pedro Alves <palves@redhat.com>
16864
16865 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16866 on $any_spawn_id instead of only on $gdb_spawn_id.
16867
8aae4344
PM
168682015-04-21 Pierre Muller <muller@sourceware.org>
16869
16870 PR pascal/17815
16871 * lib/pascal.exp (gpc_compile): Add new option "class".
16872 (fpc_compile): Likewise.
16873 * gdb.pascal/case-insensitive-symbols.pas: New file.
16874 * gdb.pascal/case-insensitive-symbols.exp: New file.
16875
1586c8fb
GB
168762015-04-20 Gary Benson <gbenson@redhat.com>
16877
16878 * gdb.base/attach.exp: Fix three extended remote failures.
16879
1b6e6f5c
GB
168802015-04-17 Gary Benson <gbenson@redhat.com>
16881
16882 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16883 the main executable over the remote protocol.
16884
e797481d
PA
168852015-04-16 Pedro Alves <palves@redhat.com>
16886
16887 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16888 a new gdbserver if gdbserver_reconnect_p is set.
16889
1ca99c42
PA
168902015-04-16 Pedro Alves <palves@redhat.com>
16891
16892 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16893 is set, don't exit gdbserver.
16894
af9fd6f8
AA
168952015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16896
16897 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16898 appropriate .insn, such that an older assembler can be used.
16899 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16900 the z/Architecture instruction set on 31-bit targets as well.
16901
04ff1e61
AA
169022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16903
16904 * gdb.go/handcall.exp: Remove all logic related to the first
16905 breakpoint and rely on go_runto_main instead.
16906 * gdb.go/strings.exp: Likewise.
16907 * gdb.go/unsafe.exp: Likewise.
16908 * gdb.go/hello.exp: Likewise. Also rename the remaining
16909 breakpoint marker to "breakpoint 1".
16910 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16911 * gdb.go/strings.go: Likewise.
16912 * gdb.go/unsafe.go: Likewise.
16913 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16914 "set breakpoint 2 here" and rename the remaining breakpoint marker
16915 to "breakpoint 1".
16916
40d2f8d6
SM
169172015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16918
16919 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16920 if itertools.imap is not present.
16921 * gdb.python/py-objfile.exp: Add parentheses.
16922 * gdb.python/py-type.exp: Same.
16923 * gdb.python/py-unwind-maint.py: Same.
16924
8cbc97c6
YQ
169252015-04-15 Yao Qi <yao.qi@linaro.org>
16926
16927 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16928 of ":$ptr_size" and set its form explicitly.
16929
45fd756c
YQ
169302015-04-15 Pedro Alves <palves@redhat.com>
16931 Yao Qi <yao.qi@linaro.org>
16932
16933 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16934 timeout by factor of 4.
16935 (test_regular_watch): Likewise.
16936 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16937 * gdb.reverse/sigall-reverse.exp: Likewise.
16938 * gdb.reverse/until-precsave.exp: Likewise.
16939 * lib/gdb.exp (with_timeout_factor): New proc.
16940 (gdb_expect): Move some code to ...
16941 (get_largest_timeout): ... here. New procedure.
16942
9e811bc3
LM
169432015-04-14 Luis Machado <lgustavo@codesourcery.com>
16944
16945 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16946
0ff6fcb2
LM
169472015-04-13 Luis Machado <lgustavo@codesourcery.com>
16948
16949 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16950 to write to the .text section.
16951
7578d5f7
LM
169522015-04-13 Luis Machado <lgustavo@codesourcery.com>
16953
16954 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16955 Handle the case of targets that do not provide PID information.
16956
2efe15c4
YQ
169572015-04-13 Yao Qi <yao.qi@linaro.org>
16958
16959 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16960 and use expect instead of gdb_expect.
16961
8cd8f2f8
SDJ
169622015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16963
16964 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16965 "coredump_var_addr" to avoid naming conflict with other testcases.
16966
9ee41772
PA
169672015-04-10 Pedro Alves <palves@redhat.com>
16968
16969 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16970 gdb_test_sequence and gdb_assert.
16971
07473109
PA
169722015-04-10 Pedro Alves <palves@redhat.com>
16973
16974 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16975 test messages that don't include the breakpoint address.
16976
de3db44c
YQ
169772015-04-10 Yao Qi <yao.qi@linaro.org>
16978
16979 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16980 false for some offset and width combinations which aren't
16981 supported by linux kernel.
16982
c79d856c
PA
169832015-04-10 Pedro Alves <palves@redhat.com>
16984
16985 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16986 procedure, factored out from ...
16987 (top level): ... here. Add "set displaced-stepping" testing axis.
16988 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16989 parameter "displaced". Use it.
16990 (top level): Use foreach and add "set displaced-stepping" testing
16991 axis.
16992
ebc90b50
PA
169932015-04-10 Pedro Alves <palves@redhat.com>
16994
16995 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16996 Remove comment.
16997 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16998 both the address of the instruction that triggers the watchpoint
16999 and the address of the instruction immediately after, and use
17000 those addresses for the test. Fix comment.
17001
8f572e5c
PA
170022015-04-10 Pedro Alves <palves@redhat.com>
17003
17004 * gdb.base/sigstep.exp (breakpoint_to_handler)
17005 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17006 Test "backtrace" in handler.
17007 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17008 (top level): Add new "displaced" test axis to
17009 breakpoint_to_handler, breakpoint_to_handler_entry and
17010 breakpoint_over_handler.
17011
8d707a12
PA
170122015-04-10 Pedro Alves <palves@redhat.com>
17013
17014 PR gdb/18216
17015 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17016
ef713951
YQ
170172015-04-10 Yao Qi <yao.qi@linaro.org>
17018
17019 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17020 (test_add_rn_pc): New function.
17021 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17022 (top level): Invoke test_add_rn_pc.
17023
906d60cf
PA
170242015-04-10 Pedro Alves <palves@redhat.com>
17025
17026 PR gdb/13858
17027 * gdb.base/step-over-no-symbols.exp: New file.
17028
f2983cc3
AW
170292015-04-09 Andy Wingo <wingo@igalia.com>
17030
17031 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17032 after the Python tests.
17033
6d62641c
SDJ
170342015-04-08 Keith Seitz <keiths@redhat.com>
17035
17036 PR python/16699
17037 * gdb.python/py-completion.exp: New tests for completion.
17038 * gdb.python/py-completion.py (CompleteLimit1): New class.
17039 (CompleteLimit2): Likewise.
17040 (CompleteLimit3): Likewise.
17041 (CompleteLimit4): Likewise.
17042 (CompleteLimit5): Likewise.
17043 (CompleteLimit6): Likewise.
17044 (CompleteLimit7): Likewise.
17045
f3770638
PA
170462015-04-08 Pedro Alves <palves@redhat.com>
17047
17048 PR gdb/18214
17049 PR gdb/18216
17050 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17051 function.
17052 (main): Install it as SIGUSR1 handler.
17053 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17054 parameter. Always use "setup" as prefix. Toggle "set
17055 displaced-stepping" off/on depending on global. Don't switch to
17056 thread 1 here.
17057 (top level): Add displaced stepping "off/on" test axis. Update
17058 "setup" calls. Wrap each subtest with with_test_prefix. Test
17059 continuing with a queued signal in each thread.
17060
4496bed7
PA
170612015-04-08 Pedro Alves <palves@redhat.com>
17062
17063 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17064 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17065 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17066 Return early if running to main fails.
17067 * gdb.trace/while-stepping.exp: Likewise.
17068
b97fde92
PA
170692015-04-07 Pedro Alves <palves@redhat.com>
17070
17071 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17072 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17073 interact with inferior program.
17074
f71c18e7
PA
170752015-04-07 Pedro Alves <palves@redhat.com>
17076
17077 * lib/gdb.exp (inferior_spawn_id): New global.
17078 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17079 spawn id after processing the user code.
17080 (default_gdb_start): Set inferior_spawn_id.
17081 (send_inferior): New procedure.
17082 * lib/gdbserver-support.exp (gdbserver_start): Set
17083 inferior_spawn_id.
17084 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17085
6423214f
PA
170862015-04-07 Pedro Alves <palves@redhat.com>
17087
17088 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17089 * lib/gdbserver-support.exp (gdbserver_start): Make
17090 $server_spawn_id global.
17091 (gdbserver_start): Don't wait for gdbserver's spawn id with
17092 expect_background.
17093 (close_gdbserver): New procedure.
17094 (gdb_exit): Rename the default version and reimplement.
17095
71c0ee8c
PA
170962015-04-07 Pedro Alves <palves@redhat.com>
17097
72f4393d 17098 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17099 append the substituted item, not the original item.
17100
203bc29b
PA
171012015-04-07 Pedro Alves <palves@redhat.com>
17102
17103 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17104 gdb_expect.
17105
508a3ddf
PA
171062015-04-07 Pedro Alves <palves@redhat.com>
17107
17108 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17109 output appearing once only.
17110
9f6dbe2b
PA
171112015-04-07 Pedro Alves <palves@redhat.com>
17112
17113 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17114 that doesn't expect anything. Return early if running to main
17115 fails.
17116
337532fa
YQ
171172015-04-07 Yao Qi <yao.qi@linaro.org>
17118
17119 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17120 (child_function): Call alarm.
17121 (main): Move call to alarm into the loop.
17122 * gdb.threads/non-stop-fair-events.exp: Build program with
17123 -DTIMEOUT=$timeout.
17124
01b622d4
DE
171252015-04-06 Doug Evans <xdje42@gmail.com>
17126
17127 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17128 Fix dest parameter to board_info.
17129 (fpc_compile): Ditto.
17130 (gdb_compile_pascal): Rename dest arg to destfile.
17131
961f4160
PMR
171322015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17133
17134 * gdb.ada/funcall_ref.exp: New file.
17135 * gdb.ada/funcall_ref/foo.adb: New file.
17136
cafda597
YQ
171372015-04-02 Yao Qi <yao.qi@linaro.org>
17138
17139 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17140 is remote.
17141
fed040c6
GB
171422015-04-02 Gary Benson <gbenson@redhat.com>
17143
17144 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17145
d11916aa
SS
171462015-04-01 Sasha Smundak <asmundak@google.com>
17147
17148 * gdb.python/py-unwind-maint.c: New file.
17149 * gdb.python/py-unwind-maint.exp: New test.
17150 * gdb.python/py-unwind-maint.py: New file.
17151 * gdb.python/py-unwind.c: New file.
17152 * gdb.python/py-unwind.exp: New test.
17153 * gdb.python/py-unwind.py: New test.
17154
a1471180
PA
171552015-04-01 Pedro Alves <palves@redhat.com>
17156
17157 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17158 to fail instead of non-existent $test.
17159
0bbeccb1
PA
171602015-04-01 Pedro Alves <palves@redhat.com>
17161
17162 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17163 GDBFLAGS if not empty.
17164
3c724c8c
PMR
171652015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17166
17167 * gdb.ada/complete.exp: Remove "multi_line".
17168 * gdb.ada/info_exc.exp: Remove "multi_line".
17169 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17170 * gdb.ada/ptype_field.exp: Remove "multi_line".
17171 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17172 * gdb.ada/tagged.exp: Remove "multi_line".
17173 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17174 [multi_line ...]
17175 * gdb.btrace/delta.exp: Likewise.
17176 * gdb.btrace/exception.exp: Likewise.
17177 * gdb.btrace/function_call_history.exp: Likewise.
17178 * gdb.btrace/instruction_history.exp: Likewise.
17179 * gdb.btrace/nohist.exp: Likewise.
17180 * gdb.btrace/record_goto.exp: Likewise.
17181 * gdb.btrace/segv.exp: Likewise.
17182 * gdb.btrace/stepi.exp: Likewise.
17183 * gdb.btrace/tailcall.exp: Likewise.
17184 * gdb.btrace/unknown_functions.exp: Likewise.
17185 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17186 * lib/gdb.exp: Add the "multi_line" helper.
17187
4eec2deb
PA
171882015-04-01 Pedro Alves <palves@redhat.com>
17189
17190 * gdb.threads/tid-reuse.c: New file.
17191 * gdb.threads/tid-reuse.exp: New file.
17192
df8411da
SDJ
171932015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17194
17195 PR corefiles/16092
17196 * gdb.base/coredump-filter.c: New file.
17197 * gdb.base/coredump-filter.exp: Likewise.
17198
6ef37366
PM
171992015-03-27 Petr Machata <pmachata@redhat.com>
17200
17201 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17202 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17203 (Dwarf::assemble): Initialize them.
17204 (Dwarf::lines): New function.
17205
7ec911b0
JT
172062015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17207
17208 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17209 SYMBOL_PREFIX for x86_64-*-cygwin.
17210
ff908ebf
AW
172112015-03-26 Andy Wingo <wingo@igalia.com>
17212
17213 PR symtab/18148
17214 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17215 const_value but not a location.
17216 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17217 location defined in non-main CUs are visible.
17218
6d5f0679
YQ
172192015-03-26 Yao Qi <yao.qi@linaro.org>
17220
17221 PR testsuite/18139
17222 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17223 Add a line number entry for the same line.
17224 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17225 Add a line number entry for the same line.
17226
2898689b
YQ
172272015-03-26 Yao Qi <yao.qi@linaro.org>
17228
17229 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17230 .int 0.
17231 (func): Likewise. Add .Lfunc_1 label.
17232 Use .Lfunc_1 label.
17233 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17234 .int 0.
17235 (func): Likewise.
17236 Use .Lfunc_1 label.
17237
85180498
YQ
172382015-03-26 Yao Qi <yao.qi@linaro.org>
17239
17240 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17241 Call gdb_compile instead to compile each .s files without debug
17242 information.
17243
8aa08a8d
YQ
172442015-03-26 Yao Qi <yao.qi@linaro.org>
17245
17246 * gdb.base/savedregs.exp (process_saved_regs): Make
17247 "Saved registers:" optional in the pattern.
17248
66849923
MM
172492015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17250
17251 * gdb.btrace/next.exp: Merged into step.exp.
17252 * gdb.btrace/finish.exp: Merged into step.exp.
17253 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17254 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17255 "record goto" and checking the exact replay position.
17256 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17257 check for "Recording format" in "info record" output.
17258 * gdb.btrace/record_goto.exp: Choose test file based on target.
17259 * gdb.btrace/x86-record_goto.S: Renamed into ...
17260 * gdb.btrace/x86_64-record_goto.S: ... this.
17261 * gdb.btrace/i686-record_goto.S: New.
17262 * gdb.btrace/x86-tailcall.S: Renamed into ...
17263 * gdb.btrace/x86_64-tailcall.S: ... this.
17264 * gdb.btrace/i686-tailcall.S: New.
17265 * gdb.btrace/x86-tailcall.c: Renamed into ...
17266 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17267 separate statements. Update test.
17268 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17269 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17270 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17271 * gdb.btrace/tailcall.exp: Choose test file based on target.
17272 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17273
11cc1b74
MM
172742015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17275
17276 * gdb.btrace/exception.exp: Increase BTS buffer size.
17277
a25d8bf9
PA
172782015-03-24 Pedro Alves <palves@redhat.com>
17279
17280 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17281
856e7dd6
PA
172822015-03-24 Pedro Alves <palves@redhat.com>
17283
17284 * gdb.threads/schedlock.exp (test_step): No longer expect that
17285 "set scheduler-locking step" with "next" over a function call runs
17286 threads unlocked.
17287
ad235a41
AT
172882015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17289
17290 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17291
15630549
AT
172922015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17293
17294 PR breakpoints/16466
17295 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17296 * gdb.mi/mi-pending.c (thread_func): New function.
17297 (int main): Add threading support required.
17298 * gdb.mi/mi-pending.exp: Add tests for this issue.
17299 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17300 (pendfunc2): Remove stdio dependency.
17301 * gdb.mi/mi-pendshr2.c: New file.
17302
693dca06
KS
173032015-03-23 Keith Seitz <keiths@redhat.com>
17304
17305 * gdb.linespec/keywords.c: New file.
17306 * gdb.linespec/keywords.exp: New file.
17307
7e993ebf
KS
173082015-03-23 Keith Seitz <keiths@redhat.com>
17309
17310 PR gdb/18021
17311 * gdb.dwarf2/staticvirtual.exp: New test.
17312
bc23328c
JK
173132015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17314
17315 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17316 * README: Remove HP-UX and gdb.hp.
17317 (configuration):
17318 * configure: Regenerate.
17319 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17320 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17321 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17322 gdb.hp/gdb.defects/Makefile.
17323 * gdb.hp/Makefile.in: File deleted.
17324 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17325 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17326 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17327 * gdb.hp/gdb.aCC/run.c: File deleted.
17328 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17329 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17330 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17331 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17332 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17333 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17334 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17335 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17336 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17337 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17338 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17339 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17340 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17341 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17342 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17343 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17344 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17345 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17346 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17347 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17348 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17349 * gdb.hp/gdb.compat/average.c: File deleted.
17350 * gdb.hp/gdb.compat/sum.c: File deleted.
17351 * gdb.hp/gdb.compat/xdb.c: File deleted.
17352 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17353 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17354 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17355 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17356 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17357 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17358 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17359 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17360 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17361 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17362 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17363 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17364 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17365 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17366 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17367 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17368 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17369 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17370 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17371 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17372 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17373 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17374 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17375 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17376 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17377 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17378 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17379 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17380 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17381 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17382 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17383 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17384 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17385 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17386 * gdb.hp/tools/odump: File deleted.
17387
8bf3b159
PA
173882015-03-19 Pedro Alves <palves@redhat.com>
17389
17390 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17391 (saw_thread_3): New globals.
17392 (top level): Increment them when an event for the corresponding
17393 thread is seen.
17394 (no thread starvation): New test.
17395
eb54c8bf
PA
173962015-03-19 Pedro Alves <palves@redhat.com>
17397
17398 * gdb.threads/continue-pending-status.c: New file.
17399 * gdb.threads/continue-pending-status.exp: New file.
17400
32d2e5d6
PA
174012015-03-18 Pedro Alves <palves@redhat.com>
17402
17403 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17404 Use gdb_is_target_remote instead of is_remote. Use
17405 gdb_test_multiple instead of gdb_expect. Exit early if
17406 gdb_test_multiple hits its internal matches. Tighten stepi tests
17407 expected output. Fail on exit with any signal, instead of just
17408 SIGILL.
17409
f68f11b7
YQ
174102015-03-18 Yao Qi <yao.qi@linaro.org>
17411
17412 PR tdep/18107
17413 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17414 variable.
17415 * gdb.base/catch-syscall.exp: Don't skip it on
17416 aarch64*-*-linux* target. Remove elements in all_syscalls.
17417 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17418 target.
17419 (setup_all_syscalls): New proc.
17420
ca5fd19b
YQ
174212015-03-16 Yao Qi <yao.qi@linaro.org>
17422
17423 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17424 (top level): Skip tests if valid_addr_p returns false for
17425 $cmd1 or $cmd2.
17426
85642ba0
AW
174272015-03-11 Andy Wingo <wingo@igalia.com>
17428
17429 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17430
e03f9645
YQ
174312015-03-11 Yao Qi <yao.qi@linaro.org>
17432
17433 * gdb.base/catch-syscall.exp: Fix typo in comments.
17434
5d0962b2
YQ
174352015-03-11 Yao Qi <yao.qi@linaro.org>
17436
17437 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17438
b2df3cef
PA
174392015-03-09 Pedro Alves <palves@redhat.com>
17440
17441 * dg-extract-results.py: Delete.
17442
ef878e53
PA
174432015-03-09 Pedro Alves <palves@redhat.com>
17444
17445 Merge dg-extract-results.sh from GCC upstream (r218843).
17446
17447 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17448 * dg-extract-results.sh: Use --text with grep to avoid issues with
17449 binary files. Fall back to cat -v, if that doesn't work.
17450
9494d219
PA
174512015-03-05 Pedro Alves <palves@redhat.com>
17452
17453 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17454
a8d9763a
SM
174552015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17456
17457 * lib/mi-support.exp (mi_expect_interrupt): Accept
17458 alternative event for when in all-stop mode.
17459
be9957b8
PA
174602015-03-04 Pedro Alves <palves@redhat.com>
17461
17462 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17463
d57be0f4 174642015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17465
17466 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17467
c214c7cf
AA
174682015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17469
17470 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17471 regexps for GDB's current line display, accept a hex address
17472 preceding the line number.
17473
6d74a497
AA
174742015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17475
17476 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17477 the 'arch1' variable for "s390*-linux*" targets.
17478
511aee7c
PA
174792015-03-04 Pedro Alves <palves@redhat.com>
17480
17481 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17482 (main): Pass missing retval argument to pthread_join call.
17483
95e50b27
PA
174842015-03-02 Pedro Alves <palves@redhat.com>
17485
17486 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17487 (top level): Call do_test with non-stop as well.
17488
28054d69
PA
174892015-03-02 Pedro Alves <palves@redhat.com>
17490
17491 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17492 -1.
17493
4fa5d7b4
AA
174942015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17495
17496 * gdb.arch/s390-vregs.exp: New test.
17497 * gdb.arch/s390-vregs.S: New file.
17498
97c18565
PA
174992015-02-27 Pedro Alves <palves@redhat.com>
17500
17501 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17502 call to catch_command_errors.
17503 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17504 catch_command_errors.
17505
a37bfa30
PA
175062015-02-27 Pedro Alves <palves@redhat.com>
17507
17508 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17509 "true" for boolean result.
17510 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17511 prototype of main.
17512
6f98576f
PA
175132015-02-27 Pedro Alves <palves@redhat.com>
17514
17515 * lib/unbuffer_output.c: New file.
17516 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17517 (main): Call gdb_unbuffer_output.
17518
eba5ab56
YQ
175192015-02-27 Yao Qi <yao.qi@linaro.org>
17520
17521 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17522 target.
17523
0def5aaa
DE
175242015-02-26 Doug Evans <dje@google.com>
17525
17526 * gdb.cp/class2.cc (Dbase, D): New classes.
17527 (main): New local delta.
17528 * gdb.cp/class2.exp: Test printing delta.
17529 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17530 (dynbar): New global.
17531 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17532
081a1c2c
JK
175332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17534
17535 * gdb.compile/compile-ifunc.c: New file.
17536 * gdb.compile/compile-ifunc.exp: New file.
17537
2f41223f
AT
175382015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17539
17540 * gdb.base/structs.exp: Check for correct struct on finish.
17541
03eddd80
YQ
175422015-02-26 Yao Qi <yao.qi@linaro.org>
17543
17544 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17545 is zero.
17546
80c57053
JK
175472015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17548
17549 * gdb.arch/cordic.ko.bz2: New file.
17550 * gdb.arch/cordic.ko.debug.bz2: New file.
17551 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17552
21613c12
YQ
175532015-02-25 Yao Qi <yao.qi@linaro.org>
17554
17555 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17556 aarch64*-*-* target.
17557
d8b901ed
PA
175582015-02-23 Pedro Alves <palves@redhat.com>
17559
17560 * lib/gdb.exp (delete_breakpoints): Rewrite using
17561 gdb_test_multiple.
17562
e5b85ead
PA
175632015-02-23 Pedro Alves <palves@redhat.com>
17564
17565 * gdb.base/info-os.c: Include stdlib.h.
17566
85c3a371
DE
175672015-02-22 Doug Evans <xdje42@gmail.com>
17568
17569 PR symtab/17855
17570 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17571 is read after symbols have been re-read.
17572 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17573 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17574
96553a0c
DE
175752015-02-21 Doug Evans <dje@google.com>
17576
17577 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17578
97a0c697
JK
175792015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17580
17581 PR corefiles/17808
17582 * gdb.arch/i386-biarch-core.core.bz2: New file.
17583 * gdb.arch/i386-biarch-core.exp: New file.
17584
a47cd6e9
PA
175852015-02-21 Pedro Alves <palves@redhat.com>
17586
17587 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17588 runto_main fails.
17589
c5facdc4
PA
175902015-02-20 Pedro Alves <palves@redhat.com>
17591
17592 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17593 info probes.
17594
2db9a427
PA
175952015-02-20 Pedro Alves <palves@redhat.com>
17596
17597 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17598
60fb7e9e
PA
175992015-02-20 Pedro Alves <palves@redhat.com>
17600
17601 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17602 clean_restart before gdb_target_supports_trace.
17603
5c5019c2
PA
176042015-02-20 Pedro Alves <palves@redhat.com>
17605
17606 PR threads/18006
17607 * gdb.threads/clone-thread_db.c: New file.
17608 * gdb.threads/clone-thread_db.exp: New file.
17609
c9587f88
AT
176102015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17611
17612 PR breakpoints/16812
17613 * gdb.base/catch-gdb-caused-signals.c: New file.
17614 * gdb.base/catch-gdb-caused-signals.exp: New file.
17615
f6a88844
JM
176162015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17617
17618 * configure: Regenerated.
17619 * configure.ac: Use GDB_AC_TRANSFORM.
17620 * aclocal.m4: sinclude ../transform.m4.
17621
497c491b
JM
176222015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17623
17624 * lib/dtrace.exp: New file.
17625 * gdb.base/dtrace-probe.exp: Likewise.
17626 * gdb.base/dtrace-probe.d: Likewise.
17627 * gdb.base/dtrace-probe.c: Likewise.
17628 * lib/pdtrace.in: Likewise.
17629 * configure.ac: Output variables with the transformed names of
17630 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17631 * configure: Regenerated.
17632
03e98035
JM
176332015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17634
17635 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17636 expected message when trying to access $_probe_* convenience
17637 variables while not on a probe.
17638
63cc30e9
JK
176392015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17640
17641 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17642
0703599a
PA
176432015-02-11 Pedro Alves <pedro@codesourcery.com>
17644
17645 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17646 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17647
7e60a48e
DE
176482015-02-10 Doug Evans <xdje42@gmail.com>
17649
17650 * lib/gdb.exp (gdb_load): Always return a result.
17651
01b088bc
PA
176522015-02-10 Pedro Alves <palves@redhat.com>
17653
17654 * gdb.threads/signal-sigtrap.c: New file.
17655 * gdb.threads/signal-sigtrap.exp: New file.
17656
b05ec7a5
AT
176572015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17658
17659 * gdb.trace/no-attach-trace.c: New file.
17660 * gdb.trace/no-attach-trace.exp: New file.
17661
a2c2acaf
MW
176622015-02-09 Mark Wielaard <mjw@redhat.com>
17663
17664 * gdb.dwarf2/atomic.c: New file.
17665 * gdb.dwarf2/atomic-type.exp: Likewise.
17666
31fd9caa
MM
176672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17668
17669 * gdb.btrace/buffer-size.exp: Update "info record" output.
17670 * gdb.btrace/delta.exp: Update "info record" output.
17671 * gdb.btrace/enable.exp: Update "info record" output.
17672 * gdb.btrace/finish.exp: Update "info record" output.
17673 * gdb.btrace/instruction_history.exp: Update "info record" output.
17674 * gdb.btrace/next.exp: Update "info record" output.
17675 * gdb.btrace/nexti.exp: Update "info record" output.
17676 * gdb.btrace/step.exp: Update "info record" output.
17677 * gdb.btrace/stepi.exp: Update "info record" output.
17678 * gdb.btrace/nohist.exp: Update "info record" output.
17679
d33501a5
MM
176802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17681
17682 * gdb.btrace/buffer-size: New.
17683
f4abbc16
MM
176842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17685
17686 * gdb.btrace/delta.exp: Update "info record" output.
17687 * gdb.btrace/enable.exp: Update "info record" output.
17688 * gdb.btrace/finish.exp: Update "info record" output.
17689 * gdb.btrace/instruction_history.exp: Update "info record" output.
17690 * gdb.btrace/next.exp: Update "info record" output.
17691 * gdb.btrace/nexti.exp: Update "info record" output.
17692 * gdb.btrace/step.exp: Update "info record" output.
17693 * gdb.btrace/stepi.exp: Update "info record" output.
17694 * gdb.btrace/nohist.exp: Update "info record" output.
17695
b9d61307
SM
176962015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17697
17698 PR gdb/15678
17699 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17700
e584fdbc
PA
177012015-02-06 Pedro Alves <palves@redhat.com>
17702
17703 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17704 macro.
17705 (seconds_left, again): New globals.
17706 (main): Wait seconds_left in a 1-second sleep loop instead of
17707 sleeping 180 seconds. If 'again' is set, reset the seconds
17708 counter.
17709 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17710 'again' in the inferior before detaching. Print the seconds left.
17711 (options): New global.
17712 (top level): Build program with -DTIMEOUT=$timeout.
17713
77f41761
PA
177142015-02-06 Pedro Alves <palves@redhat.com>
17715
17716 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17717 determine how many seconds to pass to 'alarm'.
17718 * gdb.base/gdb-sigterm.exp (top level): Build program with
17719 -DTIMEOUT=$timeout.
17720 (do_test): Return success/failure indication. Add more verbose
17721 logging. Don't fail if 200 single steps are seen. Instead, fail
17722 when the test times out.
17723 (passes): New global.
17724 (top level): Break the testing loop if testing fails on any
17725 iteration. Use gdb_assert.
17726
b9394193
DB
177272015-02-04 Don Breazeal <donb@codesourcery.com>
17728
17729 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17730 and initialize them.
17731 (ipc_cleanup): New function.
17732 (main): Don't declare shmid, semid, and msqid. Add a call to
17733 atexit so that we call ipc_cleanup on exit.
17734
42d9e528
PA
177352015-02-04 Pedro Alves <palves@redhat.com>
17736
17737 * boards/native-extended-gdbserver.exp: Remove any target variant
17738 specifications from the board name before clearing the isremote
17739 flag from board_info.
17740
ae6ae975
DE
177412015-01-31 Doug Evans <xdje42@gmail.com>
17742
17743 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17744
cfb069a8
GB
177452015-01-31 Gary Benson <gbenson@redhat.com>
17746
17747 * gdb.base/completion.exp: Disable completion limiting for
17748 existing tests. Add new tests to check completion limiting.
17749 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17750
5dd31d79
DE
177512015-01-31 Doug Evans <xdje42@gmail.com>
17752
17753 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17754
9f050062
DE
177552015-01-31 Doug Evans <xdje42@gmail.com>
17756
17757 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17758 entries. Duplicate file section script entries.
17759 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17760 inlined entries. Add test for safe-path rejection.
17761 * gdb.python/py-section-script.c: Add duplicate inlined section script
17762 entries. Duplicate file section script entries.
17763 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17764 inlined entries. Add test for safe-path rejection.
17765
df25ebbd
JB
177662015-01-29 Joel Brobecker <brobecker@adacore.com>
17767
17768 * gdb.ada/disc_arr_bound: New testcase.
17769
4a0ca9ec
JB
177702015-01-29 Joel Brobecker <brobecker@adacore.com>
17771
17772 * gdb.ada/mi_var_array: New testcase.
17773
3a8b707a
DE
177742015-01-27 Doug Evans <dje@google.com>
17775
17776 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17777 Add test for objfile.filename, objfile.username after objfile
17778 has been unloaded.
17779
f8313f6e
JB
177802015-01-26 Joel Brobecker <brobecker@adacore.com>
17781
17782 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17783 the second test to print the name attribute of value
17784 returned by the call to gdb.lookup_type, and adjust
17785 the expected output accordingly.
17786
37bc665e
MW
177872015-01-25 Mark Wielaard <mjw@redhat.com>
17788
17789 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17790 * gdb.base/disp-step-fork.c: Include unistd.h.
17791 * gdb.base/siginfo-obj.c: Include stdio.h.
17792 * gdb.base/siginfo-thread.c: Likewise.
17793 * gdb.mi/non-stop.c: Include unistd.h.
17794 * gdb.mi/nsthrexec.c: Include stdio.h.
17795 * gdb.mi/pthreads.c: Include unistd.h.
17796 * gdb.modula2/unbounded1.c (main): Declare returns int.
17797 * gdb.reverse/consecutive-reverse.c: Likewise.
17798 * gdb.threads/create-fail.c: Include unistd.h.
17799 * gdb.threads/killed.c: Likewise.
17800 * gdb.threads/linux-dp.c: Likewise.
17801 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17802 * gdb.threads/non-ldr-exc-2.c: Likewise.
17803 * gdb.threads/non-ldr-exc-3.c: Likewise.
17804 * gdb.threads/non-ldr-exc-4.c: Likewise.
17805 * gdb.threads/pthreads.c: Include unistd.h.
17806 (main): Declare returns int.
17807 * gdb.threads/tls-main.c (foo): New declaration.
17808 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17809
f7e5394d
SM
178102015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17811
17812 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17813 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17814
743649fd
MW
178152015-01-15 Mark Wielaard <mjw@redhat.com>
17816
17817 * gdb.base/noreturn-return.c: New file.
17818 * gdb.base/noreturn-return.exp: New file.
17819 * gdb.base/noreturn-finish.c: New file.
17820 * gdb.base/noreturn-finish.exp: New file.
17821
198297aa
PA
178222015-01-23 Pedro Alves <palves@redhat.com>
17823
17824 * gdb.threads/continue-pending-after-query.c: New file.
17825 * gdb.threads/continue-pending-after-query.exp: New file.
17826
717cf30c
AG
178272015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17828 Simon Marchi <simon.marchi@ericsson.com>
17829
17830 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17831 * gdb.base/valgrind-db-attach.exp: Same.
17832 * gdb.base/valgrind-infcall.exp: Same.
17833 * lib/mi-support.exp (default_mi_gdb_start): Same.
17834 * lib/prompt.exp (default_prompt_gdb_start): Same.
17835 * lib/gdb.exp (default_gdb_spawn): Same.
17836 (gdb_interact): New.
17837
17838
4b62a76e
JK
178392015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17840
17841 * gdb.compile/compile.exp (pointer to jit function): New test.
17842
b4cdae6f
WW
178432015-01-17 Wei-cheng Wang <cole945@gmail.com>
17844
17845 * lib/gdb.exp (supports_process_record): Return true for
17846 powerpc*-*-linux*.
17847 (supports_reverse): Likewise.
17848
d221e7ef
DB
178492015-01-15 Don Breazeal <donb@codesourcery.com>
17850
17851 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17852 instead of checking whether the target board is remote and
17853 use spawn_wait_for_attach instead of exec/sleep.
17854 * gdb.base/attach-twice.exp: Likewise.
17855
bafffb51
JB
178562015-01-15 Joel Brobecker <brobecker@adacore.com>
17857
17858 * gdb.ada/var_arr_attrs: New testcase.
17859
5589af0e
PA
178602015-01-14 Pedro Alves <palves@redhat.com>
17861 Joel Brobecker <brobecker@adacore.com>
17862
17863 PR gdb/17525
17864 * gdb.base/bp-cmds-execution-x-script.c: New file.
17865 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17866 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17867
6c400b59
PA
178682015-01-14 Pedro Alves <palves@redhat.com>
17869
17870 PR cli/17828
17871 * gdb.base/batch-preserve-term-settings.c: New file.
17872 * gdb.base/batch-preserve-term-settings.exp: New file.
17873
e02c96a7
DE
178742015-01-13 Doug Evans <dje@google.com>
17875
17876 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17877 binary.
17878
576fd14c
JB
178792015-01-13 Joel Brobecker <brobecker@adacore.com>
17880
17881 * Makefile.in (clean mostlyclean): Do not delete *.py.
17882
04dccad0
JB
178832015-01-13 Joel Brobecker <brobecker@adacore.com>
17884
17885 * gdb.python/py-lookup-type.exp: New file.
17886
3d230f71
PA
178872015-01-12 Pedro Alves <palves@redhat.com>
17888
17889 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17890 restore GDBFLAGS before returning.
17891
7e67715d
JK
178922015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17893
17894 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17895 is_amd64_regs_target and is_x86_like_target.
17896
f2e0d4b4
DE
178972015-01-11 Doug Evans <xdje42@gmail.com>
17898
17899 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17900 is given without an explicit form.
17901 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17902 attributes.
17903 * gdb.dwarf/corrupt.exp: Ditto.
17904 * gdb.dwarf2/enum-type.exp: Ditto.
17905 * gdb.trace/entry-values.exp: Ditto.
17906 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17907
439250fb
DE
179082015-01-11 Doug Evans <xdje42@gmail.com>
17909
17910 PR gdb/15830
17911 * gdb.base/maint.exp: Remove references to "maint demangle".
17912 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17913 Add tests for explicitly specifying language to demangle.
17914 * gdb.dlang/demangle.exp: Ditto.
17915
ede9f622
PA
179162015-01-09 Pedro Alves <palves@redhat.com>
17917
17918 * gdb.threads/non-stop-fair-events.c: New file.
17919 * gdb.threads/non-stop-fair-events.exp: New file.
17920
a7b796db
PA
179212015-01-09 Pedro Alves <palves@redhat.com>
17922
17923 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17924 the global scope. Set a breakpoint after all threads are started
17925 rather than stepping over two source lines. Expect the prompt.
17926 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17927 global.
17928 (NUM): Now 15.
17929 (main): Use threads_started_barrier to wait for all threads to
17930 start. Main thread no longer calls thread_function. Exit after
17931 180 seconds.
17932 (loop): New function.
17933 (thread_function): Wait on threads_started_barrier barrier. Call
17934 'loop' at each iteration.
17935 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17936 threads have started, instead of hardcoding number of "next"
17937 steps. Use an access watchpoint instead of a write watchpoint.
17938
9665ffdd
PA
179392015-01-09 Pedro Alves <palves@redhat.com>
17940
17941 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17942 (thread_func): Wait on barrier.
17943 (main): Wait for all threads to start before stopping GDB.
17944 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17945 global.
17946 (thread1_func, thread2_func): Wait on barrier.
17947 (main): Wait for all threads to start before stopping GDB.
17948 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17949 New global.
17950 (thread1_func, thread2_func): Wait on barrier.
17951 (main): Wait for all threads to start before stopping GDB.
17952
c945a99f
PA
179532015-01-09 Pedro Alves <palves@redhat.com>
17954
17955 * gdb.threads/attach-many-short-lived-threads.c: New file.
17956 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17957
c1a747c1
PA
179582014-01-09 Pedro Alves <palves@redhat.com>
17959
17960 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17961 instead of to thread 2.
17962 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17963 Add barrier around each pthread_create call instead of around all
17964 calls.
17965 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17966 Set a break on thread_function and have the child threads hit it
17967 one at at a time.
17968
60b3033e
PA
179692015-01-09 Pedro Alves <palves@redhat.com>
17970
17971 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17972 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17973 false.
17974 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17975 checking whether the target board is remote.
17976 * gdb.multi/multi-attach.exp: Likewise.
17977 * gdb.python/py-sync-interp.exp: Likewise.
17978 * gdb.server/ext-attach.exp: Likewise.
17979 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17980 tests that need to attach, instead of checking whether the target
17981 board is remote at the top of the file.
17982
acc018ac
YQ
179832015-01-08 Yao Qi <yao@codesourcery.com>
17984
17985 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17986
50a18af8
JK
179872015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17988
17989 Fix testcase compilation.
17990 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17991
8503d6e1
JB
179922015-01-06 Joel Brobecker <brobecker@adacore.com>
17993
17994 * gdb.python/py-type.exp: Add a couple test about empty
17995 array creation, and negative-length array creation.
17996
cc73dbcc
DE
179972015-01-02 Doug Evans <xdje42@gmail.com>
17998
17999 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18000
0300bbc7
DE
180012015-01-02 Doug Evans <dje@google.com>
18002
18003 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18004
9d85a0ec
YQ
180052014-12-29 Yao Qi <yao@codesourcery.com>
18006
18007 * gdb.trace/entry-values.exp: Update comments. Rename variable
18008 bar_call_foo to returned_from_foo.
18009
87186c6a
MMN
180102014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18011
18012 PR gdb/17394
18013 * gdb.linespec/break-asm-file.c: New file.
18014 * gdb.linespec/break-asm-file.exp: New file.
18015 * gdb.linespec/break-asm-file0.s: New file.
18016 * gdb.linespec/break-asm-file1.s: New file.
18017
1bab7383
YQ
180182014-12-18 Nigel Stephens <nigel@mips.com>
18019 Maciej W. Rozycki <macro@codesourcery.com>
18020
18021 * gdb.base/float.exp: Handle the new output from "info float" on
18022 MIPS targets.
18023
1bc1068a
JK
180242014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18025
18026 Fix MinGW compilation.
18027 * gdb.compile/compile-ops.exp: Update untested message if
18028 !skip_compile_feature_tests.
18029 * gdb.compile/compile-setjmp.exp: Likewise.
18030 * gdb.compile/compile-tls.exp: Likewise.
18031 * gdb.compile/compile.exp: Likewise.
18032 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18033 supported on this host".
18034
b6615d10
DE
180352014-12-16 Doug Evans <xdje42@gmail.com>
18036
18037 * boards/stabs.exp: New file.
18038
25dda427
AA
180392014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18040
18041 * gdb.base/completion.exp: Adjust to format changes of "maint
18042 print user-registers".
18043
bf330350
CU
180442014-12-16 Catalin Udma <catalin.udma@freescale.com>
18045
18046 PR server/17457
18047 * gdb.arch/aarch64-fp.c: New file.
18048 * gdb.arch/aarch64-fp.exp: New file.
18049
395cf596
SDJ
180502014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18051
18052 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18053 r210637, r210913, r211666, r215400, r215817).
18054
18055 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18056 * dg-extract-results.py: New file.
18057 * dg-extract-results.sh: Use it if the environment seems
18058 suitable.
18059
18060 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18061
18062 * dg-extract-results.py (parse_run): Handle warnings that
18063 are printed before a test harness is run.
18064
18065 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18066
18067 * dg-extract-results.py (Named): Remove __cmp__ method.
18068 (output_variation): Use a key to sort variation.harnesses.
18069
18070 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18071
18072 * dg-extract-results.py: For Python 3, force sys.stdout to
18073 handle surrogate escape sequences.
18074 (safe_open): New function.
18075 (output_segment, main): Use it.
18076
18077 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18078
18079 * dg-extract-results.py (Prog.result_re): Include options
18080 in test name.
18081
18082 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18083
18084 * dg-extract-results.py (output_variation): Always sort if
18085 do_sum.
18086
e882ef3c
SM
180872014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18088
18089 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18090 as long as we get pagination notifications.
18091
4992aa20
JM
180922014-12-15 Jason Merrill <jason@redhat.com>
18093
18094 * Makefile.in (check-gdb.%): Restore.
18095 * README: Mention it.
18096
c1b5a1a6
JB
180972014-12-13 Joel Brobecker <brobecker@adacore.com>
18098
18099 * gdb.ada/str_uninit: New testcase.
18100
5537b577
JK
181012014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18102
18103 PR symtab/17642
18104 * gdb.base/vla-stub-define.c: New file.
18105 * gdb.base/vla-stub.c: New file.
18106 * gdb.base/vla-stub.exp: New file.
18107
bb2ec1b3
TT
181082014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18109 Jan Kratochvil <jan.kratochvil@redhat.com>
18110 Tom Tromey <tromey@redhat.com>
18111
18112 * configure.ac: Add gdb.compile/.
18113 * configure: Regenerate.
18114 * gdb.compile/Makefile.in: New file.
18115 * gdb.compile/compile-ops.exp: New file.
18116 * gdb.compile/compile-ops.c: New file.
18117 * gdb.compile/compile-tls.c: New file.
18118 * gdb.compile/compile-tls.exp: New file.
18119 * gdb.compile/compile-constvar.S: New file.
18120 * gdb.compile/compile-constvar.c: New file.
18121 * gdb.compile/compile-mod.c: New file.
18122 * gdb.compile/compile-nodebug.c: New file.
18123 * gdb.compile/compile-setjmp-mod.c: New file.
18124 * gdb.compile/compile-setjmp.c: New file.
18125 * gdb.compile/compile-setjmp.exp: New file.
18126 * gdb.compile/compile-shlib.c: New file.
18127 * gdb.compile/compile.c: New file.
18128 * gdb.compile/compile.exp: New file.
18129 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18130
4ff709eb
TT
181312014-12-12 Tom Tromey <tromey@redhat.com>
18132
18133 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18134 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18135
6dddd6a5
DE
181362014-12-12 Doug Evans <dje@google.com>
18137
18138 * lib/gdb-python.exp (get_python_valueof): New function.
18139 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18140
71c24708
AA
181412014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18142
18143 * gdb.base/completion.exp: Add test for completion of "info
18144 registers ".
18145
3e29f34a
MR
181462014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18147
18148 * gdb.base/func-ptrs.c: New file.
18149 * gdb.base/func-ptrs.exp: New file.
18150
fc126975
SM
181512014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18152
18153 PR breakpoints/17012
18154 * gdb.base/dprintf-detach.c: New file.
18155 * gdb.base/dprintf-detach.exp: New file.
18156
0a46d518
SM
181572014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18158
18159 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18160 * lib/gdb.exp (target_is_gdbserver): New procedure.
18161
a0be3e44
DE
181622014-12-08 Doug Evans <dje@google.com>
18163
18164 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18165
df1b803a
YQ
181662014-12-05 Yao Qi <yao@codesourcery.com>
18167
18168 * gdb.guile/scm-error.exp: Remove the third argument to
18169 gdb_remote_download.
18170 * gdb.guile/scm-frame-args.exp: Likewise.
18171 * gdb.guile/scm-section-script.exp: Likewise.
18172
ddb9f679
YQ
181732014-12-05 Yao Qi <yao@codesourcery.com>
18174
18175 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18176
86e4ed39
DE
181772014-12-04 Doug Evans <dje@google.com>
18178
18179 * gdb.python/py-objfile.exp: Add tests for
18180 objfile.add_separate_debug_file.
18181
7c50a931
DE
181822014-12-04 Doug Evans <dje@google.com>
18183
18184 * lib/gdb.exp (get_build_id): New function.
18185 (build_id_debug_filename_get): Rewrite to use it.
18186 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18187
621661e3
MR
181882014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18189
18190 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18191 `method(long)', not just 0x0.
18192 * gdb.cp/nsalias.exp: Align code labels to 4.
18193 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18194 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18195 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18196 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18197 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18198 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18199
29f0c3b7
DE
182002014-12-02 Doug Evans <dje@google.com>
18201
e1e061e7 18202 PR symtab/17602
29f0c3b7 18203 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18204 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18205 * gdb.cp/anon-ns.exp: Update.
18206
162078c8
NB
182072014-12-02 Nick Bull <nicholaspbull@gmail.com>
18208
18209 * gdb.python/py-events.py (inferior_call_handler): New.
18210 (register_changed_handler, memory_changed_handler): New.
18211 (test_events.invoke): Register new handlers.
18212 * gdb.python/py-events.exp: Add tests for inferior call,
18213 memory_changed and register_changed events.
18214
fdb09caf
AA
182152014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18216
18217 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18218 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18219 if the linker doesn't understand this.
18220
55cfb2c4
SM
182212014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18222
18223 * gdb.python/python.exp: Change expected reply to help().
18224
9e8cd6df
YQ
182252014-12-01 Yao Qi <yao@codesourcery.com>
18226
18227 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18228 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18229 * configure: Re-generated.
18230
6c659fc2
SC
182312014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18232
18233 * gdb.cp/chained-calls.cc: New file.
18234 * gdb.cp/chained-calls.exp: New file.
18235 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18236
d7fc3181
SM
182372014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18238
18239 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18240 * gdb.dwarf2/symtab-producer.exp: Same.
18241 * gdb.gdb/python-interrupts.exp: Same.
18242 * gdb.gdb/python-selftest.exp: Same.
18243 * gdb.python/py-linetable.exp: Same.
18244 * gdb.python/py-type.exp: Same.
18245 * gdb.python/py-value-cc.exp: Same.
18246 * gdb.python/py-value.exp: Same.
18247
10e79639
YQ
182482014-11-28 Yao Qi <yao@codesourcery.com>
18249
18250 * gdb.base/break-probes.exp: Match library name prefixed with
18251 sysroot.
18252
f28a0564
SM
182532014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18254
18255 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18256 test expected output. Add parentheses for the call to print.
18257 Remove L suffix from integers.
18258
3fe1ce1d
DE
182592014-11-26 Doug Evans <dje@google.com>
18260
18261 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18262
84429e27
YQ
182632014-11-22 Yao Qi <yao@codesourcery.com>
18264
18265 * gdb.trace/entry-values.c: Remove asms.
18266 (foo): Add foo_label.
18267 (bar): Add bar_label.
18268 * gdb.trace/entry-values.exp: Remove code computing foo's
18269 length and bar's length.
18270 (Dwarf::assemble): Invoke function_range for bar and use
18271 MACRO_AT_func for foo.
18272
26741859
YQ
182732014-11-22 Yao Qi <yao@codesourcery.com>
18274
18275 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18276 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18277 Use .Lgcc43_procstart instead of gcc43.
18278
45e44d27
JB
182792014-11-21 Joel Brobecker <brobecker@adacore.com>
18280
18281 * gdb.ada/n_arr_bound: New testcase.
18282
458c8db8
SDJ
182832014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18284
18285 PR breakpoints/10737
18286 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18287 test_catch_syscall_multi_arch.
18288 (test_catch_syscall_multi_arch): New function.
18289
43f3e411
DE
182902014-11-20 Doug Evans <xdje42@gmail.com>
18291
18292 * gdb.base/maint.exp: Update expected output.
18293
0d7b2549
AA
182942014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18295
18296 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18297 4-byte instruction on S390.
18298
8908fca5
JB
182992014-11-19 Joel Brobecker <brobecker@adacore.com>
18300
18301 * gdb.ada/arr_arr: New testcase.
18302
4a46959e
JB
183032014-11-19 Joel Brobecker <brobecker@adacore.com>
18304
18305 * gdb.ada/pkd_arr_elem: New Testcase.
18306
470e2f4e
LM
183072014-11-18 Luis Machado <lgustavo@codesourcery.com>
18308
18309 * gdb.reverse/break-precsave: Expect completion message for
18310 core file reads.
18311 * gdb.reverse/consecutive-precsave.exp: Likewise.
18312 * gdb.reverse/finish-precsave.exp: Likewise.
18313 * gdb.reverse/i386-precsave.exp: Likewise.
18314 * gdb.reverse/machinestate-precsave.exp: Likewise.
18315 * gdb.reverse/sigall-precsave.exp: Likewise.
18316 * gdb.reverse/solib-precsave.exp: Likewise.
18317 * gdb.reverse/step-precsave.exp: Likewise.
18318 * gdb.reverse/until-precsave.exp: Likewise.
18319 * gdb.reverse/watch-precsave.exp: Likewise.
18320
a267f3ad
AA
183212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18322
18323 * gdb.base/bp-permanent.c: Include unistd.h.
18324 * gdb.python/py-framefilter-mi.c (main): Add return type.
18325 * gdb.python/py-framefilter.c (main): Likewise.
18326 * gdb.trace/actions-changed.c (main): Likewise.
18327
12084a9a
AA
183282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18329
18330 * gdb.mi/until.c: Add eye-catchers.
18331 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18332 line numbers.
18333
dc7e1a77
AA
183342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18335
18336 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18337 function header variants in break1.c.
18338 * gdb.base/ena-dis-br.exp: Likewise.
18339 * gdb.base/hbreak2.exp: Likewise.
18340 * gdb.reverse/until-precsave.exp: Drop references to removed
18341 non-prototype function header variants in ur1.c.
18342 * gdb.reverse/until-reverse.exp: Likewise.
18343
41c77605
PM
183442014-11-17 Petr Machata <pmachata@redhat.com>
18345
18346 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18347 ${_cu_offset_size} bytes abbrev offset.
18348
34248c3a
DE
183492014-11-15 Doug Evans <xdje42@gmail.com>
18350
18351 PR symtab/17559
18352 * gdb.base/line-symtabs.exp: New file.
18353 * gdb.base/line-symtabs.c: New file.
18354 * gdb.base/line-symtabs.h: New file.
18355
646da059
YQ
183562014-11-14 Yao Qi <yao@codesourcery.com>
18357
18358 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18359 (func): Add label func_label.
18360 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18361 Replace low_pc and high_pc with MACRO_AT_range.
18362 Replace name, low_pc and high_pc with MACRO_AT_func.
18363
9301ebe6
YQ
183642014-11-14 Yao Qi <yao@codesourcery.com>
18365
18366 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18367 Replace name, low_pc and high_pc with MACRO_AT_func.
18368
f166b542
YQ
183692014-11-14 Yao Qi <yao@codesourcery.com>
18370
18371 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18372 produce debug information.
18373 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18374
0f6e71e3
YQ
183752014-11-14 Yao Qi <yao@codesourcery.com>
18376
18377 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18378 object and get function length.
18379 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18380 with MACRO_AT_func.
18381 (top-level): Replace gdb_compile and clean_restart with
18382 prepare_for_testing.
18383 * gdb.dwarf2/main.c (main): Add label main_label.
18384
876c4df9
YQ
183852014-11-14 Yao Qi <yao@codesourcery.com>
18386
18387 * lib/dwarf.exp (function_range): New procedure.
18388 (Dwarf::_handle_macro_at_func): New procedure.
18389 (Dwarf::_handle_macro_at_range): New procedure.
18390 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18391
02ad9cf1
YQ
183922014-11-14 Yao Qi <yao@codesourcery.com>
18393
18394 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18395 (_handle_attribute): New procedure.
18396
a59add0c
AA
183972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18398
18399 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18400 * gdb.base/call-sc.c (zed): Likewise.
18401 * gdb.base/checkpoint.c (main): Likewise.
18402 * gdb.base/dump.c (main): Likewise.
18403 * gdb.base/gcore.c (main): Likewise.
18404 * gdb.base/huge.c (main): Likewise.
18405 * gdb.base/multi-forks.c (main): Likewise.
18406 * gdb.base/pr10179-a.c (main): Likewise.
18407 * gdb.base/savedregs.c (main): Likewise.
18408 * gdb.base/sigaltstack.c (main): Likewise.
18409 * gdb.base/siginfo.c (main): Likewise.
18410 * gdb.base/structs.c (zed): Likewise.
18411 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18412 * gdb.mi/mi-syn-frame.c (main): Likewise.
18413 * gdb.mi/until.c (foo, main): Likewise.
18414 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18415 * gdb.base/solib-weak.c (foo): Declare.
18416 * gdb.base/attach-twice.c: Include stdio.h.
18417 * gdb.base/weaklib1.c: Likewise.
18418 * gdb.base/weaklib2.c: Likewise.
18419 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18420 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18421 unistd.h.
18422 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18423 * gdb.mi/mi-exit-code.c: Likewise.
18424 * gdb.base/break-interp-lib.c: Include string.h.
18425 * gdb.base/coremaker.c: Likewise.
18426 * gdb.base/testenv.c: Likewise.
18427 * gdb.python/py-finish-breakpoint.c: Likewise.
18428 * gdb.base/inferior-died.c: Include sys/wait.h.
18429 * gdb.base/fileio.c: Include time.h.
18430 * gdb.base/async-shell.c: Include unistd.h.
18431 * gdb.base/dprintf-non-stop.c: Likewise.
18432 * gdb.base/info-os.c: Likewise.
18433 * gdb.mi/mi-console.c: Likewise.
18434 * gdb.mi/watch-nonstop.c: Likewise.
18435 * gdb.python/py-events.c: Likewise.
18436 * gdb.base/async.c (baz): Move up before its invocation.
18437 * gdb.base/code_elim2.c (my_global_func): Likewise.
18438 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18439 * gdb.base/advance.c (func2): Likewise.
18440
3b5d5997
AA
184412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18442
18443 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18444 variant.
18445 * gdb.base/annota3.c: Likewise.
18446 * gdb.base/async.c: Likewise.
18447 * gdb.base/average.c: Likewise.
18448 * gdb.base/call-ar-st.c: Likewise.
18449 * gdb.base/call-rt-st.c: Likewise.
18450 * gdb.base/call-sc.c: Likewise.
18451 * gdb.base/call-strs.c: Likewise.
18452 * gdb.base/ending-run.c: Likewise.
18453 * gdb.base/execd-prog.c: Likewise.
18454 * gdb.base/exprs.c: Likewise.
18455 * gdb.base/foll-exec.c: Likewise.
18456 * gdb.base/foll-fork.c: Likewise.
18457 * gdb.base/foll-vfork.c: Likewise.
18458 * gdb.base/funcargs.c: Likewise.
18459 * gdb.base/gcore.c: Likewise.
18460 * gdb.base/jump.c: Likewise.
18461 * gdb.base/langs0.c: Likewise.
18462 * gdb.base/langs1.c: Likewise.
18463 * gdb.base/langs2.c: Likewise.
18464 * gdb.base/mips_pro.c: Likewise.
18465 * gdb.base/nodebug.c: Likewise.
18466 * gdb.base/opaque0.c: Likewise.
18467 * gdb.base/opaque1.c: Likewise.
18468 * gdb.base/recurse.c: Likewise.
18469 * gdb.base/run.c: Likewise.
18470 * gdb.base/scope0.c: Likewise.
18471 * gdb.base/scope1.c: Likewise.
18472 * gdb.base/setshow.c: Likewise.
18473 * gdb.base/setvar.c: Likewise.
18474 * gdb.base/shmain.c: Likewise.
18475 * gdb.base/shr1.c: Likewise.
18476 * gdb.base/shr2.c: Likewise.
18477 * gdb.base/sigall.c: Likewise.
18478 * gdb.base/signals.c: Likewise.
18479 * gdb.base/so-indr-cl.c: Likewise.
18480 * gdb.base/solib2.c: Likewise.
18481 * gdb.base/structs.c: Likewise.
18482 * gdb.base/sum.c: Likewise.
18483 * gdb.base/vforked-prog.c: Likewise.
18484 * gdb.base/watchpoint.c: Likewise.
18485 * gdb.reverse/shr2.c: Likewise.
18486 * gdb.reverse/until-reverse.c: Likewise.
18487 * gdb.reverse/ur1.c: Likewise.
18488 * gdb.reverse/watch-reverse.c: Likewise.
18489
066a77c5
AA
184902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18491
18492 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18493 variant.
18494 * gdb.base/sepdebug.exp: Drop references to removed code.
18495
4f204ea5
AA
184962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18497
18498 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18499 variant. Preserve original line numbering.
18500 * gdb.base/list1.c: Likewise.
18501
3b377a3a
AA
185022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18503
18504 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18505 variant.
18506 * gdb.base/break1.c: Likewise.
18507 * gdb.base/break.exp: Drop references to removed code.
18508
e444df73
AA
185092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18510
18511 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18512 variant.
18513
8008f2a7
AA
185142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18515
18516 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18517
a5a06887
AA
185182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18519
18520 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18521 logic into perform_all_tests() and invoke it with and without
18522 function header prototypes.
18523 (do_function_calls): Remove conditional XFAIL for PR 5318.
18524 (rerun_and_prepare): Remove duplicate code.
18525 (perform_all_tests): New. Main logic moved here.
18526
44dba9b9
AA
185272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18528
18529 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18530 code guarded by #ifdef NO_PROTOTYPES.
18531 (t_double_many_args): Likewise.
18532 (DEF_FUNC_MANY_ARGS_1): Likewise.
18533 (DEF_FUNC_VALUES_1): Likewise.
18534 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18535 guarded by #ifdef PROTOTYPES.
18536
d1fbcd56
AA
185372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18538
18539 * gdb.mi/mi-console.c: Add eye-catcher.
18540 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18541 instead of literal line number.
18542
b0e59b8f
AA
185432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18544
18545 * gdb.base/shr2.c: Add eye-catcher.
18546 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18547 line number.
18548
78f98cca
AA
185492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18550
18551 * gdb.base/jump.c: Add eye-catchers.
18552 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18553 numbers.
18554
58fa2af0
AA
185552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18556
18557 * gdb.base/execd-prog.c: Add eye-catchers.
18558 * gdb.base/foll-exec.c: Likewise.
18559 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18560 line numbers.
18561
04e5059b
AA
185622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18563
18564 * gdb.base/ending-run.c: Add eye-catchers.
18565 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18566 literal line numbers.
18567
dbfdb174
AA
185682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18569
18570 * gdb.base/call-rt-st.c: Add eye-catchers.
18571 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18572 literal line numbers.
18573
888a2ade
AA
185742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18575
18576 * gdb.base/call-ar-st.c: Add eye-catchers.
18577 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18578 literal line numbers.
18579
6acc2dde
AA
185802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18581
18582 * gdb.base/average.c: Add eye-catchers.
18583 * gdb.base/sum.c: Likewise.
18584 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18585 regexps dynamically.
18586
9ecfcd1d
AA
185872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18588
18589 * gdb.base/solib1.c: Add eye-catchers.
18590 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18591 literal line numbers.
18592
78708b7c
PA
185932014-11-12 Pedro Alves <palves@redhat.com>
18594
18595 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18596 leader has exited.
18597
af48d08f
PA
185982014-11-12 Pedro Alves <palves@redhat.com>
18599
18600 * gdb.arch/i386-bp_permanent.c: New file.
18601 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18602 (srcfile): Set to i386-bp_permanent.c.
18603 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18604 that stepi does not execute the 'leave' instruction, instead of
18605 testing it does execute.
18606 * gdb.base/bp-permanent.c: New file.
18607 * gdb.base/bp-permanent.exp: New file.
18608
af3768e9
DE
186092014-11-10 Doug Evans <xdje42@gmail.com>
18610
18611 PR symtab/17564
18612 * gdb.base/symtab-search-order.exp: New file.
18613 * gdb.base/symtab-search-order.c: New file.
18614 * gdb.base/symtab-search-order-1.c: New file.
18615 * gdb.base/symtab-search-order-shlib-1.c: New file.
18616
9de00a4a
PA
186172014-11-07 Pedro Alves <palves@redhat.com>
18618
18619 PR gdb/17511
18620 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18621 i?86-*-linux*.
18622
e0f52461
SC
186232014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18624
18625 PR c++/17494
18626 * gdb.cp/pr17494.cc: New file.
18627 * gdb.cp/pr17494.exp: New file.
18628
6ce8c980
YQ
186292014-11-02 Yao Qi <yao@codesourcery.com>
18630
18631 * gdb.python/python.exp: Get working directory and match the
18632 output of "set extended-prompt \\w " with it.
18633
02be9a71
DE
186342014-10-30 Doug Evans <dje@google.com>
18635
18636 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18637 in objfiles.
18638 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18639 in progspaces.
18640
3bdff46b
LM
186412014-10-30 Janis Johnson <janisjo@codesourcery.com>
18642
18643 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18644 * gdb.base/realname-expand.exp: Likewise.
18645 * gdb.linespec/macro-relative.exp: Likewise.
18646
ab917dfb
PA
186472014-10-29 Pedro Alves <palves@redhat.com>
18648
18649 PR gdb/17408
18650 * gdb.threads/schedlock.c (some_function): New function.
18651 (call_function): New global.
18652 (MAYBE_CALL_SOME_FUNCTION): New macro.
18653 (thread_function): Call it.
18654 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18655 and use it instead of a global counter. Adjust all callers.
18656 (get_current_thread): Use "find current thread" for test message
18657 here rather than having all callers pass down the same string.
18658 (goto_loop): New procedure, factored out from ...
18659 (my_continue): ... this.
18660 (step_ten_loops): Change parameter from test message to command to
18661 use. Adjust.
18662 (list_count): Delete global.
18663 (check_result): New procedure, factored out from duplicate top
18664 level code.
18665 (continue tests): Wrap in with_test_prefix.
18666 (test_step): New procedure, factored out from duplicate top level
18667 code.
18668 (top level): Test "step" in combination with all scheduler-locking
18669 modes. Test "next" in combination with all scheduler-locking
18670 modes, and in combination with stepping over a function call or
18671 not.
18672 * gdb.threads/next-bp-other-thread.c: New file.
18673 * gdb.threads/next-bp-other-thread.exp: New file.
18674
d3d4baed
PA
186752014-10-29 Pedro Alves <palves@redhat.com>
18676
18677 PR python/17372
18678 * gdb.python/python.exp: Test a multi-line command that spawns
18679 interactive Python.
18680 * gdb.base/multi-line-starts-subshell.exp: New file.
18681
563e8d85
YQ
186822014-10-29 Yao Qi <yao@codesourcery.com>
18683
18684 * gdb.base/fileio.exp: Make directories on host.
18685
0ea4d52e
YQ
186862014-10-29 Yao Qi <yao@codesourcery.com>
18687
18688 * gdb.base/fileio.c (test_write): Close the file.
18689
7f5ef605
PA
186902014-10-28 Pedro Alves <palves@redhat.com>
18691
18692 PR gdb/12623
18693 * gdb.base/sigstep.c (no_handler): New global.
18694 (main): If 'no_handler is true, set the signal handlers to
18695 SIG_IGN.
18696 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18697 with_sw_watch and no_handler parameters. Handle them.
18698 (top level) <stepping over handler when stopped at a breakpoint
18699 test>: Add a test axis for testing with a software watchpoint, and
18700 another for testing with the signal handler set to SIG_IGN.
18701 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18702 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18703
abbdbd03
PA
187042014-10-28 Pedro Alves <palves@redhat.com>
18705
18706 PR gdb/17511
18707 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18708 * gdb.base/sigstep.exp (other_handler_location): New global.
18709 (advance): Support stepping into the signal handler, and running
18710 commands while in the handler.
18711 (in_handler_map): New global.
18712 (top level): In the advance test, add combinations for getting
18713 into the handler with stepping commands, and for running commands
18714 in the handler. Add comment descripting the advancei tests.
18715
1df4399f
PA
187162014-10-28 Pedro Alves <palves@redhat.com>
18717
18718 * gdb.base/sigstep.exp: Use build_executable instead of
18719 prepare_for_testing.
18720 (top level): Move code that starts GDB, runs to main and creates a
18721 display to ...
18722 (restart): ... this new procedure.
18723 (top level): Move backtrace from signal handler test to ...
18724 (validate_backtrace): ... this new procedure.
18725 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18726 with_test_prefix. Always restart GDB.
18727 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18728 with_test_prefix. Always restart GDB. No need to delete
18729 breakpoints after the test.
18730 (test_skip_handler): Remove prefix parameter.
18731 (skip_over_handler, breakpoint_to_handler)
18732 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18733 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18734 restart GDB. No need to delete breakpoints after the test.
18735 (top level): Use foreach to call the test procedures with
18736 different commands.
18737
a5b6e449
PA
187382014-10-28 Pedro Alves <palves@redhat.com>
18739
18740 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18741 instead of GNATS numbers.
18742 * gdb.base/sigbpt.exp: Likewise.
18743 * gdb.base/siginfo.exp: Likewise.
18744 * gdb.base/sigstep.exp: Likewise.
18745
e5f8a7cc
PA
187462014-10-27 Pedro Alves <palves@redhat.com>
18747
18748 * gdb.base/sigstep.c (dummy): New global.
18749 (main): Issue a couple writes to the new global.
18750 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18751 procedures.
18752 (skip_over_handler): Use test_skip_handler.
18753 (top level): Call skip_over_handler for stepi and nexti too.
18754 (breakpoint_over_handler): Use test_skip_handler.
18755 (top level): Call breakpoint_over_handler for stepi and nexti too.
18756
763905a3
YQ
187572014-10-27 Yao Qi <yao@codesourcery.com>
18758
18759 * gdb.trace/tfile.c (adjust_function_address)
18760 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18761 function descriptor.
18762
6f259a23
DB
187632014-10-24 Don Breazeal <donb@codesourcery.com>
18764
18765 * gdb.base/foll-fork.exp (test_follow_fork,
18766 catch_fork_child_follow): Check for updated fork messages emitted
18767 from infrun.c.
18768 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18769 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18770 vfork_and_exec_child_follow_through_step): Check for updated vfork
18771 messages emitted from infrun.c.
18772
09dd9a69
PA
187732014-10-24 Pedro Alves <palves@redhat.com>
18774
18775 * gdb.base/corefile.exp: Remove references to ultrix.
18776 * gdb.base/interrupt.exp: Likewise.
18777 * gdb.base/whatis.exp: Likewise.
18778 * gdb.gdb/selftest.exp: Likewise.
18779 * gdb.threads/manythreads.exp: Likewise.
18780 * gdb.threads/print-threads.exp: Likewise.
18781 * gdb.threads/pthreads.exp:: Likewise.
18782 * gdb.threads/schedlock.exp: Likewise.
18783
3433cfa5
SC
187842014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18785
18786 * gdb.cp/non-trivial-retval.cc: Add a test case.
18787 * gdb.cp/non-trivial-retval.exp: Add a test.
18788
092f880b
YQ
187892014-10-20 Yao Qi <yao@codesourcery.com>
18790
18791 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18792 * gdb.python/py-objfile-script-gdb.py: New file.
18793 * gdb.python/py-objfile-script.exp: Update reference to
18794 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18795 of remote_download. Remove the dest file.
18796
acbdb7f3
YQ
187972014-10-20 Yao Qi <yao@codesourcery.com>
18798
18799 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18800 * gdb.base/step-line.exp: Likewise.
18801 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18802 * gdb.dwarf2/dw2-basic.exp: Likewise.
18803 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18804 * gdb.dwarf2/dw2-filename.exp: Likewise.
18805 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18806 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18807 * gdb.dwarf2/dw2-producer.exp: Likewise.
18808 * gdb.dwarf2/mac-fileno.exp: Likewise.
18809 * gdb.python/py-frame-args.exp: Likewise.
18810 * gdb.python/py-framefilter.exp: Likewise.
18811 * gdb.python/py-mi.exp: Likewise.
18812 * gdb.python/py-objfile-script.exp: Likewise
18813 * gdb.python/py-pp-integral.exp: Likewise.
18814 * gdb.python/py-pp-re-notag.exp: Likewise.
18815 * gdb.python/py-prettyprint.exp: Likewise.
18816 * gdb.python/py-section-script.exp: Likewise.
18817 * gdb.python/py-typeprint.exp: Likewise.
18818 * gdb.python/py-xmethods.exp: Likewise.
18819 * gdb.stabs/weird.exp: Likewise.
18820 * gdb.xml/tdesc-regs.exp: Likewise.
18821
bd286a29
KCY
188222014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18823
18824 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18825 (out_cu): Use addr_len for the size of addresses.
18826 (out_line): Likewise. Size DW_LNE_set_address instruction
18827 according to addr_len.
18828 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18829 (FUNC): Add START_INSNS to definition.
18830
673dc4a0
YQ
188312014-10-18 Yao Qi <yao@codesourcery.com>
18832
18833 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18834 gdb_has_argv0 return true.
18835 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18836 check [target_info exists noargs], check [gdb_has_argv0]
18837 instead.
18838 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18839 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18840 procedures.
18841
4ffbba72
DE
188422014-10-17 Doug Evans <dje@google.com>
18843
18844 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18845 event.
18846 * gdb.python/py-events.py: Add clear_objfiles event.
18847
d096d8c1
DE
188482014-10-17 Doug Evans <dje@google.com>
18849
18850 * gdb.python/py-objfile.exp: Test progspace attribute.
18851
a80db015
LM
188522014-10-17 Luis Machado <lgustavo@codesourcery.com>
18853
18854 * gdb.guile/scm-breakpoint.exp: Do not assume any
18855 directory separators when matching source file paths.
18856 * gdb.python/py-breakpoint.exp: Likewise.
18857 * gdb.reverse/break-precsave.exp: Likewise.
18858 * gdb.reverse/break-reverse.exp: Likewise.
18859 * gdb.reverse/consecutive-precsave.exp: Likewise.
18860 * gdb.reverse/finish-precsave.exp: Likewise.
18861 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18862 * gdb.reverse/finish-reverse.exp: Likewise.
18863 * gdb.reverse/i386-precsave.exp: Likewise.
18864 * gdb.reverse/i387-env-reverse.exp: Likewise.
18865 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18866 * gdb.reverse/machinestate-precsave.exp: Likewise.
18867 * gdb.reverse/machinestate.exp: Likewise.
18868 * gdb.reverse/sigall-precsave.exp: Likewise.
18869 * gdb.reverse/solib-precsave.exp: Likewise.
18870 * gdb.reverse/step-precsave.exp: Likewise.
18871 * gdb.reverse/until-precsave.exp: Likewise.
18872 * gdb.reverse/watch-precsave.exp: Likewise.
18873 * gdb.reverse/watch-reverse.exp: Likewise.
18874
b22089ab
YQ
188752014-10-17 Yao Qi <yao@codesourcery.com>
18876
18877 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18878 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18879
6c4486e6
PA
188802014-10-17 Pedro Alves <palves@redhat.com>
18881
18882 PR gdb/17471
18883 * gdb.base/bg-execution-repeat.c: New file.
18884 * gdb.base/bg-execution-repeat.exp: New file.
18885
0ff33695
PA
188862014-10-17 Pedro Alves <palves@redhat.com>
18887
18888 PR gdb/17300
18889 * gdb.base/continue-all-already-running.c: New file.
18890 * gdb.base/continue-all-already-running.exp: New file.
18891
6fdebc3d
PA
188922014-10-17 Pedro Alves <palves@redhat.com>
18893
18894 PR gdb/17472
18895 * gdb.base/annota-input-while-running.c: New file.
18896 * gdb.base/annota-input-while-running.exp: New file.
18897
32a8097b
PA
188982014-10-17 Pedro Alves <palves@redhat.com>
18899
18900 * gdb.base/callfuncs.exp: emove references to osf.
18901 * gdb.base/sigall.exp: Likewise.
18902 * gdb.gdb/selftest.exp: Likewise.
18903 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18904 * gdb.mi/non-stop.c: Likewise.
18905 * gdb.mi/pthreads.c: Likewise.
18906 * gdb.reverse/sigall-precsave.exp: Likewise.
18907 * gdb.reverse/sigall-reverse.exp: Likewise.
18908 * gdb.threads/pthreads.c: Likewise.
18909 * gdb.threads/pthreads.exp: Likewise.
18910
7a3517ff
YQ
189112014-10-17 Yao Qi <yao@codesourcery.com>
18912
18913 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18914 check 'target_info exists noargs'.
18915 (test_command_prompt_position): Likewise.
18916 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18917 Remove "set args".
18918 (progvar_simple_while_test): Likewise.
18919 (progvar_complex_if_while_test): Likewise.
18920 (if_while_breakpoint_command_test): Likewise.
18921 (infrun_breakpoint_command_test): Likewise.
18922 (breakpoint_command_test): Likewise.
18923 (watchpoint_command_test): Likewise.
18924 (bp_deleted_in_command_test): Likewise.
18925 (temporary_breakpoint_commands): Likewise.
18926
bb99c472
YQ
189272014-10-16 Yao Qi <yao@codesourcery.com>
18928
18929 * gdb.base/remotetimeout.exp: Remove noargs checking.
18930
7c16b83e
PA
189312014-10-15 Pedro Alves <palves@redhat.com>
18932
18933 PR breakpoints/9649
18934 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18935 * gdb.base/breakpoint-in-ro-region.exp
18936 (probe_target_hardware_step): New procedure.
18937 (top level): Probe hardware stepping and hardware breakpoint
18938 support. Test stepping through a read-only region, with both
18939 "breakpoint auto-hw" on and off and both "always-inserted" on and
18940 off.
18941
35a49624
IB
189422014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18943
18944 * gdb.dlang/demangle.exp: Update for demangling changes.
18945
2d1c107c
SC
189462014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18947
18948 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18949 * gdb.cp/non-trivial-retval.exp: Add new tests.
18950
778811d5
SC
189512014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18952
18953 PR c++/13403
18954 PR c++/15154
18955 * gdb.cp/non-trivial-retval.cc: New file.
18956 * gdb.cp/non-trivial-retval.exp: New file.
18957
10c5f0a8
YQ
189582014-10-15 Yao Qi <yao@codesourcery.com>
18959
18960 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18961 remote host.
18962
65d7b369
YQ
189632014-10-15 Yao Qi <yao@codesourcery.com>
18964
18965 * gdb.python/py-symbol.exp: Match file base name if host is
18966 remote, otherwise match file name with dir name.
18967 * gdb.python/py-symtab.exp: Likewise.
18968 * gdb.python/python.exp: Likewise.
18969
46dc1394
YQ
189702014-10-15 Yao Qi <yao@codesourcery.com>
18971
18972 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18973 pattern.
18974 * gdb.python/py-symtab.exp: Likewise.
18975 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18976 locationn.
18977
c40cc657
JB
189782014-10-14 Joel Brobecker <brobecker@adacore.com>
18979
18980 * gdb.ada/addr_arith: New testcase.
18981
2abf49e1
MR
189822014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18983
18984 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18985 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18986 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18987 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18988
f7088df3
SDJ
189892014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18990
18991 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18992 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18993 * gdb.arch/stap-eval-lang-ada.exp: New file.
18994
4dc06805
YQ
189952014-10-14 Yao Qi <yao@codesourcery.com>
18996
18997 * gdb.mi/mi-var-child.c (nothing1): New function.
18998 (nothing2): New function.
18999 (do_children_tests): Set function pointers by nothing1 and
19000 nothing2.
19001 * gdb.mi/mi-var-child.exp: Step over new added statements.
19002 Update test to match the new output.
19003 * gdb.mi/var-cmd.c (nothing1): New function.
19004 (nothing2): New function.
19005 (do_children_tests): Set function pointers by nothing1 and
19006 nothing2.
19007 * gdb.mi/mi-var-display.exp: Update test to match output.
19008 Step to the line specified by $line_dct_nothing.
19009 Increase the number of lines to step.
19010
46a93de2
YQ
190112014-10-14 Yao Qi <yao@codesourcery.com>
19012
19013 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19014 tests.
19015 * gdb.mi/mi2-var-child.exp: Likewise.
19016
14ea52ee
DE
190172014-10-13 Doug Evans <dje@google.com>
19018
19019 * gdb.python/py-objfile.exp: Change name of file name test.
19020
e5c6e92b
DE
190212014-10-13 Doug Evans <dje@google.com>
19022
19023 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19024 from the start of the CU.
19025
c780cc2f
JK
190262014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19027 Yao Qi <yao@codesourcery.com>
19028
19029 Fix "save breakpoints" for "catch" command.
19030 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19031 Remove -nonewline. Match also the added "main" line.
19032
99894e11
JK
190332014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19034
19035 Fix "save breakpoints" for "disable $bpnum" command.
19036 * gdb.base/save-bp.c (main): Add label.
19037 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19038
6e1ac5a3
JK
190392014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19040
19041 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19042
754dd2b0
YQ
190432014-10-11 Yao Qi <yao@codesourcery.com>
19044
19045 * gdb.server/server-kill.exp: Execute command
19046 "set remote trace-status-packet on" before "tstatus".
19047
f90183d7
YQ
190482014-10-11 Yao Qi <yao@codesourcery.com>
19049
19050 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19051 (main): Call getppid.
19052 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19053 and continue to it. Read variable "server_pid".
19054
bf40a607
YQ
190552014-10-11 Yao Qi <yao@codesourcery.com>
19056
19057 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19058
052ca370
YQ
190592014-10-11 Yao Qi <yao@codesourcery.com>
19060
19061 * gdb.threads/thread-find.exp: Don't execute command
19062 "info threads".
19063 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19064 * gdb.threads/linux-dp.exp: Don't check the condition
19065 $threads_created equals to zero.
19066
3831839c
PA
190672014-10-10 Pedro Alves <palves@redhat.com>
19068
19069 * gdb.base/bigcore.exp: Remove references to IRIX.
19070 * gdb.base/funcargs.exp: Likewise.
19071 * gdb.base/interrupt.exp: Likewise.
19072 * gdb.base/mips_pro.exp: Likewise.
19073 * gdb.base/nodebug.exp: Likewise.
19074 * gdb.base/setvar.exp: Likewise.
19075 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19076
8b9a549d
PA
190772014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19078 Pedro Alves <palves@redhat.com>
19079
19080 PR symtab/14466
19081 * gdb.base/vdso-warning.c: New file.
19082 * gdb.base/vdso-warning.exp: New file.
19083
d48ba5e8
DE
190842014-10-02 Doug Evans <dje@google.com>
19085
19086 * gdb.base/structs.c (main): Don't run forever.
19087
2278c276
PA
190882014-10-02 Pedro Alves <palves@redhat.com>
19089
19090 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19091 (top level) <stop threads 1, stop threads 2>: Use it.
19092
b57bacec
PA
190932014-10-02 Pedro Alves <palves@redhat.com>
19094
19095 * gdb.threads/break-while-running.exp (test): Add new
19096 'update_thread_list' argument. Skip "info threads" if false.
19097 (top level): Add new 'update_thread_list' axis.
19098
13fd3ff3
PA
190992014-10-02 Pedro Alves <palves@redhat.com>
19100
19101 PR breakpoints/17431
19102 * gdb.base/execl-update-breakpoints.c: New file.
19103 * gdb.base/execl-update-breakpoints.exp: New file.
19104
0fec99e8
PA
191052014-10-01 Pedro Alves <palves@redhat.com>
19106
19107 * gdb.base/breakpoint-in-ro-region.c: New file.
19108 * gdb.base/breakpoint-in-ro-region.exp: New file.
19109
2ddf4301
SM
191102014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19111
19112 * gdb.mi/mi-exit-code.exp: New file.
19113 * gdb.mi/mi-exit-code.c: New file.
19114
6a5f3f43
YQ
191152014-09-30 Yao Qi <yao@codesourcery.com>
19116
19117 * lib/prelink-support.exp (build_executable_own_libs): Error if
19118 the target isn't native.
19119
345bcc73
YQ
191202014-09-30 Yao Qi <yao@codesourcery.com>
19121
19122 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19123 false.
19124
a25a5a45
PA
191252014-09-22 Pedro Alves <palves@redhat.com>
19126
19127 * gdb.threads/break-while-running.exp: New file.
19128 * gdb.threads/break-while-running.c: New file.
19129
00ba3162
YQ
191302014-09-19 Yao Qi <yao@codesourcery.com>
19131
19132 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19133 Invoke test. Restart GDB with --readnow and invoke test again.
19134
c3b7b696
YQ
191352014-09-19 Yao Qi <yao@codesourcery.com>
19136
19137 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19138 proc set_breakpoint_on_gcd_function. Invoke
19139 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19140 invoke set_breakpoint_on_gcd_function again.
19141
2b4fd423
DE
191422014-09-18 Doug Evans <dje@google.com>
19143
19144 * gdb.dwarf2/symtab-producer.exp: New file.
19145
a5947601
SDJ
191462014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19147
19148 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19149 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19150 * gdb.base/global-var-nested-by-dso.c: Likewise.
19151 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19152
91c19059
SDJ
191532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19154 Pedro Alves <palves@redhat.com>
19155
19156 * gdb.base/watch-bitfields.exp: Pass string other than test file
19157 name to prepare_for_testing.
19158 (watch): New procedure.
19159 (expect_watchpoint): Use with_test_prefix.
19160 (top level): Factor out tests to ...
19161 (test_watch_location, test_regular_watch): ... these new
19162 procedures, and use with_test_prefix and gdb_continue_to_end.
19163
bb9d5f81
PP
191642014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19165
19166 PR breakpoints/12526
19167 * gdb.base/watch-bitfields.exp: New file.
19168 * gdb.base/watch-bitfields.c: New file.
19169
635856f5
PA
191702014-09-16 Pedro Alves <palves@redhat.com>
19171
19172 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19173 software and hardware addresses, not software address against
19174 itself.
19175
7280ceea
PA
191762014-09-16 Pedro Alves <palves@redhat.com>
19177
19178 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19179 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19180
428b16bd
PA
191812014-09-16 Pedro Alves <palves@redhat.com>
19182
19183 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19184 files.
19185 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19186 "*-*-vxworks*" throughout.
19187 * gdb.base/break.exp: Likewise.
19188 * gdb.base/default.exp: Likewise.
19189 * gdb.base/scope.exp: Likewise.
19190 * gdb.base/sepdebug.exp: Likewise.
19191 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19192 throughout.
19193 * gdb.base/run.c: Likewise.
19194 * gdb.base/sepdebug.c: Likewise.
19195 * gdb.hp/gdb.aCC/run.c: Likewise.
19196 * gdb.reverse/until-reverse.c: Likewise.
19197 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19198
666d413c
YQ
191992014-09-16 Yao Qi <yao@codesourcery.com>
19200
19201 * boards/local-remote-host-native.exp: New file.
19202
57cbd724
DE
192032014-09-14 Doug Evans <xdje42@gmail.com>
19204
19205 * gdb.threads/queue-signal.c (thread_count): New variable.
19206 (thread_count_mutex, thread_count_condvar): New variables.
19207 (incr_thread_count, wait_all_threads_running): New functions.
19208 (main): Wait for all threads to be in their thread functions.
19209
81219e53
DE
192102014-09-13 Doug Evans <xdje42@gmail.com>
19211
19212 * gdb.threads/queue-signal.c: New file.
19213 * gdb.threads/queue-signal.exp: New file.
19214
3714cea7
DE
192152014-09-13 Doug Evans <xdje42@gmail.com>
19216
19217 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19218 be consistent with what default_gdb_init uses.
19219 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19220 the plain text of the prompt. Add some logging printfs.
19221 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19222
fa43b1d7
PA
192232014-09-12 Pedro Alves <palves@redhat.com>
19224
19225 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19226 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19227 * gdb.arch/i386-size-overlap.exp: Likewise.
19228 * gdb.arch/i386-size.exp: Likewise.
19229 * gdb.arch/i386-unwind.exp: Likewise.
19230 * gdb.base/a2-run.exp: Likewise.
19231 * gdb.base/break.exp: Likewise.
19232 * gdb.base/charset.exp: Likewise.
19233 * gdb.base/chng-syms.exp: Likewise.
19234 * gdb.base/commands.exp: Likewise.
19235 * gdb.base/dbx.exp: Likewise.
19236 * gdb.base/find.exp: Likewise.
19237 * gdb.base/funcargs.exp: Likewise.
19238 * gdb.base/jit-simple.exp: Likewise.
19239 * gdb.base/reread.exp: Likewise.
19240 * gdb.base/sepdebug.exp: Likewise.
19241 * gdb.base/step-bt.exp: Likewise.
19242 * gdb.cp/mb-inline.exp: Likewise.
19243 * gdb.cp/mb-templates.exp: Likewise.
19244 * gdb.objc/basicclass.exp: Likewise.
19245 * gdb.threads/killed.exp: Likewise.
19246
9d9bf2df
EBM
192472014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19248
19249 PR tdep/17379
19250 * gdb.arch/powerpc-stackless.S: New file.
19251 * gdb.arch/powerpc-stackless.exp: New file.
19252
1cf2f1b0
JK
192532014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19254
19255 * gdb.base/attach.c: Include unistd.h.
19256 (main): Call alarm. Add label postloop.
19257 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19258 gdb_breakpoint, gdb_continue_to_breakpoint.
19259 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19260
98880d46
PA
192612014-09-11 Pedro Alves <palves@redhat.com>
19262
19263 PR gdb/17347
19264 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19265 * gdb.base/attach.exp (test_command_line_attach_run): New
19266 procedure.
19267 (top level): Call it.
19268
4c92ff2c
PA
192692014-09-11 Pedro Alves <palves@redhat.com>
19270
19271 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19272 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19273 (do_command_attach_tests): Use spawn_wait_for_attach.
19274 * gdb.base/solib-overlap.exp: Likewise.
19275 * gdb.multi/multi-attach.exp: Likewise.
19276 * gdb.python/py-prompt.exp: Likewise.
19277 * gdb.python/py-sync-interp.exp: Likewise.
19278 * gdb.server/ext-attach.exp: Likewise.
19279
3adc1a7d
GKB
192802014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19281
19282 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19283 command in testcase. Simplify testcase.
19284
96334934
JB
192852014-09-10 Joel Brobecker <brobecker@adacore.com>
19286
19287 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19288
eb479039
JB
192892014-09-10 Joel Brobecker <brobecker@adacore.com>
19290
19291 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19292
deede10c
JB
192932014-09-10 Joel Brobecker <brobecker@adacore.com>
19294
19295 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19296
7828a5f5
JB
192972014-09-10 Joel Brobecker <brobecker@adacore.com>
19298
19299 * gdb.dwarf2/dynarr-ptr.c: New file.
19300 * gdb.dwarf2/dynarr-ptr.exp: New file.
19301
33aeebcf
MR
193022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19303
19304 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19305 of 30 rather than hardcoding 120 for a slow test case. Take the
19306 `gdb,timeout' target setting into account for this calculation.
19307 Don't extend the timeout for the test cases that don't need it.
19308
7b415901
MR
193092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19310
19311 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19312 a factor of 2 for a slow test case. Take the `gdb,timeout'
19313 target setting into account for this calculation.
19314 * gdb.reverse/until-precsave.exp: Increase the timeout by
19315 a factor of 15 and 3 respectively rather than adding 120
19316 for a pair of slow test cases. Take the `gdb,timeout'
19317 target setting into account for this calculation.
19318
4a40f85a
MR
193192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19320
19321 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19322 timeout, don't pass one down to gdb_expect.
19323 (gdb_expect): Rework timeout selection.
19324
09635af7
MR
193252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19326
19327 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19328 exception on timeout.
19329 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19330 (gdbserver_start_extended): Catch any `gdbserver_start' error
19331 exceptions.
19332 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19333 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19334 `gdbserver_gdb_load' error exceptions.
19335
2bdd10b7
MR
193362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19337
19338 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19339 120 on waiting for the TCP socket to open.
19340
316935f0
DE
193412014-09-09 Doug Evans <xdje42@gmail.com>
19342
19343 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19344 _caller_matches, _any_caller_is, _any_caller_matches.
19345
83740597
DE
193462014-09-09 Doug Evans <xdje42@gmail.com>
19347
19348 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19349
4c122fc3
YQ
193502014-09-09 Yao Qi <yao@codesourcery.com>
19351
19352 * gdb.mi/mi-var-display.exp: Set print symbol off.
19353
a9f116cb
GKB
193542014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19355
19356 PR gdb/17035
19357 * gdb.base/commands.exp: Add tests to verify user-defined
19358 commands with empty bodies.
19359 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19360 python commands in `show user command`.
19361 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19362 scheme commands in `show user command`.
19363
c75bd3a2
JK
193642014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19365
19366 PR python/17355
19367 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19368 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19369 * gdb.python/py-framefilter-invalidarg.exp: New file.
19370 * gdb.python/py-framefilter-invalidarg.py: New file.
19371
faa42425
DE
193722014-09-06 Doug Evans <xdje42@gmail.com>
19373
19374 PR 15276
19375 * gdb.python/py-caller-is.c: New file.
19376 * gdb.python/py-caller-is.exp: New file.
19377
474ca4f6
SDJ
193782014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19379
19380 PR gdb/17235
19381 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19382 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19383
eb0b0463
SDJ
193842014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19385
19386 PR fortran/17237
19387 * gdb.fortran/print-formatted.exp: New file.
19388 * gdb.fortran/print-formatted.f90: Likewise.
19389
5f3b99cf
SS
193902014-09-03 Sasha Smundak <asmundak@google.com>
19391
19392 * gdb.python/py-frame.exp: Test Frame.read_register.
19393
7d793aa9
SDJ
193942014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19395
19396 PR python/16699
19397 * gdb.python/py-completion.exp: New file.
19398 * gdb.python/py-completion.py: Likewise.
19399
fb0576e9
DE
194002014-08-28 Doug Evans <dje@google.com>
19401
19402 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19403 eax,etc. are live with values set by gdb and thus the compiler can't
19404 use them.
19405 * gdb.arch/i386-pseudo.c (main): Ditto.
19406
ee92b0dd
DE
194072014-08-27 Doug Evans <dje@google.com>
19408
19409 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19410
6649db35
DE
194112014-08-25 Doug Evans <dje@google.com>
19412
19413 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19414 (main): Ditto.
19415
564b7600
DE
194162014-08-25 Doug Evans <dje@google.com>
19417
19418 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19419
3881fb67
YQ
194202014-08-24 Yao Qi <yao@codesourcery.com>
19421
19422 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19423 symbol off.
19424 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19425
a05a36a5
DE
194262014-08-22 Doug Evans <dje@google.com>
19427
19428 PR 17276
19429 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19430 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19431 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19432
7c343b48
YQ
194332014-08-22 Yao Qi <yao@codesourcery.com>
19434
19435 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19436 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19437 * gdb.python/python.exp: Likewise. Use .py file on the host
19438 instead of the build.
19439
22fd09ae
JK
194402014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19441
19442 * gdb.threads/gcore-stale-thread.c: New file.
19443 * gdb.threads/gcore-stale-thread.exp: New file.
19444
a8454a7c
PA
194452014-08-21 Pedro Alves <palves@redhat.com>
19446
19447 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19448 * gdb.base/gcore-relro-pie.exp: Likewise.
19449 * gdb.base/gcore-relro.exp: Likewise.
19450 * gdb.base/gcore.exp: Likewise.
19451 * gdb.base/print-symbol-loading.exp: Likewise.
19452 * gdb.threads/gcore-thread.exp: Likewise.
19453 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19454
2a31c623
PA
194552014-08-20 Pedro Alves <palves@redhat.com>
19456 Jan Kratochvil <jan.kratochvil@redhat.com>
19457
19458 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19459 configure.
19460 (EXPECT): Handle READ1 being set.
19461 (all): Depend on EXTRA_RULES.
19462 (check-read1, expect-read1, read1.so, read1): New rules.
19463 * README (Testsuite Parameters): Document the READ1 make variable.
19464 (Race detection): New section.
19465 * configure: Regenerate.
19466 * configure.ac: If build==host==target, and running under a
19467 GNU/glibc system, add read1 to the extra Makefile rules.
19468 (EXTRA_RULES): AC_SUBST it.
19469 * lib/read1.c: New file.
19470
d36430db
JB
194712014-08-20 Joel Brobecker <brobecker@adacore.com>
19472
19473 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19474 the handling of variables declared as a typedef to an array
19475 which a DW_AT_data_location attribute.
19476
9a0dc9e3
PA
194772014-08-19 Andrew Burgess <aburgess@broadcom.com>
19478 Pedro Alves <palves@redhat.com>
19479
19480 PR symtab/14604
19481 PR symtab/14605
19482 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19483 gdb_test.
19484
0718a8da
PA
194852014-08-19 Pedro Alves <palves@redhat.com>
19486
19487 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19488
13b448cd
YQ
194892014-08-19 Yao Qi <yao@codesourcery.com>
19490
19491 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19492 right line.
19493
1cbf5077
DB
194942014-08-18 David Blaikie <dblaikie@gmail.com>
19495
19496 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19497
bf0fae19
JB
194982014-08-18 Joel Brobecker <brobecker@adacore.com>
19499
19500 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19501 attribute in array range.
19502
3c8c5dcc
JB
195032014-08-18 Joel Brobecker <brobecker@adacore.com>
19504
19505 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19506
e66d4446
SC
195072014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19508
19509 PR c++/17132
19510 * gdb.cp/pr17132.cc: New file.
19511 * gdb.cp/pr17132.exp: New file.
19512
940df408
SC
195132014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19514
19515 * gdb.python/py-xmethods.py (A_getarrayind)
19516 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19517 Use 'print' with function call syntax.
19518 (E_method_matcher.match): Fix tab vs space indentation mixup.
19519
ebcc6c3a
YQ
195202014-08-15 Yao Qi <yao@codesourcery.com>
19521
19522 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19523 false.
19524
775e0f04
YQ
195252014-08-15 Yao Qi <yao@codesourcery.com>
19526
19527 * gdb.cp/casts.exp: Set print symbol off.
19528 * gdb.cp/class2.exp: Likewise.
19529 * gdb.cp/overload.exp: Likewise.
19530 * gdb.cp/templates.exp: Likewise.
19531
d769e349
DE
195322014-08-11 Doug Evans <dje@google.com>
19533
19534 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19535 (test_load_shlib): Update.
19536
20c6f1e1
YQ
195372014-08-09 Yao Qi <yao@codesourcery.com>
19538
19539 * gdb.base/display.exp: Invoke is_address_zero_readable.
19540 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19541 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19542 * gdb.base/hbreak-unmapped.exp: Return if
19543 is_address_zero_readable returns true.
19544 * gdb.base/signest.exp: Likewise.
19545 * gdb.base/signull.exp: Likewise.
19546 * gdb.base/sigbpt.exp: Likewise.
19547 * gdb.guile/scm-disasm.exp: Do the test if
19548 is_address_zero_readable returns false.
19549 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19550 * gdb.python/py-arch.exp: Likewise.
19551 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19552 * lib/gdb.exp (is_address_zero_readable): New proc.
19553
5792e8e3
YQ
195542014-08-09 Yao Qi <yao@codesourcery.com>
19555
19556 PR testsuite/13443
19557 * gdb.mi/mi-var-display.exp: Make test messages unique.
19558
3cecbbbe
TT
195592014-08-04 Tom Tromey <tromey@redhat.com>
19560
19561 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19562 target 0".
19563
00b51ff5
TT
195642014-08-04 Tom Tromey <tromey@redhat.com>
19565
19566 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19567 "target_resume".
19568
6908c509
JB
195692014-08-01 Joel Brobecker <brobecker@adacore.com>
19570
19571 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19572 inner_vla_struct_object_size.
19573 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19574 as xfail.
19575
cc6563d2
PA
195762014-07-30 Pedro Alves <palves@redhat.com>
19577
19578 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19579 comment.
19580
7e09a223
YQ
195812014-07-29 Yao Qi <yao@codesourcery.com>
19582
19583 PR gdb/17206
19584 * gdb.base/until-nodebug.exp: New.
19585
7ebdbe92
DE
195862014-07-28 Doug Evans <xdje42@gmail.com>
19587
19588 PR guile/17203
19589 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19590 previously existing parameter, and previously ambiguously spelled
19591 parameter.
19592
fdb1adc6
WN
195932014-07-28 Will Newton <will.newton@linaro.org>
19594
19595 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19596
186fcde0
DE
195972014-07-26 Ludovic Courtès <ludo@gnu.org>
19598 Doug Evans <xdje42@gmail.com>
19599
19600 PR guile/17146
19601 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19602
70509625
PA
196032014-07-25 Pedro Alves <palves@redhat.com>
19604
19605 * gdb.threads/signal-command-handle-nopass.c: New file.
19606 * gdb.threads/signal-command-handle-nopass.exp: New file.
19607 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19608 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19609 * gdb.threads/signal-delivered-right-thread.c: New file.
19610 * gdb.threads/signal-delivered-right-thread.exp: New file.
19611
c3f814a1
PA
196122014-07-25 Pedro Alves <palves@redhat.com>
19613
19614 * gdb.base/double-prompt-target-event-error.exp
19615 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19616 match.
19617 (cancel_pagination_in_target_event): Rework double prompt
19618 detection.
19619 * gdb.base/paginate-after-ctrl-c-running.exp
19620 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19621 <return>' match.
19622 * gdb.base/paginate-bg-execution.exp
19623 (test_bg_execution_pagination_return)
19624 (test_bg_execution_pagination_cancel): Remove '-notransfer
19625 <return>' matches.
19626 * gdb.base/paginate-execution-startup.exp
19627 (test_fg_execution_pagination_return)
19628 (test_fg_execution_pagination_cancel): Remove '-notransfer
19629 <return>' matches.
19630 * gdb.base/paginate-inferior-exit.exp
19631 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19632 match.
19633 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19634 * lib/gdb.exp (pagination_prompt): Run text through
19635 string_to_regexp.
19636 (gdb_test_multiple): Match $pagination_prompt instead of
19637 "<return>".
19638 (string_to_regexp): Move to lib/gdb-utils.exp.
19639
e214cf6c
JK
196402014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19641
19642 * gdb.arch/amd64-entry-value-paramref.S: New file.
19643 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19644 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19645 * gdb.arch/amd64-optimout-repeat.S: New file.
19646 * gdb.arch/amd64-optimout-repeat.c: New file.
19647 * gdb.arch/amd64-optimout-repeat.exp: New file.
19648
17d0c5c8
JK
196492014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19650
19651 PR gdb/17170
19652 * gdb.base/statistics.exp: New file.
19653
b8b8facf
DE
196542014-07-17 Doug Evans <dje@google.com>
19655
74b49205 19656 PR gdb/17170
b8b8facf
DE
19657 * gdb.base/maint.exp: Update testing of per-command stats.
19658
1b5d0ab3
PA
196592014-07-16 Pedro Alves <palves@redhat.com>
19660
19661 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19662 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19663 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19664 (tfile_write_buf): New functions.
19665 (add_memory_block): Rewrite using the above.
19666 (adjust_function_address): New function.
19667 (FUNCTION_ADDRESS): New macro.
19668 (write_basic_trace_file): Remove short_x local, and use
19669 tfile_write_16. Change type of func_addr local to unsigned long
19670 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19671 here. Cast argument of add_memory_block to char pointer.
19672 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19673 (main): Remove parameters.
19674 * gdb.trace/tfile.exp: Remove nowarnings.
19675
4d974e88
SM
196762014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19677
19678 * gdb.base/debug-expr.exp: Test string evaluation with
19679 "debug expression" on.
19680
41e99568
PA
196812014-07-15 Pedro Alves <palves@redhat.com>
19682
19683 * gdb.base/reread.exp: Use clean_restart.
19684
487d9753
PL
196852014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19686
19687 * gdb.arch/avr-flash-qualifer.c: New.
19688 * gdb.arch/avr-flash-qualifer.exp: New.
19689
cc1c52ad
PA
196902014-07-14 Pedro Alves <palves@redhat.com>
19691
19692 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19693 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19694
1e973570
PA
196952014-07-14 Pedro Alves <palves@redhat.com>
19696
19697 * gdb.base/double-prompt-target-event-error.c: New file.
19698 * gdb.base/double-prompt-target-event-error.exp: New file.
19699
93d6eb10
PA
197002014-07-14 Pedro Alves <palves@redhat.com>
19701
19702 PR gdb/17072
19703 * gdb.base/paginate-inferior-exit.c: New file.
19704 * gdb.base/paginate-inferior-exit.exp: New file.
19705
0017922d
PA
197062014-07-14 Pedro Alves <palves@redhat.com>
19707
19708 PR gdb/17072
19709 * gdb.base/paginate-bg-execution.c: New file.
19710 * gdb.base/paginate-bg-execution.exp: New file.
19711
94696ad3
PA
197122014-07-14 Pedro Alves <palves@redhat.com>
19713
19714 PR gdb/17072
19715 * gdb.base/paginate-execution-startup.c: New file.
19716 * gdb.base/paginate-execution-startup.exp: New file.
19717 * lib/gdb.exp (pagination_prompt): New global.
19718 (default_gdb_spawn): New procedure, factored out from
19719 default_gdb_spawn.
19720 (default_gdb_start): Adjust to call default_gdb_spawn.
19721 (gdb_spawn): New procedure.
19722
bd293940
PA
197232014-07-14 Pedro Alves <palves@redhat.com>
19724
19725 * lib/gdb.exp (gdb_assert): New procedure.
19726 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19727
c933f875
PA
197282014-07-14 Pedro Alves <palves@redhat.com>
19729
19730 * gdb.base/execution-termios.c: New file.
19731 * gdb.base/execution-termios.exp: New file.
19732
d98b7a16
TT
197332014-07-14 Tom Tromey <tromey@redhat.com>
19734
19735 * gdb.cp/vla-cxx.cc: New file.
19736 * gdb.cp/vla-cxx.exp: New file.
19737
548740d6
TT
197382014-07-14 Tom Tromey <tromey@redhat.com>
19739
19740 * gdb.reverse/rerun-prec.c: New file.
19741 * gdb.reverse/rerun-prec.exp: New file.
19742
a25eb028
MR
197432014-07-12 Maciej W. Rozycki <macro@mips.com>
19744 Maciej W. Rozycki <macro@codesourcery.com>
19745
19746 * lib/gdb-utils.exp: New file.
19747 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19748 inline `gdb_init_command' processing.
19749 (gdb_start_cmd): Likewise.
19750 * lib/mi-support.exp (mi_run_cmd): Likewise.
19751 * README: Document `gdb_init_command' and `gdb_init_commands'.
19752
218c2655
JK
197532014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19754
19755 Fix false FAIL running under a very long directory name.
19756 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19757 and "set print elements 10000". Twice.
19758
5401fde3
YQ
197592014-07-11 Yao Qi <yao@codesourcery.com>
19760
19761 * gdb.base/exprs.exp: "set print symbol off".
19762
e76126e8
PA
197632014-07-11 Pedro Alves <palves@redhat.com>
19764
19765 * gdb.threads/kill.c: New file.
19766 * gdb.threads/kill.exp: New file.
19767
2d6f0de6
YQ
197682014-07-10 Yao Qi <yao@codesourcery.com>
19769
19770 * gdb.trace/tfile.c (write_basic_trace_file)
19771 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19772 address written to trace file.
19773
7180e04a
PA
197742014-07-09 Pedro Alves <palves@redhat.com>
19775
19776 * gdb.base/attach-wait-input.exp: New file.
19777 * gdb.base/attach-wait-input.c: New file.
19778
9a9a7608
AB
197792014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19780
19781 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19782 setting up test structures.
19783 (main): Call new test function.
19784 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19785 test function, continue into test function and walk test
19786 structures.
19787
161ac41e
YQ
197882014-07-02 Yao Qi <yao@codesourcery.com>
19789
19790 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19791 'bar_start' at the beginning of functions 'foo' and 'bar'
19792 respectively.
19793 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19794 instead of 'foo' and 'bar'.
19795
1f267ae3
MM
197962014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19797
19798 * gdb.btrace/segv.exp: New.
19799 * gdb.btrace/segv.c: New.
19800
2b239efb
LM
198012014-07-02 Luis Machado <lgustavo@codesourcery.com>
19802
19803 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19804 instruction.
19805
cf363f18
MW
198062014-06-30 Mark Wielaard <mjw@redhat.com>
19807
19808 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19809 vulture, vilify, villar): New volatile array constants.
19810 (vindictive, vegetation): New const volatile array constants.
19811 * gdb.base/volatile.exp: Test volatile and const volatile array
19812 types.
19813
aebf9d24
AA
198142014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19815
19816 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19817 target lacks support for awatch, rwatch, or hbreak.
19818
b67a2c6f
YQ
198192014-06-27 Yao Qi <yao@codesourcery.com>
19820
19821 * gdb.multi/dummy-frame-restore.exp: New.
19822 * gdb.multi/dummy-frame-restore.c: New.
19823
aef92902
MM
198242014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19825
19826 * gdb.btrace/gcore.exp: New.
19827
8e9db26e
PA
198282014-06-23 Pedro Alves <palves@redhat.com>
19829
19830 * gdb.base/watchpoint-reuse-slot.c: New file.
19831 * gdb.base/watchpoint-reuse-slot.exp: New file.
19832
70afc5b7
SC
198332014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19834
19835 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19836 progspace's filename in 'info', 'enable' and 'disable' command
19837 tests.
19838
b972bd9c
JK
198392014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19840
19841 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19842 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19843 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19844
125f8a3d
GB
198452014-06-20 Gary Benson <gbenson@redhat.com>
19846
19847 * gdb.arch/i386-avx.exp: Fix include file location.
19848 * gdb.arch/i386-sse.exp: Likewise.
19849
3ed9baed
IB
198502014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19851
19852 * gdb.dlang/expression.exp: New file.
19853
034f788c
PA
198542014-06-19 Pedro Alves <palves@redhat.com>
19855
19856 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19857 out from ...
19858 (top level): ... here. Iterate running tests under different
19859 scheduler-locking settings.
19860
45371d0c
LM
198612014-06-18 Luis Machado <lgustavo@codesourcery.com>
19862
19863 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19864 to DW_FORM_addr and use non-zero addresses.
19865
5d376983
SC
198662014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19867
19868 PR gdb/17017
19869 * gdb.python/py-xmethods.cc: Add global function call counters and
19870 increment them in their respective functions. Remove "cout"
19871 statements.
19872 * gdb.python/py-xmethods.exp: Make tests check the global function
19873 call counters instead of depending on inferior IO.
19874
a1aa2221
LM
198752014-06-18 Don Breazeal <donb@codesourcery.com>
19876
19877 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19878 Deleted procedure.
19879 (explicit_fork_parent_follow): Deleted procedure.
19880 (explicit_fork_child_follow): Deleted procedure.
19881 (test_follow_fork): New procedure.
19882 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19883 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19884 procedure calls.
19885
0fc05997
YQ
198862014-06-17 Yao Qi <yao@codesourcery.com>
19887
19888 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19889 CP1252.
19890
70795c52
LM
198912014-06-17 Luis Machado <lgustavo@codesourcery.com>
19892
19893 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19894 Initialize ptr and S explicitly.
19895 (skip_type_update_when_not_use_rtti_test): Likewise.
19896
6be47f0c
KS
198972014-06-16 Keith Seitz <keiths@redhat.com>
19898
19899 PR mi/15863
19900 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19901 the inferior is started.
19902
d03de421
PA
199032014-06-16 Pedro Alves <palves@redhat.com>
19904
19905 * gdb.base/break-main-file-remove-fail.c: New file.
19906 * gdb.base/break-main-file-remove-fail.exp: New file.
19907 * gdb.base/break-unload-file.exp: Use build_executable instead of
19908 prepare_for_testing.
19909 (test_break): New parameter "initial_load". Handle it.
19910 (top level): Add initial_load cmdline/file axis.
19911
f9579b99
TT
199122014-06-12 Tom Tromey <tromey@redhat.com>
19913
19914 * gdb.base/completion.exp: Don't use directory name in test.
19915
3657956b
GB
199162014-06-09 Gary Benson <gbenson@redhat.com>
19917
19918 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19919 separate the always-available ANSI-standard signals from the
19920 signals that require checking.
19921 (main): Likewise.
19922 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19923 Likewise.
19924 (main): Likewise.
19925
4186eb54
KS
199262014-06-07 Keith Seitz <keiths@redhat.com>
19927
19928 Revert:
19929 PR c++/16253
19930 * gdb.cp/var-tag.cc: New file.
19931 * gdb.cp/var-tag.exp: New file.
19932 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19933 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19934 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19935 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19936
25326a28 199372014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19938
19939 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19940
829155c9
PA
199412014-06-06 Pedro Alves <palves@redhat.com>
19942
19943 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19944 in target debug output instead of looking at RSP packets,
19945 disabling the test on any target that uses hardware stepping.
19946 Update comments.
19947
61c8d22e
PA
199482014-06-06 Pedro Alves <palves@redhat.com>
19949
19950 * gdb.base/break-unload-file.exp: Fix typo.
19951
d9a47287
YQ
199522014-06-06 Yao Qi <yao@codesourcery.com>
19953
19954 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19955 from "jit_function" to "^jit_function".
19956
e5e01dbf
YQ
199572014-06-06 Yao Qi <yao@codesourcery.com>
19958
19959 * gdb.base/async.c (foo): Add one statement.
19960 * gdb.base/async.exp: Get the next instruction address and
19961 match the output of "nexti" by instruction address. Match
19962 the hex address in the output of "finish".
19963
73ba372c
GB
199642014-06-06 Gary Benson <gbenson@redhat.com>
19965
19966 * gdb.base/call-signals.c: Remove preprocessor conditionals
19967 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19968 SIGSEGV and SIGTERM.
19969 * gdb.base/sigall.c: Likewise.
19970 * gdb.base/unwindonsignal.c: Likewise.
19971 * gdb.reverse/sigall-reverse.c: Likewise.
19972
831517df
YQ
199732014-06-06 Yao Qi <yao@codesourcery.com>
19974
19975 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19976 readable, skip the test.
19977
b8b91e98
YQ
199782014-06-06 Yao Qi <yao@codesourcery.com>
19979
19980 * gdb.threads/staticthreads.c (thread_function): Move the line
19981 setting breakpoint on forward.
19982 * gdb.threads/staticthreads.exp: Update comments.
19983
fb934770
LC
199842014-06-05 Ludovic Courtès <ludo@gnu.org>
19985
19986 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19987 "history-append! type error".
19988
6ef284bd
SM
199892014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19990
19991 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19992 erroneous dprintf expected input.
19993
a872e241
DE
199942014-06-04 Doug Evans <xdje42@gmail.com>
19995
19996 * gdb.guile/scm-generics.exp: Delete.
19997
16f691fb
DE
199982014-06-04 Doug Evans <xdje42@gmail.com>
19999
20000 * gdb.guile/scm-breakpoint.exp: Update.
20001 Add tests for breakpoint registration.
20002
012370f6
TT
200032014-06-04 Tom Tromey <tromey@redhat.com>
20004
20005 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20006 VLA-in-union.
20007 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20008 inner_vla_struct, vla_union types. Initialize objects of those
20009 types and compute their sizes.
20010
9f5a4cef
HZ
200112014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20012 Hui Zhu <hui@codesourcery.com>
20013
20014 * gdb.base/fileio.exp: Add test for shell not available as well as
20015 available.
20016 * gdb.base/fileio.c (test_system): Check for shell twice.
20017
90a45c4d
YQ
200182014-06-04 Yao Qi <yao@codesourcery.com>
20019
20020 * gdb.base/auto-connect-native-target.exp: Remove redundant
20021 space from the regexp pattern.
20022
70017e41
YQ
200232014-06-04 Yao Qi <yao@codesourcery.com>
20024
20025 * gdb.base/default.exp: Replace "child" with "native" in
20026 regexp pattern.
20027
883964a7
SC
200282014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20029
20030 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20031 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20032 * gdb.python/py-xmethods.py: Python script supporting the
20033 new testcase and tests.
20034
ef370185
JB
200352014-06-03 Joel Brobecker <brobecker@adacore.com>
20036 Pedro Alves <palves@redhat.com>
20037
20038 PR breakpoints/17000
20039 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20040 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20041
1e2ccb61
BM
200422014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20043
20044 * gdb.base/subst.exp: Add tests to verify partial path matching
20045 output.
20046
c6ec5ab2
PA
200472014-06-03 Pedro Alves <palves@redhat.com>
20048
20049 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20050 target that doesn't use software single-stepping.
20051
835c559f
PA
200522014-06-03 Pedro Alves <palves@redhat.com>
20053
20054 PR breakpoints/17000
20055 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20056 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20057
06eb1586
DE
200582014-06-02 Doug Evans <xdje42@gmail.com>
20059
20060 * gdb.guile/scm-parameter.exp: New file.
20061
e698b8c4
DE
200622014-06-02 Doug Evans <xdje42@gmail.com>
20063
20064 * gdb.guile/scm-cmd.c: New file.
20065 * gdb.guile/scm-cmd.exp: New file.
20066
ded03782
DE
200672014-06-02 Doug Evans <xdje42@gmail.com>
20068
20069 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20070 pretty-printer lookup.
20071 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20072 (make-pp_s-printer): Call it.
20073 (make-pretty-printer-from-dict): New function.
20074 (lookup-pretty-printer-maker-from-dict): New function.
20075 (*pretty-printer*): Simplify.
20076 (make-objfile-pp_s-printer): New function.
20077 (install-objfile-pretty-printers!): New function.
20078 (make-progspace-pp_s-printer): New function.
20079 (install-progspace-pretty-printers!): New function.
20080 * gdb.guile/scm-progspace.c: New file.
20081 * gdb.guile/scm-progspace.exp: New file.
20082
41fac0cf
PA
200832014-06-02 Pedro Alves <palves@redhat.com>
20084
20085 * gdb.base/dprintf-bp-same-addr.c: New file.
20086 * gdb.base/dprintf-bp-same-addr.exp: New file.
20087
96ae5695
EBM
200882014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20089
20090 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20091 * gdb.arch/powerpc-power.s: Likewise.
20092
da02b3a8
JB
200932014-06-02 Joel Brobecker <brobecker@adacore.com>
20094
20095 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20096
c72b2e7b
YQ
200972014-06-01 Yao Qi <yao@codesourcery.com>
20098
20099 * gdb.base/watchpoint.exp (test_watch_location): Check null
20100 pointer can be dereferenced. If not, do the test, otherwise
20101 skip it.
20102
53e8a631
AB
201032014-05-30 Andrew Burgess <aburgess@broadcom.com>
20104
20105 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20106 results.
20107 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20108
938f0e2f
AB
201092014-05-30 Andrew Burgess <aburgess@broadcom.com>
20110
20111 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20112 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20113 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20114 * gdb.arch/amd64-invalid-stack-top.c: New file.
20115 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20116
9ba6657a
PA
201172014-05-30 Pedro Alves <palves@redhat.com>
20118
20119 PR breakpoints/17000
20120 * gdb.base/sss-bp-on-user-bp.c: New file.
20121 * gdb.base/sss-bp-on-user-bp.exp: New file.
20122
522c09bf
DB
201232014-05-30 David Blaikie <dblaikie@gmail.com>
20124
20125 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20126 gnu_inline semantics via attribute.
20127 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20128 source explicitly specifies the required semantics.
20129
bf4ef81e
MR
201302014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20131
20132 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20133
329ea579
PA
201342014-05-29 Pedro Alves <palves@redhat.com>
20135 Tom Tromey <tromey@redhat.com>
20136
20137 * gdb.base/async-shell.exp: Don't enable target-async.
20138 * gdb.base/async.exp
20139 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20140 parameter. Adjust.
20141 (top level): Don't test with "target-async".
20142 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20143 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20144 * gdb.base/inferior-died.exp: Don't enable target-async.
20145 * gdb.base/interrupt-noterm.exp: Likewise.
20146 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20147 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20148 * gdb.mi/mi-nonstop.exp: Likewise.
20149 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20150 * gdb.mi/mi-nsintrall.exp: Likewise.
20151 * gdb.mi/mi-nsmoribund.exp: Likewise.
20152 * gdb.mi/mi-nsthrexec.exp: Likewise.
20153 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20154 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20155 * gdb.python/py-evsignal.exp: Don't enable target-async.
20156 * gdb.python/py-evthreads.exp: Likewise.
20157 * gdb.python/py-prompt.exp: Likewise.
20158 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20159 * gdb.server/solib-list.exp: Don't enable target-async.
20160 * gdb.threads/thread-specific-bp.exp: Likewise.
20161 * lib/mi-support.exp: Adjust to use mi-async.
20162
fd664c91
PA
201632014-05-29 Pedro Alves <palves@redhat.com>
20164
20165 PR gdb/13860
20166 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20167 reason, even in sync mode.
20168
251bde03
PA
201692014-05-29 Pedro Alves <palves@redhat.com>
20170 Hui Zhu <hui@codesourcery.com>
20171
20172 PR PR15693
20173 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20174 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20175 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20176 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20177
7f3c0343
JB
201782014-05-28 Joel Brobecker <brobecker@adacore.com>
20179
20180 * config/monitor.exp (gdb_target_monitor): Replace use of
20181 "set remotebaud" by "set serial baud".
20182
b2715b27
AW
201832014-05-26 Andy Wingo <wingo@igalia.com>
20184
20185 * gdb.guile/scm-breakpoint.exp:
20186 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20187 properties instead of gdb-object-properties.
20188
498a4489
YQ
201892014-05-26 Yao Qi <yao@codesourcery.com>
20190
20191 * gdb.server/no-thread-db.exp: Specify source file name
20192 explicitly when setting a breakpoint.
20193
589fdceb
MM
201942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20195
20196 * gdb.btrace/vdso.c: New.
20197 * gdb.btrace/vdso.exp: New.
20198
e9089e05
MM
201992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20200
20201 * gdb.base/gcore.exp (capture_command_output): Move ...
20202 * lib/gdb.exp (capture_command_output): ... here.
20203
67b5c0c1
MM
202042014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20205
20206 * gdb.btrace/data.exp: Test memory access during btrace replay.
20207
a2199296
SM
202082014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20209
20210 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20211
17b2616c
PA
202122014-05-21 Pedro Alves <palves@redhat.com>
20213
20214 PR gdb/13860
20215 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20216 (top level): Test that output related to execution commands is
20217 sent to the console with CLI commands, but not with MI commands.
20218 Test that breakpoint events are always mirrored to the console.
20219 Also expect the new source line to be output after a "next" in
20220 async mode too. Make it a pass/fail test.
20221 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20222 output.
20223 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20224
5166082f
PA
202252014-05-21 Pedro Alves <palves@redhat.com>
20226
20227 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20228 Use them to test variations of "list" after reaching a breakpoint.
20229 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20230 Test "list" with listsize 10 after reaching a breakpoint.
20231 * gdb.python/python.exp (decode_line current location line
20232 number): Adjust expected line number.
20233
2f25d70f
SM
202342014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20235
20236 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20237 behavior for $args, pass it directly to "run".
20238
ff604a67
MR
202392014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20240
20241 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20242 30000 to 65536.
20243
6a3cb8e8
PA
202442014-05-21 Pedro Alves <palves@redhat.com>
20245
20246 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20247 auto-connect-native-target off".
20248 * gdb.base/auto-connect-native-target.c: New file.
20249 * gdb.base/auto-connect-native-target.exp: New file.
20250
4ebfc96e
PA
202512014-05-21 Pedro Alves <palves@redhat.com>
20252
20253 * gdb.base/default.exp: Test "target native" instead of "target
20254 child".
20255
36d46afb
MW
202562014-05-21 Mark Wielaard <mjw@redhat.com>
20257
20258 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20259
5876f503
JK
202602014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20261
20262 Fix TLS access for -static -pthread.
20263 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20264 <HAVE_TLS> (thread_function, main): Initialize it.
20265 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20266 Add clean_restart.
20267 <$have_tls != "">: Check TLSVAR.
20268
0256a6ac
PA
202692014-05-21 Pedro Alves <palves@redhat.com>
20270
20271 * gdb.base/dcache-line-read-error.c: New.
20272 * gdb.base/dcache-line-read-error.exp: New.
20273
936d2992
PA
202742014-05-20 Pedro Alves <palves@redhat.com>
20275
20276 * gdb.base/compare-sections.c: New file.
20277 * gdb.base/compare-sections.exp: New file.
20278
802e8e6d
PA
202792014-05-20 Pedro Alves <palves@redhat.com>
20280
20281 * gdb.base/break-idempotent.c: New file.
20282 * gdb.base/break-idempotent.exp: New file.
20283
e59fa00f
MM
202842014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20285
20286 * gdb.btrace/nohist.exp: New.
20287
8b696e31
YQ
202882014-05-20 Yao Qi <yao@codesourcery.com>
20289
20290 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20291 gdb.reverse directory and gdb_reverse_timeout exists in board
20292 setting.
20293 * README: Document gdb_reverse_timeout.
20294
73c9764f
YQ
202952014-05-20 Yao Qi <yao@codesourcery.com>
20296
20297 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20298 'test_file_name'. Treat args as a string instead of a list.
20299 (gdb_init): Rename argument 'args' by 'test_file_name'.
20300
f1f4348a
JK
203012014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20302
20303 * gdb.arch/powerpc-power.exp: New file.
20304 * gdb.arch/powerpc-power.s: New file.
20305
0dbe70ce
DE
203062014-05-16 Doug Evans <dje@google.com>
20307
20308 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20309 * gdb.base/completion.exp: Check that all expected files exist
20310 before doing file completion.
0dbe70ce 20311
8d551b02
DE
203122014-05-16 Doug Evans <dje@google.com>
20313
20314 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20315 Update.
20316 (do_syscall_tests_without_xml): Update.
20317
73eb7709
PA
203182014-05-16 Pedro Alves <palves@redhat.com>
20319
20320 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20321 instead of "unknown output after running".
20322
3fae92fc
YQ
203232014-05-16 Yao Qi <yao@codesourcery.com>
20324
20325 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20326 file1.txt from host at the end.
20327 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20328
c2b2ccc5
DE
203292014-05-15 Doug Evans <dje@google.com>
20330
20331 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20332 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20333 loading file. Add test for TU lookup.
20334
8c217a4b
SM
203352014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20336
20337 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20338 calling "-exec-arguments" or "set args" before running the
20339 inferior.
20340
3deb39c6
SM
203412014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20342
20343 * lib/mi-support.exp (mi_expect_stop): Expect message for
20344 inferiors that exit with non-zero exit code.
20345
71a79f8c
YQ
203462014-05-14 Yao Qi <yao@codesourcery.com>
20347
20348 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20349 match absolute path on remote host.
20350 (test_file_list_exec_source_files): Remove "/" from the
20351 pattern.
20352
f23fcd46
YQ
203532014-05-14 Yao Qi <yao@codesourcery.com>
20354
20355 * boards/local-remote-host-notty.exp (${board}_file): New
20356 proc.
20357
9404b58f
KM
203582014-05-07 Kyle McMartin <kyle@redhat.com>
20359
20360 Pushed by Joel Brobecker <brobecker@adacore.com>.
20361 * gdb.arch/aarch64-atomic-inst.c: New file.
20362 * gdb.arch/aarch64-atomic-inst.exp: New file.
20363
5e45f04c
YQ
203642014-05-07 Yao Qi <yao@codesourcery.com>
20365
20366 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20367 in current context" too.
20368
c888a17d
KS
203692014-05-05 Keith Seitz <keiths@redhat.com>
20370
20371 * gdb.linespec/ls-dollar.exp: Add test for linespec
20372 file:convenience_variable.
20373
290a839c
YQ
203742014-05-05 Yao Qi <yao@codesourcery.com>
20375
20376 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20377 traceframes into tfile and ctf trace files. Read data from
20378 trace file and test collected data.
20379 (gdb_collect_locals_test): Likewise.
20380 (gdb_unavailable_registers_test): Likewise.
20381 (gdb_unavailable_floats): Likewise.
20382 (gdb_collect_globals_test): Likewise.
20383 (top-level): Append "ctf" to trace_file_targets if GDB
20384 supports.
20385
b5262cd0
YQ
203862014-05-05 Yao Qi <yao@codesourcery.com>
20387
20388 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20389 code to ...
20390 (gdb_collect_args_test_1): ... it. New proc.
20391 (gdb_collect_locals_test): Move some code to ...
20392 (gdb_collect_locals_test_1): ... it. New proc.
20393 (gdb_unavailable_registers_test): Move some code to ...
20394 (gdb_unavailable_registers_test_1): ... it. New proc.
20395 (gdb_unavailable_floats): Move some code to ...
20396 (gdb_unavailable_floats_1): ... it. New proc.
20397
30a1e6cc
SDJ
203982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20399
20400 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20401 probes to test for bitness recognition.
20402 * gdb.arch/amd64-stap-optional-prefix.exp
20403 (test_probe_value_without_reg): New procedure.
20404 Add code to test for different kinds of bitness.
20405
f33da99a
SDJ
204062014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20407
20408 PR breakpoints/16889
20409 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20410 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20411
5b80f00d
PA
204122014-05-01 Pedro Alves <palves@redhat.com>
20413
20414 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20415 gdb_file_cmd if no file is specified.
20416 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20417 last_loaded_file to set the remote exec-file.
20418
f8c2a73c
PA
204192014-05-01 Pedro Alves <palves@redhat.com>
20420
20421 * boards/local-remote-host.exp: New file.
20422
be6e8ac7
PA
204232014-05-01 Pedro Alves <palves@redhat.com>
20424
20425 * boards/local-remote-host.exp: Rename to ...
20426 * boards/local-remote-host-notty.exp: ... this.
20427
cac0dc8f
JB
204282014-04-28 Joel Brobecker <brobecker@adacore.com>
20429
20430 * gdb.ada/dyn_arrayidx: New testcase.
20431
9730e6cc
YQ
204322014-04-26 Yao Qi <yao@codesourcery.com>
20433
20434 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20435 and compute the length of function main. Save it in
20436 $main_length.
20437 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20438 (top-level): Use gdb_compile to compile objects into
20439 executable and restart GDB. Remove invocation to
20440 prepare_for_testing.
20441
7ae1a6a6
PA
204422014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20443 Pedro Alves <palves@redhat.com>
20444
20445 PR server/16255
20446 * gdb.multi/multi-attach.c: New file.
20447 * gdb.multi/multi-attach.exp: New file.
20448
4082afcc
PA
204492014-04-25 Pedro Alves <palves@redhat.com>
20450
20451 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20452 user.
20453 (top level): Test that "set remote conditional-breakpoints-packet
20454 off" works as intended.
20455 * gdb.base/dprintf.exp: Test that "set remote
20456 breakpoint-commands-packet off" works as intended.
20457 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20458 New function.
20459 (top level): Call it.
20460 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20461 remote fast-tracepoints-packet off" works as intended.
20462 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20463 * lib/gdb.exp (gdb_is_target_remote): ... here.
20464
2abc3f8d
DB
204652014-04-24 David Blaikie <dblaikie@gmail.com>
20466
20467 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20468 ensure clang would not discard them.
20469 * gdb.base/gdbvars.c: Ditto.
20470 * gdb.base/memattr.c: Ditto.
20471 * gdb.base/whatis.c: Ditto.
20472 * gdb.python/py-prettyprint.c: Ditto.
20473 * gdb.trace/actions.c: Ditto.
20474 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20475 ensure clang would not discard it.
20476
bfd39632
DB
204772014-04-24 David Blaikie <dblaikie@gmail.com>
20478
20479 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20480 clang to emit the full definition of type required by the test
20481 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20482
22842ff6
DB
204832014-04-24 David Blaikie <dblaikie@gmail.com>
20484
20485 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20486 coax Clang into emitting the definition of the type.
20487 * gdb.cp/pr10728-x.h (y): Ditto.
20488 * gdb.cp/pr10728-y.cc (y): Ditto.
20489
c2e827ad
DB
204902014-04-24 David Blaikie <dblaikie@gmail.com>
20491
20492 * gdb.base/label.exp: XFAIL label related tests under Clang.
20493 * gdb.cp/cplabel.exp: Ditto.
20494 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20495 under Clang those using labels.
20496
4c2d33e7
YQ
204972014-04-25 Yao Qi <yao@codesourcery.com>
20498
20499 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20500 double_label.
20501 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20502 partial_label and double_label.
20503
56083b99
DB
205042014-04-24 David Blaikie <dblaikie@gmail.com>
20505
20506 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20507
25d4e99d
DB
205082014-04-24 David Blaikie <dblaikie@gmail.com>
20509
20510 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20511 of the function to work across GCC and Clang.
20512 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20513 pointer types (const void ** const V void **).
20514
01f9f808
MS
205152014-04-24 Michael Sturm <michael.sturm@mintel.com>
20516 Walfred Tedeschi <walfred.tedeschi@intel.com>
20517
20518 * Makefile.in (EXECUTABLES): Added i386-avx512.
20519 * gdb.arch/i386-avx512.c: New file.
20520 * gdb.arch/i386-avx512.exp: Likewise.
20521
4b48d439
KS
205222014-04-23 Keith Seitz <keiths@redhat.com>
20523
20524 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20525 (mi_make_breakpoint_table): New procedure.
20526 (mi_create_breakpoint): Use mi_make_breakpoint
20527 and return the result.
20528 (mi_make_breakpoint): New procedure.
20529 (mi_build_kv_pairs): New procedure.
20530
20531 * gdb.mi/mi-break.exp: Remove unused globals,
20532 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20533 All callers updated.
20534 * gdb.mi/mi-dprintf.exp: Use variable to track command
20535 number.
20536 Update all callers of mi_create_breakpoint and use
20537 mi_make_breakpoint_table.
20538 Remove any unused global variables.
20539 * gdb.mi/mi-nonstop.exp: Likewise.
20540 * gdb.mi/mi-nsintrall.exp: Likewise.
20541 * gdb.mi/mi-nsmoribund.exp: Likewise.
20542 * gdb.mi/mi-nsthrexec.exp: Likewise.
20543 * gdb.mi/mi-reverse.exp: Likewise.
20544 * gdb.mi/mi-simplerun.exp: Likewise.
20545 * gdb.mi/mi-stepn.exp: Likewise.
20546 * gdb.mi/mi-syn-frame.exp: Likewise.
20547 * gdb.mi/mi-until.exp: Likewise.
20548 * gdb.mi/mi-var-cp.exp: Likewise.
20549 * gdb.mi/mi-var-display.exp: Likewise.
20550 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20551 * gdb.mi/mi2-var-child.exp: Likewise.
20552 * gdb.mi/mi-vla-c99.exp: Likewise.
20553 * lib/mi-support.exp: Likewise.
20554
20555 From Ian Lance Taylor <iant@cygnus.com>:
20556 * lib/gdb.exp (parse_args): New procedure.
20557
08351840
PA
205582014-04-23 Pedro Alves <palves@redhat.com>
20559
20560 * gdb.base/break-unload-file.c: New file.
20561 * gdb.base/break-unload-file.exp: New file.
20562 * gdb.base/sym-file-lib.c (baz): New function.
20563 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20564 field.
20565 (load): Store the segment's mapped size.
20566 (unload): New function.
20567 (unload_shlib): New function.
20568 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20569 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20570 set a breakpoint at baz, and call it.
20571 * gdb.base/sym-file.exp: New tests for stale breakpoint
20572 instructions.
20573
076855f9
PA
205742014-04-23 Pedro Alves <palves@redhat.com>
20575
20576 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20577 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20578 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20579 * gdb.base/hbreak-unmapped.c: New file.
20580 * gdb.base/hbreak-unmapped.exp: New file.
20581 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20582 * lib/gdb.exp (gdb_is_target_remote): ... here.
20583
483805cf
PA
205842014-04-22 Pedro Alves <palves@redhat.com>
20585
20586 * gdb.base/consecutive-step-over.c: New file.
20587 * gdb.base/consecutive-step-over.exp: New file.
20588
06d97543
PA
205892014-04-22 Pedro Alves <palves@redhat.com>
20590
20591 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20592 instead of send_gdb/gdb_expect.
20593
b4429ea2
YQ
205942014-04-22 Yao Qi <yao@codesourcery.com>
20595
20596 * lib/trace-support.exp (generate_tracefile): New procedure.
20597 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20598 return 0.
20599 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20600 if generate_tracefile returns 1.
20601
51d48146
PA
206022014-04-18 Tom Tromey <palves@redhat.com>
20603 Pedro alves <tromey@redhat.com>
20604
20605 PR backtrace/15558
20606 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20607 with a backtrace limit.
20608 * gdb.python/py-frame-inline.exp: Test running to an inline
20609 function with a backtrace limit, and printing the newest frame.
20610 * gdb.python/py-frame-inline.c (main): Call f.
20611
bd1dce5f
MS
206122014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20613
20614 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20615
40d1a503
MS
206162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20617
20618 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20619 Drop prefix from unsupported source file path.
20620
389b98f7
YQ
206212014-04-17 Yao Qi <yao@codesourcery.com>
20622
20623 * lib/gdb.exp (with_target_charset): New proc.
20624 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20625 with_target_charset.
20626 (test_print_strings): Likewise.
20627 (test_repeat_bytes): Likewise.
20628 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20629 for some tests.
20630
22869d73
KS
206312014-04-16 Keith Seitz <keiths@redhat.com>
20632
20633 PR gdb/15827
20634 * gdb.dwarf2/corrupt.c: New file.
20635 * gdb.dwarf2/corrupt.exp: New file.
20636
c4f87ca6
KS
206372014-04-16 Keith Seitz <keiths@redhat.com>
20638
20639 PR c++/16597
20640 * gdb.cp/namelessclass.cc: New file.
20641 * gdb.cp/namelessclass.exp: New file.
20642 * gdb.cp/namelessclass.S: New file.
20643
ab19de87
DE
206442014-04-16 Doug Evans <dje@google.com>
20645
20646 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20647 Add comment.
20648 (gdbserver_default_get_comm_port): New function.
20649 (gdbserver_start): Check if board file provided
20650 "gdbserver,get_comm_port" and use it if so.
20651 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20652 (gdb,socketport): Set to "stdio".
20653 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20654 (stdio_gdbserver_template): Delete.
20655 (${board}_get_remote_address): Update.
20656 (${board}_build_remote_cmd): Delete.
20657 (${board}_get_comm_port): New function.
20658 (${board}_spawn): Update.
20659 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20660 Delete.
20661 (${board}_get_remote_address): Update.
20662 (${board}_get_comm_port): New function.
20663
fc98a809
AB
206642014-04-16 Andrew Burgess <aburgess@broadcom.com>
20665
20666 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20667 appearing in any order.
20668
87fd9e6e
DE
206692014-04-15 Doug Evans <dje@google.com>
20670
20671 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20672 uninitialized value of "description".
20673
099fc3ea
KS
206742014-04-15 Keith Seitz <keiths@redhat.com>
20675
20676 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20677 Remove unused globals.
20678 (test_running_the_program): Likewise.
20679 (test_controlled_execution): Likewise.
20680 (test_controlling_breakpoints): Likewise.
20681 (test_program_termination): Likewise.
20682
5da151d4
KS
206832014-04-15 Keith Seitz <keiths@redhat.com>
20684
20685 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20686 unused globals.
20687 (test_rbreak_creation_and_listing): Likewise.
20688 (test_ignore_count): Likewise.
20689 (test_error): Likewise.
20690
35e5d2f0
PA
206912014-04-15 Pedro Alves <palves@redhat.com>
20692
20693 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20694 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20695 sym-file-loader.c.
20696 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20697 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20698 to sym-file-loader.c.
20699 (struct library): Forward declare.
20700 (load_shlib, lookup_function): Change prototypes.
20701 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20702 (translate_offset): Remove declarations.
20703 (get_text_addr): New declaration.
20704 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20705 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20706 sym-file-loader.h.
20707 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20708 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20709 here from sym-file-loader.h.
20710 (struct library): New structure.
20711 (load_shlib, lookup_function): Change prototypes and adjust to
20712 work with a struct library.
20713 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20714 (translate_offset): Make static.
20715 (get_text_addr): New function.
20716 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20717
eb4c1710
PA
207182014-04-15 Pedro Alves <palves@redhat.com>
20719
20720 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20721
2d1baf52
PA
207222014-04-15 Pedro Alves <palves@redhat.com>
20723
20724 * gdb.base/sym-file-loader.c: Include <limits.h>.
20725 (SELF_LINK): New define.
20726 (get_origin): New function.
20727 (load_shlib): Use it.
20728 * gdb.base/sym-file.exp: Don't early return if the target is
20729 remote. Use runto_main, and issue fail is that fails. Use
20730 gdb_load_shlibs.
20731 (shlib_name): Delete.
20732 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20733
7dd6df01
PA
207342014-04-15 Pedro Alves <palves@redhat.com>
20735
20736 * gdb.base/sym-file.exp: Remove regex characters from test
20737 message. Don't refer to breakpoint numbers in test messages.
20738
b50c8614
KS
207392014-04-14 Keith Seitz <keiths@redhat.com>
20740
20741 PR c++/16253
20742 * gdb.cp/var-tag.cc: New file.
20743 * gdb.cp/var-tag.exp: New file.
20744 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20745 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20746 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20747 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20748
3d567982
TT
207492014-04-14 Tom Tromey <tromey@redhat.com>
20750
20751 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20752 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20753 type.
20754 * gdb.cp/enum-class.exp: New file.
20755 * gdb.cp/enum-class.cc: New file.
20756
0626fc76
TT
207572014-04-14 Tom Tromey <tromey@redhat.com>
20758
20759 * gdb.dwarf2/enum-type.exp: New file.
20760
dca325b3
SA
207612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20762
20763 * gdb.mi/mi-vla-c99.exp: New file.
20764 * gdb.mi/vla.c: New file.
20765
5854b38a
SA
207662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20767
20768 * gdb.base/vla-datatypes.c: New file.
20769 * gdb.base/vla-datatypes.exp: New file.
20770
463bb957
SA
207712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20772
20773 * gdb.base/vla-ptr.c: New file.
20774 * gdb.base/vla-ptr.exp: New file.
20775
3dd170be
SA
207762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20777
20778 * gdb.dwarf2/count.exp: New file.
20779
5ecaaa66
SA
207802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20781
20782 * gdb.base/vla-sideeffect.c: New file.
20783 * gdb.base/vla-sideeffect.exp: New file.
20784
41f1ada5
DB
207852014-04-14 David Blaikie <dblaikie@gmail.com>
20786
20787 * gdb.mi/non-stop.c: Add return value for non-void function return
20788 statement.
20789 * gdb.threads/staticthreads.c: Ditto.
20790
0be03e84
DE
207912014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20792 Doug Evans <xdje42@gmail.com>
20793
20794 * gdb.guile/scm-value.c: Improve test case.
20795 * gdb.guile/scm-value.exp: Add new test.
20796
f180a1fb
DB
207972014-04-11 David Blaikie <dblaikie@gmail.com>
20798
20799 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20800 override Clang's default.
20801
6b662e19
JB
208022014-04-11 Joel Brobecker <brobecker@adacore.com>
20803
20804 Revert the following changes (regressions):
20805
20806 * gdb.base/vla-sideeffect.c: New file.
20807 * gdb.base/vla-sideeffect.exp: New file.
20808
20809 * gdb.dwarf2/count.exp: New file.
20810
20811 * gdb.base/vla-multi.c: New file.
20812 * gdb.base/vla-multi.exp: New file.
20813
20814 * gdb.base/vla-ptr.c: New file.
20815 * gdb.base/vla-ptr.exp: New file.
20816
20817 * gdb.base/vla-datatypes.c: New file.
20818 * gdb.base/vla-datatypes.exp: New file.
20819
20820 * gdb.mi/mi-vla-c99.exp: New file.
20821 * gdb.mi/vla.c: New file.
20822
245a5f0b
KS
208232014-04-11 Keith Seitz <keiths@redhat.com>
20824
20825 PR c++/16675
20826 * gdb.cp/cpsizeof.exp: New file.
20827 * gdb.cp/cpsizeof.cc: New file.
20828
58a84dcf
SA
208292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20830
191a8a90
JB
20831 * gdb.mi/mi-vla-c99.exp: New file.
20832 * gdb.mi/vla.c: New file.
58a84dcf 20833
c8655f75
SA
208342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20835
20836 * gdb.base/vla-datatypes.c: New file.
20837 * gdb.base/vla-datatypes.exp: New file.
20838
024e13b4
SA
208392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20840
20841 * gdb.base/vla-ptr.c: New file.
20842 * gdb.base/vla-ptr.exp: New file.
20843
1a237e0e
SA
208442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20845
20846 * gdb.base/vla-multi.c: New file.
20847 * gdb.base/vla-multi.exp: New file.
20848
504f3432
SA
208492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20850
20851 * gdb.dwarf2/count.exp: New file.
20852
3bce8237
SA
208532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20854
191a8a90
JB
20855 * gdb.base/vla-sideeffect.c: New file.
20856 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20857
322f9c21
YQ
208582014-04-11 Yao Qi <yao@codesourcery.com>
20859
20860 * gdb.base/completion.exp: Check file exists before running tests
20861 on file completion.
20862
d708bcd1
PA
208632014-04-10 Pedro Alves <palves@redhat.com>
20864
20865 * gdb.base/cond-eval-mode.c: New file.
20866 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20867 prepare_for_testing to build the new file. Check result of
20868 runto_main.
20869 (test_break, test_watch): New procedures.
20870 (top level): Use them.
20871
ae1d2761
PM
208722014-04-08 Pierre Muller <muller@sourceware.org>
20873
20874 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20875 Ctrl-V use for mingw hosts.
20876
7af389b8
SC
208772014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20878
20879 * gdb.python/py-value.c: Improve test case.
20880 * gdb.python/py-value.exp: Add new test.
20881
5e703181
DE
208822014-04-07 David Blaikie <dblaikie@gmail.com>
20883
20884 * lib/compiler.c: Identify the clang compiler.
20885 * lib/compiler.cc: Ditto.
20886
9810b410
YQ
208872014-04-03 Yao Qi <yao@codesourcery.com>
20888
20889 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20890
98d1b8dc
AB
208912014-04-01 Anton Blanchard <anton@samba.org>
20892
20893 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20894 messages unique.
20895
3114cea1
AB
208962014-04-01 Anton Blanchard <anton@samba.org>
20897
20898 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20899 prepare_for_testing.
20900
62f7182c
AB
209012014-04-01 Anton Blanchard <anton@samba.org>
20902
20903 * gdb.arch/ppc64-atomic-inst.c: Remove.
20904 * gdb.arch/ppc64-atomic-inst.S: New file.
20905 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20906
770e7fc7
DE
209072014-03-31 Doug Evans <dje@google.com>
20908
20909 * gdb.base/print-symbol-loading-lib.c: New file.
20910 * gdb.base/print-symbol-loading-main.c: New file.
20911 * gdb.base/print-symbol-loading.exp: New file.
20912
46e2bafa
YQ
209132014-03-31 Yao Qi <yao@codesourcery.com>
20914
20915 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20916
8776cfe9
JB
209172014-03-28 Joel Brobecker <brobecker@adacore.com>
20918
20919 * gdb.ada/mi_dyn_arr: New testcase.
20920
5d1ef361
DE
209212014-03-27 Doug Evans <dje@google.com>
20922
20923 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20924
b5bee914
YQ
209252014-03-27 Yao Qi <yao@codesourcery.com>
20926
20927 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20928 if target is nios2-*-*.
20929
0d4d0e77
YQ
209302014-03-26 Yao Qi <yao@codesourcery.com>
20931
20932 * lib/gdb.exp (readline_is_used): New proc.
20933 * gdb.base/completion.exp: Move tests on command complete up.
20934 Skip the rest of tests if readline is not used.
20935 * gdb.ada/complete.exp: Skp the test if readline is not
20936 used.
20937 * gdb.base/filesym.exp: Likewise.
20938 * gdb.base/macscp.exp: Likewise.
20939 * gdb.base/readline-ask.exp: Likewise.
20940 * gdb.base/readline.exp: Likewise.
20941 * gdb.python/py-cmd.exp: Likewise.
20942 * gdb.trace/tfile.exp: Likewise.
20943
29361eee
YQ
209442014-03-26 Yao Qi <yao@codesourcery.com>
20945
20946 * gdb.base/macscp.exp: Fix code format issues.
20947
bc9a5525
UW
209482014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20949
20950 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20951 * gdb.asm/powerpc64le.inc: New file.
20952
d3839ede
PA
209532014-03-25 Pedro Alves <palves@redhat.com>
20954 Doug Evans <dje@google.com>
20955
20956 * gdb.base/source-execution.c: New file.
20957 * gdb.base/source-execution.exp: New file.
20958 * gdb.base/source-execution.gdb: New file.
20959
01672a57
DE
209602014-03-24 Doug Evans <dje@google.com>
20961
20962 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20963 using fission.
20964
88bbeca9
HZ
209652014-03-24 Hui Zhu <hui@codesourcery.com>
20966 Pedro Alves <palves@redhat.com>
20967
20968 PR breakpoints/16101
20969 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20970 test pass/fail messages. Detect missing support for dprintf when
20971 breakpoints are actually inserted.
20972 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20973 breakpoints are actually inserted.
20974 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20975 fails.
20976
d2348791
JK
209772014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20978
20979 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20980
feef67ab
DE
209812014-03-22 Doug Evans <xdje42@gmail.com>
20982
20983 * gdb.python/python.exp (python not supported): Verify multi-line
20984 python command issues an error.
25d743f9 20985 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20986 guile command issues an error.
feef67ab 20987
ecebef6a
MR
209882014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20989
20990 * gdb.threads/thread-specific.exp: Handle the lack of usable
20991 $this_breakpoint and $this_thread.
20992
ccdd1909
HZ
209932014-03-21 Hui Zhu <hui@codesourcery.com>
20994
20995 * gdb.base/attach.exp (do_command_attach_tests): New.
20996
beb460e8
PA
209972014-03-20 Tom Tromey <tromey@redhat.com>
20998 Pedro Alves <palves@redhat.com>
20999
21000 PR cli/15718
21001 * gdb.base/condbreak-call-false.c: New file.
21002 * gdb.base/condbreak-call-false.exp: New file.
21003
40acf43a
PA
210042014-03-20 Pedro Alves <palves@redhat.com>
21005
21006 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21007 Delete.
21008 (block_signals, unblock_signals): Delete.
21009 (child_function_2, main): Remove references to deleted variable
21010 and functions.
21011
9f5e1e02
PA
210122014-03-20 Pedro Alves <palves@redhat.com>
21013
21014 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21015 Use pthread_kill to signal thread 2.
21016 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21017 Adjust to make the test send itself a signal rather than using the
21018 host's "kill" command.
21019
99619bea
PA
210202014-03-20 Pedro Alves <palves@redhat.com>
21021
21022 * gdb.threads/multiple-step-overs.c: New file.
21023 * gdb.threads/multiple-step-overs.exp: New file.
21024 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21025 Adjust expected infrun debug output.
21026
2adfaa28
PA
210272014-03-20 Pedro Alves <palves@redhat.com>
21028
21029 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21030 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21031
31e77af2
PA
210322014-03-20 Pedro Alves <palves@redhat.com>
21033
21034 PR breakpoints/7143
21035 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21036 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21037 of gdb_test_multiple.
21038 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21039 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21040
b9f437de
PA
210412014-03-20 Pedro Alves <palves@redhat.com>
21042
21043 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21044 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21045
05adc73e
PA
210462014-03-19 Pedro Alves <palves@redhat.com>
21047
21048 * gdb.base/async.exp: Remove early return.
21049
6048b950
PA
210502014-03-19 Pedro Alves <palves@redhat.com>
21051
21052 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21053
8bcfb00a
PA
210542014-03-19 Pedro Alves <palves@redhat.com>
21055
21056 * gdb.base/async.exp (test_background): Expect \r\n after
21057 "completed." in the fail pattern.
21058
884e37dc
PA
210592014-03-19 Pedro Alves <palves@redhat.com>
21060
21061 * gdb.base/async.exp (test_background): New procedure.
21062 Use it for all background execution command tests.
21063
148e57e2
PA
210642014-03-19 Pedro Alves <palves@redhat.com>
21065
21066 * gdb.base/async.exp: Use prepare_for_testing.
21067
f48088c7
PA
210682014-03-19 Pedro Alves <palves@redhat.com>
21069
21070 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21071 the same line.
21072
e2f6c966
PA
210732014-03-19 Pedro Alves <palves@redhat.com>
21074
21075 * gdb.base/async.c (main): Add "jump here" and "until here" line
21076 marker comments.
21077 * gdb.base/async.exp (jump_here): New global.
21078 (jump& test): Use it.
21079 (until_here): New global.
21080 (until& test): Use it.
21081
c30568d4
PA
210822014-03-19 Pedro Alves <palves@redhat.com>
21083
21084 * gdb.base/async.exp: Don't frob gdb_protocol.
21085
0172b6a7
DE
210862014-03-18 Doug Evans <xdje42@gmail.com>
21087
21088 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21089 Fix spelling of exec-done-display.
21090
06c868a8
JK
210912014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21092
21093 PR gdb/15358
21094 * gdb.base/gdb-sigterm.c: New file.
21095 * gdb.base/gdb-sigterm.exp: New file.
21096
0c7e1a46
PA
210972014-03-18 Pedro Alves <palves@redhat.com>
21098
21099 PR gdb/13860
21100 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21101 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21102 solib-event.
21103
f7c77d93
JB
211042014-03-17 Joel Brobecker <brobecker@adacore.com>
21105
21106 * gdb.ada/pckd_arr_ren: New testcase.
21107
5a1e8c7a
DE
211082014-03-13 Doug Evans <xdje42@gmail.com>
21109
21110 PR guile/16612
21111 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21112 collect after discarding symbols.
21113
350e1a76
DE
211142014-03-13 Ludovic Courtès <ludo@gnu.org>
21115 Doug Evans <xdje42@gmail.com>
21116
21117 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21118 to history survives a gc.
21119
a69900ae
PA
211202014-03-13 Pedro Alves <palves@redhat.com>
21121
21122 * gdb.base/default.exp: Don't test "target procfs".
21123
5db9f0bd
PA
211242014-03-13 Pedro Alves <palves@redhat.com>
21125
21126 * gdb.base/default.exp: Update "target child" and "target procfs"
21127 tests to not expect "Unix".
21128
b3ccfe11
TT
211292014-03-12 Tom Tromey <tromey@redhat.com>
21130
21131 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21132 New procs. Add target-async tests.
21133 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21134 Add target-async tests.
21135
646f4417
AA
211362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21137
21138 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21139 'func_start' and 'func_end' for the beginning and end of the
21140 function code, respectively.
21141 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21142 'func_end' instead of 'func' and 'main'.
21143
288c211f
AA
211442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21145
21146 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21147 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21148 generate the debug info assembler source.
21149
e0c0f156
AA
211502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21151
21152 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21153 * gdb.dwarf2/arr-subrange.exp: Likewise.
21154 * gdb.dwarf2/dwz.exp: Likewise.
21155 * gdb.dwarf2/method-ptr.exp: Likewise.
21156 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21157 * gdb.dwarf2/subrange.exp: Likewise.
21158 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21159 * gdb.dwarf2/implptrpiece.exp: Likewise.
21160 * gdb.dwarf2/nostaticblock.exp: Likewise.
21161
0e5c4555
AA
211622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21163
21164 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21165 directory to absolute path name arguments.
21166
5ec18f2b
JG
211672014-03-10 Joel Brobecker <brobecker@adacore.com>
21168
21169 * gdb.ada/tagged_access: New testcase.
21170
847fc4f2
MM
211712014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21172
21173 * gdb.btrace/data.exp: Update expected output.
21174
cc3da688
YQ
211752014-03-06 Yao Qi <yao@codesourcery.com>
21176
21177 * gdb.trace/pr16508.exp: New file.
21178
0f26cec1
PA
211792014-03-05 Pedro Alves <palves@redhat.com>
21180
21181 PR gdb/16575
21182 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21183 procedure.
21184 (top level): Adjust to use it. Add tests that exercise breakpoint
21185 interaction with the code-cache.
21186
7a5a839f
LC
211872014-02-26 Ludovic Courtès <ludo@gnu.org>
21188
21189 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21190 test for 'history-append!'.
21191
31aa7e4e
JB
211922014-02-26 Joel Brobecker <brobecker@adacore.com>
21193
21194 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21195 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21196 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21197 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21198 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21199 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21200
1b588015
JB
212012014-02-26 Joel Brobecker <brobecker@adacore.com>
21202
21203 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21204 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21205 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21206
55426c9d
JB
212072014-02-26 Joel Brobecker <brobecker@adacore.com>
21208
21209 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21210
dc53a7ad
JB
212112014-02-26 Joel Brobecker <brobecker@adacore.com>
21212
21213 * gdb.dwarf2/arr-stride.c: New file.
21214 * gdb.dwarf2/arr-stride.exp: New file.
21215
12ab52e9
PA
212162014-02-26 Pedro Alves <palves@redhat.com>
21217
21218 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21219 that won't ever trigger. Make sure that GDB reports the correct
21220 breakpoint that caused the stop.
21221
849c862e
JK
212222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21223
21224 PR gdb/16626
21225 * gdb.base/auto-load-script: New file.
21226 * gdb.base/auto-load.c: New file.
21227 * gdb.base/auto-load.exp: New file.
21228
71b7d793
JK
21229 PR gdb/16626
21230 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21231
e2f0d509
JK
212322014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21233
21234 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21235 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21236
50cc37c8
DE
212372014-02-24 Doug Evans <dje@google.com>
21238
21239 * lib/gdb.exp (run_on_host): Log error output if program fails.
21240
ea4758f2
PA
212412014-02-21 Pedro Alves <palves@redhat.com>
21242
21243 * gdb.threads/step-after-sr-lock.c: Rename to ...
21244 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21245 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21246 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21247 ... this.
21248
d7b30f67
SDJ
212492014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21250
21251 PR tdep/16397
21252 * gdb.arch/amd64-stap-special-operands.exp: New file.
21253 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21254 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21255 * gdb.arch/amd64-stap-triplet.S: Likewise.
21256 * gdb.arch/amd64-stap-triplet.c: Likewise.
21257
83deb43f
JB
212582014-02-20 Joel Brobecker <brobecker@adacore.com>
21259
21260 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21261 in .section pseudo-op.
21262
adde2bff
DE
212632014-02-20 lin zuojian <manjian2006@gmail.com>
21264 Joel Brobecker <brobecker@adacore.com>
21265 Doug Evans <xdje42@gmail.com>
21266
21267 PR symtab/16581
21268 * gdb.dwarf2/dw2-icycle.S: New file.
21269 * gdb.dwarf2/dw2-icycle.c: New file.
21270 * gdb.dwarf2/dw2-icycle.exp: New file.
21271
f7bd0f78
SC
212722014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21273
21274 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21275 operations on gdb.Value objects.
21276 * gdb.python/py-value-cc.exp: Add new test to test operations on
21277 gdb.Value objects.
21278
c17ef0d5
DE
212792014-02-18 Doug Evans <dje@google.com>
21280
21281 * Makefile.in (TESTS): New variable.
21282 (expanded_tests, expanded_tests_or_none): New variables
21283 (check-single): Pass $(expanded_tests_or_none) to runtest.
21284 (check-parallel): Only run tests in $(TESTS) if non-empty.
21285 (check/no-matching-tests-found): New rule.
21286 * README: Document TESTS makefile variable.
21287
5dd3176f
DE
212882014-02-18 Doug Evans <dje@google.com>
21289
21290 * Makefile.in (check-parallel): rm -rf outputs temp.
21291
0b10be4f
JK
212922014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21293
21294 Fix "ERROR: no fileid for" in the testsuite.
21295 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21296
85f224e7
DE
212972014-02-12 Doug Evans <dje@google.com>
21298
21299 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21300 (MISCELLANEOUS): New variable.
21301 (clean): rm -rf $(MISCELLANEOUS).
21302 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21303 dwp live in the same directory as symlinks, with each symlink pointed
21304 to a differently named file in a different directory.
21305
149b30ff
DE
213062014-02-11 Doug Evans <dje@google.com>
21307
21308 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21309 of Tcl file commands.
21310
1dfdac32
MK
213112014-02-10 Mark Kettenis <kettenis@gnu.org>
21312
21313 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21314 "kill -SIGUSR1 -1".
21315
aa4fb036
JB
213162014-02-10 Joel Brobecker <brobecker@adacore.com>
21317
21318 * gdb.ada/tick_length_array_enum_idx: New testcase.
21319
ed3ef339
DE
213202014-02-10 Doug Evans <xdje42@gmail.com>
21321
21322 * configure.ac (AC_OUTPUT): Add gdb.guile.
21323 * configure: Regenerate.
21324 * lib/gdb-guile.exp: New file.
21325 * lib/gdb.exp (get_target_charset): New function.
21326 * gdb.base/help.exp: Update expected output from "apropos apropos".
21327 * gdb.guile/Makefile.in: New file.
21328 * gdb.guile/guile.exp: New file.
21329 * gdb.guile/scm-arch.c: New file.
21330 * gdb.guile/scm-arch.exp: New file.
21331 * gdb.guile/scm-block.c: New file.
21332 * gdb.guile/scm-block.exp: New file.
21333 * gdb.guile/scm-breakpoint.c: New file.
21334 * gdb.guile/scm-breakpoint.exp: New file.
21335 * gdb.guile/scm-disasm.c: New file.
21336 * gdb.guile/scm-disasm.exp: New file.
21337 * gdb.guile/scm-equal.c: New file.
21338 * gdb.guile/scm-equal.exp: New file.
21339 * gdb.guile/scm-error.exp: New file.
21340 * gdb.guile/scm-error.scm: New file.
21341 * gdb.guile/scm-frame-args.c: New file.
21342 * gdb.guile/scm-frame-args.exp: New file.
21343 * gdb.guile/scm-frame-args.scm: New file.
21344 * gdb.guile/scm-frame-inline.c: New file.
21345 * gdb.guile/scm-frame-inline.exp: New file.
21346 * gdb.guile/scm-frame.c: New file.
21347 * gdb.guile/scm-frame.exp: New file.
21348 * gdb.guile/scm-generics.exp: New file.
21349 * gdb.guile/scm-gsmob.exp: New file.
21350 * gdb.guile/scm-iterator.c: New file.
21351 * gdb.guile/scm-iterator.exp: New file.
21352 * gdb.guile/scm-math.c: New file.
21353 * gdb.guile/scm-math.exp: New file.
21354 * gdb.guile/scm-objfile-script-gdb.in: New file.
21355 * gdb.guile/scm-objfile-script.c: New file.
21356 * gdb.guile/scm-objfile-script.exp: New file.
21357 * gdb.guile/scm-objfile.c: New file.
21358 * gdb.guile/scm-objfile.exp: New file.
21359 * gdb.guile/scm-ports.exp: New file.
21360 * gdb.guile/scm-pretty-print.c: New file.
21361 * gdb.guile/scm-pretty-print.exp: New file.
21362 * gdb.guile/scm-pretty-print.scm: New file.
21363 * gdb.guile/scm-section-script.c: New file.
21364 * gdb.guile/scm-section-script.exp: New file.
21365 * gdb.guile/scm-section-script.scm: New file.
21366 * gdb.guile/scm-symbol.c: New file.
21367 * gdb.guile/scm-symbol.exp: New file.
21368 * gdb.guile/scm-symtab-2.c: New file.
21369 * gdb.guile/scm-symtab.c: New file.
21370 * gdb.guile/scm-symtab.exp: New file.
21371 * gdb.guile/scm-type.c: New file.
21372 * gdb.guile/scm-type.exp: New file.
21373 * gdb.guile/scm-value-cc.cc: New file.
21374 * gdb.guile/scm-value-cc.exp: New file.
21375 * gdb.guile/scm-value.c: New file.
21376 * gdb.guile/scm-value.exp: New file.
21377 * gdb.guile/source2.scm: New file.
21378 * gdb.guile/types-module.cc: New file.
21379 * gdb.guile/types-module.exp: New file.
21380
7026a7c1
YQ
213812014-02-10 Yao Qi <yao@codesourcery.com>
21382
21383 PR testsuite/16543
21384 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21385 * configure: Regenerated.
21386 * Makefile.in: New file.
21387
6c466447
AS
213882014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21389
21390 * gdb.python/py-framefilter.exp: Fix typo.
21391
6e854735
YQ
213922014-02-08 Yao Qi <yao@codesourcery.com>
21393
21394 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21395 that no =breakpoint-modified is emitted when breakpoints are
21396 modified through MI commands.
21397
d137e6dc
PA
213982014-02-07 Pedro Alves <pedro@codesourcery.com>
21399 Pedro Alves <palves@redhat.com>
21400
21401 * gdb.threads/step-after-sr-lock.c: New file.
21402 * gdb.threads/step-after-sr-lock.exp: New file.
21403
b5ee5a50
PA
214042014-02-07 Pedro Alves <palves@redhat.com>
21405
21406 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21407
3c77faf3
JK
214082014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21409
21410 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21411 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21412
6dddc817
DE
214132014-02-06 Doug Evans <xdje42@gmail.com>
21414
21415 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21416 output.
21417
21418 * gdb.gdb/python-interrupts.exp: New file.
21419
de7b2893
YQ
214202014-02-05 Yao Qi <yao@codesourcery.com>
21421
21422 * gdb.trace/report.exp (use_collected_data): Test the output
21423 of "info threads" and "info inferiors".
21424
66d032ac
YQ
214252014-02-05 Yao Qi <yao@codesourcery.com>
21426
21427 Revert this patch:
21428
21429 2013-05-24 Yao Qi <yao@codesourcery.com>
21430
21431 * gdb.trace/tfile.exp: Test inferior and thread.
21432
591a12a1
UW
214332014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21434
21435 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21436 on a function.
21437 * gdb.base/step-bt.c: Call hello via function pointer to make
21438 sure its first instruction is executed on powerpc64le-linux.
21439
0ff3e01f
UW
214402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21441
21442 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21443
084ee545
UW
214442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21445
21446 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21447 of the test patterns for use on little-endian systems.
21448
6ed14ff3
UW
214492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21450
21451 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21452 (decimal_vector): Fix for little-endian.
21453
401e27fd
JM
214542014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21455
21456 * gdb.arch/sparc-sysstep.exp: New file.
21457 * gdb.arch/sparc-sysstep.c: Likewise.
21458
21459 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21460
8b924729
EBM
214612014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21462
21463 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21464
fb151210
JB
214652014-01-23 Tom Tromey <tromey@redhat.com>
21466
21467 * gdb.ada/array_char_idx: New testcase.
21468
0740f8d8
TT
214692014-01-23 Tom Tromey <tromey@redhat.com>
21470
21471 PR python/16487:
21472 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21473 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21474 classes.
21475
21909fa1
TT
214762014-01-23 Tom Tromey <tromey@redhat.com>
21477
21478 PR python/16491:
21479 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21480 string from an inferior frame.
21481 * gdb.python/py-framefilter-mi.exp: Update.
21482
87ce2a04
DE
214832014-01-22 Doug Evans <dje@google.com>
21484
21485 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21486
237b092b
AA
214872014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21488
21489 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21490
d674a709
AA
214912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21492
21493 * gdb.trace/entry-values.exp: Remove excess space character from
21494 regex patterns. Handle s390 call instruction.
21495
20fa3390
AA
214962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21497
21498 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21499 define "*_start" label. Make "name" static.
21500 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21501 ${name} by references to ${name}_start.
21502
78466714
AA
215032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21504
21505 * gdb.base/info-macros.exp: Remove "debug" from the compile
21506 options.
21507
ec9f644a
IB
215082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21509
21510 * gdb.dlang/demangle.exp: New file.
21511
94b1b47e
IB
215122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21513
21514 * gdb.dlang/primitive-types.exp: New file.
21515
7f420862
IB
215162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21517
21518 * configure.ac: Create gdb.dlang/Makefile.
21519 * configure: Regenerate.
21520 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21521 * gdb.dlang/Makefile.in: New file.
21522 * lib/d-support.exp: New file.
21523 * lib/gdb.exp (skip_d_tests): New proc.
21524
52834460
MM
215252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21526
21527 * gdb.btrace/delta.exp: Check reverse stepi.
21528 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21529 * gdb.btrace/finish.exp: New.
21530 * gdb.btrace/next.exp: New.
21531 * gdb.btrace/nexti.exp: New.
21532 * gdb.btrace/record_goto.c: Add comments.
21533 * gdb.btrace/step.exp: New.
21534 * gdb.btrace/stepi.exp: New.
21535 * gdb.btrace/multi-thread-step.c: New.
21536 * gdb.btrace/multi-thread-step.exp: New.
21537 * gdb.btrace/rn-dl-bind.c: New.
21538 * gdb.btrace/rn-dl-bind.exp: New.
21539 * gdb.btrace/data.c: New.
21540 * gdb.btrace/data.exp: New.
21541 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21542
6e07b1d2
MM
215432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21544
21545 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21546 * gdb.btrace/exception.exp: Update.
21547 * gdb.btrace/instruction_history.exp: Update.
21548 * gdb.btrace/record_goto.exp: Update.
21549 * gdb.btrace/tailcall.exp: Update.
21550 * gdb.btrace/unknown_functions.exp: Update.
21551 * gdb.btrace/delta.exp: New.
21552
0b722aec
MM
215532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21554
21555 * gdb.btrace/record_goto.exp: Add backtrace test.
21556 * gdb.btrace/tailcall.exp: Add backtrace test.
21557
066ce621
MM
215582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21559
21560 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21561 * gdb.btrace/record_goto.c: New.
21562 * gdb.btrace/record_goto.exp: New.
21563 * gdb.btrace/x86-record_goto.S: New.
21564
0688d04e
MM
215652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21566
21567 * gdb.btrace/function_call_history.exp: Update tests.
21568 * gdb.btrace/instruction_history.exp: Update tests.
21569
8710b709
MM
215702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21571
21572 * gdb.btrace/function_call_history.exp: Fix expected field
21573 order for "record function-call-history".
21574 Add new tests for "record function-call-history /c".
21575 * gdb.btrace/exception.cc: New.
21576 * gdb.btrace/exception.exp: New.
21577 * gdb.btrace/tailcall.exp: New.
21578 * gdb.btrace/x86-tailcall.S: New.
21579 * gdb.btrace/x86-tailcall.c: New.
21580 * gdb.btrace/unknown_functions.c: New.
21581 * gdb.btrace/unknown_functions.exp: New.
21582 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21583
5de9129b
MM
215842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21585
21586 * gdb.btrace/instruction_history.exp: Update.
21587 * gdb.btrace/function_call_history.exp: Update.
21588
23a7fe75
MM
215892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21590
21591 * gdb.btrace/function_call_history.exp: Fix expected function
21592 trace.
21593 * gdb.btrace/instruction_history.exp: Initialize traced.
21594 Remove traced_functions.
21595
724c7dd8
MM
215962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21597
21598 * gdb.btrace/function_call_history.exp: Update
21599 * gdb.btrace/instruction_history.exp: Update.
21600
6d78d93b
MM
216012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21602
21603 * gdb.btrace/enable.exp: Update expected text.
21604
93a360cc
OJ
216052014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21606
21607 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21608 bytes.
21609
3772b53f
MR
216102014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21611
21612 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21613
596662fa
OJ
216142014-01-15 Omair Javaid <omair.javaid@linaro.org>
21615
21616 * lib/gdb.exp (supports_process_record): Return true for
21617 arm*-linux*. (supports_reverse): Likewise.
21618
b5b08fb4
SC
216192014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21620
21621 PR python/15464
21622 PR python/16113
21623 * gdb.python/py-type.c: Enhance test case.
21624 * gdb.python/py-value-cc.cc: Likewise
21625 * gdb.python/py-type.exp: Add new tests.
21626 * gdb.python/py-value-cc.exp: Likewise
21627
52d7fb13
AA
216282014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21629 Pedro Alves <palves@redhat.com>
21630
21631 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21632 Make "name" extern.
21633 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21634 references to ${name}_start by references to ${name}.
21635
a2cd8cfe
JB
216362014-01-10 Joel Brobecker <brobecker@adacore.com>
21637
21638 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21639
4e23fced
JB
216402014-01-10 Joel Brobecker <brobecker@adacore.com>
21641
21642 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21643
c6a9e42c
PA
216442014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21645 Pedro Alves <palves@redhat.com>
21646
21647 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21648 mi_gdb_target_load.
c6a9e42c 21649
b7ea362b
PA
216502014-01-08 Pedro Alves <palves@redhat.com>
21651
21652 * gdb.threads/reconnect-signal.c: New file.
21653 * gdb.threads/reconnect-signal.exp: New file.
21654
5e3f4fab
EBM
216552014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21656
21657 * gdb.base/source-dir.exp: New file.
21658
79301218
JB
216592014-01-07 Joel Brobecker <brobecker@adacore.com>
21660
21661 * gdb.ada/mi_interface: New testcase.
21662
8e355c5d
JB
216632014-01-07 Joel Brobecker <brobecker@adacore.com>
21664
21665 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21666 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21667 gdb.ada/pp-rec-component/pck.ads: New files.
21668
c0d48811
JB
216692014-01-07 Joel Brobecker <brobecker@adacore.com>
21670
21671 * gdb.python/py-pp-integral.c: New file.
21672 * gdb.python/py-pp-integral.py: New file.
21673 * gdb.python/py-pp-integral.exp: New file.
21674
17b609c3 21675For older changes see ChangeLog-1993-2013.
c906108c 21676\f
8d8cb839
EZ
21677;; Local Variables:
21678;; mode: change-log
21679;; left-margin: 8
21680;; fill-column: 74
21681;; version-control: never
21682;; End:
902f2ccb 21683
b811d2c2 21684 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21685 Copying and distribution of this file, with or without modification,
21686 are permitted provided the copyright notice and this notice are preserved.